Commit graph

168635 commits

Author SHA1 Message Date
Piotr Caban 5cf45f28fe wineps: Don't write image content upside-down in PSDRV_WriteDIBPatternDict.
Image rotation is done in PSDRV_WriteImageDict.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55210
2023-12-07 20:46:26 +01:00
Alexandros Frantzis 140f0c03d0 winewayland.drv: Lock the pointer if confined without cursor.
Pointer confinement may only be enabled by the compositor if the pointer
enters the confine region. If the region is small (as in many
mouselook cases) it's very likely that this will never happen and the
pointer will remained unconfined.

To allow mouselook to work more reliably, prefer to lock the pointer if
a window is confined and the cursor is not visible.
2023-12-07 20:46:18 +01:00
Alexandros Frantzis 4ab524ee4c winewayland.drv: Implement relative mouse motion.
When the cursor is hidden and a pointer constraint is active, transition
to relative mouse motion to enable mouselook in 3D games.
2023-12-07 20:46:16 +01:00
Alexandros Frantzis bf1cabd18f winewayland.drv: Implement ClipCursor.
Use the zwp_pointer_constraints_v1 protocol to implement cursor
clipping. Note that Wayland only allows us to constrain the cursor
within the extents of a particular target surface.
2023-12-07 20:46:05 +01:00
Alexandros Frantzis cf267c6056 winewayland.drv: Remove duplicate handling of wp_viewporter global. 2023-12-07 20:46:01 +01:00
Alexandros Frantzis 7841182172 winewayland.drv: Handle window foreground state on keyboard focus.
Borrow the concept of "managed" windows from WineX11 and use it
to decide whether a window should become the foreground window
when receiving the Wayland keyboard focus.
2023-12-07 20:45:58 +01:00
Daniel Lehman 57a391b85b msxml3: Handle default namespace in get_namespaceURI.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53531
2023-12-07 20:21:43 +01:00
Alex Henrie c6f121df19 user.exe: Rename SetDeskWallPaper to SetDeskWallpaper.
Although 16-bit function names are not case sensitive, it's best to
match the 32-bit version.
2023-12-07 20:21:43 +01:00
Alex Henrie adfaef5a86 user32: Correct capitalization of SetDeskWallpaper.
Spotted by Vijay Kiran Kamuju.
2023-12-07 20:21:43 +01:00
Fabian Maurer ba4bc623ef net: Accept yes/no switches.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55859
2023-12-07 20:21:43 +01:00
Akihiro Sagawa 3681a68e78 dwmapi: Implement DwmGetWindowAttribute(DWMWA_EXTENDED_FRAME_BOUNDS).
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55968
2023-12-07 20:21:42 +01:00
Zebediah Figura 4b458775bb configure: Use -mpreferred-stack-boundary=2 on i386.
gcc currently assumes the stack alignment for i686-w64-mingw32 is 16, which is
essentially wrong. It works around this in most cases by applying -mstackrealign
when SSE is in use. However, this doesn't address the case of manually aligned
types (i.e. DECLSPEC_ALIGN), and it also for some reason doesn't seem to apply
when -mavx512f is in use, which seems to be an independent gcc bug.

The correct solution on the gcc end is not to assume that the stack is 4-byte
aligned. -mpreferred-stack-boundary=2 achieves exactly this, and there is motion
upstream to address this by effectively making this setting the default. Since
this will take time to propagate downstream, though, it seems prudent to address
this bug locally by essentially applying the same fix downstream.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55007
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55899
2023-12-07 20:21:42 +01:00
Gabriel Ivăncescu 3545c35d29 mshtml/tests: Fix VariantClear on uninitialized variable.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-07 20:21:42 +01:00
Gabriel Ivăncescu 79a2fb719f mshtml: Implement url prop for StorageEvent objs.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-07 20:21:42 +01:00
Gabriel Ivăncescu cfefbb8f45 mshtml: Send proper legacy storage event with actual url.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-07 20:21:42 +01:00
Gabriel Ivăncescu 7ca9e4ac9f mshtml: Don't expose "restricted" members.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-07 20:21:42 +01:00
Gabriel Ivăncescu 39f86db516 mshtml: Expose the other IHTMLEventObj* interfaces.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-07 20:21:42 +01:00
Alexandre Julliard 457a6fd4b4 msvcrt: Add a stub ARM64EC CPU backend. 2023-12-07 20:21:42 +01:00
Alexandre Julliard 158a2bada7 kernelbase: Implement SwitchToFiber on ARM64EC. 2023-12-07 20:21:42 +01:00
Alexandre Julliard 8fef79cb41 kernelbase: Implement DebugBreak() for ARM64EC. 2023-12-07 20:21:42 +01:00
Alexandre Julliard 6a5bb5d7aa ntdll: Implement KiUserApcDispatcher for ARM64EC. 2023-12-07 20:21:42 +01:00
Alexandre Julliard 9e0f2e3b92 ntdll: Implement KiUserCallbackDispatcher for ARM64EC. 2023-12-07 14:44:32 +01:00
Alexandre Julliard 3c94236186 winex11: Use UINT instead of BOOL to avoid warnings for one-bit variables. 2023-12-07 08:37:30 +01:00
Jacek Caban 04b3f6ee51 ntdll: Remove unused valgrind_make_readable function. 2023-12-07 08:36:56 +01:00
Daniel Lehman f0c08bd01e msxml3: Handle default namespace in get_prefix. 2023-12-06 23:11:25 +01:00
Jacek Caban 814807a1d9 user32: Remove unused argument for unpack_message. 2023-12-06 23:10:23 +01:00
Jacek Caban 10424f0dbd win32u: Provide extra space in buffers used to dispatch string getter messages. 2023-12-06 23:10:23 +01:00
Zebediah Figura 2c1dcf4b28 quartz: Specify the mode as a VMRMode. 2023-12-06 23:10:00 +01:00
Zebediah Figura dea65774ce quartz: Split the VMR into two separate filters.
Rewrite requires renderless mode in the VMR7, which means that it needs to
actually use ddraw instead of d3d9. At that point the two will share almost no
common code. Split them into separate objects which live in separate files.

