Commit graph

29781 commits

Author SHA1 Message Date
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
Christoph von Wittich 451da59756 some more syncing
svn path=/trunk/; revision=32572
2008-03-05 16:15:10 +00:00
Aleksey Bragin 3e82239919 - intrin.h should not be included. Fixes MSVC compiling.
svn path=/trunk/; revision=32571
2008-03-05 16:13:16 +00:00
Christoph von Wittich 403588968d partial sync to wine
svn path=/trunk/; revision=32570
2008-03-05 15:45:09 +00:00
Daniel Reimer 775583729b Bug 3119: Italian translation to JOY.CPL by Carlo Bramini (carlo.bramix@libero.it)
svn path=/trunk/; revision=32569
2008-03-05 13:41:58 +00:00
Christoph von Wittich e25c14e08c remove unneeded definitions
define cmp_name as __cdecl

svn path=/trunk/; revision=32568
2008-03-05 08:12:11 +00:00
Christoph von Wittich f6b757cd37 #define inline __inline for msvc
svn path=/trunk/; revision=32567
2008-03-05 08:09:56 +00:00
Christoph von Wittich 68844e0d8e don't include unistd.h in msvc builds
add some x64 declarations from wine to port.h

svn path=/trunk/; revision=32566
2008-03-05 08:06:17 +00:00
Christoph von Wittich d3ea26544a msvc compat fix
svn path=/trunk/; revision=32565
2008-03-05 08:02:02 +00:00
Magnus Olsen 93f970da42 Implemented : DxEngLockHdev, DxEngUnlockHdev
Thanks jimtabor for the help with these two. 

svn path=/trunk/; revision=32564
2008-03-04 23:35:01 +00:00
Christoph von Wittich bf6e811015 only destroy objects which are valid
svn path=/trunk/; revision=32563
2008-03-04 20:41:59 +00:00
Gregor Brunmar 1fda7b73f9 Implemented IDirect3D::CheckDepthStencilMatch()
svn path=/trunk/; revision=32562
2008-03-04 17:39:33 +00:00
Magnus Olsen 0e8b12430a Fixed smaller bug in DdCreateSurface callbacks the surface handle count was setup wrong before it was pass down to win32k
svn path=/trunk/; revision=32557
2008-03-04 07:43:56 +00:00
Andrew Munger 182594bf42 If it wasn't for things like this, I would never commit.
This one goes out to TechBot.

svn path=/trunk/; revision=32556
2008-03-04 04:03:03 +00:00
Timo Kreuzer 6340263b92 call PsGetCurrentThreadWin32Thread() and PsGetCurrentProcess() only once
svn path=/trunk/; revision=32555
2008-03-04 00:22:07 +00:00
Timo Kreuzer 5089fe1d77 replace another #if with GDIDBG macro
svn path=/trunk/; revision=32554
2008-03-04 00:18:45 +00:00
Timo Kreuzer 351736138c [FORMATTING] apply a consistent indentation (4 spaces), no code change
svn path=/trunk/; revision=32553
2008-03-04 00:14:11 +00:00
Timo Kreuzer 7f8158f09e replace a bunch of #if's with GDIDBG_... macros
svn path=/trunk/; revision=32552
2008-03-03 23:35:12 +00:00
Timo Kreuzer 70e882a880 fix a wrong typecast
svn path=/trunk/; revision=32551
2008-03-03 23:01:28 +00:00