Commit graph

29909 commits

Author SHA1 Message Date
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
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