Commit graph

168774 commits

Author SHA1 Message Date
Alexandre Julliard
06bfde3bff Update copyright info for 2024. 2024-01-01 20:15:23 +01:00
Yuxuan Shui
91a29134ff dmime: Fix handling of curve PMSG.
DMUS_PMSG::dwType is the type of the message, but we are comparing it to
curve types. We should be using DMUS_CURVE_PMSG::bType instead.
2023-12-27 14:59:49 +01:00
Lauri Kenttä
46030d41fd readme: Update Finnish translation. 2023-12-27 12:14:19 +01:00
Lauri Kenttä
eca7de021b po: Update Finnish translation. 2023-12-27 12:14:19 +01:00
Brendan Shanks
6b4eae4088 server: Fix compile error on FreeBSD/NetBSD.
F_GETPATH is currently only implemented on macOS.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56047
2023-12-27 12:14:14 +01:00
Brendan Shanks
2c14e0777a include: Assert that the debug channel name will be null-terminated and is not too long. 2023-12-27 12:12:14 +01:00
Fan WenJie
857ce7eeb5 wineandroid: Fix incorrect checking reason.
Signed-off-by: Fan WenJie <fanwj@mail.ustc.edu.cn>
2023-12-27 12:11:55 +01:00
Alexandre Julliard
bba97115d1 Release 9.0-rc3. 2023-12-22 21:55:14 +01:00
Paul Gofman
d5a5800b53 dxdiagn: Check ICreateDevEnum_CreateClassEnumerator result for S_OK. 2023-12-22 21:51:28 +01:00
Eric Pouech
8cbf27659b winedbg: Fix main module detection in 'info share' command.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-22 21:50:55 +01:00
Rémi Bernon
930776022d dmime/tests: Remove some unnecessary and spuriously failing waits.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55637
2023-12-22 18:14:53 +01:00
Rémi Bernon
3ad341b603 dmime/tests: Add optional notification sequence on segment stop.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55637
2023-12-22 18:14:53 +01:00
Rémi Bernon
cbf48daecf dmime/tests: Allow small time variation in test_segment_state.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55637
2023-12-22 18:14:53 +01:00
Rémi Bernon
2f86a5d6cb dmime/tests: Allow small time variation in test_performance_time.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55637
2023-12-22 18:14:53 +01:00
Rémi Bernon
6447b11b17 dmime/tests: Check reference time and allow 0.5 tick difference.
Renaming check_music_time to check_reference_time, as it's truly
reference time values that are passed.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55637
2023-12-22 18:14:50 +01:00
Paul Gofman
eaca0f44be include: Fix boolean return value definition in IIterator<T> methods. 2023-12-22 18:14:40 +01:00
Eric Pouech
371827c3ef dbghelp/tests: Wait for child window to be up before testing.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-21 21:15:47 +01:00
Rémi Bernon
d1789fbb40 server: Change desktop cursor only when inside the thread's windows.
Getting rid of the desktop cursor handle at the same time.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55961
2023-12-21 18:39:04 +01:00
Rémi Bernon
9dc80b13be server: Introduce a new get_desktop_cursor_thread_input helper.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55961
2023-12-21 18:39:04 +01:00
Brendan McGrath
fa873804fb server: Always release internal hardware messages. 2023-12-21 18:38:59 +01:00
Huw Davies
5b0430a178 dnsapi: Free the buffer in the early return paths. 2023-12-21 16:58:26 +01:00
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