Commit graph

29781 commits

Author SHA1 Message Date
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
Christoph von Wittich 14a4c03189 fix msvc build
svn path=/trunk/; revision=32510
2008-02-27 14:14:16 +00:00
Christoph von Wittich 4dbc9374c3 rc doesn't like \" - use "" instead
svn path=/trunk/; revision=32509
2008-02-27 13:51:10 +00:00
Sylvain Petreolle c969f02a7e include Fr.rc and Nl.rc
svn path=/trunk/; revision=32508
2008-02-27 12:52:07 +00:00
Christoph von Wittich 79c6e213ad fix path to msvc def file
svn path=/trunk/; revision=32507
2008-02-27 12:27:45 +00:00
Christoph von Wittich 420b99bdde fix formatting and msvc build
svn path=/trunk/; revision=32506
2008-02-27 12:27:16 +00:00
Daniel Reimer f60d4ec823 Somehow these got lost in a past sync. Added French and Netherlands Translation to XCopy.
svn path=/trunk/; revision=32505
2008-02-27 12:04:30 +00:00
Daniel Reimer 53c21ea773 Update Winhelp and Wordpad to Wine 0.9.56
svn path=/trunk/; revision=32504
2008-02-27 11:55:59 +00:00
Daniel Reimer f071b75aa2 Bug 3105: Italian resources update by Paolo Devoti - devotip@tiscali.it
Bug 3106: Ukrainian translation update by Artem Reznikov - temarez@yandex.ru

svn path=/trunk/; revision=32503
2008-02-27 11:29:17 +00:00
Daniel Reimer 17a48f69ae Bug 3105: Italian resources update by Paolo Devoti - devotip@tiscali.it
Bug 3106: Ukrainian translation update by Artem Reznikov - temarez@yandex.ru

svn path=/trunk/; revision=32502
2008-02-27 11:28:34 +00:00
Christoph von Wittich 6da06e7853 remove duplicated code
svn path=/trunk/; revision=32501
2008-02-27 10:54:25 +00:00
Christoph von Wittich d49acd34e8 move variable declarations to top
reduce flickering

svn path=/trunk/; revision=32500
2008-02-27 10:53:59 +00:00