James Tabor [Mon, 19 Dec 2016 16:36:12 +0000 (16:36 +0000)]
[User32]
- Patch by Andrey Gusev : Add support for WS_EX_RIGHT style.
svn path=/trunk/; revision=73469
James Tabor [Mon, 19 Dec 2016 16:28:42 +0000 (16:28 +0000)]
[User32_API]
- Patch by Katayama Hirofumi MZ : Add a test for Next Dialog Item for radio buttons.
svn path=/trunk/; revision=73468
Amine Khaldi [Sun, 18 Dec 2016 20:04:19 +0000 (20:04 +0000)]
[RPCRT4] Properly stub RpcMgmtInqServerPrincName{A,W}. Tested by Jared Smudde. CORE-12465
svn path=/trunk/; revision=73467
Amine Khaldi [Sun, 18 Dec 2016 17:57:51 +0000 (17:57 +0000)]
[INCLUDE] Fix a WIN32_WINNT => _WIN32_WINNT typo in some comments. Spotted by Serge Gautherie. CORE-12580
svn path=/trunk/; revision=73466
Mark Jansen [Sat, 17 Dec 2016 19:38:08 +0000 (19:38 +0000)]
[ATL][ATL_APITEST] Add GetEnvironmentVariable to CString. CORE-12581
svn path=/trunk/; revision=73465
Mark Jansen [Fri, 16 Dec 2016 22:13:01 +0000 (22:13 +0000)]
[SDK] Add Resolution/Bitdepth shims + layers to the appcompat database. CORE-11927 #resolve
svn path=/trunk/; revision=73464
Mark Jansen [Fri, 16 Dec 2016 22:05:58 +0000 (22:05 +0000)]
[ACGENRAL] Implement the DisableThemes shim. CORE-11927
svn path=/trunk/; revision=73463
Mark Jansen [Fri, 16 Dec 2016 21:54:06 +0000 (21:54 +0000)]
[ACLAYERS] Implement Force8BitColor and Force640x480 shims. CORE-11927
svn path=/trunk/; revision=73462
Mark Jansen [Fri, 16 Dec 2016 19:18:26 +0000 (19:18 +0000)]
[SHIMLIB] Shim helper functions keep a list of used shims, so that events can be forwarded. CORE-11329
svn path=/trunk/; revision=73461
Giannis Adamopoulos [Fri, 16 Dec 2016 10:39:16 +0000 (10:39 +0000)]
[PSDK] -Add some definitions needed by the previous commit.
svn path=/trunk/; revision=73460
Giannis Adamopoulos [Fri, 16 Dec 2016 10:31:13 +0000 (10:31 +0000)]
[SHELL32] - CNetFolder: Fix opening items which was broken after having a callback for the default context menu became mandatory.
svn path=/trunk/; revision=73459
Hermès Bélusca-Maïto [Thu, 15 Dec 2016 18:44:47 +0000 (18:44 +0000)]
[APITESTS]: Add a test for userenv.dll API Load/UnloadUserProfile.
CORE-12541
svn path=/trunk/; revision=73458
Hermès Bélusca-Maïto [Thu, 15 Dec 2016 14:45:58 +0000 (14:45 +0000)]
[NETAPI32]: Fix misusage of a pointer, that caused a crash when using the command "net localgroup". Address one of the problems described in CORE-11081.
Note that those ((ULONG_PTR)the_pointer + sizeof(type_pointed_by_the_pointer)) could be somewhat short cut into: (the_pointer + 1) (with the_pointer being of type *type_pointed_by_the_pointer). But anyway...
svn path=/trunk/; revision=73457
Hermès Bélusca-Maïto [Thu, 15 Dec 2016 13:00:06 +0000 (13:00 +0000)]
[NET]: Correct one entry in the help list of commands.
svn path=/trunk/; revision=73456
Robert Naumann [Wed, 14 Dec 2016 21:10:35 +0000 (21:10 +0000)]
[MSTSC] Decrease the size of the header font as it was cropped in some languages.
svn path=/trunk/; revision=73455
Mark Jansen [Wed, 14 Dec 2016 20:33:39 +0000 (20:33 +0000)]
[USRMGR] Load 32bit icons for groups tab. Patch by Jared Smudde. CORE-12547 #resolve #comment Thanks!
svn path=/trunk/; revision=73454
Mark Jansen [Wed, 14 Dec 2016 19:19:57 +0000 (19:19 +0000)]
[APPSHIM_APITEST] Update display mode shim tests to show some difference in versions + add extra tests. CORE-11927
svn path=/trunk/; revision=73453
Mark Jansen [Tue, 13 Dec 2016 21:47:22 +0000 (21:47 +0000)]
[REGEDIT] Make the UpdateStatusBar function actually update the statusbar, instead of sending garbage to the treeview. CORE-10803
svn path=/trunk/; revision=73452
James Tabor [Tue, 13 Dec 2016 17:49:34 +0000 (17:49 +0000)]
[User32]
- Patch by Katayama Hirofumi MZ : DrawFrameControl draws bad. See CORE-12573.
svn path=/trunk/; revision=73451
James Tabor [Tue, 13 Dec 2016 17:27:37 +0000 (17:27 +0000)]
[User32]
- Sync/Port wine UI code for drawing.
svn path=/trunk/; revision=73450
Pierre Schweitzer [Sun, 11 Dec 2016 10:23:02 +0000 (10:23 +0000)]
[NET/USE]
On enumeration, don't print raw status
svn path=/trunk/; revision=73449
Pierre Schweitzer [Sun, 11 Dec 2016 09:15:16 +0000 (09:15 +0000)]
[NET/USE]
Get rid of COUNT_OF
svn path=/trunk/; revision=73448
Pierre Schweitzer [Sun, 11 Dec 2016 09:01:22 +0000 (09:01 +0000)]
[NET/USE]
Allow some strings to be translated
svn path=/trunk/; revision=73447
Pierre Schweitzer [Sat, 10 Dec 2016 22:12:53 +0000 (22:12 +0000)]
[NET/USE]
In case of an error, display the error message.
svn path=/trunk/; revision=73446
Thomas Faber [Sat, 10 Dec 2016 11:59:41 +0000 (11:59 +0000)]
[KMTESTS]
- Add a missing newline
svn path=/trunk/; revision=73445
Giannis Adamopoulos [Fri, 9 Dec 2016 21:31:23 +0000 (21:31 +0000)]
[SHELL32]
- Add a separate string for the unknown file types and rename the first column to Name from File.
- Note to translators: Please update translations based on the changes in the English strings.
Patch by Amber.
CORE-12530
svn path=/trunk/; revision=73444
Giannis Adamopoulos [Fri, 9 Dec 2016 20:40:52 +0000 (20:40 +0000)]
[BOOT] LiveCD: Create all profile subdirectories that Shell wants. Patch by Serge Gautherie. CORE-12527
svn path=/trunk/; revision=73443
Giannis Adamopoulos [Fri, 9 Dec 2016 18:39:11 +0000 (18:39 +0000)]
[SETUPAPI] - Add missing error checks in do_file_copyW. Patch by Carlo Bramini. CORE-12471
svn path=/trunk/; revision=73442
Giannis Adamopoulos [Fri, 9 Dec 2016 18:30:50 +0000 (18:30 +0000)]
[USETUP] -Fix setting the language id when compiling for a single language. CORE-10958
svn path=/trunk/; revision=73441
Hermès Bélusca-Maïto [Thu, 8 Dec 2016 16:12:59 +0000 (16:12 +0000)]
[USERENV]
- Use a better variable type for the 'Environment' parameter of SetUserEnvironmentVariable, AppendUserEnvironmentVariable, SetUserEnvironment, SetSystemEnvironment, so as to avoid useless casts.
- Add old-style parameter annotations for exported functions (at least);
- Add an implementation comment about setting HOMEDRIVE/HOMEPATH;
- Use ARRAYSIZE() instead of hardcoded buffer sizes;
- Don't say that GetShortPathNameW() failed when it succeeds;
- Use standard capitalization for hardcoded environment variables.
svn path=/trunk/; revision=73440
Hermès Bélusca-Maïto [Thu, 8 Dec 2016 16:08:59 +0000 (16:08 +0000)]
[USERENV]: Code formatting
svn path=/trunk/; revision=73439
Giannis Adamopoulos [Wed, 7 Dec 2016 15:43:17 +0000 (15:43 +0000)]
[SHELL32] - CDefView: Remove some todo comments that are done.
svn path=/trunk/; revision=73438
Giannis Adamopoulos [Wed, 7 Dec 2016 00:10:43 +0000 (00:10 +0000)]
[SHELL32] - Initialize the shell icon cache only when needed or when FileIconInit is called (and not in the DllMain of shell32)
svn path=/trunk/; revision=73436
Hermès Bélusca-Maïto [Tue, 6 Dec 2016 23:01:27 +0000 (23:01 +0000)]
[SERVICES]: Addendum to r73433 for ScmStartUserModeService:
- Use the correct capitalization for the desktop name (to be consistent with all the rest of our code);
- Fix DPRINT1 order of arguments;
- Reorganize a bit the code to avoid the memory leak if ImpersonateLoggedOnUser fails and the environment block was already allocated (caught by Ged Murphy).
CORE-12414
svn path=/trunk/; revision=73435
Mark Jansen [Tue, 6 Dec 2016 21:18:17 +0000 (21:18 +0000)]
[SHELL32] Don't call CoInitialize in DllMain, bad things happen when calling into dll's that are being loaded! CORE-12443 #comment Please retest!
svn path=/trunk/; revision=73434
Eric Kohl [Tue, 6 Dec 2016 17:29:30 +0000 (17:29 +0000)]
[SERVICES]
Create a new environment block when a service process is started.
Patch by Hermès BÉLUSCA - MAÏTO.
CORE-12414
svn path=/trunk/; revision=73433
Hermès Bélusca-Maïto [Mon, 5 Dec 2016 16:38:11 +0000 (16:38 +0000)]
Fix for source code file header, sorry for commit noise.
svn path=/trunk/; revision=73432
Hermès Bélusca-Maïto [Mon, 5 Dec 2016 16:36:06 +0000 (16:36 +0000)]
[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
Hermès Bélusca-Maïto [Mon, 5 Dec 2016 16:22:30 +0000 (16:22 +0000)]
[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
Sylvain Petreolle [Sun, 4 Dec 2016 23:33:19 +0000 (23:33 +0000)]
[BROWSEUI]
Fix CShellBrowser window class name,
shown by shell32:progman_dde and AHK_Diablo_1.0:1.install
svn path=/trunk/; revision=73429
Hermès Bélusca-Maïto [Sun, 4 Dec 2016 22:52:03 +0000 (22:52 +0000)]
[NTDLL]: Export _wcstoui64 (as done in Win2k3). Prototype from msvcrt. CORE-12534
svn path=/trunk/; revision=73428
Hermès Bélusca-Maïto [Sun, 4 Dec 2016 22:44:37 +0000 (22:44 +0000)]
[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
Hermès Bélusca-Maïto [Sun, 4 Dec 2016 18:41:46 +0000 (18:41 +0000)]
[ADVAPI32_APITEST]: Rename the 'LockDatabase' test to 'LockServiceDatabase' to better match the name of the API.
svn path=/trunk/; revision=73426
Hermès Bélusca-Maïto [Sun, 4 Dec 2016 18:28:33 +0000 (18:28 +0000)]
[USERENV]: Use ARRAYSIZE instead of hardcoding the sizes of the static buffers.
svn path=/trunk/; revision=73425
Mark Jansen [Sun, 4 Dec 2016 16:52:22 +0000 (16:52 +0000)]
[DESK] Fix theme preview for Win7. Patch by Carlo Bramini. CORE-10076 #resolve #comment Thanks!
svn path=/trunk/; revision=73424
Eric Kohl [Sun, 4 Dec 2016 15:56:44 +0000 (15:56 +0000)]
[INCLUDE]
Add CreateUserProfileExA and CreateUserProfileExW prototypes to userenv.h.
svn path=/trunk/; revision=73423
Mark Jansen [Sun, 4 Dec 2016 15:33:28 +0000 (15:33 +0000)]
[APPSHIM_APITEST] Add tests for the DisableThemes shim. CORE-11927
svn path=/trunk/; revision=73422
Mark Jansen [Sat, 3 Dec 2016 21:24:47 +0000 (21:24 +0000)]
[APPSHIM_APITEST] Add tests for display mode shims. CORE-11927
svn path=/trunk/; revision=73421
Eric Kohl [Sat, 3 Dec 2016 14:33:07 +0000 (14:33 +0000)]
[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
Eric Kohl [Sat, 3 Dec 2016 13:54:11 +0000 (13:54 +0000)]
[SERVICES]
Tiny fixes.
One fix found by Serge Gautherie.
svn path=/trunk/; revision=73419
Eric Kohl [Sat, 3 Dec 2016 12:55:29 +0000 (12:55 +0000)]
[SERVICES]
Add more parameter checks to RChangeServiceConfigW().
svn path=/trunk/; revision=73418
Eric Kohl [Sat, 3 Dec 2016 12:48:44 +0000 (12:48 +0000)]
[SERVICES]
Implement large parts of RI_ScGetCurrentGroupStateW.
svn path=/trunk/; revision=73417
Eric Kohl [Sat, 3 Dec 2016 09:33:03 +0000 (09:33 +0000)]
[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
Robert Naumann [Fri, 2 Dec 2016 22:36:21 +0000 (22:36 +0000)]
[TIMEDATE] Update/Fix German and French resource files. Patch by Joachim Henze and Kyle Katarn. CORE-12369
svn path=/trunk/; revision=73415
Robert Naumann [Fri, 2 Dec 2016 22:22:28 +0000 (22:22 +0000)]
[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
Hermès Bélusca-Maïto [Fri, 2 Dec 2016 20:01:29 +0000 (20:01 +0000)]
[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
Robert Naumann [Thu, 1 Dec 2016 21:09:47 +0000 (21:09 +0000)]
[NETSHELL]Add Japanese translation. Patch by Katayama Hirofumi MZ. Thanks. CORE-12514
svn path=/trunk/; revision=73412
Robert Naumann [Thu, 1 Dec 2016 21:06:38 +0000 (21:06 +0000)]
[RUNONCE] Add Italian translation. Patch by Carlo Bramini. Thanks. CORE-12488
svn path=/trunk/; revision=73411
Mark Jansen [Wed, 30 Nov 2016 20:39:06 +0000 (20:39 +0000)]
This does not belong here.
svn path=/trunk/; revision=73410
Mark Jansen [Wed, 30 Nov 2016 20:31:50 +0000 (20:31 +0000)]
[NETSHELL] Implement NcIsValidConnectionName + tests. Patch by Jared Smudde, modified by me. CORE-11320 #resolve
svn path=/trunk/; revision=73409
Giannis Adamopoulos [Tue, 29 Nov 2016 18:01:35 +0000 (18:01 +0000)]
Fix build.
svn path=/trunk/; revision=73408
Giannis Adamopoulos [Tue, 29 Nov 2016 17:56:04 +0000 (17:56 +0000)]
[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
Giannis Adamopoulos [Tue, 29 Nov 2016 15:44:19 +0000 (15:44 +0000)]
[SHELL32] - CDefaultContextMenu::QueryContextMenu : Implement CMF_VERBSONLY flag (needs tests). CORE-11488 (and all its duplicates)
svn path=/trunk/; revision=73406
Giannis Adamopoulos [Tue, 29 Nov 2016 15:38:55 +0000 (15:38 +0000)]
[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
Giannis Adamopoulos [Tue, 29 Nov 2016 13:27:21 +0000 (13:27 +0000)]
[SHELL32_APITEST] -Test if CFSFolder::GetUIObjectOf can return an IDataObject for 0 cidl.
svn path=/trunk/; revision=73404
James Tabor [Mon, 28 Nov 2016 16:48:39 +0000 (16:48 +0000)]
[Win32SS]
- Revert HAX : Fix validating region with null. See CORE-12169 and related issues.
svn path=/trunk/; revision=73403
Hermès Bélusca-Maïto [Sun, 27 Nov 2016 20:44:09 +0000 (20:44 +0000)]
[SERVICES]:
- Fix build.
- Remove now deprecated code (since we use RPC for service commands since revision r13xxx).
svn path=/trunk/; revision=73402
Hermès Bélusca-Maïto [Sun, 27 Nov 2016 20:39:10 +0000 (20:39 +0000)]
[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
Eric Kohl [Sun, 27 Nov 2016 20:12:39 +0000 (20:12 +0000)]
[SERVICES]
Delete service registry keys recursively.
svn path=/trunk/; revision=73400
Pierre Schweitzer [Sun, 27 Nov 2016 20:11:30 +0000 (20:11 +0000)]
[NTOSKRNL]
Don't leak FO reference on failure.
Fixes kmtest:NtCreateSection unloading.
Dedicated to Thomas.
CORE-11819
CORE-12475
svn path=/trunk/; revision=73399
Mark Jansen [Sun, 27 Nov 2016 18:33:21 +0000 (18:33 +0000)]
[APPHELP][APPHELP_APITEST] Stub ApphelpCheckShellObject + add tests, based on the work of Mislav Blažević. CORE-12476
svn path=/trunk/; revision=73398
Eric Kohl [Sun, 27 Nov 2016 15:49:05 +0000 (15:49 +0000)]
[SERVICES]
RQueryServiceStatusEx and REnumServicesStatusExW: This way it make a lot more sense!
svn path=/trunk/; revision=73397
Eric Kohl [Sun, 27 Nov 2016 15:24:49 +0000 (15:24 +0000)]
[SERVICES]
REnumServicesStatusExW/W and RQueryServiceStatusEx should not return a non-zero process ID for a stopped service.
svn path=/trunk/; revision=73396
Pierre Schweitzer [Sun, 27 Nov 2016 13:39:01 +0000 (13:39 +0000)]
[KMTESTS:MM]
Test FCB header fields: FileSize, ValidDataLength
CORE-11819
CORE-12475
svn path=/trunk/; revision=73395
Eric Kohl [Sun, 27 Nov 2016 11:14:25 +0000 (11:14 +0000)]
[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
Pierre Schweitzer [Sun, 27 Nov 2016 10:56:40 +0000 (10:56 +0000)]
[KMTESTS:MM]
Playing with EOF shouldn't make you forget EOL!
Addendum to r73392
svn path=/trunk/; revision=73393
Pierre Schweitzer [Sun, 27 Nov 2016 10:49:33 +0000 (10:49 +0000)]
[KMTESTS:MM]
Check the first byte is really null, in spite of the hack writing.
CORE-11819
CORE-12475
svn path=/trunk/; revision=73392
Pierre Schweitzer [Sun, 27 Nov 2016 10:27:43 +0000 (10:27 +0000)]
[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
Robert Naumann [Sun, 27 Nov 2016 00:15:02 +0000 (00:15 +0000)]
[TRANSLATION] Massive resource maintenance update. 2 oatches by Ștefan Fulea. Thank you! CORE-12326
svn path=/trunk/; revision=73390
Robert Naumann [Sat, 26 Nov 2016 23:58:07 +0000 (23:58 +0000)]
[MODE] Add Russiam Translation. Based on a patch by Nikolay Burshtyn. Thank you. CORE-12202
svn path=/trunk/; revision=73389
Robert Naumann [Sat, 26 Nov 2016 23:47:36 +0000 (23:47 +0000)]
[USETUP] Update Russian translation. Patch by Nikolay Burshtyn. Thank you! CORE-12154
svn path=/trunk/; revision=73388
Robert Naumann [Sat, 26 Nov 2016 23:25:14 +0000 (23:25 +0000)]
[GETUNAME] Update Definitions for GetUName to Unicode 8.0. Patch by Baruch Rutman. Thanks a lot! CORE-10722
svn path=/trunk/; revision=73387
Robert Naumann [Sat, 26 Nov 2016 23:10:22 +0000 (23:10 +0000)]
[SHELL32] Update Japanese translation. Patch by Katayama Hirofumi MZ. Thank you!
svn path=/trunk/; revision=73386
Robert Naumann [Sat, 26 Nov 2016 23:05:54 +0000 (23:05 +0000)]
[SETUP/REACTOS] Add Japanese translation. Patch by Katayama Hirofumi MZ. Thank you. CORE-12459
svn path=/trunk/; revision=73385
Pierre Schweitzer [Sat, 26 Nov 2016 22:39:08 +0000 (22:39 +0000)]
[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
Thomas Faber [Sat, 26 Nov 2016 18:33:08 +0000 (18:33 +0000)]
[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
Amine Khaldi [Sat, 26 Nov 2016 18:20:25 +0000 (18:20 +0000)]
[WINMM] Properly stub some gfx* functions for Windows mmsys. Addendum to r73381. CORE-12466
svn path=/trunk/; revision=73382
Mark Jansen [Sat, 26 Nov 2016 18:12:08 +0000 (18:12 +0000)]
[WINMM] Stub some gfx* functions for Windows mmsys. Patch by Jared Smudde. CORE-12466 #resolve #comment Thanks!
svn path=/trunk/; revision=73381
Thomas Faber [Sat, 26 Nov 2016 17:55:23 +0000 (17:55 +0000)]
[SHDOCVW]
- Improve stub for _GetStdLocation. Patch by Jared Smudde.
CORE-12467 #resolve
svn path=/trunk/; revision=73380
Pierre Schweitzer [Sat, 26 Nov 2016 10:07:57 +0000 (10:07 +0000)]
[SHELL32]
Don't truncate text in French translation.
Patch by Joachim Henze (reactosfanboy)
CORE-12308
svn path=/trunk/; revision=73379
Pierre Schweitzer [Fri, 25 Nov 2016 22:39:49 +0000 (22:39 +0000)]
[NTOSKRNL]
Revert r73376.
CORE-12238
svn path=/trunk/; revision=73378
Mark Jansen [Fri, 25 Nov 2016 22:16:39 +0000 (22:16 +0000)]
[REGEDIT] Do not try to dereference a pointer when it is NULL. CORE-11915
svn path=/trunk/; revision=73377
Pierre Schweitzer [Fri, 25 Nov 2016 21:47:34 +0000 (21:47 +0000)]
[NTOSKRNL]
Remove old hacks which seem no longer required
svn path=/trunk/; revision=73376
Christoph von Wittich [Fri, 25 Nov 2016 12:48:55 +0000 (12:48 +0000)]
[WINSTA] fix declaration of WinStationQueryInformationA
svn path=/trunk/; revision=73375
Colin Finck [Thu, 24 Nov 2016 19:35:08 +0000 (19:35 +0000)]
Fix GCC build
svn path=/trunk/; revision=73374
Colin Finck [Thu, 24 Nov 2016 19:24:27 +0000 (19:24 +0000)]
[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
James Tabor [Thu, 24 Nov 2016 18:18:28 +0000 (18:18 +0000)]
[Win32SS]
- HAX : Fix paint message spam. See CORE-12169 and related issues.
svn path=/trunk/; revision=73372
Colin Finck [Thu, 24 Nov 2016 14:38:39 +0000 (14:38 +0000)]
[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
Amine Khaldi [Thu, 24 Nov 2016 11:16:56 +0000 (11:16 +0000)]
[MSTSC] Addendum to r73368. Peter, please review. CORE-9321
svn path=/trunk/; revision=73370
Amine Khaldi [Thu, 24 Nov 2016 10:59:01 +0000 (10:59 +0000)]
[README.WINE] Mark some DX dlls as synced with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73369