reactos.git
7 years ago[SHELL32]
Giannis Adamopoulos [Thu, 22 Sep 2016 16:14:07 +0000 (16:14 +0000)]
[SHELL32]
- COpenWithMenu: Don't try to close the same registry key twice.

svn path=/trunk/; revision=72770

7 years ago[SHELL32]
Giannis Adamopoulos [Thu, 22 Sep 2016 16:09:28 +0000 (16:09 +0000)]
[SHELL32]
- HCR_GetFolderAttributes already calls GetAttributesOf when needed, calling it when it is not needed can lead to crashes.

svn path=/trunk/; revision=72769

7 years ago[SHELL32] implement CreateViewWindow3 and fix CreateViewWindow2
Christoph von Wittich [Thu, 22 Sep 2016 14:28:44 +0000 (14:28 +0000)]
[SHELL32] implement CreateViewWindow3 and fix CreateViewWindow2

svn path=/trunk/; revision=72768

7 years ago[LSASRV]
Eric Kohl [Thu, 22 Sep 2016 11:27:05 +0000 (11:27 +0000)]
[LSASRV]
LsapGetLogonSessionData: Marshall the session data before sending them to the client.

[SECUR32]
LsaConnectUntrusted: Wait for the authentication thread.
LsaGetLogonSessionData: Unmarshall the session data after receiving them from the server.

svn path=/trunk/; revision=72767

7 years ago[MSPAINT] Lets
Benedikt Freisen [Thu, 22 Sep 2016 10:03:32 +0000 (10:03 +0000)]
[MSPAINT] Lets

svn path=/trunk/; revision=72766

7 years ago[PING] Rewrite ping. It now uses the Icmp* functions in iphlpapi, supports IPv4 and...
Amine Khaldi [Thu, 22 Sep 2016 08:10:47 +0000 (08:10 +0000)]
[PING] Rewrite ping. It now uses the Icmp* functions in iphlpapi, supports IPv4 and IPv6, and adds more options than available in the current ReactOS ping. Brought to you by Tim Crawford. CORE-10573

svn path=/trunk/; revision=72765

7 years ago[SHELL32] revert 72685 the testman hang wasn't related
Christoph von Wittich [Wed, 21 Sep 2016 19:51:35 +0000 (19:51 +0000)]
[SHELL32] revert 72685 the testman hang wasn't related

svn path=/trunk/; revision=72764

7 years ago[CRT] Fix __getmainargs parsing for a commandline ending with spaces. Patch by Yarosl...
Mark Jansen [Wed, 21 Sep 2016 19:34:42 +0000 (19:34 +0000)]
[CRT] Fix __getmainargs parsing for a commandline ending with spaces. Patch by Yaroslav Veremenko CORE-9199 #comment Thanks, please re-test!

svn path=/trunk/; revision=72763

7 years ago[CRT_APITEST] Add tests for __getmainargs, testing a commandline ending with spaces...
Mark Jansen [Wed, 21 Sep 2016 19:26:47 +0000 (19:26 +0000)]
[CRT_APITEST] Add tests for __getmainargs, testing a commandline ending with spaces. Patch by Yaroslav Veremenko CORE-9199

svn path=/trunk/; revision=72762

7 years ago[NETSHELL] Register some COM interfaces to fix a few tests. Patch by Jared Smudde...
Mark Jansen [Wed, 21 Sep 2016 19:04:07 +0000 (19:04 +0000)]
[NETSHELL] Register some COM interfaces to fix a few tests. Patch by Jared Smudde. CORE-12016 #resolve #comment Thanks!

svn path=/trunk/; revision=72761

7 years ago[NETSHELL.RGS] set eol-style so that hopefully the patchbot will eat a patch without...
Mark Jansen [Wed, 21 Sep 2016 17:55:35 +0000 (17:55 +0000)]
[NETSHELL.RGS] set eol-style so that hopefully the patchbot will eat a patch without choking on it.

svn path=/trunk/; revision=72760

7 years ago[IPHLPAPI] Fix all testIcmpSendEcho tests. By Peter Hater. Please see CORE-11993...
Amine Khaldi [Wed, 21 Sep 2016 15:53:17 +0000 (15:53 +0000)]
[IPHLPAPI] Fix all testIcmpSendEcho tests. By Peter Hater. Please see CORE-11993 for the list of changes.

svn path=/trunk/; revision=72759

7 years ago[LSALIB]: Fix build (and 2 dprints in the process).
Hermès Bélusca-Maïto [Wed, 21 Sep 2016 14:02:54 +0000 (14:02 +0000)]
[LSALIB]: Fix build (and 2 dprints in the process).

svn path=/trunk/; revision=72758

7 years ago[LSASRV]
Eric Kohl [Wed, 21 Sep 2016 10:49:40 +0000 (10:49 +0000)]
[LSASRV]
Revert all pointless changes from r72751.

