Commit graph

51998 commits

Author SHA1 Message Date
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
Timo Kreuzer
12d5c03fcc [GDI32]
- Some fixes for CreateDIBitmap (Patch by Victor Martinez, modified by me) CORE-6420 #resolve
- Fix warning on MSVC

svn path=/trunk/; revision=57440
2012-09-30 14:53:46 +00:00
Timo Kreuzer
23eb1826bb [SPEC2DEF]
Implement support for int128.
CORE-6630 #resolve

svn path=/trunk/; revision=57439
2012-09-29 22:58:06 +00:00
Eric Kohl
85aed37ede [LSASRV]
- Fix a typo: LsarEnmuerateAccountRights --> LsarEnumerateAccountRights.
- Implement LsarEnumeratePrivileges.

svn path=/trunk/; revision=57438
2012-09-29 22:52:30 +00:00
Timo Kreuzer
db7101e3ed [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
2012-09-29 22:44:48 +00:00
Amine Khaldi
1692f61539 [BROWSEUI_WINETEST]: Sync to Wine 1.5.13.
CORE-6415

svn path=/trunk/; revision=57436
2012-09-29 17:50:50 +00:00
Timo Kreuzer
71da3b771a [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
2012-09-29 16:41:34 +00:00
Timo Kreuzer
3534c3f9cc [LAN]
Improve formatting, move function comments out of the function body and convert them to javadoc / doxygen style

svn path=/trunk/; revision=57434
2012-09-29 16:19:30 +00:00
Timo Kreuzer
c553d21849 [RSYM_CMAKE]
Improve the code a bit. No functional change.

svn path=/trunk/; revision=57433
2012-09-29 15:28:46 +00:00
Amine Khaldi
c1abf5e96b [MSVCRT_WINETEST]: Sync to Wine 1.5.13.
CORE-6415

svn path=/trunk/; revision=57432
2012-09-29 14:28:48 +00:00
Timo Kreuzer
7c9b5e3f6c [RSYM_CMAKE]
Improve formatting, no code change

svn path=/trunk/; revision=57431
2012-09-29 14:13:16 +00:00
Amine Khaldi
f915a711ce * Shell32 (a forked module) was jealous because of shlwapi getting synced.
svn path=/trunk/; revision=57430
2012-09-29 13:27:13 +00:00
Timo Kreuzer
2cfa9a0af4 [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
2012-09-29 13:22:31 +00:00
Amine Khaldi
d28c6f3c65 [SHLWAPI_WINETEST]: Sync to Wine 1.5.13.
CORE-6415

svn path=/trunk/; revision=57428
2012-09-29 13:14:50 +00:00
Amine Khaldi
25d97f0bd9 [SHLWAPI]: Sync to Wine 1.5.13.
CORE-6415
CORE-5759 #resolve #comment Fixed in r57427.

svn path=/trunk/; revision=57427
2012-09-29 13:14:20 +00:00
Amine Khaldi
9851535539 [PSDK]: Sync wintrust.h with Wine 1.5.14
CORE-6365 #resolve #comment Committed in r57425. Thanks Carlo ;)

svn path=/trunk/; revision=57425
2012-09-29 11:27:12 +00:00
Thomas Faber
8790296cbe [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
2012-09-29 11:20:25 +00:00
Timo Kreuzer
327b7435b7 [DESK]
Enhance 8-bit spectrum bitmap. Patch by Lee Schroeder.
CORE-6069 #resolve

svn path=/trunk/; revision=57423
2012-09-29 09:26:34 +00:00
Eric Kohl
e13b43c15d [FORMATTING]
- Fix indentation.
- Remove dead code.
No code changes!

svn path=/trunk/; revision=57422
2012-09-29 09:06:42 +00:00
Thomas Faber
ce7b66fc69 [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
2012-09-29 09:05:18 +00:00
Eric Kohl
9234c97b19 [INCLUDE]
Fix the declarations of LsarQueryTrustedDomainInfoByName and LsarSetTrustedDomainInfoByName.

svn path=/trunk/; revision=57420
2012-09-29 08:39:40 +00:00
Thomas Faber
fccc5788cc [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
2012-09-29 08:19:24 +00:00
Timo Kreuzer
ca666fb5a8 [NTOSKRNL]
Fix file header. Patch by Lee Schoeder.
WDA-6701 #resolve

svn path=/trunk/; revision=57418
2012-09-28 23:32:59 +00:00
Eric Kohl
2b6f6d3e05 [LSASRV]
Update LsarQueryDomainInformationPolicy and LsarSetDomainInformationPolicy according to the changes in the IDL file.

svn path=/trunk/; revision=57417
2012-09-28 22:18:59 +00:00
Eric Kohl
4c24708b08 [ADVAPI32]
Implement LsaGetRemoteUserName, LsaQueryDomainInformationPolicy and LsaSetDomainInformationPolicy.

svn path=/trunk/; revision=57416
2012-09-28 22:11:18 +00:00
Hermès Bélusca-Maïto
893015f03c [CMD]
- Clarify the code, no functional changes.

svn path=/trunk/; revision=57415
2012-09-28 19:36:49 +00:00
Hermès Bélusca-Maïto
12d697145f [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
2012-09-28 19:04:37 +00:00
Hermès Bélusca-Maïto
8b6598628c [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
2012-09-28 18:46:46 +00:00
Hermès Bélusca-Maïto
24a14abf27 [NTOSKRNL]
- ExFreePool --> ExFreePoolWithTag in some places.
- Remove dead code (section.c)
- Free resource (sysldr.c)

svn path=/trunk/; revision=57412
2012-09-28 12:17:23 +00:00
Hermès Bélusca-Maïto
23d6a39557 [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
2012-09-28 10:01:00 +00:00
Eric Kohl
20c880bf33 [ADVAPI32]
- Implement LsaRemovePrivilegesFromAccount.
- Add stubs for LsaGetRemoteUserName, LsaLookupPrivilegeDisplayName, LsaOpenPolicySce and LsaSetInformationTrustedDomain.
- Fix some issues in the spec file.

svn path=/trunk/; revision=57410
2012-09-28 09:19:37 +00:00
Thomas Faber
2255bdd7f4 [KMTESTS]
- Fix GCC build

svn path=/trunk/; revision=57409
2012-09-28 07:13:26 +00:00
Thomas Faber
f00cc3de89 [KMTESTS:KE]
- Add test for KeInitializeMutant vs KeInitializeMutex. Dedicated to Mike.

svn path=/trunk/; revision=57408
2012-09-28 07:09:08 +00:00
Hermès Bélusca-Maïto
0ad6bb0b52 [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
2012-09-27 22:07:06 +00:00
Timo Kreuzer
0767c39956 Fix build
svn path=/trunk/; revision=57406
2012-09-27 22:01:26 +00:00
Timo Kreuzer
ed2dfd2b93 [CRT]
Implement wcstombs_s

svn path=/trunk/; revision=57405
2012-09-27 21:56:13 +00:00
Timo Kreuzer
9f08faa68c [CRT]
Implement _mbsnlen, _mbstrnlen

svn path=/trunk/; revision=57404
2012-09-27 21:53:25 +00:00