reactos.git
11 years ago[WLANCONF]
Thomas Faber [Fri, 12 Oct 2012 11:40:53 +0000 (11:40 +0000)]
[WLANCONF]
- Add localization support. Patch by Lee Schroeder.
CORE-6721

svn path=/trunk/; revision=57539

11 years ago[WLANCONF]
Thomas Faber [Fri, 12 Oct 2012 10:56:08 +0000 (10:56 +0000)]
[WLANCONF]
- Fix a potential buffer overflow, fix a handle leak, fix an MSVC warning

svn path=/trunk/; revision=57538

11 years ago[WIN32K]
Jérôme Gardou [Thu, 11 Oct 2012 13:33:09 +0000 (13:33 +0000)]
[WIN32K]
 - Accept to fill a BITMAPCOREINFO structure in NtGdiGetDIBitsInternal

svn path=/trunk/; revision=57537

11 years ago[CRT]
Hermès Bélusca-Maïto [Thu, 11 Oct 2012 00:30:57 +0000 (00:30 +0000)]
[CRT]
Use a temporary buffer to parse the program's arguments, instead of using (and thus overwriting) the _a/wcmdln variable.
Fix msvcrt_apitest:CommandLine test.

CORE-6717 #comment Fixed in revision r57536. #resolve

svn path=/trunk/; revision=57536

11 years ago[GDI32]
Jérôme Gardou [Wed, 10 Oct 2012 23:05:38 +0000 (23:05 +0000)]
[GDI32]
 - Assume that the provided buffer size is maximal in GetDIBits
[WIN32K]
 - Probe buffer before writing to it
 - Fail DIB Section creation if palette creation failed

svn path=/trunk/; revision=57535

11 years ago[MSVCRT:APITEST]
Hermès Bélusca-Maïto [Wed, 10 Oct 2012 21:56:27 +0000 (21:56 +0000)]
[MSVCRT:APITEST]
Modify the test for GetModuleFileName, should work better now.

svn path=/trunk/; revision=57534

11 years ago[MSVCRT:APITEST]
Hermès Bélusca-Maïto [Wed, 10 Oct 2012 21:23:49 +0000 (21:23 +0000)]
[MSVCRT:APITEST]
Update a comment. No code changes.

svn path=/trunk/; revision=57533

11 years ago[BOOTDATA]
Hermès Bélusca-Maïto [Wed, 10 Oct 2012 21:20:25 +0000 (21:20 +0000)]
[BOOTDATA]
Remove unneeded %SystemRoot%\bin\data value in PATH environment variable.

svn path=/trunk/; revision=57532

11 years ago[MSVCRT:APITEST]
Hermès Bélusca-Maïto [Wed, 10 Oct 2012 21:19:45 +0000 (21:19 +0000)]
[MSVCRT:APITEST]
Update CommandLine test.

svn path=/trunk/; revision=57531

11 years agoHopefully fix a MultiByteToWideChar issue with UTF8.
Mike Nordell [Wed, 10 Oct 2012 20:33:45 +0000 (20:33 +0000)]
Hopefully fix a MultiByteToWideChar issue with UTF8.

svn path=/trunk/; revision=57530

11 years agoTest for MultiByteToWideChar added. Still needs alot fleshing out.
Mike Nordell [Wed, 10 Oct 2012 19:10:49 +0000 (19:10 +0000)]
Test for MultiByteToWideChar added. Still needs alot fleshing out.

svn path=/trunk/; revision=57529

11 years ago[MSVCRT:APITEST]
Hermès Bélusca-Maïto [Tue, 9 Oct 2012 22:08:32 +0000 (22:08 +0000)]
[MSVCRT:APITEST]
Update encoding, no code changes.

svn path=/trunk/; revision=57528

11 years ago[MSVCRT:APITEST]
Hermès Bélusca-Maïto [Tue, 9 Oct 2012 22:03:50 +0000 (22:03 +0000)]
[MSVCRT:APITEST]
Move cmdline_util to CmdLineUtil and locate it in bin/data instead of bin

