Commit graph

66849 commits

Author SHA1 Message Date
Thomas Faber 3e357794f9 [NTOS:PO]
- Protect against invalid user mode pointers in NtPowerInformation

svn path=/trunk/; revision=72800
2016-09-25 13:46:18 +00:00
Dmitry Chapyshev 7986e05dd7 [NTOS:PO] Stubpliment ProcessorInformation case in NtPowerInformation. Fixes 1 test for ntdll:info
svn path=/trunk/; revision=72799
2016-09-25 13:03:06 +00:00
Benedikt Freisen 9c2f0f7e3a [ATL] atltime.h: fix assertion: hours of a day are in the range 0-23, not 0-59
svn path=/trunk/; revision=72798
2016-09-25 09:33:56 +00:00
Thomas Faber 44408ed371 [RTL]
- Avoid dereferencing a NULL pointer in RtlIsTextUnicode
CORE-12027 #resolve

svn path=/trunk/; revision=72797
2016-09-25 08:25:45 +00:00
Hermès Bélusca-Maïto 558f564017 [EVENTVWR]: Turkish translation update by Erdem Ersoy.
CORE-12031 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=72796
2016-09-24 23:21:05 +00:00
Benedikt Freisen 40e80da24a [SDK][ATL] Add header atltime.h and prerequisites in atlsimpstr.h and atlstr.h. CORE-12023
svn path=/trunk/; revision=72795
2016-09-24 18:01:49 +00:00
Mark Jansen 5fbd6598b7 [MSGINA] Prevent an infinite loop in ShellDimScreen. CORE-12028
svn path=/trunk/; revision=72794
2016-09-24 14:15:23 +00:00
Christoph von Wittich 6476277b5c [CRYPTNET] don't try to prepend a drive letter when there is one already
svn path=/trunk/; revision=72793
2016-09-24 12:19:35 +00:00
Christoph von Wittich 940cde001f [CRYPTNET] disable broken code
svn path=/trunk/; revision=72792
2016-09-24 11:39:17 +00:00
Johannes Anderwald 23829f32f6 [LIBUSBAUDIO]
- delete unused code

svn path=/trunk/; revision=72791
2016-09-24 11:24:07 +00:00
Johannes Anderwald ceb3c692f3 [USBAUDIO]
- allocate filter descriptor
- fixes hang in win2k3

