Commit graph

58 commits

Author SHA1 Message Date
弘韬 张
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
弘韬 张
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