Commit Graph

2522 Commits

Author SHA1 Message Date
Mikhail Tyukin
ab1aefbabb [DWRITE][D2D1] Build
Build dwrite/d2d1 and tests. Tested that the tests do not crash on Windows 10
Add GdiGetFontFileData, GdiGetFontFileInfo, GdiGetFontRealizationInfo system calls which are stubs. Does not appear necessary for the main functionality.
Add GetSystemDefaultLocaleName to kernel32_vista
2026-10-01 12:43:33 -04:00
Mikhail Tyukin
edb4e3caf7 [WINETESTLIB] Enable WINETEST_USE_DBGSTR_LONGLONG by default 2026-10-01 12:43:33 -04:00
Mohammad Amin Mollazadeh
09aa05056f [APITESTS:NPFS] Add GetConnectionAttributes
This commit adds a new APITEST to verify NPFS behavior for handling
FSCTL_PIPE_GET_CONNECTION_ATTRIBUTE and FSCTL_PIPE_SET_CONNECTION_ATTRI-
BUTE IOCTLs.

The test is guaranteed to pass on Windows 8.1.

CORE-20709
2026-09-28 23:41:01 +02:00
Alex Mendoza
4a1e2f85cc [SHELL32][SHELL32_APITEST] Implement PathIsSlowW and add a test (#9096)
- Implement PathIsSlowW, remove it from stubs.cpp and move it to utils.cpp.
- Do a test for it, add it to testlist.c and add it to CMakeLists.txt
2026-09-27 12:06:13 +02:00
Hermès Bélusca-Maïto
9728711e75 [PATHCCH_STATIC] Expose STATIC_PATHCCH in the public interface definitions 2026-09-25 20:29:14 +02:00
Mikhail Tyukin
a68bfa2fb4 [MSAFD][AFD] Implement AcceptEx (#9187)
Implement AcceptEx, GetAcceptExSockaddrs, and SO_UPDATE_ACCEPT_CONTEXT. This function is responsible for asynchronously accepting TCP connections, and also reading some bytes when doing so. Needed for Steam and other apps.

JIRA issue: CORE-17036

References: https://learn.microsoft.com/en-us/windows/win32/api/mswsock/nf-mswsock-acceptex, https://ntdoc.m417z.com/afd_super_accept_info
2026-09-25 13:28:47 -04:00
Mohammad Amin Mollazadeh
5941d646ff [USP10] Sync with WINE-11.17 (#9552)
* [SDK][USP10] Import new functions from WINE 11.17

* [WINETEST:USP10] Sync to WINE-11.17

* [USP10] Sync with WINE-11.17

WINE 5.21 merged USP10 with GDI32, this PR doesn't import this change.
Except for LpkPresent implementation, every other patch made by ReactOS were synced to the upstream.
A sync was requested for fixing the issue in CORE-17324 but the issue is still reproducible even after syncing to WINE-11.17.
2026-09-25 09:17:32 -04:00
Justin Miller
ddd57dbee0 [MODULES] Finally, Disable quartz until OGL 2.0 is added to testbots 2026-09-24 17:03:51 +00:00
Justin Miller
81655f2ba2 [WS2_32_APITEST] Add a test for local delivery of UDP broadcasts 2026-09-24 17:03:51 +00:00
Justin Miller
73f75f9b09 [MEDIA][SDK][MODULES][DIRECTX:WINE] Final Clean up + Handle OGL 2.0+
Tests
2026-09-24 17:03:51 +00:00
Justin Miller
6611576ca8 [WINETESTS] Update DevEnum winetests - Disable D3D9X shader until OGL
2.0 support
2026-09-24 17:03:51 +00:00
Justin Miller
53fd7a2948 [WINETESTS] Update the DirectX WineTest 2026-09-24 17:03:51 +00:00
Mikhail Tyukin
c8908b22b4 [MSI][MSIEXEC] Sync to Wine-10.0 2026-09-23 20:15:12 -04:00
Mikhail Tyukin
f35999c7d2 [WUAPI][XMLLITE][XOLEHLP] Sync to Wine-10.0 2026-09-23 14:38:53 -04:00
Mikhail Tyukin
e393fcba86 [WMI][WMIUTILS] Sync to Wine-10.0 2026-09-23 14:38:53 -04:00
Mikhail Tyukin
1480d97ac7 [WSHOM.OCX] Sync to Wine-10.0 2026-09-23 14:38:53 -04:00
Mikhail Tyukin
17f63e110f [SENSAPI][SHDOCLC][SHFOLDER][SLBCSP][SNMPAPI][SOFTPUB][STI][SXS][T2EMBED] Sync to Wine-10.0 2026-09-23 14:38:53 -04:00
Mikhail Tyukin
b232717e20 [QUERY][RASAPI32][RESUTILS][RICHED32][RSABASE][SCCBASE][SCRRUN] Sync to Wine-10.0 2026-09-23 13:28:02 -04:00
Mikhail Tyukin
21990a50b2 [PRINTUI][PSTOREC][QMGR][QMGRPRXY] Sync to Wine-10.0 2026-09-23 13:28:02 -04:00
Mikhail Tyukin
ddca9ae7d2 [ODBCCP32][OLECLI32][OLEDLG][OLEPRO32][OLESVR32][OLETHK32][PDH][PIDGEN] Sync to Wine-10.0 2026-09-23 13:28:02 -04:00
Mikhail Tyukin
09ca8966ab [MSVFW32][MSVIDC32][NDDEAPI][NPPTOOLS][NTDSAPI][OBJSEL] Sync to Wine-10.0 2026-09-23 13:28:02 -04:00
Mikhail Tyukin
544c4a5c88 [HNETCFG] Disable hanging test 2026-09-23 12:52:14 -04:00
Mikhail Tyukin
90d25dc7d7 [MAPI32] Sync to Wine-10.0 2026-09-23 12:52:14 -04:00
Mikhail Tyukin
c6eb6c1b58 [LOADPERF][LZ32][JSPROXY] Sync to Wine-10.0 2026-09-23 12:52:14 -04:00
Mikhail Tyukin
11b23afa7e [ITSS] Sync to Wine-10.0 2026-09-23 12:52:14 -04:00
Mikhail Tyukin
ec88ad3f84 [IMAGEHLP] Sync to Wine-10.0 2026-09-23 12:52:14 -04:00
Mikhail Tyukin
b563bfc854 [HNETCFG] Sync to Wine-10.0 2026-09-23 12:52:14 -04:00
Mikhail Tyukin
3fe582c014 [FUSION] Sync to Wine-10.0 2026-09-23 12:52:14 -04:00
Mohammad Amin Mollazadeh
2def708122 [KERNEL32][APITESTS:KERNEL32] Implement SetSearchPathMode (#9244)
This commit implements SetSearchPathMode based on official documentations from Microsoft and Wine tests.

This is different from #3665 since it updates SearchPathW to use the configured Search Path Mode, while the older PR only introduces SetSearchPathMode with desired outputs per input. Also improves thread safety.

CORE-17586
2026-09-20 16:53:49 +00:00
Ahmed Arif
59d9723951 [USER32_APITEST] Add test for NcPaintRgn (#9495)
Collect the WM_NCPAINT regions a window is given when it gets maximized
and then restored, and check that no part of the non-client frame
was left out of them.

This covers a regression for non-client repaint regions. CORE-20769
2026-09-16 14:40:42 +03:00
Hermès Bélusca-Maïto
d9d6f0917e [SETUP:REACTOS][USETUP][SETUPLIB_UNITTEST] Improve build generation (#9524)
They use the setuplib library.
2026-09-14 22:05:59 +02:00
Hermès Bélusca-Maïto
b5db92a506 [CMAKE] Improve build generation (#9523)
User-mode:
- DNSAPI uses the adns library.
- CONSOLE.CPL uses the concfg library.
- DISKPART, PING use the conutils library.
- ADVAPI32 uses the cryptlib library.
- EVENTLOG uses the evtlib library.
- NTVDM uses the fast486 library.
- HID uses the hidparser_um library.
- WINEMP3.ACM uses the libmpg123 library.
- OPENGL32 uses the mesa library.
- LOCALSPL uses the skiplist library.
- IPHLPAPI, WSHTCPIP use the tdilib library.
- TIMEDATE.CPL, SYSSETUP use the tzlib library.
- DRWTSN32, DXDIAG, SYSDM.CPL, SYSTEMINFO use the udmihelp library.
- CABINET, VFDLIB, dbghelp_apitest use the zlib library.

Drivers:
- PCIX uses the arbiter library.
- KSECDD uses the cryptlib library.
- I8042PRT uses the dmilib library.
- FTFD uses the freetype library.
- HIDPARSE uses the hidparser_km library.
- ATAPI, SCSIPORT, STORPORT, USBSTOR use the sptilib library.
- NETKVM uses the virtio library.
- BTRFS uses the zlib library.

Sound:
- backpln/audio_test use the libsamplerate library.
- KMIXER, mmixer_test, WDMAUD, WDMAUD.DRV use the libsamplerate and mmixer libraries.
2026-09-14 22:03:58 +02:00
Hermès Bélusca-Maïto
91b67af002 [RAPPS][ZIPFLDR] Improve build generation and ZLIB usage (#9522) 2026-09-14 22:02:44 +02:00
Hermès Bélusca-Maïto
6c2ab4269f [NTDLL_APITEST] Limit the ntoskrnl/include directory usage only to ntdll_apitest (#9520) 2026-09-14 21:56:39 +02:00
Hermès Bélusca-Maïto
80d7d68665 [KEYBOARD][KDBHID][MOUHID][USB*][VIDEOPRT][UMKM] No need to add ntoskrnl/include directory (#9520) 2026-09-14 21:56:36 +02:00
Mikhail Tyukin
9699568b70 [COMDLG32] Sync to Wine-10.0 (#8821)
Sync comdlg32 to Wine-10.0 and its tests. Additionally, a lot of reactos specific code in colordlg.c has been removed as wine has it. Enable IFileDialog interface for Windows Vista or later DLL exports.

JIRA issue: CORE-20586
2026-09-12 10:34:35 -04:00
Mohammad Amin Mollazadeh
ed4f258efd [NTDLL_APITESTS] Add tests for NtNotifyChangeMultipleKeys (#9189)
CORE-11865

This PR implements API tests for the `NtNotifyChangeMultipleKeys()` function,
that are guaranteed to pass on Windows and cover every feature supported by this function[^1].
Tested successfully on Windows XP, Windows Server 2003, Windows 7 and Windows 11.

See also PRs #8848 and #7914.

[^1]: As documented by Microsoft:
  https://learn.microsoft.com/en-us/windows/win32/api/winternl/nf-winternl-ntnotifychangemultiplekeys
2026-09-11 18:57:01 -05:00
Doug Lyons
736ea1968f [WINHTTP_WINETEST] Skip hanging tests after sync to Wine-10.0 (#9504)
Add the following two hanging wine tests to skip list.

* test_IWinHttpRequest
* test_bad_header

ROSTESTS-422

* Only skip these tests if we are running ReactOS.
Co-authored-by: Carl J. Bialorucki <carl.bialorucki@reactos.org>
2026-09-11 10:49:45 -05:00
Mohammad Amin Mollazadeh
39c9f57ab2 [USER32_APITEST] Add LookupIconIdFromDirectoryEx invalid input test (#9263)
Calling it with invalid pointer crashes the caller, while on Windows
it returns 0 without error or crash.

CORE-19544
2026-09-07 19:08:31 +03:00
Stanislav Motylkov
189eae49a8 [USER32] Revert previous commit that was merged incorrectly
This reverts commit b35226eaa4.
2026-09-07 19:06:12 +03:00
Mohammad Amin Mollazadeh
b35226eaa4 [USER32] Fix crash on calling LookupIconIdFromDirectoryEx with invalid directory (#9263)
* [USER32_APITEST] Add LookupIconIdFromDirectoryEx invalid input test (#9263)

Calling it with invalid pointer crashes the caller, while on Windows
it returns 0 without error or crash.

CORE-19544, CORE-15879

* [USER32] Fix LookupIconIdFromDirectoryEx crash with invalid pointer (#9263)

This problem is similar to 60851914a8 (#5106) / CORE-15879.
Add SEH exception handler to prevent the crash, matching Windows behavior.

CORE-19544, CORE-15879
2026-09-07 12:02:38 -04:00
Doug Lyons
ba35137b01 [WS2_32_APITEST] Attempt to fix receive test timeouts (#9483)
Add Sleep to create delay to allow the send command to process before executing the receive.
This is similar to what we see used in the Wine regression tests.

ROSTESTS-421
2026-09-03 20:20:27 -05:00
Mikhail Tyukin
58d50e80c1 [HLINK] Sync to Wine-10.0 2026-09-01 14:41:09 -04:00
Mikhail Tyukin
d8850a7415 [FAULTREP] Sync to Wine-10.0 2026-09-01 14:41:09 -04:00
Mikhail Tyukin
d296bc7be8 [CREDUI] Sync to Wine-10.0 2026-09-01 14:41:09 -04:00
Hater
340f6cfec4 [BCRYPT][BCRYPT_WINETEST] Sync to WineStaging-10.6 (#8267)
Sync bcrypt/bcrypt winetest with latest wine. Implement all functionality with mbedtls. DSA is my implementation based on libtomcrypt implementation as mbedtls does not support DSA. All failing tests are wine_todo

* [BCRYPT] Split implementations in different files. Add internal header. Add precompiled header. These changes are needed to make bcrypt more wine compatible

* [BCRYPT] Update to latest bcrypt from wine. Add their gnutls implementation with small changes. Add missing function in the other implementations returning STATUS_NOT_IMPLEMENTED. WARNING! gnutls is modified just visually and is n ot compiled locally as we don't have gnutls in ReactOS for a long time and we depend on mbedtls implementation.

* [BCRYPT] Remove forgotten code. Remove hmac BOOL and use hash->flags for hmac

* [BCRYPT] Remove some dead code. Move flag defines in header. Use constant for flag

* [BCRYPT][WINETEST] Update bcrypt wine test to current version. On windows it executes 23114 tests successfully

* [MBEDTLS] Activate MD2 and MD4 hashing algorithms

* [MBEDTLS] Export additional MD functions

* [BCRYPT][WINETEST] Disable not implemented method tests

* [BCRYPT] Remove unneeded headers

* [BCRYPT] Fix some struct variables and add a hash method

* [BCRYPT] Update common crypto implementation

* [MBEDTLS] Expose AES CFB8

* [MBEDTLS] Export simetric encryption/decryption functions

* [BCRYPT] Implement symetric encryption/decryption

* [BCRYPT][WINETEST] Activate symetric encryption/decryption tests. From 22541 Only 3 fail on wine_todo

* [BCRYPT][WINETEST] Disable pbkdf tests. They crash calling function with ULONGLONG parameter

* [MBEDTLS] Export additional functions

* [BCRYPT] Expand private data size

* [BCRYPT] Implement asymetric encryption/decryption. NOTE: DSA is NOT supported by mbedtls, so it is not implemented here

* [MBEDTLS] Disable range check for mbedtls_dhm_calc_secret for ReactOS. It fails tests for key derivation

* [BCRYPT][WINETEST] Enable all tests

* [BCRYPT] Update exports

* [MBEDTLS] Add DSA implementation. It is my implementation based on libtomcrypt and adapted to mbedtls. It is NOT part of mbedtls!

* [BCRYPT] Implement DSA encryption/decryption. Use union for cipher/pk/dh/dsa keys to lower memory used for a key. Lower PRIVATE_DATA_SIZE accordingly.

* [BCRYPT] Fix missed cleanup on error paths. Fixed missed DSA key reinitialization. Change some error codes to STATUS_NO_MEMORY. Minor formatting

* [WINESYNC] Update bcrypt sync status

* [MBEDTLS] Fix double export and move an export for readability

* [BCRYPT] Enable ARC4 (RC4) algorithm

* [BCRYPT] Extend private data size to fit x64

* [WINESYNC] Update WINESYNC.txt to exclude commit hash

---------

Co-authored-by: Justin Miller <justin.miller@reactos.org>
2026-08-30 01:29:51 +00:00
Justin Miller
b272427baa [APITESTS][NTOS:PS][SDK][NTUSER] Job UI Restriction support (#9448)
Adds the initial attempt at handling the job ui restriction support. This doesn't protect the OS yet, however it provides everything we need to start implementing that protection.
2026-08-29 04:46:45 +00:00
Mikhail Tyukin
c3ddf8f97c [COMCAT] Sync to Wine-10.0 2026-08-28 11:35:37 -04:00
Mikhail Tyukin
1d6f353c11 [AVIFIL32] Sync to Wine-10.0 2026-08-28 11:35:37 -04:00
Mikhail Tyukin
30266a7189 [ATL][ATL80][ATL100] Sync to Wine-10.0 2026-08-28 11:35:37 -04:00