Commit graph

52390 commits

Author SHA1 Message Date
Johannes Anderwald 2b659122ba - Add assert for testing
- CORE-6676

svn path=/trunk/; revision=57795
2012-12-04 04:58:31 +00:00
Johannes Anderwald 8fc6607c24 - Do not assert on failed devices
- CORE-6794

svn path=/trunk/; revision=57794
2012-12-04 04:34:12 +00:00
Pierre Schweitzer fe2efe05a0 [FASTFAT]
ExFreePool -> ExFreePoolWithTag

svn path=/trunk/; revision=57793
2012-12-03 22:17:51 +00:00
Pierre Schweitzer 1ce876fb1f [NTOSKRNL]
ExFreePool -> ExFreePoolWithTag

svn path=/trunk/; revision=57792
2012-12-03 22:15:28 +00:00
Pierre Schweitzer a3fa598e25 [CDFS]
Allow apply the fix from r57789 to CDFS. Even if it doesn't solve the issue, it keeps being right
Ref: WDK

svn path=/trunk/; revision=57791
2012-12-02 21:04:31 +00:00
Hermès Bélusca-Maïto 2ffb757038 [USETUP]
Beautify "Entrée" and "Échap"

svn path=/trunk/; revision=57790
2012-12-02 20:17:17 +00:00
Pierre Schweitzer d43aa2dd36 [FASTFAT]
Handle special cases with search patterns in DoQuery().
This may (should?) fix kernel32_winetest::path test
Ref: WDK

svn path=/trunk/; revision=57789
2012-12-02 16:42:54 +00:00
Hermès Bélusca-Maïto 483d67dec7 Fix a counting bug (spotted by HeisSpiter a.k.a. pschweitzer :) )
svn path=/trunk/; revision=57788
2012-12-02 15:36:18 +00:00
Hermès Bélusca-Maïto 35dedc452d [NTOSKRNL]
- Skip other spaces preceding a command option instead of increasing the reading pointer of a constant (should fix KDSERIAL).
- Use a macro for representing length in chars of constant strings instead of putting magic values.

svn path=/trunk/; revision=57787
2012-12-02 15:30:59 +00:00
Timo Kreuzer 1daa25afee [VGA/VGA_NEW]
Fix MSVC warnings

svn path=/trunk/; revision=57786
2012-12-01 11:49:59 +00:00
Eric Kohl 9b5490c235 [LSASRV]
- Fix object deletion.
- Add a registry wrapper function that enables us to delete registry keys which have already been opened.
- Make LsarDelete call LsarDeleteObject because otherwise object deletion would not be possible.

svn path=/trunk/; revision=57784
2012-11-29 22:02:22 +00:00
Hermès Bélusca-Maïto 24abb04676 [KDCOM]
Fixes COM port debugging output with Virtual PC 2007. See r57781 for more details.

CORE-4247 #comment Fixed also in r57782.

svn path=/trunk/; revision=57782
2012-11-29 10:26:00 +00:00
Hermès Bélusca-Maïto 6f57060555 [KDDLL]
- Use cportlib for COM port facilities. Fixes COM port debugging output with Virtual PC 2007.
- Remove now unneeded header file.

CORE-4247 #comment Fixed in r57776, r57777, r57780 and r57781. #resolve

svn path=/trunk/; revision=57781
2012-11-28 23:23:54 +00:00
Hermès Bélusca-Maïto cd57963daf [CPORTLIB/FREELDR]
GetByte  --> Wait for data (with timeout) and get it if available.
PollByte --> Check for data, get it if available, and return immediately.

svn path=/trunk/; revision=57780
2012-11-28 23:16:01 +00:00
James Tabor edf7b69357 [Win32k]
- Fix crash when the exception is thrown.

svn path=/trunk/; revision=57779
2012-11-28 23:05:57 +00:00
Hermès Bélusca-Maïto 7450523726 [FREELDR]
Remove unuseful defines, now.

svn path=/trunk/; revision=57778
2012-11-28 22:25:07 +00:00
Hermès Bélusca-Maïto 2c0b925b1f [FREELDR]
- Make use of the previously committed cportlib code. This works great on VPC 2007 :)
- Comment the unused Rs232PortPollByte function.
- In hardware.c, add useful comments and two macros holding the maximum number of COM and LPT ports.

