Commit graph

51350 commits

Author SHA1 Message Date
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
Eric Kohl ecff0e52a3 [LSASRV][SYSSETUP]
Move the creation of the random account domain SID from syssetup.dll to lsasrv.dll. This change is required because the account domain SID must be stored in the LSA database before the SAM database initializes. Syssetup.dll created the account domain SID much too late.

svn path=/trunk/; revision=56678
2012-05-30 22:53:37 +00:00
Timo Kreuzer db959776cc [NTDLL_APITEST]
rename rtl bitmap tests

svn path=/trunk/; revision=56677
2012-05-30 21:16:24 +00:00
James Tabor 4b39ab3f4a [Win32k]
- Users are not allowed to set null desktops. Fixes bug 6759.

svn path=/trunk/; revision=56676
2012-05-29 21:34:06 +00:00
Timo Kreuzer 4f76ca4995 [NTDLL_APITEST]
Add tests for rtl bitmap function

svn path=/trunk/; revision=56675
2012-05-29 18:46:25 +00:00
Timo Kreuzer cb3390a3de [NDK]
Add missing rtl bitmap functions

svn path=/trunk/; revision=56674
2012-05-29 18:40:41 +00:00
James Tabor ebe2e6eb34 [Win32k]
- Don't check for send nonclient paint messages and bump up the paint count. This may spell the end of the PAINTING BUG spam.

svn path=/trunk/; revision=56673
2012-05-29 11:57:24 +00:00
Eric Kohl 5e6927ddd1 [SAMLIB][SAMSRV]
- Implement SamCreateUserInDomain and SamrCreateUserInDomain.
- SamOpenDomain: Use the correct object types when trying to open a domain object.

svn path=/trunk/; revision=56672
2012-05-28 22:47:52 +00:00
James Tabor bf77113125 [Service Manager]
- Patch by Hermes Belusca: Fix dialog painting. See bug 4965, marked as WIP.

svn path=/trunk/; revision=56671
2012-05-28 20:12:21 +00:00
Eric Kohl 14c472ac5d [SAMSRV]
Add Names sub keys to the Alias, Groups and Users keys of the Account an Builtin domains. These will later contain the 'Name to SID' entries that will simplify lookup by name operations.

svn path=/trunk/; revision=56670
2012-05-28 15:04:26 +00:00
Eric Kohl f07bb17c73 [SAMSRV]
- Support container objects in SampCreateDbObject.
- Implement SampGetObjectAttribute and SampSetObjectAttribute.

svn path=/trunk/; revision=56669
2012-05-28 12:26:54 +00:00
Thomas Faber 7803f2678f [LIBUSB][USBCCGP]
- Whitespace and DPRINT fixes

svn path=/trunk/; revision=56668
2012-05-28 10:49:44 +00:00
Thomas Faber a426102b3a [LIBUSB][USBCCGP][USBEHCI]
- Return the actual number of bytes copied for configuration descriptor requests
- Fix MSVC warnings and NULL vs 0 vs FALSE issues

svn path=/trunk/; revision=56667
2012-05-28 10:34:45 +00:00
Thomas Faber 5536a02214 [USBCCGP]
- Fix hardware/compatible id generation (still abusing UNICODE_STRING though)
- Do not touch unsupported IRP_MN_QUERY_ID requests

svn path=/trunk/; revision=56666
2012-05-28 10:15:58 +00:00
James Tabor 6cf1774c1e - Turn of debugs.
svn path=/trunk/; revision=56665
2012-05-28 04:53:13 +00:00
James Tabor b22bc1a952 [Win32SS]
- Add utility of setting and clearing the state bits from user space. Use this later. Fix build.

svn path=/trunk/; revision=56664
2012-05-28 04:51:31 +00:00
James Tabor 845ea709c3 [Win32SS]
- Add utility of setting and clearing the state bits from user space. Use this later.

svn path=/trunk/; revision=56663
2012-05-28 04:49:15 +00:00
James Tabor df4cb8e91f [Win32k]
- Fix the remaining wine Win test_NCRedraw test. Broken since r6737.
- Miscellaneous fixes and changes.

svn path=/trunk/; revision=56662
2012-05-28 03:34:04 +00:00
Eric Kohl 203b0d7413 [SAMLIB]
- Implement SamCloseHandle, SamConnect and SamOpenDomain.
[SAMSRV]
- Implement SamrCloseHandle, SamrConnect and SamrOpenDomain.
- Start the SAM RPC Server.

