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
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
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
Alexander Kochetkov
005915f405
gdi32: Fix scaling factors for EMR_EXTTEXTOUTW.
2011-02-22 13:24:53 +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
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
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
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
Paul Vriens
6b73bee057
gdi32/tests: Fix crash and failures on Win95.
2010-11-01 11:35:58 +01:00
Hans Leidekker
b32ed71ff5
gdi32: Fix invalid parameter handling in EnumICMProfiles and SetICMProfile.
2010-10-26 15:24:24 +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
730f01801f
tests: Make some variables static.
2010-10-01 13:41:42 +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
Gerald Pfeifer
db9c3b0f53
gdi32/tests: Fix another test description in test_logpen.
2010-09-08 13:24:49 +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
abafd9f1c7
gdi32/tests: Fix the GetObject last error check for most Windows versions.
2010-08-23 11:11:16 +02:00
Jerome Leclanche
da40f95efa
gdi32: Properly set ERROR_NOACCESS when GetObject receives invalid arguments.
2010-08-20 13:21:06 +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
7d776a866e
gdi32: Mirror the clip region when the DC is mirrored, with tests.
2010-07-29 13:36:43 +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
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
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
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
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
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
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
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
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
Roderick Colenbrander
c29cf05919
winex11: Add support for 32-bit DDBs.
2010-04-13 13:06:32 +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
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Paul Vriens
b5738dcceb
gdi32/tests: Fix a test failure on Win9x/WinMe.
2010-03-05 12:46:01 +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
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
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
André Hentschel
fb56000c13
gdi32/tests: Also test non-style suffix.
2009-12-14 12:04:04 +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
André Hentschel
762280eab0
gdi32/tests: Simplify testcase.
2009-11-18 11:14:24 +01:00
André Hentschel
e4beddb664
gdi32: Don't strip font suffix.
2009-11-17 15:14:56 +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
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
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
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
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
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
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
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
e920f5f7d7
gdi32: Add tests for SetVirtualResolution.
2009-06-23 16:21:46 +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
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
Paul Vriens
9f4283dcc6
gdi32/tests: Fix a test failure on Win9x/WinME.
2009-05-22 15:16:29 +02:00
Nikolay Sivov
0f9bc1d3b7
gdi32: Check header pointer in CreateDIBitmap.
2009-05-04 14:57:32 +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
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
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
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
97e81bc3bd
gdi32/tests: Add test for GetGlyphOutlineW() requesting buffer size for space char.
2009-03-31 16:43:04 +02: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
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
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
Huw Davies
103f3db95f
gdi32/tests: Don't expect the screen dc's bitmap to be mono 1x1.
2009-02-27 16:22:27 +01:00
Huw Davies
e270f5a89d
gdi32/tests: Add a broken() to an always true test.
2009-02-27 16:22:08 +01:00
Francois Gouget
9de60b9c2c
gdi32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-24 16:57:26 +01:00
Huw Davies
5b183a208f
gdi32/tests: Don't test the height that is 1.75 times the original font height. This is unscaled in winnt yet doubled in win9x.
2009-02-23 15:24:56 +01:00
Huw Davies
ff2f88cf08
gdi32: Fix fractional scaling threshold.
2009-02-20 18:46:04 +01:00
Paul Vriens
ac6077023f
gdi32/tests: Report a missing function only once.
2009-02-20 18:07:42 +01:00
Huw Davies
5c8c151aa8
gdi32/tests: Add tests for the 120 dpi bitmap fonts.
2009-02-19 15:57:47 +01:00
Huw Davies
4f25723853
gdi32: Set the font family as FF_MODERN if the panose marks it as monospaced.
2009-02-19 15:57:47 +01:00
Huw Davies
e6a0fa9f44
gdi32/tests: Output the requested font name on failure.
2009-02-19 15:57:47 +01:00
Huw Davies
ee339afa3f
gdi32/tests: Output the required font height if the test fails.
2009-02-19 15:57:47 +01:00
Huw Davies
f4e3e18b42
gdi32/tests: From Vista onwards TabbedTextOut ignores justification, so remove that bit of the test.
2009-02-18 14:48:05 +01:00
Huw Davies
2c6ddb8030
gdi32: The special handling of the character codes metrics for symbol fonts should be based on the presence of the MS symbol charmap rather than whether the font is enumerated as SYMBOL_CHARSET.
2009-02-18 13:13:29 +01:00
Huw Davies
c40b434172
gdi32/tests: Win9x truncates the LONG elements of LOGFONT to 16 bit values.
2009-02-18 13:13:26 +01:00
Huw Davies
bd69c2e95a
gdi32/tests: Allow the first char code to point to glyph 0 (the .notdef glyph).
2009-02-17 15:14:57 +01:00
Huw Davies
24c9a37aaf
gdi32: In a Baltic locale the last char of a symbol font is reported as 0xf8fd rather than 0xf0ff.
2009-02-17 15:14:53 +01:00
Huw Davies
aecf29ae84
gdi32/tests: Win9x doesn't ensure the facename is nul terminated. Compare the logfont one element at a time.
2009-02-17 15:14:35 +01:00
Huw Davies
7cc7ad5ec4
gdi32/tests: Win98 and WinMe actually do set error codes.
2009-02-17 15:14:29 +01:00
Huw Davies
c404d00b3d
gdi32/tests: GetTextFaceA called with a NULL buffer returns 0 on win98 and winMe.
2009-02-17 15:14:25 +01:00
Huw Davies
3fa05ae6a7
gdi32/tests: Only test the lowest byte of GdiRealizationInfo flags so that the test passes on Vista.
2009-02-16 16:01:38 +01:00
Huw Davies
e93d348109
gdi32: Improve calculation of the character code text metrics.
2009-02-16 16:01:37 +01:00
Huw Davies
d9811e6927
gdi32/tests: Use the ANSI text metrics so the tests work on win9x.
2009-02-12 17:53:34 +01:00
Huw Davies
8ab829a68a
gdi32: Correct the font family values returned in the text metrics.
2009-02-11 16:14:46 +01:00
Dmitry Timoshkov
24937a4f0f
gdi32: Add a test for the MAT2 parameter of GetGlyphOutline, make it pass under Wine.
2009-02-03 12:40:27 +01:00
Michael Stefaniuc
667a1ed5be
gdi32: Remove superfluous pointer casts.
2009-01-26 14:31:13 +01:00
Alexandre Julliard
cbe6e71775
gdi32/tests: Fix the mapping test to handle the more precise LOMETRIC settings on Vista.
2009-01-25 17:08:55 +01:00
Alexandre Julliard
d2b217e90a
gdi32/tests: Add a test case for calling WriteFile with the DIB section bits as buffer.
2009-01-15 12:06:15 +01:00
Alexandre Julliard
ac543e5bc7
gdi32/tests: Fix an uninitialized value check and a structure size for Win64.
2009-01-10 21:05:52 +01:00
Alexandre Julliard
328ca0e00c
gdi32/tests: Fix an uninitialized pointer check for Win64.
2009-01-09 18:08:50 +01:00
Francois Gouget
581e390115
winapi_test: The tests don't support WIN64 yet so disable them there.
2009-01-08 12:47:22 +01:00
Francois Gouget
411f5d22c0
winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong.
2009-01-08 12:46:39 +01:00
Francois Gouget
9f62c9b7a8
winapi_test: Fix TEST_FIELD() so it correctly tests the field size.
2009-01-08 12:44:49 +01:00
Francois Gouget
43c18c1321
winapi_test: FIELD_ALIGNMENT() is redundant so remove it.
2009-01-08 12:43:15 +01:00
Francois Gouget
2e668d2572
winapi_test: Updated so the generated tests work.
2009-01-08 12:42:12 +01:00
Alexandre Julliard
428de06982
gdi32/tests: Fix a pointer casting warning on 64-bit.
2009-01-03 20:13:29 +01:00
Paul Vriens
098f2f231d
gdi32/tests: Fix a few failures on Win9x.
2008-12-15 12:36:08 +01:00
Francois Gouget
f5657080c7
gdi32/tests: Make test_GdiAlphaBlend() static.
2008-12-12 11:42:07 +01:00
Paul Vriens
ed4444dae5
gdi32/tests: Fix some test failures on Win9x.
2008-12-12 11:38:31 +01:00
Paul Vriens
52a914db83
gdi32/tests: Remove the todo_wine logic where appropriate.
2008-12-11 11:50:15 +01:00
Paul Vriens
024a6bce5f
gdi32/tests: Fix a failure on NT4.
2008-12-10 10:49:50 +01:00
Paul Vriens
fee339f7ff
gdi32/tests: Fix a few test failures on Win9x and WinMe.
2008-12-05 12:36:53 +01:00
Paul Vriens
9960ab2418
gdi32/tests: Fix a few test failures on Win9x and WinMe.
2008-12-04 15:46:15 +01:00
Michael Stefaniuc
ec1c9492b0
gdi32: Remove some superfluous casts.
2008-11-25 11:56:02 +01:00
Paul Vriens
decb70d95c
gdi32/tests: Fix a few failures on Win9x and WinMe.
2008-11-13 15:30:52 +01:00
Paul Vriens
3f4333d70c
gdi32/tests: Don't crash on NT4.
2008-11-06 15:01:12 +01:00
Dmitry Timoshkov
25a1803720
gdi32: Fix a broken test.
2008-11-06 11:10:10 +01:00
Sergey Khodych
11d17fafc4
winex11: BitBlt returns TRUE when drawing outside of the clipping or visible region.
2008-11-06 11:09:16 +01:00
Michael Stefaniuc
8ff77fce45
gdi32/tests: HGDIOBJ is interchangeable with other handle types; no casts are needed.
2008-10-27 11:30:01 +01:00
Detlef Riekenberg
57a5a60ca3
gdi32/tests: Fix tests to not depend on 96 dpi.
2008-10-14 13:41:55 +02:00
Jeremy White
484add2220
gdi32/tests: Make the comparison of the enumerated and returned logfont structures actually work.
2008-10-13 12:14:23 +02:00
Jeremy White
fed3d50663
gdi32: Expand maximum font count to 4096, warn when we go over that limit.
2008-10-13 12:14:00 +02:00
Paul Vriens
880f785747
gdi32/tests: Skip some tests on Win9x/WinMe.
2008-10-08 12:20:38 +02:00
Dmitry Timoshkov
0d1470575d
gdi32: Allow a rounding error in the text justification test.
2008-10-06 15:30:40 +02:00
Dmitry Timoshkov
c8d5730610
gdi32: Add a test for a font being selected into 2 DCs with different transformations.
2008-10-06 15:30:36 +02:00
Dmitry Timoshkov
0467d4e4c6
gdi32: Make test_font_metrics require the font being selected into the DC.
2008-10-06 15:30:31 +02:00
Paul Vriens
4bf5c5f8a2
gdi32/tests: Fix a few failures on win9x.
2008-10-06 13:09:05 +02:00
Dmitry Timoshkov
40e1e39785
gdi32: Make the PS_NULL test pass under Wine.
2008-10-01 09:56:41 -05:00
Dmitry Timoshkov
830f1563c6
gdi32: Add a test for PS_NULL pen being equal to NULL_PEN stock object.
2008-09-29 17:25:36 -05:00
James Hawkins
e1d56fa4bd
comctl32: Fix a failing test in win9x.
2008-09-29 17:24:07 -05:00
Alexandre Julliard
ff6f7a57b9
gdi32/tests: Skip test that depends on Tahoma if it isn't installed.
2008-09-19 12:07:32 +02:00
Paul Vriens
84266fc6f6
gdi32/tests: Skip some failing tests on NT4.
2008-09-11 11:44:00 +02:00
Paul Vriens
c50d922ef6
gdi32/tests: Prevent a crash on win95.
2008-09-11 11:43:52 +02:00
James Hawkins
5468f40ab8
gdi32: Fix a failing test in win9x.
2008-09-03 14:21:42 +02:00
James Hawkins
4c7cb8a339
gdi32: Fix a failing test in win98.
2008-08-29 13:22:14 +02:00
Dmitry Timoshkov
21cdaeea4b
gdi32: Replace DC transform by font scaling for bitmap fonts.
2008-08-21 11:42:25 +02:00
Michael Karcher
3843d5beee
winex11: Fix GetDIBits with monochrome pixmaps.
2008-08-18 17:15:56 +02:00
Alexandre Julliard
73423c1a40
gdi32/tests: Fix some test failures on Win9x.
2008-08-05 14:09:37 +02:00
Paul Vriens
d1bcc32bf2
gdi32/tests: Don't test unimplemented functions.
2008-08-01 10:36:52 +02:00
Alexandre Julliard
680233f235
gdi32/tests: Allow some more rounding errors in glyph sizes.
2008-07-31 17:16:50 +02:00
Lei Zhang
9b4f17f630
gdi32: Glyph advances should be measured for unrotated characters.
2008-07-23 11:56:09 +02:00
Lei Zhang
78a1e07c93
gdi32: Add a test for font orientation.
2008-07-23 11:56:00 +02:00
Dmitry Timoshkov
7976d993f5
gdi32: Relax the gm.gmCellIncX comparison.
2008-07-21 13:00:42 +02:00
Michael Karcher
49eb123739
Add support for compatibility mode in WineEngCreateFontInstance.
2008-07-08 10:44:54 +02:00
James Hawkins
36e703b409
gdi32: Fix two tests that fail for all platforms.
2008-07-02 12:20:27 +02:00
Michael Karcher
8da833494d
winex11: Fix GetDIBits of 1 bit DDBs.
...
1 bpp DDBs seem to always carry an implicit palette of black and white,
regardless of what the DC says. Based on a patch from Eric Pouech.
2008-07-01 14:59:14 +02:00
Michael Karcher
fd8746b43c
gdi32: Fix palette of 1bpp DIB in GetDIBits.
...
Windows always generates a black/white palette for 1 bit DIBs
generated from DDBs. Copying from the current palette only takes place
for color DDBs (not explicitly mentioned in MSDN), and only if depth
equal (MSDN states it, explicitly).
2008-07-01 14:58:54 +02:00
Alistair Leslie-Hughes
641d6aa5c2
gdi32: Stop crash in font tests.
2008-07-01 13:45:37 +02:00
James Hawkins
6796c880fa
gdi32: Fix a failing test in win95.
2008-06-30 15:07:20 +02:00
Dan Hipschman
92c8cac214
gdi32: Return the correct value from GetTextFace.
2008-06-25 11:41:00 +02:00
Dmitry Timoshkov
6f7457d8ad
gdi32: Add a test for outline text metrics.
2008-06-24 12:23:03 +02:00
Dmitry Timoshkov
9675720510
gdi32: Initialize otmMacAscent, otmMacDescent, otmMacLineGap in outline text metrics.
2008-06-24 12:21:06 +02:00
Dmitry Timoshkov
41aad2dce2
gdi32: Extend the font substitution test, make it pass under Wine.
2008-06-23 12:53:22 +02:00
Dan Hipschman
c1480126b1
gdi32: Add tests for GetTextFace.
...
Currently only GetTextFaceA is tested, and in an ancillary way, and the
behavior differs from GetTextFaceW.
2008-06-21 11:37:20 +02:00
Dmitry Timoshkov
e976877fa5
gdi32: Add a test for combined mapping mode/world transform changes.
2008-06-18 17:34:27 +02:00
Michael Karcher
5333923253
gdi32: Respect DIB_PAL_COLORS in every case.
2008-06-09 12:40:48 +02:00
Francois Gouget
8f91acc894
gdi32/tests: Take into account several Win9x bugs in GetObject().
2008-06-05 15:53:32 +02:00
Alexandre Julliard
8f7f203649
gdi32/tests: Reduce the size of the test output a little.
2008-06-04 12:52:18 +02:00
Austin English
bde1187488
gdi32: Fix a test failure in 2k.
2008-05-29 12:08:41 +02:00
Dmitry Timoshkov
02a15500fb
gdi32: Make generated EMFs fully match Windows ones.
2008-05-27 12:05:37 +02:00
Dmitry Timoshkov
0c59e312c1
gdi32: Ignore exScale/eyScale when comparing EMREXTTEXTOUT EMF records.
2008-05-27 12:04:43 +02:00
Dmitry Timoshkov
8021a9d903
gdi32: Slightly relax EMF record comparisons allowing rounding errors.
2008-05-21 17:16:04 +02:00
James Hawkins
617d8fee03
gdi32: Fix two tests that fail in win2k3.
2008-05-19 13:36:05 +02:00
Dmitry Timoshkov
a5d288f08c
gdi32: Add more font substitution tests, make them pass under Wine.
2008-05-13 20:25:50 +02:00
Nikolay Sivov
1441311d36
gdi32: Avoid null pointer dereference in CreateDIBSection.
2008-05-12 13:59:13 +02:00
Dmitry Timoshkov
51c28a1493
gdi32: More carefully compare EMF records in tests.
2008-05-07 17:51:43 +02:00
Francois Gouget
125dac3af8
gdi32/tests: Add a trailing '\n' to a couple of ok() calls.
2008-05-06 16:10:01 +02:00
Maarten Lankhorst
f74075b776
gdi32: Make mapping test slightly less strict so it passes on windows XP.
2008-05-06 11:25:26 +02:00
James Hawkins
c17bb019f4
gdi32: Remove a dependency on the amount of available memory.
2008-05-01 11:14:46 +02:00
Dmitry Timoshkov
80c1508bf1
gdi32: Make the bitmap test pass under Windows 2000.
2008-04-29 12:46:41 +02:00
Dmitry Timoshkov
c871d9a81d
gdi32: Save/restore internal EMF playing state on EMR_SAVEDC/EMR_RESTOREDC, add a test for this.
2008-04-28 13:27:52 +02:00
James Hawkins
b48118b472
gdi32: Remove a dependence on the amount of available memory.
2008-04-25 11:33:51 +02:00
Paul Vriens
55902e0ce0
gdi32/tests: Run tests on win9x again.
2008-04-23 12:23:15 +02:00
Dmitry Timoshkov
5201c78b2e
gdi32: Add a test for EMR_EXTSELECTCLIPRGN, make it pass under Wine.
2008-04-21 16:59:03 +02:00