reactos.git
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

7 years ago[FREETYPE] Update to v2.7.0. CORE-11639
Amine Khaldi [Wed, 14 Sep 2016 10:01:27 +0000 (10:01 +0000)]
[FREETYPE] Update to v2.7.0. CORE-11639

svn path=/trunk/; revision=72670

7 years ago[MEDIA/INF] Add raw transport provider from msafd. By Peter Hater. CORE-10440
Amine Khaldi [Wed, 14 Sep 2016 08:55:23 +0000 (08:55 +0000)]
[MEDIA/INF] Add raw transport provider from msafd. By Peter Hater. CORE-10440

svn path=/trunk/; revision=72669

7 years ago[RTL]
Dmitry Chapyshev [Wed, 14 Sep 2016 00:31:30 +0000 (00:31 +0000)]
[RTL]
- Use correct checks for illegal chars
- Build context and 8.3 name on the basis of it (context can be already presented)

* Fixes 34 tests for ntdll:RtlGenerate8dot3Name (remained 16 tests will be fixed after correction of a problem with NLS files)

svn path=/trunk/; revision=72668

7 years ago[PIFMGR]
Hermès Bélusca-Maïto [Tue, 13 Sep 2016 21:46:47 +0000 (21:46 +0000)]
[PIFMGR]
- Add new icons by DSP2003 under CC-BY-SA 4.0 International License Terms (the .ico and the original .png files).
- Use DSP2003's icons wherever possible, otherwise fallback to "alternative" icons or to the placeholder icon. The aim is to finally convert or create all the remaining icons using DSP2003's style.
CORE-10253

svn path=/trunk/; revision=72667

7 years ago[NTDLL_APITEST]
Pierre Schweitzer [Tue, 13 Sep 2016 09:57:52 +0000 (09:57 +0000)]
[NTDLL_APITEST]
RtlGenerate8dot3Name: show that we don't deal correctly with checksums while generating short names.

Dedicated to Christoph

svn path=/trunk/; revision=72666

7 years ago[SHELL32] Do not try to call a NULL m_pSF2Parent. CORE-11969 #comment Please retest! backups/sndblst@72664
Mark Jansen [Mon, 12 Sep 2016 18:05:22 +0000 (18:05 +0000)]
[SHELL32] Do not try to call a NULL m_pSF2Parent. CORE-11969 #comment Please retest!

svn path=/trunk/; revision=72662

7 years ago[KS]
Aleksandar Andrejevic [Mon, 12 Sep 2016 03:59:04 +0000 (03:59 +0000)]
[KS]
The "Add" routine is optional in the KSDEVICE_DISPATCH structure.
KsDevice.Descriptor should be initialized even if there is no device dispatch.

svn path=/trunk/; revision=72661

7 years ago[NTDLL]: Fix misspelling.
Hermès Bélusca-Maïto [Sun, 11 Sep 2016 20:40:41 +0000 (20:40 +0000)]
[NTDLL]: Fix misspelling.

svn path=/trunk/; revision=72660

7 years ago[USER32] We have to use the copy of DEVMODEA structure (having size expanded on dmDri...
Dmitry Chapyshev [Sun, 11 Sep 2016 20:11:35 +0000 (20:11 +0000)]
[USER32] We have to use the copy of DEVMODEA structure (having size expanded on dmDriverExtra) for support of extra data of the driver

svn path=/trunk/; revision=72659

7 years ago[USER32_APITEST] Add tests for EnumDisplaySettingsA
Dmitry Chapyshev [Sun, 11 Sep 2016 19:50:16 +0000 (19:50 +0000)]
[USER32_APITEST] Add tests for EnumDisplaySettingsA

svn path=/trunk/; revision=72658

7 years ago[USER32] We have to use the copy of DEVMODEW structure (having size expanded on dmDri...
Dmitry Chapyshev [Sun, 11 Sep 2016 19:05:27 +0000 (19:05 +0000)]
[USER32] We have to use the copy of DEVMODEW structure (having size expanded on dmDriverExtra) for support of extra data of the driver

* Fixes 16 tests for EnumDisplaySettings

svn path=/trunk/; revision=72657

7 years ago[WIN32K] set lasterror in NtGdiCombineRgn
Christoph von Wittich [Sun, 11 Sep 2016 17:27:59 +0000 (17:27 +0000)]
[WIN32K] set lasterror in NtGdiCombineRgn

svn path=/trunk/; revision=72656

7 years ago[NtUser] Try to fix tests for user32:EnumDisplaySettings
Dmitry Chapyshev [Sun, 11 Sep 2016 16:13:46 +0000 (16:13 +0000)]
[NtUser] Try to fix tests for user32:EnumDisplaySettings

svn path=/trunk/; revision=72655

7 years ago[KERNEL32] set ExitCode when terminating threads in ExitProcess as well
Christoph von Wittich [Sun, 11 Sep 2016 13:22:33 +0000 (13:22 +0000)]
[KERNEL32] set ExitCode when terminating threads in ExitProcess as well

svn path=/trunk/; revision=72654

7 years ago[WIN32K] add missing parameter check in NtGdiArcInternal
Christoph von Wittich [Sun, 11 Sep 2016 09:01:04 +0000 (09:01 +0000)]
[WIN32K] add missing parameter check in NtGdiArcInternal

svn path=/trunk/; revision=72653

7 years ago[USER32] - Sync with Wine Staging 1.9.18.
James Tabor [Sun, 11 Sep 2016 00:58:12 +0000 (00:58 +0000)]
[USER32] - Sync with Wine Staging 1.9.18.

svn path=/trunk/; revision=72652

7 years ago[USER32] - Sync with Wine Staging 1.9.18.
James Tabor [Sun, 11 Sep 2016 00:58:00 +0000 (00:58 +0000)]
[USER32] - Sync with Wine Staging 1.9.18.

svn path=/trunk/; revision=72651

7 years ago[USER32] - Sync with Wine Staging 1.9.18.
James Tabor [Sun, 11 Sep 2016 00:57:38 +0000 (00:57 +0000)]
[USER32] - Sync with Wine Staging 1.9.18.

svn path=/trunk/; revision=72650

7 years ago[NtUser] Unnecessary check is removed and correct value of an error code is returned
Dmitry Chapyshev [Sat, 10 Sep 2016 22:30:53 +0000 (22:30 +0000)]
[NtUser] Unnecessary check is removed and correct value of an error code is returned

* Fixes 2 tests for win32knt_apitest:NtUserEnumDisplaySettings

svn path=/trunk/; revision=72649

7 years ago[NtUser] Fix 3 new tests for GET/SET NONCLIENTMETRICS, MINIMIZEDMETRICS, ICONMETRICS
Dmitry Chapyshev [Sat, 10 Sep 2016 18:39:40 +0000 (18:39 +0000)]
[NtUser] Fix 3 new tests for GET/SET NONCLIENTMETRICS, MINIMIZEDMETRICS, ICONMETRICS

svn path=/trunk/; revision=72648