Commit Graph

965 Commits

Author SHA1 Message Date
Jaime Bernardo
dc08987a60
[PTRun][Program]detect UWP trust level accurately () 2021-12-21 11:21:08 +01:00
Clint Rutkas
d5a2bf16d9
Add a new YAML release pipeline to replace the old CDPx one ()
* lets move unneeded stuff out

* adding in direct installer yml

* forcing internal

* Create release.yml

* Update release.yml

* Try to use the right feed, scrub

* What if we don't do package ES...

* Update release.yml

* Update release.yml

* Update release.yml for Azure Pipelines

* Update release.yml

* Update release.yml

* seeing where we are in the world

* adjustment

* fixed a copy/paste

* think we're in root, having a dir command just to verify

* start copying over core files

* adding in tools + setup

* fixing telem

* ci: fix could not lock config file flakiness

* forcing root dir

* attempting to copy files again

* adding notes

* lets try this again

* trying a quicker way to figure out root

* maybe it is the slash not being there looking at docs deeper

* playing with slashes

* signing

* tewak

* fixing file path for signing.  suprise, app driver and PT have different paths :)

* getting my sign on

* tweaking json

* Adjusting files and getting output from build

* fixing yml copy and paste oops

* fixing spacing ...

* getting bootstrapper added

* moving file and seeing if we can't get this pipeline goodness working

* trying my next oops at powershell ...

* shift in version location i bet this will fail, doing a parallel build to verify

* trying again for powershell passing in arg

* Dustin showed me the error

* forcing as string

* fdsfasd

* forcing as string

* getting sad panda

* trying to force array

* lets try this on single line ....

* i made a major oops

* Sync'ing naming, adding in signing for msi & boot

* breaking up signing into smaller bits

* grr, not everything committed

* Added a lot of comments

* fixing installer signing path

* fixing paths

* seeing if this fixes some of the signing quirks

* removing 3rd party double, removing the pipeline call

* centeralizing again

* more consolidation

* Going a bit more wide

* going very wide

* seeing if i can't do a dual but more targetted list

* think having leading slash caused a failure

* looks like the esrp  does not verify paths don't exist

* fixing 3rd party

* reseting old stuff so old pipeline still works

* resetting version setting

* [PR INTO CRUTKAS BR] Fix the localization pipeline ()

* Fix localization

This commit makes a few changes:
1. It introduces a couple scripts for moving localization files
   around based on Touchdown's output shape. They are well-documented.
2. It rewrites portions of the RESX->RC converter to avoid resgen and
   handle the new touchdown language types.

* I forgot the cardinal rule of using YAML: Don't

* Fix duplicate keys in Keyboard Editor!

* Up the timeout

* Update the language list in the wxs

* Use IsPipeline

* Special case SvgPreviewHandler >:{

* Push this down to Clint's branch: fix the publish profile

* Reinstate the call to publish.cmd

* Document it

* build the publishing rules

* Remove the GitSubmodules hack

* Restore CDPx move_uwp_resources

* Don't need this any more! spelling.

* adding spelling

* sorting alphabetical

* fix spelling

* shifint to new dll naming

* Move GcodePreviewHandler's Resources to follow the preferred C# format

* Revert "Move GcodePreviewHandler's Resources to follow the preferred C# format"

This reverts commit daf4c7ef3a.

* remove SVG workaround - requires !

* cleaning up commented code dustin said i could delete :)

* fixing tab vs space

* Update release.yml

Fixing Dustin comments

Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
Co-authored-by: Dustin Howett <duhowett@microsoft.com>
Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
Co-authored-by: Dustin L. Howett <dustin@howett.net>
2021-12-17 18:15:31 -08:00
ChaseKnowlden
f4b0e6372a
Remove Unused Package in PT Run () 2021-12-17 11:47:00 -08:00
Stefan Markovic
3ada3c20a2
[PT Run] Smooth scrolling of the results list ()
This fixes scrolling when using touchpad
2021-12-17 10:22:25 +01:00
Stefan Markovic
073caffef4
[Settings, Common.UI, runner exe] Unify exe/dll naming ()
* Unify exe/dll naming - PowerToys.Runner

Align naming with other exes - PowerToys Runner -> PowerToys.Runner

* Unify exe/dll naming - Microsoft.PowerToys.Common.UI

Project name - Microsoft.PowerToys.Common.UI -> Common.UI
dll name - Microsoft.PowerToys.Common.UI.dll -> PowerToys.Common.UI.dll

* Unify exe/dll naming - Settings

Project names - Microsoft.PowerToys.Settings* -> Settings*
Dll names - Microsoft.PowerToys.Settings*.dll -> PowerToys.Settings*.dll

* Revert file autoformat

* [Docs] Update paths to settings projects/files

* Fix tests - Update path
2021-12-15 12:56:52 +01:00
Graham Sutherland
f5d2f86c23
Add support for hex/binary numbers to calculator ()
This minor expression validation tweak allows hexadecimal and binary numbers to be entered into expressions.
2021-12-13 20:01:12 +03:00
Stefan Markovic
dfe9169e39
[modules] Unify exe & dll naming ()
* Unify exe/dll naming - AwakeModuleInterface

* Unify exe/dll naming - ColorPicker.dll & ColorPickerUI.exe

* Unify exe/dll naming - FancyZones, FancyZonesEditor & FancyZonesModuleInterface

* Unify exe/dll naming - ImageResizerExt & ImageResizer.exe

* Unify exe/dll naming - KeyboardManager.dll

* Unify exe/dll naming - FindMyMouse & MouseHighlighter

