Commit graph

51286 commits

Author SHA1 Message Date
Art Yerkes eb169973ff [REGEDIT]
Implement silent mode so the winetest can run.

svn path=/trunk/; revision=56728
2012-06-13 01:39:02 +00:00
Art Yerkes cdb1c62cd1 [NTOSKRNL]
When a VAD is truncated using VirtualFree, truncate the corresponding MemoryArea
so new allocations will match in both spaces.

svn path=/trunk/; revision=56727
2012-06-12 22:31:54 +00:00
Jérôme Gardou 343744d08b [CMAKE]
WIN32 subsystem and the kernel deserve their own projects.

svn path=/trunk/; revision=56726
2012-06-12 22:28:46 +00:00
Eric Kohl cd7c0bf1da [SERVICES]
This new patch corrects bugs introduced in the implementation of
SERVICE_CONFIG_FAILURE_ACTIONS case in RQueryServiceConfig2W() and
RQueryServiceConfig2A().

Patch by Hermès Bélusca.


See issue #7101 for more details.

svn path=/trunk/; revision=56725
2012-06-12 21:42:57 +00:00
Art Yerkes 4ee63d0e0b [NTOSKRNL]
Withdraw a wait entry before mapping a page.

svn path=/trunk/; revision=56724
2012-06-12 20:41:13 +00:00
Jérôme Gardou 92cc620047 [NTGDI]
- fix potential NULL access. CID 702353

svn path=/trunk/; revision=56723
2012-06-12 19:21:55 +00:00
Eric Kohl 9c1cc14414 [SERVICES]
Automatically close handles and unlock database.
Patch by Hermès Bélusca.


See issue #7111 for more details.

svn path=/trunk/; revision=56722
2012-06-11 19:32:27 +00:00
Eric Kohl c8731b39d7 [SERVICES]
Removing the redundant function WaitForLSA() and use ScmWaitForLsa() instead.
Patch by Hermès Bélusca.

See issue #7110 for more details.

svn path=/trunk/; revision=56721
2012-06-11 19:02:00 +00:00
Amine Khaldi 916fe2874f [STDOLE32.TLB]
* Fix MSVC build and add the module to our build.

svn path=/trunk/; revision=56720
2012-06-11 18:06:27 +00:00
Thomas Faber 4738aa67a5 [NTOSKRNL:KDBG]
- Update i386-dis.c to CVS 1.48. Fixes some Intel syntax disassembly bugs.
- Use setjmp instead of _setjmp

svn path=/trunk/; revision=56719
2012-06-10 05:54:04 +00:00
Eric Kohl 1aad7fa8cc [SAMLIB][SAMSRV]
Implement SamEnumerateAliasesInDomain and SamrEnumerateAliasesInDomain. SamEnumerateAliasesInDomain does not return the names of the enumerated aliases, most likely due to a bug in rpcrt4.dll.

svn path=/trunk/; revision=56718
2012-06-09 23:34:42 +00:00
Thomas Faber bda4dc5078 [ACTXPRXY][URLMON]
- Use IRegistrar mechanism for registration. Fixes urlmon:misc and mshtml:dom crashes
See issue #7113 for more details.

svn path=/trunk/; revision=56717
2012-06-09 16:08:19 +00:00
Art Yerkes 17c51a305d [CMD]
Fix first argument of the target program so that paths with spaces aren't
reparsed by the c runtime as multiple arguments.

svn path=/trunk/; revision=56716
2012-06-09 02:55:15 +00:00
James Tabor 592fd1b680 - Fix configure warnings.
svn path=/trunk/; revision=56715
2012-06-09 02:17:39 +00:00
James Tabor b9c5be664a [Win32k]
- Fix attach thread input based on which thread is foreground. Tested with wine Msg test_SetFocus, CursorIcon test_SetCursor and test_ShowCursor, still needs more testing. See bug 7098 and bug 7107, used the test cases and it works with Qemu.

svn path=/trunk/; revision=56714
2012-06-08 21:19:31 +00:00
Sylvain Petreolle dc63726e34 [HIDCLASS]
Add missing dependency.

svn path=/trunk/; revision=56713
2012-06-08 18:49:43 +00:00
Sylvain Petreolle e9149a8586 [ROSTESTS]
Fix oleaut32_winetest dependencies.

svn path=/trunk/; revision=56712
2012-06-08 18:08:11 +00:00
Timo Kreuzer 659e65b64f [PSDK]
Fix WS2TCPIP_INLINE in ws2tcpip.h as well

svn path=/trunk/; revision=56711
2012-06-08 13:13:31 +00:00
Timo Kreuzer 2918cce772 [PSDK]
- Add missing C definition of InlineIsEqualGUID in guiddef.h
- Use portable TYPE_ALIGNMENT instead of __builtin_alignof in mstcpip.h
- Remove definition of DL_EUI48 from netiodef.h, since it's already definied as a forward declaration in mstcpip.h
- Make WS2TCPIP_INLINE extern inline instead of static inline to fix warnings about usage in non static inline functions

