Commit Graph

84 Commits

Author SHA1 Message Date
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Michael Kaufmann f6097f5b51 gdi: Fix GetObject for bitmaps.
- GetObject(): Set the bmBits member of the BITMAP structure to NULL
  for device-dependent bitmaps.
- New test case.
2006-05-17 11:45:36 +02:00
Francois Gouget f7c24f37ad Various trace fixes.
Add trailing '\n's to trace calls.
Remove spaces before '\n'.
2006-05-15 15:05:09 +02:00
Hans Leidekker c4f4b01b05 gdi32: GetCharABCWidthsW should not crash on a NULL handle. 2006-04-10 15:56:43 +02:00
Gerald Pfeifer ac6d4f7e94 gdi: Also initialize a variable in the failure case. 2006-04-07 20:00:59 +02:00
Dmitry Timoshkov 140eabf3f4 gdi32: Add tests for GetBitmapBits and GetObject for a DIB section.
Make them pass under Wine.
2006-04-05 20:15:35 +02:00
Dmitry Timoshkov 48bb687dfb gdi: Separate GDI tests by moving them into appropriate files.
Separate GDI tests by moving them into appropriate files:
bitmap tests to bitmap.c, font test to font.c, pen tests to pen.c.
2006-04-03 21:35:03 +02:00
Huw Davies edc34a3cbc gdi32: Add tests for 'Small Fonts'. 2006-04-03 11:40:10 +02:00
Alexandre Julliard eb7ef83357 gdi: In metafile test only print debug output if enabled. 2006-03-31 21:03:41 +02:00
Dmitry Timoshkov d53ad9c3f7 gdi32: Add a test for WMF->EMF conversions performed by SetWinMetaFileBits.
These tests currently fail in Wine.
2006-03-30 17:27:16 +02:00
Huw Davies 130a0e4f41 fonts: Use the EBLC table to retrieve the ascent of the bitmap font. 2006-03-21 20:01:55 +01:00
Dmitry Timoshkov e6f16250b2 gdi: Fix a couple of todos in the bitmap test. 2006-03-21 11:05:27 +01:00
Alexandre Julliard ddc60c85f6 x11drv: Clear new bitmaps if they don't contain any data. 2006-03-20 16:00:34 +01:00
Dmitry Timoshkov 5c1b27a029 gdi: Add a simple test for bitmap bits/metrics
Add a simple test for bitmap bits/metrics, fix GetBitmapBits for an
empty (not selected into a DC) bitmap.
2006-03-20 12:27:38 +01:00
Dmitry Timoshkov 89edaa7bbe gdi: Add a test for bitmap font metrics to ensure that they match the Windows ones. 2006-03-18 18:07:07 +01:00
Huw Davies b55746ab62 gdi: Better support for 1bpp dib sections. 2006-03-03 13:19:53 +01:00
Michael Kaufmann 5c6301a5c9 gdi: Fixes for the isotropic mapping mode.
- Isotropic mapping mode: Adjust the viewport extension in
  SetWindowExtEx, handle negative extents.
