Commit Graph
3416 Commits
Author SHA1 Message Date
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
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
Eric Kohl 3f96772154 [DISKPART] Use the PSDK diskguid.h instead of our own guid.h 2025-12-19 22:39:34 +01:00
Eric Kohl 5047e62e3d [DISKPART] Implement the gpt command keep the partition number up to date 2025-12-16 23:55:20 +01:00
Eric Kohl ccfb061a2b [DISKPART] list partition: Show a message when there are no partitions on a disk 2025-12-15 20:36:51 +01:00
Eric Kohl 182715ed50 [DISKPART] Prevent EFI- and MSR-Partitions from accidental deletion 2025-12-15 20:11:59 +01:00
Eric Kohl bf8741d208 [DISKPART] Implement the 'create partition efi' and 'create partition msr' commands 2025-12-14 20:23:03 +01:00
Eric Kohl 74999e6670 [DISKPART] Replace some magic values and enter the Terabyte era 2025-12-14 18:19:26 +01:00
Eric Kohl 48fbf273fb [DISKPART] Calculate the free disk space for the 'list disk' command 2025-12-14 13:00:53 +01:00
Eric Kohl f206063280 [DISKPART] Implement creation and deletion of GPT partitions
- Implement creation and deletion of GPT partitions.
- Adjust the active, clean, detail, inactive, list, select, setid and uniqueid
  commands as needed.
