Commit graph

162466 commits

Author SHA1 Message Date
Alexandre Julliard c2f4aaf78d kernel32/tests: Add a missing dependency comment. 2023-02-23 11:25:16 +01:00
Francois Gouget 15b176b4f4 vbscript/tests: Fix the testChrError() tests.
Chr() depends on the thread's ANSI code page which in some cases is different
from the Windows ANSI code page (e.g. hi-IN).

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54003
2023-02-22 21:14:21 +01:00
Hans Leidekker 77fdfdb8ef winscard/tests: Initial tests. 2023-02-22 21:14:21 +01:00
Hans Leidekker 190a31d1ab winscard: Add wow64 thunks. 2023-02-22 21:14:21 +01:00
Hans Leidekker 21b4de5444 winscard: Improve traces. 2023-02-22 21:14:21 +01:00
Hans Leidekker 40c013206a winscard: Use string conversion helpers in SCardAddReaderToGroupA(). 2023-02-22 21:14:21 +01:00
Hans Leidekker 906977f59a winscard: Implement SCardFreeMemory(). 2023-02-22 21:14:21 +01:00
Hans Leidekker 7de85fc6fa winscard: Implement SCardGet/SetAttrib(). 2023-02-22 21:14:21 +01:00
Hans Leidekker c53a2044e0 winscard: Implement SCardControl(). 2023-02-22 21:14:21 +01:00
Hans Leidekker 26c72e911e winscard: Implement SCardTransmit(). 2023-02-22 21:14:21 +01:00
Hans Leidekker 094161f33f winscard: Implement SCardBegin/EndTransaction(). 2023-02-22 21:14:21 +01:00
Hans Leidekker ba2010a02a winscard: Implement SCardRe/Disconnect(). 2023-02-22 21:14:21 +01:00
Hans Leidekker 836974d4d8 winscard: Implement SCardStatusA/W(). 2023-02-22 21:14:21 +01:00
Hans Leidekker fd3ce00a22 winscard: Implement SCardConnectA/W(). 2023-02-22 21:14:21 +01:00
Hans Leidekker abb7f75002 winscard: Implement SCardListReaderGroupsA/W(). 2023-02-22 21:14:21 +01:00
Hans Leidekker f7c66e642e winscard: Implement SCardListReadersA/W(). 2023-02-22 21:14:21 +01:00
Hans Leidekker 4295b90ce1 winscard: Implement SCardCancel(). 2023-02-22 21:14:21 +01:00
Hans Leidekker 3f325721c3 winscard: Implement SCardGetStatusChangeA/W(). 2023-02-22 21:14:20 +01:00
Hans Leidekker 9d40ac4635 winscard: Implement SCardIsValidContext(). 2023-02-22 21:14:20 +01:00
Hans Leidekker 8490c43f38 winscard: Implement SCardEstablish/ReleaseContext() on top of libpcsclite. 2023-02-22 21:14:20 +01:00
Hans Leidekker 210596600c include: Add missing smart card defines. 2023-02-22 21:14:20 +01:00
Alexandre Julliard 8670876db9 makedep: Don't add dependencies for tests of disabled dlls. 2023-02-22 21:14:20 +01:00
Paul Gofman a97fd9f29e win32u: Expose and use ProcessEvents from drivers instead of MsgWaitForMultipleObjectsEx. 2023-02-22 18:25:29 +01:00
Ziqing Hui 13a65b849e mf/tests: Test output data for WMV decoder DMO. 2023-02-22 18:06:42 +01:00
Ziqing Hui 9d1b927924 mf/tests: Test ProcessInput and ProcessOutput for WMV decoder DMO. 2023-02-22 18:06:42 +01:00
Ziqing Hui 41288d0d70 mf/tests: Correctly initialize DMO media type. 2023-02-22 18:06:42 +01:00
Ziqing Hui a5b5cef355 mf/tests: Add missing \n. 2023-02-22 18:06:42 +01:00
Alex Henrie 8f2df17e84 include: Annotate CommandLineToArgvW with __WINE_DEALLOC. 2023-02-22 18:06:08 +01:00
Mohamad Al-Jaf 079ff28fce include: Fix BluetoothRegisterForAuthentication prototype.
The first parameter is defined as const BLUETOOTH_DEVICE_INFO in MSDN and bluetoothapis.h.
2023-02-22 18:05:55 +01:00
Connor McAdams ba960ed499 uiautomationcore: Implement IUIAutomationElement::get_CurrentBoundingRectangle.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-22 18:05:40 +01:00
Connor McAdams c31e531318 uiautomationcore: Implement IUIAutomationElement::get_CurrentName.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-22 18:05:40 +01:00
Connor McAdams 0b487338f3 uiautomationcore: Implement IUIAutomationElement::get_CurrentControlType.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-22 18:05:40 +01:00
Connor McAdams 21e6fd5076 uiautomationcore: Implement UiaLookupId for AutomationIdentifierType_ControlType GUIDs.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-22 18:05:40 +01:00
Eric Pouech 53fc157f9f kernel32/tests: Fix debugger.c:test_kill_on_exit().
As background information from Windows testings:
- the debug port event is closed upon thread regular exit.
- results are however inconsistent across Windows versions for forced
  termination (through TerminateThread and equiv).
