Commit graph

170815 commits

Author SHA1 Message Date
Eric Pouech 7e70824ed5 cmd: Introduce CMD_NODE structure.
This will allow to separate better the individual command to
be executed (CMD_COMMAND) from the chaining and I/O handling
of several commands (CMD_NODE).

This also renames CMD_LIST into CMD_COMMAND to fit in above
scheme.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-13 21:09:41 +02:00
Eric Pouech 508b3ac996 cmd: Remove malloc attribute from xrealloc.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-13 21:09:39 +02:00
Elizabeth Figura 0db23b1bf7 wined3d: Remove the ARB shader backend. 2024-05-13 21:07:36 +02:00
Elizabeth Figura e3445d8af3 wined3d: Remove the ARB fragment pipeline. 2024-05-13 21:07:36 +02:00
Elizabeth Figura 9c8e5928ce wined3d: Remove the ARB_fragment_program blitter. 2024-05-13 21:07:35 +02:00
Elizabeth Figura 69e67d1ac6 wined3d: Remove the ATI_fragment_shader fragment pipeline. 2024-05-13 21:07:35 +02:00
Elizabeth Figura 2ac928cd99 wined3d: Remove the NV_register_combiners fragment pipeline. 2024-05-13 21:07:35 +02:00
Elizabeth Figura 0180c68d6a wined3d: Remove the GL FFP fragment pipeline. 2024-05-13 21:07:35 +02:00
Elizabeth Figura 3e31a9742c wined3d: Remove the GL FFP vertex pipeline. 2024-05-13 21:07:34 +02:00
Hongxin Zhao f4871cb27c po: Add a missing \t in the Simplified Chinese translation. 2024-05-13 21:06:49 +02:00
Anton Baskanov f8001fdc8e winegstreamer: Add missing format fields to WMA support check.
Fixes: cc82780c22
2024-05-13 21:06:37 +02:00
Anton Baskanov 08e13d1979 winegstreamer: Recognize MFAudioFormat_MPEG and MFAudioFormat_MP3.
Fixes: cc82780c22
2024-05-13 21:06:35 +02:00
Brendan McGrath a48d343002 winegstreamer: Pass filename to wg_parser when available. 2024-05-13 21:06:31 +02:00
Tim Clem 89481f43a5 mountmgr.sys: Do not add drive letters or volumes for macOS volumes without mount paths.
Mounted volumes that are not represented in the filesystem are system
volumes that we should ignore (e.g. recovery and preboot).
2024-05-13 21:06:11 +02:00
Tim Clem e4b78284a9 mountmgr.sys: Do not create drive letters or volumes for unbrowsable macOS volumes.
Volumes with kCFURLVolumeIsBrowsableKey set to false are invisible to
users. These are generally system volumes or temporary ones (like
Chrome update disk images) that we should ignore.
2024-05-13 21:06:09 +02:00
Jacek Caban 87215839b0 mshtml: Use DISPEX_IDISPATCH_IMPL macro in htmlbody.c. 2024-05-13 21:05:23 +02:00
Jacek Caban 4819828683 mshtml: Use DISPEX_IDISPATCH_IMPL macro in htmlnode.c. 2024-05-13 21:05:23 +02:00
Jacek Caban 27fea2eefc mshtml: Introduce DISPEX_IDISPATCH_IMPL.
And use it for HTMLRect object implementation.
2024-05-13 21:05:21 +02:00
Jacek Caban 7b15890fe8 d3dx9/tests: Remove xfile dumping functionality. 2024-05-13 21:05:04 +02:00
Alexandre Julliard dd4514a26b ntdll: Add processor information to the SMBIOS data. 2024-05-13 11:54:17 +02:00
Alexandre Julliard 7f9cad6979 ntdll: Store the CPU vendor and id during detection. 2024-05-13 11:53:10 +02:00
Elizabeth Figura 040b2a9c75 d3d9/tests: Test default attribute components. 2024-05-12 16:54:15 +02:00
Elizabeth Figura fe94c844fa d3d9/tests: Add some tests for default diffuse values. 2024-05-12 16:54:15 +02:00
Elizabeth Figura cad144a11f d3d9/tests: Expand test_color_vertex().
Test a stream present in the vertex declaration but not provided as a buffer.
2024-05-12 16:54:13 +02:00
Elizabeth Figura b01b5c70ea d3d9/tests: Clarify and expand point size tests. 2024-05-12 16:54:13 +02:00
Georg Lehmann 6d896d9be0 winevulkan: Update to VK spec version 1.3.285. 2024-05-12 16:33:19 +02:00
Esme Povirk c6abeee9f0 gdiplus: Fix background key. 2024-05-12 16:33:14 +02:00
Esme Povirk 7b300bae8a gdiplus: Accept an HDC in get_gdi_transform. 2024-05-12 16:33:14 +02:00
Esme Povirk b95a40a28f gdiplus: Do not use hdc directly in get_graphics_bounds. 2024-05-12 16:33:14 +02:00
Esme Povirk 8cc552a123 gdiplus: Bracket HDC use in trace_path. 2024-05-12 16:33:14 +02:00
Esme Povirk 96a65cbfd1 gdiplus: Bracket HDC use in draw_poly. 2024-05-12 16:33:14 +02:00
Yuxuan Shui cf24381899 rtworkq: Release cancelled work items.
Usually the threadpool holds a reference to the `work_item`, which is released when the `work_item`'s
callback is invoked. On the other hand, `queue_cancel_item` closes the threadpool object without
releasing the `work_item`. So if the callbacks don't get a chance to run - which is not guaranteed -
the `work_item` will be leaked.

