Commit Graph

367 Commits

Author SHA1 Message Date
Hans Leidekker 63e241ab95 Stub implementations for GetLogColorSpace{A,W}. 2005-01-03 14:33:07 +00:00
Rein Klazes 3714a39867 Correct cases where arguments of ok() calls depend on the order in
which they are evaluated.
2004-12-27 17:26:37 +00:00
Hans Leidekker feef8957b9 Stub implementations for GetICMProfileW, SetICMProfile{A,W},
UpdateICMRegKey{A,W}.
Forward UpdateICMRegKey to UpdateICMRegKeyA.
2004-12-27 17:23:17 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Eric Pouech bcfa5b0900 ReadFile and WriteFile must be passed a parameter for the number of
handled bytes when no overlapped operation is done.
2004-12-22 18:38:31 +00:00
Mike McCormack eedf3b4d7a Check values passed in to SetWinMetaFileBits, not our local copy. 2004-12-21 14:50:07 +00:00
Mike McCormack 895d1b7160 Output EMR_POLYGON16 records when possible. 2004-12-21 14:49:19 +00:00
Dmitry Timoshkov 2b98f3255f Fully initialize NEWTEXTMETRICEXW structure for bitmap fonts. 2004-12-21 14:45:38 +00:00
Francois Gouget 6fb1a20020 Assorted spelling fixes. 2004-12-20 19:27:06 +00:00
Jon Griffiths f82272c92f Remove unneeded headers to reduce unneeded rebuilds. 2004-12-16 14:35:55 +00:00
Michael Stefaniuc 1493433e38 Missing HeapFree's + 1 LocalFree (found by smatch). 2004-12-14 11:38:50 +00:00
Huw Davies dc27c04ebf Fix always false test. Spotted by Eric Pouech. 2004-12-13 13:14:36 +00:00
Alexandre Julliard 94ee1ebd6c Remove a few no longer needed 16-bit exports from gdi32. 2004-12-09 11:51:21 +00:00
Walt Ogburn eca0a25634 Added some tests for win-format metafiles. 2004-12-09 11:37:59 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Kevin Koltzau 9a013cc1cb CreateBrushIndirect should not return a stock brush. 2004-11-24 18:09:20 +00:00
Dmitry Timoshkov 9d8474138e Avoid some direct accesses to DC internals from metafile driver. 2004-11-24 18:08:18 +00:00
Tom Wickline 5c38e1b561 Version resources cleanup. 2004-11-23 13:59:34 +00:00
Jon Griffiths 7c1ad31f47 Set the miter limit in the DC state.
Only SetLastError() in object functions where native does.
Test the error comditions of the gdiobj functions.
Minor documentation updates.
2004-11-23 12:19:24 +00:00
Jon Griffiths dd89491edb Support mono pattern brushes in EMF's. 2004-11-22 18:22:20 +00:00
Jon Griffiths 68b7802cd5 Avoid magic number. 2004-11-22 18:19:59 +00:00
Jon Griffiths 853cb86fa7 Implement CreateBitmap using CreateBitmapIndirect so we can handle
funky alignment paddings.
SetLastError() on failure, documentation cleanup.
2004-11-22 18:18:21 +00:00
Jon Griffiths da086d88c9 Search the whole table when creating solid brushes. 2004-11-21 15:35:15 +00:00
Michael Kaufmann 0dd2910eba - Extended support for BITMAPCOREINFO / BITMAPCOREHEADER structures.
- Always calculate the location of the color table.
- CreateCompatibleBitmap: Create a DIB section if necessary.
- Added some tests.
2004-11-02 05:23:49 +00:00
Alexandre Julliard 715ea985b9 Authors: Doug Paul <doug@elemental.ath.cx>, Glenn Wurster <gwurster@scs.carleton.ca>
Don't unrealize the palette by calling SetPaletteEntries.
Check peFlags for PC_RESERVED.
2004-10-18 21:18:58 +00:00
Rein Klazes 96d6966baa Test whether the ft_encoding's are defined, not the FT_ENCODING's. 2004-10-18 19:38:30 +00:00
Robert Shearman b4eee49aa5 The "colors" parameter of SetDIBColorTable should be CONST. 2004-10-18 19:35:50 +00:00
Hans Leidekker bed3842c9a Added check for fork() to fix the MinGW build. 2004-10-14 03:08:57 +00:00
Huw Davies ee83c727d7 Apparently this portion of the test was failing under some versions of
winxp, so remove it.
2004-10-11 19:54:54 +00:00
Jon Griffiths d73e081c83 Use a (seemingly xp default) width of 7 for system fonts. 2004-09-24 01:10:44 +00:00
Michael Kaufmann 970b2218d6 Fix a regression caused by an earlier patch for CreateDIBitmap. 2004-09-20 21:45:00 +00:00
Huw Davies daf776fdde When we blit with a monochrome dibsection as the source we should use
the colour table of that dib.
Added a test for this.
2004-09-16 20:29:25 +00:00
Huw Davies 530e789d7e It's important to keep the original dib colour table and not just the
colour mapping associated with a dib section - it's this table that
GetDIBColorTable should retrieve.
Added some GetDIBColorTable tests.
2004-09-16 19:10:14 +00:00
Vincent Béron 63cf3e2c4e Use the preferred FT_ENCODING values rather than ft_encoding. 2004-09-15 18:03:32 +00:00
Jon Griffiths 3772c73a6c CreateDCA -> CreateDCW 2004-09-13 23:22:30 +00:00
Alexandre Julliard cdcdbe5495 Authors: Michael Kaufmann <hallo@michael-kaufmann.ch>, Huw Davies <huw@codeweavers.com>
CreateDIBitmap should return bitmaps at the depth of the supplied dc.
Add a test to exercise this behaviour.
2004-09-13 19:37:03 +00:00
Dmitry Timoshkov 7f79dae109 When DC mapping changes reselect current pen to update physical
width.
2004-09-13 18:03:44 +00:00
Hans Leidekker fe442b21f7 Fix signed/unsigned comparison warnings. 2004-09-08 01:23:57 +00:00
Francois Gouget 5d54c7ba7c Test some more gdi types. 2004-09-07 20:27:34 +00:00
Francois Gouget 5512ae2685 Disable MSVC warning 4116 to avoid the 'unnamed type definition in
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Robert Shearman a355c84d28 Default clipping region should be resolution of the DC, not the
current visible region.
2004-09-02 20:08:30 +00:00
Dmitry Timoshkov 3aab64dee5 Added a test showing how GDI scales bitmap font metrics. 2004-09-02 20:06:55 +00:00
Mike McCormack 642180d3c9 Add a basic GDI LOGFONT test, fix a couple of failures. 2004-09-01 17:29:28 +00:00
Alexandre Julliard 03250ff6e7 Inline functions don't need WINE_UNUSED. 2004-09-01 04:55:52 +00:00
Alexandre Julliard 3c39a9912e Get rid of the non-standard CONV_POINT and CONV_RECT functions. 2004-08-31 00:02:02 +00:00
Huw Davies 329025915c FreeType doesn't supply a charmap for bitmap fonts, so we must do our
own mapping.  Thanks to Dmitry for testing.
2004-08-26 18:24:03 +00:00
Huw Davies 97ebf8f5a3 Make the DEFAULT_GUI_FONT scalable with screen resolution and let it
be 8pt MS Shell Dlg for simple scripts.
2004-08-25 17:31:17 +00:00
Francois Gouget 20b8b56d5f Enable the disabled tests in tests.data or add a comment describing
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Francois Gouget 493cf88bb6 Remove these Wine-only types:
EnumICMProfilesProcCallback
  PEXCEPTION_REGISTRATION_RECORD
Don't test these Wine-only types:
  EMRSETTEXTJUSTIFICATION
  EXCEPTION_REGISTRATION_RECORD
Remove EXCEPTION_FRAME, it doesn't exist at all.
2004-08-22 02:07:13 +00:00
Jon Griffiths 39fc441935 Return a stock brush when asking for a brush with the same
characteristics, as per native. Document the brush functions.
2004-08-20 19:57:11 +00:00