Commit graph

168753 commits

Author SHA1 Message Date
Huw Davies 55b3e6095b dnsapi: Update the array ptr in the insufficient buffer case.
Fixes a regression caused by da65aa5b74.
2023-12-21 16:58:24 +01:00
Eric Pouech 6e9668450a winmm: Fill in pIOProc field in MMIOINFO.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55942
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-21 16:58:09 +01:00
Zebediah Figura 73072be1e6 qcap/audiorecord: Do not leak the sample when pausing or stopping. 2023-12-20 22:20:49 +01:00
Rémi Bernon a6e969560b wined3d: Store the resource heap memory pointer separately.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55773
2023-12-20 22:20:49 +01:00
Rémi Bernon e7d7ac7708 wined3d: Add more padding to resource memory allocations.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55773
2023-12-20 22:20:49 +01:00
Alex Henrie 4e95553a2d comctl32/listview: Ignore the lParam to WM_PRINTCLIENT and add tests.
Based on simliar patch for comctl32/treeview: 231199bc46

WM_PRINTCLIENT paints the items of a listview, including the item
backgrounds, but never the listview background.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54878
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55005
Co-authored-by: Bernhard Übelacker <bernhardu@mailbox.org>
2023-12-20 22:20:49 +01:00
Alistair Leslie-Hughes af45d28625 msdasql/tests: Add missing carriage returns. 2023-12-20 22:20:49 +01:00
Alexandre Julliard b724a79e36 comctl32: Fix string comparison for listbox inexact matches.
Same as 343398d23e.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55446
2023-12-20 22:20:38 +01:00
Bernhard Übelacker b0db6cfd4d winedbg: Retrieve module architecture before sorting.
This should avoid getting i386 when the process really is x86_64,
with just a single i386 module loaded.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56048
2023-12-19 21:41:02 +01:00
Rémi Bernon 54b8049de2 imm32/tests: Fix HKL comparison when cleaning up preload list. 2023-12-19 14:14:05 +01:00
Zhiyi Zhang 1922902041 win32u: Create a real bitmap object for display DCs.
TightVNC viewer passes the bitmap object from display DCs to GetDIBits() and expect it to succeed.
So merely a bitmap handle no longer suffices. Thus create a real bitmap instead.

Fix a regression from 546cbdc.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54381
2023-12-19 14:14:05 +01:00
Zhiyi Zhang a47e2a5e1f user32/tests: Add more display DC tests.
Test that passing the bitmap object from display DCs to GetDIBits() should succeed.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54381
2023-12-19 14:14:05 +01:00
Fabian Maurer 69b335b56b wineps: Don't leak memory in error case (Coverity). 2023-12-19 14:14:05 +01:00
Alex Henrie 1d412eaca8 po: Update Catalan translation. 2023-12-19 14:14:05 +01:00
Alexandre Julliard 3fb882167f winecfg: Support all Windows versions also in 64-bit mode.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56039
2023-12-19 14:14:04 +01:00
Alexandre Julliard 443e49084e ntdll: Add a more explicit failure for 32-bit prefix in wow64 mode.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56039
2023-12-19 14:05:28 +01:00
Alexandre Julliard 343398d23e user32: Fix string comparison for listbox inexact matches.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55446
2023-12-19 12:52:15 +01:00
Alexandre Julliard 3e0c21bed1 wow64: Initialize the syscall dispatcher in the 32-bit TEB. 2023-12-19 11:58:13 +01:00
Eric Pouech 7b0d974439 dbghelp: Fix some tests for SymLoadModule*().
On top of being closer to native behavior, this helps some
games where:
- they use dbghelp to gather information of where they generate exceptions,
- they generate exception in the game play,
- and refresh their list of loaded modules in dbghelp.

This can generate some delays (~2ms per module), which affects
game play (freeze, slugginess...).

Credit to Paul Gofman for triaging this.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-18 22:26:11 +01:00
Eric Pouech f5e86cbea6 dbghelp/tests: Extend tests for module loading.
Basically, showing specific behavior when calling SymLoadModule()
with a non-null base address, and that address is already
the exact base address of a loaded module.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-18 22:26:09 +01:00
Rémi Bernon 2e90c01696 server: Ignore the capture window wrt desktop cursor changes.
This partially reverts commit c3dcf1e269.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55306
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56046
2023-12-18 22:14:57 +01:00
Rémi Bernon bb496ea847 server: Always queue mouse messages delivered to another window.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55306
2023-12-18 22:14:57 +01:00
Jacek Caban 46df584cc5 win32u: Use 32-bit window extra size on wow64.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55582
2023-12-18 21:50:35 +01:00
Eric Pouech 5cbe3a6cb1 riched20: Don't write past end of buffer.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-18 21:50:19 +01:00
Eric Pouech 015aae30cf riched20: Don't crash when no OLE obj is present.
This was generating a lot of crashes in riched20 tests.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-18 21:50:16 +01:00
Rémi Bernon 7b947654b2 user32/tests: Avoid calling UnloadKeyboardLayout.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51478
2023-12-18 20:57:01 +01:00
Rémi Bernon e98388b6a0 dinput/tests: Avoid calling UnloadKeyboardLayout.
This seems to later mess up with the preload keyboard list and
GetKeyboardLayoutNameW.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51478
2023-12-18 20:57:01 +01:00
Rémi Bernon c29d7330bc user32/tests: Skip some keyboard layout tests on broken VMs.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55327
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55328
2023-12-18 20:57:01 +01:00
Rémi Bernon 6e815d773d user32/tests: Dynamically resize the keyboard layout preload list. 2023-12-18 20:57:01 +01:00
Akihiro Sagawa 1cef923e20 po: Update Japanese translation. 2023-12-18 20:57:01 +01:00
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