6385 Commits
Author SHA1 Message Date
Katayama Hirofumi MZ 29ca914bd4 [SHLWAPI] Use <new> std::nothrow (#9150)
Use preferred memory handling on memory
shortage.
JIRA issue: N/A
- Link cppstl instead of cpprt.
- Use <new> new(std::throw) for memory
  allocation.
- Return E_OUTOFMEMORY on allocation
  failure.
- Don't use <stdlib.h> min macro but use
  <cstdlib> __min.
2026-06-15 08:50:15 +09:00
Katayama Hirofumi MZ 1d5d93f05f [SHLWAPI][SHLWAPI_APITEST][SDK] Support MapWin32ErrorToSTG (#9147)
Implementing missing features...
JIRA issue: CORE-19278
- Implement MapWin32ErrorToSTG function.
- Modify shlwapi.spec.
- Add prototype to <shlwapi_undoc.h>.
- Add MapWin32ErrorToSTG testcase.
2026-06-14 11:12:21 +09:00
Whindmar Saksit a83411cfef [SHELL32] Avoid SHRunControlPanel to be Vista compatible (#9114) 2026-06-14 00:24:59 +02:00
Eric Kohl c78c09cfbe [IFMON] Set TCPIP Properties 2026-06-13 17:32:16 +02:00
Katayama Hirofumi MZ 300e1d525d [MSVCRT][CRT][UCRT] Disable intrinsic string functions on MSVC (#9157)
VS2022 version 17.2 and later (`_MSC_VER >= 1932`) added new intrinsic
functions (`strncmp`, `strncpy`, `wcsncmp`, and `wcsncpy`).
As we implement these ourselves, we have to avoid compiler error C2169.

This problem surfaced with a recent GitHub Actions update:
https://github.com/actions/runner-images/issues/14017

Use `#pragma function(...)` to disable new intrinsic functions.
2026-06-13 18:10:15 +03:00
Jose Carlos Jesus f75ca87425 [DEVMGR] Update Portuguese (pt-PT) translation (#9027) 2026-06-10 20:02:49 +03:00
Amine Khaldi c8c275fe63 [JSCRIPT] Attempt to address MSVC_x64 build bot error. 2026-06-10 06:54:51 +00:00
Amine Khaldi 9de28952fb [CRYPTNET] Sync with Wine 10.0. CORE-20594 2026-06-09 20:12:33 +01:00
Amine Khaldi 28ed28dac1 [JSCRIPT] Sync with Wine 10.0. CORE-20605 2026-06-09 20:12:05 +01:00
Timo Kreuzer 43af5398d2 [KERNELBASE] Add kernelbase_ros.dll
This is a termporary solution to provide part of the needed APIs from wine modules, until we have a fully working kernelbase.
This one imports from msvcrt, kernel32 and advapi32.
2026-06-09 17:40:07 +00:00
Timo Kreuzer 4ba2db3c6e [KERNELBASE][PATHCCH] Unhack path.c 2026-06-09 17:40:07 +00:00
Timo Kreuzer 2820072004 [KERNELBASE] Apply reactos fixes from shlwapi SHLoadIndirectString 2026-06-09 17:40:07 +00:00
Timo Kreuzer db16f10a91 [NTDLL_VISTA] Export RtlUnicodeToUTF8N and RtlUTF8ToUnicodeN 2026-06-09 17:40:07 +00:00
Timo Kreuzer 6d0ff7a62a [PSDK] Add timezoneapi.h and use it from winbase.h 2026-06-09 17:40:07 +00:00
Whindmar Saksit f2ef434107 [NETAPI32] Fix NetLocalGroupAddMembers crash because return code was interpreted incorrectly (#9113) 2026-06-09 18:10:30 +02:00
Jose Carlos Jesus fc9e1d11ab [ZIPFLDR] Update and improve Portuguese (pt-PT) translation (#9024) 2026-06-09 15:56:31 +03:00
Katayama Hirofumi MZ 19b19ec305 [USER32][COMCTL32] Edit control: Fix alignment mask (#9115)
Based on JIRA user I_Kill_Bug's "Edit Alignment.patch".
JIRA issue: CORE-20631
- Add (ES_LEFT | ES_RIGHT | ES_CENTER) flags to
  style_change_mask variable.
2026-06-09 13:52:46 +09:00
Carl J. Bialorucki 34bf566dd9 [SYSSETUP][BOOT] Add ReactOS Server Core install type
- Write InstallationType to registry.
- If installing as Server Core, set shell to cmd.exe.
- Rename "Product Option" to "Install Type" and adjust relevant variable names.
- Reserve Nano Server installation type for future use.

JIRA issue: CORE-20645
2026-06-08 10:11:57 -05:00
Eric Kohl 823647a38b [IFMON] Add SetInterfaceProperties() stub and use it in IpSetAddress
- Also move GetInterfaceProperties() around.
- Add required error messages.
2026-06-07 23:16:18 +02:00
Whindmar Saksit 3b58b347bc [EXPLORER][SHELL32] Forward Explorer refresh command to the Start Menu (#9108) 2026-06-07 21:28:13 +02:00
Eric Kohl e2d6e875f9 [NETCFGX][REACTOS] Add a second unknown method to the ITcpipProperties interface
This method is called by the 'interface ip set address' command from WinXP ifmon.dll.
2026-06-07 10:19:56 +02:00
Katayama Hirofumi MZ c59ce34030 [SHLWAPI][SHLWAPI_APITEST][SDK] Support SHGetFileDescriptionA/W (#9109)
Implementing missing features...
JIRA issue: CORE-19278
- Implement PrettifyFileDescriptionW, SHGetFileDescriptionA,
  and SHGetFileDescriptionW functions.
- Modify shlwapi.spec.
- Add prototypes into <shlwapi_apitest.h>.
- Add SHGetFileDescription testcase.
2026-06-07 08:17:49 +09:00
Eric Kohl 057a96665d [IFMON] Check all arguments of the 'set address' command 2026-06-04 17:55:15 +02:00
Amine Khaldi e9b001db62 [INETCOMM] Sync with Wine 10.0. CORE-20614 2026-06-03 23:45:14 +01:00
Katayama Hirofumi MZ fe5b75083e [SHLWAPI][SHLWAPI_APITEST][SDK] Support NextPathA/W (#9039)
Implementing missing features...
JIRA issue: CORE-19278
- Implement NextPathA and
  NextPathW functions.
- Modify shlwapi.spec.
- Add prototypes into
  <shlwapi_undoc.h>.
- Add NextPath testcase.
2026-06-03 21:38:21 +09:00
Timo Kreuzer c806131675 [RTL][NTDLL] Implement RtlInterlockedPushListSListEx
It is the same function as RtlInterlockedPushListSList, but with stdcall calling convention instead of fastcall.
On x86 this is a wrapper, on all other architectures it is simply a forwarder.
2026-06-02 18:58:04 +00:00
Katayama Hirofumi MZ fe2b8ba41b [SHELL32][SDK] Support CShellDispatch::EjectPC (#9097)
Implementing missing features...
JIRA issue: N/A
- Implement CShellDispatch::EjectPC
  by using TRAYCMD_EJECT tray
  command.
- Add TRAYCMD_SUSPEND and
  TRAYCMD_REFRESH_MENU tray
  commands (they have no effect)
  into <undocshell.h>.
2026-06-02 17:39:56 +09:00
Eric Kohl 13693123f1 [IFMON] Check the name and source arguments of the 'set address' command 2026-06-02 00:16:13 +02:00
Eric Kohl 7f9e42cfe2 [IPHLPAPI][REACTOS] Implement NhGetGuidFromInterfaceName 2026-05-31 12:27:17 +02:00
Eric Kohl fa749e262b [IFMON] Add the 'set address' command to the 'interface ip' group
This is incomplete and WIP.
2026-05-31 10:35:22 +02:00
Katayama Hirofumi MZ 3b3e1ff997 [SHLWAPI][SHLWAPI_APITEST][SDK] Support QuerySourceCreateFromKey (#9093)
Implementing missing features...
JIRA issue: CORE-20467
- Add querysrc.cpp.
- Add CRegistryEnumValues,
  CRegistryEnumKeys, and
  CRegistrySource classes.
- Implement
  QuerySourceCreateFromKey
  function.
- Add prototype into
  <shlwapi_undoc.h>.
- Modify shlwapi.spec.
- Add QuerySourceCreateFromKey
  testcase.
2026-05-31 17:33:17 +09:00
Amine Khaldi 96def62b26 [CRYPTUI] Sync with Wine 10.0. CORE-20593 2026-05-30 12:22:29 +01:00
Timo Kreuzer a90a35b58a [GDIPLUS] Fix a parameter check
This prevents a possible crash.
2026-05-28 09:41:14 +00:00
Timo Kreuzer 5635d244fc [KERNEL32] Add support for UTF-16 surrogate pairs to MultiByteToWideChar 2026-05-26 20:58:29 +00:00
Katayama Hirofumi MZ 2290d0e785 [SDK][SYSDM] Enhance <shlobj_undoc.h> for associations (#9064)
Preparation for new ShellExecute.
JIRA issue: CORE-20467
- Move ASSOCQUERY and
  IAssociationElementOld in
  <shlwapi_undoc.h> into
  <shlobj_undoc.h>.
- Add IQuerySourceOld, IQuerySource,
  IObjectWithQuerySource, and
  IAssociationArrayInitialize
  interfaces into <shlobj_undoc.h>.
- Add some GUIDs into
  <shlguid_undoc.h>.
- Do #include <shlwapi_undoc.h>
  in sysdm performance.c to fix build.
2026-05-26 10:55:59 +09:00
Mikhail Tyukin dff8ac8270 [ADVAPI32] Sync crypt components to wine-10.0 2026-05-25 17:00:18 -04:00
Mikhail Tyukin d323c57da7 Revert "[ADVAPI32] Add SEH handling to some crypt functions"
This reverts commit 9844effa41. Newer versions of wine added a pointer_from_handle function which does the same checks and includes try/catch.
2026-05-25 17:00:18 -04:00
Timo Kreuzer 4a96f375a0 [NTDLL] Unload DLLs on loader failure
This is crucial, because otherwise they linger in the loader, waiting to run their init routine, which can cause failures later.
2026-05-25 16:36:22 +00:00
Katayama Hirofumi MZ 22ee9d727f [SHLWAPI][SDK] Support SHWindowsPolicyGetValue (#9038)
Implementing missing features...
JIRA issue: CORE-19278
- Add policy.cpp and modify CMakeLists.txt.
- Implement SHWindowsPolicyGetValue function.
- Modify shlwapi.spec.
- Add some GUIDs into <shlguid_undoc.h>.
2026-05-25 19:24:20 +09:00
Katayama Hirofumi MZ 8823853f77 [SHLWAPI][SDK] Support PathUnExpandEnvStringsForUserA/W (#9041)
Implementing missing features...
JIRA issue: CORE-19278
- Implement PathUnExpandEnvStringsForUserA and
  PathUnExpandEnvStringsForUserW functions.
- Modify shlwapi.spec.
- Add prototypes into <shlwapi_undoc.h>.
2026-05-25 19:22:40 +09:00
Katayama Hirofumi MZ b60f66cbbf [SHELL32] CPrinterFolder: Support IQueryAssociations (#9060)
ShellExecute implementation requires
a valid IQueryAssociations interface.
https://learn.microsoft.com/en-us/windows/win32/shell/nse-implement
JIRA issue: CORE-20467
Enhance CPrinterFolder::GetUIObjectOf
for IQueryAssociations.
2026-05-25 15:49:44 +09:00
Doug Lyons 71540fda3c [CHKDSK][FMIFS]Improve chkdsk output messages (#8946)
CORE-20573

Improve chkdsk output when failing to complete successfully by adding the returned error code.
Return status code from fmifs/chkdsk.c in the "modifier" parameter.
If the error returned is STATUS_DISK_CORRUPT_ERROR then display a message that running again may fix it.
2026-05-23 19:46:24 -05:00
Doug Lyons 39ad1b6824 [SHELL32] Set ShellState registry entry when default is needed (#9037)
CORE-20585

When ShellState is needed and there is no registry key use defaults and save value to registry.
2026-05-23 18:06:16 -05:00
Hermès Bélusca-Maïto 9342ed43d9 [SHELL32] Better determine whether to hide or show shell-folder namespace items (#9046)
In `SHELL32_IsShellFolderNamespaceItemHidden()`, use `SHRegGetBoolUSValue()`
to look at both `HKEY_CURRENT_USER` with fallback to `HKEY_LOCAL_MACHINE`,
when searching for the registry value that determines whether a shell-folder
namespace item is to be hidden or shown.

Behaviour confirmed on Windows 2003.

Addendum to commit 6ae11ba09d (PR #7189).
2026-05-21 22:37:17 +02:00
Timo Kreuzer 242937b122 [KERNEL32] Fix GetEnvironmentVariable(A/W) 2026-05-21 12:07:24 +00:00
Timo Kreuzer d119feb2c7 [RTL][NTDLL] Implement RtlExpandEnvironmentStrings 2026-05-21 12:07:24 +00:00
Timo Kreuzer ef70bdf990 [RTL][NTDLL] Implement RtlQueryEnvironmentVariable
Make RtlQueryEnvironmentVariable_U a wrapper around RtlQueryEnvironmentVariable.
2026-05-21 12:07:24 +00:00
Timo Kreuzer 9989b9ec1d [RTL] Improve RtlCreateProcessParameters
- Use the NT6 structure of _RTL_USER_PROCESS_PARAMETERS
- Fix string alignment to match Vista+
- Use ImageName as fallback for the CommandLine
- Use NULL-string as fallback fo RuntimeData
- Copy the environment instead of just copying the pointer
- Fixes a number of ntdll_winetest:env tests
2026-05-21 12:07:24 +00:00
Jose Carlos Jesus 2722bf811e [SYSSETUP] Improve Portuguese (pt-PT) translation (#9021) 2026-05-20 18:54:20 +03:00
Václav Zouzalík 0ea9354ac4 [MSGINA] Update Slovak (sk-SK) translation (#8950) 2026-05-20 16:32:42 +03:00