reactos.git
3 years ago[APITESTS]: Add a test for userenv.dll API Load/UnloadUserProfile.
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

3 years ago[NETAPI32]: Fix misusage of a pointer, that caused a crash when using the command...
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

3 years ago[NET]: Correct one entry in the help list of commands.
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

3 years ago[MSTSC] Decrease the size of the header font as it was cropped in some languages.
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

3 years ago[USRMGR] Load 32bit icons for groups tab. Patch by Jared Smudde. CORE-12547 #resolve...
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

3 years ago[APPSHIM_APITEST] Update display mode shim tests to show some difference in versions...
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

3 years ago[REGEDIT] Make the UpdateStatusBar function actually update the statusbar, instead...
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

3 years ago[User32]
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

3 years ago[User32]
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

3 years ago[NET/USE]
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

3 years ago[NET/USE]
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

3 years ago[NET/USE]
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

3 years ago[NET/USE]
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

3 years ago[KMTESTS]
Thomas Faber [Sat, 10 Dec 2016 11:59:41 +0000 (11:59 +0000)]
[KMTESTS]
- Add a missing newline

svn path=/trunk/; revision=73445

3 years ago[SHELL32]
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

3 years ago[BOOT] LiveCD: Create all profile subdirectories that Shell wants. Patch by Serge...
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

3 years ago[SETUPAPI] - Add missing error checks in do_file_copyW. Patch by Carlo Bramini. CORE...
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

3 years ago[USETUP] -Fix setting the language id when compiling for a single language. CORE...
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

3 years ago[USERENV]
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

3 years ago[USERENV]: Code formatting
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

3 years ago[SHELL32] - CDefView: Remove some todo comments that are done.
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

3 years ago[SHELL32] - Initialize the shell icon cache only when needed or when FileIconInit...
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

3 years ago[SERVICES]: Addendum to r73433 for ScmStartUserModeService:
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

3 years ago[SHELL32] Don't call CoInitialize in DllMain, bad things happen when calling into...
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

3 years ago[SERVICES]
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

3 years agoFix for source code file header, sorry for commit noise.
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

3 years ago[ADVAPI32_APITEST]: Test for a (correctly initialized) service process environment...
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

3 years ago[ADVAPI32_APITEST]: Add a small helper lib 'svchlp' for common routines for test...
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

3 years ago[BROWSEUI]
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

3 years ago[NTDLL]: Export _wcstoui64 (as done in Win2k3). Prototype from msvcrt. CORE-12534
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

3 years ago[NTDLL]: Add proper stubs for EtwpGetTraceBuffer and EtwpSetHWConfigFunction, needed...
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

3 years ago[ADVAPI32_APITEST]: Rename the 'LockDatabase' test to 'LockServiceDatabase' to better...
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

3 years ago[USERENV]: Use ARRAYSIZE instead of hardcoding the sizes of the static buffers.
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

3 years ago[DESK] Fix theme preview for Win7. Patch by Carlo Bramini. CORE-10076 #resolve #comme...
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

3 years ago[INCLUDE]
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

3 years ago[APPSHIM_APITEST] Add tests for the DisableThemes shim. CORE-11927
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

3 years ago[APPSHIM_APITEST] Add tests for display mode shims. CORE-11927
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

3 years ago[SERVICES]
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

3 years ago[SERVICES]
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

3 years ago[SERVICES]
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

3 years ago[SERVICES]
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

3 years ago[SERVICES]
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

3 years ago[TIMEDATE] Update/Fix German and French resource files. Patch by Joachim Henze and...
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

3 years ago[RAPPS][USERINIT][HIVECLS] Add/Update Italian translation. Patches by Carlo Bramini...
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

3 years ago[ROSTESTS]: advapi32_apitest: Add a test to extensively test services command-line...
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

3 years ago[NETSHELL]Add Japanese translation. Patch by Katayama Hirofumi MZ. Thanks. CORE-12514
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

3 years ago[RUNONCE] Add Italian translation. Patch by Carlo Bramini. Thanks. CORE-12488
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

3 years agoThis does not belong here.
Mark Jansen [Wed, 30 Nov 2016 20:39:06 +0000 (20:39 +0000)]
This does not belong here.

svn path=/trunk/; revision=73410

3 years ago[NETSHELL] Implement NcIsValidConnectionName + tests. Patch by Jared Smudde, modified...
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

3 years agoFix build.
Giannis Adamopoulos [Tue, 29 Nov 2016 18:01:35 +0000 (18:01 +0000)]
Fix build.

svn path=/trunk/; revision=73408

3 years ago[SHELL32] - CDefViewBckgrndMenu: Shell_MergeMenus doesn't handle items added by shell...
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

3 years ago[SHELL32] - CDefaultContextMenu::QueryContextMenu : Implement CMF_VERBSONLY flag...
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

3 years ago[SHELL32]
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

3 years ago[SHELL32_APITEST] -Test if CFSFolder::GetUIObjectOf can return an IDataObject for...
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

3 years ago[Win32SS]
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

3 years ago[SERVICES]:
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

3 years ago[SERVICES]
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

3 years ago[SERVICES]
Eric Kohl [Sun, 27 Nov 2016 20:12:39 +0000 (20:12 +0000)]
[SERVICES]
Delete service registry keys recursively.

svn path=/trunk/; revision=73400

3 years ago[NTOSKRNL]
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

3 years ago[APPHELP][APPHELP_APITEST] Stub ApphelpCheckShellObject + add tests, based on the...
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

