Commit graph

29799 commits

Author SHA1 Message Date
Franz Lehner
179fe706d2 SVN TEST
svn path=/trunk/; revision=32632
2008-03-09 21:48:27 +00:00
Magnus Olsen
ba482d4a66 partly implement gdi32 Escape
implemented command GETSCALINGFACTOR Escape
change from if to switch statment for it is faster and cleaner
 

svn path=/trunk/; revision=32631
2008-03-09 21:36:09 +00:00
Aleksey Bragin
1a8cf7342c - Move MiGetPfnEntry into arch-independent mm.h header, along with a few defines, structures, and function prototypes which are going to be used with the new pool implementation in future.
- Add two new fields into PHYSICAL_PAGE structure, they will be used (in the future new pool implementation) to find end/start of a non-paged pool allocation without storing the actual pointers (based on NTs own PFN entry optimization for this) - thanks to Alex for providing this great idea!

svn path=/trunk/; revision=32630
2008-03-09 21:15:12 +00:00
Aleksey Bragin
a5ffbcd185 - Move some PTE/PDE macros from i386/page.c into arch-specific mm.h. Also change some macros operation from integer division to bit shifting.
- Remove unused/#if0-ed stuff from mm.h.

svn path=/trunk/; revision=32629
2008-03-09 20:30:28 +00:00
Magnus Olsen
746ac9c644 partly implement gdi32 Escape
implemented command GETCOLORTABLE and GETEXTENDEDTEXTMETRICS in Escape
MS have releae docs over this api in msdn, u can also found docs in nt4 ddk and win98 ddk how this api works. 
and thanks to Filip and Blight that have explain how this api works time to time, in gdi32 


svn path=/trunk/; revision=32628
2008-03-09 19:04:26 +00:00
Johannes Anderwald
06471d3eb5 - fix enumeration of available time zones
svn path=/trunk/; revision=32626
2008-03-09 15:34:13 +00:00
Colin Finck
c1c402a4e6 Add missing cast
svn path=/trunk/; revision=32625
2008-03-09 14:28:23 +00:00
Aleksey Bragin
379a429aa9 - Remove autoupdated "$Id:" lines from the kernel source code.
svn path=/trunk/; revision=32623
2008-03-09 14:11:42 +00:00
Gregor Brunmar
2df3af106c Second iteration of Direct3DCreate9()
svn path=/trunk/; revision=32622
2008-03-09 14:11:32 +00:00
Pierre Schweitzer
7d27fdf54b - Reworked NtfsAllocateIrpContext to avoid working with null IRP....
- Rewritten NtfsFsdDirectoryControl (using IrpContext, etc)

svn path=/trunk/; revision=32621
2008-03-09 13:58:25 +00:00
Colin Finck
8083445324 Forgot to change this one as well
svn path=/trunk/; revision=32620
2008-03-09 12:01:59 +00:00
Colin Finck
6b6e759d1c - It is enough to just add a "const" to fix the "deprecated conversion from string constant to 'char*'" warning.
Remove the TempName variable from the previous cabman commit and pass the temp file directly again.
- Add the same "const"'s to sysreg, so that it compiles with gcc >= 4.2 as well

svn path=/trunk/; revision=32619
2008-03-09 11:53:14 +00:00
Colin Finck
54ab4d0d04 Add an arHostRule2 to build host .a files
Fixes building on 64-bit hosts

svn path=/trunk/; revision=32618
2008-03-09 10:59:00 +00:00
Christoph von Wittich
204f88a1f3 disable sysreg - it isn't working anyways
svn path=/trunk/; revision=32617
2008-03-09 10:43:00 +00:00
Christoph von Wittich
1b27484fea fix cabman build with gcc >= 4.2
svn path=/trunk/; revision=32616
2008-03-09 10:41:55 +00:00
Pierre Schweitzer
bec091e658 - Updated NTFS header with the "new" FSF address
- Removed useless field $id in ntfs.rc

