Sylvain Petreolle [Sun, 4 Feb 2007 14:50:47 +0000 (14:50 +0000)]
changed wrong line in previous commit,
thanks to jjkola
svn path=/trunk/; revision=25709
Alex Ionescu [Sat, 3 Feb 2007 21:10:08 +0000 (21:10 +0000)]
- Temporarily disable referencing and dereferencing the LPC mapping process since the dereference never seems to happen, thus causing processes never to die. Now they die again when killed/closing.
svn path=/trunk/; revision=25708
Alex Ionescu [Sat, 3 Feb 2007 20:35:37 +0000 (20:35 +0000)]
- Update kernel fun.
svn path=/trunk/; revision=25707
Alex Ionescu [Sat, 3 Feb 2007 20:30:32 +0000 (20:30 +0000)]
- Replace broken bootvid by a new bootvid based on TinyKRNL's version. It is a .DLL instead of a .SYS and takes advantage of my patch to FreeLDR which allows us to load DLLs that drivers/the kernel load.
- This new version is also binary compatible, so Windows's bootvid can be dropped instead and our kernel can talk to it. It has been tested under Windows/TinyKRNL.
- Write 90% of the Inbv component in the kernel. Displaying the boot bitmap hasn't yet been coded.
- The HAL is missing required routines for bootvid.dll, so it doesn't work yet.
- .BMP resources haven't yet been added to the kernel. I will add them soon.
svn path=/trunk/; revision=25706
Alex Ionescu [Sat, 3 Feb 2007 20:28:24 +0000 (20:28 +0000)]
- Disgusting* hack by hto to temporarily work around Mm/DPC Interrupt bug in trunk after applying new scheduler. We both tested it and it makes trunk not crash anymore (but I do see a noticeable slowdown during bootup). Reminder: explorer will take 30-60 seconds to startup after GUI boot. Be patient.
* This doesn't refer to hto's programming skills or code, but to the hackyness of the patch itself, which is a temporary solution.
svn path=/trunk/; revision=25705
Magnus Olsen [Sat, 3 Feb 2007 17:38:20 +0000 (17:38 +0000)]
patch from : Paolo Devoti <devotip at gmail.com>
fix issue : (Clean up patch)
Removed variables formerly in use to handle pagination.
Pagination belongs to ConOutPrintfPaging.
Removed already commented out code of old pagination
See issue #2016 for more details.
svn path=/trunk/; revision=25704
Magnus Olsen [Sat, 3 Feb 2007 16:03:37 +0000 (16:03 +0000)]
patch from : Paolo Devoti <devotip at gmail.com>
fix issue : The fix does a WriteFile per line insted of one per char.
See issue #2015 for more details.
svn path=/trunk/; revision=25703
Sylvain Petreolle [Sat, 3 Feb 2007 14:07:03 +0000 (14:07 +0000)]
translate hardcoded strings into 'edit variable' box
svn path=/trunk/; revision=25702
Sylvain Petreolle [Sat, 3 Feb 2007 13:53:13 +0000 (13:53 +0000)]
update french translation
svn path=/trunk/; revision=25701
Sylvain Petreolle [Sat, 3 Feb 2007 13:50:47 +0000 (13:50 +0000)]
avoid crash
svn path=/trunk/; revision=25700
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
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
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
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
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
Johannes Anderwald [Fri, 2 Feb 2007 10:38:04 +0000 (10:38 +0000)]
- diff2wine
svn path=/trunk/; revision=25694
Sylvain Petreolle [Fri, 2 Feb 2007 10:35:56 +0000 (10:35 +0000)]
fix make install for Marlett.ttf
svn path=/trunk/; revision=25693
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
Johannes Anderwald [Fri, 2 Feb 2007 10:29:56 +0000 (10:29 +0000)]
- diff2wine
svn path=/trunk/; revision=25691
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
Johannes Anderwald [Fri, 2 Feb 2007 10:22:59 +0000 (10:22 +0000)]
- diff2wine
svn path=/trunk/; revision=25689
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
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
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
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
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
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
Ged Murphy [Fri, 2 Feb 2007 00:04:56 +0000 (00:04 +0000)]
add renamed font
svn path=/trunk/; revision=25681
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
Johannes Anderwald [Thu, 1 Feb 2007 23:14:54 +0000 (23:14 +0000)]
- Remove stdcall decoration
svn path=/trunk/; revision=25679
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
Johannes Anderwald [Thu, 1 Feb 2007 23:06:40 +0000 (23:06 +0000)]
- remove stdcall declaration
svn path=/trunk/; revision=25677
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
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
Johannes Anderwald [Thu, 1 Feb 2007 22:36:04 +0000 (22:36 +0000)]
- Fix function pointer definition
svn path=/trunk/; revision=25674
Johannes Anderwald [Thu, 1 Feb 2007 22:11:40 +0000 (22:11 +0000)]
- NTDLL no longer needs intrlck library
svn path=/trunk/; revision=25673
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
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
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
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
Dmitry Gorbachev [Thu, 1 Feb 2007 08:04:23 +0000 (08:04 +0000)]
Commit attachment #1151
svn path=/trunk/; revision=25668
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
Johannes Anderwald [Wed, 31 Jan 2007 08:38:39 +0000 (08:38 +0000)]
remove doc directory
svn path=/trunk/; revision=25664
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
Aleksey Bragin [Tue, 30 Jan 2007 19:50:34 +0000 (19:50 +0000)]
- Fix intlck compile.
svn path=/trunk/; revision=25662
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
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
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
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
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
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
Dominique Cote [Sun, 28 Jan 2007 04:15:39 +0000 (04:15 +0000)]
Added tests for FsRtlGetFileSize() and FsRtlReadMdl()
svn path=/trunk/; revision=25655
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
Johannes Anderwald [Sat, 27 Jan 2007 18:21:10 +0000 (18:21 +0000)]
- diff2wine
svn path=/trunk/; revision=25651
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
Eric Kohl [Sat, 27 Jan 2007 14:53:18 +0000 (14:53 +0000)]
set properties
svn path=/trunk/; revision=25649
Thomas Bluemel [Sat, 27 Jan 2007 14:06:01 +0000 (14:06 +0000)]
Make RtlEqualPrefixSid portable
svn path=/trunk/; revision=25648
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
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
James Tabor [Fri, 26 Jan 2007 22:28:47 +0000 (22:28 +0000)]
Fix warning.
svn path=/trunk/; revision=25642
Sylvain Petreolle [Fri, 26 Jan 2007 22:00:03 +0000 (22:00 +0000)]
uninitialized variable fix
svn path=/trunk/; revision=25640
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
Johannes Anderwald [Fri, 26 Jan 2007 19:44:42 +0000 (19:44 +0000)]
- fix some warnings
- define _ACLUI_
svn path=/trunk/; revision=25638
Johannes Anderwald [Fri, 26 Jan 2007 18:45:29 +0000 (18:45 +0000)]
- remove stdcall convention
svn path=/trunk/; revision=25637
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
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
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
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
Alex Ionescu [Thu, 25 Jan 2007 23:48:48 +0000 (23:48 +0000)]
- Multiple fixes to ERESOURCE implementation.
svn path=/trunk/; revision=25632
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
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
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
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
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
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
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
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
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
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
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
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
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
Sylvain Petreolle [Wed, 24 Jan 2007 17:45:26 +0000 (17:45 +0000)]
add french resources
fix typos
svn path=/trunk/; revision=25618
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Thomas Bluemel [Mon, 22 Jan 2007 17:52:47 +0000 (17:52 +0000)]
Silence a warning
svn path=/trunk/; revision=25597
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