reactos.git
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

11 years ago[LSASRV]
Eric Kohl [Sat, 29 Sep 2012 22:52:30 +0000 (22:52 +0000)]
[LSASRV]
- Fix a typo: LsarEnmuerateAccountRights --> LsarEnumerateAccountRights.
- Implement LsarEnumeratePrivileges.

svn path=/trunk/; revision=57438

11 years ago[CLASSPNP]
Timo Kreuzer [Sat, 29 Sep 2012 22:44:48 +0000 (22:44 +0000)]
[CLASSPNP]
- Make srb volatile, since it's assigned inside SEH and referenced in finally
[NTOSKRNL]
- FsRtlTeardownPerStreamContexts: make IsMutexLocked volatile (SEH)
- IoCreateFile: Make SystemEaBuffer volatile (SEH), save status and information in the caller's IoStatusBlock, cleanup and fail when IoCheckEaBufferValidity failed with PreviousMode == KernelMode, too.
- NtLockFile: Move ExAllocatePoolWithTag out of the SEH block. ExAllocatePoolWithTag does not raise an exception by default (unlike ExAllocatePoolWithQuotaTag). Get rid of this SEH block completely and check the return value instead.
- NtQueryDirectoryFile: make AuxBuffer volatile (SEH), again move ExAllocatePoolWithTag out of the SEH block and check return value instead.
IopCaptureUnicodeString: Make Name volatile (SEH)

svn path=/trunk/; revision=57437

11 years ago[BROWSEUI_WINETEST]: Sync to Wine 1.5.13.
Amine Khaldi [Sat, 29 Sep 2012 17:50:50 +0000 (17:50 +0000)]
[BROWSEUI_WINETEST]: Sync to Wine 1.5.13.
CORE-6415

svn path=/trunk/; revision=57436

11 years ago[LAN]
Timo Kreuzer [Sat, 29 Sep 2012 16:41:34 +0000 (16:41 +0000)]
[LAN]
Add a "comment" that will notify whoever wants to compile this poc, to move the IoCompleteRequest out of the SEH block.

svn path=/trunk/; revision=57435

11 years ago[LAN]
Timo Kreuzer [Sat, 29 Sep 2012 16:19:30 +0000 (16:19 +0000)]
[LAN]
Improve formatting, move function comments out of the function body and convert them to javadoc / doxygen style

svn path=/trunk/; revision=57434

11 years ago[RSYM_CMAKE]
Timo Kreuzer [Sat, 29 Sep 2012 15:28:46 +0000 (15:28 +0000)]
[RSYM_CMAKE]
Improve the code a bit. No functional change.

svn path=/trunk/; revision=57433

11 years ago[MSVCRT_WINETEST]: Sync to Wine 1.5.13.
Amine Khaldi [Sat, 29 Sep 2012 14:28:48 +0000 (14:28 +0000)]
[MSVCRT_WINETEST]: Sync to Wine 1.5.13.
CORE-6415

svn path=/trunk/; revision=57432

11 years ago[RSYM_CMAKE]
Timo Kreuzer [Sat, 29 Sep 2012 14:13:16 +0000 (14:13 +0000)]
[RSYM_CMAKE]
Improve formatting, no code change

svn path=/trunk/; revision=57431

11 years ago* Shell32 (a forked module) was jealous because of shlwapi getting synced.
Amine Khaldi [Sat, 29 Sep 2012 13:27:13 +0000 (13:27 +0000)]
* Shell32 (a forked module) was jealous because of shlwapi getting synced.

svn path=/trunk/; revision=57430

11 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 29 Sep 2012 13:22:31 +0000 (13:22 +0000)]
[NTOSKRNL]
- Allocate a capture buffer outside of SEH in NtAddAtom and NtRaiseHardError
- Call ExpGetCurrentUserUILanguage outside of SEH in NtQueryDefaultUILanguage and return the actual result instead of returning PsInstallUILanguageId in case of success.
- Don't allocate a unicode string inside SEH in NtQuerySystemEnvironmentValue, instead use RtlAnsiStringToUnicodeString directly on the callers buffer.
CORE-6624

svn path=/trunk/; revision=57429

11 years ago[SHLWAPI_WINETEST]: Sync to Wine 1.5.13.
Amine Khaldi [Sat, 29 Sep 2012 13:14:50 +0000 (13:14 +0000)]
[SHLWAPI_WINETEST]: Sync to Wine 1.5.13.
CORE-6415

svn path=/trunk/; revision=57428

11 years ago[SHLWAPI]: Sync to Wine 1.5.13.
Amine Khaldi [Sat, 29 Sep 2012 13:14:20 +0000 (13:14 +0000)]
[SHLWAPI]: Sync to Wine 1.5.13.
CORE-6415
CORE-5759 #resolve #comment Fixed in r57427.

svn path=/trunk/; revision=57427

11 years ago[PSDK]: Sync wintrust.h with Wine 1.5.14
Amine Khaldi [Sat, 29 Sep 2012 11:27:12 +0000 (11:27 +0000)]
[PSDK]: Sync wintrust.h with Wine 1.5.14
CORE-6365 #resolve #comment Committed in r57425. Thanks Carlo ;)

