Commit graph

168873 commits

Author SHA1 Message Date
Nikolay Sivov
28d95c0c91 oleaut32/typelib: Add a missing break (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-12-18 16:38:29 +01:00
Georg Lehmann
fe41590dfe vulkan-1/tests: Enable feature in private data test.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51314
2023-12-18 10:03:27 +01:00
Paul Gofman
cbcfaab519 ntdll: Use position independent syscall thunk for NtQueryInformationProcess on i386.
Fixes a regression introduced by commit
efd03f40e6.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55967
2023-12-17 17:42:14 +01:00
Alexandre Julliard
7a8c039a5c Release 9.0-rc2. 2023-12-15 22:09:59 +01:00
Alexandros Frantzis
516bfa1241 winewayland.drv: Support mouse buttons 4 and 5.
Map linux mouse buttons to win32 XBUTTON1 and XBUTTON2. Although
BTN_SIDE and BTN_EXTRA are the typical event codes for these buttons,
some drivers use BTN_BACK and BTN_FORWARD, so map both pairs.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56026
2023-12-15 21:10:17 +01:00
Alexandros Frantzis
b853a670cf winewayland.drv: Release all keys on keyboard focus loss.
The Wayland specification states about the keyboard leave event:

  After this event client must assume that all keys, including
  modifiers, are lifted and also it must stop key repeating if
  there's some going on.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56001
2023-12-15 21:10:17 +01:00
Rémi Bernon
c3dcf1e269 server: Use the capture window as cursor window if it is set.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55306
2023-12-15 21:10:17 +01:00
Rémi Bernon
82642e34e1 server: Update the desktop cursor position / window on click.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55306
2023-12-15 21:10:17 +01:00
Hans Leidekker
77b3662517 kernel32/tests: Fix ProcessMachineTypeInfo tests. 2023-12-15 15:47:48 +01:00
Alexandre Julliard
206a7495ab oleaut32/tests: Run the 64-bit typelib tests also on 32-bit platforms. 2023-12-15 15:47:48 +01:00
Alexandre Julliard
613270d49f oleaut32: Fix loading a 64-bit typelib in 32-bit mode.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55962
2023-12-15 15:47:48 +01:00
Alexandre Julliard
4ffc313d9d Revert "oleaut32: Check that the 32/64 syskind matches when getting a typelib from the cache.".
This reverts commit 43e5f9e4bf.
The proper fix is more complicated.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55962
2023-12-15 15:47:48 +01:00
Alexandre Julliard
7760c1dbb3 oleaut32/tests: Use winetest contexts instead of traces in the typelib test. 2023-12-15 15:47:48 +01:00
Alexandre Julliard
4a929eaf97 user32: Support utf-8 in WM_CHAR W->A conversion.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55655
2023-12-15 13:16:38 +01:00
Alexandre Julliard
bd693d6755 kernel32/tests: Don't bother checking for errors in cleanup path.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55578
2023-12-15 11:03:48 +01:00
Alexandre Julliard
24f7869e93 server: Enforce a mapping size limit instead of relying on the Unix file system.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55667
2023-12-15 10:11:22 +01:00
Jactry Zeng
3504f138ec po: Update Simplified Chinese translation. 2023-12-15 10:10:07 +01:00
Alexandros Frantzis
bd61e91859 winewayland.drv: Consider implicit fullscreen clip for pointer locking.
If the foreground window is fullscreen on the whole virtual screen,
allow the pointer to be locked (if the cursor is hidden), even if we
don't have an explicit fullscreen clip.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56022
2023-12-14 23:40:04 +01:00
Biswapriyo Nath
6fed2f967b include: Add SampleGrabber coclass definition in qedit.idl. 2023-12-14 23:40:04 +01:00
Sven Baars
5def0d2e78 sapi/tests: Remove registry keys created by SetId() in the SpVoice tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55288
2023-12-14 23:40:04 +01:00
Alexandre Julliard
aa7a0f5198 krnl386: Don't release the Win16 lock when exiting a task.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54402
2023-12-14 23:40:04 +01:00
Alexandre Julliard
7a7b82880a ntdll: Only free reserved memory for DYNAMIC_BASE binaries.
To avoid triggering more pointer-truncation bugs in applications.
2023-12-14 23:40:04 +01:00
Alexandre Julliard
0a5f7a7103 ntdll: Switch to the user stack before restoring the %fs register.
Based on a patch by Rémi Bernon.
2023-12-14 23:40:04 +01:00
Alexandre Julliard
b5564cc130 ntdll: Switch to the kernel stack before restoring the pthread TEB.
Based on a patch by Rémi Bernon.
2023-12-14 11:56:21 +01:00
Bernhard Übelacker
715b9d86f4 uxtheme: Add stub for IsDarkModeAllowedForWindow.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56006
2023-12-14 11:16:34 +01:00
Rémi Bernon
19ad5bd598 server: Peek wine internal driver messages regardless of filter.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55774
2023-12-13 19:13:01 +01:00
Sven Baars
8fa8ebaa47 sapi/tests: Remove registry keys created by SetId().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55288
2023-12-13 19:13:01 +01:00
Rémi Bernon
23ee9b2969 explorer: Handle WM_CLOSE for docked icons for when they lose embedding.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56015
2023-12-13 19:13:01 +01:00
Hans Leidekker
f9542adb38 dnsapi/tests: Don't test extra records returned for CNAME query.
It depends on DNS configuration.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54847
2023-12-13 19:13:01 +01:00
Rémi Bernon
d748440ea2 mf/tests: Workaround broken Win7 test_h264_decoder_concat_streams result.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55638
2023-12-12 23:15:03 +01:00
Akihiro Sagawa
fad15dae93 comctl32/tests: Store old DPI awareness context. 2023-12-12 23:15:03 +01:00
Alexandros Frantzis
902884e6db winewayland.drv: Avoid transient deactivation of foreground thread.
When updating the foreground window, even if both the old and new active
window belong to the same non-current thread, the win32u code currently
explicitly deactivates the old window. This will cause the transient
deactivation of the foreground thread which can lead to undesirable
side-effects (e.g., some apps may minimize when they become inactive).

Until this is fixed in Wine core, use an internal driver message to
ensure that we call NtUserSetForegroundWindow from the context of
the new foreground window thread, to avoid the problematic behavior.
2023-12-12 23:15:03 +01:00
Hans Lehnert
a03cbbdbe2 gdiplus: Fix invalid pointer returned when failing to create font. 2023-12-12 23:15:03 +01:00
Rémi Bernon
31c61075be winebus: Return backend init status from bus_main_thread_start.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54361
2023-12-12 23:15:03 +01:00
Alexandre Julliard
7cd2821d67 kernelbase: Don't validate calendar id for GetCalendarInfo(CAL_ITWODIGITYEARMAX).
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53845
2023-12-12 11:01:14 +01:00
Eric Pouech
f2d98ea7cf dbghelp: Skip deleted vector in hash inside PDB header.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-11 23:11:20 +01:00
Eric Pouech
135b132dc2 winedump: Skip deleted vector in hash inside PDB header.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-11 23:11:20 +01:00
Eric Pouech
6d7839418e dbghelp: Allow an extra stream index entry in PDB files.
Latest MSVC version use this.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-11 23:11:20 +01:00
Eric Pouech
525f990e70 winedump: Don't fail on extra stream entry in PDB.
Latest versions of MSVC use this.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-11 23:11:20 +01:00
Alexandre Julliard
d96864eb4f server: Leave some free space between modules in ASLR mode.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55993
2023-12-11 23:11:19 +01:00
Fabian Maurer
00692f5bf5 gdiplus: Prevent uninitializd memory access (Coverity).
This fixes a regression by 69d815407d
Originally this used GdipAlloc (calloc)
2023-12-11 23:11:19 +01:00
Akihiro Sagawa
c03c17277f winex11: Do window search if IDropTarget::DragOver() returns DROPEFFECT_NONE.
Fixes a regression from 1d337249f1.

Prior to the commit, we were solving this case in a different way.
If IDropTarget::DragOver() returned DROPEFFECT_NONE,
X11DRV_XDND_DROPEFFECTToXdndAction() would convert it to XdndActionCopy.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55179
2023-12-11 23:11:19 +01:00
Jacek Caban
6ea417d339 ntdll: Declare seh debug channel in signal_arm64ec.c. 2023-12-11 23:11:19 +01:00
Jacek Caban
c84812c86a configure: Enable -Wenum-conversion warnings. 2023-12-11 23:11:19 +01:00
Jacek Caban
e4ee1ffeb9 dwrite: Explicitly cast DWRITE_FONT_STRETCH to float in init_font_prop_vec. 2023-12-11 23:11:19 +01:00
Alexandros Frantzis
a71ec54df8 winewayland.drv: Avoid deadlock when determining whether a window is managed.
The is_window_managed function may acquire the (non-recursive) win_data lock
internally (is_window_managed->has_owned_popups->is_managed), so do not call
it with the win_data lock held.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55995
2023-12-11 23:11:19 +01:00
Floris Renaud
f43246a389 po: Update Dutch translation. 2023-12-11 23:11:19 +01:00
Bartosz Kosiorek
a56954faf4 po: Update Polish translation. 2023-12-11 20:39:46 +01:00
Aurimas Fišeras
740519bd75 po: Update Lithuanian translation. 2023-12-09 16:41:07 +01:00
Alexandre Julliard
93f7ef8670 Release 9.0-rc1. 2023-12-08 22:35:51 +01:00