Commit Graph

6380 Commits

Author SHA1 Message Date
Andrey Nekrasov
49007369cf
[VCM] update deprecation warning message (#21725) 2022-11-04 19:01:58 +01:00
Jaime Bernardo
66754afd76
[FileLocksmith]Query system processes if elevated (#21688)
* [FileLocksmith]Query system processes if elevated

* Show warning if user is a system user

* Make text in the file list selectable

* Update src/modules/FileLocksmith/FileLocksmithLibInterop/NtdllExtensions.cpp

Co-authored-by: Andrey Nekrasov <yuyoyuppe@users.noreply.github.com>

* Trim \0 no longer required

* Correct elevation detection logic

* Use theme approppriate colors

Co-authored-by: Andrey Nekrasov <yuyoyuppe@users.noreply.github.com>
2022-11-04 16:33:26 +00:00
Davide Giacometti
462a107c7c
[Hosts]Add scrollbar to additional lines (#21704) 2022-11-04 16:32:53 +00:00
Seraphima Zykova
420a24e607
[FancyZones] Fix: 'Space around zones' toggle does not turn off spacing (#21658) 2022-11-04 16:21:05 +02:00
Davide Giacometti
d234536cf7
added hosts (#21568) 2022-11-03 21:14:16 +01:00
Rose
5d21cd05c5
Update Windows Implementation Library (#21225) 2022-11-03 12:46:05 +01:00
Adam Patridge
6abc7df75d
[Docs] Typo fix in release notes (#21625) 2022-11-02 20:03:39 +00:00
Aaron Junker
b9a534b75f
[GitHub]Fix bugged out issue templates (#21615)
* Update translation_issue.yml

* Update bug_report.yml
2022-11-02 20:02:15 +00:00
Jaime Bernardo
a411db0c82
0.64 changelog (#21555)
Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>
2022-11-02 09:36:01 -07:00
Jaime Bernardo
7b7742719c
[FileLocksmith]Fix crash while opening process handlers (#21602)
* [FileLocksmith]Fix crash while opening processes

* Remove binding on IsExpanded. It's not working
2022-11-02 11:38:04 +00:00
Niels Laute
b9ccb9f049
[FileLocksmith]Add icons (#21553)
* Adding icon to project

* Adding icon to Settings

* Reference the right file

* Fix icon on Windows 10

* Add new Icon files to the installer

* Fix installer.
2022-10-31 14:03:33 +00:00
Seraphima Zykova
ff290eef9d
[FancyZones] Window switch shortcut fix (#21426)
* rename Layout -> LayoutData

* simplify zone

* split ZoneSet: Layout

* refactoring

* split ZoneSet: LayoutWindows

* update trace

* split ZoneSet: remove ZoneSet

* fix initialization

* split unit tests

* remove unused

* warning

* nullptr  check

* use current rect

* update work area tests

* use current rect

* simplify

* more meaningful name

* dismiss

* safety checks

* resolve conflicts

* reassign windows after switching vd

* avoid double-processing for window on switching vd

* extend windows fix

* check if window is on current desktop before cycling

* separated extend

* not reinit layout windows
2022-10-31 11:44:25 +00:00
Marius Bughiu
6431ccd370
[ColorPicker] Add hexadecimal integer format (#21354)
* ColorPicker: Add hexadecimal integer format

* Fix typo: integral -> integer

* Rename as Hex Int
2022-10-30 20:07:33 +00:00
ivanstosic-janea
db191b8b75
[New PowerToy] File Locksmith (#20930)
* Imported offline solution

* Make solution compile

* Add Windows sample, doesn't work?

* Added new project to implement the dll

* Remove unneeded header

* Implemented IUnknown part of ExplorerCommand

* Implemented IExplorerCommand methods

* Implemented ClassFactory

* Implemented DLL register/unregister

* Implemented other DLL exports, not working?

* Implemented IShellExtInit inferface

* Implemented IContextMenu, it works!

* Implement command data fetching

* Make sample project compile on VS 2022

* Add plan

* Implement Lib as separate project

* Implemented IPC, not tested

* Console UI project skeleton

* Implemented basic console UI

* Implemented piping, there are bugs

* Prototype works

* Remove old project

* Added GUI project skeleton

* Mitigate issue with WinUI3

* Added a control for displaying results

* Add button

* Implement core functions in lib project

* Call new library function from console main

* Implement showing results

* Improve UI

* Implemented subdirectory search

* Remove useless code

* Set window size

* UI adjustments

* Implement killing process

* Rename variable

* Add lib project to main solution

* Add Ext and GUI projects to solution

* Tweak packages for GUI project

* Add a settings page

* Add a few resource strings

* Add one more resources string

* VS keeps trying to correct this

* Add references to File Locksmith in /,github

* Implement some parts of FileLocksmithModule

* Change output directory

* Change target name and add to runner

* Add logger

* Started implementing settings backend

* Fix log folder

* Settings work

* Add some basic tracing

* Attempt at adding resources

* Remove junk files

* Added missing defines

* Replaced some constants with resources

Something's not working

* Move resources to the Ext project

* Remove experiment

* Add binaries for signing

* Improve tracing

* Remove old Settings calls

* Show something when there are no results

* Change window title

* Move computation to another thread, improve UX

* Increase font size for default text

* Remove entries for killed processes

* Show user name

* Remove nonrecursive implementation

* Implement back end for getting file names

* Show list of files, UI tweaks

* Remove useless includes

* Implement back end for getting full process path

* Dark title bar on dark themes

* Using Expander, other UI adjustments

* Show "No results" after killing all processes

* Show progress ring

* Update configuration mapping

* Revert "Update configuration mapping"

This reverts commit d8e13206f3c7de3c6dbf880299bfff3bf9f27a37.

* Fixed solution configuration, ARM64 should build

* Backend for refreshing

* Variable window size

* Add refresh button

* New WinUI3 C# project for FL

* Started porting functionality

* Add Interop project

* Move IPC to Ext project

* Ported native functions to Interop

* Ported finding processes

* Ported most of Main Window functionality

* Display paths of files

* Implement killing processes

* Use resource string for "End Task"

* Remove entries for terminated processes

* Show User name

* Set default window size

* Make the new UI the default

* Reading paths from stdin, completed port to C#

* Fix small bug

* Moving to MVVM

* Adding Labs

* Merge branch 'ivan/file-locksmith' of https://github.com/microsoft/PowerToys into ivan/file-locksmith

Removing one parent commit for cleaner history

Co-Authored-By: Niels Laute <niels.laute@live.nl>

* Reintroducing features

* Moving UI strings to resources file

* Restored functionality

* Add missing dlls

* Add FIle Locksmith to publish.cmd

* Rebase fixes

* Try updating nuget.config

* Fix copy-paste blunder

* Add File Locksmith UI for publishing

* Add .pubxml file in FileLocksmith

* Change build output folder

* Fix installer build issues

Remove old projects from solution so MSBuild doesn't build them.
Downgrade target framework to what most other projects are using.
Fix publishing profile and project runtimes.
Remove unused CsWinRT references.

* [CI] Add clear to nuget packages

* Fix module reference counting

* Fix nuget for release CI

* Fix version and signing

* Fix path for resources

* Fix incorrect results when running 2 instances

* Fix default nuget source

* Windows 10 icon and fallback for UI

* Code clean-up and spaces instead of tabs

* Add gif showcasing FL

* Add screenshot of File Locksmith for Settings

* Add new files to the installer

* Add OOBE page

* Showing selected paths in the header

* Tweak path list

* Added new, wider gif

* Add GPO

* Add some logs

* [CI]Get CommunityToolkit.Labs from BigPark feed

* [CI]Use azure package feed for Nuget in release

* [CI]Another try for the labs source

* Revert changes to feed

* Use RestoreAdditionalProjectSources

* Add tooltip to file list

* Change tooltip to not trim the lines

* Add Tips and tricks section mentioning elevated

* Add some more logs messages.

* Grammar fix

* Add to bug report tool

* Fix UI virtualization not working

* Disable virtualization to avoid crashes

* Get better virtualization

* Add dialog instead of tooltip to show list of items

* No results refresh icon is now a button too

* Use managed methods for handling processes

* Remove registry code from Ext.

* Support drives too

Co-authored-by: Niels Laute <niels.laute@live.nl>
Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
2022-10-28 14:51:21 +01:00
Jaime Bernardo
429569dcf3
[Telemetry][Hosts]Add telemetry to Hosts (#21486) 2022-10-27 17:21:56 +01:00
Jaime Bernardo
130561cfbb
[Installer]Update .NET to 6.0.10 (#21487) 2022-10-27 17:21:42 +01:00
Jaime Bernardo
498bb3a7e2
[Hosts][Settings]Add images for Hosts File Editor (#21489) 2022-10-27 17:21:25 +01:00
Andrey Nekrasov
c6d31ccbe7
[VCM] introduce EOL warning infobar (#21474)
* [VCM] introduce EOL warning infobar

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

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

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

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

* Update severity

Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>
Co-authored-by: Niels Laute <niels.laute@live.nl>
Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>
2022-10-27 17:03:30 +03:00
Jaime Bernardo
a63288009a
[GPO] Add policies for configuring utilities enabled states (#21411)
* Add GPOWrapper headers and C++/WinRT library

* Check GPO before starting utilities

* Show message on GPO having disabled preview panes.

* Don't generate thumbnails if GPO disabled

* Fix FancyZonesEditor unable to recognize GPOWrapper

* Move settings view models to the settings project

* Use GPO to block enabling utilities in Settings

* Hide context menu entries when gpo disables utilities

* Apply gpo policies when enabling PowerToys on runner

* Add version and metadata to dll

* Add GPOWrapper to the installer

* Fix MSBuild errors on WPF apps by using Projection

* Signing

* Add gpo files and publish them

* Add GPO policies to the bug report tool

* Add some documentation for using GPO

* Mention support to actual lowest supported version of Windows

* Move PowerToys to the root of administrative templates tree

* Save policies on Software\Policies\PowerToys

* Support both machine and user scopes

* Fix documentation to reference computer and user scopes

* Mention incompatibility with outlook in gpo

* Set a better folder structure for gpo assets

* Move PDF Handler warning to the description

* Update doc/gpo/README.md

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

* Add actual minimum version of PowerToys to gpo files

* Fix identation

* Remove GPOWrapper Readme

* Add Active Directory instructions to doc

Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>
2022-10-26 14:02:31 +01:00
Davide Giacometti
1ff5fa8794
fix for thread prevent process being closed (#21311) 2022-10-26 12:19:58 +03:00
Henrik Lau Eriksson
460f242967
[PTRun] Fix always show after executing context menu result (#21291)
* fix always show

* add tests

* remove workaround
2022-10-25 22:27:18 +01:00
Andrey Nekrasov
a3042b8435
[VCM] fix ToolbarHide behavior (#21348) 2022-10-25 22:25:53 +01:00
Seraphima Zykova
e171264dc2
[FZEditor][Accessibility] Replace NumberBox with Slider (#21382)
* replaced number boxes

* rename resource

* correct announcement

* Remove NumberBox again
2022-10-25 21:09:25 +01:00
Henrik Lau Eriksson
aa6910acb1
[PTRun]Fix always hiding even when an action fails (#21259)
Hide PowerToys Run if the result action returns true, otherwise keep it open
2022-10-25 20:46:40 +01:00
Laszlo Nemeth
778bb7ad9f
[PTRun]Release default image files after loading (#21327) 2022-10-25 20:27:27 +01:00
Davide Giacometti
d73fae4f95
[Settings][Backup/Restore]Honor user documents directory (#21312) 2022-10-25 20:24:24 +01:00
Laszlo Nemeth
d1f55bb9ea
[QuickAccent]Fix positioning on scaled desktop (#21200) 2022-10-25 19:44:17 +01:00
Rose
76b4237cf1
[Tests]Fix Unit Test to compile under .NET 5 and up (#21229)
.NET Framework has the previous function, but .NET Core does not support it. This is so we can keep compiling this code under new frameworks.
2022-10-25 17:35:40 +01:00
sosssego
19c4255c7d
[Analyzers][CPP]Turn on C26451 and fix code (#21230)
* Turn on rule as error and fixing code

* Add packages to external include paths

* Disable warrnings on external code.
2022-10-25 17:33:23 +01:00
Jay
a8ee7c58ea
[GitHub]Edit issue templates (#21171)
* Update bug_report.yml

* fix quotes

* Update feature_request.yml

* quotes

* Update feature_request.yml

* Update feature_request.yml

* Update feature_request.yml

* Update translation_issue.yml

* Create enhancement.yml

* Rename enhancement.yml to feature-enhancement.yml

* Update feature_request.yml

* detailed steps

* re-write Explorer items

* File Explorer

* reverse

* Delete feature-enhancement.yml

* reverse

* Update feature_request.yml

* Update feature_request.yml

* Microsoft Store
2022-10-25 16:56:39 +01:00
Seraphima Zykova
10bfb014eb
[FancyZones] Customize default layouts (#21156) 2022-10-25 17:55:36 +02:00
Davide Giacometti
2add9db780
[Hosts] Open hosts file in default editor (#21284)
* open hosts file

* open with default editor
2022-10-24 19:09:00 +01:00
Seraphima Zykova
4da866aaa3
[AlwaysOnTop] Return topmost if it was lost (#21297) 2022-10-21 18:56:51 +02:00
Davide Giacometti
9c21e2dc14
run hosts tests (#21372) 2022-10-21 07:55:21 +02:00
Weijie Zhao
d17ac2bf79
[TextExtractor] Add space between CJK words and non-CJK (#20926)
* [TextExtractor] add space between CJK words and non-CJK
2022-10-20 16:21:46 +01:00
Heiko
d4083abee2
add scrollviewer (#21310) 2022-10-19 16:43:22 -07:00
akabhirav
1cfce6182d
Hide Video Conferencing when muted (#19175) 2022-10-19 12:18:58 +03:00
sosssego
16c28c788d
[Analyzers][CPP]Turn on C26495 and fix code (#21163)
C26495: A member variable isn't initialized by a constructor or by an initializer.
Fixing occurrences with default member initialization.
2022-10-18 15:21:18 +01:00
Rose
17b80aa0f1
Use .First instead of where().First() (#21307) 2022-10-18 02:13:59 +03:00
Clint Rutkas
8e4ef1a4ac
Release.yml hash creation (#21254)
* injecting hash

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

why is it always a slash
2022-10-16 12:49:11 -07:00
Philippe Canavarro
87720ef701
[QuickAccent] Added Portuguese (BR) language (#21127)
* [QuickAccent] Added Portuguese (BR) language

* Fix- Correct indentation

* Fix - Added proper indentation to EOF

* Removed "(BR)" from text

* chore: Changed index switch to array

* Correct German and French order
2022-10-16 18:36:16 +01:00
Jaime Bernardo
bbe020bb37
[GitHub]Add install method to issue template (#21160)
* [GitHub]Add install method to issue template

* Update .github/ISSUE_TEMPLATE/bug_report.yml

Co-authored-by: Clint Rutkas <clint@rutkas.com>

* Add some details

* Update .github/ISSUE_TEMPLATE/bug_report.yml

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

Co-authored-by: Clint Rutkas <clint@rutkas.com>
Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>
2022-10-16 18:35:33 +01:00
Taras
af98395e25
[TextExtractor] Fix focus on overlay on the first activation (#21098)
* TextExtractor-20950: fix focus on overlay on the first TextExtractor activation

* TextExtractor-20950: fix typo
2022-10-16 16:29:37 +01:00
Davide Giacometti
a2638d01dc
[Mouse Highlighter]Change opacity setting to 1-100 (#20964)
* mouse highlighter opacity 1-100
2022-10-16 13:51:08 +01:00
sosssego
982415f578
[build]Turn on C++ code analysis (#21085)
Using Cpp.Build.props to setup C++ code analysis as default.
Starting with a ruleset based on Microsoft Recomended Native rules. But changing all to info. Future pull request should change a rulr from info to warning and fix the code.
2022-10-16 13:49:52 +01:00
Taras
5b13328bdd
[TextExtractor][Settings]Add info bar about supported languages (#20934)
* TextExtractor-20388: add infobar about supported languages
2022-10-16 13:28:34 +01:00
Davide Giacometti
887da6dc1a
[Chore] System.IO.Abstractions update (#21061)
* System.IO.Abstractions update

* fix tests
2022-10-16 13:23:31 +01:00
Niels Laute
1c264e0899
Adding Hosts icon (#21227)
* Adding Hosts icon

* assets added to setup

Co-authored-by: Davide <davide.giacometti@outlook.it>
2022-10-14 14:10:44 +02:00
Rose
af5b9903ee
[HostsEditor]Consolidate packages (#21224) 2022-10-13 19:31:20 +01:00
Stefan Markovic
292874a0c2
[fix build][hosts] Bump CppWinRT version to align with all other projects (#21220) 2022-10-13 15:47:34 +02:00