Commit graph

67485 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto c5e734fdd8 Fix for source code file header, sorry for commit noise.
svn path=/trunk/; revision=73432
2016-12-05 16:38:11 +00:00
Hermès Bélusca-Maïto aadba539ce [ADVAPI32_APITEST]: Test for a (correctly initialized) service process environment block, that should contain both ALLUSERSPROFILE and USERPROFILE environment variables.
CORE-12414

svn path=/trunk/; revision=73431
2016-12-05 16:36:06 +00:00
Hermès Bélusca-Maïto 8e18f1fbd9 [ADVAPI32_APITEST]: Add a small helper lib 'svchlp' for common routines for test-services embedded in api tests. Taken & heavily adapted from Jacek Caban's services_service test and Thomas Faber's ServiceArgs.c (the latter will be able to use 'svchlp' when it'll be ready).
CORE-12414

svn path=/trunk/; revision=73430
2016-12-05 16:22:30 +00:00
Sylvain Petreolle ab777da1ae [BROWSEUI]
Fix CShellBrowser window class name,
shown by shell32:progman_dde and AHK_Diablo_1.0:1.install

svn path=/trunk/; revision=73429
2016-12-04 23:33:19 +00:00
Hermès Bélusca-Maïto 2299a44489 [NTDLL]: Export _wcstoui64 (as done in Win2k3). Prototype from msvcrt. CORE-12534
svn path=/trunk/; revision=73428
2016-12-04 22:52:03 +00:00
Hermès Bélusca-Maïto b193d7bdfb [NTDLL]: Add proper stubs for EtwpGetTraceBuffer and EtwpSetHWConfigFunction, needed for CORE-12534.
[NTDLL][ADVAPI32]: Improve the prototypes for EtwReceiveNotificationsA/WmiReceiveNotificationsA and EtwReceiveNotificationsW/WmiReceiveNotificationsW.

svn path=/trunk/; revision=73427
2016-12-04 22:44:37 +00:00
Hermès Bélusca-Maïto 23e508dc18 [ADVAPI32_APITEST]: Rename the 'LockDatabase' test to 'LockServiceDatabase' to better match the name of the API.
svn path=/trunk/; revision=73426
2016-12-04 18:41:46 +00:00
Hermès Bélusca-Maïto 8cd23c3dc0 [USERENV]: Use ARRAYSIZE instead of hardcoding the sizes of the static buffers.
svn path=/trunk/; revision=73425
2016-12-04 18:28:33 +00:00
Mark Jansen a55106da83 [DESK] Fix theme preview for Win7. Patch by Carlo Bramini. CORE-10076 #resolve #comment Thanks!
svn path=/trunk/; revision=73424
2016-12-04 16:52:22 +00:00
Eric Kohl 46bbe29d9e [INCLUDE]
Add  CreateUserProfileExA and  CreateUserProfileExW prototypes to userenv.h.

svn path=/trunk/; revision=73423
2016-12-04 15:56:44 +00:00
Mark Jansen f0d4850705 [APPSHIM_APITEST] Add tests for the DisableThemes shim. CORE-11927
svn path=/trunk/; revision=73422
2016-12-04 15:33:28 +00:00
Mark Jansen d39ff22033 [APPSHIM_APITEST] Add tests for display mode shims. CORE-11927
svn path=/trunk/; revision=73421
2016-12-03 21:24:47 +00:00
Eric Kohl 16093a084c [SERVICES]
- Code cleanup.
- ScmCreateOrReferenceServiceImage() and ScmDereferenceServiceImage(): Close the logon token and service process handles properly.
- ScmStartUserModeService(): Store the service process handle in the SERVICE_IMAGE struct.
Patch by Hermès BÉLUSCA - MAÏTO.

svn path=/trunk/; revision=73420
2016-12-03 14:33:07 +00:00
Eric Kohl 3e44ec76e4 [SERVICES]
Tiny fixes.
One fix found by Serge Gautherie.

svn path=/trunk/; revision=73419
2016-12-03 13:54:11 +00:00
Eric Kohl 3ee27dbe81 [SERVICES]
Add more parameter checks to RChangeServiceConfigW().

svn path=/trunk/; revision=73418
2016-12-03 12:55:29 +00:00
Eric Kohl ae1c49c382 [SERVICES]
Implement large parts of RI_ScGetCurrentGroupStateW.

svn path=/trunk/; revision=73417
2016-12-03 12:48:44 +00:00
Eric Kohl 974f97cce5 [SERVICES]
- Get rid of the obsolete USE_SERVICE_START_PENDING option.
- Services do not accept any command when they are in SERVICE_START_PENDING state.
Patch by Hermès BÉLUSCA - MAÏTO.

svn path=/trunk/; revision=73416
2016-12-03 09:33:03 +00:00
Robert Naumann 3d7ae255a1 [TIMEDATE] Update/Fix German and French resource files. Patch by Joachim Henze and Kyle Katarn. CORE-12369
svn path=/trunk/; revision=73415
2016-12-02 22:36:21 +00:00
Robert Naumann 327d464e0c [RAPPS][USERINIT][HIVECLS] Add/Update Italian translation. Patches by Carlo Bramini. Thanks. CORE-9725 #comment rapps_new and usrmgr were not appliable, please check your patches. The others were committed in r73414
svn path=/trunk/; revision=73414
2016-12-02 22:22:28 +00:00
Hermès Bélusca-Maïto 0d21c76ef1 [ROSTESTS]: advapi32_apitest: Add a test to extensively test services command-line arguments. By Thomas Faber.
[ADVAPI32]: Correctly set up both the ANSI and UNICODE service command-line arguments. Adapted from a patch by Thomas Faber. Thanks!

[SERVICES]
- Correctly pack the service command-line arguments in the control packet structure. In particular, the offsets stored in the vector are relative to the beginning of the vector (and not relative to the previous offset ^^). Improve comments...
- Fix the definition of the SCM_CONTROL_PACKET control packet structure to make it Win2k3-compatible, so that we can use Win2k3' advapi32.dll or services.exe on ReactOS and vice-versa.

CORE-9235 CORE-9838

svn path=/trunk/; revision=73413
2016-12-02 20:01:29 +00:00
Robert Naumann b687b6775f [NETSHELL]Add Japanese translation. Patch by Katayama Hirofumi MZ. Thanks. CORE-12514
svn path=/trunk/; revision=73412
2016-12-01 21:09:47 +00:00
Robert Naumann e5d67ba90e [RUNONCE] Add Italian translation. Patch by Carlo Bramini. Thanks. CORE-12488
svn path=/trunk/; revision=73411
2016-12-01 21:06:38 +00:00
Mark Jansen 7b0c55ea0c This does not belong here.
svn path=/trunk/; revision=73410
2016-11-30 20:39:06 +00:00
Mark Jansen 0744770ebe [NETSHELL] Implement NcIsValidConnectionName + tests. Patch by Jared Smudde, modified by me. CORE-11320 #resolve
svn path=/trunk/; revision=73409
2016-11-30 20:31:50 +00:00
Giannis Adamopoulos f9e5da10de Fix build.
svn path=/trunk/; revision=73408
2016-11-29 18:01:35 +00:00
Giannis Adamopoulos 4c9e684463 [SHELL32] - CDefViewBckgrndMenu: Shell_MergeMenus doesn't handle items added by shell extensions correctly so let the folder IContextMenu add its items directly in the menu. CORE-12508
svn path=/trunk/; revision=73407
2016-11-29 17:56:04 +00:00
Giannis Adamopoulos 29310d6f92 [SHELL32] - CDefaultContextMenu::QueryContextMenu : Implement CMF_VERBSONLY flag (needs tests). CORE-11488 (and all its duplicates)
svn path=/trunk/; revision=73406
2016-11-29 15:44:19 +00:00
Giannis Adamopoulos 99548a5a34 [SHELL32]
- CDefViewBckgrndMenu : Add class to handle the background menu of the CDefView and handle stuff that previously were handled by CDefaultContextMenu. Let the shell folders fill their own part of the background context menu.
- CDefView: Create a CDefViewBckgrndMenu instead of a CDefaultContextMenu which was completely wrong.
- CDesktopFolder, CFSFolder: Implement returning the background context menu in CreateViewObject. Note that I am not completely sure that the callback should be adding the Properties item.
- CDefaultContextMenu: Remove code that was moved to CDefViewBckgrndMenu and try to improve the overzealous debug prints regarding the shell extensions.
CORE-12410, CORE-12472

svn path=/trunk/; revision=73405
2016-11-29 15:38:55 +00:00
Giannis Adamopoulos aab0fd5e9d [SHELL32_APITEST] -Test if CFSFolder::GetUIObjectOf can return an IDataObject for 0 cidl.
svn path=/trunk/; revision=73404
2016-11-29 13:27:21 +00:00
James Tabor 8fc6f71e55 [Win32SS]
- Revert HAX : Fix validating region with null. See CORE-12169 and related issues.

svn path=/trunk/; revision=73403
2016-11-28 16:48:39 +00:00
Hermès Bélusca-Maïto d73bbf218c [SERVICES]:
- Fix build.
- Remove now deprecated code (since we use RPC for service commands since revision r13xxx).

svn path=/trunk/; revision=73402
2016-11-27 20:44:09 +00:00
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