svn path=/trunk/; revision=57425

11 years ago[NPFS]
Thomas Faber [Sat, 29 Sep 2012 11:20:25 +0000 (11:20 +0000)]
[NPFS]
- Reset read and write events directly before waiting. Fixes an issue where a read could return 0 bytes if the previous read had read all available data without waiting (thus leaving the event set).

svn path=/trunk/; revision=57424

11 years ago[DESK]
Timo Kreuzer [Sat, 29 Sep 2012 09:26:34 +0000 (09:26 +0000)]
[DESK]
Enhance 8-bit spectrum bitmap. Patch by Lee Schroeder.
CORE-6069 #resolve

svn path=/trunk/; revision=57423

11 years ago[FORMATTING]
Eric Kohl [Sat, 29 Sep 2012 09:06:42 +0000 (09:06 +0000)]
[FORMATTING]
- Fix indentation.
- Remove dead code.
No code changes!

svn path=/trunk/; revision=57422

11 years ago[NPFS]
Thomas Faber [Sat, 29 Sep 2012 09:05:18 +0000 (09:05 +0000)]
[NPFS]
- Do not access ThreadContext after freeing it in NpfsWaiterThread
- Correctly update Vcb->EmptyWaiterCount when terminating in NpfsWaiterThread
- Fix more MSVC warnings, lots of DPRINTs

svn path=/trunk/; revision=57421

11 years ago[INCLUDE]
Eric Kohl [Sat, 29 Sep 2012 08:39:40 +0000 (08:39 +0000)]
[INCLUDE]
Fix the declarations of LsarQueryTrustedDomainInfoByName and LsarSetTrustedDomainInfoByName.

svn path=/trunk/; revision=57420

11 years ago[NPFS]
Thomas Faber [Sat, 29 Sep 2012 08:19:24 +0000 (08:19 +0000)]
[NPFS]
- Fix return status if no listening server found in NpfsCreate
- Do not use obsolete function MmGetSystemAddressForMdl
- Fix a few MSVC/GCC 4.7 warnings
- Correctly handle device/root FCB allocation failure
- Fix type of NPFS_CCB::RefCount

svn path=/trunk/; revision=57419

11 years ago[NTOSKRNL]
Timo Kreuzer [Fri, 28 Sep 2012 23:32:59 +0000 (23:32 +0000)]
[NTOSKRNL]
Fix file header. Patch by Lee Schoeder.
WDA-6701 #resolve

svn path=/trunk/; revision=57418

11 years ago[LSASRV]
Eric Kohl [Fri, 28 Sep 2012 22:18:59 +0000 (22:18 +0000)]
[LSASRV]
Update LsarQueryDomainInformationPolicy and LsarSetDomainInformationPolicy according to the changes in the IDL file.

svn path=/trunk/; revision=57417

11 years ago[ADVAPI32]
Eric Kohl [Fri, 28 Sep 2012 22:11:18 +0000 (22:11 +0000)]
[ADVAPI32]
Implement LsaGetRemoteUserName, LsaQueryDomainInformationPolicy and LsaSetDomainInformationPolicy.

svn path=/trunk/; revision=57416

11 years ago[CMD]
Hermès Bélusca-Maïto [Fri, 28 Sep 2012 19:36:49 +0000 (19:36 +0000)]
[CMD]
- Clarify the code, no functional changes.

svn path=/trunk/; revision=57415

11 years ago[BOOTDATA]
Hermès Bélusca-Maïto [Fri, 28 Sep 2012 19:04:37 +0000 (19:04 +0000)]
[BOOTDATA]
- Revert rev.57413. Indeed, when one boots ReactOS without debugging (selecting the first entry in the boot menu), the COM1 symbolic link (corresponding to \Device\Serial0) is created automatically by the serial driver. However, when one boots in debugging mode (selecting the second entry -- ReactOS (Debug) --), then for some reason the COM1 link isn't created (albeit \Device\Serial0 is). Therefore the real problem is elsewhere. Seems that it has something to share with http://jira.reactos.org/browse/CORE-4263

svn path=/trunk/; revision=57414

11 years ago[BOOTDATA]
Hermès Bélusca-Maïto [Fri, 28 Sep 2012 18:46:46 +0000 (18:46 +0000)]
[BOOTDATA]
- HACK: Add artificially a symbolic link to the first COM port, because it happens for
whatever reason that the serial.sys driver doesn't create it when it creates the Serial0
device. When this functionality is repaired, the HACK shall disappear.

svn path=/trunk/; revision=57413

11 years ago[NTOSKRNL]
Hermès Bélusca-Maïto [Fri, 28 Sep 2012 12:17:23 +0000 (12:17 +0000)]
[NTOSKRNL]
- ExFreePool --> ExFreePoolWithTag in some places.
- Remove dead code (section.c)
- Free resource (sysldr.c)

svn path=/trunk/; revision=57412