svn path=/trunk/; revision=57777
2012-11-28 22:16:15 +00:00
Hermès Bélusca-Maïto da43d9219e [CPORTLIB]
- Do a synthesis of all the code I've found concerning initializing COM ports (in kdcom / kddll / kdbg in the kernel and in freeldr). The "// Windows" comments concern the original code for testing the existence of COM ports, inside cportlib, whereas "// ReactOS" comments concern the equivalent existing in our kdcom/kddll/kdbg etc...
- CORRECT THE VIRTUAL PC COM PORT INITIALIZATION !! The problem was, that the current COM port existence test fails on VPC whereas it works well in all other virtual machines. Therefore :
  * I keep the existing testing code in a function called ComPortTest1, this works everywhere but on VPC ;
  * I add a very basic COM port existence test function called ComPortTest2, which basically looks for the scratch register, this works everywhere including on VPC.
  * The COM port existence test consists in the two tests above.

svn path=/trunk/; revision=57776
2012-11-28 22:12:29 +00:00
Hermès Bélusca-Maïto 39f19b3ed5 [SERIAL]
Comment the different defines.

svn path=/trunk/; revision=57775
2012-11-28 22:03:07 +00:00
Hermès Bélusca-Maïto dfa74be23e [SERIAL]
The SER_...(x) macros return UCHAR pointers, i.e. PUCHAR.

svn path=/trunk/; revision=57774
2012-11-28 21:57:31 +00:00
Thomas Faber f8de4142cd [REGEDIT]
- Allow canceling import operations. Patch by Lee Schroeder.
CORE-6766 #resolve

svn path=/trunk/; revision=57773
2012-11-28 11:20:13 +00:00
Thomas Faber 5c4631ef0b [REGEDIT]
- Add a line break to import prompt for improved readability. Suggested by Lee Schroeder.
CORE-6766

svn path=/trunk/; revision=57772
2012-11-28 11:17:24 +00:00
Eric Kohl 28296864ff [LSASRV]
Do not store a key name in an LSA object. Fixes CORE-6792.

svn path=/trunk/; revision=57771
2012-11-26 21:55:09 +00:00
James Tabor 7e62b6e39e [WineTests]
- Sync to 1.5.18

svn path=/trunk/; revision=57770
2012-11-26 05:50:15 +00:00
Eric Kohl 3ba8c1dc0b [LSASRV]
- Implement LsarDeleteObject.
- Store the object name in the database object in order to be able to delete the objects key later.

svn path=/trunk/; revision=57769
2012-11-25 19:47:54 +00:00
Sylvain Petreolle bff31ec33b CORE-6650 #resolve #comment Add missing files on bootcd. Patch By Lee Schroeder.
svn path=/trunk/; revision=57768
2012-11-25 19:35:56 +00:00
Eric Kohl 7595ef1c18 [LSASRV]
- Add enumeration of user rights to LsarEnumerateAccountRights.
- Use RPC_UNICODE_STRING instead of UNICODE_STRING in the privilege lookup code.

svn path=/trunk/; revision=57767
2012-11-25 13:47:07 +00:00
Eric Kohl 3c766118e3 [LSASRV]
Implement LsarGetQuotasForAccount and LsarSetQuotasForAccount.

svn path=/trunk/; revision=57766
2012-11-25 10:35:57 +00:00
James Tabor e223b5389a [WineTests]
- Sync to 1.5.18

svn path=/trunk/; revision=57765
2012-11-25 02:53:09 +00:00
Eric Kohl 4864e1b553 [LSASRV]
- Add new registry API.
- Implement LsarEnumerateAccounts.

svn path=/trunk/; revision=57764
2012-11-24 23:19:40 +00:00
Hermès Bélusca-Maïto fad4fbd259 [NTOSKRNL]
Code formatting only

svn path=/trunk/; revision=57763
2012-11-24 19:50:31 +00:00
Hermès Bélusca-Maïto afd01007a5 [NTOSKRNL]
Code formatting only

svn path=/trunk/; revision=57762
2012-11-24 19:38:05 +00:00
Hermès Bélusca-Maïto 1656ff4b71 [KD64]
Use \t instead of hardcoding the tab character.

svn path=/trunk/; revision=57761
2012-11-24 19:36:07 +00:00
Hermès Bélusca-Maïto c5166c1a2d [CPORTLIB]
Code formatting only.

