Commit graph

171191 commits

Author SHA1 Message Date
Danyil Blyschak d28d7bd52c shcore: Check optional pointer in filestream_CopyTo() before writing to it.
Check that the 'written' parameter in this function is non-null before
incrementing it by 'written_chunk'.
2024-05-21 20:46:52 +02:00
Jacek Caban 3ee6f3b918 mshtml: Use DISPEX_IDISPATCH_IMPL macro in htmlstyleelem.c. 2024-05-21 20:35:26 +02:00
Jacek Caban 72dccb8f63 mshtml: Use DISPEX_IDISPATCH_IMPL macro in htmlstyle.c. 2024-05-21 20:35:26 +02:00
Jacek Caban 628adb0959 mshtml: Use DISPEX_IDISPATCH_IMPL macro in htmlstorage.c. 2024-05-21 20:35:26 +02:00
Jacek Caban 4109d74a0a mshtml: Use DISPEX_IDISPATCH_IMPL macro in htmlselect.c. 2024-05-21 20:35:26 +02:00
Jacek Caban 4123cb706a mshtml: Use DISPEX_IDISPATCH_IMPL macro in htmlscript.c. 2024-05-21 20:35:26 +02:00
Jacek Caban 35314af068 mshtml: Use DISPEX_IDISPATCH_IMPL macro in htmlobject.c. 2024-05-21 20:35:26 +02:00
Rémi Bernon c2bdb4cf28 win32u: Enumerate offscreen vulkan devices as GPU devices. 2024-05-21 20:35:01 +02:00
Rémi Bernon 1e21f30007 win32u: Query GPU memory from vulkan physical device. 2024-05-21 20:35:01 +02:00
Rémi Bernon 73ad544354 win32u: Match driver GPUs with vulkan GPUS from their ids, or index. 2024-05-21 20:35:00 +02:00
Rémi Bernon de87343d20 win32u: Keep a list of vulkan GPUS in the device manager context. 2024-05-21 20:35:00 +02:00
Rémi Bernon 70cf97a59c win32u: Load the graphics driver vulkan functions lazily.
So that VulkanInit is only called when surface related functions are
needed, breaking the re-entry when we call d3dkmt vulkan functions
from update_display_cache, which is called when graphics drivers are
loaded.
2024-05-21 20:34:59 +02:00
Rémi Bernon 0ee8f4ab97 win32u: Fix default_update_display_devices return type to NTSTATUS. 2024-05-21 20:34:59 +02:00
Myah Caron 9731b96a6d msvcrt: Fix _kbhit ignoring the last event.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56697
Signed-off-by: Myah Caron <qsniyg@protonmail.com>
2024-05-21 20:34:31 +02:00
Alexandre Julliard 4c75033956 msvcp: Unify call_copy_ctor/call_dtor implementations. 2024-05-21 20:33:59 +02:00
Alexandre Julliard 897cc66fd8 msvcp: Unify __ExceptionPtrCurrentException implementation. 2024-05-21 20:33:50 +02:00
Alexandre Julliard 5e3f45a6c5 msvcp: Unify __ExceptionPtrCopyException implementation. 2024-05-21 20:33:37 +02:00
Alexandre Julliard 4f0c07acea msvcrt: Unify call_copy_ctor/call_dtor implementations. 2024-05-21 20:33:25 +02:00
Alexandre Julliard f25a4043dd msvcrt: Unify exception_ptr_from_record implementation. 2024-05-21 20:33:09 +02:00
Alexandre Julliard 68acc35acb msvcrt: Unify __ExceptionPtrCopyException implementation. 2024-05-21 20:32:59 +02:00
Alexandros Frantzis 2d44cbdd69 winewayland.drv: Populate vkey to wchar entry for VK_DECIMAL. 2024-05-21 20:32:15 +02:00
Alexandros Frantzis a5dc752b22 user32/tests: Add tests for SendInput with numpad scancodes. 2024-05-21 20:32:15 +02:00
Alexandros Frantzis 11ef7af768 server: Send numpad virtual keys if NumLock is active.
If the hardware keyboard event has KBD virtual key information, use it
to detect numpad key events and translate them to the appropriate
virtual keys depending on NumLock (and Shift) state.
2024-05-21 20:32:15 +02:00
Alexandros Frantzis f5f62c945c win32u: Store the full KBD vkey information in kbd_tables_init_vsc2vk. 2024-05-21 20:32:15 +02:00
Alexandros Frantzis c288c28eaf win32u: Allow drivers to send only the scan code for keyboard events.
The implementation will map the scan code to a virtual key code internally.
2024-05-21 20:32:15 +02:00
Alexandros Frantzis c4e636425a win32u: Emit number characters for numpad virtual keys. 2024-05-21 20:32:15 +02:00
Daniel Lehman 2e13067cc6 odbc32: Allow null handle for SQLSetEnvAttr.
It can be null for SQL_ATTR_CONNECTION_POOLING.
2024-05-21 09:33:24 +02:00
Brendan Shanks ed9ec141d5 ntdll: Don't warn on macOS and FreeBSD when xattr doesn't exist. 2024-05-20 22:49:25 +02:00
Alexandre Julliard f7e2ac9546 msvcrt: Unify _is_exception_typeof implementation. 2024-05-20 17:19:36 +02:00
Alexandre Julliard 6aa08b13e9 msvcrt: Unify _CxxThrowException implementation. 2024-05-20 17:19:32 +02:00
Alexandre Julliard df4c556249 msvcrt: Unify __RTDynamicCast implementation. 2024-05-20 17:19:28 +02:00
Alexandre Julliard 04755e4aac msvcrt: Unify __RTtypeid implementation. 2024-05-20 17:18:14 +02:00
Alexandre Julliard 3447792a5a msvcrt: Add helpers to abstract RVA accesses to RTTI data. 2024-05-20 17:18:04 +02:00
Fabian Maurer 033cf79760 oleaut32: Handle cases where invoking a get-only property with INVOKE_PROPERTYPUT returns DISP_E_BADPARAMCOUNT.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56666
2024-05-20 12:01:13 +02:00
Fabian Maurer 82036f42f1 oleaut32: Add test for invoking a dispatch get-only property with DISPATCH_PROPERTYPUT. 2024-05-20 12:00:48 +02:00
Alexandros Frantzis 653f00cf3e opengl32: Remove the wglDescribePixelFormat driver entry point.
All drivers have now switched to the get_pixel_formats entry point.
2024-05-20 11:57:16 +02:00
Danyil Blyschak c8117e8b67 win32u: Remove external fonts from the registry before writing to it.
In update_external_font_keys(), remove the fonts from the registry
immediately after we mark them for deletion, and then proceed to add or
update values in the registry.

