Commit Graph
88090 Commits
Author SHA1 Message Date
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
Eric Kohl 7675b0e62a [DISKPART] Implement the remove command
The remove command does not work, because the DeleteVolumeMountPointW function is not implemented yet.
2025-12-27 19:11:06 +01:00
Copilot d6f68397cf [WINLOGON] Fix memory and handle leaks (#8514)
JIRA issue: CORE-13213
2025-12-27 22:10:44 +09:00
Eric Kohl abc2acf5a7 [DISKPART] Implement the filesystems command
Limitations with respect to available file systems and cluster sizes are not implemented yet.
2025-12-26 13:32:03 +01:00
Hermès Bélusca-Maïto 7c3d4a022d Merry Christmas time to the ReactOS Team! 2025-12-25 21:12:53 +01:00
Eric Kohl d39657cfe0 [VFATLIB] Add GPT partition support 2025-12-24 15:04:14 +01:00
Hermès Bélusca-Maïto bdf1b0ca5d [FREELDR:XBOX:PC98] Fix compilation dependencies and linking (#8512)
Addendum to commit 9e64fa837d (PR #8510)
CORE-16216, CORE-17977

pcmem.c: Surround more PC-specific routines in `!SARCH_XBOX || !SARCH_PC98`,
so that they aren't compiled for XBOX or PC98.

pcat.cmake: Inform that pcmem.c is used by pc98mem.c
2025-12-24 13:48:52 +01:00
Hermès Bélusca-Maïto cf901f3b78 [FREELDR:XBOX] Fix GCC compilation (#8512)
CORE-16216

Addendum to commit 9e64fa837d (PR #8510)

Fixes GCC complaint when compiling for XBOX (or PC98)
```
boot/freeldr/freeldr/arch/i386/pc/machpc.c:1123:1: error: 'DetectKeyboardController' defined but not used [-Werror=unused-function]
DetectKeyboardController(PCONFIGURATION_COMPONENT_DATA BusKey)
^~~~~~~~~~~~~~~~~~~~~~~~
```
2025-12-24 13:48:11 +01:00
Erdem Ersoy 66018d5e84 [BOOTDATA] Update Turkish localization timezone (#8528)
CORE-20403
2025-12-24 13:46:26 +01:00
Mark Jansen 07904ea449 [BOOTDATA] Add missed files for the vmware video driver 2025-12-24 13:45:50 +01:00
17d1c5b51a [APPHELP] Handle PE images without an import name table (#8507)
* [APPHELP] Handle PE images without an import name table

This splits the import lookup code in SeiHookImports into two helper functions - SeiPatchImportsByName and SeiPatchImportsByAddress.
Some PEs (eg. compiled with Borland toolchain or compressed with UPX) may not contain an import name table, so we use an alternative method (SeiPatchImportsByAddress) to find the imports we want to hook to by comparing the original pointers of the registered shim functions against those in IAT.

---------

Co-authored-by: Stanislav Motylkov <[email protected]>
Co-authored-by: Hermès BÉLUSCA - MAÏTO <[email protected]>
2025-12-24 13:45:17 +01:00
Mark Jansen d6bf1637c7 [SDK] Add script to update caroots.inf
CORE-16744
2025-12-24 13:43:53 +01:00
Mark Jansen dea54fb53a [BOOTDATA] update caroots.inf
CORE-20398
2025-12-24 13:43:53 +01:00
Timo Kreuzer d267938737 [WIN32U_APITEST] Add tests for NtGdiSetPixel 2025-12-22 14:10:26 +02:00
Timo Kreuzer 9932008f8e [GDITOOLS] Add inverted and red-blue mono DIB sections 2025-12-22 14:10:26 +02:00
Timo Kreuzer 69cb5bc1ee [GDITOOLS] Add info-DC to global resources 2025-12-22 14:10:26 +02:00