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

715 Commits

Author SHA1 Message Date
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
Valentin Radu
5f9681dc1d Version: 22000.556.42.34 2022-03-10 08:16:21 +02:00
Valentin Radu
d1b3dcc764 Weather: Fixed buggy left/top positioning option (#1041) 2022-03-10 08:14:06 +02:00
Valentin Radu
cebc2b555f Weather: Fixed a bug that prevented resizing other deskbands (#1043) 2022-03-10 08:01:12 +02:00
Valentin Radu
d054477de7 Version: 22000.556.42.33 2022-03-10 02:25:43 +02:00
Valentin Radu
69a667c4c9 Taskabr10: Fixed a bug that prevented the left/top taskbar align option for the weather widget from working correctly (#1041) 2022-03-10 02:18:48 +02:00
Valentin Radu
a7ab5287c6 Taskbar10: Centered taskbar works in remote sessions and when animations are turned off system-wide 2022-03-10 02:15:50 +02:00
Valentin Radu
a52d3eb615 Taskbar10: UndeadStartCorner is optional (#1036) 2022-03-09 22:36:39 +02:00
Valentin Radu
131ff74739 Taskbar10: Read taskbar buttons visibility settings at startup 2022-03-09 22:35:49 +02:00
Valentin Radu
25ef1b23e1 Weather: Implemented zoom levels (#1033) 2022-03-09 20:08:03 +02:00