* Unify exe/dll naming - PowerRename.dll, PowerRenameUIHost & PowerRenameUILib

* Unify exe/dll naming - File Explorer add-ons

* Unify exe/dll naming - ShortcutGuide

* Unify exe/dll naming - VCM

* Unify exe/dll naming - PT Run

* Unify exe/dll naming - *.resources.dll

* [Fix] Unify exe/dll naming - VideoConferenceProxyFilter_x86
2021-12-10 10:50:46 +01:00
Jaime Bernardo
2ba1dcf03a
[PTRun]Avoid starting two instances from runner ()
* [PTRun]Avoid starting two instances from runner

* Set m_enabled later
2021-12-09 11:05:31 +00:00
ChaseKnowlden
aa376a2c0d
Description and Company name Fixed ()
* Description and Company name Fixed

* PowerToys Run fix
2021-12-06 22:04:11 -08:00
Davide Giacometti
3b89e6f5a4
[PTRun]update icons and author on startup () 2021-12-06 19:28:04 +00:00
Davide Giacometti
d7e36079fc
[PTRun][Window]PowerLauncher removed from results () 2021-12-06 19:27:10 +00:00
Stefan Markovic
88ec74d81e
Unify dll/exe naming - interop () 2021-12-06 16:27:54 +01:00
Clint Rutkas
35d328964f
Update Resources.resx () 2021-12-03 06:53:57 -08:00
Niels Laute
287bc99a0f
[Run] Removing unused icons ()
* Removing unused icons

* Update Product.wxs

* Update Product.wxs

* Update PowerLauncher.csproj

* Update PowerLauncher.csproj

* Revert "Update PowerLauncher.csproj"

This reverts commit 45011bd1e0.

* Revert "Update PowerLauncher.csproj"

This reverts commit c6d6298034.

* Update PowerLauncher.csproj

* Revert "Update PowerLauncher.csproj"

This reverts commit 60d30f30df.

* Update PowerLauncher.csproj
2021-12-03 00:02:56 +01:00
Jaime Bernardo
f92bfc62f1
[PTRun][Hotfix]Don't load duplicate plugins () 2021-12-02 16:41:15 +00:00
Stefan Markovic
c95fb78cf4
[PT Run - Calculator plugin] Allow single-digit factorial () 2021-12-02 15:07:47 +01:00
Davide Giacometti
ec11abbc52
[PT Run] [Program] Fix FileSystemWatcher Crash () 2021-11-30 14:41:09 +00:00
Jaime Bernardo
bf2c5d9ec0
[PTRun][Program]Avoid loops due to symlinks () 2021-11-30 11:25:01 +00:00
Franky Chen
c934127d84
[PT Run] Support for application URI ()
* [RUN] Add support for uri with scheme only

* Fix typo

* Add full support for application URI

* Apply suggestions from code review and add tests

* [PT Run] Add support for application uri

* Update error message

* Adapt the icon if the result is web URI

* Update icons for application URI

* Update icons for application URI (dark mode)

* Update icon
2021-11-16 22:06:45 +00:00
Davide Giacometti
c7381cf1d5
PT Run plugins directories alignment () 2021-11-16 16:09:18 +00:00
Jacob Deuchert
0aa213a31d
[PT Run][VSCode] Add DevContainer workspaces to search results ()
* [PT Run] (VSCode Workspaces Plugin)  Added devcontainers

* [PT Run] (VSCode Workspaces Plugin)  Added localization for dev container workspace type

* [PT Run] (VSCode Workspaces Plugin)  Streamlined result title for different workspace types
2021-11-11 14:06:59 +00:00
Heiko
2c9b86d873
[PT Run] [Settings plugin] Add new settings ()
* Add entries for settings tools ()

* Add UAC entry ()

* fix typo

* Add entries for environment vars ()

* fix typos

* fixes

* Improvements

* fix resource strings

* Fix merge conflicts

* update system env vars command

* fix json schema

* Update settings

* fix typo

* add firstResultScore

* fix typos
2021-11-10 16:38:27 +00:00
Heiko
fb97ce040b
[PT Run] Improvements on EnvironmentHelper and deletion of old env vars ()
* Improve log message

* New method

* changes made so far

* code cleanup and new method

* fix method name

* final changes so far

* Code cleanup and typo fixes

* fix bugs and code cleanup

* fix typo

* rename Method

* fix cast exception

* fix type casting

* exception handling for testing

* Update path var name#

* make collections case insensitive

* fix spelling

* add code to update names

* improve comments

* exception handling and logging

* update comments

* final changes

* fix typo

* Update comments

* add summary to IsRunningAsSystem method

* update var and fix typos

* Update code

* add log warning for protected vars

* add comment

* fix bugs

* small change

* Update log text

* Skipp logging for USERNAME
2021-11-10 16:38:03 +00:00
Stefan Markovic
e6a7f9193b
[PT Run] If only delayed results available, select first () 2021-11-02 14:04:17 +01:00
Stefan Markovic
a881e6b3d5
Put UpdateResultsListViewAfterQuery calls logic with inside addResultLock blocks () 2021-11-01 17:16:57 +01:00
Franky Chen
3a48fa03a5
[Settings] Capitalize English word () 2021-10-29 14:16:43 +01:00
Davide Giacometti
64cc6b7af7
[PT Run] [Folder Plugin] Environment Variables With Autocomplete ()
* search environment variables folders with autocomplete

* refactoring and tests

* fix
2021-10-20 14:27:15 +01:00
Tobias Sekan
da0b96a5ad
[WindowsSettings] DevDocs + JSON schema ()
*  - Added JSON schema and extra shell class

*  - Address feedback and fix wrong typo for a member

