Commit Graph

157101 Commits

Author SHA1 Message Date
Nikolay Sivov f2ee6b7c31 winedump: Add support for dumping UnloadedModuleListStream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:28:25 +02:00
Eric Pouech 4a1f1082e4 include: Use Mingw64's __uuidof when present.
otherwise Wine's and Mingw64's __uuidof() conflict (C++)

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 16:17:08 +02:00
Rémi Bernon 61bc8abd1f ntdll: Use block size helpers in heap_reallocate.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 15:54:05 +02:00
Rémi Bernon eb931b8421 ntdll: Rename HEAP_FindFreeBlock size parameter.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 15:54:05 +02:00
Rémi Bernon b20f466628 ntdll: Rename local variables in heap_allocate.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 15:54:05 +02:00
Rémi Bernon a3acd63581 ntdll: Rename local variables in heap_reallocate.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 15:54:05 +02:00
Rémi Bernon 9325bfada7 ntdll: Use block helpers in subheap_notify_free_all.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 15:54:05 +02:00
Rémi Bernon 2815c117bc ntdll: Ignore back pointer when validating free block pattern.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 15:54:05 +02:00
Alistair Leslie-Hughes 034b7e306e dwmapi: Clear DWM_TIMING_INFO structure before returning.
Clearing the structure passed in, allows Chromium to calculated
failback values when refreshing windows.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53016
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 15:53:59 +02:00
Rémi Bernon 11cb3bbf69 dinput: Make sure converted direction values are always positive.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:35 +02:00
Rémi Bernon 37abfa73f2 windows.gaming.input: Implement IConditionForceEffect_SetParameters.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:33 +02:00
Rémi Bernon 84fe8c2246 windows.gaming.input: Implement IPeriodicForceEffect_SetParameters(WithEnvelope).
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:32 +02:00
Rémi Bernon 081a289126 windows.gaming.input: Implement IRampForceEffect_SetParameters(WithEnvelope).
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:31 +02:00
Rémi Bernon aba20b0624 windows.gaming.input: Implement IConstantForceEffect_SetParameters(WithEnvelope).
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:29 +02:00
Rémi Bernon bc6df7ca57 windows.gaming.input: Implement IForceFeedbackEffect_(get|put)_Gain.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:28 +02:00
Rémi Bernon c578aa7cd3 windows.gaming.input: Always assume at least two force feedback axes.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:27 +02:00
Rémi Bernon 0c6f463fe1 dinput/tests: Remove IAsyncOperation reference count checks.
They are unreliable as the worker thread is holding a reference on the
async operation itself.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:24 +02:00
Sven Baars 07cb8ef5d0 d3dx10/tests: Disable a PreloadGlyphs test for d3dx10_34.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51827
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:38:14 +02:00
Fabian Maurer f391e9cf1e kernel32: Prevent null pointer dereference in WritePrivateProfileStructW.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49285
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:37:30 +02:00
Brendan Shanks 65954db2be crypt32/tests: Fix mismatched deallocation function.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:36:10 +02:00
Brendan Shanks eb55f64d52 include: Add __WINE_DEALLOC attribute and use it for allocation functions.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:36:10 +02:00
Brendan Shanks fd1b9afc1d include: Add __WINE_MALLOC attribute and use it for allocation functions.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:36:10 +02:00
Rémi Bernon 0c856978f1 ntdll: Update block unused_bytes in shrink_used_block.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:29:03 +02:00
Rémi Bernon 481ecc2d72 ntdll: Cleanup HEAP_ShrinkBlock and rename it to shrink_used_block.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:29:03 +02:00
Rémi Bernon c662992de4 ntdll: Create free block after updating the size in HEAP_ShrinkBlock.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:29:03 +02:00
Rémi Bernon 419e4730ba ntdll: Simplify the fallback case in heap_reallocate.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:29:03 +02:00
Rémi Bernon 3728b2b7d2 ntdll: Fail to allocate large blocks if heap isn't growable.
This tweaks the test sizes so that it passes on Wine too. The created
heap should be large enough to hold the requested alloc size, but the
allocation still fails.

Windows seems to have a specific lower threshold for large blocks with
non growable heaps, but it's probably not very useful to match it.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:28:59 +02:00
Rémi Bernon 69c75b2b1d ntdll: Increase heap large block min size for sizeof(void *) == 8.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:28:58 +02:00
Jacek Caban f7ffa59079 winemac: Use pthread_once for wine_vk_init.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 17:38:54 +02:00
Jacek Caban 43993a3986 winemac: Use pthread for window data locking.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 17:38:54 +02:00
Jacek Caban 33e6932c04 winemac: Use pthread for synchronization in opengl.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 17:38:54 +02:00
Jacek Caban 3ab98869bb winemac: Use pthread for cursor cache locking.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 17:38:54 +02:00
Jacek Caban eae3578d89 winemac: Use pthread for keyboard list locking.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 17:38:54 +02:00
Jacek Caban e24c2fa33f winemac: Use pthread for GDI device locking.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 17:38:53 +02:00
Jacek Caban f4b032b1d9 winemac: Use pthread for display locking.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 17:38:53 +02:00
Rémi Bernon 5387718c6f wmadmod: Remove unnecessary DLL.
It was initially meant for tests, which are all now in dlls/mf as well,
and for the WMA decoder. The class is supposed to live in this DLL but
because of the winegstreamer implementation, it cannot in Wine.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 17:30:33 +02:00
Rémi Bernon f14018f7ed mf/tests: Move WMA decoder aggregation tests from wmadmod.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 17:30:33 +02:00
Nikolay Sivov 3693394892 vbscript: Implement DateAdd().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52686
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 08:54:03 +02:00
Nikolay Sivov d50f7b02a9 winedump: Add support for ThreadInfoListStream stream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 08:53:57 +02:00
Nikolay Sivov 0d89f67ea2 winedump: Add support for dumping handle data stream from minidumps.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 08:53:53 +02:00
Nikolay Sivov a9f9c1a696 winedump: Cleanup minidump output helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 08:53:49 +02:00
Nikolay Sivov 38d7ea5c6f winedump: Output minidump streams in order they appear in the file.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 08:53:46 +02:00
Nikolay Sivov 61f31d149c include: Move minidump types to a separate header.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 08:53:42 +02:00
Philip Allison 26637de7cb uiautomationcore: Fix header compatibility with C++.
Rename arguments to UiaRaiseAutomationPropertyChangedEvent to avoid
conflicts with reserved words when included from C++ applications.

Signed-off-by: Philip Allison <mangobrain@googlemail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 22:22:15 +02:00
Rémi Bernon 4e04446c9b windows.gaming.input: Implement Windows.Gaming.Input.ConditionForceEffect runtimeclass.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 20:46:52 +02:00
Rémi Bernon 8d45305400 windows.gaming.input: Implement Windows.Gaming.Input.PeriodicForceEffect runtimeclass.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 20:46:51 +02:00
Rémi Bernon 569036b1f0 windows.gaming.input: Implement Windows.Gaming.Input.RampForceEffect runtimeclass.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 20:46:49 +02:00
Rémi Bernon ea71b9f81b dinput/tests: Add some Windows.Gaming.Input.ForceFeedback.ConditionForceEffect tests.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 20:46:48 +02:00
Rémi Bernon e9f430d955 dinput/tests: Add some Windows.Gaming.Input.ForceFeedback.RampForceEffect tests.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 20:46:48 +02:00
Rémi Bernon b5b71d9aed dinput/tests: Add some Windows.Gaming.Input.ForceFeedback.PeriodicForceEffect tests.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 20:46:48 +02:00