reactos.git
7 years ago[RAPPS]
Daniel Reimer [Mon, 26 Sep 2016 18:42:16 +0000 (18:42 +0000)]
[RAPPS]
Bugfix to correctly identify the size of the programs in RAPPS for the Russian language by amber
CORE-11847 #resolve #comment Committed, thx.
App Manager - NirLauncher has a broken link by Ken Rochard
CORE-11718 #resolve #comment Committed, thx.
App Manager - Audacity has a broken link by Ken Rochard
CORE-11719 #resolve #comment Committed, thx.
Downgrade Python 3.5 to Python 3.4 (if it works) in Rapps by David Kleuker
CORE-11342 #resolve #comment Committed, thx.
App Manager - Libre Office 5.1.3 has a broken link by Ken Rochard
CORE-11670 #resolve #comment Committed, thx.
[RAPPS-DB] Click-N-Type Virtual Keyboard version is wrong by reactosfanboy
CORE-11243 #resolve #comment Committed, thx.

svn path=/trunk/; revision=72816

7 years ago[ATL]
Benedikt Freisen [Mon, 26 Sep 2016 17:50:07 +0000 (17:50 +0000)]
[ATL]
- implement CStringT::LoadString(UINT nID) via LoadString(_AtlBaseModule.GetResourceInstance(), nID)

[FLTMC]
- add target_link_libraries(fltmc atlnew) so that the linker finds _AtlBaseModule

svn path=/trunk/; revision=72815

7 years ago[LSASRV]
Eric Kohl [Mon, 26 Sep 2016 16:28:10 +0000 (16:28 +0000)]
[LSASRV]
Store the domain name and user SID in the session too.

svn path=/trunk/; revision=72814

7 years ago[ATL] cstringt.h: Uncomment and complete Format(UINT nFormatID, ...). It still uses...
Benedikt Freisen [Mon, 26 Sep 2016 14:11:50 +0000 (14:11 +0000)]
[ATL] cstringt.h: Uncomment and complete Format(UINT nFormatID, ...).  It still uses a LoadString-stub, though.

svn path=/trunk/; revision=72813

7 years ago[NTOS:KE] Use variable instead function calling
Dmitry Chapyshev [Mon, 26 Sep 2016 12:31:26 +0000 (12:31 +0000)]
[NTOS:KE] Use variable instead function calling

svn path=/trunk/; revision=72812

