Commit Graph

520 Commits

Author SHA1 Message Date
André Hentschel c36b392a72 gdi32: Initial gamma setting tests. 2011-08-23 16:53:49 +02:00
Austin English 4cdd01fc82 gdi32/tests: Remove win9x hacks. 2011-08-22 17:22:07 +02:00
André Hentschel 8134b93516 gdi32/tests: Consistently print out all infos about non-equal rects. 2011-08-22 16:14:33 +02:00
Alexandre Julliard c668354cc0 gdi32: Always set compression to BI_BITFIELDS for 16-bpp DIB sections. 2011-08-05 13:41:18 +02:00
Alexandre Julliard cf4c565fd2 gdi32: Validate the DIB parameters in functions that take a BITMAPINFO. 2011-08-05 13:39:14 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Huw Davies b94616864d gdi32: If possible use the GetImage driver entry to fill the colour table for GetDIBits. 2011-08-04 18:27:36 +02:00
Huw Davies d88151704e gdi32/tests: Add some GetDIBits tests with zero lines and bits parameters. 2011-08-04 18:27:36 +02:00
Huw Davies 3a2d8b74cf gdi32/tests: Simplify some of the tests. 2011-08-04 18:27:36 +02:00
Huw Davies e81e73149f gdi32: Actually use the dib driver's Get/PutImage if the bitmap is a dib. 2011-08-02 20:47:52 +02:00
Huw Davies 3f62946272 gdi32/tests: Add tests for GetDIBits using non-trivial source and destination areas. 2011-07-28 18:37:39 +02:00
Austin English c30c441ea7 gdi32/tests: Remove win9x hacks. 2011-07-27 12:25:30 +02:00
Huw Davies 046ec2d132 gdi32/tests: Add some SetDIBits tests. 2011-07-25 13:40:56 +02:00
Huw Davies 103719e9e9 gdi32: Implement GetDIBits using the GetImage driver function. 2011-07-18 16:49:04 +02:00
Alexandre Julliard 7bc4c60782 gdi32/tests: Fix some test failures on Windows. 2011-07-15 09:59:13 +02:00
Huw Davies aa34b2fb77 gdi32: Construct the EGA palette from the default palette. 2011-06-28 10:19:02 -05:00
Huw Davies bc653ce204 gdi32: Fix the 8 bpp generated colour table. 2011-06-27 13:29:48 -05:00
Huw Davies e2f1bd4f8f gdi32/tests: Show that Get/SetDIBits ignore the layout mode. 2011-06-24 08:51:20 -05:00
Huw Davies 404b820289 gdi32/tests: Skip the tests if the pen type is not supported. 2011-06-21 11:29:08 +02:00
Huw Davies b5ad5d3510 gdi32: Add more broken behaviour on nt4 sp3. 2011-06-21 11:29:03 +02:00
Huw Davies 92b467cdf8 gdi32/tests: Add broken behaviour for nt4 sp3. 2011-06-20 19:32:03 +02:00
Huw Davies 6e673e1ef0 gdi32/tests: Add some broken behaviours for winxp sp1 and win2003. 2011-06-20 19:32:03 +02:00
Huw Davies d73af0d954 gdi32/tests: Add broken behaviour on nt4 sp1 and 2. 2011-06-17 19:30:35 +02:00
Huw Davies b9c06ad341 gdi32/tests: Add broken behaviour on nt4 sp1-5. 2011-06-17 16:20:40 +02:00
Huw Davies cf5dae18ac gdi32/tests: Call ReleaseDC not DeleteDC. 2011-06-17 16:20:33 +02:00
Huw Davies cd3281a0de gdi32/tests: Add tests for hatched brushes. 2011-06-17 15:37:50 +02:00
Huw Davies b1ec7c9d71 gdi32/tests: Add tests for 1bpp brushes. 2011-06-15 20:04:40 +02:00
Huw Davies f2e9545b86 gdi32/tests: Add tests for 1 bpp dibs. 2011-06-15 20:04:40 +02:00
Huw Davies b0f59c3b11 gdi32: Add support for 1 bpp dibs. 2011-06-15 20:04:40 +02:00
Huw Davies ea361367ed gdi32: Fix an error in the blue channel of the 32 -> 16 bpp conversion and update the tests to catch this. 2011-06-01 15:17:42 +02:00
Huw Davies cc4c252962 gdi32/tests: Add tests for 24 bpp brushes. 2011-06-01 15:17:35 +02:00
Huw Davies ce2c593d64 gdi32/tests: Add tests for 24 bpp dibs. 2011-06-01 15:17:24 +02:00
Huw Davies 4fc0d3c317 gdi32/tests: Add tests for 4 bpp brushes. 2011-05-31 18:32:58 +02:00
Huw Davies 850730dab5 gdi32/tests: Add tests for 4 bpp dibs. 2011-05-31 18:32:57 +02:00
Huw Davies 73a4178ad1 gdi32/tests: Add tests for 8bpp brushes. 2011-05-27 17:53:39 +02:00
Huw Davies 64a34a33b1 gdi32/tests: Add tests for 8 bpp dibs. 2011-05-27 17:53:39 +02:00
Huw Davies 6ff7cb8ff6 gdi32/tests: Add tests for non-standard BI_BITFIELD dibs. 2011-05-27 17:53:39 +02:00
Huw Davies ede526196e gdi32/tests: Add tests for 16 bpp brushes. 2011-05-27 17:53:39 +02:00
Huw Davies 18a96edf69 gdi32: Add support for 16 bpp dibs. 2011-05-27 17:53:38 +02:00
Huw Davies 68d07efabc gdi32/tests: Make the 32 bpp brush tests sensitive to a nibble swap in the 4 bpp case. 2011-05-27 17:53:38 +02:00
Alistair Leslie-Hughes 5a7dba5a70 gdi32: Add support in DeviceCaps CURVECAPS, LINECAPS, POLYGONALCAPS for EnhMetafiles. 2011-05-19 19:37:26 +02:00
Huw Davies b050eba3cd gdi32/tests: Add tests for PaintRgn and simple RTL behaviour. 2011-05-16 16:35:34 +02:00
Huw Davies 075ad8eae5 gdi32/tests: Tests for Rectangle(). 2011-05-13 17:05:28 +02:00
Grazvydas Ignotas adcce5d712 gdi32: Implement font selection by its full name. 2011-05-12 20:00:51 +02:00
Grazvydas Ignotas 86495cea94 gdi32/tests: Test for font selection by full name. 2011-05-12 19:58:09 +02:00
Huw Davies 8a43f3535c gdi32/tests: Add tests for 32 bpp DIB pattern brush fills. 2011-05-12 14:29:58 +02:00
Huw Davies 699f1ab0dc gdi32: Add support for drawing diagonal patterned lines. 2011-05-06 14:23:47 +02:00
Huw Davies 72804fca54 gdi32: Add support for drawing vertical patterned lines. 2011-05-06 14:23:47 +02:00
Huw Davies 6976cee425 gdi32: Add support for drawing horizontal patterned lines. 2011-05-06 14:23:47 +02:00
Akihiro Sagawa 79ab0c3375 gdi32: Pass a proper code point from GetGlyphOutlineA to W version. 2011-05-04 20:42:34 +02:00
Akihiro Sagawa d8db1b301d gdi32/tests: Add more tests for GetGlyphOutlineA. 2011-05-04 20:42:34 +02:00
Huw Davies 3a91df11e1 gdi32/tests: Allow broken behaviour for nt4 sp1 and sp2. 2011-05-03 19:34:25 +02:00
Huw Davies e248615ae7 gdi32: Implement clipping of diagonal lines. 2011-04-27 17:09:20 +02:00
Amine Khaldi 30b8d046ba gdi32/test: SelectObject doesn't work with palettes, use SelectPalette instead. 2011-04-25 16:25:11 +02:00
Huw Davies a9675b3509 gdi32: Add a directional bias for the case when the Bresenham error term is zero. 2011-04-20 16:34:15 +02:00
Huw Davies 402f200c87 gdi32: Clip solid brush fills. 2011-04-18 12:40:30 +02:00
Huw Davies 1372692fe7 gdi32: Add clipping for horizontal and vertical solid lines. 2011-04-15 15:39:45 +02:00
Huw Davies 626ab3a9d9 gdi32: Add support for solid diagonal lines. 2011-04-13 16:00:28 +02:00
Huw Davies 48f083b39d gdi32: Don't set the bitfields when the dib section is BI_RGB. 2011-04-12 17:42:13 +02:00
Huw Davies 1600885690 gdi32/tests: Add PatBlt tests. 2011-04-11 12:24:04 +02:00
Huw Davies b4ae697496 gdi32/tests: Add horizontal and vertical solid line tests. 2011-04-07 17:21:14 +02:00
Huw Davies 0aebe831b4 gdi32/tests: Start of a framework for writing dib driver tests. 2011-04-05 17:26:50 +02:00
Akihiro Sagawa cb77f9a239 gdi32: Create charset enumeration order list for EnumFontFamiliesEx. 2011-04-04 13:44:43 +02:00
Akihiro Sagawa a9c9970d9b gdi32/tests: Add a test for a charset enumeration order. 2011-04-04 13:43:48 +02:00
Alexandre Julliard dfaee0a5d7 gdi32: Fix handling of the DC brush/pen in metafiles. 2011-03-10 20:44:49 +01:00
Alexandre Julliard 3a850fc842 gdi32: Add null driver entry points for the mapping functions. 2011-03-10 12:39:03 +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
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
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