Commit graph

159916 commits

Author SHA1 Message Date
Zebediah Figura a72e2613ae d3d8: Factor out d3d8_texture_init(). 2022-10-10 11:03:57 +02:00
Rémi Bernon 16d975fc12 mf: Avoid clearing media session command list while it is running.
This fixes a random crash with mfmediaengine tests, which quickly starts
then shuts down a media session.
2022-10-10 11:03:04 +02:00
John Chadwick 953b93737a wintab32: Fix match_token to match XWayland devices.
XWayland tablet devices have the Wayland seat ID appended to the end of
them, preceded by a colon. This prevents match_token from properly
detecting XWayland devices and causes Wintab32 to fail to initialize.
This change allows a matched token to end in a colon, and thus allows
XWayland tablet devices to be detected correctly.

Signed-off-by: John Chadwick <john@jchw.io>
2022-10-10 11:02:28 +02:00
Alistair Leslie-Hughes 475824e709 msdasql: Implement IRowsetInfo GetProperties.
The only way to actually set these properties is via the ICommandProperties interface
found on ICommandText(eg rowset->caller).

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
2022-10-10 11:02:02 +02:00
Martin Storsjö 4934c12762 wow64: Use the right SEH opcode in raise_exception on arm64.
On ARM and ARM64, each SEH opcode is supposed to map to exactly one
instruction; the operation of writing x29+x30 with a stack offset
with writeback is called ".seh_save_fplr_x".

Using the right opcode would fix inconsistent unwinding if we would
unwind from near the end of the prologue (which is implausible here).