svn path=/trunk/; revision=57527

11 years ago[BOOTDATA-CMAKE]
Hermès Bélusca-Maïto [Tue, 9 Oct 2012 22:00:47 +0000 (22:00 +0000)]
[BOOTDATA-CMAKE]
Add a bin\data directory for holding data files which can be used for tests.

svn path=/trunk/; revision=57526

11 years ago[UNIATA]
Amine Khaldi [Tue, 9 Oct 2012 21:02:00 +0000 (21:02 +0000)]
[UNIATA]
* Sync to 0.44b4.
CORE-6563

svn path=/trunk/; revision=57525

11 years ago[MSVCRT:APITEST]
Hermès Bélusca-Maïto [Tue, 9 Oct 2012 20:56:11 +0000 (20:56 +0000)]
[MSVCRT:APITEST]
- Add a test which allows testing the command line argument lpCmdLine in WinMain function (GUI programs).

svn path=/trunk/; revision=57524

11 years ago[RASAPI32]
Amine Khaldi [Tue, 9 Oct 2012 18:58:10 +0000 (18:58 +0000)]
[RASAPI32]
CORE-6731
* Export RasGetLinkStatistics (as a stub).

svn path=/trunk/; revision=57523

11 years ago[SAMSRV]
Eric Kohl [Mon, 8 Oct 2012 22:48:08 +0000 (22:48 +0000)]
[SAMSRV]
Make the SamIFree routines clean-up properly.

svn path=/trunk/; revision=57522

11 years ago[LSASRV]
Eric Kohl [Mon, 8 Oct 2012 22:45:47 +0000 (22:45 +0000)]
[LSASRV]
Don't stop searching if a name or SID could not be mapped yet.

svn path=/trunk/; revision=57521

11 years ago[LSASRV]
Eric Kohl [Mon, 8 Oct 2012 19:23:06 +0000 (19:23 +0000)]
[LSASRV]
- Add missing SAM domain lookup code.
- Fix a bug in the calls to SamrCloseHandle.

svn path=/trunk/; revision=57520

11 years ago[CSQ]
Thomas Faber [Mon, 8 Oct 2012 10:11:42 +0000 (10:11 +0000)]
[CSQ]
- Do not complete IRP while likely holding a spinlock

svn path=/trunk/; revision=57519

11 years ago[RTL]
Timo Kreuzer [Sun, 7 Oct 2012 21:36:50 +0000 (21:36 +0000)]
[RTL]
- Fix a bug in RtlAreAnyAccessesGranted
- Fix an MSVC warning in RtlEqualPrefixSid

[CRT]
- Fix an MSVC warning in _ui64tow_s

[NTOSKRNL]
- DPRINT the filename when MmLoadSystemImage fails
- Fix a few MSVC warnings

svn path=/trunk/; revision=57518

11 years ago[LSASRV]
Eric Kohl [Sun, 7 Oct 2012 18:33:48 +0000 (18:33 +0000)]
[LSASRV]
Implement lookup of accounts in the account domain of the SAM database. The advapi32 security winetest shows proper domain and account names for the administrator and guest SIDs.

svn path=/trunk/; revision=57517

11 years ago[SAMSRV]
Eric Kohl [Sun, 7 Oct 2012 17:38:16 +0000 (17:38 +0000)]
[SAMSRV]
Implement SamIFree_SAMPR_RETURNED_USTRING_ARRAY and SamIFree_SAMPR_ULONG_ARRAY.
These functions are used to free structures that were allocated by calls to Samr-functions.

svn path=/trunk/; revision=57516

11 years ago[APITEST:NTDLL]
Hermès Bélusca-Maïto [Sun, 7 Oct 2012 14:17:37 +0000 (14:17 +0000)]
[APITEST:NTDLL]
Add a parameter for displaying the current test number when something fails.

svn path=/trunk/; revision=57515

11 years ago[NTOSKRNL]
Hermès Bélusca-Maïto [Sun, 7 Oct 2012 14:16:13 +0000 (14:16 +0000)]
[NTOSKRNL]
In NtQuerySystemEnvironmentValue :
- Use a fixed-length buffer size for holding a temporary variable.
- Correct the pool TAG.

