Commit graph

159569 commits

Author SHA1 Message Date
Henri Verbeet
030c37ceae wined3d: Return bools from all return paths in wined3d_cs_map_upload_bo(). 2022-09-15 22:33:24 +02:00
Henri Verbeet
e5f5bea390 d3d11/tests: Move the is_warp_device() call out of the loop in check_format_support().
There's no point in querying this multiple times, it's not going to change.

Perhaps more importantly, calling is_warp_device() inside a todo_wine block
will cause "Test succeeded inside todo block: ..." messages from
get_device_adapter_desc(). These appear to have been introduced by commit
fcc276ecb1. Arguably get_device_adapter_desc()
shouldn't use ok() in the first place.
2022-09-15 22:33:18 +02:00
Henri Verbeet
7d20333faf d3d11: Implement d3d11_input_layout_to_wined3d_declaration() on top of vkd3d_shader_parse_input_signature().
This was originally prompted by the fact that
wined3d_extract_shader_input_signature_from_dxbc() allocates elements with
HeapAlloc(), but d3d11_input_layout_to_wined3d_declaration() attempts to free
them with free(). That's a regression introduced by commit
b951c37b87. Since we're touching the code
though, we may as well use vkd3d_shader_parse_input_signature(), and get rid
of wined3d_extract_shader_input_signature_from_dxbc().
2022-09-15 22:33:10 +02:00
Henri Verbeet
bba63771eb d3d9/tests: The expected scissor rect after a reset is equal to the back-buffer dimensions.
This appears to have gotten lost in commit
7623d0a6f5.
2022-09-15 22:33:04 +02:00
Henri Verbeet
51466755ad wined3d: Destroy the Vulkan command pool after cleaning up resources.
This fixes an issue exposed (but not caused) by commit
e553be7e77. Calling vkFreeCommandBuffers()
after the corresponding command pool was destroyed causes invalid memory
accesses. Thanks to Jacek for pointing this out.
2022-09-15 22:32:57 +02:00
Henri Verbeet
99a3bc3c2b wined3d: Fix the sub-resource index validation in wined3d_texture_update_overlay().
This condition accidentally got inverted when
wined3d_texture_validate_sub_resource_idx() was introduced in commit
44d6f2adbc.
2022-09-15 22:02:09 +02:00
Alexandre Julliard
064edf1df4 d2d1/tests: Skip subsequent todo tests for unsupported properties.
This reduces the number of printed todos in order to stay within the 32kB limit.
2022-09-15 20:55:55 +02:00
Jacek Caban
2d8850365b wininet/tests: Don't send two HTTP responses for a single request in server_thread. 2022-09-15 20:55:51 +02:00
Mohamad Al-Jaf
1df5309a82 winusb: Add WinUsb_Free stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52677
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
2022-09-15 17:45:44 +02:00
Mohamad Al-Jaf
437bdce96c include: Add winusb.h file.
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
2022-09-15 17:45:26 +02:00
Georg Lehmann
a37b4832bc winevulkan: Update to VK spec version 1.3.228. 2022-09-15 13:47:45 +02:00
Nikolay Sivov
90ff3c5b85 xmllite/writer: Implement WriteNodeShallow().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-15 13:47:45 +02:00
Nikolay Sivov
3cd0bfd4a7 xmllite/writer: Handle empty local name in WriteAttributeString().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-15 13:47:45 +02:00
Nikolay Sivov
538bc11b4e xmllite/tests: Add a test for IsEmptyElement() on attributes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-15 13:47:45 +02:00
Nikolay Sivov
fdbbf6de48 xmllite/tests: Add some more tests for WriteStartElement().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-15 13:47:45 +02:00
Nikolay Sivov
e77d3f59e8 xmllite/writer: Add initial implementation of WriteNode().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-15 13:47:45 +02:00
Nikolay Sivov
22c9af7162 xmllite/writer: Implement WriteAttributes().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-15 13:47:45 +02:00
Nikolay Sivov
5de86e12ad xmllite/writer: Close open tag on WriteProcessingInstruction().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-15 13:47:45 +02:00
Nikolay Sivov
cd55a67424 xmllite/writer: Close open tag on WriteRaw().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-15 13:47:45 +02:00
Nikolay Sivov
57497d1262 xmllite/writer: Handle empty prefix and uri correctly in WriteStartElement().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-15 13:47:45 +02:00
Nikolay Sivov
225e7b34a9 xmllite/writer: Implement WriteWhitespace().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-15 13:47:45 +02:00
Nikolay Sivov
31aac84ad0 xmllite/reader: Improve xml declaration node parsing.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-15 13:47:45 +02:00
Jinoh Kang
d5f5834735 include: Define atomic read/write helpers for 32-bit integers.
Based on the corresponding functions from Windows SDK header files.

Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-09-15 13:47:45 +02:00
Zhiyi Zhang
2375a6e5bd kernelbase: Return system error codes in the ReadDirectoryChangesW() completion callback.
Return system error codes instead of NT status codes in the ReadDirectoryChangesW() completion callback.
2022-09-15 13:47:45 +02:00
Rémi Bernon
71da6a7152 winegstreamer: Create wg_sample from IMFSample within wg_transform_push_mf. 2022-09-15 13:47:45 +02:00
Rémi Bernon
77a4b4b439 winegstreamer: Remove unnecessary IMFTransform_GetInputStreamInfo calls. 2022-09-15 13:47:45 +02:00
Rémi Bernon
2c4fbd1531 winegstreamer: Check WMA sample size before wrapping the sample. 2022-09-15 13:47:45 +02:00
Rémi Bernon
19df4f02de winegstreamer: Check for unexpected format change in wg_transform_read helpers. 2022-09-15 13:47:45 +02:00
Rémi Bernon
024eef2258 winegstreamer: Stop setting flags on unexpected MF_E_TRANSFORM_STREAM_CHANGE. 2022-09-15 13:47:45 +02:00
Rémi Bernon
9e2a9e34cc winegstreamer: Set MFT_OUTPUT_DATA_BUFFER_INCOMPLETE in wg_transform_read_mf. 2022-09-15 13:47:45 +02:00
Rémi Bernon
6178392862 winegstreamer: Better implement H264 MFT GetAttributes and GetOutputStreamAttributes. 2022-09-15 13:47:45 +02:00
Rémi Bernon
5db7218620 winegstreamer: Avoid leaking attributes on video processor creation failure. 2022-09-15 13:47:45 +02:00
Rémi Bernon
ddf7026d4c winegstreamer: Support MFT_SET_TYPE_TEST_ONLY flag in the MF transforms. 2022-09-15 13:47:45 +02:00
Floris Renaud
d4e6a01fae po: Update Dutch translation. 2022-09-15 13:47:45 +02:00
Brendan Shanks
5cf574998e server: Use correct context struct and thread flavor when setting debug registers on macOS. 2022-09-15 13:47:45 +02:00
Brendan Shanks
774769671c server: Write to correct context struct when getting debug registers on macOS. 2022-09-15 13:47:45 +02:00
Brendan Shanks
2075a78ed3 server: Report errors on macOS when getting/setting debug registers. 2022-09-15 13:47:45 +02:00
Brendan Shanks
28ec3090fa server: Remove 32-bit-specific macOS #ifdefs. 2022-09-15 13:47:45 +02:00
Alexandre Julliard
d35c361e4b ntdll/tests: Don't run the stack growth tests too many times.
This reduces the number of printed todos in order to stay within the 32kB limit.
2022-09-15 13:47:45 +02:00
Rémi Bernon
7feaa6795a maintainers: Assume maintainership of MF transforms. 2022-09-14 23:08:00 +02:00
Gabriel Ivăncescu
2297623f01 mshtml: Send StorageEvents to iframe windows properly.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-14 22:38:35 +02:00
Gabriel Ivăncescu
e64ab65a5e mshtml: Don't expose document.onstorage for IE9+ modes.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-14 22:38:35 +02:00
Gabriel Ivăncescu
ae1d54da51 mshtml/tests: Add tests for StorageEvents with parallel documents.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-14 22:38:35 +02:00
Gabriel Ivăncescu
8da5353d7e mshtml: Send StorageEvents when removing an existing item.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-14 22:38:35 +02:00
Gabriel Ivăncescu
9cf3699171 mshtml: Send StorageEvents when setting an item.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-14 22:38:35 +02:00
Gabriel Ivăncescu
720c671dac mshtml: Implement StorageEvent and send it when clearing the storage.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-14 22:38:35 +02:00
Gabriel Ivăncescu
1cfbcab788 mshtml: Move the MessageEvent construction to a helper.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-14 22:38:35 +02:00
Gabriel Ivăncescu
f9bda73b99 include: Add IDOMStorageEvent and DispDOMStorageEvent interfaces.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-14 22:38:35 +02:00
Julian Klemann
b03c2d959e windows.devices.enumeration/tests: Add test for Stopped DeviceWatcher event.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53328
2022-09-14 22:38:35 +02:00
Julian Klemann
ead2528b42 windows.devices.enumeration: Implement Stopped handler for DeviceWatcher.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53328
2022-09-14 22:38:35 +02:00