Commit graph

161121 commits

Author SHA1 Message Date
Paul Gofman
85b84a949c wmic: Call _BeginEnumeration() before iterating class object.
Otherwise enumeration fails on Windows.
2022-11-24 22:20:20 +01:00
Paul Gofman
6412b3dc3a wmic: Don't set WBEM_FLAG_FORWARD_ONLY flag on query.
The result access is not forward only.
2022-11-24 22:20:20 +01:00
Alex Henrie
5c00a8a330 mshtml: Use standard C functions for memory allocation. 2022-11-24 22:20:20 +01:00
Alexandre Julliard
e7caf5a687 wineusb.sys: Use the Unix call helpers. 2022-11-24 22:20:20 +01:00
Alexandre Julliard
4510e490e9 winebus.sys: Use the Unix call helpers. 2022-11-24 22:20:20 +01:00
Alexandre Julliard
2a366cddd7 nsiproxy.sys: Use the Unix call helpers. 2022-11-24 22:20:20 +01:00
Alexandre Julliard
14d411b8a0 mountmgr.sys: Use the Unix call helpers. 2022-11-24 22:20:20 +01:00
Alexandre Julliard
d8b77f14a3 winepulse.drv: Use the Unix call helpers. 2022-11-24 22:20:20 +01:00
Alexandre Julliard
07211395f3 wineoss.drv: Use the Unix call helpers. 2022-11-24 22:20:20 +01:00
Alexandre Julliard
c372caaebc winecoreaudio.drv: Use the Unix call helpers. 2022-11-24 22:20:20 +01:00
Alexandre Julliard
9e4e8de7c1 winealsa.drv: Use the Unix call helpers. 2022-11-24 22:20:20 +01:00
Alexandre Julliard
50347810a1 wineandroid.drv: Use the Unix call helpers. 2022-11-24 22:20:20 +01:00
Alexandre Julliard
5ac3c41eee winemac.drv: Use the Unix call helpers. 2022-11-24 22:20:20 +01:00
Alexandre Julliard
cb713d6006 winex11.drv: Use the Unix call helpers. 2022-11-24 22:20:20 +01:00
Alexandre Julliard
1d036c0493 winecrt0: Add a helper function and macro to simplify Unix library usage. 2022-11-24 10:25:52 +01:00
Alex Henrie
ed510dd900 pdh: Use standard C functions for memory allocation. 2022-11-24 09:39:12 +01:00
Nikolay Sivov
8d9eb707c6 kernel32/profile: Trim spaces from section names on load.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53814
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-24 09:27:48 +01:00
Anton Baskanov
1c84acd057 wined3d: Add a lower size bound for the streaming buffer allocation.
Apps that issues many small draw calls (e.g. Earth 2150) may cause
frequent DISCARD maps, which are significantly slower than NOOVERWRITE
ones.
2022-11-24 09:19:55 +01:00
Anton Baskanov
42503f4ea3 ddraw: Use the wined3d_streaming_buffer helpers to manage the streaming index buffer. 2022-11-24 09:19:55 +01:00
Anton Baskanov
e359c1466a ddraw: Use the wined3d_streaming_buffer helpers to manage the streaming vertex buffer. 2022-11-24 09:19:55 +01:00
Anton Baskanov
ef127f1243 wined3d: Factor out and expose functions to map/unmap wined3d_streaming_buffer. 2022-11-24 09:19:52 +01:00
Bartosz Kosiorek
e0f32f53d5 gdiplus: Add GdipSetCustomLineCapStrokeCaps implementation and usage. 2022-11-23 22:27:38 +01:00
Bartosz Kosiorek
cd17de8827 gdiplus: Fix shape of CustomLineCap created by GdipCreateAdjustableArrowCap. 2022-11-23 22:27:38 +01:00
Bartosz Kosiorek
1271ae3ebd gdiplus: Add support for widen path with GpCustomLineCap.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45273
2022-11-23 22:27:38 +01:00
Bartosz Kosiorek
a8e8730769 gdiplus: Use GpPointF for drawing in widen_closed_figure. 2022-11-23 22:27:20 +01:00
Bartosz Kosiorek
200652075b gdiplus: Add GdipSetCustomLineCapBaseInset implementation. 2022-11-23 22:27:20 +01:00
Bartosz Kosiorek
bc8ced226a gdiplus: Remove not used LineCustomCap parameter. 2022-11-23 22:27:20 +01:00
Bartosz Kosiorek
742c315702 gdiplus: Add GdipSetCustomLineCapBaseCap implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45273
2022-11-23 22:27:20 +01:00
Rémi Bernon
aeb43dce75 winex11.drv: Reposition windows on desktop resize only when useful.
This will end up moving window around only if the old virtual screen
origin is different from the new one. Don't send unnecessary messages
if it didn't change.

