Commit graph

160353 commits

Author SHA1 Message Date
Alexandre Julliard fd3017ff5b lcms2: Import upstream release 2.14. 2022-11-08 10:57:10 +01:00
Alexandre Julliard cfe8ee571d zlib: Import upstream release 1.2.13. 2022-11-08 10:57:10 +01:00
Alexandre Julliard d4ce1fd764 png: Import upstream release 1.6.38. 2022-11-08 10:46:59 +01:00
Alexandre Julliard 927f0530f4 faudio: Import upstream release 22.11. 2022-11-08 09:44:18 +01:00
Anton Baskanov 1d636da205 winegstreamer: Reject incompatible output types in MPEG layer-3 decoder.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-07 21:16:10 +01:00
Anton Baskanov f114e2d354 quartz/tests: Add tests for MPEG layer-3 decoder sink connection.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-07 21:16:10 +01:00
Anton Baskanov 4489c31b3d winegstreamer: Reject incompatible input media types in MPEG layer-3 decoder.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-07 21:16:10 +01:00
Anton Baskanov fea3691aea quartz/tests: Add tests for MPEG layer-3 decoder accepted media types.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-07 21:16:10 +01:00
Anton Baskanov 642c090df3 winegstreamer: Add a skeleton MPEG layer-3 decoder filter.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=18773
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-07 21:16:10 +01:00
Anton Baskanov a490e819f8 quartz/tests: Add tests for MPEG layer-3 decoder IEnumMediaTypes.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-07 21:16:10 +01:00
Mohamad Al-Jaf 21ae94d437 certutil: Add stub program.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53086
2022-11-07 21:16:10 +01:00
Mohamad Al-Jaf 82e8d6036f setx: Add stub program.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53755
2022-11-07 21:16:10 +01:00
Jacek Caban f3bf30688c winevulkan: Support output dynamic array conversion. 2022-11-07 21:16:10 +01:00
Jacek Caban 121ca10f5d winevulkan: Avoid unneeded copies in struct conversion functions. 2022-11-07 21:16:10 +01:00
Jacek Caban e3999da6d7 winevulkan: Convert struct chains in struct conversion functions. 2022-11-07 21:16:10 +01:00
Jacek Caban 8bad123a6c winevulkan: Move find_next_struct implementation to vulkan_private.h. 2022-11-07 21:16:10 +01:00
Gabriel Ivăncescu 33c4904363 mshtml: Implement document.importNode.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-07 21:16:10 +01:00
Gabriel Ivăncescu c4e6f04400 mshtml: Implement HTMLLocation_put_hash.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-07 21:16:10 +01:00
Jacek Caban b1fd8dae19 mshtml: Always use navigate_fragment for fragment-only navigation in navigate_uri. 2022-11-07 21:16:10 +01:00
Gabriel Ivăncescu 176f5409b1 mshtml: Don't include fragment in storage event's url prop.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-07 21:16:10 +01:00
Gabriel Ivăncescu c2d55cd24e mshtml: Return E_ABORT if wine-gecko's OnDataAvailable aborts the binding.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-07 21:16:10 +01:00
Gabriel Ivăncescu 08957afe17 mshtml: Improve locale stub for KeyboardEvent.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-07 21:16:10 +01:00
Gabriel Ivăncescu ff4fde9e20 mshtml: Implement isContentEditable for HTML elements.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-07 21:16:10 +01:00
Gabriel Ivăncescu cb078982f4 mshtml/tests: Handle broken localStorage on native.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-07 21:16:10 +01:00
Rémi Bernon 8c0d3ae2e2 xaudio2_7/tests: Mark tests failing randomly as flaky.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53167
2022-11-07 21:16:10 +01:00
Rémi Bernon d7538e339c comctl32/tests: Remove a now succeeding todo_wine.
Fixed by 33617af814.
2022-11-07 21:13:32 +01:00
Sebastián Aedo d0923a2f72 netprofm: Implement network_GetNetworkConnections.
Signed-off-by: Sebastián Aedo <saedo@codeweavers.com>
2022-11-07 21:13:32 +01:00
Sebastián Aedo ecbc5da924 netprofm: Add INetwork_GetNetworkConnections test.
Signed-off-by: Sebastián Aedo <saedo@codeweavers.com>
2022-11-07 21:13:32 +01:00
Tarcísio Ladeia de Oliveira 61f566260b gdi32/tests: Fix assertion message. 2022-11-07 21:13:32 +01:00
Eric Pouech c5e23886b2 rpcrt4: Fix unexpected exception in ndr_marshal tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52909
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-07 21:13:32 +01:00
Zebediah Figura 98c0bdb9a8 winecoreaudio: Clean up the timer queue handle in DllMain(). 2022-11-07 21:13:32 +01:00
Zebediah Figura 1a451cb91c winecoreaudio: Disable thread DllMain() calls. 2022-11-07 21:13:32 +01:00
Brendan Shanks 93577c0013 ntdll: Add native thread renaming for exception method. 2022-11-07 21:13:32 +01:00
Brendan Shanks d3416d9081 ntdll: Add a Wine-specific THREADINFOCLASS to set just the native thread name. 2022-11-07 21:13:32 +01:00
Nikolay Sivov b40ddf4237 user32/edit: Check for control destruction on notification return.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-07 21:13:31 +01:00
Nikolay Sivov fed0c33fe0 comctl32/edit: Check for control destruction on notification return.
Based on a patch by Mark Jansen.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-07 21:13:31 +01:00
Alex Henrie bae772695e include: Add sdkddkver.h.
Needed to compile Tera Term.
2022-11-07 21:13:31 +01:00
Jinoh Kang b6a41a2f98 comctl32/tests: Flush events before testing edit control IME messages. 2022-11-07 21:13:31 +01:00
Jinoh Kang 7a772a7feb comctl32/tests: Flush events before testing edit control SetFocus() messages. 2022-11-07 21:13:31 +01:00
Zhiyi Zhang 225daac879 d2d1: Use D2D1_ALPHA_MODE_IGNORE if D2D1_ALPHA_MODE_UNKNOWN is used for creating hwnd render targets.
Also, alpha mode should not be overwritten with D2D1_ALPHA_MODE_IGNORE just because
DXGI_FORMAT_UNKNOWN is specified.
2022-11-07 21:13:31 +01:00
Zhiyi Zhang 1e4d311999 d2d1/tests: Add hwnd render target pixel format tests. 2022-11-07 21:13:31 +01:00
Alexandre Julliard 4069a8b384 ntdll: Reimplement KeUserModeCallback in assembly on ARM64. 2022-11-07 21:13:31 +01:00
Alexandre Julliard b60d076b09 ntdll: Reimplement KeUserModeCallback in assembly on ARM. 2022-11-07 21:13:31 +01:00
Alexandre Julliard 8e9551f324 ntdll: Reimplement KeUserModeCallback in assembly on x86_64. 2022-11-07 21:13:31 +01:00
Alexandre Julliard d40017ecda ntdll: Reimplement KeUserModeCallback in assembly on i386. 2022-11-07 21:13:31 +01:00
Alexandre Julliard 1a652d2c9e xslt: Use WINAPIV calling convention for variadic functions. 2022-11-07 21:13:31 +01:00
Alexandre Julliard e742eeb6c3 xml2: Use WINAPIV calling convention for variadic functions. 2022-11-07 21:13:31 +01:00
Alexandre Julliard 89cad8c4b7 msvcrt: Use WINAPIV calling convention for variadic functions. 2022-11-07 20:15:02 +01:00
Martin Storsjö a27b202a4d ntdll: Implement ARM EHABI unwinding.
This avoids relying on libunwind, which isn't always available,
and which can be brittle (e.g. current git master of libunwind fails, see
https://github.com/libunwind/libunwind/pull/203#issuecomment-984126066).

This allows unwinding with the EXIDX/EXTBL info which is used
normally for C++ exception handling/unwinding. This avoids needing
to keep the .so files unstripped and avoids needing libunwind to
load .debug_frame from disk instead of the already mapped
EXIDX/EXTBL.

This patch uses the dl_iterate_phdr function for finding the EXIDX
section; keeping this call within #ifdef linux to avoid breaking
someone's build, even though it probably is available on most unix
(or ELF) platforms.

Alternatively, we could add configure checks for this function.

This passes all my unwinding tests, for full ELF builds of Wine,
built with both GCC and Clang. (It also works for PE builds, where
only very few ELF bits need to be unwound.)

Signed-off-by: Martin Storsjö <martin@martin.st>
2022-11-07 20:15:02 +01:00
Martin Storsjö f760976803 ntdll: Add ARM EHABI unwind instructions in assembly functions.
On most ELF platforms on ARM, ARM EHABI is the unwind info
format normally used, instead of DWARF like on most other platforms.

Currently, when unwinding through ELF objects with libunwind, the
libraries don't have any .eh_frame section mapped at runtime (since
DWARF isn't used for unwinding). Instead, what happens is that
libunwind ends up loading .debug_frame from the libraries on disk
instead.

Therefore, currently, ELF unwinding relies on the .so files not being
stripped.

This patch adds the necessary EHABI unwinding instructions in the
assembly functions that currently have DWARF CFI instructions.

EHABI isn't signaled via any specific preprocessor macro, but
is signaled by the absence of other unwind mechanisms (such
as __ARM_DWARF_EH__ and __SEH__, or maybe SjLj).

Mark the asm functions in the preloaders as .cantunwind, to avoid
undefined references to __aeabi_unwind_cpp_pr* functions.

Also mark other assembly functions as .cantunwind; for
signal_exit_thread this is essential if the function is marked
with .fnstart/.fnend - otherwise exiting threads does hang.
(pthread_exit internally calls _Unwind_ForcedUnwind, which would
hang if signal_exit_thread had .fnstart without any matching unwind
info).

This would, in principle, allow unwinding through these functions with
libunwind, for versions of libunwind that can parse the EHABI unwind
info - see e.g.
4d779f55c0.
(This commit isn't yet in any current release AFAIK). Unwinding with
EHABI via libunwind would require a few tweaks to the libunwind interface
usage in unix/signal_arm.c though, since e.g. the unw_get_proc_info call
fails if there's no .eh_frame or .debug_frame available.

Signed-off-by: Martin Storsjö <martin@martin.st>
2022-11-07 10:28:18 +01:00