Commit graph

171463 commits

Author SHA1 Message Date
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
Connor McAdams 5473dd6963 d3dx9: Use d3dx_image structure in D3DXLoadSurfaceFromFileInMemory().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-03 23:24:59 +02:00
Connor McAdams 4e83d4a49f d3dx9: Introduce d3dx_image structure for use in D3DXGetImageInfoFromFileInMemory().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-03 23:24:59 +02:00
Connor McAdams a034bf0c7b d3dx9: Refactor WIC image info retrieval code in D3DXGetImageInfoFromFileInMemory().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-03 23:24:59 +02:00
Connor McAdams b81b72765a d3dx9: Refactor WIC GUID to D3DXIMAGE_FILEFORMAT conversion code.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-03 23:24:59 +02:00
Benjamin Mayes dcb5c97d02 windowscodecs: Add conversions from PixelFormat32bppBGRA->PixelFormat16bppBGRA5551. 2024-06-03 23:24:59 +02:00
Mohamad Al-Jaf 6070536f17 coremessaging: Add CreateDispatcherQueueController() stub.
Needed by Photoshop 2024.
2024-06-03 23:24:59 +02:00
Mohamad Al-Jaf 05ff16ebb6 include: Add dispatcherqueue.idl file. 2024-06-03 23:24:59 +02:00
Rémi Bernon ee908ad076 widl: Use mangled namespace names in typedef pointer types. 2024-06-03 23:24:59 +02:00
Mohamad Al-Jaf c0878d7f95 coremessaging: Add stub DLL.
Needed by Photoshop 2024.
2024-06-03 23:24:59 +02:00