37 Commits
Author SHA1 Message Date
Stanislav Motylkov 9127a5319b [KERNEL32_WINETEST] Move ReactOS-specific tests down a bit
Avoid hitting ReactOS interprocess file sharing bugs that are not fixed
yet and use a pair of fresh temporary files for testing the function.

Addendum to 4e3729f06f (#9145). CORE-10271
2026-06-15 21:32:32 +03: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
Timo Kreuzer d2dc9355ab [CMAKE] Remove obsolete remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS) 2026-05-07 06:27:58 +00:00
Carl J. Bialorucki 8aafd0491d [KERNEL32_WINETEST] Handle Windows -> ReactOS folder differences 2026-01-09 08:54:58 -08:00
Carl J. Bialorucki ddfdb0de7a [KERNEL32_WINETEST] Sync kernel32 winetest to wine-10.0
- [KERNEL32_WINETEST] Sync to wine-10.0
- [KERNEL32_WINETEST] Define out tests we can't yet build, fix test failures for WS03-Win 10 1607.
- [KERNEL32_WINETEST] Consolidate header hacks needed for the winesync in winehacks.h. This documents what incompatibilities we need to work around in our and Wine headers in one place.
2026-01-09 08:54:58 -08:00
Carl J. Bialorucki b1644362af [INCLUDE/WINE] GetNTVersion() and other changes for kernel32 winetest sync
- [INCLUDE/WINE] Add GetNTVersion() macro, useful for determining Windows versions in Wine tests we need to bring up for older Windows versions.
- [INCLUDE/WINE] Header changes needed for kernel32 winetest
- [WINETESTS] Perform any fixes needed from breaking header changes
2025-11-21 10:17:20 -06:00
Timo Kreuzer 0b18dfe924 [WINETESTS] Move definition of __ROS_LONG64__ to individual tests
This is more explicit than defining it for all wine tests and it directly shows us which tests need to be synced to get rid of the hack.

