Commit graph

26242 commits

Author SHA1 Message Date
Magnus Olsen ee0dd7fa6e implement DeviceCapabilitiesExA and DeviceCapabilitiesExW, both always return -1
redirect DeleteColorSpace@4 to NtGdiDeleteColorSpace@4


svn path=/trunk/; revision=28494
2007-08-23 20:47:43 +00:00
Daniel Reimer 49b4adc779 Fix a typo.
svn path=/trunk/; revision=28493
2007-08-23 20:30:11 +00:00
Johannes Anderwald 40b600253d - turn back cursor on screensaver exit
- display fullscreen instead of maximized
- patch by Vytis Girdzijauskas, "CMan", cman[at]cman[dot]us
See issue #2583 for more details.

svn path=/trunk/; revision=28492
2007-08-23 20:25:20 +00:00
Aleksey Bragin fd759f410c - Add some early skeleton for OHCI. This code isn't called by anything, so it can't break something.
svn path=/trunk/; revision=28491
2007-08-23 20:14:45 +00:00
Johannes Anderwald a616c6c485 - part 2/2
- update french translation for sysdm by Pierre Schweitzer (heis_spiter at hotmail dot com)

See issue #2588 for more details.

svn path=/trunk/; revision=28490
2007-08-23 20:11:28 +00:00
Johannes Anderwald cd2bd2ad1e - part 1/2
- add french translation for logoff by Pierre Schweitzer (heis_spiter at hotmail dot com)
- also add german translation
See issue #2588 for more details.

svn path=/trunk/; revision=28489
2007-08-23 20:10:36 +00:00
Daniel Reimer 23b758b293 - Update all SF Links to one of the fastest Mirrors. puzzle is EVIL!
- Fix some broken Links
- Update some Files to newer Versions.

svn path=/trunk/; revision=28488
2007-08-23 20:03:37 +00:00
Magnus Olsen 9b03238d39 commit my verify list with api that been tested and works same/simluare as windows xp, in windows 2000/xp
svn path=/trunk/; revision=28487
2007-08-23 19:56:57 +00:00
Aleksey Bragin 6ccab0cf5a - Set NULL Io cancel routine, fixes an assert when using usb storage driver.
svn path=/trunk/; revision=28486
2007-08-23 19:41:38 +00:00
Magnus Olsen 6b5a7d3908 Kill reactos own syscall api NtGdiCreatePolygonRgn, it have been redirect to another ros own syscall named NtGdiCreatePolyPolygonRgn. see my last commit for gdi32
svn path=/trunk/; revision=28485
2007-08-23 19:33:21 +00:00
Magnus Olsen 75fff0653f remove redirect of CreatePolyPolygonRgn@16 and implement own stub for it, it is hacked, it should doing, return (HRGN) NtGdiPolyPolyDraw(fnPolyFillMode, lppt, lpPolyCounts, nCount, 6 );
remove redirect of CreatePolygonRgn@12 and implement own stub for it, it is hacked, it should doing return NtGdiPolyPolyDraw(fnPolyFillMode,lppt,cPoints,1,6);
remove redirect of CreateRectRgn@16 and implement own stub for it,  some part need be done in user mode
Fix CreateRectRgnIndirect it call now on CreateRectRgn for some part need be done in user mode, and it crash if NULL comes in as param, like windows does. 
Fix CreatePenIndirect ir call now on CreatePen for some stuff need be done in user mode. 
Add comment to CreatePen it need be fix. 



svn path=/trunk/; revision=28484
2007-08-23 19:21:16 +00:00
Aleksey Bragin d88b419c3a - Small NDK headers update
svn path=/trunk/; revision=28483
2007-08-23 19:20:28 +00:00
James Tabor bae87c517b Fix build?
svn path=/trunk/; revision=28482
2007-08-23 18:35:46 +00:00
Timo Kreuzer 58091ef92d move NtGdiGetSetBoundsrect from paintobj.c to dc.c, remove paintobj.c
svn path=/trunk/; revision=28481
2007-08-23 17:28:24 +00:00
Magnus Olsen 5e95a39358 Remove NtGdiCreatePalette it was a ros specfify api in win32k syscall list. It have been replace with NtGdiCreatePaletteInternal
svn path=/trunk/; revision=28480
2007-08-23 17:22:27 +00:00
Timo Kreuzer e60a2c2441 move NtGdiExtFloodFill from bitblt.c to filshap.c
svn path=/trunk/; revision=28479
2007-08-23 17:04:28 +00:00
Timo Kreuzer c74dd37de0 - rename painting.c to bitblt.c
- move NtGdi/Int(Poly)PatBlt to bitblt.c

svn path=/trunk/; revision=28478
2007-08-23 16:38:23 +00:00
Magnus Olsen 3883e58615 Fix : CreatePalette@4 calling NtGdiCreatePaletteInternal
svn path=/trunk/; revision=28477
2007-08-23 16:19:51 +00:00
Magnus Olsen a224171ac5 fast implementions of NtGdiCreatePaletteInternal
it is base on NtGdiCreatePalette