svn path=/trunk/; revision=57514

11 years ago[APITEST:NTDLL]
Hermès Bélusca-Maïto [Sun, 7 Oct 2012 12:46:44 +0000 (12:46 +0000)]
[APITEST:NTDLL]
Improve the code.

svn path=/trunk/; revision=57513

11 years ago[APITEST:NTDLL]
Hermès Bélusca-Maïto [Sun, 7 Oct 2012 12:31:13 +0000 (12:31 +0000)]
[APITEST:NTDLL]
Add a test for the NtQuerySystemEnvironmentValue API.
Tested successfully under Win2k3 SP1 and Win7.

svn path=/trunk/; revision=57512

11 years ago[LSASRV]
Eric Kohl [Sun, 7 Oct 2012 12:10:45 +0000 (12:10 +0000)]
[LSASRV]
- Store the names and SIDs of the built-in and account domains in global vaiables.
- Move the lookup code for isolated names to a separate function.

svn path=/trunk/; revision=57511

11 years ago[WIN32K]
Timo Kreuzer [Sun, 7 Oct 2012 10:03:31 +0000 (10:03 +0000)]
[WIN32K]
Fix missing colorTriple increment when creating the color table in GreGetDIBitsInternal.

svn path=/trunk/; revision=57510

11 years ago[GDI32]
Timo Kreuzer [Sun, 7 Oct 2012 09:35:32 +0000 (09:35 +0000)]
[GDI32]
Use a struct do define the combined DIBSECTION/BITMAPINFO buffer in CreateCompatibleBitmap, to make it more clear how it works. See CID 716216

svn path=/trunk/; revision=57509

11 years ago[LSASRV]
Eric Kohl [Sun, 7 Oct 2012 09:18:23 +0000 (09:18 +0000)]
[LSASRV]
Implement LsaIOpenPolicyTrusted as described in http://code.google.com/p/mimikatz/source/browse/trunk/librairies/sekurlsa/secrets.cpp?r=24.

svn path=/trunk/; revision=57508

11 years ago[WIN32K][USER32]
Timo Kreuzer [Sun, 7 Oct 2012 08:43:54 +0000 (08:43 +0000)]
[WIN32K][USER32]
Chnge return type of ClientLoadLibrary to BOOL. Previously it returned HMODULE in both the load and unload case, being a meaningless value in the latter case. All users of this function were using it as a boolean parameter only.

svn path=/trunk/; revision=57507

11 years ago[NTOSKRNL]
Hermès Bélusca-Maïto [Sat, 6 Oct 2012 21:42:19 +0000 (21:42 +0000)]
[NTOSKRNL]
Some ExFreePool -> ExFreePoolWithTag

CORE-6725 #resolve #comment Committed in r57506.

svn path=/trunk/; revision=57506

11 years ago[WIN32K]
Timo Kreuzer [Sat, 6 Oct 2012 20:15:36 +0000 (20:15 +0000)]
[WIN32K]
Use ExAllocatePoolWithTag instead of ExAllocatePool

svn path=/trunk/; revision=57505

11 years ago[NTOSKRNL]
Hermès Bélusca-Maïto [Sat, 6 Oct 2012 19:50:17 +0000 (19:50 +0000)]
[NTOSKRNL]
Rearrange the NtQuerySystemEnvironmentValue code to have successive logical checks.

svn path=/trunk/; revision=57504

11 years ago[LSASRV]
Eric Kohl [Sat, 6 Oct 2012 19:37:10 +0000 (19:37 +0000)]
[LSASRV]
- Make LsarLookupNames, LsarLookupNames2 and LsarLookupNames4 call LsapLookupNames and convert the results where this is needed.
- Split the lookup code in LsapLookupSids into separate functions.

svn path=/trunk/; revision=57503

