1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-27 17:00:59 +01:00
Commit Graph

923 Commits

Author SHA1 Message Date
Valentin Radu
35046cd91a ep_dwm: Fixed use-after-free bug; fixed incorrect check for running dwm instances 2022-09-11 13:27:59 +03:00
Valentin Radu
5de2eb0044 Version: 22622.450.50.2 2022-08-07 21:29:08 +03:00
Valentin Radu
d55f3c73c9 GUI: Support disabling File Explorer modern search bar in 32-bit applications 2022-08-07 20:44:55 +03:00
Valentin Radu
8fd7c46db0 All: Substitute RegDeleteKeyW with RegDeleteTreeW
This is because the keys should be deleted regardless of whether they
contain subkeys or not.
2022-08-07 20:40:36 +03:00
Valentin Radu
ddeaa2e538 Main: Fix typo 2022-08-07 20:28:30 +03:00
Valentin Radu
9fe862ed38 Version: 22622.450.50.1 2022-08-07 02:44:05 +03:00
Valentin Radu
0c2f287d57 GUI, Main: Support for File Explorer - Control interface setting on OS builds 22621+ 2022-08-07 02:30:47 +03:00
Valentin Radu
c96aebee11 Explorer: Option to shrink address bar height (thanks @krlvm) 2022-08-07 00:55:44 +03:00
Valentin Radu
a3cd2a33a9 GUI: Show Widgets button toggle for Taskbar11 on OS builds 22621+ 2022-08-07 00:18:45 +03:00
Valentin Radu
0a42d5559f Taskbar11: Fix right click menu and double click to auto-hide on OS builds 22621+ 2022-08-07 00:07:04 +03:00
Valentin Radu
25660c908a GUI, Main: Disable non-functional Snap Assist style option on OS builds 22621+ 2022-08-06 23:38:22 +03:00
Valentin Radu
cb951df606 Alt-Tab: Enable Windows 10 style in OS builds 22621+ 2022-08-06 23:34:52 +03:00
Valentin Radu
7d6b0933e1 ep_dwm: Compatibility with OS builds 22621+ 2022-08-06 22:05:02 +03:00
Valentin Radu
7b7cf6195d Taskbar10: Fix redraw problem on OS builds 22621+ 2022-08-06 18:59:21 +03:00
Valentin Radu
5ee6e3508d Main: Fixed a bug that crashed explorer at PC startup on OS builds 22621+ 2022-08-06 05:49:31 +03:00
Valentin Radu
619d9caf21 GUI: Fixed a bug that crashed when displaying the File Explorer section on older builds 2022-08-06 04:50:35 +03:00
Valentin Radu
aeeb362045 HideExplorerSearchBar: Fixed on OS builds 22621+ 2022-08-06 04:39:04 +03:00
Valentin Radu
a90439d096 Main: Fix Windows Spotlight integration on OS builds 22621+ 2022-08-06 04:14:20 +03:00
Valentin Radu
92a3da12c0 GUI: Remove Other - Show Command Prompt instead of PowerShell in Win+X menu 2022-08-06 03:57:27 +03:00
Valentin Radu
258d35c4a0 GUI: Fix language switcher on OS builds 22621+ 2022-08-06 03:54:41 +03:00
Valentin Radu
de44754c42 Main: Fixed a bug that crashed Explorer when a folder window was opened after a first one was closed on OS builds 22621+ 2022-08-06 03:12:59 +03:00
Valentin Radu
aa922410f4 GUI: Hide File Explorer - title bar related options on OS builds 22621+ 2022-08-05 21:43:22 +03:00
Valentin Radu
6feeba1cd1 GUI: Hide File Explorer - Control interface setting on OS builds 22621+ 2022-08-05 21:39:57 +03:00
Valentin Radu
baecdcc191 GUI: Enable search button in Windows 10 taskbar by default on OS builds 22621+ 2022-08-05 21:31:13 +03:00
Valentin Radu
ce6fb8d8f9 GUI: Hide Taskbar - Location in Windows 11 style on OS builds 22621+ 2022-08-05 21:13:12 +03:00
Valentin Radu
2e7a175537 GUI: Mark Taskbar - Start button style as requiring a restart 2022-08-05 21:12:35 +03:00
Valentin Radu
9239e56172 GUI: Hide Cortana button options on OS builds 22621+ 2022-08-05 21:12:23 +03:00
Valentin Radu
092edc10be Version: 22000.795.48.2 2022-08-05 15:33:49 +03:00
Valentin Radu
9ec44832dd Weather: Fixed a bug that could hang the host process and explorer
A nasty bug was sometime occurring where both explorer and the widget
host process could hang; this often happened when explorer was
restarted. The reason this happened was because the widget host
process could hang waiting for the "Lock_EPWeather_Instance" lock. This
was a global lock that made sure only one instance of the widget could
be created.