*  - Add DevDoc (first version)

*  - make spellcheck happy

*  Address feedback, add scores, replace todos

* Make build server happy

*  - Address feedback - Extra table for keys

*  - Address feedback

*  -Address feedback, add language specified

Co-authored-by: Sekan, Tobias <tobias.sekan@axp-consulting.de>
2021-10-14 15:17:41 +01:00
Franky Chen
db1318fed1
[PTRun][URI]Add test case for () 2021-10-13 22:16:56 +01:00
Stefan Markovic
6cc8da120f
[PT Run] Align SelectedIndex and SelectedItem ()
* Set SelectedIndex to 0 after delayed execution of plugins

* Revert "Set SelectedIndex to 0 after delayed execution of plugins"

This reverts commit 5397d0f1fa.

* Align hovered and selected item
2021-10-12 18:10:52 +02:00
Jaime Bernardo
6705fb453e
[PTRun][Program] Avoid looping on folder cycles () 2021-10-11 10:43:56 +01:00
Stefan Markovic
063beddb01
[PT Run] Check for invalid plugin additional option ()
* Check for dictionary null key value

* Combine condition in a single if statement
2021-10-05 15:18:45 +02:00
Davide Giacometti
cf2ec690db
[PT Run] Windows Terminal Plugin ()
* run windows terminal plugin

* fixes
2021-10-04 23:45:41 +01:00
Franky Chen
7daf35d898
Https scheme fix, merging ()
* HTTPS by default, HTTP only if specified

* Added/Updated unit tests;Added FTPS

* Added confirmation to system messages such as shutdown, reboot, and lock

* Corrected Typo

* Added confirmation to system messages such as shutdown, reboot, and lock

* Corrected Typo

* Made changes requested by @mykhailopylyp

* Further changes per review by mykhailopylyp

* Fixes per code review

* Changes per Mykhailopylyp

* Fix all schemes being replaced with HTTPS

Added new tests

* Merging conflicts

* Add ftp to fix spell-check

* Fix unit tests

Co-authored-by: chrisharris333 <60838650+chrisharris333@users.noreply.github.com>
Co-authored-by: Chris Harris <chris.harris@mytinycloud.com>
2021-10-04 18:56:27 +01:00
Jaime Bernardo
84b2ae3e8f
[PT Run] Add setting to use centralized keyboard hook ()
* [PT Run] Add setting to use centralized hook

* Add UI separator
2021-10-01 14:59:52 +01:00
Jaime Bernardo
b0d35f5ef8
Fix for WPF DPI issue on .net 3.1.19 () 2021-10-01 14:03:04 +01:00
Jaime Bernardo
1984b3747e
[PTRun][Services] Search for result full title () 2021-09-29 11:50:40 +01:00
Jaime Bernardo
c85fa98bcc
[PT Run] Fix some keyboard issues on plugin ()
* Don't use enter for accelerator keys in results

Enter is already used to select commands in the context menu in the
result entries.

* Don't crash when trying to show a tooltip

* Clear hanging tooltips when keyboard navigating

* Starting/stopping service on Enter
2021-09-28 15:30:44 +01:00
Jaime Bernardo
26e8d0d976
[OOBE] Fix starting PowerToys Run () 2021-09-27 15:55:00 +01:00
Jaime Bernardo
d7098e87ee
[PTRun] Fix crash when shutting Windows down () 2021-09-23 18:09:38 +01:00
csigs
f4531130b6
LEGO: check in for master to temporary branch. () 2021-09-20 21:50:10 +01:00
Davide Giacometti
c6a24b3907
[PT Run][Registry] handle invalid base keys () 2021-09-20 11:35:39 +01:00
Jaime Bernardo
6bd0840863
[PT Run][Registry] show no results on query fail () 2021-09-17 15:49:40 +01:00
Heiko
9fb663210d
[PT Run] EnvironmentHelper: Adding logging and error handling ()
* Add error handling and logging

* improvements

* fix typos

* comment updates

* fix typos
2021-09-16 11:17:33 +01:00
Heiko
8e350ca4a7
[PT Run] Settings plugin: Settings path filter and bug fixes ()
* Create filter method

* adding call of new method

* solve bug 

* fixes and comment updates

* fix typos

* Update filter method

* Improve performance on empty queries

* fix typos
2021-09-15 18:37:36 +01:00
csigs
7d8f7aafdd
LEGO: check in for master to temporary branch. () 2021-09-14 11:16:17 +01:00
csigs
1edd52014e
LEGO: check in for master to temporary branch. () 2021-09-13 14:22:43 +01:00
Jaime Bernardo
5963294b04
[PowerToys Run] Use global HotKey instead of low level keyboard hook ()
* [PowerToys Run] Register global HotKey

Using low level keyboard hooks caused focus issues when invoking
PowerToys Run. Using a global HotKey solves this issue.

* Properly unregister hotkey on dispose

* fix spellchecker errors
2021-09-08 18:39:51 +01:00
Davide Giacometti
f00bf7cf19
[Settings] update additional options for launcher plugins () 2021-09-06 23:19:00 +01:00
Davide Giacometti
2fe6282157
[PT Run] Option for system commands localization () 2021-09-06 23:18:14 +01:00
Heiko
2bfc62d9a5
[PT Run] [WindowsSettings plugin] Translation improvements and LocProject.json ()
* TranslationHelper: Update/add if conditions

* Resource strings: Update <ControlPanel>

* Creating <LocProject.json>
2021-09-06 18:17:20 +01:00
Heiko
dcc4563c8c
[WindowsSettings Plugin] Improve subtitle and area naming ()
* Update WindowsSettings clas