- this is moreover crippled by most of the 32bit implementation on Windows
  (except Win8) which don't enforce the close on exit flag for wow64 debuggee:s
  (they enforce it for 64bit though)
- but, in the cases where the debuggee terminates, the debug port is
  always closed *after* the debuggee process termination.

So I adapted the tests to conform to "debug port is closed" when handling
the thread termination. Some tests had to be moved *after* debuggee
termination to ensure success.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53144
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-22 18:04:42 +01:00
Eric Pouech 3bbb2caf08 dbghelp/tests: Fix failure on Win10 1607.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54534
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-22 18:04:39 +01:00
Eric Pouech 23b082ed1d kernel32/tests: Don't let debugger tests fail on a 64bit only config.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-22 18:04:39 +01:00
Rémi Bernon 40b7c3e89a ntdll: Add a heap thread affinity and per-affinity bin group cache. 2023-02-22 18:03:55 +01:00
Rémi Bernon 889743154e ntdll: Use atomics and lock-free list for bin groups. 2023-02-22 18:03:55 +01:00
Rémi Bernon 27665f35e4 ntdll: Implement Low Fragmentation Heap frontend.
This implements the reduced fragmentation from the heap frontend, by
carving smaller blocks out of larger allocated blocks.

The super block and each sub-block are all flagged with BLOCK_FLAG_LFH.

The super-block (struct group) uses a standard struct block header, as
well as a list entry to be linked in free list, and a free bit map to
track free sub-blocks.

Sub-blocks reference their super block through the base_offset, instead
of the subheap, using the block size as radix.
2023-02-22 18:03:53 +01:00
Rémi Bernon b4e5aa8dfc ntdll: Split heap_resize_block into heap_resize_(block|large) helpers. 2023-02-22 18:03:53 +01:00
Rémi Bernon 632b08aa5b ntdll: Count allocations and automatically enable LFH. 2023-02-22 18:03:53 +01:00
Rémi Bernon 0f6ebd0152 ntdll: Increase heap block tail_size capacity to 16 bits.
We need this for larger LFH block bin steps. Use smaller block types to
get more space, they are somewhat redundant with the block flags.
2023-02-22 18:03:51 +01:00
Rémi Bernon 7314029c90 ntdll: Implement HeapCompatibilityInformation. 2023-02-22 18:03:51 +01:00
Rémi Bernon 805247ace3 ntdll: Fix HeapWalk with empty uncommitted consecutive subheaps. 2023-02-22 18:03:49 +01:00
Max Figura 17d0806643 wined3d: Move the WINED3D_RS_SUBPIXEL stub to wined3d_device_apply_stateblock. 2023-02-21 22:03:15 +01:00
Max Figura 8422ee0fdd wined3d: Move the WINED3D_RS_ZVISIBLE stub to wined3d_device_apply_stateblock. 2023-02-21 22:03:15 +01:00
Max Figura db5952e406 wined3d: Move the WINED3D_RS_LASTPIXEL stub to wined3d_device_apply_stateblock. 2023-02-21 22:03:15 +01:00
Max Figura abebd41e97 wined3d: Move the WINED3D_RS_PLANEMASK stub to wined3d_device_apply_stateblock. 2023-02-21 22:03:15 +01:00
Max Figura a9967c947a wined3d: Move the WINED3D_RS_ROP2 stub to wined3d_device_apply_stateblock. 2023-02-21 22:03:15 +01:00
Piotr Caban 48d3271f96 localspl: Ignore an empty output string.
We should probably ignore all incorrect ports. This is a minimal change
that restores 5dadeeb29d commit.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54379
2023-02-21 18:43:45 +01:00