Commit graph

165888 commits

Author SHA1 Message Date
David Kahurani
08d9f9b60b gdiplus: Use get_log_fontW in GdipGetLogFontW.
Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2023-08-02 20:03:51 +09:00
David Kahurani
326a9e18bb gdiplus: Use helper to calculate transform properties.
Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2023-08-02 20:03:51 +09:00
Gabriel Ivăncescu
f937b89cd7 mshtml: Use unlink and destructor in the vtbl for the MutationObserver constructor.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-02 19:59:33 +09:00
Gabriel Ivăncescu
2e5ac78a7c mshtml: Use unlink and destructor in the vtbl for HTMLXMLHttpRequestFactory.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-02 19:59:32 +09:00
Gabriel Ivăncescu
67d7cb3a62 mshtml: Use unlink and destructor in the vtbl for HTMLOptionElementFactory.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-02 19:59:32 +09:00
Gabriel Ivăncescu
df6316cdbc mshtml: Use unlink and destructor in the vtbl for HTMLImageElementFactory.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-02 19:59:32 +09:00
Gabriel Ivăncescu
9019e969ad mshtml: Use unlink and destructor in the vtbl for HTMLStyleSheet.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-02 19:59:32 +09:00
Gabriel Ivăncescu
cfe112d70c mshtml: Use unlink and destructor in the vtbl for HTMLStyleSheetsCollection.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-02 19:59:32 +09:00
Gabriel Ivăncescu
2e188c9681 mshtml: Use unlink and destructor in the vtbl for HTMLStyleSheetRulesCollection.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-02 19:59:27 +09:00
Gabriel Ivăncescu
6d63a630fe mshtml: Use unlink and destructor in the vtbl for HTMLStyleSheetRule.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-02 19:59:27 +09:00
Gabriel Ivăncescu
ae9aa7ec23 mshtml: Use unlink and destructor in the vtbl for CSSStyle.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-02 19:59:27 +09:00
Gabriel Ivăncescu
6ad4dd01dd mshtml: Use unlink and destructor in the vtbl for inner windows.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-02 19:59:27 +09:00
Gabriel Ivăncescu
9bad7be301 mshtml: Use unlink and destructor in the vtbl for HTMLEventObj.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-02 19:59:27 +09:00
Gabriel Ivăncescu
548b681185 mshtml: Use separate dispex destructors for different event types.
And get rid of the destroy method. This especially simplifies it when
traversal and unlinking is implemented.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-02 19:59:26 +09:00
Gabriel Ivăncescu
6a2ca11c65 mshtml: Use unlink and destructor in the vtbl for function disps.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-02 19:59:26 +09:00
Gabriel Ivăncescu
3c92edfdf2 mshtml: Introduce unlink_ref helper.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-02 19:59:25 +09:00
Gabriel Ivăncescu
7b30e3d34e mshtml: Use the common HTMLElement dispex vtbl in the dispex definitions.
Rather than filling it during initialization, which was a bit confusing,
even more later on when dispex will handle Cycle Collection.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-02 19:59:23 +09:00
Francois Gouget
5d377d8a5f webservices: Make alloc_float_text() static. 2023-08-02 19:58:46 +09:00
Zebediah Figura
d163ef089e wined3d: Do not load UAV locations when clearing if not necessary.
Don't load the buffer location if we are clearing the whole buffer, and never
load the texture location (for Vulkan; GL already did this). Only prepare them
instead.
2023-08-02 19:58:23 +09:00
Zebediah Figura
9373cd5e3e wined3d: Pass map flags to wined3d_context_copy_bo_address().
This is a step towards implementing D3D11_COPY_FLAGS.
2023-08-02 19:58:18 +09:00
Zebediah Figura
2f84616e02 wined3d: Avoid uploading deferred context maps more than once. 2023-08-02 19:58:18 +09:00
Zebediah Figura
34245154e8 wined3d: Move more miscellaneous GL declarations to wined3d_gl.h. 2023-08-02 19:57:58 +09:00
Zebediah Figura
dcdba8d571 wined3d: Move the ffp_attrib_ops to wined3d_gl_info.
They are quite GL-specific.
2023-08-02 19:57:56 +09:00
Zebediah Figura
77e282d7a1 wined3d: Remove the no longer used "specular_func_3ubv" declaration. 2023-08-02 19:57:56 +09:00
Zebediah Figura
421f70710a wined3d: Move some wined3d_gl_info functions to wined3d_gl.h. 2023-08-02 19:57:56 +09:00
Zebediah Figura
bafb02efbe wined3d: Move struct wined3d_gl_info to wined3d_gl.h.
And its dependencies.
2023-08-02 19:57:54 +09:00
Petrichor Park
17d64ac1e0 wined3d: Use ffp_normalize in shader_glsl_ffp_vertex_lighting_footer. 2023-08-01 21:57:47 +09:00
Petrichor Park
79b92a6d39 wined3d: Use ffp_normalize in shader_glsl_ffp_vertex_lighting. 2023-08-01 21:57:47 +09:00
Petrichor Park
b79c4e7de6 wined3d: Implement a zero-safe normalize function for FFP.
DirectX's FFP normalizes the zero vector to the zero vector, but GLSL
normalizes them to all NaN.

