Commit graph

90 commits

Author SHA1 Message Date
弘韬 张
2f9d4d129e add taskcanceledexception to updater exception catch 2021-02-21 15:46:04 +08:00
Jeremy Wu
dec9941cce
Merge pull request #346 from taooceros/fixSuggestSource
Remove unused check for Stream length
2021-02-16 19:10:37 +11:00
弘韬 张
307cb305f0 Remove unused check for Stream length 2021-02-16 10:50:48 +08:00
Jeremy Wu
6c42458ef1
Merge pull request #331 from taooceros/JSONRPCModelOpt
JSONRPC Async Model
2021-02-16 13:47:30 +11:00
Jeremy Wu
abd721a06c fix formatting 2021-02-16 06:14:13 +11:00
弘韬 张
9ebebfd0ef No need to cancel error reporting 2021-02-15 18:27:02 +08:00
弘韬 张
824ea07ab2 add Debug message field for debugging 2021-02-14 13:59:59 +08:00
弘韬 张
34a7a15226 Use Stream model 2021-02-14 13:56:27 +08:00
弘韬 张
aabb820f6f Optimize ToString() method override 2021-02-14 12:03:49 +08:00
Jeremy Wu
20f895c781 upgrade Droplex to use mirror site 2021-02-10 21:17:16 +11:00
弘韬 张
f93dcaef73 use throw instead of return empty string 2021-02-09 14:03:22 +08:00
张弘韬
b15319ea4d Keep the Sync version for ContextMenu and Callback 2021-02-08 14:43:17 +08:00
张弘韬
0da21b1ed7 JSONRPC Async Model 2021-02-08 14:37:37 +08:00
Jeremy Wu
f3d0b88616 remove task 2021-02-05 08:08:33 +11:00
Jeremy Wu
385fabe81b Merge branch 'dev' into add_python_installation 2021-02-04 21:18:57 +11:00
弘韬 张
d0b94c5b81 specify name for property to avoid property collision 2021-02-03 17:50:36 +08:00
弘韬 张
eeaa6f920d add null check before updateresultmanifest 2021-02-03 17:50:21 +08:00
Jeremy Wu
4933a2e28c add python installation 2021-01-31 17:49:08 +11:00
弘韬 张
c5791b838d fix untranslaed string in updator 2021-01-23 12:20:52 +08:00
Jeremy Wu
539f4bf4c4 add eol 2021-01-17 19:10:26 +11:00
Jeremy Wu
114c12bdaf formatting and description 2021-01-17 18:47:19 +11:00
弘韬 张
971d374582 Merge Dev 2021-01-07 21:43:32 +08:00
弘韬 张
a9aeecdabd Merge remote-tracking branch 'upstream/dev' into UpdateJson 2021-01-07 10:58:17 +08:00
弘韬 张
63a9e03d89 format QueryForPlugin code 2021-01-06 19:33:55 +08:00
弘韬 张
29ab9db7ce fix reloaddata not working and refactor Init code 2021-01-06 19:11:58 +08:00
弘韬 张
ecf2a7a1f7 change plugin type in pluginLoader for Release 2021-01-03 10:43:05 +08:00
弘韬 张
731c3cdcbc Use OperationCancelledException instead of catch Exception and check 2021-01-03 10:37:36 +08:00
弘韬 张
1c20069598 Rebase to Dev 2021-01-03 10:35:18 +08:00
弘韬 张
69cb8e6147 Reload IAsyncReloadable concurrently 2021-01-03 10:33:59 +08:00
张弘韬
b8f7d89970 Allows Loading both IPlugin and IAsyncPlugin 2021-01-03 10:33:58 +08:00
张弘韬
3cd609377e Plugin Async ModelAdd Full Async model, including AsyncPlugin and AsyncReloadable 2021-01-03 10:33:10 +08:00
弘韬 张
4a2e6db355 Merge branch 'InformUserWhenUpdateFail' of github.com:taooceros/Flow.Launcher into InformUserWhenUpdateFail 2020-12-31 13:07:04 +08:00
弘韬 张
12b19cf122 Merge Dev 2020-12-31 13:06:56 +08:00
弘韬 张
d28b14ff2d Replace All use of Json.Net with System.Text.Json 2020-12-30 13:40:42 +08:00
弘韬 张
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
弘韬 张
d015fce20d Merge Upstream 2020-12-29 17:08:17 +08:00
张弘韬
acd631be08 Change wording 2020-12-21 19:09:18 +08: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
8c136580e2 remove InstallPlugin method from API
- do not allow InstallPlugin method to be called via API
- move InstallPlugin functionality to PluginsManager for use exclusively
2020-12-08 21:59:45 +11:00
Jeremy Wu
ac6dea1322 clear whitespaces, no code changes 2020-11-30 07:31:38 +11:00
弘韬 张
5a9c631577 Use PropertyChange event to change text when language has changed. 2020-11-29 20:50:28 +08:00
Jeremy Wu
83ccfac04f move Themes string to Constant 2020-11-16 06:29:24 +11:00
Jeremy Wu
48faa99ab5 Merge branch 'dev' into fix_plugin_depenedency_loading 2020-10-25 10:48:30 +11:00
弘韬 张
a16cc5be8d Move Old HttpWebRequest to HttpClient Instance (solve connection timeout) 2020-10-14 10:48:43 +08:00
Jeremy Wu
a77d0380d3 update method name typo 2020-09-22 08:57:21 +10:00
Jeremy Wu
7fd9c87bd1 remove excess or duplicated package references
- since we have fixed how dependencies are resolved for plugins, these excess or duplicated package references can be safely removed

- for example Newtonsoft.Json can be removed from default plugins as it is included in Flow.Launcher.Plugin project, and external plugins will be resolved to use the reference there
2020-09-22 07:17:01 +10:00
Jeremy Wu
a8eda14260 update dependency resolver to cater for existing dependency in Plugin
if the assembly already referenced in Flow.Launcher.Plugin then ignore it
2020-09-21 15:44:14 +10:00
Jeremy Wu
1e5d7bd928 add class to load assembly and resolve dependencies for each plugin 2020-09-16 21:12:43 +10:00