Commit Graph

5995 Commits

Author SHA1 Message Date
William Bradley
b7fccc3211
Immersive dark mode + Theme Listener (#18315)
* C++ impl of immersive dark mode

* Stop using the hardcoded value.

* Conjured up theme listener based on registry.

* Update MainWindow.xaml.cpp

* Update expect.txt

* Moved themehelpers to the common themes lib.

* Ported theme helpers back to .NET

* Update expect.txt

* Updated C# Theme Listening logic to mimic the one from Windows Community Toolkit.

* Replaced unmanaged code for RegisterForImmersiveDarkMode with unmanaged ThemeListener class.

* Fix upstream changes

* Update ThemeListener.h

* Update ThemeListener.h

* Proper formatting

* Added handler to Keyboard Manager.

* Update EditKeyboardWindow.cpp

* Added dwmapi.lib to runner, removed condition from additional dependencies.

* Update PowerRenameUI.vcxproj

* Added new deps for ManagedCommon to Product.wxs

* Crude attempts and understanding installer

* Removed Microsoft.Win32.Registry.dll from product.wxs.

* Updated dictionary

* Renamed ThemeListener class file for consistency, removed unused CheckImmersiveDarkMode in theme_helpers.

* Update Themes.vcxproj

* Update theme_listener.cpp

* Removed SupportsImmersiveDarkMode version check

* Removed SupportsImmersiveDarkMode version check

* Whoops

* Update expect.txt
2022-07-01 10:52:48 +01:00
Stefan Markovic
e637902892
[PowerRename][ImageResizer] Tier1 Win11 Context menu (#19000)
* Test win11 tier1 context menu

* Try to test signing

* Cleanup

* Cleanup project file

* Sign dll
Add PowerToys preffix
Add assets to installer

* expect.txt

* Switch to named pipes
Unregister package on uninstall
Remove unneeded files
Cleanup

* Bring back check if package registered but use per-user method

* Fix win11 check

* expect.txt

* Check if package already registered

* Revert "Check if package already registered"

FindPackages() method needs admin privileges.

This reverts commit 5af584fed4.

* Fix PowerRename args checking

* Cleanup assets

* Tier1 context menu ImageResizer
Minor cleanups
Move logic to package.h

* [WIP] Signing and installer
Expect.txt

* Localized context menu title

* Retarget everything 10.0.18362.0 -> 10.0.19041.0

* Address PR comments
 - check if selection renamable
 - minor cleanup
 - struct initialization

* Fix ImageResizerLib project configuration

* More Windows version updates

* Remove unneeded file & try fix resource build error

* Add Microsoft.PowerToys prefix to packages

* Test

* Fix convert-resx-to-rc.ps1 script issue causing resource files compile error

Don't generate empty STRINGTABLE for resx files without data

* Avoid duplicate context menu items

* [BugReportTool] Report installed context menu packages
2022-06-30 22:10:14 +02:00
Naveen
a0eacca17f
chore: Included githubactions in the dependabot config (#19100)
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-30 07:40:50 -07:00
msftbot[bot]
656ac441cd
Add .github/fabricbot.json (#19097)
Co-authored-by: msftbot[bot] <48340428+msftbot[bot]@users.noreply.github.com>
2022-06-29 09:38:57 -07:00
Seraphima Zykova
9e0781d86c
[FancyZones Editor] UI fixes (#18966)
* canvas scaling

* moved editor params saving

* show monitor size

* removed unused cmd args

* separate dpi unaware thread

* tests

* dpi unaware monitor size

* spell

* early return on editor params saving error

* show scaling value

* changed font
2022-06-29 16:39:03 +01:00
Jeremy Sinclair
81f99264b3
[Installer]Update VCRedist version to latest (#19107)
* Update VCRedist version to latest

* Silently continue when VCRedist hits 0x666 error
2022-06-29 16:30:40 +01:00
Union Palenshus
28eb4c80f6
[PTRun][OneNote]Add query caching and delayedExecution (#18919)
* Adding OneNote plugin for PowerToys Run

* Updating to 3.0.1 dependency, updating md, spellcheck, ready for PR

* Updating spelling and using localized string

* Adding OneNote link to readme

* Adding OneNote requirement to description

* removing 'open' from description

* Updating interop version, PR feedback

* Adding query caching and delayedExecution to PT Run OneNote plugin

* Adding binaries to signing, and updating doc

* Adding dependency nuget package binaries to installer

* PR feedback and .editorconfig fix to ignore IDE rules that conflict with repo styling

* Fixing spelling
2022-06-29 14:56:55 +01:00
Jeff Lord
19bf2e3614
[PTRun][Settings]Allow "Search Settings" to work and find the correct item. (#19030)
* Update for PTRun-Window-Search-Settings-19023

* Fixed xml formatting.
2022-06-29 14:51:59 +01:00
Clint Rutkas
3e300e9151
Update README.md 2022-06-28 15:42:38 -07:00
Jaime Bernardo
3b542d2fdf
[chore]Force specific Newtonsoft.Json version (#19093) 2022-06-28 20:47:53 +01:00
Heiko
46cf9a2334
[PTRun][Plugins]Translation fixes and improvements (#19037)
* add resx comment to sys plugin (#18843)

* number examples calc plugin (#18934)

* TD description fix (#17377)

* small fixes

* add comments

* make spell checker happy
2022-06-28 19:21:08 +01:00
Jaime Bernardo
a81bc2e7b5
[PTRun][Calculator]Update Mages to 2.0.1 (#19087)
* [PTRun][Calculator]Update Mages to 2.0.1

* Fix tests for the new precision
2022-06-28 17:25:06 +01:00
Stefan Markovic
1772af60a2
[PowerRename] Clicking on regex/date&time cheatsheet item appends to Search/Replace field text (#19056)
* [PowerRename] Fill Search/Replace field by clicking on regex/date&time cheatsheet items

* Make ListViews item non-selectable
2022-06-28 17:59:15 +02:00
Heiko
5d6f1ba676
[PT Run][Settings plugin]Update sharing settings (#19035)
* update share settings

* Spelling fix
2022-06-28 14:42:32 +01:00
Davide Giacometti
27c52bebc7
[PTRun]removed obsolete Wox code based on WebRequest (#19038) 2022-06-28 14:41:13 +01:00
Jaime Bernardo
6ccc059d7a
[ci]Remove CodeQL workflow (#19013) 2022-06-28 14:37:45 +01:00
Stefan Markovic
de3f6f9fff
[PowerRename] Fix files enumeration logic (#19057) 2022-06-28 15:33:36 +02:00
Jaime Bernardo
62c9594584
[chore]Consolidate nuget packages (#19063) 2022-06-28 14:30:57 +01:00
Jaime Bernardo
548678bf44
[MouseCrosshairs]Change default shortcut (#19061) 2022-06-28 14:30:25 +01:00
Jaime Bernardo
f8c624a62d
[test][chore]Update test sdk to 17.2.0 (#19059)
* [test][chore]Update test sdk to 17.2.0

* Add timezone unit tests to CI
2022-06-28 14:30:03 +01:00
Jaime Bernardo
fcdf79f7e9
[ci][test]Disable tests that depend on WebView2 (#19078)
* [ci][test]Disable tests that depend on WebView2

* Add actual dll name for markdown tests

* Random commit to trigger CI again
2022-06-28 12:03:09 +01:00
Dustin L. Howett
31e3c46641
Make sure we run CG component detection on main (#19060)
* Make sure we run CG component detection on main

I believe that there is a hidden "default branch" setting in Azure
DevOps, and ours is set to "master". CG only attempts to automatically
inject to builds off the default branch... and because we're a GitHub
repo running builds in AzDO we _can't change what the default branch
is_. Oops.

Copied from microsoft/terminal#e0bd76b30

* spellbot got mad at me
2022-06-27 09:25:25 -07:00
Jaime Bernardo
eeda2ec985
[ci][build]Sign PowerToysSetupCustomActions.dll (#18992)
* [ci]Sign PowerToysSetupCustomActions.dll

* Specifically sign the Custom Actions dll

* Proper dll build path

* Verify if dll inside msi is really signed
2022-06-24 13:06:44 +01:00
Tobias Sekan
7af8b930be
[PTRun][TimeZone]Fix empty subtiles and missing results (#18632)
* Fix for #16627, Partial fixers for #16695 and #17349

* remove none related  PR changes

* more PR related fixes
2022-06-24 13:00:46 +01:00
Mahdi Hosseini
6f5429ec49
[Settings]Fix description property type for checkbox controls (#18796) 2022-06-23 16:21:44 +01:00
Zetaspace
22f9629174
[FZEditor]UI minor fixes (#18749)
* Fix UI

* Maybe Trim is better?
2022-06-23 16:09:02 +01:00
Davide Giacometti
301f26aca1
[AOT] Low level keyboard hook (#18643)
* low level keyboard hook for always on top

* fix for message loop

* fix spellcheck

* refactoring and cleanup

* spellcheck
2022-06-23 15:29:53 +01:00
Stefan Markovic
2159e2722e
[FileExplorer][SVG preview] Swap order of default and svg namespace if default comes first (#18825)
* [FileExplorer Add-ons][SVG preview] Swap order of default and svg namespace if default comes first

Inkscape v1.1 swapped order of default and svg namespaces in svg file (default first, svg after).
That resulted in parser being unable to parse it correctly and instead of svg, text was previewed.
MS Edge and Firefox also couldn't preview svg files with mentioned order of namespaces definitions.

* expect.txt

* Update comment

* Minor fixes

* Use full namespace definition instead of prefix
2022-06-19 11:21:51 +01:00
lncubus
759ea40b22
[OOBE]Hide "x64 ARM64 Installer Hash" lines in "What's New" (#18835) 2022-06-19 11:16:40 +01:00
Clint Rutkas
35c1438514
Update pull_request_template.md (#17891)
* Update pull_request_template.md

* Update .github/pull_request_template.md

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

* Update pull_request_template.md

Co-authored-by: Aaron Junker <aaron.junker@outlook.com>
2022-06-17 12:06:22 -07:00
Jaime Bernardo
d9e8b3e9c3
[ci]Fix PTRun OneNote plugin signing (#18906) 2022-06-17 15:10:27 +01:00
Stefan Markovic
18cb5639a8
[FileExplorer Add-ons][SVGthumbnails] Dispose WebView resources (#18904) 2022-06-17 15:01:13 +02:00
Union Palenshus
9b7a7f93b7
Adding OneNote plugin for PowerToys Run (#18558)
* Adding OneNote plugin for PowerToys Run

* Updating to 3.0.1 dependency, updating md, spellcheck, ready for PR

* Updating spelling and using localized string

* Adding OneNote link to readme

* Adding OneNote requirement to description

* removing 'open' from description

* Updating interop version, PR feedback
2022-06-15 19:15:58 +02:00
Clint Rutkas
b6ff870549
Update package-submissions.yml 2022-06-15 09:59:44 -07:00
Clint Rutkas
8be1c86223
Update README.md 2022-06-15 09:52:06 -07:00
Jaime Bernardo
43e658f388
[WinUI]Upgrade Windows App SDK to 1.1.1 (#18842) 2022-06-15 01:13:14 +01:00
Jaime Bernardo
fdc813a5ca
[Test]Fix flaky markdown preview test (#18840) 2022-06-15 00:30:33 +01:00
Jaime Bernardo
244394865f
[PTRun]Add logs to check Web Browser detection (#18831)
* [PTRun]Add logs to check Web Browser detection

* Use proper initial value

* Add punctuation to the end of the log message
2022-06-14 13:04:30 -07:00
Seraphima Zykova
f5f8861eac
[FancyZones] Update windows positions after changing the layout fix (#18805)
* removed IWorkArea interface

* split work area initialization

* changed rect type in zoneset

* tests


upd work area tests
removed obsolete, update others
updated work area tests

* get current vd windows

* update windows positions

* removed unused flag

* moved update window positions to work area

* check monitor

* refactoring
2022-06-14 15:45:45 +01:00
lncubus
e8bb2de8b6
[OOBE] Get "What's New" behind authenticated proxy and strict firewall. (#18695)
* Attempt to get username and password for proxy authentication. We should not use it.

* Using default credentials for system proxy authentication.
2022-06-14 11:44:07 +01:00
Seraphima Zykova
b5531a1f6b
[FancyZones][Tool]Monitor id tool (#18589)
* tool

* log ccd and wmi/cimv2

* rename

* spell

* clean up

* spellcheck
2022-06-13 15:37:52 +01:00
Alexandre Zollinger Chohfi
55f38016d7
[CI]Added Arm64 support on the store submission task. (#18655)
* Added Arm64 support on the store submission task.

* Apply suggestions from code review

Co-authored-by: Clint Rutkas <clint@rutkas.com>
2022-06-12 14:13:23 +01:00
Jaime Bernardo
1490fb300c
[PTRun]Add setting to disable input delay (#18724)
* [PTRun]Add setting to disable input delay

* Address feedback and allow configuring delay

* Address PR feedback
2022-06-12 14:12:10 +01:00
Davide Giacometti
b33bc2ecd0
[NetAnalyzers]CA1031 suppressions cleanup (#18706) 2022-06-12 14:11:52 +01:00
Stefan Markovic
33072c7ee3
[Tests][MD preview] Don't target image on the internet in helper file (#18731) 2022-06-12 13:21:58 +01:00
Stefan Markovic
db881ceeb0
[FileExplorer-Add-ons][SVG] Preprocess svg thumbnail before previewing (#18685)
* [FileExplorer-Add-ons][SVG Thumbnail] Preprocess svg thumbnail before previewing

same logic is usedas for preview handler

* Fix build
2022-06-12 13:20:23 +01:00
Stefan Markovic
9335705389
[OOBE]Make OOBE window resizable (#18727) 2022-06-12 13:19:32 +01:00
Davide Giacometti
04b37fffd5
[PT Run][Program] Search linked programs by real executable name (#18601) 2022-06-12 13:18:10 +01:00
Andrey Nekrasov
e5c3b15a45
[Updater]Handle up-to-date from PowerToys.Update.exe (#18684) 2022-06-09 13:36:22 +01:00
Seraphima Zykova
5c8742e557
[FancyZones] Process windows with "Show windows from this app on all desktops" option fix (#18675)
* changed current vd check

* removed include
2022-06-09 13:34:22 +01:00