reactos.git
17 years ago- Rewrite kernel timer implementation to use Windows 2003's hash-based table timer...
Alex Ionescu [Wed, 24 Jan 2007 06:50:28 +0000 (06:50 +0000)]
- Rewrite kernel timer implementation to use Windows 2003's hash-based table timer model. Extremely scalable, since each timer list has its own lock, and optimized for speed since timers are hashed with the tick count at each update (timer.c).
- Implement a new timer expiration function which takes advantage of the fact that timers are now hashed with the system tickcount, and thus only parses the "hot" lists (dpc.c).
- Detect timer expiration during KeUpdateSystemTime and edit the KPRCB to notify of timer expiration. This will be picked up by the timer expiration DPC (clock.s).
- Add support for new timer code in dispatcher (wait.c, queue.c, ke_x.h).
- Change system startup to support the new timer DPC/list (krnlinit.c, clock.c).
- Remove corresponding entry from kernel fun, and update the guidance plan with recent successes and setbacks. This patch is likely the last big architectural change in the kernel except for enabling the new scheduler at a later time.

svn path=/trunk/; revision=25611

17 years ago- Fix a bug in NtSetTimer which was causing us to completely disregard the due time.
Alex Ionescu [Wed, 24 Jan 2007 04:46:31 +0000 (04:46 +0000)]
- Fix a bug in NtSetTimer which was causing us to completely disregard the due time.
- kmtest now reports 0 failures for the extimer regression test.

svn path=/trunk/; revision=25610

17 years agoAdded test calls for function FsRtlMdlReadDev() and FsRtlMdlReadCompleteDev()
Dominique Cote [Tue, 23 Jan 2007 23:12:32 +0000 (23:12 +0000)]
Added test calls for function FsRtlMdlReadDev() and FsRtlMdlReadCompleteDev()

svn path=/trunk/; revision=25609

17 years ago- Fix reference count bugs in executive timer implementation.
Alex Ionescu [Tue, 23 Jan 2007 23:10:13 +0000 (23:10 +0000)]
- Fix reference count bugs in executive timer implementation.
- Don't modify status when failing due to an access fault (NT doesn't!).
- Do parameter checks before bothering with expensive SEHing.

svn path=/trunk/; revision=25608

17 years ago- Fix some warnings.
Alex Ionescu [Tue, 23 Jan 2007 22:46:38 +0000 (22:46 +0000)]
- Fix some warnings.
- Rearrange some code.
- Remove useless/deprecated code.

svn path=/trunk/; revision=25607

17 years agoreplace _sleep with Sleep to fix the gcc 4.x build
Christoph von Wittich [Tue, 23 Jan 2007 21:48:31 +0000 (21:48 +0000)]
replace _sleep with Sleep to fix the gcc 4.x build

svn path=/trunk/; revision=25606

17 years ago- Convert KxDelayThreadWait, KxSingleThreadWait, KxMultiThreadWait into macros.
Alex Ionescu [Tue, 23 Jan 2007 18:39:47 +0000 (18:39 +0000)]
- Convert KxDelayThreadWait, KxSingleThreadWait, KxMultiThreadWait into macros.
- Add KxQueueThreadWait macro based on previous ones.
- Add KxSetTimerForThreadWait to initialize the timer during the macros above. Wait timer setup is now done in two phases, which will be required with the new timer code anyway.
- Remove IRQL hack from idle loop when delivering DPCs.
- Make the wait code use the new macros and make it scale better.
- Add some missing definitions to asm.h

svn path=/trunk/; revision=25605

17 years agoFixed:
KJK::Hyperion [Tue, 23 Jan 2007 18:26:51 +0000 (18:26 +0000)]
Fixed:
 - _ReadWriteBarrier
 - _InterlockedCompareExchange8
 - _InterlockedCompareExchange16
 - _InterlockedCompareExchange
 - _InterlockedCompareExchange64
 - _InterlockedCompareExchangePointer
 - _InterlockedExchange
 - _InterlockedExchangePointer
 - _InterlockedExchangeAdd
 - _interlockedbittestandset
 - _interlockedbittestandreset

This commit dedicated to Alex (sup Alex!)

svn path=/trunk/; revision=25604

17 years agoAlexey Zavyalov: Add functionally Numbers, Currency, Time, Date tabs. Fix some bugs.
Aleksey Bragin [Tue, 23 Jan 2007 17:59:36 +0000 (17:59 +0000)]
Alexey Zavyalov: Add functionally Numbers, Currency, Time, Date tabs. Fix some bugs.
See issue #1988 for more details.

svn path=/trunk/; revision=25603

17 years ago- Fix MSVC breakage caused by recent modifications of cctypes.h.
Alex Ionescu [Mon, 22 Jan 2007 22:16:13 +0000 (22:16 +0000)]
- Fix MSVC breakage caused by recent modifications of cctypes.h.
- Remove structures from ntifs.h that shouldn't be there.
- Add support for optimized detection of a DOS device path \?? or \??\ and implement it into ObpLookupObjectName.
- Add support for proper re-parsing up to a maximum of 30 times to avoid reparse DOS attacks on the kernel.
- Set WIN32_WINNT version to Windows 2003 SP1.

