Commit graph

333 commits

Author SHA1 Message Date
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
Jeremy Wu
267f9dda58
Merge pull request #716 from Flow-Launcher/CulturalInfoChange
change cultural info when switching language
2021-11-03 06:59:13 +11: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
Kevin Zhang
255f8091a5 Add OnCultureInfoChanged to IPluginI18n to allow plugin do action when culture change 2021-10-29 22:16:13 -05:00
Kevin Zhang
47e074ca2a Merge branch 'dev' of github.com:Flow-Launcher/Flow.Launcher into add_windows_settings_plugin 2021-10-29 15:00:22 -05:00
Kevin Zhang
6e11f68e0d Merge branch 'CulturalInfoChange' into add_windows_settings_plugin 2021-10-29 14:58:42 -05:00
Kevin Zhang
5be44b68ea Add fody and use binding to change width 2021-10-21 23:31:51 -05:00
Kevin Zhang
fd70326b2d Merge branch 'dev' of github.com:Flow-Launcher/Flow.Launcher into PluginStore 2021-10-21 12:21:00 -05:00
DB p
6b37adaf07 - Remove Comment
- Add String "Window Width Size"
2021-10-21 23:40:17 +09:00
DB p
6af1262ca6 Adjust Width in Theme.cs 2021-10-21 18:16:05 +09: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
Kevin Zhang
1ce31505a6 Merge remote-tracking branch 'upstream/dev' into PluginStore 2021-10-16 21:09:32 -05:00
Kevin Zhang
c4f9dcbe90 Merge Dev (Conflict PluginsManifest Move) 2021-10-10 16:53:38 -05:00
Kevin Zhang
3d06404614 Move PluginsManifest to Flow.Launcher.Core & Change PluginStore Binding to PluginsManifest 2021-10-10 16:46:54 -05:00
Kevin Zhang
2af186736a Rename with async suffix and add lock to prevent concurrent update check 2021-10-09 11:34:41 -05:00
Jeremy
42dda34dbd add ItemHotkeyStyle key into dictionary 2021-10-08 22:25:02 +11:00
Dobin Park
e201df9619 - Fix Dropshadow
- Fix Progress Animation
- Add Progress Color
2021-10-05 00:55:28 +09:00
Dobin Park
1c96f04965 - Adjust base.xaml to match original(1.8) size for classic themes
- Adjust Querybox Width
- Add Width and height value for new themes
- Merge #722
2021-10-04 17:53:01 +09:00
Dobin Park
df3c5bf7b9 - Add ItemHotkeySelectedStyle Property
(for selected item styling for hotkey)
- It works non edited
- Add hotkey style property in all themes
  (But You can test sublime theme only.)