- Add a 2^32 sector count limit for MBR partition tables.
2025-12-13 18:42:00 +01:00
Timo Kreuzer 629e844eca [HOSTNAME] Use wprintf instead of _cwprintf
_cwprintf always prints to the console and the output is not forwarded like stdout. Fixes "hostname > hostname.txt" and ws2_32:gethostname test.
2025-12-12 12:21:53 +02:00
Eric Kohl b05a983f0c [DISKPART] The active and inactive commands do not work on GPT disks 2025-12-08 00:44:25 +01:00
Eric Kohl dd74eaf8cf [DISKPART] Fix message IDs 2025-12-07 13:35:53 +01:00
Eric Kohl 5a224e277d [DISKPART] GUID partition preparations
- Improve parameter handling in the setid and uniqueid commands.
- Improve error messages.
2025-12-07 12:25:25 +01:00
Eric Kohl 920153534b [DISKPART] Implement the 'convert mbr' and 'convert gpt' commands
- Show Disk UUIDs in the 'detail disk' and 'uniqueid disk' commands.
2025-12-07 10:10:10 +01:00
Stanislav Motylkov 1f3f733f6e [DISKPART] Fix copypasta. Addendum to c197e7c080 2025-12-06 17:16:55 +01:00
Eric Kohl c197e7c080 [DISKPART] Prepare for GPT support
- Use DRIVE_LAYOUT_INFORMATION_EX instead of DRIVE_LAYOUT_INFORMATION.
- Show GPT disks in the 'list disk' command.
2025-12-06 16:41:29 +01:00
Timo Kreuzer f5d44e1081 [REACTOS] Remove unneeded __ROS_LONG64__ 2025-12-01 22:10:06 +02:00
Daniel Zimmermann 55a3a96849 [NETSH] Fix incorrect variable usage in swprintf call (#8482)
- swprintf should call with the input string and not with the undefined allocated string from HeapAlloc.

Addendum to bfee65f62c.
2025-11-28 21:20:30 +03:00
Eric Kohl 0135440d50 [NETSH] Implement MakeString and FreeString
Used by the 'winsock show catalog' command.
2025-11-22 16:53:33 +01:00
Najib Ahmed 37574d1e0d [TASKMGR] Open the Command Prompt when holding CTRL while clicking "New Task" (#8459)
This is a useful feature that also exists in Windows' own Task Manager.
2025-11-14 21:22:08 +01:00
Hermès Bélusca-Maïto ff87209e7c [REACTOS] Delay-load the setuplib DLL and control the path it's loaded from.
The setuplib DLL, used also by the text-mode USETUP, isn't placed in the
standard DLL search paths list. It isn't in the "current" directory nor
in the one where reactos.exe is, nor in the running OS' SystemRoot or
System32 directories.
The DLL is instead placed in the System32 sub-directory of the ReactOS
installation source. Note that this isn't a problem for USETUP, because
it is already started from that directory.

To control its loading, delay-load the DLL and use a delay-load hook,
following the technique explained in:
  https://stackoverflow.com/a/75325443
  https://devblogs.microsoft.com/oldnewthing/20170126-00/?p=95265

The hook is also invoked in case of loading failure, showing a more
user-friendly hard-error popup and killing the installer, instead of
throwing a debugger exception.
2025-11-13 17:00:46 +01:00
Eric Kohl bb7a6134c4 [SRVSVC][WKSSVC][NET] Improve server and workstation statistics
- Server and Workstation services return proper boot time.
- Net formats boot time properly.

CORE-19198
2025-11-09 15:22:32 +01:00
Eric Kohl 0362651eb8 [NETSH] Fix a type in the interpreter 2025-11-08 20:32:53 +01:00
Eric Kohl 3398506341 [NETSH] Implement alias, unalias and show alias commands
Alias processing in the command interpreter is not implemented yet.
2025-11-08 18:58:49 +01:00
Eric Kohl 97232454a5 [NETSH] Improve error message output 2025-11-08 18:26:11 +01:00
Matisse Rüdiger f0e888abb1 [NOTEPAD] Fix weird dot (colon) in French (fr-FR) translation of save box (#8252)
CORE-19803
2025-11-08 17:20:58 +01:00
Eric Kohl 500dcd3da5 [NETSH] Call a contexts connect function on a context change 2025-11-08 16:31:41 +01:00
Eric Kohl feb9ba9a7f [NETSH] Implement and use the PrintError function 2025-11-04 22:33:19 +01:00
Eric Kohl 420799228d [NETSH] Implement the -r (remote) option and set machine command
Also:
- Start all usage texts with a newline.
- Add some error messages.
- Fix a bug in the command interpreter.
2025-11-02 22:37:16 +01:00
Eric Kohl 4ad647fb5c [NETSH] Improvements to the command line evaluation and the command interpreter
- Interpreter functions return error code instead of boolean
2025-11-02 13:51:02 +01:00
Eric Kohl 20eee6d362 [NETSH] Support the -c (context) command line option 2025-11-01 21:30:08 +01:00
Eric Kohl 2e7a1768fb [NETSH] Implement the offline, online and related commands 2025-11-01 18:49:44 +01:00
Eric Kohl f2f057c0a1 [NETAPI32][WKSSVC][IDL] Revert workaround for union _WKSTA_USER_INFO
After fixing the union issue in the RPC runtime, revert all workarounds one by one.

Return to the original declaration of union _WKSTA_USER_INFO and fix NetrWkstaUserGetInfo.
2025-10-28 21:26:53 +01:00
Eric Kohl 5b5b1a2bbf [NETAPI32][WKSSVC][IDL] Revert workaround for union _WKSTA_INFO
After fixing the union issue in the RPC runtime, revert all workarounds one by one.

Return to the original declaration of union _WKSTA_INFO and fix NetrWkstaGetInfo
and NetrWkstaSetInfo.
2025-10-27 22:46:39 +01:00
Serge Gautherie d1b1292429 [FMIFS][FORMAT][SDK] Improve/Fix QueryDeviceInformation() and related code (#7475)
- FMIFS: QueryDeviceInformation(): Use more specific types and improve documentation.
  Follow-up to commit 4838d7bd56.

- FORMAT: wmain():
  * Zero the correct variable. Addendum to commit c5a9f22d4e.
  * No need to zero the whole volumeName array. Follow-up to commit 358fecdcf0.
2025-10-26 16:42:01 +01:00
Eric Kohl 4df8fbf9c2 [NETSH] Add a special code path to execute commands that follow the pushd command
This enables the execution of commands like 'pushd interface ip' which is emitted by the dump command of WinXPs ifmon.dll.
2025-10-18 01:37:51 +02:00
Eric Kohl bfee65f62c [NETSH] Implement MakeQuotedString() and FreeQuotedString()
These functions are used by WinXPs ifmon.dll.
2025-10-17 15:12:44 +02:00
Eric Kohl 78a73720cc [NETSH] Fix help output
- Increase the output buffer for context and group help texts.
- Use a heap buffers to load and format the command help texts.
- Pass the full command name to FormatMessage to make help output work with WinXP helpers.
- Adjust the internal help texts accordingly.
2025-10-17 12:45:28 +02:00
Eric Kohl 38afa1a48f [NETSH][REACTOS] Implement and export NsGetFriendlyNameFromIfName
Running the 'interface ip show address' command on XPs ifmon.dll now fails in netcfgx.dll.
2025-10-16 14:19:11 +02:00
Eric Kohl d033301772 [NETSH] Sort sub-contexts in the help command 2025-10-14 15:11:28 +02:00
Václav Zouzalík 1518b9e228 [RAPPS] Update Czech (cs-CZ) translation (#8408) 2025-10-13 20:26:58 +02:00