Commit graph

24042 commits

Author SHA1 Message Date
Johannes Anderwald
9955ff8027 - remove stdcall declaration
svn path=/trunk/; revision=25677
2007-02-01 23:06:40 +00:00
Johannes Anderwald
63da9a0fc7 - ULONG is always >= 0
- Include limits.h to use ULONG_MAX instead of doing a cast

svn path=/trunk/; revision=25676
2007-02-01 23:05:32 +00:00
Johannes Anderwald
a75eaa8433 - Fix prototype HalAllocateCrashDumpRegisters
- Include intrin.h for _enable / _disable

svn path=/trunk/; revision=25675
2007-02-01 23:03:38 +00:00
Johannes Anderwald
527d2c961a - Fix function pointer definition
svn path=/trunk/; revision=25674
2007-02-01 22:36:04 +00:00
Johannes Anderwald
a05e3af0b9 - NTDLL no longer needs intrlck library
svn path=/trunk/; revision=25673
2007-02-01 22:11:40 +00:00
Johannes Anderwald
a886de7e77 - Use compiler intrinsics instead of hidden dependency of intrlck
svn path=/trunk/; revision=25672
2007-02-01 22:10:21 +00:00
Johannes Anderwald
fa5cd6e23c - Compile csrss with intrinsics
- Remove the intrlck dependency

