Commit Graph

6278 Commits

Author SHA1 Message Date
Jeff Lord
ee904ae1b1
Settings backup and restore (#20551)
* Merge and conflict resolution

* Messages good, backup/restore algo better.

* Start of "GetExportVerion"

* fixed spelling

* New backup/restore mode working.

* Rename a project

* Removed test project

* Switch to text.json

* Renamed BackupAndSync to BackupAndRestore

* Added IgnoredPTRunSettings and full merge

* Restored "fixed" settings that change for no reason

* Various UI updates.

* speling

* Some cleanup and zip support.

* Merge and clean

* code clean up

* code clean up

* code clean up

* Smarter settings compare and merge.

* config based file include/exclude

* Removed some "words"

* Code clean up

* cleanup

* cleanup

* cleanup

* cleanup

* fixed spelling.

* Fixed clean up 1

* more clean up

* Trying to add ptb as an OK word

* Some UI updates.

* UI tweaks and PR review items.

* UI tweaks

* Merge conflicts resolved.

* Added CurrentSettingMatchText

* PR review updates.

* Removed weird file.

* Review updates and fixes

* More UI tweaks.

* UI tweaks

* Set default backup location to "%USERPROFILE%\\Documents\\PowerToys\\Backup"

* settings ui tweaks

* Added ExpanderContentSettingStyle

* fix missing config file

* fix missing config file, part 2

* update ui, cleanup cope

* update ui, cleanup code - Part2

* update method comments

* code cleanup and adjust Backup message time

* fix changing backup location on empty Regsitry

* fix select location - part 2

* location input box min-width

* remove lastRestoreDate from ViewModel

* Code or backup timing, and error handling.

* Should fix file/folder name crash.

* Progress to instance class for backup/restore

* Persist backup status state, added refresh button.

* Better auto check for settings status

* Some UI/text updates.

* Clean up

* Added prefix for "General_Settings" to resources

* Code review updates.

* Code review changes.

* Changed to FolderPicker per review

* Fixed issue with early delete of cleanup.

* Testing issues with FolderPicker

* Removed WinForm req and fixed win10 issue.

* Review update.

* Review changes.

Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com>
2022-10-13 09:41:21 +02:00
Rose
79e037eef4
Update cziplib to 0.25 (#21198)
This is the latest version
2022-10-13 00:12:17 +03:00
Rose
1d25e552d0
tsToken pass (#21202)
Pass the cancellation token so that it affects the delay process too
2022-10-13 00:10:56 +03:00
Rose
7bbefe9ee7
Delete cxxopts (#21197) 2022-10-13 00:09:47 +03:00
Rose
792c09167b
Update Windows.CppRT to latest version (#21157) 2022-10-12 11:19:01 +03:00
Clint Rutkas
5f12351a72
[Deps] Consolidate nuget packages (#20992)
* consolidating webview

* Consolidating CsWinRT

* Consolidating SDK Build tools

* Consolidating CppWinRT

* Microsoft Windows SDK Win32 API Source Generator
2022-10-11 12:04:11 +01:00
damienleroy
fc880f6000
[QuickAccent]Change dutch to german (#21115)
* change dutch to german

* Fix index saving the wrong language

Co-authored-by: Damien LEROY <dleroy@veepee.com>
2022-10-10 13:32:24 +01:00
Stefan Markovic
78758a3fb0
[installer] Add missing items to installer (#21073)
* [installer] Add missing System.Management.dll to Settings install dir

* Add missing PowerRename items
2022-10-10 11:19:49 +02:00
Niels Laute
c1c0af36b9
Tweak acrylic (#21083) 2022-10-07 10:31:43 +02:00
Jaime Bernardo
32f3e6bf70
0.63 changelog (#20956)
* 0.63 changelog

* Update README.md

Co-authored-by: Aaron Junker <aaron.junker@outlook.com>

* Update README.md

Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>

* Update README.md

Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>

* Address PR feedback

* Add Image Resizer new commit

* Update README.md

Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>

* Call them Available accented character sets

* Apply suggestions from code review

Co-authored-by: Aaron Junker <aaron.junker@outlook.com>
Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>
Co-authored-by: Kayla Cinnamon <cinnamon@microsoft.com>
2022-10-04 20:17:45 -07:00
Stefan Markovic
6d531a9a6b
[ImageResizer]Check for files in HDropIterator before processing (#20985) 2022-10-03 11:13:48 +01:00
damienleroy
5e955f034e
[QuickAccent]Add setting to select language (#20798)
* add selection of country langages

* Add Greek and Iceland countries

* Update src/modules/poweraccent/PowerAccent.Core/PowerAccent.Core.csproj

* fix ß in all section

* remove greek

* improve UI

* langage to language

* remove GR reference

* change 'All' to 'All available'

* adding Romanian and Hungarian

* Missing characters

* Add Italian

* Fix translation key
Remove GameMode activation

* Fix PR build issues

* Callback to get if a letter is part of the language

* Add additional dlls to installer

* Fix new dlls signing

* Fix spelling

* Add description to language selection

Co-authored-by: Damien LEROY <dleroy@veepee.com>
2022-09-29 15:28:14 +01:00
Seraphima Zykova
1ecaf039ca
[AlwaysOnTop] Corners scaling (#20352) 2022-09-29 15:11:01 +02:00
Aaron Junker
4e202e4523
[Docs]Replace docs.micrososft.com with learn.microsoft.com (#20662)
* Update SUPPORT.md

* Update runner.md

* Update guidance.md

* Update convert-stringtable-to-resx.ps1

* Update readme.md

* Update ControlType.cs

* Update README.md

* Update CLSID.h

* Update GenericProperty`1.cs

* Update project-overview.md

* Update interop.cpp

* Update PreviewHandlerBase.cs

* Update indexer.md

* Update common.md

* Update two_way_pipe_message_ipc.cpp

* Update PowerToys.exe.manifest

* Update HotkeySettings.cs

* push

* Update src/tests/win-app-driver/README.md

* Update doc/devdocs/akaLinks.md

* Update doc/devdocs/modules/launcher/plugins/registry.md
2022-09-28 17:18:55 +01:00
Stefan Markovic
7c0bf9f1f4
[FileExplorer Add-ons][Dev files] Add regfile registry key for previewing .reg files (#20579)
* Add regfile registry key for previewing .reg files

* Address PR comments
2022-09-28 15:31:25 +02:00
WJKM
82fea7eff1
[Quick Accent]Wrap Quick Accent toolbar selection (#20320)
* Wrap Quick Accent toolbar selection

Wraps _selectionIndex at beginning and end of range.

* Holding Shift + Space moves _selectedIndex backwards

Moves toolbar selection from right to left when Shift key is held.

* Fix formatting and typos

* Change EOL of files to LF

Changes PowerAccent.cs and WindowFunctions.cs back from CRLF to LF

* Rename IsCapitalState() to IsCapsLockState()

* Correct Logical Mistake (&& -> ||)

* Removed backward movement when holding Shift
2022-09-28 12:36:52 +01:00
Stefan Markovic
08be4abd56
[ContextMenu Packages] Prefix identity and app id with Microsoft.PowerToys (#20881)
* [ContextMenu Packages] Prefix identity and app id with Microsoft.PowerToys

* TEST: Set packages versions

* Fix packages version format

* Update display name
2022-09-28 12:40:11 +02:00
Jaime Bernardo
b9e8b807fd
[Deps]Update winappsdk to 1.1.5 (#20898)
* [Deps]Update WinAppSDK to 1.1.5

* Use hardlinks for winappsdk on MeasureTool
2022-09-28 11:26:24 +01:00
Taras
4e20ae07ca
[ColorPicker]Fix "Failed to get mouse position-1,1" warning (#20291)
* ColorPicker-17636: Fix warning "Failed to get ... mouse position-1,1"

* retrigger checks

* retrigger checks
2022-09-28 10:38:18 +01:00
Jaime Bernardo
123269ea5e
[Installer]Update .NET to 6.0.9 (#20894) 2022-09-27 22:18:02 +01:00
Jay
6ef40f53c3
[QuickAccent]Improve text and settings ambiguity (#20756)
* Make string less ambiguous

And update ID accordingly

* textual

* correct sentences

* remove "to activate"

because it is redundant
2022-09-27 18:42:22 +01:00
ivanstosic-janea
bed18a418c
[PTRun]Improve fuzzy search for queries (#20064)
* Update StringMatcher.cs

* Update tests

* Remove comment
2022-09-27 18:17:20 +01:00
Stefan Markovic
665851300d
[Installer]Self-contained WinAppSDK & VC Redist using hardlinks (#19992)
* [POC] WinAppSDK dlls symlinks

* Update expect.txt

* Remove dll

* Use hard links

* WIP vcredist self-contained

* Cleanup

* Error check

* Revert version change
2022-09-27 18:04:04 +01:00
Aaron Junker
63cc35c8ce
[FileExplorer]Update WebView2 dependency (#20748) 2022-09-27 17:50:59 +01:00
Seraphima Zykova
98287d7883
[PTRun][Narrator]Mention appended controls (#20876)
* added context menu items count

* changed message
2022-09-27 15:49:37 +01:00
Ikko Ashimine
dded74736d
[Docs]Fix typo in keyboardmanager.md (#20865)
atleast -> at least
2022-09-27 12:07:09 +01:00
Jaime Bernardo
1dae8fa8f3
[ci]Enable tests that depend on WebView2 again (#20743) 2022-09-21 16:59:53 +01:00
sosssego
4a8e3624e4
[PTRun]Fix for Firefox search when installed from the store (#20350)
Hack to fix command path for firefox installed through Microsoft Store
2022-09-21 14:31:45 +01:00
Jay
b8c8884065
Settings: Fixing Checkbox margins (#20195)
* Fixing margins as in issue #17110

* one more margin fixed

The top of "Include in global result"

* set resource-style to one control
2022-09-21 14:28:38 +01:00
Andrey Nekrasov
7ada904271
[Installer] Clarify dotnet installation step name (#20659)
* [Installer] Clarify dotnet installation step

* Update installer/PowerToysSetup/PowerToys.wxs
2022-09-21 14:27:28 +01:00
Mike Barker
28e6545f6f
[PTRun][Program]Improve the icon shown for app execution aliases(#20358)
* Improve the icon shown for app execution aliases.

* Reverse validation check.
Resolve issue with null paths

* Improve to utilise app execution alias reparse point.

* Improve to utilise app execution alias reparse point.

Co-authored-by: Mike Barker <mibarker@microsoft.com>
2022-09-20 18:40:25 +01:00
Aaron Junker
789312c6ce
[QuickAccent] Fixed ß uppercase bug (#20356) 2022-09-20 18:15:29 +01:00
Jay
7740258440
[Settings] Removed muxc prefix (#20164)
* Removed prefix

Quick deletion. Quick run in VS gave no problems.

* Removed prefix

Quick deletion. Quick run in VS gave no problems.

* update for new files

* Remove using muxc includes
2022-09-20 17:59:18 +01:00
Taras
3984ee79bf
[TextExtractor] Fix redundant screen select after mouse right click (#20271) 2022-09-20 17:48:32 +01:00
Jay
5a7985f791
[Settings] Change icons and text (#19592) 2022-09-20 15:21:05 +01:00
Andrey Nekrasov
ca3c758046
[Chore] Run solution code cleanup (#20584) 2022-09-16 10:54:58 +02:00
Andrey Nekrasov
09f4dead7f
Don't use Environment.Exit (#20532)
* [Awake] Don't use Process.Exit and move to CsWin32

* [PowerLauncher] Remove unused API

* [ColorPicker] Use cancellable NativeEventWaiter + cleanup using

* [TextExtractor] Don't use Environment.Exit

* [MeasureTool] Don't use Environment.Exit(0);

* [FZE] don't use Environment.Exit and fix WaitForPowerToysRunner
2022-09-13 19:25:19 +03:00
Seraphima Zykova
cba6507d2b
[AlwaysOnTop] Remove borders from Task view thumbnails (#20290) 2022-09-12 19:39:11 +02:00
unuing
ceba2708c6
Bump the minimum thickness of always on top border to 1 (#20505) 2022-09-12 13:44:38 +03:00
Andrey Nekrasov
38e7b3b7ae
[PTRun] Gracefully shutdown all threads when exiting (#20450) 2022-09-12 11:20:24 +01:00
Floris Westerman
73590c3ea9
[PTRun] Windows Terminal plugin: Add option to open profiles in quake window (#19960)
* Run/Windows Terminal: Add option to open profiles in quake window

* Typo

* Incorporate review feedback
2022-09-11 22:25:29 +02:00
NN
922d21f9f1
Catch std::exception by reference (#20385) 2022-09-11 18:50:13 +02:00
Andrey Nekrasov
675d79a4aa
[Screen Ruler] Improve UX (#20400)
* [Screen Ruler] add 7% opacity to tooltip background

* [Screen Ruler] restrict mouse cursor to monitor while in bounds mode

* [Screen Ruler] Do not preview overlay ui on all virtual desktops (Win + tab)

* [Screen Ruler] add hotkeys for toolbar #20345

* [Screen Ruler] Make single snapshot capture mode a default and update warning

* [Screen Ruler] Fix touch input in bounds mode #20286

* [Screen Ruler] activate window and set HWND_TOPMOST flag again after initialization
2022-09-09 21:25:05 +03:00
Joseph Finney
03cf77723e
[TextExtractor]Check for CJK Language before combining OCR result to string (#20415) 2022-09-09 16:18:40 +01:00
Andrey Nekrasov
f19ba94a2c
[Installer] Gracefully terminate PowerToys process before updating do… (#20430)
* [Installer] Gracefully terminate PowerToys process before updating dotnet
2022-09-09 18:11:33 +03:00
Stefan Markovic
7b0f97597d
[PowerAccent] Move low-level keyboard hook to c++ (#20190)
* Move llkeyboardhook to c++

* expect.txt

* Address PR comment - Resolve namespaces

* Address PR comments - CallNextHook and correct char selection

* Also unpress the letter key

Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
2022-09-09 13:27:56 +02:00
Seraphima Zykova
7f8c5c9f0c
[AlwaysOnTop] Fix: Border stays after moving window to another desktop (#20006) 2022-09-07 17:24:35 +02:00
Andrey Nekrasov
e33e23909f
[BugReportTool] Make failures to copying LocalRow logs and deleting tmp folder non-fatal (#20311) 2022-09-07 17:32:34 +03:00
Stefan Markovic
2dae107977
Fix duplicate attribute build error (#20285) 2022-09-07 12:26:08 +02:00
Jaime Bernardo
0c5eb1e32d
0.62 changelog (#20240)
* 0.62 changelog

* Update README.md

Co-authored-by: Aaron Junker <aaron.junker@outlook.com>

* Update README.md

Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>

* Addreess PR review

* Known issue for Text Extractor running on Windows 10 ARM 64

Co-authored-by: Clint Rutkas <clint@rutkas.com>
Co-authored-by: Aaron Junker <aaron.junker@outlook.com>
Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>
2022-09-06 11:04:51 -07:00