Commit graph

161387 commits

Author SHA1 Message Date
Connor McAdams 922706bd1e uiautomationcore: Add UiaRemoveEvent stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-11-30 20:38:27 +01:00
Michael Stefaniuc b58c88d14d dmstyle: Move a struct declaration to the file it is used in.
And get rid of the typedef for that struct.
2022-11-30 20:38:27 +01:00
Michael Stefaniuc 44400613cb dmstyle: Get rid of a no longer used function. 2022-11-30 20:38:27 +01:00
Michael Stefaniuc 25de40af07 dmstyle: Simplify parsing of a style reference list.
Avoids adding an invalid style reference to the list with subsequent
crash on release.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53941
2022-11-30 20:38:27 +01:00
Michael Stefaniuc 8881ada9c9 dmstyle: Simplify parsing of a style track list.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53941
2022-11-30 20:38:27 +01:00
Matteo Bruni 72597b170e wined3d: Don't use separate GL contexts for different swapchains.
This avoids triggering a Mesa slowpath introduced
by Mesa commit e7f3a8d6959c74f63c877dd8776fe519d54f946f.

Additionally, it helps applications using multiple swapchains and
queries (e.g. the one in bug 43773) by not requiring extra context
switches when polling queries. For the records, the actual issue from
bug 43773 was probably fixed a long time ago, maybe already by
7b62a970e9 or thereabouts.

The downside of this change is that we'll now end up calling
glFinish() when there are multiple threads using the same device when
CSMT is disabled. That's a non-default setting and one that should
only be used for troubleshooting purposes at this point, so it
shouldn't be too bad of an issue. It might also make sense to just get
rid of that glFinish() entirely, it's never going to be a complete
fix.
2022-11-30 20:38:27 +01:00
Matteo Bruni ee349306e2 wined3d: Destroy primary GL context if initialization fails. 2022-11-30 20:38:27 +01:00
Matteo Bruni 242cdaee82 wined3d: Move backup window / DC handling from the swapchain to the device. 2022-11-30 20:38:27 +01:00
Matteo Bruni b12cae8c99 wined3d: Get rid of a redundant branch. 2022-11-30 20:38:27 +01:00
Matteo Bruni c1857959b8 wined3d: Remove unnecessary index increment in wined3d_context_gl_cleanup_resources(). 2022-11-30 20:38:27 +01:00
Matteo Bruni d6e4e944af wined3d: Don't try to access unused buffers in wined3d_context_gl_load_numbered_arrays().
wined3d_stream_info_from_declaration() doesn't update elements of the
stream_info structure that are not used by the current vertex
declaration. That means that there might be obsolete buffer references
in stream_info, possibly to buffers that have since been destroyed.
2022-11-30 20:38:27 +01:00
Michel Zou 53bc6c7a4a msvcrt: Fix errno set on dup from read-only file.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53950
2022-11-30 20:38:27 +01:00
Nikolay Sivov 7ca1eff8e1 vbscript: Make redim fail on fixed-size arrays.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53964
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 15:38:34 +01:00
Nikolay Sivov 7bf58c895c d3dcompiler: Implement D3DDisassemble() using vkd3d-shader.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46649
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 15:38:26 +01:00
Zhiyi Zhang e5c6f915bb winex11.drv: Release window data before calling sync_window_cursor().
This prevents a deadlock between the window data lock and the ntdll loader lock because
sync_window_cursor() eventually may grab the ntdll loader lock. So if another thread already
grabbed the ntdll loader lock and wants to enter the same window data critical section, it will
deadlock.

