1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-24 07:30:22 +01:00
Commit Graph

774 Commits

Author SHA1 Message Date
Valentin Radu
9bf60309c0 General: Export variable that tells if desktop is in foreground 2022-05-28 12:54:36 +03:00
Valentin Radu
6bd514ba13 Version: 22000.708.46.3 2022-05-27 21:55:31 +03:00
Valentin Radu
c8bed99c1a Taskbar10: Option to hide the "Show desktop" button 2022-05-27 21:55:17 +03:00
Valentin Radu
434cdbdd46 Start10: Fixed a bug in Windows 10 where the Start menu was centered by default 2022-05-27 21:55:03 +03:00
Valentin Radu
a713d3964e Version: 22000.708.46.2 2022-05-27 21:53:57 +03:00
Valentin Radu
cf4700af6f sws: Fixed a bug that created unnecessary paint events when a window was flashing and the switcher is not shown 2022-05-27 21:52:42 +03:00
Valentin Radu
87a2638fb1 Spotlight: Fixed a bug that had Spotlight context menu entries appear in some menus other than the desktop context menu 2022-05-26 18:11:08 +03:00
Valentin Radu
26058f332d Version: 22000.708.46.1 2022-05-26 11:54:42 +03:00
Valentin Radu
b809e9e8ed GUI: Support switching more pages using the number row on the keyboard 2022-05-26 11:54:23 +03:00
Valentin Radu
7649805e18 GUI: Added support for hiding pages and page contents
Adds 2 new tags in the settings file that define the start and end of a
logical section, in order to enable the possibility of hiding parts of
the UI based on the current value of some setting:

    ;s Taskbar_Windows10Section IsOldTaskbar <- SECTION BEGIN
    ;g Taskbar_Windows10Section <- SECTION END

For s, the parameters represent these:

* Taskbar_Windows10Section = name of the current section
* IsOldTaskbar = if the check associated with this name (function call)
  returns FALSE, the section will not be displayed on the screen; that
  is, the code will skip drawing whatever is inside the 2 tags
2022-05-26 11:23:01 +03:00
Valentin Radu
d0ad8bd1e3 Spotlight: Added section, logic and configuration parameters
This commit includes support for the Windows spotlight feature from
22000.708+ OS builds.
Related to this, ExplorerPatcher now offers the following functionality:
* Hide the "Learn about this picture" icon
* Choose which items from the Windows spotlight icon context menu to
  have replicated in the desktop context menu (legacy context menu only)
* Set a schedule for "Switch to next picture"
* Manipulate the feature from the Properties UI, bypassing the desktop
  icon
2022-05-26 11:17:53 +03:00
Valentin Radu
13e1cc7a1b Symbols: Built-in support for OS build 22000.708 2022-05-26 11:09:37 +03:00
Valentin Radu
9e6d13a9f1 Version: 22000.675.45.2 2022-05-24 19:22:44 +03:00
Valentin Radu
d9004c1566 sws: Fixed a bug that caused the switcher to display a hung UWP app twice 2022-05-24 19:20:34 +03:00
Valentin Radu
7f76dca159 libvalinet: Fixed memory leak in toast.h 2022-05-23 21:47:48 +03:00
Valentin Radu
7596548350 Version: 22000.675.45.1 2022-05-17 22:39:37 +03:00
Valentin Radu
d350b0e178 sws: Fixed #1084 2022-05-17 22:33:30 +03:00
Valentin Radu
86739da8f3 Symbols: Built-in support for OS build 22000.675 2022-05-17 22:10:46 +03:00
Valentin Radu
d5f510f572 Version: 22000.613.44.2 2022-04-30 04:04:01 +03:00
Valentin Radu
cd2d5c66f9 Weather: Fixed a bug that could hang or lock the shutdown/restart
sign out process when using the weather widget

The hang was happening because the UI thread of explorer was hanging in
`dllmain!PeopleBand_DrawTextWithGlowHook` in a call to `AcquireSRWLockExclusive`
when the host process for the widget terminated (due to the system shutting
down - the case when hr is 0x800706ba aka "RPC server is unavailable"). When the
remote process dies, say we are in `dllmain!PeopleBand_DrawTextWithGlowHook`;
a call to some interface from it hangs for a bit, and during
that time the calling thread is able to continue its lifetime, during which a
subsequent call to `dllmain!PeopleBand_DrawTextWithGlowHook` is made (another
widget redraw is requested). As SRW locks do not really support recursion (calling
the same function from the same thread), this behavior is then expected and the
whole thing hangs, thus hanging the shutdown process (and explorer's UI thread in
turn). That's why when you clicked "Cancel" when the UI to close hung apps was
displayed at shutdown, you returned to a frozen desktop. Apparently, Windows lets
explorer hang indefinitely at shutdown, which made matters even worse.

