Commit graph

168540 commits

Author SHA1 Message Date
Alexandre Julliard c0f500ba00 winedump: Add a couple of ARM unwind codes. 2023-12-04 22:10:20 +01:00
Alexandre Julliard 17de5daa77 winedump: Add dumping of UWOP_EPILOG entries. 2023-12-04 22:10:20 +01:00
Alexandre Julliard 8c41a215b9 ntdll: Skip NtRaiseException() call on ARM when debugger is not present. 2023-12-04 22:10:20 +01:00
Alexandre Julliard 5b06847214 ntdll: Fix stack layout for KiUserCallbackDispatcher on ARM. 2023-12-03 14:21:20 +01:00
Alexandre Julliard 75d0d466ec ntdll: Fix stack layout for KiUserApcDispatcher on ARM. 2023-12-03 14:16:42 +01:00
Alexandre Julliard 89f3c59739 ntdll: Fix stack layout for KiUserExceptionDispatcher on ARM. 2023-12-03 14:15:52 +01:00
Alexandre Julliard 42046a24d4 ntdll: Implement context and machine frame unwind operations on ARM. 2023-12-03 14:15:52 +01:00
Alexandre Julliard de3fd9e265 ntdll/tests: Fix some compiler warnings on ARM. 2023-12-03 13:46:52 +01:00
Robert Wilhelm 369b540abf vbscript: Handle numdecimalplaces argument in Round().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55185
2023-12-01 22:35:35 +01:00
Nikolay Sivov 0a7f5646e4 vbscript: Coerce to VT_BOOL when evaluating jump conditions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-12-01 22:35:24 +01:00
Brendan Shanks 295d521b11 ntdll: Fix macOS build error with LLVM 17.
LLVM no longer allows non-private labels to appear between
.cfi_startproc/endproc when targeting Mach-O.

Based on a patch by Jacek Caban.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55863
2023-12-01 19:10:21 +01:00
Rémi Bernon b088d311a0 explorer: Remove now unnecessary wine_notify_icon support. 2023-12-01 19:09:15 +01:00
Rémi Bernon 48e6bf3cf1 winex11: Use the new SystrayDock driver interface. 2023-12-01 19:09:14 +01:00
Rémi Bernon 229b4561d9 explorer: Use layered windows for the docked systray icons. 2023-12-01 19:09:14 +01:00
Rémi Bernon 62c6646d8f win32u: Introduce new SystrayDock driver entry points. 2023-12-01 19:08:55 +01:00
Rémi Bernon 550cac9686 winemac: Use the new NotifyIcon user driver interface. 2023-12-01 19:08:55 +01:00
Rémi Bernon 22bfdbeb48 win32u: Introduce a new NtUserSystemTrayCall message call. 2023-12-01 19:08:54 +01:00
Rémi Bernon 600206be39 explorer: Hide the standalone systray window on close. 2023-12-01 19:08:54 +01:00
Rémi Bernon 27c3cf93e3 explorer: Always set the systray icon tooltip text. 2023-12-01 19:08:54 +01:00
Myah Caron 79d0c050a9 user32: Add SetDisplayAutoRotationPreferences stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55920
Signed-off-by: Myah Caron <qsniyg@protonmail.com>
2023-12-01 19:07:49 +01:00
Fabian Maurer 13928e0855 server: Check socket flags after all sockets got processed.
In rare cases we get an event during the second iteration of the loop,
changing the first element. This would lead to an assertion later.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55054
2023-12-01 18:51:49 +01:00
Fabian Maurer c241468f16 coml2: Move WriteClassStg from ole32. 2023-12-01 18:51:25 +01:00
Fabian Maurer 754631becb coml2: Move WriteClassStm from ole32. 2023-12-01 18:51:25 +01:00
Fabian Maurer fae825276a coml2: Move ReadClassStg from ole32. 2023-12-01 18:51:25 +01:00
Fabian Maurer a72b534dc9 coml2: Move ReadClassStm from ole32. 2023-12-01 18:51:25 +01:00
Fabian Maurer c6f049fc33 coml2: Move GetConvertStg from ole32. 2023-12-01 18:51:25 +01:00
Fabian Maurer 53c0a31b28 coml2: Add dll and move code from ole32/memlockbytes.c. 2023-12-01 18:51:25 +01:00
Alex Henrie 69d815407d gdiplus: Use CRT allocation functions. 2023-12-01 18:48:35 +01:00
Jacek Caban a3f4878f52 mshtml: Return failure in IHTMLDocument2::put_URL for detached documents. 2023-12-01 18:48:10 +01:00
Jacek Caban 4aad315a3f mshtml: Return failure in IHTMLDocument2::get_URL for detached documents. 2023-12-01 18:48:10 +01:00
Jacek Caban 58d4f541c0 mshtml/tests: Add detached documents handling tests. 2023-12-01 18:48:10 +01:00
Gabriel Ivăncescu 068f244063 mshtml: Remove the inner window ref from the doc only when it is actually unlinked. 2023-12-01 18:48:10 +01:00
Gabriel Ivăncescu 1593f2f508 mshtml/tests: Improve the iframe navigation test.
It was confusing before since it made it seem like it might use the outer
window, while in fact the document is unchanged on native. Now the "new"
doc is used for navigating, since it's already checked to be the same as
the iframes_doc (but that test fails in wine and is todo_wine).
2023-12-01 18:48:08 +01:00
Zebediah Figura 5b60f4649b wined3d: Set d3d 1-9 textures in the state as SRVs.
The idea is to reuse the existing code to handle SRVs, which simplifies the GL
code and essentially allows the Vulkan code to work "for free" (which is to say,
by writing this patch, rather than by adding support for flat textures to the
Vulkan renderer.)