11 years ago[WIN32K]
Timo Kreuzer [Sat, 6 Oct 2012 19:24:14 +0000 (19:24 +0000)]
[WIN32K]
Use ExFreePoolWithTag instead of ExFreePool in SpiNotifyNCMetricsChanged.
Fixes CID 716644

svn path=/trunk/; revision=57502

11 years ago[WIN32K]
Timo Kreuzer [Sat, 6 Oct 2012 19:04:36 +0000 (19:04 +0000)]
[WIN32K]
- Keep an additional reference while processing the message list of a message queue
- CID 716808

svn path=/trunk/; revision=57501

11 years ago[NTOSKRNL]
Hermès Bélusca-Maïto [Sat, 6 Oct 2012 18:49:23 +0000 (18:49 +0000)]
[NTOSKRNL]
Use TAG_FSTUB instead of 'BtsF'

svn path=/trunk/; revision=57500

11 years ago[NTOSKRNL]
Hermès Bélusca-Maïto [Sat, 6 Oct 2012 18:46:13 +0000 (18:46 +0000)]
[NTOSKRNL]
Fix Coverity defects : CID 716579, 716580 and 716582.

svn path=/trunk/; revision=57499

11 years ago[NTDLL_APITEST]
Hermès Bélusca-Maïto [Sat, 6 Oct 2012 14:50:18 +0000 (14:50 +0000)]
[NTDLL_APITEST]
Initialize Length to default value.

svn path=/trunk/; revision=57498

11 years ago[BMFD]
Timo Kreuzer [Sat, 6 Oct 2012 14:35:52 +0000 (14:35 +0000)]
[BMFD]
- Remove a pointless check (CID 731583)
- Add a comment
- Simplify code

svn path=/trunk/; revision=57497

11 years ago[WIN32K]
Timo Kreuzer [Sat, 6 Oct 2012 14:23:22 +0000 (14:23 +0000)]
[WIN32K]
- Fix detection of trivial clipping region
- CID 731584

svn path=/trunk/; revision=57496

11 years ago[WIN32K]
Timo Kreuzer [Sat, 6 Oct 2012 12:21:41 +0000 (12:21 +0000)]
[WIN32K]
Disable APCs when acquiring the pushlock.

svn path=/trunk/; revision=57495

11 years ago[WIN23K]
Timo Kreuzer [Sat, 6 Oct 2012 12:16:06 +0000 (12:16 +0000)]
[WIN23K]
- Make LFONTs (for some incomprehensible reason called TEXTOBJ in ros) shared objects, as they are supposed to be. Since that conflicts with our totally broken font code that happily messes with the LFONT's contents, an additional push lock is aquired to get exclusive ownership.

svn path=/trunk/; revision=57494

11 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 6 Oct 2012 09:47:15 +0000 (09:47 +0000)]
[NTOSKRNL]
Add missing break in KdpServiceDispatcher

svn path=/trunk/; revision=57493

11 years ago[GDI32]
Timo Kreuzer [Sat, 6 Oct 2012 08:33:17 +0000 (08:33 +0000)]
[GDI32]
- Use GdiAllocBatchCommand in DeleteObject instead of doing all manually

svn path=/trunk/; revision=57492