* Update TranslationHelper

* Adding ToDos to code

* Adding ToDo notes

* Introduce AreaPathHelper

* Small improvement

* Improve helper class

* Update ResultHelper

* Fix spelling

* adding todo marker

* Improve calling of <WindowsSettingsPathHelper>: Update class <WindowsSetting>

* Improve calling of <WindowsSettingsPathHelper>: Update helper class

* Improve calling of <WindowsSettingsPathHelper>: Implement method call

* TranslationHelper: Small fixes

* Fix scoring for areas property

* Fix search filters for area property

* small fixes

* Update WindowsSettings.json

* adding todos

* Code cleanup, improvements and fixes

* Small changes

* Update resource strings

* Fix msitakes

* Update settings

* resolve review feedback
2021-09-06 11:46:14 +01:00
Jaime Bernardo
078cf2c22f
[PowerToys Run] Fix register notifications crash () 2021-08-26 17:35:28 +01:00
Roy
ea25bd91b0
Standardize .NET JSON on System.Text.Json ()
* Implement System.Text.Json for Community.PowerToys.Run.Plugin.VSCodeWorkspaces ()

* Implement System.Text.Json for Community.PowerToys.Run.Plugin.VSCodeWorkspaces

* Cleanup property names

* Implement System.Text.Json for Microsoft.PowerToys.Settings.UI ()

* Implement System.Text.Json for Powerlauncher ()

* Implement System.Text.Json for Wox.Infrastructure

* Implement System.Text.Json for Powerlauncher

* Implement System.Text.Json for Microsoft.Plugin.Folder

* Implement System.Text.Json for Wox.Plugin

* Remove Newtonsoft.Json from launcherInstallComponent

* Update properties with private setter
Format JSON output

* Serialize Get with private set property

* Implement System.Text.Json for ImageResizerUI ()

* Implement System.Text.Json for ImageRezierUI

* Change Newtonsoft.Json.dll to System.Text.Json in ImageResizer

* Add  writefile to spelling whitelist

* Fix installer

* Fix bad merge

Co-authored-by: mykhailopylyp <17161067+mykhailopylyp@users.noreply.github.com>
2021-08-20 14:36:29 +01:00
Derek Christensen
e87e06bae6
Update environment variables changed () 2021-08-18 16:43:24 +01:00
Jaime Bernardo
8639740e6c
[Telemetry] Fix show hide events on PT Run cold boot ()
* [Telemetry] fix show hide events on PT Run boot

* Fix spellchecker error
2021-08-18 11:20:48 +01:00
Davide Giacometti
e96c0da265
Test frameworks consolidated () 2021-08-16 14:25:06 +01:00
Ben Constable
2df4b987ce
Check return is not null and if so get directory info () 2021-08-16 16:19:22 +03:00
Jaime Bernardo
d704aad162
[PowerToys Run] Keyboard shows command tooltips ()
* [PowerToys Run] Keyboard shows command tooltips

* Fix spellchecker error

* Another try at fixing the spellcheck error
2021-08-12 14:17:27 +01:00
csigs
3116cb073c
LEGO: check in for master to temporary branch. () 2021-08-12 12:28:34 +01:00
Davide Giacometti
1791246a79
[PowerToys Run] Plugins StyleCop and warnings fix () 2021-08-11 16:22:30 +01:00
Chris
04636339ce
[Powertoys Run] Add setting to confirm system commands ()
* HTTPS by default, HTTP only if specified

* Added/Updated unit tests;Added FTPS

* Added confirmation to system messages such as shutdown, reboot, and lock

* Corrected Typo

* Added confirmation to system messages such as shutdown, reboot, and lock

* Corrected Typo

* Made changes requested by @mykhailopylyp

* Further changes per review by mykhailopylyp

* Fixes per code review
2021-07-28 14:37:30 +01:00
Mykhailo Pylyp
9731cdee67
Revert "[PowerToys Run] Update to net5 ()" ()
This reverts commit c651a4b36e.
2021-07-28 12:15:47 +01:00
Mykhailo Pylyp
c651a4b36e
[PowerToys Run] Update to net5 ()
* [Setup] Add support for installing both dotnet 3 and 5 ()

* [PowerToys Run] Update to net5 ()

* Change targets of projects

* Update Microsoft.Toolkit.Uwp.Notifications,

changed TargetFramework for PowerLauncher project in order to resolve an issue with ModernWpf

* Specify windows version in order to fix build errors

* Fixed suppressed warnings

* Updated sdk

* Removed usage of obsolete GlobalAssemblyCache

* Removed obsolete DesktopNotificationManagerCompat

* Update nuget versions

* Update installer

* [PowerToys Run] Obsolete APIs and warnings introduced in .net5 ()

* Change targets of projects

* Update Microsoft.Toolkit.Uwp.Notifications,

changed TargetFramework for PowerLauncher project in order to resolve an issue with ModernWpf

* Fixed suppressed warnings

* Removed obsolete DesktopNotificationManagerCompat

* Get rid of binary formatter

* Update tests

* Don't include new image cache file to the report

* There's no need to call IsOwner as it doesn't make sense

* Fix different nullability exception

* Exclude extra dlls from tests

Co-authored-by: Andrey Nekrasov <yuyoyuppe@users.noreply.github.com>
2021-07-21 19:02:45 +03:00
Jaime Bernardo
e12e707704
[PowerToys Run] Fix corrupt/outdated plugins load crash ()
* [PowerToys Run] Add type error catch and details

* [PowerToys Run] don't load outdated config plugins

