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
Magnus Olsen
5a081cfc0a
implemented DdCreateD3DBuffer callbacks and some cleanup
...
svn path=/trunk/; revision=32550
2008-03-03 20:54:18 +00:00
Daniel Reimer
e8678dcf3a
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
2008-03-03 18:14:36 +00:00
Aleksey Bragin
fad1031b37
- 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
2008-03-03 18:03:04 +00:00
Colin Finck
3171081397
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
2008-03-02 20:18:17 +00:00
Magnus Olsen
a51cfbb700
Fixed all known issue with DdCreateSurface in gdi32, it works with more that one surface now.
...
svn path=/trunk/; revision=32545
2008-03-02 18:19:08 +00:00
Magnus Olsen
34ca690ad8
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
2008-03-02 17:50:11 +00:00
Magnus Olsen
934349678c
started adding support for more that one surface in DdCreateSurface
...
svn path=/trunk/; revision=32543
2008-03-02 16:28:54 +00:00
Gregor Brunmar
a6791bac5d
* Implemented IDirect3D::CheckDeviceFormatConversion()
...
* Replaced all LocalAlloc() with HeapAlloc() and LocalFree() with HeapFree() on recommendation from GreatLord
svn path=/trunk/; revision=32542
2008-03-02 14:12:24 +00:00
Gregor Brunmar
37eaa4b5db
Implemented IDirect3D:CheckDeviceFormat()
...
svn path=/trunk/; revision=32541
2008-03-02 12:29:35 +00:00
Aleksey Bragin
c5d9b2c282
- 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
2008-03-02 10:26:59 +00:00
Magnus Olsen
676473212e
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
2008-03-01 17:28:44 +00:00
Hervé Poussineau
797c6d5a2c
Clean up generated makefile.auto
...
svn path=/trunk/; revision=32538
2008-02-29 16:02:54 +00:00
Hervé Poussineau
f4ebb925aa
Use Rule class to describe .c/.cpp file compilation
...
svn path=/trunk/; revision=32537
2008-02-29 15:03:37 +00:00
Johannes Anderwald
84b673def2
- 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
2008-02-29 14:27:32 +00:00
Hervé Poussineau
67a14cca83
Don't test if the variable is not NULL if it is always allocated
...
Fix another typo
svn path=/trunk/; revision=32535
2008-02-29 13:45:19 +00:00
Hervé Poussineau
b720f079e2
Please at least test your changes before committing
...
svn path=/trunk/; revision=32534
2008-02-29 13:36:07 +00:00
Christoph von Wittich
4e921b8071
fix some more memory leaks
...
svn path=/trunk/; revision=32533
2008-02-29 13:26:28 +00:00
Christoph von Wittich
039ca2f9c2
fix some memory leaks
...
svn path=/trunk/; revision=32532
2008-02-29 12:53:26 +00:00
Hervé Poussineau
332ba6aba9
Remove parameters from GenerateLinkerCommand() ; they can be detected there
...
Factorize some code in GenerateCommands()
svn path=/trunk/; revision=32531
2008-02-29 12:45:34 +00:00
Christoph von Wittich
9ee80a9a2a
fix msvc build
...
svn path=/trunk/; revision=32530
2008-02-29 12:24:56 +00:00
Hervé Poussineau
8ea8606e67
GetObjectFilename() shouldn't be able to modify the list of generated files
...
svn path=/trunk/; revision=32529
2008-02-29 12:10:07 +00:00
Hervé Poussineau
2e5a259812
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
2008-02-29 11:33:34 +00:00
Aleksey Bragin
7449ba7de2
- Fix memory corruption, thanks to Alex for reporting.
...
svn path=/trunk/; revision=32527
2008-02-29 09:43:36 +00:00
Aleksey Bragin
3c8c05443a
Samuel Serapion <samcharly@hotmail.com>
...
- Make the ext2 dbgprint not annoying.
svn path=/trunk/; revision=32526
2008-02-28 14:51:41 +00:00
Hervé Poussineau
36f0da37ea
Use a generic .spec file, instead of a .def file per architecture
...
svn path=/trunk/; revision=32525
2008-02-28 14:13:07 +00:00
Aleksey Bragin
a7fe55dbe5
- Fix coding style in some places.
...
svn path=/trunk/; revision=32524
2008-02-28 14:05:47 +00:00
Aleksey Bragin
01211c8fa1
- 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
2008-02-28 13:52:54 +00:00
Aleksey Bragin
a49e6640b4
- 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
2008-02-28 13:35:09 +00:00
Aleksey Bragin
3de0480cae
- Fix leaking an entry in some cases during ObpFreeCapturedAttributes call. For more details: http://www.reactos.org/forum/viewtopic.php?t=5311 .
...
svn path=/trunk/; revision=32521
2008-02-28 11:37:14 +00:00
Aleksey Bragin
ed6ebdede8
- 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
2008-02-28 11:10:18 +00:00
Colin Finck
19d6003deb
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
2008-02-27 22:47:56 +00:00
Aleksey Bragin
2fad0ee98f
- 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
2008-02-27 20:54:27 +00:00
Aleksey Bragin
1aaa081b2d
- The forgotten declaration.
...
svn path=/trunk/; revision=32517
2008-02-27 20:50:41 +00:00
Aleksey Bragin
13dff8f1b1
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
2008-02-27 20:35:51 +00:00
Aleksey Bragin
ce7c9d5844
- 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
2008-02-27 20:13:34 +00:00
Colin Finck
1d57e7d51b
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
2008-02-27 19:58:48 +00:00
Colin Finck
0e419d44d8
- 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
2008-02-27 14:57:47 +00:00
Christoph von Wittich
2233f3c7cc
don't link to ntdll
...
svn path=/trunk/; revision=32512
2008-02-27 14:27:49 +00:00
Christoph von Wittich
9f846e1db8
revert last change - it is a problem with reactos psdk headers
...
svn path=/trunk/; revision=32511
2008-02-27 14:15:57 +00:00