Commit graph

9161 commits

Author SHA1 Message Date
Alexandre Julliard 4e9f1a41b9 makefiles: Always use the global SOURCES variable for .man.in files. 2023-10-14 13:44:07 +02:00
Eric Pouech 44ab120661 winedbg: Correctly read LDT entries for wow64 debuggee.
This mostly matters for Mac as segment CS is handled as a real LDT
entry.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-10-13 18:04:36 +02:00
Eric Pouech 91ba80df26 winedbg: Set first LDT entry value as ntdll does.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-10-13 18:04:36 +02:00
Alexandre Julliard 64de93e300 makefiles: Always use the global SOURCES variable for .mc files. 2023-10-12 10:50:42 +02:00
Alex Henrie 8943fcbca4 uninstaller: Don't overallocate in FetchFromRootKey. 2023-10-10 23:15:05 +02:00
Helix Graziani 26471dd00e winecfg: Change system theme alongside app theme. 2023-10-10 10:25:38 +02:00
Alex Henrie 8f28294434 cmd: Reset ignoreBracket when moving to the next line.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55528
2023-10-09 11:40:34 +02:00
Hans Leidekker c3937d954f systeminfo: Add an implementation on top of WMI. 2023-09-27 21:47:40 +02:00
Alex Henrie 0d7cf84709 include: Move RTL functions that belong in ntddk.h from winternl.h to ntddk.h. 2023-09-27 11:17:47 +02:00
Akihiro Sagawa ae8b7109f0 cmd: Always outputs leading zeros when listing file time information. 2023-09-26 21:35:21 +02:00
Akihiro Sagawa 2188e11e78 cmd/tests: Test file time stamp format. 2023-09-26 21:35:21 +02:00
Akihiro Sagawa 6800ab403e cmd/tests: Add dir built-in command test. 2023-09-26 21:35:21 +02:00
Alex Henrie 4059c6ece2 wordpad: Use the wcsdup function instead of reimplementing it. 2023-09-25 10:23:38 +02:00
Alex Henrie e130ef40a1 sc: Use CRT allocation functions. 2023-09-25 10:23:38 +02:00
Alex Henrie 33ce8e046d regedit: Use the wcsdup function instead or reimplementing it. 2023-09-25 10:23:38 +02:00
Alex Henrie 0a7084f45a reg: Use the wcsdup function instead of reimplementing it. 2023-09-25 10:23:38 +02:00
Alex Henrie f24edd9dca dxdiag: Use CRT allocation functions. 2023-09-25 10:23:38 +02:00
Alex Henrie c46300ff28 conhost: Use the wcsdup function instead of reimplementing it. 2023-09-25 10:23:38 +02:00
Jacek Caban 555394b79c regedit: Use unsigned types for bitfields. 2023-09-13 22:07:19 +02:00
Ryan Hendrickson cd3ebad1ae regedit: Export hex(4) instead of dword if size isn't 4 bytes. 2023-09-12 20:11:31 +02:00
Alex Henrie a0e28f3fdb winemenubuilder: Use CRT allocation functions. 2023-09-08 11:27:22 +02:00
Alex Henrie dab59ded27 wineboot: Use CRT allocation functions. 2023-09-08 11:27:09 +02:00
Alex Henrie 58e62fff58 oleview: Use CRT allocation functions. 2023-09-08 11:26:55 +02:00
Alex Henrie 810bde3b25 extrac32: Use CRT allocation functions. 2023-09-08 11:26:48 +02:00
Eric Pouech 91cce00dba cmd: Better handle ctrl-c events.
cmd shouldn't terminate itself when user hits ctrl-c.
cmd should terminate the currently running CUI child it
waits for upon ctrl-c.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-09-06 12:05:49 +02:00
Hans Leidekker 757ea81a99 ipconfig: Call GetAdaptersAddresses() in a loop. 2023-09-06 11:10:26 +02:00
Hans Leidekker 3f9f4a4a0e ipconfig: Use CRT allocation functions. 2023-09-06 11:10:26 +02:00
Alex Henrie 859d5e68dd cmd: Handle if exist with an empty string argument.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55505
2023-09-04 20:41:54 +02:00
Dmitry Sokolov 7e4715149a cmd: Fixed var substring in 'enableDelayedExpansion' mode.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55402
2023-08-25 22:52:42 +02:00
Akihiro Sagawa 322c175cf0 cmd: DIR command outputs free space for the path.
When the path contains a mountpoint on Unix or a junction point to
another drive on Windows, cmd.exe should show free space for the
path instead of the root of the drive.
2023-08-24 16:44:26 +02:00
Akihiro Sagawa 91de94ab99 cmd: Use towlower()/towupper() for WCHARs.
Found with Coccinelle.
2023-08-24 16:44:26 +02:00
Piotr Caban 707d299da6 wmic: Fix output when redirected to pipe. 2023-08-22 21:01:22 +02:00
Piotr Caban 846d164092 wmic: Use fwprintf to output error messages. 2023-08-22 21:01:22 +02:00
Alex Henrie f339506f4f find: Use CRT allocation functions. 2023-08-18 18:31:32 +02:00
Alex Henrie c27f8f72d1 cmd: Introduce an option_equals helper for WCMD_parse_forf_options. 2023-08-17 10:40:37 +02:00
Jacek Caban a1d429dabd cscript: Build as CUI application. 2023-08-16 21:19:47 +02:00
Maxim Karasev aa3beb88b3 whoami: Refactor and add more commands.
Particularly it implements '/logonid' and '/user' options,
as well as adds stubs for '/upn' and '/fqdn'.
2023-08-14 17:53:17 +02:00
Hans Leidekker 0a880e5706 klist: Match native output for encryption type. 2023-07-31 18:23:21 +09:00
Piotr Caban 93736efa80 services: Exit early in process_send_start_message if ConnectNamedPipe fails.
HasOverlappedIoCompleted returns true after CancelIo call.
2023-07-21 21:27:44 +02:00
Maxim Karasev c29dc0064e klist: Add a program that lists Kerberos tickets.
It's a clean-room reimplementation that mimics Windows 10 program's output format.
It prints all the information that is available via KerbQueryTicketCacheMessage.

