reactos.git
17 years agoavoid crash
Sylvain Petreolle [Sat, 3 Feb 2007 13:50:47 +0000 (13:50 +0000)]
avoid crash

svn path=/trunk/; revision=25700

17 years agofix buliding with optimze -O3 forget add <compilerflag>-Wno-strict-aliasing</compile...
Magnus Olsen [Fri, 2 Feb 2007 13:56:33 +0000 (13:56 +0000)]
fix buliding with optimze -O3 forget add  <compilerflag>-Wno-strict-aliasing</compilerflag> to all level of optimze

svn path=/trunk/; revision=25699

17 years agopart 2/2 adding a new value OPTIMIZE, easy way to enable diffent optimze level do...
Magnus Olsen [Fri, 2 Feb 2007 13:02:17 +0000 (13:02 +0000)]
part 2/2 adding a new value OPTIMIZE,  easy way to enable diffent optimze level do not chamge it if u do not known what u doing

svn path=/trunk/; revision=25698

17 years agopart 1/2 adding a new value OPTIMIZE, easy way to enable diffent optimze level do...
Magnus Olsen [Fri, 2 Feb 2007 13:01:43 +0000 (13:01 +0000)]
part 1/2 adding a new value OPTIMIZE,  easy way to enable diffent optimze level do not chamge it if u do not known what u doing

svn path=/trunk/; revision=25697

17 years ago- ukrainian translation by Artem Reznikov temarez {AT} yandex (DOT) [RU]- fixes bug...
Johannes Anderwald [Fri, 2 Feb 2007 10:41:50 +0000 (10:41 +0000)]
- ukrainian translation by Artem Reznikov temarez {AT} yandex (DOT) [RU]- fixes bug 1723
See issue #1723 for more details.

svn path=/trunk/; revision=25696

17 years ago- ukrainian translation by Artem Reznikov temarez {AT} yandex (DOT) [RU]
Johannes Anderwald [Fri, 2 Feb 2007 10:38:53 +0000 (10:38 +0000)]
- ukrainian translation by Artem Reznikov temarez {AT} yandex (DOT) [RU]
See issue #1723 for more details.

svn path=/trunk/; revision=25695

17 years ago- diff2wine
Johannes Anderwald [Fri, 2 Feb 2007 10:38:04 +0000 (10:38 +0000)]
- diff2wine

svn path=/trunk/; revision=25694

17 years agofix make install for Marlett.ttf
Sylvain Petreolle [Fri, 2 Feb 2007 10:35:56 +0000 (10:35 +0000)]
fix make install for Marlett.ttf

svn path=/trunk/; revision=25693

17 years ago- ukrainian translation by Artem Reznikov temarez {AT} yandex (DOT) [RU]
Johannes Anderwald [Fri, 2 Feb 2007 10:35:36 +0000 (10:35 +0000)]
- ukrainian translation by Artem Reznikov temarez {AT} yandex (DOT) [RU]
See issue #1723 for more details.

svn path=/trunk/; revision=25692

17 years ago- diff2wine
Johannes Anderwald [Fri, 2 Feb 2007 10:29:56 +0000 (10:29 +0000)]
- diff2wine

svn path=/trunk/; revision=25691

17 years ago- ukrainian translation by Artem Reznikov temarez {AT} yandex (DOT) [RU]
Johannes Anderwald [Fri, 2 Feb 2007 10:24:12 +0000 (10:24 +0000)]
- ukrainian translation by Artem Reznikov temarez {AT} yandex (DOT) [RU]
See issue #1723 for more details.

svn path=/trunk/; revision=25690

17 years ago- diff2wine
Johannes Anderwald [Fri, 2 Feb 2007 10:22:59 +0000 (10:22 +0000)]
- diff2wine

svn path=/trunk/; revision=25689

17 years ago- ukrainian translation by Artem Reznikov temarez {AT} yandex (DOT) [RU]
Johannes Anderwald [Fri, 2 Feb 2007 10:17:14 +0000 (10:17 +0000)]
- ukrainian translation by Artem Reznikov temarez {AT} yandex (DOT) [RU]

See issue #1723 for more details.

svn path=/trunk/; revision=25687

