Commit graph

168587 commits

Author SHA1 Message Date
Gabriel Ivăncescu ff617c838f mshtml: Use inner window's outer_window when checking if it's interactive for edit mode.
We can't rely on dom_interactive_time either because setup_edit_mode can
reload the page (and sets it uninitialized).

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-06 10:20:25 +01:00
Gabriel Ivăncescu db12c470c8 mshtml: Skip navigation handling on anchor/area elements for detached documents.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-06 10:20:22 +01:00
Gabriel Ivăncescu dffb5e0538 mshtml: Return failure when setting IHTMLDocument2::location for detached documents.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-06 10:20:18 +01:00
Gabriel Ivăncescu cb14ca2a29 mshtml: Return failure in IHTMLDocument2::documentElement for detached documents.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-06 10:20:13 +01:00
Gabriel Ivăncescu 1f0517689d mshtml: Return failure in IHTMLDocument2::open() for detached documents.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-06 10:20:13 +01:00
Gabriel Ivăncescu 5e873c48be mshtml: Return failure in IHTMLDocument2::cookie for detached documents.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-06 10:20:13 +01:00
Gabriel Ivăncescu d4aee460e7 mshtml: Return failure in IHTMLDocument2::domain for detached documents.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-06 10:20:13 +01:00
Gabriel Ivăncescu 2e77a62f1d mshtml: Return failure in IHTMLDocument2::frames for detached documents.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-06 10:20:13 +01:00
Gabriel Ivăncescu ffb7ace4df mshtml: Use inner window's outer_window in IHTMLDocument2::readyState.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-06 10:20:08 +01:00
Alfred Agrell 30c074963a wmvcore/tests: Add tests for compressed output. 2023-12-05 22:01:35 +01:00
Alfred Agrell efe8bc0151 winegstreamer: Implement compressed output support in WMSyncReader. 2023-12-05 22:01:34 +01:00
Alfred Agrell 2cdb8cdae1 winegstreamer: Leave pts/duration unchanged if they're not set. 2023-12-05 22:01:34 +01:00
Alfred Agrell 84660d52f7 winegstreamer: Introduce mutex for wm_reader read_thread_shutdown. 2023-12-05 22:01:34 +01:00
Alfred Agrell 1cc29f966a winegstreamer: Move file size to struct wm_reader. 2023-12-05 22:01:34 +01:00
Alfred Agrell 7dbc8d5921 winegstreamer: Fill in a few more pieces of WMV format handling. 2023-12-05 22:01:34 +01:00
Alfred Agrell 703a82a79b winegstreamer: Add codec_data to WMVs. 2023-12-05 22:01:34 +01:00
Alfred Agrell 31788cdc8c quartz/tests: Improve VMR9 ChangeD3DDevice test.
- Checks that it presents using the new device, instead of counting TerminateDevice.
- Works on Windows now.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55649
2023-12-05 22:01:08 +01:00
Vijay Kiran Kamuju 63ccb5826d msvcm80: Add stub for ThrowNestedLoadModuleException function. 2023-12-05 22:00:22 +01:00
Vijay Kiran Kamuju 9bec22a2e2 msvcm80: Add stub for ThrowModuleLoadException(String, Exception) function.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=34537
2023-12-05 22:00:21 +01:00
Vijay Kiran Kamuju f97ad2340d msvcm80: Add stub for ThrowModuleLoadException(String) function. 2023-12-05 22:00:19 +01:00
Eric Pouech 4b63e88894 ntdll: Don't create Unix console for GUI apps.
Note: GUI apps using std I/O (this is not common) will
no longer print on unix console.
If such a behavior is needed, for an app started from
Unix shell, one can either redirect output to a file, or pipe output:
./wine app | cat

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-05 21:24:37 +01:00
Eric Pouech 1f478ea370 ntdll: Don't inherit std console handles for non CUI child process.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-05 21:24:37 +01:00
Eric Pouech a7c5e2413e kernelbase: GetStartupInfoW: set std handle only when USESTDHANDLES is set.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-05 21:24:37 +01:00
Eric Pouech 3f814c42c0 kernelbase: No longer cache GetStartupInfoW() results.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-05 21:24:37 +01:00
Eric Pouech 76018fbbee kernel32/tests: Add tests for GetStartupInfo(A|W).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-05 21:24:37 +01:00
Eric Pouech 5545aef74e kernel32/tests: Identify untouched fields returned from GetStartupInfo.
GetStartupInfoW() doesn't set all the fields.
So in CreateProcess() tests, always use a marker for STARTUP_INFO
initialization; make use of that marker to properly identify
the std handles gotten from GetStartupInfo.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-05 21:24:37 +01:00
Piotr Caban bdd04f5f71 msvcrt: Add partial support for managed handle demangling. 2023-12-05 21:24:37 +01:00
Piotr Caban 5af51ce0af msvcrt: Accept <> characters in string literals in demangler. 2023-12-05 21:24:37 +01:00
Fabian Maurer c24bbd13c8 apisetschema: Add api-ms-win-core-com-l2-1-1.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55075
2023-12-05 21:24:37 +01:00
Rémi Bernon 85026ab2b3 winevulkan: Unwrap to driver or host depending on the function. 2023-12-05 21:24:37 +01:00
Rémi Bernon f6febfda51 winevulkan: Use an enumeration for make_vulkan unwrapping kinds. 2023-12-05 21:24:37 +01:00
Rémi Bernon fc2ea1beba winevulkan: Introduce a new convert_suffix make_vulkan helper. 2023-12-05 21:24:37 +01:00
Rémi Bernon 28cbd5bf20 winevulkan: Remove redundant make_vulkan needs_unwrapping method. 2023-12-05 21:24:37 +01:00
Rémi Bernon b01883f02f winevulkan: Use a dictionary for user driver entry points. 2023-12-05 21:24:37 +01:00
Rémi Bernon 7c26c45858 winevulkan: Use a dictionary in make_vulkan for manual unix thunks. 2023-12-05 21:24:37 +01:00
Rémi Bernon 7fee352576 winevulkan: Replace "loader_thunk" with dedicated dictionaries. 2023-12-05 21:24:37 +01:00
Aurimas Fišeras 4cc7f8089c po: Update Lithuanian translation. 2023-12-05 21:24:37 +01:00
Rémi Bernon bae3769ef9 ntdll: Set main_(argc|argv|envp) as early as possible.
Fixes: 62a979347a
2023-12-05 21:24:37 +01:00
Zebediah Figura d9342e85db d3d11core/tests: Mark a test as no longer todo.
This was fixed by ef2908462d.
I misremembered when writing that commit's message; we don't actually invalidate
STATE_SAMPLER when binding an SRV. Hence the code was not just "fragile" but in
fact already broken.
2023-12-05 21:24:37 +01:00
Zebediah Figura 5b97dbdb58 d3d10core/tests: Mark a test as no longer todo.
This was fixed by ef2908462d.
I misremembered when writing that commit's message; we don't actually invalidate
STATE_SAMPLER when binding an SRV. Hence the code was not just "fragile" but in
fact already broken.
2023-12-05 21:24:37 +01:00
Henri Verbeet dcee5182c6 dxgi: Avoid redundantly setting the present info wait semaphore fields in d3d12_swapchain_queue_present(). 2023-12-05 21:24:37 +01:00
Henri Verbeet 3eebc3ea92 dxgi/tests: Release the swapchain after waiting for the window thread to finish in test_resize_target_wndproc().
In order to prevent resize_target_wndproc() from potentially accessing the
swapchain after it has been destroyed.
2023-12-05 21:24:37 +01:00
Daniel Lehman 4e1a3cc81e msxml3: Handle default namespace in get_nodeName. 2023-12-05 21:24:37 +01:00
Anton Baskanov b9e8a742b7 winegstreamer: Handle quality control messages in CMpegVideoCodec.
Based on the code from quartz_parser and wg_parser.
2023-12-05 21:24:36 +01:00
Anton Baskanov 1fd2958fbe quartz/tests: Add quality control tests for CMpegVideoCodec. 2023-12-05 21:24:36 +01:00
Anton Baskanov 71293a018f amstream: Send quality control messages from AMDirectDrawStream::Receive. 2023-12-05 21:24:36 +01:00
Anton Baskanov cf931159d1 amstream/tests: Add quality control tests. 2023-12-05 21:24:36 +01:00
Alex Henrie 3adad15f40 mscoree: Annotate WtoA with __WINE_(DEALLOC|MALLOC). 2023-12-05 21:24:36 +01:00
Alex Henrie b49831773d mscoree: Use CRT allocation functions. 2023-12-05 21:24:36 +01:00
Alexandre Julliard ef07f6bb72 winedump: Also dump ARM64 exception information for ARM64EC binaries. 2023-12-05 21:24:36 +01:00