Commit Graph

31 Commits

Author SHA1 Message Date
clueless
beefc6a86e fix 2020-01-25 00:12:32 +02:00
Jeremy Wu
07310c7714 Fix pinyin fuzzysearch (#131)
* fix typo

* make function obsolete 

it is not used in the code

* rewrite the function that converts chinese chars to pinyin

1. Only difference in this rewrite is instead of returning 2D array, return as a combined single string of all the possible pinyin combination. Since fuzzy search does character matching, this shouldn't be a problem.

2. Added a function that returns a custom language converter. In this case Pinyin converter. New converters can be added.

* Use new language converter param + strip out ScoreForPinyin method

* update

* Change parameter name

* fix failing tests

* WIP

* Remove todo

There should be some distinction between score after precision filter and actual raw score derived from FuzzySearch. Although so far RawScore is used in testing, but it seems to describe the structure. Originally it was to avoid assigning score directly as it would be hard to reason about that output of FuzzySearch score is.

* Add constructors, remove default to enforce required properties

* remove setting rawscore in SearchPrecision

* Change method name to reflect intention

* Change parameter name + update comment

* update

* Remove params comment

Co-authored-by: theClueless <14300910+theClueless@users.noreply.github.com>
2020-01-20 01:06:16 +02:00
Jeremy Wu
76727d09bf Update StringMatcher's UserSettingSearchPrecision property type
makes more sense and less conversion to int for actual precision score
2020-01-07 22:30:36 +11:00
AT
42edb20b07 fixes to string matcher alg and some logging stuff 2019-12-30 01:13:33 +02: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
AT
dcb9e34d59 alphabet settings 2019-11-16 00:34:27 +02: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
Jeremy Wu
3f90611edf Initial prep of settings and start up default 2019-09-29 14:27:46 +10:00
Jeremy Wu
1fa9543e47 Set AutoUpdates off as default setting 2019-08-13 20:02:26 +10:00
jhdxr
3dac6fd1c3 hide tray icon (close #563) 2018-12-19 12:15:05 +08:00
bao-qian
afdbf0adbf Add last query mode #1141 #1050
https://github.com/Wox-launcher/Wox/issues/1050
https://github.com/Wox-launcher/Wox/issues/1141
2017-02-12 22:34:12 +00:00
bao-qian
6e13440f1f MVVM refactoring for web search plugin, part 1
1. #486
2. fix #778 #763 #742
3. MVVM refactoring
4. remove IMultipleActionKeywords interface, use PluginManager directly
2016-06-21 00:14:32 +01:00
bao-qian
3efeb4a0a6 Refactoring proxy, part 2 2016-06-19 16:22:45 +01:00
qianlifeng
4ca0453cff close #48 Refactor setting storage. 2014-03-23 16:17:41 +08:00
Yeechan Lu
31bbf3cfd5 Fix applicationDirectory issues and add plugin debuggerMode 2014-03-22 16:51:09 +08:00
qianlifeng
224c3eb99c Merge branch 'master' of https://github.com/qianlifeng/Wox.git 2014-03-19 22:17:19 +08:00
qianlifeng
4e537ac4d8 #56 Add Font setting 2014-03-19 22:17:01 +08:00
Yeechan Lu
1fa4be9ebb Close #42 Program Source settings GUI 2014-03-19 20:16:45 +08:00
Yeechan Lu
28bddb713b Make Python plugin enabled by default #51 2014-03-19 11:49:31 +08:00
Yeechan Lu
0b86e0ae41 Merge pull request #51 from Rovak/python-optional
Make python plugins optional
2014-03-19 11:42:46 +08:00
Yeechan Lu
da058197c7 Remove useless field in ProgramSource 2014-03-19 04:08:58 +08:00
Yeechan Lu
cf0d7067eb Add ProgramSources settings (code only, without GUI) #42 2014-03-19 04:05:27 +08:00
Roy van Kaathoven
ef63f11bbb Make python plugins optional 2014-03-18 18:27:59 +01:00
Yeechan Lu
b9c58adae6 Remove compiler warnings 2014-03-18 12:28:48 +08:00
qianlifeng
b3e5f09c83 Add custom plugin hotkey feature. 2014-02-22 15:52:20 +08:00
qianlifeng
2f5a4f63b6 Add hotkey setting 2014-02-22 11:55:48 +08:00
qianlifeng
3442081d20 "start wox on system startup" config changes. 2014-02-07 22:10:00 +08:00
qianlifeng
495e0ce89b Implement WebSearch feature. 2014-02-02 16:15:34 +08:00
qianlifeng
fa3ae62254 Add web search feature & some UI changes. 2014-01-29 22:44:57 +08:00