Commit graph

2069 commits

Author SHA1 Message Date
Jeremy Wu
fd4f0f631b Add method used to indicate deletion of data location
.dead file add
2020-03-05 23:25:15 +11:00
Jeremy Wu
c2d7e658b0 Add settings saving to file 2020-03-05 23:24:14 +11:00
Jeremy Wu
f6ae266a88 Add settings check box ui and viewmodel 2020-03-05 23:23:44 +11:00
Jeremy Wu
56b8b5f3d6 After restart, clean up data folder locations so only one is used 2020-03-05 23:20:55 +11:00
Jeremy Wu
7ac69f9bcd Update disable portable mode code
- add message to inform user
- create uninstaller entry
- set delete indication
2020-03-05 23:14:44 +11:00
Jeremy Wu
e6b988d227 Add code to enable portable mode 2020-03-05 23:13:06 +11:00
Jeremy Wu
39eac96023 Change method name to make intention clearer. Add additional methods 2020-03-05 23:10:16 +11:00
Jeremy Wu
dbc52f56c8 Merge branch 'dev' into add_enable_portablemode_setting 2020-03-03 20:12:18 +11:00
Jeremy Wu
2531f71402 Add disable portable mode programatically 2020-03-03 05:58:31 +11:00
Jeremy Wu
1932515fe9
Merge pull request #152 from SysC0mp/improve-calculator
Improve calculator plugin
2020-03-01 21:17:41 +11:00
Kevin Eck
366a351100
Merge branch 'dev' into improve-calculator 2020-02-27 11:36:41 +01:00
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
SysC0mp
9d447ca63f Replace static text with localized label 2020-02-26 20:49:39 +01:00
SysC0mp
cc743aeeea Round result using new introduced setting 2020-02-26 20:47:14 +01:00
SysC0mp
0933eab4b0 Update Mages version 2020-02-26 20:46:47 +01:00
SysC0mp
f18256ab39 Add "Max. decimal places" setting 2020-02-26 20:46:27 +01:00
SysC0mp
54191d6d88 Replace static text with localized label 2020-02-26 20:00:07 +01:00
SysC0mp
ec2aaa8457 Merge "dev" into "improve-calculator" 2020-02-26 19:45:37 +01:00
SysC0mp
3d917e0258 Extract validation to method 2020-02-26 19:40:20 +01: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
SysC0mp
4f4e423a4b Add missing using directives 2020-02-25 17:55:04 +01:00
SysC0mp
5ae3262279 Adjust decimal separator based on setting
The output decimal separator selected will be used for the output. The
input can also handle comma and dot as separator now.
2020-02-25 17:53:18 +01:00
SysC0mp
570c1d9a5f Integrate calculator settings
Save & load settings when plugin is in use & specify user control.
2020-02-25 17:50:50 +01:00
SysC0mp
3d3d9435dc Set minimum expression lenght to 2
Calculations like 8! haven't been possible before due to a validation on
the minimum query lenght.
2020-02-25 17:48:18 +01:00
SysC0mp
b37669b77e Create user control for Calculator settings 2020-02-25 17:45:43 +01:00
SysC0mp
73a264b00d Create DecimalSeperator enum
Localization is handled using the LocalizedDescription attribute and the
LocalizationConverter.
2020-02-25 17:43:12 +01:00
SysC0mp
2e714a8d7b Create localization helper classes 2020-02-25 17:38:47 +01: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
Jeremy Wu
61845dd0db Add disable portable mode code 2020-02-24 21:42:41 +11:00
Jeremy Wu
ba46ce09dc Update with exception handling and continue 2020-02-24 07:20:34 +11:00
Jeremy Wu
ad4c9fb4ef Add possible exception path too long handling 2020-02-23 20:21:47 +11:00
Jeremy Wu
69f66b7a4b update 2020-02-23 19:41:24 +11: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
d55560ea97 Add UserData operations- Copy, verify, remove 2020-02-21 22:06:04 +11:00
Jeremy Wu
7385243c1d Add enable portable mode logic 2020-02-21 08:27:46 +11: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