Commit graph

9217 commits

Author SHA1 Message Date
Rémi Bernon b088d311a0 explorer: Remove now unnecessary wine_notify_icon support. 2023-12-01 19:09:15 +01:00
Rémi Bernon 48e6bf3cf1 winex11: Use the new SystrayDock driver interface. 2023-12-01 19:09:14 +01:00
Rémi Bernon 229b4561d9 explorer: Use layered windows for the docked systray icons. 2023-12-01 19:09:14 +01:00
Rémi Bernon 62c6646d8f win32u: Introduce new SystrayDock driver entry points. 2023-12-01 19:08:55 +01:00
Rémi Bernon 22bfdbeb48 win32u: Introduce a new NtUserSystemTrayCall message call. 2023-12-01 19:08:54 +01:00
Rémi Bernon 600206be39 explorer: Hide the standalone systray window on close. 2023-12-01 19:08:54 +01:00
Rémi Bernon 27c3cf93e3 explorer: Always set the systray icon tooltip text. 2023-12-01 19:08:54 +01:00
Alex Henrie fcddf19498 cabarc: Use CRT allocation functions. 2023-11-29 23:16:39 +01:00
Alexandre Julliard ef9debff60 wineboot: Remove a noisy FIXME. 2023-11-29 23:16:39 +01:00
Rémi Bernon f2371a8b47 wineboot: Compute and write the TSC frequency to registry ~Mhz.
In HKEY_LOCAL_MACHINE\\HARDWARE\\DESCRIPTION\\System\\CentralProcessor

Some games such as Horizon Zero Dawn use this registry value to
correlate values from rtdsc to real time.

Returning the nominal/maximum cpu frequency here causes the game to run
in slow motion as it may not match the tsc frequency of the processor.

Based on patches from Arkadiusz Hiler and Joshua Ashton.
2023-11-28 22:58:42 +01:00
Eric Pouech 8e00767fb4 uninstall: No longer use console/file output APIs.
Regular GUI apps don't.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-28 22:58:42 +01:00
Eric Pouech 1ba6a13528 winecfg: Output with MESSAGE.
Regular GUI programs don't use console nor std I/O.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-28 22:58:42 +01:00
Eric Pouech e048f71ecb msiexec: No longer use console/file output APIs.
Regular GUI apps don't.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-28 22:58:42 +01:00
Rémi Bernon 6e85177aa7 explorer: Cache the balloon window position. 2023-11-28 08:54:52 +01:00
Rémi Bernon 118810ad3b explorer: Support standalone systray window mode. 2023-11-28 08:54:52 +01:00
Rémi Bernon b8518d320f explorer: Use an explicit display constant for hidden icons. 2023-11-28 08:54:52 +01:00
Rémi Bernon b135fa4cd0 explorer: Handle balloon timer in the icons window proc. 2023-11-28 08:54:51 +01:00
Rémi Bernon 5312f6242d explorer: Position the balloons relative to the icon windows. 2023-11-28 08:54:51 +01:00
Rémi Bernon a60050abc8 explorer: Use the icon windows for their tooltips. 2023-11-28 08:54:51 +01:00
Rémi Bernon 76d144477c explorer: Display the individual systray icon windows. 2023-11-28 08:54:51 +01:00
Rémi Bernon d2ee32bfe6 explorer: Create individual windows for the systray icons. 2023-11-28 08:54:51 +01:00
Rémi Bernon 243433623a explorer: Split systray add/remove from show/hide_icon. 2023-11-28 08:54:51 +01:00
Rémi Bernon 2e82d57d75 explorer: Remove unnecessary displayed icon array. 2023-11-28 08:54:49 +01:00
Eric Pouech 8a94049770 winedbg: Use dbghelp extended module info.
To pickup module's data model.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-24 16:47:19 +01:00
Eric Pouech 6b2a3dcdba regedit: Use message boxes by default for output.
regedit is in GUI subsystem and shouldn't interact with console.
Keeping unix I/O output in silent mode (forcing English locale for
Unix integration).

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-24 16:46:57 +01:00
Eric Pouech ac8da35b87 regsvr32: Use message boxes by default for output.
regsvr32 is in GUI subsystem and shouldn't interact with console.
Keeping unix I/O output in silent mode.
Removing -c option as not existing in native.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-24 16:46:44 +01:00
Bernhard Übelacker feda122578 notepad: Use GetDesktopWindow() when main window is not yet created.
Commit 100504d2f5 introduced using GetDpiForWindow().
Unfortunately NOTEPAD_LoadSettingFromRegistry is executed when
the main window is not yet created, resulting in
having Globals.lfFont.lfHeight=0.
This is later stored in the registry in iPointSize=0.

