reactos.git
3 years ago[Win32SS]
James Tabor [Wed, 28 Sep 2016 16:51:53 +0000 (16:51 +0000)]
[Win32SS]
- Fix menu crash, marking the menu object destroyed if the access count is more than one. Must remember these are not GDI objects. Expect a retooling of user objects soon. Set CORE-11892.

svn path=/trunk/; revision=72837

3 years ago[IPHLPAPI_APITEST] Add some tests for GetNetworkParams. By Peter Hater. ROSTESTS-244
Amine Khaldi [Wed, 28 Sep 2016 14:27:48 +0000 (14:27 +0000)]
[IPHLPAPI_APITEST] Add some tests for GetNetworkParams. By Peter Hater. ROSTESTS-244

svn path=/trunk/; revision=72836

3 years ago[NTOS:FSRTL] Rework FsRtlIsNameInExpressionPrivate for correct parsing some expressions
Dmitry Chapyshev [Tue, 27 Sep 2016 23:00:20 +0000 (23:00 +0000)]
[NTOS:FSRTL] Rework FsRtlIsNameInExpressionPrivate for correct parsing some expressions

* Fixes 1 test for kmtest:FsRtlExpression and 15 tests for kernel32:file

svn path=/trunk/; revision=72835

3 years ago[SHELL32]
Giannis Adamopoulos [Tue, 27 Sep 2016 22:53:39 +0000 (22:53 +0000)]
[SHELL32]
- CDesktopBrowser: Implement support for multiple monitors. This needs to be disabled since we don't support LVM_SETWORKAREAS in comctl32 yet. Till then confine the desktop window in the default monitor.

svn path=/trunk/; revision=72834

3 years ago[USBAUDIO]
Johannes Anderwald [Tue, 27 Sep 2016 19:56:54 +0000 (19:56 +0000)]
[USBAUDIO]
- improve guid mess a bit
- thanks amine

svn path=/trunk/; revision=72833

3 years ago[USBAUDIO]
Johannes Anderwald [Tue, 27 Sep 2016 19:20:00 +0000 (19:20 +0000)]
[USBAUDIO]
- implement USBAudioFilterCreate
- partly implement USBAudioPinCreate, USBAudioPinSetDataFormat

svn path=/trunk/; revision=72832

3 years ago[PING] Minor fixes by Tim Crawford. Please see CORE-12022 for the list of changes.
Amine Khaldi [Tue, 27 Sep 2016 18:37:45 +0000 (18:37 +0000)]
[PING] Minor fixes by Tim Crawford. Please see CORE-12022 for the list of changes.

svn path=/trunk/; revision=72831

3 years ago[ATL_APITEST] Remove dependency on rpcrt4. CORE-10029
Mark Jansen [Tue, 27 Sep 2016 18:20:20 +0000 (18:20 +0000)]
[ATL_APITEST] Remove dependency on rpcrt4. CORE-10029

svn path=/trunk/; revision=72830

3 years ago[DNSAPI_APITEST] Add some tests for DnsQuery_A/W. By Peter Hater. ROSTESTS-242
Amine Khaldi [Tue, 27 Sep 2016 18:00:03 +0000 (18:00 +0000)]
[DNSAPI_APITEST] Add some tests for DnsQuery_A/W. By Peter Hater. ROSTESTS-242

svn path=/trunk/; revision=72829

3 years ago[SHELL32]
Thomas Faber [Tue, 27 Sep 2016 17:14:39 +0000 (17:14 +0000)]
[SHELL32]
- Work around what appears to be a bug in the VS 2010 resource compiler (it failed without an error message when processing this file)

svn path=/trunk/; revision=72828

3 years ago[ATL_APITEST]
Thomas Faber [Tue, 27 Sep 2016 16:51:39 +0000 (16:51 +0000)]
[ATL_APITEST]
- Fix MSVC build

svn path=/trunk/; revision=72827

3 years ago[RAPPS]
Daniel Reimer [Tue, 27 Sep 2016 05:46:09 +0000 (05:46 +0000)]
[RAPPS]
ooops

