22 Commits
Author SHA1 Message Date
ge0rdiandge0rdi fe47f841e7 Don't close menu(s) on certain operations
In several cases we don't want menu(s) to close when an action on menu was
done. For example on drag-n-drop or menu item deletion (where confirmation
dialog is shown).

In such situations `s_bPreventClosing` was set to true (and then back to
false when closing was allowed again).
Though original code honored this variable only in certain situations and
typically (at least on Win10) menus were hidden/closed despite of it.

This patch changes the behavior and menus(s) are not closed when
`s_bPreventClosing` is set to true.
Basically now menu(s) stay visible until there is an action that changes
active window.

Following functionality was also removed because it is not needed now:

* CMenuContainer::HideTemp
* COwnerWindow::OnClear
  WM_CLEAR was sent to the window only by already removed `HideTemp`
2019-10-26 20:29:23 +02:00
ge0rdiandge0rdi f33cd60b84 Use VS2019 2019-10-01 19:07:03 +02:00
ge0rdiandge0rdi b4d2be18fe Fix Lock button hiding
Commit 1a5f62a added possibility to hide Lock/Sleep/Hibernate buttons if
they were disabled in system power settings.

Unfortunately this didn't work for Lock button.

To fix the behavior we have to add lock command to `g_StdOptions` array
and then all the checks introduced in 1a5f62a will apply properly.

 #173
2019-06-09 13:40:49 +02:00
ge0rdiandge0rdi 947fded387 ClassicExplorer: Use proper theme color to display full path
Fixes #147.
2019-02-27 06:51:00 +01:00
ge0rdiandge0rdi a16729129a SetupHelper: Try to terminate ClassicShell Start Menu (to make upgrade a bit easier)
During upgrade from ClassicShell we'll try to terminate
ClassicStartMenu.exe as well. So that installer won't complain about files
being in use.
2018-08-19 08:56:17 +02:00
ge0rdiandge0rdi 45ab50e022 Setup: Remove obsolete/unused stuff
There is no need for password protected beta versions.
2018-08-19 08:56:17 +02:00
ge0rdiandge0rdi bdaec76e1c Setup: Remove warning about very old ClassicShell version
Latest version of ClassicShell was 4.3.1. There is no reason to display
any warning about very old versions (< 2.0.0).

Besides, this will remove dependency on version.dll which could be misused
for DLL hijacking attack.

Fixes #72
2018-08-19 08:56:17 +02:00
ge0rdiandge0rdi 16de25a8b0 Use C++17 by default
Plus C++ standard conformance fixes.
2018-08-18 20:04:21 +02:00
ge0rdiandge0rdi 07a5a7ba72 Import legacy Classic Shell data (#28)
Copy data/settings from legacy Classic Shell if we don't have any yet.
2018-08-14 20:23:16 +02:00
ge0rdi c350b0c037 Installer: Remove "View Readme file" checkbox
One can easily find Readme shortcut in Open-Shell's start menu folder.
2018-08-13 19:46:35 +02:00
ge0rdi 5971807d2a Add .editorconfig file 2018-07-29 18:12:08 +02:00
ge0rdi 8077566b1c Update build status batch 2018-07-29 08:48:28 +02:00
ge0rdiandge0rdi dc0266c88e Cleanup of the accessibility COM objects (#53)
Fixed issue related to the cleanup of the accessibility COM objects that
may cause Explorer to crash.

Submitted by Ivo Beltchev.

Fixes #53
2018-07-29 08:34:15 +02:00
ge0rdi 1fd152f428 Store symbols along with AppVeyor builds
Fixes #49
2018-07-21 01:13:09 +02:00
ge0rdiandge0rdi dbb783153c Remove HISTORY.txt from installer 2018-07-13 13:24:44 +02:00
ge0rdiandge0rdi 9e95b71904 Remove obsolete files 2018-07-13 13:24:44 +02:00
ge0rdiandge0rdi 734d082166 AppVeyor: allow builds from all branches 2018-07-13 13:24:44 +02:00
ge0rdiandge0rdi ac0829233c AppVeyor: trigger builds only for code changes 2018-07-13 13:24:44 +02:00
ge0rdiandge0rdi cf2f874896 Fix ClassicStartMenu.rc 2018-06-29 14:53:23 +02:00
ge0rdi b0185cbd85 Enable Whole Program Optimization 2018-05-05 17:30:49 +02:00
ge0rdi 227918a3e9 Build using VS2017 2017-12-26 13:40:29 +01:00
ge0rdi 58597db5f0 Migrate to VS2017 2017-12-26 13:40:29 +01:00