Commit graph

164535 commits

Author SHA1 Message Date
Davide Beatrici 1d8e171674 winecoreaudio: Use mmdevapi's AudioClient2. 2023-05-31 22:50:10 +02:00
Davide Beatrici 9b8e23b69b winealsa: Use mmdevapi's AudioClient2. 2023-05-31 22:50:10 +02:00
Davide Beatrici e054f72943 winepulse: Move AudioClient2 into mmdevapi. 2023-05-31 22:50:10 +02:00
Alex Henrie 4050ceb22f iphlpapi: Add GetCurrentThreadCompartmentId stub and a test.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54599
2023-05-31 22:50:10 +02:00
Rémi Bernon 900ba82654 win32u: Use WM_WINE_CLIPCURSOR / TRUE for empty clipping rect. 2023-05-31 22:50:10 +02:00
Rémi Bernon 3bce247bd2 win32u: Add a separate function to process WM_WINE_CLIPCURSOR. 2023-05-31 22:50:10 +02:00
Rémi Bernon 1cea2be9e8 win32u: Move cursor clipping functions to input.c. 2023-05-31 22:50:10 +02:00
Rémi Bernon c22c10d6e9 win32u: Move some window functions to window.c. 2023-05-31 22:50:10 +02:00
Rémi Bernon 8f9610fdff server: Use get_hardware_msg_bit consistently to classify messages. 2023-05-31 21:19:35 +02:00
Alexandre Julliard 4a91cf82fd win32u: Don't use WINAPI for private functions. 2023-05-31 13:35:53 +02:00
Alexandre Julliard a315420d31 win32u: Don't use WINAPI for the font enumeration function. 2023-05-31 13:35:53 +02:00
Alexandre Julliard ea958228d9 wineps: Don't use CDECL for private functions. 2023-05-31 13:35:06 +02:00
Jacek Caban 8c5dd2214e win32u: Don't use CDECL for gdi_dc_funcs entries. 2023-05-31 12:48:52 +02:00
Jacek Caban 7aa109501c wineps: Don't include gdi_driver.h from PE module. 2023-05-31 12:48:51 +02:00
Alexandre Julliard 56cfbf6b86 include: Only enable the non-inline NtCurrentTeb() on the Unix side. 2023-05-31 12:32:11 +02:00
Martin Storsjö 0fac6bcfa4 include: Fix the use of __getReg for aarch64/msvc mode.
Clang requires the __getReg function to be declared in addition to
be declared as an intrinsic with the pragma.

This fixes the following error:

../wine/include/winnt.h:2412:27: error: call to undeclared library function '__getReg' with type 'unsigned long long (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    return (struct _TEB *)__getReg(18);
                          ^
../wine/include/winnt.h:2412:27: note: include the header <intrin.h> or explicitly provide a declaration for '__getReg'
1 error generated.

Signed-off-by: Martin Storsjö <martin@martin.st>
2023-05-31 10:08:02 +02:00
Rémi Bernon 7ed63c30e8 imm32: Query the new input context in ImmAssociateContextEx / IACE_DEFAULT.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54991
2023-05-30 20:56:57 +02:00
Eric Pouech 542ccaaf84 dbghelp: Better handle very long C++ qualified identifiers in dwarf.
This fixes some crashes especially when dealing with very long C++ names
(like template classes).

Fortunately, dwarf internals don't require type lookup by name (eg.
on forward declaration), so the impact of thrashing some names is limited.