svn path=/trunk/; revision=72757

7 years ago[LSALIB]
Eric Kohl [Wed, 21 Sep 2016 10:27:06 +0000 (10:27 +0000)]
[LSALIB]
- LsaRegisterLogonProcess: Wait for the LSA_AUTHENTICATION_INITIALIZED event.
- LsaDeregisterLogonProcess: Use ZwClose to close the port handle.

svn path=/trunk/; revision=72756

7 years ago[LSASRV]
Eric Kohl [Wed, 21 Sep 2016 07:27:18 +0000 (07:27 +0000)]
[LSASRV]
Open/Create and set the \\SECURITY\\LSA_AUTHENTICATION_INITIALIZED event after the LsaAuthenticationPort has been created.

svn path=/trunk/; revision=72755

7 years ago[LSALIB][SECUR32]
Eric Kohl [Wed, 21 Sep 2016 06:19:22 +0000 (06:19 +0000)]
[LSALIB][SECUR32]
- Move LsaConnectUntrusted() from sdk/lib/lsalib/lsa.c to dll/win32/secur32/lsalpc.c as it is not exported from ntoskrnl.
- Remove obsolete code from lsalib.

svn path=/trunk/; revision=72754

7 years ago[LSALIB]
Eric Kohl [Wed, 21 Sep 2016 06:11:02 +0000 (06:11 +0000)]
[LSALIB]
LsaRegisterLogonProcess: Do not wait for \\SECURITY\\LSA_AUTHENTICATION_INITIALIZED to get signaled as it breaks the boot.

svn path=/trunk/; revision=72753

7 years ago[NTOSKRNL]
Eric Kohl [Wed, 21 Sep 2016 04:57:25 +0000 (04:57 +0000)]
[NTOSKRNL]
- Move the session notification routines from se/lsa.c to se/srm.c.
- Get rid of se/lsa.c.

svn path=/trunk/; revision=72752

7 years ago[SECUR32][NTOS]: Update the LSA export signatures for the functions that are implemen...
Hermès Bélusca-Maïto [Tue, 20 Sep 2016 23:43:16 +0000 (23:43 +0000)]
[SECUR32][NTOS]: Update the LSA export signatures for the functions that are implemented in the "lsalib" library.

[LSALIB]
- Add old-school annotations (as we currently do in our main .c code of our stuff).
- Mention that LsaConnectUntrusted is not an API that is exported (& implemented) by ntoskrnl.
- For LsaRegisterLogonProcess, we first wait for the LSA server to be ready (by waiting on its initialization event). This is TODO for LsaConnectUntrusted on the contrary.