17 years ago- ukrainian translation by Artem Reznikov temarez {AT} yandex (DOT) [RU]
Johannes Anderwald [Fri, 2 Feb 2007 10:15:50 +0000 (10:15 +0000)]
- ukrainian translation by Artem Reznikov temarez {AT} yandex (DOT) [RU]
- Someone plz update avifil32_ros.diff
See issue #1723 for more details.

svn path=/trunk/; revision=25686

17 years agofixed oarch being use. some have remove oarch flags when ros being compile. now we...
Magnus Olsen [Fri, 2 Feb 2007 09:31:22 +0000 (09:31 +0000)]
fixed oarch being use. some have remove oarch flags when ros being compile. now we add it back. for mingw

svn path=/trunk/; revision=25685

17 years ago- Fix include path
Johannes Anderwald [Fri, 2 Feb 2007 09:17:45 +0000 (09:17 +0000)]
- Fix include path
- Make code c compatible
- Fix bug in parsing routine

svn path=/trunk/; revision=25684

17 years ago- Fix warning(s)
Johannes Anderwald [Fri, 2 Feb 2007 08:41:30 +0000 (08:41 +0000)]
- Fix warning(s)
- Void functions dont return values
- Include intrin.h for _enable / _disable intrinsics

svn path=/trunk/; revision=25683

17 years agolet get the name correct this time
Ged Murphy [Fri, 2 Feb 2007 00:08:53 +0000 (00:08 +0000)]
let get the name correct this time

svn path=/trunk/; revision=25682

17 years agoadd renamed font
Ged Murphy [Fri, 2 Feb 2007 00:04:56 +0000 (00:04 +0000)]
add renamed font

svn path=/trunk/; revision=25681

17 years ago- Many improvements to the Marlett font now making it a complete replacement for...
Ged Murphy [Fri, 2 Feb 2007 00:03:30 +0000 (00:03 +0000)]
- Many improvements to the Marlett font now making it a complete replacement for the Windows variant.
- Rename font to Marlett as the 'TG' parts have been redone.
- Thanks to wierd_w for his help on this.

svn path=/trunk/; revision=25680

17 years ago- Remove stdcall decoration
Johannes Anderwald [Thu, 1 Feb 2007 23:14:54 +0000 (23:14 +0000)]
- Remove stdcall decoration

svn path=/trunk/; revision=25679

17 years ago- Use ntdefs constants over limits.h constants
Johannes Anderwald [Thu, 1 Feb 2007 23:13:02 +0000 (23:13 +0000)]
- Use ntdefs constants over limits.h constants

svn path=/trunk/; revision=25678

17 years ago- remove stdcall declaration
Johannes Anderwald [Thu, 1 Feb 2007 23:06:40 +0000 (23:06 +0000)]
- remove stdcall declaration

svn path=/trunk/; revision=25677

17 years ago- ULONG is always >= 0
Johannes Anderwald [Thu, 1 Feb 2007 23:05:32 +0000 (23:05 +0000)]
- ULONG is always >= 0
- Include limits.h to use ULONG_MAX instead of doing a cast

svn path=/trunk/; revision=25676

17 years ago- Fix prototype HalAllocateCrashDumpRegisters
Johannes Anderwald [Thu, 1 Feb 2007 23:03:38 +0000 (23:03 +0000)]
- Fix prototype HalAllocateCrashDumpRegisters
- Include intrin.h for _enable / _disable

svn path=/trunk/; revision=25675

17 years ago- Fix function pointer definition
Johannes Anderwald [Thu, 1 Feb 2007 22:36:04 +0000 (22:36 +0000)]
- Fix function pointer definition

svn path=/trunk/; revision=25674

17 years ago- NTDLL no longer needs intrlck library
Johannes Anderwald [Thu, 1 Feb 2007 22:11:40 +0000 (22:11 +0000)]
- NTDLL no longer needs intrlck library

svn path=/trunk/; revision=25673

17 years ago- Use compiler intrinsics instead of hidden dependency of intrlck
Johannes Anderwald [Thu, 1 Feb 2007 22:10:21 +0000 (22:10 +0000)]
- Use compiler intrinsics instead of hidden dependency of intrlck