Addendum to 381e224 (PR #7576)
2025-09-11 09:17:13 +03:00
Carl J. Bialorucki c9842e5aad Move /sdk/include/reactos/wine to /sdk/include/wine, reorder global includes, remove unneeded includes (#8258)
- Move sdk\include\reactos\wine to sdk\include\wine
- Reorder the directories in include_directories() to be closer to alphabetical. This should make it easier to determine what global include directories can be removed in the future.
2025-07-29 13:57:12 -06:00
Carl J. Bialorucki a753f34e30 [PSDK][XDK][NDK][INCLUDE/WINE] Make header changes to sync crypt32, kernel32, and user32 winetests (#8114)
- [PSDK] Sync wincrypt.h to Wine 10.0, keeping our SAL annotated function definitions behind an #ifdef guard
- [XDK] Add definitions to our winnt header that Wine 10.0's winternl.h depends on.
- [INCLUDE/WINE] Sync winternl.h to Wine 10.0
- [OTHER] Fix breaking changes with the synced winternl.h.
2025-07-05 15:14:31 -06:00
Timo Kreuzer 1de09c477c [3RDPARTY] Link to oldnames for stricmp/wcsicmp 2024-10-20 14:12:25 +03:00
Timo Kreuzer 5645f7cf8f [KERNEL32] Fix startup context of initial thread
When creating a new process the monster function CreateProcessInternalW calls BaseInitializeContext to set up the context for the initial thread. One of the parameters is the PEB pointer. Instead of passing the pointer to the newly created process' PEB, the function was passing it's own PEB address, leading to test failures. How this is not an issue otherwise is a mystery to be resolved by someone else.
Also remove ros_skip_flaky marks in kernel32_winetest:process (yes, flaky, because sometimes the PEB addresses actually match)
2023-08-16 22:03:05 +03:00
Victor Perevertkin f155b9377f [CMAKE] Elimitate the use of GCC and CLANG variables 2022-05-27 01:37:34 +03:00
Timo Kreuzer 8a437ac528 [ROSTESTS] Skip some test on x64 2021-07-10 18:41:12 +02:00
Serge Gautherie 03e824641e [CMAKE] winetests/: Move '/wd4101' to kernel32/ only
Also add matching remove_target_compile_option().

Addendum to 42d2d5e.
2021-05-11 14:13:21 +02:00
Jérôme Gardou e470b58376 [REACTOS] Explicitly link against pseh & include pseh headers in a few places 2021-04-28 13:10:23 +02:00
Victor Perevertkin fc2b105e5d [CMAKE] Use remove_target_compile_option when disabling manually enabled warnings 2021-03-03 06:04:25 +03:00
Jérôme Gardou 7e116f0ef3 [CMAKE] Get rid of replace_compile_flags
Introduce a finer-grained remove_target_compile_option instead
2020-10-20 21:44:54 +02:00
William Kent 427ea67b9c [RTL] Add code to SxS manifest parser to parse XML namespaces (#2512)
* [XDK] Typo fix
* [XDK] Add missing ACTIVATION_CONTEXT_SECTION values
* [RTL] Merge changes from Wine
* [ROSTESTS] Fix typo
* [NTDLL] Typo fix
* Add test for new functionality
* [ROSTESTS] Fix path
* [ROSTESTS] Add test to testlist.c
2020-09-20 22:56:42 +02:00
Amine Khaldi 139a3d6661 [CMAKE] Implement PCH builds with target_precompile_headers. CORE-16905 2020-06-06 21:58:41 +03:00
Victor Perevertkin 7e069ccdb2 [CMAKE] Replace custom functions to built-in ones
add_target_compile_definitions -> target_compile_definitions
add_target_compile_flags -> target_compile_options
add_target_include_directories -> target_include_directories
2020-04-16 15:59:38 +03:00
Serge Gautherie 803b5e1371 [WINETESTS] Remove forced _WIN32_WINNT defines (#2463)
Only comctl32 is affected.

Import
https://source.winehq.org/git/wine.git/commit/be3cda6ec0856d143d4737ee9306844569b76e15
2020-04-03 14:01:22 +02:00
Serge Gautherie 72fa935128 [CMAKE] kernel32_winetest: Enable 'generated.c', at last
Follow-up to 20f4039666.

ROSTESTS-251
2020-03-28 20:57:16 +01:00
Serge Gautherie 9bbbe84ca3 [KERNEL32_WINETEST] Uncomment out 'LPEXCEPTION_RECORD' checks
Revert part of r70802 (dd21fa115a).
Follow-up to 2e82175ba4.

ROSTESTS-251
2020-03-28 20:56:25 +01:00
Serge Gautherie d471558dbc [WINETESTS] */generated.c: Remove forced 0x0501 API versions
This actually affects 2 modules only:
* kernel32: this file is still commented out, these defines were going to be deactivated anyway.
* rpcrt4: I don't know why it had these defines (still) activated. Anyway.

Import
https://source.winehq.org/git/wine.git/commit/aa384d36429110970aa72acbc5043158de6aff03
2020-03-28 20:50:28 +01:00
Serge Gautherie dbfd511ecd [PSDK] SYSTEM_POWER_STATUS: Rename Reserved1 to SystemStatusFlag (#2419)
As on Win10.

Cherry pick
https://source.winehq.org/git/wine.git/commit/7c5ea436af8a6b5a3d2b095bd4697f10b6f78acc
2020-03-13 18:14:16 +01:00
Serge Gautherie 20f4039666 [KERNEL32_WINETEST] Fix COMMCONFIG.wcProviderData values (#2410)
Import test part of
https://source.winehq.org/git/wine.git/commit/a59d6387b6734cf0acb187e9c178d7c540751cae

ROSTESTS-251
2020-03-06 18:24:22 +01:00
Timo Kreuzer e26c8bc66f [ROSTESTS] Skip some flaky test / do not count successes 2019-12-04 01:24:49 +01:00
Timo Kreuzer ad89837c0e [3RDPARTY] Suppress MSVC printf format warnings in 3rd-party code 2019-08-15 15:24:12 +02:00
Pierre Schweitzer d69a00e039 [KERNEL32_WINETEST] Enable ConditionVariable and SRW lock tests
If we cannot find the functions in kernel32, try to get them from
kernel32_vista. This will allow testing our own implementation, while
still failing in W2K3 (no implementation available).
2018-09-16 12:05:42 +02:00
Mike Swanson 3c7e9bb332 Remove unnecessary executable bits 2018-08-15 18:29:09 +02:00
Amine Khaldi ed41a4dee2 [KERNEL32_WINETEST] Sync everything except file.c and virtual.c with Wine Staging 3.3. CORE-14434 2018-04-03 13:39:42 +01:00
Thomas Faber 9ac94af436 [KERNEL32_WINETEST] Cherry-pick Wine commit 85f515292aa (Close process / thread handles) by Mark Jansen. 2018-02-24 14:18:15 +01:00
Mark Jansen ee7f479c57 [RTL][XDK][KERNERL32_WINETEST] Import wine actctx changes from 3.2-37c98396
This adds support for reading the trustInfo (requestedExecutionLevel),
and the compatibility (supportedOs) sections.
2018-02-19 22:23:39 +01:00
Amine Khaldi 98ca8ad114 [KERNEL32_WINETEST] Add a PCH. 2017-12-18 13:28:00 +01:00
Amine Khaldi 00124d1b1a [CMAKE/CLANG-CL] Silence some clang-cl warnings in consistency with our gcc build. 2017-12-07 21:53:45 +01:00
Amine Khaldi 9a436e2dfa [KERNEL32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-19 22:29:35 +01:00
Colin Finck c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00