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
弘韬 张
aabb820f6f
Optimize ToString() method override
2021-02-14 12:03:49 +08:00
弘韬 张
a37f1918ae
Update all profile to dotnet 5
2021-02-12 03:17:13 +08:00
Jeremy Wu
20f895c781
upgrade Droplex to use mirror site
2021-02-10 21:17:16 +11: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
Jeremy Wu
f3d0b88616
remove task
2021-02-05 08:08:33 +11:00
Jeremy Wu
385fabe81b
Merge branch 'dev' into add_python_installation
2021-02-04 21:18:57 +11:00
弘韬 张
d0b94c5b81
specify name for property to avoid property collision
2021-02-03 17:50:36 +08:00
弘韬 张
eeaa6f920d
add null check before updateresultmanifest
2021-02-03 17:50:21 +08:00
Jeremy Wu
4933a2e28c
add python installation
2021-01-31 17:49:08 +11:00
弘韬 张
c5791b838d
fix untranslaed string in updator
2021-01-23 12:20:52 +08:00
Jeremy Wu
539f4bf4c4
add eol
2021-01-17 19:10:26 +11:00
Jeremy Wu
114c12bdaf
formatting and description
2021-01-17 18:47:19 +11:00
弘韬 张
971d374582
Merge Dev
2021-01-07 21:43:32 +08:00
弘韬 张
a9aeecdabd
Merge remote-tracking branch 'upstream/dev' into UpdateJson
2021-01-07 10:58:17 +08:00
弘韬 张
63a9e03d89
format QueryForPlugin code
2021-01-06 19:33:55 +08:00
弘韬 张
29ab9db7ce
fix reloaddata not working and refactor Init code
2021-01-06 19:11:58 +08:00
弘韬 张
ecf2a7a1f7
change plugin type in pluginLoader for Release
2021-01-03 10:43:05 +08:00
弘韬 张
731c3cdcbc
Use OperationCancelledException instead of catch Exception and check
2021-01-03 10:37:36 +08:00
弘韬 张
1c20069598
Rebase to Dev
2021-01-03 10:35:18 +08:00
弘韬 张
69cb8e6147
Reload IAsyncReloadable concurrently
2021-01-03 10:33:59 +08:00
张弘韬
b8f7d89970
Allows Loading both IPlugin and IAsyncPlugin
2021-01-03 10:33:58 +08:00
张弘韬
3cd609377e
Plugin Async ModelAdd Full Async model, including AsyncPlugin and AsyncReloadable
2021-01-03 10:33:10 +08:00
弘韬 张
4a2e6db355
Merge branch 'InformUserWhenUpdateFail' of github.com:taooceros/Flow.Launcher into InformUserWhenUpdateFail
2020-12-31 13:07:04 +08:00
弘韬 张
12b19cf122
Merge Dev
2020-12-31 13:06:56 +08:00
弘韬 张
d28b14ff2d
Replace All use of Json.Net with System.Text.Json
2020-12-30 13:40:42 +08:00
弘韬 张
d4f94c66ac
Make InstallOrUpdate to async
2020-12-29 18:33:53 +08:00
弘韬 张
efa4908f37
Change usage of Http in Updater.cs and adding ConfigureAwait(false) for await in checking update
2020-12-29 17:55:09 +08:00
弘韬 张
0c97db04d4
1. Change Get method Name to GetAsync
...
2. Manually replace "#" with "%23" to solve the similar issue in Explorer plugin
3. Add GetAsync method with Uri as argument
4. Remove unused encoding argument
5. Change exception type for WebSearch Plguin
6. Update Comment
2020-12-29 17:50:56 +08:00
弘韬 张
d015fce20d
Merge Upstream
2020-12-29 17:08:17 +08:00
张弘韬
acd631be08
Change wording
2020-12-21 19:09:18 +08:00
弘韬 张
cbfa3f354d
Inform user when checking update fail or update fail, and wrap all code in one try catch instead of catch each exception seperately since they are all same kind of exception.
...
Use using instead of manually dispose.
2020-12-20 17:44:46 +08:00
Jeremy Wu
8c136580e2
remove InstallPlugin method from API
...
- do not allow InstallPlugin method to be called via API
- move InstallPlugin functionality to PluginsManager for use exclusively
2020-12-08 21:59:45 +11:00
Jeremy Wu
ac6dea1322
clear whitespaces, no code changes
2020-11-30 07:31:38 +11:00
弘韬 张
5a9c631577
Use PropertyChange event to change text when language has changed.
2020-11-29 20:50:28 +08:00
Jeremy Wu
83ccfac04f
move Themes string to Constant
2020-11-16 06:29:24 +11:00
Jeremy Wu
48faa99ab5
Merge branch 'dev' into fix_plugin_depenedency_loading
2020-10-25 10:48:30 +11:00
弘韬 张
a16cc5be8d
Move Old HttpWebRequest to HttpClient Instance (solve connection timeout)
2020-10-14 10:48:43 +08:00
Jeremy Wu
a77d0380d3
update method name typo
2020-09-22 08:57:21 +10:00
Jeremy Wu
7fd9c87bd1
remove excess or duplicated package references
...
- since we have fixed how dependencies are resolved for plugins, these excess or duplicated package references can be safely removed
- for example Newtonsoft.Json can be removed from default plugins as it is included in Flow.Launcher.Plugin project, and external plugins will be resolved to use the reference there
2020-09-22 07:17:01 +10:00
Jeremy Wu
a8eda14260
update dependency resolver to cater for existing dependency in Plugin
...
if the assembly already referenced in Flow.Launcher.Plugin then ignore it
2020-09-21 15:44:14 +10:00
Jeremy Wu
1e5d7bd928
add class to load assembly and resolve dependencies for each plugin
2020-09-16 21:12:43 +10:00
Jeremy Wu
59a18370ef
remove in use obsolete GetAllRemainingParameter and use Search
2020-08-04 20:10:42 +10:00
Jeremy Wu
f63660624e
add update messages to indicate progress
2020-07-06 08:00:22 +10:00
Jeremy Wu
df931e8ddf
move query suggestion styling to base.xml
2020-07-05 21:12:28 +10:00
Ioannis G
ad006a2c62
Core/Portable: update logging, exception handling
...
also update comments in `PreStartCleanUpAfterPortabilityUpdate`
2020-06-26 17:37:37 +03:00
Ioannis G
3a712b7e02
Core/Portable: switch back to using statements
2020-06-26 17:36:25 +03:00
Ioannis G
8a5dc55a1b
update text message when launcher update fails
...
closes #10
2020-06-25 04:07:46 +03:00
Ioannis G
4205db293e
refactor Core.Plugin.PluginManager
2020-06-25 03:42:15 +03:00
Ioannis G
0d9cfd65a2
refactor Core.Plugin.PluginsLoader (continued)
2020-06-25 02:59:06 +03:00
Ioannis G
35cf51f82f
refactor Core.Plugin.PluginsLoader
2020-06-25 01:55:20 +03:00
Ioannis G
94a2393221
refactor Core.Plugin.PluginInstaller
2020-06-25 00:47:01 +03:00
Ioannis G
4ac19251d1
refactor Core.Configuration.Portable
2020-06-25 00:47:00 +03:00
Ioannis G
0ddd7f24f4
define plugin metadata file name as constant
2020-06-25 00:46:59 +03:00
Ioannis G
4abc9d8551
refactor Core.Plugin.PluginConfig
2020-06-25 00:46:58 +03:00
Ioannis G
2fd318fcbf
refactor logging in Core.Plugin.PluginInstaller
2020-06-25 00:46:37 +03:00
Jeremy Wu
7f23ac4909
remove unintended space before text
2020-05-26 19:10:40 +10:00
Jeremy Wu
5cf85b46de
per comment
...
Add refer to logs message + warning icon
2020-05-26 14:11:20 +10:00
Jeremy Wu
9058afd1b0
Update error messages
2020-05-22 06:48:03 +10:00
Ioannis G
ba163974bb
Merge branch 'dev' into add_handling_typereflectionerror
2020-05-21 17:20:38 +03:00
Jeremy Wu
cd2037dfae
Merge branch 'dev' into feat_appveyor
2020-05-21 13:25:43 +10:00
Ioannis G
04b48eb616
downgrade PropertyChanged.Fody to 2.5.13
...
This is the latest version of the package that copies itself to the
build output. Downgrading fixes runtime errors.
2020-05-21 03:08:08 +03:00
Jeremy Wu
3a472a34e4
update
2020-05-21 09:04:28 +10:00
Jeremy Wu
9bddbe8455
Add references
2020-05-21 09:02:51 +10:00
Jeremy Wu
ecbcc5923f
Add error message to inform user of failed plugins
2020-05-21 08:47:09 +10:00
Jeremy Wu
960593eb58
Add handling of reflection type error
2020-05-21 07:48:52 +10:00
Jeremy Wu
47a69a322d
Merge branch 'dev' into update_ui
2020-05-08 12:41:57 +10:00
Jeremy Wu
09308417a8
Add DropShadowEffect as a user option
2020-05-07 14:30:55 +10:00
Ioannis G
ef95913aba
update projects with SatelliteResourceLanguages
...
Without this property set, the output folder is populated with multiple
culture-specific versions of `Fsharp.Core.resources.dll`
2020-05-02 19:52:41 +03:00
Ioannis G
1dcaf62e27
add dependency to FSharp.Core
...
ensure there are no runtime errors when FSharp.Core cannot be located:
* add reference to FSharp.Core 4.7.1 in Flow.Launcher.Core
* update FSharp.Core to 4.7.1 in HelloWorldFSharp
2020-05-02 14:13:20 +03:00
Ioannis G
07be7e2bea
bump PropertyChanged.Fody to 3.2.8
...
This outdated dependency causes `dotnet build`, `dotnet pack` etc to fail
2020-05-02 09:46:38 +03:00
Ioannis G
032a203224
add F# as an allowed plugin language
...
* rename PluginsLoader.CSharpPlugins to the more generic DotNetPlugins
* add AllowedLanguage.IsDotNet which checks for either C# or F#
2020-04-30 11:40:26 +03:00
Ioannis G
9ac9a2f218
fix typo in IPublicAPI
...
`RestarApp` to `RestartApp`. Mark `RestarApp` as obsolete.
2020-04-30 09:54:13 +03:00
Jeremy Wu
df1af8f45a
Update method name to describe purpose
2020-04-29 18:58:52 +10:00
Jeremy Wu
3c235887d6
Update General tab UI
2020-04-28 21:10:42 +10:00
Jeremy Wu
ee5345a346
Change to get application folder name dynamically
...
so this is that the portable version can have the folder name changed to anything else and will still work
2020-04-24 18:49:24 +10:00
Jeremy Wu
b786b1cadb
Update portable's roaming folder string to be consistent
2020-04-24 18:43:01 +10:00
Jeremy Wu
ed99112b62
update
2020-04-23 19:24:13 +10:00
Jeremy Wu
9f1377619d
Update description strings
2020-04-22 20:26:09 +10:00
Jeremy Wu
28d67c8c81
Rename further code and text
2020-04-21 22:54:41 +10: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