- Support the isotropic mapping mode in the enhanced metafile driver.
- New tests.
2006-01-31 12:56:57 +01:00
Dmitry Timoshkov eb893bdea3 gdi: Add support for creating extended pens. 2006-01-30 18:17:07 +01:00
Dmitry Timoshkov 9aa555623a gdi: Add test case for creating pens, make it pass under Wine for
cosmetic pens.
2006-01-27 19:22:38 +01:00
Dmitry Timoshkov 6f7b62b729 gdi: Add a test which shows that GDI does not support compressed DIB sections. 2006-01-03 12:09:22 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Dmitry Timoshkov 635ace83f9 Add a test showing that SaveDC after GetDC should return 1. 2005-11-22 12:00:11 +00:00
Peter Beutner c9e02e117f When creating DIBs with a color depth <= 8, always set biClrUsed field
to the number of entries in the color table.
2005-11-14 15:10:23 +00:00
Dmitry Timoshkov e41ddd052a First draft of ExtTextOut on an open path. 2005-11-07 16:40:20 +00:00
Huw Davies 0d23ac479b Fix handling of relative state indices in RestoreDC.
Fix return value of SaveDC when writing to an emf.
Before writing the EMR_EOF record we should ensure that we clear the
state stack.
2005-10-31 10:05:52 +00:00
Huw Davies d7d8998d1e xform can be NULL when setting the identity. 2005-10-28 16:41:25 +00:00
Dmitry Timoshkov 62d3ab9bd0 Add a test for GetCurrentObject, make it pass under Wine. 2005-10-26 10:10:23 +00:00
Saulius Krasuckas a4dfeca2ca Link to {G|S}etRelAbs() during runtime as Win9x OSes miss them. 2005-10-26 10:05:07 +00:00
Dmitry Timoshkov 5f2bf16de4 Add a test for SetMetaFileBitsEx, make it pass under Wine. 2005-10-19 18:28:14 +00:00
Dmitry Timoshkov 2e8bf70f9a Add a test for CopyMetaFile, make it pass under Wine. 2005-10-18 10:35:14 +00:00
Huw Davies fd99c33e5c Initialize a bunch of dc values to their default before enumerating an
enhmetafile.
Add tests for these and for some values that don't get reset.
2005-10-12 21:06:20 +00:00
Huw Davies 22ab2046fb If the meta/clip intersection (Rao) region doesn't exist, return
either the meta or clip region if they do exist.
Remove the wine_todo's.
2005-10-11 19:55:01 +00:00
Huw Davies 3bfeaa9a09 GetRandomRgn only returns the SYSRGN in screen coordinates.
Add a bunch of tests for GetRandomRgn.
2005-10-10 19:53:22 +00:00
Alexandre Julliard f4bf9dee3c LOGBRUSH.lbHatch must be a ULONG_PTR since it can contain a handle. 2005-09-12 11:19:56 +00:00
Alexandre Julliard e4b2a0bbbc Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
appropriate.
2005-09-09 15:20:04 +00:00
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Glenn Wurster 005729588d Start to add some tests for basic palette operations. 2005-08-22 09:18:02 +00:00
Mike McCormack 98beaff2c5 Warning fixes for gcc 4.0. 2005-08-08 15:03:42 +00:00
Dmitry Timoshkov 02ad6e7233 Add a test showing that Windows doesn't tie GDI objects to a
particular thread.
2005-08-08 11:07:25 +00:00
Huw Davies af2e7eb2cb Test to show that the height returned by GetTextExtentPoint is the
same as tmHeight.
2005-07-18 18:08:30 +00:00
Robert Shearman 0ceb6b6f6b Implement and test GdiGetCharDimensions. 2005-07-18 18:05:04 +00:00
Felix Nawothnig 9e96be87ac Fix the EnumEnhMetaFile tests. 2005-07-15 09:55:33 +00:00
Mike McCormack b8fc783be2 Avoid warnings in generated tests by casting sizeof(x) to an int. 2005-07-03 11:23:30 +00:00
Felix Nawothnig 85e942f951 Report a todo and skip DIB tests when they fail at a non-truecolor
screen depth.
2005-06-27 11:09:52 +00:00
Felix Nawothnig 8af1ce0ba1 - Use smaller numbers as coordinates for mapping tests to avoid
rounding-errors.
- Simplify calculation of mapped coordinates for MM_TEXT.
2005-06-22 18:03:19 +00:00
Stefan Huehner 863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Lauri Tulmin 33a82558ea - add some tests for {Get|Set}Pixel
- skip tests that fail in win9x
2005-06-20 13:13:53 +00:00
Richard Cohen 0089d517cf Fix gdiobj test on NT4, remove asserts. 2005-05-20 18:58:19 +00:00
Mike McCormack 77103f8245 Simple unit tests for GdiIs*DC functions. 2005-04-15 14:11:00 +00:00