Commit graph

171385 commits

Author SHA1 Message Date
Rémi Bernon 3581a96052 winemac: Blend alpha with NtGdiAlphaBlend instead of window opacity.
This seems equivalent but makes the code similar to other drivers.
2024-06-05 16:38:23 +02:00
Rémi Bernon f545d42495 winemac: Use the surface bitmap directly in UpdateLayeredWindow. 2024-06-05 16:38:23 +02:00
Rémi Bernon 521cb41c6a winemac: Always clear UpdateLayeredWindow target rectangle. 2024-06-05 16:38:22 +02:00
Rémi Bernon 0b7b9adf33 wineandroid: Use the surface bitmap directly in UpdateLayeredWindow. 2024-06-05 16:38:22 +02:00
Rémi Bernon b2f2aaa491 wineandroid: Always clear UpdateLayeredWindow target rectangle. 2024-06-05 16:38:22 +02:00
Elizabeth Figura 95999accf6 wined3d: Default diffuse to 1.0 in the vertex shader. 2024-06-05 15:58:41 +02:00
Elizabeth Figura c825c885d3 wined3d: Just check the vertex declaration for texcoord usage.
Do not check the stream info.

This would make a difference if the usage was included in the vertex declaration
but the corresponding stream is not bound; however, in that case we supply a
default stream containing zero, which provides the same behaviour as if the
usage is not included in the vertex declaration.
2024-06-05 15:58:40 +02:00
Elizabeth Figura 89a71df48e wined3d: Just check the vertex declaration for normal usage.
Do not check the stream info.

This would make a difference if the usage was included in the vertex declaration
but the corresponding stream is not bound. However, in that case we supply a
default stream containing zero, which provides the same behaviour as if the
normal usage is not included in the vertex declaration.
2024-06-05 15:58:39 +02:00
Elizabeth Figura 4929e51932 wined3d: Just check the vertex declaration for colour usage.
Do not check the stream info. In practice, this amounts to a difference if the
usage is included in the vertex declaration but the corresponding stream is not
bound; however, tests show that in this case we should supply a default colour
of zero.
2024-06-05 15:58:37 +02:00
Elizabeth Figura db63c8be29 wined3d: Just check the vertex declaration for point size usage.
Do not check the stream info. In practice, this amounts to a difference if the
usage is included in the vertex declaration but the corresponding stream is not
bound. The just-added tests show that in this case it is correct to use
per-vertex point size with a default size of one, rather than treating this case
as equivalent to if the usage was not specified in the vertex declaration.
2024-06-05 15:58:35 +02:00
Elizabeth Figura 392a724fc9 wined3d: Invalidate the vertex shader when WINED3D_FFP_PSIZE is toggled. 2024-06-05 15:58:35 +02:00
Rémi Bernon 6b8cdda502 gdi32: Use an internal NtUser call for D3DKMTOpenAdapterFromGdiDisplayName.
Fixes a deadlock with display_device_init mutex and display_lock when
trying to open the D3DKMT adapter while holding the mutex in the caller.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56764
2024-06-05 15:58:26 +02:00
Nikolay Sivov 0da33d5493 scrrun/dictionary: Implement putref_Item() method.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56781
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-06-05 15:58:00 +02:00
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