Don't load plugins which don't have the new IcoPathDark and
IcoPathLight fields.
2021-07-19 16:13:05 +01:00
Chris
a084ea24b3
HTTPS by default, HTTP only if specified ()
* HTTPS by default, HTTP only if specified

* Added/Updated unit tests;Added FTPS
2021-07-16 14:38:26 +03:00
Davide Giacometti
55923f2790
[Run] ViewModels Cleanup ()
* view models cleanup

* removed unused commands
2021-07-15 17:34:27 +03:00
Davide Giacometti
3c04111483
improve first PT Run call performance () 2021-07-15 11:51:41 +03:00
Davide Giacometti
3f70c8c889
handle numeric input () 2021-07-05 17:26:31 +03:00
Mykhailo Pylyp
b42eb08ec6
Start PowerToys Run through the ActionRunner () 2021-07-01 10:26:58 +01:00
Mykhailo Pylyp
a90c738c10
Fix clicking on text () 2021-06-30 13:05:12 +03:00
Mykhailo Pylyp
d7e09e83c2
Register the hotkey after PT Run is initialized () 2021-06-24 17:50:34 +03:00
Clint Rutkas
bdf85989fc
adding in mod support via % ()
Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
2021-06-22 08:54:28 -07:00
Mykhailo Pylyp
cf9f0ce6a9
[PowerToys Run] Issues with elevation ()
* Delegate creation of non elevated process

* Error handling

* nits

* Fix potential race condition

* Fix spelling

* Fix spelling

* Fix build
2021-06-22 15:24:03 +03:00
Mykhailo Pylyp
f662c062d2
[Run-Plugin][Program] Fix null reference exception on Dispose () 2021-06-18 13:40:10 +03:00
Mykhailo Pylyp
c953f10c21
Don't crash if UserSelectedRecord.json can not be updated () 2021-06-18 13:38:23 +03:00
Mykhailo Pylyp
735accc1a8
Don't crash if URI can't be parsed () 2021-06-18 13:01:40 +03:00
Roy
5b804a1ff6
[PT Run] Improve the UWP Program Indexing speed ()
* Improve UWP Indexing speed

* Optimize Linq usage
Added static readonly vars

* Optimzie GetAppsFromManifest

* LogoUriFromManifest uses logoUri which is also an instance variable

* Add IsPackageDotInstallationPathAvailable

* Dispose FileStream

* Fix InstalledPath after testing in build 1903

* Fix typo
2021-06-14 01:19:05 -07:00
Roy
b2cff5cbd3
UpdateUWPIconPath can only be called after all UWP apps are initialzied () 2021-06-10 06:55:54 -07:00
Roy
9eae6cc6f2
Update mages to V2 (.NET Standard 2.0) () 2021-06-10 06:40:20 -07:00
Mykhailo Pylyp
8d5f52c718
Don't disable PT Run if it fails to start(running elevated) () 2021-06-10 14:08:56 +03:00
Mykhailo Pylyp
c9c54b7780
[Run-Plugin] Settings plugin ()
* Current settings plugin state on fresh master

* typo fixes

* Add to YML

* Add to WXS

* Address feedback - highlight the note in the tool-tip a little bit

* Address feedback add extra note for "Manage known networks"

* Address feedback - Show type of settings in sub-line and remove extra ControlPanel prefix in json

* Add "WiFi" as alternative name for each Wi-Fi setting

* Add a few more alternative names

* Make RESX happy

* exclude WindowsSettings.json from spell checker because all entries are placeholders  for the translation

* Translate all alternative names

* Translate all notes

* fix for not find "wifi"

* fix typo

* typo fixes and remove debug

* Address feedback - correct author

* Address feedback - settings entries

* Address feedback - code changes

* Address feedback - RESX changes and tool-tip

* fix typo

* Address feedback - remove superfluous interface

* Address feedback - Update RESX

* Address feedback - simplification

* Address feedback - remove enumeration

* Address feedback - move big function in extra helper classes

* Address feedback - move big function in extra helper class

* Address feedback - correct namespace

* Address feedback - move translation to translation helper and make translation more robust

* fix typo

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Main.cs

Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Helper/ResultHelper.cs

Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Main.cs

Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>

* fix build

* Address feedback

* ups

* Address feedback - Correct windows update settings name

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/WindowsSettings.json

Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>

* adding in dependencies so when you build Launcher, all plugins are included

* Address feedback - add optional updates

* Address feedback - use build numebr instaed of Windows version

* Address feedback - Log difference between registry values + fix wrong ValueType (ushort -> uint)

* Address feebdback - improved warning message on different registry values

* fix typo

* removed not need using

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Helper/UnsupportedSettingsHelper.cs

Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Helper/UnsupportedSettingsHelper.cs

Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Helper/UnsupportedSettingsHelper.cs

Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>

* Addrress feedback, don't copy embed file

* Address feedback - Remove duplicated or not available settings

* Address feedback - Improve scoring

* Address feedback - Add extra filter

* Address feedback - replace the are filter sign with a better one

* Address feedback - fix unwanted behavior

* Address feedback - Change class name

* Address feedback - Rename settings type

* typo fix

* Fix installer

* Comment out localization support

Co-authored-by: Sekan, Tobias <tobias.sekan@startmail.com>
Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>
Co-authored-by: crutkas <crutkas@microsoft.com>
2021-06-09 18:04:03 +03:00
ThiefZero
fc9d7e4f1b [PT Run][New Plugin] Unit Converter () () 2021-06-09 12:30:57 +01:00
Jaime Bernardo
27e609f6eb Revert "[PT Run][New Plugin] Unit Converter () ()"
This reverts commit 1dabd761e1,
to give proper attribution to the author.
2021-06-09 12:30:57 +01:00
Niels Laute
884a313f3c
[Run] Highlight search text ()
* Add bolded type

