1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00
Commit graph

169830 commits

Author SHA1 Message Date
Martin Storsjö
aa78b46e9c arm64: Expose information about more modern CPU extensions.
Signed-off-by: Martin Storsjö <martin@martin.st>
2024-03-05 20:50:23 +01:00
Rémi Bernon
c9ffab4602 win32u: Add support for sending and receiving WM_POINTER* messages. 2024-03-05 20:50:07 +01:00
Rémi Bernon
61d1c18957 server: Add support for sending and receiving WM_POINTER* messages. 2024-03-05 20:50:07 +01:00
Rémi Bernon
48f8db6c30 mouhid.sys: Send WM_POINTER* messages on contact updates. 2024-03-05 20:50:07 +01:00
Rémi Bernon
13f908b9b5 dinput/tests: Test the WM_POINTER* message parameter values. 2024-03-05 20:50:07 +01:00
Rémi Bernon
bb5f0e122f win32u: Use a custom struct hid_input for NtUserSendHardwareInput. 2024-03-05 20:50:06 +01:00
Rémi Bernon
66baee8b99 win32u: Use NtUserCallHwndParam interface for __wine_send_input. 2024-03-05 20:50:06 +01:00
Eric Pouech
ad921b3c56 dbghelp: Return matched information for path_find_symbol_file.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-05 20:46:36 +01:00
Eric Pouech
f824a72c7f dbghelp: Get rid of struct pdb_lookup.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-05 20:46:36 +01:00
Eric Pouech
feee77f84d dbghelp: Rework loading of PDB string table.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-05 20:46:36 +01:00
Eric Pouech
f014745676 dbghelp: Always use SymGetSrvIndexFileInfo() for files lookup.
This will help separate debug info files lookup from their actual
loading once found and correctly matched.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-05 20:46:34 +01:00
Eric Pouech
ec099b8ea3 dbghelp/tests: Add more tests for SymLoadModule*.
- SymLoadModules flags (SLMFLAG_VIRTUAL and SLMFLAG_NO_SYMBOLS),
- handling of load details (SymType, ImageName vs LoadedImageName,
  various instances of module name).

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-05 20:46:26 +01:00
Alexandre Julliard
a9428fe390 ntdll: Use a common wrapper to call unwind handlers on ARM. 2024-03-05 14:34:52 +01:00
Alexandre Julliard
5f890e3ce9 ntdll: Use a common wrapper to call unwind handlers on ARM64. 2024-03-05 14:34:52 +01:00
Alexandre Julliard
d6285af1fc ntdll: Use a common wrapper to call exception handlers on ARM. 2024-03-05 10:30:26 +01:00
Alexandre Julliard
8d8c10fe92 ntdll: Use a common wrapper to call exception handlers on ARM64. 2024-03-05 10:30:17 +01:00
Alexandre Julliard
5c98412929 ntdll: Also copy non-volatile regs on collided unwind.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56401
2024-03-05 10:14:18 +01:00
Paul Gofman
6f55a13169 ntdll: Respect red zone in usr1_handler() on x64.
Fixes a regression introduced by
efd3d31082.
2024-03-05 09:03:48 +01:00
Eric Pouech
c1b8db0c28 dbghelp: Don't search the passed path in SymFindFileInPath.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-04 22:52:13 +01:00
Eric Pouech
1648569fad dbghelp: Don't fail on loading 64bit modules on 32bit applications.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-04 22:52:13 +01:00
Eric Pouech
0ca1350a03 dbghelp/tests: Add tests about SymLoadModule and finding pdb files.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-04 22:52:13 +01:00
Eric Pouech
a56b018713 dbghelp/tests: Add tests for SymFindFileInPath for pdb files.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-04 22:52:13 +01:00
Eric Pouech
2abbee9540 dbghelp/tests: Add tests for image files lookup.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-04 22:52:13 +01:00
Zhiyi Zhang
058bfeed1d advapi32/tests: Test creating registry keys with a NULL return key pointer. 2024-03-04 22:50:27 +01:00
Zhiyi Zhang
d2045611b6 advapi32: Check NULL return key pointers when creating registry keys.
Fix Warlords Battlecry III (433280) crashes at launch.
2024-03-04 22:50:25 +01:00
Florian Will
8dc5242e29 ws2_32: Implement TCP_KEEP{ALIVE,CNT,INTVL} options. 2024-03-04 22:39:57 +01:00
Florian Will
26136fda8d ws2_32/tests: Test TCP_KEEP{ALIVE,CNT,INTVL} options. 2024-03-04 22:39:57 +01:00
Florian Will
6d2a900487 include: Add TCP_KEEPCNT and TCP_KEEPINTVL definitions. 2024-03-04 22:39:57 +01:00
Connor McAdams
eb06945b5b webservices/tests: Fix -Warray-bounds warning on gcc 13.2.0.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-03-04 16:54:54 +01:00
Nikolay Sivov
2c9f67938f d3dcompiler: Enable semantic names mapping in compatibility mode.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-03-04 16:54:54 +01:00
Zebediah Figura
af7f11bb2a shell32: Implement Paste in the item menu.
Based on a patch by Michael Müller.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=34319
2024-03-04 15:39:06 +01:00
Zebediah Figura
5744ef64a4 shell32: Respect the parent PIDL when pasting from CFSTR_SHELLIDLIST. 2024-03-04 15:39:06 +01:00
Zebediah Figura
c4b38894cd shell32: Reimplement pasting from CF_DROP directly.
Don't convert the source to PIDLs just to convert it back to paths.
2024-03-04 15:39:06 +01:00
Zebediah Figura
48bcf74678 shell32: Add a get_data_format() helper.
Make the logic in do_paste() a bit more idiomatic.
2024-03-04 15:39:06 +01:00
Zebediah Figura
35f5997075 shell32: Move DoPaste() up.
And simplify the control flow a bit while we're at it.
2024-03-04 15:39:06 +01:00
Zebediah Figura
0bc47920d3 shell32: Remove useless and commented out code. 2024-03-04 15:39:06 +01:00
Zebediah Figura
08219c02b3 shell32/tests: Add tests for context menu copy/paste. 2024-03-04 15:39:06 +01:00
Zebediah Figura
366398cc53 msi: Create the custom action server as an elevated process.
Dragon Naturally Speaking 12.5 manually validates that the custom action server
is elevated.