svn path=/trunk/; revision=56661
2012-05-27 05:33:07 +00:00
Thomas Faber 8ea9a9d758 [LIBUSB]
- Implement URB_FUNCTION_VENDOR_DEVICE
- Sensibly handle unknown requests in HandleClassDevice
- DPRINT fixes

svn path=/trunk/; revision=56660
2012-05-26 17:19:41 +00:00
James Tabor 571a6d3ce6 - Silence debug traces, SMWCB is the one to tracked.
svn path=/trunk/; revision=56659
2012-05-25 20:27:47 +00:00
James Tabor c8fd4da71c [Win32k]
- Fix the remaining wine Win test_SetFocus to does.

svn path=/trunk/; revision=56658
2012-05-25 19:52:24 +00:00
Alex Ionescu 92be0e4131 [NDK]: Missing define.
svn path=/trunk/; revision=56657
2012-05-25 19:26:42 +00:00
Alex Ionescu 4d61ae25fc [KERNEL32]: Enable SxS support in CreateRemoteThread, and other misc. cleanups.
svn path=/trunk/; revision=56656
2012-05-24 19:20:33 +00:00
James Tabor 13ae0280e5 - Add RegisterClassNameW to ComCtl32.
svn path=/trunk/; revision=56655
2012-05-24 00:42:19 +00:00
James Tabor 88aa13419c [UXTHEME]
- Sync port up to Wine 1.5.4 and head.

svn path=/trunk/; revision=56654
2012-05-23 23:04:23 +00:00
James Tabor f770056aa3 - Add wine netsh, see bug 6758.
svn path=/trunk/; revision=56653
2012-05-23 22:36:17 +00:00
James Tabor 7429f3cc4c [WIP User32 SxS]
- Add SxS for classes, still not plugged in for a year now.
- Need more information on global headers to support class contexts. ATM the headers are local, for noting what is needed.

svn path=/trunk/; revision=56652
2012-05-23 20:21:29 +00:00
Alex Ionescu 7efa1d4b81 [KERNEL32]: Formatting cleanups and annotations.
[KERNEL32]: Simplify QueueWorkItem since the trampoline is in Rtl.
[KERNEL32]: Add SxS support to QueueUserApc.
[KERNEL32]: Add some extra sanity checks/assertions in certain places.

svn path=/trunk/; revision=56651
2012-05-23 17:35:25 +00:00
Alex Ionescu 7b19834435 [KERNEL32]: Reimplement DeleteFileA and W to handle the new ansi-Unicode functions, as well as to handle the same cases that Pierre implemented in the directory functions (dealing with reparse points and tags).
svn path=/trunk/; revision=56650
2012-05-23 16:51:22 +00:00
Thomas Faber 25d5ac32b6 [RTL]
- Use RtlAnsiStringToUnicodeString instead of mbstowcs to correctly handle manifests that aren't null-terminated
See issue #6743 for more details.

svn path=/trunk/; revision=56649
2012-05-23 11:54:20 +00:00
Eric Kohl c43df67bd6 [SAMLIB/SAMSRV/SYSSETUP]
- Use Wine debug messages in samlib.dll.
- Move SAM initialization code from samlib.dll to samsrv.dll.
- Lsass.exe initializes SAM instead of syssetup.dll.

svn path=/trunk/; revision=56648
2012-05-21 13:38:32 +00:00
Eric Kohl 734ab64dd0 [LSASS]
Load samsrv.dll and call SamIInitialize when lsass is started.

svn path=/trunk/; revision=56647
2012-05-20 21:10:53 +00:00
Eric Kohl 91bf59e6d9 [samlib]
- Add DDK header ntsam.h.
- Add some client side stubs of the SAM RPC interface.

svn path=/trunk/; revision=56646
2012-05-20 20:33:16 +00:00
Eric Kohl 5ba86d6b56 [SAMSRV]
- Convert to Wine debug messages.
- Add server side stubs of the SAM RPC interface. The RPC server is not implemented yet.

svn path=/trunk/; revision=56645
2012-05-20 18:31:10 +00:00
Eric Kohl 1c9889f852 [IDL]
Add ACF and IDL file for the SAM RPC interface.

svn path=/trunk/; revision=56644
2012-05-20 16:32:24 +00:00
Thomas Faber 279183baba [KERNEL32]
- Swap GetFullPathName success/failure cases in BasePushProcessParameters. Fixes kernel32:GetModuleFileName test.
See issue #6786 for more details.

svn path=/trunk/; revision=56643
2012-05-20 14:06:09 +00:00