reactos.git
3 years agoOnly generate installation rules for rostests if the ROSTESTS_INSTALL environment...
Colin Finck [Fri, 13 Jan 2017 09:43:12 +0000 (09:43 +0000)]
Only generate installation rules for rostests if the ROSTESTS_INSTALL environment variable is defined.

svn path=/trunk/; revision=73534

3 years ago[ROSTESTS]
Colin Finck [Fri, 13 Jan 2017 09:24:15 +0000 (09:24 +0000)]
[ROSTESTS]
- Add a function "add_rostests_file" that calls both add_cd_file() and install() accordingly for regression tests.
  Use this function everywhere in rostests where add_cd_file() was used previously. This puts tests always in the right place on CD and also generates proper installation rules for them.
- Add a custom target "rostests_install" that performs an "install" on all rostests components.

This finally gives us a convenient and reliable way to copy all regression tests and their dependencies into a single directory (specified by the ROSTESTS_INSTALL environment variable).
Will be used on the WHS-Testbot to let it finally run each and every test.

CORE-12401
ONLINE-441

svn path=/trunk/; revision=73533

3 years ago[NtUser]
James Tabor [Fri, 13 Jan 2017 04:06:24 +0000 (04:06 +0000)]
[NtUser]
- Fix menu surfing while using MS Office 2003. See CORE-12085 and CORE-12071.

svn path=/trunk/; revision=73532