svn path=/trunk/; revision=32615
2008-03-08 21:45:51 +00:00
Pierre Schweitzer
246b2527c7 Updated French translation for vgafontedit
svn path=/trunk/; revision=32614
2008-03-08 18:30:37 +00:00
Aleksey Bragin
ac644e6d90 - Leftovers.
svn path=/trunk/; revision=32613
2008-03-08 17:23:03 +00:00
Aleksey Bragin
0132307d9b - Experimentally switch fastfat driver to non-Ros Cc functions, and thus no FSD in ReactOS are using CcRos-specific functions anymore.
- Assume VACB_MAPPING_GRANULARITY as a default cache segment size.
- Use FSD callbacks instead of direct accessing FCB's MainResource via FileObject/FsContext. This allows removing of ObReferenceObject(FileObject) which I had to add some time ago in order to keep FileObject alive for the lazy writer thread.
- IMPORTANT: Testers should thoroughly try this revision in order to see if any new problems appear. If they do appear, this revision will most probably be reverted by me.

svn path=/trunk/; revision=32612
2008-03-08 16:47:41 +00:00
Pierre Schweitzer
c5caa4ae89 Added stubs for CC R/W functions (fixes TODO from r32610)
svn path=/trunk/; revision=32611
2008-03-08 13:17:48 +00:00
Aleksey Bragin
9948ff11e8 - Remove ros-specific Cc functions usage.
- TODO: Provide callbacks for lazy writer and read ahead when calling CcInitializeCacheMap. Could be done similar to r32607 for CDFS.

svn path=/trunk/; revision=32610
2008-03-08 12:14:41 +00:00
Filip Navara
0b0d237b03 Workaround a buggy UINT_PTR definition in the include\host\typedefs.h for 64-bit *nix hosts.
svn path=/trunk/; revision=32609
2008-03-08 11:50:58 +00:00
Filip Navara
017bb6a507 Fix the build.
svn path=/trunk/; revision=32608
2008-03-08 11:08:52 +00:00
Aleksey Bragin
5776256730 - Pass cache manager callbacks structure at every CcInitializeCacheMap() call, it's mandatory.
svn path=/trunk/; revision=32607
2008-03-08 10:35:32 +00:00
Aleksey Bragin
778097fbec - Remove ugly hack from gdiobj.c, official sorry to Timo Kreuzer, his changes were perfect!
- Temporary disable MPW thread shutdown and forcing page flush, since it results in memory corruption.

svn path=/trunk/; revision=32606
2008-03-07 20:49:38 +00:00
Aleksey Bragin
a4374a7549 - One leftover from 32604.
svn path=/trunk/; revision=32605
2008-03-07 19:15:14 +00:00
Aleksey Bragin
85826df2f5 - There is no reason for CDFS to use CcRos-specific functions, it ends up with the same CcRosInit/Uninit with the same CacheSegmentSize = PAGE_SIZE. However, CDFS is probably still hardly compatible with a real NT kernel.
svn path=/trunk/; revision=32604
2008-03-07 17:38:43 +00:00
Aleksey Bragin
bc0269a715 - UGLY HACK dedicated to Timo Kreuzer: Please, fix this issue. Happens only in 2nd stage during shutdown.
svn path=/trunk/; revision=32603
2008-03-07 17:13:02 +00:00
Johannes Anderwald
5938d19c52 - load boot.ini into listbox
svn path=/trunk/; revision=32602
2008-03-07 16:48:07 +00:00
Hervé Poussineau
eb5f071a95 Precompiled headers can depend of generated files
svn path=/trunk/; revision=32601
2008-03-07 15:06:06 +00:00
Hervé Poussineau
5317a642b8 .mc files shouldn't depend of the whole module precondition.
This removes a circular dependency

