Commit graph

174119 commits

Author SHA1 Message Date
Alexandre Julliard
8e2442584c ntdll/tests: Fix a test failure on 64-bit Windows. 2024-11-14 21:56:33 +01:00
Alexandre Julliard
6d1df55bf3 ntdll: Always return 0 length on failure in SystemFirmwareTableInformation. 2024-11-14 21:56:33 +01:00
Alexandre Julliard
9f8ef43991 rundll32: Restart itself if the dll is for a different architecture.
Based on the corresponding code in regsvr32.
2024-11-14 21:56:33 +01:00
Alexandre Julliard
5c597119a0 rundll32: Rewrite command line parsing.
Windows doesn't do any fancy unescaping.
2024-11-14 11:54:35 +01:00
Alexandre Julliard
c20bf25556 rundll32: Use crt allocation functions. 2024-11-14 11:53:03 +01:00
Alexandre Julliard
194ada7583 rundll32: Don't bother cleaning up at process exit. 2024-11-14 11:52:26 +01:00
Jacek Caban
8a87ce3c4f configure: Use -fms-hotpatch when available.
On Clang, this flag serves as a replacement for the __ms_hook_prologue__ attribute.
2024-11-14 11:10:28 +01:00
Jacek Caban
f47da4307f winegcc: Pass -fms-hotpatch to the linker.
The -fms-hotpatch flag is relevant for both the compiler and the linker.
2024-11-14 11:10:28 +01:00
Jacek Caban
0f84798246 configure: Use -ffunction-sections for PE targets. 2024-11-14 11:10:28 +01:00
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