Paul Gofman
f75a8b3555
winhttp/tests: Avoid race condition on closing connection in server_thread().
...
The connection may be cached and checked for availability for request
before the server thread closes it.
2022-11-24 22:20:20 +01:00
Paul Gofman
645a65cbcf
winhttp: Add reference counting for connection.
2022-11-24 22:20:20 +01:00
Nikolay Sivov
9f77009aa5
vbscript: Accept "><" as inequality operator.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-24 22:20:20 +01:00
Nikolay Sivov
6f1d38bdba
vbscript/tests: Add some tests for lte/gte tokens.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-24 22:20:20 +01:00
Robert Wilhelm
3a57802289
vbscript: Handle another variant of LTE/GTE tokens.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53670
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-24 22:20:20 +01:00
Rémi Bernon
63b6ec5af3
ntdll: Pass a heap block pointer to initialize_block.
2022-11-24 22:20:20 +01:00
Rémi Bernon
1526ac755f
ntdll: Compute block size before calling heap_(re)allocate.
2022-11-24 22:20:20 +01:00
Rémi Bernon
e7827fc853
ntdll: Compute effective flags in unsafe_heap_from_handle.
2022-11-24 22:20:20 +01:00
Rémi Bernon
21218ce309
ntdll: Use BLOCK_FLAG_LARGE rather than subheap pointer.
2022-11-24 22:20:20 +01:00
Rémi Bernon
ab28138862
ntdll: Rename heap block ALIGNMENT macro to BLOCK_ALIGN.
...
And COMMIT_MASK to REGION_ALIGN - 1.
2022-11-24 22:20:20 +01:00
Paul Gofman
eec6aea10a
wmic: Support array of BSTRs in convert_to_bstr().
2022-11-24 22:20:20 +01:00
Paul Gofman
e3d7a3e3f6
wmic: Add nicconfig alias.
2022-11-24 22:20:20 +01:00
Paul Gofman
97b9d8ddbe
wmic: Handle VariantChangeType() failures.
...
wmic currently crashes on, e. g., VT_EMPTY or VT_ARRAY types returned.
2022-11-24 22:20:20 +01:00
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