Commit graph

485 commits

Author SHA1 Message Date
Kevin Zhang
81f234e230
Remove unused using; 2024-05-26 23:00:11 -07:00
DB P
94df8d9085
Merge branch 'dev' into 240514ResizableWindow 2024-05-27 06:52:22 +09:00
VictoriousRaptor
fa2df93dd7 Fix calculator decimal separator bug 2024-05-25 14:10:29 +08:00
DB p
68f34fa02a Merge Dev 2024-05-25 09:54:24 +09:00
Hongtao Zhang
f54c92402b rethrow instead of catching general exception 2024-05-23 12:54:03 -05:00
Jeremy Wu
1bbe0302fa
Merge pull request #2520 from flooxo/local_install
Feature: Add support for local plugin installation
2024-05-20 08:44:47 +10:00
Hongtao Zhang
cea1fcfe47 skip if method not found 2024-05-16 22:24:24 -05:00
Hongtao Zhang
59f3eeecf2 add a close overload for jsonrpcpluginv2 2024-05-16 22:21:35 -05:00
Jeremy
2606faae17 minor fixes & refactor 2024-05-16 21:22:08 +10:00
DB p
a628bc58b7 - Add Theme Editor
- Add Subtitle font style combobox
2024-05-14 17:58:32 +09:00
DB p
7fbea552c8 Add Vietnamese Support 2024-04-24 04:10:52 +09:00
Jeremy Wu
085de915d6
Merge pull request #2578 from Flow-Launcher/node-plugin-processinfo
fix node plugin, job object association, v2 context menu
2024-03-27 13:59:23 +11:00
dependabot[bot]
6877d7a73e
Bump Microsoft.IO.RecyclableMemoryStream from 2.3.2 to 3.0.0 (#2593) 2024-02-27 06:21:31 +00:00
dependabot[bot]
a0821f101d
Bump StreamJsonRpc and Microsoft.VisualStudio.Threading (#2594) 2024-02-27 05:52:38 +00:00
Hongtao Zhang
d3a05473b5 implement context_menu with JoinableTaskFactory 2024-02-19 11:10:05 -06:00
Hongtao Zhang
38c9641833 fix jsonrpcv2 plugin setting not sent 2024-02-19 10:21:33 -06:00
Hongtao Zhang
2882d18863 use HeaderDeliminatedHandler for NodePlugin while NewLineDeliminated for everything else 2024-02-18 23:46:24 -06:00
Hongtao Zhang
692eb13011 remove some duplicate code 2024-02-15 22:15:22 -06:00
Hongtao Zhang
f6b17023dc remove redundant information to merge into the process stream plugin 2024-02-15 22:14:03 -06:00
Hongtao Zhang
a27d5336df fix python plugin and node plugin
fix job process association the program plugin
2024-02-15 22:06:19 -06:00
Kevin Zhang
381f2fa13b
Merge pull request #2479 from Flow-Launcher/ignorenull-for-pluginstoreitem
ignore null datetimes for pluginstoreitem
2024-02-12 00:32:42 -06:00
VictoriousRaptor
a383856e46
Merge pull request #2557 from Yusyuriv/fix-nodejs-plugin-system
Fix Nodejs plugins not working
2024-02-11 15:53:02 +08:00
Garulf
cf48e532fa Remove short circuit on empty Settings 2024-02-11 02:33:48 -05:00
Yusyuriv
74970a6673 Fix Nodejs plugins not working 2024-02-10 19:59:52 +06:00
Hongtao Zhang
a524096fc2 Use job object to control child process 2024-02-06 13:07:21 -06:00
Hongtao Zhang
d5622367cc ignore null datetimes for pluginstoreitem 2024-01-13 23:49:08 -06:00
Hongtao Zhang
bdc9d02f93 update StreamJsonRPC, use System.Text.Json and apply serialization Option to the formatter; fix empty setting still trigger setting initialization 2023-12-10 02:26:43 -06:00
Garulf
ba45069d88
Merge branch 'dev' into move-exception-message-to-result 2023-12-10 02:20:00 -05:00
Hongtao Zhang
44fb863f07 minor fix jsonrpc errorstream and expect.txt 2023-11-26 09:33:34 -06:00
Garulf
f684883d72 Insure result is never in front of relevant results 2023-11-24 13:15:58 -05:00
Garulf
0e226d7a5b Reword title and subtitle 2023-11-24 13:15:29 -05:00
Garulf
a84e509aab Use proper error icon constant 2023-11-24 13:15:17 -05:00
Garulf
851df97649
Merge pull request #2430 from Flow-Launcher/Allow-SettingsChange-without-template-file
Improve JsonRPC plugin settings
2023-11-21 16:50:58 -05:00
Garulf
b63c4eb2bf Revert SettingsChanges to SettingsChange for backwards compatibility 2023-11-19 09:11:27 -05:00
Garulf
9275421c1c
Merge branch 'dev' into Allow-SettingsChange-without-template-file 2023-11-19 03:09:09 -05:00
Garulf
a86e7bcaa9 Remove save function from loop 2023-11-18 23:15:39 -05:00
Jeremy Wu
1fcb86174d
Merge pull request #2403 from Flow-Launcher/dependabot/nuget/FSharp.Core-7.0.401
Bump FSharp.Core from 7.0.400 to 7.0.401
2023-11-19 15:09:32 +11:00
Jeremy Wu
b3cb0fe737
Merge pull request #2428 from Flow-Launcher/concurrent-setting-jsonrpc
Use ConcurrentDictionary for JsonRPC Settings
2023-11-19 15:05:31 +11:00
Jeremy Wu
4efac50a8f
Merge pull request #2369 from VictoriousRaptor/delay-restart-2
Delay restart after installing/uninstalling/updating plugins
2023-11-19 15:01:51 +11:00
Garulf
ab7685e9ea Show a result error instead of popping up dialog 2023-11-18 21:45:06 -05:00
Garulf
5c90946a6e Save to file on update 2023-11-18 18:45:24 -05:00
Garulf
ba9aba2bff Allow new setting keys to be instantiated 2023-11-18 18:45:16 -05:00
Garulf
388688e89c Short circuit template UI process if doesn't exist 2023-11-18 18:44:27 -05:00
Garulf
b67e815022 Load template file only if exists 2023-11-18 18:44:01 -05:00
Garulf
93100c0330 Remove missing template file short circuit logic 2023-11-18 18:43:42 -05:00
Garulf
1cafae8278 Allow nullable for Configuration 2023-11-18 18:43:17 -05:00
Hongtao Zhang
3ec27edf75 Use ConcurrentDictionary for JsonRPC Settings 2023-11-18 14:22:54 -06:00
VictoriousRaptor
f6a4942a48 Refactor plugin zip logic
- Download zip to temp folder
- Unzip to unique folder
2023-11-11 16:11:21 +08:00
VictoriousRaptor
69dad1be6c Check if plugin has been modified when installing/updating/uninstalling 2023-11-11 15:05:24 +08:00
VictoriousRaptor
bf598887dd Make settings field private 2023-11-11 01:34:01 +08:00
VictoriousRaptor
54e255c504 Fix typo 2023-11-11 01:28:34 +08:00
VictoriousRaptor
e7ffd573f0 Move Install/Uninstall plugin logic to Core.PluginManager 2023-11-11 00:40:27 +08:00
Hongtao Zhang
7436aaa2bb switch back to jsonmessageformatter 2023-11-09 20:02:20 -06:00
dependabot[bot]
983a4c5687
Bump FSharp.Core from 7.0.400 to 7.0.401
Bumps [FSharp.Core](https://github.com/dotnet/fsharp) from 7.0.400 to 7.0.401.
- [Release notes](https://github.com/dotnet/fsharp/releases)
- [Changelog](https://github.com/dotnet/fsharp/blob/main/release-notes.md)
- [Commits](https://github.com/dotnet/fsharp/commits)

---
updated-dependencies:
- dependency-name: FSharp.Core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 21:22:47 +00:00
Hongtao Zhang
f5b1b4f830 rename and add js/ts v2 2023-11-03 21:16:51 -05:00
Hongtao Zhang
1c63cd9350 remove duplicate comment summary 2023-10-31 08:43:10 -05:00
Hongtao Zhang
3c2ea382ea Merge branch 'dev' of https://github.com/Flow-Launcher/Flow.Launcher into jsonrpc_v2 2023-10-31 08:39:51 -05:00
Jeremy Wu
c67d0faeaf
remove obsolete comment 2023-09-12 08:23:34 +10:00
Hongtao Zhang
63b2a07dd9 load unmanaged dll from dependencyResolver as well 2023-09-11 09:12:41 -05:00
Hongtao Zhang
20f23b01bb update streamjsonrpc and use systemtextjsonformatter 2023-08-28 18:57:12 +08:00
Jeremy Wu
29aefee390 remove irrelevant comment 2023-08-23 08:37:43 +10:00
dependabot[bot]
18774d3968
Bump FSharp.Core from 7.0.300 to 7.0.400
Bumps [FSharp.Core](https://github.com/dotnet/fsharp) from 7.0.300 to 7.0.400.
- [Release notes](https://github.com/dotnet/fsharp/releases)
- [Changelog](https://github.com/dotnet/fsharp/blob/main/release-notes.md)
- [Commits](https://github.com/dotnet/fsharp/commits)

---
updated-dependencies:
- dependency-name: FSharp.Core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 22:38:34 +00:00
Jeremy
9dacfb145a Merge remote-tracking branch 'origin/dev' into jsonrpc_v2 2023-08-07 13:16:26 +10:00
Jeremy Wu
0b95277aa4 update install folder name 2023-08-03 21:41:35 +10:00
Jeremy Wu
a74fdccaa2 Update Python to v3.11.4 2023-08-03 21:16:58 +10:00
VictoriousRaptor
6758447566
Fix name of Slovak language 2023-07-11 20:20:58 +08:00
Ioannis G
df149fae8a
increase plugin manifest fetch timeout to 2m 2023-07-08 13:41:52 +03:00
Ioannis G
2d6b476685
use Ctrl+R to fetch primary manifest source
from a `pm install` or `pm update` query

should help with #2048
2023-07-05 17:01:55 +03:00
Ioannis G
f03ac76494
throttle PluginsManifest.UpdateManifestAsync
avoid repeatedly fetching manifest data while the user is typing a `pm` query
2023-07-05 16:54:50 +03:00
Ioannis G
64f0da456f
refactor CommunityPluginSource.FetchAsync 2023-07-05 00:37:31 +03:00
Ioannis G
194dbabbde
add more manifest file fallback URLs 2023-07-05 00:01:13 +03:00
Ioannis G
f7b585803d
rework how we fetch plugins from manifest URLs
Introduces the concept of a store of community plugins, which is currently
limited to the official PluginsManifest repository.

Each store can support more than one manifest file URLs. When fetching, all
URLs are used until one of them succeeds. This fixes issues with geo-blocking
such as #2195

Plugin stores can be expanded in the future to be user-configurable, see #2178
2023-07-04 23:44:35 +03:00
VictoriousRaptor
c2c592966f
Add Arabic language 2023-07-04 19:54:39 +08:00
Kevin Zhang
c74374903d
Update AvailableLanguages.cs 2023-07-04 19:08:49 +08:00
Hongtao Zhang
24c125fd0d Merge remote-tracking branch 'origin/dev' into jsonrpc_v2
# Conflicts:
#	Flow.Launcher.Plugin/Query.cs
2023-07-03 16:48:46 +08:00
Hongtao Zhang
c50d98c5e2 Abstract out ProcessStreamPluginV2.cs and add ExecutablePluginV2.cs 2023-07-03 16:44:50 +08:00
Hongtao Zhang
e1deefc1d2 Add UpdateResults Functionality 2023-07-03 16:19:27 +08:00
Hongtao Zhang
0459d6e4fa fix v1 plugin issue
- Settings NullReference
- ExecutablePlugin not working
2023-07-03 12:58:44 +08:00
Hongtao Zhang
83a61109d7 fix error stream issue 2023-07-03 12:23:30 +08:00
Ioannis G
ea4286b7d3
clear backwards compat code 2023-06-26 14:08:23 +03:00
Ioannis G
340dc3c8bf
clear obsolete code from Flow.Launcher.Plugin 2023-06-26 14:08:18 +03:00
Hongtao Zhang
a971156519 Add Initialization Code 2023-06-25 18:18:41 +08:00
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
VictoriousRaptor
dcc7dbb918
Merge branch 'dev' into RemoveUnusedNuget 2023-06-11 18:36:04 +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
dependabot[bot]
bbaa388ff4
Bump FSharp.Core from 7.0.0 to 7.0.300 (#2163) 2023-06-01 06:29:41 +00:00
dependabot[bot]
31d80fe378
Bump Microsoft.IO.RecyclableMemoryStream from 2.3.1 to 2.3.2 (#2154) 2023-05-26 07:54:41 +00: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
dependabot[bot]
13ea226c53
Bump Microsoft.IO.RecyclableMemoryStream from 2.2.1 to 2.3.1 (#1903) 2023-02-16 05:23:23 +00:00