svn path=/trunk/; revision=57759
2012-11-24 18:22:26 +00:00
Hermès Bélusca-Maïto 1279ab0e12 [WIN32CSR]
Correct the initialization of text-mode console.

svn path=/trunk/; revision=57756
2012-11-24 12:40:56 +00:00
Sylvain Petreolle 3e532bda01 Install the vga fonts needed for the Blue driver.
svn path=/trunk/; revision=57755
2012-11-24 01:23:13 +00:00
Hermès Bélusca-Maïto da5ab71ded [SERVICES]
- (Re-)implement acquiring/releasing driver-loading and unloading privilege (Note: the two privileges have the same name SE_LOAD_DRIVER_NAME).
- Rework the SCM initialization code. In particular, acquiring the starting lock MUST BE done BEFORE starting the RPC server, otherwise, a program can try to start a service (and during this operation, the global start lock is acquired by the SCM) DURING the initialization of SCM, and in particular between the call to ScmStartRpcServer and ScmAcquireServiceStartLock. The SCM would then see an already-acquired start lock at this point and would fail to initialize. ==> This commit corrects this behaviour.

svn path=/trunk/; revision=57754
2012-11-24 00:53:01 +00:00
Eric Kohl ba30f8c018 [LSASRV]
- LsarSetInformationPolicy: Add stubs for all missing case.
- Implement LsarSetAuditLog and LsarSetDefaultQuota.

svn path=/trunk/; revision=57753
2012-11-24 00:13:10 +00:00
Hermès Bélusca-Maïto 3f75d10725 [FREELDR]
When filling LoadOptions, strip the '/' commutator symbol in front of each option. Now we fully comply with Windows when holding LoaderBlock->LoadOptions, and the content of the registry value SystemStartOptions under HKLM\CurrentControlSet\Control display the options without their / symbol.

[WIN32K]
Now, the SystemStartOptions value doesn't contain / anymore.

svn path=/trunk/; revision=57752
2012-11-23 22:39:12 +00:00
Hermès Bélusca-Maïto 0981cdc216 [NTOSKRNL]
SystemBootDevice should be the ARC-formatted boot device (see what Windows does).

svn path=/trunk/; revision=57751
2012-11-23 20:41:28 +00:00
Hermès Bélusca-Maïto 7cdac802e3 The console boot switch is really named CONSOLE, not CMDCONS, since r29948.
svn path=/trunk/; revision=57750
2012-11-23 20:05:35 +00:00
Colin Finck 010dd80061 Revert 57718
svn path=/trunk/; revision=57748
2012-11-23 11:22:46 +00:00
Colin Finck 80a52b6aa4 Fix Unicode output on the console, broken in 33866, fixed in 34042, broken again in 38185, fixed again in 51058 and finally broken yet another time since 54651...
I think this history deserves champagne and forceful warning comments, which have been added.
Simple solution: Don't blindly sync Wine code!

#resolve #CORE-6495

svn path=/trunk/; revision=57747
2012-11-23 11:18:28 +00:00
Eric Kohl 392231efa4 [LSASRV]
Move set functions to the end of the file. No code changes!

svn path=/trunk/; revision=57746
2012-11-22 22:09:59 +00:00
Eric Kohl 1cbb837c1a [LSASRV]
LsarSetInformationPolicy: Add labels for unimplemented cases.

svn path=/trunk/; revision=57745
2012-11-22 21:25:15 +00:00
Eric Kohl 949d0c4bed [LSASRV]
- Create and set a security descriptor for newly created secrets.

svn path=/trunk/; revision=57742
2012-11-20 22:34:00 +00:00
Eric Kohl bf98c11bae [LSASRV]
- Move LsapCreatePolicySd into a separate file.
- Create and set a security descriptor to newly created accounts.

svn path=/trunk/; revision=57737
2012-11-19 21:33:07 +00:00
Eric Kohl 4874b78fd4 [INCLUDE]
Add generic rights for account and secret objects.

svn path=/trunk/; revision=57736
2012-11-19 17:28:36 +00:00
Eric Kohl 8a858bc0d1 [LSASRV]
Implement LsarQuerySecurityObject.

svn path=/trunk/; revision=57735
2012-11-18 21:42:14 +00:00
Eric Kohl 4a3e29dc6c [LSASRV]
Create a security descriptor for the policy object and store as attribute "SecDesc".

svn path=/trunk/; revision=57733
2012-11-18 15:19:14 +00:00