Difference between revisions of "Gdi32.dll"

From ReactOS Wiki
Jump to: navigation, search
m
m (changelog 0.3.4)
Line 29: Line 29:
 
* Start implementation of gdientry2, for the moment it returns incorrect info and does not fill some stuff right ([[Magnus Olsen]])
 
* Start implementation of gdientry2, for the moment it returns incorrect info and does not fill some stuff right ([[Magnus Olsen]])
  
 +
[[ChangeLog-0.3.4]]
 +
* Make OpenGL initialization thread-safe ([[Thomas Bluemel]])
 +
* Fix AddFontResourceExAW parameter check ([[Timo Kreuzer]])
 +
* Fix : add PatBlt and PolyPatBlt to usermode so they no longer redirect to win32k ([[Magnus Olsen]])
 +
* Fix :  AddFontResourceExW, SetLastError to invaild parameter when the flags are not set. ([[Magnus Olsen]])
 +
* Redirect PATHOBJ_bEnum to win32k NtGdiPATHOBJ_bEnum ([[Magnus Olsen]])
 +
* Redirect PATHOBJ_bEnumClipLines to win32k NtGdiPATHOBJ_bEnumClipLines ([[Magnus Olsen]])
 +
* Redirect PATHOBJ_vEnumStart to win32k NtGdiPATHOBJ_vEnumStart  ([[Magnus Olsen]])
 +
* Redirect PATHOBJ_vEnumStartClipLines to win32k NtGdiPATHOBJ_vEnumStartClipLines ([[Magnus Olsen]])
 +
* Redirect PATHOBJ_vGetBounds to win32k NtGdiPATHOBJ_vGetBounds ([[Magnus Olsen]])
 +
* Redirect AnyLinkedFonts to win32k NtGdiAnyLinkedFonts ([[Magnus Olsen]])
 +
* Redirect BRUSHOBJ_hGetColorTransform to win32k NtGdiBRUSHOBJ_hGetColorTransform ([[Magnus Olsen]])
 +
* Redirect BRUSHOBJ_pvAllocRbrush to win32k NtGdiBRUSHOBJ_pvAllocRbrush ([[Magnus Olsen]])
 +
* Redirect BRUSHOBJ_pvGetRbrush to NtGdiBRUSHOBJ_pvGetRbrush ([[Magnus Olsen]])
 +
* Redirect BRUSHOBJ_ulGetBrushColor to NtGdiBRUSHOBJ_ulGetBrushColor ([[Magnus Olsen]])
 +
* Redirect CLIPOBJ_bEnum to NtGdiCLIPOBJ_bEnum ([[Magnus Olsen]])
 +
* Redirect CLIPOBJ_cEnumStart to  NtGdiCLIPOBJ_cEnumStart ([[Magnus Olsen]])
 +
* Redirect CLIPOBJ_ppoGetPath to NtGdiCLIPOBJ_ppoGetPath ([[Magnus Olsen]])
 +
* Remove redirect of CombineRgn and CreateBitmap. Some parts need be done in user mode, not in win32k. Implement it as a stub with the syscall until there is time to review and rewrite this code correctly ([[Magnus Olsen]])
 +
* Fix: Do not redirect CreateCompatibleDC and CreateCompatibleBitmap, they need to share memory and need to do some stuff in user mode ([[Magnus Olsen]])
 +
* Remove redirect of CreateDIBitmap@24 to NtGdiCreateDIBitmap@24, and create a stub for it. We need to do some stuff in user mode ([[Magnus Olsen]])
 +
* Fix: CreateDiscardableBitmap shall call CreateCompatibleBitmap instead of NtGdiCreateCompatibleBitmap to keep it in usermode ([[Magnus Olsen]])
 +
* Fix: CreateEllipticRgnIndirect now crashes if the parameter is NULL, duplicating behavior in all Windows NT versions tested ([[Magnus Olsen]])
 +
* Fix: CreatePalette calls NtGdiCreatePaletteInternal ([[Magnus Olsen]])
 +
* Remove redirect of CreatePolyPolygonRgn and implement a hack for now ([[Magnus Olsen]])
 +
* Remove redirect of CreatePolygonRgn and implement a hack for now ([[Magnus Olsen]])
 +
* Remove redirect of CreateRectRgn to keep it in user mode ([[Magnus Olsen]])
 +
* Fix CreateRectRgnIndirect to call on CreateRectRgn to keep it in user mode and crash if its parameter is NULL, duplicating behavior in all Windows NT versions tested. ([[Magnus Olsen]])
 +
* Fix CreatePenIndirect to call on CreatePen to keep it in user mode. ([[Magnus Olsen]])
 +
* Implement DeviceCapabilitiesExA and DeviceCapabilitiesExW, both always return -1 ([[Magnus Olsen]])
 +
* Redirect DeleteColorSpace to win32k NtGdiDeleteColorSpace ([[Magnus Olsen]])
 +
* Comprehensive changes to bring ReactOS Gdi32 to a compatible state based on Feng Yuan book "Windows Graphics Programming Win32 GDI and DirectDraw". ([[James Tabor]])
 +
* Add usermode checks to GetDIBits, passes 21 out of 27 tests ([[Ged Murphy]])
 +
* Add GdiSetLastError to the lib instead of forwarding it straight to kernel32 ([[Ged Murphy]])
  
 
[[Category:BNWIP]]
 
[[Category:BNWIP]]