svn path=/trunk/; revision=32600
2008-03-07 14:44:18 +00:00
Colin Finck
166494a3c7 Update two includes to not rely on target headers anymore
svn path=/trunk/; revision=32599
2008-03-07 14:10:03 +00:00
Colin Finck
88301cc257 - Add the "include" directory as an include to the cabman .rbuild file
- Remove the "include/psdk" directory from widl, it isn't needed after our changes

svn path=/trunk/; revision=32598
2008-03-07 14:07:33 +00:00
Hervé Poussineau
b5b256c1dc Remove useless .mak files
Remove Visual Studio project, it can now be generated from .rbuild file

svn path=/trunk/; revision=32597
2008-03-07 13:02:42 +00:00
Hervé Poussineau
6292cfd146 Replace some .mak files by .rbuild files
svn path=/trunk/; revision=32596
2008-03-07 13:00:41 +00:00
Hervé Poussineau
4a1420beef Move precondition to rules
svn path=/trunk/; revision=32595
2008-03-07 12:56:05 +00:00
Hervé Poussineau
8002abf980 Don't mix host and targets include files
Add HostStaticLibrary type

svn path=/trunk/; revision=32594
2008-03-07 09:17:12 +00:00
Hervé Poussineau
6e49f8efc8 Prevent some FileLocation copies (in LinkerScript and PchFile classes)
svn path=/trunk/; revision=32593
2008-03-07 08:16:26 +00:00
Hervé Poussineau
57640e2c83 Use a .rbuild file instead of a .make file to describe cdmake compilation
svn path=/trunk/; revision=32592
2008-03-07 08:15:23 +00:00
Aleksey Bragin
c99d04c093 - Why dereference a monitor object during successive branch of IntAttachMonitor?
svn path=/trunk/; revision=32583
2008-03-06 11:56:28 +00:00
Christoph von Wittich
4e8e7ffccd Huw Davies : shell32: ABM_GETAUTOHIDEBAR should return a HWND or NULL
Alexander Nicolaysen Sørnes : shell32: Use LocalFree in CommandLineToArgvW.
Rob Shearman : shell32: Memory allocated by CommandLineToArgvW should be that got from LocalAlloc/ LocalReAlloc, not from GlobalAlloc.

svn path=/trunk/; revision=32582
2008-03-06 11:30:26 +00:00
Aleksey Bragin
ac8b86183a - Don't free buffers if they were not allocated.
svn path=/trunk/; revision=32581
2008-03-06 11:11:34 +00:00
Aleksey Bragin
c0a5256ea4 - Don't free buffers if they were not allocated.
svn path=/trunk/; revision=32580
2008-03-06 10:52:55 +00:00
Aleksey Bragin
ae0ebdc3eb - Our precious kernel should be handled with love and care, with thorough check of every change going in! Not with "commit-and-forget" fashion.
- MmSecureVirtualMemory fails in case of Length = 0 too.

svn path=/trunk/; revision=32579
2008-03-06 09:39:36 +00:00
James Tabor
d07ce86ee0 Fix Magnus change. Part II.
svn path=/trunk/; revision=32578
2008-03-06 02:58:07 +00:00
James Tabor
1cd7acbb2e Fix Magnus change.
svn path=/trunk/; revision=32577
2008-03-06 02:55:31 +00:00
Magnus Olsen
09e930fd49 sorry again
Never comited when u are ZzZ

svn path=/trunk/; revision=32576
2008-03-05 23:08:51 +00:00
Magnus Olsen
4355174230 sorry for the break fixed the build
svn path=/trunk/; revision=32575
2008-03-05 23:06:12 +00:00
Magnus Olsen
6802a70b13 Better check for MmSecureVirtualMemory
svn path=/trunk/; revision=32574
2008-03-05 23:01:21 +00:00
Magnus Olsen
5d2e49696e Adding full trace for dxeng api in win32k
svn path=/trunk/; revision=32573
2008-03-05 20:13:46 +00:00