The fix is not as simple as adding a `IUnknown_Release` to `queue_cancel_item`, because the
`work_item`'s callback can still be called after CloseThreadpoolTimer/Wait has returned. In fact its
callback might currently be running. In which case the callback will access freed memory if
`queue_cancel_item` frees the `work_item`.

We have to stop any further callbacks to be queued, wait for any currently running callbacks to
finish, then finally we can release the `work_item` if it hasn't already been freed during the wait.
2024-05-12 16:32:53 +02:00
Yuxuan Shui a40c1bc01e mfplat/tests: Validate MFCancelWorkItem releases the callback. 2024-05-12 16:32:53 +02:00
Yuxuan Shui aa963129d9 rtworkq: Avoid use-after-free.
queue_release_pending_item releases the work_item reference but later
accesses `item->queue`, which is a potential use-after-free.
2024-05-12 16:32:49 +02:00
Rémi Bernon bf64ae2627 mfplat: Implement MFCreateVideoMediaType. 2024-05-12 16:32:25 +02:00
Rémi Bernon 9fac589765 mfplat: Implement MFInitMediaTypeFromMPEG2VideoInfo. 2024-05-12 16:32:24 +02:00
Rémi Bernon 8c77a1a099 mfplat: Implement MFInitMediaTypeFromMPEG1VideoInfo. 2024-05-12 16:32:23 +02:00
Rémi Bernon ec0455b97a mfplat: Implement FORMAT_MPEG2Video for MFInitAMMediaTypeFromMFMediaType. 2024-05-12 16:32:23 +02:00
Rémi Bernon dce8d8b552 mfplat: Implement FORMAT_MPEGVideo for MFInitAMMediaTypeFromMFMediaType. 2024-05-12 16:32:23 +02:00
Rémi Bernon 0b5c04c517 mfplat: Set AM_MEDIA_TYPE bTemporalCompression and bFixedSizeSamples. 2024-05-12 16:32:23 +02:00
Rémi Bernon 772ad6e8a9 mfplat: Factor AM_MEDIA_TYPE video format allocation. 2024-05-12 16:32:23 +02:00
Rémi Bernon 00758a2e20 mfplat: Use media_type_get_uint32 in more places. 2024-05-12 16:32:23 +02:00
Rémi Bernon 704c510045 mfplat: Introduce a new init_video_info_header helper. 2024-05-12 16:32:23 +02:00
Rémi Bernon 3404de3075 mfplat: Use IMFMediaType_GetBlobSize instead of IMFMediaType_GetBlob. 2024-05-12 16:32:23 +02:00
Rémi Bernon 551d047ae4 mfplat: Fix MFCreateMFVideoFormatFromMFMediaType videoInfo.VideoFlags masks. 2024-05-12 16:32:23 +02:00
Paul Gofman 0884b503c9 win32u: Update last message time in NtUserGetRawInputBuffer(). 2024-05-12 16:31:50 +02:00
Brendan McGrath f6791f59c3 winex11.drv: Increment mode_idx in {xrandr10,xf86vm}_get_modes.
This fixes a regression introduced in f74900ad1a.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56655
2024-05-12 16:27:10 +02:00
Daniel Lehman 243a014123 msvcrt/tests: Add tests for _wcsicmp_l. 2024-05-12 16:26:51 +02:00
Nikolay Sivov a1dadf3683 d2d1/effect: Fix GetImageLocalBounds() prototype.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-05-12 16:26:17 +02:00
Nikolay Sivov 3e3e347ed0 d2d1/tests: Add a test for effect output image interface query.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-05-12 16:26:17 +02:00