Commit graph

67454 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 49284f4696 [SERVICES]
- The new ScmDeleteServiceKey (r73400) and the already existing ScmDeleteRegKey are the same functions: remove the old ScmDeleteRegKey and use ScmDeleteServiceKey instead AND rename ScmDeleteServiceKey to ScmDeleteRegKey (as it can be used generically within services.exe).
- Call RegDeleteKeyW for the subkey after we have closed its opened handle.

svn path=/trunk/; revision=73401
2016-11-27 20:39:10 +00:00
Eric Kohl a96ca3a4c1 [SERVICES]
Delete service registry keys recursively.

svn path=/trunk/; revision=73400
2016-11-27 20:12:39 +00:00
Pierre Schweitzer bb759c3378 [NTOSKRNL]
Don't leak FO reference on failure.
Fixes kmtest:NtCreateSection unloading.
Dedicated to Thomas.

CORE-11819
CORE-12475

svn path=/trunk/; revision=73399
2016-11-27 20:11:30 +00:00
Mark Jansen 26627a49b0 [APPHELP][APPHELP_APITEST] Stub ApphelpCheckShellObject + add tests, based on the work of Mislav Blažević. CORE-12476
svn path=/trunk/; revision=73398
2016-11-27 18:33:21 +00:00
Eric Kohl 7fe41a4b39 [SERVICES]
RQueryServiceStatusEx and REnumServicesStatusExW: This way it make a lot more sense!

svn path=/trunk/; revision=73397
2016-11-27 15:49:05 +00:00
Eric Kohl 183b495907 [SERVICES]
REnumServicesStatusExW/W and RQueryServiceStatusEx should not return a non-zero process ID for a stopped service.

svn path=/trunk/; revision=73396
2016-11-27 15:24:49 +00:00
Pierre Schweitzer 444775e662 [KMTESTS:MM]
Test FCB header fields: FileSize, ValidDataLength

CORE-11819
CORE-12475

svn path=/trunk/; revision=73395
2016-11-27 13:39:01 +00:00
Eric Kohl a6eabc0043 [SETUPAPI]
Partial implementation of CMP_RegisterNotification and CMP_UnregisterNotification.

[UMPNPMGR]
Partial implementation of PNP_RegisterNotification and PNP_UnregisterNotification.

CORE-12217 #comment This should fix one of the issues.

svn path=/trunk/; revision=73394
2016-11-27 11:14:25 +00:00
Pierre Schweitzer a3dbf1b448 [KMTESTS:MM]
Playing with EOF shouldn't make you forget EOL!
Addendum to r73392

svn path=/trunk/; revision=73393
2016-11-27 10:56:40 +00:00
Pierre Schweitzer 695beeee78 [KMTESTS:MM]
Check the first byte is really null, in spite of the hack writing.

CORE-11819
CORE-12475

svn path=/trunk/; revision=73392
2016-11-27 10:49:33 +00:00
Pierre Schweitzer 22f4acf925 [NTOSKRNL]
Don't write random byte. Force a value so that it can be easily recognized.

CORE-11819
CORE-12475

svn path=/trunk/; revision=73391
2016-11-27 10:27:43 +00:00
Robert Naumann 3bbcc2cbbe [TRANSLATION] Massive resource maintenance update. 2 oatches by Ștefan Fulea. Thank you! CORE-12326
svn path=/trunk/; revision=73390
2016-11-27 00:15:02 +00:00
Robert Naumann 01d077b3e0 [MODE] Add Russiam Translation. Based on a patch by Nikolay Burshtyn. Thank you. CORE-12202
svn path=/trunk/; revision=73389
2016-11-26 23:58:07 +00:00
Robert Naumann 0cc4d22bd3 [USETUP] Update Russian translation. Patch by Nikolay Burshtyn. Thank you! CORE-12154
svn path=/trunk/; revision=73388
2016-11-26 23:47:36 +00:00
Robert Naumann ef4075bbc4 [GETUNAME] Update Definitions for GetUName to Unicode 8.0. Patch by Baruch Rutman. Thanks a lot! CORE-10722
svn path=/trunk/; revision=73387
2016-11-26 23:25:14 +00:00
Robert Naumann e993655cf8 [SHELL32] Update Japanese translation. Patch by Katayama Hirofumi MZ. Thank you!
svn path=/trunk/; revision=73386
2016-11-26 23:10:22 +00:00
Robert Naumann 9b73cb030e [SETUP/REACTOS] Add Japanese translation. Patch by Katayama Hirofumi MZ. Thank you. CORE-12459
svn path=/trunk/; revision=73385
2016-11-26 23:05:54 +00:00
Pierre Schweitzer 3ff70dc5d5 [NTOSKRNL]
A hack has gained enough XP and levels up! Congratulations to the MmCreateSection() in charge of forcing file cache initialization.
As show by kmtest:NtCreateSection tests and real world FSD (starting with MS FastFAT and Ext2Fsd), caching of a file can be initialized rather late (ie, on first effective read/write).
That means that our current hack is totally opless on newly created files with 0-size where the IRP_MJ_READ is most of the time opless too.
The hack, thanks to its level up, can now force a write (1-byte) in case read was unsuccessful and end of file.
In other words, this is the hack of a hack (and a hack v2).
It fixes a few failing kmtests.
Thomas, Peter, please retry the FSDs on which you are currently working on and report. Thanks :-)

CORE-11819
CORE-12475

svn path=/trunk/; revision=73384
2016-11-26 22:39:08 +00:00
Thomas Faber 89c3520c86 [PSDK][XDK]
- Automatically define __ROS_LONG64__ on LP64 systems. This makes no difference for ROS but makes things easier for downstream users of our headers.
 Patch by Cat Zimmermann.

svn path=/trunk/; revision=73383
2016-11-26 18:33:08 +00:00
Amine Khaldi fb4c861add [WINMM] Properly stub some gfx* functions for Windows mmsys. Addendum to r73381. CORE-12466
svn path=/trunk/; revision=73382
2016-11-26 18:20:25 +00:00
Mark Jansen 0c81653dc2 [WINMM] Stub some gfx* functions for Windows mmsys. Patch by Jared Smudde. CORE-12466 #resolve #comment Thanks!
svn path=/trunk/; revision=73381
2016-11-26 18:12:08 +00:00
Thomas Faber 7e8e4427bf [SHDOCVW]
- Improve stub for _GetStdLocation. Patch by Jared Smudde.
CORE-12467 #resolve

svn path=/trunk/; revision=73380
2016-11-26 17:55:23 +00:00
Pierre Schweitzer 6ca897b261 [SHELL32]
Don't truncate text in French translation.
Patch by Joachim Henze (reactosfanboy)

CORE-12308

svn path=/trunk/; revision=73379
2016-11-26 10:07:57 +00:00
Pierre Schweitzer 7837d0dd2b [NTOSKRNL]
Revert r73376.

CORE-12238

svn path=/trunk/; revision=73378
2016-11-25 22:39:49 +00:00
Mark Jansen 3008f14a0d [REGEDIT] Do not try to dereference a pointer when it is NULL. CORE-11915
svn path=/trunk/; revision=73377
2016-11-25 22:16:39 +00:00
Pierre Schweitzer b671384719 [NTOSKRNL]
Remove old hacks which seem no longer required

svn path=/trunk/; revision=73376
2016-11-25 21:47:34 +00:00
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