Commit graph

171272 commits

Author SHA1 Message Date
Tim Clem b6fb9e5c5c gitlab: Update configuration for the new Mac runner.
Two main changes:
- VM configuration in build.yml for the executor.
- The build-mac script is now architecture-agnostic.
2024-06-05 10:33:01 +02:00
Esme Povirk 069a0b1e26 win32u: Send EVENT_OBJECT_FOCUS in more cases. 2024-06-05 10:32:19 +02:00
Piotr Caban 71300e2385 wineps.drv: Add partial support for changing page size. 2024-06-05 10:32:00 +02:00
Piotr Caban 4047fb78a8 wineps.drv: Write PageBoundingBox for every page. 2024-06-05 10:31:59 +02:00
Piotr Caban 845a231f95 wineps.drv: Take all pages into account when computing bounding box. 2024-06-05 10:31:58 +02:00
Piotr Caban 3b3ad61cdd wineps.drv: Write page orientation hint for every page. 2024-06-05 10:31:57 +02:00
Piotr Caban de9393c8b7 wineps.drv: Don't use dynamic buffer when writing new page info. 2024-06-05 10:31:55 +02:00
Alexandre Julliard 26dfb963f3 msvcrt: Use platform-specific handlers also for __CxxFrameHandler4. 2024-06-05 10:31:24 +02:00
Alexandre Julliard 33e783c5ba msvcrt: Add platform-specific helpers to retrieve the exception PC. 2024-06-05 10:31:24 +02:00
Alexandre Julliard 07d8612b75 msvcrt: Add platform-specific helpers to call C++ exception handlers. 2024-06-05 10:31:24 +02:00
Alexandre Julliard 1404fcd3ea msvcrt: Share __CxxFrameHandler implementation with ARM platforms. 2024-06-05 10:31:24 +02:00
Alexandre Julliard 3bb1b3fecc msvcrt: Use pointer-sized types instead of hardcoding 64-bit in __CxxFrameHandler. 2024-06-05 10:31:24 +02:00
Alexandre Julliard 2bc870eccd msvcrt: The catchblock frame member isn't present on 32-bit. 2024-06-05 10:31:24 +02:00
Alexandre Julliard 3f296440f5 winedump: Fix dumping of catchblocks for 32-bit modules.
The frame member isn't present on 32-bit.
2024-06-05 10:31:24 +02:00
Rémi Bernon b89c9c60d5 win32u: Move desktop resize on WM_DISPLAYCHANGE out of the drivers. 2024-06-04 22:25:12 +02:00
Rémi Bernon 0a2ae3c41d win32u: Send display change messages when host display mode changes.
Similarly to when it is changed from an application call, but avoid
broadcasting WM_DISPLAYCHANGE to all windows when called from the
drivers, as we may have done it already.
2024-06-04 22:25:09 +02:00
Rémi Bernon e54bb48eb8 win32u: Fix a restorer_str typo. 2024-06-04 22:25:09 +02:00
Rémi Bernon d49cf1021b winemac: Merge RESET_DEVICE_METRICS and DISPLAYCHANGE internal messages. 2024-06-04 22:25:08 +02:00
Jacek Caban 7cb0b66eb7 mshtml: Use DispatchEx for exposing document node IDispatchEx interface. 2024-06-04 22:22:01 +02:00
Jacek Caban 0856706071 mshtml: Use DISPEX_IDISPATCH_IMPL macro for document object implementation. 2024-06-04 22:22:01 +02:00
Jacek Caban 88a06f18b4 mshtml: Use DispatchEx for document node InvokeEx implementation. 2024-06-04 22:22:01 +02:00
Jacek Caban af86139fa4 mshtml: Use DispatchEx vtbl for document node GetDispID implementation. 2024-06-04 22:22:01 +02:00
Elizabeth Figura fd904eb19c wined3d: Update multisample state when the sample count changes.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56591
2024-06-04 22:22:01 +02:00
Rémi Bernon d2372d60f0 win32u: Get rid of move_window_bits_parent, using move_window_bits. 2024-06-04 22:22:01 +02:00
Rémi Bernon fae4046694 win32u: Don't map points to the parent window in move_window_bits_parent.
We now use NtGdiStretchBlt, and the valid rects are relative to the
window rect, not the parent.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56766
2024-06-04 22:22:01 +02:00
Rémi Bernon feff510717 win32u: Use a dedicated helper to move bits from a previous surface.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56766
2024-06-04 22:22:01 +02:00
Rémi Bernon 09b9c1b5fe win32u: Restore surface rect, which may offsetted from the window rect.
Some drivers only create surfaces over the visible part of the window,
and the surface rect has an offset.

