Commit graph

174110 commits

Author SHA1 Message Date
Aurimas Fišeras
0eda6a76c7 po: Update Lithuanian translation. 2024-11-14 11:06:38 +01:00
Gabriel Ivăncescu
38f1ce3210 mshtml: Forward deletion for GLOBAL_SCRIPTVAR to the script's object.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-11-13 23:14:48 +01:00
Gabriel Ivăncescu
9b264c948f mshtml: Check if window global prop still exists before returning its id.
We have to introduce special handling for jscript, as it's probably integrated
on native mshtml.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-11-13 23:14:47 +01:00
Gabriel Ivăncescu
055bf9f5a2 mshtml: Override window's element prop directly rather than using GLOBAL_DISPEXVAR.
When GLOBAL_DISPEXVAR is used, we store the id of the dynamic prop and
invoke it using the same id. But this is not the case if we have a jsdisp,
which is redirected from InvokeEx and results in an invalid id.

The actual way this works on native (in IE9+) is that element/frame props
are special and not part of the window object at all. They're actually
looked up after the prototype is, in a special way, but that requires a
revamp. Storing over it just creates an actual prop on the window (which
is what we are doing here).

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-11-13 23:14:36 +01:00
Gabriel Ivăncescu
18aefb5dcf mshtml: Use BSTR to store global prop's name.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-11-13 23:14:36 +01:00
Gabriel Ivăncescu
85331da430 jscript: Add basic semi-stub implementation of GetMemberProperties.
Also add tests for GetMemberName and DeleteMemberBy* which we did not have.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-11-13 23:14:35 +01:00
Gabriel Ivăncescu
5947a66f4c mshtml: Throw invalid action for IE8 window prop deletion.
Instead of E_NOTIMPL.

We can't use the dispex's delete because it also applies to dynamic and
builtin props and it also happens too late when deleting by name (after
looking it up), where existing tests show it doesn't look up the dispid
at all.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-11-13 23:14:33 +01:00
Gabriel Ivăncescu
12755eeb1c mshtml: Reset builtin function props to their default values when deleted.
The previous tests bailed out too early on IE8, and did not test builtin
props. Also added todos for tests that we did not even test because of
returning early.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-11-13 23:14:30 +01:00
Rémi Bernon
e3258e7620 winex11: Simplify the control flow in ConfigureNotify handlers. 2024-11-13 20:27:15 +01:00
Rémi Bernon
968ab4e79a winex11: Simplify the control flow in WM_STATE handlers. 2024-11-13 20:27:15 +01:00
Rémi Bernon
b1dd7da806 winex11: Avoid updating _NET_WM_STATE on iconic windows.
This tends to trigger window mapping with some window managers.
2024-11-13 20:27:13 +01:00
Rémi Bernon
199274d420 winex11: Avoid requesting unnecessary window config changes. 2024-11-13 20:27:13 +01:00
Rémi Bernon
7ac35f13cb winex11: Avoid requesting unnecessary _NET_WM_STATE changes. 2024-11-13 20:27:13 +01:00
Elizabeth Figura
1f42d452aa wined3d: Initialize max_blend_stages in the SPIRV fragment pipe. 2024-11-13 20:26:42 +01:00
Elizabeth Figura
96c37c23f6 wined3d: Clear caps to zero in shader caps query functions. 2024-11-13 20:26:42 +01:00
Elizabeth Figura
f588fec26c wined3d: Rewrite the comment in compute_texture_matrix().
Make the function easier to understand, and use language that's a little less
GL-centric.
2024-11-13 20:26:40 +01:00
Elizabeth Figura
70258a160f wined3d: Calculate the texture matrix solely from the vertex declaration. 2024-11-13 20:26:40 +01:00
Elizabeth Figura
b02b73673b wined3d: Do not clamp fog in the VS.
NVidia and WARP clamp before interpolation in the oFog case; AMD clamps only
after interpolation (which we also do).

On the other hand, test_fog() proves that clamping should not be done before
interpolation in the FFP case, for any driver.

In order to emulate an FFP vertex shader with a real compiled shader, we need to
avoid clamping before interpolation, choosing the AMD behaviour here.
2024-11-13 20:26:35 +01:00
John Chadwick
a5de8d85d3 winex11: Remove stub tablet_get_packet wow64 thunk.
The previous commit ensures that the WTPACKET fields align between
32-bit and 64-bit architectures, so now we can use the same
tablet_get_packet without needing another thunk.
2024-11-13 18:48:42 +01:00
John Chadwick
5b10f924fa wintab32: Align WTPACKET for 32/64-bit archs.
WTPACKET's structure is never directly exposed via the API; it's
internal to Wine. The HCTX value is only used on the wintab32 side,
not the driver side, and it is used as an integer rather than a
pointer, so this should be safe to do.