svn path=/trunk/; revision=25672

17 years ago- Compile csrss with intrinsics
Johannes Anderwald [Thu, 1 Feb 2007 21:44:23 +0000 (21:44 +0000)]
- Compile csrss with intrinsics
- Remove the intrlck dependency

svn path=/trunk/; revision=25671

17 years ago- Fix typo in Italian translation by Daniele Forsi (dforsi at gmail dot com)
Johannes Anderwald [Thu, 1 Feb 2007 20:04:32 +0000 (20:04 +0000)]
- Fix typo in Italian translation by Daniele Forsi (dforsi at gmail dot com)
- Fixes bug 2006
See issue #2006 for more details.

svn path=/trunk/; revision=25670

17 years ago- Fix a bug in NtSetInformationThread which was causing 2nd-stage setup to freeze...
Alex Ionescu [Thu, 1 Feb 2007 19:25:04 +0000 (19:25 +0000)]
- Fix a bug in NtSetInformationThread which was causing 2nd-stage setup to freeze/crash. Fixes regression from 25631.

svn path=/trunk/; revision=25669

17 years agoCommit attachment #1151
Dmitry Gorbachev [Thu, 1 Feb 2007 08:04:23 +0000 (08:04 +0000)]
Commit attachment #1151

svn path=/trunk/; revision=25668

17 years ago- Comment out clearing of KeLoaderBlock (introduced by 25629), because it looks like...
Aleksey Bragin [Wed, 31 Jan 2007 22:30:59 +0000 (22:30 +0000)]
- Comment out clearing of KeLoaderBlock (introduced by 25629), because it looks like someone is still calling IopLoadServiceModule() even after that point. 2nd stage boots with this change.

svn path=/trunk/; revision=25667

17 years agoremove doc directory
Johannes Anderwald [Wed, 31 Jan 2007 08:38:39 +0000 (08:38 +0000)]
remove doc directory

svn path=/trunk/; revision=25664

17 years agoupdate freetype from 2.1.9 to 2.3.0
Magnus Olsen [Wed, 31 Jan 2007 06:11:48 +0000 (06:11 +0000)]
update freetype from 2.1.9 to 2.3.0
allot of changes see freetype change log,
Bigest news
1. Fixing segment fualt with some of ttf font
2. Fixed memory leak.
3. Getting cjk rending working allot better.
and more

svn path=/trunk/; revision=25663

17 years ago- Fix intlck compile.
Aleksey Bragin [Tue, 30 Jan 2007 19:50:34 +0000 (19:50 +0000)]
- Fix intlck compile.

svn path=/trunk/; revision=25662

17 years agoChange the size of caption and scrollbar in the preview window.
Eric Kohl [Mon, 29 Jan 2007 23:35:31 +0000 (23:35 +0000)]
Change the  size of caption and scrollbar in the preview window.

svn path=/trunk/; revision=25661

17 years ago- Add the stuff I deleted from winnt.h to ntifs.h where it belongs, I was naively...
Alex Ionescu [Mon, 29 Jan 2007 05:16:00 +0000 (05:16 +0000)]
- Add the stuff I deleted from winnt.h to ntifs.h where it belongs, I was naively hoping we'd have it in ntifs and didn't catch this until a kernel compile.

svn path=/trunk/; revision=25660

17 years ago- Turns out MSVC wasn't compiling one file because it had the same name as another...
Alex Ionescu [Mon, 29 Jan 2007 05:13:13 +0000 (05:13 +0000)]
- Turns out MSVC wasn't compiling one file because it had the same name as another. Renamed it and fixed the resulting errors.
- The structures for vista symlink support are not in winnt.h, they are only in the ntifs.h. Removed them from our winnt.h, and temporarily added them to the .c file itself.
- Implemented intrinsic interlocked functions instead of using the depcreated interlck lib.
- Fixed a bug in the MemoryBarrier intrinsic.
- Included intrin.h by default when using the NDK now, since native apps need Interlocked() functions and ntdll doesn't provide them, and they can't link to kernel32, and libintrlck is deprecated/sucks.
- Fixed stub of BaseCheckAppcompatCache.

svn path=/trunk/; revision=25659

