Commit graph

752 commits

Author SHA1 Message Date
Jack251970
2716c40c0b Move MessageBoxEx to main project for better development experience 2025-01-09 21:50:07 +08:00
Jack251970
88e84378da Use api in app extensions to call api functions 2025-01-09 21:44:24 +08:00
Jack251970
8b910500c6 Add IApp & AppExtensions for accessing the properties & functions from anywhere in the application 2025-01-09 21:43:33 +08:00
Jack251970
381e64e697 Move ProgressBoxEx to main project for better development experience 2025-01-09 21:13:24 +08:00
Jack251970
6220b34aab Fix dulplicated close event 2025-01-09 17:33:39 +08:00
Jack251970
122887e6a6 Await close event from non-ui thread 2025-01-09 16:37:52 +08:00
Jack251970
8aebf958aa Check ui thread when calling close function & Update documents 2025-01-09 12:13:46 +08:00
Jack251970
3ccd8b42ae Move SystemLanguageCode to constant 2025-01-06 16:58:08 +08:00
Jack251970
d0bab86377 Improve code quality 2025-01-05 00:11:03 +08:00
Jack251970
54f02e04e6 Use public api for ProgressBoxEx & Add support for force close event 2025-01-05 00:08:56 +08:00
Jack251970
562b233c15 Add progress box support for downloading plugin 2025-01-04 23:11:13 +08:00
Jack251970
0ae3cfcdd6 Add display translation for system language item 2025-01-02 18:50:02 +08:00
Jack251970
921d6a3beb Add support for system language item 2025-01-02 18:47:25 +08:00
Jack251970
6f899092b5 Move dll import codes to win32 helper 2024-12-24 11:59:04 +08:00
Hongtao Zhang
26b33b9e13 add Hebrew in available languages 2024-12-14 10:22:09 -06:00
Jeremy Wu
1f81ea09f1
Merge pull request #3106 from Flow-Launcher/dependabot/nuget/StreamJsonRpc-2.20.20
Bump StreamJsonRpc from 2.19.27 to 2.20.20
2024-12-08 16:32:58 +11:00
Jeremy
676a5b1590 add defaults to MessageBoxEx Show & update WebSearch to use api call 2024-12-07 22:21:08 +11:00
Yusyuriv
d5dd7b44a4
Use PYTHONDONTWRITEBYTECODE instead of -B flag when running Python plugins 2024-12-05 17:37:54 +06:00
Yusyuriv
fa8cd548f6
Add ., ./lib, ./plugin directories to path for Python plugins 2024-12-05 14:18:13 +06:00
dependabot[bot]
de82819a4a
Bump StreamJsonRpc from 2.19.27 to 2.20.20
Bumps [StreamJsonRpc](https://github.com/microsoft/vs-streamjsonrpc) from 2.19.27 to 2.20.20.
- [Release notes](https://github.com/microsoft/vs-streamjsonrpc/releases)
- [Commits](https://github.com/microsoft/vs-streamjsonrpc/commits)

---
updated-dependencies:
- dependency-name: StreamJsonRpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 23:35:05 +00:00
Kevin Zhang
b5c264fbb5
Merge branch 'dev' into taooceros-patch-1 2024-12-01 21:07:03 -08:00
Jack251970
5312505d2a Improve code quality 2024-11-27 22:27:30 +08:00
Jack251970
5d8f277aa0 Use image loader to load image 2024-11-27 22:16:52 +08:00
Jack251970
7ba8d58bfc Improve result handle & Improve exception support 2024-11-27 09:20:28 +08:00
Jack251970
7cb17ab404 Improve title display experience & Fix three button dialog display issue & Improve close button behaviour 2024-11-26 22:34:30 +08:00
Jack251970
32c138b9fd Improve MessageBoxEx show function, making experience like System.Windows.MessageBox 2024-11-26 22:02:24 +08:00
Jack251970
897fd7aaba Replace Flow.Launcher.Core.MessageBoxType & MessageBoxImage with System.Windows.MessageBoxButton & MessageBoxImage
Remove useless warning file
2024-11-26 21:31:13 +08:00
Jack251970
4bc9e86a27 Improve MessageBoxEx style as System.Windows.MessageBox 2024-11-25 12:06:33 +08:00
Jack251970
b30cc4fc38 Replace System.Windows.MessageBox with MessageBoxEx 2024-11-25 10:38:43 +08:00
Jack251970
fd78972c2f Improve OK MessageBoxEx display style 2024-11-24 22:12:43 +08:00
Jack251970
ab087bd927 Remove useless columns 2024-11-24 22:08:50 +08:00
Jack251970
6feca10bdb Improve MessageBoxEx paramters as System.Windows.MessageBox for readability 2024-11-24 16:30:35 +08:00
Jack251970
3ae960d275 Replace System.Windows.Message with MessageBoxEx 2024-11-24 16:11:53 +08:00
dependabot[bot]
c701419a95
Bump FSharp.Core from 8.0.401 to 9.0.100
Bumps [FSharp.Core](https://github.com/dotnet/fsharp) from 8.0.401 to 9.0.100.
- [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-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 22:08:47 +00:00
Kevin Zhang
5a80adcbfe
Send a reload request with ctx when reloading 2024-11-17 23:59:43 -06:00
Yusyuriv
1bdfc3009d
Add using when creating a file/folder dialog 2024-11-03 13:28:24 +06:00
Yusyuriv
6604710a3f
Fix inputWithFileBtn not working in SettingsTemplate.yml 2024-11-03 12:42:14 +06:00
dependabot[bot]
b5fbc82ea2
Bump FSharp.Core from 8.0.301 to 8.0.401
Bumps [FSharp.Core](https://github.com/dotnet/fsharp) from 8.0.301 to 8.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>
2024-10-21 22:22:27 +00:00
dependabot[bot]
e31e75e8e4
Bump StreamJsonRpc and Microsoft.VisualStudio.Threading
Bumps [StreamJsonRpc](https://github.com/microsoft/vs-streamjsonrpc) and Microsoft.VisualStudio.Threading. These dependencies needed to be updated together.

Updates `StreamJsonRpc` from 2.18.48 to 2.19.27
- [Release notes](https://github.com/microsoft/vs-streamjsonrpc/releases)
- [Commits](https://github.com/microsoft/vs-streamjsonrpc/commits)

Updates `Microsoft.VisualStudio.Threading` from 17.9.28 to 17.10.48

---
updated-dependencies:
- dependency-name: StreamJsonRpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: Microsoft.VisualStudio.Threading
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 22:19:05 +00:00
Jeremy Wu
89e430f41f
add comment 2024-08-11 20:56:03 +10:00
Jeremy Wu
7e3690f007
add comment 2024-08-11 20:54:10 +10:00
Yusyuriv
81e5eaf10d
Fix startup localization issues 2024-08-10 09:23:47 +06:00
Jeremy Wu
39f6cd6b7f
Merge pull request #2769 from Flow-Launcher/localize-missing-python-js-dialog
Localize startup messages about missing Python/NodeJS
2024-07-22 22:43:24 +10:00
dependabot[bot]
331992700a
Bump FSharp.Core from 8.0.300 to 8.0.301
Bumps FSharp.Core from 8.0.300 to 8.0.301.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 22:27:40 +00:00
dependabot[bot]
74aea87828
Bump StreamJsonRpc from 2.17.11 to 2.18.48
Bumps StreamJsonRpc from 2.17.11 to 2.18.48.

---
updated-dependencies:
- dependency-name: StreamJsonRpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 22:07:46 +00:00
Yan
8ccce077d0
Merge branch 'dev' into localize-missing-python-js-dialog 2024-06-27 11:11:32 +06:00
Yusyuriv
1c2d9e8f52
Remove unnecessary spaces 2024-06-27 11:10:50 +06:00
Yusyuriv
bfd8dfe2e1
Localize plugin init fail message 2024-06-27 11:10:12 +06:00
Yusyuriv
d502f1dd25
Correctly load plugin localization files 2024-06-27 11:05:18 +06:00
dependabot[bot]
44d8af33f2
Bump Meziantou.Framework.Win32.Jobs from 3.2.1 to 3.4.0
Bumps [Meziantou.Framework.Win32.Jobs](https://github.com/meziantou/Meziantou.Framework) from 3.2.1 to 3.4.0.
- [Commits](https://github.com/meziantou/Meziantou.Framework/commits)

---
updated-dependencies:
- dependency-name: Meziantou.Framework.Win32.Jobs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 11:50:26 +00:00
dependabot[bot]
83830472cb
Bump FSharp.Core from 7.0.401 to 8.0.300
Bumps [FSharp.Core](https://github.com/dotnet/fsharp) from 7.0.401 to 8.0.300.
- [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-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 23:09:41 +00:00
Yan
597eaa0864
Merge branch 'dev' into localize-missing-python-js-dialog 2024-06-20 05:50:34 +06:00
dependabot[bot]
ec93ff3e97
Bump Microsoft.IO.RecyclableMemoryStream from 3.0.0 to 3.0.1
Bumps [Microsoft.IO.RecyclableMemoryStream](https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream/releases)
- [Changelog](https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream/blob/master/CHANGES.md)
- [Commits](https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream/compare/3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: Microsoft.IO.RecyclableMemoryStream
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 22:38:11 +00:00
Yan
a3c7b2b40f
Merge branch 'dev' into localize-missing-python-js-dialog 2024-06-17 05:33:32 +06:00
Jeremy
03686dd935 Merge remote-tracking branch 'origin/dev' into quicklook 2024-06-12 14:22:24 +10:00
Jeremy
4dbecb1b5a allow preview plugin to override the AlwaysPreview setting 2024-06-12 14:14:25 +10:00
Yusyuriv
ca970bbe75
Localize startup messages about missing Python/NodeJS 2024-06-09 18:45:23 +06:00
DB P
2fae06d8ae
Merge branch 'dev' into 240518Adjusthemes 2024-06-08 07:33:19 +09:00
Hongtao Zhang
87871b1080 fix process exited before calling "close" method on dispose. 2024-06-05 19:29:24 -05:00
Yusyuriv
f58c95057a
Theme metadata adjustments 2024-06-03 13:25:42 +06:00
DB p
20b0db3f30 - Change BlurAmount to Bool
- Adjust Theme List layout
2024-06-02 22:42:40 +09:00
Yusyuriv
4ec7647d8c
Add theme metadata 2024-06-02 18:17:42 +06:00
Jeremy
f902eaed0d Merge remote-tracking branch 'origin/dev' into quicklook 2024-05-29 21:17:09 +10:00
Jeremy
666211dd4c add plugin support for external preview 2024-05-28 21:27:48 +10:00
DB P
e39a7ed2be
Merge branch 'dev' into 240514ResizableWindow 2024-05-28 10:06:03 +09:00
Kevin Zhang
aad9fdc1c5
Merge pull request #2700 from Flow-Launcher/jsonrpc-cleanup
add a close overload for jsonrpcpluginv2
2024-05-26 23:52:48 -07:00
Hongtao Zhang
b4a33479c6 dispose other stuff in finally block 2024-05-27 01:15:00 -05:00
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
dependabot[bot]
2809dd4dfb
Bump FSharp.Core from 6.0.6 to 7.0.0 (#1807) 2023-02-11 05:11:38 +00:00
Hongtao Zhang
704c26ca3d
Merge branch 'dev' of github.com:Flow-Launcher/Flow.Launcher into net7.0 2023-02-04 11:52:15 -06:00
Jeremy Wu
9be71e8e60
Merge pull request #1762 from Flow-Launcher/safer_updater
Safer Updater
2023-01-23 09:12:09 +11:00
Hongtao Zhang
a7afa171e0
catch exception when killing unused jsonrpc process 2023-01-12 15:52:43 -06:00
Hongtao Zhang
48d3193876
Fix spelling 2023-01-09 09:56:48 -06:00
Hongtao Zhang
4a0891cac7
revise theme structure to achieve the property update 2023-01-09 09:39:50 -06:00
Hongtao Zhang
f5d3acbe23
Catch General Exception when checking update, and use PeriodicTimer to avoid error to crash the main thread 2023-01-03 23:23:56 -05:00
Hongtao Zhang
db354a23a5
Update to .Net 7 2022-12-30 19:12:11 -05:00
Vic
44438de7df Fix typo 2022-12-31 01:49:30 +08:00
Jeremy Wu
bb41da6fb8
New Crowdin updates (#1734) 2022-12-30 22:04:56 +09:00
Jeremy
d386735301 Merge remote-tracking branch 'origin/dev' into add_nodejs_env 2022-12-25 05:09:16 +11:00
Vic
b30ace993a Fix namespace of LocalizationConverter 2022-12-21 15:51:17 +08:00
Vic
3b95b90f1c Move TranslationConverter to Core 2022-12-21 15:50:41 +08: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
d2658c710c add null check 2022-12-06 17:57:27 +11:00
Jeremy
0daf52faec remove PythonEmbeddable folder regardless if it's being used or not 2022-12-06 17:38:18 +11:00
Jeremy
cef53bce96 add empty string defaults to plugin executable paths 2022-12-02 19:27:04 +11:00
Jeremy
e28906de9e rename method 2022-12-02 08:53:57 +11:00
Jeremy
e1e89514d4 remove duplicated updater pre-startup methods 2022-12-01 20:58:31 +11:00
Jeremy
87e49cdb7c formatting 2022-12-01 20:35:23 +11:00
Jeremy
5975b6e5c8 plugin env paths correction after update or mode change 2022-12-01 14:40:24 +11: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
dependabot[bot]
843c9e1d92
Bump Microsoft.IO.RecyclableMemoryStream from 2.1.3 to 2.2.1
Bumps [Microsoft.IO.RecyclableMemoryStream](https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream) from 2.1.3 to 2.2.1.
- [Release notes](https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream/releases)
- [Changelog](https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream/blob/master/CHANGES.md)
- [Commits](https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream/compare/2.1.3...2.2.1)

---
updated-dependencies:
- dependency-name: Microsoft.IO.RecyclableMemoryStream
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 22:16:37 +00:00
Jeremy Wu
07bc2a70b6 remove PythonEmbeddable location 2022-11-28 21:22:49 +11:00
Jeremy Wu
9eb5489863 update setting's environment file paths after app update 2022-11-28 08:44:42 +11:00
Jeremy Wu
2dba51861f Merge remote-tracking branch 'origin/dev' into add_nodejs_env 2022-11-27 12:48:07 +11:00
Kevin Zhang
5b2990cbe9
Merge pull request #1568 from VictoriousRaptor/FixNewCultureInfo
[Dev] Fix new culture info
2022-11-24 23:49:13 -06:00
Vic
30987f9c95 Use DefaultThreadCurrentCulture for culture in app domain 2022-11-25 12:11:24 +08:00
Jeremy Wu
5bc6acff8b
Merge pull request #1351 from Flow-Launcher/handle-icon-urls
Allow plugins to use web URL's for icon paths
2022-11-25 13:50:30 +11:00
Vic
a15a408077 Store CultureInfo in i18n manager 2022-11-24 20:05:07 +08:00
Vic
2a1d917243 Translate hard-coded English text in Pinyin dialog 2022-11-24 12:32:08 +08:00
Jeremy Wu
6561253483 ensure latest only when using Flow's env setup 2022-11-22 09:28:29 +11:00
Jeremy Wu
4e48c3eb10 refactor 2022-11-22 09:20:27 +11:00
Jeremy Wu
c7cee4ae85 add ensure latest installation 2022-11-21 09:28:16 +11:00
Jeremy Wu
c01371393e Merge remote-tracking branch 'origin/dev' into add_nodejs_env 2022-11-20 10:25:53 +11:00
Kevin Zhang
ff2ebc87a8
Merge branch 'dev' into handle-icon-urls 2022-10-30 14:50:31 -05:00
Hongtao Zhang
e9bf62ed08
Revert "Merge branch 'handle-icon-urls' of https://github.com/Flow-Launcher/Flow.Launcher into handle-icon-urls"
This reverts commit cae0b7be77, reversing
changes made to ba0aee14ba.
2022-10-30 14:23:04 -05:00
Jeremy
2dcd4d7b9c centralise all plugin env folders in Environments directory 2022-10-28 20:25:51 +11:00
Jeremy
f76e2962e6 update set plugin path for python 2022-10-28 20:09:30 +11:00
Jeremy
4b0d17c81c set Constant env paths variables when PlugingSettings is set 2022-10-25 21:54:00 +11:00
Jeremy
76c0f03bc2 update python directory to python file directory 2022-10-25 21:03:01 +11:00
Jeremy
5263bf50dd add filter to file dialog for selecting Python exe 2022-10-25 20:25:04 +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
DB P
5eca0963ea
Merge branch 'dev' into InstalledLabel5 2022-10-13 13:17:44 +09:00
dependabot[bot]
7e48c26c0a
Bump FSharp.Core from 5.0.2 to 6.0.6 (#1466) 2022-10-12 20:32:39 +00:00
Jeremy Wu
2d8de9b7a5
formatting 2022-10-11 21:40:25 +11:00
Hongtao Zhang
bc47671129
User ViewModel to separate logic 2022-10-08 01:57:41 -05:00
DB p
5e7ee68160 Merge branch 'PluginSearchTextBox' into InstalledLabel5 2022-10-08 09:36:29 +09:00
DB p
26b14c4b5f Add Install/New/Updated Label in plugin store 2022-10-07 16:46:34 +09:00
Jeremy Wu
8ded9d60f5
Merge pull request #1382 from onesounds/AdjustDesign
Adjust designs & Texts
2022-09-28 21:54:23 +10:00
Hongtao Zhang
b8526f20a8
check query for null (I don't know how this can happen) 2022-09-19 15:48:28 -05:00
DB p
2c8cfa51df Add Margin for Shadow 2022-09-15 11:01:13 +09:00
DB p
df4acaedba Change Shadow Style 2022-09-15 10:53:54 +09: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
4a05a32e1f Remove explicit platform from AssemblyInfo
While it reflects reality it may prevent some launches on systems that
are happily using Flow without hitting specific APIs.
2022-08-07 21:46:36 -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
8498a15ff0
update comment 2022-07-28 20:23:39 +10:00
Oren Nachman
9ac822fe3d
Merge branch 'Flow-Launcher:dev' into dev 2022-07-25 09:49:32 +10: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
Oren Nachman
272197788b Force reload theme resources when changing fonts etc in settings (#625, #637)
This will mean that changing some settings will be a bit slower than before, especially when enabling blur which will reload resources twice but this is negligible and only hits in settings.
2022-07-19 10:49:33 -07:00
Hongtao Zhang
0dcf2ba522
Fix a missing logic of updating language in plugin;Adjust Resource Name to match the culture we use; Adjust some of the key name; Put Tasklink item into culture 2022-06-11 02:45:56 -05:00
Kevin Zhang
0406a8d23e
Merge branch 'dev' into Remove-trim-from-query 2022-05-31 06:42:07 -05:00
Jeremy Wu
e6f5807782 Merge branch 'dev' into Dotnet6 2022-05-23 13:53:15 +10:00
Jeremy
90027d42d2 update Python download mirrors 2022-05-07 20:01:54 +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
134de28246 add Spanish and Spanish Latin America to language selection 2022-03-19 20:38:03 +11: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
Ioannis G
a5b8b0dcb2
add Http.SendAsync, refactor PluginsManifest to use it 2022-01-11 16:07:25 +02:00
Ioannis G
4d0c57f52f
pull plugin manifest file from jsdelivr CDN 2022-01-11 15:14:11 +02:00
Ioannis G
35e043859c
pass CancellationToken to PluginsManifest.UpdateManifestAsync 2022-01-11 06:12:10 +02:00
Ioannis G
33fb0ddee6
refactor PluginsManifest to use conditional requests 2022-01-11 06:00:14 +02:00
Kevin Zhang
f9d608840d Upgrade to .net 6 2021-12-28 11:36:28 -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
Hongtao Zhang
a42df2aacd Suppress Startup Update error Notifcation 2021-12-19 11:37:38 -06:00
Hongtao Zhang
5ae9ee46c0 Suppress Startup Manifest Download Error Notification 2021-12-19 11:37:38 -06: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
Kevin Zhang
4affa2ed4a
Add Crowdin Integration (#826)
* Create crowdin.yml
* New translations en.xaml (German)
* New translations en.xaml (Korean)
* New translations en.xaml (Slovak)
* New translations en.xaml (Chinese Simplified)
* New translations en.xaml (German)
* New translations en.xaml (Turkish)
* New translations en.xaml (Chinese Simplified)
* New translations en.xaml (Chinese Traditional)
* New translations en.xaml (German)
* New translations en.xaml (Korean)
* New translations en.xaml (Polish)
* New translations en.xaml (Slovak)
* New translations en.xaml (Turkish)
* New translations en.xaml (Chinese Simplified)
* New translations en.xaml (Chinese Traditional)
* New translations en.xaml (Chinese Simplified)
* New translations en.xaml (Slovak)
* New translations en.xaml (Chinese Simplified)
* New translations en.xaml (Chinese Simplified)
* New translations en.xaml (Chinese Simplified)
* New translations en.xaml (Chinese Simplified)
* New translations en.xaml (Korean)
* New translations en.xaml (Chinese Simplified)
* New translations en.xaml (Chinese Simplified)
* New translations en.xaml (Slovak)
* New translations en.xaml (Korean)
* New translations en.xaml (Slovak)
* New translations en.xaml (Slovak)
* New translations en.xaml (Slovak)
* New translations en.xaml (Slovak)
* New translations en.xaml (Slovak)
* New translations en.xaml (Slovak)
* New translations en.xaml (Slovak)
* New translations en.xaml (Slovak)
* New translations en.xaml (Slovak)
* New translations en.xaml (Chinese Simplified)
* Add Portuguese (Portugal) Language
* Update Crowdin configuration file
* Update Crowdin configuration file
* Apply suggestions from code review

Co-authored-by: Jeremy Wu <jeremy24wu@gmail.com>
Co-authored-by: Vladimír Kubala <37414585+kubalav@users.noreply.github.com>
2021-12-06 22:21:43 +11:00
Jeremy
a701b48511 Merge remote-tracking branch 'origin/dev' into add_windows_settings_plugin 2021-12-01 05:56:36 +11:00
Garulf
fffaa898f7
Provide Flow info in ENVs 2021-11-30 03:36:38 -05:00
Kevin Zhang
1990a7edfd Merge remote-tracking branch 'upstream/dev' into add_windows_settings_plugin 2021-11-29 17:53:31 -06: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
5daf906832 Merge branch 'dev' of github.com:Flow-Launcher/Flow.Launcher into JsonRPCPluginSettingControl 2021-11-14 11:47:08 -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
DB p
09992fa9df merge dev for fix conflict 2021-11-05 10:12:22 +09:00
Jeremy Wu
0a74766b9a
remove obsolete comment 2021-11-05 07:39:10 +11:00