svn path=/trunk/; revision=72826

3 years ago[NtUser]
James Tabor [Tue, 27 Sep 2016 01:14:49 +0000 (01:14 +0000)]
[NtUser]
- Need more information from callbacks.

svn path=/trunk/; revision=72825

3 years ago[USERINIT]: Addendum to r72823 (sorry for the redundant commits): Fix a use without...
Hermès Bélusca-Maïto [Mon, 26 Sep 2016 22:52:04 +0000 (22:52 +0000)]
[USERINIT]: Addendum to r72823 (sorry for the redundant commits): Fix a use without initialization warning for the 'Success' variable: initialize it to TRUE so that we by default do not perform the main menu loop (in livecd mode).

svn path=/trunk/; revision=72824

3 years ago[USERINIT]: Usability commit: when in LiveCD mode, if we cannot start the shell or...
Hermès Bélusca-Maïto [Mon, 26 Sep 2016 22:49:13 +0000 (22:49 +0000)]
[USERINIT]: Usability commit: when in LiveCD mode, if we cannot start the shell or the installer, display again the main menu.

svn path=/trunk/; revision=72823

3 years ago[USERINIT]: Addendum to r72821 + demote to WARNing the displayed message if the insta...
Hermès Bélusca-Maïto [Mon, 26 Sep 2016 22:47:25 +0000 (22:47 +0000)]
[USERINIT]: Addendum to r72821 + demote to WARNing the displayed message if the installer could not be started.

svn path=/trunk/; revision=72822

3 years ago[USERINIT]
Hermès Bélusca-Maïto [Mon, 26 Sep 2016 22:42:56 +0000 (22:42 +0000)]
[USERINIT]
- Use explicit unicode functions where possible.
- Use ARRAYSIZE(foo) instead of sizeof(foo)/sizeof(foo[0]).
- Don't hardcode some buffer sizes.
- Try reducing level of code indentation in some functions.
- Make StartShell and StartInstaller return a boolean (TRUE: success; FALSE: failure). Will be needed in the next commit.
- Remove a useless "#pragma warning".

svn path=/trunk/; revision=72821

3 years ago[ATL][ATL_APITEST] Implement some basic functionality for CComVariant + tests. CORE...
Mark Jansen [Mon, 26 Sep 2016 20:50:36 +0000 (20:50 +0000)]
[ATL][ATL_APITEST] Implement some basic functionality for CComVariant + tests. CORE-12041
Also adds Detach() to CComBSTR.

svn path=/trunk/; revision=72820

3 years ago[MSPAINT]
Benedikt Freisen [Mon, 26 Sep 2016 19:53:42 +0000 (19:53 +0000)]
[MSPAINT]
- port load and save to ATL::CImage
- let CImage generate the filter lists for the dialogs
- add menu entries "From Scanner or Camera..." and "Send..." (no functionality)
- add menu entries for most recently used files using ATL::CPath and ATL::CString
- manage list of most recently used files in registry using ATL::CRegKey
- use CString in some places instead of TCHAR arrays

Use of CImage for load/save adds support for all GDI+ formats but breaks import/export of dots per meter/inch values.

svn path=/trunk/; revision=72819

3 years ago[ATL][ROSTESTS] Tests for: CImage: Add GetImporterFilterString and GetExporterFilterS...
Benedikt Freisen [Mon, 26 Sep 2016 19:15:40 +0000 (19:15 +0000)]
[ATL][ROSTESTS] Tests for: CImage: Add GetImporterFilterString and GetExporterFilterString.  Patch by Katayama Hirofumi MZ, CORE-10029

svn path=/trunk/; revision=72818

3 years ago[ATL] CImage: Add GetImporterFilterString and GetExporterFilterString. Patch by...
Benedikt Freisen [Mon, 26 Sep 2016 19:08:20 +0000 (19:08 +0000)]
[ATL] CImage: Add GetImporterFilterString and GetExporterFilterString.  Patch by Katayama Hirofumi MZ, CORE-10029

svn path=/trunk/; revision=72817

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

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

svn path=/trunk/; revision=72766

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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