Commit graph

254 commits

Author SHA1 Message Date
Hongtao Zhang
cb6fb80e70 Change abstract back to normal class for JsonRPCExecuteResponse.cs; Cleanup unused classes 2023-06-25 12:21:45 +08:00
Hongtao Zhang
32bbf1eaf0 Finally make JSONRPC Bidirection work 2023-06-25 00:43:21 +08:00
Hongtao Zhang
f6912597b4 Merge branch 'dev' into jsonrpc_v2
# Conflicts:
#	Flow.Launcher.Plugin/Query.cs
2023-06-23 11:24:27 +08:00
Hongtao Zhang
8093a7ca31
Merge remote-tracking branch 'origin/dev' into jsonrpc_v2
# Conflicts:
#	Flow.Launcher/Flow.Launcher.csproj
#	Flow.Launcher/Notification.cs
2023-06-02 23:12:38 +08:00
Hongtao Zhang
e183920b8e
implement v2 2023-06-02 23:05:09 +08:00
VictoriousRaptor
306ad7931b
Merge branch 'dev' into RemoveUnusedNuget 2023-05-04 21:14:13 +08:00
Vic
d9b70e69f3 Refactor save settings logic
SettingWindowViewModel.Save() only saves Flow settings
2023-04-25 22:38:36 +08:00
Vic
00e6e5b30d Remove unused using 2023-04-25 21:02:34 +08:00
Hongtao Zhang
1551567269
fix v1 2023-03-26 14:21:36 -05:00
Hongtao Zhang
b425aac159
fix a little bit more 2023-03-26 14:05:41 -05:00
Hongtao Zhang
a3367abd7a
fix some bug (v1 still broken) 2023-03-26 14:04:06 -05:00
Hongtao Zhang
683f6ebce4
refactor jsonrpc structure (extract setting to a standalone file PortableSettings.cs) 2023-03-26 02:24:31 -05:00
Hongtao Zhang
16dcdf01fd
load v2 plugins 2023-03-26 01:12:21 -05:00
Hongtao Zhang
85fdcde8a8
Merge branch 'dev' of github.com:Flow-Launcher/Flow.Launcher into jsonrpc_v2 2023-03-26 01:00:30 -05:00
Hongtao Zhang
a7afa171e0
catch exception when killing unused jsonrpc process 2023-01-12 15:52:43 -06:00
Jeremy Wu
5af272ad0b Merge branch 'dev' into add_nodejs_env 2022-12-20 20:56:46 +11:00
DB p
d6a31f02ab Remove Color of debugging 2022-12-11 12:40:30 +09:00
DB p
b4b342fa6f Add Layout for Browse button 2022-12-11 12:39:28 +09:00
DB p
28b6bba438 Adjust TextBlock 2022-12-11 12:29:17 +09:00
DB p
27016c4f2d Add hyperlink layout 2022-12-10 09:53:41 +09:00
DB p
ba3ed35699 - Adjust JsonRPC Panel Design 2022-12-10 08:04:56 +09:00
DB p
b1768b5abf - Adjust JsonRPCplugin Panel Layout
- Adjust System Plugin Setting Panel Margin
2022-12-09 17:46:35 +09:00
Jeremy
d297779e4b remove unused SupportedLanguage property 2022-11-30 21:10:30 +11:00
Jeremy
680ed77daa add abstract create plugin pair method to handle each plugin type 2022-11-30 21:06:54 +11:00
Jeremy Wu
4e48c3eb10 refactor 2022-11-22 09:20:27 +11:00
Jeremy
76c0f03bc2 update python directory to python file directory 2022-10-25 21:03:01 +11:00
Jeremy
9e55fc5854 add node plugin execution 2022-10-24 08:47:09 +11:00
Jeremy
7441e90895 python language check ignore case 2022-10-24 07:54:15 +11:00
Jeremy
eb203c2c8b executable plugin language check ignore case 2022-10-24 07:41:48 +11:00
Jeremy
4ea1ee0c04 add Node.js environment setup 2022-10-23 20:05:12 +11:00
Hongtao Zhang
b8526f20a8
check query for null (I don't know how this can happen) 2022-09-19 15:48:28 -05:00
Hongtao Zhang
2fd13c08d8
Rollback rename 2022-08-31 21:38:10 -05:00
Hongtao Zhang
094da0ef0a
Rollback rename 2022-08-31 21:37:29 -05:00
Hongtao Zhang
67d1b896b1
Implement JSONRPC V2 Draft 2022-08-31 21:34:47 -05:00
Hongtao Zhang
f6e6cd5a42
Fix Error Message for empty response 2022-08-21 22:09:56 -04:00
Hongtao Zhang
793b432d61
Use Length instead of Position to keep thing clear 2022-08-21 22:02:46 -04:00
Hongtao Zhang
74d9290944
Redesign exception stream handling and dispose stream to recycle 2022-08-21 22:00:42 -04:00
Hongtao Zhang
2b60422a6c
Cleanup Using 2022-08-21 20:59:31 -04:00
Hongtao Zhang
ddb25a253a
Unregister Cancellation Event by disposing the delegate 2022-08-21 20:58:17 -04:00
Hongtao Zhang
c3dd3b1851
Suppress JsonRPC Empty Response Exception and refactor code 2022-08-18 09:37:41 -04:00
Hongtao Zhang
76d23aba9b
Suppress JsonRPC Empty Response Exception and refactor code 2022-08-18 09:34:53 -04:00
Kevin Zhang
fa7057ae8f
Plugin Exception Draft (#1147) 2022-08-12 23:12:38 +10:00
Oren Nachman
30669e8c25 Further cleanups 2022-08-09 20:18:37 -07:00
Oren Nachman
13c70a9bb7 Remove unused code 2022-08-09 17:41:02 -07:00
Oren Nachman
dbe2151810 Clean up exception throwing code for plugin loading 2022-08-09 16:31:29 -07:00
Oren Nachman
3648126854 Revert JSON Null change + fix more warnings
See comment inline re:JSON null
2022-08-08 17:35:38 -07:00
Oren Nachman
b85399137e Addressing more warnings 2022-08-08 14:55:04 -07:00
Oren Nachman
ffd877290d Addressing initial feedback 2022-08-08 11:27:11 -07:00
Oren Nachman
eb26070b8e Merge branch 'warnings' of https://github.com/nachmore/Flow.Launcher into warnings 2022-08-07 21:41:05 -07:00
Oren Nachman
a3197f8ee1 Fix (some) build warnings
CS1572
CS1573
CS0168
CS8073
CA2200
VSTHRD110
VSTHRD200
VSTHRD105
SYSLIB0013
CS8524
2022-08-07 21:31:38 -07:00
Jeremy Wu
96d9309f4e
add sponsor (#1306) 2022-08-07 19:50:52 -05:00
Jeremy Wu
dae0a5a812
Merge pull request #1121 from Garulf/Remove-trim-from-query
Pass query without trimming whitespace
2022-07-21 20:41:15 +10:00
Jeremy Wu
9bd9b94264
Merge pull request #1123 from Flow-Launcher/AsyncResultCallback
Implement Async Result Execution
2022-07-21 20:34:56 +10:00
Jeremy Wu
4c4ba92b22
Merge pull request #1005 from Flow-Launcher/KillProcess
Use Cancellation Token to avoid potential race tracing issue
2022-07-21 20:25:11 +10:00
Hongtao Zhang
de1b0a23c6 Rename from ActionAsync to AsyncAction 2022-04-15 18:32:05 -05:00
Hongtao Zhang
4cee1b9740 Implement Async Result Execution to stop JsonRPCPlugin hang Flow when executing results 2022-04-12 04:30:04 -05:00
Garulf
a3630e46e3 Trim leading whitespace 2022-04-10 08:42:54 -04:00
Garulf
84cb555dee Remove formatting 2022-04-10 05:36:46 -04:00
Jeremy
60e671ec5a formatting 2022-03-02 08:14:05 +11:00
Hongtao Zhang
3637961513 Fix Shared Assembly Issue 2022-02-25 14:23:40 -06:00
Hongtao Zhang
0ceefea2dd Use Cancellation Token to avoid potential race tracing issue 2022-02-01 15:32:32 -06:00
Jeremy
bf0e4ba452 fix Executable plugin's JsonRPC request string
This is a fix of Executable plugin's JsonRPC request string for ProcessStartInfo, but tested and should be used specifically for Typescript + JavaScript plugin
2021-12-24 19:07:51 +11:00
Jeremy
a53760b872 formatting 2021-12-22 21:22:21 +11:00
DB p
a05f2bb92b Adjust Control Aligment 2021-12-17 11:25:41 +09:00
DB p
31ce34bac6 Adjust TextBlock Margin 2021-12-17 11:06:31 +09:00
DB p
a8331af8a7 Adjust Vertical Aligment and margins 2021-12-17 04:05:17 +09:00
Hongtao Zhang
238d4df109 Add using for File.OpenRead 2021-12-08 21:17:51 -06:00
Hongtao Zhang
48971d8a2b Merge remote-tracking branch 'upstream/dev' into JsonRPCPluginSettingControl 2021-12-08 21:12:16 -06:00
Kevin Zhang
5ea8675c02
Update Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs
Co-authored-by: Jeremy Wu <jeremy24wu@gmail.com>
2021-12-08 16:20:54 -06:00
Garulf
fffaa898f7
Provide Flow info in ENVs 2021-11-30 03:36:38 -05:00
Jeremy
c7e77e3912 add tests for loading unique metadata method 2021-11-21 16:54:30 +11:00
Jeremy
a796ac4c61 add capability to only load unique plugins with the highest version 2021-11-21 00:06:53 +11:00
Kevin Zhang
0a3b566e56 Implment textBlock and add tooltip 2021-11-15 20:35:05 -06:00
Kevin Zhang
c35ddbc2d9 add ability to add new line in textarea 2021-11-14 21:19:32 -06:00
Kevin Zhang
c677a63679 Manually Implement UI Binding 2021-11-14 11:46:09 -06:00
Kevin Zhang
420d8ea005 fix passwordBox issue 2021-11-14 11:12:47 -06:00
Kevin Zhang
36bb439647 Add passwordBox 2021-11-13 23:59:14 -06:00
Kevin Zhang
ddc6af52ed Allow modifying Setting via result 2021-11-13 23:48:53 -06:00
Kevin Zhang
05104a5ab0 Implement Setting back and forward transfer 2021-11-13 23:11:05 -06:00
Kevin Zhang
9cd3f90ec4 Change some configuration and refactor code 2021-10-30 16:17:33 -05:00
Kevin Zhang
710a1d7fe9 Merge branch 'dev' of github.com:Flow-Launcher/Flow.Launcher into JsonRPCPluginSettingControl 2021-10-30 13:47:16 -05:00
Kevin Zhang
054d1650e6 Use Yaml as configuration file 2021-10-30 13:46:57 -05:00
Jeremy Wu
2a68a41ef0
Merge pull request #681 from Flow-Launcher/QueryTermsRefactor
Fixes Typo TermSeparator & remove the actionkeyword in Terms
2021-10-18 08:10:03 +11:00
Jeremy Wu
10997095dd
Merge pull request #653 from Flow-Launcher/JsonRPCRefactor
Refactor JsonRPC structure
2021-09-23 12:23:03 +10:00
Kevin Zhang
812703766a Mark previous api as obsolete to preserve backward compatibility. 2021-09-07 17:07:21 -05:00
Kevin Zhang
9c13416231 Fixes Typo TermSeparator & remove the actionkeyword in Terms 2021-09-06 12:31:07 -05:00
Kevin Zhang
67027eb74b Allow JsonRPCPlugin.cs to have setting control 2021-08-17 00:50:36 +08: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