Commit Graph
88079 Commits
Author SHA1 Message Date
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
Timo Kreuzer 7d6a5a50fb [GDITOOLS][GDI32_APITEST] Move resources to gditools lib
This allows to share them in win32knt_apitest.
2025-12-22 14:10:26 +02:00
Eric Kohl cb8278b5f3 [DISKPART] Add help text for the gpt command 2025-12-21 12:26:35 +01:00
Eric Kohl c4c8e5ef3f [DISKPART] Check for the noerr option first 2025-12-21 11:47:05 +01:00
Eric Kohl 86ec64b2b1 [DISKPART] Implement the automount command 2025-12-21 09:33:59 +01:00
Doug Lyons bac7d7f5cd [SETUP][INF][FONTS] Change font substitutes for "MS Sans Serif" and "MS Shell Dlg" (#8481)
Change both of these from "Tahoma" to "Microsoft Sans Serif" for Latin Fonts only.
It is possible that other language types would benefit, but I am unable to test these.

CORE-15675 and CORE-15678 (Both Fixed.)
CORE-16435 (Improvements only. Not totally fixed.)
2025-12-20 22:31:36 -06:00
Copilot be39662767 [TASKMGR] Fix a handle leak of ReleaseDC (#8513)
JIRA issue: CORE-20230

Fix a handle leak that forgot ReleaseDC(hParentWnd, hdc); on failure.
2025-12-21 08:12:57 +09:00
Eric Kohl 8e952f1510 [DISKPART] Show more disk details
- Show device description, status and bus type in the 'detail disk' command.
2025-12-20 16:26:15 +01:00
Stanislav Motylkov 7f64cd986b [FREELDR:PC98] Fix build by doing a partial revert
Partial revert of 9decadee83.
It introduced a typo in the assembler code that broke the build.
Also, "Press any key" text fits into 512 bootsector space on both GCC/MSVC.

CORE-19882 CORE-17977
2025-12-19 23:58:01 +01:00
Eric Kohl 3f96772154 [DISKPART] Use the PSDK diskguid.h instead of our own guid.h 2025-12-19 22:39:34 +01:00
Stanislav Motylkov c3f3b2b0ad [BOOTVID:XBOX] Fix MSVC build
Fix two similar warnings, that were treated as errors:
- warning C4146: unary minus operator applied to unsigned type, result still unsigned

Addendum to fa1ec0a2ed. CORE-16216 CORE-16219
2025-12-19 15:56:07 +01:00
Hermès Bélusca-Maïto ea90485339 [FREELDR:XBOX/UEFI] No need for a specific ScrollUp routine, just call the VidFb one (#8509)
And use the console `CurrentAttr` for screen filling, instead of
hardcoding it to white-on-black.
2025-12-19 13:21:49 +01:00