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
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
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.
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
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>
* [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
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
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>
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.
Import rtworkq.dll from Wine-10.0, required for importing wine's MediaFoundation implementation. Locked behind Windows 8.1 as apps detect for the presence of this DLL.
Misc. changes:
- [FMIFS] Fix source file encoding to UTF-8
- [KERNEL32] Fix SAL annotation for BasepMapFile
- [NTUSER] Fix a debug print incorrectly mentioning RtlDosPathNameToNtPathName_U
This fix is similar to the previous in 657f728767 (#5592).
Fix build of ntdll_winetest when compiling with -DDLL_EXPORT_VERSION=0x602 by exporting RegDeleteKeyValueA and RegDeleteKeyValueW in advapi32, and linking ntdll_winetest against psapi for EnumProcesses
CORE-20706
Its purpose is to observe whether or not a dialog that has the
`WS_VISIBLE` style explicitly set, briefly becomes visible
even if it gets terminated early from its `WM_INITDIALOG` handler.
(On Windows it does NOT become visible.)
* [SDK][KMTESTS:RTLRANGE] RtlRange Improvements
- Implement RtlGetLastRange (NT6.1)
- Implement RtlInvertRangeListEx (NT6.0)
- Honor AttributeAvailableMask
- Honor RTL_RANGE_SHARED_IS_VALID (In use for for PCI)
- Honor RTL_RANGE_NULL_CONFLICT_IS_VALID (In use for PCI)
- [SDK] Final RangeList bug fixes so tests pass on windows and reactos
Import patch from wine-9.15: wine-mirror/wine@320547b
```
comctl32/tests: Add test for PSN_QUERYINITIALFOCUS for the propsheet.
wine commit id 320547b6757a7236929a0d47847cab0802607cde by Jacob Czekalla <jczekalla@codeweavers.com>
```
This is an RVA, so there is no reason to expand it to 64 bit on x64.
Fixes crash of dbghelp_apitest rsym on x64, as the test was using ULONG while dbghelp was using ULONG_PTR and rsym itself was using TARGET_ULONG_PTR.