In a fresh wine prefix there are not yet registry values created,
therefore the first run of notepad does not show this problem,
and iPointSize is saved with a sane value to the registry.

Having Globals.lfFont.lfHeight=0 manifests for example
in cups PDF prints being a single empty page.

The check of point_size for having a non-zero value should also fix
wine prefixes which have already a stored registry value of iPointSize=0.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55852
2023-11-20 22:46:44 +01:00
Alexandre Julliard 5148911b81 wusa: Remove DECLSPEC_HIDDEN usage. 2023-11-20 17:55:39 +01:00
Alexandre Julliard e040777841 explorer: Remove DECLSPEC_HIDDEN usage. 2023-11-20 17:55:23 +01:00
Eric Pouech 60108ea1bc dbghelp: Pretend mach-o is present in case of failure.
On MacOs, starting with Big Sur 11.0.1, the system dynamic
libraries are no longer directly accessible on disk.
They are still available through dlopen and friends. For getting
access to the images (and their debug symbol), Apple provides,
in the developper kit, the tools to extract the files. Note that
this is handled as a database of all system libraries, where ASLR
is in place such that segments of a given library are no longer
contiguous in memory (dbghelp doesn't currently handle this).

Apart from not having image information nor debug information,
another side effect is that dbghelp tries every time it refreshes the
mach-o module list to reload any library for which it didn't have
an image file. This can be lengthy (esp when a typical process has
more than 300 modules loaded).

This patch forces the creation of the dbghelp module even if the
image file isn't found.

This patch cuts startup time of 'winedbg notepad' from 9.9 to 7.4s.
YMMV.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-16 20:56:07 +01:00
Eric Pouech 01c98c5eaf dbghelp: Expose PE native vs builtin information to winedbg.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-16 20:56:07 +01:00
Eric Pouech 8d75739b6a dbghelp: No longer decorate ELF/Mach-O module names.
Rely solely on extended module information.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-16 20:56:04 +01:00
Eric Pouech c50e02ec9c dbghelp: Expose some internal information about modules to winedbg.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-16 20:56:03 +01:00
Eric Pouech 99dd763e18 winebrowser: Remove misleading comment.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-10 20:52:29 +01:00
Eric Pouech 21222ad7cd mshta: No longer use console / crt API.
As regular GUI apps should.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-10 20:52:29 +01:00
Eric Pouech 3c878a5572 wordpad: Remove unneeded output messages.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-10 20:52:29 +01:00
Eric Pouech 1390425cfc taskmgr: No longer use console/file output APIs.
Regular GUI apps don't.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-10 20:52:29 +01:00
Alexandre Julliard c07d50c3b9 winevdm: Don't claim that 16-bit apps are DPI aware. 2023-11-09 23:00:40 +01:00
Alex Henrie 0f44b3bdcb msiexec: Use CRT allocation functions. 2023-11-07 11:03:13 +01:00
Alex Henrie f51dba6b4a winecfg: Mention protocol associations. 2023-11-06 17:58:30 +01:00
Alex Henrie c4f4fb7f44 winemenubuilder: Create .desktop files for programs that open URIs.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=22904
2023-11-06 17:49:56 +01:00
Eric Pouech e17b7d5565 services: Move to GUI subsystem (as native).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-06 17:03:30 +01:00
Eric Pouech 4e5d1ab6b2 svchost: Move to GUI subsystem (as native).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-06 17:03:28 +01:00
Eric Pouech 910133ac3d spoolsv: Move to GUI subsystem (as native).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-06 17:03:26 +01:00
Eric Pouech 99c3827952 dpnsvr: Move to GUI subsystem (as native).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-06 17:03:23 +01:00
Alex Henrie 1798540cb7 fsutil/tests: Use CRT allocation functions. 2023-11-02 10:15:14 +01:00
Alexandre Julliard acad49573a makefiles: Always use the global SOURCES variable for .c files. 2023-11-01 22:44:03 +01:00
Alexandre Julliard 7ccb5df0fc makefiles: Always use the global SOURCES variable for .rc files. 2023-11-01 22:43:56 +01:00
Alexandre Julliard c432eac726 makefiles: Always use the global SOURCES variable for .idl files. 2023-11-01 22:43:50 +01:00
Hans Leidekker fd00d8e4cc ntdll: Bump current build number to 19043 (Win10 2009).
Based on Proton commit 0fa76dd66a8.
2023-10-31 17:04:57 +01:00