Commit graph

164551 commits

Author SHA1 Message Date
Alexandre Julliard 231f1854f5 ntdll: Don't use WINAPI for KeUserModeCallback(). 2023-06-01 15:56:13 +02:00
Alexandre Julliard 091513ffaa ntdll: Don't pass arguments on the stack for user callbacks on ARM. 2023-06-01 15:56:08 +02:00
Alexandre Julliard d8c39b3d5a ntdll: Don't pass arguments on the stack for user callbacks on i386. 2023-06-01 15:56:08 +02:00
Alexandre Julliard 50ac25554c ntdll: Don't pass arguments on the stack for user callbacks on x86-64.
And convert to the sysv ABI.
2023-06-01 14:26:14 +02:00
Alexandre Julliard efa99eab0b ntdll: Don't pass arguments on the stack for user callbacks on ARM64. 2023-06-01 12:44:31 +02:00
Tim Clem 6b0836e3f1 loader: Reserve some space for 32-bit top-down allocations on 64-bit. 2023-05-31 22:50:10 +02:00
Rémi Bernon 0a33018211 user32/tests: Test more ClipCursor reset scenarios. 2023-05-31 22:50:10 +02:00
Rémi Bernon 1bf316c0d9 user32/tests: Add a helper to run a test in a process. 2023-05-31 22:50:10 +02:00
Rémi Bernon 29ac54e300 user32/tests: Zero-initialize keyboard state array. 2023-05-31 22:50:10 +02:00
Paul Gofman 596dfad38b winegstreamer: Don't pre-check sample size in wg_transform_read_mf(). 2023-05-31 22:50:10 +02:00
Rémi Bernon 4d1a331c66 winegstreamer: Use the output wg_format in CAPS sink query.
Instead of constraining the output caps to the current resolution, which
breaks when streams with different resolutions are concatenated.
2023-05-31 22:50:10 +02:00
Rémi Bernon 52387aa1a4 winegstreamer: Generate H264 timestamps using the input type frame rate.
And remove h264parse element requirement.
2023-05-31 22:50:10 +02:00
Rémi Bernon 8caaca177e winegstreamer: Use an IMFMediaType for the internal stream type. 2023-05-31 22:50:10 +02:00
Rémi Bernon 6184ac8c9f mf/tests: Add H264 decoder tests with concatenated streams. 2023-05-31 22:50:10 +02:00
Rémi Bernon 46d276188e user32: Remove now unused virtual screen helpers. 2023-05-31 22:50:10 +02:00
Davide Beatrici c899cc8215 wineoss: Use mmdevapi's AudioClient2. 2023-05-31 22:50:10 +02:00
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