Commit graph

163873 commits

Author SHA1 Message Date
Paul Gofman 5a162f2c31 mfplat: Fix returned buffer length in dxgi_surface_buffer_lock(). 2023-04-27 08:57:14 +02:00
Aurimas Fišeras 0c4e69ec5b po: Update Lithuanian translation. 2023-04-27 08:57:02 +02:00
Francois Gouget a80b183af7 msi/tests: Ok_() takes printf-style arguments.
This lets the compiler check that the format and argument sizes match.
2023-04-27 08:56:57 +02:00
Francois Gouget b6fb1b8983 msi/tests: Fix the ok() formats so they match the size of their arguments. 2023-04-27 08:56:56 +02:00
Jactry Zeng 619e34500f appwiz.cpl: Handle WM_CLOSE and WM_COMMAND(IDCANCEL) in the support info dialog. 2023-04-26 22:49:17 +02:00
Jactry Zeng 3e6779867a appwiz.cpl: Process messages while waiting for the uninstaller to terminate.
In the current implementation, the main UI will be blocked after
the uninstaller is launched. So using MsgWaitForMultipleObjects()
to wait the process and process new messages from GUI. Also popup
a message dialog while trying to launch multiple uninstallers.
2023-04-26 22:49:17 +02:00
Shaun Ren 7f1df4b27d include: Add ISpTTSEngineSite and ISpTTSEngine interfaces. 2023-04-26 22:49:17 +02:00
Shaun Ren 5f977d2fa8 include: Add more sapi structs and enums. 2023-04-26 22:49:17 +02:00
Zebediah Figura ba99b0d77b d3d9: Pass the container to d3d9_surface_create(). 2023-04-26 22:49:17 +02:00
Zebediah Figura 7b7195330d d3d9: Create sub-resource surfaces manually.
Move away from using the sub_resource_created callback to do this.

This is also a step away from using the create_swapchain_texture callback.
2023-04-26 22:49:17 +02:00
Zebediah Figura 8a5b4252c8 d3d9: Move surface allocation to d3d9_surface_create().
Renamed from d3d9_surface_init() accordingly.
2023-04-26 22:49:17 +02:00
Zebediah Figura 7b7d26a731 dxgi: Create d3d11 swapchain textures directly from d3d11_swapchain_init().
Using the IWineDXGIDeviceParent::swapchain_texture_created() callback.
2023-04-26 22:49:17 +02:00
Zebediah Figura 4413e94908 dxgi: Introduce IWineDXGIDeviceParent::register_swapchain_texture() and use it in IDXGIDevice::CreateSurface().
Instead of having d3d11 create the wined3d texture, create it in dxgi instead,
and let d3d11 create a d3d_texture2d object to wrap it.