* Inline get set

* Fix

* Update expect.txt

IMulti

Co-authored-by: Niels Laute <niels9001@hotmail.com>
Co-authored-by: Clint Rutkas <clint@rutkas.com>
2021-06-08 11:23:27 -07:00
Mykhailo Pylyp
55b6fb8da6
Fix internal build () 2021-06-08 11:14:14 -07:00
Clint Rutkas
0f19d675f5
moving apps to 0.9.4 that were not. ()
Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
2021-06-08 10:16:04 -07:00
Enrico Giordani
1dabd761e1
[PT Run][New Plugin] Unit Converter () () 2021-06-08 18:53:11 +03:00
Roy
266aafb700
[PT Run] Improve the Win32 Program Indexing speed () 2021-06-03 17:11:09 +03:00
Mykhailo Pylyp
cecf6fb089
Save relative path to settings () 2021-06-01 10:57:53 +03:00
Mykhailo Pylyp
3807673574
[PowerToys Run] Crash on exit, logs () 2021-05-31 13:00:06 +03:00
Mykhailo Pylyp
338b7b8a29
Program plugin logs () 2021-05-27 19:15:22 +03:00
Mykhailo Pylyp
aecabc0372
[PowerToys Run] Settings watcher logging () 2021-05-26 18:07:32 +03:00
csigs
516c96a8b7
LEGO: check in for master to temporary branch. () 2021-05-24 18:40:55 +02:00
Mykhailo Pylyp
d537280454
Kill PowerToys Run process if it is already running () 2021-05-24 12:05:17 +03:00
Doğan Çelik
17fbe40b40
[PT Run] Fix Program Plugin launching issue in Turkish locale ()
* [Launcher] Fix Program Plugin launching issue in Turkish locale

* [Launcher] Add test for Turkish localized path

* Update expect.txt

* Update .github/actions/spell-check/expect.txt

Co-authored-by: Clint Rutkas <clint@rutkas.com>
Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
2021-05-21 16:51:53 +02:00
Mykhailo Pylyp
50c6a1de8a
[PowerToys Run] Logging () 2021-05-21 17:24:33 +03:00
Seraphima Zykova
b96b4fcb0f
[Auto-update] Auto-update improvements ()
* [Updating] Refactor autoupdate mechanism to use Settings window buttons

* [Updating] Don't use underscores in update_state ()

* [Updating] Rename action_runner to be consisent with accepted format

* [Updating] Make UpdateState values explicit

* [Setup] Set default bootstrapper log severity to debug

* [BugReport] Include all found bootstrapper logs

* [Setup] Use capital letter for ActionRunner

* [Updating] Simple UI to test UpdateState

* [Action Runner]  cleanup and coding style

* [BugReportTool] fix coding convension

* [Auto-update][PT Settings] Updated general page in the Settings ()

* [Auto-update][PT Settings] File watcher monitoring UpdateState.json ()

* Handle button clicks ()

* [Updating] Document ActionRunner cmd flags

* [Auto-update][PT Settings] Updated UI ()

* [Updating] Do not reset update state when msi cancellation detected

* [Updating] Directly launch update_now PT action instead of using custom URI scheme

* Checking for updates UI ()

* [Updating] Fix cannotDownload state in action runner

* [Updating] Reset update state to CannotDownload if action runner encountered an error

* [Updating][PT Settings] downloading label, disable button in error state

* Changed error message