svn path=/trunk/; revision=25671
2007-02-01 21:44:23 +00:00
Johannes Anderwald
ae8e954d79 - 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
2007-02-01 20:04:32 +00:00
Alex Ionescu
875b73611c - Fix a bug in NtSetInformationThread which was causing 2nd-stage setup to freeze/crash. Fixes regression from 25631.
svn path=/trunk/; revision=25669
2007-02-01 19:25:04 +00:00
Dmitry Gorbachev
28bb8d08f5 Commit attachment #1151
svn path=/trunk/; revision=25668
2007-02-01 08:04:23 +00:00
Aleksey Bragin
c2f58cd197 - 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
2007-01-31 22:30:59 +00:00
Magnus Olsen
176b0cdbe8 merge trunk rev : 25663 and 25664 to 0.3.1 branch - update freetype, take care of a segment fualt I getting in vmware
svn path=/branches/ros-branch-0_3_1/; revision=25666
2007-01-31 17:07:19 +00:00
Magnus Olsen
5e2f2fafad merge trunk rev : 25656 to 0.3.1 branch - fixing my rmap problem in vmware
svn path=/branches/ros-branch-0_3_1/; revision=25665
2007-01-31 17:04:49 +00:00
Johannes Anderwald
7d26f5efb9 remove doc directory
svn path=/trunk/; revision=25664
2007-01-31 08:38:39 +00:00
Magnus Olsen
f88646c249 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
2007-01-31 06:11:48 +00:00
Aleksey Bragin
ee9beb65c6 - Fix intlck compile.
svn path=/trunk/; revision=25662
2007-01-30 19:50:34 +00:00
Eric Kohl
fe7ce99eb1 Change the size of caption and scrollbar in the preview window.
svn path=/trunk/; revision=25661
2007-01-29 23:35:31 +00:00
Alex Ionescu
d330ef46ec - 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
2007-01-29 05:16:00 +00:00
Alex Ionescu
06283000a1 - 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
2007-01-29 05:13:13 +00:00
Magnus Olsen
70ab8ffa3c 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
2007-01-28 19:52:02 +00:00
Dmitry Gorbachev
61bb2998be Prototype of Italian keyboard support (see bug #1963)
svn path=/trunk/; revision=25657
2007-01-28 19:06:29 +00:00
Alex Ionescu
0d65391a4f - 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
2007-01-28 16:23:52 +00:00
Dominique Cote
4d0c1a2de3 Added tests for FsRtlGetFileSize() and FsRtlReadMdl()
svn path=/trunk/; revision=25655
2007-01-28 04:15:39 +00:00
Martin Fuchs
81557f635c update XMLStorage:
- optional CDATA embedding by set_content()
- fix for handling in XML parser

svn path=/trunk/; revision=25652
2007-01-27 20:55:22 +00:00
Johannes Anderwald
281da1dd05 - diff2wine
svn path=/trunk/; revision=25651
2007-01-27 18:21:10 +00:00
Johannes Anderwald
9e0537881f - 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
2007-01-27 17:52:03 +00:00
Eric Kohl
da3a838762 set properties
svn path=/trunk/; revision=25649
2007-01-27 14:53:18 +00:00
Thomas Bluemel
d0e23d4854 Make RtlEqualPrefixSid portable
svn path=/trunk/; revision=25648
2007-01-27 14:06:01 +00:00
Magnus Olsen
4fa1eded47 fixing comping error adding a new line to cacls.c
svn path=/branches/ros-branch-0_3_1/; revision=25647
2007-01-27 12:34:15 +00:00
Dominique Cote
16112941ac Added function FsRtlGetFileSize()
Added function FsRtlMdlRead() (mostly Alex's reviewed)

svn path=/trunk/; revision=25646
2007-01-27 05:26:30 +00:00
Johannes Anderwald
b6fe08489d - wrap include_next in macro (msvc doesnot understand this)
svn path=/trunk/; revision=25644
2007-01-26 23:17:02 +00:00
Sylvain Petreolle
31bba229dc merge 25562
svn path=/branches/ros-branch-0_3_1/; revision=25643
2007-01-26 22:31:55 +00:00
James Tabor
2dc167ecee Fix warning.
svn path=/trunk/; revision=25642
2007-01-26 22:28:47 +00:00
Sylvain Petreolle
eb33cecb2c merge 25640
svn path=/branches/ros-branch-0_3_1/; revision=25641
2007-01-26 22:17:44 +00:00
Sylvain Petreolle
c8d34de940 uninitialized variable fix
svn path=/trunk/; revision=25640
2007-01-26 22:00:03 +00:00
Alex Ionescu
594d924eaa - 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
2007-01-26 20:54:30 +00:00
Johannes Anderwald
528e8fe9ec - fix some warnings
- define _ACLUI_

svn path=/trunk/; revision=25638
2007-01-26 19:44:42 +00:00
Johannes Anderwald
96401084ac - remove stdcall convention
svn path=/trunk/; revision=25637
2007-01-26 18:45:29 +00:00
Johannes Anderwald
120ffca3ec - winsock2.h needs to be included before windows.h (msvc)
svn path=/trunk/; revision=25636
2007-01-26 18:43:14 +00:00
Johannes Anderwald
756a324443 - update ukrainian translation by Artem Reznikov temarez {AT} yandex (DOT) [RU]
See issue #1723 for more details.

svn path=/trunk/; revision=25635
2007-01-26 18:42:05 +00:00
Aleksey Bragin
d1beb35b7d Fix compile (debug information is removed from Spare[2], but noone uses it).
svn path=/trunk/; revision=25634
2007-01-26 10:07:26 +00:00
Alex Ionescu
35c5b063fd - 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
2007-01-26 07:22:19 +00:00
Alex Ionescu
32a29de195 - Multiple fixes to ERESOURCE implementation.
svn path=/trunk/; revision=25632
2007-01-25 23:48:48 +00:00
Alex Ionescu
c4f9542125 - 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
2007-01-25 22:39:32 +00:00
Alex Ionescu
91d26f3e23 - 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
2007-01-25 18:48:56 +00:00
Alex Ionescu
819a0ed90a - 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
2007-01-25 17:51:45 +00:00
Sylvain Petreolle
bbf7047df5 compile intl_new using its includes, not intl's ones
svn path=/trunk/; revision=25628
2007-01-25 15:06:10 +00:00
Magnus Olsen
267904be80 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
2007-01-25 10:15:19 +00:00
Alex Ionescu
92208d72a8 - 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
2007-01-25 05:14:55 +00:00
Alex Ionescu
2691e0994a - Implement ObQueryTypeInfo and link it to NtQueryObject.
- Fix a bug in ObQueryNameInfo.
See issue #1993 for more details.

svn path=/trunk/; revision=25625
2007-01-25 01:50:40 +00:00