Commit graph

118 commits

Author SHA1 Message Date
Jeremy Wu
10997095dd
Merge pull request #653 from Flow-Launcher/JsonRPCRefactor
Refactor JsonRPC structure
2021-09-23 12:23:03 +10:00
Kevin Zhang
8ae13a5473 Move working directary setting to init 2021-08-14 06:51:11 +08:00
Kevin Zhang
991b89ff44 Remove Legacy debug in sync request 2021-08-13 15:56:58 +08:00
Kevin Zhang
7ab86ca1f2 Refactor JsonRPC structure 2021-08-13 13:55:07 +08:00
Jeremy Wu
fe45e3bdd2
update python message from install to download 2021-08-12 09:12:38 +10:00
Jeremy Wu
7778449239
remove extra comments 2021-08-07 13:26:38 +10:00
Jeremy Wu
235fe4aacb
remove extra comments 2021-08-07 13:26:11 +10:00
Kevin Zhang
760333520c Adjust JsonRPCPlugin.cs Exception Handling 2021-08-06 14:35:14 +08:00
Jeremy
466b825611 fix comment formatting 2021-07-27 19:01:27 +10:00
张弘韬
d7c037d156 fix dispose issue by manually dispose 2021-07-27 14:11:48 +08:00
张弘韬
220db44a6c Manually kill process when token is canceled 2021-07-27 13:54:13 +08:00
张弘韬
4e3746f77d Don't rethrow OperationCanceledException 2021-07-27 11:15:27 +08:00
张弘韬
8330dd356f Add a MemoryStream buffer to ReadStream first 2021-07-26 12:18:49 +08:00
Jeremy Wu
55e985faae
Merge pull request #561 from taooceros/CloseWithDispose
Dispose Disposable or AsyncDisposable plugin on mainwindow close
2021-07-05 19:19:15 +10:00
Kevin Zhang
e2811ce747 dispose PluginPair.Plugin instead of PluginPair 2021-07-05 16:54:19 +08:00
Kevin Zhang
a18a777e75 Dispose Disposable or AsyncDisposable plugin on mainwindow close 2021-07-05 16:50:50 +08:00
Kevin Zhang
c7cfd25817 Ignore null value in deserialization to avoid unexpected nullreference issue 2021-07-05 11:47:56 +08:00
Kevin Zhang
908d1c4124 JsonRPC camelCase and Case Insensitive 2021-07-05 11:03:07 +08:00
Kevin Zhang
cc743c1efc fix unintended use of direct startInfo.Arguments in context menu 2021-07-01 16:27:41 +08:00
Kevin Zhang
3bdc82a47f fix an error 2021-07-01 16:03:03 +08:00
Kevin Zhang
10f3bcb209 Check null for ContextMenu 2021-07-01 15:58:50 +08:00
Kevin Zhang
4f13433913 CherryPick Layout change and ProgramLogger.cs Fix 2021-06-29 19:06:17 +08:00
Kevin Zhang
b955fde6e5 Use NLog Exception Handler, and , NLog Debug Message Printer, and change layout 2021-06-29 19:03:06 +08:00
Kevin Zhang
f80ae3092e CherryPick Exception Optimize 2021-06-29 19:02:27 +08:00
Jeremy Wu
b31fddd449
Merge pull request #481 from Flow-Launcher/everythingplugin_backwards_compatibility
Add backwards compatibility for Everything plugin v1.4.9
2021-06-21 23:10:19 +10:00
Jeremy Wu
644be7977c use ISavable and add obsolete message 2021-06-21 21:56:20 +10:00
Jeremy Wu
6ec151a8ab use inheritance for ISavable and JsonStrorage 2021-06-21 21:04:19 +10:00
pc223
e74d7ce102 Fix AmbiguousMatchException when plugins call Flow API (JsonRPC)
Why: `GetMethod(String)` raise AmbiguousMatchException when method have overloads (e.g. `ShowMsg`)

Solution: `Use GetMethod(String, Type[])`

https://stackoverflow.com/questions/1969411/avoiding-an-ambiguous-match-exception
2021-06-21 15:26:06 +07:00
Jeremy Wu
7319133ae8 add backwards compatibility with Everything plugin 2021-06-21 12:34:07 +10:00
Jeremy Wu
e6db8b85e8
remove spaces in Python Embeddable folder name 2021-06-19 19:09:09 +10:00
Jeremy Wu
5fbde3779d check location exists if python path is already set 2021-06-19 11:17:00 +10:00
Jeremy Wu
e125d59c6e reorder logic for setting python path 2021-06-19 00:54:04 +10:00
Jeremy Wu
c9b232aa26 remove automatic retrieval py path from PATH or via where.exe 2021-06-18 22:58:14 +10:00
Jeremy
4909f58225 switch to embedded path 2021-06-18 08:27:23 +10:00
Jeremy
cc2b9dc81d use python 3.8.9 embeddable 2021-06-17 22:20:32 +10:00
Jeremy Wu
ad36f89345
Merge pull request #449 from Flow-Launcher/ExplorerPathActionkeyword
Add specific keyword for path explore in explorer plugin
2021-06-13 18:16:53 +10:00
Kevin Zhang
5cedf7084c Remove Unused Code 2021-06-10 15:08:10 +08:00
Kevin Zhang
be8abafdda fix another hardcode issue, and the JsonSerialization problem 2021-06-10 13:06:35 +08:00
Kevin Zhang
aa3e7decd8 Fix Don'tHideAfterAction logic for JsonRPCPlugin.cs 2021-06-10 11:28:45 +08:00
Kevin Zhang
c399a87279 Add Customized Object Converter, fix Length issue 2021-06-08 08:04:04 +08:00
Kevin Zhang
456016cdd8 Use where.exe to detect pythonPath easily 2021-06-07 19:17:46 +08:00
Kevin Zhang
18e21a8b19 Don't thown error when JsonRPCPlugin.cs don't return a JsonFeedBack when calling callback 2021-06-07 13:08:18 +08:00
Kevin Zhang
ffcaa02e31 Use JsonLibrary to Parse object, and replace direct argument with the new api to allow auto escape 2021-06-07 13:03:59 +08:00
Jeremy
ff404c5c5b update ActionKeywordSetting view logic 2021-06-05 18:44:16 +10:00
Jeremy
002c27fc12 Merge remote-tracking branch 'origin/dev' into ExplorerPathActionkeyword 2021-06-05 13:08:50 +10:00
Kevin Zhang
d3e704cc86 Fix unparsed property 2021-06-04 11:08:40 +08:00
Jeremy
e5fbfa24b4 replace action keyword when updating 2021-05-29 22:00:10 +10:00
弘韬 张
efc45c76ac Use HashSet storing GlobalPlugins
Use HashSet instead of List to avoid duplicate global plugin
2021-05-28 17:06:58 +08:00
Jeremy
c5167cb5e5 fix duplicate query searches from same global action keywords 2021-05-28 08:44:06 +10:00
张弘韬
20ba2b2d23 Add SavePluginSettings API, and call that api in PluginManager.Save(); 2021-05-13 20:49:41 +08:00