Alex Ionescu [Mon, 11 Sep 2006 05:26:38 +0000 (05:26 +0000)]
- Add the actual missing code to KiQuantumEnd. It's asserted to make sure it'll never execute (yet).
- Add KiExitDispatcher from my new scheduler code. Same as KiQuantumEnd, added an assertion to make sure it doesn't enter in code paths that shouldn't yet happen.
svn path=/trunk/; revision=24061
Alex Ionescu [Mon, 11 Sep 2006 05:21:18 +0000 (05:21 +0000)]
- Fix a critical bug in KiComputeNewPriority.
- Fix a bug in KiSetPriorityThread which wasn't setting *released = FALSE, which left the var uninitailized and usually = TRUE on the stack.
- Half-copy KiQuantumEnd from my new scheduler code. Main difference is usage of newly created locks, support for quantum-disable and RT threads, and usage of KiComputeNewPriority.
svn path=/trunk/; revision=24060
Alex Ionescu [Mon, 11 Sep 2006 04:34:25 +0000 (04:34 +0000)]
- Fix KiDeliverApc prototype for PPC compatibilty.
- Fixup comment header for KiDeliverApc and KiInsertQueueApc.
- Set APC trap frame during APC delivery. We actually weren't doing this before (I'm kind of amazed at ROS's previous functionality due to importance of this bug!).
- Use proper in-stack queued spinlock mechanisms.
- Make sure that the Kernel APC list didn't become empty while we acquired the APC lock after the first verification.
- Validate IRQL on return from APC routines, to catch bad code.
svn path=/trunk/; revision=24059
Alex Ionescu [Mon, 11 Sep 2006 03:14:26 +0000 (03:14 +0000)]
- Fix lock acquisition/release mismathces in KiInsertQueueApc.
- Support and document InsertApcEnvironment KAPC_ENVIRONMENT type.
- Fixup formatting and ASSERTify.
- Acquire dispatcher lock when insereting an APC into another thread.
- Use delayed interrupt request on SMP systems (and fixup KiRequestApcInterrupt accordingly).
svn path=/trunk/; revision=24058
Alex Ionescu [Mon, 11 Sep 2006 02:30:38 +0000 (02:30 +0000)]
- Fix stupid typo.
svn path=/trunk/; revision=24057
Alex Ionescu [Mon, 11 Sep 2006 02:28:09 +0000 (02:28 +0000)]
- Add new KAPC_ENVIRONMENT mode: InsertApcEnvironment.
- Fixup KeInitalizeApc like all the other functions.
- Don't use an expensive 48-byte RtlZeroMemory instead of just clearing two members.
svn path=/trunk/; revision=24056
Alex Ionescu [Mon, 11 Sep 2006 02:17:57 +0000 (02:17 +0000)]
- Fix comment headers for KeFlushQueueApc, KeInsertQueueApc.
- ASSERTify KeInsertQueueApc and some formatting fixes.
svn path=/trunk/; revision=24055
Alex Ionescu [Mon, 11 Sep 2006 02:09:13 +0000 (02:09 +0000)]
- Fix for Windows Kernel APC Data-Free Local Privilege Escalation Vulnerability (re-initialize the list head after cleaning it, so that the list is circular).
- Optimize KeFlushQueueApc: we can check if the Kernel-Mode APC list is empty without acquiring the lock. If it's empty, we can quit immediately, if not, then we'll acquire and check it again. For user APCs we always need to acquire the lock, though.
svn path=/trunk/; revision=24054
Alex Ionescu [Mon, 11 Sep 2006 01:45:11 +0000 (01:45 +0000)]
- Add ASSERT_APC definition.
- Fix KeRemoveQueueApc comment header and clean up function.
- Acquire dispatcher lock at DPC level during ApcListEntry read/write.
svn path=/trunk/; revision=24053
Alex Ionescu [Mon, 11 Sep 2006 01:30:24 +0000 (01:30 +0000)]
- Cleanup RepairList, KiMoveApcState.
- Fixup comments for KeAreApcsDisabled.
- Implement and add comment header to KeAreAllApcsDisabled.
svn path=/trunk/; revision=24052
Alex Ionescu [Mon, 11 Sep 2006 01:15:03 +0000 (01:15 +0000)]
- Re-implement KiRequestApcInterrupt in ke_x.h. Make it work by CPU number (as documented) instead of comparing PRCBs.
- Move NtQueueApcThread to ps/state.c since it's a Ps-level function.
- Make NtQueueApcThread use POOL_QUOTA_FAIL_INSTEAD_OF_RAISE and add that flag to our DDK. Also fix the check for SystemThread by looking at the flag, not checking if TEB == NULL. Also fix a memory leak and comment header.
- Fix comment header in KiInitalizeUserApc.
svn path=/trunk/; revision=24051
Alex Ionescu [Mon, 11 Sep 2006 00:54:12 +0000 (00:54 +0000)]
- Re-organize apc.c into private/public functions (no code change).
- Move KiInitializeUserApc to ke/i386/userapc.c. The routine is non-portable.
- Force Ring 3 state into User APC TrapFrame to maintain system integrity and coherency. Also respect IOPL.
- Use SEH handling routine just like when handling exceptions, to properly re-direct a crash here. Thanks to KJK again for showing me how to write these kinds of routines.
svn path=/trunk/; revision=24050
Alex Ionescu [Mon, 11 Sep 2006 00:26:17 +0000 (00:26 +0000)]
- Fix KeEnterCriticalRegion/KeLeaveCriticalRegion by moving to ke_x and adding ASSERTs, and change the code in apc.c to call these inlined versions instead. Also fix comment headers for these functions in apc.c to match the official standard.
svn path=/trunk/; revision=24049
Alex Ionescu [Sun, 10 Sep 2006 23:41:08 +0000 (23:41 +0000)]
- We only need to update the page directory for the current stack, not the whole ETHREAD. (the page fault will be handled).
- Release dispatcher lock from DPC level in KiAttachProcess.
- Add missing decoration/assert to KeAttachProcess, and only acquire APC lock after we've made the invalid attach test. Also acquire dispatcher lock at DPC level here and in KeStackAttachProcess.
- Loop in KeUnStachDetachProcess to avoid the case where we acquired the APC lock while a kernel APC was pending. Keep releaing the loop and re-attemping acquire until it has been delivered.
- Add Decoration for *ServiceTable* functions.
svn path=/trunk/; revision=24048
Alex Ionescu [Sun, 10 Sep 2006 23:17:22 +0000 (23:17 +0000)]
- KPROCSES Flags are LONG, not ULONG.
- Add some missing decoration.
- NUMA node semantics for KeInitializeProcess are only required on SMP builds.
- Allow KeInitailizeProcess to receive an argument specifying if alignment faults should be enabled or not.
- Use KiComputeIopmOffset to get the IopmOFfset instead of setting -1
svn path=/trunk/; revision=24047
Aleksey Bragin [Sun, 10 Sep 2006 21:32:02 +0000 (21:32 +0000)]
Create a place for some R&D work about booting Windows from inside of FreeLdr
svn path=/trunk/; revision=24046
Alex Ionescu [Sun, 10 Sep 2006 20:23:02 +0000 (20:23 +0000)]
- Remove KeGetCurrentProcess. This API doesn't exist.
- Add assertions to relevant functions in process.c and re-format some code.
- Check for invalid APC state in KeDetachProcess.
- Decrease process stack count while holding the Dispatcher Lock at DPC level.
- Implement KiSwapProcess in ctxswitch.S and add SMP-support and LDT swap support for the future, as well as updating the IOPM base in the TSS.
svn path=/trunk/; revision=24044
Aleksey Bragin [Sun, 10 Sep 2006 20:12:16 +0000 (20:12 +0000)]
Fix inconsistent formatting and other trails of GreatLord's fixing
svn path=/trunk/; revision=24043
Saveliy Tretiakov [Sun, 10 Sep 2006 19:42:09 +0000 (19:42 +0000)]
implement NtGdiPathToRegion
svn path=/trunk/; revision=24042
Alex Ionescu [Sun, 10 Sep 2006 19:41:31 +0000 (19:41 +0000)]
- No need to apply the ROS Page hack inside thread switching, since the process is the same.
svn path=/trunk/; revision=24041
Alex Ionescu [Sun, 10 Sep 2006 19:14:03 +0000 (19:14 +0000)]
- Add ASSERT_EVENT.
- Same changes to event.c as with the other files.
- Remove lock property, these files have already been audited as clean and were unlocked.
svn path=/trunk/; revision=24040
Alex Ionescu [Sun, 10 Sep 2006 18:47:53 +0000 (18:47 +0000)]
- Add ASSERT_MUTANT and ASSERT_SEMAPHORE to our DDK.
- Cleanup mutex.c and sem.c. No real code changes, just add ASSERTs, STDCALL->NTAPI, IN/OUT decoration.
- One change though, in KeReleaseMutant, use KeLeaveCriticalRegion instead of manually writing down the code, it's more readable this way.
svn path=/trunk/; revision=24039
Alex Ionescu [Sun, 10 Sep 2006 18:26:50 +0000 (18:26 +0000)]
- Get completely rid of old Dispatcher Lock macros and use new ones.
- apc.c -> Also multiple optimizations to use the APC lock instead of the full-fledged dispatcher lock.
- gate.c -> Use APC lock as well, the full dispatcher lock isn't required because a thread can only wait on one and only one gate.
- process.c -> Optimize the code to use the Process and/or APC lock instead of the dispatcher lock. Also delay acquiring the locks after some checks, to make the exit paths simpler.
- More fixes are teh needed.
svn path=/trunk/; revision=24038
Thomas Bluemel [Sun, 10 Sep 2006 18:22:48 +0000 (18:22 +0000)]
Fix difference in signedness warning
svn path=/trunk/; revision=24037
Thomas Bluemel [Sun, 10 Sep 2006 17:16:59 +0000 (17:16 +0000)]
Fix LdrRelocateImageWithBias prototype: Strings in C are neither signed nor unsigned, and they are constants. Fixes warnings with GCC4
svn path=/trunk/; revision=24036
Alex Ionescu [Sun, 10 Sep 2006 17:13:55 +0000 (17:13 +0000)]
- Update the last remaining old function, KeSetBasePriority. Use new locks and assertions, and also make use of KiComputeNewPriority.
svn path=/trunk/; revision=24035
Alex Ionescu [Sun, 10 Sep 2006 17:05:07 +0000 (17:05 +0000)]
- Reposition and update KeQueryBasePriorityThread to use the new locks.
- Update KeSetAFfinityThread, KeSetPriorityThread with new locks and assertions (plus the current ROS scheduler hack).
svn path=/trunk/; revision=24034
Alex Ionescu [Sun, 10 Sep 2006 16:55:03 +0000 (16:55 +0000)]
- Update KeRevertToUserAffinityThread, KeSetSystemAffinityThread to use new lock functions, and add code to support future scheduler.
- Update KeSetIdealProcessorThread to properly do Ideal CPU logic instead of blindgly setting it (most importantly, respect UserIdealProcessor and SystemAffinityActive seettings).
svn path=/trunk/; revision=24033
Alex Ionescu [Sun, 10 Sep 2006 16:38:02 +0000 (16:38 +0000)]
- Re-organize all internal functions in 3 groups:
- 1) Utility (FindRightmost/LeftMost Set, etc)
- 2) State (Alert, AlertResume, ForceResume, Freeze, Resume, Rundown, Start, Suspend, TestAlert)
- 3) Un/Initialization (KeInitThread, KeInitializeThread, KeUninitThread).
svn path=/trunk/; revision=24032
Aleksey Bragin [Sun, 10 Sep 2006 16:32:37 +0000 (16:32 +0000)]
- Add msvcrt linking where needed
- Change "rintf" unixism to ceil() and data conversion to integer type
svn path=/trunk/; revision=24031
Alex Ionescu [Sun, 10 Sep 2006 16:30:49 +0000 (16:30 +0000)]
- Remove KeSetPreviousMode, KeDisableThreadApcQueueing.
- Stargint reorganizing some public functions to the bottom of the file.
- Don't hold lock during KeSetKernelStackSwapEnable.
svn path=/trunk/; revision=24030
Alex Ionescu [Sun, 10 Sep 2006 16:25:57 +0000 (16:25 +0000)]
- Implement KiAcquireProcessLock, KiReleaseProcessLock.
- Update KeFreezeAllThreads to use the Process and APC In-Stack Queued Spinlock.
- Update KeTerminateThread to use the Process Lock. Call KiRundownThread to cleanup the NPX thread. Add some assertions for Stack in/out-paging. Use KiSetThreadSwapBusy for proper SMP vs UP building.
- NUMA Node semantics in KeStartThread only need to be done for CONFIG_SMP builds, so #ifed them appropriately. Also made it use the Process In-Stack QSL.
svn path=/trunk/; revision=24029
Alex Ionescu [Sun, 10 Sep 2006 16:09:58 +0000 (16:09 +0000)]
- Fix definition of SYNCH_LEVEL.
- Implement KeAcquireInStackQueuedSpinLockRaiseToSynch for UP systems.
- Implement KiAcquireApcLock, KiAcquireApcLockAtDpcLevel, KiReleaseApcLock, KiReleaseApcLockFromDpcLevel.
- KeResumeThread, KeSuspendThread, KeAlertThread, KeForceResumeThread, KeTestAlertThread, KeAlertResumeThread are now the first to use the new APC In-Stack Queued Spinlock for sychronization.
svn path=/trunk/; revision=24028
Hervé Poussineau [Sun, 10 Sep 2006 15:58:29 +0000 (15:58 +0000)]
Initialize MainResource and PagingIoResource fields in FSRTL_COMMON_FCB_HEADER structure
svn path=/trunk/; revision=24027
Hervé Poussineau [Sun, 10 Sep 2006 15:39:11 +0000 (15:39 +0000)]
Let mkhive use cmlib. "make install" now works and this let the livecd go further than before
svn path=/trunk/; revision=24026
Hervé Poussineau [Sun, 10 Sep 2006 15:26:48 +0000 (15:26 +0000)]
Fix some warnings
svn path=/trunk/; revision=24025
Alex Ionescu [Sun, 10 Sep 2006 15:23:20 +0000 (15:23 +0000)]
- Thread Support cleanup 1: Separate kthread.c into thrdobj.c (Exported and globally accesible functions dealing with the KTHREAD object) and thrdschd.c (Fully internal thread scheduling routines for Ke* only).
- Also fix KeSetAffinityThread to return the old affinity, instead of NTSTATUS and move NtYieldExecution from Ps to Ke, and move NtDelayExecution to wait.c
- No code changes.
svn path=/trunk/; revision=24024
Aleksey Bragin [Sun, 10 Sep 2006 15:07:02 +0000 (15:07 +0000)]
vsnprintf -> _vsnprintf
svn path=/trunk/; revision=24023
Alex Ionescu [Sun, 10 Sep 2006 14:43:12 +0000 (14:43 +0000)]
- Add some definitions to ketypes.h
- Fix multiple bugs in KTHREAD/KPROCESS where signed char values were marked as unsigned (and define SCHAR in ntdef.h)
- Change prototype of KiSwapThread for future compatibility.
- Fix prototype of KeSetIdealProcessorThread.
- Add KiAcquireDispatcherLock, KiReleaseDispatcherLock, KiAcquireDispatcherLockAtDpcLevel, KiReleaseDispatcherLockFromDpcLevel to ke_x.h for future use.
- Add KiInsertDeferredReadyList, KiRescheduleThread, KiSetThreadSwapBusy, KiRundownThread, KiCheckDeferredReadyList for future use.
- Add KiAcquirePrcbLock, KiReleasePrcbLock, KiAcquireThreadLock, KiReleaseThreadLock for future use.
- Add KxQueueReadyThread, KiSelectReadyThread for future use.
- Add KiComputeNewPriority for future use.
svn path=/trunk/; revision=24022
Aleksey Bragin [Sun, 10 Sep 2006 14:23:13 +0000 (14:23 +0000)]
These DPRINT1s are ONLY for Magnus' debuggin session.
Correcting his mistake of commiting them to the tree.
(taskmgr.exe should work again)
svn path=/trunk/; revision=24021
Aleksey Bragin [Sun, 10 Sep 2006 13:33:30 +0000 (13:33 +0000)]
- Implement enable/disable of protection for PE sections in ntdll
- Finally get rid of duplicated relocation code in ntdll by using the relocate function from RTL and enable/disable protection
- Some improvements added to RTL's relocation function, it's split up into two functions now
svn path=/trunk/; revision=24020
Hervé Poussineau [Sun, 10 Sep 2006 10:26:58 +0000 (10:26 +0000)]
Revert part of r23972. Now we can boot again
(+ fix a little bug)
svn path=/trunk/; revision=24019
Aleksey Bragin [Sun, 10 Sep 2006 09:31:44 +0000 (09:31 +0000)]
Dmitry Philippov: Fix GCC4 warning
svn path=/trunk/; revision=24018
Aleksey Bragin [Sun, 10 Sep 2006 08:35:30 +0000 (08:35 +0000)]
[AUDIT]
- Code duplication for relocation
- Widely documented PE loading algorithms
- Conclusion: clean
svn path=/trunk/; revision=24017
Aleksey Bragin [Sun, 10 Sep 2006 08:00:57 +0000 (08:00 +0000)]
- Move and slightly modify the relocation code to RTL, change its prototype so that it can be used in future in freeldr, ntdll and in kernel (right now there is code duplication, which is removed from kernel by this commit).
svn path=/trunk/; revision=24016
Hervé Poussineau [Sun, 10 Sep 2006 02:22:12 +0000 (02:22 +0000)]
At last, enable screensaver
svn path=/trunk/; revision=24013
Hervé Poussineau [Sun, 10 Sep 2006 02:20:29 +0000 (02:20 +0000)]
Add stub for SPI_GETSCREENSAVEACTIVE (which always return TRUE at the moment...)
svn path=/trunk/; revision=24012
Hervé Poussineau [Sun, 10 Sep 2006 01:20:53 +0000 (01:20 +0000)]
Remove screensaver implementation of win32k (ie revert revision 22879).
svn path=/trunk/; revision=24011
Hervé Poussineau [Sun, 10 Sep 2006 01:08:35 +0000 (01:08 +0000)]
LastInputTick value should be in milliseconds, according to the help of GetTickCount in MSDN
svn path=/trunk/; revision=24010
Hervé Poussineau [Sat, 9 Sep 2006 22:55:57 +0000 (22:55 +0000)]
Add missing entrypoint="0" directive in rbuild files [Part 2/2]
svn path=/trunk/; revision=24009
Hervé Poussineau [Sat, 9 Sep 2006 22:33:07 +0000 (22:33 +0000)]
Add missing entrypoint="0" directive in rbuild files [Part 1/2]
svn path=/trunk/; revision=24008
Hervé Poussineau [Sat, 9 Sep 2006 20:39:50 +0000 (20:39 +0000)]
Put a NULL entry point if explicitly asked for. Thanks w3seek for his help on this issue
svn path=/trunk/; revision=24007
Christoph von Wittich [Sat, 9 Sep 2006 20:38:41 +0000 (20:38 +0000)]
*add support for the new SVN 1.4.x binary format
svn path=/trunk/; revision=24006
Magnus Olsen [Sat, 9 Sep 2006 19:41:12 +0000 (19:41 +0000)]
Implement GetLastInput base on bug 1753 patch by P43LOk,
It did not catch the last input tick from keyboard or mouse.
This code is not tested in reactos, but should work.
See issue #1753 for more details.
svn path=/trunk/; revision=24005
Saveliy Tretiakov [Sat, 9 Sep 2006 19:26:43 +0000 (19:26 +0000)]
Implement NtGdiGetPath (based on wine)
svn path=/trunk/; revision=24004
Hervé Poussineau [Sat, 9 Sep 2006 19:08:37 +0000 (19:08 +0000)]
Implement registry handle closing notifications in ntoskrnl
svn path=/trunk/; revision=24003
The Wine Synchronizer [Sat, 9 Sep 2006 17:48:42 +0000 (17:48 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=24002
Hervé Poussineau [Sat, 9 Sep 2006 17:42:28 +0000 (17:42 +0000)]
Fix MsiDatabaseIsTablePersistentA/W prototype
Update msi_ros.diff file for upcoming update
svn path=/trunk/; revision=24001
Hervé Poussineau [Sat, 9 Sep 2006 17:11:03 +0000 (17:11 +0000)]
Implement "Check volume" page in usetup.
Doesn't work yet because VfatChkdsk() is not implemented
svn path=/trunk/; revision=24000
Hervé Poussineau [Sat, 9 Sep 2006 17:10:51 +0000 (17:10 +0000)]
Use Guid specified in device info set (if available) in SetupDiGetClassDevsExW.
Update some documentation (taken from Wine)
svn path=/trunk/; revision=23999
Hervé Poussineau [Sat, 9 Sep 2006 17:10:42 +0000 (17:10 +0000)]
Set 2nd stage setup to language selected in registry
Try to use GetLastInputInfo API instead of a keyboard/mouse hook for screensaver (not enabled yet)
svn path=/trunk/; revision=23998
Hervé Poussineau [Sat, 9 Sep 2006 17:09:45 +0000 (17:09 +0000)]
Don't use buffered input when reading username/password in text mode
svn path=/trunk/; revision=23997
Hervé Poussineau [Sat, 9 Sep 2006 17:09:33 +0000 (17:09 +0000)]
Remove useless member in DESKTOP_OBJECT structure
svn path=/trunk/; revision=23996
Hervé Poussineau [Sat, 9 Sep 2006 16:47:09 +0000 (16:47 +0000)]
Add VfatChkdsk() prototype
svn path=/trunk/; revision=23995
Saveliy Tretiakov [Sat, 9 Sep 2006 14:49:11 +0000 (14:49 +0000)]
revert last commit
svn path=/trunk/; revision=23993
Saveliy Tretiakov [Sat, 9 Sep 2006 14:38:07 +0000 (14:38 +0000)]
Messageboxes shouldn't have WS_SYSMENU
svn path=/trunk/; revision=23992
Art Yerkes [Sat, 9 Sep 2006 13:47:45 +0000 (13:47 +0000)]
Correct bug in cache which could cause us to lose the last block of a file.
This is wierd and insidious, and probably was the cause of n00bs not being
able to boot on occasion.
svn path=/trunk/; revision=23990
Saveliy Tretiakov [Sat, 9 Sep 2006 13:19:03 +0000 (13:19 +0000)]
Replace MmCopyFromCaller with probing and seh.
svn path=/trunk/; revision=23988
Aleksey Bragin [Sat, 9 Sep 2006 12:22:40 +0000 (12:22 +0000)]
[AUDIT]
- PE loading/relocating/fixups/etc is greatly documented in a number of sources (e.g. good russian-language article - http://www.uinc.ru/articles/41/, it has links to a different media describing loading process of PE)
- Nothing suspicious found in the code itself
svn path=/trunk/; revision=23987
Saveliy Tretiakov [Sat, 9 Sep 2006 11:42:52 +0000 (11:42 +0000)]
Add winetests to bootcd
svn path=/trunk/; revision=23986
Aleksey Bragin [Sat, 9 Sep 2006 11:41:24 +0000 (11:41 +0000)]
Dmitry Philippov: GCC 4 compiling fixes for PackMgr and tests/wm_paint
svn path=/trunk/; revision=23985
KJK::Hyperion [Sat, 9 Sep 2006 10:53:28 +0000 (10:53 +0000)]
modified Resources/hresult.xml
Added S_OK and S_FALSE
modified Resources/ntstatus.xml
Added all possible STATUS_WAIT_XX codes as STATUS_WAIT_0 + XX
modified TechBot.Console/App.config
Don't use hard-coded paths, please!
modified TechBot.Library/ErrorCommand.cs
New and improved !error command, now performs heuristics to catch all possible or likely uses
modified TechBot.Library/HresultCommand.cs
Removed useless field
modified TechBot.Library/NumberParser.cs
Made a couple of methods static
modified TechBot.Library/TechBotService.cs
Disable !api until it fails gracefully
svn path=/trunk/; revision=23984
Art Yerkes [Sat, 9 Sep 2006 09:41:09 +0000 (09:41 +0000)]
Make UNIMPLEMENTED available everywhere and remove some #ifdef cruft.
svn path=/trunk/; revision=23983
Thomas Bluemel [Sat, 9 Sep 2006 09:26:26 +0000 (09:26 +0000)]
Added missing definitions
svn path=/trunk/; revision=23982
James Tabor [Fri, 8 Sep 2006 22:30:46 +0000 (22:30 +0000)]
User32 static.c:
- Patch by Dmitry Timoshkov, modified for ReactOS.
- Use computed icon rectangle if SS_CENTERIMAGE style is set.
svn path=/trunk/; revision=23981
Aleksey Bragin [Fri, 8 Sep 2006 22:00:39 +0000 (22:00 +0000)]
Add a bit of error reporting
svn path=/trunk/; revision=23980
The Wine Synchronizer [Fri, 8 Sep 2006 20:13:51 +0000 (20:13 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=23979
The Wine Synchronizer [Fri, 8 Sep 2006 20:12:06 +0000 (20:12 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=23978
The Wine Synchronizer [Fri, 8 Sep 2006 20:08:45 +0000 (20:08 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=23977
The Wine Synchronizer [Fri, 8 Sep 2006 19:33:33 +0000 (19:33 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=23976
Aleksey Bragin [Fri, 8 Sep 2006 15:39:34 +0000 (15:39 +0000)]
Fix invalid charset (DOS -> Windows)
svn path=/trunk/; revision=23975
Hervé Poussineau [Thu, 7 Sep 2006 22:42:28 +0000 (22:42 +0000)]
Adapt usetup to handle more easily additional filesystems
This also prepares ground for the Chkdsk disk page
svn path=/trunk/; revision=23974
Alex Ionescu [Thu, 7 Sep 2006 22:38:06 +0000 (22:38 +0000)]
- 1>Build Time 0:04
1>ReactOS Kernel - 0 error(s), 253 warning(s)
- Add winerror.h to ps/win32.c so it can get the Win32 error definition it needs (winerror.h doesn't add any other nasty win32 headers, so this isn't really a header policy violation).
- Fix prototypes of KdEnableDebugger and KdDisableDebugger.
- Write one of the cleanest and most ingenious hacks I've ever come up with it, which bypasses the incompatibility of hard-coded WDK externals.
svn path=/trunk/; revision=23973
Alex Ionescu [Thu, 7 Sep 2006 21:36:15 +0000 (21:36 +0000)]
- More MSVC fixes (down to 19 errors):
- Header changes: fix FILE_LOCK_INFO, LARGE_MCB, BASE_MCB, MM_SYSTEMSIZE.
- Remove many things in W32API which are incorrectly there (due to winnt being used by the win32api DDK). Defined them in the NDK instead, where appropriate (mostly definitions that are present in user-mode headers, but not kernel-mode headers).
- Hacked the ERESOURCE functions to define a special ERESOURCE_XP type. This is necessary because ERESOURCE is an opaque-yet-exported structure, and its structure changed in Vista.
- Removed support for IMAGE_SCN_TYPE_NO_LOAD. It is a reserved field and Windows does not "respect" it. (sections marked as no-load will still be loaded by NT).
svn path=/trunk/; revision=23972
Hervé Poussineau [Thu, 7 Sep 2006 20:57:02 +0000 (20:57 +0000)]
Add ufat.dll and the optional ufatx.dll (to be added later to repository)
svn path=/trunk/; revision=23971
Hervé Poussineau [Thu, 7 Sep 2006 20:15:45 +0000 (20:15 +0000)]
[FORMATTING] Fix tab/space mess by replacing them by 4 spaces. No code change
svn path=/trunk/; revision=23970
Hervé Poussineau [Thu, 7 Sep 2006 19:46:18 +0000 (19:46 +0000)]
Update prototypes
svn path=/trunk/; revision=23969
James Tabor [Thu, 7 Sep 2006 19:23:39 +0000 (19:23 +0000)]
Removed NtUserGetKeyboardType, there was no win32k.db entry for it.
svn path=/trunk/; revision=23968
Thomas Bluemel [Thu, 7 Sep 2006 19:20:42 +0000 (19:20 +0000)]
Yes we should do it as WINE. Fixes a buffer overflow in RtlDetermineDosPathNameType_U()
svn path=/trunk/; revision=23967
Hervé Poussineau [Thu, 7 Sep 2006 19:16:47 +0000 (19:16 +0000)]
Correctly handle optional parameters
svn path=/trunk/; revision=23966
Hervé Poussineau [Thu, 7 Sep 2006 19:13:37 +0000 (19:13 +0000)]
Some 64 bits fixes (approved by Filip)
svn path=/trunk/; revision=23965
Hervé Poussineau [Thu, 7 Sep 2006 18:08:00 +0000 (18:08 +0000)]
Fix format.exe compilation
svn path=/trunk/; revision=23964
Hervé Poussineau [Thu, 7 Sep 2006 17:55:51 +0000 (17:55 +0000)]
Fix compilation
svn path=/trunk/; revision=23963
Hervé Poussineau [Thu, 7 Sep 2006 17:54:23 +0000 (17:54 +0000)]
Correctly implement autochk, which now calls the ChkdskEx function in u{FS}.dll.
svn path=/trunk/; revision=23962
Hervé Poussineau [Thu, 7 Sep 2006 17:44:08 +0000 (17:44 +0000)]
Add a stub for FAT12/16/32 chkdsk
svn path=/trunk/; revision=23961
Hervé Poussineau [Thu, 7 Sep 2006 17:39:42 +0000 (17:39 +0000)]
Declare prototype for ChkdskEx function in u{FS}.dll
svn path=/trunk/; revision=23960
Magnus Olsen [Thu, 7 Sep 2006 17:35:31 +0000 (17:35 +0000)]
fixed win32k build, trunks builds again thanks w3seek for the help
svn path=/trunk/; revision=23959
Hervé Poussineau [Thu, 7 Sep 2006 13:47:14 +0000 (13:47 +0000)]
Fix typo: _GNUC_ -> __GNUC__
svn path=/trunk/; revision=23958
Magnus Olsen [Thu, 7 Sep 2006 11:10:27 +0000 (11:10 +0000)]
fixed rosapps so it compiles again
svn path=/trunk/; revision=23957
Magnus Olsen [Thu, 7 Sep 2006 10:31:37 +0000 (10:31 +0000)]
fixed follow test, acclertor, alive, alphablend, bitblt, button, button2, capclock, carets, combotst, dibtest, dirdlg, DxHalTest, edit, enhmetafile, enumfonts, enumwnd, enumws, gradient, hello, hivtest, icontest, lineclip, linetest, mdi, midtest
svn path=/trunk/; revision=23956