Commit graph

67428 commits

Author SHA1 Message Date
Christoph von Wittich
4cc7823baf [WINSTA] fix declaration of WinStationQueryInformationA
svn path=/trunk/; revision=73375
2016-11-25 12:48:55 +00:00
Colin Finck
c4a61ec7f2 Fix GCC build
svn path=/trunk/; revision=73374
2016-11-24 19:35:08 +00:00
Colin Finck
65212f3682 [LOCALSPL]
Tests show that the Print Provider functions are less forgiving and expect winspool.drv and spoolss.dll to perform the necessary sanity checks.
Also they don't default to the current environment if none was supplied as pEnvironment. Change our functions accordingly to pass the tests.

[LOCALSPL_APITEST]
Add a test to prove that spoolss.dll isn't just a forwarder, but also performs some sanity checks even though winspool.drv and localspl.dll also do.
This rather belongs to spoolss_apitest. But it needs to be tested inside the Spooler Server Process and it's not worth it to copy all the DLL injection code to spoolss_apitest just for a single test.

[SPOOLSS]
Check for an invalid buffer in GetPrintProcessorDirectoryW.

[WINSPOOL]
* Check the level before the RPC call in GetPrintProcessorDirectoryW.
* Supply our current environment if the caller didn't give any in EnumPrintProcessorsW and GetPrintProcessorDirectoryW.
* Implement GetPrintProcessorDirectoryA.

[WINSPOOL_APITEST]
Prove that pcbNeeded isn't touched when calling GetPrintProcessorDirectoryW with an invalid level.


ReactOS now passes all API tests for GetPrintProcessorDirectoryA and GetPrintProcessorDirectoryW. These tests also cover all known behaviors of both functions.
CORE-12399

svn path=/trunk/; revision=73373
2016-11-24 19:24:27 +00:00
James Tabor
03c1491725 [Win32SS]
- HAX : Fix paint message spam. See CORE-12169 and related issues.

svn path=/trunk/; revision=73372
2016-11-24 18:18:28 +00:00
Colin Finck
fbf2c84e20 [SPOOLSS]
Fix CONTAINING_RECORD calls for spoolss functions that map directly to localspl.
An innovative way to fail the RPC stack...

CORE-12449

svn path=/trunk/; revision=73371
2016-11-24 14:38:39 +00:00
Amine Khaldi
4a949013d2 [MSTSC] Addendum to r73368. Peter, please review. CORE-9321
svn path=/trunk/; revision=73370
2016-11-24 11:16:56 +00:00
Amine Khaldi
05ea8d2099 [README.WINE] Mark some DX dlls as synced with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73369
2016-11-24 10:59:01 +00:00
Peter Hater
a26ebfa365 [MSTSC] Add schannel based SSL implementation. CORE-9321
svn path=/trunk/; revision=73368
2016-11-24 10:56:09 +00:00
Sylvain Petreolle
c253b1d7bc [INCLUDES/WINE][DBGHELP]
Remove the rbtree.h difference with Wine Staging 1.9.23. CORE-12409


svn path=/trunk/; revision=73367
2016-11-23 21:33:54 +00:00
Amine Khaldi
f445cac180 [D3DX9_33] We don't need these here as d3dx9_36 already has them.
svn path=/trunk/; revision=73366
2016-11-23 18:43:17 +00:00
Amine Khaldi
8eb8e09554 [UXTHEME] Reduce difference with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73365
2016-11-23 18:38:48 +00:00
Pierre Schweitzer
46fc7b685b [LOCALMON]
Add French translation.

CORE-12363

svn path=/trunk/; revision=73364
2016-11-23 18:29:40 +00:00
Amine Khaldi
42eafa71ae [CDFS] Fix a thinko.
svn path=/trunk/; revision=73363
2016-11-23 18:27:07 +00:00
Pierre Schweitzer
c3b22d159c [FASTFAT]
In IRP_MJ_QUERY_INFORMATION/IRP_MJ_SET_INFORMATION, handle the case when we receive buggy FO without FCB.
This fixes bugchecks when using FileSpy.

CORE-12448

