Commit graph

88 commits

Author SHA1 Message Date
张弘韬
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
taooceros
0eef6c2db2
Merge pull request #231 from Flow-Launcher/add_pluginsmanager
Add PluginsManager for managing PluginsManifest repo
2020-12-14 06:10:55 -08:00
Jeremy Wu
0928b0592e
Merge pull request #235 from taooceros/AddSpaceForPinyin
Add space for pinyin translation
2020-12-14 21:25:47 +11:00
Jeremy Wu
4c773dbaa1 clean up, no code changes 2020-12-14 21:21:48 +11:00
Jeremy Wu
c8b251d63a use Http.Get from Infrastructure 2020-12-14 08:41:18 +11:00
弘韬 张
64d67c1aa5 Update PinyinAlphabet.cs
optimize Chinese character check logic

Co-Authored-By: ToolGood <toolgood@qq.com>
2020-12-12 14:55:41 +08:00
弘韬 张
d64b4b5b0c Change the way getting acronym 2020-12-11 22:20:09 +08:00
弘韬 张
aaa938191a Manually add sapce to only the cinese character and the surrounding. 2020-12-11 22:08:46 +08:00
弘韬 张
eaf3267353 Add space for pinyin translation 2020-12-08 19:48:42 +08:00
Jeremy Wu
920668db00
Merge pull request #223 from taooceros/fixTrayMenuTranslation
fix tray menu translation
2020-11-30 07:35:18 +11:00
弘韬 张
5a9c631577 Use PropertyChange event to change text when language has changed. 2020-11-29 20:50:28 +08:00
Jeremy Wu
f20c721ad1 allow MissingImgIcon and DefaultIcon to be removed from image cache 2020-11-27 13:12:09 +11:00
Jeremy Wu
ac945f4814 revert unneeded condition on Constant.MissingImgIcon 2020-11-27 07:04:39 +11:00
Jeremy Wu
efcb6a7833 add status check when base.Value has faulted 2020-11-26 20:47:04 +11:00
弘韬 张
b3df2fd590 change default image property name 2020-11-25 23:22:27 +08:00
弘韬 张
a7310d5d22 Use Customized LazyAsync class to load image instead of the weird way of updating lazy class async 2020-11-25 23:21:53 +08:00
弘韬 张
1439ee7e9e Use a default image to list when the image hasn't been loaded in cache.
Co-authored-by: Bao-Qian <bao.github@outlook.com>
2020-11-25 23:21:20 +08:00
Jeremy Wu
83ccfac04f move Themes string to Constant 2020-11-16 06:29:24 +11:00
Ioannis G
e72407f0d8
merge PR #160: fix plugin dependency loading
Fix plugin dependency loading and remove excess duplicate package references
2020-11-12 12:39:44 +02:00
Jeremy Wu
26285abfd7 fix formatting 2020-11-12 13:34:23 +11:00
弘韬 张
55fb5536bd change struct to class to use reference type 2020-11-11 18:39:02 +08:00
弘韬 张
bf271b9da7 refactor Image Cache to single dictionary 2020-11-11 18:38:49 +08:00
Jeremy Wu
d3d69be9c2 fix merge error 2020-11-11 08:30:34 +11:00
Jeremy Wu
d0cb8021c6 Merge branch 'dev' into address_high_memory_issue 2020-11-11 08:29:53 +11:00
Jeremy Wu
732f3b410a Merge branch 'dev' into fix_plugin_depenedency_loading 2020-11-02 08:01:50 +11:00
弘韬 张
eb736562fc Change the Alphabet Name to allow future expansion 2020-11-01 18:07:35 +08:00
弘韬 张
77aff43d1a Initialize uninitialized cache 2020-10-25 10:26:56 +08:00
Jeremy Wu
48faa99ab5 Merge branch 'dev' into fix_plugin_depenedency_loading 2020-10-25 10:48:30 +11:00
弘韬 张
706f30a3a2 Add number support (treat number as part of acronuym) 2020-10-24 17:45:31 +08:00
弘韬 张
80a2f0df71 Put tranlate query back to fuzzy search until better solution 2020-10-21 17:00:56 +08:00
弘韬 张
4d06187fa5 use ?. and ?? instead of if == null 2020-10-20 08:28:05 +08:00
弘韬 张
9b779d90d2 Add curly bracket 2020-10-20 07:38:20 +08:00
弘韬 张
6210454bbd Fix reverse condition 2020-10-19 20:37:40 +08:00
弘韬 张
468f8899b9 Add return statement.... 2020-10-18 21:31:08 +08:00
弘韬 张
9ad7838729 merge one extra condition to the switch case 2020-10-18 21:25:55 +08:00
弘韬 张
c63c98645c Add Acronym Support for Fuzzy Search 2020-10-18 21:17:29 +08:00
弘韬 张
dd2d3c68c1 fixup the reduced code due to testing 2020-10-18 17:51:10 +08:00
弘韬 张
4ebfba76a3 using ContainKey instead of getvalueofdefault 2020-10-18 17:51:08 +08:00
弘韬 张
c4b81a9429 change query translation to Program.Main instead of using Alphabet.Tranlate to avoid cache. 2020-10-18 17:51:05 +08:00
弘韬 张
d17621cd2e change new string to string.concat() 2020-10-18 17:51:00 +08:00
Bao Qian
3454dc6d74 Change Pinyin Library 2020-10-18 17:50:58 +08:00
Bao Qian
d9085ca66c Change Reference 2020-10-18 17:50:52 +08: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
d3fbabe10e add dedicated missing img icon 2020-09-07 06:55:12 +10:00
Jeremy Wu
87ae60d2e8
Merge pull request #119 from Flow-Launcher/add_filecontent_search
Add file content search for Explorer plugin
2020-08-17 19:36:45 +10:00
Ioannis G
e4979ab855
merge PR #127: update WebSearch plugin
fix location of custom icons
2020-08-16 19:31:37 +03:00