1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00
Commit Graph

9124 Commits

Author SHA1 Message Date
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
Rémi Bernon
467201a85b explorer: Fix command-line parameter parsing.
Fixes: 5b11157ecf
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55141
2023-06-29 12:04:07 +02:00
Rémi Bernon
7255f63a65 explorer: Set virtual desktop primary adapter display settings.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55146
2023-06-28 18:58:39 +02:00
Rémi Bernon
99ef2dc4e1 explorer: Rename initialize_display_settings local variable.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55146
2023-06-28 18:58:39 +02:00
Rémi Bernon
0e5b847f85 explorer: Use debugstr_devmodew helper to trace display mode.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55146
2023-06-28 18:58:39 +02:00
Rémi Bernon
5b11157ecf explorer: Use wide string literals. 2023-06-26 16:47:11 +02:00
Rémi Bernon
43fd81b3a5 explorer: Use unprefixed debug macros. 2023-06-26 16:47:11 +02:00
Rémi Bernon
240bdd5772 explorer: Use CRT allocation functions. 2023-06-26 16:47:11 +02:00
Maarten De Braekeleer
5e2f9996ba cmd: Fix 'if exist' with a directory/ as a parameter.
'if exists' takes a parameter which can be directory, directory/,
directory/. directory\ or directory\. for example, and should equate
to true if the directory exists. The syntax directory\ is explicitly
rejected by FindFirstFile and hence was not working - look for this
specific case, and if found append a '.'.

Follow-up commit of bc9d68bcbe

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55130#add_comment
2023-06-26 16:44:17 +02:00
Liam Middlebrook
0911d462f9 cmd: Fix empty strings between PATH separators.
Previously if an empty string was encountered while parsing out PATH,
cmd.exe would ignore the rest of the PATH entirely.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55097
Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
2023-06-21 18:25:48 +02:00
Liam Middlebrook
9aee47f7f6 cmd/tests: Add tests for PATH separator.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55097
Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
2023-06-21 18:25:38 +02:00
Alexandre Julliard
c938f92e4c wordpad: Use nameless unions/structs. 2023-06-20 15:58:05 +02:00
Alexandre Julliard
35299b39cb winhlp32: Use nameless unions/structs. 2023-06-20 15:58:05 +02:00
Alexandre Julliard
6c9246e022 winemenubuilder: Use nameless unions/structs. 2023-06-20 15:58:05 +02:00
Alexandre Julliard
63f94c4925 winefile: Use nameless unions/structs. 2023-06-20 15:58:05 +02:00
Alexandre Julliard
f20710d9b3 winedbg: Use nameless unions/structs. 2023-06-20 15:58:05 +02:00
Alexandre Julliard
4368bd8e60 winecfg: Use nameless unions/structs. 2023-06-20 15:58:05 +02:00
Alex Henrie
2455229549 conhost: Use correct pointer type in edit_line_transpose_words (scan-build). 2023-06-19 17:42:16 +02:00
Alexandre Julliard
f5784e2fd1 services: Use nameless unions/structs. 2023-06-16 17:58:37 +02:00
Alexandre Julliard
c2d1c8dcd3 regedit: Use nameless unions/structs. 2023-06-16 17:58:16 +02:00
Alexandre Julliard
5d9ea809da oleview: Use nameless unions/structs. 2023-06-16 17:58:03 +02:00
Alexandre Julliard
52a868a8fe netstat: Use nameless union/structs. 2023-06-16 17:57:36 +02:00
Alexandre Julliard
e3664fa8ad ipconfig: Use nameless union/structs. 2023-06-16 17:57:24 +02:00
Alexandre Julliard
14518662d6 explorer: Use nameless union/structs. 2023-06-16 17:57:11 +02:00
Alexandre Julliard
2e58c9e060 conhost: Use nameless union/structs. 2023-06-16 17:56:55 +02:00
Alex Henrie
3caa27eafb wusa: Zero out identity on error path in read_identity.
Fixes double frees in read_components and read_dependency. The double
frees could also be fixed by using free instead of free_dependency in
those functions, but zeroing out the pointers is easier to understand
because it ensures that alloc_dependency can always be paired with
free_dependency.
2023-06-16 10:30:21 +02:00
Alexandre Julliard
93630ce14e include: Remove redundant __WINE_USE_MSVCRT checks. 2023-06-12 21:21:41 +02:00
Alex Henrie
6c1157435a regedit: Fix memory leak on error path in GetItemPath (scan-build). 2023-06-08 12:04:23 +02:00
Alex Henrie
8b54c2e35d conhost: Fix memory leak on error path in edit_line_move_to_history (scan-build). 2023-06-05 14:01:07 +02:00
Alex Henrie
935626b488 wusa: Fix double free on error path in read_update_package (scan-build).
If read_identity returns FALSE, it has already called clear_identity.
2023-06-05 14:01:07 +02:00
Rémi Bernon
4b5311c7e0 explorer: Remove now unnecessary wine_create_desktop entry. 2023-05-30 13:45:47 +02:00
Rémi Bernon
f7d45533d1 explorer: Call user driver through a new CreateDesktop callback. 2023-05-30 13:45:43 +02:00
Rémi Bernon
0edc848bee explorer: Don't call driver create_desktop if desktop name is "root". 2023-05-30 13:45:42 +02:00
Rémi Bernon
dbb63987f0 explorer: Use root window if driver doesn't implement create_desktop. 2023-05-30 13:45:42 +02:00
Rémi Bernon
f9c1b6af12 explorer: Load graphics driver before calling CreateDesktopW. 2023-05-30 13:45:42 +02:00
Alexandre Julliard
0b23d22bd6 start: Implement the /machine option. 2023-05-24 15:43:54 +02:00
Alexandre Julliard
850e3bcc5d start: Use CRT allocation functions. 2023-05-24 15:43:54 +02:00
Alexandre Julliard
df0483aa9b start: Add a separate helper to parse command line options. 2023-05-24 15:43:54 +02:00