Commit graph

168006 commits

Author SHA1 Message Date
Daniel Lehman 70fd689924 msxml3/tests: Add tests for get_xml. 2023-11-14 22:25:01 +01:00
Daniel Lehman 320f92759b msxml3/tests: Remove unused test field. 2023-11-14 22:25:01 +01:00
Alexandros Frantzis e0591fafae winewayland.drv: Ignore spurious size hints.
Due to the asynchronous nature of Wayland events, and the design of the
xdg_toplevel protocol, an xdg configure event may be a reaction to a
request in the application's configuration past, and the size hint may
be out of date. For example:

1. The client commits a 100x100 buffer to a surface.
2.1 The compositor sends xdg configure(100x100, state=activated).
2.2 In the meantime, the client resizes and commits a 50x50 buffer.
3. The client receives the event from (2.1). If we respect the
   size hint, we will resize back to 100x100, although this was
   neither the client's nor the compositor's intention.

To mitigate this we ignore size hints for states that do not
require strict size adherence.
2023-11-14 22:25:01 +01:00
Alexandros Frantzis 9ddd0a5cb6 winewayland.drv: Present cursors with the correct scale.
Take into account the window scale factor and use wp_viewport to
instruct the compositor to present cursors with that scale.
2023-11-14 22:25:01 +01:00
Alexandros Frantzis 80f3e7ecc0 winewayland.drv: Refactor cursor code to prepare for scaling support. 2023-11-14 22:25:01 +01:00
Alexandros Frantzis 66ad0d0a45 winewayland.drv: Present surfaces with the correct scale.
Take into account the window scale factor and use wp_viewport to
instruct the compositor to present surfaces at that scale.
2023-11-14 22:25:01 +01:00
Alexandros Frantzis 13578d6045 winewayland.drv: Prepare to handle different coordinate spaces.
Introduce and use functions to convert between the window logical and
Wayland surface coordinate spaces. At the moment the two are the same
but this will change with the introduction of scaling support.
2023-11-14 22:25:01 +01:00
Rémi Bernon 79bb13332f windows.gaming.input: Fix inverted start / select gamepad buttons. 2023-11-14 22:25:01 +01:00
Rémi Bernon 7d74938b0c winebus.sys: Ignore events on unsupported axes.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55660
2023-11-14 22:25:01 +01:00
Alexandros Frantzis 07d3846d37 win32u: Respect per-monitor thread dpi awareness when getting window from point. 2023-11-14 22:25:01 +01:00
Alexandros Frantzis a75e2b49ca win32u: Assume thread dpi for rect in NtUserIsWindowRectFullScreen.
Assume that the window rect passed NtUserIsWindowRectFullScreen is
expressed in terms of thread dpi and convert monitor rects accordingly
for proper matching.
2023-11-14 22:25:01 +01:00
Alexandre Julliard d3722971ef ntdll: Export __chkstk_arm64ec(). 2023-11-14 22:25:01 +01:00
Alexandre Julliard 220a70bee2 ntdll: Don't use x86-64 assembly on ARM64EC. 2023-11-14 22:25:01 +01:00
Alexandre Julliard cbaa3d0804 ntdll: Add a stub ARM64EC CPU backend. 2023-11-14 22:25:01 +01:00
Alexandre Julliard dd77c32fc6 winecrt0: Implement setjmp/longjmp for ARM64EC. 2023-11-14 22:23:44 +01:00
Jacek Caban 7c8794312a winecrt0: Initial ARM64EC support. 2023-11-14 13:12:36 +01:00
Alexandre Julliard 440771ed41 makefiles: Remove support for obsolete source variables. 2023-11-14 13:07:24 +01:00
Alexandre Julliard aea0d88ae5 makefiles: Avoid generating the .tab.c file twice with bison. 2023-11-14 13:04:36 +01:00
Alistair Leslie-Hughes 9b26ea16a3 rpcrt4: Remove DECLSPEC_HIDDEN usage. 2023-11-14 11:45:39 +01:00
Rémi Bernon f58946e3ba winewayland.drv: Basic handling of Wayland keyboard events.
Handle Wayland keyboard events and translate them to Windows events,
currently using a hardcoded US key mapping.
2023-11-14 11:39:38 +01:00
Rémi Bernon 677868a0c7 gitlab: Install libxkbcommon and libxkbregistry dependencies. 2023-11-14 11:36:56 +01:00
Michael Stefaniuc 055e632216 dmusic: Remove superfluous casts to self. 2023-11-14 11:31:27 +01:00
Michael Stefaniuc ad1ba07880 dmsynth: Remove superfluous casts to self. 2023-11-14 11:31:27 +01:00
Michael Stefaniuc b3382916c6 dmime: Remove superfluous casts to self. 2023-11-14 11:31:27 +01:00
Michael Stefaniuc e283883057 dmime/tests: Remove superfluous casts to self. 2023-11-14 11:31:27 +01:00
Michael Stefaniuc c3ef2e6efb dmime: Remove redundant NULL check before free(). 2023-11-14 11:31:27 +01:00
Brendan Shanks c6b2bccfe7 ntdll: Don't use sysconf(_SC_PHYS_PAGES) on macOS. 2023-11-14 11:30:45 +01:00
Alex Henrie 1817d4cc12 winmm/tests: Use calloc instead of HeapAlloc.
Fixes: bb6bcaf83e
2023-11-14 11:29:50 +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
Rémi Bernon 99aa613f26 dmime: Implement segment state repeat and looping. 2023-11-13 22:37:51 +01:00
Rémi Bernon eada40789d dmime: Split segment_state_play_chunk helper. 2023-11-13 22:37:51 +01:00
Rémi Bernon 8f3980fc85 dmsynth: Reset synthesizer defaults on MIDI_SYSTEM_RESET. 2023-11-13 22:37:51 +01:00
Rémi Bernon 051418c0c0 dmime: Send MIDI_SYSTEM_RESET message on performance reset. 2023-11-13 22:37:51 +01:00
Rémi Bernon 2414bb4004 dmime: Clear all pending messages in IDirectMusicPerformance_Stop. 2023-11-13 22:37:51 +01:00
Rémi Bernon fe171ec86b dmime/tests: Test that IDirectMusicPerformance_Stop clears messages. 2023-11-13 22:37:51 +01:00
Rémi Bernon ddd877d1c7 dmime/tests: Avoid discarding old notifications in test. 2023-11-13 22:37:51 +01:00
Alistair Leslie-Hughes 7e1989b963 msdasql: GetAvailableColumns correct assignment of DBCOLUMN data. 2023-11-13 21:55:34 +01:00
Alistair Leslie-Hughes 9ff572b789 include: Add DBPROPVAL_MR_* defines. 2023-11-13 21:55:32 +01:00
Alexandre Julliard b3895f5519 winebuild: Include x86-64 entry points in ARM64EC builds. 2023-11-13 11:36:34 +01:00
Alexandre Julliard 955664c80f winebuild: Add a helper to build an ARM64EC function name. 2023-11-13 11:36:34 +01:00
Jacek Caban 7b216b69c7 winebuild: Use COMDAT sections for ARM64EC functions. 2023-11-13 11:36:12 +01:00
Jacek Caban a0a2ef5a2b tools: Initial ARM64EC target support. 2023-11-13 11:36:12 +01:00
Jacek Caban 5004e6bce7 configure: Add arm64ec PE target support. 2023-11-13 11:26:19 +01:00
Alistair Leslie-Hughes dd009533b1 dbghelp: Remove DECLSPEC_HIDDEN usage. 2023-11-13 11:04:45 +01:00
Matteo Bruni 6153ced0f9 opengl32: Skip filter_extensions_index() on GL contexts < 3.0.
glGetStringi() is not available before 3.0. We can't trust its
function pointer being NULL since the GL implementation is allowed to
return anything in this case (*cough* macOS's GL on Metal *cough*).

This probably regressed when fd92954df8
removed the "if (!disabled[0]) return FALSE;" exit from
filter_extensions(), although that simply exposed an existing issue.
2023-11-13 11:03:04 +01:00
Alex Henrie 88e66d0785 user32/tests: Allocate clipboard data with HeapAlloc.
This partially reverts commit faae2162b8.
2023-11-13 11:02:08 +01:00
Alexandre Julliard 3a8d71041c Release 8.20. 2023-11-10 21:54:48 +01:00
Rémi Bernon 9fb8469bbe dmime: Avoid leaking performance channel block ports. 2023-11-10 20:54:41 +01:00
Rémi Bernon 467f3a2adb dmime: Simplify and rename channel_block_set to channel_block_init. 2023-11-10 20:54:41 +01:00
Rémi Bernon 0e73870ecd dmime: Introduce a new performance_get_channel helper. 2023-11-10 20:54:41 +01:00