This is a large patch; it consists the following parts:

* Create identity SRVs for d3d 1-9 textures. Store those in
  state->shader_resource_view instead of in state->texture.

* (Re)use wined3d_context_gl_bind_shader_resources() instead of state_sampler()
  to bind them.

  - Introduce code to that function to handle FFP textures.

  - Bind the sRGB texture if necessary in wined3d_shader_resource_view_gl_bind.

* (Re)use context_gl_load_shader_resources() instead of
  context_preload_textures() to load them.

  - Introduce code to that function to handle FFP textures.

  - Load the sRGB texture if necessary.

  - Port the SRV/RTV feedback loop check from context_preload_textures().

* Invalidate STATE_GRAPHICS_SHADER_RESOURCE_BINDING in places that now need to
  account for texture binding being guarded by that state instead of
  STATE_SAMPLER.

  Transitioning the remaining users of STATE_SAMPLER to
  STATE_GRAPHICS_SHADER_RESOURCE_BINDING, and removing STATE_SAMPLER, is left
  for future patches.
2023-12-01 18:46:23 +01:00
Zebediah Figura ff30b54791 d3d9: Use wined3d_texture_acquire_identity_srv(). 2023-12-01 18:45:46 +01:00
Zebediah Figura 1698fd40cd wined3d: Introduce an API for creating an identity SRV on a texture. 2023-12-01 18:45:44 +01:00
Zebediah Figura d8782a9b8e wined3d: Release the view's resource after destroying the view.
Allow us to avoid grabbing a temporary reference. This becomes a problem with
the next patch, where we would otherwise grab a reference while a texture is
being destroyed, and hence destroy it twice.
2023-12-01 18:45:20 +01:00
Zebediah Figura ef2908462d wined3d: Explicitly bind 0 for a NULL SRV.
Currently we invalidate STATE_SAMPLER whenever an SRV is bound, and hence rely
on sampler() to do this for us, which is a bit obscure and won't work with the
next patch.
2023-12-01 18:45:18 +01:00
Vijay Kiran Kamuju d95a04b4eb gdiplus: Add GdipDrawImageFX stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55945
2023-12-01 18:45:04 +01:00
Fabian Maurer c55cce6fcb server: Initialize pe image struct padding to avoid Valgrind warning. 2023-12-01 17:21:39 +01:00
Zebediah Figura 49a157b1f2 winegstreamer: Allow videoconvert to parallelize in the parser.
We already do this for the transform.
2023-12-01 17:21:39 +01:00
Daniel Lehman 0b31c53ebc msxml3: Handle null prefix in get_item. 2023-12-01 17:21:39 +01:00
Aida Jonikienė d81df26f7c dsdmo: Only print effect_inplace_Process() FIXME once.
GTA San Andreas really spams this message in certain situations.
2023-12-01 17:21:39 +01:00
Aida Jonikienė 602f68f23c comctl32: Only print TREEVIEW_HandleTimer() ERR once.
Older versions of Roblox trigger this quite a bit and it's annoying
to me so let's only print it once.
2023-12-01 17:21:39 +01:00
Alex Henrie b9714336ea uxtheme/tests: Add some tests for OpenThemeFile.
The tests show that the first argument must not be null, that the handle
returned via the fourth argument is not an HTHEME, and that that handle
can be passed to CloseThemeFile without error.
2023-12-01 17:21:39 +01:00
Alexandre Julliard effdb707b0 ntdll/tests: Remove some noisy traces. 2023-12-01 17:21:39 +01:00
Alexandre Julliard e60a97c1b4 ntdll: Fix stack layout for KiUserCallbackDispatcher on i386. 2023-12-01 17:21:39 +01:00
Alexandre Julliard 3774b00f31 ntdll: Fix stack layout for KiUserApcDispatcher on i386. 2023-12-01 17:21:39 +01:00
Alexandre Julliard 58a00854c3 ntdll: Fix stack layout for KiUserExceptionDispatcher on i386. 2023-12-01 17:21:39 +01:00
Alexandre Julliard b5cd47f541 ntdll: Skip NtRaiseException() call on ARM64 when debugger is not present. 2023-12-01 17:21:39 +01:00