Commit graph

52184 commits

Author SHA1 Message Date
James Tabor e71dbbe6f4 [NtUser]
- Tested wine win test_scrollwindow, test_scrollvalidate, test_scrolldc, and test_scroll plus ReactOS API tests. Pass all but three region tests in test_scrollvalidate.
- Dedicated to Víctor Martínez Calvo.

svn path=/trunk/; revision=57491
2012-10-06 02:36:46 +00:00
Hermès Bélusca-Maïto 7114e59e63 [REGEDIT]
- Re-number some resource IDs.
- Add key exportation message-box error (thus removing some fwprintf calls).
- Use IDS_MY_COMPUTER localized string instead of hardcoded one.

svn path=/trunk/; revision=57490
2012-10-05 20:08:16 +00:00
Eric Kohl 7989048604 [LSASRV]
- Change LsapLookupSids to match LsarLookupSids2 and LsarLookupSids3.
- Implement LsarLookupSids2 and LsarLookupSids3.
- Update the call to LsapLookupSids in LsarLookupSids and convert the translated names list after calling LsapLookupSids.

svn path=/trunk/; revision=57489
2012-10-05 19:41:14 +00:00
Eric Kohl bc733f3d0a [LSASRV]
- Move most of the code from LsarLookupSids into LsapLookupSids.
- Use the code from LsapLookupNames to handle the referenced domains list in LsapLookupSids. 

svn path=/trunk/; revision=57488
2012-10-05 17:34:23 +00:00
Alex Ionescu f6573a4432 [RTL]: Fix typo in RtlValidAcl.
svn path=/trunk/; revision=57487
2012-10-05 15:20:10 +00:00
Thomas Faber 60049c9aa5 [SHELL32]
- Fix yet another missing "this->", spotted by Igor Sudarikov
CORE-6722 #resolve #comment Good catch, thanks.

svn path=/trunk/; revision=57486
2012-10-05 10:51:54 +00:00
Thomas Faber 19fd89e40f [SHELL32]
- Fix what might finally be the last missing "this->" instances left over from the C++ conversion (used a regex this time)

svn path=/trunk/; revision=57485
2012-10-04 23:46:59 +00:00
Eric Kohl e88d815fef [LSASRV]
Implement LsarEnumerateAccountRights. It is still WIP (Work In Progress).

svn path=/trunk/; revision=57484
2012-10-04 21:59:23 +00:00
James Tabor b6e579b65a [NtUser]
- Fix all but one DCE scroll test.
- Old patch at least two year old or more.

svn path=/trunk/; revision=57483
2012-10-04 20:00:28 +00:00
Alex Ionescu 61d7f64ce7 [RTL]: Implement and half-plement the Object Security APIs. In most cases, ultimately forward to an internal (unimplemented) worker function, but some APIs were implemented fully. Also add missing RtlCreateAndSetSD and export it (unimplemented).
svn path=/trunk/; revision=57482
2012-10-04 19:32:18 +00:00
Alex Ionescu 3e8f4222f0 [RTL]: Add all the missing Rtl*Security*Object APIs and put them all in security.c. Move privilege functions into a new file, priv.c. No functional/code changes, just more stubs/exports and moving things around.
svn path=/trunk/; revision=57481
2012-10-04 18:48:15 +00:00
Eric Kohl f6686c1c81 [LSASRV]
LsapLookupNames: If a name was found, add its domain SID to the domains list and set the domain index accordingly.

svn path=/trunk/; revision=57480
2012-10-04 18:22:55 +00:00
Alex Ionescu b4266b3394 [NDK]: forgot this ,sorry.
svn path=/trunk/; revision=57479
2012-10-04 17:08:51 +00:00
Alex Ionescu ebf8367f44 [RTL]: Cleanup, comment, and fix SID functions. For example, RtlEqualPrefixSid actually checks only the prefix, not the entire SID.
svn path=/trunk/; revision=57478
2012-10-04 16:55:53 +00:00
Jérôme Gardou 8dafc1da92 [APITESTS/USER32]
Improve GetIconInfo tests:
 -Stop leaking each handle we create
 -Show Icons sensitivity to screen bit depth

