Commit graph

3094 commits

Author SHA1 Message Date
Nikolay Sivov 4fac4588bb gdi32/emf: Check for allocation failure in GdiComment(). 2023-11-30 10:23:19 +01:00
Nikolay Sivov 47a939e2ad gdi32/emf: Use padding helper in GdiComment(). 2023-11-30 10:23:18 +01:00
Nikolay Sivov 30be905972 gdi32/emf: Add a helper to pad variable length record data. 2023-11-30 10:23:16 +01:00
Alex Henrie 2fcbfc4ca6 gdi32/tests: Free what GdiConvertToDevmodeW returns with HeapFree.
This partially reverts commit 0b7eed0310.
2023-11-14 11:29:29 +01:00
Alex Henrie 0b7eed0310 gdi32/tests: Use CRT allocation functions. 2023-11-06 11:51:40 +01:00
Alexandre Julliard 7ccb5df0fc makefiles: Always use the global SOURCES variable for .rc files. 2023-11-01 22:43:56 +01:00
Hans Leidekker 863d29ca72 win32u: Get rid of a special case for non-scalable fonts in NtGdiGetCharABCWidthsW(). 2023-10-30 13:35:06 +01:00
Hans Leidekker 31fd070165 gdi32/tests: Skip broken Noto Color Emoji font in character width test. 2023-10-30 13:35:06 +01:00
Piotr Caban 846784f03f gdi32: Fix leak in GdiDeleteSpoolFileHandle. 2023-10-17 18:18:10 +02:00
Alexandre Julliard c047bb6ea3 makefiles: Always use the global SOURCES variable for .sfd files. 2023-10-12 10:59:29 +02:00
Piotr Caban 12c3579bcb gdi32: Add GdiGetDevmodeForPage implementation. 2023-10-11 17:28:15 +02:00
Piotr Caban 78acbb6fec gdi32: Add GdiGetDevmodeForPage stub. 2023-10-11 17:28:14 +02:00
Piotr Caban c2489c501d gdi32: Add GdiDeleteSpoolFileHandle stub. 2023-10-11 17:28:14 +02:00
Piotr Caban 8dfa1d66b1 gdi32: Add GdiGetSpoolFileHandle stub. 2023-10-11 17:28:13 +02:00
Piotr Caban 25e15e9e2c gdi32: Test PlayMetaFile on METADC. 2023-10-11 17:27:40 +02:00
Piotr Caban 5e507b3e3d gdi32: Fix METADC handling in PlayMetaFile. 2023-10-11 17:27:40 +02:00
Nikolay Sivov e04e10b37b gdi32/tests: Add some tests for FixBrushOrgEx().
It appears to be a stub on modern systems. Does not generate EMF output either.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-10-10 23:15:05 +02:00
Nikolay Sivov 86708b36f8 gdi32/emf: Add SetBrushOrgEx() recording.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-10-10 23:15:05 +02:00
Piotr Caban 01fab4c409 gdi32: Update printer DEVMODE in ResetDCW. 2023-10-09 11:38:28 +02:00
Nikolay Sivov fea9bb7523 gdi32/emf: Add SetMetaRgn() recording. 2023-10-09 11:38:11 +02:00
Nikolay Sivov 200d795ff3 gdi32: Reject invalid values in SetMiterLimit(). 2023-10-09 11:38:11 +02:00
Nikolay Sivov 3f30401495 gdi32/tests: Add some tests for SetMiterLimit() argument validation. 2023-10-09 11:38:11 +02:00
Nikolay Sivov 5b471a2963 gdi32/emf: Fix miter limit serialization. 2023-10-09 11:38:09 +02:00
Etaash Mathamsetty 627181d99c gdi32: Add stub for D3DKMTQueryAdapterInfo. 2023-10-09 11:37:49 +02:00
Piotr Caban 59f72abfcf gdi32: Add partial support for creating EMREXTCREATEPEN records. 2023-10-05 18:49:44 +02:00
Piotr Caban b4b39bfbd1 gdi32: Pass default DEVMODE to winspool in CreateDC.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55670
2023-10-02 12:10:41 +02:00
Alexandre Julliard c547659586 nls: Update character tables to Unicode 15.1.0. 2023-09-30 13:23:19 +02:00
Yuxuan Shui 74027f3731 gdi32: Make GetStockObject hotpatchable.
Needed for ntlea.
2023-09-19 16:59:45 +02:00
Alexandre Julliard f078d5b4f9 gdi32: Fix buffer size parameter in GetFontFileData for 64-bit. 2023-09-01 18:06:02 +02:00
Alexandre Julliard 207bdd01ca gdi32/tests: Use nameless unions/structs. 2023-07-20 21:48:39 +02:00
Piotr Caban ef7b183984 gdi32: Fix DIB_PAL_INDICES usage handling in EMR_CREATEMONOBRUSH playback.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55177
2023-07-07 19:55:28 +02:00
Jacek Caban a312a8e29a gdi32/uniscribe: Don't use DECLSPEC_HIDDEN. 2023-06-26 20:19:13 +02:00
Jacek Caban a5f62b3ef7 make_unicode: Don't use DECLSPEC_HIDDEN. 2023-06-26 20:19:13 +02:00
Jacek Caban cd56a1c164 gdi32: Don't use DECLSPEC_HIDDEN. 2023-06-26 20:19:13 +02:00
Jacek Caban da4663d640 win32u: Don't return full OUTLINETEXTMETRICW from __wine_get_file_outline_text_metric. 2023-05-29 11:37:08 +02:00
Jacek Caban 3dbe180ea5 win32u: Extend NtGdiSetDIBitsToDeviceInternal for SetDIBits implementation. 2023-05-29 11:37:08 +02:00
Jacek Caban ab88c7cbb1 win32u: Implement NtGdiIcmBrushInfo and use it instead of __wine_get_brush_bitmap_info. 2023-05-29 11:37:07 +02:00
Jacek Caban 0c73b717fb win32u: Pass blend function as DWORD to NtGdiAlphaBlend. 2023-05-25 16:26:08 +02:00
Piotr Caban 0e976ca544 gdi32: Abort printing if DeleteDC is called before EndDoc. 2023-05-23 09:28:43 +02:00
Piotr Caban 55b9b2f675 gdi32: Mark objects as not used before clearing handles table in emf_reset.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54936
2023-05-19 08:34:46 -05:00
Francois Gouget b97090214b gdi32/tests: Use skip() for APIs which are stubs in some drivers. 2023-05-17 08:06:13 -05:00
Piotr Caban ec6062c572 wineps: Introduce wine_driver_open_dc wine specific export used to create printer DC.
Doing it this way avoids passing Unix library pointers throught PE.
2023-05-17 07:19:09 -05:00
Francois Gouget d84077c226 gdi32/tests: Use win_skip() for missing APIs.
A missing API is a todo in Wine.
2023-05-15 05:40:55 -05:00
Alexandre Julliard f83ec675bd win32u: Don't use floating point types in syscalls. 2023-05-12 11:39:10 +02:00
Piotr Caban 0ba17961a9 gdi32: Add device name to wine_get_gdi_driver call. 2023-05-10 21:18:10 +02:00
Piotr Caban 9adaca0f19 gdi32: Handle NEXTBAND escape in Escape(). 2023-05-08 20:00:50 +02:00
Piotr Caban 33ee9fad71 gdi32: Return error in EndPage if it's called before StartPage. 2023-05-01 16:44:11 +02:00
Piotr Caban f4d78d5352 gdi32: Support saving EMR_EXTESCAPE record in spool file. 2023-05-01 16:44:11 +02:00
Piotr Caban a79c2fd379 gdi32: Ignore in_count parameter in Escape() on PASSTHROUGH escape. 2023-05-01 16:44:11 +02:00
Piotr Caban 4496c64aa1 gdi32: Support creating EMRI_DEVMODE records in spool files. 2023-04-28 18:33:23 +02:00