Commit graph

51483 commits

Author SHA1 Message Date
Thomas Faber 7b2fb517d6 [REGEDIT]
- Acquire the necessary privileges when loading/unloading hives. Patch by Hermes Belusca.
See issue #7159 for more details.

svn path=/trunk/; revision=56825
2012-07-04 18:28:49 +00:00
Thomas Faber feae1a7ab7 [USER32_APITEST]
- Prevent duplicate test name

svn path=/trunk/; revision=56824
2012-07-04 18:01:13 +00:00
Thomas Faber 755d14eac4 [CRT TEST][USER32_APITEST]
- Add a test for sprintf/wsprintfA (mainly NULL buffer and string precision)

svn path=/trunk/; revision=56823
2012-07-04 17:33:56 +00:00
Thomas Faber f2f1135505 [ROSTESTS]
- Add CRT tests to build
See issue #7155 for more details.

svn path=/trunk/; revision=56822
2012-07-04 17:04:44 +00:00
Thomas Faber e7528e02d2 [ROSTESTS]
- Clarify readme file. Patch by Hermes Belusca. Bug 7151

svn path=/trunk/; revision=56821
2012-07-03 19:59:56 +00:00
Eric Kohl 2f6a92ccd0 [SAMSRV]
- Store all fixed size user attributes in the registry value "F".
- Initialize fixed size domain attributes in SampCreateUserAccount and SamrCreateUserInDomain.
- Implement most information classes of SamrQueryInformationUser.
- Disable all informationclasses of SamrSetInformationUser that store fixed size attributes.

svn path=/trunk/; revision=56820
2012-07-02 23:09:20 +00:00
Eric Kohl 470e9cf3bf [SAMSRV]
- Implement missing cases of SamrSetInformationDomain.
- Use the fixed domain data to assign new RIDs in SamrCreateAliasInDomain and SamrCreateUserInDomain.

svn path=/trunk/; revision=56819
2012-07-01 19:50:08 +00:00
Eric Kohl a7086d73a7 [SAMSRV]
- Implement all cases of SamrQueryInformationDomain.
- Store all fixed size domain attributes in the registry value "F".
- Initialize all domain attribute in SampCreateDomain.

svn path=/trunk/; revision=56818
2012-07-01 16:51:10 +00:00
Eric Kohl d4ee387801 [USETUP]
Fix a little layout issue.

svn path=/trunk/; revision=56817
2012-07-01 15:55:14 +00:00
Timo Kreuzer 0ed94ccae0 [WIN32K]
- Implement SURFACE_vSetPalette and use it everywhere to set the palette for a surface. Make SURFACE::ppal const, so noone accidentally modifies it without properly handling the references.

svn path=/trunk/; revision=56816
2012-07-01 13:43:33 +00:00
Eric Kohl 7bd9006bf1 [SAMSRV]
SamrSetInformationUser: Implement most information classes.

svn path=/trunk/; revision=56815
2012-06-30 21:10:39 +00:00
Eric Kohl e3cedf7ae5 [DDK]
- Add generic rights for aliases, domains, SAM server and users.
- Add generic and specific rights for groups.

svn path=/trunk/; revision=56814
2012-06-30 14:16:38 +00:00
Timo Kreuzer 0c487766e0 [CRT]
Add startup code to CRT

svn path=/trunk/; revision=56813
2012-06-30 14:04:19 +00:00
Sylvain Petreolle 347c43d13c [ROSAPPS]
Add notevil, ctm, kill and tlist to build.

Patch by Hermes Belusca. Bug 7150.

svn path=/trunk/; revision=56812
2012-06-30 11:33:33 +00:00
Timo Kreuzer b8a94ea7da [PSDK/DDK]
Add definitions for BitScanForward64

svn path=/trunk/; revision=56811
2012-06-30 11:19:28 +00:00
Thomas Faber 8400fdc078 [ADVAPI32_APITEST]
- Use a define for the service name in QueryServiceConfig2 test. Patch by Hermes Belusca. Bug 7145.
- Add LockDatabase test for Lock/UnlockServiceDatabase, QueryServiceLockStatus. Patch by Hermes Belusca. Bug 7146.

