Commit Graph

1983 Commits

Author SHA1 Message Date
Jeremy Wu
71d8c2080c update comment typo 2020-01-14 07:30:40 +11:00
Jeremy Wu
6095933847 simplify condition as per comment 2020-01-14 07:29:21 +11:00
Jeremy Wu
fe65e7a0c4 Merge branch 'WIP_fuzzyMatchUpdates' into fuzzyMatchUpdates 2020-01-07 22:31:21 +11: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
Jeremy Wu
2a49b3899a Update tests
Two scoring changes only as a result of substring matching.
2020-01-07 20:26:26 +11:00
Jeremy Wu
b54241a5b2 Update scoring for all substrings contained in compare string 2020-01-07 08:28:27 +11:00
Jeremy Wu
78a2086535 Remove containedFully variable state
Not necessary to have and not needed to add another dimension to the scoring
2020-01-07 08:04:56 +11:00
Jeremy Wu
24cc5dbaa0 Add unit tests for checking substrings
checking if all substrings contained in compareString
2020-01-07 07:55:02 +11:00
Jeremy Wu
0093838a75 fix variable state which failed to represent correctly
Failed if query text is 'sql servman'- returns true when should be false
- moved it up so evaluation is included in the final substring check
2020-01-07 07:25:13 +11:00
Jeremy Wu
dde658a514 rename variable state allWordsFullyMatched 2020-01-07 07:22:00 +11:00
Jeremy Wu
13996740e0 Add additional test which should pass for regular precision 2020-01-07 07:12:34 +11:00
Jeremy Wu
e4b017b304 fix index out of range exception
occurs when query contains more than one whitespace eg. 'sql  manag'
2020-01-07 05:59:47 +11:00
Jeremy Wu
5040f09f0c Update method summary only 2020-01-06 21:38:07 +11:00
Jeremy Wu
19911d9f1f Update comment only 2020-01-06 21:19:15 +11:00
Jeremy Wu
04b0f8b2a4 Remove fuzzy match github repo reference + add logic context in summary
1. Remove the github repo reference as we have mixed in substring matching
2. Added context on how the logic is run
2020-01-06 21:06:41 +11:00
Jeremy Wu
e453dceacd Move condition checking into functions
- Moved if statement that checks if all query substrings are matched into a funciton
- convert into shorthand expression the if statement that checks if all words are fully matched
2020-01-06 20:51:27 +11:00
Jeremy Wu
42a938b50b Simplify IfElse 2020-01-06 19:15:05 +11:00
Jeremy Wu
220dbd7e30 Move some logic into functions
- Move checking if there is a prev compare string char match into function
- Move updating of index list when a better match is found for the first substring logic into function
2020-01-03 08:02:02 +11:00
Jeremy Wu
84d6fc2787 Update variable names
Make variables more descriptive of the state they represent
2020-01-03 07:58:20 +11:00
Jeremy Wu
f6d0738c79 debug logging 2020-01-02 08:04:16 +11:00
Jeremy Wu
52615c6f52 WIP variables 2020-01-02 08:02:23 +11:00
AT
42edb20b07 fixes to string matcher alg and some logging stuff 2019-12-30 01:13:33 +02:00
Jeremy Wu
c63e8d32c9 Merge branch 'master' into dev 2019-12-24 20:17:52 +11:00
Jeremy Wu
91e4603917
Add usage tips 2019-12-24 20:16:27 +11:00
Jeremy Wu
276278db41 Merge branch 'dev' 2019-12-24 20:05:38 +11:00
Jeremy Wu
b08c1eeaa9
Merge pull request #107 from jjw24/add_programplugin_hidewhenrunasadmin
For Program plugin hide context menu immediately after selected run as administrator
2019-12-16 21:18:46 +11:00
Jeremy Wu
cb78e10a76 Add threading task run for StartProcess
Context menu hides immediately after user selection
2019-12-16 21:03:44 +11:00
Jeremy Wu
9d031c1600 Remove obsolete bool return
because hiding is now delegated to MainWindow.xaml's OnDeactivated()
2019-12-16 21:01:45 +11:00
Jeremy Wu
bf33c82b19
Merge pull request #106 from jjw24/fix_folderplugin_contextmenu_wordingimages
Fix wording and images for Folder plugin context menu
2019-12-16 07:03:45 +11:00
Jeremy Wu
2330454838 Fix wording and images for context menu 2019-12-16 06:58:39 +11:00
Jeremy Wu
0d0aa49eb9
Merge pull request #105 from jjw24/add_folderplugin_runasuser
Add run as different user option when file is of certain type
2019-12-15 18:11:14 +11:00
Jeremy Wu
c279f405cf Add run as different user option when file is of certain type 2019-12-15 18:08:36 +11:00
Jeremy Wu
725eee726d
Merge pull request #103 from theClueless/folderPluginUpdates
Folderpluginupdates
2019-12-15 17:14:25 +11:00
AT
2c87c00906 added context menu support (same as everything plugin) 2019-12-13 03:20:16 +02:00
AT
92e4b5cc16 merged from upstream 2019-12-13 02:07:48 +02:00
AT
4e3228628a Merge branch 'dev' of https://github.com/jjw24/Wox into upstreamdev 2019-12-13 01:48:37 +02:00
Jeremy Wu
e66b64650d
Merge pull request #100 from jjw24/fix_merge_bug_folderplugin
Fix merge bug in Folder plugin
2019-12-13 07:41:09 +11:00
Jeremy Wu
5139bc326a Fix bug from merge in Folder plugin 2019-12-13 07:36:12 +11:00
Jeremy Wu
7a61db9a70
Merge pull request #98 from jjw24/add_shellplugin_runas_different_user
Add Run as different user to Shell plugin
2019-12-12 21:02:07 +11:00
Jeremy Wu
da798e7a5a add run as different user option to context menu 2019-12-12 20:55:41 +11:00
Jeremy Wu
2e9acc1fa8
Merge pull request #85 from SysC0mp/highlight-how-results-matched
Highlight how results matched
2019-12-12 07:24:22 +11:00
SysC0mp
0f9da7f519 Always return filled result again 2019-12-11 19:10:11 +01:00
SysC0mp
971e1cdbec Fix highlighting for UWP results 2019-12-11 19:08:52 +01:00
SysC0mp
8ded683796 Merge branch 'dev' into highlight-how-results-matched 2019-12-11 16:50:17 +01:00
AT
bec52b81fd adding conetxt menu start 2019-12-11 02:21:50 +02:00
Jeremy Wu
f3a1e09042 Merge tag 'v1.3.524+JJW24.v1.26.13' 2019-12-10 22:17:31 +11:00
Jeremy Wu
b157ec1b28
Merge pull request #95 from jjw24/add_win32_runasuser_contextmenu
Add ability to run as a different user for win32 programs
2019-12-10 22:09:47 +11:00
Jeremy Wu
695be89656 Add ability to run as a different user for win32 programs 2019-12-10 22:01:12 +11:00
AT
3f3deb8e2a added share folder 2019-12-10 12:38:03 +02:00
AT
06b9d68eb7 merge from upstream 2019-12-10 12:21:06 +02:00