Commit Graph

7399 Commits

Author SHA1 Message Date
Clint Rutkas
826858c170 Adding in sytlecop and fixing issues 2019-12-12 12:13:31 -08:00
Clint Rutkas
f2400ee089 Getting analysis up and going 2019-12-12 11:23:36 -08:00
Seraphima
6e3587dd43 Settings unit tests (#921) 2019-12-12 18:24:00 +01: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
yuyoyuppe
f385e46927
Devdocs reorganisation (#913)
* docs: split usage and dev docs

* # This is a combination of 2 commits.
# This is the 1st commit message:

docs: split usage and dev docs

# The commit message #2 will be skipped:

# fixup add docs

* docs: add runner documentation and move hooks documentation to devdocs

* docs: add stubs for modules technical description

* docs: add paragraph about event thread-safety

* docs: add 'Current modules' section header
2019-12-12 12:25:19 +03:00
vldmr11080
c31262b97e Flash zones only when new virtual desktop is created (#818) 2019-12-12 10:10:55 +01: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
ryanbodrug-microsoft
9fad2d68af
Merge pull request #912 from ryanbodrug-microsoft/user/ryanbod/fix_unit_tests_fancyzones
[FancyZones][UnitTests] Fixing TestDeviceId, and TestUniqueId.
2019-12-11 08:49:45 -08:00
ryanbodrug-microsoft
51180adeb4 Autoformatting document. 2019-12-11 08:34:18 -08:00
SysC0mp
8ded683796 Merge branch 'dev' into highlight-how-results-matched 2019-12-11 16:50:17 +01:00
vldmr11080
31c4ab8ac0 Make sure FancyZones Editor window is on top of PowerToys settings window (#911) 2019-12-11 09:41:05 +01:00
ryanbodrug-microsoft
4f9d31e832 [FancyZones][UnitTests] Fixing TestDeviceId, and TestUniqueId to unit tests.
1. Creating a mock ZoneWindowHost.   Previously creating a ZoneWindow would throw an exception if the ZoneWindowHost is null.
2. Passing in HWND() instead of null to get rig of SAL annotation warnings.
2019-12-10 17:17:40 -08:00
Clint Rutkas
22e13e8c40
SVG logo for PowerToys 2019-12-10 16:30:53 -08:00
AT
bec52b81fd adding conetxt menu start 2019-12-11 02:21:50 +02:00
ryanbodrug-microsoft
7fc168532c
Merge pull request #902 from ryanbodrug-microsoft/user/ryanbod/getexampleprojecttobuild
Getting the example project to compile, and build.
2019-12-10 15:31:31 -08:00
ryanbodrug-microsoft
69b55bcbd3
Merge pull request #905 from ryanbodrug-microsoft/user/ryanbod/fixing_unit_tests_powerrenameregex
Fix for broken unit test in power rename using regular expressions and wildcard.
2019-12-10 14:13:12 -08:00
ryanbodrug-microsoft
c6e839271a This test brake was introduced in the following fix:
1efe5bff9f

It looks to me like the test cases just was also wrong and just wasn't updated with the fix.

I've modified some of the test cases to verify the expected behavior:
1) Slight refactor of the tests to pass in the SearchReplaceExpected and flags for the tests.
2) Using Assert::AreEqual instead of Assert::IsTrue for better error meesaging when failed.
3) Verifying that the behavior is the same with or without match all occurances when using *.
4) Verifying that without the `UseRegularExpressionsFlag` the `.*` characters get replaced, including when MatchAllOccurances is set.
2019-12-10 10:11:21 -08: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
AT
bcc9379ebc typo in log 2019-12-10 12:18:24 +02:00
Jeremy Wu
9855e2edee
Merge pull request #87 from jjw24/add_shell_plugin_runasadmin
Add option to run as administrator for Shell plugin
2019-12-10 20:27:51 +11:00
Jeremy Wu
e60e574902 update 2019-12-10 20:24:18 +11:00
Jeremy Wu
c22ab4afdf Revert changes to other plugin. Will refactor as a separate PR 2019-12-10 20:11:12 +11:00
Jeremy Wu
b123d95b71 Add run as admin toggle option to plugin settings 2019-12-10 20:03:43 +11:00
yuyoyuppe
1760af50c8
Format unittests (#906) 2019-12-10 10:28:24 +03:00
ryanbodrug-microsoft
73e33d7ba9 Getting the example project to compile, and build.
1) Adding example project to Debug / Release Builds.
2) Including <string> in common.h
3) Using std::optional instead of PowerToysValues::is_[type]_value
4) Fixing warnings generated by unreferenced 'ex' variable in exception handling.
5) Updated relative path of version.h in exeample_powertoy.rc
2019-12-09 15:04:02 -08:00
Jeremy Wu
201c26f7c8 Add run as administrator to Shell plugin settings 2019-12-10 08:23:34 +11:00
Jeremy Wu
1fd31d83bf Merge branch 'dev' into add_shell_plugin_runasadmin 2019-12-10 07:19:11 +11:00
SysC0mp
7d5c827dec Remove whitespace 2019-12-09 21:08:38 +01:00
SysC0mp
ce89ff3c85 FIx test methods
Use RawScore or Score depending on the test case. Also removed
unnecessary test settings introduced earlier.
2019-12-09 21:08:17 +01:00
SysC0mp
e60797cd0f Introduce RawScore property
New property RawScore is used to save the calculated score without any
search precision filtering added.
2019-12-09 21:06:31 +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
yuyoyuppe
776a4d657d
wix: run ngen on FancyZonesEditor (#898) 2019-12-09 19:02:47 +03:00
yuyoyuppe
8f0b962507
docs: add paragraph about clang-format (#896) 2019-12-09 16:37:43 +03:00
Jeremy Wu
8dc8431c0e
Merge pull request #94 from jjw24/add_folderplugin_displaytip
Add Folder search tips results' subtitle
2019-12-09 21:36:11 +11:00
Jeremy Wu
5aa15ef731 Add tips string to folder subtitle 2019-12-09 21:27:33 +11:00
Enrico Giordani
1519843f6f
Update WiX to 3.11.2 (#883) 2019-12-09 09:03:07 +01:00
AT
37a4eefc46 updated to use share folder 2019-12-09 00:26:21 +02:00
Jeremy Wu
1efcb2f80b
Merge pull request #91 from jjw24/fix_folderplugin_exceptions
Fix exceptions in Folder plugin search + other fixes
2019-12-09 08:34:50 +11:00
Jeremy Wu
0acb4f5aed lower the score for folder results
A search of other scores shows highest is 500, except for calculated score from String.Matcher
2019-12-09 08:29:20 +11:00
Jeremy Wu
4f38a953ac Add handling when query action keyword is empty 2019-12-09 08:28:22 +11:00
Jeremy Wu
f05767afe8 Add exceptions for unauth and arg not found when searching 2019-12-09 08:27:50 +11:00
Jeremy Wu
ddbf23df68
Merge pull request #90 from jjw24/fix_folderplugin_missingactionkeyword
Add action keyword when changing query in Folder plugin
2019-12-09 07:47:34 +11:00