Commit graph

4861 commits

Author SHA1 Message Date
弘韬 张
d4f94c66ac Make InstallOrUpdate to async 2020-12-29 18:33:53 +08:00
弘韬 张
efa4908f37 Change usage of Http in Updater.cs and adding ConfigureAwait(false) for await in checking update 2020-12-29 17:55:09 +08:00
弘韬 张
0c97db04d4 1. Change Get method Name to GetAsync
2. Manually replace "#" with "%23" to solve the similar issue in Explorer plugin
3. Add GetAsync method with Uri as argument
4. Remove unused encoding argument
5. Change exception type for WebSearch Plguin
6. Update Comment
2020-12-29 17:50:56 +08:00
弘韬 张
e364b84b84 Use auto property 2020-12-29 17:16:44 +08:00
弘韬 张
4d5119f17d Add out of bound exception for pattern matching 2020-12-29 17:15:34 +08:00
弘韬 张
a806f7d05a Change exception type 2020-12-29 17:14:13 +08:00
弘韬 张
cfa93a2cc6 Add GetStreamAsync method 2020-12-29 17:13:31 +08:00
弘韬 张
7dc66eaa9a Merge dev 2020-12-29 17:12:14 +08:00
弘韬 张
8ec781d305 Merge branch 'UpdateHttpMaster' of github.com:taooceros/Flow.Launcher into UpdateHttpMaster 2020-12-29 17:08:29 +08:00
弘韬 张
d015fce20d Merge Upstream 2020-12-29 17:08:17 +08:00
Jeremy Wu
a47f8b3185
Update README.md 2020-12-29 19:06:17 +11:00
Jeremy Wu
181d871bfd
Merge pull request #249 from taooceros/PluginManagerImprove
Plugin manager improve
2020-12-29 18:59:47 +11:00
Jeremy Wu
000bafd116 use camelCase and make last update time variable private 2020-12-29 18:56:51 +11:00
Jeremy Wu
b106688513 version bump 2020-12-29 18:14:33 +11:00
Jeremy Wu
a1d1c95eeb change to tab in browser 2020-12-29 18:14:22 +11:00
Jeremy Wu
0a47636bc9 remove obsolete settings property in context menu class 2020-12-29 18:13:52 +11:00
Jeremy Wu
e5b67ea10a remove obsolete icoPath from settings 2020-12-29 18:04:23 +11:00
Jeremy Wu
f9349a64e9 fix condition of version compare 2020-12-29 17:49:37 +11:00
Jeremy Wu
a1a45a4989 add eof 2020-12-29 17:49:11 +11:00
弘韬 张
c94a2f4c95 Use string.CompareTo instead of equal to check for update 2020-12-29 13:06:08 +08:00
弘韬 张
5da8259228 fix an unintended text error
add async await to download manifest task
remove unused encoding name for new GetStreamAsync in Http
fix unintened text error
2020-12-29 13:03:38 +08:00
弘韬 张
f0267475f5 Change call method for default hotkeys.
Remove extra whitespace
add await using for stream
2020-12-29 12:23:15 +08:00
弘韬 张
f32e202746 Use System.Text.JsonSerializer.DeserializeAsync instead of Newtonsoft.Json since our plugins.json can be large, so no need to create an extra string to store it. 2020-12-29 12:20:13 +08:00
弘韬 张
bb9682f791 Move get default hotkeys to pluginmanger and make Main.Context non-static 2020-12-29 12:14:59 +08:00
弘韬 张
00457ddc29 change totalSeconds to Hours 2020-12-29 12:08:41 +08:00
弘韬 张
5a0358718c Update PluginManifest if last update time is 12 hours ago 2020-12-28 23:23:25 +08:00
弘韬 张
deaac1c7e4 replace install from search keyword 2020-12-27 22:33:12 +08:00
张弘韬
34f51927cf 1. Move PluginsManager constuction to Init().
2. Return HotKeys list when query is like "pm *"
2020-12-27 21:13:25 +08:00
张弘韬
7ceb08071c Use inner loop to evaluate acronym match (Big Change)
Don't end loop before acronym match end since if acronym match exist, we will use that one.
2020-12-27 20:16:20 +08:00
张弘韬
75b99415eb Use Binary Search instead of Linear search to reduce time complexity.
Add Key Property for debugging.
2020-12-26 00:29:35 +08:00
Ioannis G
952a24225c
merge PR #246: update URLs in Settings 2020-12-23 19:43:50 +02:00
Jeremy Wu
93486783e5 update plugin repo url 2020-12-23 06:28:59 +11:00
张弘韬
2c9f4149b7 optimize use 2020-12-22 22:58:27 +08:00
张弘韬
b7a0ada60b Add Mapping to original string after translation. Not sure about the performance, but seems satisfying.
It requires at most n times loop (n: number of translated charater) mapping once.
2020-12-22 21:53:59 +08:00
张弘韬
e67058e53e Merge remote-tracking branch 'upstream/dev' into AcronymFuzzy 2020-12-22 17:52:19 +08:00
张弘韬
968931e4a0 return if cancellation requested before changing _isQueryRunning state 2020-12-22 13:45:11 +08:00
张弘韬
88fa862277 Use event triggered update method instead of checking Proxy every time doing Http request 2020-12-22 00:31:00 +08:00
张弘韬
5ab8c4faa3 Update Proxy every time calling a http request method since the proxy setting won't update automatically without action 2020-12-21 20:55:28 +08:00
张弘韬
96609f797e Change the place of Wait in PluginManifest to make code more elegent 2020-12-21 19:42:50 +08:00
张弘韬
85f5766022 Optimize a few code 2020-12-21 19:30:18 +08:00
张弘韬
db0b4c1ca4 Merge remote-tracking branch 'upstream/dev' into UpdateHttpMaster
# Conflicts:
#	Flow.Launcher.Infrastructure/Http/Http.cs
#	Plugins/Flow.Launcher.Plugin.PluginManagement/Main.cs
2020-12-21 19:23:16 +08:00
张弘韬
acd631be08 Change wording 2020-12-21 19:09:18 +08:00
Jeremy Wu
431584eb5f
Merge pull request #247 from Flow-Launcher/update_readme_usage
Update plugin usage in README
2020-12-21 12:57:07 +11:00
Jeremy Wu
a9a62a5847
Update README.md 2020-12-21 08:57:22 +11:00
Jeremy Wu
adad5ae83b add url website in Settings 2020-12-20 21:10:55 +11:00
弘韬 张
cbfa3f354d Inform user when checking update fail or update fail, and wrap all code in one try catch instead of catch each exception seperately since they are all same kind of exception.
Use using instead of manually dispose.
2020-12-20 17:44:46 +08:00
Jeremy Wu
110cf2a607 version bump 2020-12-20 20:28:30 +11:00
弘韬 张
f693f1c6af use Array.empty instead of new [0] to avoid unused allocation 2020-12-20 17:25:14 +08:00
Jeremy Wu
3a6b6b721f Flow.Launcher.Plugin version bump 2020-12-20 20:23:14 +11:00
Jeremy Wu
7329bdf877
Merge pull request #243 from Flow-Launcher/pluginsmanager_update
Update plugins via Pluginsmanager
2020-12-20 20:19:25 +11:00