PowerToys/src/modules/powerrename/lib
Mehmet Murat Akburak d3b80b26e3
[PowerRename] Add Filtering Feature (#6017)
* Implement basic functionality

* Change approach.
move filter controls to manager
edit redrawing to always work with new GetVisibleItemCount() and GetVisibleItemByIndex() calls

* Fix performance issues. Some refactoring.

* Handle toggleAll correctly

* Handle dangling elements when filter is on

Make an item visible if it has at least one visible subitem

* Support filtering for selected and shouldRename

* Refactor for readability, remove useless member from PowerRenameUI

* Change variable names in PowerRenameUI for clarity

Use wrapper function RedrawItems() and SetItemCount() for consistency

* Handle result value properly in getVisibleItemByIndex()

* Add FlagsApplicable filter

* Add visual indication of filters

* Improve performance

Check if no filter is selected
Call SetItemCount() only when necessary

* Refactor for readability

* Get lock in setVisible()

* Change function names to camel case

* Change function names to start with uppercase

* Change filter behaviour when search area is empty

Show all elements when search area is empty and ShouldRename filter is selected
Avoid warnings

* Resolve conflicts
2020-08-25 08:22:05 +03:00
..
Helpers.cpp [PowerRename] Add Filtering Feature (#6017) 2020-08-25 08:22:05 +03:00
Helpers.h [PowerRename] Using File Attributes Update (#5250) 2020-08-20 02:53:09 +03:00
packages.config updated to Microsoft.Windows.CppWinRT.2.0.200729.8 (#5306) 2020-07-30 11:37:15 -07:00
pch.cpp Move from sdk-provided cppwinrt-1.x to cppwinrt-2.x nuget package (#2246) 2020-04-29 22:02:18 +02:00
pch.h Move from sdk-provided cppwinrt-1.x to cppwinrt-2.x nuget package (#2246) 2020-04-29 22:02:18 +02:00
PowerRenameInterfaces.h [PowerRename] Add Filtering Feature (#6017) 2020-08-25 08:22:05 +03:00
PowerRenameItem.cpp [PowerRename] Add Filtering Feature (#6017) 2020-08-25 08:22:05 +03:00
PowerRenameItem.h [PowerRename] Add Filtering Feature (#6017) 2020-08-25 08:22:05 +03:00
PowerRenameLib.vcxproj updated to Microsoft.Windows.CppWinRT.2.0.200729.8 (#5306) 2020-07-30 11:37:15 -07:00
PowerRenameManager.cpp [PowerRename] Add Filtering Feature (#6017) 2020-08-25 08:22:05 +03:00
PowerRenameManager.h [PowerRename] Add Filtering Feature (#6017) 2020-08-25 08:22:05 +03:00
PowerRenameRegEx.cpp [PowerRename] Add Filtering Feature (#6017) 2020-08-25 08:22:05 +03:00
PowerRenameRegEx.h [PowerRename] Add Filtering Feature (#6017) 2020-08-25 08:22:05 +03:00
Settings.cpp Split general module settings and UI flags to separate files. (#2613) 2020-05-05 12:39:15 +02:00
Settings.h Split general module settings and UI flags to separate files. (#2613) 2020-05-05 12:39:15 +02:00
srwlock.h Move from sdk-provided cppwinrt-1.x to cppwinrt-2.x nuget package (#2246) 2020-04-29 22:02:18 +02:00
targetver.h Initial add of PowerRename from SmartRename repo (#499) 2019-10-17 20:57:19 -07:00
trace.cpp Move from sdk-provided cppwinrt-1.x to cppwinrt-2.x nuget package (#2246) 2020-04-29 22:02:18 +02:00
trace.h Add telemetry event for PowerRename settings (#1279) 2020-02-13 12:44:03 +03:00