Commit Graph

3426 Commits

Author SHA1 Message Date
Hervé Poussineau
c8b16ca5a0 Revert "[DXDIAG] Rework display enumeration, to use DirectDrawEnumerateEx"
This reverts commit aa0089a3ec.
2026-01-08 22:45:57 +01:00
Whindmar Saksit
c356035860 [RAPPS] Hide packages not compatible with the current NT version (#8398)
- Add NTVersion to filter app packages and hide incompatible packages. The format is: "Max-", "Min-Max", "Min" or "Min+".

---------

Co-authored-by: Carl J. Bialorucki <carl.bialorucki@reactos.org>
2026-01-08 14:14:42 -06:00
Eric Kohl
b84fa499e7 [DISKPART] Implement the format command
- A lot of volume manager and mount manager related stuff is still missing.
- The label is not set yet.
2026-01-05 23:15:05 +01:00
Eric Kohl
4cf877796b [DISKPART] Improve 'list volume' command
Add output formats for the status and info columns.
2026-01-04 21:34:59 +01:00
Eric Kohl
9f69e8cfab [DISKPART] Initialize unrecognized volumes as partitions 2026-01-01 22:59:35 +01:00
Copilot
1d409e322b [EXPLORER] Fix handle leaks (#8516)
JIRA issue: CORE-15616
JIRA issue: CORE-14382

The Explorer shell has multiple resource leaks causing handle exhaustion over extended use.
2026-01-01 22:13:00 +09:00
Eric Kohl
d2ae286c6b [DISKPART] Command function return EXIT_CODE instead of BOOL
This simplifies the implementation of the NOERR option.
2026-01-01 13:46:34 +01:00
Eric Kohl
e2c3a6e624 [DISKPART] Move mount manager functions into a separate file
- Move the existing function from automount.c
- Implement required function for the assign and remove commands.

Deleting a drive letter works, until the next reboot.
Assigning a new drive letter fails.
2025-12-31 15:24:27 +01:00
Doug Lyons
0d7afe780e [SETUP][INF][FONTS] Revert FontSubstitutes for "MS Shell Dlg" back to "Tahoma" (#8533)
Partial revert of bac7d7f for TCPView Help | About https://jira.reactos.org/browse/CORE-15678 truncated text.
Fixes JIRA issue: CORE-20404.
2025-12-30 21:37:19 -06: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
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