Commit graph

25 commits

Author SHA1 Message Date
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
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
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
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
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 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
弘韬 张
d0b94c5b81 specify name for property to avoid property collision 2021-02-03 17:50:36 +08:00
弘韬 张
d28b14ff2d Replace All use of Json.Net with System.Text.Json 2020-12-30 13:40:42 +08:00
Jeremy Wu
f5ed0291a0 Fix rename errors 2020-04-21 22:16:10 +10:00
Jeremy Wu
3c7f067770 rename all project file name 2020-04-21 21:27:02 +10:00
Renamed from Wox.Core/Plugin/JsonRPCPlugin.cs (Browse further)