2414 Commits

Author SHA1 Message Date
Katayama Hirofumi MZ
1d5d93f05f [SHLWAPI][SHLWAPI_APITEST][SDK] Support MapWin32ErrorToSTG (#9147)
Implementing missing features...
JIRA issue: CORE-19278
- Implement MapWin32ErrorToSTG function.
- Modify shlwapi.spec.
- Add prototype to <shlwapi_undoc.h>.
- Add MapWin32ErrorToSTG testcase.
2026-06-14 11:12:21 +09:00
Stanislav Motylkov
4e3729f06f [KERNEL32_WINETEST] Add some ReactOS-specific tests for CopyFileEx (#9145)
Cover the bug fix in PR #9133 with API tests. CORE-10271
Add them into a suitable Wine test to cover ReactOS-specific bug.

The tests are confirmed to pass on Windows 2003, 7, and 10.
2026-06-13 22:54:15 +03:00
Stanislav Motylkov
eecfbaeaa0 [SYSUTILS:PS] Fix "waitreason" array size
Addendum to c0f1450076.
2026-06-12 00:14:08 +03:00
Hermès Bélusca-Maïto
c0f1450076 [NDK][XDK][SYSUTILS:PS] Update the KWAIT_REASON enumeration
Validated with the System Informer phnt headers[^1].
Versioning added for Windows 8+ values, from Vergilius[^2].

[^1]: phnt headers and documentation from:
  https://ntdoc.m417z.com/kwait_reason
  5311c5ff7e/phnt/include/ntkeapi.h (L49)

[^2]: https://www.vergiliusproject.com
2026-06-11 22:40:28 +02:00
Amine Khaldi
137e544527 [CRYPTNET_WINETEST] Sync with Wine 10.0. CORE-20594 2026-06-09 20:12:33 +01:00
Amine Khaldi
769b7fb5c4 [JSCRIPT_WINETEST] Sync with Wine 10.0. CORE-20605 2026-06-09 20:12:05 +01:00
Katayama Hirofumi MZ
19b19ec305 [USER32][COMCTL32] Edit control: Fix alignment mask (#9115)
Based on JIRA user I_Kill_Bug's "Edit Alignment.patch".
JIRA issue: CORE-20631
- Add (ES_LEFT | ES_RIGHT | ES_CENTER) flags to
  style_change_mask variable.
2026-06-09 13:52:46 +09:00
Ahmed Arif
d3ed29ef06 [NTGDI][POLYTEST] Use newx1 as the lower bound in polyfill line-touch test (#9118)
Bug/typo was introduced in 5b6d43ab50 (r5619).
2026-06-08 16:42:33 +03:00
Katayama Hirofumi MZ
c59ce34030 [SHLWAPI][SHLWAPI_APITEST][SDK] Support SHGetFileDescriptionA/W (#9109)
Implementing missing features...
JIRA issue: CORE-19278
- Implement PrettifyFileDescriptionW, SHGetFileDescriptionA,
  and SHGetFileDescriptionW functions.
- Modify shlwapi.spec.
- Add prototypes into <shlwapi_apitest.h>.
- Add SHGetFileDescription testcase.
2026-06-07 08:17:49 +09:00
Katayama Hirofumi MZ
24a202796f [SHLWAPI_APITEST] Enhance AssocQueryString testcase (#9076)
Add the tests of "Tricky Pointer" (the pointer that is
non-null and IS_INTRESOURCE(...) is true).
JIRA issue: CORE-20467
- Directly call AssocQueryStringA/W functions
  without using GetProcAddress.
- Use ASSOCF_NONE instead of zero.
- Add the tests of "Tricky Pointers" handling.
2026-06-06 19:03:15 +09:00
Katayama Hirofumi MZ
cbc75d17e0 [SHLWAPI_APITEST] Add AssocQueryKey testcase (#9073)
JIRA issue: CORE-20467
Add AssocQueryKey testcase.
2026-06-05 11:17:28 +09:00
Amine Khaldi
c08b3680d7 [INETCOMM_WINETEST] Sync with Wine 10.0. CORE-20614 2026-06-03 23:45:14 +01:00
Katayama Hirofumi MZ
fe5b75083e [SHLWAPI][SHLWAPI_APITEST][SDK] Support NextPathA/W (#9039)
Implementing missing features...
JIRA issue: CORE-19278
- Implement NextPathA and
  NextPathW functions.
- Modify shlwapi.spec.
- Add prototypes into
  <shlwapi_undoc.h>.
- Add NextPath testcase.
2026-06-03 21:38:21 +09:00
Katayama Hirofumi MZ
3b3e1ff997 [SHLWAPI][SHLWAPI_APITEST][SDK] Support QuerySourceCreateFromKey (#9093)
Implementing missing features...
JIRA issue: CORE-20467
- Add querysrc.cpp.
- Add CRegistryEnumValues,
  CRegistryEnumKeys, and
  CRegistrySource classes.
- Implement
  QuerySourceCreateFromKey
  function.
- Add prototype into
  <shlwapi_undoc.h>.
- Modify shlwapi.spec.
- Add QuerySourceCreateFromKey
  testcase.
2026-05-31 17:33:17 +09:00
Amine Khaldi
0c48fcd407 [CRYPTUI_WINETEST] Sync with Wine 10.0. CORE-20593 2026-05-30 12:22:29 +01:00
Jiahe Wang
901a4edb04 [RTL_APITEST][NTDLL_APITEST] Add RtlVirtualUnwind test 2026-05-29 13:37:18 +00:00
Carl J. Bialorucki
c32fa2c96c [WALLPAPERS] Reorganize wallpapers, make it more similar to 0.4.15 release (#9000)
- Rename wallpaper filenames so they make sense in the available wallpaper list
- Flatten folder structure
- Change the capitalization on file ReadMe.txt to README.txt
- Add a license column in README.txt to describe license of each wallpaper
Note: The licenses for Silhouette.png and Silhouette Dark.png could not be confirmed. Assumed CC-BY-4.0
- Removed CC-BY-4.0 LICENSE.txt from the wallpapers folder because that license doesn't apply to all the wallpapers in the folder.
- Remove suggestions.txt, most of the links are dead and hasn't been touched since 2005.
- Rename ReadMe.txt from Angelus folder to Angelus.txt (Should we just remove it?)
2026-05-28 16:03:30 -05:00
Timo Kreuzer
413a1eace8 [KERNEL32_APITEST] Add tests for MultiByteToWideChar
Test for UTF-8 -> UTF-16 surrogate pair.
2026-05-26 20:58:29 +00:00
Timo Kreuzer
c41b381617 [KERNEL32_APITEST] Fix tests for MultiByteToWideChar on Vista 2026-05-26 20:58:29 +00:00
Timo Kreuzer
865ed62ef1 [KERNEL32_APITEST] Update tests to reflect ReactOS behavior 2026-05-19 14:40:49 +00:00
Timo Kreuzer
6ef4ddb83d [KERNEL32_APITEST] Add a test for NULL lpBytesReturned 2026-05-19 14:40:49 +00:00
Timo Kreuzer
b8bf0089de [KERNEL32_APITEST] Add tests for ReadFile and WriteFIle 2026-05-19 14:40:49 +00:00
Timo Kreuzer
50985d9702 [NTDLL_APITEST] Add a test for RtlGetProductInfo 2026-05-19 14:40:01 +00:00
Timo Kreuzer
ae71db5608 [GDIPLUS] Sync to Wine-10.0 2026-05-16 10:43:08 +00:00
Timo Kreuzer
e62eea07f8 [GDIPLUS_WINETEST] Skip failing tests on Vista 2026-05-16 10:43:08 +00:00
Timo Kreuzer
04c7639769 [GDIPLUS_WINETEST] Fix crash on Vista
GdipDrawImageFX isn't available pn Vista
2026-05-16 10:43:08 +00:00
Timo Kreuzer
e6a61fb3c7 [GDIPLUS_WINETEST] Sync to Wine-10.0 2026-05-16 10:43:08 +00:00
Timo Kreuzer
632b09f55e [SDK] include/wine/test.h: add __wine_dbg_strdup
Taken from wine-10.0
2026-05-16 10:43:08 +00:00
Timo Kreuzer
f530cf99a0 [ROSTESTS] Get rid of some test lists 2026-05-15 16:50:48 +00:00
Timo Kreuzer
151c67ebfc [ROSTESTS] Implement automatic test discovery
This uses the START_TEST macro to create test entries in a ".test" section in the binary.
2026-05-15 16:50:48 +00:00
Timo Kreuzer
104d889c7a [ROSTESTS] Do not compile tests that should not run
With automatic test list creation, whatever is built will also run.
2026-05-15 16:50:48 +00:00
Timo Kreuzer
dd27d0e194 [APITESTS] Make sure test functions are name correctly
With automatic test list creation, the function name (from START_TEST(name)) will also be the test name and some of those conflict with wine tests.
2026-05-15 16:50:48 +00:00
Timo Kreuzer
5f51f24697 [CRT_APITEST] Improve some tests
This is needed to automatically derive the test name from START_TEST.
2026-05-15 16:50:48 +00:00
Timo Kreuzer
86ced29104 [DELAYIMP_APITEST] Fix crash on Vista x64
For some reason on Vista x64 0xdeadbeef isn't detected as an invalid handle and the whole thing crashes. INVALID_HANDLE_VALUE on the other hand is detected as an invalid handle, so use that.
2026-05-15 13:31:25 +00:00
Stanislav Motylkov
b24dd41549 [KERNEL32_APITEST] Add tests for EnumSystemCodePages (#8986)
Inspired by PoC test code by Aliaksandr in CORE-20535.
These tests are passing on Windows.

Co-authored-by: Aliaksandr Lebiadzevich <bsalex2025@gmail.com>
2026-05-14 11:32:25 +03:00
Timo Kreuzer
4bf2a30395 [WIDL] Remove a hack that inserted WIN32_LEAN_AND_MEAN into headers
This was supposedly to improve compile times, but it breaks our headers.
2026-05-11 18:21:34 +00:00
Timo Kreuzer
301b783922 [ACTIVEDS_WINETEST] Import from wine-10.0 2026-05-11 18:21:34 +00:00
Serge Gautherie
aec671a530 [INTEROP_UNITTEST] Clarify output (#8306)
Somewhat help to read and interpret output, as the program is.

- Always output locale with 4 digits
- Always output PART items as s%02d:i%u
- Improve handling module/part errors
- Output string length too
  as a hint that ''s are not actually empty.

CORE-18893
2026-05-10 01:44:43 +03:00
Timo Kreuzer
a10eff6e2c [KERNEL32_APITEST] Add tests for GetEnvironmentVariable(A/W) 2026-05-08 20:49:38 +00:00
Timo Kreuzer
00d78f9310 [NTDLL_APITEST] Add tests for RtlQueryEnvironmentVariable(_U) 2026-05-08 20:49:38 +00:00
Timo Kreuzer
414d57b58b [GDI32_WINETEST] Update to wine-10.0 2026-05-08 19:30:33 +00:00
Timo Kreuzer
d8a1ba1fea [MLANG_WINETEST] Sync to Wine-10.0 2026-05-08 07:30:20 +00:00
Katayama Hirofumi MZ
c6bcf2ac10 [SHLWAPI][SHLWAPI_APITEST][SDK] Support SHInvokeCommandsOnContextMenu (#8919)
Implementing missing features...
JIRA issue: CORE-19278
- Implement
  SHInvokeCommandsOnContextMenu
  function.
- Modify shlwapi.spec.
- Add prototype to <shlwapi_undoc.h>.
- Add
  SHInvokeCommandsOnContextMenu
  testcase.
2026-05-07 21:18:24 +09:00
Timo Kreuzer
d2dc9355ab [CMAKE] Remove obsolete remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS) 2026-05-07 06:27:58 +00:00
Timo Kreuzer
3b7960e2f8 [FRAG] Fix usage of non-conforming swprintf 2026-05-07 06:27:58 +00:00
Timo Kreuzer
1cf31524d5 [REACTOS] Stop using non-conforming swprintf / vswprintf
Use the underscored versions instead.
2026-05-07 06:27:58 +00:00
Serge Gautherie
32c4faf433 [INTEROP_UNITTEST] Remove EOLD_PROGRAMS remnants (#8937)
Addendum to 0.4.16-dev-2564-g a409e5d.
2026-05-05 19:26:08 +03:00
Timo Kreuzer
5be29348db [NTDLL_WINETEST] Fix failing tests on Windows Vista 2026-05-05 07:44:54 +00:00
Timo Kreuzer
fc78efb162 [NTDLL_WINETEST] Fix failing tests on Windows 2003 2026-05-05 07:44:54 +00:00
Timo Kreuzer
78be5473ac [NTDLL_WINETEST] Fix test_NtDeleteKey test on older Windows versions 2026-05-05 07:44:54 +00:00