Commit Graph

356 Commits

Author SHA1 Message Date
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