Commit Graph

476 Commits

Author SHA1 Message Date
Marcus Meissner bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +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 f8ee161a1b Fixed some traces to use the right printf format and avoid typecasts. 2005-09-12 10:30:05 +00:00
Alexandre Julliard e4b2a0bbbc Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
appropriate.
2005-09-09 15:20:04 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Huw Davies 95a2cead20 Fix return value of ExtTextOut in the case when count == 0. 2005-09-08 18:55:07 +00:00
Huw Davies 2014da26fc Have ExtTextOut call into the font linking mechanism.
GetCharWidth, GetCharABCWidths and GetTextExtentPoint should return
the widths of a linked font's glyphs.
2005-09-08 12:40:20 +00:00
Huw Davies 90b897f00e Implement FontIsLinked. 2005-09-07 13:26:49 +00:00
Huw Davies 182e028956 get_glyph_index should return the nonexistent glyph for bitmap fonts
when a unicode character cannot be represented as a single byte in the
font's codepage.
2005-09-07 11:27:05 +00:00
Huw Davies 3915b16762 Add infrastructure for font linking. WineEngGetLinkedHFont will be
used by ExtTextOut to provide an HFONT that will contain a valid
glyph.
2005-09-07 09:21:50 +00:00
Marcus Meissner a42e6aefe1 Added DRAWPATTERNRECT Escape() 16<->32 mapper and stub in WINEPS. 2005-09-06 14:12:17 +00:00
Huw Davies e415baadfc Store the selected ppem in the GdiFont. 2005-09-06 14:04:01 +00:00
Huw Davies c682fcc3f4 Build a list of font links read in from the registry. 2005-09-06 09:24:07 +00:00
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Huw Davies 3433676fd7 Move a bunch of common code from the drivers into gdi. 2005-08-23 09:38:58 +00:00
Mike McCormack 79b29158e8 Fix gcc 4.0 warnings. 2005-08-22 10:19:34 +00:00
Glenn Wurster 005729588d Start to add some tests for basic palette operations. 2005-08-22 09:18:02 +00:00
Felix Nawothnig 87e878a699 Fix GetDIBits to retrieve RGB 555 as 16bit BI_RGB and RGB 565 as 16bit
BI_BITFIELDS.
2005-08-19 13:58:34 +00:00
Huw Davies 85cd13506d Simplify ExtTextOut a bit. Should be a nop. 2005-08-19 09:58:57 +00:00
Huw Davies a03adc7411 Cope better with mixed charset fonts. 2005-08-19 09:58:32 +00:00
Huw Davies 399e6911b3 A previous signed-ness fix broke display of non-ansi chars, fix this. 2005-08-15 14:50:36 +00:00
Vikram Kumar 43bc613f77 Added stub for EnableEUDC. 2005-08-15 09:45:40 +00:00
Alexandre Julliard 628939d567 Use the proper WOW functions everywhere instead of the K32WOW variant. 2005-08-10 10:59:19 +00:00
Michael Kaufmann 0f2c2b8426 Fix for BI_BITFIELDS: The color masks are at the same position in all
the bitmap headers that support this flag (BITMAPINFO: The first color
mask is in bmiColors[0], that's the same position as bV4RedMask in
BITMAPV4HEADER).
2005-08-08 18:40:14 +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
Alexandre Julliard 7be607f7c0 Added commented out stubs for a bunch of new functions. 2005-08-01 14:59:26 +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
Juan Lang 31acf7f5a5 Release DC in error condition on StretchDIBits. 2005-07-14 10:15:42 +00:00
Alexandre Julliard d75897061c Make GetKerningPairs an alias for GetKerningPairsA. 2005-07-11 14:26:54 +00:00
Stefan Huehner 2440dcfe88 Fix -Wmissing-declarations warnings. 2005-07-05 12:49:14 +00:00
Mike McCormack 89424ce848 -Wpointer-sign fixes for gcc 4.0. 2005-07-05 11:02:37 +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
Alexandre Julliard dd919162e3 Fixed HKLM/HKCU mixup for the external fonts key. 2005-06-28 19:15:17 +00:00
Alexandre Julliard f22e31b9e6 Moved spooler configuration to HKCU\Software\Wine\Printing\Spooler. 2005-06-28 13:55:02 +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
Alexandre Julliard ab88743c25 Moved a few registry keys from HKLM\Software\Wine to
HKCU\Software\Wine for consistency.
2005-06-20 16:04:32 +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
Michael Kaufmann a5abe264c9 Initialize more structure members, including biSizeImage if bits ==
NULL and biBitCount != 0.
2005-06-17 13:56:25 +00:00
Alexandre Julliard 9ad3a97acb Moved all font config parameters to HKCU\Software\Wine\Fonts.
Replaced the FontDirs key enumeration by a simple Path value.
2005-06-14 12:33:19 +00:00
Alexandre Julliard 8a985c59da Removed the Tweak.Fonts configuration hack. 2005-06-14 11:53:39 +00:00
Alexandre Julliard 2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +00:00
Alexandre Julliard a55450da8c Always load 16-bit gdi.exe at init time. 2005-06-01 11:06:14 +00:00
Dimi Paun b69e7a19d5 Move remaining GDI objects to the large heap. 2005-05-27 19:28:23 +00:00
Dimi Paun 2a109307c3 Turn a GDI object into a system object via an explicit Wine extension
rather then through magical pokes in memory.
2005-05-25 09:55:55 +00:00