This is a step towards getting rid of the create_swapchain_texture() callback,
which is mildly difficult to work with and conceptually complex.
2023-04-26 22:49:17 +02:00
Giovanni Mascellani f443b9e042 mfplat/tests: Test that the content of DXGI buffers is discarded when locking for writing. 2023-04-26 22:49:17 +02:00
Giovanni Mascellani d073d3ea18 mfplat: Only upload surface data to GPU for DXGI buffers when writing. 2023-04-26 22:49:17 +02:00
Giovanni Mascellani 49b8e55b3c mfplat: Only download surface data from GPU for DXGI buffers when reading. 2023-04-26 22:49:17 +02:00
Giovanni Mascellani 071eb50ff0 mfplat: Fix locking flags usage for DXGI buffers. 2023-04-26 22:49:17 +02:00
Giovanni Mascellani df660e80f0 mfplat: Do not mark a DXGI buffer as locked if surface mapping fails.
Analogous to 44c9ea5043.
2023-04-26 22:49:17 +02:00
Giovanni Mascellani f40e5fcb38 mfplat/tests: Test locking flags for DXGI buffers. 2023-04-26 22:49:17 +02:00
Giovanni Mascellani c1eee92bd2 mfplat/tests: Test Lock2D() on a locked DXGI surface buffer. 2023-04-26 22:49:17 +02:00
Giovanni Mascellani 91c0eda709 mfplat: Fix locking flags usage for D3D9 buffers. 2023-04-26 22:49:17 +02:00
Giovanni Mascellani d24f8dbbc7 mfplat/tests: Independently test that locking flags are ignored for D3D9 buffers.
In the previous test the same address was always returned for data,
hinting that the tests might have been succeding just because of some
aliasing reason. The new tests show that this is not the case:
even when transferring data through another throw-away surface,
changes are seen and recorded independently of the locking flags.
2023-04-26 22:49:17 +02:00
Giovanni Mascellani ee16e7145e mfplat/tests: Test locking flags for D3D9 buffers. 2023-04-26 22:49:17 +02:00
Giovanni Mascellani ef4441a263 mfplat/tests: Test Lock2D() on a locked D3D9 surface buffer. 2023-04-26 22:49:17 +02:00
Michael Stefaniuc 5cae9680f4 win32u: Use ARRAY_SIZE() instead of open coding it. 2023-04-26 22:49:16 +02:00
Michael Stefaniuc b0dd4177d5 uiautomationcore: Drop superfluous TRUE : FALSE conditional expression. 2023-04-26 22:49:16 +02:00
Michael Stefaniuc 572a9f6a68 threadpoolwinrt: Forward a Release() to a Release() method. 2023-04-26 22:49:16 +02:00
Alexandre Julliard da16581e63 ntdll: Use nameless unions/structs for register contexts. 2023-04-26 22:49:16 +02:00
Mohamad Al-Jaf 33598db743 shell32: Fix last parameter behavior in SHBindToFolderIDListParent(). 2023-04-26 22:49:16 +02:00
Mohamad Al-Jaf 27434f360e shell32/tests: Test SHBindToParent() last parameter behavior. 2023-04-26 22:49:16 +02:00
Dmitry Timoshkov 5956c995c3 shell32/tests: Add SHBindToFolderIDListParent() tests. 2023-04-26 22:49:16 +02:00
Mohamad Al-Jaf c12ccd6f80 shell32: Implement SHBindToFolderIDListParent().
Called by IE11.

Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
2023-04-26 22:49:16 +02:00
Gabriel Ivăncescu a500bb72f0 mshtml/tests: Fix element leak in elem_fire_event.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-04-25 21:39:20 +02:00
Gabriel Ivăncescu 31e023fb1d mshtml: Pass actual node_ccp to ccref_decr for nodes.
Avoids having to look it up again later during collection.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-04-25 21:39:16 +02:00
Gabriel Ivăncescu fd2f3a035c mshtml: Fix nsChannel's load_info leak.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-04-25 21:39:16 +02:00
Gabriel Ivăncescu 668d8afd74 mshtml: Support cycle collection for nsChannel.
This is traversed from the Gecko document, and should be part of the graph
(it refers to gecko objects that participate in it, and which are part of
a cycle).

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-04-25 21:39:15 +02:00
Gabriel Ivăncescu 917ec2db66 mshtml: Store minimum compat mode required for events in the ctor table.
Since such event types don't exist as separate event types in older modes,
this prevents confusing leaks without bloating the constructors with more
boilerplate.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-04-25 21:39:12 +02:00
Gabriel Ivăncescu 1544be253a mshtml: Fix URI leak in NewURI on failure.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-04-25 21:39:12 +02:00
Gabriel Ivăncescu a10acc0ac3 mshtml: Fix nsIFile dir leak in init_xpcom.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-04-25 21:39:12 +02:00
Gabriel Ivăncescu eba8c8d66e mshtml: Fix factory leak in init_nsio.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-04-25 21:39:12 +02:00
Gabriel Ivăncescu a80a3be462 mshtml: Do not release the principal returned by GetPrincipal.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-04-25 21:39:12 +02:00
Stefan Dösinger 60adbec765 d3d8/test: Accept AMD GPU sysmem sample failure in test_mipmap_upload. 2023-04-25 21:39:07 +02:00
Stefan Dösinger e39c497559 d3d8/tests: Radeon GPUs don't draw from sysmem textures. 2023-04-25 21:39:07 +02:00
Stefan Dösinger 830906f3dc d3d9/tests: Accept AMD GPU sysmem sample failure in test_mipmap_upload. 2023-04-25 21:39:07 +02:00
Stefan Dösinger e5f149a81a d3d9/tests: Radeon GPUs don't draw from sysmem textures. 2023-04-25 21:39:07 +02:00
Alexandre Julliard 871f333d55 ntdll: Use a separate memory allocation for the kernel stack. 2023-04-25 18:00:38 +02:00
Mohamad Al-Jaf 041a7990a3 apisetschema: Add api-ms-win-core-psm-appnotify-l1-1-0.
Needed for Minecraft Legends.
2023-04-25 17:59:35 +02:00
Mohamad Al-Jaf 1a4be35948 twinapi.appcore: Add UnregisterAppStateChangeNotification stub. 2023-04-25 17:59:35 +02:00
Mohamad Al-Jaf 5ff1242c94 twinapi.appcore: Add RegisterAppStateChangeNotification stub.
Needed for Minecraft Legends.
2023-04-25 17:59:35 +02:00
Mohamad Al-Jaf 4d61854dc1 twinapi.appcore: Add stub DLL. 2023-04-25 17:59:35 +02:00