This prevents a font from being marked as deleted, then being updated in
the registry, and then removed from the registry regardless. When this
happened, the registry would not contain the value for this font that we
intended to update it with. This function would need to run again for
this value to be added to the registry, but since this function runs
during initialization, this means that a subsequent launch of wine was
necessary. By removing the old value from the registry first, and then
adding the new one, the initialization process becomes idempotent
starting from the first run.
2024-05-20 11:56:49 +02:00
Esme Povirk d79eab9776 gitlab: Add unzip to build image.
I would like to reuse this build image for the Wine Mono CI
process (so that I don't have to separately maintain an image
that can run current Wine), but I need unzip to download and
extract artifacts from Wine's CI process.
2024-05-20 11:56:38 +02:00
Esme Povirk 8b55affe3e gdiplus: Bracket HDC use in GDI32_GdipDrawDriverString. 2024-05-20 11:56:30 +02:00
Esme Povirk d9d7e8f392 gdiplus: Bracket HDC use in GdipDrawString. 2024-05-20 11:56:30 +02:00
Esme Povirk 9d30cddf06 gdiplus: Bracket HDC use in GdipMeasureString. 2024-05-20 11:56:29 +02:00
Esme Povirk 8f20be4ab8 gdiplus: Bracket HDC use in GdipMeasureCharacterRanges. 2024-05-20 11:56:29 +02:00
Esme Povirk ab2931797c gdiplus: Replace HDC check in GdipFlush. 2024-05-20 11:56:29 +02:00
Paul Gofman c3d641927a wine.inf: Add InstallationType field to CurrentVersion. 2024-05-20 11:55:32 +02:00
Alexandre Julliard fd1da4521e Release 9.9. 2024-05-17 22:10:05 +02:00
Fabian Maurer 171e0adde5 win32u: Only set scroll timer if it's not running.
This fixes a regression from bb496ea8 where we got a WM_MOUSEMOVE
and this leads to skipping the initial scroll delay.
Also closer mimics windows behavior, moving the mouse
should not reset the scrolling timer.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56582
2024-05-17 19:49:05 +02:00
Fabian Maurer ea078cf479 win32u: Factor out scroll timer handling. 2024-05-17 19:49:02 +02:00
Huw Davies 7a4a9983ab maintainers: Remove Andrew Eikum.
As discussed with Andrew privately.
2024-05-17 19:48:58 +02:00
Huw Davies f612029d4e mmdevapi: Remove unused ACImpl typedef. 2024-05-17 19:48:58 +02:00
Eric Pouech d45cbca378 winedump: Correctly unmangle qualified pointer to function/method.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-17 19:48:58 +02:00