Fixes a regression from 5d0efbcc6e, which
causes XSHM errors with partially offscreen windows.
2024-06-04 22:22:01 +02:00
Hans Leidekker e39a973778 ntdll: Provide fallback values for DMI fields only readable by root.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56744
2024-06-04 22:22:01 +02:00
Eric Pouech 1890a3de3f cmd: Separate IF command parsing from execution.
Introducting CMD_IF_CONDITION to hold IF condition.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-04 22:22:01 +02:00
Eric Pouech 5388414923 cmd: Let errorlevel be a signed integer.
Manual testing show that native reports errorlevel as a signed
entity.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-04 22:22:01 +02:00
Eric Pouech 855642d565 cmd: Create helper to execute a command.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-04 22:22:01 +02:00
Eric Pouech a899caac7b cmd: Introduce structure CMD_REDIRECTION.
This structure will hold information for a redirection, and
can be chained in a list when multiple redirections are listed.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-04 22:22:01 +02:00
Eric Pouech 18d8c6fe52 cmd: Introduce a helper to set std handles.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-04 22:22:01 +02:00
Alexandre Julliard bc76e9cfe0 msvcrt: Consistently use the rtti_rva() helper. 2024-06-04 13:35:30 +02:00
Alexandre Julliard b8edf6d920 msvcrt: Share the common part of _fpieee_flt between platforms. 2024-06-04 13:13:31 +02:00
Alexandre Julliard 8f2d3e8396 msvcrt: Share the __CxxExceptionFilter implementation between platforms. 2024-06-04 13:13:20 +02:00
Alexandre Julliard 91fab73309 msvcrt: Use the copy_exception() helper in __CxxExceptionFilter. 2024-06-04 11:54:14 +02:00
Elizabeth Figura 325c365786 include: Add more types to windows.networking.connectivity.idl.
Based on a patch by Alistair Leslie-Hughes.
2024-06-04 09:49:45 +02:00
Rémi Bernon b6abacbb7b win32u: Create a HBITMAP backing the window surface pixels. 2024-06-03 23:25:00 +02:00
Rémi Bernon 6ace92e0ca winex11: Create a HBITMAP for the allocated surface pixels. 2024-06-03 23:24:59 +02:00
Rémi Bernon cacafddea2 winex11: Create XImage before initializing the window surface. 2024-06-03 23:24:59 +02:00
Rémi Bernon d9aa239c43 winex11: Simplify the XSHM extension function calls. 2024-06-03 23:24:59 +02:00
Rémi Bernon 444436abfd win32u: Pass BITMAPINFO and a HBITMAP to window_surface_init. 2024-06-03 23:24:59 +02:00
Rémi Bernon 3c7dc5f132 win32u: Move the window surface color bits to the common struct. 2024-06-03 23:24:59 +02:00
Hans Leidekker cd780fe609 wmic: Add csproduct and systemenclosure aliases. 2024-06-03 23:24:59 +02:00
Hans Leidekker a293b2f23a wmic: Sort the alias list. 2024-06-03 23:24:59 +02:00
Danyil Blyschak a3e33d40a8 wineps.drv: Call ResetDCW() to update Devmode in the Unix interface.
Previously, PSDRV_ResetDC() only updated the devmode contained in the
print context, which could cause the devmode in the unix interface to be
inconsistent with the print context's devmode. This can cause problems
later when PostScript is being outputted, as get_device_caps() in the
unix interface would reference this inconsistent devmode. By calling
ResetDCW() in PSDRV_ResetDC(), these two devmodes remain in-sync.
2024-06-03 23:24:59 +02:00
Connor McAdams 242be50f01 d3dx9: Use d3dx_load_pixels_from_pixels() in D3DXLoadVolumeFromMemory().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-03 23:24:59 +02:00
Connor McAdams 3241270b85 d3dx9: Use d3dx_pixels structure in decompression helper function.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-03 23:24:59 +02:00
Connor McAdams 4a98510663 d3dx9: Introduce d3dx_load_pixels_from_pixels() helper function.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-03 23:24:59 +02:00