One might imagine that the right approach here is to add a manifest to msiexec;
however, msiexec does not always trigger a UAC prompt on Windows.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51143
2024-03-04 15:39:06 +01:00
Zebediah Figura
b381f9d095 wine.inf: Set the EnableLUA value to 1.
This signifies that UAC is active.

Foobar2000 checks this value, and won't even try to elevate itself otherwise.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50727
2024-03-04 15:39:06 +01:00
Zebediah Figura
8cc22a60c3 shell32: Elevate the child process for the "runas" verb.
Like all other verbs, the actual command line template is specified in the
registry. The elevation seems to be hardcoded into shell32 for this specific
verb.

The Foobar2000 installer requires administrator privileges, and elevates itself
in this way.

Based on a patch by Michael Müller.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50727
2024-03-04 15:39:06 +01:00
Philip Rebohle
ec6879b78e winevulkan: Update to VK spec version 1.3.279.
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2024-03-04 15:39:06 +01:00
Hans Leidekker
90f31fbd0a netprofm/tests: Mark a test result as broken on Windows 11. 2024-03-04 15:39:06 +01:00
Shaun Ren
43220a6063 sapi: Implement ISpeechVoice::{get/putref}_Voice. 2024-03-04 15:39:06 +01:00
Shaun Ren
7c384f361a sapi: Implement ISpeechVoice::{get/put}_Volume. 2024-03-04 15:39:06 +01:00
Rémi Bernon
bf800b5e76 mfreadwrite/reader: Adjust min_buffer_size to be 1s of audio data. 2024-03-04 15:39:06 +01:00
Zhiyi Zhang
7865026f53 rtworkq: Avoid possible scenarios that an async callback could be called twice.
Consider a thread A running waiting_item_cancelable_callback() and a thread B running queue_cancel_item(),
which is the scenario from canceling a work item right after it gets submitted by RtwqPutWaitingWorkItem().
When the invoke_async_callback() call in queue_cancel_item() for item key with WAIT_ITEM_KEY_MASK in
thread B runs before the queue_release_pending_item() in waiting_item_cancelable_callback() in thread
A, the async callback is called the first time in queue_cancel_item() with RTWQ_E_OPERATION_CANCELLED,
then a second time in waiting_item_cancelable_callback(). We should check in queue_release_pending_item()
whether an item is already removed by queue_cancel_item() before calling async callbacks.

A different scenario could happen for scheduled_item_cancelable_callback() with the function ends
up calling its async callback even after it has been canceled by queue_cancel_item().
2024-03-04 15:39:06 +01:00
Zhiyi Zhang
f3bab6c5b7 rtworkq: Avoid closing a thread pool object while its callbacks are running.
Consider a thread A running scheduled_item_cancelable_callback() and a thread B running queue_cancel_item(),
which is the scenario from canceling a work item right after it gets submitted by RtwqScheduleWorkItem().
When the CloseThreadpoolTimer() call in queue_cancel_item() in thread B runs before the queue_release_pending_item()
in scheduled_item_cancelable_callback() in thread A, scheduled_item_cancelable_callback() ends up
calling work_item_Release() and CloseThreadpoolTimer() is called again for the same timer object. So
the thread pool timer object end up getting released while the scheduled_item_cancelable_callback()
is running, triggering the '!object->num_running_callbacks' assertion in tp_object_release(). This
is actually a double free but the assertion happens before the second free could happen. The same
thing could happen for thread pool wait objects as well.

Fix mf and mfmediaengine tests sometimes trigger the '!object->num_running_callbacks' assertion.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55724
2024-03-04 15:39:06 +01:00
Tim Clem
c5f9d9188a winebus.sys: Only attempt to open joysticks and gamepads in the IOHID backend.
An extension of 3985b7c5. Opening the device for the Touch Bar on
older MacBooks also triggers a permission prompt, so for now it makes
sense to restrict the devices we open.
2024-03-04 15:39:06 +01:00
Zebediah Figura
4a227c62a5 msi: Multiply by 512 in dialog_vcl_add_drives().
The main motivation here is to avoid overflow, and multiplying in one place seems simpler.
2024-03-04 15:39:06 +01:00
Zebediah Figura
d7bbe884ef msi: Store component cost in 512-byte units.
This avoids overflow when component costs exceed 4 GB.
2024-03-04 15:39:06 +01:00