Commit graph

161485 commits

Author SHA1 Message Date
Alexandre Julliard 468d68d60d msvcrt: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard 1c5e38f3ec msacm: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard 6368a46aa0 mmsystem: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard e2b8fad779 kernel32/tests: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard 8414449ce7 gdi.exe: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard 8e6317ffee commdlg: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard 42b0a3b917 configure: Enable printf format warnings for 64-bit PE builds. 2022-12-09 17:52:25 +01:00
Alexandre Julliard 79650e403b configure: Only require frame pointer on the MSVCRT side. 2022-12-09 17:52:25 +01:00
Alexandre Julliard 4091758b78 configure: Simplify checks for functions that require an external library. 2022-12-09 17:52:25 +01:00
Eric Pouech 4eaadda479 d3dx9_36/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-09 17:52:24 +01:00
Alexandre Julliard bd0ca5103a makedep: Fix parsing of man page section. 2022-12-09 10:49:51 +01:00
Eric Pouech 60226a013b wined3d: Enable long types in texture.c. 2022-12-08 21:07:32 +01:00
Eric Pouech f46f24e7c0 wined3d: Reduce usage of long integral types in texture.c.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-08 21:07:32 +01:00
Eric Pouech 983bcd9639 wined3d: Change stencil parameter type in blitter_clear() method.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-08 21:07:32 +01:00
Eric Pouech 901c9b5997 wined3d: Get/set texture's level_count and lod as unsigned int.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-08 21:07:30 +01:00
Eric Pouech 7cab61754c wined3d: Enable long types in nvidia_texture_shader.c. 2022-12-08 21:07:14 +01:00
Eric Pouech 866cf3ce72 wined3d: Reduce usage of long integral types in nvidia_texture_shader.c. 2022-12-08 21:07:14 +01:00
Eric Pouech 4de630e97b wined3d: Enable long types in shader.c. 2022-12-08 21:06:25 +01:00
Eric Pouech e382812cda wined3d: Reduce usage of long integral types in shader.c.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-08 21:06:25 +01:00
Eric Pouech 4bf5e48c13 wined3d: Enable long types in utils.c. 2022-12-08 21:06:12 +01:00
Eric Pouech a01f00bed7 wined3d: Reduce usage of long integral types in utils.c.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-08 21:06:12 +01:00
Gabriel Ivăncescu 27ceb62ebd jscript: Create the source function's 'prototype' prop object on demand.
The 'prototype' prop of a source function is, by default, an empty object with
a 'constructor' prop pointing back to the function. Currently, every source
function is created in this fashion, which makes it a circular reference
and thus prevents it from being freed until the Garbage Collector kicks in.

The performance impact comes from the function keeping a ref to the
enclosing scope, and since the scope is being held by it, the engine will
detach the scope, believing it to be used for the time being (until the
GC cleans it). This can cause substantial performance issues for such a
common case. The FFXIV Launcher, for example, leaks a large amount of such
short-lived functions and the enclosing scopes.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-12-08 20:32:10 +01:00
Gabriel Ivăncescu d192aa102f jscript: Run the garbage collector every 30 seconds on a new object allocation.
Better heuristics can be used in the future.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-12-08 20:32:10 +01:00
Gabriel Ivăncescu 809a91b82f jscript: Implement CollectGarbage().
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-12-08 20:32:10 +01:00
Gabriel Ivăncescu e8ee6ddae8 jscript: Implement a Garbage Collector to deal with circular references.
Implement a basic GC based on the mark-and-sweep algorithm, without requiring
manually specifying "roots", which vastly simplifies the code.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-12-08 20:32:10 +01:00
Gabriel Ivăncescu b0db79d769 jscript: Use a jsdisp to hold refs for scopes.
So the garbage collector can traverse it.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-12-08 20:32:10 +01:00
Georg Lehmann 07761336d6 winevulkan: Update to VK spec version 1.3.237. 2022-12-08 20:32:10 +01:00
Piotr Caban 894b28085c msvcp70: Update spec file.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54101
2022-12-08 20:32:10 +01:00
Jacek Caban c65bfc062b winevulkan: Rename needs_host_type to needs_win32_type. 2022-12-08 18:41:25 +01:00
Torge Matthies a261c043eb msvcr120: Throw exception in ~_StructuredTaskCollection if _RunAndWait was not called. 2022-12-08 18:41:25 +01:00
Torge Matthies cef3dcbddd msvcr100: Implement missing_wait exception. 2022-12-08 18:41:25 +01:00
Torge Matthies d1468c2b60 msvcr110: Implement _StructuredTaskCollection constructor. 2022-12-08 18:41:25 +01:00
Torge Matthies f26985affe msvcr100: Implement exception passing from chore threads to _RunAndWait. 2022-12-08 18:41:25 +01:00
Torge Matthies 96e2a766f8 msvcr100: Factor out EXCEPTION_RECORD to exception_ptr conversion. 2022-12-08 18:41:25 +01:00
Torge Matthies 1163168034 msvcr100: Move exception_ptr functions to a separate file. 2022-12-08 18:41:25 +01:00
Torge Matthies 11af5b750c msvcr100: Implement _StructuredTaskCollection::_RunAndWait. 2022-12-08 18:41:25 +01:00
Hans Leidekker fa533f11e1 wofutil: Stub WofShouldCompressBinaries(). 2022-12-08 18:41:25 +01:00
Hans Leidekker de026dbd8e wofutil: New dll. 2022-12-08 18:41:25 +01:00
Jacek Caban 1d4a230c69 user32: Merge winpos.c into win.c. 2022-12-08 18:41:24 +01:00
Jacek Caban f5c8275329 win32u: Move NtUserGetInternalWindowPos implementation from user32. 2022-12-08 18:41:24 +01:00
Jacek Caban 026700027e win32u: Move NtUserRealChildWindowFromPoint implementation from user32. 2022-12-08 18:41:24 +01:00
Sven Baars fab6c2d687 taskschd/tests: Fix test failures on newer version of Windows 10. 2022-12-08 18:41:24 +01:00
Robert Wilhelm 895f8006f2 wshom.ocx: Implement IWshNetwork2_get_UserName().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53971
2022-12-08 18:41:24 +01:00
Hans Leidekker 090e574adb wtsapi32: Improve the stub for WTSQuerySessionInformation(WTSClientProtocolType). 2022-12-08 18:41:24 +01:00
Francois Gouget 508b793ec9 kernel32/tests: Avoid failures when processes start during the process test.
On Windows processes sometimes start during test_services_exe() so that
the size returned by the first NtQuerySystemInformation() is no longer
sufficient for the second call.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54094
2022-12-08 18:12:51 +01:00
Alex Henrie 926433faa3 include: Add corecrt_malloc.h. 2022-12-08 18:12:51 +01:00
Hans Leidekker 3797a66404 winhttp/tests: Reduce send buffer size.
It looks like there was a change on the websocket test server that causes our
send operations to block. Reducing the size of the send buffer works around the
test failures. The tests still succeed on Windows, which suggests that native
sends large buffers in smaller chunks.
2022-12-08 18:12:51 +01:00
Alexandre Julliard 46e5dd3967 kernelbase/tests: Fix an uninitialized variable warning. 2022-12-08 18:12:18 +01:00
Alexandre Julliard 620089aade kernel32/tests: Fix an uninitialized variable warning. 2022-12-08 18:12:18 +01:00
Alexandre Julliard 510f7ee01d winspool.drv: Remove a no longer used inline function.
No longer used since e164b8cefb.
2022-12-08 18:11:23 +01:00