svn path=/trunk/; revision=56810
2012-06-29 11:48:35 +00:00
Thomas Faber bd748a0cd3 [ADVAPI32_APITEST]
- Add test for QueryServiceConfig2 with SERVICE_CONFIG_DESCRIPTION and SERVICE_CONFIG_FAILURE_ACTIONS. Patch by Hermes Belusca.
- Remove ok_lasterr in favor of ok_err.
See issue #7144 for more details.

svn path=/trunk/; revision=56809
2012-06-27 14:55:22 +00:00
Sylvain Petreolle d45e33685b [FORMAT]
Handle read only devices and report them unsupported.
Forbid the formatting of the system drive.

Patch by Mikael Lyngvig.
See bug 2081 for more details.

svn path=/trunk/; revision=56808
2012-06-26 21:31:10 +00:00
Thomas Faber a24b150c36 [NTOSKRNL:SE]
- Do not dereference pointer before checking against NULL in SeSetSecurityDescriptorInfo

svn path=/trunk/; revision=56807
2012-06-26 08:36:58 +00:00
Thomas Faber f7267c995f [NTOSKRNL:SE]
- Use the correct pool tags for allocations in SepCaptureAcl/SepCaptureSid
See issue #7138 for more details.

svn path=/trunk/; revision=56806
2012-06-26 07:21:45 +00:00
Thomas Faber 2f0d0258a2 [WS2_32_APITEST]
- Fix GCC build

svn path=/trunk/; revision=56805
2012-06-26 06:28:06 +00:00
Thomas Faber 041ff27f2d [APITESTS] - Add wininet and winhttp tests for Winsock loading and initialization behavior
[WS2_32_APITEST] - Make WSAStartup test more robust and stricter

svn path=/trunk/; revision=56804
2012-06-26 06:08:38 +00:00
Thomas Faber 3b8951a50b [WINETESTS]
- Make function-style macros in test.h actually behave function-like (aka fix build)

svn path=/trunk/; revision=56803
2012-06-25 10:09:33 +00:00
Thomas Faber bfa3a605c9 [WS2_32_APITEST]
- Add a few more getaddrinfo tests
- Add a test for WSAStartup

svn path=/trunk/; revision=56802
2012-06-25 08:21:11 +00:00
Eric Kohl f6b93b5946 [SAMSRV]
Implement SamrQueryInformationAlias and simplify SamrSetInformationAlias.

svn path=/trunk/; revision=56801
2012-06-24 21:42:13 +00:00
Eric Kohl 94405388d5 [NTOSKRNL]
Fix error handling for SepDuplicateToken and SeCreateToken.

svn path=/trunk/; revision=56800
2012-06-24 21:04:11 +00:00
Timo Kreuzer fd6fcab2ca [RTL]
Fix remainung RtlBitmapApi tests

svn path=/trunk/; revision=56799
2012-06-24 18:33:08 +00:00
Timo Kreuzer 1e6ffd8f10 [NTDLL_APITEST]
Add some more tests for rtl bitmap functions

svn path=/trunk/; revision=56798
2012-06-24 18:28:33 +00:00
Timo Kreuzer 32d6beb209 [RTL]
Fix a really stupid mistake in RtlNumberOfSetBits

svn path=/trunk/; revision=56797
2012-06-24 17:50:46 +00:00
Pierre Schweitzer edc7d34422 [RTL]
Fix c/p mistake in PropertyLengthAsVariant


svn path=/trunk/; revision=56796
2012-06-24 16:23:28 +00:00
Pierre Schweitzer 07f3561057 [RTL]
Implement RtlConvertVariantToProperty, RtlConvertPropertyToVariant, PropertyLengthAsVariant
Those are just wrappers around Ole32 functions.


svn path=/trunk/; revision=56795
2012-06-24 14:11:55 +00:00
Timo Kreuzer d58e76d5dc [RTL]
Fix a mistake in RtlNumberOfSetBits, check for index out of range in RtlFindNextForwardRun*

svn path=/trunk/; revision=56794
2012-06-24 13:39:32 +00:00
Timo Kreuzer b6b380a67b [RTL]
Fix a bug in RtlNumberOfSetBits

svn path=/trunk/; revision=56793
2012-06-24 12:51:27 +00:00
Timo Kreuzer 8e9219216a [RTL]
bitmap.c:
- hack away ASSERT() for now to fix tests
- Optimize 64 bit builds
- add BSD license