svn path=/trunk/; revision=57477
2012-10-04 13:38:26 +00:00
Alex Ionescu 7b8f6ee98f [RTL]: CORE-6713 #resolve #time 10m #comment Use explicit checks when checking for present and default flags, just like Windows. Fixes winetest regressions.
svn path=/trunk/; revision=57476
2012-10-04 06:28:58 +00:00
Alex Ionescu ecf46ebc82 [NTOSKRNL]: CORE-6698 #resolve #time 5m #comment Add correct error handling during session space view mapping.
svn path=/trunk/; revision=57475
2012-10-04 06:19:42 +00:00
Alex Ionescu 2552915ae3 [NTOS]: CORE-6204 #resolve #time 10m #comment Do not touch NextEntry after removing it, instead restart the scan at the head of the list (checked against w2k3sp1).
svn path=/trunk/; revision=57474
2012-10-04 06:16:53 +00:00
Hermès Bélusca-Maïto 11d8e8dbdc [REGEDIT]
... and this line of code (I'm sorry for the generated noise :-( )

svn path=/trunk/; revision=57473
2012-10-03 22:51:53 +00:00
Hermès Bélusca-Maïto 85a2326f87 [REGEDIT]
- Forgot to remove a comment

svn path=/trunk/; revision=57472
2012-10-03 22:50:06 +00:00
Hermès Bélusca-Maïto c23873e5cb [REGEDIT]
- Convert the application's code to UNICODE
- But the regproc.c's code is untouched (apart from the pseudo-error messages issued with fprintf)

svn path=/trunk/; revision=57471
2012-10-03 22:42:34 +00:00
Hermès Bélusca-Maïto 70e6572e30 [CLB]
- Code cleaning

svn path=/trunk/; revision=57470
2012-10-03 21:58:28 +00:00
Thomas Faber c18b6ae104 [KMTEST:KE]
- Show that Mutexes disable APCs when acquired, while Mutants don't

svn path=/trunk/; revision=57469
2012-10-03 20:52:33 +00:00
Mike Nordell 9e555a84d5 [NTOSKERNEL] Stop KeRundownThread from bugchecking on at least CTRL_C for console app.
svn path=/trunk/; revision=57468
2012-10-03 19:51:22 +00:00
Timo Kreuzer e89081ed5f [WIN32K]
Reduce size of desktop heap from 4MB to 400KB (Windows uses 200KB)
[NTOSKRNL]
Go back to 20 MB session space.

svn path=/trunk/; revision=57467
2012-10-03 19:39:11 +00:00
Thomas Faber b82de619ca [NTOSKRNL]
- Add an ASSERT in KeRundownThread

svn path=/trunk/; revision=57466
2012-10-03 19:01:47 +00:00
Mike Nordell 28259f442f [NTOSKERNEL] Refactoring KiSatisfyObjectWait macro to prevent code duplication.
svn path=/trunk/; revision=57465
2012-10-03 17:57:14 +00:00
Eric Kohl e0103d4c59 [LSASRV]
Fixes several bugs in the current implementation of LsapSplitNames and LsapLookupNames. This fixes the crashing lsa advapi32 wintest. LsapLookupNames is still WIP.

svn path=/trunk/; revision=57464
2012-10-03 13:05:06 +00:00
Hermès Bélusca-Maïto 48028ca4f0 [REGEDIT]
- Don't forget to close the file handle.

svn path=/trunk/; revision=57463
2012-10-02 23:43:55 +00:00
Hermès Bélusca-Maïto 0fe817a0bc [REGEDIT]
- WCHAR ==> TCHAR in (before a REALLY conversion of regedit into UNICODE)
- Correct some mistakes in displayed strings
- Improve informative / warning / error messages when importing registry files
- Now, try to import each registry file specified in the command line and don't fail miserably when one of them is missing, but continue with the next one (as Windows' regedit does).
Patch by Edijs Kolesnikovičs (2/2) adapted by me.

CORE-6239 #comment Fixed in r57462 with some adaptations. Thanks ;) #resolve

svn path=/trunk/; revision=57462
2012-10-02 23:29:22 +00:00
Eric Kohl 3d261b0781 [LSASRV]
LsarLookupNames3: Use the existing list of well known SIDs to look-up well known account names.

svn path=/trunk/; revision=57461
2012-10-02 23:14:38 +00:00
Timo Kreuzer 87faae19de [LIBCNTPR] Add atan2
[WIN32K] Remove duplicated floating point math functions
[CPORTLIB] Fix an MSVC warning

svn path=/trunk/; revision=57460
2012-10-02 21:43:47 +00:00
Timo Kreuzer c9ef130688 [WIN32K]
Move gdi kdbg extension into a separate file, prefix names with ! to match WinDbg extensions more closely (e.g. "!gdi.help"), imlement help, dumpht, handle, entry and eventlist commands.

