Commit graph

38 commits

Author SHA1 Message Date
Jerome Leclanche
da40f95efa gdi32: Properly set ERROR_NOACCESS when GetObject receives invalid arguments. 2010-08-20 13:21:06 +02:00
Dylan Smith
e2d7da0604 gdi32: Provide a non-blank font face name for ANSI_FIXED_FONT.
This patch avoids using the wrong font when this stock font is selected,
which could be seen by modifying notepad to send WM_SETFONT to the edit
control with GetStockObject(ANSI_FIXED_FONT) for wParam.
2010-03-04 12:30:50 +01:00
Dmitry Timoshkov
4c088cbe35 gdi32: Dump GDI objects in the case of running out of GDI handles. 2010-02-24 15:12:31 +01:00
Alexandre Julliard
ad8389dc39 gdi32: Do not load 16-bit gdi.exe by default. 2010-02-08 17:49:48 +01:00
Nikolay Sivov
b3a193a5dd gdi32: Add GdiInitializeLanguagePack() stub. 2010-01-26 12:09:41 +01:00
Alexandre Julliard
fadc2cda1c gdi32: Load the 32-bit gdi.exe module wrapper from the 32-bit side.
Get rid of the empty gdi_main.c file.
2009-12-28 23:50:40 +01:00
Alexandre Julliard
0d07420ecf gdi32: Use a standard critical section instead of a syslevel for the GDI lock. 2009-12-24 17:42:13 +01:00
Alexandre Julliard
1ac23b9b0f gdi32: Don't include wingdi16.h by default. 2009-12-07 14:18:29 +01:00
Rob Shearman
ccce11d2c3 gdi32: Move 16-bit functions not exported in gdi32.dll into files compiled only when 16-bit functionality is enabled. 2009-02-19 12:51:50 +01:00
Alexandre Julliard
73593cbf5a gdi32: Store a separate flag to mark a GDI object for delayed destruction. 2009-01-29 21:45:01 +01:00
Alexandre Julliard
827e1f1de3 gdi32: Increment the reference count for the initial DC stock objects. 2009-01-29 21:44:52 +01:00
Alexandre Julliard
f1ea7a40f8 gdi32: Get rid of GDI_ReallocObject. 2009-01-28 19:04:04 +01:00
Alexandre Julliard
de831f334c gdi32: Release GDI handles before freeing the object.
This makes it unnecessary to hold the GDI lock during destruction.
2009-01-28 18:45:21 +01:00
Alexandre Julliard
311c53db4f gdi32: Allocate and initialize GDI objects before giving them a handle.
This makes it unnecessary to hold the GDI lock since the object
cannot be accessed before it has a handle.
2009-01-28 18:43:06 +01:00
Alexandre Julliard
5811a2ccb4 gdi32: Use the official constants instead of the old Win9x magic numbers for GDI object types. 2009-01-28 16:20:56 +01:00
Alexandre Julliard
68d19b9552 gdi32: Don't hold the GDI lock while calling the GetObjectA/W methods for GDI objects. 2009-01-27 16:30:43 +01:00
Alexandre Julliard
9ff44b815b gdi32: Don't hold the GDI lock while calling the UnrealizeObject method for GDI objects. 2009-01-27 16:26:35 +01:00
Alexandre Julliard
f03871094c gdi32: Don't hold the GDI lock while calling the DeleteObject method for GDI objects. 2009-01-27 16:19:37 +01:00
Alexandre Julliard
b4255d295d gdi32: Release the GDI lock when calling the DC DeleteObject function. 2009-01-27 16:15:47 +01:00
Maarten Lankhorst
a411f25d85 gdi32/user32: Make __wine_make_gdi_object_system CDECL. 2008-12-17 15:02:26 +01:00
ByeongSik Jeon
d1ca64b3f5 gdi32: Unify Chinese and Japanese default font name. 2008-12-11 12:20:27 +01:00
Andrew Talbot
a4e8f4dcdd gdi32: Assign to structs instead of using memcpy. 2008-02-28 10:50:57 +01:00
Alexandre Julliard
30e2cb1616 gdi32: Move a few more gdiobj functions to gdi16.c. 2008-02-18 17:53:43 +01:00
Alexandre Julliard
a306af0c62 gdi32: Reimplemented GetObject16 and moved it to gdi16.c. 2008-02-18 17:46:29 +01:00
Alexandre Julliard
1fdae2b2a5 gdi32: Reimplemented IsGDIObject16 and moved it to gdi16.c. 2008-02-18 17:26:31 +01:00
Alexandre Julliard
8815e63835 gdi32: Get rid of DC_GetDCPtr in the GDI object functions. 2008-02-05 21:17:28 +01:00
Zhangrong Huang
0e4f8d1e2c gdi32, winex11.drv: Correct default Chinese font name. 2007-12-21 13:46:10 +01:00
Alexandre Julliard
e9f1638de6 gdi32: Don't hold the GDI lock while calling the SelectObject backends. 2007-09-27 21:00:44 +02:00
Alexandre Julliard
af6c0a09c5 gdi32: Move the object refcount handling to the SelectObject backend functions. 2007-09-27 20:57:02 +02:00
Alexandre Julliard
a1e31397e1 gdi32: Don't pass an object pointer to the SelectObject backend functions. 2007-09-27 20:14:13 +02:00
Alexandre Julliard
e9a4c2351d gdi32: Fix a few more places that use the wrong get/release function for DCs. 2007-08-22 18:20:39 +02:00
Paul Vriens
d469eca1c6 gdi32: Fix possible NULL pointer dereference (Coverity). 2007-08-22 12:18:59 +02:00
Alexandre Julliard
1476e34645 gdi32: Add separate functions for releasing/freeing DCs to replace the standard GDI ones.
This should make it possible to use a different locking mechanism for DCs.
2007-08-21 21:37:40 +02:00
Dmitry Timoshkov
edbc6e7b8a gdi32: Fix compilation warnings in 64-bit mode. 2007-05-30 11:55:30 +02:00
Andrew Talbot
453cb25c1b gdi32: Replace inline static with static inline. 2007-03-21 11:55:44 +01:00
Andrew Talbot
3d41200797 gdi32: Remove unused function. 2006-12-20 12:27:55 +01:00
Alexandre Julliard
75b8f88875 gdi32: Get rid of the gdi.h include. 2006-11-17 14:52:07 +01:00
Alexandre Julliard
7dfc447741 gdi32: Renamed the gdi directory to gdi32. 2006-10-20 12:25:29 +02:00
Renamed from dlls/gdi/gdiobj.c (Browse further)