This patch creates ffp_normalize, which normalizes vectors but
has DirectX's behavior on 0 vectors. Further patches in this set switch
other calls from GLSL's normalize to the 0-safe version.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=36564
2023-08-01 21:57:45 +09:00
Gabriel Ivăncescu
954dd16fb1 jscript: Use the object containing the prop for builtin getters.
Since they act like values.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-01 21:51:13 +09:00
Gabriel Ivăncescu
1b1d09724a jscript: Call the getter with the proper 'this' in invoke_prop_func.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-01 21:51:13 +09:00
Paul Gofman
4098a05ea8 iphlpapi: Link NotifyAddrChange and CancelIPChangeNotify to nsi implementation. 2023-08-01 21:51:13 +09:00
Paul Gofman
a58f3e0401 nsiproxy.sys: Implement change notifications for NSI_IP_UNICAST_TABLE. 2023-08-01 21:51:13 +09:00
Paul Gofman
79165b1624 nsi: Implement NsiCancelChangeNotification(). 2023-08-01 21:51:13 +09:00
Paul Gofman
a72f91f5f5 nsi: Forward request to nsiproxy from NsiRequestChangeNotification(). 2023-08-01 21:51:13 +09:00
Michael Stefaniuc
dbe9f348d4 shell32/tests: Get rid of the a2bstr() helper. 2023-08-01 21:51:13 +09:00
Michael Stefaniuc
a16cf63858 vbscript/tests: Remove the last usage of a2bstr() in vbscript.c. 2023-08-01 21:50:34 +09:00
Michael Stefaniuc
c8a72b458c vbscript/tests: Avoid using a2bstr() in the vbscript.c helpers. 2023-08-01 21:50:34 +09:00
Michael Stefaniuc
a489b7ef30 vbscript/tests: Avoid using a2bstr() in the run.c helpers. 2023-08-01 21:50:34 +09:00
Michael Stefaniuc
23e2eb3984 vbscript/tests: Avoid using a2bstr() for static strings. 2023-08-01 21:50:34 +09:00
Michael Stefaniuc
2ca50c0817 vbscript/tests: Remove the need for a2bstr() in createobj.c. 2023-08-01 21:50:34 +09:00
Michael Skorokhodov
973ed25791 win32u: Add DriverVersion string for GPUs to registry.
Some applications (e.g. UE4) require the DriverVersion string in the registry.

Signed-off-by: Mykhailo Skorokhodov <mykhailo.skorokhodov@globallogic.com>
2023-08-01 21:50:34 +09:00
David Kahurani
40f06d46a3 gdiplus: Move Flatten() tests into the same function.
Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2023-08-01 21:50:34 +09:00
David Kahurani
d58d990256 gdiplus: Reject zero-width/zero-height rectangles.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55351
Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2023-08-01 21:50:34 +09:00
Jacek Caban
99f0d3d790 win32u: Move packed structures declaration from ntuser.h. 2023-08-01 21:50:34 +09:00
Jacek Caban
3aa7f9d33b win32u: Use user message packing for WM_MDICREATE. 2023-08-01 21:50:34 +09:00
Jacek Caban
de26401c02 win32u: Use user message packing for WM_MOVING and WM_SIZING. 2023-08-01 21:50:34 +09:00
Jacek Caban
347e392799 win32u: Use user message packing for WM_NEXTMENU. 2023-08-01 21:50:34 +09:00
Jacek Caban
c66984d174 win32u: Use user message packing for LB_GETSELITEMS. 2023-08-01 21:50:34 +09:00
Jacek Caban
6b592e8102 win32u: Use user message packing for CB_GETLBTEXT and LB_GETTEXT. 2023-08-01 21:50:34 +09:00