Also tested to work on Windows if dynamically linked + built with winegcc.

For further extension of the functionality, implementing
KerbQueryTicketCacheEx{,2,3}Message is required.
2023-07-21 21:27:44 +02:00
Petrichor Park 100504d2f5 notepad: Use GetDpiForWindow().
Instead of querying the registry, just calls `GetDpiForWindow`.

Winecfg's DPI slider sets `Control Panel\\Desktop\\LogPixels`.
See `programs/winecfg/x11drvdlg.c`
Notepad queries `Software\\Fonts\\LogPixels`, and so doesn't pick up
on the change.
2023-07-19 10:44:51 +02:00
Eric Pouech 10aaff9245 conhost: Fix ctrl-c handling.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55197
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-07-13 11:51:41 +02:00
Billy Laws b233cfb33e wineboot: Always attempt setup for all machine types.
Without this, wineboot would bail out on ARM64 in the case where x86_64 WOW is
not available but i386 is. Leaving an incomplete prefix without any clear error.
2023-07-11 20:28:35 +02:00
Eric Pouech fdd1c1c776 winedbg: Detect debuggee termination before first exception.
When a crash in a program happens, and the debugger in launched in --auto
mode, in some cases the program terminates before the debugger has gotten
proper context on debuggee.
(Could be a watchdog in programs checking if it's debugged and terminating
itself if so).

Detect debuggee termination and still provide some information on debuggee
(threads, modules, system info). The backtrace will not be available as
no exception is gotten from debuggee.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55187
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-07-07 12:20:23 +02:00
Eric Pouech 7ada0e2239 winedbg: Add 'info system' command.
Letting the information displayed in '--auto' mode be available
as a command.
Simplify a bit the --auto mode handling.

Note:
- the WOW64 status of the debuggee used to be printed in system
  information, which is a bit ackward as system info shouldn't be
  tied to a given process.
- replaced it with supported guest machines (for the record, a
  64-bit only setup incorrectly returns i386 as supported guest;
  I guess we shouldn't care).
- now printing the wow64 status of a process when displaying an
  exception information instead.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-07-07 12:19:42 +02:00
Eric Pouech bde065746e winedbg: Cache wow64 status inside struct process.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-07-07 12:19:42 +02:00
Alex Henrie eba7092f0a cmd: Allow numbered redirects at the beginning of a line.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55124
2023-07-05 21:08:33 +02:00
Kevin Schmidt 29b29eddcc taskmgr: Use macro for the color black too. 2023-07-04 21:00:12 +02:00
Mohamad Al-Jaf 95ea605b10 pnputil: Add stub program.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55178
2023-07-03 22:15:42 +02:00
Alex Henrie 3d383c468b regedit: Fix memory leak on error path in RenameKey (scan-build).
parentPath is allocated before parentKey.
2023-06-29 13:57:39 +02:00