11 years ago[NTOSKRNL]
Hermès Bélusca-Maïto [Fri, 28 Sep 2012 10:01:00 +0000 (10:01 +0000)]
[NTOSKRNL]
- Revert rev.57400 only for this file since CID 701342 was a false-positive from Coverity (because Coverity doesn't know what the aim of the POOL_RAISE_IF_ALLOCATION_FAILURE is).

svn path=/trunk/; revision=57411

11 years ago[ADVAPI32]
Eric Kohl [Fri, 28 Sep 2012 09:19:37 +0000 (09:19 +0000)]
[ADVAPI32]
- Implement LsaRemovePrivilegesFromAccount.
- Add stubs for LsaGetRemoteUserName, LsaLookupPrivilegeDisplayName, LsaOpenPolicySce and LsaSetInformationTrustedDomain.
- Fix some issues in the spec file.

svn path=/trunk/; revision=57410

11 years ago[KMTESTS]
Thomas Faber [Fri, 28 Sep 2012 07:13:26 +0000 (07:13 +0000)]
[KMTESTS]
- Fix GCC build

svn path=/trunk/; revision=57409

11 years ago[KMTESTS:KE]
Thomas Faber [Fri, 28 Sep 2012 07:09:08 +0000 (07:09 +0000)]
[KMTESTS:KE]
- Add test for KeInitializeMutant vs KeInitializeMutex. Dedicated to Mike.

svn path=/trunk/; revision=57408

11 years ago[KERNEL32]
Hermès Bélusca-Maïto [Thu, 27 Sep 2012 22:07:06 +0000 (22:07 +0000)]
[KERNEL32]
- Reworking the Find* APIs in kernel32. Fixes some kernel32_winetest:file failures.
- The FindExInfoBasic information level for FindFirstFileEx, is also implemented.
- Update ndk and psdk headers regarding to this work.

CORE-6623 #comment Committed in rev.57407. #resolve

svn path=/trunk/; revision=57407

11 years agoFix build
Timo Kreuzer [Thu, 27 Sep 2012 22:01:26 +0000 (22:01 +0000)]
Fix build

svn path=/trunk/; revision=57406

11 years ago[CRT]
Timo Kreuzer [Thu, 27 Sep 2012 21:56:13 +0000 (21:56 +0000)]
[CRT]
Implement wcstombs_s

svn path=/trunk/; revision=57405

11 years ago[CRT]
Timo Kreuzer [Thu, 27 Sep 2012 21:53:25 +0000 (21:53 +0000)]
[CRT]
Implement _mbsnlen, _mbstrnlen

svn path=/trunk/; revision=57404

11 years ago[CRT_APITEST]
Timo Kreuzer [Thu, 27 Sep 2012 21:46:39 +0000 (21:46 +0000)]
[CRT_APITEST]
- Add tests for wcstombs_s
- Improve tests for mbstowcs_s

svn path=/trunk/; revision=57403

11 years ago[CSRSS/CSRSRV]
Hermès Bélusca-Maïto [Thu, 27 Sep 2012 18:44:50 +0000 (18:44 +0000)]
[CSRSS/CSRSRV]
- Do not compile anymore the old CSRSS.
- Update some headers and resource files.
- Add header guards in srv.h

svn path=/trunk/; revision=57402

11 years ago[BOOTDATA]
Hermès Bélusca-Maïto [Thu, 27 Sep 2012 18:18:36 +0000 (18:18 +0000)]
[BOOTDATA]
- Correct the version signature of some inf files.

CORE-6549 #comment Committed in rev.57401 #resolved

svn path=/trunk/; revision=57401

11 years ago[NTOSKRNL]
Hermès Bélusca-Maïto [Thu, 27 Sep 2012 17:16:31 +0000 (17:16 +0000)]
[NTOSKRNL]
Coverity code defects fixes :
- Cache: CID 701441
- Config: CIDs 716570, 716669, 716760
- Dbgk: Kdbg: CIDs 716571, 515128/9, 500432
- Ex: CIDs 500156/7, 515122, 716200/67, 701301, 514669
- Fsrtl: Fstub: CIDs 701341/2, 701288, 716770, 701302, and CIDs 716576/7/8 + 514636 + 716805 thanks to Thomas Faber
- Io: CIDs 514576, 514643, 514672/3, 716203, 716269, 716581, 716591, 716713
- Ke: CIDs 515125, 716592
- Ps: CIDs 716603/4, 701422
- Ob: Po: CIDs 514671/680, 701419/420/421, 716763, 716601/2
All the details are given in the different bug reports.

CORE-6677 CORE-6679 CORE-6680 CORE-6683 CORE-6686 CORE-6692 CORE-6693 CORE-6694 CORE-6695 CORE-6696 #comment Committed in rev.57400 #resolve #close

svn path=/trunk/; revision=57400

11 years ago[NTOSKRNL]
Hermès Bélusca-Maïto [Thu, 27 Sep 2012 13:39:14 +0000 (13:39 +0000)]
[NTOSKRNL]
- Code formatting
- It's my first commit \o/
CORE-6687 #comment Committed. #resolve

svn path=/trunk/; revision=57399