Commit graph

51719 commits

Author SHA1 Message Date
Eric Kohl 84b02d3d64 [SERVICES]
Correct comments and code error introduced in rev 56844.
Patch by Hermes Belusca.

I used a helper variable to determine whether or not ScmDeleteNamedPipeCriticalSection must be called. Changing the order in which functions are called could cause a deadlock.

See issue #7172 for more details.

svn path=/trunk/; revision=56861
2012-07-08 23:08:19 +00:00
Timo Kreuzer aec110d514 [FREELDR]
Allocate the ARC_DISK_SIGNATURE structures from the heap instead of putting them into the initial loader block allocation, since the number of disks changes later. Fixes memory corrruption and boot breakage when 3 hdds are connected.

[NTOSKRNL]
Remove a hack that disabled unloading drivers, which didn't work because of memory corruption from freeldr. This works now, too.

See issue #7139 for more details.

svn path=/trunk/; revision=56860
2012-07-08 22:06:23 +00:00
Timo Kreuzer 60c98d7414 [CMAKE]
Globally disable SSE when compiling with VS 11 or newer.

See issue #7174 for more details.

svn path=/trunk/; revision=56859
2012-07-08 19:59:33 +00:00
Aleksey Bragin 110a73b8c5 [CMD]
- Fix missing new line in the timer command results. Spotted by Mikael Lyngvig.
See issue #7140 for more details.

svn path=/trunk/; revision=56858
2012-07-08 19:43:25 +00:00
Timo Kreuzer de0561fdf3 [FREELDR]
- Make sure freeldr is not compiled with SSE instructions (default for VS 11+)
- Print trap number and instruction stream on bugcheck
- Fix assembly code for ML

svn path=/trunk/; revision=56857
2012-07-08 18:45:34 +00:00
Timo Kreuzer 713bccbc75 [CMAKE]
Fix MSVC+Ninja support, sync some stuff from the original cmake file

svn path=/trunk/; revision=56856
2012-07-08 18:40:24 +00:00
Timo Kreuzer ea8da897e3 [CMD]
Fix typos

svn path=/trunk/; revision=56855
2012-07-08 16:16:53 +00:00
Timo Kreuzer ffe50536e7 [CMD]
Fix build with VS 2012

svn path=/trunk/; revision=56854
2012-07-08 16:06:24 +00:00
Thomas Faber 2d81eed739 [SMSS]
- Fix an NTSTATUS vs boolean issue
- Fix an MSVC warning

svn path=/trunk/; revision=56853
2012-07-08 16:04:39 +00:00
Eric Kohl cdb96189b4 [SERVICES]
Implement LoadUserProfileA and DeleteProfileA.
Patch by Hermes Belusca.

See issue #7163 for more details.

svn path=/trunk/; revision=56852
2012-07-08 15:39:14 +00:00
Timo Kreuzer 9b9afa4558 [FREELDR]
Add code to dump amd64 cpu state. Add a bugcheck function.

svn path=/trunk/; revision=56851
2012-07-08 15:33:53 +00:00
Eric Kohl 87f0a30cfe [SAMSRV]
- Implement SampGetObjectAttributeString to retrieve the size of a string, allocate a buffer and retrieve the string from the registry.
- Use SampGetObjectAttributeString to retrieve string attributes in SamrQueryInformationXxx functions.
- Add most missing cases to SamrQueryInformationUser.
- Fix a type mismatch in ntsam.h.

svn path=/trunk/; revision=56850
2012-07-08 09:33:35 +00:00
Aleksey Bragin c4dbf5a011 [KERNEL32]
- Wine doesn't prepend \registry\ to any registry path, which is wrong. Fix that.
- Bring back previous implementation of GetGeoInfo & co.
- Fix GEO_OFFICIALLANGUAGES in the headers.
- Thanks to Kamil Hornicek and Samuel Serapion for finding the problem and creating patches.
See issue #6595 for more details.

svn path=/trunk/; revision=56849
2012-07-07 23:02:14 +00:00
Eric Kohl 847f94cf76 [SERVICES]
First step to support control sets.

svn path=/trunk/; revision=56848
2012-07-07 18:17:59 +00:00
Eric Kohl ef482f8abd [SERVICES]
Use Unicode functions instead of generic ones and replace all TEXT macros too.

svn path=/trunk/; revision=56847
2012-07-07 17:47:25 +00:00
Eric Kohl ef354366b6 [SERVICES]
Fix the copyright message.
Hermès Bélusca is the owner of this file!

svn path=/trunk/; revision=56846
2012-07-07 15:45:37 +00:00
Eric Kohl 01cbb41fe9 [SERVICES]
Fix the build.