It's very likely native doesn't store directly these very long names
(it could either store the qualified mangled name - which can be way shorter
for template classes - or use the names in lexical hierarchy: both boil down
to storing less information, and recompute it (unmangle or class hierarchy
walk) upon request).
But this would need a proper C++ support in dbghelp. Not for today.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-05-30 20:56:31 +02:00
Gabriel Ivăncescu 0db9f33b7d mshtml: Handle protocols with no ports when checking target origin.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-05-30 20:55:52 +02:00
Davide Beatrici 11cc7af2e6 wineoss: Use mmdevapi's AudioClient3. 2023-05-30 16:42:12 +02:00
Davide Beatrici f10b5dcb8a winecoreaudio: Use mmdevapi's AudioClient3. 2023-05-30 16:42:12 +02:00
Davide Beatrici c0ba1bc9bb winealsa: Use mmdevapi's AudioClient3. 2023-05-30 16:42:12 +02:00
Davide Beatrici a7c23cee02 winepulse: Move AudioClient3 into mmdevapi. 2023-05-30 16:42:12 +02:00
Jacek Caban cd61eee30f ntdll: Get rid of hacks for direct unix calls. 2023-05-30 16:42:12 +02:00
Gabriel Ivăncescu 964f213e19 mshtml/tests: Test RegExp.toString on object with separate RegExp flag props.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-05-30 16:42:12 +02:00
Gabriel Ivăncescu c0e8f1669f jscript: Throw proper error for out of memory conditions in RegExp.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-05-30 16:42:12 +02:00
Gabriel Ivăncescu e7b06b0ddd jscript: Throw proper error for unexpected quantifiers in RegExp.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-05-30 16:42:12 +02:00
Gabriel Ivăncescu 627e5b3bf1 jscript: Return undefined for empty RegExp captures in ES5+ mode.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-05-30 13:46:18 +02:00
Gabriel Ivăncescu ce453e4210 mshtml: Fix classList toggle() when return value pointer is NULL.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-05-30 13:46:18 +02:00
Rémi Bernon 4b5311c7e0 explorer: Remove now unnecessary wine_create_desktop entry. 2023-05-30 13:45:47 +02:00
Rémi Bernon 4fcbbf8c9a winex11: Use the user driver interface to create host desktops. 2023-05-30 13:45:45 +02:00
Rémi Bernon e0d3683d89 wineandroid: Use the user driver interface to create host desktops. 2023-05-30 13:45:44 +02:00
Rémi Bernon f7d45533d1 explorer: Call user driver through a new CreateDesktop callback. 2023-05-30 13:45:43 +02:00
Rémi Bernon 0edc848bee explorer: Don't call driver create_desktop if desktop name is "root". 2023-05-30 13:45:42 +02:00
Rémi Bernon dbb63987f0 explorer: Use root window if driver doesn't implement create_desktop. 2023-05-30 13:45:42 +02:00
Rémi Bernon f9c1b6af12 explorer: Load graphics driver before calling CreateDesktopW. 2023-05-30 13:45:42 +02:00
Rémi Bernon 8b5bdb10d5 win32u: Call SetDesktopWindow when desktop window is successfully created.
When the default desktop window is created, its parent is always NULL,
and SetDesktopWindow is never called here.
2023-05-30 13:45:39 +02:00
Rémi Bernon 15dfe2ed2d win32u: Rename user driver CreateDesktopWindow entry to SetDesktopWindow.
This doesn't create anything, but instead notifies the user driver of
the current desktop window, either when it is created, or when a thread
calling NtUserGetDesktopWindow receives the current desktop window.
2023-05-30 13:45:33 +02:00
Georg Lehmann 8190aa25a0 winevulkan: Update to VK spec version 1.3.251. 2023-05-30 12:25:25 +02:00
Rémi Bernon 26c6386de9 server: Move set_cursor desktop local variable to wider scope. 2023-05-30 12:25:25 +02:00
Rémi Bernon 61dbfea452 server: Assume the internal clip message to be WM_WINE_CLIPCURSOR. 2023-05-30 12:25:25 +02:00
Alistair Leslie-Hughes d476a4cad7 include: Use STDMETHOD when returning HRESULT. 2023-05-30 12:24:21 +02:00
Alistair Leslie-Hughes cd8c46f9e4 xactengine: Correct interfaces for IXACT3Cue. 2023-05-30 12:24:02 +02:00
Paul Gofman fce615a2c3 ntdll: Support MEM_PRESERVE_PLACEHOLDER in NtUnmapViewOfSectionEx(). 2023-05-30 12:12:09 +02:00
Paul Gofman 3e3ca7dd28 ntdll: Validate flags in NtUnmapViewOfSectionEx(). 2023-05-30 12:12:09 +02:00
Paul Gofman 4806b1c226 kernelbase/tests: Add tests for MEM_PRESERVE_PLACEHOLDER with UnmapViewOfFile2(). 2023-05-30 12:12:09 +02:00
Paul Gofman cd8f0fbac8 ntdll: Factor out unmap_view_of_section() function. 2023-05-30 12:12:09 +02:00
Paul Gofman 03096546c9 ntdll: Support MEM_COALESCE_PLACEHOLDERS in NtFreeVirtualMemory(). 2023-05-30 12:12:09 +02:00
Alexandre Julliard d5f23441ad ntdll: Use nameless unions/structs for IO_STATUS_BLOCK. 2023-05-30 12:12:09 +02:00
Alexandre Julliard c3352feb83 ntdll: Use nameless unions/structs for CPU-related data. 2023-05-30 12:12:09 +02:00