Fix Youropa (SteamID: 640120) OpenGL launch option launching to a black screen.
2022-11-30 11:14:30 +01:00
Rémi Bernon 140456a058 joy.cpl: Remove unnecessary JoystickData structure. 2022-11-30 11:14:21 +01:00
Rémi Bernon 9d80a0ee79 joy.cpl: Move dinput test tab logic to dinput.c. 2022-11-30 11:14:07 +01:00
Rémi Bernon e67b943983 joy.cpl: Draw dinput axes state with gdi32. 2022-11-30 11:14:03 +01:00
Rémi Bernon 792babb282 joy.cpl: Draw dinput button state with gdi32. 2022-11-30 11:13:14 +01:00
Rémi Bernon a05df2e847 joy.cpl: Add a checkbox to test xinput rumble. 2022-11-30 11:12:29 +01:00
Rémi Bernon 3bc30c3723 joy.cpl: Draw xinput controller state with gdi32. 2022-11-30 11:11:41 +01:00
Rémi Bernon 3f4a799089 joy.cpl: Add a new xinput controller test tab. 2022-11-30 11:11:37 +01:00
Rémi Bernon efe01bc7cb joy.cpl: Build without NONAMELESSUNION. 2022-11-30 11:09:58 +01:00
Rémi Bernon d645cd149b joy.cpl: Use designated initializers in display_cpl_sheets. 2022-11-30 11:09:40 +01:00
Rémi Bernon 6375857829 joy.cpl: Add DI_ prefix to dinput dialog constants. 2022-11-30 11:09:36 +01:00
David Kahurani 05db7cf04d xmllite/writer: Implement WriteSurrogateCharEntity.
Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2022-11-30 10:56:13 +01:00
David Kahurani 083211f54d xmllite/writer: Implement WriteRawChars.
Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2022-11-30 10:56:12 +01:00
David Kahurani f3cfbef6af xmllite/writer: Implement WriteChars.
Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2022-11-30 10:56:10 +01:00
Nikolay Sivov 0002cb89ec comctl32/listview: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 10:55:24 +01:00
Nikolay Sivov aa98d43c45 comctl32/button: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 10:55:23 +01:00
Nikolay Sivov 7ef99635fb comctl32/static: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 10:55:21 +01:00
Nikolay Sivov a1f4a2d13a comctl32/monthcal: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 10:55:20 +01:00
Nikolay Sivov 8fe1c2282e comctl32/header: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 10:55:18 +01:00
Alex Henrie 41b4d9b301 include: Annotate I_RpcAllocate with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC). 2022-11-30 10:54:31 +01:00
Nikolay Sivov b98c2a757e wshom: Fix WshNetwork interface definition.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 10:53:02 +01:00
Alex Henrie 61dc7de497 mountmgr: Use standard C functions for memory allocation. 2022-11-30 10:51:59 +01:00
Alex Henrie 9dba420d0a hhctrl: Use standard C functions for memory allocation. 2022-11-30 10:51:34 +01:00
Robert Wilhelm 7ed17ec251 wshom.ocx: Add WShNetwork object creation test. 2022-11-29 21:33:58 +01:00
Robert Wilhelm 57fa2ddd5e wshom.ocx: Add IWshNetwork2 interface stub implementation. 2022-11-29 21:33:58 +01:00
Robert Wilhelm 10d256c64f wshom.ocx: Added WshNetwork class factory implementation. 2022-11-29 21:33:58 +01:00
Brendan Shanks 8a18836efc wpcap: Free wine_get_unix_file_name memory with HeapFree. 2022-11-29 21:33:58 +01:00
Brendan Shanks 2d4b588afc mountmgr.sys: Free wine_get_dos_file_name memory with HeapFree. 2022-11-29 21:33:58 +01:00
Brendan Shanks a0a4c2fb3f include: Add __WINE_(DEALLOC|MALLOC) attributes to wine_get_(dos|unix)_file_name. 2022-11-29 21:33:58 +01:00
Alex Henrie 93a2fb604f include: Annotate StrDup[AW] with __WINE_MALLOC and __WINE_DEALLOC. 2022-11-29 21:33:58 +01:00
Alex Henrie 3d8a412a90 include: Add shobjidl_core.idl.
Needed to compile Tera Term.
2022-11-29 21:33:58 +01:00
Alex Henrie 27eee42467 shell32: Rename ShellItem to struct shell_item.
To avoid confusion or conflict with the ShellItem struct defined in the
Windows headers.
2022-11-29 21:33:58 +01:00
Bernhard Kölbl 12c28aa22f mfmediaengine: Pass volume changes to media session. 2022-11-29 21:33:58 +01:00
Bartosz Kosiorek edee5538e3 gdiplus: Add support for LineCapArrowAnchor.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=42809
2022-11-29 21:33:58 +01:00
Bartosz Kosiorek 0fd51346e1 gdiplus: Fix position of Custom Cap when Scale is different that 1. 2022-11-29 21:33:58 +01:00
Bartosz Kosiorek be7db8457d gdiplus: Add support for Custom Line Indent.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45273
2022-11-29 21:33:58 +01:00