Commit Graph

102 Commits

Author SHA1 Message Date
Huw Davies 8b368b9cee gdi32: GetTextExtentPoint and GetTextExtentExPoint behave differently if there's a \n in the string. 2006-09-20 20:04:45 +02:00
Huw Davies 0c06ec1bb3 gdi32: Only run the GetGlyphIndices test if Symbol is installed. 2006-09-20 20:04:29 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Jeff Latimer aed4f47890 gdi: Fix test for GetGlyphIndicesW on non Unicode systems. 2006-09-11 12:15:57 +02:00
Jeff Latimer 9e9095fe7a gdi: Change the metafile.c test to use sprintf instead of snprintf for portability. 2006-09-10 10:15:12 +02:00
Francois Gouget 06f9532dda Assorted spelling fixes. 2006-09-08 11:04:53 +02:00
Jeff Latimer f667c06a0c gdi: Add missing glyph code to GetGlyphIndices and tests. 2006-08-24 14:09:01 +02:00
Michael Stefaniuc 2783e72a65 Fix 2 "static is not at beginning of declaration" warnings. 2006-07-28 12:33:56 +02:00
Michael Stefaniuc 932a2a0d54 Fix swapped 2nd and 3rd argument passed to memset. 2006-07-14 12:38:36 +02:00
Dan Hipschman fe3c9428c3 gdi32: Add conformance test for GetTextExtentExPointW. 2006-07-12 13:21:57 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Andrew Talbot 8059576c8b gdi/tests: Write-strings warnings fix. 2006-06-26 12:37:04 +02:00
Michael Kaufmann d23b83a026 gdi32: SetWinMetaFileBits: Use the whole device surface if the METAFILEPICT parameter is NULL.
Also use the whole device surface if one of the extents is zero or 
negative and the mapping mode is MM_ANISOTROPIC or MM_ISOTROPIC.
New tests.
2006-06-21 12:15:33 +02:00
Alexandre Julliard e19f31b682 gdi/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:02:13 +02:00
Michael Kaufmann 1660c504ca gdi: New tests for GetDIBits.
New tests that check if GetDIBits works with a bitmap that is selected
in a device context (works in Windows, should fail according to the
API documentation)
2006-06-06 11:29:52 +02:00
Andrew Ziem 122b80030f gdi: Constify data. 2006-05-25 11:00:59 +02:00
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