Commit graph

162477 commits

Author SHA1 Message Date
Mohamad Al-Jaf
80dc6df8fd include: Add windows.security.credentials.idl file. 2023-02-23 17:30:17 +01:00
Rémi Bernon
aafef01cc2 msvcrt: Fix _wdupenv_s behavior with missing env var. 2023-02-23 17:27:29 +01:00
Rémi Bernon
5a08eab303 msvcrt: Fix _dupenv_s behavior with missing env var. 2023-02-23 17:27:29 +01:00
Rémi Bernon
6017344edb msvcr80/tests: Test _wdupenv_s outcome with missing env var. 2023-02-23 17:27:29 +01:00
Rémi Bernon
a48d470e97 msvcr80/tests: Test _dupenv_s outcome with missing env var. 2023-02-23 17:27:29 +01:00
Rémi Bernon
63fb16338c ntdll: Avoid shrinking large heap block to small block.
Even though this is a waste of memory it seems to trip on some UAF with
some games.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54475
2023-02-23 17:24:15 +01:00
Zebediah Figura
26c1edf4b2 wined3d: Disable 64-bit integer support. 2023-02-23 17:24:03 +01:00
Zebediah Figura
a0043c9670 wined3d: Require shader cull distance support to create a feature level 10.0 device. 2023-02-23 17:24:03 +01:00
Zebediah Figura
75d22152a6 wined3d: Require shader clip distance support to create a feature level 10.0 device. 2023-02-23 17:24:03 +01:00
Zebediah Figura
f236ee46da wined3d: Require gather offset support to create a feature level 11.0 device. 2023-02-23 17:24:03 +01:00
Zebediah Figura
1fa1b9bb50 wined3d: Require fragment shader image stores and atomics to create a feature level 11.0 device. 2023-02-23 17:24:03 +01:00
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