The idea of the global "Lock_EPWeather_Instance" lock was, of course,
pretty bad, but I chose it because I couldn't figure out/didn't want to
deal with passing an EPWeather "this" instance to WebView2 or
NetworkListManagerEvents functions. Bad decision.

This patch addresses this bug, by providing a generic object
which holds a reference to EPWeather "this" on which I build event
handlers for WebView2 and so on. Since these now contain this
reference, they cannot be static anymore, thus I switched to dynamically
allocating them and managing them throughout their lifetime using,
of course, reference counting. This is the proper solution.

Thus, this bug and any similar ones should now be fixed.
2022-08-05 15:31:36 +03:00
Valentin Radu
1c31c1c281 Weather: Free widget from a single place 2022-08-05 15:31:24 +03:00
Valentin Radu
953a984353 Version: 22000.795.48.1 2022-08-05 00:09:20 +03:00
Valentin Radu
7c1cb3d560 Weather: Do not display error page when network connectivity is lost; instead, keep showing cached data from last refresh 2022-08-04 23:58:28 +03:00
Valentin Radu
da3fece8cd Weather: Wait a bit before refreshing when network connectivity is restored
This is so that we avoid a situation where the browser was looping on
trying to display the error page. Each navigation request was
erroring out, and the error said something along the lines of
"Your computer went to sleep". Indeed, this bug could be reproduced by
hibernating the computer and then waking it up - it seemed to occur
pretty frequently, especially on battery, when the power budget is more
constrained, and thus the speed of the PC as well. Hopefully, this
commit and the previous one addresses this issue.
2022-08-04 23:57:33 +03:00
Valentin Radu
aeb8e54b58 Weather: Detect and break infinite loops on navigating to the error page 2022-08-04 23:56:55 +03:00
Valentin Radu
f7ffaca146 Version: 22000.708.47.2 2022-07-09 18:48:16 +03:00
Valentin Radu
81d804ab06 General: Fixed a system high DPI-related bug that caused wide Windows 10 taskbar buttons and incorrect (desktop) icon spacing 2022-07-09 18:48:00 +03:00
Valentin Radu
0ff6b1b365 Version: 22000.708.47.1 2022-07-04 23:41:52 +03:00
Valentin Radu
1cea91694f Symbols: Built-in support for OS build 22000.778 2022-07-04 23:41:31 +03:00
Valentin Radu
e988bbb08f General: Fixed a bug that had the Start button context menu / Win-X menu / power user menu fail to display and potentially lock the shell on OS builds 22000.778+ and 22621+ 2022-07-04 23:41:07 +03:00
Valentin Radu
d042e57ae4 Version: 22000.708.46.6 2022-06-13 14:11:17 +03:00
Valentin Radu
932f826ecb GUI: Fix a bug that had the window fail to display some sections under default settings 2022-06-13 14:09:31 +03:00
Valentin Radu
ae403668f6 Version: 22000.708.46.5 2022-06-07 19:36:58 +03:00
Valentin Radu
961cc11dda Weather: Fixed a bug that prevented the widget from working when WebView2 Runtime >= 102.0.1245.33 2022-06-07 19:35:41 +03:00
Valentin Radu
552a2e2040 General: Fixed a bug that could prevent Control Panel link redirection from working correctly 2022-06-07 19:34:38 +03:00
Valentin Radu
c1f9f49f37 Version: 22000.708.46.4 2022-05-28 13:47:34 +03:00
Valentin Radu
dbdc1b80f8 Weather: Show "Reload" link when data fails to load 2022-05-28 13:43:54 +03:00
Valentin Radu
5093e7de37 Weather: Fix and free event registration tokens 2022-05-28 13:41:05 +03:00
Valentin Radu
7deb97e510 sws: Sync with upstream
Changes in this version:
* [Store layout window flags in single variable](633fb2c51a)
* [Use external variable to detect if desktop is foreground](4b9ff84436)
* [Fix regression when detecting foreground window changes](8ab7a45162)
* [Draw DWM-like placeholder when window has zero width or height](764a2913b4)
* [Enforce a minimum size for a window rectangle](bc8b04e451)
2022-05-28 13:40:08 +03:00
Valentin Radu
9a7d2de43b Spotlight: Harden desktop window detection 2022-05-28 12:55:15 +03:00
Valentin Radu
9bf60309c0 General: Export variable that tells if desktop is in foreground 2022-05-28 12:54:36 +03:00