This helps speeding up D3D tests on the testbot VMs with multiple
displays and hopefully solve the timeout problems.
2022-11-23 20:35:29 +01:00
Martin Storsjö
d6829bdcba ntdll: Avoid accidentally picking up ntdll's __wine_unix_call_funcs for other DLLs.
When f7332ab4a6 switched load_so_dll
over to a proper Unix syscall, ntdll.so started providing the
symbol __wine_unix_call_funcs.

When a DLL calls NtQueryVirtualMemory(MemoryWineUnixFuncs), it can
do so speculatively, not knowing whether the corresponding unix
lib actually does provide anything.

When ntdll.so started providing this symbol, then such speculative
calls to NtQueryVirtualMemory(MemoryWineUnixFuncs) would end up
returning ntdll's __wine_unix_call_funcs if the intended DLL's
unix library lacked one.

This is the case with bcrypt, where the unix library doesn't
provide __wine_unix_call_funcs if gnutls is unavailable.

This fixes crashes after f7332ab4a6,
in builds without gnutls.

Signed-off-by: Martin Storsjö <martin@martin.st>
2022-11-23 20:35:06 +01:00
Jacek Caban
c2a43defec win32u: Don't use CDECL for __wine_get_wgl_driver. 2022-11-23 18:04:28 +01:00
Jacek Caban
65835e4b74 win32u: Remove __wine_get_wgl_driver PE entry point. 2022-11-23 18:04:28 +01:00
Alex Henrie
b81a571849 dnsapi: Use the strdup and wcsdup functions instead of reimplementing them. 2022-11-23 17:59:47 +01:00
Nikolay Sivov
7f01fdb6d4 oleaut32/safearray: Fix an error code when trying to redim fixed arrays.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-23 17:59:47 +01:00
Zebediah Figura
fadefecd15 ntdll: Remove an unnecessary cast. 2022-11-23 17:59:47 +01:00
Zebediah Figura
793cc934d9 ntdll: Avoid casting a struct to its first field. 2022-11-23 17:59:47 +01:00
Zebediah Figura
5741f94d1b ntdll: Always trace sizes with %#x. 2022-11-23 17:59:47 +01:00
Zebediah Figura
c9cf44a363 ntdll: Add a get_free_list_block_size() helper. 2022-11-23 17:59:47 +01:00
Rémi Bernon
f810a57590 rpcss: Use I_Rpc(Free|Allocate) in MIDL_user_(allocate|free).
In ept_map, rpcss uses TowerConstruct to allocate tower array elements.

The array is later released by the generated stub code, and each element
is ultimately freed using MIDL_user_free.

TowerConstruct always allocate memory using I_RpcAllocate, we must use
I_RpcFree to free it.
2022-11-23 17:59:47 +01:00
Alex Henrie
80175e41da urlmon: Use standard C functions for memory allocation. 2022-11-23 17:59:47 +01:00
Gabriel Ivăncescu
534b977c62 jscript: Throw proper error when calling Set constructor as method.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-23 17:59:47 +01:00
Gabriel Ivăncescu
84f7f60192 jscript: Throw proper error when calling Map constructor as method.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-23 17:59:47 +01:00
Gabriel Ivăncescu
8cb5d74125 jscript: Pass correct 'this' to callbacks called by builtins.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-23 17:59:47 +01:00
Gabriel Ivăncescu
da842966ff jscript: Pass a jsval as the 'this' to disp_call_value.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-23 17:59:47 +01:00
Gabriel Ivăncescu
9d4e93cfde jscript: Pass a jsval as the 'this' to jsdisp_call_value.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-23 17:59:47 +01:00
Gabriel Ivăncescu
3805eef49a jscript: Initialize source and lastIndex for RegExp.prototype.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-23 17:59:47 +01:00
Piotr Caban
f8a0d96567 winspool: Correctly free data allocated with GdiConvertToDevmodeW. 2022-11-23 17:59:47 +01:00
Alexandre Julliard
020e2b6bb4 makedep: Pass the actual name of the module in the delay load flags. 2022-11-23 17:59:46 +01:00
Alexandre Julliard
51087b9b65 makedep: Unify the search for static and import libs. 2022-11-23 17:59:46 +01:00
Alexandre Julliard
5084f4da2b win32u: Build without -DWINE_NO_LONG_TYPES. 2022-11-23 16:13:58 +01:00