7 years ago[NTOS:KE] Added *Thread versions of macros with ASSERT(_Thread == KeGetCurrentThread...
Dmitry Chapyshev [Mon, 26 Sep 2016 12:03:57 +0000 (12:03 +0000)]
[NTOS:KE] Added *Thread versions of macros with ASSERT(_Thread == KeGetCurrentThread()). Use new macros in _KeAcquireGuardedMutex, _KeReleaseGuardedMutex, _KeTryToAcquireGuardedMutex. Thanks Alex!

svn path=/trunk/; revision=72811

7 years ago[KERNEL32]
Thomas Faber [Mon, 26 Sep 2016 10:12:58 +0000 (10:12 +0000)]
[KERNEL32]
- Handle UTF-16 surrogate pairs in IntWideCharToMultiByteUTF8.
CORE-12042 #resolve

svn path=/trunk/; revision=72810

7 years ago[KERNEL32_APITEST]
Thomas Faber [Mon, 26 Sep 2016 10:06:55 +0000 (10:06 +0000)]
[KERNEL32_APITEST]
- Add a test for WideCharToMultiByte with CP_UTF8
CORE-12042

svn path=/trunk/; revision=72809

7 years ago[SHELL32]
Giannis Adamopoulos [Mon, 26 Sep 2016 00:43:21 +0000 (00:43 +0000)]
[SHELL32]
- CDefView: Overhaul the code that filled the menu bar of explorer. Fill the arrange as menu with the column names from the shell folders instead of hardcoding them. Check the selected arrange mode and view mode in the menu bar and in the context menu. Make the items in the file menu to actually work. It is possible to arrange the icons from the context menu now.
- Note to translators: Please check that the changes that I did in the 31 resource files make sense. Also note that the "Arrange Icons" menu now is called "Arrange Icons As".

svn path=/trunk/; revision=72808

7 years ago[SHELL32]Swedish translation by Andreas Bjerkeholt CORE-12040
Robert Naumann [Sun, 25 Sep 2016 22:53:05 +0000 (22:53 +0000)]
[SHELL32]Swedish translation by Andreas Bjerkeholt CORE-12040

svn path=/trunk/; revision=72807

7 years ago[KDGDB]
Jérôme Gardou [Sun, 25 Sep 2016 22:33:48 +0000 (22:33 +0000)]
[KDGDB]
 - Fix a stupid typo, causing all threads to have the same backtrace.

svn path=/trunk/; revision=72806

7 years ago[ATL] atlpath.h: This looked like a bug.
Benedikt Freisen [Sun, 25 Sep 2016 21:14:23 +0000 (21:14 +0000)]
[ATL] atlpath.h: This looked like a bug.

svn path=/trunk/; revision=72805

7 years ago[ATL] Add atlpath.h, which provides the CPathT class template and the classes CPath...
Benedikt Freisen [Sun, 25 Sep 2016 19:58:22 +0000 (19:58 +0000)]
[ATL] Add atlpath.h, which provides the CPathT class template and the classes CPath, CPathA and CPathW.  CORE-12034

svn path=/trunk/; revision=72804

7 years ago[SDK/GCC_INTRIN]
Jérôme Gardou [Sun, 25 Sep 2016 18:35:52 +0000 (18:35 +0000)]
[SDK/GCC_INTRIN]
 - Update __invlpg instrinsic for x86_64 compatibility

svn path=/trunk/; revision=72803

7 years ago[RTL] Capture parameters with using SEH. Fixes new test for ntdll:RtlAllocateHeap
Dmitry Chapyshev [Sun, 25 Sep 2016 17:05:52 +0000 (17:05 +0000)]
[RTL] Capture parameters with using SEH. Fixes new test for ntdll:RtlAllocateHeap

svn path=/trunk/; revision=72802

7 years ago[NTDLL_APITEST] Add test for invalid pointer
Dmitry Chapyshev [Sun, 25 Sep 2016 16:57:55 +0000 (16:57 +0000)]
[NTDLL_APITEST] Add test for invalid pointer

svn path=/trunk/; revision=72801

7 years ago[NTOS:PO]
Thomas Faber [Sun, 25 Sep 2016 13:46:18 +0000 (13:46 +0000)]
[NTOS:PO]
- Protect against invalid user mode pointers in NtPowerInformation

svn path=/trunk/; revision=72800

7 years ago[NTOS:PO] Stubpliment ProcessorInformation case in NtPowerInformation. Fixes 1 test...
Dmitry Chapyshev [Sun, 25 Sep 2016 13:03:06 +0000 (13:03 +0000)]
[NTOS:PO] Stubpliment ProcessorInformation case in NtPowerInformation. Fixes 1 test for ntdll:info

svn path=/trunk/; revision=72799

7 years ago[ATL] atltime.h: fix assertion: hours of a day are in the range 0-23, not 0-59
Benedikt Freisen [Sun, 25 Sep 2016 09:33:56 +0000 (09:33 +0000)]
[ATL] atltime.h: fix assertion: hours of a day are in the range 0-23, not 0-59

svn path=/trunk/; revision=72798

7 years ago[RTL]
Thomas Faber [Sun, 25 Sep 2016 08:25:45 +0000 (08:25 +0000)]
[RTL]
- Avoid dereferencing a NULL pointer in RtlIsTextUnicode
CORE-12027 #resolve

svn path=/trunk/; revision=72797

7 years ago[EVENTVWR]: Turkish translation update by Erdem Ersoy.
Hermès Bélusca-Maïto [Sat, 24 Sep 2016 23:21:05 +0000 (23:21 +0000)]
[EVENTVWR]: Turkish translation update by Erdem Ersoy.
CORE-12031 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=72796

7 years ago[SDK][ATL] Add header atltime.h and prerequisites in atlsimpstr.h and atlstr.h. ...
Benedikt Freisen [Sat, 24 Sep 2016 18:01:49 +0000 (18:01 +0000)]
[SDK][ATL] Add header atltime.h and prerequisites in atlsimpstr.h and atlstr.h.  CORE-12023

svn path=/trunk/; revision=72795

7 years ago[MSGINA] Prevent an infinite loop in ShellDimScreen. CORE-12028
Mark Jansen [Sat, 24 Sep 2016 14:15:23 +0000 (14:15 +0000)]
[MSGINA] Prevent an infinite loop in ShellDimScreen. CORE-12028

svn path=/trunk/; revision=72794

7 years ago[CRYPTNET] don't try to prepend a drive letter when there is one already
Christoph von Wittich [Sat, 24 Sep 2016 12:19:35 +0000 (12:19 +0000)]
[CRYPTNET] don't try to prepend a drive letter when there is one already

svn path=/trunk/; revision=72793

7 years ago[CRYPTNET] disable broken code
Christoph von Wittich [Sat, 24 Sep 2016 11:39:17 +0000 (11:39 +0000)]
[CRYPTNET] disable broken code

svn path=/trunk/; revision=72792

7 years ago[LIBUSBAUDIO]
Johannes Anderwald [Sat, 24 Sep 2016 11:24:07 +0000 (11:24 +0000)]
[LIBUSBAUDIO]
- delete unused code

svn path=/trunk/; revision=72791

7 years ago[USBAUDIO]
Johannes Anderwald [Sat, 24 Sep 2016 11:17:32 +0000 (11:17 +0000)]
[USBAUDIO]
- allocate filter descriptor
- fixes hang in win2k3

svn path=/trunk/; revision=72790

7 years ago[LSASRV]
Eric Kohl [Sat, 24 Sep 2016 09:38:17 +0000 (09:38 +0000)]
[LSASRV]
LsapSetLogonSessionData: Set the logon type and the user name of the selected session.
LsapGetLogonSessionData: Fix the session data marshalling code.
Now we can retrieve the logon type and user name of the logon sessions.

svn path=/trunk/; revision=72789

7 years ago[NTOSKRNL] Add missed _SEH2_YIELD's
Dmitry Chapyshev [Sat, 24 Sep 2016 09:34:09 +0000 (09:34 +0000)]
[NTOSKRNL] Add missed _SEH2_YIELD's

svn path=/trunk/; revision=72788

7 years ago[NTOSKRNL] Remove unneeded sanity checks
Dmitry Chapyshev [Sat, 24 Sep 2016 09:30:06 +0000 (09:30 +0000)]
[NTOSKRNL] Remove unneeded sanity checks

svn path=/trunk/; revision=72787

7 years ago[ACPPAGE] Update Russian translation
Dmitry Chapyshev [Sat, 24 Sep 2016 09:25:13 +0000 (09:25 +0000)]
[ACPPAGE] Update Russian translation

svn path=/trunk/; revision=72786

7 years ago[USBAUDIO]
Johannes Anderwald [Sat, 24 Sep 2016 08:35:25 +0000 (08:35 +0000)]
[USBAUDIO]
- add pin dispatch routines

svn path=/trunk/; revision=72785

7 years ago[DNSAPI] sync record.c with wine 1.9.19
Christoph von Wittich [Sat, 24 Sep 2016 07:32:25 +0000 (07:32 +0000)]
[DNSAPI] sync record.c with wine 1.9.19

svn path=/trunk/; revision=72784

7 years ago[USBAUDIO]
Johannes Anderwald [Fri, 23 Sep 2016 22:14:21 +0000 (22:14 +0000)]
[USBAUDIO]
- fix build with gcc

svn path=/trunk/; revision=72783

7 years ago[USBAUDIO]
Johannes Anderwald [Fri, 23 Sep 2016 22:07:24 +0000 (22:07 +0000)]
[USBAUDIO]
- fix warnings
- implement UsbAudioGetDataRanges for filter descriptor

svn path=/trunk/; revision=72782

7 years ago[USBAUDIO]
Johannes Anderwald [Fri, 23 Sep 2016 19:53:19 +0000 (19:53 +0000)]
[USBAUDIO]
- start implementing USBAudioPinBuildDescriptors

svn path=/trunk/; revision=72781

7 years ago[KS]
Johannes Anderwald [Fri, 23 Sep 2016 19:10:44 +0000 (19:10 +0000)]
[KS]
- fix gcc build

svn path=/trunk/; revision=72780

7 years ago[KS]
Johannes Anderwald [Fri, 23 Sep 2016 18:35:15 +0000 (18:35 +0000)]
[KS]
- make a copy of KSFILTER_DESCRIPTOR as it might have been allocated from the stack
- always initialize object bag in filter factory

svn path=/trunk/; revision=72779

7 years ago[SHELL32]
Giannis Adamopoulos [Fri, 23 Sep 2016 15:51:53 +0000 (15:51 +0000)]
[SHELL32]
- CPrinterFolder: Use the printer icon for printers not the icon for printers folder.

svn path=/trunk/; revision=72778

7 years ago[SETUPAPI] Implement freeing memory in SetupDiDestroyClassImageList function. Based...
Dmitry Chapyshev [Thu, 22 Sep 2016 21:39:25 +0000 (21:39 +0000)]
[SETUPAPI] Implement freeing memory in SetupDiDestroyClassImageList function. Based on patch from CircularTriangle06. Thanks! See CORE-11668

svn path=/trunk/; revision=72777

7 years ago[SHELL32]
Giannis Adamopoulos [Thu, 22 Sep 2016 21:34:14 +0000 (21:34 +0000)]
[SHELL32]
- SHCreateDefaultContextMenu: Since our shell folders don't pass the array of class keys needed, populate this array right in SHCreateDefaultContextMenu. This code should later be moved to the shell folders so as to make CDefaultContextMenu.cpp agnostic to the kind of items it handles.
- CDefaultContextMenu: Simplify filling the menu by making use of the array of keys passed in the DEFCONTEXTMENU struct.

svn path=/trunk/; revision=72776

7 years ago[SHELL32]
Giannis Adamopoulos [Thu, 22 Sep 2016 19:54:15 +0000 (19:54 +0000)]
[SHELL32]
- CDefaultContextMenu: Simplify some really superfluous code and add more checks for bogus parameters. Create the data object using GetUIObjectOf instead of SHCreateDataObject. Each sell folder should be able to use its own special data object.

svn path=/trunk/; revision=72775

7 years ago[NLS] Add 1146 and 21025 code pages
Dmitry Chapyshev [Thu, 22 Sep 2016 18:16:30 +0000 (18:16 +0000)]
[NLS] Add 1146 and 21025 code pages

svn path=/trunk/; revision=72774

7 years ago[NLS] Add missed code pages
Dmitry Chapyshev [Thu, 22 Sep 2016 18:14:07 +0000 (18:14 +0000)]
[NLS] Add missed code pages

svn path=/trunk/; revision=72773

7 years ago[HIVECLS.INF]
Giannis Adamopoulos [Thu, 22 Sep 2016 16:48:12 +0000 (16:48 +0000)]
[HIVECLS.INF]
- Drive property page is registered by sehll32.

svn path=/trunk/; revision=72772

7 years ago[SHELL32]
Giannis Adamopoulos [Thu, 22 Sep 2016 16:22:44 +0000 (16:22 +0000)]
[SHELL32]
- Handle failure in SHELL32_CompareDetails.

svn path=/trunk/; revision=72771

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