svn path=/trunk/; revision=25602

17 years ago- Fix the display of the radio buttons by using the Marlett font to draw the radio...
Ged Murphy [Mon, 22 Jan 2007 20:14:59 +0000 (20:14 +0000)]
- Fix the display of the radio buttons by using the Marlett font to draw the radio buttons instead of using Pie and Ellipse as Wine does. (ReactOS NtGdiPie and NtGdiEllipse need work anyway)
- The font is a bit messy at the moment, so it would be appreciated if any font designers out there could fix it.

svn path=/trunk/; revision=25601

17 years agoDon't substitute Marlett as TGMarlett is the file name, not the typeface name.
Ged Murphy [Mon, 22 Jan 2007 19:42:16 +0000 (19:42 +0000)]
Don't substitute Marlett as TGMarlett is the file name, not the typeface name.

svn path=/trunk/; revision=25600

17 years agonamed pipes support for linux builds
Christoph von Wittich [Mon, 22 Jan 2007 19:34:53 +0000 (19:34 +0000)]
named pipes support for linux builds

svn path=/trunk/; revision=25599

17 years agoA temporary set of white cursors containing 1 bit and 32 bit variations.
Ged Murphy [Mon, 22 Jan 2007 18:11:21 +0000 (18:11 +0000)]
A temporary set of white cursors containing 1 bit and 32 bit variations.
I have some much better ones than these, but they are 32bit only. Making 1 bit versions of these (all ROS can handle at the moment) looked ugly. 32bit cursor support should be ready within the coming weeks.

svn path=/trunk/; revision=25598

17 years agoSilence a warning
Thomas Bluemel [Mon, 22 Jan 2007 17:52:47 +0000 (17:52 +0000)]
Silence a warning

svn path=/trunk/; revision=25597

17 years agoFix bugs in IntLoadKeyboardLayout and make it work.
Saveliy Tretiakov [Mon, 22 Jan 2007 17:08:34 +0000 (17:08 +0000)]
Fix bugs in IntLoadKeyboardLayout and make it work.

svn path=/trunk/; revision=25596

17 years ago- remove obsolete file
Johannes Anderwald [Mon, 22 Jan 2007 10:43:18 +0000 (10:43 +0000)]
- remove obsolete file

svn path=/trunk/; revision=25595

17 years agofix warnings
Sylvain Petreolle [Mon, 22 Jan 2007 10:35:52 +0000 (10:35 +0000)]
fix warnings

svn path=/trunk/; revision=25594

17 years ago- Implement ExEnumHandleTable. Had to add a small hack due to some memory freeing...
Alex Ionescu [Mon, 22 Jan 2007 09:57:10 +0000 (09:57 +0000)]
- Implement ExEnumHandleTable. Had to add a small hack due to some memory freeing/init problem that requires more investigation.
- Implement ObpEnumFindHandleProcedure.

svn path=/trunk/; revision=25593

17 years agoFix warnings and indentation
Hervé Poussineau [Mon, 22 Jan 2007 09:48:26 +0000 (09:48 +0000)]
Fix warnings and indentation

svn path=/trunk/; revision=25592

17 years agoFix indentation
Hervé Poussineau [Mon, 22 Jan 2007 09:46:01 +0000 (09:46 +0000)]
Fix indentation

svn path=/trunk/; revision=25591

17 years agofix case (2nd try)
Sylvain Petreolle [Mon, 22 Jan 2007 09:33:42 +0000 (09:33 +0000)]
fix case (2nd try)

svn path=/trunk/; revision=25590

17 years agofix case
Sylvain Petreolle [Mon, 22 Jan 2007 09:24:42 +0000 (09:24 +0000)]
fix case

svn path=/trunk/; revision=25589

17 years ago- Italian translation by Daniele Forsi (dforsi at gmail dot com)
Johannes Anderwald [Mon, 22 Jan 2007 09:14:32 +0000 (09:14 +0000)]
- Italian translation by Daniele Forsi (dforsi at gmail dot com)
- fixes bug 1990
See issue #1990 for more details.

svn path=/trunk/; revision=25588