svn path=/trunk/; revision=28476
2007-08-23 15:36:20 +00:00
Ged Murphy b5210a6c16 odd, this doesn't fail on my machine but it does on the buildserver
svn path=/trunk/; revision=28475
2007-08-23 15:30:49 +00:00
Ged Murphy f68661bb9c add new file to rbuild file and fix gcc complaints
svn path=/trunk/; revision=28474
2007-08-23 15:23:10 +00:00
Magnus Olsen 122ab0a2bb Remove redirect of CreateDIBitmap@24 to NtGdiCreateDIBitmap@24, and create stub for it. we need do some stuff in user mode
Fix : CreateDiscardableBitmap shall be call on CreateCompatibleBitmap not the NtGdiCreateCompatibleBitmap, for we need do some thing in user mode
Fix : CreateEllipticRgnIndirect it crash now, if the param is NULL, that goes same for all windows NT I tested 

svn path=/trunk/; revision=28473
2007-08-23 15:03:13 +00:00
Ged Murphy 0c529df2e0 simplify some code
svn path=/trunk/; revision=28472
2007-08-23 14:57:44 +00:00
Magnus Olsen 520d244fe2 create stub for both CreateCompatibleDC and CreateCompatibleBitmap instead for redirect them, they need share memory, and it need do some stuff in user mode
svn path=/trunk/; revision=28470
2007-08-23 14:02:10 +00:00
Magnus Olsen ed494d70d2 remove redirect of CombineRgn and CreateBitmap some part are need be done in user mode. not in win32k,
implement it as stub, and doing the syscall until some got time review and rewrite this code right

svn path=/trunk/; revision=28469
2007-08-23 12:54:09 +00:00
Magnus Olsen 0c8c94eb0d sorry fixed break in comping
svn path=/trunk/; revision=28468
2007-08-23 12:43:06 +00:00
Magnus Olsen 14b913746c Redirect : BRUSHOBJ_pvGetRbrush@4 to NtGdiBRUSHOBJ_pvGetRbrush@4
Redirect : BRUSHOBJ_ulGetBrushColor@4 to NtGdiBRUSHOBJ_ulGetBrushColor@4
Redirect : CLIPOBJ_bEnum@12 to  NtGdiCLIPOBJ_bEnum@12
Redirect : CLIPOBJ_cEnumStart@20  to  NtGdiCLIPOBJ_cEnumStart@20
Redirect : CLIPOBJ_ppoGetPath@4 to NtGdiCLIPOBJ_ppoGetPath@4

svn path=/trunk/; revision=28467
2007-08-23 12:10:13 +00:00
Magnus Olsen 46fb3ca2dc Implement stub : NtGdiCLIPOBJ_bEnum
Implement stub : NtGdiCLIPOBJ_cEnumStart
Implement stub : NtGdiCLIPOBJ_ppoGetPath
Implement stub : NtGdiBRUSHOBJ_ulGetBrushColor
Implement stub : NtGdiBRUSHOBJ_pvAllocRbrush
Implement stub : NtGdiBRUSHOBJ_pvGetRbrush

svn path=/trunk/; revision=28466
2007-08-23 12:07:37 +00:00
Magnus Olsen 94e74e9b8b Bugfix : AddFontResourceExW, SetLastError to invaild param when the fl are not set.
Redirect : AnyLinkedFonts@0 to NtGdiAnyLinkedFonts@0 (stubed in win32k)
Redirect : BRUSHOBJ_hGetColorTransform@4 to NtGdiBRUSHOBJ_hGetColorTransform@4 (stubed in win32k)
Redirect : BRUSHOBJ_pvAllocRbrush@8 to  NtGdiBRUSHOBJ_pvAllocRbrush@8  (stubed in win32k)
partly working : GdiAddFontResourceW is parttly working but it does not works as windows version, instead for being stub, it is not finish implementions of it. This is nassry to clean up some mess. 


svn path=/trunk/; revision=28465
2007-08-23 09:52:31 +00:00
Magnus Olsen 851f4ff721 adding stub for NtGdiAnyLinkedFonts, NtGdiBRUSHOBJ_hGetColorTransform, NtGdiBRUSHOBJ_pvAllocRbrush
svn path=/trunk/; revision=28464
2007-08-23 09:44:26 +00:00
Aleksey Bragin 1ca48793e3 Dmitry Chapyshev <lentind@yandex.ru>:
- Add a shortcut to a charmap tool, create start menu group for it.

svn path=/trunk/; revision=28463
2007-08-23 09:05:04 +00:00
Aleksey Bragin ade3d4b9af Dmitry Chapyshev <lentind@yandex.ru>
- Change control panel icon to a better one

