reactos.git
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

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