11 years ago[NtUser]
James Tabor [Sat, 6 Oct 2012 02:36:46 +0000 (02:36 +0000)]
[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

11 years ago[REGEDIT]
Hermès Bélusca-Maïto [Fri, 5 Oct 2012 20:08:16 +0000 (20:08 +0000)]
[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

11 years ago[LSASRV]
Eric Kohl [Fri, 5 Oct 2012 19:41:14 +0000 (19:41 +0000)]
[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

11 years ago[LSASRV]
Eric Kohl [Fri, 5 Oct 2012 17:34:23 +0000 (17:34 +0000)]
[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

11 years ago[RTL]: Fix typo in RtlValidAcl.
Alex Ionescu [Fri, 5 Oct 2012 15:20:10 +0000 (15:20 +0000)]
[RTL]: Fix typo in RtlValidAcl.

svn path=/trunk/; revision=57487

11 years ago[SHELL32]
Thomas Faber [Fri, 5 Oct 2012 10:51:54 +0000 (10:51 +0000)]
[SHELL32]
- Fix yet another missing "this->", spotted by Igor Sudarikov
CORE-6722 #resolve #comment Good catch, thanks.

svn path=/trunk/; revision=57486

11 years ago[SHELL32]
Thomas Faber [Thu, 4 Oct 2012 23:46:59 +0000 (23:46 +0000)]
[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

11 years ago[LSASRV]
Eric Kohl [Thu, 4 Oct 2012 21:59:23 +0000 (21:59 +0000)]
[LSASRV]
Implement LsarEnumerateAccountRights. It is still WIP (Work In Progress).

svn path=/trunk/; revision=57484

11 years ago[NtUser]
James Tabor [Thu, 4 Oct 2012 20:00:28 +0000 (20:00 +0000)]
[NtUser]
- Fix all but one DCE scroll test.
- Old patch at least two year old or more.

svn path=/trunk/; revision=57483

11 years ago[RTL]: Implement and half-plement the Object Security APIs. In most cases, ultimately...
Alex Ionescu [Thu, 4 Oct 2012 19:32:18 +0000 (19:32 +0000)]
[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

11 years ago[RTL]: Add all the missing Rtl*Security*Object APIs and put them all in security...
Alex Ionescu [Thu, 4 Oct 2012 18:48:15 +0000 (18:48 +0000)]
[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

11 years ago[LSASRV]
Eric Kohl [Thu, 4 Oct 2012 18:22:55 +0000 (18:22 +0000)]
[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

11 years ago[NDK]: forgot this ,sorry.
Alex Ionescu [Thu, 4 Oct 2012 17:08:51 +0000 (17:08 +0000)]
[NDK]: forgot this ,sorry.

svn path=/trunk/; revision=57479

11 years ago[RTL]: Cleanup, comment, and fix SID functions. For example, RtlEqualPrefixSid actual...
Alex Ionescu [Thu, 4 Oct 2012 16:55:53 +0000 (16:55 +0000)]
[RTL]: Cleanup, comment, and fix SID functions. For example, RtlEqualPrefixSid actually checks only the prefix, not the entire SID.

svn path=/trunk/; revision=57478

11 years ago[APITESTS/USER32]
Jérôme Gardou [Thu, 4 Oct 2012 13:38:26 +0000 (13:38 +0000)]
[APITESTS/USER32]
Improve GetIconInfo tests:
 -Stop leaking each handle we create
 -Show Icons sensitivity to screen bit depth

svn path=/trunk/; revision=57477

11 years ago[RTL]: CORE-6713 #resolve #time 10m #comment Use explicit checks when checking for...
Alex Ionescu [Thu, 4 Oct 2012 06:28:58 +0000 (06:28 +0000)]
[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

11 years ago[NTOSKRNL]: CORE-6698 #resolve #time 5m #comment Add correct error handling during...
Alex Ionescu [Thu, 4 Oct 2012 06:19:42 +0000 (06:19 +0000)]
[NTOSKRNL]: CORE-6698 #resolve #time 5m #comment Add correct error handling during session space view mapping.

svn path=/trunk/; revision=57475

11 years ago[NTOS]: CORE-6204 #resolve #time 10m #comment Do not touch NextEntry after removing...
Alex Ionescu [Thu, 4 Oct 2012 06:16:53 +0000 (06:16 +0000)]
[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

11 years ago[REGEDIT]
Hermès Bélusca-Maïto [Wed, 3 Oct 2012 22:51:53 +0000 (22:51 +0000)]
[REGEDIT]
... and this line of code (I'm sorry for the generated noise :-( )

svn path=/trunk/; revision=57473

11 years ago[REGEDIT]
Hermès Bélusca-Maïto [Wed, 3 Oct 2012 22:50:06 +0000 (22:50 +0000)]
[REGEDIT]
- Forgot to remove a comment

svn path=/trunk/; revision=57472

11 years ago[REGEDIT]
Hermès Bélusca-Maïto [Wed, 3 Oct 2012 22:42:34 +0000 (22:42 +0000)]
[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

11 years ago[CLB]
Hermès Bélusca-Maïto [Wed, 3 Oct 2012 21:58:28 +0000 (21:58 +0000)]
[CLB]
- Code cleaning

svn path=/trunk/; revision=57470

11 years ago[KMTEST:KE]
Thomas Faber [Wed, 3 Oct 2012 20:52:33 +0000 (20:52 +0000)]
[KMTEST:KE]
- Show that Mutexes disable APCs when acquired, while Mutants don't

svn path=/trunk/; revision=57469

11 years ago[NTOSKERNEL] Stop KeRundownThread from bugchecking on at least CTRL_C for console...
Mike Nordell [Wed, 3 Oct 2012 19:51:22 +0000 (19:51 +0000)]
[NTOSKERNEL] Stop KeRundownThread from bugchecking on at least CTRL_C for console app.

svn path=/trunk/; revision=57468

11 years ago[WIN32K]
Timo Kreuzer [Wed, 3 Oct 2012 19:39:11 +0000 (19:39 +0000)]
[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

11 years ago[NTOSKRNL]
Thomas Faber [Wed, 3 Oct 2012 19:01:47 +0000 (19:01 +0000)]
[NTOSKRNL]
- Add an ASSERT in KeRundownThread

svn path=/trunk/; revision=57466

11 years ago[NTOSKERNEL] Refactoring KiSatisfyObjectWait macro to prevent code duplication.
Mike Nordell [Wed, 3 Oct 2012 17:57:14 +0000 (17:57 +0000)]
[NTOSKERNEL] Refactoring KiSatisfyObjectWait macro to prevent code duplication.

svn path=/trunk/; revision=57465

11 years ago[LSASRV]
Eric Kohl [Wed, 3 Oct 2012 13:05:06 +0000 (13:05 +0000)]
[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

11 years ago[REGEDIT]
Hermès Bélusca-Maïto [Tue, 2 Oct 2012 23:43:55 +0000 (23:43 +0000)]
[REGEDIT]
- Don't forget to close the file handle.

svn path=/trunk/; revision=57463

11 years ago[REGEDIT]
Hermès Bélusca-Maïto [Tue, 2 Oct 2012 23:29:22 +0000 (23:29 +0000)]
[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

11 years ago[LSASRV]
Eric Kohl [Tue, 2 Oct 2012 23:14:38 +0000 (23:14 +0000)]
[LSASRV]
LsarLookupNames3: Use the existing list of well known SIDs to look-up well known account names.

svn path=/trunk/; revision=57461

11 years ago[LIBCNTPR] Add atan2
Timo Kreuzer [Tue, 2 Oct 2012 21:43:47 +0000 (21:43 +0000)]
[LIBCNTPR] Add atan2
[WIN32K] Remove duplicated floating point math functions
[CPORTLIB] Fix an MSVC warning

svn path=/trunk/; revision=57460

11 years ago[WIN32K]
Timo Kreuzer [Tue, 2 Oct 2012 21:20:28 +0000 (21:20 +0000)]
[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

11 years ago[RTL]: Fix bugs in SD rewrite, bringing tests back to 73 failures instead of 117...
Alex Ionescu [Tue, 2 Oct 2012 16:05:26 +0000 (16:05 +0000)]
[RTL]: Fix bugs in SD rewrite, bringing tests back to 73 failures instead of 117 (back to their normal).

svn path=/trunk/; revision=57458

11 years ago[ADVAPI32]
Eric Kohl [Tue, 2 Oct 2012 11:43:50 +0000 (11:43 +0000)]
[ADVAPI32]
- Implement LsaQueryForestTrustInformation and LsaSetForestTrustInformation.

svn path=/trunk/; revision=57457

11 years ago[REGEDIT
Hermès Bélusca-Maïto [Mon, 1 Oct 2012 23:16:43 +0000 (23:16 +0000)]
[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

11 years ago[WIN32K]
Timo Kreuzer [Mon, 1 Oct 2012 23:10:10 +0000 (23:10 +0000)]
[WIN32K]
Sorry forgot to commit this file

svn path=/trunk/; revision=57455

11 years ago[NTOSKRNL]
Timo Kreuzer [Mon, 1 Oct 2012 23:06:32 +0000 (23:06 +0000)]
[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

11 years ago[REGEDIT]
Hermès Bélusca-Maïto [Mon, 1 Oct 2012 22:00:38 +0000 (22:00 +0000)]
[REGEDIT]
- Update informative messages

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

svn path=/trunk/; revision=57453

11 years ago[LSASRV] Add missing breaks (addendum to r57391)
Hervé Poussineau [Mon, 1 Oct 2012 19:24:07 +0000 (19:24 +0000)]
[LSASRV] Add missing breaks (addendum to r57391)

svn path=/trunk/; revision=57452

11 years ago[LSASRV]
Eric Kohl [Mon, 1 Oct 2012 10:24:19 +0000 (10:24 +0000)]
[LSASRV]
LsarOpenSecret: Do not check the granted access of the policy handle and return the proper status code.

svn path=/trunk/; revision=57451

11 years ago[RTL]: Reformat, rewrite, comment, and fix when relevant the Rtl*SecurityDescriptor...
Alex Ionescu [Mon, 1 Oct 2012 03:02:12 +0000 (03:02 +0000)]
[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

11 years ago[LSASRV]
Eric Kohl [Sun, 30 Sep 2012 23:50:30 +0000 (23:50 +0000)]
[LSASRV]
Get rid of the ugly container object code. Let LsapCreateDbObject and LsapOpenDbObject handle container objects instead.

svn path=/trunk/; revision=57449

11 years ago[LSASRV]
Eric Kohl [Sun, 30 Sep 2012 22:41:34 +0000 (22:41 +0000)]
[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

11 years ago[DISKPART]
Roel Messiant [Sun, 30 Sep 2012 22:25:26 +0000 (22:25 +0000)]
[DISKPART]
- Correct command processing following the first command in interactive mode.
- Correct invocation of command-specific help functions.

svn path=/trunk/; revision=57447

11 years ago[WIN32K]
Timo Kreuzer [Sun, 30 Sep 2012 22:02:02 +0000 (22:02 +0000)]
[WIN32K]
Fix the hack, so it doesn't cause overwriting of usermode memory.

svn path=/trunk/; revision=57445

11 years ago[WIN32K]
Timo Kreuzer [Sun, 30 Sep 2012 21:21:03 +0000 (21:21 +0000)]
[WIN32K]
Hack around completely broken GreGetDIBitsInternal. Fixes bugcheck caused by gdi32_winetest bitmap.

svn path=/trunk/; revision=57444

11 years ago[WIN32K]
Timo Kreuzer [Sun, 30 Sep 2012 20:30:23 +0000 (20:30 +0000)]
[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

11 years ago[NET]
Roel Messiant [Sun, 30 Sep 2012 19:47:28 +0000 (19:47 +0000)]
[NET]
- Correct copying of arguments into temporary buffer.
- Remove some debug prints.

svn path=/trunk/; revision=57442

11 years ago[INCLUDE]
Eric Kohl [Sun, 30 Sep 2012 17:15:37 +0000 (17:15 +0000)]
[INCLUDE]
Add missing account right strings and system account flags.

svn path=/trunk/; revision=57441

11 years ago[GDI32]
Timo Kreuzer [Sun, 30 Sep 2012 14:53:46 +0000 (14:53 +0000)]
[GDI32]
- Some fixes for CreateDIBitmap (Patch by Victor Martinez, modified by me) CORE-6420 #resolve
- Fix warning on MSVC

svn path=/trunk/; revision=57440

11 years ago[SPEC2DEF]
Timo Kreuzer [Sat, 29 Sep 2012 22:58:06 +0000 (22:58 +0000)]
[SPEC2DEF]
Implement support for int128.
CORE-6630 #resolve

svn path=/trunk/; revision=57439