Commit graph

201 commits

Author SHA1 Message Date
张弘韬
358460cb22 Move storage to api call for websearch and calculator plugins 2021-05-12 19:38:29 +08:00
张弘韬
a9695e3119 fix some typo 2021-05-12 03:24:35 +08:00
弘韬 张
d2fb26b103 Bring Legacy records together and remove some useless code for JsonStorage 2021-04-19 13:06:03 +08:00
Jeremy Wu
0d1bb12b67 add documentation link 2021-03-30 06:51:42 +11:00
Jeremy Wu
f4c77fb67b Merge branch 'dev' into DotNet5Upgrade 2021-02-23 21:01:39 +11:00
Jeremy Wu
991bebde6f
Merge pull request #362 from taooceros/portablePDB
Use PortablePDB instead of Full pdb for debugging
2021-02-23 06:58:53 +11:00
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