svn path=/trunk/; revision=56710
2012-06-08 13:10:52 +00:00
Art Yerkes 3d92fc02e4 [CMD]
Terminate lines that show environment results from the SET command.

svn path=/trunk/; revision=56709
2012-06-07 22:41:22 +00:00
Eric Kohl 21f37478bb [SERVICES]
Implement REnumServiceGroupW.
Patch by Hermès Bélusca.


See issue #7106 for more details.

svn path=/trunk/; revision=56708
2012-06-07 14:11:07 +00:00
James Tabor 52c74f0cb6 [Win32SS]
- Fix crash and pass all wine CursorIcon test_SetCursor and test_ShowCursor.

svn path=/trunk/; revision=56707
2012-06-07 12:05:17 +00:00
Eric Kohl 90849a2374 [NTOSKRNL]
Stop parsing keys and return STATUS_KEY_DELETED if the parent key was marked as deleted. This fixes two winetests.

svn path=/trunk/; revision=56706
2012-06-07 11:55:31 +00:00
James Tabor f4b11d1111 [Win32k]
- Turn off a debug print. Fixed wine Edit test_edit_control_2 SetFocus return and one more in Msg test_SetFocus.

svn path=/trunk/; revision=56705
2012-06-07 11:52:13 +00:00
Eric Kohl c1fd93e9a2 [SAMLIB][SAMSRV]
- Implement SamGetMembersInAlias and SamrGetMembersInAlias.
- Add registry helper routines SampRegQueryKeyInfo, SampRegEnumerateValue and SampRegSetValue.
- Remove unused SAM database code.
- Store the name and members key (only for aliases and groups) in the database object.

svn path=/trunk/; revision=56704
2012-06-07 10:31:17 +00:00
James Tabor d36d231899 [Win32k]
- Fast fix attach thread input. Tested with win Msg test_SetFocus, fixed the WM_ACTIVATE issue, still needs more testing. See bug 7098, used the test case and it works.

svn path=/trunk/; revision=56703
2012-06-07 01:08:41 +00:00
Eric Kohl 0d6a879b5a [SERVICES]
Removing some code defects discovered by Coverity.
Patch by Hermès Bélusca.
See issue #7105 for more details.

svn path=/trunk/; revision=56702
2012-06-06 23:01:53 +00:00
Art Yerkes e39b696116 [NTOSKRNL]
Don't crash when unmapping a kernel-space image section, due to dereferencing a NULL
Process.

svn path=/trunk/; revision=56701
2012-06-06 21:22:19 +00:00
Amine Khaldi 93440e61fd [HIDCLASS]
* Add a missing break, preventing a null pointer dereference. CID 515263.

svn path=/trunk/; revision=56700
2012-06-06 15:41:08 +00:00
Jérôme Gardou 4112756c8e [FREELDR]
* Handle case when non-existing channel is asked for debug tracing
CID 701362

svn path=/trunk/; revision=56699
2012-06-06 15:33:21 +00:00
Amine Khaldi cadabab172 [SERVICES]
* Fix a typo and an indentation. By Hermès Bélusca.
See issue #7104 for more details.

svn path=/trunk/; revision=56698
2012-06-05 21:15:37 +00:00
Olaf Siejka eaf3eb0b1d [TRANSLATION]
- brasilian portugeese translation by Matheus Macabu (bug no. 7079);

[AHK]
- add scripts for including AHK tests into Reactos\Bin;

svn path=/trunk/; revision=56697
2012-06-05 14:37:58 +00:00
Eric Kohl 2fc88995de [SERVICES]
Implement SERVICE_CONFIG_FAILURE_ACTIONS case in RQueryServiceConfig2W and RQueryServiceConfig2A.

Patch by Hermès Bélusca.


See issue #7101 for more details.

svn path=/trunk/; revision=56696
2012-06-05 10:19:39 +00:00
Amine Khaldi 4d7e7f2be8 [SERVICES]
* Remove logically dead code. CID 513302.

svn path=/trunk/; revision=56695
2012-06-04 15:28:48 +00:00
Eric Kohl fb45b7fcb5 [ADVAPI]
Use ULONG_PTR instead of UINT_PTR.

Patch by Hermès Bélusca.
See issue #7100 for more details.

svn path=/trunk/; revision=56694
2012-06-04 14:35:21 +00:00
Amine Khaldi 0b4b235923 [MSCOREE_WINETEST]
* Sync to Wine 1.5.4.

