Commit graph

768 commits

Author SHA1 Message Date
Jeremy Wu
7ba6dbf076 Add publish profile for self-contained .Net Core Wox 2020-04-10 21:38:19 +10:00
Jeremy Wu
f3377084e2 Remove incorrect project reference to WebSearch plugin 2020-04-10 21:36:27 +10:00
Jeremy Wu
530d2c0962 Change ppy.squirrel.windows back to squirrel.windows 1.5.2:
- ppy.squirrel is not fully .net core upgraded, so it is still showing restored using .net framework
- does not contain .net core runtime installer which is now required by Wox
- UpdateManager.RestartApp method is throwing an OSU application specific error which Wox is unable to resolve.
- Squirrel.Windows 1.5.2 still works and functionalities required by Wox are compatible. Tested RestartApp method, tested enable/disable protable mode methods and tested updating Wox to the latest version.
2020-04-08 18:53:34 +10:00
Jeremy Wu
f1961e71dc Lower PropertyChange.Fody version due to:
1. Dll not been properly produced during release build. This causes error during application start up.
2. .Net Framework dependency
2020-04-03 19:42:46 +11:00
Jeremy Wu
26e93869a9 Merge branch 'master' up to commit f325674 2020-04-01 22:20:33 +11:00
Jeremy Wu
782c73e471 Merge in branch 'master' up to commit 24cf015
commit: 24cf015b0a9b36503efbd83c9c9ed3c64da10f18- 24cf015b0a
2020-03-31 22:00:09 +11:00
Barbara Kudiess
e6d5d7cba4 Fix PR Comments 2020-03-03 14:25:59 -08:00
Barbara Kudiess
d2faf6b7f1 Updating Wox assembly info 2020-03-02 17:11:53 -08:00
Barbara Kudiess
b168166c89
Merge branch 'master' into dontnet-core-upgrade 2020-03-02 17:04:00 -08:00
Barbara Kudiess
4b45a1952b Plugins converted from .NET Framework to .NET Core 2020-03-02 16:48:07 -08:00
Barbara Kudiess
556ff9702c Wox peoject in .net Core 2020-03-01 17:22:26 -08:00
Barbara Kudiess
d329b73748 .net framework 4.5.2 -> 4.7.2 and Sistem.Runtime.Remoting replacement 2020-02-28 17:42:37 -08: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
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
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
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
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
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
theClueless
34342599b9
Update MainWindow.xaml
removed delay in binding
2019-12-30 01:28:10 +02:00
AT
42edb20b07 fixes to string matcher alg and some logging stuff 2019-12-30 01:13:33 +02:00
AT
4c2a09369d added catch 2019-12-14 00:41:29 +02:00
AT
e6e1aab098 updates 2019-12-14 00:17:05 +02:00
AT
3dfccea522 Revert "results and query update fixes"
This reverts commit ced0faf916.
2019-12-14 00:07:27 +02:00
AT
ced0faf916 results and query update fixes 2019-12-14 00:06:13 +02:00
AT
be77bf94aa Merge branch 'upstreamdev' into queryPluginsUpdates 2019-12-13 18:17:11 +02:00
AT
dde03eca7c started update with cancellation token 2019-12-13 01:48:05 +02:00
SysC0mp
8ded683796 Merge branch 'dev' into highlight-how-results-matched 2019-12-11 16:50:17 +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
Jeremy Wu
4d902c01a6
Merge pull request #89 from theClueless/addAltHomeforFirstResult
Addalthomeforfirstresult
2019-12-08 21:12:16 +11:00
AT
431f22283d added goto first result command (alt home) 2019-12-07 16:57:21 +02:00
AT
a2d685815f updated 2019-12-06 22:36:00 +02:00
AT
02511b7785 some more 2019-12-04 00:15:46 +02:00
AT
b3fdc4bb96 updated user selected record 2019-12-03 23:37:55 +02:00
AT
c90dd0e818 updated top most record 2019-12-03 23:02:24 +02:00
SysC0mp
8997c27819 Add highlight converter component 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
AT
406cc71f96 remove unused new list 2019-11-29 02:05:48 +02:00
AT
dcb9e34d59 alphabet settings 2019-11-16 00:34:27 +02:00
AT
ed59d6acf5 when both icopath and icon delegdate are empty\null it will raise an exception.
currently delegate is verified and an error icon will be presented (same as before) but without raising an excpetion.
2019-11-09 11:55:53 +02:00
Jeremy Wu
99b5e3565d Add return to main query window from context menu after selection 2019-10-23 20:20:33 +11:00
İsmail Carlık
6b8a55f55b Added Turkish translation and some other i18n work. 2019-10-07 18:08:06 +03:00