17 years ago- Proper fix for the bug that 25558 attempted to fix. Kernel-mode registry handles...
Alex Ionescu [Mon, 22 Jan 2007 08:46:56 +0000 (08:46 +0000)]
- Proper fix for the bug that 25558 attempted to fix. Kernel-mode registry handles now work (they didn't before 25558).
- Also the system now boots again since this fix is correct.

svn path=/trunk/; revision=25587

17 years ago- Implement new ExHandle* implementation using pushlocks and the Windows 2003 HANDLE_...
Alex Ionescu [Mon, 22 Jan 2007 08:15:17 +0000 (08:15 +0000)]
- Implement new ExHandle* implementation using pushlocks and the Windows 2003 HANDLE_TABLE structure and semantics. Only the currently used base APIs were implemented; support for audit masks still disabled, debug/tracing calls disabled.
- Remove manual overrides of NTDDI_VERSION all over the thread and set it once globally, since ExHandle* was the only non-updated package. The entire kernel now builds with Windows 2003 SP1 as a target.
- Remove this entry from kernel fun.

svn path=/trunk/; revision=25586

17 years ago- Fix HANDLE_TABLE definition.
Alex Ionescu [Mon, 22 Jan 2007 08:07:24 +0000 (08:07 +0000)]
- Fix HANDLE_TABLE definition.
- Fix LPC bugcheck during 2nd stage setup and/or bootup (double-free):
- LpcReplyMessage and LpcWaitingOnPort are a union inside ETHREAD, and they can actually be both accessed in the same time! (Unlike other unions which are self-exclusive). Therefore, we need a way to:
  1) Mark a message vs a port.
  2) Retrieve the correct object.
 This has now been implemented with some helper inline functions.

svn path=/trunk/; revision=25585

17 years ago- Implement a cute little hack called DEFINE_WAIT_BLOCK which makes pushlocks work...
Alex Ionescu [Mon, 22 Jan 2007 06:47:44 +0000 (06:47 +0000)]
- Implement a cute little hack called DEFINE_WAIT_BLOCK which makes pushlocks work on GCC 3.4.5 as well as 4.1.2+ (with no perf-hit on the latter).
- Implement ExWaitForUnblockPushLock (just a wrapper around ExTimedWaitForUnblockPushLock).
- Simplfy ExBlockPushLock and fix some bugs.
- Fix a bug in ExfReleasePushLockExclusive when we have to wake the lock.
- Fix a bug in ExfUnblockPushLock which was touching the wrong pointer.
- Fix ExWaitOnPushLock to verify that the pushlock is actually locked.

svn path=/trunk/; revision=25584

17 years agosome more warnings fixes (gcc 4.2)
Christoph von Wittich [Mon, 22 Jan 2007 03:00:02 +0000 (03:00 +0000)]
some more warnings fixes (gcc 4.2)

svn path=/trunk/; revision=25583

17 years agoThis is the last fix for GCC4.2. Now everything can be built with -O3
Thomas Bluemel [Sun, 21 Jan 2007 23:54:59 +0000 (23:54 +0000)]
This is the last fix for GCC4.2. Now everything can be built with -O3

svn path=/trunk/; revision=25582

17 years ago- define msvc compabitble debug macro
Johannes Anderwald [Sun, 21 Jan 2007 23:29:12 +0000 (23:29 +0000)]
- define msvc compabitble debug macro
- fix error in debug print

svn path=/trunk/; revision=25581

17 years agoFix compilation with GCC4.2. Please check changes in CreateProcessInternalW for corre...
Thomas Bluemel [Sun, 21 Jan 2007 23:29:10 +0000 (23:29 +0000)]
Fix compilation with GCC4.2. Please check changes in CreateProcessInternalW for correctness!

svn path=/trunk/; revision=25580

17 years agomsvc only knows _snprintf ...
Johannes Anderwald [Sun, 21 Jan 2007 23:23:24 +0000 (23:23 +0000)]
msvc only knows _snprintf ...

svn path=/trunk/; revision=25579

17 years agorequired cast because unsigned value ranges are always >= 0
Johannes Anderwald [Sun, 21 Jan 2007 23:21:55 +0000 (23:21 +0000)]
required cast because unsigned value ranges are always >= 0

svn path=/trunk/; revision=25578

17 years agoremove stdcall declaration
Johannes Anderwald [Sun, 21 Jan 2007 23:19:35 +0000 (23:19 +0000)]
remove stdcall declaration

svn path=/trunk/; revision=25577

17 years ago- fix small bug
Johannes Anderwald [Sun, 21 Jan 2007 23:13:02 +0000 (23:13 +0000)]
- fix small bug

svn path=/trunk/; revision=25576

17 years ago- add include guards
Johannes Anderwald [Sun, 21 Jan 2007 22:59:01 +0000 (22:59 +0000)]
- add include guards

svn path=/trunk/; revision=25575

17 years agoas stated in file dir:
Johannes Anderwald [Sun, 21 Jan 2007 22:54:54 +0000 (22:54 +0000)]
as stated in file dir:
the file is obsolescent, please use io.h

svn path=/trunk/; revision=25574

17 years agoYet another fix for GCC4.2
Thomas Bluemel [Sun, 21 Jan 2007 22:47:22 +0000 (22:47 +0000)]
Yet another fix for GCC4.2

svn path=/trunk/; revision=25573