svn path=/trunk/; revision=56693
2012-06-04 10:47:09 +00:00
Amine Khaldi b28cf69af4 [MSCOREE]
* Sync to Wine 1.5.4.

svn path=/trunk/; revision=56692
2012-06-04 10:46:54 +00:00
Amine Khaldi 8c7e9cfe10 [KERNEL32_WINETEST]
* Sync loader tests to Wine 1.5.4. Thanks to Arty for fixing the related issues.
See issue #7071 for more details.

svn path=/trunk/; revision=56691
2012-06-04 10:45:54 +00:00
Eric Kohl f82ab0c4b0 [SAMLIB]: Implement SamAddMemberToAlias, SamCreateAliasInDomain, SamEnumerateDomainsInSamServer, SamOpenAlias, SamQueryInformationDomain and SamQueryInformationUser.
[SAMSRV]: Implement SamrEnumerateDomainsInSamServer (buggy, probably a bug in WIDL), SamrQueryInformationDomain.DomainNameInformation, SamrCreateAliasInDomain, SamrOpenAlias and SamrAddMemberToAlias.
[SAMSRV]: Add more registry helper routines.
[SAMSRV]: Create builtin aliases upon setup.

svn path=/trunk/; revision=56690
2012-06-03 20:54:06 +00:00
James Tabor 769eb79128 - Fix a FIXME and fix the last test in wine Win test_ShowWindow.
svn path=/trunk/; revision=56689
2012-06-02 03:56:23 +00:00
James Tabor e0d8684a66 [Win32SS]
- Minor fixups to SetParent.
- Add utilities to check thread queue states and verify window object is still alive.

svn path=/trunk/; revision=56688
2012-06-02 03:34:04 +00:00
Eric Kohl e624236fa1 [SAMLIB][SAMSRV][SYSSETUP]
- Implement SamSetInformationDomain.DomainNameInformation and SamrSetInformationDomain.DomainNameInformation.
- Set the account domain name for SAM too.
- Remove the old samlib.h file.

svn path=/trunk/; revision=56687
2012-06-01 22:41:43 +00:00
Amine Khaldi b62d985805 [USBCCGP]
* Fix a thinko.

svn path=/trunk/; revision=56686
2012-06-01 18:59:22 +00:00
Eric Kohl f023556a30 [SAMLIB]
- Implement SamFreeMemory and SamLookupDomainInSamServer.
- Remove unused file debug.h.

[SAMSRV]
- Implement SamrLookupDomainInSamServer.
- Add registry helper functions.
- Store the domain name in a new Name attribute which is used by Sam(r)LookupDomainInSamServer.

svn path=/trunk/; revision=56685
2012-06-01 18:03:25 +00:00
Timo Kreuzer a6e90fb6f8 [WIN32K]
Fix a comment

svn path=/trunk/; revision=56684
2012-06-01 16:15:46 +00:00
Timo Kreuzer 15f3c7f06f [PSDK]
- Add __post_invalid to specstrings.h
- Add missing InterlockedCompareExchangePointerAcquire and InterlockedCompareExchangePointerRelease for x86 to winbase.h
- Add missing MemoryBarrier definition

svn path=/trunk/; revision=56683
2012-06-01 16:10:14 +00:00
Art Yerkes 2bbb9b2930 [NTOSKRNL]
- Allow placement of a wait entry in virgin address space prior to mapping a page.
- Add a wait entry in the address space when paging in section view.
- Correct a problem that previously prevented us from evicting or querying pages that
  had been protected into PAGE_NOACCESS protection by adding a query for disabled
  mappings and handling disabled mappings in a few places (this may be controversial).

svn path=/trunk/; revision=56682
2012-06-01 09:01:41 +00:00
Eric Kohl 15425106b9 [ADVAPI32]
Fixed broken build.

svn path=/trunk/; revision=56681
2012-05-31 14:18:59 +00:00
Eric Kohl ba744e9859 [ADVAPI32]
- Get the logon user SID using the new SAM keys and values. This is still a hack.

[SAMLIB]
- Remove all hacks.

[SYSSETUP]
- Remove all administrator account hacks.

svn path=/trunk/; revision=56680
2012-05-31 14:02:19 +00:00
Eric Kohl fb25b9f54f [SAMLIB]
- Implement SamOpenUser and SamSetInformationUser.
- Add SamQueryInformationUser stub.

[SAMSRV]
- Implement SamrOpenUser.
- Add a hack to SamrSetInformationUser that enables us to store a users password (as plain-text) in the registry.
- SamrCreateUserInDomain: Fix the creation of user account key names and start counting user RIDs at 1000.
- Clean-up the SAM registry setup code.
- Assingn SIDs to the BUILTIN and Account domains.
- Create the Administrator and Guest accounts in the SAM setup.

svn path=/trunk/; revision=56679
2012-05-31 11:07:51 +00:00