Commit Graph

283 Commits

Author SHA1 Message Date
AT
e80147d24e removed a duplicate check 2020-01-03 21:17:58 +02:00
AT
72e1a19ea5 remove using 2020-01-03 21:16:38 +02:00
AT
b14d6c9216 adding hash ability to image loader (reducing the load on memory) 2020-01-03 21:16:17 +02:00
AT
4e3228628a Merge branch 'dev' of https://github.com/jjw24/Wox into upstreamdev 2019-12-13 01:48:37 +02:00
SysC0mp
0f9da7f519 Always return filled result again 2019-12-11 19:10:11 +01:00
SysC0mp
8ded683796 Merge branch 'dev' into highlight-how-results-matched 2019-12-11 16:50:17 +01:00
AT
bcc9379ebc typo in log 2019-12-10 12:18:24 +02:00
SysC0mp
7d5c827dec Remove whitespace 2019-12-09 21:08:38 +01:00
SysC0mp
e60797cd0f Introduce RawScore property
New property RawScore is used to save the calculated score without any
search precision filtering added.
2019-12-09 21:06:31 +01:00
SysC0mp
49c5c5bbde Pass "ShouldUsePinyin" to StringMatcher
Flag is used in method "ShouldUsePinyin()" to avoid calling Alphabet
service. Otherwise, tests applying to StringMatcher.FuzzySearch() would
fail because the pinyin helper library fails to initialize.
2019-12-09 20:57:59 +01:00
SysC0mp
78f243651e Pass Settings instance to Alphabet again 2019-12-09 20:47:24 +01:00
AT
c90dd0e818 updated top most record 2019-12-03 23:02:24 +02:00
SysC0mp
627e99859d Directly calculate pinyin if needed
The MatchResult will always get the maximum score from either
ScoreForPinyin() or CalculateSearchScore(). ScoreForPinyin() is
completely dependant on the "ShouldUsePinyin" global setting.
2019-12-03 15:31:23 +01:00
SysC0mp
6ebca7fa7c Apply search precision filter on assignment
The search precision must be used, so it makes sense to apply the filter
directly on score assignment. Score will be "0" if precision filter
was not met.
2019-12-03 15:31:23 +01:00
SysC0mp
3d55ad783e Only pass needed setting to Alphabet
As Alphabet class is static, its methods could be used without
ever calling Alphabet.initialize(_settings) beforehand which would end
in an exception.  Therefor only _shouldUsePinyin settings needed will
be transferred with a given default value.
2019-12-03 15:31:08 +01:00
SysC0mp
05f66f9bea Improve code formatting 2019-12-03 15:31:07 +01:00
AT
9d98d26cc7 added log into Alphabet service since it can induce a large perf hit 2019-11-16 01:28:07 +02:00
AT
dcb9e34d59 alphabet settings 2019-11-16 00:34:27 +02:00
Jeremy Wu
c89ab4e47c Merge remote-tracking branch 'origin/dev' into dev 2019-10-27 12:22:31 +11:00
Jeremy Wu
cb3e863957 Merge branch 'update_allow_plugindisabled_default' into dev 2019-10-25 13:12:34 +11:00
Jeremy Wu
b89e296390 Set HideWhenDeactive default as true 2019-10-24 08:20:12 +11:00
Jeremy Wu
28239c4a51 Fix to allow plugin to start up disabled as default 2019-10-23 16:18:21 +11:00
Amir Tepper
a3ba2276e2 renamed for Defualt match option 2019-10-20 15:45:06 +03:00
Amir Tepper
0e241a0fc5 added empty match option 2019-10-17 13:37:09 +03:00
Jeremy Wu
9658af4aa9 update 2019-09-29 15:18:50 +10:00
Jeremy Wu
cc23495591 Update Program plugin with new code 2019-09-29 15:03:30 +10:00
Jeremy Wu
a2e439a155 Update browserbookmark plugin with new code 2019-09-29 14:42:34 +10:00
Jeremy Wu
3f90611edf Initial prep of settings and start up default 2019-09-29 14:27:46 +10:00
Jeremy Wu
fbb5d4a4a6 Make FuzzMatcher class obsolete and keep backwards compatibility 2019-09-29 14:26:15 +10:00
Jeremy Wu
e5753c54a6 Convert StringMatcher class to static and move code from FuzzySearch 2019-09-29 14:24:38 +10:00
Jeremy Wu
9638a4a4e6
Merge pull request #16 from jjw24/tunoff_auto_update
Set AutoUpdates off as default setting
2019-09-22 17:52:50 +10:00
Jeremy Wu
7217ef5ec5 Move comment to PR 2019-08-20 21:43:32 +10:00
Jeremy Wu
6a33173384 Enable portable mode 2019-08-20 21:29:30 +10:00
Jeremy Wu
1fa9543e47 Set AutoUpdates off as default setting 2019-08-13 20:02:26 +10:00
magicdmer
a6e82475a3 Add everything plugin context menu and add settings in Url plugin (#2299)
1. Add useful context menu items in everything
2. Add settings in Url plugin, can set browser path

* let url plugin support multi Languages
2019-02-23 04:03:59 +08:00
jhdxr
3dac6fd1c3 hide tray icon (close #563) 2018-12-19 12:15:05 +08:00
jhdxr
7fe01f0764 skip calculation of pinyin score if source string is too long (#1683) 2018-12-19 12:14:52 +08:00
Boris Makogonyuk
343b904607 ImageLoader now loads everything through IShellItemImageFactory::GetImage (#1836)
* Added thumbnail loader

* Deleted old shell icon extraction logic.
Refactored ImageLoader.Load to improve readibility.

* Moved error handling down into the API call itself

* Minor renamings in ImageLoader

* Load icons only for files that are not images. Fixes stutters when loading folders.

* Added the ability to load a full image through ImageLoader.
ImageLoader.Load now also has a "loadFullImage" parameter.

* Max image cache is now 5000 instead of 200.

* Added some commentaries on how thumbnails are loaded
2018-04-30 10:20:36 +08:00
Boris Makogonyuk Vasylev
b886422416 Added file length check before loading cache and removed BinaryStorage.Save when file was already locked. 2017-12-22 16:59:55 +01:00
bao-qian
cb2eebef40 More exception info 2017-04-01 18:56:29 +01:00
bao-qian
dcd27a5f7a Add more NonNull check 2017-04-01 12:54:05 +01:00
bao-qian
cc6c18b5ad fix debug info 2017-04-01 12:49:51 +01:00
bao-qian
128671f5e9 fix github update error handling #1266 2017-03-27 00:10:02 +01:00
bao-qian
6f42bcfa4f Use own update manager, so we can pass proxy #1266 2017-03-07 19:23:42 +00:00
bao-qian
ade6c46cca let it crash for http get 2017-03-07 18:57:47 +00:00
bao-qian
6ed9e09451 More exception info 2017-03-04 16:41:03 +00:00
bao-qian
75ce6d42d0 update nuget package 2017-03-04 16:35:24 +00:00
bao-qian
392bfcca2d Add universal pretty print method 2017-02-26 20:44:35 +00:00
bao-qian
17e5bb8d53 catch more json exception 2017-02-20 12:16:49 +00:00
bao-qian
ddb28a9b90 null enhance 2017-02-13 09:38:48 +00:00