[LSALIB][NTOS]
Usa the lsalib as the implementation of the LSA functions exported by ntoskrnl. But for that we need to recompile the lsalib as a library that can be used from inside ntoskrnl, because it needs some functions that are normally exported by ntos. For this purpose I add the library target "ntlsalib" (which also specify different #defines), to differentiate it from the (user-mode) "lsalib" one that is used by secur32.dll (Amine, if you have a better idea on how to do that, please let me know!).

svn path=/trunk/; revision=72751

7 years ago[WS2_32] The current ws2_32 served us well, but it's time for ws2_32_new to shine...
Amine Khaldi [Tue, 20 Sep 2016 16:51:28 +0000 (16:51 +0000)]
[WS2_32] The current ws2_32 served us well, but it's time for ws2_32_new to shine. It took slightly more than 7 years since Ged brought-in Alex' impressive work on this module, and thanks to the great follow-up work by Peter Hater, Andreas Maier, Thomas Faber and everyone else involved in the effort, we now have a chance to retire ws2_32 in favor of ws2_32_new. The test results speak for the excellent achievements, and this serves as a platform to continue inspecting and fixing the remaining test failures. Thank you all for a job well done! Please see CORE-10440 for a summary of the changes performed in this commit.

svn path=/trunk/; revision=72750

7 years ago[MSAFD] Don't assume SOL_SOCKET is the only socket level. By Peter Hater. CORE-10440...
Amine Khaldi [Tue, 20 Sep 2016 16:31:53 +0000 (16:31 +0000)]
[MSAFD] Don't assume SOL_SOCKET is the only socket level. By Peter Hater. CORE-10440 CORE-12008

svn path=/trunk/; revision=72749

7 years ago[ETC/SERVICES] Update services file as expected by the tests. By Peter Hater. CORE...
Amine Khaldi [Tue, 20 Sep 2016 09:45:02 +0000 (09:45 +0000)]
[ETC/SERVICES] Update services file as expected by the tests. By Peter Hater. CORE-10440

svn path=/trunk/; revision=72748

7 years ago[IPHLPAPI] Don't (de)initialize ws2 on dll process (attach/detach), do it on IcmpCrea...
Amine Khaldi [Tue, 20 Sep 2016 09:42:51 +0000 (09:42 +0000)]
[IPHLPAPI] Don't (de)initialize ws2 on dll process (attach/detach), do it on IcmpCreateFile/IcmpCloseHandle instead, due to the circular dependency ws2_32 -> mswsock -> dnsapi(adns lib) -> iphlpapi -> ws2_32. This creates 2 references to ws2_32 and ws2_32 can't cleanup on WSACleanup. By Peter Hater. CORE-10440

svn path=/trunk/; revision=72747

7 years ago[MSAFD] Move WSAAddressToStringA/W and WSAStringToAddressA/W in msafd protocol provid...
Amine Khaldi [Tue, 20 Sep 2016 08:12:44 +0000 (08:12 +0000)]
[MSAFD] Move WSAAddressToStringA/W and WSAStringToAddressA/W in msafd protocol provider from ws2_32. Other small fixes for return codes. By Peter Hater. CORE-10440

svn path=/trunk/; revision=72746

7 years ago[NtUser]
James Tabor [Tue, 20 Sep 2016 02:00:18 +0000 (02:00 +0000)]
[NtUser]
- Use send message only and fix return for WM_NC/ACTIVATE. See CORE-11979 and CORE-11324.

svn path=/trunk/; revision=72745

7 years ago[USBAUDIO]
Johannes Anderwald [Mon, 19 Sep 2016 18:40:44 +0000 (18:40 +0000)]
[USBAUDIO]
- fix minor bugs
- start implementing filter context

svn path=/trunk/; revision=72744

7 years ago[PSDK] Apply our headers style to winwlx.h. Supersedes and fixes the "fix whitespace...
Amine Khaldi [Mon, 19 Sep 2016 17:04:27 +0000 (17:04 +0000)]
[PSDK] Apply our headers style to winwlx.h. Supersedes and fixes the "fix whitespace" part of r72741.

svn path=/trunk/; revision=72743

7 years agoRevert 2 small changes that I didn't want to do.
Hermès Bélusca-Maïto [Mon, 19 Sep 2016 15:51:13 +0000 (15:51 +0000)]
Revert 2 small changes that I didn't want to do.

svn path=/trunk/; revision=72742

7 years ago[PSDK]: Add annotations & fix whitespace.
Hermès Bélusca-Maïto [Mon, 19 Sep 2016 15:49:45 +0000 (15:49 +0000)]
[PSDK]: Add annotations & fix whitespace.

svn path=/trunk/; revision=72741

7 years ago[KERNEL32] Sync other functions with Wine 1.9.17
Dmitry Chapyshev [Mon, 19 Sep 2016 11:28:20 +0000 (11:28 +0000)]
[KERNEL32] Sync other functions with Wine 1.9.17

* Fixes 1 test for kernel32:locale

svn path=/trunk/; revision=72740

7 years ago[KERNEL32] Sync GetStringTypeW with Wine
Dmitry Chapyshev [Mon, 19 Sep 2016 10:11:19 +0000 (10:11 +0000)]
[KERNEL32] Sync GetStringTypeW with Wine

* Fixes 255 tests for kernel32:locale

svn path=/trunk/; revision=72739

7 years ago[AFD]
Thomas Faber [Mon, 19 Sep 2016 08:15:24 +0000 (08:15 +0000)]
[AFD]
- Fix MDL leak in failure case of AfdGetSockName. Patch by Volodymyr Shcherbyna. CID 1322161.
CORE-11096 #resolve

svn path=/trunk/; revision=72738

7 years ago[WINLOGON]
Hermès Bélusca-Maïto [Sun, 18 Sep 2016 23:32:02 +0000 (23:32 +0000)]
[WINLOGON]
- CreateUserEnvironment: if user impersonation fails, just fail the call.
- SetDefaultLanguage: Use the *correct* HKEY_CURRENT_USER key to retrieve the lang., that is, first impersonate the user, then, call RegOpenCurrentUser. We do that because otherwise calling RegOpenKey(Ex) for HKEY_CURRENT_USER just uses the process cached value of HKEY_CURRENT_USER, which does not change *even if* one impersonates an user.

[MSGINA]
- Correctly impersonate the user when opening & initializing the shutdown dialog (in the same way as winlogon does), i.e. call ImpersonateLoggedOnUser and use RegOpenCurrentUser.
- Fill few (but not all) code holes in WlxScreenSaverNotify.

svn path=/trunk/; revision=72737

7 years ago[NTOS]: Code formatting only.
Hermès Bélusca-Maïto [Sun, 18 Sep 2016 23:28:32 +0000 (23:28 +0000)]
[NTOS]: Code formatting only.

svn path=/trunk/; revision=72736

7 years ago[MSWSOCK] Partially implement Name Service Provider in mswsock. Brought to you by...
Amine Khaldi [Sun, 18 Sep 2016 21:21:28 +0000 (21:21 +0000)]
[MSWSOCK] Partially implement Name Service Provider in mswsock. Brought to you by Andreas Maier aka andy-123 with small fixes by Peter Hater and formatting by me. CORE-10024 CORE-10440

svn path=/trunk/; revision=72735

7 years ago[KERNEL32] - Remove unneded checks (these values can be received from table). - We...
Dmitry Chapyshev [Sun, 18 Sep 2016 21:10:07 +0000 (21:10 +0000)]
[KERNEL32] - Remove unneded checks (these values can be received from table). - We have to insert UNICODE_NULL if it is the end of string or in string contains 0.

* Fixes 12 tests for kernel32:codepage

svn path=/trunk/; revision=72734

7 years ago[KERNEL32] Add missed type-casting
Dmitry Chapyshev [Sun, 18 Sep 2016 20:11:05 +0000 (20:11 +0000)]
[KERNEL32] Add missed type-casting

* Fixes 28 tests for kernel32:codepage

svn path=/trunk/; revision=72733

7 years ago[MSGINA]
Hermès Bélusca-Maïto [Sun, 18 Sep 2016 19:37:25 +0000 (19:37 +0000)]
[MSGINA]
- Do not hardcode buffer sizes in function calls, and use _countof when needed.
- Use explicit unicode functions where possible.
- No need to have 342687 versions of the shutdown dialog in msgina, only one is sufficient. The help button should be either shown or hidden, depending on whom is calling the dialog (shell or winlogon) (this is TODO!)
- Therefore, no need to have twice the (almost) same code for the shutdown dialog.
- Fix & rework said code.
- The old duplicated shutdown dialog now becomes the "template" for the "Luna-XP-style Shut Down dialog" (implementation TODO!)
- Reenable the WM_ACTIVATE code that was added in r72720 and temporarily disabled in r72721.
CORE-7559 #comment Numerous fixes committed in r72732.

svn path=/trunk/; revision=72732

7 years ago[SHELL32]: Code formatting only.
Hermès Bélusca-Maïto [Sun, 18 Sep 2016 19:36:05 +0000 (19:36 +0000)]
[SHELL32]: Code formatting only.

svn path=/trunk/; revision=72731

7 years ago[KERNEL32] Implement MB_ERR_INVALID_CHARS flag for DBCS codepages
Dmitry Chapyshev [Sun, 18 Sep 2016 18:21:30 +0000 (18:21 +0000)]
[KERNEL32] Implement MB_ERR_INVALID_CHARS flag for DBCS codepages

* Fixes 3 tests for kernel32:codepage

svn path=/trunk/; revision=72730

7 years ago[KERNEL32] Implement MB_USEGLYPHCHARS flag for MultiByteToWideChar. Add checks for...
Dmitry Chapyshev [Sun, 18 Sep 2016 17:26:59 +0000 (17:26 +0000)]
[KERNEL32] Implement MB_USEGLYPHCHARS flag for MultiByteToWideChar. Add checks for "Private Use" characters. More correct checks for input parameters.

* Fixes 6 tests for kernel32:codepage

svn path=/trunk/; revision=72729

7 years ago[WS2_32_WINETEST] Disable test_address_list_query() as the ioctl is not supported...
Amine Khaldi [Sun, 18 Sep 2016 16:20:20 +0000 (16:20 +0000)]
[WS2_32_WINETEST] Disable test_address_list_query() as the ioctl is not supported yet by winsock helper dll (wshtcpip.dll) and the test is assuming there is info returned which is wrong and crashes. By Peter Hater. CORE-10440 CORE-12000

svn path=/trunk/; revision=72728

7 years ago[ADNS] Use dynamic memory for network info and set domain for searches. By Peter...
Amine Khaldi [Sun, 18 Sep 2016 16:07:29 +0000 (16:07 +0000)]
[ADNS] Use dynamic memory for network info and set domain for searches. By Peter Hater. CORE-10440

svn path=/trunk/; revision=72727

7 years ago[DNSAPI] Request adns to search servers and domains. By Peter Hater. CORE-10440
Amine Khaldi [Sun, 18 Sep 2016 14:25:39 +0000 (14:25 +0000)]
[DNSAPI] Request adns to search servers and domains. By Peter Hater. CORE-10440

svn path=/trunk/; revision=72726

7 years ago[USBAUDIO]
Johannes Anderwald [Sun, 18 Sep 2016 14:24:21 +0000 (14:24 +0000)]
[USBAUDIO]
- start implementing init routines
- not yet added to build

svn path=/trunk/; revision=72725

7 years agotry fix build
Johannes Anderwald [Sun, 18 Sep 2016 14:11:47 +0000 (14:11 +0000)]
try fix build

svn path=/trunk/; revision=72724

7 years ago[PSDK]
Johannes Anderwald [Sun, 18 Sep 2016 14:02:22 +0000 (14:02 +0000)]
[PSDK]
- add missing definitions

svn path=/trunk/; revision=72723

7 years ago[KERNEL32] Try to read 'DhcpDomain' registry value if present, otherwise return ...
Amine Khaldi [Sun, 18 Sep 2016 12:55:45 +0000 (12:55 +0000)]
[KERNEL32] Try to read 'DhcpDomain' registry value if present, otherwise return 'Domain' one, when domain part is requested from GetComputerNameEx(). By Peter Hater. CORE-10440

svn path=/trunk/; revision=72722

7 years ago[MSGINA][SHELL32]: Temporarily disable the WM_ACTIVATE check because it blocks for...
Hermès Bélusca-Maïto [Sat, 17 Sep 2016 23:07:46 +0000 (23:07 +0000)]
[MSGINA][SHELL32]: Temporarily disable the WM_ACTIVATE check because it blocks for whatever reason the dialog to properly close and return its correct return value when the user selects e.g. "Shutdown" and validate by pressing "OK" (effectively disables commit r72720).

svn path=/trunk/; revision=72721

7 years ago[MSGINA][SHELL32]: Now that CORE-11979 is fixed, automatically close the logoff/shutd...
Hermès Bélusca-Maïto [Sat, 17 Sep 2016 22:44:50 +0000 (22:44 +0000)]
[MSGINA][SHELL32]: Now that CORE-11979 is fixed, automatically close the logoff/shutdown dialog as soon as the user deactivates the window (focus lost) by e.g. pressing Alt-Tab.

svn path=/trunk/; revision=72720

7 years ago[XDK][MSGINA]: Consistency codestyle fixes.
Hermès Bélusca-Maïto [Sat, 17 Sep 2016 22:39:54 +0000 (22:39 +0000)]
[XDK][MSGINA]: Consistency codestyle fixes.

[SHELL32]
- Use explicit unicode functions;
- Use _countof instead of sizeof(foo)/sizeof(foo[0]);
- Enable the shutdown privilege when we need it, and disable as soon as possible (code taken from taskmgr).

svn path=/trunk/; revision=72719

7 years ago[MSGINA]: Code style fixes:
Hermès Bélusca-Maïto [Sat, 17 Sep 2016 22:04:54 +0000 (22:04 +0000)]
[MSGINA]: Code style fixes:
- Use explicit unicode functions;
- Just use the hdc field of the PAINTSTRUCT initialized by BeginPaint instead of introducing yet another hdc variable;
- Use SetDlgItemTextW instead of GetDlgItem + SetWindowTextW;
- Don't hardcode buffer sizes in functions calls;
- Use _countof instead of sizeof(foo)/sizeof(foo[0]);
- Avoid using raw 'int' variables where possible;
- Remove trailing whitespace.
...

svn path=/trunk/; revision=72718

7 years ago[NLS] Update NLS files. Part 5/x
Dmitry Chapyshev [Sat, 17 Sep 2016 21:45:39 +0000 (21:45 +0000)]
[NLS] Update NLS files. Part 5/x

svn path=/trunk/; revision=72717

7 years ago[NLS] Add source data for NLS-files
Dmitry Chapyshev [Sat, 17 Sep 2016 21:18:13 +0000 (21:18 +0000)]
[NLS] Add source data for NLS-files

svn path=/trunk/; revision=72716

7 years ago[NTVDM]: Update README.
Hermès Bélusca-Maïto [Sat, 17 Sep 2016 21:12:03 +0000 (21:12 +0000)]
[NTVDM]: Update README.

svn path=/trunk/; revision=72715

7 years ago[NLS] Update NLS files. Part 4/x
Dmitry Chapyshev [Sat, 17 Sep 2016 21:08:09 +0000 (21:08 +0000)]
[NLS] Update NLS files. Part 4/x

svn path=/trunk/; revision=72714

7 years ago[NLS] Add source data for 10000, 10006, 10007, 10029, 10079, 10081 codepages
Dmitry Chapyshev [Sat, 17 Sep 2016 20:54:14 +0000 (20:54 +0000)]
[NLS] Add source data for 10000, 10006, 10007, 10029, 10079, 10081 codepages

svn path=/trunk/; revision=72713

7 years ago[NTVDM]: Add new icons:
Hermès Bélusca-Maïto [Sat, 17 Sep 2016 20:50:08 +0000 (20:50 +0000)]
[NTVDM]: Add new icons:
- Tango-style icons by Henry Tang Ih and Jared Smudde, arranged by myself for PC-XT and AT style;
- ROS-DOS & VDM-DOS (copied from pifmgr.dll) by DSP2015
CORE-10340

svn path=/trunk/; revision=72712

7 years ago[NLS] Update NLS files. Part 3/x
Dmitry Chapyshev [Sat, 17 Sep 2016 20:48:40 +0000 (20:48 +0000)]
[NLS] Update NLS files. Part 3/x

svn path=/trunk/; revision=72711

7 years ago[NLS] Add source data for 1006, 1026, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257...
Dmitry Chapyshev [Sat, 17 Sep 2016 20:27:00 +0000 (20:27 +0000)]
[NLS] Add source data for 1006, 1026, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258 codepages

svn path=/trunk/; revision=72710

7 years ago[NLS] Update NLS file for 037, 500, 874, 875 codepages
Dmitry Chapyshev [Sat, 17 Sep 2016 20:17:04 +0000 (20:17 +0000)]
[NLS] Update NLS file for 037, 500, 874, 875 codepages

svn path=/trunk/; revision=72709

7 years ago[TXT2NLS] TransUniDefaultChar has to be received from WideCharTable. TransDefaultChar...
Dmitry Chapyshev [Sat, 17 Sep 2016 20:03:13 +0000 (20:03 +0000)]
[TXT2NLS] TransUniDefaultChar has to be received from WideCharTable. TransDefaultChar has to be received from MultiByteTable (or from DBCS table)

svn path=/trunk/; revision=72708

7 years ago[NLS] Add source data for 037, 424, 500, 874, 875 codepages
Dmitry Chapyshev [Sat, 17 Sep 2016 19:27:16 +0000 (19:27 +0000)]
[NLS] Add source data for 037, 424, 500, 874, 875 codepages

svn path=/trunk/; revision=72707

7 years ago[NLS] Update NLS files. Part 1/x
Dmitry Chapyshev [Sat, 17 Sep 2016 19:01:54 +0000 (19:01 +0000)]
[NLS] Update NLS files. Part 1/x

svn path=/trunk/; revision=72706

7 years ago[ATL] Do not corrupt the internal state of the CSimpleArray when allocation fails...
Mark Jansen [Sat, 17 Sep 2016 17:54:16 +0000 (17:54 +0000)]
[ATL] Do not corrupt the internal state of the CSimpleArray when allocation fails. Patch by Katayama Hirofumi MZ. CORE-11946 #comment Committed, thanks!

svn path=/trunk/; revision=72705

7 years ago[NLS2TXT] Add missed check for default char
Dmitry Chapyshev [Sat, 17 Sep 2016 14:04:32 +0000 (14:04 +0000)]
[NLS2TXT] Add missed check for default char
[TXT2NLS] Size of glyph table in words (create_nls uses wrong size)

svn path=/trunk/; revision=72704

7 years ago[NLS] Update nls files for 437 and 775 codepages
Dmitry Chapyshev [Sat, 17 Sep 2016 12:41:29 +0000 (12:41 +0000)]
[NLS] Update nls files for 437 and 775 codepages

* Fixes 16 tests for ntdll:RtlGenerate8dot3Name

svn path=/trunk/; revision=72703

7 years ago[NLS] Added source data for NLS files (generated by nls2txt from our files)
Dmitry Chapyshev [Sat, 17 Sep 2016 12:29:49 +0000 (12:29 +0000)]
[NLS] Added source data for NLS files (generated by nls2txt from our files)

svn path=/trunk/; revision=72702

7 years ago[TXT2NLS] Write correct size for wide char table
Dmitry Chapyshev [Sat, 17 Sep 2016 12:18:28 +0000 (12:18 +0000)]
[TXT2NLS] Write correct size for wide char table

svn path=/trunk/; revision=72701

7 years ago[ROSAPPS] Add initial version txt2nls file converter (DBCS codepages not supported...
Dmitry Chapyshev [Sat, 17 Sep 2016 01:02:53 +0000 (01:02 +0000)]
[ROSAPPS] Add initial version txt2nls file converter (DBCS codepages not supported yet)

svn path=/trunk/; revision=72700

7 years ago[NtUser]
James Tabor [Fri, 16 Sep 2016 23:58:51 +0000 (23:58 +0000)]
[NtUser]
- Use desktop thread list to search for related active desktop threads. See CORE-11983.

svn path=/trunk/; revision=72699

7 years ago[PIFMGR]: Update the 16-colour format of some icons; add new icons.
Hermès Bélusca-Maïto [Fri, 16 Sep 2016 23:17:06 +0000 (23:17 +0000)]
[PIFMGR]: Update the 16-colour format of some icons; add new icons.
CORE-10253

svn path=/trunk/; revision=72698

7 years ago[DHCPCSVC] Add registry key for DHCP domain if present in DHCP reply. By Peter Hater...
Amine Khaldi [Fri, 16 Sep 2016 13:40:21 +0000 (13:40 +0000)]
[DHCPCSVC] Add registry key for DHCP domain if present in DHCP reply. By Peter Hater. CORE-10440

svn path=/trunk/; revision=72697

7 years ago[NTDLL_WINETEST]
Thomas Faber [Fri, 16 Sep 2016 09:33:54 +0000 (09:33 +0000)]
[NTDLL_WINETEST]
- Skip exception test on WHS-Testbot... because problems...
ROSTESTS-240

svn path=/trunk/; revision=72696

7 years ago[NLS2TXT] Remove unneeded imports
Dmitry Chapyshev [Thu, 15 Sep 2016 21:47:22 +0000 (21:47 +0000)]
[NLS2TXT] Remove unneeded imports

svn path=/trunk/; revision=72695

7 years ago[GETUNAME] Add import library for nls2txt
Dmitry Chapyshev [Thu, 15 Sep 2016 21:17:03 +0000 (21:17 +0000)]
[GETUNAME] Add import library for nls2txt

svn path=/trunk/; revision=72694

7 years ago[ROSAPPS] Add NLS to TXT file converter
Dmitry Chapyshev [Thu, 15 Sep 2016 21:13:26 +0000 (21:13 +0000)]
[ROSAPPS] Add NLS to TXT file converter

svn path=/trunk/; revision=72693

7 years ago[RTL] Add internal RtlpDowncaseUnicodeChar function and use instead RtlDowncaseUnicod...
Dmitry Chapyshev [Thu, 15 Sep 2016 20:40:29 +0000 (20:40 +0000)]
[RTL] Add internal RtlpDowncaseUnicodeChar function and use instead RtlDowncaseUnicodeChar internally in RTL. RtlMultiAppendUnicodeStringBuffer parameters are specified (it is documented on: undoc.airesoft.co.uk/ntdll.dll/RtlMultiAppendUnicodeStringBuffer.php)

svn path=/trunk/; revision=72692

7 years ago[RTL] Add internal RtlpUpcaseUnicodeChar function and use instead RtlUpcaseUnicodeCha...
Dmitry Chapyshev [Thu, 15 Sep 2016 20:05:26 +0000 (20:05 +0000)]
[RTL] Add internal RtlpUpcaseUnicodeChar function and use instead RtlUpcaseUnicodeChar internally in RTL

svn path=/trunk/; revision=72691

7 years ago[SYSSETUP][UNATTENDED] Remove dead code for VmwInst. Found by Jared Smudde.
Mark Jansen [Thu, 15 Sep 2016 19:58:29 +0000 (19:58 +0000)]
[SYSSETUP][UNATTENDED] Remove dead code for VmwInst. Found by Jared Smudde.

svn path=/trunk/; revision=72690

7 years ago[ATL_APITEST] Update CImage apitest to be in line with the CSimpleArray / CSimpleMap...
Mark Jansen [Thu, 15 Sep 2016 19:42:45 +0000 (19:42 +0000)]
[ATL_APITEST] Update CImage apitest to be in line with the CSimpleArray / CSimpleMap tests. Patch from Katayama Hirofumi MZ. CORE-11946 #resolve #comment Thanks!

svn path=/trunk/; revision=72689

7 years ago[ATL][ATL_APITEST] Implemente CSimpleArray + CSimpleMap. Based on a patch from Kataya...
Mark Jansen [Thu, 15 Sep 2016 19:41:03 +0000 (19:41 +0000)]
[ATL][ATL_APITEST] Implemente CSimpleArray + CSimpleMap. Based on a patch from Katayama Hirofumi MZ. CORE-11946
Most of the code is from Katayama Hirofumi MZ, the placement new / delete is written by me, based on a hint from Giannis.

svn path=/trunk/; revision=72688

7 years ago[RTL] Add missed IN/OUT/OPTIONAL/PAGED_CODE_RTL
Dmitry Chapyshev [Thu, 15 Sep 2016 19:35:59 +0000 (19:35 +0000)]
[RTL] Add missed IN/OUT/OPTIONAL/PAGED_CODE_RTL

svn path=/trunk/; revision=72687

7 years ago[RTL] Formatting only
Dmitry Chapyshev [Thu, 15 Sep 2016 19:17:47 +0000 (19:17 +0000)]
[RTL] Formatting only

svn path=/trunk/; revision=72686

7 years ago[SHELL32] try to fix testman hang, by "breaking" CreateViewWindow2 again
Christoph von Wittich [Thu, 15 Sep 2016 16:12:50 +0000 (16:12 +0000)]
[SHELL32] try to fix testman hang, by "breaking" CreateViewWindow2 again

svn path=/trunk/; revision=72685

7 years ago[SHELL32] halfplement CreateViewWindow2 (SHELLVIEWID not handled yet)
Christoph von Wittich [Thu, 15 Sep 2016 15:09:22 +0000 (15:09 +0000)]
[SHELL32] halfplement CreateViewWindow2 (SHELLVIEWID not handled yet)

svn path=/trunk/; revision=72684

7 years ago[LIBUSB]
Thomas Faber [Thu, 15 Sep 2016 13:37:26 +0000 (13:37 +0000)]
[LIBUSB]
- Correctly fail IRP_MN_START_DEVICE if PnpStart failed. Spotted by Vadim Galyant.
CORE-11929 #resolve

svn path=/trunk/; revision=72683

7 years ago[NTOS:IO]
Thomas Faber [Thu, 15 Sep 2016 13:25:20 +0000 (13:25 +0000)]
[NTOS:IO]
- Avoid IRP allocation failure in IopDeleteFile and IopCloseFile. Based on a patch by Volodymyr Shcherbyna.
CORE-11959

svn path=/trunk/; revision=72682

7 years ago[FASTFAT]
Thomas Faber [Thu, 15 Sep 2016 13:12:02 +0000 (13:12 +0000)]
[FASTFAT]
- Acquire DirResource before MainResource in DoQuery to keep locking order consistent and avoid deadlocks. Patch by Volodymyr Shcherbyna with small modification by me.
CORE-11959 CORE-11652

svn path=/trunk/; revision=72681

7 years ago[LSASRV] check correct variable for NULL
Christoph von Wittich [Thu, 15 Sep 2016 08:41:17 +0000 (08:41 +0000)]
[LSASRV] check correct variable for NULL

svn path=/trunk/; revision=72680

7 years agoOf course, as soon as you see such typos in our code, you can be 90% sure they are...
Hermès Bélusca-Maïto [Wed, 14 Sep 2016 22:51:55 +0000 (22:51 +0000)]
Of course, as soon as you see such typos in our code, you can be 90% sure they are repeated elsewhere. And indeed they are. Fix the typos in our code (I leave them in the 3rd party code).
Concerning the fix in the NDK header I've checked that publicly available information about this structure (NirSoft website, Windows Internals book, Windows symbols...) has the member correctly named.

svn path=/trunk/; revision=72679

7 years ago[INF] Fix some spelling errors. By Josh Soref. CORE-11986
Amine Khaldi [Wed, 14 Sep 2016 21:30:34 +0000 (21:30 +0000)]
[INF] Fix some spelling errors. By Josh Soref. CORE-11986

svn path=/trunk/; revision=72678

7 years ago[TRANSLATIONS] One step further towards improving our translations. Brought to you...
Amine Khaldi [Wed, 14 Sep 2016 20:38:53 +0000 (20:38 +0000)]
[TRANSLATIONS] One step further towards improving our translations. Brought to you by Josh Soref aka timeless. CORE-11985

svn path=/trunk/; revision=72677

7 years ago[NtUser]
James Tabor [Wed, 14 Sep 2016 14:35:03 +0000 (14:35 +0000)]
[NtUser]
- Remove unneeded code and information, the problem is in focus.c:SFW. See CORE-11324.

svn path=/trunk/; revision=72676

7 years ago[NtUser]
James Tabor [Wed, 14 Sep 2016 14:15:46 +0000 (14:15 +0000)]
[NtUser]
- Fix recursion issues, CORE-8780 and CORE-11979. See CORE-11324 for breakage.

svn path=/trunk/; revision=72675

7 years ago[NTOS]
Thomas Faber [Wed, 14 Sep 2016 12:45:45 +0000 (12:45 +0000)]
[NTOS]
- Return pool quota before freeing IRPs to a lookaside list
CORE-11962 #resolve

svn path=/trunk/; revision=72674

7 years ago[TCPIP]
Thomas Faber [Wed, 14 Sep 2016 11:46:19 +0000 (11:46 +0000)]
[TCPIP]
- Don't try to mark IRPs as pending when they might already be completed. For simplicity, always pend them instead.
CORE-11962

svn path=/trunk/; revision=72673

7 years ago[IP] Avoid use-after-free of IPDATAGRAM_REASSEMBLY structures. By Roel Messiant....
Amine Khaldi [Wed, 14 Sep 2016 10:09:02 +0000 (10:09 +0000)]
[IP] Avoid use-after-free of IPDATAGRAM_REASSEMBLY structures. By Roel Messiant. CORE-11889

svn path=/trunk/; revision=72672

7 years ago[PSDK] Add PFE_EXPORT_FUNC.
Amine Khaldi [Wed, 14 Sep 2016 10:04:40 +0000 (10:04 +0000)]
[PSDK] Add PFE_EXPORT_FUNC.

svn path=/trunk/; revision=72671