svn path=/trunk/; revision=56792
2012-06-24 11:32:11 +00:00
Pierre Schweitzer 427c1d0e0b [RTL]
- Really implement RtlRandomEx and add its values table
- Rename SavedValue to RtlpRandomConstantVector to allow RtlRandom & RtlRandomEx to have two different values tables
- Complete and fix documentation
- Stop using magic values


svn path=/trunk/; revision=56791
2012-06-24 01:10:58 +00:00
Timo Kreuzer 4afdffdb21 [MKHIVE]
Fix 64 bit build

svn path=/trunk/; revision=56790
2012-06-23 18:08:09 +00:00
Thomas Faber ab09607ada [WININET][WINHTTP]
- Initialize Winsock before using getaddrinfo (and in general). Fixes test regressions from r56773.
See issue #7135 for more details.

svn path=/trunk/; revision=56789
2012-06-23 16:40:24 +00:00
Timo Kreuzer f6b6eea643 [CMAKE]
- Fix issues with newer cmake versions (brought to you by Amine)
- Add support for ninja to configure script

svn path=/trunk/; revision=56788
2012-06-23 16:09:11 +00:00
Thomas Faber 2874d1c817 [WS2_32_APITEST]
- Add a test for basic functionality of getaddrinfo

svn path=/trunk/; revision=56787
2012-06-23 12:40:36 +00:00
Eric Kohl 45ca7e0a77 [SAMLIB][SAMSRV]
Prevent multiple declarations of SAM types.

svn path=/trunk/; revision=56786
2012-06-23 10:29:20 +00:00
Eric Kohl 44cc31028b [SAMLIB]
- Implement SamGetAliasMembership, SamQueryInformationAlias and SamSetInformationAlias.
- Add stub SamLookupNamesInDomain.

[SAMSRV]
- Implement SamrGetAliasMembership and SamrSetInformationAlias.
- Add stub for SamrQueryInformationAlias.
- SamrCreateAliasInDomain and SAM setup code: Set the description attribute for aliases. 

svn path=/trunk/; revision=56785
2012-06-23 10:23:08 +00:00
Thomas Faber 99944e4408 [WS2_32]
- Sync async.c to Wine 1.5.4. Fixes crash in ws2_32:sock

svn path=/trunk/; revision=56784
2012-06-23 06:04:09 +00:00
Timo Kreuzer 0397391d51 [RTL/AMD64]
- Fix bugs in RtlInterlockedFlushSList
- Improve comments

svn path=/trunk/; revision=56783
2012-06-22 10:26:00 +00:00
Thomas Faber f59ea8fb2f [MSAFD]
- Gracefully handle lpcbBytesReturned == NULL condition in WSPIoctl. Fixes crash in ws2_32:sock

svn path=/trunk/; revision=56782
2012-06-21 23:43:24 +00:00
Pierre Schweitzer bbb72145fa [NTOSKRNL]
Properly export RtlVolumeDeviceToDosName by using IoVolumeDeviceToDosName. No need to reimplement RtlVolumeDeviceToDosName.


svn path=/trunk/; revision=56781
2012-06-21 21:06:20 +00:00
Thomas Faber 64cdbd47d2 [WS2_32_WINETEST]
- Sync to Wine 1.5.4. Helpfully, now contains getaddrinfo tests.

svn path=/trunk/; revision=56780
2012-06-21 20:47:22 +00:00
Thomas Faber 4dd2c982ae [PSDK]
- Fix bogus initializer in IN4ADDR_SCOPE_ID (aka let's not copy MS's header bugs)

svn path=/trunk/; revision=56779
2012-06-21 19:02:56 +00:00
Thomas Faber e7ce10a493 [PSDK]
- Revert bcrypt.h. Our headers are doomed to be forever incompatible ;)

svn path=/trunk/; revision=56778
2012-06-21 18:25:41 +00:00
Thomas Faber 4459fe10cd [PSDK][NDK]
- Fix build

svn path=/trunk/; revision=56777
2012-06-21 18:20:38 +00:00
Thomas Faber ab109d2b7a [PSDK]
- At least Wine's headers suck as much as ours

svn path=/trunk/; revision=56776
2012-06-21 17:45:02 +00:00