Commit Graph

88354 Commits

Author SHA1 Message Date
Carl J. Bialorucki
b7e05a7f58 [ADVAPI32_WINETEST] Sync to advapi32 winetest to wine-10.0
- [ADVAPI32_WINETEST] Sync to wine-10.0
- [ADVAPI32_WINETEST] Remove obsolete ReactOS hacks
- [ADVAPI32_WINETEST] Add new hacks for Windows Server 2003+ and ReactOS
2026-03-03 22:07:59 -06:00
Carl J. Bialorucki
391875028d [INCLUDE/WINE][PSDK][XDK] Header changes needed for advapi32 winetest sync to wine-10.0
- [INCLUDE/WINE] Import ntlsa.h, ntsecapi.h, winsvc.h from wine-10.0
- [PSDK] Fix some header definitions to make them more accurate to Microsoft's headers and add some missing definitions
- [XDK] Add a fix for PROCESS_ALL_ACCESS on Vista+ (matches Microsoft's headers)
- [COMDLG32] Remove unneeded _WIN32_WINNT bump after fixing headers
- [SETUPAPI] Remove duplicate definitions that are no longer needed after fixing headers
2026-03-03 22:07:59 -06:00
Carl J. Bialorucki
9844effa41 [ADVAPI32] Add SEH handling to some crypt functions
This fixes several crashes when running the advapi32 winetest from wine-10.0
2026-03-03 22:07:59 -06:00
Carl J. Bialorucki
4013a064b0 [ADVAPI32] Add NT6+ stubs for RegLoadAppKey and RegRenameKey 2026-03-03 22:07:59 -06:00
Timo Kreuzer
8115b04741 [NTOS:MM] Replace a useless alignment with an ASSERT
All system space mappings are 64k aligned.
2026-03-03 08:16:08 +02:00
Timo Kreuzer
5b4805aee0 [NTOS:MM] Fix section view hash calculation on x64
The "Entry" must always be ULONG_PTR, not ULONG, otherwise we get a different hash index and things go haywire.
2026-03-03 08:16:08 +02:00
Stanislav Motylkov
e2cf0bf53a [SDK] Fix build. Addendum to 391f7cae5b (#8565)
../src/sdk/include/reactos/x86x64/Intel/Cpuid.h:1585:15: error: duplicate member 'Reserved'
2026-03-03 00:04:27 +03:00
Peter Eik
391f7cae5b [SDK] Add some more AVX-512 definitions (#8565)
Add some more Intel AVX-512 extension definitions to the SDK,
as I saw several newer ones were missing. No functionality or purpose yet.

Should be useful for implementing full support in the future.

Reference: Intel Instruction Extensions Set Programming guide,
starting from page 24: https://cdrdv2.intel.com/v1/dl/getContent/671368
2026-03-02 23:52:32 +03:00
Sylas Hollander
1d3f99a87a [FREELDR:UEFI] Add support for Apple Graphics Info Protocol (#8706)
Intel Macs released before late 2008/early 2009 are missing the UEFI GOP,
resulting in a frozen/white screen when booting FreeLoader.

These Macs only have the UGA protocol, which does not support direct
framebuffer access, and Apple's proprietary Graphics Info Protocol
(sometimes also called Screen Info Protocol) which can be used
to get all the graphics information we need.

CORE-11954
2026-03-02 23:22:37 +03:00
Ahmed Arif
08e57f6bc2 [CRT/GCC] Fix infinite recursion in memset/memcpy/memmove at -O2 2026-03-02 20:14:06 +02:00
Sylas Hollander
e1853c6621 [FREELDR:UEFI] Correctly pass through ACPI information and map its memory (#8669)
This prevents bugchecks in Windows due to the ACPI table being overwritten
because of the incorrect UEFI to E820 memory mappings.

CORE-11954
2026-03-01 22:26:35 +03:00
Katayama Hirofumi MZ
06ae7ec211 [FREETYPE][NTGDI][GDI32][GDI32_APITEST] Rewrite GetCharWidth etc. (#8690)
Refactoring and improve readability.
JIRA issue: CORE-20505
- Add GreGetCharWidthW helper
  function.
- Rewrite NtGdiGetCharWidthW
  using GreGetCharWidthW.
- Refactor NtGdiGetGlyphIndicesW.
- Improve sanity check of
  GetCharWidthA/W/I,
  GetCharWidth32A/W, and
  GetCharWidthFloatA/W.
- Add GetCharWidth testcase to
  gdi32_apitest.
2026-03-01 20:12:45 +09:00
Mikhail Tyukin
3518663767 [COMBASE][COML2] Sync to wine-10.0
Co-Authored-By: buddyjojo <buddyjojo06@outlook.com>
2026-03-01 10:38:42 +02:00
Mikhail Tyukin
6cf5d73269 [WINESYNC] Update files 2026-03-01 10:38:42 +02:00
Mikhail Tyukin
37ef9507c7 [MSCOREE] Sync to wine-10.0 2026-03-01 10:38:42 +02:00
Timo Kreuzer
1f97ad1f93 [RTL] Sync actctx.c to wine 10.0 2026-03-01 10:38:42 +02:00
Mikhail Tyukin
20312ce0b1 [RPCSS] Sync to wine-10.0 2026-03-01 10:38:42 +02:00
Mikhail Tyukin
5f6b295cb9 [OLE32] Sync to wine-10.0 2026-03-01 10:38:42 +02:00
Mikhail Tyukin
c494cc2822 [PSDK] update some headers from wine-10.0 2026-03-01 10:38:42 +02:00
Katayama Hirofumi MZ
c33672648f [CONIME] Follow-up of #8678 (#8692)
Follow-up of #8678.
JIRA issue: CORE-20243
- Rename conime_res.rc as conime.rc.
- Rename Icon_2.ico as conime.ico.
2026-03-01 10:21:35 +09:00
Katayama Hirofumi MZ
80bd460836 [SDK][KBSWITCH][CONIME][IMM32][NTUSER][MSCTFIME][MSUTB] Define LANGID_... (#8691)
Follow-up of #8678. Commonize the definition of
LANGID_... values.
JIRA issue: CORE-20243
- Define LANGID_... values for CJK in <cjkcode.h> and
  use it.
2026-02-27 10:02:23 +09:00
Timo Kreuzer
fca332046e [NTOS:MM] Handle NoChange Vads in NtFreeVirtualMemory
Fixes assertion failure in ntdll_apitest:NtAllocateVirtualMemory on x64, where the user shared page has a NoChange Vad.
This also prevents freeing the PEB and TEB.
2026-02-27 00:38:58 +02:00
Doug Lyons
c83b29caca [COMDLG32] Quiet 2 WINE FIXME's to improve testman reliability (#8689)
ROSTESTS-419

Change two FIXME's below to TRACE's.
fixme:(dll\win32\comdlg32\filedlgbrowser.c:249)
fixme:(dll\win32\comdlg32\filedlgbrowser.c:619)
2026-02-26 13:01:28 -06:00
Katayama Hirofumi MZ
0c4091cd04 [FREETYPE][NTGDI] Update FreeType from 2.10.0 to 2.10.4 (#8671)
Modernize modules.
JIRA issue: CORE-17390
- Update FreeType to 2.10.4.
- Delete ChangeLog.
- Delete sdk/lib/3rdparty/freetype/src/gxvalid
  (useless for us).
- Delete sdk/lib/3rdparty/freetype/src/otvalid
  (useless for us).
- Keep ReactOS hacks on FreeType.
- Adapt ntgdi/freetype.c to new FreeType.
2026-02-26 09:32:57 +09:00
Katayama Hirofumi MZ
423d7031fe [CONIME][BOOTDATA][GITHUB][SDK] Add conime.exe (#8678)
Prepare for Console IME Input for East Asian.
JIRA issue: CORE-20243
- Modify .github/labeler.yml.
- Add base/system/conime/ .
- Modify boot/bootdata/hivesft.inf for Console
  settings.
- Add imm32!ImmCallImeConsoleIME prototype
  into <imm32_undoc.h>.
- Add IMS_CONSOLEIME_1A and IMS_CONSOLEIME_1B
  values into <imm32_undoc.h>, for WM_IME_SYSTEM
  message.
2026-02-26 09:28:22 +09:00
Katayama Hirofumi MZ
f7ef944dca [NTGDI][FREETYPE] Refactor NtGdiGetGlyphIndicesW (#8682)
Make code faster and improve readability.
JIRA issue: N/A
- Avoid buffer allocation by using
  stack variables if possible.
- Add IntGetFontDefaultChar helper
  function and use it.
2026-02-26 08:56:02 +09:00
Oleg Dubinskiy
8aed778a96 [HDAUDBUS_NEW] Fix PCI Bus interface version used for WdfFdoQueryForInterface()
Use hardcoded value '1' instead of predefined 'PCI_BUS_INTERFACE_STANDARD_VERSION', as in the current upstream.
Import upstream commit 4c92e71ef9.
According to the note from CoolStar, that defined value is different on Windows 11, so it causes some problems and '1' should be used instead.
Missed that during the import before.
Addendum to 7c2d923007.
2026-02-23 15:17:38 +01:00
Hermès Bélusca-Maïto
08eddb2736 [BOOTDATA] Use HKCU instead of HKU\.DEFAULT to simplify the livecd.inf file
`HKU\.DEFAULT` is equivalent to `HKCU` for the LiveCD hives.
2026-02-21 17:32:33 +01:00
Hermès Bélusca-Maïto
1aab8a87c4 [SHELL32][NTUSER] Fix "accessability" typo 2026-02-21 17:32:32 +01:00
Hermès Bélusca-Maïto
7a505166b9 [WIN32SS:NTUSER] Validate the gpsi pointer when getting/setting the caret blink time 2026-02-21 17:32:32 +01:00
Katayama Hirofumi MZ
249be9ecdd [DESK] Follow-up of #8670; Revert item selection code
JIRA issue: CORE-20499
2026-02-20 13:00:26 +09:00
Sylas Hollander
492aeb639c [FREELDR:UEFI] Fallback to MmAllocateMemoryWithType if allocating the disk read buffer with AllocatePool fails (#8677)
On many Intel Macs and likely other EFI 1.x devices, allocating
the disk buffer with AllocatePool fails with `EFI_OUT_OF_RESOURCES`.
This causes FreeLoader hardware detection failure on Macs.

Workaround this issue by allocating with `MmAllocateMemoryWithType`
if `AllocatePool` via Boot Services fails.

CORE-11954
2026-02-19 13:20:52 +03:00
Petru Răzvan
cac013abef [NTUSER] Implement inserting characters with the Alt+Numpad method (#8104)
Implement the Alt+Numpad method for inserting characters with their
OEM (Alt+xxx) or their current ANSI codepage (Alt+0xxx) codes.

CORE-5680

For reference, see:
- https://en.wikipedia.org/wiki/Alt_code
- https://devblogs.microsoft.com/oldnewthing/20240702-00/?p=109951

Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
2026-02-17 21:35:54 +01:00
Timo Kreuzer
de7e707459 [CRT] Remove obsolete CRT files 2026-02-17 17:52:19 +02:00
Timo Kreuzer
ac63dd5639 [CRTDLL] Remove some unneeded includes 2026-02-17 17:52:19 +02:00
Timo Kreuzer
40297415a5 [STATIC_CRT_APITEST] Remove static_crt_apitest from build for now
The test used the obsolete CRT. The test doesn't provide much value anyway, because we test all the used code already through msvcrt_apitest, ntdll_apitest, etc. The only real benefit was testing and working outside of reactos.
I kept the build file around, which could be revived with msvcrt_static or libcntpr, but that needs some work.
2026-02-17 17:52:19 +02:00
Timo Kreuzer
f417a522c6 [CRT][MSVCRT] Remove chkesp library
_chkesp is already part of vcruntime library.
2026-02-17 17:52:19 +02:00
Oleg Dubinskiy
4d8327b9dc [NTOSKRNL] Remove export version checking for IoConnect/DisconnectInterruptEx()
Since we're going to remove NT6.0+ exports versioning for the kernel soon anyway.
Also, this is badly required by recently imported KMDF stack and the drivers which use it (including the new hdaudbus) to work properly and avoids the failure because of missing exports (for NT5.2 target).
CORE-15350, CORE-18776
2026-02-16 15:18:26 +01:00
Oleg Dubinskiy
bc354746e0 [HDAUDBUS_NEW] Enable building the driver
- Add CMakeLists.txt.
- Fix GCC and MSVC builds.
CORE-15350, CORE-18776
2026-02-16 15:18:26 +01:00
Oleg Dubinskiy
47e0ac4ce4 [HDAUDBUS_NEW] Improve the driver installation (*.inf) file
to fix the audio controller device detection with the new HD audio bus driver.
CORE-15350, CORE-18776
2026-02-16 15:18:26 +01:00
Oleg Dubinskiy
7c2d923007 [HDAUDBUS_NEW] Import new SkyLake/KabyLake/ApolloLake HD audio bus driver from https://github.com/coolstar/sklhdaudbus/tree/master (BSD-3-Clause License)
[DOC] 3rd Party Files.txt: Add 'HD Audio Driver for Windows 10 / 11 with Skylake -> Raptor Lake DSP support'
CORE-15350, CORE-18776
2026-02-16 15:18:26 +01:00
Oleg Dubinskiy
4e72ec8358 [DDK] Add/update some missing definitions
CORE-15350, CORE-18776
2026-02-16 15:18:26 +01:00
Max Korostil
c65740eeb3 [WIN32KNT_APITEST][NTUSER] Fix NtUserCreateAcceleratorTable memory corruption (#7888)
CORE-18122

- Check if `EntriesCount` can overflow the required memory size.
- Add an apitest for `NtUserCreateAcceleratorTable`.
2026-02-16 14:19:30 +01:00
Katayama Hirofumi MZ
35b0e9896d [CABVIEW] Update Japanese (ja-JP) translation
CORE-18706
2026-02-16 18:10:12 +09:00
Katayama Hirofumi MZ
d91433aad5 [ZIPFLDR] Update Japanese (ja-JP) translation
CORE-18706
2026-02-16 18:07:21 +09:00
Katayama Hirofumi MZ
3016c40dc7 [DESK] Check if wallpaper file is deleted (#8670)
Don't show deleted wallpaper.
JIRA issue: CORE-19896
- Check the return value of SHGetFileInfoW of
  AddListViewItems function in background.c.
- Fix icon handle leak.
2026-02-16 17:58:17 +09:00
Mark Jansen
3529151141 [MSCUTILS] Add very basic certmgr 2026-02-15 20:13:01 +01:00
Mark Jansen
23c4ed174f [ACGENRAL] Add shim for msys2 hacks
See CORE-20159 for details
2026-02-15 20:12:39 +01:00
Piotr Hetnarowicz
17a337fbfa [SERVMAN] Update Polish (pl-PL) translation (#8191)
Co-authored-by: Adam Słaboń <asaillen@protonmail.com>
2026-02-15 18:05:29 +01:00
Jakub Kretkowski
7b426bc8b6 [APPLICATIONS] Improve and fix Polish (pl-PL) translation (#8030)
Update translations for:
- EVENTVWR, MSPAINT, NOTEPAD, RAPPS, REGEDIT, TASKMGR;
- IPCONFIG, TRACERT, WLANCONF.

CORE-20207

Co-authored-by: Adam Słaboń <asaillen@protonmail.com>
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
2026-02-15 17:51:15 +01:00