Revision as of 09:19, 12 December 2012

Gdi32.dll is NOT synced with WINE, it is made by ReactOS (source)


See Also

GDI

http://en.wikipedia.org/wiki/Microsoft_Windows_library_files#Gdi32.dll

http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/?view=log

History

ChangeLog-0.1.4 Gdi32.dll

ChangeLog-0.2.2

ChangeLog-0.3.0

  • Gdi32 : DirectX : fixing a bug in gdientry3, found it when I wrote the doc how it should work. The doc also committed to ReactOS svn (Magnus Olsen)

ChangeLog-0.3.1

  • Implemented NtGdiPolyDraw, based on Wine's Implementation (Saveliy Tretiakov)
  • Fix a bug in DdDeleteDirectDrawObject, zero the DirectDraw handler. If it is successful memory is freed (Magnus Olsen)
  • Start implementation of gdientry2, for the moment it returns incorrect info and does not fill some stuff right (Magnus Olsen)

ChangeLog-0.3.4

  • Make OpenGL initialization thread-safe (Thomas Bluemel)
  • Fix AddFontResourceExAW parameter check (Timo Kreuzer)
  • Fix : add PatBlt and PolyPatBlt to usermode so they no longer redirect to win32k (Magnus Olsen)
  • Fix : AddFontResourceExW, SetLastError to invaild parameter when the flags are not set. (Magnus Olsen)
  • Redirect PATHOBJ_bEnum to win32k NtGdiPATHOBJ_bEnum (Magnus Olsen)
  • Redirect PATHOBJ_bEnumClipLines to win32k NtGdiPATHOBJ_bEnumClipLines (Magnus Olsen)
  • Redirect PATHOBJ_vEnumStart to win32k NtGdiPATHOBJ_vEnumStart (Magnus Olsen)
  • Redirect PATHOBJ_vEnumStartClipLines to win32k NtGdiPATHOBJ_vEnumStartClipLines (Magnus Olsen)
  • Redirect PATHOBJ_vGetBounds to win32k NtGdiPATHOBJ_vGetBounds (Magnus Olsen)
  • Redirect AnyLinkedFonts to win32k NtGdiAnyLinkedFonts (Magnus Olsen)
  • Redirect BRUSHOBJ_hGetColorTransform to win32k NtGdiBRUSHOBJ_hGetColorTransform (Magnus Olsen)
  • Redirect BRUSHOBJ_pvAllocRbrush to win32k NtGdiBRUSHOBJ_pvAllocRbrush (Magnus Olsen)
  • Redirect BRUSHOBJ_pvGetRbrush to NtGdiBRUSHOBJ_pvGetRbrush (Magnus Olsen)
  • Redirect BRUSHOBJ_ulGetBrushColor to NtGdiBRUSHOBJ_ulGetBrushColor (Magnus Olsen)
  • Redirect CLIPOBJ_bEnum to NtGdiCLIPOBJ_bEnum (Magnus Olsen)
  • Redirect CLIPOBJ_cEnumStart to NtGdiCLIPOBJ_cEnumStart (Magnus Olsen)
  • Redirect CLIPOBJ_ppoGetPath to NtGdiCLIPOBJ_ppoGetPath (Magnus Olsen)
  • Remove redirect of CombineRgn and CreateBitmap. Some parts need be done in user mode, not in win32k. Implement it as a stub with the syscall until there is time to review and rewrite this code correctly (Magnus Olsen)
  • Fix: Do not redirect CreateCompatibleDC and CreateCompatibleBitmap, they need to share memory and need to do some stuff in user mode (Magnus Olsen)
  • Remove redirect of CreateDIBitmap@24 to NtGdiCreateDIBitmap@24, and create a stub for it. We need to do some stuff in user mode (Magnus Olsen)
  • Fix: CreateDiscardableBitmap shall call CreateCompatibleBitmap instead of NtGdiCreateCompatibleBitmap to keep it in usermode (Magnus Olsen)
  • Fix: CreateEllipticRgnIndirect now crashes if the parameter is NULL, duplicating behavior in all Windows NT versions tested (Magnus Olsen)
  • Fix: CreatePalette calls NtGdiCreatePaletteInternal (Magnus Olsen)
  • Remove redirect of CreatePolyPolygonRgn and implement a hack for now (Magnus Olsen)
  • Remove redirect of CreatePolygonRgn and implement a hack for now (Magnus Olsen)
  • Remove redirect of CreateRectRgn to keep it in user mode (Magnus Olsen)
  • Fix CreateRectRgnIndirect to call on CreateRectRgn to keep it in user mode and crash if its parameter is NULL, duplicating behavior in all Windows NT versions tested. (Magnus Olsen)
  • Fix CreatePenIndirect to call on CreatePen to keep it in user mode. (Magnus Olsen)
  • Implement DeviceCapabilitiesExA and DeviceCapabilitiesExW, both always return -1 (Magnus Olsen)
  • Redirect DeleteColorSpace to win32k NtGdiDeleteColorSpace (Magnus Olsen)
  • Comprehensive changes to bring ReactOS Gdi32 to a compatible state based on Feng Yuan book "Windows Graphics Programming Win32 GDI and DirectDraw". (James Tabor)
  • Add usermode checks to GetDIBits, passes 21 out of 27 tests (Ged Murphy)
  • Add GdiSetLastError to the lib instead of forwarding it straight to kernel32 (Ged Murphy)