17 years ago- Fix IN/OUT privileged instruction fault (we don't yet handle HLT/CLI/STI other...
Alex Ionescu [Sun, 21 Jan 2007 22:43:32 +0000 (22:43 +0000)]
- Fix IN/OUT privileged instruction fault (we don't yet handle HLT/CLI/STI other prefixes but the framework is there).
- Enable back proper VMWARE detection.
- Fix namepointer setup in DbgkCreateThread.
- Skip the first entry when doing fake module load messages.
- Fix which handle count is read in DbgkCloseObject.
- Set the right flags for the debug event thread instead of random flags inside the debug event itself when parsing in DbgkpSetProcessDebugPort.
- Add debug event in the temporary list to be woken, if rundown couldn't be acquired.
- Properly validate continue statues allowed in NtDebugContinue.
- Properly support timeout in NtWaitForDebugEvent.
- Properly do backout in NtWaitForDebugEvent.
- Disable LPC debug messages accidentally enabled, and add a small hack to better find the cause of the LPC shutdown bug.

svn path=/trunk/; revision=25572

17 years ago- Allow warnings in the expat library
Thomas Bluemel [Sun, 21 Jan 2007 22:42:44 +0000 (22:42 +0000)]
- Allow warnings in the expat library
- More fixes for GCC4.2

svn path=/trunk/; revision=25571

17 years ago===================================================================
Dominique Cote [Sun, 21 Jan 2007 21:01:57 +0000 (21:01 +0000)]
===================================================================
ntoskrnl/fsrtl/fastio.c
===================================================================
Fixed @implemented/@unimplemented tags

===================================================================
Index: ntoskrnl/cc/mdl.c
===================================================================
Fixed a comment.

svn path=/trunk/; revision=25570

17 years agofix win32csr (gcc 4.2)
Christoph von Wittich [Sun, 21 Jan 2007 20:38:29 +0000 (20:38 +0000)]
fix win32csr (gcc 4.2)

svn path=/trunk/; revision=25569

17 years agorevert this change (it broke the build)
Christoph von Wittich [Sun, 21 Jan 2007 20:25:27 +0000 (20:25 +0000)]
revert this change (it broke the build)

svn path=/trunk/; revision=25568

17 years agofix some more warnings (gcc 4.2)
Christoph von Wittich [Sun, 21 Jan 2007 20:10:17 +0000 (20:10 +0000)]
fix some more warnings (gcc 4.2)

svn path=/trunk/; revision=25567

17 years agoFix the NdisQueryBufferOffset and the ARGUMENTS_PRESENT macro
Thomas Bluemel [Sun, 21 Jan 2007 19:44:42 +0000 (19:44 +0000)]
Fix the NdisQueryBufferOffset and the ARGUMENTS_PRESENT macro

svn path=/trunk/; revision=25566

17 years agoAllot of change in dejavu 2.14 I have not review what really good news for us
Magnus Olsen [Sun, 21 Jan 2007 19:27:35 +0000 (19:27 +0000)]
Allot of change in dejavu 2.14 I have not review what really good news for us
what I can see allot of misc char are supported now.

Changes from 2.13 to 2.14
- added Philippine peso glyph U+20B1 (by Clayborne Arevalo)
- made U+2012 have the same width as digits, according to Unicode 5.0,
  page 206 (by Roozbeh Pournader)
- made all of the "above" combining characters remove the dot of "i",
  "j", etc (Soft_Dotted characters), according to Unicode 5.0,
  page 228 (by Roozbeh Pournader)
- made U+012F, U+03F3, U+0456, U+0458, U+1E2D, and U+1ECB (all fonts
  except Mono), U+0249, U+2148, and U+2149 (Sans and Sans Condensed),
  U+0268 (Sans ExtraLight, Serif and Serif Condensed), and U+029D (Serif
  and Serif Condensed) respect the Soft_Dotted property (by Roozbeh
  Pournader)
- added U+223E, U+223F, U+2240, U+22C2, U+22C3 to Sans (by Rémy Oudompheng)
- added U+203D to Serif (by Gee Fung Sit)
- added zero-width glyphs for U+2061-U+2063 to Sans and Serif (by Gee
  Fung Sit)
- changed isolated forms of Arabic waw (U+0648, U+0624 and U+06C6) (bug #9432)
  (by Ben Laenen)
- added Lao consonants U+0E81, U+0E82, U+0E84, U+0E87, U+0E88, U+0E8A,
  U+0E8D, U+0E94-0E97, U+0E99-0E9F, U+0EA1-0EA3, U+0EA5, U+0EA7, U+0EAA,
  U+0EAB, U+0EAD-0EAF to Sans Mono (by Rémy Oudompheng)
- added U+0200-U+0217, U+0226-U+0229, U+02F3, U+1E00-U+1E07,
  U+1E0A-U+1E0B, U+1E18-U+1E1F, U+1E22-U+1E23, U+1E28-U+1E2D,
  U+1E3A-U+1E3B, U+1E40, U+1E48-U+1E49, U+1E56, U+1E58-U+1E59,
  U+1E5E-U+1E5F, U+1E60, U+1E68-U+1E6B, U+1E6E-U+1E6F, U+1E72-U+1E77,
  U+1E86-U+1E8B, U+1E92-U+1E96, U+1EA0-U+1EA1, U+1EF4-U+1EF5 to Mono
  (by Ben Laenen)
- renamed uppercase variants of diacritics (macron, breve, double grave,
  double acute, inverted breve, dot above) to "uni03XX.case" in Mono
  (by Ben Laenen)
- moved uppercase variants of diacritics up in Mono so they properly
  vertically align on capitals (by Ben Laenen)
- precomposed glyphs with macron, breve, double grave, double acute,
  inverted breve, dot above, macron below, breve below, inverted breve
  below, dot below, cedilla, caron below, circumflex below, diaeresis
  below, tilde below now reference to combining diacritics instead of
  space modifiers in Mono (by Ben Laenen)
- made ring below (U+0325), and half rings below (U+031C and U+0339)
  smaller in Mono (by Ben Laenen)
- added U+205F to all fonts (by Roozbeh Pournader)
- added U+035E-U+035F to Sans (by Roozbeh Pournader)
- added empty glyphs for U+034F, U+202A-U+202E, U+2060, U+206A-206F,
  U+FE00-U+FE0F to non-Mono fonts (by Roozbeh Pournader)
- added U+2101, U+2107-U+2108, U+210B, U+210C, U+2110, U+2112, U+211B,
  U+211F, U+2123, U+2125, U+2128-U+2129, U+212C-U+212D, U+212F,
  U+2130-U+2131, U+2133, U+2136-U+213A, U+2141-U+2144, U+2B00-U+2B11,
  U+2B20-U+2B23 to Sans (by John Karp)
- reshaped omega (U+03C9) in Mono (by Ben Laenen)
- added U+2205, U+22C6, U+2300-U+2301, U+2303-U+2306, U+230C-U+230F,
  U+2312-U+2315, U+231C-U+231F, U+2335, U+2337-U+233E, U+2341-U+2344,
  U+2347-U+2348, U+234B-U+234D, U+2349-U+2350, U+2352-U+2354,
  U+2357-U+2359, U+235A-U+235C, U+235E-U+2360, U+2363-U+2365,
  U+2368-U+2369, U+236B-U+2370, U+2373-U+237A, U+2380-U+2383,
  U+2388-U+238B, U+2395 in Mono (by Ben Laenen)

svn path=/trunk/; revision=25565

17 years ago- small fix
Johannes Anderwald [Sun, 21 Jan 2007 19:12:46 +0000 (19:12 +0000)]
- small fix

svn path=/trunk/; revision=25564

17 years agoConvert NdisQueryPacket to an inline function (The DDK also defines it as an inline...
Thomas Bluemel [Sun, 21 Jan 2007 18:49:10 +0000 (18:49 +0000)]
Convert NdisQueryPacket to an inline function (The DDK also defines it as an inline function). Should fix some warnings with GCC4.2

svn path=/trunk/; revision=25563

17 years agofix some warnings (gcc 4.2)
Christoph von Wittich [Sun, 21 Jan 2007 18:25:47 +0000 (18:25 +0000)]
fix some warnings (gcc 4.2)

svn path=/trunk/; revision=25562

17 years agoset the correct limits for the GDT Entry in KiInitializeTSS2
Christoph von Wittich [Sun, 21 Jan 2007 18:20:06 +0000 (18:20 +0000)]
set the correct limits for the GDT Entry in KiInitializeTSS2

svn path=/trunk/; revision=25561

17 years agofix KeFlushCurrentTb
Christoph von Wittich [Sun, 21 Jan 2007 17:53:16 +0000 (17:53 +0000)]
fix KeFlushCurrentTb

svn path=/trunk/; revision=25560

17 years ago-fix a call to ExGetPreviousMode()
Christoph von Wittich [Sun, 21 Jan 2007 17:32:11 +0000 (17:32 +0000)]
-fix a call to ExGetPreviousMode()
-initialize CurKey in CmiScanKeyList

svn path=/trunk/; revision=25559

17 years agofix some warnings (gcc 4.2) thanks to w3seek
Christoph von Wittich [Sun, 21 Jan 2007 17:23:23 +0000 (17:23 +0000)]
fix some warnings (gcc 4.2) thanks to w3seek

svn path=/trunk/; revision=25558

17 years ago- Fix multiple LPC race conditions.
Alex Ionescu [Sun, 21 Jan 2007 17:21:42 +0000 (17:21 +0000)]
- Fix multiple LPC race conditions.
- Improve LpcpFreeToPortZone calls for optimizing lock release.
- Use RtlCopyMemory instead of RtlMoveMemory to optimize data transfer speed.
- Always hold a reference to the connection port associated to the LPC port and properly handle this reference in all the LPC code.
- Hold a reference to the process that mapped a server/client view, and use this field when freeing memory in case we're called out-of-process.
- Fix a lot of list parsing loops and code to handle the case when the list is now empty.
- Validate more fields and data in the code.
- There are still some LPC bugs at system shutdown.

svn path=/trunk/; revision=25557

17 years agofix some warnings (gcc 4.2)
Christoph von Wittich [Sun, 21 Jan 2007 16:04:17 +0000 (16:04 +0000)]
fix some warnings (gcc 4.2)

svn path=/trunk/; revision=25556

17 years agoMore applications by EmuandCo.
Maarten Bosma [Sun, 21 Jan 2007 15:12:03 +0000 (15:12 +0000)]
More applications by EmuandCo.

svn path=/trunk/; revision=25555

17 years agofixing a small disambler bug for mr
Magnus Olsen [Sun, 21 Jan 2007 15:06:57 +0000 (15:06 +0000)]
fixing a small disambler bug for mr

svn path=/trunk/; revision=25553

17 years ago[AUDIT]
Aleksey Bragin [Sun, 21 Jan 2007 11:38:05 +0000 (11:38 +0000)]
[AUDIT]
(thanks to "Ventron" for help in checking this file)

Result: clean, reasons:
1) Alex cites legal sources for his magic numbers
2) The callers to the Hal don't know what they want to ask the Hal for (they pass NULLs)
3) It looks a bit incomplete in general

svn path=/trunk/; revision=25552

17 years agocomment out packmgr for it can not be build at moment. some should take a look at it.
Magnus Olsen [Sun, 21 Jan 2007 11:32:28 +0000 (11:32 +0000)]
comment out packmgr for it can not be build at moment. some should take a look at it.

svn path=/trunk/; revision=25551

17 years ago===================================================================
Dominique Cote [Sun, 21 Jan 2007 04:46:38 +0000 (04:46 +0000)]
===================================================================
cctypes.h
ntoskrnl/cc/copy.c
===================================================================
Added CcFastMdlReadNotPossible

===================================================================
fastio.c
===================================================================
Added #ifdef to allow the file to compile "as is" in my windows
framework. This doesnt affect RosBE

Brought back Alex's code for

 FsRtlMdlReadCompleteDev
 FsRtlMdlReadDev
 FsRtlMdlReadComplete

after having code reviewed it.

===================================================================
ntoskrnl/include/internal/cc.h
ntoskrnl/cc/mdl.c
===================================================================
Change the name of CcMdlReadCompleteDev to CcMdlReadComplete2

svn path=/trunk/; revision=25550

17 years agoInitial commit for the fsrtl lib test driver. This does not compile under ROS. You...
Dominique Cote [Sat, 20 Jan 2007 18:06:23 +0000 (18:06 +0000)]
Initial commit for the fsrtl lib test driver. This does not compile under ROS. You need some glue to compile and use it under windows.

svn path=/trunk/; revision=25549

17 years ago* Adding FsRtlCopyRead(), FsRtlCopyWrite()
Dominique Cote [Sat, 20 Jan 2007 17:43:46 +0000 (17:43 +0000)]
* Adding FsRtlCopyRead(), FsRtlCopyWrite()
* Added #ifdef _NTIFS_INCLUDED_
typedef struct _SHARED_CACHE_MAP {
  definition to cctypes.h header file.

svn path=/trunk/; revision=25548

17 years ago- add italian translation by Paolo Devoti, devotip at tiscali dot xit
Johannes Anderwald [Sat, 20 Jan 2007 14:12:12 +0000 (14:12 +0000)]
- add italian translation by Paolo Devoti, devotip at tiscali dot xit
See issue #1949 for more details.

svn path=/trunk/; revision=25545

17 years agosorry ia32 should be own folder
Magnus Olsen [Sat, 20 Jan 2007 13:39:01 +0000 (13:39 +0000)]
sorry ia32 should be own folder

svn path=/trunk/; revision=25544

17 years agostart add mr op code causeome new bug for ppc
Magnus Olsen [Sat, 20 Jan 2007 13:33:42 +0000 (13:33 +0000)]
start add mr op code causeome new bug for ppc

svn path=/trunk/; revision=25543

17 years agoforgot thuse file
Magnus Olsen [Sat, 20 Jan 2007 13:32:26 +0000 (13:32 +0000)]
forgot thuse file

svn path=/trunk/; revision=25542

17 years agoforgot this file
Magnus Olsen [Sat, 20 Jan 2007 13:30:04 +0000 (13:30 +0000)]
forgot this file

svn path=/trunk/; revision=25541

17 years agoFix some warnings
Hervé Poussineau [Sat, 20 Jan 2007 13:29:04 +0000 (13:29 +0000)]
Fix some warnings

svn path=/trunk/; revision=25540

17 years agomsvc compilation fix & identify
Johannes Anderwald [Sat, 20 Jan 2007 13:25:28 +0000 (13:25 +0000)]
msvc compilation fix & identify

svn path=/trunk/; revision=25539

17 years agoEnable shell extensions to add pages to the control panel. The "Remote" page in XP...
Thomas Bluemel [Fri, 19 Jan 2007 18:34:50 +0000 (18:34 +0000)]
Enable shell extensions to add pages to the control panel. The "Remote" page in XP however disappears when being clicked on. Is someone interested in taking a look at it?

svn path=/trunk/; revision=25536

17 years agoMerge patch from wine-head: Fixes function prototypes of SHAddFromPropSheetExtArray...
Thomas Bluemel [Fri, 19 Jan 2007 18:30:53 +0000 (18:30 +0000)]
Merge patch from wine-head: Fixes function prototypes of SHAddFromPropSheetExtArray, SHCreatePropSheetExtArray, SHReplaceFromPropSheetExtArray and SHDestroyPropSheetExtArray

svn path=/trunk/; revision=25535

17 years agoMerged recent w32api changes
Thomas Bluemel [Fri, 19 Jan 2007 16:46:36 +0000 (16:46 +0000)]
Merged recent w32api changes

svn path=/trunk/; revision=25534

17 years agofix typo
Sylvain Petreolle [Fri, 19 Jan 2007 15:45:44 +0000 (15:45 +0000)]
fix typo

svn path=/trunk/; revision=25533

17 years agoFix compilation
Thomas Bluemel [Fri, 19 Jan 2007 15:37:51 +0000 (15:37 +0000)]
Fix compilation

svn path=/trunk/; revision=25532

17 years agoadding beepmidi to build
Magnus Olsen [Fri, 19 Jan 2007 10:37:52 +0000 (10:37 +0000)]
adding beepmidi to build

svn path=/trunk/; revision=25530

17 years agofix some gcc 4.2 warnings
Christoph von Wittich [Fri, 19 Jan 2007 10:14:29 +0000 (10:14 +0000)]
fix some gcc 4.2 warnings

svn path=/trunk/; revision=25529

17 years agofix some gcc 4.2 compilation problems and warnings
Christoph von Wittich [Fri, 19 Jan 2007 09:26:20 +0000 (09:26 +0000)]
fix some gcc 4.2 compilation problems and warnings

svn path=/trunk/; revision=25528

17 years agoFixing the src and dst of register so they are being read right (PPC brain)
Magnus Olsen [Fri, 19 Jan 2007 08:20:42 +0000 (08:20 +0000)]
Fixing the src and dst of register so they are being read right (PPC brain)
Adding stw for dissembler and converting (PPC and IA32)
Fixing a counter bug in ConvertBitToByte, ConvertBitToByte32, GetMaskByte, GetMaskByte32
we did miss one bit calculation when we count the mask the bit 0

svn path=/trunk/; revision=25527

17 years agoFix compilation (second attempt, too many local changes to keep track of)
Thomas Bluemel [Fri, 19 Jan 2007 01:06:25 +0000 (01:06 +0000)]
Fix compilation (second attempt, too many local changes to keep track of)

svn path=/trunk/; revision=25526

17 years agoFix compilation
Thomas Bluemel [Fri, 19 Jan 2007 01:05:44 +0000 (01:05 +0000)]
Fix compilation

svn path=/trunk/; revision=25525

17 years agofix some warnings (gcc 4.2 on Linux x64)
Christoph von Wittich [Fri, 19 Jan 2007 01:00:06 +0000 (01:00 +0000)]
fix some warnings (gcc 4.2 on Linux x64)

svn path=/trunk/; revision=25524

17 years agoFix freeing memory
Thomas Bluemel [Fri, 19 Jan 2007 00:23:48 +0000 (00:23 +0000)]
Fix freeing memory

svn path=/trunk/; revision=25523

17 years agoMove the "Computer Name" page to netid.dll
Thomas Bluemel [Fri, 19 Jan 2007 00:09:21 +0000 (00:09 +0000)]
Move the "Computer Name" page to netid.dll

svn path=/trunk/; revision=25522

17 years agoset eol-style to native
Thomas Bluemel [Thu, 18 Jan 2007 23:42:21 +0000 (23:42 +0000)]
set eol-style to native

svn path=/trunk/; revision=25521

17 years agoPC speaker MIDI driver (see README.TXT for info)
Andrew Greenwood [Thu, 18 Jan 2007 23:26:30 +0000 (23:26 +0000)]
PC speaker MIDI driver (see README.TXT for info)
Tested on Windows XP but should be compatible with ReactOS

svn path=/trunk/; revision=25520

17 years ago- forgot these changes in my local svn
Johannes Anderwald [Thu, 18 Jan 2007 22:37:10 +0000 (22:37 +0000)]
- forgot these changes in my local svn
- generating dependency map works
- results can be viewed with XSL capable browser

svn path=/trunk/; revision=25519

17 years agoFixing another bug in converting
Magnus Olsen [Thu, 18 Jan 2007 22:09:08 +0000 (22:09 +0000)]
Fixing another bug in converting
PPC
stwu r1,-32(r1)

equal with intel
mov [esp-32],esp;
mov esp, esp - 32;

svn path=/trunk/; revision=25518

17 years agoAdding stwu to converting to ia32
Magnus Olsen [Thu, 18 Jan 2007 21:35:48 +0000 (21:35 +0000)]
Adding stwu to converting to ia32
fixing some smaller bug when it was disabmler
fixing dymatic translations of abi for ppc and ia32

svn path=/trunk/; revision=25517

17 years agoMerge 3 STATICs together
Thomas Bluemel [Thu, 18 Jan 2007 21:09:56 +0000 (21:09 +0000)]
Merge 3 STATICs together

svn path=/trunk/; revision=25516

17 years ago- dutch translation by Eric Janssen (janssuhhh@gmail.com)
Johannes Anderwald [Thu, 18 Jan 2007 20:22:56 +0000 (20:22 +0000)]
- dutch translation by Eric Janssen (janssuhhh@gmail.com)
See issue #1989 for more details.

svn path=/trunk/; revision=25515

17 years agoImplement disambler for stwu, left todo add it to the Converter
Magnus Olsen [Thu, 18 Jan 2007 19:33:48 +0000 (19:33 +0000)]
Implement disambler for stwu, left todo add it to the Converter

svn path=/trunk/; revision=25514

17 years agofix some warnings
Christoph von Wittich [Thu, 18 Jan 2007 17:12:49 +0000 (17:12 +0000)]
fix some warnings

svn path=/trunk/; revision=25513

17 years agoUse comctl32's syslink control, no need to reinvent the wheel
Thomas Bluemel [Thu, 18 Jan 2007 16:37:30 +0000 (16:37 +0000)]
Use comctl32's syslink control, no need to reinvent the wheel

svn path=/trunk/; revision=25512

17 years agoFixing some ppc disambler bugs. Li are not 100% test it can contain some fault.
Magnus Olsen [Thu, 18 Jan 2007 15:40:37 +0000 (15:40 +0000)]
Fixing some ppc disambler bugs. Li are not 100% test it can contain some fault.
Fixing Li bug the register for dest was wrong calctions see file OpCodePPC.txt.
fixing some meaing in ReadMe.txt

svn path=/trunk/; revision=25511

17 years agoAdd Arc.c to win32k. See gdi32 painting.c for more info.
James Tabor [Thu, 18 Jan 2007 13:56:58 +0000 (13:56 +0000)]
Add Arc.c to win32k. See gdi32 painting.c for more info.

svn path=/trunk/; revision=25508

17 years agoExpain how the bit order works and how get the opcode. The IBM and freescale manual...
Magnus Olsen [Thu, 18 Jan 2007 13:43:17 +0000 (13:43 +0000)]
Expain how the bit order works and how get the opcode. The IBM and freescale manual for ppc cpu are not good expain it.
now I got less headic, and got understainf how to decoding the manual and how the opcode are store.

svn path=/trunk/; revision=25507

17 years agoAdding a opcode list, which opcode we are supportin convert from
Magnus Olsen [Thu, 18 Jan 2007 12:04:24 +0000 (12:04 +0000)]
Adding a opcode list, which opcode we are supportin convert from

svn path=/trunk/; revision=25506

17 years agofix gcc4 build
Sylvain Petreolle [Thu, 18 Jan 2007 11:13:43 +0000 (11:13 +0000)]
fix gcc4 build

svn path=/trunk/; revision=25505

17 years ago[25 bug fixes]:
Alex Ionescu [Thu, 18 Jan 2007 09:44:49 +0000 (09:44 +0000)]
[25 bug fixes]:
- Implement KeReadStateThread.
- Fix PspTerminateProcess to handle case where there's no threads in the process.
- Fix check in PspTerminateProcess. ObClearProcessHandleTable gets called if there's a debug port, not if there's an object table.
- Simplfy PspReapRoutine.
- Fix PspExitThread to wait for all other threads before continuing to kill the last thread. Should fix lots of race/wait conditions.
- PspExitThread should check for !DeadThread and not !Terminated before determining if it should free the TEB. Also, the DbgK handle should only be closed if the thread isn't already dead.
- Fixup formatting of some code to warn less on MSVC.
- Fail various APIs if acquiring rundown protection failed.
- Fix Process Quantum/Priority settings.
- Grant PROCESS_TERMINATE by default.
- Add PROCESS_SET_INFORMATION, STANDARD_RIGHTS_ALL and PROCESS_SET_QUOTA to the default process granted access mask.
- Initialize process/thread/image notification callbacks durin phase 0 Ps initialization.
- The Audit Name belongs to the system process, not the idle process.
- Detect more failures in phase 0 startup.
- Fix various race conditions/incorrect checks in ps/security.c related to impersonation information. Also allow PspAssignPrimaryToken to be called directly with the token pointer and not only the handle.
- Wrap system thread startup stub in SEH and write a SEH filter function to print out debug information when a system thread dies unexpectedly.

svn path=/trunk/; revision=25504