1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-09 04:16:08 +00:00
Commit Graph

164564 Commits

Author SHA1 Message Date
Alex Henrie
36cf952664 bcrypt/tests: Don't allocate inside todo_wine and free outside of it.
Fixes a warning on GCC 13.
2023-06-02 09:29:37 +02:00
Alex Henrie
870a9fcb4c iphlpapi: Add GetPerTcpConnectionEStats stub.
Based on a patch by Austin English.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52868
2023-06-02 09:29:24 +02:00
Piotr Caban
0336d66ea1 msvcr100: Fix next writer unblocking in reader_writer_lock::unlock.
Fixes regression introduced by 256c344550.
2023-06-01 22:00:19 +02:00
Michael Stefaniuc
cf3815dc59 dbghelp: Remove superfluous casts to self. 2023-06-01 22:00:19 +02:00
Michael Stefaniuc
19cc1dbe56 wmvcore: Remove superfluous casts to self. 2023-06-01 22:00:19 +02:00
Michael Stefaniuc
51f8c75ceb ws2_32/tests: Remove superfluous casts to self. 2023-06-01 22:00:19 +02:00
Paul Gofman
e7845fc330 kernelbase: Don't modify non-volatile regs in RaiseException() on x64. 2023-06-01 22:00:19 +02:00
Alistair Leslie-Hughes
1db53cdcbb xactengine: IXACT3EngineImpl_CreateSoundBank isn't a stub. 2023-06-01 22:00:19 +02:00
Alistair Leslie-Hughes
6a685626be xactengine: Correct XACTNOTIFICATIONTYPE_MAX value.
XACTNOTIFICATIONTYPE_WAVEBANKSTREAMING_INVALIDCONTENT is defined as 18.
2023-06-01 22:00:19 +02:00
Alistair Leslie-Hughes
77e0aae7f3 krnl386.exe16: Don't overflow when calculating size.
The application again the bug, passed 1 as the elem parameter which
doubled the memory being allocated.  When it overflowed (became negative),
the value was passed into GlobalAlloc16 which then failed.

GlobalAlloc16 takes a DWORD parameter, so the value isn't going to be truncated.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53092

Original patch by github user cracyc for winevdm.
2023-06-01 22:00:19 +02:00
Aurimas Fišeras
c1588b1bfd po: Update Lithuanian translation. 2023-06-01 20:57:32 +02:00
Alexandre Julliard
7d279bcd3b include: Only declare __wine_unix_call() on the PE side. 2023-06-01 20:57:32 +02:00
Alexandre Julliard
1aa2f0d128 ntdll: Store the PE function pointers as simple void pointers.
Their prototypes are not meaningful on the Unix side.
2023-06-01 17:24:06 +02:00
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