This eliminates the need to have a wow64 thunk for tablet_get_packet.
2024-11-13 18:48:42 +01:00
Etaash Mathamsetty
ea3c73b12d explorer: Enable the Wayland driver. 2024-11-13 18:48:42 +01:00
Alistair Leslie-Hughes
a93623eced user32: Implement GetDpiAwarenessContextForProcess.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57169
2024-11-13 18:48:42 +01:00
Marc-Aurel Zent
194901b592 winemac.drv: Add additional French symbol vkeys mappings. 2024-11-13 18:48:42 +01:00
Marc-Aurel Zent
484c43c9e9 winemac.drv: Add Mac virtual key code information to the German layout. 2024-11-13 18:48:42 +01:00
Marc-Aurel Zent
1125bb8f71 winemac.drv: Allow symbol vkeys to match on Mac virtual key codes. 2024-11-13 18:48:42 +01:00
Piotr Caban
19018abf86 wine.inf: Set MountMgr service start option to SERVICE_BOOT_START.
This matches with native. It's needed to ensure that mountmgr is started
before other services that use functionality provided by it. Fixes
Autodesk Desktop Licensing Service that uses GetVolumeInformationByHandleW.
2024-11-13 18:48:42 +01:00
Piotr Caban
32be056558 services: Sort services start order by start type. 2024-11-13 18:48:42 +01:00
Zhiyi Zhang
e3db89aa9d urlmon/tests: Test flags for getting properties. 2024-11-13 18:48:42 +01:00
Zhiyi Zhang
61d8e74e72 urlmon: Support Uri_DISPLAY_IDN_HOST.
Uri_DISPLAY_IDN_HOST makes the hostname in Uri_PROPERTY_ABSOLUTE_URI, Uri_PROPERTY_DOMAIN and
Uri_PROPERTY_HOST appear in punycode or Unicode as it would appear in the Uri_PROPERTY_DISPLAY_URI
property. IDNs appears in Unicode on some Windows version and in punycode on others. Wine chose to
display Unicode for Uri_PROPERTY_DISPLAY_URI. So no need to add special handling for
Uri_DISPLAY_IDN_HOST at the moment because they already display in Unicode.
2024-11-13 18:48:42 +01:00
Zhiyi Zhang
427f8fae20 urlmon: Support Uri_PUNYCODE_IDN_HOST. 2024-11-13 18:48:42 +01:00
Zhiyi Zhang
71b4377e68 urlmon: Support Uri_DISPLAY_NO_FRAGMENT. 2024-11-13 18:48:42 +01:00
Zhiyi Zhang
a7b1e5d5dc urlmon: Support Uri_HOST_IDN. 2024-11-13 18:48:42 +01:00
Alexandre Julliard
dd6e73428d fluidsynth: Import upstream release 2.4.0. 2024-11-13 18:48:42 +01:00
Alexandre Julliard
3181ae039e mpg123: Import upstream release 1.32.9. 2024-11-13 15:05:23 +01:00
Alexandre Julliard
786cf5a20b nls: Update locale data to CLDR version 46. 2024-11-13 15:05:23 +01:00
Alexandre Julliard
9accb76341 tools: Download all Unicode data files before generating anything. 2024-11-13 15:05:23 +01:00
Alexandre Julliard
6208d61055 kernelbase: Implement EnumSystemFirmwareTables(). 2024-11-13 15:05:23 +01:00
Alexandre Julliard
966cec7a63 ntdll: Implement BIOS table enumeration.
Based on a patch by Dāvis Mosāns.
2024-11-13 15:05:16 +01:00
Alexandre Julliard
23db166ec8 kernel32/tests: Add some tests for EnumSystemFirmwareTables(). 2024-11-13 10:46:14 +01:00
Bernhard Übelacker
6dd7cd59d9 kernel32/tests: Remove todo_wine from now succeeding heap test.
This is a followup to commit d78cbe84e5.
2024-11-13 09:46:13 +01:00
Elizabeth Figura
60ddc9613b winevulkan: Use the correct logger method. 2024-11-12 21:52:24 +01:00
Elizabeth Figura
ac30eb1505 winevulkan: Use extend() instead of passing two separate roots to functions. 2024-11-12 21:52:24 +01:00
Rémi Bernon
3eb74f9ee8 desk.cpl: Expose the modesetting emulation registry setting. 2024-11-12 21:52:24 +01:00
Rémi Bernon
21623338ab win32u: Introduce a new registry setting to emulate modesetting. 2024-11-12 21:52:24 +01:00
Rémi Bernon
1b80a75048 win32u: Compute monitors raw DPI from the physical / current mode ratio. 2024-11-12 21:52:24 +01:00
Rémi Bernon
9a11af381b server: Use the monitor infos to map points from raw to virt. 2024-11-12 21:52:24 +01:00
Rémi Bernon
e6f8c57cc2 win32u: Offset the new display modes relative to the primary source. 2024-11-12 21:52:24 +01:00
Eric Pouech
d254d4ce12 cmd: Fix 'IF EXIST DIRECTORY' test condition evaluation.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-11-12 21:52:24 +01:00
Eric Pouech
f21744527e cmd: Modifiers in tilde variable expansion are case insensitive.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-11-12 21:52:24 +01:00
Eric Pouech
7b638dd0b8 cmd/tests: Add test about IF EXIST.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-11-12 21:52:24 +01:00