The solution is two fold:
* Widget destruction is dispatched to the service thread. This is not strictly
necessary, but allows for better control of where the thing is destroyed from.
* Switched from SRW locks to a critical section, which is a per-thread lock. All
this has to do is make sure the program destroys the widget only when no other
routine (usually drawing stuff) uses it.

This should pretty much mitigate the issue, hopefully.
2022-04-30 04:03:30 +03:00
Valentin Radu
5e17f5a817 Weather: Fixed a bug that had "COM Surrogate" display as a running
app in Task Manager after the widget flyout was opened the first time
2022-04-30 03:35:13 +03:00
Valentin Radu
52e86d739a Version: 22000.613.44.1 2022-04-14 10:50:28 +03:00
Valentin Radu
d828fa2137 Other: Option to disable Win+F hotkey 2022-04-14 10:48:16 +03:00
Valentin Radu
448f3ef9b7 Symbols: Built-in support for 22000.613 2022-04-14 10:46:03 +03:00
Valentin-Gabriel Radu
78b8c6edd4
Taskbar10: Fixed a bug that prevented UndeadStartCorner from working properly when the taskbar alignment setting was never used 2022-03-30 22:26:00 +03:00
Valentin Radu
8461f3a33d Version: 22000.556.43.4 2022-03-28 23:35:20 +03:00
Valentin Radu
a2b28e5345 File Explorer: Option to enable legacy file transfer dialog 2022-03-28 23:34:04 +03:00
Valentin Radu
5da58c530f Version: 22000.556.43.3 2022-03-28 20:40:03 +03:00
Valentin Radu
d071ad0db6 File Explorer: Localization for classic drive groupings 2022-03-28 20:36:34 +03:00
Valentin Radu
cd96a949e8 File Explorer: Classic drive groupings do not require a restart 2022-03-28 20:36:17 +03:00
Valentin Radu
244e4a0936 File Explorer: Option to disable ribbon 2022-03-28 20:32:53 +03:00
lordmilko
3f96325ad6 File Explorer: Add support for classic drive groupings in This PC 2022-03-28 17:53:07 +03:00
Valentin Radu
21f3377a27 Version: 22000.556.43.2 2022-03-24 23:37:39 +02:00
Valentin Radu
9c364f470e Taskbar10: Fix taskbar acrylic in newer OS builds (22581+) 2022-03-24 23:35:21 +02:00
Valentin Radu
9d89ff8a93 Version: 22000.556.43.1 2022-03-24 17:36:19 +02:00
lordmilko
21c2f219d5 Other: Add support for disabling Aero Snap Quadrants on Windows 11 2022-03-24 13:08:33 +02:00
Valentin-Gabriel Radu
efd52cf951
Taskbar10: Fixed inactive (for now) case 2022-03-22 10:14:11 +02:00
Valentin Radu
28fc1e58c2 Version: 22000.556.42.39 2022-03-21 18:01:52 +02:00
Valentin Radu
2ee00c2b3a Weather: Fixed bug where the widget fails to start on new installs due to ExplorerPatcher not existing in %APPDATA% 2022-03-20 12:16:28 +02:00
Valentin Radu
b1c40fc922 Version: 22000.556.42.38 2022-03-18 00:02:12 +02:00
Valentin Radu
d3bf5cca5f ep_dwm: Fixed a bug that made this not work after signing out and then back into a user account 2022-03-18 00:00:42 +02:00
Valentin Radu
6c41c0e6d6 Version: 22000.556.42.37 2022-03-14 22:58:10 +02:00
Valentin Radu
f004d73b01 Taskbar10: Fix taskbar acrylic in newer OS builds (22572+) 2022-03-14 22:45:15 +02:00
Valentin Radu
72acc4bce0 Taskbar10: Fix taskbar button thumbnails in newer OS builds (22572+) 2022-03-14 22:44:28 +02:00
Valentin Radu
0d956cb122 Version: 22000.556.42.36 2022-03-14 04:55:01 +02:00
Valentin Radu
ff72f31b9b Weather: Display last time of update in Properties 2022-03-14 04:53:48 +02:00
Valentin Radu
c195120d9d Version: 22000.556.42.35 2022-03-13 22:55:59 +02:00
Valentin Radu
83c2673007 Setup: Disable UndockingDisabled when servicing the application 2022-03-13 22:01:22 +02:00
Valentin Radu
8454133623 All: Disable setting MinWidth registry value 2022-03-13 20:33:13 +02:00
Valentin Radu
70f99c18fa Updates: Allow downgrades (#1051) 2022-03-13 20:26:38 +02:00