Commit graph

69 commits

Author SHA1 Message Date
张弘韬
20ba2b2d23 Add SavePluginSettings API, and call that api in PluginManager.Save(); 2021-05-13 20:49:41 +08:00
弘韬 张
bad5504de4 Change object to byte to reduce overhead 2021-04-12 19:34:58 +08:00
弘韬 张
78d8dbbc14 Use ConcurrentDictionary instead of List 2021-04-12 18:44:08 +08:00
Jeremy Wu
9d4af83fef
Merge pull request #390 from Flow-Launcher/PluginAncestor
Make IPlugin inherit from IAsyncPlugin
2021-04-01 07:23:28 +11:00
弘韬 张
ab7d00eacc Make IPlugin inherit from IAsyncPlugin 2021-03-23 17:40:27 +08:00
弘韬 张
6430e2562d Use EnumerateDirectories instead of GetDirectories 2021-03-18 11:43:41 +08:00
弘韬 张
36678059a0 Merge branch 'AvoidDuplicateAssemblyLoad' of github.com:taooceros/Flow.Launcher into AvoidDuplicateAssemblyLoad 2021-02-24 20:38:59 +08:00
弘韬 张
a4b7bc5221 Use AppDomain to retrive the assembly that has been loaded, which contains the version 2021-02-24 20:37:43 +08:00
Jeremy Wu
81926c04cd remove extra space 2021-02-24 22:01:11 +11:00
Jeremy Wu
84257aa5d9 update PluginAssemblyLoader comment 2021-02-24 21:57:18 +11:00
弘韬 张
9e343ebff4 remove extra line 2021-02-24 18:52:10 +08:00
弘韬 张
03df6e4585 add comment back and remove extra empty line 2021-02-24 18:49:01 +08:00
弘韬 张
0b51a8c467 rename method 2021-02-24 12:46:51 +08:00
弘韬 张
d161faebbb make referencedPluginPackageDependencyResolver static 2021-02-24 12:44:42 +08:00
弘韬 张
6804b93a8d remove comment regarding newtonsoft.json 2021-02-24 12:42:13 +08:00
弘韬 张
d81a4a7fa3 avoid dupplicate assembly load 2021-02-24 12:37:57 +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
弘韬 张
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
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
弘韬 张
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
弘韬 张
d28b14ff2d Replace All use of Json.Net with System.Text.Json 2020-12-30 13:40:42 +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
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
Jeremy Wu
59a18370ef remove in use obsolete GetAllRemainingParameter and use Search 2020-08-04 20:10:42 +10:00
Ioannis G
4205db293e
refactor Core.Plugin.PluginManager 2020-06-25 03:42:15 +03:00
Ioannis G
0d9cfd65a2
refactor Core.Plugin.PluginsLoader (continued) 2020-06-25 02:59:06 +03:00