Alexandre Julliard
c82cb23bc2
gdi32: Add initial support for a null graphics driver.
2011-03-08 22:35:18 +01:00
Alexandre Julliard
5f5c7020f3
gdi32: Add a common header to the physdev structure.
2011-03-08 22:34:57 +01:00
Alexandre Julliard
fcfbb46d2e
gdi32: GetDIBColorTable doesn't need to be part of the DC driver interface.
2011-03-08 16:55:04 +01:00
Alexandre Julliard
e6d9486453
gdi32: Fix parameter type in the ModifyWorldTransform driver entry point.
2011-03-08 15:21:52 +01:00
Dmitry Timoshkov
afcfb51055
gdi32: Add some additional tests for negative axes extents.
2011-03-08 12:30:39 +01:00
Francois Gouget
53bcd3edb5
gdi32/tests: Add a '\n' to an ok() call.
2011-03-07 11:09:19 +01:00
Huw Davies
f435963be4
gdi32: Remove a wayward CDECL.
2011-03-04 16:26:01 +01:00
John Edmonds
0d0d4f394f
gdi32: Fixes GetDIBits for top-down destination bitmaps.
2011-03-02 12:50:58 +01:00
John Edmonds
374db9240b
gdi32/tests: Updated tests for top-down destination bitmaps.
2011-03-02 12:50:58 +01:00
Austin English
197f2f8cad
gdi32/tests: Remove win9x hacks.
2011-02-28 13:13:05 +01:00
Peter Urbanec
de7d1ad77a
gdi32: Fix 64-bit pointer issues when copying upside-down bitmaps.
2011-02-25 17:21:51 +01:00
Austin English
c796ae653c
gdi32/tests: Remove win9x hacks.
2011-02-24 15:50:25 +01:00
Dmitry Timoshkov
1b041c92cb
gdi32: Add a EnumFontFamilies test to see how it handles various font faces.
2011-02-24 15:49:44 +01:00
Dmitry Timoshkov
2aaf6c2c8c
gdi32: EnumFontFamilies should also match against fully qualified face name.
2011-02-24 15:49:40 +01:00
Dmitry Timoshkov
9bc5946cde
gdi32: Use graphics mode specified at the EMF creation time when playing EMR_EXTTEXTOUT record.
2011-02-24 15:49:27 +01:00
John Edmonds
3c239fa0cd
gdi32: Fixed GetDIBits for top-down bitmaps.
2011-02-23 19:21:41 +01:00
John Edmonds
d2e1478db0
gdi32/tests: Added tests for copying a single pixel from top down and bottom up bitmaps.
2011-02-23 19:21:38 +01:00
Maarten Lankhorst
720bc3fa53
gdi32: Handle BITMAP_CopyBitmap correctly for negative heights.
2011-02-22 13:30:11 +01:00
Alexander Kochetkov
005915f405
gdi32: Fix scaling factors for EMR_EXTTEXTOUTW.
2011-02-22 13:24:53 +01:00
Dmitry Timoshkov
e0f5ddddf1
gdi32: Do not leak the hfont list (Valgrind).
2011-02-21 15:18:39 +01:00
Dmitry Timoshkov
20bdd203aa
gdi32: Go through all hfontlist entries not just the first one when checking whether font is in the child font list.
2011-02-21 15:18:37 +01:00
Dmitry Timoshkov
00c8250ff8
gdi32: Add dumping of child GDI font cache.
2011-02-21 15:18:33 +01:00
Austin English
e36370f04b
gdi32: Add a stub for GdiDrawStream.
2011-02-14 13:33:29 +01:00
Austin English
a13e596c78
gdi32/tests: Make sure to use return values (LLVM/Clang).
2011-02-10 09:57:32 -06:00
Peter Urbanec
b8e1a19a1d
gdi32/tests: Use virtual screen size instead of primary monitor screen size.
2011-02-09 14:11:22 -06:00
Austin English
b667582a71
gdi32/tests: Make sure to use return value (LLVM/Clang).
2011-02-09 09:29:43 -06:00
Austin English
0a649054ae
gdi32/tests: Make sure to use return value (LLVM/Clang).
2011-02-07 10:07:13 -06:00
Kusanagi Kouichi
3311bbb319
gdi32: Check if a character is double byte or single byte.
2011-02-03 13:15:19 +01:00
Kusanagi Kouichi
c8ebdff8fa
gdi32/tests: Add tests for GetGlyphOutlineA.
2011-02-03 13:15:19 +01:00
Kusanagi Kouichi
edabccd5af
gdi32/tests: Consolidate identity matrices.
2011-02-03 13:15:18 +01:00
Kusanagi Kouichi
2d6b748c79
gdi32: Upper 24 bits of a character range must be same.
2011-02-01 18:14:09 +01:00
David Hedberg
81bbd17c40
gdi32: Stay within the clipping area when painting text background.
2011-02-01 18:14:09 +01:00
Dmitry Timoshkov
73ef76538c
gdi32: Add ExtSelectClipRgn() tests for memory and window DCs.
2011-02-01 12:10:08 +01:00
Kusanagi Kouichi
c117d45cb3
gdi32: Reject invalid character range in GetCharABCWidthsA.
2011-01-28 14:50:20 +01:00
Kusanagi Kouichi
c706ecea82
gdi32/tests: Add some more tests for GetCharABCWidthsA.
2011-01-28 12:50:53 +01:00
Greg Geldorp
566d455b29
gdi32/tests: Fix font tests on Arabic machines.
2011-01-24 12:35:02 +01:00
Akihiro Sagawa
ac66c57523
gdi32: Use the helper function in GetCharABCWidthsFloatA to support DBCS.
2011-01-17 16:03:53 +01:00
Akihiro Sagawa
da76ffa90e
gdi32: Use the helper function in GetCharWidth32A to support DBCS.
2011-01-17 16:03:53 +01:00
Akihiro Sagawa
b9c41636bb
gdi32: Add a helper function to get chars in the range.
2011-01-17 16:03:41 +01:00
Akihiro Sagawa
d4924bf9a1
gdi32: Avoid an integer overflow in GetCharABCWidthsA.
2011-01-17 16:00:12 +01:00
Akihiro Sagawa
62b5963507
gdi32: Pass the byte count to FONT_mbtowc in GetCharABCWidthsA.
2011-01-17 15:59:26 +01:00
Akihiro Sagawa
c05d8781ad
gdi32/tests: Add more tests for GetCharABCWidthsA.
2011-01-17 15:59:12 +01:00
Greg Geldorp
16e9171989
gdi32/tests: Fix tmLastChar test.
2011-01-14 18:26:19 +01:00
Kusanagi Kouichi
5c987fc574
gdi32: GetCharABCWidthsA should work for DBCS.
2011-01-13 17:26:12 +01:00
Kusanagi Kouichi
fcb4a1610e
gdi32/tests: Add a test for GetCharABCWidthsA with DBCS.
2011-01-13 17:26:09 +01:00
Greg Geldorp
33a5cdbf79
gdi32/tests: Allow ANSI_CHARSET for some tests.
2011-01-12 14:56:05 +01:00
Greg Geldorp
3658b84509
gdi32/tests: Skip tests on unexpected font code page.
2011-01-11 16:05:48 +01:00
Greg Geldorp
857ebf02df
gdi32/tests: Fix some font test failures on non-English machines.
2011-01-10 13:03:52 +01:00
Greg Geldorp
1e922ebb07
gdi32/tests: Fix System font test for Japanese.
2011-01-07 15:00:52 +01:00
André Hentschel
56233536e8
gdi32/tests: Don't test function directly when reporting GetLastError().
2011-01-03 11:54:06 +01:00
Greg Geldorp
0b6e5c5535
gdi32/tests: Skip test that crashes on 64-bit.
2010-12-31 11:45:52 +01:00
Huw Davies
aec376dcef
gdi32: Clear the accel flags.
2010-12-17 13:26:01 +01:00
Wolfram Sang
27d2b9b814
winex11.drv: In GetDIBits() with DIB sections, always use dibpitch from the target.
2010-12-02 19:20:45 +01:00
André Hentschel
1f6f4329fd
gdi32/tests: Fix test on WinME.
2010-11-29 19:51:38 +01:00
Hans Leidekker
24ce163a8b
gdi32/tests: Fix a test failure on systems configured to use a color profile.
2010-11-26 14:58:47 +01:00
Austin Lund
a9aafec28a
gdi32/tests: Skip GetGlyphIndices tests for non-ANSI codepages.
2010-11-15 17:21:36 +01:00
Dmitry Timoshkov
d419f24372
gdi32: Remove broken check for WinXP.
2010-11-10 16:16:42 +01:00
Andrew Nguyen
c4a8de92c4
winex11.drv: Ensure that the WGL context is removed from the context list in wglDeleteContext.
2010-11-08 18:12:58 +01:00
Dmitry Timoshkov
5c011b3dbf
Revert "gdi32: Make AddFontToList skip adding a face into global lists if the font is not supposed to be enumerated, and return a pointer to first loaded face.".
...
This reverts commit a2047323c9
. That patch is not correct.
2010-11-05 17:15:35 +01:00
Alexandre Julliard
f914811359
gdi32: Remove unnecessary uses of wownt32.h.
2010-11-01 16:44:34 +01:00
Paul Vriens
6b73bee057
gdi32/tests: Fix crash and failures on Win95.
2010-11-01 11:35:58 +01:00
Dmitry Timoshkov
a2047323c9
gdi32: Make AddFontToList skip adding a face into global lists if the font is not supposed to be enumerated, and return a pointer to first loaded face.
2010-10-27 12:07:56 +02:00
Hans Leidekker
b32ed71ff5
gdi32: Fix invalid parameter handling in EnumICMProfiles and SetICMProfile.
2010-10-26 15:24:24 +02:00
Hans Leidekker
0839dabdab
gdi32: Move EnumICMProfiles to the driver.
2010-10-26 15:23:55 +02:00
Alexandre Julliard
295682f35c
gdi32/tests: Make the test clipping window topmost to see if it helps.
2010-10-15 16:17:51 +02:00
Alexandre Julliard
f75b7e8788
gdi32: Improve tracing of GDI objects to make leaks easier to spot.
2010-10-12 23:01:09 +02:00
Andrew Talbot
bbd3556146
gdi32: Constify some variables.
2010-10-12 12:17:51 +02:00
James McKenzie
c3dfc7b834
gdi32: Correct typo in comment.
2010-10-11 17:11:25 +02:00
Alexandre Julliard
730f01801f
tests: Make some variables static.
2010-10-01 13:41:42 +02:00
Alexandre Julliard
1914f3ecae
gdi32: Copy a DIB section as a DIB section in BITMAP_CopyBitmap.
2010-09-28 22:44:36 +02:00
Alexandre Julliard
97611dca8b
gdi32: Implement MirrorRgn.
2010-09-27 20:45:56 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Dmitry Timoshkov
cec1686ced
gdi32: Add a trace for GetClipBox.
2010-09-14 09:43:11 -05:00
Aric Stewart
5c581f079e
gdi32: Silence a common and expected error.
2010-09-13 09:56:05 -05:00
Gerald Pfeifer
db9c3b0f53
gdi32/tests: Fix another test description in test_logpen.
2010-09-08 13:24:49 +02:00
Aric Stewart
8ac121c671
gdi32: Correct usage of ScriptLayout for bidi code.
2010-09-08 13:24:38 +02:00
Alexandre Julliard
0766d375bc
gdi32: Mirror the returned rectangle in GetClipBox for RTL layout.
2010-09-08 13:21:21 +02:00
Gerald Pfeifer
b2e2793e28
gdi32/tests: Fix a test description in test_logpen.
2010-09-06 16:13:22 +02:00
Alexandre Julliard
5b1a3a4320
gdi32: Use float instead of long in the spec file for 32-bit floating point values.
2010-08-31 14:23:48 +02:00
Alexandre Julliard
abafd9f1c7
gdi32/tests: Fix the GetObject last error check for most Windows versions.
2010-08-23 11:11:16 +02:00
Detlef Riekenberg
3bae9b725c
gdi32/enhmfdrv: Remove unneded if() before HeapFree.
2010-08-20 15:50:35 +02:00
Jerome Leclanche
da40f95efa
gdi32: Properly set ERROR_NOACCESS when GetObject receives invalid arguments.
2010-08-20 13:21:06 +02:00
Detlef Riekenberg
bc72f9965d
gdi32: Always use a HANDLE for GDI_ReleaseObj.
2010-08-16 12:56:34 +02:00
Andrew Nguyen
ca96aed384
gdi32: Improve AddFontMemResourceEx parameter validation.
2010-08-03 18:00:19 +02:00
Dmitry Timoshkov
81557b5e21
gdi32: Do not crash on an invalid pointer passed to AddFontMemResourceEx.
2010-08-02 16:10:06 +02:00
Alexandre Julliard
c68589e3dd
gdi32: Replicate a Windows bug in StretchDIBits for top-down bitmaps in the non-stretching case.
...
Found by Mathias Kosch.
2010-07-30 14:59:41 +02:00
Alexandre Julliard
9dba4840fa
gdi32: Refresh the DC transforms when the visible rectangle is changed.
2010-07-30 11:35:33 +02:00
Alexandre Julliard
1019579fd4
gdi32: Fix offset for mirrored devices that have a non-zero viewport offset.
2010-07-29 17:33:27 +02:00
Alexandre Julliard
1da826a149
gdi32: Fix text positioning in mirrored DCs.
2010-07-29 13:37:20 +02:00
Alexandre Julliard
7d776a866e
gdi32: Mirror the clip region when the DC is mirrored, with tests.
2010-07-29 13:36:43 +02:00
Alexandre Julliard
7c1124e49a
gdi32: Make sure the text dimensions are always positive in the ExtTextOut normal case.
2010-07-28 23:15:01 +02:00
Alexandre Julliard
2773ae181e
gdi32/tests: Add some tests for the DC origin in RTL layouts.
2010-07-28 20:35:09 +02:00
Alexandre Julliard
d100153e5c
gdi32/tests: Make function pointers global in the mapping test.
2010-07-28 20:34:20 +02:00
Alexandre Julliard
e4b76dfd88
gdi32: Make the top right corner the DC origin for RTL layouts.
2010-07-28 20:33:13 +02:00
Dmitry Timoshkov
213d84be15
gdi32: Make sure that all the glyph metrics are transformed before caching them.
2010-07-28 12:23:33 +02:00
Alexandre Julliard
f57c1b77dd
gdi32: Get rid of the GetDCOrgEx driver entry point, GDI can implement this itself now.
2010-07-26 18:38:31 +02:00
Alexandre Julliard
69c8f0b67d
gdi32: Store the total visible rectangle in the DC.
2010-07-26 18:38:31 +02:00
Alexandre Julliard
1472f35e82
gdi32: Replace the SelectVisRgn Wine-specific export by a private entry point.
2010-07-26 18:38:31 +02:00
Alexandre Julliard
f695c1d19d
gdi32: Update the DC mappings when the layout is changed.
2010-07-23 11:34:07 +02:00
Alexandre Julliard
480117fdaf
gdi32/tests: Fix a typo in a macro name.
2010-07-22 21:04:56 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Marcus Meissner
2f7ec73add
gdi32: Rebuild font hash after changing the matrix.
2010-07-21 13:23:56 +02:00
Alexandre Julliard
811cdfaf27
gdi32: Reject invalid DIB depths in CreateDIBSection.
2010-07-20 14:40:32 +02:00
Alexandre Julliard
e36f326f35
gdi32/tests: Fixed coordinates matching to use a relative error.
2010-07-19 14:38:16 +02:00
Paul Chitescu
f479aa5ce5
gdi32: If driver is missing claim vectorial fonts are supported so GDI fonts (freetype) are used.
2010-06-21 12:17:26 +02:00
Alexandre Julliard
69d5a56103
gdi32: Fix the sign of the vertical text position in ExtTextOutW.
2010-06-17 17:25:04 +02:00
Andrew Nguyen
b4d58fe58f
winex11.drv: Report a non-zero COLORRES capability value.
2010-06-15 19:58:30 +02:00
Nikolay Sivov
cd43ff167b
gdi32: Add CreateFontIndirectEx implementation.
2010-06-14 14:14:15 +02:00
John Voltz
c9f729c2f7
gdi32: Fix typo in enhanced metafile Arc function.
2010-06-02 10:54:39 +02:00
Andrew Nguyen
9d5a848df1
gdi32: Fix parameter handling of GetBoundsRect.
2010-06-01 17:50:03 +02:00
Andrew Nguyen
682f0dcf1a
gdi32/tests: Uncomment and enhance a Win9x-specific Restore/SaveDC test.
2010-06-01 17:50:01 +02:00
Aric Stewart
a4d25f1260
gdi32: Do not ignore USP_E_SCRIPT_NOT_IN_FONT when shaping glyphs.
2010-05-31 12:46:08 +02:00
Aric Stewart
41fb95b43d
gdi32: Set lpOrder in BIDI_Reorder even for strings not requireing reordering.
2010-05-31 12:14:28 +02:00
Alexandre Julliard
aa9c781703
Revert "gdi32: Pre-multiply RGB values by alpha for subpixel font rendering."
...
This reverts commit aff0eac21b
. The RGB
values are already alpha values, they don't need to be pre-multiplied.
2010-05-28 00:09:21 +02:00
Alexandre Julliard
7f19bda6ec
gdi32: Only 16 and 32 bpp DIB sections can have bitfields.
2010-05-27 14:44:37 +02:00
Alexandre Julliard
f4e51a9c45
gdi32: Return the actual DIB section bitfields instead of default values in GetDIBits.
2010-05-27 13:37:37 +02:00
Austin English
00ddfc804a
gdi32/tests: Use ret in test_CreateFontIndirect().
2010-05-24 12:53:00 +02:00
Aric Stewart
ec62c33d79
gdi32: Handle a BiDi string being shaped into more or less glyphs than characters in the string.
2010-05-24 11:18:28 +02:00
Dmitry Timoshkov
7d3cb53cf1
gdi32: Do not use VDMX for mapping of negative font heights, based on a test case.
2010-05-18 18:44:24 +02:00
Alexandre Julliard
aff0eac21b
gdi32: Pre-multiply RGB values by alpha for subpixel font rendering.
2010-05-17 14:25:14 +02:00
Alexandre Julliard
162d95a3ce
Fix the bitmap info size computation when masks are present.
2010-05-14 17:17:46 +02:00
Aric Stewart
2a8958ec18
gdi32: Use usp10 to optionally generate glyphs for bidi strings.
2010-05-13 19:44:35 +02:00
Gerald Pfeifer
fcf831acef
gdi32/tests: Remove two variables which are not really used from test_clipping.
2010-05-10 10:14:32 +02:00
Gerald Pfeifer
4339944fae
gdi32/tests: Remove variable oldPen which is not really used from test_widenpath.
2010-05-10 10:10:08 +02:00
Huw Davies
d92ed5bd07
gdi32: Add support for ETO_PDY and improve world transform support.
2010-05-06 15:24:30 +02:00
Alexandre Julliard
e27bc88693
gdi32: Add a global function to retrieve the display driver.
2010-05-06 13:50:30 +02:00
Alexandre Julliard
8dc9e8786b
gdi32: Don't store the display driver in the global list to avoid the need for locking.
2010-05-06 13:48:24 +02:00
Alexandre Julliard
0e4f742f06
gdi32: Don't bother freeing graphics drivers.
2010-05-06 13:37:32 +02:00
Huw Davies
9bee50f6d9
gdi32: Fix ExtTextOutA -> W forwarding when ETO_PDY is set.
2010-05-05 17:49:44 +02:00
Gerald Pfeifer
08b88c42ee
gdi32: Remove variable x which is not really used from testJustification.
2010-05-03 15:41:21 +02:00
Gerald Pfeifer
6cad49da4b
gdi32: Remove variable retb which is not really used from test_closefigure.
2010-04-26 07:02:30 -05:00
Alexandre Julliard
50500d1a0b
gdi32: Fix handling of bitmap header size for V4/V5 bitmaps.
2010-04-21 14:56:22 +02:00
Alexandre Julliard
3858ad7bd3
gdi32: Convert the driver list to a standard Wine list.
2010-04-20 16:21:37 +02:00
Alexandre Julliard
b0beb46aa8
gdi32: Use the more detailed libwine information to classify bidi chars.
2010-04-14 18:00:45 +02:00
Aric Stewart
b9c30445c7
ups10: Reimplement ScriptLayout to properly handle mixed runs.
2010-04-14 18:00:45 +02:00
Aric Stewart
6c3659c3d4
usp10: Improve ScriptItemize with a SCRIPT_CONTROL and SCRIPT_STATE set.
...
Reduce bidi duplications from gdi32 by using the newly corrected usp10
functions.
2010-04-14 18:00:44 +02:00
Roderick Colenbrander
c29cf05919
winex11: Add support for 32-bit DDBs.
2010-04-13 13:06:32 +02:00
Nikolay Sivov
352e2ff6eb
gdi32: Use supplied hdc for DIB_RGB_COLORS if it's valid.
...
This is about fixing regression introduced with 2854884a42
.
Initial patch fixed MSVS 2005 toolbars blackness, this one doesn't break a fix,
and fixes regressed Animation control glitches (and probably reported games related problems).
2010-04-12 11:30:16 +02:00
Alexandre Julliard
bd5ccea53f
gdi32: Avoid some rounding errors in AngleArc.
2010-04-09 18:24:35 +02:00
Alexandre Julliard
a8e86e35dd
winapi: Generate the 64-bit variant of structure size/alignment tests.
2010-04-07 18:03:00 +02:00
Dmitry Timoshkov
fb9bca41e5
gdi32: Fix some DC leaks in gdi32 bitmap tests.
2010-04-07 13:51:13 +02:00
Mikhail Maroukhine
8fd8d9e96a
gdi32: Fix compiler warnings with flag -Wcast-qual.
2010-03-29 12:13:55 +02:00
Louis Lenders
226a5019e7
Quiet two noisy FIXME's.
2010-03-26 15:34:57 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Dmitry Timoshkov
c7b45aa8d3
gdi32: Fix GDI locking in SetBitmapBits.
2010-03-15 13:28:24 +01:00
Paul Vriens
b5738dcceb
gdi32/tests: Fix a test failure on Win9x/WinMe.
2010-03-05 12:46:01 +01: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
Henri Verbeet
9ab004d56a
gdi32: GetObject() should return the DIB's absolute height in dsBmih.biHeight.
2010-03-01 14:03:34 +01:00
Henri Verbeet
96e4a33b65
gdi32/tests: Fix a few format strings.
2010-03-01 14:03:33 +01:00
Dmitry Timoshkov
2f7053e6c0
gdi32: Fix the DeleteDC test failures under Win9x.
2010-02-25 12:11:04 +01:00
Dmitry Timoshkov
d6cfc3223e
user32: DeleteDC() should allow to delete a DC returned by GetDC().
2010-02-24 16:03:02 +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
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Andrew Nguyen
a504867a89
gdi32: Check the region handle in GetClipRgn later.
2010-02-16 11:33:33 +01:00
Alexandre Julliard
ad8389dc39
gdi32: Do not load 16-bit gdi.exe by default.
2010-02-08 17:49:48 +01:00
Huw Davies
1ff1e11161
gdi32: Zero pad the facename buffer so that we don't write uninitialized data to the metafile.
...
Found by Valgrind.
2010-02-03 15:51:56 +01:00
Nikolay Sivov
b3a193a5dd
gdi32: Add GdiInitializeLanguagePack() stub.
2010-01-26 12:09:41 +01:00
Christian Costa
132ba27f2b
gdi32: Improve some FIXMEs.
2010-01-20 16:30:47 +01:00
Ilya Shpigor
91a1321a97
gdi32: Additional checking in the test for font creation with the OEM charset.
2010-01-19 12:21:15 +01:00
Ilya Shpigor
f91d61a529
gdi32: Test for font creation with the OEM charset.
2009-12-31 12:12:18 +01:00
Andrew Nguyen
c3e9de0b4c
gdi32: Fix a typo in ScaleViewportExtEx.
...
Spotted by Gregor Schneider.
2009-12-30 17:10:11 +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
Rob Shearman
eb81fa283b
gdi32: Fix memory leaks on EMF_Create_HENHMETAFILE failure.
2009-12-14 16:14:38 +01:00
André Hentschel
fb56000c13
gdi32/tests: Also test non-style suffix.
2009-12-14 12:04:04 +01:00
Hans Leidekker
1d4fcc0270
gdi32: Implement WineEngGetCharABCWidthsFloat and forward GetCharABCWidthsFloat to it.
2009-12-11 17:47:22 +01:00
Alexandre Julliard
13608c8b18
gdi32: Avoid use of some 16-bit types.
2009-12-07 14:18:29 +01:00
Alexandre Julliard
1ac23b9b0f
gdi32: Don't include wingdi16.h by default.
2009-12-07 14:18:29 +01:00
Alexandre Julliard
4edcf1caa5
gdi32: Make gdi.exe into a stand-alone 16-bit module.
2009-12-07 14:18:29 +01:00
Alexandre Julliard
fc55cdcd59
gdi32: Stop exporting the 16-bit print job functions.
2009-12-07 14:18:28 +01:00
Huw Davies
b5ca0a9c2a
gdi32: Fix incorrect initialization of path array.
...
Found by Valgrind.
2009-12-02 14:19:54 +01:00
Alexandre Julliard
cc973b0cdc
gdi32: Avoid calling get_dc_ptr on a null handle.
2009-12-01 15:10:37 +01:00
Dan Kegel
f3560ece31
gdi32: Fix minor read buffer overrun in CombineRgn.
2009-11-30 12:47:59 +01:00
Francois Gouget
4874d84ac1
gdi32: Make wglCreateContextAttribsARB() static.
2009-11-24 15:53:36 +01:00
Francois Gouget
d442a48e2a
gdi32/tests: Make test_CreateFontIndirect() static.
2009-11-24 15:53:36 +01:00
Charles Davis
3f1281cc44
gdi32/tests: Test BitBlt() to an enhanced metafile.
2009-11-23 15:25:33 +01:00
Charles Davis
b6f841eaca
gdi32/enhmfdrv: When blitting, don't crash if the source is NULL.
2009-11-23 15:25:33 +01:00
Charles Davis
5e17b04df7
gdi32/enhmfdrv: Get the source transformation from the source DC.
2009-11-23 14:35:29 +01:00
Charles Davis
d456f99a04
gdi32/enhmfdrv: Don't fill in the PelsPerMeter fields in the BITMAPINFOHEADER when blitting.
2009-11-23 14:35:22 +01:00
Roderick Colenbrander
41f061ea1b
wgl: Add initial WGL_ARB_create_context support.
2009-11-18 11:39:57 +01:00
André Hentschel
762280eab0
gdi32/tests: Simplify testcase.
2009-11-18 11:14:24 +01:00
Alexandre Julliard
17349a06b1
gdi32: Remove remaining references to gdi32 internals from gdi16.c.
2009-11-17 22:30:08 +01:00
Alexandre Julliard
06e09f67b4
gdi32: Disable SetSolidBrush16 since it requires access to gdi32 internals.
2009-11-17 22:29:37 +01:00
Alexandre Julliard
d9700b6a77
gdi32: Reimplement the 16-bit metafile functions on top of the 32-bit ones.
2009-11-17 19:58:02 +01:00
Alexandre Julliard
c73e2d5e02
gdi32: Reset the visible region in ResetDC.
2009-11-17 15:14:56 +01:00
André Hentschel
e4beddb664
gdi32: Don't strip font suffix.
2009-11-17 15:14:56 +01:00
Alexandre Julliard
1c67717876
gdi32: Get rid of the SetDCOrg driver entry point.
2009-11-17 15:14:54 +01:00
Alexandre Julliard
1fd7159cae
gdi32: Disable SetDCOrg16.
2009-11-17 15:14:54 +01:00
Alexandre Julliard
16da76923d
gdi32: Reimplement SaveVisRgn16/RestoreVisRgn16 to avoid accessing the DC internals.
2009-11-17 15:14:54 +01:00
Alexandre Julliard
61925b7e89
gdi32: Return copies of the region in InquireVisRgn16 and GetClipRgn16.
2009-11-17 15:14:54 +01:00
Alexandre Julliard
569f56e87a
gdi32: Disable the 16-bit visible region manipulation functions.
2009-11-17 15:14:54 +01:00
Alexandre Julliard
250237e1c1
gdi32: Reimplement LPtoDP16/DPtoLP16 on top of the 32-bit functions.
2009-11-17 15:14:54 +01:00
Alexandre Julliard
9a145d13f1
gdi32: Don't crash when we don't have AbortProc thunks.
2009-11-17 15:14:54 +01:00
Roderick Colenbrander
f4b88e34ec
wgl: Get rid of delayed GLX context creation. Instead attempt to re-create a context when wglShareLists is called.
2009-11-16 17:42:54 +01:00
Detlef Riekenberg
495267e5f1
wineps: Don't depend on 16-bit PrinterData functions from gdi.
2009-11-16 13:48:18 +01:00
Eric Pouech
40eea7acd7
gdi.exe: Rewrite QueryAbort16 to be independant of gdi32.dll internals.
2009-11-16 13:47:38 +01:00
Eric Pouech
8e248c063f
gdi.exe: No longer use 16bit abort procs inside the DC structure.
2009-11-16 13:47:29 +01:00
André Hentschel
8f31df1dd8
gdi32/tests: Test CreateFontIndirect for suffix stripping.
2009-11-16 13:25:00 +01:00
Huw Davies
16c20d3c73
gdi32/tests: Test the return value of GetClipBox before trying to access the rect.
2009-11-13 13:36:35 +01:00
Alexandre Julliard
872feb47c4
gdi32: Don't update the metafile bounding box in ExtTextOut if there's no rectangle.
2009-11-11 13:07:10 +01:00
Nikolay Sivov
2854884a42
gdi32: Always create a context for DIB_RGB_COLORS.
2009-10-22 14:39:21 +02:00
Nikolay Sivov
dd0a7078e0
gdi32: Prevent possible buffer overrun.
2009-10-20 14:09:25 +02:00
Dmitry Timoshkov
2158999382
gdi32: Rework the test for too large width/height font ratio to pass with different font heights, make it pass under Wine.
2009-10-07 12:27:51 +02:00
Joel Holdsworth
170e425b00
gdi32: Added tests for StretchDIBits.
2009-10-02 11:50:01 +02:00
Joel Holdsworth
fb0b7381d0
gdi32: Added tests for StretchBlt.
2009-10-02 11:49:46 +02:00
Alexandre Julliard
ab15d13290
gdi32: Fall back to StretchBlt if the driver doesn't export PatBlt or BitBlt.
2009-09-30 20:55:26 +02:00
Alexandre Julliard
29d68b3fa7
gdi32: Move the 16-bit DIB pointer support to gdi16.c.
2009-09-26 13:50:37 +02:00
Alexandre Julliard
3411821ff6
gdi32: Get rid of the 16-bit DC hook support.
...
It can only work with native user32 anyway.
2009-09-26 13:32:47 +02:00
Alexandre Julliard
6ad951804a
gdi32: Make wing.dll into a stand-alone 16-bit module.
2009-09-26 13:32:25 +02:00
Alexandre Julliard
7582b13d8d
gdi32: Move remaining 16-bit metafile functions to metafile16.c
2009-09-26 13:31:45 +02:00
Alexandre Julliard
d69dd56495
gdi32: BS_DIBPATTERN brushes use a 32-bit handle in 32-bit mode.
2009-09-26 13:30:06 +02:00
Rico Schüller
43ce10d168
gdi32: Check the current context in wglMakeCurrent().
2009-09-22 17:47:10 +02:00
Markus Stockhausen
e51b20bf05
gdi32: Check for NULL pointer in GdiAlphaBlend.
2009-09-18 09:14:16 -05:00
Ilya Shpigor
dad99e2aa9
gdi32/tests: Add test for SelectClipRgn in metafile.
2009-09-08 14:16:31 +02:00
Andrew Nguyen
4569eb2e66
gdi32: Fix the type of a few return values.
2009-08-06 17:26:29 +02:00
Aric Stewart
7214f650ef
gdi32: Ensure child fonts have names.
2009-08-03 16:00:42 +02:00
Dmitry Timoshkov
69b29fa07e
gdi32: Use a better heuristics for tmWeight.
...
Marlett uses FW_MEDIUM (500) and current code allows only FW_REGULAR and
FW_BOLD. New heuristics detects if flags and usWeightClass in the font match.
2009-08-03 14:59:08 +02:00
Dmitry Timoshkov
16aa1369f8
gdi32: Some fonts have a broken last segment of cmap4 table, avoid a crash in that case.
...
Freetype has a similar consistency check.
2009-08-03 14:58:57 +02:00
Huw Davies
1d66e20ead
gdi32/tests: Add a broken case for some versions of winxp.
2009-07-17 12:38:08 +02:00
Joel Holdsworth
91f458314b
gdi32/tests: Added tests for BitBlt.
2009-07-16 16:18:20 +02:00
Aric Stewart
6a5bb87e3a
gdi32: In init_system_links, reinitialize val_len and data_len before continuing.
2009-07-16 11:13:02 +02:00
Huw Davies
e5c614e6b1
gdi32/tests: Allow a small tolerance when comparing scaling values.
2009-07-13 10:32:11 +02:00
Huw Davies
904b2749f7
gdi32/tests: Don't continue with the tests if GetWinMetaFileBits fails.
2009-07-08 20:15:00 +02:00
Huw Davies
787ead8088
gdi32: Use a modified version of MulDiv to match native behaviour.
2009-07-07 13:22:13 +02:00
Paul Vriens
31d82c5fdc
gdi32/tests: Mark an intermittent failure as broken() on Win9x/ME.
2009-07-06 14:35:25 +02:00
Huw Davies
395436d2e9
gdi32/tests: Fix tests on win9x and winMe.
2009-07-03 11:28:06 +02:00
Huw Davies
dca1b517ec
gdi32/tests: Add some traces and fix a few comments.
2009-07-02 13:17:49 +02:00
Huw Davies
12adc3e1fb
gdi32: Add tests for the map mode and window size records.
2009-07-02 13:17:44 +02:00
Huw Davies
8edbd0639e
gdi32: Write the map mode and window size records after the mfcomment.
2009-07-02 13:17:35 +02:00
Huw Davies
d79943446f
gdi32/tests: Dump the correct metafile if the test fails.
2009-07-01 14:50:53 +02:00
Huw Davies
470e8fe2f4
gdi32/tests: Add a test for the MFCOMMENT record's size.
2009-07-01 14:50:50 +02:00
Huw Davies
d6bb2b7591
gdi32: Add tests for the GetWinMetaFileBits MFCOMMENT record.
2009-06-30 12:58:17 +02:00
Huw Davies
41bbc007a4
gdi32: Store the original emf as a sequence of MFCOMMENT records.
2009-06-30 12:58:10 +02:00
Huw Davies
db6a9e6f75
gdi32: Remove obviously incorrect calls to SetMapMode.
2009-06-30 12:57:55 +02:00
Huw Davies
d7af14f1b5
gdi32: Use the unicode version of CreateMetaFile.
2009-06-30 12:57:43 +02:00
Francois Gouget
8b93e1fe06
gdi32/tests: Make test_GetTextMetrics2() static.
2009-06-29 13:22:51 +02:00
Francois Gouget
4f0c6a3172
gdi32/tests: Fix the trailing '\n' of a few ok() calls.
2009-06-26 14:40:08 +02:00
Huw Davies
08453c1f2b
configure: Remove reference to obsolete ftnames.h.
2009-06-25 14:34:13 +02:00
Rein Klazes
08ca2fa6a9
gdi32/tests: Show that there is an upper limit to the width of a font that can be specified.
2009-06-25 12:08:12 +02:00
Huw Davies
4b9c22d66b
gdi32: Add tests for GetTransform.
2009-06-24 14:52:21 +02:00
Huw Davies
6260af2a7c
gdi32: Implement GetTransform for the other valid transform types.
2009-06-24 14:52:19 +02:00
Huw Davies
e920f5f7d7
gdi32: Add tests for SetVirtualResolution.
2009-06-23 16:21:46 +02:00
Huw Davies
5c386041fc
gdi32: Implement SetVirtualResolution.
2009-06-23 16:21:42 +02:00
Huw Davies
3742389d45
gdi32: CBM_INIT is a flag.
2009-06-22 14:32:28 +02:00
Paul Vriens
53b1e8909f
gdi32/tests: Fix the last test failure on NT4.
2009-06-16 13:37:21 +02:00
Paul Vriens
eae4b22b61
gdi32/tests: Fix some test failures on NT4.
2009-06-16 13:37:11 +02:00
Louis Lenders
afce86b4bc
gdi32: Add stub for GdiEntry13.
2009-06-15 13:42:31 +02:00
Paul Vriens
cf43e2cac7
gdi32/tests: Fix several test failures on Win9x/WinME/NT4.
2009-06-15 13:42:30 +02:00
Francois Gouget
34accb382b
gdi32/tests: Small indentation fix.
2009-06-15 13:42:29 +02:00
Rein Klazes
d145f399ca
gdi32: Fix RectInRegion() if right < left or bottom < top.
2009-06-08 13:18:58 +02:00
Michael Stefaniuc
0737fc2c72
gdi32: Avoid using long when not needed.
2009-06-02 11:57:22 +02:00
Paul Vriens
9f4283dcc6
gdi32/tests: Fix a test failure on Win9x/WinME.
2009-05-22 15:16:29 +02:00
Paul TBBle Hampson
87cd36db5e
gdi32: Autopopulate FontLinks when autopopulating FontSubstitutes.
...
When Wine's codepage changes, FontSubstitutes is redefined to use
fonts appropriate for that codepage. Configure FontLinks to reasonable
defaults at the same time.
2009-05-12 13:19:05 +02:00
Paul TBBle Hampson
ce426d6ad1
gdi32: Don't add system_links entries for substituted fonts.
...
When a Font is looked up in the FontLinks table, they have already
been normalised by FontSubstitutes.
So no need to store system_links entries for fonts that appear as keys
in the FontSubstitutes list.
2009-05-05 15:39:58 +02:00
Paul TBBle Hampson
8a4b77883e
gdi32: Fetch child fonts by real parent font name.
...
Entries in the list of linked fonts are keyed by the substituted font
name, so need to be looked up by the substituted font name.
2009-05-05 15:39:36 +02:00
Nikolay Sivov
0f9bc1d3b7
gdi32: Check header pointer in CreateDIBitmap.
2009-05-04 14:57:32 +02:00
Paul TBBle Hampson
4b45767e2a
gdi32: Remove tabs from init_system_links TRACEs.
2009-04-30 12:46:09 +02:00
Paul TBBle Hampson
0cde093fdc
gdi32: Ensure font name comparisons are case-insensitive.
2009-04-30 12:45:58 +02:00
Rein Klazes
5265e0f2e5
winex11: GetPixel() on a monochrome bitmap should return black or white, not dark red.
2009-04-29 15:50:25 +02:00
Paul Vriens
f043f3db27
gdi32/tests: Fix a test failure on NT4.
2009-04-28 11:58:27 +02:00
Paul Vriens
75f6b1d636
gdi32/tests: Fix some test failures on Win9x/WinME.
2009-04-28 11:58:14 +02:00
Paul Vriens
05c50725db
gdi32/tests: Fix a test failure on NT4.
2009-04-23 18:14:27 +02:00
Paul Vriens
59cc56b15a
gdi32/tests: Skip several tests on Win9x.
2009-04-20 14:12:43 +02:00
Alexandre Julliard
55fc90220f
gdi32: Fix SetEnhMetaFileBits last error handling.
2009-04-07 20:55:59 +02:00
Alexandre Julliard
eceed527f6
gdi32: Completely implement RestoreDC in the driver, having it call restore_dc_state if necessary.
2009-04-07 20:55:56 +02:00
Alexandre Julliard
e2f888a617
gdi32: Allow the visible region to be zero since this is the case for metafiles.
2009-04-07 20:55:42 +02:00
Alexandre Julliard
bbb1626bf8
gdi32: Completely implement SaveDC in the driver, having it call save_dc_state if necessary.
2009-04-07 20:55:28 +02:00
Alexandre Julliard
d4c54be272
gdi32: Move the whole DC restoring functionality into set_dc_state, and rename it to restore_dc_state.
2009-04-07 20:28:08 +02:00
Alexandre Julliard
a23725785e
gdi32: Move the whole DC saving functionality into get_dc_state, and rename it to save_dc_state.
2009-04-07 20:18:58 +02:00
Alexandre Julliard
1380f0ac40
gdi32: Remove Get/SetDCState16 implementation, it should not be used by apps.
2009-04-07 20:13:45 +02:00
Alexandre Julliard
88e01969c2
gdi32: Move freeing of the DC path and regions into free_dc_ptr.
2009-04-07 20:13:08 +02:00
Alexandre Julliard
1f1d157237
gdi32/tests: Add some metafile tests. Fix typos.
2009-04-07 15:20:13 +02:00
Aric Stewart
cac6b96de4
gdi32/tests: Demonstrate issues in wine with SaveDC and RestoreDC in metafiles and enhmetafiles.
2009-04-06 13:52:14 +02:00
Dmitry Timoshkov
95156d1b5f
gdi32: Use GdiGetCodePage() instead of duplicating its functionality.
2009-04-06 12:57:21 +02:00
Dmitry Timoshkov
4bb8d9c1c2
gdi32: Cache current font code page in the DC structure.
2009-04-06 12:57:11 +02:00
Dmitry Timoshkov
301b5d2772
gdi32: Add a couple of SetGraphicsMode/SetWorldTransform tests, make them pass under Wine.
2009-04-06 12:56:50 +02:00
Massimo Del Fedele
da6a94cd96
gdi32: Fix PATH_add_outline when mapping mode != MM_TEXT.
2009-03-31 16:43:05 +02:00
Massimo Del Fedele
a11a450e33
gdi32: PATH_ExtTextOut remove incorrect shift to DC origin.
2009-03-31 16:43:04 +02:00
Massimo Del Fedele
23acdb7143
gdi32: Correctly handle space char on Path_ExtTextOut().
2009-03-31 16:43:04 +02:00
Massimo Del Fedele
97e81bc3bd
gdi32/tests: Add test for GetGlyphOutlineW() requesting buffer size for space char.
2009-03-31 16:43:04 +02:00
Michael Stefaniuc
4114cea302
gdi32: Use "%p" to TRACE() pointers.
2009-03-25 11:09:19 +01:00
Paul Vriens
3668edcdf4
gdi32/tests: Fix some test failures on Win9x.
2009-03-13 14:52:52 +01:00
Paul Vriens
dde935f0bf
gdi32/tests: Fix two test failures on Win9x.
2009-03-12 15:39:51 +01:00
Huw Davies
908ff58339
gdi32/tests: Under win9x GetBitmapBits returns zero when passed a NULL buffer.
2009-03-11 13:03:33 +01:00
Huw Davies
f1e1ae7483
gdi32/tests: Mark as broken another case where win9x doesn't set biSizeImage.
2009-03-11 13:03:33 +01:00
Huw Davies
d77ed15f05
gdi32/tests: win9x doesn't initialise the bitmap bits. Mark this behaviour as broken.
2009-03-11 13:03:33 +01:00
Huw Davies
e41e1f8f84
gdi32/tests: Remove a cut and paste error.
2009-03-11 13:03:33 +01:00
Huw Davies
3d461dbe85
gdi32/tests: Win9x's GetDIBits() sets biSizeImage to zero for BI_RGB dibs.
2009-03-10 12:09:12 +01:00
Huw Davies
f7608053e7
gdi32/tests: Marked another win9x failure as broken.
2009-03-10 12:09:08 +01:00
Huw Davies
bbafe93858
gdi32/tests: Fix yet another place where win9x returns bmType equal to 0x5250.
2009-03-10 12:09:04 +01:00
Huw Davies
5ccf92f512
gdi32/tests: Fix another case where win9x returns bmType equal to 0x5250.
2009-03-09 13:55:48 +01:00
Huw Davies
a88e6e0182
gdi32/tests: win9x doesn't return the correct number of colours used with dib sections created via DIB_PAL_COLORS.
2009-03-09 13:55:45 +01:00
Huw Davies
240651e0c1
gdi32/tests: Mark win9x behaviour as broken.
2009-03-09 13:55:42 +01:00
Alexandre Julliard
86f54f4c89
gdi32: Make dispdib.dll into a stand-alone 16-bit module.
2009-03-04 14:27:05 +01:00
Huw Davies
17a866df29
gdi32/tests: Fix tests on NT4.
2009-03-04 13:06:23 +01:00
Huw Davies
246a9a6f7a
gdi32/tests: Win9x doesn't initialize the bitmap bits, so skip this test.
2009-03-04 13:06:20 +01:00
Huw Davies
1ad19cc9ce
gdi32/tests: Improve some test failure messages.
2009-03-03 13:26:20 +01:00
Eric Pouech
21c3e79e52
winex11: Correctly pad 1 bpp DDB's lines with 0 values.
2009-03-02 15:02:43 +01:00
Dmitry Timoshkov
d15619b215
gdi32: Fix the font rotation direction.
...
Apparently at some point either freetype got fixed, or other gdi32
changes made the matrix members usage match freetype. This patch makes
my test application match the Windows behaviour in font rotation direction.
2009-03-02 12:11:35 +01:00
Huw Davies
973ac6dbd2
gdi32/tests: Winnt doesn't set last error when a NULL dc is passed to GetDIBits.
2009-02-27 16:22:38 +01:00