svn path=/trunk/; revision=73362
2016-11-23 18:21:03 +00:00
Amine Khaldi
07d9832b5f [WININET_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73361
2016-11-23 18:11:04 +00:00
Amine Khaldi
f11a6d6c2c [WININET] Sync with Wine Staging 1.9.23. CORE-12409
4695681 wininet: add ParseX509EncodedCertificateForListBoxEntry stub (try 2)
e3e4fc6 wininet: Add support for INTERNET_OPTION_SETTINGS_CHANGED in InternetSetOption.
4a728d2 wininet: Allow INTERNET_OPTION_SETTINGS_CHANGED on connections.
8478c72 wininet: Resize buffer when call to InternetCanonicalizeUrlW fails in InternetCrackUrlW.
3d6da00 wininet: Handle INTERNET_INVALID_PORT_NUMBER in HttpOpenRequest.
dee155f wininet: Replacing header fields should fail if they do not exist yet.
efd7d44 wininet: Strip filename if no path is set in cookie.
65f5d89 wininet: Silence wininet no support on this platform message.
3cb027c wininet: Increase buffer in _test_status_code to avoid potential potential overflow.
7e84143 wininet: Don't crash by debug printing too long URLs.
7d9a439 wininet: Don't return available data sizes larger than the read buffer.

svn path=/trunk/; revision=73360
2016-11-23 18:09:57 +00:00
James Tabor
6f403240d9 [User32]
- Fix dialog pop up flicker. Regression from 73333.

svn path=/trunk/; revision=73359
2016-11-23 15:42:05 +00:00
Amine Khaldi
58a1e88856 [WINHTTP_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73358
2016-11-23 12:00:25 +00:00
Amine Khaldi
4a404e8b55 [WINHTTP] Sync with Wine Staging 1.9.23. CORE-12409
e27ff36 winhttp: Added WINHTTP_OPTION_CLIENT_CERT_CONTEXT option stub.
9bc3e96 winhttp: Added WINHTTP_OPTION_MAX_CONNS_PER_SERVER and WINHTTP_OPTION_MAX_CONNS_PER_1_0_SERVER options stub.
c8b166e winhttp: Also pass hostname to jsproxy.
668d429 winhttp: Indicate that WinHttpCrackUrl should return string pointers.
985443e winhttp: Don't perform buffer size tests for components that don't pass buffer in WinHttpCrackUrl.
17b4abf winhttp: Validate the port number in WinHttpCrackUrl.
1d07f89 winhttp: Set required buffer length for all components in WinHttpCrackUrl.
6c0fdc0 winhttp: Prevent console spamming in get_system_proxy_autoconfig_url.

svn path=/trunk/; revision=73357
2016-11-23 11:59:10 +00:00
Thomas Faber
8c2649b3fe [ACPI]
- Do not assert phys in AcpiOsMapMemory. Patch by Giovanni Mascellani (gio at debian dot org).
CORE-12444 #resolve

svn path=/trunk/; revision=73356
2016-11-23 11:57:52 +00:00
Amine Khaldi
f5a2b4ee5d [JSCRIPT_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73355
2016-11-23 10:09:03 +00:00
Amine Khaldi
a7a057e3a2 [JSCRIPT] Sync with Wine Staging 1.9.23. Dedicated to Ged. CORE-12409
7af3f65 jscript: Add more jsdisp_t to Instance helpers.
55f6e3c jscript: Use the existing helpers to get from a jsdisp_t to an Instance.
0f21353 jscript: Use wine_rb_tree to store local variables in compiler_ctx_t.
fc1ae4f jscript: Use CONTAINING_RECORD() to get from a field to a struct.
57291c4 jscript: Simplify create_utc_string and add basic tests.
20d5bba jscript: Simplify date_to_string and add basic tests.
4d67ffd jscript: Allocate string of correct size in Date toLocaleDateString method.
79f18d0 jscript: Properly handle \0 characters in Array join method.
fd07a15 jscript: Allocate string of correct size in Date toTimeString method.
1c3e0dd jscript: Properly handle \0 characters in String indexOf method.
54e6736 jscript: Properly handle \0 characters in String to{Lower,Upper}Case methods.
1842082 jscript: Do not include terminating \0 in result returned by Date_toLocale{Date,Time}String.
69437af jscript: Change prototype of jsstr_alloc_buf and fix some error handling issues.
d36ae56 jscript: Fix definition of JSSTR_MAX_LENGTH.
7369836 jscript: Simplify jsstr_release implementation.

svn path=/trunk/; revision=73354
2016-11-23 10:06:56 +00:00
Amine Khaldi
e98102ef8a [CRYPT32] Bring back the code path that had r64026 and r66349 until we adapt our changes to the new code. CORE-12409 CORE-12446
svn path=/trunk/; revision=73353
2016-11-23 09:22:56 +00:00
Ged Murphy
dc7472be71 [NTOS]
- Fix an assert in MiFindExportedRoutineByName to be something more like what the original author probably wanted to do.
- This allows FileSpy to run successfully with the legacy filter driver
- https://postimg.org/image/7z73xy4pd/

svn path=/trunk/; revision=73352
2016-11-22 22:30:55 +00:00
Amine Khaldi
e6d204ac42 [WINDOWSCODECS] Addendum to r73303. CORE-12409
svn path=/trunk/; revision=73351
2016-11-22 18:10:59 +00:00
Amine Khaldi
9a6c74a856 [DBGHELP] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73350
2016-11-22 18:03:01 +00:00
Amine Khaldi
595348341e [INCLUDES/WINE] Attempt to please the linux builder.
svn path=/trunk/; revision=73349
2016-11-22 17:42:41 +00:00
Amine Khaldi
c4dbe78cac [INCLUDES/WINE] Update rbtree.h. [D3DCOMPILER_43][DBGHELP][WINED3D] Reflect the rbtree.h changes. CORE-12409
svn path=/trunk/; revision=73348
2016-11-22 17:23:40 +00:00
Amine Khaldi
81461b5470 [CRYPT32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73347
2016-11-22 17:09:34 +00:00
Amine Khaldi
112dfc045f [CRYPT32] Sync with Wine Staging 1.9.23. Jérôme, please review as we no longer have r64026 and r66349 with this. CORE-12409
svn path=/trunk/; revision=73346
2016-11-22 17:05:59 +00:00
Amine Khaldi
2324378c5e [OLEDLG] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73345
2016-11-22 13:14:51 +00:00
Amine Khaldi
6b17088fa1 [RPCRT4_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73344
2016-11-22 13:13:22 +00:00
Amine Khaldi
0f3ce680b5 [RPCRT4] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73343
2016-11-22 13:11:44 +00:00
Peter Hater
2dc688c68b [WSHTCPIP] Implement SIO_GET_INTERFACE_LIST by Andreas Maier aka andy-123. Thanks. CORE-10343
svn path=/trunk/; revision=73342
2016-11-22 12:45:41 +00:00
Amine Khaldi
b0a8d568d9 [OLE32] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73341
2016-11-22 12:30:48 +00:00
Amine Khaldi
6c3bba2b11 [MSI_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73340
2016-11-22 12:26:43 +00:00
Amine Khaldi
687517808b [MSI] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73339
2016-11-22 12:25:27 +00:00
Amine Khaldi
08824abdc1 [COMDLG32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73338
2016-11-22 12:17:19 +00:00
Amine Khaldi
9bf7b57fd1 [COMDLG32] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73337
2016-11-22 12:15:51 +00:00
Amine Khaldi
722d054541 [COMCTL32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73336
2016-11-22 12:11:38 +00:00
Amine Khaldi
fe25cf50e9 [COMCTL32] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73335
2016-11-22 12:10:28 +00:00
James Tabor
b45fe0d55c [Win32SS]
- Patch by Katayama Hirofumi MZ : Improves NC_IconForWindow function. See CORE-12129.

svn path=/trunk/; revision=73334
2016-11-22 04:46:58 +00:00
James Tabor
20637bd50c [User32]
- Fix dialog pop up crash due to loop.
- Sync/Port from wine head, not sure about Staging.

svn path=/trunk/; revision=73333
2016-11-22 03:57:48 +00:00
James Tabor
4027329c6a [User32]
- Patch by Katayama Hirofumi MZ  : Improve task switcher's appearance.
-    Debugged Alt+Esc
-    Pixel perfect
-    Implemented "Display Item Shifting"
-    Added comments.

svn path=/trunk/; revision=73332
2016-11-22 03:54:55 +00:00
Hermès Bélusca-Maïto
ff16e0a2fc [LSASRV]: Use LsapAllocateHeapZero to initialize the AllocateLsaHeap member of the LSA auth DispatchTable. Should fix login (this means some of the code calling DispatchTable->AllocateLsaHeap expect zero-initialized memory). Addendum to r73330.
CORE-12432

svn path=/trunk/; revision=73331
2016-11-21 14:42:14 +00:00
Hermès Bélusca-Maïto
4fc25ae9f2 [LSASRV]: Implement a simplified version of LsaIAllocateHeap / LsaIAllocateHeapZero / LsaIFreeHeap.
CORE-12432

svn path=/trunk/; revision=73330
2016-11-20 23:53:49 +00:00
Hermès Bélusca-Maïto
a310f53b84 [LSASRV]: Whitespace fixes only.
svn path=/trunk/; revision=73329
2016-11-20 23:53:10 +00:00
Pierre Schweitzer
9951d766cc [KMTESTS:MM]
This tests doesn't fail anylonger on ReactOS (not sure which rev fixed it)

ROSTESTS-108

svn path=/trunk/; revision=73328
2016-11-20 20:58:22 +00:00
Pierre Schweitzer
d36b97a1dc [NTOSKRNL]
When we're really not able to init cache for creating a file section, return the appropriate status code

svn path=/trunk/; revision=73327
2016-11-20 20:55:17 +00:00
Pierre Schweitzer
49691778cd [KMTESTS:MM]
Thanks to r73325, these tests don't deadlock anymore on ReactOS. Enable them again (aka, revert r73227).

ROSTESTS-248

svn path=/trunk/; revision=73326
2016-11-20 18:42:15 +00:00