Colin Finck [Sun, 9 Mar 2008 10:59:00 +0000 (10:59 +0000)]
Add an arHostRule2 to build host .a files
Fixes building on 64-bit hosts
svn path=/trunk/; revision=32618
Christoph von Wittich [Sun, 9 Mar 2008 10:43:00 +0000 (10:43 +0000)]
disable sysreg - it isn't working anyways
svn path=/trunk/; revision=32617
Christoph von Wittich [Sun, 9 Mar 2008 10:41:55 +0000 (10:41 +0000)]
fix cabman build with gcc >= 4.2
svn path=/trunk/; revision=32616
Pierre Schweitzer [Sat, 8 Mar 2008 21:45:51 +0000 (21:45 +0000)]
- Updated NTFS header with the "new" FSF address
- Removed useless field $id in ntfs.rc
svn path=/trunk/; revision=32615
Pierre Schweitzer [Sat, 8 Mar 2008 18:30:37 +0000 (18:30 +0000)]
Updated French translation for vgafontedit
svn path=/trunk/; revision=32614
Aleksey Bragin [Sat, 8 Mar 2008 17:23:03 +0000 (17:23 +0000)]
- Leftovers.
svn path=/trunk/; revision=32613
Aleksey Bragin [Sat, 8 Mar 2008 16:47:41 +0000 (16:47 +0000)]
- 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
Pierre Schweitzer [Sat, 8 Mar 2008 13:17:48 +0000 (13:17 +0000)]
Added stubs for CC R/W functions (fixes TODO from r32610)
svn path=/trunk/; revision=32611
Aleksey Bragin [Sat, 8 Mar 2008 12:14:41 +0000 (12:14 +0000)]
- 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
Filip Navara [Sat, 8 Mar 2008 11:50:58 +0000 (11:50 +0000)]
Workaround a buggy UINT_PTR definition in the include\host\typedefs.h for 64-bit *nix hosts.
svn path=/trunk/; revision=32609
Filip Navara [Sat, 8 Mar 2008 11:08:52 +0000 (11:08 +0000)]
Fix the build.
svn path=/trunk/; revision=32608
Aleksey Bragin [Sat, 8 Mar 2008 10:35:32 +0000 (10:35 +0000)]
- Pass cache manager callbacks structure at every CcInitializeCacheMap() call, it's mandatory.
svn path=/trunk/; revision=32607
Aleksey Bragin [Fri, 7 Mar 2008 20:49:38 +0000 (20:49 +0000)]
- 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
Aleksey Bragin [Fri, 7 Mar 2008 19:15:14 +0000 (19:15 +0000)]
- One leftover from 32604.
svn path=/trunk/; revision=32605
Aleksey Bragin [Fri, 7 Mar 2008 17:38:43 +0000 (17:38 +0000)]
- 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
Aleksey Bragin [Fri, 7 Mar 2008 17:13:02 +0000 (17:13 +0000)]
- UGLY HACK dedicated to Timo Kreuzer: Please, fix this issue. Happens only in 2nd stage during shutdown.
svn path=/trunk/; revision=32603
Johannes Anderwald [Fri, 7 Mar 2008 16:48:07 +0000 (16:48 +0000)]
- load boot.ini into listbox
svn path=/trunk/; revision=32602
Hervé Poussineau [Fri, 7 Mar 2008 15:06:06 +0000 (15:06 +0000)]
Precompiled headers can depend of generated files
svn path=/trunk/; revision=32601
Hervé Poussineau [Fri, 7 Mar 2008 14:44:18 +0000 (14:44 +0000)]
.mc files shouldn't depend of the whole module precondition.
This removes a circular dependency
svn path=/trunk/; revision=32600
Colin Finck [Fri, 7 Mar 2008 14:10:03 +0000 (14:10 +0000)]
Update two includes to not rely on target headers anymore
svn path=/trunk/; revision=32599
Colin Finck [Fri, 7 Mar 2008 14:07:33 +0000 (14:07 +0000)]
- 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
Hervé Poussineau [Fri, 7 Mar 2008 13:02:42 +0000 (13:02 +0000)]
Remove useless .mak files
Remove Visual Studio project, it can now be generated from .rbuild file
svn path=/trunk/; revision=32597
Hervé Poussineau [Fri, 7 Mar 2008 13:00:41 +0000 (13:00 +0000)]
Replace some .mak files by .rbuild files
svn path=/trunk/; revision=32596
Hervé Poussineau [Fri, 7 Mar 2008 12:56:05 +0000 (12:56 +0000)]
Move precondition to rules
svn path=/trunk/; revision=32595
Hervé Poussineau [Fri, 7 Mar 2008 09:17:12 +0000 (09:17 +0000)]
Don't mix host and targets include files
Add HostStaticLibrary type
svn path=/trunk/; revision=32594
Hervé Poussineau [Fri, 7 Mar 2008 08:16:26 +0000 (08:16 +0000)]
Prevent some FileLocation copies (in LinkerScript and PchFile classes)
svn path=/trunk/; revision=32593
Hervé Poussineau [Fri, 7 Mar 2008 08:15:23 +0000 (08:15 +0000)]
Use a .rbuild file instead of a .make file to describe cdmake compilation
svn path=/trunk/; revision=32592
Aleksey Bragin [Thu, 6 Mar 2008 11:56:28 +0000 (11:56 +0000)]
- Why dereference a monitor object during successive branch of IntAttachMonitor?
svn path=/trunk/; revision=32583
Christoph von Wittich [Thu, 6 Mar 2008 11:30:26 +0000 (11:30 +0000)]
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
Aleksey Bragin [Thu, 6 Mar 2008 11:11:34 +0000 (11:11 +0000)]
- Don't free buffers if they were not allocated.
svn path=/trunk/; revision=32581
Aleksey Bragin [Thu, 6 Mar 2008 10:52:55 +0000 (10:52 +0000)]
- Don't free buffers if they were not allocated.
svn path=/trunk/; revision=32580
Aleksey Bragin [Thu, 6 Mar 2008 09:39:36 +0000 (09:39 +0000)]
- 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
James Tabor [Thu, 6 Mar 2008 02:58:07 +0000 (02:58 +0000)]
Fix Magnus change. Part II.
svn path=/trunk/; revision=32578
James Tabor [Thu, 6 Mar 2008 02:55:31 +0000 (02:55 +0000)]
Fix Magnus change.
svn path=/trunk/; revision=32577
Magnus Olsen [Wed, 5 Mar 2008 23:08:51 +0000 (23:08 +0000)]
sorry again
Never comited when u are ZzZ
svn path=/trunk/; revision=32576
Magnus Olsen [Wed, 5 Mar 2008 23:06:12 +0000 (23:06 +0000)]
sorry for the break fixed the build
svn path=/trunk/; revision=32575
Magnus Olsen [Wed, 5 Mar 2008 23:01:21 +0000 (23:01 +0000)]
Better check for MmSecureVirtualMemory
svn path=/trunk/; revision=32574
Magnus Olsen [Wed, 5 Mar 2008 20:13:46 +0000 (20:13 +0000)]
Adding full trace for dxeng api in win32k
svn path=/trunk/; revision=32573
Christoph von Wittich [Wed, 5 Mar 2008 16:15:10 +0000 (16:15 +0000)]
some more syncing
svn path=/trunk/; revision=32572
Aleksey Bragin [Wed, 5 Mar 2008 16:13:16 +0000 (16:13 +0000)]
- intrin.h should not be included. Fixes MSVC compiling.
svn path=/trunk/; revision=32571
Christoph von Wittich [Wed, 5 Mar 2008 15:45:09 +0000 (15:45 +0000)]
partial sync to wine
svn path=/trunk/; revision=32570
Daniel Reimer [Wed, 5 Mar 2008 13:41:58 +0000 (13:41 +0000)]
Bug 3119: Italian translation to JOY.CPL by Carlo Bramini (carlo.bramix@libero.it)
svn path=/trunk/; revision=32569
Christoph von Wittich [Wed, 5 Mar 2008 08:12:11 +0000 (08:12 +0000)]
remove unneeded definitions
define cmp_name as __cdecl
svn path=/trunk/; revision=32568
Christoph von Wittich [Wed, 5 Mar 2008 08:09:56 +0000 (08:09 +0000)]
#define inline __inline for msvc
svn path=/trunk/; revision=32567
Christoph von Wittich [Wed, 5 Mar 2008 08:06:17 +0000 (08:06 +0000)]
don't include unistd.h in msvc builds
add some x64 declarations from wine to port.h
svn path=/trunk/; revision=32566
Christoph von Wittich [Wed, 5 Mar 2008 08:02:02 +0000 (08:02 +0000)]
msvc compat fix
svn path=/trunk/; revision=32565
Magnus Olsen [Tue, 4 Mar 2008 23:35:01 +0000 (23:35 +0000)]
Implemented : DxEngLockHdev, DxEngUnlockHdev
Thanks jimtabor for the help with these two.
svn path=/trunk/; revision=32564
Christoph von Wittich [Tue, 4 Mar 2008 20:41:59 +0000 (20:41 +0000)]
only destroy objects which are valid
svn path=/trunk/; revision=32563
Gregor Brunmar [Tue, 4 Mar 2008 17:39:33 +0000 (17:39 +0000)]
Implemented IDirect3D::CheckDepthStencilMatch()
svn path=/trunk/; revision=32562
Magnus Olsen [Tue, 4 Mar 2008 07:43:56 +0000 (07:43 +0000)]
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
Andrew Munger [Tue, 4 Mar 2008 04:03:03 +0000 (04:03 +0000)]
If it wasn't for things like this, I would never commit.
This one goes out to TechBot.
svn path=/trunk/; revision=32556
Timo Kreuzer [Tue, 4 Mar 2008 00:22:07 +0000 (00:22 +0000)]
call PsGetCurrentThreadWin32Thread() and PsGetCurrentProcess() only once
svn path=/trunk/; revision=32555
Timo Kreuzer [Tue, 4 Mar 2008 00:18:45 +0000 (00:18 +0000)]
replace another #if with GDIDBG macro
svn path=/trunk/; revision=32554
Timo Kreuzer [Tue, 4 Mar 2008 00:14:11 +0000 (00:14 +0000)]
[FORMATTING] apply a consistent indentation (4 spaces), no code change
svn path=/trunk/; revision=32553
Timo Kreuzer [Mon, 3 Mar 2008 23:35:12 +0000 (23:35 +0000)]
replace a bunch of #if's with GDIDBG_... macros
svn path=/trunk/; revision=32552
Timo Kreuzer [Mon, 3 Mar 2008 23:01:28 +0000 (23:01 +0000)]
fix a wrong typecast
svn path=/trunk/; revision=32551
Magnus Olsen [Mon, 3 Mar 2008 20:54:18 +0000 (20:54 +0000)]
implemented DdCreateD3DBuffer callbacks and some cleanup
svn path=/trunk/; revision=32550
Daniel Reimer [Mon, 3 Mar 2008 18:14:36 +0000 (18:14 +0000)]
Bug 3113: Czech translation update (radekliska@gmail.com)
Bug 3110: some new slovak translations and small patches by Mario Kacmar (kario@szm.sk)
svn path=/trunk/; revision=32549
Aleksey Bragin [Mon, 3 Mar 2008 18:03:04 +0000 (18:03 +0000)]
- Implement MiShutdownMemoryManager (stops MPW thread and writes all dirty pages to disk).
- Move MiShutdownMemoryManager invocation to where it should really happen (before filesystems shutdown).
- As a result, MPW doesn't have a chance to flush pages when filesystems are already down. However, 1st assertion as mentioned in bug 2872 still happens. 2nd one is gone.
See issue #2872 for more details.
svn path=/trunk/; revision=32547
Colin Finck [Sun, 2 Mar 2008 20:18:17 +0000 (20:18 +0000)]
Put all the stuff from "ntoskrnl.rbuild" into a new file "ntoskrnl-generic.rbuild", which is then included by "ntoskrnl.rbuild".
Simplifies building the kernel as the same stuff is also needed in "ntkrnlmp.rbuild", which now defines CONFIG_SMP and then just includes "ntoskrnl-generic.rbuild".
Also added a disabled "ntkrnlmp.rbuild" entry to "ReactOS-generic.rbuild" (disabled, because building the SMP kernel is broken atm)
svn path=/trunk/; revision=32546
Magnus Olsen [Sun, 2 Mar 2008 18:19:08 +0000 (18:19 +0000)]
Fixed all known issue with DdCreateSurface in gdi32, it works with more that one surface now.
svn path=/trunk/; revision=32545
Magnus Olsen [Sun, 2 Mar 2008 17:50:11 +0000 (17:50 +0000)]
small change in DdCreateSurface. now we pass down all usermode surface data to win32k.
left todo is translate back all surface data.
svn path=/trunk/; revision=32544
Magnus Olsen [Sun, 2 Mar 2008 16:28:54 +0000 (16:28 +0000)]
started adding support for more that one surface in DdCreateSurface
svn path=/trunk/; revision=32543
Gregor Brunmar [Sun, 2 Mar 2008 14:12:24 +0000 (14:12 +0000)]
* Implemented IDirect3D::CheckDeviceFormatConversion()
* Replaced all LocalAlloc() with HeapAlloc() and LocalFree() with HeapFree() on recommendation from GreatLord
svn path=/trunk/; revision=32542
Gregor Brunmar [Sun, 2 Mar 2008 12:29:35 +0000 (12:29 +0000)]
Implemented IDirect3D:CheckDeviceFormat()
svn path=/trunk/; revision=32541
Aleksey Bragin [Sun, 2 Mar 2008 10:26:59 +0000 (10:26 +0000)]
- The bootloader must zero user shared data page before passing control to the kernel. This fixes the "invalid timer state", "assert(SharedUserData->NumberOfPages == 0" family of bugs after warm reboot.
See issue #3085 for more details.
svn path=/trunk/; revision=32540
Magnus Olsen [Sat, 1 Mar 2008 17:28:44 +0000 (17:28 +0000)]
finish implemented of DvpVideoport, misc, misc2, Color Control, NT callbacks not tested to 100% yet
stub up almost all callbacks that DdGetDriverInfo setup, mark out where DirectX DdBltAlphaBlend are
ReactOS gdi32.dll was tested in windows xp and it seam working fine with dx1-7 at moment, even not everything are finish.
svn path=/trunk/; revision=32539
Hervé Poussineau [Fri, 29 Feb 2008 16:02:54 +0000 (16:02 +0000)]
Clean up generated makefile.auto
svn path=/trunk/; revision=32538
Hervé Poussineau [Fri, 29 Feb 2008 15:03:37 +0000 (15:03 +0000)]
Use Rule class to describe .c/.cpp file compilation
svn path=/trunk/; revision=32537
Johannes Anderwald [Fri, 29 Feb 2008 14:27:32 +0000 (14:27 +0000)]
- simplify code by using FindLanguageIndex for various string, error, page functions
- fixes a crash when no hdd is attached
See issue #3109 for more details.
svn path=/trunk/; revision=32536
Hervé Poussineau [Fri, 29 Feb 2008 13:45:19 +0000 (13:45 +0000)]
Don't test if the variable is not NULL if it is always allocated
Fix another typo
svn path=/trunk/; revision=32535
Hervé Poussineau [Fri, 29 Feb 2008 13:36:07 +0000 (13:36 +0000)]
Please at least test your changes before committing
svn path=/trunk/; revision=32534
Christoph von Wittich [Fri, 29 Feb 2008 13:26:28 +0000 (13:26 +0000)]
fix some more memory leaks
svn path=/trunk/; revision=32533
Christoph von Wittich [Fri, 29 Feb 2008 12:53:26 +0000 (12:53 +0000)]
fix some memory leaks
svn path=/trunk/; revision=32532
Hervé Poussineau [Fri, 29 Feb 2008 12:45:34 +0000 (12:45 +0000)]
Remove parameters from GenerateLinkerCommand() ; they can be detected there
Factorize some code in GenerateCommands()
svn path=/trunk/; revision=32531
Christoph von Wittich [Fri, 29 Feb 2008 12:24:56 +0000 (12:24 +0000)]
fix msvc build
svn path=/trunk/; revision=32530
Hervé Poussineau [Fri, 29 Feb 2008 12:10:07 +0000 (12:10 +0000)]
GetObjectFilename() shouldn't be able to modify the list of generated files
svn path=/trunk/; revision=32529
Hervé Poussineau [Fri, 29 Feb 2008 11:33:34 +0000 (11:33 +0000)]
Prevent passing of useless parameters
Decide how to compile a file at last moment, in GenerateGccCommand()
Fix a memory leak
svn path=/trunk/; revision=32528
Aleksey Bragin [Fri, 29 Feb 2008 09:43:36 +0000 (09:43 +0000)]
- Fix memory corruption, thanks to Alex for reporting.
svn path=/trunk/; revision=32527
Aleksey Bragin [Thu, 28 Feb 2008 14:51:41 +0000 (14:51 +0000)]
Samuel Serapion <samcharly@hotmail.com>
- Make the ext2 dbgprint not annoying.
svn path=/trunk/; revision=32526
Hervé Poussineau [Thu, 28 Feb 2008 14:13:07 +0000 (14:13 +0000)]
Use a generic .spec file, instead of a .def file per architecture
svn path=/trunk/; revision=32525
Aleksey Bragin [Thu, 28 Feb 2008 14:05:47 +0000 (14:05 +0000)]
- Fix coding style in some places.
svn path=/trunk/; revision=32524
Aleksey Bragin [Thu, 28 Feb 2008 13:52:54 +0000 (13:52 +0000)]
- Remove duplicates, add STATUS_SUCCESS define (which gets commented out by wmc for now).
- Add STATUS_WAIT_X and STATUS_INSUFFICIENT_RESOURCES codes.
svn path=/trunk/; revision=32523
Aleksey Bragin [Thu, 28 Feb 2008 13:35:09 +0000 (13:35 +0000)]
- If BASEDIR env var is set to point to your WDK installation, make msvcX will take it into account, and add additional include directories for WDK headers and libraries for all kernelmode modules.
svn path=/trunk/; revision=32522
Aleksey Bragin [Thu, 28 Feb 2008 11:37:14 +0000 (11:37 +0000)]
- Fix leaking an entry in some cases during ObpFreeCapturedAttributes call. For more details: reactos.org/forum/viewtopic.php?t=5311.
svn path=/trunk/; revision=32521
Aleksey Bragin [Thu, 28 Feb 2008 11:10:18 +0000 (11:10 +0000)]
- Bump some Lsa debug messages from FIXME to TRACE, to prevent debug log spamming (their importance is rather low right now).
svn path=/trunk/; revision=32520
Colin Finck [Wed, 27 Feb 2008 22:47:56 +0000 (22:47 +0000)]
Fix portcls build, broken in r32517, by moving the header inclusion order in "portcls.h" around.
I checked this with MS DDK and its "wdm.h" file also defines no types and depends on a previously included "ntddk.h" by the driver.
svn path=/trunk/; revision=32519
Aleksey Bragin [Wed, 27 Feb 2008 20:54:27 +0000 (20:54 +0000)]
- This bug most probably is solved ages ago, but for testing purposes I enable this message before removing the check. Later could be substituted with an ASSERT.
svn path=/trunk/; revision=32518
Aleksey Bragin [Wed, 27 Feb 2008 20:50:41 +0000 (20:50 +0000)]
- The forgotten declaration.
svn path=/trunk/; revision=32517
Aleksey Bragin [Wed, 27 Feb 2008 20:35:51 +0000 (20:35 +0000)]
Code cleanup:
- Move NtGlobalFlag declaration to wdm.h (which Emanuele wanted to do since it was committed in revision 1137).
- Remove unneeded declarations added by Filip in revision 9660 and Thomas in revision 14058, they all are in the proper headers already for a long time.
svn path=/trunk/; revision=32516
Aleksey Bragin [Wed, 27 Feb 2008 20:13:34 +0000 (20:13 +0000)]
- Automatically create an entry for ntldr-style booting of ReactOS kernel in freeldr.ini.
- = EXPERIMENTAL, IT WON'T WORK YET, SO DON'T COMPLAIN = -
svn path=/trunk/; revision=32515
Colin Finck [Wed, 27 Feb 2008 19:58:48 +0000 (19:58 +0000)]
The C99 __VA_ARGS__ is also supported under GCC, no reason to add a compiler switch here and use ##args for GCC
svn path=/trunk/; revision=32514
Colin Finck [Wed, 27 Feb 2008 14:57:47 +0000 (14:57 +0000)]
- Remove an unneeded MSVC block in windef.h and indent the definition of the "min" and "max" macros
- Shuffle the header inclusion order in charmap around, so that it compiles warning-free under MSVC (at /W3)
svn path=/trunk/; revision=32513
Christoph von Wittich [Wed, 27 Feb 2008 14:27:49 +0000 (14:27 +0000)]
don't link to ntdll
svn path=/trunk/; revision=32512
Christoph von Wittich [Wed, 27 Feb 2008 14:15:57 +0000 (14:15 +0000)]
revert last change - it is a problem with reactos psdk headers
svn path=/trunk/; revision=32511
Christoph von Wittich [Wed, 27 Feb 2008 14:14:16 +0000 (14:14 +0000)]
fix msvc build
svn path=/trunk/; revision=32510
Christoph von Wittich [Wed, 27 Feb 2008 13:51:10 +0000 (13:51 +0000)]
rc doesn't like \" - use "" instead
svn path=/trunk/; revision=32509
Sylvain Petreolle [Wed, 27 Feb 2008 12:52:07 +0000 (12:52 +0000)]
include Fr.rc and Nl.rc
svn path=/trunk/; revision=32508
Christoph von Wittich [Wed, 27 Feb 2008 12:27:45 +0000 (12:27 +0000)]
fix path to msvc def file
svn path=/trunk/; revision=32507
Christoph von Wittich [Wed, 27 Feb 2008 12:27:16 +0000 (12:27 +0000)]
fix formatting and msvc build
svn path=/trunk/; revision=32506