Commit Graph

2036 Commits

Author SHA1 Message Date
Jeremy Wu
3184f8d275
Update readme with main features released from this fork (#149)
* Update readme with main features released from this fork

* update
2020-02-27 00:16:09 +02:00
Jeremy Wu
8ec78688b8
Add empty actionParameters check (#148) 2020-02-27 00:14:45 +02:00
Jeremy Wu
e5cc2ccaab
Merge pull request #145 from jjw24/pluginInitFail
plugin init fail continue - create query builder and re-enable tests.
2020-02-26 07:25:20 +11:00
Jeremy Wu
cecb65cd40
Installed & portable mode: Enhance auto updates (#142)
* Add handling of portable mode when updating

Additionally: 
1. Changed getting version from internally rather than from RELEASES file
2. Added PortableDataPath as a constant so can be used  to determine if portable mode is used

* Fix incorrectly wired auto update event handler

* Fix Sys plugin missing Shutdown command icon

* Add check update command to Sys plugin

* Add message if current Wox version is latest

* Add default silent when auto checking updates in background

Silent when current is still the latest version

* Move UserData folder to new version location

* Changes per review

1. Move IsPortableMode to Constant
2. Merge if statement

* Per comment- change variables to be more descriptive

UpdateInfo and UpdateManager renamed

* Per comment- Add exception handling and message if failed.
2020-02-25 12:08:51 +02:00
clueless
e1e7387c73 create query builder and re-enable tests.
make the plugin manager plugin data the source for disabled plugins
2020-02-22 11:02:07 +02:00
Jeremy Wu
73705bec23
Merge pull request #144 from jjw24/pluginInitFail
Plugininitfail
2020-02-22 09:47:19 +11:00
clueless
cb9e045c7f catch plugin init fails - stop Wox from not starting up and crushing and disable and explain the user what is the probalmatic plugin 2020-02-21 23:12:58 +02:00
Jeremy Wu
56c2964e96
Fix issue incorrect dll reference (#141) 2020-02-15 08:24:29 +02:00
Jeremy Wu
d5f223fc88
Add file path to files search result in Folder Plugin (#139)
* Add file path to files in Folder Plugin

* Add folder subtitle display path when wildcard '>' is used
2020-02-15 08:23:17 +02:00
Jeremy Wu
9b970ae1a4
Merge pull request #134 from jjw24/everythingFixes
Everythingfixes
2020-01-26 19:05:30 +09:30
clueless
fec7912870 remove 2020-01-26 11:14:38 +02:00
Jeremy Wu
8bb855e657
Merge pull request #133 from jjw24/clueless/pinyinFixBug
fix
2020-01-26 18:26:08 +09:30
clueless
9488864f47 everything updates -
- support ~cancellation in api.
- API refactoring.
- API - locked to enable collisions.
- other small changes
2020-01-26 01:34:11 +02:00
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
ee93f7e018
Merge pull request #130 from jjw24/clueless/packrefMine
Update sln to use package references
2020-01-18 20:59:50 +11:00
AT
7ce45d2b11 fix pre build event 2020-01-17 14:56:26 +02:00
Jeremy Wu
f39144cc51
Merge pull request #119 from theClueless/deploymentUpdates
Auto update improvements: Updater
2020-01-15 09:08:45 +11:00
AT
725df15012 update to package reference 2020-01-14 21:10:54 +02:00
Jeremy Wu
6cad4bc986
Merge pull request #112 from theClueless/fuzzyMatchUpdates
Fuzzy match logic update
2020-01-14 08:26:45 +11:00
Jeremy Wu
504c08a0fc Update test per comment 2020-01-14 07:53:59 +11:00
Jeremy Wu
592f1cafdb update allSubstringsContainedInCompareString calculation as per comment 2020-01-14 07:36:53 +11:00
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
theClueless
92febf0b00
Merge pull request #117 from jjw24/folderplugin_updatesearch_sorting
Folder plugin updates to searching and sorting of results
2020-01-13 00:51:27 +02:00
theClueless
1c711aef3c
Merge pull request #124 from jjw24/update_readme_badges
Update readme badges
2020-01-13 00:22:14 +02:00
Jeremy Wu
0bec780a1b Update yaml file comment 2020-01-13 07:50:34 +11:00
Jeremy Wu
ed01a46a3f Update maintenance and all releases badge 2020-01-13 07:46:27 +11:00
Jeremy Wu
4f8fa9f9eb Merge branch 'master' into update_readme_badges 2020-01-13 07:42:03 +11:00
Jeremy Wu
2f99ccdd4a
Merge pull request #123 from jjw24/theClueless-updateReadme-withdevops
Update README.md
2020-01-13 06:54:43 +11:00
Jeremy Wu
2dd1013075 Update to new org name 2020-01-13 06:50:39 +11:00
theClueless
6552aeaa3b
Update README.md
update to show the azure devops pipeline badge
2020-01-12 13:06:08 +02:00
theClueless
b92b93e233
Merge pull request #122 from jjw24/azure-pipelines
Set up CI with Azure Pipelines
2020-01-12 12:53:53 +02:00
theClueless
10036b148c
Update azure-pipelines.yml
updated to work on both dev and master and update pool to work
2020-01-12 12:50:03 +02:00
Jeremy Wu
cccec8382f Set up CI with Azure Pipelines
[skip ci]
2020-01-11 12:16:13 +11:00
AT
d74b5c8764 another 2020-01-09 01:13:56 +02:00
AT
0f19010e52 oops 2020-01-09 01:10:13 +02:00
Jeremy Wu
ac6ee28c5f Add sorting
order by result title asc, then type being folder first.
2020-01-08 21:50:29 +11:00
Jeremy Wu
c509c02546 Update search wild card
when retrieving folders and files based search term, use wildcard to match everything before and after search term
2020-01-08 20:39:34 +11:00
Jeremy Wu
1258c44bad
Merge pull request #104 from theClueless/queryPluginsUpdates
Querypluginsupdates
2020-01-08 07:34:07 +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
AT
49b85d150c initial work, added github to setting,
change update manage from static
created log folder prop for log class
2020-01-07 02:34:46 +02: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