* [Updating rename CannotDownload to ErrorDownloading

* [Updating] Add trace logging for Check for updates callback

* [Updating][PT Settings] simplify downloading checks

* [Updating][PT Settings] Updated text labels

* [Updating][PT Settings] Retry to load settings if failed

* [Updating][PT Settings] Text fix

* [Updating][PT Settings] Installed version links removed

* [Updating][PT Settings] Error text updated

* [Updating][PT Settings] Show label after version checked

* [Updating][PT Settings] Text foreground fix

* [Updating][PT Settings] Clean up

* [Updating] Do not reset releasePageUrl in case of error/cancellation

* [Updating][PT Settings] fixed missing string

* [Updating][PT Settings] checked for updates state fix

Co-authored-by: yuyoyuppe <a.yuyoyuppe@gmail.com>
Co-authored-by: Andrey Nekrasov <yuyoyuppe@users.noreply.github.com>
Co-authored-by: Enrico Giordani <enrico.giordani@gmail.com>
2021-05-21 12:32:34 +02:00
Lee Won Jun
de9b7772e1
[PT Run] Implement quick browser open in PT-run ()
* Implement quick broswer open in PT-run

* Update src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Properties/Resources.resx

Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>

Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>
2021-05-14 09:55:57 -07:00
Enrico Giordani
1fa174c184
[Run] remove Python class ()
Run deosn't support Python plugins
2021-05-10 17:48:41 +02:00
ricardosantos9521
4dab056d28
improve sorting vscodeworkspaces plugin ()
* improve sorting vscodeworkspaces

* String.empty to string.empty. use ToLowerInvariant() instead of ToLower().

* more String.empty to string.empty. use ToLowerInvariant() instead of ToLower().
2021-05-04 08:51:44 -07:00
csigs
088b23f09a
LEGO: check in for master to temporary branch. () 2021-05-03 06:28:40 +02:00
csigs
34f371aeae
LEGO: check in for master to temporary branch. () 2021-04-19 13:07:20 -07:00
Mykhailo Pylyp
a92c18f80c
Log a warning if a plugin search takes more than 50 milliseconds () 2021-04-19 11:43:24 +03:00
Ivan Stošić
c08be14919
Use local mutexes ()
* Update file config mutex code in KeyboardManager

* Update runner instance mutex names and logic

* Update Launcher mutex

* Update a mutex in the Runner

* Restored a mutex used in the installer

* Update src/modules/launcher/PowerLauncher/App.xaml.cs

Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
2021-04-08 19:42:46 +02:00
Enrico Giordani
aa5ff65b54
[runner, color picker, run] remove os dection () 2021-04-08 16:10:05 +02:00
Mykhailo Pylyp
97fdf10cea
Divide load and initialize of plugins into two stages () 2021-04-08 16:07:26 +03:00
Mykhailo Pylyp
1c8b7a5ae5
Do not load plugin when it is disabled () 2021-04-05 17:57:22 +03:00
Niels Laute
ed21dba8f0
Removed manual cleartype ()
Co-authored-by: Niels Laute <niels9001@hotmail.com>
2021-04-05 16:26:24 +02:00
ricardosantos9521
2b9ecf75b6
fix workspaces not showing in vscode plugin () 2021-04-02 15:06:14 +02:00
Clint Rutkas
fba4fd91a1
Updating nugets ()
* Update System.Text.Json and Newtsoft.json

* update newtson.json

* Updating testing only items.
2021-03-30 09:52:00 -07:00
csigs
49fb838175
LEGO: check in for master to temporary branch. () 2021-03-29 15:46:38 +02:00
Mykhailo Pylyp
9a3896f48a
logs () 2021-03-26 19:17:26 +02:00
Mykhailo Pylyp
1c46e6b72b
Added more logging () 2021-03-26 14:21:29 +02:00
Mykhailo Pylyp
718289c115
Settings telemetry for ColorPicker () 2021-03-25 16:04:56 +02:00
Andrey Nekrasov
3601492ce1
[PowerLauncher] Immediately releases AppxManifest stream objects () 2021-03-23 18:32:33 +03:00
ricardosantos9521
55cfaaf929
add tooltips to vscode workspaces plugin () 2021-03-23 10:32:55 +01:00
Mykhailo Pylyp
612e9f8b99
Settings telemetry for PT Run () 2021-03-19 19:03:12 +02:00
Mykhailo Pylyp
3a15276668
"Clear the previous query on launch" has a flicker () 2021-03-18 20:04:04 +02:00
Mykhailo Pylyp
5e9a31eaa7
fix versions for registry and vscode workspaces plugins () 2021-03-18 18:19:09 +02:00
Josh Soref
72d92413a2
Upgrade check-spelling to 0.0.17-alpha ()
* spelling: snapped

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: split

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* ci: update to Spell check to 0.0.17a

In the past, plurals `foo`+`s` and past tenses `foo`+`ed` were
automatically tolerated. This turned out to be a bad design choice on my
part.

The basic example is that `potatos` would sometimes be treated as a
mistake and sometimes not (depending on the presence of `potato`).

You can see in this PR, that this logic resulted in `SNAPED` being
accepted as a word along with `actioned` -- there's nothing
intrinsically wrong w/ the latter, but unfortunately in order to screen
out the former, my shortcut just couldn't stick around. This means that
the `expect` files will grow perhaps by a tiny bit, but as
you can see, not really by much.

When GitHub initially introduced GitHub Actions, the event for
`pull_request` was created without enough permission for a tool like
this to work properly. I worked around that by using the `schedule`
event. In 2020, they introduced a replacement event
`pull_request_target` which has enough permission. This means that I can
stop relying on the `schedule` event.
2021-03-17 19:27:30 +01:00
Mykhailo Pylyp
1d2aeaf147
Tests on pipeline () 2021-03-16 17:29:20 +02:00
csigs
885c7c4e50
LEGO: check in for master to temporary branch. () 2021-03-15 18:49:55 +01:00
Enrico Giordani
9a2c195f5f
[chore] cleanup 'using' statements ()
fix typo in comment
2021-03-10 13:16:46 +01:00
Adam Short
5c45f2c7b8
[PT Run] Run dialog now has monitor positioning options ()
* Run dialog now has monitor positioning options

* add monitor index validation in window position calculation

* correct path in page

* change how radio buttons are declared to resolve them not being set based on setting

* Change "follow mouse" wording

Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com>

* PowerLauncher -> PowerToysRun for new variables/resources

* correct header label id and update wording to PowerToys Run

* only enable custom index if BOTH custom position radio checked and Run is enabled

* retrieve list count of detected monitors to limit selection of MonitorToDisplayOn

* add a link to Windows Display settings

* fix display settings link

* change how we get the number of connected monitors so we're not relying on presentation core, windowsbase etc which seem to fail the build

* combine position and appearance headers

* change references for custom position to "focus"

* restore accidentally removed files

* remove unused directives

* hook up "active window" position with the launcher window

* remove left overs

* remove uneeded itemgroup

* make resource prefixes consistent; using "Run_"

* add etcoreapp to spell check

* undo change to file not modified in the end

* remove unused checkbox post rebase

* remove change to reduce diff size

* changes according to review

* revert whitespace changes post rebase

* revert resources

* add changes back

* Update src/settings-ui/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw

Add comment

Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>

* remove unneeded resource string

Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com>
Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
2021-03-09 18:20:49 +01:00
Mykhailo Pylyp
964286ab99
Makes AllPlugins single tone thread safe () 2021-03-09 18:31:30 +02:00
csigs
38eb6ad062
LEGO: check in for master to temporary branch. () 2021-03-09 10:06:21 +01:00
Mykhailo Pylyp
c36b202fe7
VSCode to full name, disable Visual Studio Code plugin by default () 2021-03-08 13:57:32 +02:00
Mykhailo Pylyp
0c3f8af4d9
update plugins settings with changes () 2021-03-05 15:43:08 +02:00
Mykhailo Pylyp
e66db5cc10
fix path to resources.resx file () 2021-03-05 14:51:44 +02:00
Niels Laute
f09b3e2dae
[Run] Add Fluent icon for PT Run ()
* Add run ico

* Updated ico

* Add icon as resource and also as asset

Co-authored-by: Niels Laute <niels9001@hotmail.com>
Co-authored-by: Enrico Giordani <enrico.giordani@gmail.com>
2021-03-05 12:01:36 +01:00
Enrico Giordani
22429b2407
[chore] remove unused functions () 2021-03-05 11:48:19 +01:00
Enrico Giordani
4ce0c91ea7
[chore] remove unused telemetry events () 2021-03-04 20:31:23 +01:00
ricardosantos9521
7e5fb876bb
[Run][New Plugin] VSCode Workspaces/Remote machines ()
* vscode workspaces plugin for Powertoys Run

* reduce score

* make vscode workspaces dynamic instead of string to prevent exceptions

* change icons again

* remove unused images and PreserveNewest during build

* code refactoring

* show vscode ssh remote machines

* update score workspaces

* vscode workspaces plugin for Powertoys Run

* remove unused images and PreserveNewest during build

* code refactoring

* remove unused packages

* get ExecutablePath from AppData and use shell to vscode process

* ' instead of \"

* try using ((char)34) instead of '

* add comments

* translate windows paths

* remove unused code

* add vscodeworkspace to installer

* use the new naming convention for plugins

* sign VSCodeWorkspaces.dll

* reimplement ssh-config parser

* update spell-check

* use the new naming convention for community plugins

* minor adjustments

* add actionKeyword {

* prevent copyright

* add localization

* add github link

* bug fix after localization

* --new-window --enable-proposed-api ms-vscode-remote.remote-ssh

* change order by

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator/Properties/Resources.Designer.cs

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator/Properties/Resources.Designer.cs

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator/Properties/Resources.Designer.cs

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator/Properties/Resources.Designer.cs

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator/Properties/Resources.Designer.cs

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator/Properties/Resources.Designer.cs

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator/Properties/Resources.Designer.cs

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator/Properties/Resources.Designer.cs

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator/Properties/Resources.Designer.cs

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator/Properties/Resources.Designer.cs

* Update src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator/Properties/Resources.Designer.cs

* Update src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.VSCodeWorkspaces/Properties/Resources.resx

* Update src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.VSCodeWorkspaces/Properties/Resources.resx

* Update src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.VSCodeWorkspaces/Properties/Resources.resx

* Update src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.VSCodeWorkspaces/Properties/Resources.resx

* Update src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.VSCodeWorkspaces/Properties/Resources.resx

* fix powertoys run settings not working

* update plugin description

Co-authored-by: ricar <ricar@ASUS>
Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
2021-03-04 18:15:49 +01:00
Sean Lin
f648ac44b2
Save raw command instead of resolved command in shell history () 2021-03-04 18:04:31 +01:00
Clint Rutkas
a12350274b
Goign t from OOBE to this, this Additional Options was null and crashed. () 2021-03-02 08:04:08 -08:00
csigs
b9ee317ab9
LEGO: check in for master to temporary branch. () 2021-03-01 14:59:05 +01:00
Mykhailo Pylyp
4a9e920a1c
[PowerToys Run] Plugin manager () 2021-02-26 13:21:58 +02:00
Davide Giacometti
571bceb386
common helper for execute shell process from run plugins () 2021-02-23 09:53:08 +01:00
csigs
a786fd308a
LEGO: check in for master to temporary branch. () 2021-02-22 18:20:25 +01:00
Davide Giacometti
ff4a78a7f9
PT Run Service notification improvements () 2021-02-19 18:17:52 +01:00
Ivan Stošić
ee45c39d65
Fix Runner stealing shortcuts on older Win10 () 2021-02-17 11:36:39 +01:00
Niels Laute
df5f5ba1b5
[Run] Fix context menu ()
* Added modern context menu

* Context menu fix

Co-authored-by: Niels Laute <niels9001@hotmail.com>
2021-02-15 20:27:39 +01:00
Mykhailo Pylyp
d92ff6d45d
tweak plugin settings () 2021-02-10 15:12:42 +02:00
Davide Giacometti
ec6b9acad9
[FanzyZones] Common ThemeManager ()
* common ThemeManager in FancyZones editor

* fix high contrast theme
2021-02-10 14:10:42 +01:00
Davide Giacometti
d2902440d2
PT Run tile as user home () 2021-02-10 14:02:29 +01:00
Ivan Stošić
c8f0492353
[PT Run] Improve logs ()
* Improved some aspects, more work left

* Fix Log being called instead of building a string

* Address PR comments

* Okay, spell checker
2021-02-09 14:54:39 +01:00
csigs
2e3345d2ce
LEGO: check in for master to temporary branch. () 2021-02-07 10:40:50 +01:00
Clint Rutkas
fffb26f558
small tweak but helps boost build time locally. https://github.com/mrlacey/DontCopyAlways/blob/main/explanation.md () 2021-02-04 04:18:50 -08:00
Clint Rutkas
2b449e0850
Consolidate nuget packages ()
* TestFramework to 2.1.2

* TestAdapter to 2.1.2

* ModernUI to 0.9.3 which is used by FancyZones
2021-02-04 04:18:24 -08:00