svn path=/trunk/; revision=28462
2007-08-23 08:05:05 +00:00
James Tabor 81666beff6 Add NtGdiFlushUserBatch callback.
svn path=/trunk/; revision=28461
2007-08-23 01:51:22 +00:00
Timo Kreuzer dd008296b0 maze as a screensaver ;-)
svn path=/trunk/; revision=28460
2007-08-23 00:43:25 +00:00
Timo Kreuzer 95ba212738 - NtGdiAnimatePalette, NtGdiGe/SetPaletteEntries, NtGdiGetSystemPaletteEntries, NtGdiGet/SetDIBColorTable: rename into IntXxx, remove SEH and remove functions from w32ksvc.db
- implement NtGdiDoPalette calling the Int functions using SEH & ProbeForXxx and add it to w32ksvc.db
- change parameters of NtGdiDoPalette: HPALETTE -> HGDIOBJ, as it also accepts HDC, LPPALETTENTRY -> LPVOID as it also accepts RGBQUAD*
- implement stub functions in gdi32.dll calling NtGdiDoPalette instead of redirecting to the old NtGdixxx functions
- update ntgdibad.h


svn path=/trunk/; revision=28459
2007-08-23 00:31:26 +00:00
Timo Kreuzer e2167fe00e one more TEST -> RTEST for NtGdiGetRandomRgn
svn path=/trunk/; revision=28458
2007-08-23 00:20:30 +00:00
Timo Kreuzer 3385ef604e some tests for NtGdiDoPalette
svn path=/trunk/; revision=28457
2007-08-23 00:19:00 +00:00
Timo Kreuzer d99309335f win32k syscall dlls for win xp and 2k
svn path=/trunk/; revision=28456
2007-08-22 21:49:49 +00:00
James Tabor 28dafc3348 - Removed NtGdiGetDIBits from w32ksvc.db and updated ntgdibad.h.
- Created support function for GetDIBits when calling NtGdiGetDIBitsInternal.
- Connected the gdi32 parts.

svn path=/trunk/; revision=28455
2007-08-22 19:45:06 +00:00
Johannes Anderwald 12d4e8967e - fix description by Pierre Schweitzer (heis spiter at hotmail com)
svn path=/trunk/; revision=28454
2007-08-22 18:29:20 +00:00
Hervé Poussineau 00ea7e6ada Move generic part of ReactOS-$(ARCH).rbuild to ReactOS-generic.rbuild
svn path=/trunk/; revision=28453
2007-08-22 15:06:43 +00:00
James Tabor 33c9fa8993 Removed NtUserReleaseDC, replaced it with CallOneParam.
svn path=/trunk/; revision=28452
2007-08-22 14:12:55 +00:00
Art Yerkes 01d8c61545 Bug found by arty, thanks to alex for helping fix it:
Process termination fixes part 1: don't suicide our process when we're killing
a sibling.

 - Clarify the use of KillByHandle.  It does *not* mean "suicide".
 - In fact, we had considered the use of KillByHandle backward, that is,
   our process would commit suicide if it was killing a sibling process.
 - Make suicide contingent on killing the same process.
 - Properly handle DBG_TERMINATE_PROCESS semidocumented debugger hack.

svn path=/trunk/; revision=28451
2007-08-22 07:28:45 +00:00
James Tabor 2858198372 Win32 User32 rewrite example.
svn path=/trunk/; revision=28450
2007-08-22 02:54:22 +00:00
James Tabor 7dc8712f1b Cleanup, dont call inside SEH with SEH. IntGdiModifyWorldTransform calls DC_UpdateXforms which calls DCU_UpdateUserXForms and it calls SEH. Moved NtGdiFlush to dcutil.c
svn path=/trunk/; revision=28449
2007-08-21 23:27:44 +00:00
Johannes Anderwald 272d2be738 - Some typos and fixes for greek resource file for ncpa by Apostolos Alexiadis aka Apal (djapal at gmail dot com)
See issue #2582 for more details.

svn path=/trunk/; revision=28447
2007-08-21 16:34:23 +00:00
James Tabor 1deecb4b19 - Removed NtGdiSetMapMode from w32ksvc.db and updated ntgdibad.h.
- Moved NtGdiSetMapMode to an internal function.
- Changed NtGdiPaintRgn and added IntdiPaintRgn.
- Cleaned up win32k path.c.
- Connected the gdi32 parts.


svn path=/trunk/; revision=28446
2007-08-21 09:28:51 +00:00
James Tabor c27ffbed0c Sorry missed this one. Turn it off.
svn path=/trunk/; revision=28445
2007-08-21 07:45:02 +00:00
James Tabor 1cdbcdc32e Turn Dc_Attr off.
svn path=/trunk/; revision=28444
2007-08-21 07:21:26 +00:00
James Tabor ba4d4c6863 Turn off copy to user for now.
svn path=/trunk/; revision=28443
2007-08-21 06:47:49 +00:00