Commit Graph

88793 Commits

Author SHA1 Message Date
Timo Kreuzer
fa433604cf [COMSUPP] Define WIN32_LEAN_AND_MEAN
This is needed to prevent compile errors, when _INC_WINDOWS is defined.
So far WIN32_LEAN_AND_MEAN is wrongly defined by some idl generated headers.
In VS with native headers similar issues exist.
2026-05-11 18:21:34 +00:00
Timo Kreuzer
101f7652df [UUID] Don't use a precompiled header
We cannot use a precompiled header, because it would include headers before including initguid.h, preventing GUIDs to be defined.
2026-05-11 18:21:34 +00:00
Timo Kreuzer
301b783922 [ACTIVEDS_WINETEST] Import from wine-10.0 2026-05-11 18:21:34 +00:00
Timo Kreuzer
a596d654b5 [PSDK] Update some files from wine-10.0
- Import adserr.h
- Sync adshlp.h
- Sync iads.idl
2026-05-11 18:21:34 +00:00
Serge Gautherie
42d178789b [KERNEL32] GetStartupInfoA(): Check other thread result at the latest (#8326)
Give a bit more time to succeed.

- Remove a remnant assignment.
- Check the interesting variable itself and as late as possible.

Follow-up to 0.4.16-dev-1610-g 4f61d2ea04 (#8282).
2026-05-11 14:44:24 +03:00
Ahmed Arif
45303a2782 [PEFIXUP] Recalculate checksums for kernel-mode images (#8969)
lld can leave the PE checksum field zero for reproducible output. This is acceptable for user-mode images, but Windows rejects kernel-mode images without a valid checksum.

Keep preserving linker-produced zero checksums for other images, but force checksum recalculation when pefixup is operating on a kernel-mode image.

This was found while validating Clang-built amd64 kmtest drivers against Windows 7: the same driver source built with GCC loaded, while the Clang/lld-built .sys failed with ERROR_BAD_EXE_FORMAT / 0xC1. Recalculating the PE checksum made the Clang-built driver load and the tests run correctly.
2026-05-11 00:48:41 +03:00
Eric Kohl
f86835f4f0 [IFMON] Improve the output of the 'show address' and 'dump' commands 2026-05-10 19:14:11 +02:00
Serge Gautherie
f00e1cd6aa [NTOS:PNP] IopGetBusTypeGuidIndex(): Remove 1 unwanted ExFreePool()
in a failure case.

CORE-12791
2026-05-10 14:07:51 +00:00
Serge Gautherie
25a6fdf867 [NTOS:MM] Convert some annotations to SAL2 and fix them
And add a specific ASSERT(SectionOffset) in MmMapViewOfSection().
2026-05-10 11:05:30 +00:00
Eric Kohl
54c667caaa [NETCFGX] Fix calls to wcsicmp 2026-05-10 11:58:02 +02:00
Eric Kohl
d55dbfc87f [NETCFGX] Implement INetCfgComponentBindings::SupportsBindingInterface 2026-05-10 10:47:41 +02:00
Eric Kohl
526a79ce02 [NETCFGX] Retrieve remaining interfaces from notify OBJECT_BASED_STORAGE_DEVICE
- Retrieve the INetCfgComponentNotifyBinding, INetCfgComponentNotifyGlobal and
  INetCfgComponentUpperEdge interfaces from notify objects.
- If implemented by a notify object, call
  INetCfgComponentNotifyGlobal::GetSupportedNotifications right after the initialization
  of a notify object.
2026-05-10 02:14:02 +02:00
Doug Lyons
7066dcccae [WINESYNC] Remove reference to winfile which was removed in 2023 (#8972)
Housekeeping only. Remove reference to 'winfile' from WINESYNC.txt.

This was removed from the ReactOS tree in 2023 by Victor Perevertkin.
Reference commit: https://github.com/reactos/reactos/commit/b82353c.
2026-05-09 19:02:12 -05:00
Alex Mendoza
7cba1c80a7 [SHELL32]: Fix E_OUTOFMEMORY not being returned on allocation failure in ASSOCSTR_DEFAULTICON (#8866)
Fix `ASSOCSTR_DEFAULTICON` in `CQueryAssociations::GetString` incorrectly returning **S_OK** instead of **E_OUTOFMEMORY** when HeapAlloc fails.
2026-05-10 00:50:46 +02:00
Alex Mendoza
d8f0c3bef2 [PSDK] Add missing values to _APTTYPEQUALIFIER (#8873)
Add missing `APTTYPEQUALIFIER_APPLICATION_STA` (enum 6) and `APTTYPEQUALIFIER_RESERVED_1` (enum 7) to `_APTTYPEQUALIFIER`.

Documented at:
https://learn.microsoft.com/en-us/windows/win32/api/objidl/ne-objidl-apttypequalifier
2026-05-10 00:48:42 +02:00
Serge Gautherie
aec671a530 [INTEROP_UNITTEST] Clarify output (#8306)
Somewhat help to read and interpret output, as the program is.

- Always output locale with 4 digits
- Always output PART items as s%02d:i%u
- Improve handling module/part errors
- Output string length too
  as a hint that ''s are not actually empty.

CORE-18893
2026-05-10 01:44:43 +03:00
Eric Kohl
ba05130718 [PSDK] Fix a type in netcfgx.h 2026-05-09 23:16:03 +02:00
Václav Zouzalík
b1b9530281 [MSGINA] Update German (de-DE) translation (#8955)
* Update German (de-DE) translation
* Add file header

Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>
2026-05-09 17:08:00 +00:00
Katayama Hirofumi MZ
58fa10d453 [NOTEPAD] Minor formatting (#8965)
Follow-up of #8938.
JIRA issue: N/A
Just indent some lines of a switch block in ReactOS style.
2026-05-09 20:35:51 +09:00
Katayama Hirofumi MZ
a2e1e1d963 [NOTEPAD] Make loading file faster (#8938)
Performance improvement. This PR
will improve the speed of loading
a large file.
JIRA issue: CORE-19898
- Change 2 passes to 1 pass on
  ANSI/UTF-8, omitting precise
  buffer size calculation.
- Change LocalReAlloc calls to
  LocalAlloc.
- ReadText function now returns
  HLOCAL and no longer takes
  phLocal.
2026-05-09 20:24:51 +09:00
Thomas Anderson
71314c23a5 [APPWIZ] Update French (fr-FR) translation (#8951) 2026-05-09 00:09:36 +02:00
Timo Kreuzer
a10eff6e2c [KERNEL32_APITEST] Add tests for GetEnvironmentVariable(A/W) 2026-05-08 20:49:38 +00:00
Timo Kreuzer
00d78f9310 [NTDLL_APITEST] Add tests for RtlQueryEnvironmentVariable(_U) 2026-05-08 20:49:38 +00:00
Timo Kreuzer
414d57b58b [GDI32_WINETEST] Update to wine-10.0 2026-05-08 19:30:33 +00:00
Timo Kreuzer
f85e19ecfb [GDI32] Relax an ASSERT
This prevents an assertion failure in gdi32_winetest
2026-05-08 19:30:33 +00:00
Timo Kreuzer
eb23595829 [SETUPAPI] Add stubs for Vista exports 2026-05-08 19:30:33 +00:00
Timo Kreuzer
156faa5d6a [PSDK] Update devpkey.h from Wine-10.0 2026-05-08 19:30:33 +00:00
Timo Kreuzer
d50588f132 [SDK/WINE] Add some headers from Wine-10.0
- wine/ntgdi.h
- wine/d3dukmdt.h
- wine/ddk/d3dkmthk.h

These are needed for gdi32_winetest
2026-05-08 19:30:33 +00:00
Timo Kreuzer
1f44845067 [SDK] pnp.idl: Guard DEVPROPKEY from redefinition 2026-05-08 19:30:33 +00:00
Timo Kreuzer
4ad3fcbcaf [SDK] setupapi.h: Add SetupDiGetDevicePropertyW 2026-05-08 19:30:33 +00:00
Timo Kreuzer
e7216ce67f [RTL/x64] Improve RtlCaptureContext/RtlRestoreContext
In user mode use fxsave64/fxrstor64, which handle legacy FP, MMX and XMM and MXCSR, in kernel mode save/restore XMM registers and MXCSR manually.
2026-05-08 19:04:31 +00:00
Doug Lyons
17846e97d0 [SYSSETUP] Fix wine gecko install in second stage setup (#8885)
CORE-20422

Restore the ability to download ReactOS's Wine Gecko during the Second Stage Installer.
Reverts a part of commit https://github.com/reactos/reactos/commit/6b9122b.
It reverts all of the changes there to "win32/syssetup/install.c".
2026-05-08 13:49:17 -05:00
Ostap Burtoviy
2c377eba79 [TRANSLATION] Improve Ukrainian (uk-UA) translation (#8756)
Improve Ukrainian translation across several components.

- Replace "настройка" with "налаштування" (russism)
- Translate missing strings.
- Update to modern file headers, also fix typo "Ukraianian" -> "Ukrainian"
2026-05-08 21:24:40 +03:00
Jose Carlos Jesus
fc45321430 [NETSHELL] Update Portuguese (pt-PT) translation (#8929) 2026-05-08 20:48:19 +03:00
Jose Carlos Jesus
59ca4b2536 [SYSDM] Update Portuguese (pt-PT) translation (#8928) 2026-05-08 17:30:17 +03:00
Jose Carlos Jesus
0cf4c2e5fa [POWERCFG] Update Portuguese (pt-PT) translation (#8927) 2026-05-08 16:54:15 +03:00
Jose Carlos Jesus
2668d6d461 [DEVMGR] Update Portuguese (pt-PT) translation (#8912) 2026-05-08 16:16:29 +03:00
Serge Gautherie
cb97e40143 [GITHUB] build-linux: Improve reporting -march value (#8362)
- Make regex stricter.
- Make output more explicit.
- Add comments.
2026-05-08 15:06:23 +03:00
Serge Gautherie
bc83700b58 [CMAKE] gcc: Allow warnings on CMAKE_BUILD_TYPE=MinSizeRel too (#8332)
- Skip -Werror
- Also merge amd64 case

Follow-up to 0.4.16-dev-848-g 6c7d2a2e25.
2026-05-08 14:10:23 +03:00
Timo Kreuzer
15c9005acb [MLANG] Sync to Wine-10.0 2026-05-08 07:30:20 +00:00
Timo Kreuzer
d8a1ba1fea [MLANG_WINETEST] Sync to Wine-10.0 2026-05-08 07:30:20 +00:00
Timo Kreuzer
e9a6d20847 [NLS] Add codepage 20932 (Japanese - EUC-JP) 2026-05-08 07:30:20 +00:00
Hermès Bélusca-Maïto
8fa6679b9f [BOOT] Remove last instances of "hybridcd"
Addendum to commit b2e33f26eb (PR #7313)
2026-05-07 18:03:09 +02:00
Václav Zouzalík
74723ae8c2 [MSGINA] Fix typo in Czech (cs-CZ) translation (#8952) 2026-05-07 16:55:53 +02:00
Carl J. Bialorucki
c03dd1ba75 [BOOTDATA] Add commented out block for setting visual style 2026-05-07 08:34:25 -05:00
Carl J. Bialorucki
548f0740df [BOOTDATA] Add unattend.inf to livecd target
Needed for 0.4.16 release to set a default visual style
2026-05-07 08:34:25 -05:00
Katayama Hirofumi MZ
b0ed661f57 [SHLWAPI][SDK] Follow-up of #8917, #8918, and #8920 (#8947)
Follow-up of #8917, #8918, and
#8920.
JIRA issue: CORE-19278
- Add a comment to IStream_ReadPidl
  function.
- Move CharLowerNoDBCSA/W and
  CharUpperNoDBCSA/W prototypes
  in <shlwapi_undoc.h>.
- Move SHDIALOG structure from
  <shlwapi_undoc.h> into utils.cpp
2026-05-07 21:32:08 +09:00
Katayama Hirofumi MZ
c6bcf2ac10 [SHLWAPI][SHLWAPI_APITEST][SDK] Support SHInvokeCommandsOnContextMenu (#8919)
Implementing missing features...
JIRA issue: CORE-19278
- Implement
  SHInvokeCommandsOnContextMenu
  function.
- Modify shlwapi.spec.
- Add prototype to <shlwapi_undoc.h>.
- Add
  SHInvokeCommandsOnContextMenu
  testcase.
2026-05-07 21:18:24 +09:00
Timo Kreuzer
054c83ffda [WINE] Remove hacks for missing _swprintf / _vswprintf 2026-05-07 06:27:58 +00:00
Timo Kreuzer
d2dc9355ab [CMAKE] Remove obsolete remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS) 2026-05-07 06:27:58 +00:00