svn path=/trunk/; revision=72790
2016-09-24 11:17:32 +00:00
Eric Kohl 3c7d74d9d9 [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
2016-09-24 09:38:17 +00:00
Dmitry Chapyshev fdef947fd3 [NTOSKRNL] Add missed _SEH2_YIELD's
svn path=/trunk/; revision=72788
2016-09-24 09:34:09 +00:00
Dmitry Chapyshev f250bb4eb6 [NTOSKRNL] Remove unneeded sanity checks
svn path=/trunk/; revision=72787
2016-09-24 09:30:06 +00:00
Dmitry Chapyshev ae49423a04 [ACPPAGE] Update Russian translation
svn path=/trunk/; revision=72786
2016-09-24 09:25:13 +00:00
Johannes Anderwald 5da8ac035d [USBAUDIO]
- add pin dispatch routines

svn path=/trunk/; revision=72785
2016-09-24 08:35:25 +00:00
Christoph von Wittich fa4bc0ad15 [DNSAPI] sync record.c with wine 1.9.19
svn path=/trunk/; revision=72784
2016-09-24 07:32:25 +00:00
Johannes Anderwald ebc30bc7c1 [USBAUDIO]
- fix build with gcc

svn path=/trunk/; revision=72783
2016-09-23 22:14:21 +00:00
Johannes Anderwald f9d6dccd9c [USBAUDIO]
- fix warnings
- implement UsbAudioGetDataRanges for filter descriptor

svn path=/trunk/; revision=72782
2016-09-23 22:07:24 +00:00
Johannes Anderwald 885506056c [USBAUDIO]
- start implementing USBAudioPinBuildDescriptors

svn path=/trunk/; revision=72781
2016-09-23 19:53:19 +00:00
Johannes Anderwald d034494c4d [KS]
- fix gcc build

svn path=/trunk/; revision=72780
2016-09-23 19:10:44 +00:00
Johannes Anderwald 2380a6ec54 [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
2016-09-23 18:35:15 +00:00
Giannis Adamopoulos ed87e2056d [SHELL32]
- CPrinterFolder: Use the printer icon for printers not the icon for printers folder.

svn path=/trunk/; revision=72778
2016-09-23 15:51:53 +00:00
Dmitry Chapyshev 4a71e9a2bc [SETUPAPI] Implement freeing memory in SetupDiDestroyClassImageList function. Based on patch from CircularTriangle06. Thanks! See CORE-11668
svn path=/trunk/; revision=72777
2016-09-22 21:39:25 +00:00
Giannis Adamopoulos 76bf27c021 [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
2016-09-22 21:34:14 +00:00
Giannis Adamopoulos 05f4321160 [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
2016-09-22 19:54:15 +00:00
Dmitry Chapyshev 32705690e7 [NLS] Add 1146 and 21025 code pages
svn path=/trunk/; revision=72774
2016-09-22 18:16:30 +00:00
Dmitry Chapyshev e12d8ec40d [NLS] Add missed code pages
svn path=/trunk/; revision=72773
2016-09-22 18:14:07 +00:00
Giannis Adamopoulos 3fc6a9d6f0 [HIVECLS.INF]
- Drive property page is registered by sehll32.

svn path=/trunk/; revision=72772
2016-09-22 16:48:12 +00:00
Giannis Adamopoulos adffe02e6f [SHELL32]
- Handle failure in SHELL32_CompareDetails.

svn path=/trunk/; revision=72771
2016-09-22 16:22:44 +00:00
Giannis Adamopoulos c6db4d179c [SHELL32]
- COpenWithMenu: Don't try to close the same registry key twice.

svn path=/trunk/; revision=72770
2016-09-22 16:14:07 +00:00
Giannis Adamopoulos e00840033e [SHELL32]
- HCR_GetFolderAttributes already calls GetAttributesOf when needed, calling it when it is not needed can lead to crashes.

svn path=/trunk/; revision=72769
2016-09-22 16:09:28 +00:00
Christoph von Wittich ef8e98a485 [SHELL32] implement CreateViewWindow3 and fix CreateViewWindow2
svn path=/trunk/; revision=72768
2016-09-22 14:28:44 +00:00
Eric Kohl e5d301366c [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
2016-09-22 11:27:05 +00:00
Benedikt Freisen 770c7d7cb0 [MSPAINT] Lets
svn path=/trunk/; revision=72766
2016-09-22 10:03:32 +00:00
Amine Khaldi 5d8bf427ca [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
2016-09-22 08:10:47 +00:00
Christoph von Wittich e0f1966727 [SHELL32] revert 72685 the testman hang wasn't related
svn path=/trunk/; revision=72764
2016-09-21 19:51:35 +00:00
Mark Jansen 2d582ff542 [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
2016-09-21 19:34:42 +00:00
Mark Jansen 6ee0488c6d [CRT_APITEST] Add tests for __getmainargs, testing a commandline ending with spaces. Patch by Yaroslav Veremenko CORE-9199
svn path=/trunk/; revision=72762
2016-09-21 19:26:47 +00:00
Mark Jansen 1d08fd530f [NETSHELL] Register some COM interfaces to fix a few tests. Patch by Jared Smudde. CORE-12016 #resolve #comment Thanks!
svn path=/trunk/; revision=72761
2016-09-21 19:04:07 +00:00
Mark Jansen 37e073b675 [NETSHELL.RGS] set eol-style so that hopefully the patchbot will eat a patch without choking on it.
svn path=/trunk/; revision=72760
2016-09-21 17:55:35 +00:00
Amine Khaldi 51d329b7e1 [IPHLPAPI] Fix all testIcmpSendEcho tests. By Peter Hater. Please see CORE-11993 for the list of changes.
svn path=/trunk/; revision=72759
2016-09-21 15:53:17 +00:00
Hermès Bélusca-Maïto 640e1bacfc [LSALIB]: Fix build (and 2 dprints in the process).
svn path=/trunk/; revision=72758
2016-09-21 14:02:54 +00:00
Eric Kohl 1b6257ac3f [LSASRV]
Revert all pointless changes from r72751.

svn path=/trunk/; revision=72757
2016-09-21 10:49:40 +00:00
Eric Kohl 73975f8f4a [LSALIB]
- LsaRegisterLogonProcess: Wait for the LSA_AUTHENTICATION_INITIALIZED event.
- LsaDeregisterLogonProcess: Use ZwClose to close the port handle.

svn path=/trunk/; revision=72756
2016-09-21 10:27:06 +00:00
Eric Kohl dff8dfadb8 [LSASRV]
Open/Create and set the \\SECURITY\\LSA_AUTHENTICATION_INITIALIZED event after the LsaAuthenticationPort has been created.

svn path=/trunk/; revision=72755
2016-09-21 07:27:18 +00:00
Eric Kohl 0b423f6a54 [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
2016-09-21 06:19:22 +00:00
Eric Kohl 1df78f4892 [LSALIB]
LsaRegisterLogonProcess: Do not wait for \\SECURITY\\LSA_AUTHENTICATION_INITIALIZED to get signaled as it breaks the boot.

svn path=/trunk/; revision=72753
2016-09-21 06:11:02 +00:00
Eric Kohl d307723a72 [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
2016-09-21 04:57:25 +00:00
Hermès Bélusca-Maïto 9bc48b336f [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
2016-09-20 23:43:16 +00:00