Commit Graph

2509 Commits

Author SHA1 Message Date
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
21fae1f457 Merge branch 'dev' 2020-01-18 12:10:38 +11:00
Alekhya Kommuru
653a84d3a9 reverting formatting of files 2020-01-17 14:38:41 -08:00
Alekhya Kommuru
8132bbac2e updated formatting of common.cpp 2020-01-17 14:32:02 -08:00
Alekhya Kommuru
197286c21e moved app name to constructor to init only once 2020-01-17 14:23:07 -08:00
Alekhya Kommuru
bf48729354 rebuilt project PowerRename 2020-01-17 11:57:53 -08:00
Alekhya Kommuru
a504a75166 Removed string resources from the settings.cpp file 2020-01-17 11:25:42 -08:00
Alekhya Kommuru
44ac22c0de Added new lines to the end of the file 2020-01-17 11:12:23 -08:00
Alekhya Kommuru
df1c6b9b0b Removed get_res_string_wchar and used the get_resource_string() function instead which returns a wstring typecast into wchar* 2020-01-17 11:06:57 -08:00
AT
7ce45d2b11 fix pre build event 2020-01-17 14:56:26 +02:00
Alekhya Kommuru
bde0e0b86a Merge remote-tracking branch 'upstream/master' into locPowerRename 2020-01-16 13:58:59 -08:00
Arjun Balgovind
c1232a7001 Shifted three functions to common (#1101) 2020-01-15 23:06:22 -08:00
Alekhya Kommuru
12c4dbf0e5 added common as a reference project 2020-01-15 16:44:18 -08:00
Alekhya Kommuru
31a01ab227 Modified resourceIDs for strings in the table 2020-01-15 13:57:05 -08:00
vldmr11080
5dc60b9f35
Fix reversed order of zones in layout (#1071) 2020-01-15 20:20:10 +01:00
vldmr11080
588f134de8
Revert "Fix misaligned display of zones in layout priview and grid editor (#1010)" (#1097)
This reverts commit d03690cffd.
2020-01-15 19:34:23 +01:00
Clint Rutkas
2ae867a7e0
adding in privacy statement, removing About in dialog (#1087)
* adding in privacy statement, removing About in dialog

* added Preview
2020-01-15 10:16:22 -08:00
Clint Rutkas
c77b029ee2
Update to MSIX README.md (#1095)
* Update README.md

few adjustments

* Update README.md

* Update README.md
2020-01-15 10:15:24 -08:00
Alekhya Kommuru
d0648d1754 built the proj 2020-01-14 16:40:40 -08:00
Alekhya Kommuru
1e3486af94 localized the settings file 2020-01-14 16:39:03 -08:00
Alekhya Kommuru
8f2b2aba12 localized powerRenameExt 2020-01-14 15:23:21 -08:00
Alekhya Kommuru
0b1232b65d localized dllmain powerrename 2020-01-14 15:17:08 -08:00
Alekhya Kommuru
969abe015c added the helper functions 2020-01-14 15:00:05 -08: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
yuyoyuppe
9e296cdb46
MSIX: Code sign msixbundle (#1093) 2020-01-14 22:05:09 +03:00
yuyoyuppe
b07627611f
MSIX: label PowerToys as Preview (#1090) 2020-01-14 19:36:08 +03: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
yuyoyuppe
5e30721e01
MSIX: Extract MSIX building functionality from msix_reinstall.ps1 to a separate script (#1068) 2020-01-10 16:38:35 +03:00
vldmr11080
d03690cffd
Fix misaligned display of zones in layout priview and grid editor (#1010)
Fix misaligned display of zones in layout preview and grid editor
2020-01-09 22:40:38 +01:00
Bartosz Sosnowski
dad732b7e6
runner: show message box when restarting with different elevation fails (#1061)
Also make the message box appear on top of the settings window.
2020-01-09 18:17:42 +01: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