3 years agoUse wine_dbgstr_w as Jared did originally (I hate this macro because it displays...
Hermès Bélusca-Maïto [Fri, 13 Jan 2017 00:33:46 +0000 (00:33 +0000)]
Use wine_dbgstr_w as Jared did originally (I hate this macro because it displays strings in 'C'-language form instead of in natural way).

svn path=/trunk/; revision=73531

3 years ago/me slaps GCCLin.
Hermès Bélusca-Maïto [Fri, 13 Jan 2017 00:20:50 +0000 (00:20 +0000)]
/me slaps GCCLin.

svn path=/trunk/; revision=73530

3 years ago[SHLWAPI]: On Windows 2003, tests show that strings starting with "\\?" are considere...
Hermès Bélusca-Maïto [Fri, 13 Jan 2017 00:18:51 +0000 (00:18 +0000)]
[SHLWAPI]: On Windows 2003, tests show that strings starting with "\\?" are considered UNC, while on Windows Vista+ this is not the case anymore.
Select Win2k3 behaviour: revert r54542 (and add a note).
CORE-12653 #resolve

svn path=/trunk/; revision=73529

3 years agoMake GCC happy.
Hermès Bélusca-Maïto [Fri, 13 Jan 2017 00:13:38 +0000 (00:13 +0000)]
Make GCC happy.

svn path=/trunk/; revision=73528

3 years ago[SHLWAPI_APITEST]: New test for PathIsUNC function, by Jared Smudde. Thanks!
Hermès Bélusca-Maïto [Fri, 13 Jan 2017 00:06:12 +0000 (00:06 +0000)]
[SHLWAPI_APITEST]: New test for PathIsUNC function, by Jared Smudde. Thanks!
ROSTESTS-256 #resolve

svn path=/trunk/; revision=73527

3 years ago[NTDLL] -Add preliminary tests for RtlDosApplyFileIsolationRedirection_Ustr.
Giannis Adamopoulos [Thu, 12 Jan 2017 11:21:04 +0000 (11:21 +0000)]
[NTDLL] -Add preliminary tests for RtlDosApplyFileIsolationRedirection_Ustr.

svn path=/trunk/; revision=73526

3 years agoFix build.
Hermès Bélusca-Maïto [Wed, 11 Jan 2017 20:06:47 +0000 (20:06 +0000)]
Fix build.

svn path=/trunk/; revision=73525

3 years ago[SHELL32]: Partly restore code (AddCommasW function) that was implemented in r33953...
Hermès Bélusca-Maïto [Wed, 11 Jan 2017 20:02:14 +0000 (20:02 +0000)]
[SHELL32]: Partly restore code (AddCommasW function) that was implemented in r33953 but removed in the next revision r33954.

svn path=/trunk/; revision=73524

3 years ago[SHELL32]: Replay commit r41711 (was lost during shell32 C++ translation).
Hermès Bélusca-Maïto [Wed, 11 Jan 2017 19:28:48 +0000 (19:28 +0000)]
[SHELL32]: Replay commit r41711 (was lost during shell32 C++ translation).

svn path=/trunk/; revision=73523

3 years agoRemove the USE_MKISOFS switch and make mkisofs our one and only ISO creation tool.
Colin Finck [Wed, 11 Jan 2017 12:16:25 +0000 (12:16 +0000)]
Remove the USE_MKISOFS switch and make mkisofs our one and only ISO creation tool.
CDMake is moved to rosapps as per Hermès' wish, but not added to the build.

svn path=/trunk/; revision=73521

3 years ago[MKISOFS]
Colin Finck [Wed, 11 Jan 2017 11:56:36 +0000 (11:56 +0000)]
[MKISOFS]
Update mkisofs to schily-2016-12-14 giving us the following features:
- Support for -duplicates-once to store duplicate files in the tree only once in the filesystem (see also CORE-9266)
  I've enabled this for the hybridcd target where it actually saves us 25 MB.
- Proper System-ID "Win32/MinGW" and "Win32/MSVC" under Windows hosts depending on the compiler

CORE-12578

svn path=/trunk/; revision=73520

3 years ago[SETUP][SYSSETUP]: Export a 'InstallWindowsNt' function from syssetup.dll (with Windo...
Hermès Bélusca-Maïto [Tue, 10 Jan 2017 16:55:15 +0000 (16:55 +0000)]
[SETUP][SYSSETUP]: Export a 'InstallWindowsNt' function from syssetup.dll (with Windows-compatible signature) instead of our private 'InstallReactOS' and 'InstallLiveCD', and call it from setup.exe. This allows using our setup.exe on Windows & vice-versa for testing purposes. In syssetup.dll, the choice of installing ReactOS or starting the LiveCD interface is done by checking the command-line given to 'InstallWindowsNt' (using the existing switches).
Inspired from Jared's patch in CORE-12615.

svn path=/trunk/; revision=73519

3 years ago[USERENV]
Hermès Bélusca-Maïto [Tue, 10 Jan 2017 15:28:49 +0000 (15:28 +0000)]
[USERENV]
- Split the huge "InitializeProfiles" function into itself and a helper "CreateStandardProfile", the latter is called to set up the "Default User" and "All Users" profile directories & registry settings.
- Use StringSafe functions where needed.
- Some of the shell registry values (the multimedia ones in particular) and the Fonts folder path, are not set by userenv.dll but are set by shell32.dll when it is registered during 2nd stage setup.

[SHELL32]: The above-mentioned shell reg vals are already there, but few have different translations than the ones that were in userenv. Translators, please review & fix if needed!

[SYSSETUP]: It is syssetup.dll which sets up the 'Program Files' & 'Common Files' directories & registry values at 2nd stage setup, as done on Windows' setup. Move the code that did this from our userenv to syssetup.

svn path=/trunk/; revision=73518

3 years ago[WIN32SS] Don't trigger ProbeForWrite when retrieving caret size from co_IntDrawCaret...
Mark Jansen [Mon, 9 Jan 2017 21:12:00 +0000 (21:12 +0000)]
[WIN32SS] Don't trigger ProbeForWrite when retrieving caret size from co_IntDrawCaret, fix unlocking in failure path. CORE-10308

svn path=/trunk/; revision=73517

3 years ago[SHELL32]
Pierre Schweitzer [Mon, 9 Jan 2017 21:01:22 +0000 (21:01 +0000)]
[SHELL32]
Stub support for BtrFS helper.

CORE-12617

svn path=/trunk/; revision=73516

3 years ago[FMIFS]
Pierre Schweitzer [Mon, 9 Jan 2017 20:59:22 +0000 (20:59 +0000)]
[FMIFS]
Register the BtrFS helper

CORE-12617

svn path=/trunk/; revision=73515

3 years ago[BTRFSLIB]
Pierre Schweitzer [Mon, 9 Jan 2017 20:56:55 +0000 (20:56 +0000)]
[BTRFSLIB]
Drop that lib. It's been superseeded by r73513

CORE-12617

svn path=/trunk/; revision=73514

3 years ago[UBTRFS]
Pierre Schweitzer [Mon, 9 Jan 2017 20:52:44 +0000 (20:52 +0000)]
[UBTRFS]
Import the ubtrfs DLL from the BtrFS project.

CORE-12617

svn path=/trunk/; revision=73513

3 years ago[SHELL32]
Pierre Schweitzer [Sun, 8 Jan 2017 17:26:14 +0000 (17:26 +0000)]
[SHELL32]
When selecting any FAT filesystem on format dialog, uncheck & disable compression control. It's not supported by this FS.

svn path=/trunk/; revision=73512

3 years ago[PSDK]
Pierre Schweitzer [Sat, 7 Jan 2017 20:23:50 +0000 (20:23 +0000)]
[PSDK]
Define Button_SetElevationRequiredState() and BCM_SETSHIELD.
Reviewed by Giannis.

CORE-12617

svn path=/trunk/; revision=73511

3 years ago[DDK]
Pierre Schweitzer [Sat, 7 Jan 2017 20:20:21 +0000 (20:20 +0000)]
[DDK]
Define IDE_COMMAND_IDENTIFY

CORE-12617

svn path=/trunk/; revision=73510

3 years ago[KERNEL32_APITEST] - Use the full path to the manifest files when testing FindActCtxS...
Giannis Adamopoulos [Fri, 6 Jan 2017 22:06:53 +0000 (22:06 +0000)]
[KERNEL32_APITEST] - Use the full path to the manifest files when testing FindActCtxSectionStringW. This is needed because in most cases they are not in the current directory.

svn path=/trunk/; revision=73509

3 years ago[KERNEL32_APITEST] -Keep improving the skip checks.
Giannis Adamopoulos [Fri, 6 Jan 2017 21:25:53 +0000 (21:25 +0000)]
[KERNEL32_APITEST] -Keep improving the skip checks.

svn path=/trunk/; revision=73508

3 years ago[KERNEL32_APITEST] - Skip more stuff hoping to fix a crash that I can't reproduce...
Giannis Adamopoulos [Fri, 6 Jan 2017 21:13:46 +0000 (21:13 +0000)]
[KERNEL32_APITEST] - Skip more stuff hoping to fix a crash that I can't reproduce locally.

svn path=/trunk/; revision=73507

3 years ago[KERNEL32_APITEST] -Add some more checks to avoid a crash (the ones I originally...
Giannis Adamopoulos [Fri, 6 Jan 2017 20:43:58 +0000 (20:43 +0000)]
[KERNEL32_APITEST] -Add some more checks to avoid a crash (the ones I originally added were not enough).

svn path=/trunk/; revision=73506

3 years ago[KERNEL32_APITEST] -Add tests for FindActCtxSectionStringW.
Giannis Adamopoulos [Fri, 6 Jan 2017 18:48:15 +0000 (18:48 +0000)]
[KERNEL32_APITEST] -Add tests for FindActCtxSectionStringW.

svn path=/trunk/; revision=73505

3 years ago[RAPPS]
Daniel Reimer [Thu, 5 Jan 2017 00:16:22 +0000 (00:16 +0000)]
[RAPPS]
Fix broken links and checksums by new mirrors/new version update.

svn path=/trunk/; revision=73503

3 years agoHappy New Year 2017 to ReactOS people!
Hermès Bélusca-Maïto [Tue, 3 Jan 2017 15:35:31 +0000 (15:35 +0000)]
Happy New Year 2017 to ReactOS people!

svn path=/trunk/; revision=73502

3 years ago[SERVICES]
Eric Kohl [Mon, 2 Jan 2017 20:45:36 +0000 (20:45 +0000)]
[SERVICES]
- Add loading (not used yet) and unloading of user profiles.
- Create the service password secret name and pass it to LogonUserW.
Patch by Hermès BÉLUSCA - MAÏTO.

svn path=/trunk/; revision=73501

3 years ago[MPR]
Pierre Schweitzer [Mon, 2 Jan 2017 20:16:14 +0000 (20:16 +0000)]
[MPR]
Import Wine commit:
96a93ee608b2919d1a8f583002e8262ef54a6743, Enumerate connections capability before looking for functions entry points.

svn path=/trunk/; revision=73500

3 years ago[INF]
Sylvain Petreolle [Sun, 1 Jan 2017 17:35:22 +0000 (17:35 +0000)]
[INF]
Correctly install the ACPI AC Adapter driver.

Happy new year.

svn path=/trunk/; revision=73499

3 years ago[BTRFS]
Pierre Schweitzer [Sun, 1 Jan 2017 17:12:12 +0000 (17:12 +0000)]
[BTRFS]
Sync btrfs to 0.8.

CORE-12617

svn path=/trunk/; revision=73498

3 years ago[XDK]
Pierre Schweitzer [Sun, 1 Jan 2017 16:58:15 +0000 (16:58 +0000)]
[XDK]
Add the PsGetThreadProcess() prototype

CORE-12617

svn path=/trunk/; revision=73497

3 years ago[SDK]
Pierre Schweitzer [Sun, 1 Jan 2017 16:44:40 +0000 (16:44 +0000)]
[SDK]
Implement the rtlver library with RtlIsNtDdiVersionAvailable(). Will be used later on by BtrFS driver.
Reference: https://msdn.microsoft.com/en-us/library/windows/hardware/ff561954(v=vs.85).aspx

CORE-12617

svn path=/trunk/; revision=73496

3 years ago[LSASRV]
Eric Kohl [Sun, 1 Jan 2017 14:10:02 +0000 (14:10 +0000)]
[LSASRV]
Return proper status codes, indicating no available AD, for most trusted domain functions.

svn path=/trunk/; revision=73495

3 years ago[ADVAPI32]
Eric Kohl [Sun, 1 Jan 2017 13:12:03 +0000 (13:12 +0000)]
[ADVAPI32]
- Implement LsaEnumerateTrustedDomains and LsaEnumerateTrustedDomainsEx.
- Mark LsaGetRemoteUserName and LsaLookupPrivilegeDisplayName as implemented.

svn path=/trunk/; revision=73494

3 years ago[USERENV]
Eric Kohl [Sat, 31 Dec 2016 15:20:50 +0000 (15:20 +0000)]
[USERENV]
- Move functionality from CreateUserProfileW to CreateUserProfileExW.
- Implement CreateUserProfileExA and fix CreateUserProfileA.

svn path=/trunk/; revision=73493

3 years ago[APPHELP] Simplify SdbTagToString.
Mark Jansen [Fri, 30 Dec 2016 21:31:14 +0000 (21:31 +0000)]
[APPHELP] Simplify SdbTagToString.

svn path=/trunk/; revision=73492

3 years ago[KERNEL32] Fix a typo in IsShimInfrastructureDisabled.
Mark Jansen [Fri, 30 Dec 2016 20:54:47 +0000 (20:54 +0000)]
[KERNEL32] Fix a typo in IsShimInfrastructureDisabled.

svn path=/trunk/; revision=73491

3 years ago[SHELL32]
Pierre Schweitzer [Fri, 30 Dec 2016 20:33:40 +0000 (20:33 +0000)]
[SHELL32]
Revert r72888 (aka, remove a hack :-)).
This is no longer required thanks to r73489.

ROSAPPS-303
CORE-11757

svn path=/trunk/; revision=73490

3 years ago[MPR]
Pierre Schweitzer [Fri, 30 Dec 2016 20:30:28 +0000 (20:30 +0000)]
[MPR]
Enumerate connections capability before looking for functions entry points.
This is a major fix, because it allows VBoxSF to work without a hack, and without necessarily make a connection from the NP to the VBoxSF driver.

Already sent upstream.

ROSAPPS-303
CORE-11757

svn path=/trunk/; revision=73489

3 years ago[SERVICES] Addendum to r73487: Fix the build.
Mark Jansen [Tue, 27 Dec 2016 18:10:52 +0000 (18:10 +0000)]
[SERVICES] Addendum to r73487: Fix the build.

svn path=/trunk/; revision=73488

3 years ago[SERVICES]: Addendum to r73486: Start all services within LocalSystem account as...
Hermès Bélusca-Maïto [Tue, 27 Dec 2016 15:26:01 +0000 (15:26 +0000)]
[SERVICES]: Addendum to r73486: Start all services within LocalSystem account as a temporary measure in trunk until we completely support per-service account logging.
CORE-12541, CORE-12279

svn path=/trunk/; revision=73487

3 years ago[SERVICES]: Add a *temporary* hack, as part of CORE-12541 and CORE-12279, that manual...
Hermès Bélusca-Maïto [Tue, 27 Dec 2016 15:06:23 +0000 (15:06 +0000)]
[SERVICES]: Add a *temporary* hack, as part of CORE-12541 and CORE-12279, that manually creates and loads the "LocalService" and "NetworkService" accounts and user profiles (and their registry hives), inspired from code from userenv.dll . This is done here until services can be correctly logged into the "LocalService" or "NetworkService" accounts (Eric is working on that), and their user profiles automatically properly created. When this is OK the hack will be removed and a proper call to "LoadUserProfile" in the code will be done where needed.

svn path=/trunk/; revision=73486

3 years ago[ADVAPI32][LSA][IDL]: Fix the parameter type of some functions + fix associated LSA...
Hermès Bélusca-Maïto [Sun, 25 Dec 2016 15:47:51 +0000 (15:47 +0000)]
[ADVAPI32][LSA][IDL]: Fix the parameter type of some functions + fix associated LSA IDL file (ref: https://msdn.microsoft.com/en-us/library/cc234411.aspx )

svn path=/trunk/; revision=73484

3 years ago[XDK][RTL]: Fix parameter of RtlUnicodeStringToCountedOemString (see r51875); add...
Hermès Bélusca-Maïto [Sun, 25 Dec 2016 15:06:31 +0000 (15:06 +0000)]
[XDK][RTL]: Fix parameter of RtlUnicodeStringToCountedOemString (see r51875); add RtlUpcaseUnicodeStringToAnsiString into XDK.

svn path=/trunk/; revision=73483

3 years ago[NtGDI]
James Tabor [Fri, 23 Dec 2016 18:42:47 +0000 (18:42 +0000)]
[NtGDI]
- Turn off debug DC Bounds spam.

svn path=/trunk/; revision=73482

3 years ago[NtGDI]
James Tabor [Fri, 23 Dec 2016 17:40:09 +0000 (17:40 +0000)]
[NtGDI]
- Turn off debug DC Bounds spam.

svn path=/trunk/; revision=73481

3 years ago[KERNEL32]: Addendum to r73479: display the file that failed to be opened before...
Hermès Bélusca-Maïto [Fri, 23 Dec 2016 11:43:21 +0000 (11:43 +0000)]
[KERNEL32]: Addendum to r73479: display the file that failed to be opened before releasing SxsWin32RelativePath as PathName might be equal to SxsWin32RelativePath.RelativeName. Spotted by Mark Jansen (actually he got it right at the beginning :) )

svn path=/trunk/; revision=73480

3 years ago[KERNEL32]: Improve SxS DPRINT info, based on Mark Jansen's suggestion. CORE-10524
Hermès Bélusca-Maïto [Thu, 22 Dec 2016 22:37:26 +0000 (22:37 +0000)]
[KERNEL32]: Improve SxS DPRINT info, based on Mark Jansen's suggestion. CORE-10524

svn path=/trunk/; revision=73479

3 years ago[CMD] Show the executed command in the title, do not restore the old title when it...
Mark Jansen [Thu, 22 Dec 2016 21:25:37 +0000 (21:25 +0000)]
[CMD] Show the executed command in the title, do not restore the old title when it is modified. CORE-12586

svn path=/trunk/; revision=73478

3 years ago[BOOTDATA] Update AHKAppTests.cmd to check all drives for the AHK-Tests. CORE-12597...
Mark Jansen [Thu, 22 Dec 2016 20:51:38 +0000 (20:51 +0000)]
[BOOTDATA] Update AHKAppTests.cmd to check all drives for the AHK-Tests. CORE-12597 #resolve

svn path=/trunk/; revision=73477

3 years ago[Win32SS]
James Tabor [Thu, 22 Dec 2016 17:34:58 +0000 (17:34 +0000)]
[Win32SS]
- Implement DC Bounds support. It's close to what wine does and passes thousands of tests. Still WIP. See CORE-11582.

svn path=/trunk/; revision=73476

3 years ago[Win32SS|RTL]
James Tabor [Thu, 22 Dec 2016 16:39:33 +0000 (16:39 +0000)]
[Win32SS|RTL]
- Fix clipping for Draw Text. Inspired by Katayama Hirofumi MZ patch and ComCtl32/RichEd20/UxThmems. See CORE-2201.

svn path=/trunk/; revision=73475

3 years ago[User32|RTL]
James Tabor [Thu, 22 Dec 2016 06:51:32 +0000 (06:51 +0000)]
[User32|RTL]
- Move TEXT_TabbedTextOut back into User32.

svn path=/trunk/; revision=73474

3 years ago[KERNEL32] Re-enable Safer and AppCompat checks in CreateProcessInternalW. CORE-12585
Mark Jansen [Tue, 20 Dec 2016 19:51:44 +0000 (19:51 +0000)]
[KERNEL32] Re-enable Safer and AppCompat checks in CreateProcessInternalW. CORE-12585

svn path=/trunk/; revision=73473

3 years ago[NtGDI]
James Tabor [Mon, 19 Dec 2016 20:13:17 +0000 (20:13 +0000)]
[NtGDI]
- Quick Hax to fix gray font anti-aliasing rendering, see CORE-7721.

svn path=/trunk/; revision=73472

3 years ago[User32]
James Tabor [Mon, 19 Dec 2016 16:41:32 +0000 (16:41 +0000)]
[User32]
- Patch by Katayama Hirofumi MZ : DrawFrameControl draws bad, correct centering while drawing radio buttons. See CORE-12573.

svn path=/trunk/; revision=73471

3 years ago[User32]
James Tabor [Mon, 19 Dec 2016 16:37:44 +0000 (16:37 +0000)]
[User32]
- Patch by Roman Pi?l : Fix buffer overflow in EDIT_EM_ReplaceSel().

svn path=/trunk/; revision=73470

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

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

3 years ago[RPCRT4] Properly stub RpcMgmtInqServerPrincName{A,W}. Tested by Jared Smudde. CORE...
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

3 years ago[INCLUDE] Fix a WIN32_WINNT => _WIN32_WINNT typo in some comments. Spotted by Serge...
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

3 years ago[ATL][ATL_APITEST] Add GetEnvironmentVariable to CString. CORE-12581
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

3 years ago[SDK] Add Resolution/Bitdepth shims + layers to the appcompat database. CORE-11927...
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

3 years ago[ACGENRAL] Implement the DisableThemes shim. CORE-11927
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

3 years ago[ACLAYERS] Implement Force8BitColor and Force640x480 shims. CORE-11927
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

3 years ago[SHIMLIB] Shim helper functions keep a list of used shims, so that events can be...
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

3 years ago[PSDK] -Add some definitions needed by the previous commit.
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

3 years ago[SHELL32] - CNetFolder: Fix opening items which was broken after having a callback...
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

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