3 years ago[SERVICES]
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

3 years ago[SERVICES]
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

3 years ago[KMTESTS:MM]
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

3 years ago[SETUPAPI]
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

3 years ago[KMTESTS:MM]
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

3 years ago[KMTESTS:MM]
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

3 years ago[NTOSKRNL]
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

3 years ago[TRANSLATION] Massive resource maintenance update. 2 oatches by Ștefan Fulea. Thank...
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

3 years ago[MODE] Add Russiam Translation. Based on a patch by Nikolay Burshtyn. Thank you....
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

3 years ago[USETUP] Update Russian translation. Patch by Nikolay Burshtyn. Thank you! CORE-12154
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

3 years ago[GETUNAME] Update Definitions for GetUName to Unicode 8.0. Patch by Baruch Rutman...
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

3 years ago[SHELL32] Update Japanese translation. Patch by Katayama Hirofumi MZ. Thank you!
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

3 years ago[SETUP/REACTOS] Add Japanese translation. Patch by Katayama Hirofumi MZ. Thank you...
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

3 years ago[NTOSKRNL]
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

3 years ago[PSDK][XDK]
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

3 years ago[WINMM] Properly stub some gfx* functions for Windows mmsys. Addendum to r73381....
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

3 years ago[WINMM] Stub some gfx* functions for Windows mmsys. Patch by Jared Smudde. CORE-12466...
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

3 years ago[SHDOCVW]
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

4 years ago[SHELL32]
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

4 years ago[NTOSKRNL]
Pierre Schweitzer [Fri, 25 Nov 2016 22:39:49 +0000 (22:39 +0000)]
[NTOSKRNL]
Revert r73376.

CORE-12238

svn path=/trunk/; revision=73378

4 years ago[REGEDIT] Do not try to dereference a pointer when it is NULL. CORE-11915
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

4 years ago[NTOSKRNL]
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

4 years ago[WINSTA] fix declaration of WinStationQueryInformationA
Christoph von Wittich [Fri, 25 Nov 2016 12:48:55 +0000 (12:48 +0000)]
[WINSTA] fix declaration of WinStationQueryInformationA

svn path=/trunk/; revision=73375

4 years agoFix GCC build
Colin Finck [Thu, 24 Nov 2016 19:35:08 +0000 (19:35 +0000)]
Fix GCC build

svn path=/trunk/; revision=73374

4 years ago[LOCALSPL]
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

4 years ago[Win32SS]
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

4 years ago[SPOOLSS]
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

4 years ago[MSTSC] Addendum to r73368. Peter, please review. CORE-9321
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

4 years ago[README.WINE] Mark some DX dlls as synced with Wine Staging 1.9.23. CORE-12409
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

4 years ago[MSTSC] Add schannel based SSL implementation. CORE-9321
Peter Hater [Thu, 24 Nov 2016 10:56:09 +0000 (10:56 +0000)]
[MSTSC] Add schannel based SSL implementation. CORE-9321

svn path=/trunk/; revision=73368

4 years ago[INCLUDES/WINE][DBGHELP]
Sylvain Petreolle [Wed, 23 Nov 2016 21:33:54 +0000 (21:33 +0000)]
[INCLUDES/WINE][DBGHELP]
Remove the rbtree.h difference with Wine Staging 1.9.23. CORE-12409

svn path=/trunk/; revision=73367

4 years ago[D3DX9_33] We don't need these here as d3dx9_36 already has them.
Amine Khaldi [Wed, 23 Nov 2016 18:43:17 +0000 (18:43 +0000)]
[D3DX9_33] We don't need these here as d3dx9_36 already has them.

svn path=/trunk/; revision=73366

4 years ago[UXTHEME] Reduce difference with Wine Staging 1.9.23. CORE-12409
Amine Khaldi [Wed, 23 Nov 2016 18:38:48 +0000 (18:38 +0000)]
[UXTHEME] Reduce difference with Wine Staging 1.9.23. CORE-12409

svn path=/trunk/; revision=73365

4 years ago[LOCALMON]
Pierre Schweitzer [Wed, 23 Nov 2016 18:29:40 +0000 (18:29 +0000)]
[LOCALMON]
Add French translation.

CORE-12363

svn path=/trunk/; revision=73364

4 years ago[CDFS] Fix a thinko.
Amine Khaldi [Wed, 23 Nov 2016 18:27:07 +0000 (18:27 +0000)]
[CDFS] Fix a thinko.

svn path=/trunk/; revision=73363

4 years ago[FASTFAT]
Pierre Schweitzer [Wed, 23 Nov 2016 18:21:03 +0000 (18:21 +0000)]
[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

4 years ago[WININET_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
Amine Khaldi [Wed, 23 Nov 2016 18:11:04 +0000 (18:11 +0000)]
[WININET_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409

svn path=/trunk/; revision=73361

4 years ago[WININET] Sync with Wine Staging 1.9.23. CORE-12409
Amine Khaldi [Wed, 23 Nov 2016 18:09:57 +0000 (18:09 +0000)]
[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

4 years ago[User32]
James Tabor [Wed, 23 Nov 2016 15:42:05 +0000 (15:42 +0000)]
[User32]
- Fix dialog pop up flicker. Regression from 73333.

svn path=/trunk/; revision=73359

4 years ago[WINHTTP_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
Amine Khaldi [Wed, 23 Nov 2016 12:00:25 +0000 (12:00 +0000)]
[WINHTTP_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409

svn path=/trunk/; revision=73358