Timo Kreuzer
48757bc743
[WIN32U_APITEST] Improve NtUserScrollDC test
2025-12-30 12:59:52 +02:00
Timo Kreuzer
a479aff655
[WIN32U_APITEST] Skip NtUserProcessConnect test on Vista+
...
NtUserProcessConnect can only be called by CSRSS on Vista+.
2025-12-30 12:59:52 +02:00
Timo Kreuzer
e04c703e65
[WIN32U_APITEST] Disable 2 tests for NtUserGetThreadState
...
These fail on Windows 2003. Needs investigation.
2025-12-30 12:59:52 +02:00
Timo Kreuzer
3b434431f5
[WIN32U_APITEST] Fix test for NtUserGetAsyncKeyState
2025-12-30 12:59:52 +02:00
Timo Kreuzer
ab0fe2f9d4
[WIN32U_APITEST] Fix test for NtGdiRestoreDC
2025-12-30 12:59:52 +02:00
Timo Kreuzer
228b3ca472
[WIN32U_APITEST] Fix NtGdiGetDIBitsInternal test
2025-12-30 12:59:52 +02:00
Timo Kreuzer
2e206b124e
[WIN32U_APITEST] Rewrite test for NtGdiExtTextOutW
2025-12-30 12:59:52 +02:00
Timo Kreuzer
4671aaafa5
[WIN32U_APITEST] Try to fix NtGdiExtSelectClipRgn test
2025-12-30 12:59:52 +02:00
Timo Kreuzer
6529244477
[WIN32U_APITEST] Fix tests for NtGdiDeleteObjectApp on Vista+
2025-12-30 12:59:52 +02:00
Timo Kreuzer
1cb7a74671
[WIN32U_APITEST] Comment out 2 tests in NtGdiArcInternal
...
These fail on win 2003. Needs more investigation.
2025-12-30 12:59:52 +02:00
Timo Kreuzer
19450a9a27
[LPK] Remove obsolete hack
2025-12-30 12:57:14 +02:00
Timo Kreuzer
f2a0018c74
[CRT_APITEST] Mark a test for _wpgmptr as todo
2025-12-30 12:57:14 +02:00
Timo Kreuzer
f19b8a2715
[CRT_APITEST] Fix version check for (_w)system on ReactOS
...
ReactOS behaves like Vista+ now.
2025-12-30 12:57:14 +02:00
Timo Kreuzer
6a92a40f4b
[MSVCRT] Reimplement system/_wsystem
...
The new implementation is closely based on UCRT code and passes all tests for Vista+.
2025-12-30 12:57:14 +02:00
Timo Kreuzer
46d3aeeb54
[UCRTBASE_APITEST] Add tests for system/_wsystem
2025-12-30 12:57:14 +02:00
Timo Kreuzer
7e047d4eb7
[CRT_APITEST] Remove some obsolete todo_ros
2025-12-30 12:57:14 +02:00
Timo Kreuzer
9e477a655d
[MSVCRT-OLD] Delete old msvcrt
2025-12-30 12:57:14 +02:00
Timo Kreuzer
4aef49943f
[MSVCRT] Switch to wine msvcrt
2025-12-30 12:57:14 +02:00
Timo Kreuzer
a83f46aac4
[MSVCRT] Add cmake file
2025-12-30 12:57:14 +02:00
Timo Kreuzer
9a940ae628
[MSVCRT] Use __wine_RtlUnwind
2025-12-30 12:57:14 +02:00
Timo Kreuzer
e7823ed584
[MSVCRT] Use process heap
...
This is a hack, which was used before and is still needed, because wine code uses CRT allocation functions, even when the process heap should be used.
2025-12-30 12:57:14 +02:00
Timo Kreuzer
4799c86d01
[MSVCRT_APITEST] Fix test condition for strtoul on ReactOS
...
Wine msvcrt behaves like Vista+ here.
Also disable related static_crt tests, because it isn't even well defined how they should behave and what to compare it to.
2025-12-30 12:57:14 +02:00
Timo Kreuzer
ff7fdcf4b0
[MSVCRT] Fix __gemainargs
...
- Fix a quote character parsing bug in cmdline_to_argv- Implement ansi version of cmdline_to_argv
- Use cmdline_to_argv(A) in __(w)getmainargs to reparse the command line from _(w)cmdln
Fixes 30 failures in msvcrt_apitest:__getmainargs
2025-12-30 12:57:14 +02:00
Timo Kreuzer
326786bb84
[MSVCRT] Set current dir environment variable in _wchdir
...
This fixes a number of failures of cmd_winetest batch.
2025-12-30 12:57:14 +02:00
Timo Kreuzer
ba93ceafbb
[MSVCRT] Don't unconditionally set errno in msvcrt_search_executable
...
This is a bad idea and breaks tests.
2025-12-30 12:57:14 +02:00
Timo Kreuzer
7ce189f5a0
[MSVCRT] Fix initial value of _fmode
2025-12-30 12:57:14 +02:00
Timo Kreuzer
3d8bfdd144
[MSVCRT] Comment out some x86 exception handling functions
...
Use our own instead
2025-12-30 12:57:14 +02:00
Timo Kreuzer
d2336bead5
[MSVCRT] Fix a bug in _wctomb_l
...
Fixes crash in msvcrt_apitest:wctomb
2025-12-30 12:57:14 +02:00
Timo Kreuzer
86c6a4ebd7
[MSVCRT] Fix wine's broken _LDOUBLE stuff
2025-12-30 12:57:14 +02:00
Timo Kreuzer
1106678cc0
[MSVCRT] Add some missing exports
...
- Add _mbcasemap, __p__mbcasemap, _fileinfo, __p__fileinfo, _get_fileinfo, _set_fileinfo, _get_winver
- Add strtoll and strtoull import symbols
- Add CrtDbgReport*
- Enable a few stubs
2025-12-30 12:57:14 +02:00
Timo Kreuzer
4d20df2fd5
[MSVCRT] msvcrt.spec: Use our own math functions directly
...
Bypass the wine wrappers, and comment out _fpclass and ldexp in math.c, because our own functions work better.
2025-12-30 12:57:14 +02:00
Timo Kreuzer
15adae7331
[MSVCRT] msvcrt.spec: Fix sorting of exports
2025-12-30 12:57:14 +02:00
Timo Kreuzer
afa93b75f9
[MSVCRT] msvcrt.spec: Add version attributes
2025-12-30 12:57:14 +02:00
Timo Kreuzer
a4b20a7278
[MSVCRT] msvcrt.spec: fix architecture of some exports
2025-12-30 12:57:14 +02:00
Timo Kreuzer
3f72d983f7
[MSVCRT] msvcrt.spec: Fix up some exports
2025-12-30 12:57:14 +02:00
Timo Kreuzer
55ca43db3c
[MSVCRT] Add MSVC asm code
2025-12-30 12:57:14 +02:00
Timo Kreuzer
f211c68faa
[MSVCRT] Make _setfp_sse available for MSVC as well
...
Also fix build with clang.
2025-12-30 12:57:14 +02:00
Timo Kreuzer
f4e3aed649
[MSVCRT] Make msvcrt compile with MSVC
2025-12-30 12:57:14 +02:00
Timo Kreuzer
fda35b6d5a
[MSVCRT] Comment out _setjmp/longjmp
...
Our own implementation is better and passes more tests.
2025-12-30 12:57:14 +02:00
Timo Kreuzer
386642c6f8
[MSVCRT] Comment out memmove
2025-12-30 12:57:14 +02:00
Timo Kreuzer
f73c6da00d
[MSVCRT] Add msvcrt includes from wine-10.0
2025-12-30 12:57:14 +02:00
Timo Kreuzer
88e8fa67df
[MSVCRT] Import msvcrt from wine-10.0
2025-12-30 12:57:14 +02:00
Timo Kreuzer
0fca13d108
[MSVCRT] Rename folder to msvcrt-old
2025-12-30 12:57:14 +02:00
Adam Słaboń
0edffb1eda
[NEWDEV] CHSourceDlgProc: Don't set CustomSearchPath member to stack allocated buffer ( #8447 )
...
Fixes a crash when installing a driver from custom directory.
Also move the combobox handling code to the PrepareFoldersToScan() and call it instead.
CORE-20409
2025-12-29 23:22:20 +03:00
Eric Kohl
f6a86c1ab3
[DISKPART] Implement the assign command
...
- Also improve the parameter checks of the remove command.
The assign command does not work, because the SetVolumeMountPointW function is not implemented yet.
2025-12-28 20:35:27 +01:00
Dmitry Borisov
c8e1772109
[BOOTVID:PC98][PC98VID] Disable the text layer when setting mode ( #8539 )
...
The previous approach was causing the contents of TVRAM to be visible after boot:
https://github.com/user-attachments/assets/df6d2782-4d54-41ab-b4c9-caeb170c4e1e
Fixes a regression introduced in 0fa49018cd .
CORE-17977
2025-12-28 14:40:17 +03:00
Timo Kreuzer
b6ae4e1296
[RTL] Fix searching resource names
...
Resource names are sorted with '_' being higher than any alphabetic characters. This means _wcsicmp cannot be used to search, because it lowercases the characters before comparison, which would make '_' lower than lowercase alphabetic characters. Implement a custom compare function instead.
See CORE-20401, CORE-20408
2025-12-28 12:33:01 +02:00
Timo Kreuzer
89e4b6bef4
[NTDLL_APITEST] Add a test for LdrFindResource_U / CORE-20401
...
See CORE-20401, CORE-20408
2025-12-28 12:33:01 +02:00
Timo Kreuzer
454f25c7f3
[CRT_APITEST] Add a few more tests for _wcsicmp
...
These show that _wcsicmp does a lowercase comparison.
2025-12-28 12:33:01 +02:00
Eric Kohl
31b091cbd6
[DISKPART] Improve the drive letter query
...
And disable some debug output
2025-12-27 21:47:38 +01:00