However, clang/LLVM might also get checking for mismatches between
SEH opcodes and the prolog/epilog ranges
(https://reviews.llvm.org/D131394), mainly to guard against
inconsistencies in the unwind info generated by the compiler, but
that would trigger on this handwritten function too.
2022-10-10 11:01:32 +02:00
Francois Gouget fd64cbc02e dpnet/tests: Mark the test_enum_hosts*() tests failing randomly on Windows as flaky.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=53239
2022-10-10 11:01:22 +02:00
Piotr Caban b536d57825 comctl32: Don't pass PROPSHEETPAGE to SetWindowSubclass in PROPSHEET_CreatePage. 2022-10-10 11:00:50 +02:00
Piotr Caban 89729df986 comctl32/tests: Test passing PropertySheetPage as HPROPSHEETPAGE. 2022-10-10 11:00:50 +02:00
Piotr Caban 2a28785515 comctl32/tests: Add more PROPSHEETPAGE tests inside callback. 2022-10-10 11:00:50 +02:00
Piotr Caban 16ac644b11 comctl32/tests: Test passing extra data in PROPSHEETPAGE structure. 2022-10-10 11:00:50 +02:00
Piotr Caban 88bc45a7ec comctl32/tests: Test PROPERTYSHEETPAGE passed in WM_INITDIALOG. 2022-10-10 11:00:48 +02:00
Eric Pouech 001665d735 winedbg: Enhance printing of variables or fields.
Prints 'int a[10]' (instead of 'int[10] a').
Ditto for variables/fields of type function pointer.

And for pure type printing, no longer prints --none-- for
arrays and function pointers.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-30 21:20:28 +02:00
Eric Pouech b990eaa8a6 dbghelp: Expose local static variables' address.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-30 21:20:19 +02:00
Eric Pouech 99eb63bd7a dbghelp: Remove address field from symt_compiland.
It's mostly always set at 0, and native dbghelp doesn't expose it anyway.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-30 21:20:09 +02:00
Alexandre Julliard 1237ae4f9d mmdevapi/tests: Mark some failing tests as flaky. 2022-09-30 18:43:25 +02:00
Rémi Bernon 4c60f67f00 regedit: Add a direct import for shcore.
For CommandLineToArgvW.
2022-09-30 18:34:22 +02:00
Rémi Bernon 99b3862e67 regedit: Call InitCommonControls after command-line has been processed.
Avoid triggering the load of comctl32 early.
2022-09-30 18:34:20 +02:00
Rémi Bernon 81e9b72dc9 shcore: Use delay import for user32 and ole32.
And drop gdi32 which isn't required.
2022-09-30 18:34:18 +02:00
Rémi Bernon c90e03e3cb makedep: Link with imported libs before delay imported libs.
In order to favor direct imports over delayed imports, for instance when
the delay imported module forwards symbols from the imported module.
2022-09-30 18:34:14 +02:00
Rémi Bernon 214223edc3 makedep: Link default imports separately from direct imports. 2022-09-30 18:34:14 +02:00
Rémi Bernon c1a0b74d98 makedep: Add an import type parameter to add_import_libs. 2022-09-30 18:34:14 +02:00
Rémi Bernon f942a1109a mf/tests: Add some WMV decoder MFT / DMO decoding tests. 2022-09-30 11:59:07 +02:00
Rémi Bernon cf59a6f9b6 mf/tests: Add some WMV encoder MFT / DMO encoding tests. 2022-09-30 11:59:07 +02:00
Rémi Bernon a75e7d0d73 mf/tests: Test WMV encoder MFT / DMO presence and media types. 2022-09-30 11:59:07 +02:00
Rémi Bernon 24ca2bd231 mf/tests: Test WMV decoder MFT / DMO presence and media types. 2022-09-30 11:59:07 +02:00
Rémi Bernon 9652f6a246 mf/tests: Avoid setting transform types while enumerating.
Some transform do not handle the MFT_SET_TYPE_TEST_ONLY correctly, and
setting the type may have undesired side effects. We already check
the required attributes consistently now.
2022-09-30 11:59:05 +02:00
Rémi Bernon 802a3b6fcf mf/tests: Add some AAC decoder MFT decoding tests. 2022-09-30 11:59:05 +02:00
Rémi Bernon cc8569dd65 mf/tests: Add some AAC encoder MFT encoding tests. 2022-09-30 11:59:05 +02:00
Rémi Bernon 4e4d31e1d5 mf/tests: Factor transform (Get|Set)(Input|Output)CurrentType tests together. 2022-09-30 11:59:05 +02:00
Jacek Caban e1d5337354 winevulkan: Introduce conversion_context and use it for conversion memory allocation. 2022-09-30 11:54:03 +02:00
Paul Gofman cc3fc9a47d crypt32: Set correct exponent length in decoded BCRYPT_RSAKEY_BLOB. 2022-09-30 11:53:35 +02:00
Alexandre Julliard 46d084aca8 winegstreamer: Respect debug channels configuration for error output.
Avoids spamming stderr when debug output is disabled.
2022-09-29 19:03:08 +02:00
Alexandre Julliard db4ea9ef22 windowscodecs: Redirect TIFF debug output to the Wine debug functions. 2022-09-29 17:59:49 +02:00
Kevin Puetz 0fb2d0f04e vbscript: Don't abort when trying to TRACE() functions with many arguments.
__wine_dbg_output accumulates the output characters in a debug_info
structure, flushing it when it encounters '\n'. If debug_info plus the
new string exceed 1024 characters, append_output will print

> wine_dbg_output: debugstr buffer overflow

and then crash the process via abort().

wine_dbgstr_variant limits the length printed for any individual argument,
but a function with multiple parameters can still plausibly exceed 1024.

Fixed by formatting the TRACE for each argument on a separate line,
as similar places (like oleaut32/typelib.c:dump_DispParms) do.
2022-09-29 17:59:36 +02:00
Gabriel Ivăncescu e24791268d mshtml: Silence a FIXME when parameter is missing.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-29 17:59:24 +02:00
Gabriel Ivăncescu b60f9b73f6 mshtml: Allocate events via event type.
The reason for the re-ordering in event types is due to querying the
IIDs, where the order matters (MouseEvent must be queried before UIEvent,
for example).

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-29 17:59:22 +02:00
Gabriel Ivăncescu ecf808034c mshtml: Expand event_info to include a special entry for EVENTID_LAST.
This simplifies the rest of the code.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-29 17:59:19 +02:00
Gabriel Ivăncescu 951780b8f0 mshtml: Use actual Gecko event type for MessageEvent and StorageEvent.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-29 17:59:19 +02:00
Gabriel Ivăncescu f60127f01a mshtml: Implement url prop for StorageEvent.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-29 17:59:19 +02:00
Gabriel Ivăncescu 797030483e include/mshtml: Move some forward interface declarations to match Windows SDK.
Currently, these forward declarations make widl add IHTMLDocument2's `URL`
symbol before the other, lowercased, `url` symbols to the type library
(from IHTMLMetaElement, IDOMStorageEvent, etc). Since the typelib symbols
are case insensitive, `URL` ends up stored instead of `url`, which doesn't
match native.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-29 17:59:17 +02:00
Gabriel Ivăncescu 8a2883d3e9 mshtml: Override document.URL's name when adding it from the mshtml typelib.
Because the typelib should contain the lowercase `url` symbol instead.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-29 17:59:14 +02:00
Rémi Bernon 5663146890 mf/tests: Factor IMFTransform_Get(Input|Output)StreamInfo checks together. 2022-09-29 16:04:02 +02:00
Rémi Bernon 1f5ab7cab8 winegstreamer: Stop requiring input type in H264 decoder GetInputStreamInfo. 2022-09-29 16:04:01 +02:00
Rémi Bernon eaee9b5bef winegstreamer: Keep input / output stream info in struct h264_decoder.
And calculate the sizes when media type is successfully changed.
2022-09-29 16:04:00 +02:00
Rémi Bernon 72d18a4822 winegstreamer: Keep input / output stream info in struct wma_decoder.
And calculate the sizes when media type is successfully changed.
2022-09-29 16:03:58 +02:00
Rémi Bernon 7878903855 winegstreamer: Keep input / output stream info in struct video_processor.
And calculate the sizes when media type is successfully changed.
2022-09-29 16:03:56 +02:00
Rémi Bernon e06284fd26 winegstreamer: Keep input / output stream info in struct resampler.
And calculate the sizes when media type is successfully changed.
2022-09-29 16:03:55 +02:00
Rémi Bernon d98eae895b winegstreamer: Keep input / output stream info in struct color_convert.
And calculate the sizes when media type is successfully changed.
2022-09-29 16:03:52 +02:00
Rémi Bernon 076f348cd1 winegstreamer: Remove FIXME / stub! from optional transform methods. 2022-09-29 16:03:52 +02:00
Rémi Bernon 41d9806677 mf/tests: Test miscellaneous and optional IMFTransform methods. 2022-09-29 16:03:52 +02:00