This commit essentially copies vmr9.c into vmr7.c, then removes the
VMR7-specific interfaces from the VMR9 and vice versa. The default presenter is
retained for now (but will be replaced eventually).

Since the VMR7 no longer exposes IVMRSurfaceAllocatorNotify9, the relevant calls
to AdviseNotify(), SetD3DDevice(), and AllocateSurfaceHelper() are changed from
COM methods to direct function calls. No other change should be made.
2023-12-06 23:09:58 +01:00
Zebediah Figura edc843d36f quartz: Do not forward IVMRWindowlessControl::SetVideoClippingWindow() to IVMRWindowlessControl9. 2023-12-06 23:09:58 +01:00
Zebediah Figura ecc04319e6 quartz: Improve the IVMRFilterConfig::SetNumberOfStreams() stub.
Bring it up to parity with IVMRFilterConfig9::SetNumberOfStreams().
2023-12-06 23:09:57 +01:00
Zebediah Figura 096172f27f quartz: Do not forward IVMRFilterConfig::SetRenderingMode() to IVMRFilterConfig9. 2023-12-06 23:09:57 +01:00
Zebediah Figura 20b1ef6ed0 quartz: Return the rect from get_default_rect() through a pointer.
Notably, this avoids the incorrect use of a static variable.
2023-12-06 23:09:55 +01:00
Matteo Bruni bc1ba43942 d3dx9: Check for successful sprite draw in DrawTextW(). 2023-12-06 23:09:44 +01:00
Fabian Maurer 8e48d7fdbd coml2: Move StgCreatePropSetStg from ole32. 2023-12-06 17:54:53 +01:00
Fabian Maurer e5df1b2e51 coml2: Move PropStgNameToFmtId from ole32. 2023-12-06 17:54:53 +01:00
Fabian Maurer ce60cfeb81 coml2: Move FmtIdToPropStgName from ole32. 2023-12-06 17:54:53 +01:00
Fabian Maurer 7478f15f98 coml2: Move StgIsStorageFile from ole32. 2023-12-06 17:54:53 +01:00
Fabian Maurer eab7899eb5 coml2: Move StgIsStorageILockBytes from ole32. 2023-12-06 17:54:53 +01:00
Bernhard Übelacker 5a0321ac8c mlang: Allow encoding name "ISO8859-1".
This fixes eFilmLt.exe when running with native msxml6.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=13340
2023-12-06 17:54:53 +01:00
Alexandre Julliard 23111d625b vkd3d: Import upstream release 1.10. 2023-12-06 17:54:53 +01:00
Alexandre Julliard 0fea0db866 ntdll: Export KeAddSystemServiceTable() instead of the KeServiceDescriptorTable variable. 2023-12-06 13:14:47 +01:00
Alexandre Julliard 48182726e9 ntdll: Use posix_spawn() to start the server.
Based on a patch by Brendan Shanks.
2023-12-06 11:56:33 +01:00
Alexandre Julliard 7c777af498 ntdll: Add a helper to build a path and exec it. 2023-12-06 11:56:02 +01:00
Nikolay Sivov 26f11bdfe5 ntdll: Use public type for SystemSupportedProcessorArchitectures returned data.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-12-06 10:20:50 +01:00
Nikolay Sivov dbeaaf2b0f include: Add missing enum to wdm.h. 2023-12-06 10:20:49 +01:00
Brendan Shanks e4ec6f87e0 winemac: Use RTL_CONSTANT_STRING. 2023-12-06 10:20:37 +01:00
Gabriel Ivăncescu e5c4acc459 mshtml: Get rid of outer_window member in HTMLDocumentNode.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-06 10:20:28 +01:00
Gabriel Ivăncescu ff617c838f mshtml: Use inner window's outer_window when checking if it's interactive for edit mode.
We can't rely on dom_interactive_time either because setup_edit_mode can
reload the page (and sets it uninitialized).

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-06 10:20:25 +01:00
Gabriel Ivăncescu db12c470c8 mshtml: Skip navigation handling on anchor/area elements for detached documents.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-12-06 10:20:22 +01:00