2021-10-02 14:29:31 +09:00
Kevin Zhang
cb9d7cf0c4 set ui culture as well 2021-09-29 14:35:33 -05:00
Kevin Zhang
aac60eaa24 change cultural info when switching language 2021-09-29 14:33:30 -05:00
Dobin Park
3a0594f99b - Changing Result item and hotkey layout
- Add Hightlight Styling
- Add New Themes and adjust classic themes
2021-09-27 20:00:46 +09:00
Jeremy Wu
03166ecd55
Merge pull request #654 from Flow-Launcher/DependencyBump
Bump applicable nuget packages to latest versions
2021-09-23 12:24:22 +10: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
fd794b8e77 Bump Dependency 2021-08-14 07:12:22 +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
9eaa0259b3 remove unused InternalsVisibleTo 2021-07-08 09:24:11 +10:00
Kevin Zhang
7e95cab786 Merge remote-tracking branch 'upstream/dev' into JsonRPCUnitTest 2021-07-05 22:16:31 +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
d34ad660c1 initial JsonRPCPlugin Unit Test 2021-07-03 20:31:34 +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
Jeremy Wu
55e7ce0d90
Merge pull request #532 from taooceros/ExceptionLogPartialOpt
Exception log partial opt
2021-06-30 06:29:46 +10: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
b5272ddb47 allow main query window's width to be dynamic 2021-06-29 09:21:53 +10:00
Jeremy
aa34a0202d set blur when theme change is called 2021-06-29 07:00:01 +10:00
Jeremy
52fbebf2d6 prompt user restart required when blur theme is selected first time 2021-06-27 22:14:33 +10:00
Jeremy
6a6d6b22ee auto disable shadow when blur is enabled 2021-06-27 21:42:37 +10: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 Wu
64f6c0f60e update Droplex 2021-06-18 22:48:30 +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
Jeremy Wu
6868544bfc
Merge pull request #472 from lzl1918/lzl1918/AddMarginForShadows
Add Margin When Enabling Box Shadows
2021-06-13 16:21:19 +10:00
Zelin Liao
ef73c926d0 Add Margin When Enabling Box Shadows 2021-06-12 22:38:40 +08: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
弘韬 张
bad5504de4 Change object to byte to reduce overhead 2021-04-12 19:34:58 +08:00
弘韬 张
78d8dbbc14 Use ConcurrentDictionary instead of List 2021-04-12 18:44:08 +08:00
Jeremy Wu
9d4af83fef
Merge pull request #390 from Flow-Launcher/PluginAncestor
Make IPlugin inherit from IAsyncPlugin
2021-04-01 07:23:28 +11:00
弘韬 张
ab7d00eacc Make IPlugin inherit from IAsyncPlugin 2021-03-23 17:40:27 +08:00
弘韬 张
6430e2562d Use EnumerateDirectories instead of GetDirectories 2021-03-18 11:43:41 +08:00
Jeremy Wu
890f114931
Merge pull request #364 from Flow-Launcher/FixUpdateCancelledException
change taskcanceledexception to operationcanceledexception
2021-02-25 14:12:48 +11:00
弘韬 张
36678059a0 Merge branch 'AvoidDuplicateAssemblyLoad' of github.com:taooceros/Flow.Launcher into AvoidDuplicateAssemblyLoad 2021-02-24 20:38:59 +08:00
弘韬 张
a4b7bc5221 Use AppDomain to retrive the assembly that has been loaded, which contains the version 2021-02-24 20:37:43 +08:00
Jeremy Wu
81926c04cd remove extra space 2021-02-24 22:01:11 +11:00
Jeremy Wu
84257aa5d9 update PluginAssemblyLoader comment 2021-02-24 21:57:18 +11:00
弘韬 张
9e343ebff4 remove extra line 2021-02-24 18:52:10 +08:00
弘韬 张
03df6e4585 add comment back and remove extra empty line 2021-02-24 18:49:01 +08:00
弘韬 张
7739ac73fd change exception handling in Updater and WebSearch suggestion source 2021-02-24 15:55:03 +08:00
弘韬 张
8e529c1317 Merge remote-tracking branch 'upstream/dev' into FixUpdateCancelledException 2021-02-24 15:43:46 +08:00
弘韬 张
0b51a8c467 rename method 2021-02-24 12:46:51 +08:00
弘韬 张
d161faebbb make referencedPluginPackageDependencyResolver static 2021-02-24 12:44:42 +08:00
弘韬 张
6804b93a8d remove comment regarding newtonsoft.json 2021-02-24 12:42:13 +08:00
弘韬 张
d81a4a7fa3 avoid dupplicate assembly load 2021-02-24 12:37:57 +08:00
Jeremy Wu
f4c77fb67b Merge branch 'dev' into DotNet5Upgrade 2021-02-23 21:01:39 +11:00
弘韬 张
e2fa9683b9 change taskcanceledexception to operationcanceledexception 2021-02-23 09:36:37 +08:00
弘韬 张
0981be499f Use PortablePDB instead of Full pdb for debugging 2021-02-22 13:16:48 +08:00
弘韬 张
2f9d4d129e add taskcanceledexception to updater exception catch 2021-02-21 15:46:04 +08:00
Jeremy Wu
dec9941cce
Merge pull request #346 from taooceros/fixSuggestSource
Remove unused check for Stream length
2021-02-16 19:10:37 +11:00
弘韬 张
307cb305f0 Remove unused check for Stream length 2021-02-16 10:50:48 +08:00
Jeremy Wu
6c42458ef1
Merge pull request #331 from taooceros/JSONRPCModelOpt
JSONRPC Async Model
2021-02-16 13:47:30 +11:00
Jeremy Wu
ab4e3f87cb Merge branch 'dev' into DotNet5Upgrade 2021-02-16 07:46:20 +11: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