svn path=/trunk/; revision=57459
2012-10-02 21:20:28 +00:00
Alex Ionescu c5f87ff647 [RTL]: Fix bugs in SD rewrite, bringing tests back to 73 failures instead of 117 (back to their normal).
svn path=/trunk/; revision=57458
2012-10-02 16:05:26 +00:00
Eric Kohl 9a802e9079 [ADVAPI32]
- Implement LsaQueryForestTrustInformation and LsaSetForestTrustInformation.

svn path=/trunk/; revision=57457
2012-10-02 11:43:50 +00:00
Hermès Bélusca-Maïto 4617f92587 [REGEDIT
- Fix comment headers.
- Improve error-displaying function and add another one (to be used later on).
- Clear a part of code.

svn path=/trunk/; revision=57456
2012-10-01 23:16:43 +00:00
Timo Kreuzer 835f8fc099 [WIN32K]
Sorry forgot to commit this file

svn path=/trunk/; revision=57455
2012-10-01 23:10:10 +00:00
Timo Kreuzer 3ab700cd66 [NTOSKRNL]
Implement Kdbg CLI callbacks. These callbacks can be registered from external modules and allow to process kdbg commands.

[WIN32K]
Implement kdbg callbacks for gdi: "gdi!dumpht <type>" dumps the handle table, "gdi!handle <x>" dumps information about a handle.

CORE-6650 #resolve

svn path=/trunk/; revision=57454
2012-10-01 23:06:32 +00:00
Hermès Bélusca-Maïto af303e57f0 [REGEDIT]
- Update informative messages

CORE-6239 Patch by Edijs Kolesnikovičs (1/2)

svn path=/trunk/; revision=57453
2012-10-01 22:00:38 +00:00
Hervé Poussineau 3ffd6f1143 [LSASRV] Add missing breaks (addendum to r57391)
svn path=/trunk/; revision=57452
2012-10-01 19:24:07 +00:00
Eric Kohl dbf0c8c57e [LSASRV]
LsarOpenSecret: Do not check the granted access of the policy handle and return the proper status code.

svn path=/trunk/; revision=57451
2012-10-01 10:24:19 +00:00
Alex Ionescu d31ca2ab18 [RTL]: Reformat, rewrite, comment, and fix when relevant the Rtl*SecurityDescriptor* APIs, as well as fix one wrong prototype and implement some unimplemented ones.
svn path=/trunk/; revision=57450
2012-10-01 03:02:12 +00:00
Eric Kohl b0d00a039a [LSASRV]
Get rid of the ugly container object code. Let LsapCreateDbObject and LsapOpenDbObject handle container objects instead.

svn path=/trunk/; revision=57449
2012-09-30 23:50:30 +00:00
Eric Kohl 0683a941e9 [LSASRV]
- Validate Account SIDs in LsarCreateAccount and LsarOpenAccount.
- LsarOpenAccount: Do not check the granted access of the policy handle.
- LsarOpenAccount: Return the proper status code.

svn path=/trunk/; revision=57448
2012-09-30 22:41:34 +00:00
Roel Messiant e36d4c8c40 [DISKPART]
- Correct command processing following the first command in interactive mode.
- Correct invocation of command-specific help functions.

svn path=/trunk/; revision=57447
2012-09-30 22:25:26 +00:00
Timo Kreuzer bdd3db1d3d [WIN32K]
Fix the hack, so it doesn't cause overwriting of usermode memory.

svn path=/trunk/; revision=57445
2012-09-30 22:02:02 +00:00
Timo Kreuzer aec6311fb5 [WIN32K]
Hack around completely broken GreGetDIBitsInternal. Fixes bugcheck caused by gdi32_winetest bitmap.

svn path=/trunk/; revision=57444
2012-09-30 21:21:03 +00:00
Timo Kreuzer 54babc294b [WIN32K]
- Seperate GreGetDIBitsInternal from NtGdiGetDIBitsInternal
- Rewrite IntSynthesizeDib
- Fixes heap corruption when doing screen shots or copying from paint
CORE-6674 CORE-6093 #resolve

svn path=/trunk/; revision=57443
2012-09-30 20:30:23 +00:00
Roel Messiant 779b528c86 [NET]
- Correct copying of arguments into temporary buffer.
- Remove some debug prints.

svn path=/trunk/; revision=57442
2012-09-30 19:47:28 +00:00
Eric Kohl 71a1bbd4df [INCLUDE]
Add missing account right strings and system account flags.

svn path=/trunk/; revision=57441
2012-09-30 17:15:37 +00:00