Commit graph

397 commits

Author SHA1 Message Date
TheBestPessimist
ad8dffe468 Add direct call to Everything API from ResultManager
Obviously this is stupid because we forcefully tied Explorer plugin to Everything. This needs more thinking, but is a good enough for now solution to test what works and doesnt work
2023-03-08 14:29:46 +02:00
Hongtao Zhang
083527e603
add option for everything search in full path (default true) 2023-02-11 10:35:26 -06:00
TheBestPessimist
18d1bb5668 Cleanup unused properties 2023-01-26 09:19:42 +02:00
TheBestPessimist
1b9a879d48 Use EverythingSearchOption flag to set up FullPathSearch instead of hardcoding it 2023-01-26 08:58:41 +02:00
TheBestPessimist
2b6c92c48c question to the FL developers 2023-01-26 08:50:42 +02:00
TheBestPessimist
1482637cf1 Everything.MatchPath = true 2023-01-26 08:50:42 +02:00
Vic
f5cc792ce9 Return empty when operation canceled 2023-01-21 16:57:41 +08:00
Vic
71a2f996db Set environment var dict in LoadEnvironmentStringPaths() 2023-01-20 15:27:19 +08:00
Vic
966d3e752e Fix environment variable expansion logic 2023-01-20 15:22:54 +08:00
Vic
4d267fe71e Fix incorrect %homepath% parsing
Parse environment variables before checking path existence
2023-01-20 14:31:01 +08:00
Vic
504fb4ae05 Display environment vars in upper case 2023-01-20 14:02:04 +08:00
VictoriousRaptor
768ed4f80a
Update wording
Co-authored-by: Jeremy Wu <jeremy24wu@gmail.com>
2023-01-20 12:13:02 +08:00
Vic
4bea50d4cf Add unit test for PathEqualityComparator 2023-01-19 23:17:04 +08:00
Vic
beb144956c Rename method and add option to allow equality 2023-01-19 21:33:09 +08:00
Vic
ac92b93f66 Move IsSubPathOf to SharedCommands 2023-01-19 20:29:25 +08:00
Vic
32268890b9 Remove TranslateEnvironmentVariablePath 2023-01-19 20:23:33 +08:00
Vic
2c36692052 Use case-insensitve comparator for path 2023-01-19 16:21:24 +08:00
Vic
a6b7c5898b Fix subpath check 2023-01-19 16:21:24 +08:00
Vic
383298a46b Fix null subtitle when creating disk result 2023-01-19 16:21:23 +08:00
Vic
51f5d8a410 Add new constructor for EngineNotAvailableException 2023-01-19 16:21:23 +08:00
Vic
52e72992c2 Change context and settings to non static 2023-01-19 16:21:23 +08:00
Vic
009ee3dc5c Simplify environment variable detection 2023-01-19 16:21:23 +08:00
Vic
983f0aafc4 Use a static dictionary for environment vars 2023-01-19 16:21:23 +08:00
Vic
6efa9d1731 Only expand environment var when path starts with % 2023-01-19 16:21:23 +08:00
Vic
2e4127c63b Catch specifc exception 2023-01-19 16:21:23 +08:00
Vic
ce8c3f9288 Fix typo 2023-01-13 15:12:45 +08:00
Hongtao Zhang
f07cff7742
fix explorer setting UseLocationAsWorkingDir 2023-01-12 15:29:58 -06:00
Vic
44438de7df Fix typo 2022-12-31 01:49:30 +08:00
Jeremy Wu
6607acbcce
Merge pull request #1706 from Flow-Launcher/fix_quickaccess_autocomplete
Fix quick access path search and autocomplete text
2022-12-25 16:53:12 +11:00
Jeremy
ae8f2d2ee8 fix wrong Everything service warning displayed when not available 2022-12-25 06:01:17 +11:00
Jeremy
9f8b205b35 Merge remote-tracking branch 'origin/dev' into fix_quickaccess_autocomplete 2022-12-25 05:00:15 +11:00
Jeremy
3f2b741dcc add unit tests for get autocomplete result 2022-12-25 04:58:37 +11:00
Jeremy
f64ebdca95 simplify get path method 2022-12-24 22:51:18 +11:00
Vic
ccac84c0f3 Fix hardcoded strings 2022-12-23 15:15:11 +08:00
Jeremy
2174fc24ce update directory navigation with same action keyword 2022-12-22 23:20:37 +11:00
Jeremy
fc9805f29e add GetAutoCompleteText method 2022-12-22 22:57:37 +11:00
Jeremy
5c1cc79751 update GetPathWithActionKeyword 2022-12-22 22:39:24 +11:00
Jeremy
f0b7898f89 fix quick access path search and autocomplete text 2022-12-22 22:04:39 +11:00
Vic
3b6c8b882b Add translatble text 2022-12-21 13:30:49 +08:00
Hongtao Zhang
42725f289c
Make the behavior more like 1.9.5- 2022-12-17 10:50:23 -06:00
Hongtao Zhang
9da322f840
Handle Search Exception more carefully 2022-12-17 10:43:17 -06:00
Jeremy Wu
00c229d82c add exception handling when Windows Search service not available 2022-12-15 22:03:54 +11:00
VictoriousRaptor
48629502f7
Merge branch 'dev' into fix_dup_results_explorer 2022-12-12 14:29:37 +08:00
Jeremy Wu
45a81a90a9 fix action keyword missing when traversing paths or using autocomplete 2022-12-12 14:07:04 +11:00
Jeremy Wu
3b8e7866ac fix duplicate Quick Access results from CreateOpenCurrentFolderResult 2022-12-12 13:14:37 +11:00
Vic
f509f56304 Fix file extension case sensitive issue 2022-12-07 14:25:16 +08:00
Vic
05dca1aebc Merge branch 'ImagePreview' of https://github.com/onesounds/Flow.Launcher into pr/1360 2022-12-07 01:18:57 +08:00
DB P
fa84f4481c
Merge branch 'dev' into ImagePreview 2022-12-06 06:17:07 +09:00
Vic
6c54ad8589 refactor preview info 2022-12-05 16:01:20 +08:00
Vic
53b17816c7 Renaming method and property 2022-12-05 14:07:35 +08:00
Vic
2194e3c5ec Preview image for explorer 2022-12-05 13:59:24 +08:00
Hongtao Zhang
ee9c53d2f9
Add CopyText in Explorer Result 2022-12-04 21:46:11 -06:00
Jeremy
74ea629c55 search window hides when prompted to install, remove threading 2022-12-05 08:46:19 +11:00
Jeremy
797464d356 remove unnecessary show Windows index state in context menu option 2022-12-05 07:06:20 +11:00
Hongtao Zhang
af07c3835a
cleanup code 2022-12-04 11:39:53 -06:00
Hongtao Zhang
e9d8579bbd
fix concurrency issue (really potentially) 2022-12-03 13:50:30 -06:00
Hongtao Zhang
4a0ee9b4fc
fix concurrency issue (potentially) 2022-12-03 13:44:43 -06:00
Jeremy
605db6095a add icon for Everything's content search warning 2022-12-02 09:04:13 +11:00
Jeremy
355035eefa re-add warning when Windows Index service is off as a search result 2022-12-01 23:03:18 +11:00
Jeremy
5ac2366697 allow path to be searchable in quick access list 2022-11-30 08:21:47 +11:00
Jeremy
a8d6e8df64 only display quick access list when action keyword is used 2022-11-30 08:21:17 +11:00
Jeremy
9fdf220e09 trigger general search only when action keywords match 2022-11-30 07:42:59 +11:00
DB p
c820bc139c Fix Context Menu Image Icon 2022-11-29 19:50:53 +09:00
Jeremy
a4ca486a6c formatting 2022-11-29 20:44:28 +11:00
Jeremy
0e555b5224 fix Windows Indexed Content search not triggering 2022-11-29 20:33:22 +11:00
Hongtao Zhang
22bc292aa9
Add try catch to encounter dllnotfound issue and move warning string to resource 2022-11-28 21:38:27 -06:00
Hongtao Zhang
acc7d5171b
Remove legacy code and slightly refactor 2022-11-28 21:38:27 -06:00
Hongtao Zhang
9267938018
Append Result for everything error and windows index error 2022-11-25 13:25:12 -06:00
Hongtao Zhang
786e9427d9
Apply IndexSearchExcludedPaths to Index Search in a unified way 2022-11-24 17:06:22 -06:00
Hongtao Zhang
2da557c2db
fix path equality check 2022-11-24 16:46:33 -06:00
DB p
d3ebeb2814 Change Constant Tooltips to String 2022-11-18 14:13:57 +09:00
Hongtao Zhang
e41691d10f
Fix everything sdk issue & a null reference issue 2022-11-04 01:06:56 -05:00
Hongtao Zhang
569cc19001
Fix setting issue and everything sdk issue 2022-11-04 00:58:07 -05:00
Hongtao Zhang
970fcd8f14
Fix testing and remove obsolete method 2022-11-03 23:57:47 -05:00
Hongtao Zhang
2a2514d1a9
Reformat some code 2022-10-10 11:11:48 -05:00
Hongtao Zhang
d3ea580c3e
Fix merge issue 2022-10-10 11:08:49 -05:00
Hongtao Zhang
5ea6c54d38
Merge remote-tracking branch 'origin/dev' into explorerMerge
# Conflicts:
#	Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs
2022-10-10 11:03:19 -05:00
Sparrkle
3e6c869472 Merge branch 'ProgressBarBindingError' of https://github.com/Sparrkle/Flow.Launcher into ProgressBarBindingError 2022-09-30 09:58:38 +09:00
Sparrkle
ab1ddbb6c5 Change ProgressBar Value to Nullable. 2022-09-30 09:58:33 +09:00
Sparrkle
33ada18b66
Merge branch 'dev' into ProgressBarBindingError 2022-09-29 01:36:38 +09:00
Hongtao Zhang
d973826333
Remove extra information in subtitle (discussion #706)
Fix index search keyword not working
2022-09-24 14:31:32 -05:00
Hongtao Zhang
2c3df3f4db
Change signature back to string to accommodate async method.
Port open Windows Context Menu feature
2022-09-24 14:23:59 -05:00
Sparrkle
9d294ed71a
Merge Remote pattern 2022-09-21 19:21:28 -05:00
Hongtao Zhang
1622e57e78
Merge remote-tracking branch 'origin/dev' into explorerMerge 2022-09-21 19:19:13 -05:00
Hongtao Zhang
8b1c125bdf
Custom Exception & Some Refactor
- Try use ReadOnlySpan<char> instead of String for applicable API
- Use Customized Exception to return error result
2022-09-21 19:18:20 -05:00
Sparrkle
d9d2cfb8a0
Special character error in ole db query (#1381) 2022-09-21 16:07:05 -05:00
Sparrkle
314f2d6a90 Fixed Progressbar Binding Error (ProgressBar Value is Not Nullable) 2022-09-15 15:57:05 +09:00
Jeremy
e23eb94caf allow progress bar customisation via plugin 2022-09-12 08:05:03 +10:00
Hongtao Zhang
000c45bfa8
Refactor Explorer Code to fit the new architecture
1. Rename some method in QueryConstructor.cs by removing prefix and suffix
2. Split the logic of checking '>' to outer SearchManager.cs
3. Use IAsyncEnumerable for potential future improvement.
2022-09-10 10:45:41 -05:00
Jeremy Wu
b62ab1d0aa
formatting 2022-09-09 09:08:05 +10:00
DB p
4bc3367e3f - Add 'Free Space in drive'
- when Type "d:\", showing graph with free space.
2022-09-06 23:59:33 +09:00
Hongtao Zhang
193ea552dd
Merge remote-tracking branch 'origin/dev' into explorerMerge
# Conflicts:
#	Flow.Launcher.Test/Plugins/ExplorerTest.cs
#	Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs
2022-08-16 21:38:15 -04:00
Hongtao Zhang
6423143c5c
Implement Everything AutoInstall 2022-08-16 21:32:49 -04:00
Hongtao Zhang
a3622d472e
Code Refactor with IAsyncEnumerable instead of Task<IEnumerable> 2022-08-16 18:45:36 -04:00
Oren Nachman
ffd877290d Addressing initial feedback 2022-08-08 11:27:11 -07:00
Oren Nachman
a3197f8ee1 Fix (some) build warnings
CS1572
CS1573
CS0168
CS8073
CA2200
VSTHRD110
VSTHRD200
VSTHRD105
SYSLIB0013
CS8524
2022-08-07 21:31:38 -07:00
Hongtao Zhang
d36d15c887
Further Refactor UI Code and Implement Engine Selection and Everything Setting UI 2022-07-03 19:50:19 -05:00
Hongtao Zhang
70e9a0ca84
Merge branch 'dev' of github.com:Flow-Launcher/Flow.Launcher into explorerMerge 2022-07-01 00:02:06 -05:00
Hongtao Zhang
d5e1b7cb22
Rewrite Explorer View Logic based on MVVM Pattern to avoid complicated View Logic 2022-06-30 23:56:15 -05:00
Hongtao Zhang
9b471de3cf
Implement Path Enumeration and ContentSearch 2022-06-25 12:39:02 -05:00
Hongtao Zhang
fa0cd35e18
Support Path Enumeration (Part 1) 2022-06-25 12:39:02 -05:00
Hongtao Zhang
b671f562ef
Add missing File 2022-06-25 12:39:01 -05:00
Hongtao Zhang
6fdff2971c
Merge Explorer & Everything Plugins (Step 1)
1. Shared Interface for Windows Index and Everything Index
2. Settings Merge (Part 1)
3. Include Everything dll
2022-06-25 12:38:50 -05:00
Jeremy
a276022fbf fix error logging message 2022-03-13 16:50:41 +11:00
Jeremy
f741420f95 retrieve path with action keywrod 2021-12-08 08:01:16 +11:00
Garulf
b201d789d2 Prepend folder action keyword 2021-12-06 16:57:06 -05:00
Garulf
74f97f1b95
Update Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs
Co-authored-by: Jeremy Wu <jeremy24wu@gmail.com>
2021-12-06 16:09:14 -05:00
Garulf
ff867d22a1 Initial commit
Fix misaligned suggestion text
2021-12-05 15:07:32 -05:00
Jeremy
091b4afe4e switch to use main window's Show method 2021-11-27 13:51:45 +11:00
Kevin Zhang
1965ba1a08 Implement the API call to custom explorer via ipublicapi, and migrate the exist call to explorer to the api call. 2021-11-05 19:23:09 -05:00
Jeremy
4941f346a5 fix explorer crash on square brackets 2021-10-01 07:44:59 +10:00
Jeremy
1b69d27ea9 fix Explorer plugin crash on semicolon 2021-09-29 22:18:01 +10:00
Jeremy Wu
1a7c1720d3
Merge pull request #663 from themike10452/dev
run as administration when holding ctrl and shift
2021-09-23 12:24:32 +10:00
Jeremy
dd6b8f8c47 Merge remote-tracking branch 'origin/dev' into add_quickaccess_actionkeyword 2021-09-15 21:15:33 +10:00
Jeremy Wu
2641899782
Merge branch 'dev' into dev 2021-09-13 08:12:49 +10:00
Jeremy
b5b21cf43b rename IndexOnlySearchKeywordEnabled for consistency 2021-09-01 22:05:19 +10:00
Jeremy
267fb6551b add File Content Search Enabled status property 2021-09-01 21:10:52 +10:00
Michael Mouawad
ffd22d78c2 add run as administration when holding ctrl and shift to Program and Explorer plugins 2021-08-22 13:36:01 +03:00
Jeremy
d536b6fd77 change to path instead of subtitle parameter 2021-08-08 18:47:39 +10:00
pc223
7ada219c0c Fix tool tip for folder 2021-08-04 22:12:11 +07:00
Jeremy
2a06cb9893 fix file path tool tip as file path instead 2021-08-04 08:01:20 +10:00
Jeremy
ad04c981f1 Merge branch 'dev' into add_quickaccess_actionkeyword 2021-07-30 20:45:54 +10:00
Jeremy
6978b65d8e add Quick Access action keyword 2021-07-30 20:44:29 +10:00
Jeremy
8cfd80b962 delay the create query helper call
to catch exception when Windows Search service is not running
2021-07-30 12:30:21 +10:00
Jeremy
bd15aa7ef9 pass query helper object 2021-07-27 18:55:52 +10:00
Jeremy Wu
f588f2a763 fix typo 2021-07-25 20:44:04 +10:00
Jeremy Wu
0f9fd94312 handle future scenario where PluginsManager's action keyword increased 2021-07-25 20:42:26 +10:00
Jeremy Wu
10a30f4abe move exception result into its own method 2021-07-25 20:16:30 +10:00
Jeremy Wu
86fe664404 add option to remove warning msg and install Everything plugin 2021-07-25 19:58:21 +10:00
Jeremy Wu
44d8666e27 add warning for Windows Search service not turned on 2021-07-25 17:48:57 +10:00
pc223
5d3b0ba2c0 Should be DESC 2021-07-13 04:12:09 +07:00
pc223
fcbf972754 Testing new search order: System.Search.Rank 2021-07-13 03:44:48 +07:00
Kevin Zhang
0df9f373ce Rename variables 2021-07-03 12:45:00 +08:00
Kevin Zhang
428efb1cd0 fix unexpected empty string 2021-07-03 12:43:38 +08:00
Kevin Zhang
0c3a37eb70 change logic 2021-07-03 00:23:23 +08:00
Kevin Zhang
192d64bb2a Use Constant Name 2021-07-03 00:20:33 +08:00
Kevin Zhang
e8a9377ec4 fix up logic 2021-07-02 11:46:10 +08:00
Kevin Zhang
eeb38d84b3 Fix up Actionkeyword for folder result 2021-07-02 11:38:07 +08:00
张弘韬
da6dfcdf6d CherryPick DirectoryInfoSearch.cs Exception Refactor 2021-06-29 19:04:45 +08:00
Kevin Zhang
f80ae3092e CherryPick Exception Optimize 2021-06-29 19:02:27 +08:00
Jeremy
ff404c5c5b update ActionKeywordSetting view logic 2021-06-05 18:44:16 +10:00
Jeremy
f13e24bd07 removed obsolete api object, updated search action keyword naming, 2021-06-05 14:07:13 +10:00
弘韬 张
5966ddc4d9 Refactor Code
1. Moving Property match to Settings.cs
2. Use Binding to avoid explicit Function Assign
3. Simplify ActionKeywordMatch
2021-06-01 18:10:24 -07:00
Jeremy
995cf568ff option to allow action keywords to be disabled 2021-05-30 19:28:18 +10:00
Jeremy
3bf3afc795 update action keyword match logic 2021-05-30 15:11:59 +10:00
Jeremy
7e799b5625 keep search activation, enable and disable path and index search 2021-05-29 20:08:34 +10:00
弘韬 张
acba2dd1a3 Add specific keyword for path explore in explorer plugin 2021-05-22 17:23:25 +08:00
Jeremy Wu
e75ac3288a update score to variable 2021-04-14 22:15:49 +10:00
Jeremy Wu
aee5f6617e remove the redundant path in brackets and update Nickname to Name 2021-04-14 22:11:40 +10:00
弘韬 张
1015177b45 Refactor code 2021-04-13 19:40:04 +08:00