Jeremy Wu
9192ab7550
update variable naming convention
2021-02-22 20:36:06 +11:00
Jeremy Wu
5f44663bd7
remove space
2021-02-22 20:33:11 +11:00
Jeremy Wu
a507cbdc60
fix formatting
2021-02-22 20:31:00 +11:00
弘韬 张
0981be499f
Use PortablePDB instead of Full pdb for debugging
2021-02-22 13:16:48 +08:00
弘韬 张
cfbdf294bb
Add api to Http.cs & message shown up when error thrown
2021-02-22 12:11:02 +08:00
弘韬 张
8071a6afe4
fix potential uri format issue causing program crash
2021-02-22 11:46:31 +08:00
Jeremy Wu
ab4e3f87cb
Merge branch 'dev' into DotNet5Upgrade
2021-02-16 07:46:20 +11:00
Jeremy Wu
67847eb1e6
Merge pull request #341 from taooceros/IPublicAPIExpand2
...
Expand PluginAPI with Log and JsonStorage
2021-02-15 06:45:33 +11:00
Jeremy Wu
f2d281048d
Merge pull request #342 from taooceros/HttpWaitChange
...
Use HttpCompletionOption.ResponseHeadersRead
2021-02-15 06:08:42 +11:00
弘韬 张
1ec069bfcf
Use HttpCompletionOption.ResponseHeadersRead for Stream reading and downloading
2021-02-14 22:36:05 +08:00
弘韬 张
f8557da336
add Logs, LoadJsonStorage, SaveJsonStorage to IPublicAPI
2021-02-14 18:08:30 +08:00
弘韬 张
a37f1918ae
Update all profile to dotnet 5
2021-02-12 03:17:13 +08:00
弘韬 张
1af9525487
move ISavable to Flow.Launcher.Plugin\Interfaces
2021-02-06 16:12:38 +08:00
Jeremy Wu
9feb266d01
Merge pull request #185 from taooceros/AcronymFuzzy
...
Add Acronym Support for Fuzzy Search
2021-02-02 20:43:36 +11:00
Jeremy Wu
4331398932
update summary, comments & formatting
2021-02-02 20:28:52 +11:00
弘韬 张
65a6548c56
Use int instead of decimal
2021-02-02 12:42:55 +08:00
弘韬 张
f9b7294b93
Optimize code
2021-02-02 12:38:41 +08:00
Jeremy Wu
2bdf69b431
separate acronym count and check
2021-02-02 07:41:36 +11:00
Jeremy Wu
838d0ec583
combine condition
2021-02-02 05:45:24 +11:00
Jeremy Wu
99da6f207a
move acronym check to method and update scoring to percentage based
2021-02-01 21:34:35 +11:00
Harry Yu
3453b178e2
Remove socketsHttpHandler
2021-02-01 16:25:57 +08:00
Harry Yu
4cd093dbdf
Fix Proxy
2021-02-01 16:03:13 +08:00
Jeremy Wu
bb6a91124a
add loop to check remaining acronyms if previous matched
2021-02-01 06:50:53 +11:00
Jeremy Wu
c395cc74b5
move control variable down for readability during debug
2021-02-01 06:08:05 +11:00
弘韬 张
efdfd064ed
Merge branch 'AcronymFuzzy' of github.com:taooceros/Flow.Launcher into AcronymFuzzy
2021-01-29 18:09:21 +08:00
弘韬 张
58b717c008
Update summary
2021-01-29 17:31:52 +08:00
Jeremy Wu
a6ce350697
fix formatting
2021-01-28 21:21:35 +11:00
Jeremy Wu
74f1b05257
make map variable more clear + formatting
2021-01-28 20:41:33 +11:00
Jeremy Wu
81733d35a6
fix formatting
2021-01-28 14:05:09 +11:00
弘韬 张
67b0bfd73a
Merge dev
2021-01-26 16:26:45 +08:00
弘韬 张
900f009893
Revert DotNet 5 update
2021-01-26 16:19:06 +08:00
弘韬 张
a918e7d9c9
Merge Dev
2021-01-26 15:49:30 +08:00
Jeremy Wu
e31bef7d3c
fix formatting + naming
2021-01-26 18:01:39 +11:00
张弘韬
213059996a
Use inner loop to evaluate acronym match (Big Change)
...
Don't end loop before acronym match end since if acronym match exist, we will use that one.
2021-01-25 05:43:59 +08:00
张弘韬
9aa4802542
Use Binary Search instead of Linear search to reduce time complexity.
...
Add Key Property for debugging.
2021-01-25 05:43:59 +08:00
张弘韬
1e016d7aab
optimize use
2021-01-25 05:43:59 +08:00
张弘韬
59e61cebe3
Add Mapping to original string after translation. Not sure about the performance, but seems satisfying.
...
It requires at most n times loop (n: number of translated charater) mapping once.
2021-01-25 05:43:58 +08:00
弘韬 张
8a76ad000d
Add number support (treat number as part of acronuym)
2021-01-25 05:42:08 +08:00
弘韬 张
787e569604
use ?. and ?? instead of if == null
2021-01-25 05:42:07 +08:00
弘韬 张
272f411f81
Add return statement....
2021-01-25 05:42:07 +08:00
弘韬 张
b07490271d
merge one extra condition to the switch case
2021-01-25 05:42:06 +08:00
弘韬 张
ab9e6a8143
merge one extra condition to the switch case
2021-01-25 05:39:23 +08:00
弘韬 张
f14da72ce1
Add Acronym Support for Fuzzy Search
2021-01-25 05:39:23 +08:00
张弘韬
a721bd7de0
Merge remote-tracking branch 'upstream/dev' into PluginAPIExpand
...
# Conflicts:
# Flow.Launcher.Plugin/IPublicAPI.cs
2021-01-25 05:36:40 +08:00
Jeremy Wu
89443bace7
fix formatting
2021-01-20 06:34:26 +11:00
张弘韬
1cbe1a98df
Merge remote-tracking branch 'upstream/dev' into RenderImprovement
...
# Conflicts:
# Flow.Launcher/ViewModel/MainViewModel.cs
2021-01-17 18:05:24 +08:00
Jeremy Wu
e9e99ab338
Merge pull request #267 from taooceros/PluginAsyncModel
...
Plugin async model
2021-01-17 19:18:53 +11:00
弘韬 张
723265a865
fix TopMostRecord and UserSelectedRecord due to System.Text.Json cannot parse private field in version 3.1
2021-01-15 10:37:13 +08:00
弘韬 张
c54b678e6f
Merge dev
2021-01-14 22:40:45 +08:00
弘韬 张
8fe1fbcf48
Merge dev
2021-01-14 10:39:37 +08:00
弘韬 张
575ad9157e
Merge dev
2021-01-13 09:34:45 +08:00
Jeremy Wu
777b0b954c
Merge remote-tracking branch 'origin/dev' into PluginPriority
2021-01-09 17:11:03 +11:00
张弘韬
8bd6820088
Merge branch 'PluginAsyncModel' into dev
...
# Conflicts:
# Flow.Launcher/ViewModel/MainViewModel.cs
2021-01-09 12:59:59 +08:00
张弘韬
4b9ed759e3
Merge branch 'DotNet5Upgrade' into dev
2021-01-09 11:05:51 +08:00
张弘韬
62009ac3fb
Merge remote-tracking branch 'upstream/dev' into DotNet5Upgrade
...
# Conflicts:
# Flow.Launcher/Flow.Launcher.csproj
# Plugins/Flow.Launcher.Plugin.Color/Flow.Launcher.Plugin.Color.csproj
# Plugins/Flow.Launcher.Plugin.PluginManagement/Flow.Launcher.Plugin.PluginManagement.csproj
2021-01-09 11:01:38 +08:00
张弘韬
5ab54f8734
Merge branch 'RenderImprovement' into dev
2021-01-09 10:59:06 +08:00
张弘韬
3aa54d1153
Merge remote-tracking branch 'upstream/dev' into RenderImprovement
2021-01-09 10:58:53 +08:00
张弘韬
8031ddfbc8
Merge remote-tracking branch 'upstream/dev' into AcronymFuzzy
2021-01-09 10:55:16 +08:00
弘韬 张
8b813fef96
Merge remote-tracking branch 'upstream/dev' into PluginAPIExpand
2021-01-08 16:00:32 +08:00
弘韬 张
a8e4c504d0
Move MatchResult to Flow.Launcher.Plugin so that plugins can utilize main method
2021-01-08 15:52:45 +08:00
弘韬 张
971d374582
Merge Dev
2021-01-07 21:43:32 +08:00
弘韬 张
a6609d6b2c
Add Cancellationtoken for downloadasync
...
Remove extra action in http for cancellation due to it will throw TaskCancelledExcpetion internally
2021-01-07 21:37:45 +08:00
弘韬 张
2b085dbcee
Merge dev
2021-01-07 20:48:02 +08:00
弘韬 张
e1f715e6d6
change commnet
2021-01-07 16:52:05 +08:00
弘韬 张
f72b716fb4
use string.empty instead of null
2021-01-07 11:20:14 +08:00
弘韬 张
d0d938b92a
Add Cancellationtoken for Http.cs
2021-01-07 11:04:07 +08:00
弘韬 张
a9aeecdabd
Merge remote-tracking branch 'upstream/dev' into UpdateJson
2021-01-07 10:58:17 +08:00
Jeremy Wu
012d2d05f2
Merge remote-tracking branch 'origin/dev' into PluginPriority
2021-01-07 13:36:31 +11:00
弘韬 张
6b597f7516
throw exception if debug for Log.exception(className, message, exception)
2021-01-06 17:42:46 +08:00
弘韬 张
2b9008840a
Merge Dev
2021-01-06 17:36:31 +08:00
Jeremy Wu
fb188690c3
Merge pull request #278 from taooceros/ImageQuality
...
Image quality
2021-01-06 20:28:28 +11:00
弘韬 张
3b9c10fd66
Use SVG for search icon
2021-01-06 10:34:08 +08:00
弘韬 张
e790e9474e
Add Plugin Priority Settings
2021-01-05 16:11:38 +08:00
弘韬 张
bc63b9ebfa
Change Download to DownloadAsync
...
Add error handling for download as well
2021-01-04 10:31:05 +08:00
弘韬 张
a8dc1599d7
Add Http Error Handling
2021-01-04 10:28:33 +08:00
张弘韬
3cd609377e
Plugin Async ModelAdd Full Async model, including AsyncPlugin and AsyncReloadable
2021-01-03 10:33:10 +08:00
弘韬 张
7bbd8c6069
remove using from Helper.cs
2020-12-30 19:05:02 +08:00
弘韬 张
557842e8d7
remove dependency
2020-12-30 13:48:06 +08:00
弘韬 张
d28b14ff2d
Replace All use of Json.Net with System.Text.Json
2020-12-30 13:40:42 +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
弘韬 张
e364b84b84
Use auto property
2020-12-29 17:16:44 +08:00
弘韬 张
4d5119f17d
Add out of bound exception for pattern matching
2020-12-29 17:15:34 +08:00
弘韬 张
a806f7d05a
Change exception type
2020-12-29 17:14:13 +08:00
弘韬 张
cfa93a2cc6
Add GetStreamAsync method
2020-12-29 17:13:31 +08:00
弘韬 张
7dc66eaa9a
Merge dev
2020-12-29 17:12:14 +08:00
Jeremy Wu
181d871bfd
Merge pull request #249 from taooceros/PluginManagerImprove
...
Plugin manager improve
2020-12-29 18:59:47 +11:00
Jeremy Wu
a1a45a4989
add eof
2020-12-29 17:49:11 +11:00
弘韬 张
5da8259228
fix an unintended text error
...
add async await to download manifest task
remove unused encoding name for new GetStreamAsync in Http
fix unintened text error
2020-12-29 13:03:38 +08:00
弘韬 张
f32e202746
Use System.Text.JsonSerializer.DeserializeAsync instead of Newtonsoft.Json since our plugins.json can be large, so no need to create an extra string to store it.
2020-12-29 12:20:13 +08:00
张弘韬
34f51927cf
1. Move PluginsManager constuction to Init().
...
2. Return HotKeys list when query is like "pm *"
2020-12-27 21:13:25 +08:00
张弘韬
7ceb08071c
Use inner loop to evaluate acronym match (Big Change)
...
Don't end loop before acronym match end since if acronym match exist, we will use that one.
2020-12-27 20:16:20 +08:00
张弘韬
75b99415eb
Use Binary Search instead of Linear search to reduce time complexity.
...
Add Key Property for debugging.
2020-12-26 00:29:35 +08:00
张弘韬
2c9f4149b7
optimize use
2020-12-22 22:58:27 +08:00
张弘韬
b7a0ada60b
Add Mapping to original string after translation. Not sure about the performance, but seems satisfying.
...
It requires at most n times loop (n: number of translated charater) mapping once.
2020-12-22 21:53:59 +08:00
张弘韬
e67058e53e
Merge remote-tracking branch 'upstream/dev' into AcronymFuzzy
2020-12-22 17:52:19 +08:00
张弘韬
88fa862277
Use event triggered update method instead of checking Proxy every time doing Http request
2020-12-22 00:31:00 +08:00
张弘韬
5ab8c4faa3
Update Proxy every time calling a http request method since the proxy setting won't update automatically without action
2020-12-21 20:55:28 +08:00
张弘韬
85f5766022
Optimize a few code
2020-12-21 19:30:18 +08:00
张弘韬
db0b4c1ca4
Merge remote-tracking branch 'upstream/dev' into UpdateHttpMaster
...
# Conflicts:
# Flow.Launcher.Infrastructure/Http/Http.cs
# Plugins/Flow.Launcher.Plugin.PluginManagement/Main.cs
2020-12-21 19:23:16 +08:00
Jeremy Wu
adad5ae83b
add url website in Settings
2020-12-20 21:10:55 +11:00