17 years agostart implement detections of export functions name. not finish does not working...
Magnus Olsen [Sun, 28 Jan 2007 19:52:02 +0000 (19:52 +0000)]
start implement detections of export functions name. not finish does not working yet. Only fix pe loader so it works

svn path=/trunk/; revision=25658

17 years agoPrototype of Italian keyboard support (see bug #1963)
Dmitry Gorbachev [Sun, 28 Jan 2007 19:06:29 +0000 (19:06 +0000)]
Prototype of Italian keyboard support (see bug #1963)

svn path=/trunk/; revision=25657

17 years ago- Merge Arty's Mm Page Referencing patch. I was able to complete first-stage setup...
Alex Ionescu [Sun, 28 Jan 2007 16:23:52 +0000 (16:23 +0000)]
- Merge Arty's Mm Page Referencing patch. I was able to complete first-stage setup (albeit only on the second try) and booting to second stage (after three tries). There are still freelist.c bugchecks but this patch is defintely a step in the right direction.

svn path=/trunk/; revision=25656

17 years agoAdded tests for FsRtlGetFileSize() and FsRtlReadMdl()
Dominique Cote [Sun, 28 Jan 2007 04:15:39 +0000 (04:15 +0000)]
Added tests for FsRtlGetFileSize() and FsRtlReadMdl()

svn path=/trunk/; revision=25655

17 years agoupdate XMLStorage:
Martin Fuchs [Sat, 27 Jan 2007 20:55:22 +0000 (20:55 +0000)]
update XMLStorage:
- optional CDATA embedding by set_content()
- fix for handling in XML parser

svn path=/trunk/; revision=25652

17 years ago- diff2wine
Johannes Anderwald [Sat, 27 Jan 2007 18:21:10 +0000 (18:21 +0000)]
- diff2wine

svn path=/trunk/; revision=25651

17 years ago- move wine includes to precomp.h
Johannes Anderwald [Sat, 27 Jan 2007 17:52:03 +0000 (17:52 +0000)]
- move wine includes to precomp.h
- this enables compiling nearly all (printdlg has some issues) of comdlg32 with msvc (first include all standard headers and then include the wine compability headers)

svn path=/trunk/; revision=25650

17 years agoset properties
Eric Kohl [Sat, 27 Jan 2007 14:53:18 +0000 (14:53 +0000)]
set properties

svn path=/trunk/; revision=25649

17 years agoMake RtlEqualPrefixSid portable
Thomas Bluemel [Sat, 27 Jan 2007 14:06:01 +0000 (14:06 +0000)]
Make RtlEqualPrefixSid portable

svn path=/trunk/; revision=25648

17 years agoAdded function FsRtlGetFileSize()
Dominique Cote [Sat, 27 Jan 2007 05:26:30 +0000 (05:26 +0000)]
Added function FsRtlGetFileSize()
Added function FsRtlMdlRead() (mostly Alex's reviewed)

svn path=/trunk/; revision=25646

17 years ago- wrap include_next in macro (msvc doesnot understand this)
Johannes Anderwald [Fri, 26 Jan 2007 23:17:02 +0000 (23:17 +0000)]
- wrap include_next in macro (msvc doesnot understand this)

svn path=/trunk/; revision=25644

17 years agoFix warning.
James Tabor [Fri, 26 Jan 2007 22:28:47 +0000 (22:28 +0000)]
Fix warning.

svn path=/trunk/; revision=25642

17 years agouninitialized variable fix
Sylvain Petreolle [Fri, 26 Jan 2007 22:00:03 +0000 (22:00 +0000)]
uninitialized variable fix

svn path=/trunk/; revision=25640

17 years ago- Enable NT Scheduler.
Alex Ionescu [Fri, 26 Jan 2007 20:54:30 +0000 (20:54 +0000)]
- Enable NT Scheduler.
- The good:
  - Fixes hangs/freezes in trunk
  - No matter how sluggish the system got, I was able to move the mouse and other apps were still responsive even though one app was hogging the CPU.
  - Balancer thread activates and does its job of preventing deadlocks.
  - The code was heavily tested and some of it is based off direct pseudo-code from NT's very own kernel (legally obtained from Windows Internals II slides) as well as Windows Internals 4th.
The bad:
  - Explorer takes 30 seconds to load, after that all is fine though.
  - First-stage installer asserts at 18% in Mm instead of lagging like previously.
  - Various other Mm crashes related to the above ^^.
- Please help out to fix/figure out the Mm crashes! It would be much appreciated, otherwise, in a week, we will revert this patch as well as the patch that caused the hangs/freezes.

svn path=/trunk/; revision=25639

17 years ago- fix some warnings
Johannes Anderwald [Fri, 26 Jan 2007 19:44:42 +0000 (19:44 +0000)]
- fix some warnings
- define _ACLUI_

svn path=/trunk/; revision=25638

17 years ago- remove stdcall convention
Johannes Anderwald [Fri, 26 Jan 2007 18:45:29 +0000 (18:45 +0000)]
- remove stdcall convention

svn path=/trunk/; revision=25637

17 years ago- winsock2.h needs to be included before windows.h (msvc)
Johannes Anderwald [Fri, 26 Jan 2007 18:43:14 +0000 (18:43 +0000)]
- winsock2.h needs to be included before windows.h (msvc)

svn path=/trunk/; revision=25636

17 years ago- update ukrainian translation by Artem Reznikov temarez {AT} yandex (DOT) [RU]
Johannes Anderwald [Fri, 26 Jan 2007 18:42:05 +0000 (18:42 +0000)]
- update ukrainian translation by Artem Reznikov temarez {AT} yandex (DOT) [RU]
See issue #1723 for more details.

svn path=/trunk/; revision=25635

17 years agoFix compile (debug information is removed from Spare[2], but noone uses it).
Aleksey Bragin [Fri, 26 Jan 2007 10:07:26 +0000 (10:07 +0000)]
Fix compile (debug information is removed from Spare[2], but noone uses it).

svn path=/trunk/; revision=25634

17 years ago- Fix definition of RTL_CRITICAL_SECTION_DEBUG.
Alex Ionescu [Fri, 26 Jan 2007 07:22:19 +0000 (07:22 +0000)]
- Fix definition of RTL_CRITICAL_SECTION_DEBUG.
- Fix all MSVC warnings in kernel32.
- Re-enable PCH.
- Disable Rtl*CondVar calls, since we can't target Vista *AND* 2003 due to linker problems. We'll need a way to create multiple DLL versions if we're going to attempt this.
- Make ASSERTs always valid in kernel32 as long as DBG is set.
- Fix Windows-loading hack, it seems there's only two levels of SEH. Eitherways, I think I've found a cleaner way to make it load nicely, so this hack will go away soon.

svn path=/trunk/; revision=25633

17 years ago- Multiple fixes to ERESOURCE implementation.
Alex Ionescu [Thu, 25 Jan 2007 23:48:48 +0000 (23:48 +0000)]
- Multiple fixes to ERESOURCE implementation.

svn path=/trunk/; revision=25632

17 years ago- Clean up kernel32\thread.c and fix some bugs.
Alex Ionescu [Thu, 25 Jan 2007 22:39:32 +0000 (22:39 +0000)]
- Clean up kernel32\thread.c and fix some bugs.
- Implement KeSetDisableBoostThread.
- Temporarily disable SEH/validation in NtQuery/SetProcess/ThreadInformation routines since it was making all calls fail.
- Fix bugs when using ThreadPriority, ThreadBasePriority, ThreadAffinityMask. Parameters are now validated properly, and affinity masked with the process.
- Implement ThreadSetIdealProcessor and ThreadPriorityBoost case.
- Implement ThreadZeroTlsCell case. TLS should now work properly.
- Make kernel32_winetest for threads usable.
- Update Kernel Fun.

svn path=/trunk/; revision=25631

17 years ago- Implement the balance set manager. Doesn't do much for now except start up the...
Alex Ionescu [Thu, 25 Jan 2007 18:48:56 +0000 (18:48 +0000)]
- Implement the balance set manager. Doesn't do much for now except start up the thread queue scanner.
- Implement the thread queue scanner, but disable most of it for now, since we're not using the new scheduler.

svn path=/trunk/; revision=25630

17 years ago- Use WinXP style /SOS output when enabled. (TODO: Display banner/memory/cpu).
Alex Ionescu [Thu, 25 Jan 2007 17:51:45 +0000 (17:51 +0000)]
- Use WinXP style /SOS output when enabled. (TODO: Display banner/memory/cpu).
- Make more init functions return TRUE/FALSE and bugcheck the system if they failed.
- Add more progress bar update calls.
- Merge MmInit2 and MmInit3 into MmInitSystem with different phase calls.
- Clear KeLoaderBlock after drivers have been loaded.
- Update kernel fun.
- Update symbolic names of certain strings in ntoskrnl.mc. Use WINDOWS_NT... instead of REACTOS because these names are documented and should be kept for cross-code compatibility.

svn path=/trunk/; revision=25629

17 years agocompile intl_new using its includes, not intl's ones
Sylvain Petreolle [Thu, 25 Jan 2007 15:06:10 +0000 (15:06 +0000)]
compile intl_new using its includes, not intl's ones

svn path=/trunk/; revision=25628

17 years agorevers r25623
Magnus Olsen [Thu, 25 Jan 2007 10:15:19 +0000 (10:15 +0000)]
revers  r25623
Acdring to Sylvain Petreolle, spetreolle at yahoo.fr this is copy paste from windows xp cpl, it is not allown todo a copy paste of sentence from windows xp, he did compare it.

svn path=/trunk/; revision=25627

17 years ago- Implement KeUpdateSystemTime properly, it now saves and returns the old time, suppo...
Alex Ionescu [Thu, 25 Jan 2007 05:14:55 +0000 (05:14 +0000)]
- Implement KeUpdateSystemTime properly, it now saves and returns the old time, supports HAL time, as well as loops the timer list to fixup relative timers and expired timers after the time has changed.
- Replace mm failure detection code by dprint + while loop to avoid bugchecks which might make the error worse to see.
- Remove some deprecated code/functions and cleanup clock.c entirely.

svn path=/trunk/; revision=25626

17 years ago- Implement ObQueryTypeInfo and link it to NtQueryObject.
Alex Ionescu [Thu, 25 Jan 2007 01:50:40 +0000 (01:50 +0000)]
- Implement ObQueryTypeInfo and link it to NtQueryObject.
- Fix a bug in ObQueryNameInfo.
See issue #1993 for more details.

svn path=/trunk/; revision=25625

17 years ago- Rename KiSetSystemTime to KeSetSystemTime and enhance prototype for later use.
Alex Ionescu [Thu, 25 Jan 2007 01:13:09 +0000 (01:13 +0000)]
- Rename KiSetSystemTime to KeSetSystemTime and enhance prototype for later use.
- Create Phase 1 initialization for the SRM (SeInitSystem). Right now it inserts the system boot token into object manager, which is something we forgot to do before.
- Renamed ExPhase2Init to Phase1Initialization, since it's not Phase 2.
- Updated Phase 1 PS Initialization to get the KeLoaderBlock pointer and use it as a context parameter when calling Phase1Initialization.
- Split off Phase1Initialization into Phase1InitializationDiscard, which is the bulk of the phase 1 code (99% of it) and can be put in an .INIT section to be freed after boot.
- Modify parts of the Inbv setup code. Also implement support for /SOS, and try to mimic its behaviour on NT (not fully achieved). You will need /SOS to see boot messages on the screen! FreeLDR now adds this by default to the "Debug "configuration.
- Temporarily disable ReactOS Banner during boot. We will get this data from the .mc/.res file in a later patch instead of hard-coding it.
- Optimize calling and usage of ExpLoadInitialProcess.
- Add support for Y2K bug fix documented for Windows NT (/YEAR).
- Add support to detect WinPE/MiniNT/ReactOS Live CD.
- Add temporary debugging code to MmInit2 and some Mm functions to detect if these functions are being used too early, which could result in catastrophic to subtle bugs.
- Add more bugchecks when failures occur, and enhance others. Also add more codes to ntoskrnl.mc.
- Disable calls to ObfDereferenceDeviceMap since it's not yet implemented.

svn path=/trunk/; revision=25624

17 years ago- set svn eol-properties
Johannes Anderwald [Wed, 24 Jan 2007 20:27:50 +0000 (20:27 +0000)]
- set svn eol-properties
- update translation by Heis Spiter heis underscore spiter at hotmail dot c o m
See issue #2000 for more details.

svn path=/trunk/; revision=25623

17 years ago- Fix a bug, fix breakage from previous revision.
Alex Ionescu [Wed, 24 Jan 2007 19:54:51 +0000 (19:54 +0000)]
- Fix a bug, fix breakage from previous revision.

svn path=/trunk/; revision=25622

17 years ago- Fix ExInitPoolLookasidePointers and ExpInitailizeLookasideLists.
Alex Ionescu [Wed, 24 Jan 2007 19:48:34 +0000 (19:48 +0000)]
- Fix ExInitPoolLookasidePointers and ExpInitailizeLookasideLists.
- Implement DbgLoadImageSymbols, Implement DebugService, and ExpLoadBootSymbols during phase 0 executive init to make KD load the symbols for all the boot drivers, and optionally breakpoint. Not yet useful since we don't have KD.
- Detect /BURNMEM and /PERFMEM and go all the way to determining the pages required, but warn the user that we don't support these flags yet.
- Detect FLG_KERNEL_STACK_TRACE_DB and FLG_ENABLE_EXCEPTION_LOGGING and warn that we don't support these yet.
- Add call to Cm to setup system variables, but disable until cm rewrite.
- Add PnP Manager initialization call and implement PnP Manager Phase 0 initialization (PiInitPhase0, PpInitializeDeviceReferenceTable), but this isn't used for now.
- Move MmInit2 to Phase 1 initialization, and initailize bootvid there as well.
- Add/Fix missing definitions, prototypes to NDK/NTIFS.

svn path=/trunk/; revision=25621

17 years ago * __cpuid, __rdtsc, __readmsr, __readpmc, __writemsr, __wbinvd, __readcr0, __readcr2...
KJK::Hyperion [Wed, 24 Jan 2007 19:07:19 +0000 (19:07 +0000)]
 * __cpuid, __rdtsc, __readmsr, __readpmc, __writemsr, __wbinvd, __readcr0, __readcr2, __readcr3, __readcr4: show me a fan of the extended inline asm syntax and I'll show you a SPARKLING FIST OF BURNING RAGE. Sprinkled __volatile__ liberally because there is no way to say "has side effects" OR "delete if outputs are ignored", only BOTH or NEITHER. This breaks Visual C++ compatibility ever so subtly. Tread carefully. THANK YOU GCC TEAM for keeping things interesting!
 * __writemsr: pass 64-bit value with "A" constraint
 * __writecr0, __writecr3, __writecr4: "memory" clobber becase Visual C++ does, too

svn path=/trunk/; revision=25620

17 years ago * __ll_lshift, __ll_rshift, __ull_rshift: fixed handling of 64-bit arguments and...
KJK::Hyperion [Wed, 24 Jan 2007 18:01:34 +0000 (18:01 +0000)]
 * __ll_lshift, __ll_rshift, __ull_rshift: fixed handling of 64-bit arguments and return values by forcing them to be passed as EDX:EAX. Finally generates decent code
 * updated comments to reflect current state of the code

svn path=/trunk/; revision=25619

17 years agoadd french resources
Sylvain Petreolle [Wed, 24 Jan 2007 17:45:26 +0000 (17:45 +0000)]
add french resources
fix typos

svn path=/trunk/; revision=25618

17 years ago * _ReadBarrier, _WriteBarrier: defined as aliases for _ReadWriteBarrier. Alas
KJK::Hyperion [Wed, 24 Jan 2007 16:53:44 +0000 (16:53 +0000)]
 * _ReadBarrier, _WriteBarrier: defined as aliases for _ReadWriteBarrier. Alas
 * __emul, __emulu: fixed to specify instruction length suffix
 * __rdtsc: removed "__volatile__" attribute from the inline asm. Hyperion recommends you fix your goddamn code instead
 * __emul, __emulu, __rdtsc, __readmsr, __readpmc: return 64-bit values with the "=A" constraint instead of horrible kludge

svn path=/trunk/; revision=25617

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