Commit Graph

396 Commits

Author SHA1 Message Date
James Hawkins 26ad93947b janitorial: Remove links to any microsoft site. 2008-03-01 12:04:09 +01:00
Rob Shearman de75fe0a08 gdi32: Move 16-bit printing functions to printdrv16.c. 2008-02-29 20:08:21 +01:00
Andrew Talbot a4e8f4dcdd gdi32: Assign to structs instead of using memcpy. 2008-02-28 10:50:57 +01:00
Huw Davies 34002d4c7e gdi32: Add a partial implementation of GdiRealizationInfo. 2008-02-28 10:44:35 +01:00
Hans Leidekker d6bb9e76b3 gdi32: Return registered monitor profile from GetICMProfile. 2008-02-28 10:44:02 +01:00
Paul Vriens 7911424f9d gdi32/tests: Skip a test as it crashes on Vista. 2008-02-27 14:52:24 +01:00
Paul Vriens e9ccee0501 gdi32/tests: Skip functions that are available but not implemented. 2008-02-27 14:52:24 +01:00
Rob Shearman 582de7ba0d gdi32: Optimise StretchBlt for the case where no stretching is being done and the whole image is being set.
In this case, we can just call SetDIBits which is likely to be a lot faster.
2008-02-22 11:44:58 +01:00
Michael Stefaniuc de66aebebd gdi32: Move EnumFontFamiliesEx16() to gdi16.c and reimplement it based on EnumFontFamiliesExW(). 2008-02-20 12:07:03 +01:00
Aric Stewart a41e77448c gdi32: Japanese Windows had a default fallback Font SystemLink of Microsoft Sans Serif. Implement that for Japanese. 2008-02-19 14:56:22 +01:00
Michael Stefaniuc e9a8e6a426 gdi32: Move EnumFonts16 and EnumFontFamilies16 to gdi16.c. 2008-02-19 13:39:24 +01:00
Roderick Colenbrander c937634376 gdi32: GetPaletteEntries should not filter peFlags (test included). 2008-02-19 12:06:10 +01:00
Alexandre Julliard 1fa9e526ff gdi32: Avoid calling GetObject16 from 32-bit code. 2008-02-18 18:07:51 +01:00
Alexandre Julliard 30e2cb1616 gdi32: Move a few more gdiobj functions to gdi16.c. 2008-02-18 17:53:43 +01:00
Alexandre Julliard aa500d266f gdi32: Get rid of the 16-bit GetObject functions. 2008-02-18 17:50:35 +01:00
Alexandre Julliard a306af0c62 gdi32: Reimplemented GetObject16 and moved it to gdi16.c. 2008-02-18 17:46:29 +01:00
Alexandre Julliard 1fdae2b2a5 gdi32: Reimplemented IsGDIObject16 and moved it to gdi16.c. 2008-02-18 17:26:31 +01:00
Alexandre Julliard 50dea38178 gdi32: Export the DC hook functions as 32-bit functions. 2008-02-17 20:29:55 +01:00
Michael Stefaniuc 3db6eeeda9 gdi32: Move two 16bit function stubs to gdi16.c. 2008-02-13 16:41:03 +01:00
Gerald Pfeifer 21b334713c gdi32: For unsigned types, directly use INTERNAL_YDS 2008-02-12 22:35:43 +01:00
Detlef Riekenberg cbb85daa8f gdi32: Add stub for GdiInitSpool and GdiGetSpoolMessage. 2008-02-07 11:59:53 +01:00
Reece H. Dunn dc267e75b4 gdi32: Improve the failure reporting in the bitmap tests. 2008-02-06 13:49:52 +01:00
Alexandre Julliard 7fdb61bd7e gdi32: DC_GetDCPtr and DC_ReleaseDCPtr are not longer used. 2008-02-05 21:58:04 +01:00
Alexandre Julliard 1e3c47eae9 gdi32: Get rid of DC_GetDCPtr in the palette functions. 2008-02-05 21:57:35 +01:00
Alexandre Julliard 8815e63835 gdi32: Get rid of DC_GetDCPtr in the GDI object functions. 2008-02-05 21:17:28 +01:00
Alexandre Julliard 4b14a080fe gdi32: Get rid of DC_GetDCPtr in font functions. 2008-02-05 21:16:27 +01:00
Alexandre Julliard 35c09c01b2 gdi32: Use a separate critical section for freetype locking instead of relying on the GDI lock. 2008-02-05 21:16:06 +01:00
Alexandre Julliard 31576d408e gdi32: Avoid locking in BITMAP_CopyBitmap. 2008-02-05 18:26:25 +01:00
Alexandre Julliard 630c976f88 gdi32: Don't hold the GDI lock when calling DC_InitDC. 2008-02-05 18:26:18 +01:00
Alexandre Julliard 67a9edbdf4 gdi32: Get rid of a few more uses of DC_GetDCPtr. 2008-02-05 17:35:40 +01:00
Alexandre Julliard b962fca75c gdi32: Avoid locking in CreateCompatibleBitmap. 2008-02-05 17:34:56 +01:00
Aric Stewart 1ce79f87dd gdi32: Child fonts need to be scaled like their parent. With input from Dmitry Timoshkov. 2008-02-05 12:19:50 +01:00
Reece H. Dunn e3a5167ffe gdi32: Vista returns UNICODE_NOCHAR if a character does not exist. 2008-01-25 12:30:24 +01:00
Francois Gouget d0794c4aeb Assorted spelling fixes. 2008-01-23 21:16:22 +01:00
Kai Blin a12f7069b0 gdi32: Fix spec file to export the right symbols for GetGlyphOutline. 2008-01-23 12:05:54 +01:00
Hans Leidekker 8d35fd8d23 gdi32: Add tests for GetICMProfile and SetICMMode. 2008-01-22 12:01:54 +01:00
Hans Leidekker 20c1e503e9 gdi32: Make GetICMProfile behave more like native. Rewrite ansi version as a wrapper and move color management functions to their own file. 2008-01-22 12:01:36 +01:00
Hans Leidekker 6f3607af0b gdi32: Last parameter of GetICMProfile is an output parameter. 2008-01-22 12:00:55 +01:00
Marcus Meissner a63664f1ec gdi32: Fix possible NULL ptr in TRACE. 2008-01-21 11:50:49 +01:00
Dmitry Timoshkov 0acfe68864 gdi32: Actually perform the fractional scaling test, make it pass under Wine. 2008-01-21 11:39:20 +01:00
Sin-ta Hsiea e61abafbb5 gdi32: Fix Traditional Chinese font mapping to "PMingLiU", "MingLiU". 2008-01-16 20:09:49 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Francois Gouget f6fab295f3 Fix spelling error in the generated conformance test files. 2008-01-16 12:46:18 +01:00
Francois Gouget 22edaaef16 gdi32: Small wording tweaks in comments. 2008-01-16 12:46:04 +01:00
Dmitry Timoshkov ec4a46f93a gdi32: Allocate cache for face enumeration data only when necessary. 2008-01-16 12:16:52 +01:00
Dan Kegel 3ed880ff9d gdi32: Fix AddFontResource behavior with relative paths. 2008-01-15 14:35:14 +01:00
Dmitry Timoshkov d5456de058 gdi32: Do not allow to create too large device dependent bitmaps like Windows does. 2008-01-15 12:39:50 +01:00
Dmitry Timoshkov 2fdaa56693 gdi32: Add a test for undocumented EnumFontFamiliesEx(NULL), make it pass under Wine. 2008-01-15 11:38:15 +01:00
Dmitry Timoshkov c7a6c1af0d gdi32: Initialize more fields in GetEnumStructs. 2008-01-14 13:11:48 +01:00
Dmitry Timoshkov d973271566 gdi32: Use public FS_xxxxxx defines. 2008-01-14 13:11:42 +01:00
Dmitry Timoshkov 4a8f9347bd gdi32: Simplify GetEnumStructs. 2008-01-11 12:23:14 +01:00
Dmitry Timoshkov f542511209 gdi32: Fix a GdiFont leak. 2008-01-11 12:22:44 +01:00
Dmitry Timoshkov 92a74a8271 gdi32: Fix the regression caused by the scaling font metrics patch. 2008-01-10 11:33:39 +01:00
Gerald Pfeifer 43837ed227 gdi32: Tighten range checking in PlayEnhMetaFileRecord() and remove four useless checks. 2008-01-09 13:38:03 +01:00
Dmitry Timoshkov 535053b927 gdi32: Add support for scaling font metrics. 2008-01-08 17:05:35 +01:00
Dmitry Timoshkov 3068ac9eca gdi32: Add more tests for bitmap font metrics scaling. 2008-01-08 12:54:49 +01:00
Eric Pouech 47a38c3631 gdi32: Break loop in MF_PlayMetaFile when META_EOF is found. 2008-01-07 23:02:19 +01:00
Alexandre Julliard 645a1e30a1 gdi32/tests: Avoid using size_t in traces. 2008-01-07 17:18:29 +01:00
Andrew Talbot d0d4c74e85 gdi32: Remove unneeded casts. 2008-01-07 12:18:50 +01:00
Dmitry Timoshkov 4bb1c18835 gdi32: Remove redundant indentation levels in CreateFontIndirectA and CreateFontIndirectW. 2008-01-04 12:12:14 +01:00
Austin English 464258b7cd Spelling fixes. 2008-01-03 13:08:54 +01:00
Hans Leidekker 864741c1b4 gdi32: Add a stub implementation for RemoveFontMemResourceEx. 2008-01-02 13:29:52 +01:00
Aric Stewart a8e62526f7 fonts: Correct External leading for japanese small font and enable fontmetric test for the font. 2007-12-27 14:13:30 +01:00
Peter Oberndorfer cea66e5859 gdi32: Fix a comment typo. 2007-12-23 14:17:11 +01:00
Zhangrong Huang 0e4f8d1e2c gdi32, winex11.drv: Correct default Chinese font name. 2007-12-21 13:46:10 +01:00
Dmitry Timoshkov c3fe9ec2f7 gdi32: Add a test for minimal acceptable DEVMODEA size, make it pass under Wine. 2007-12-20 10:47:40 +01:00
Dmitry Timoshkov c316c1a29f gdi32: In the calculations use a fixed dmSize, not a passed in (possibly too large) one. 2007-12-19 12:19:53 +01:00
Dmitry Timoshkov 49f1600b3f gdi32: When compiling with PSDK headers request latest DEVMODE definition. 2007-12-19 12:19:49 +01:00
Michael Stefaniuc 6b21feaec3 gdi32: There is no need to cast NULL to a function pointer. 2007-12-19 12:19:03 +01:00
Francois Gouget f1c27eda6b Assorted spelling fixes. 2007-12-18 14:16:11 +01:00
Dmitry Timoshkov beb2dfec2c gdi32: Add a GdiConvertToDevmodeW test, make it pass under Wine. 2007-12-18 13:30:42 +01:00
Stefan Dösinger 5461d505d7 winex11: Activate the depth-bpp difference. 2007-12-17 12:25:50 +01:00
Alexandre Julliard 976939745d gdi32/tests: Fix a compiler warning. 2007-12-14 14:31:06 +01:00
Stefan Dösinger b3d1ea8596 gdi32: Test the "alpha" channel on compatible bitmaps. 2007-12-14 14:06:45 +01:00
Aric Stewart 3c9e7aba75 gdi32: Cache font enum info.
Cache the enum info so that repeated calls to EnumFontFamiles and such
does not have to repeatedly load the font file.
2007-12-13 14:30:40 +01:00
Stefan Dösinger f2547427c0 gdi32: Test the bit depth of compatible bitmaps explicitly. 2007-12-13 13:09:55 +01:00
Stefan Dösinger d5d8a5be48 gdi32: Test bitmap depths. 2007-12-12 13:48:06 +01:00
Stefan Dösinger aa390e840b gdi32, winex11drv: Add a test for compatible bitmap depths. 2007-12-12 13:46:42 +01:00
Hans Leidekker 0dc765809c gdi32: GetCharABCWidthsI does not require a scalable font. 2007-12-10 12:27:13 +01:00
Aric Stewart 0433883ec1 gdi32: Font tests with Japanese font data. Thanks to Dmitry Timoshkov for the data and tests. 2007-12-10 12:12:57 +01:00
Detlef Riekenberg efb13b28df Assorted spelling fixes. 2007-12-08 19:55:39 +01:00
Hans Leidekker 8487c2dd2a gdi32: Implement GetTextExtentExPointI. 2007-12-03 15:54:05 +01:00
Gerald Pfeifer 24186d42da gdi32: Fix the type of two loop variables. 2007-11-29 15:36:49 +01:00
Andrew Talbot 03bba1e6d4 gdi32: Fix a typo. 2007-11-27 12:29:57 +01:00
Roderick Colenbrander 8295c547f3 wgl: Add wglCopyContext support. 2007-11-12 14:16:44 +01:00
Francois Gouget 2bbfc931d1 gdi32/tests: Dynamically load GdiAlphaBlend() so the test runs on Win9x. 2007-11-09 13:06:25 +01:00
Alexandre Julliard 9a368cc475 gdi32: Make all internal gdi functions hidden. 2007-11-07 17:50:57 +01:00
Laurent Vromman 52f769e88d gdi32: Correct a test where the tested function was not called. 2007-11-07 12:10:43 +01:00
Laurent Vromman 6f140f9bec gdi32: Add a test for CloseFigure. 2007-11-06 14:00:40 +01:00
Alexander Dorofeyev 3ac3a5dcb5 gdi32: Fix unchecked NULL ptr in BIDI_Reorder. 2007-10-24 15:36:37 +02:00
Dan Kegel f4b0cf5f5b gdi32/tests: Fix false pass in warn+heap case. 2007-10-24 13:47:28 +02:00
Alexander Dorofeyev cdca301821 gdi32: Fix runaway loop because of unsigned comparison in BIDI_Reorder. 2007-10-23 19:37:36 +02:00
Francois Gouget c4b1195c0c Assorted spelling fixes. 2007-10-23 18:20:27 +02:00
Hans Leidekker d21c5044c6 gdi32: Remove a test that expects the break character to equal ascii space. 2007-10-23 12:22:59 +02:00
Alexander Dorofeyev 4b5ca2ed0e gdi32: Fix off by one error in BIDI_Reorder. 2007-10-22 15:58:46 +02:00
Lionel Debroux b78ed57a39 gdi32/tests: Fix memory leak (found by Smatch). 2007-10-22 15:58:16 +02:00
Gerald Pfeifer d594c1eab4 gdi32: Add a set of braces to silence a GCC 3.4 warning. 2007-10-22 12:36:07 +02:00
Alexandre Julliard 5c07673077 configure: Check for fontconfig in the X directory if not found in the standard places. 2007-10-17 17:04:01 +02:00
Gerald Pfeifer 4e60df85d8 gdi32: Avoid compiler warning in WineEngGetGlyphOutline(). 2007-10-15 17:50:17 +02:00
Huw Davies bc2a4dbee0 gdi32: Try to load Wine's TrueType fonts from the build directory. 2007-10-15 11:28:31 +02:00
Huw Davies e5df622ff3 gdi32: Don't load Wine's bitmap-only TrueType fonts. 2007-10-15 11:28:26 +02:00
Huw Davies 6ee7182ebb gdi32: Factor out the code to call FT_Load_Sfnt_Table. 2007-10-15 11:10:32 +02:00
Huw Davies 36db3630ec gdi32: Fixed a misplaced break. 2007-10-05 10:23:54 +02:00
Huw Davies 05bb6f6ce4 gdi32: Let the WINE_GGO_GRAY16_BITMAP case load a bitmap. 2007-10-03 11:01:21 +02:00
Huw Davies 70c212937a gdi32: Only cache the glyph metrics when rendering to a monochrome bitmap or when just retrieving the metrics. 2007-10-03 11:01:15 +02:00
Huw Davies 5af70f49c6 gdi32: TrueType fonts from the data directory should be added to the registry. 2007-10-03 11:01:10 +02:00
Dmitry Timoshkov 5b8f591192 gdi32: Prefer a Microsoft cmap table over other platform ones. 2007-10-02 12:28:28 +02:00
Stefan Leichter 87a9a4d44b gdi32: Define WINE_FILEVERSION in version resource of gdi.exe. 2007-10-01 14:17:30 +02:00
Maarten Lankhorst 10834ee5c7 gdi32: Fix 3 tiny bugs in bidi. 2007-10-01 12:24:31 +02:00
Maarten Lankhorst 6b2a6a2bcf gdi32: Fix meaning and use of bidirectionality flags. 2007-10-01 12:24:14 +02:00
Alexandre Julliard d78a58298a gdi32: Don't hold the GDI lock while calling the driver SelectFont function. 2007-09-27 21:01:00 +02:00
Alexandre Julliard e9f1638de6 gdi32: Don't hold the GDI lock while calling the SelectObject backends. 2007-09-27 21:00:44 +02:00
Alexandre Julliard af6c0a09c5 gdi32: Move the object refcount handling to the SelectObject backend functions. 2007-09-27 20:57:02 +02:00
Alexandre Julliard a1e31397e1 gdi32: Don't pass an object pointer to the SelectObject backend functions. 2007-09-27 20:14:13 +02:00
Francois Gouget b2bc712323 Assorted spelling fixes. 2007-09-27 20:12:53 +02:00
Alexandre Julliard 161821155d gdi32: Fix typo in FIXME (spotted by Rob Shearman). 2007-09-27 18:05:57 +02:00
Anatoly Lyutin 7a67035a44 gdi32: printdrv: Use umask for creating a spool file. 2007-09-27 11:58:21 +02:00
Alexandre Julliard 3363d65f16 gdi32: Move the generic part of FontIsLinked() to font.c. 2007-09-26 20:21:34 +02:00
Alexandre Julliard 543270dfb5 gdi32: Don't pass a DC handle to WineEngGetFontUnicodeRanges. 2007-09-26 20:17:13 +02:00
Alexandre Julliard 1abc24d29c gdi32: Don't hold the gdi lock while calling DC driver functions. 2007-09-26 17:51:41 +02:00
Alexandre Julliard 7480bd3204 gdi32: Don't hold the gdi lock while creating a DC. 2007-09-26 17:39:25 +02:00
Andrew Talbot ce0e1706fe gdi32: Fix a memory leak. 2007-09-25 11:18:20 +02:00
Alexandre Julliard 58c6bab9c9 gdi32: Don't hold the GDI lock while calling the driver printer functions. 2007-09-24 18:23:42 +02:00
Alexandre Julliard b12a782e5f gdi32: Don't hold the GDI lock while calling the driver clipping functions. 2007-09-24 18:19:14 +02:00
Alexandre Julliard 2e2df3faf3 gdi32: Don't hold the GDI lock while calling the driver OpenGL functions. 2007-09-24 18:17:21 +02:00
Alexandre Julliard 5557fac1c3 gdi32: Don't hold the GDI lock while calling the driver painting functions. 2007-09-24 18:16:48 +02:00
Alexandre Julliard 0c4f81eefc gdi32: Don't hold the GDI lock while calling the driver path functions. 2007-09-24 18:16:29 +02:00
Alexandre Julliard a5a0d3c23b gdi32: Don't hold the GDI lock while calling the driver mapping functions. 2007-09-24 18:16:15 +02:00
Francois Gouget e2e25eacd9 gdi32: Add a '\n' to a Wine trace. 2007-09-21 11:52:21 +02:00
Dmitry Timoshkov b0d1590def gdi32: Use symbolic names for font tags. 2007-09-20 15:54:19 +02:00
Maarten Lankhorst b6f9a30a5d gdi: Implement line-by-line phase of the BiDi algorithm. 2007-09-19 14:56:51 +02:00
Maarten Lankhorst 588c5a90fd gdi: Implement implicit resolving in BiDi. 2007-09-19 14:56:51 +02:00
Maarten Lankhorst 032543e54d gdi: Implement neutrals resolving in BiDi. 2007-09-19 14:56:50 +02:00
Maarten Lankhorst 6554e5b1a1 gdi: Implement weak resolving in BiDi. 2007-09-19 14:56:50 +02:00
Maarten Lankhorst dbdf6fde20 gdi: Implement explicit resolving in BiDi. 2007-09-19 14:56:50 +02:00
Maarten Lankhorst 426debe187 gdi: Implement BiDi classification of characters and copying according to them. 2007-09-19 14:56:50 +02:00
Maarten Lankhorst c3cf79d817 gdi: Remove support for libicu and all dependencies. 2007-09-19 14:56:50 +02:00
Alexandre Julliard 9aee0b4157 gdi32: Update the DC in most OpenGL functions. 2007-09-18 09:34:08 +02:00
Alexandre Julliard 99a258311c gdi32: Replace remaining instance of DC_GetDCUpdate by get_dc_ptr+update_dc. 2007-09-18 09:34:08 +02:00
Alexandre Julliard baa8d22543 gdi32: Replace DC_GetDCUpdate by get_dc_ptr+update_dc in the bitmap functions. 2007-09-18 09:34:08 +02:00
Alexandre Julliard f3f792d064 gdi32: Replace DC_GetDCUpdate by get_dc_ptr+update_dc in the painting functions. 2007-09-18 09:34:07 +02:00
Alexandre Julliard f486f24b96 gdi32: Replace DC_GetDCUpdate by get_dc_ptr+update_dc in the clipping functions. 2007-09-18 09:34:07 +02:00
Chris Robinson 09c76ffbdc gdi32: Don't hold the GDI lock when setting the pixel format. 2007-09-17 16:19:04 +02:00
Mikolaj Zalewski c6efacd86a gdi32: Return the correct font type, ntmFlags and PitchAndFamily for Type1 fonts. 2007-09-17 14:37:44 +02:00
Mikolaj Zalewski 0eb910352c gdi32: If freetype fails try to load manually fonts wrapped as PE resources. 2007-09-17 14:37:32 +02:00
Mikolaj Zalewski baee27c69c gdi32: Implement AddFontMemResourceEx (based on a patch of Byeong-Sik Jeon). 2007-09-17 14:14:27 +02:00
Mikolaj Zalewski 66cf4f7d53 gdi32: Store child font links as pointers to struct Face instead of filename/index. 2007-09-17 14:13:46 +02:00
Alexandre Julliard f9ebe5ab8f gdi32: Don't store a DC pointer in the metafile devices. 2007-09-12 20:23:03 +02:00
Dmitry Timoshkov 4fb82e3783 gdi32: Use lower case font dir name to match unix directory layout. 2007-09-12 11:33:11 +02:00
Alexandre Julliard d88ff791ef gdi32: New DC locking mechanism that doesn't require holding the global GDI lock. 2007-08-31 15:58:38 +02:00