svn path=/trunk/; revision=56845
2012-07-07 15:39:34 +00:00
Eric Kohl 05ed889bb2 [SERVICES]
Implement service database locking via RLockServiceDatabase / RUnlockServiceDatabase etc... and use this functionality.
Patch by Hermès Bélusca.

I did not rename the database lock functions because the functions names RLockServiceDatabase and RUnlockServiceDatabase are misleading. They do not lock any database but lock the service start function. The existing functions ScmLockDatabaseExclusive, ScmLockDatabaseShared and ScmUnlockDatabase do protect (lock) the service database (service, group and image lists) form concurrent access. That is also the reason for renaming the SC_LOCK_STRUCT to START_LOCK. 


See issue #7131 for more details.

svn path=/trunk/; revision=56844
2012-07-07 15:35:40 +00:00
Thomas Faber 52beb8508b [USERENV]
- Simplify AcquireRemoveRestorePrivilege. Improve clean-up & acquire privilege before unloading hive in CreateUserProfileW. Patch by Hermes Belusca
See issue #7160 for more details.

svn path=/trunk/; revision=56843
2012-07-07 10:11:21 +00:00
James Tabor 6c424f7832 - Fix MSC build.
svn path=/trunk/; revision=56842
2012-07-05 22:35:06 +00:00
James Tabor cd217d6680 [User32]
- Use zap command when ending dialogs. Check keyboard perfs and cues before sending change GUI states.

svn path=/trunk/; revision=56841
2012-07-05 22:17:32 +00:00
James Tabor 2cf18f8b33 - Fix build.
svn path=/trunk/; revision=56840
2012-07-05 22:10:03 +00:00
James Tabor 1e0937de1c [Win32SS]
- Paint updates and signaling flags.
- WIP: Implement WM_SYNCPAINT support, for synchronize painting to the top-level windows of other threads.
- Tested with wine tests and passes,
  http://www.winehq.org/pipermail/wine-patches/2012-June/114714.html
  http://www.winehq.org/pipermail/wine-patches/2012-June/114715.html

svn path=/trunk/; revision=56839
2012-07-05 22:04:47 +00:00
James Tabor a117d3a0ca [User32]
- Sync up with wine NCActivate.

svn path=/trunk/; revision=56838
2012-07-05 21:39:21 +00:00
James Tabor f23fd581a7 [User32]
- Add support for LB_GETLISTBOXINFO and LBS_NODATA. Fix unknown wide char in draw.c.

svn path=/trunk/; revision=56837
2012-07-05 21:34:16 +00:00
James Tabor 1cf37c2465 [Win32k]
- Move window check to the API interface.

svn path=/trunk/; revision=56836
2012-07-05 21:30:23 +00:00
Thomas Faber 473a15261d [REGEDIT]
- Improve permission acquirement for loading/unloading hives. Patch by Hermes Belusca
See issue #7159 for more details.

svn path=/trunk/; revision=56835
2012-07-05 20:47:18 +00:00
James Tabor 67c66d9d96 [Win32k]
- Add keyboard cue and combo list box signing.

svn path=/trunk/; revision=56834
2012-07-05 19:14:21 +00:00
James Tabor f6deb2ed81 [Win32SS]
- Add callback to find character set information.

svn path=/trunk/; revision=56833
2012-07-04 23:16:17 +00:00
James Tabor 5c5f00b225 [Win32k]
- Fix assert with WinSnap. Added support functions to be used later.

svn path=/trunk/; revision=56832
2012-07-04 22:59:27 +00:00
James Tabor 03578273c3 [Win32k]
- Add zap active and focus call. Fix comments.

svn path=/trunk/; revision=56831
2012-07-04 22:51:16 +00:00
James Tabor cab33b0688 [Win32k]
- Fix debug and a spurious error during WinPos related tests.

svn path=/trunk/; revision=56830
2012-07-04 22:47:55 +00:00
James Tabor 839071aee8 [Gdi32]
- Implement support for TCI_SRCLOCALE.

svn path=/trunk/; revision=56829
2012-07-04 22:44:52 +00:00
Thomas Faber e985ec1cd4 [WS2_32_APITEST]
- Gracefully handle uninitialized data in WSAStartup test

svn path=/trunk/; revision=56828
2012-07-04 20:05:43 +00:00
Timo Kreuzer 5f2da6aad9 [CRT]
Fix a bug in streamout() causing "%.*s" to crash when the buffer was not zero terminaed. Found by Thomas Faber.

svn path=/trunk/; revision=56827
2012-07-04 18:58:09 +00:00
Timo Kreuzer 726210791f [KMTEST]
Include strnlen.c and wcsnlen.c in kmtest_printf (needed for upcoming change)

svn path=/trunk/; revision=56826
2012-07-04 18:51:34 +00:00
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