Ivan Stošić
655a86694d
[Runner/common] Fixed two potential issues with CreateProcess ( #9063 )
...
* Fixed two potential issues with CreateProcess
* Remove comment
2021-01-14 15:29:12 +01:00
Mykhailo Pylyp
11a569b113
Added localization to default sizes ( #8928 )
2021-01-14 14:14:29 +02:00
Mykhailo Pylyp
b1a6964e18
[Run] Fix exception ( #9068 )
2021-01-14 13:17:32 +02:00
Andrey Nekrasov
6ecf8b60b6
updating: require dotnet >=3.1.10 ( #9060 )
2021-01-12 21:52:17 +03:00
Andrey Nekrasov
7a562950b0
interop: fix issues in IPC message construction ( #9035 )
...
* interop: fix issues in IPC message construction
- simplify logic
- handle exceptions to prevent crashes
- log errors
* Update src/runner/settings_window.cpp
Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
* Update src/runner/settings_window.cpp
Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
* fixup
* comments + fix build
Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
2021-01-12 20:42:16 +03:00
Andrey Nekrasov
1364f78b30
updating: do not update update_check date when we couldn't do it ( #9038 )
...
* updating: do not update update_check date when we couldn't do it
- improve general settings page "Last Checked" feature
2021-01-12 18:34:02 +03:00
Mykhailo Pylyp
3503ac27a8
added logging to action-runner project ( #9034 )
2021-01-11 12:51:13 +02:00
Enrico Giordani
dbda4d50bd
[runner] rename 'module' variables ( #8999 )
...
rename all occurrences of 'module' to 'pt_module' to prevent intellisense error
2021-01-08 19:26:38 +01:00
Niels Laute
cccd2c0139
[Image Resizer] UI fixes ( #9001 )
...
* Color fix
* Accesibility fix
2021-01-08 16:23:21 +01:00
Davide Giacometti
abf9287a99
PT Run sys plugin added to setup ( #8974 )
...
sys plugin renamed to system
2021-01-08 16:11:30 +01:00
Niels Laute
17b40aa10a
[Run] Fixing UI issues ( #8681 )
...
* UI fixes
* Added dlls to installer
* Accent color tweaks + sync
* Added cornerradius to selection highlight border
* Increase icon's radius
Co-authored-by: Enrico Giordani <enrico.giordani@gmail.com>
2021-01-06 19:00:36 +01:00
Davide Giacometti
3a87c4909c
[PT Run] Service Plugin ( #8076 )
...
* PT Run service plugin
* icon, localization and fixes
* basic toast notification
* service start mode
* improved keys
* fixed setup
* improvements
* added _ keyword
* better shortcuts
* action for open services.msc
* pt run service plugin dll signing
* renamed Microsoft.Plugin.Service
* changed output dir
* set ! action keyword
* launcher dll
Co-authored-by: Clint Rutkas <clint@rutkas.com>
2021-01-06 11:40:07 +01:00
Niels Laute
f0600f1725
[Settings] Various UX fixes ( #8739 )
...
* Change accent color to secondary grey for better contrast on colorpicker page
* Fix textwrapping issue for shortcut tooltips
* Fix image resizer scroll issue
* Fix colorpicker page textblock/listview not disabled when module is disabled
* Added MaxWidth and sidebar margin
* Typo fix
2021-01-05 17:24:14 +01:00
Davide Giacometti
4958f6c158
reset scrollviewer on page change ( #8742 )
2021-01-05 16:01:42 +01:00
Davide Giacometti
b590437ca1
Moved ThemeManager in common project ( #8835 )
...
* moved theme manager in common project
* added analyzers
* renamed CommonUI project
2021-01-05 06:54:32 -08:00
Enrico Giordani
dda3dce34b
[localization] move file to its correct location ( #8914 )
2021-01-05 15:08:22 +01:00
Ivan Stošić
485d278b8c
[FancyZones] Refactor/improve saving JSON files ( #8947 )
...
* Divide SaveFancyZonesData into two functions
* Removed unused function, continued refactoring
* Use SaveAppZoneHistory in some places
* Revert "Use SaveAppZoneHistory in some places"
This reverts commit 74a4a1e467
.
* Only save files if the contents are about to be changed
* Restore FileWatcher
2021-01-05 14:00:39 +01:00
Ivan Stošić
d4a4203f95
[File Explorer] OneDrive SVG fix ( #8926 )
...
* Move SVG file reading out of the UI thread
* Also move Blocked-check out of the UI thread
2021-01-05 10:16:00 +01:00
Alan Ninan Thomas
93bdb819ca
[Settings] Make images clickable and fix issue with Power Preview settings image ( #8710 )
...
* Hopefully I have got this right
* Add a more descriptive Uid
2021-01-04 10:51:05 -08:00
Chris Davis
d82c083076
Ensure SVGs are scaled correctly when viewbox is provided ( #8872 )
...
* Ensure SVGs with hard coded width and height as well as viewbox values are scaled correctly.
* Fix misspelling
2021-01-04 15:59:53 +01:00
Davide Giacometti
197af8853f
fix svg thumbnail not working ( #8879 )
2021-01-04 15:27:01 +01:00
Enrico Giordani
e456521b94
[FancyZones] fix for secondary mouse button ( #8901 )
...
primary mouse button switch is transparent to the application
the system still returns the same values as for the default case
2021-01-04 12:09:58 +01:00
Clint Rutkas
68a86a86ce
Updated NUnit, Microsoft.Net.Test.SDK, FxCop, MSTest.TestAdapter, MSTest.Framework to match all other projects in PowerToys ( #8865 )
2021-01-02 10:33:14 -08:00
Enrico Giordani
ff07374e2a
[PowerRename] don't show an error message for invalid regex syntax ( #8857 )
2020-12-31 17:51:01 +01:00
Andrey Nekrasov
4aecabae47
FZ: ZoneWindowDrawing is now properly initialized ( #8836 )
2020-12-30 22:47:18 +01:00
Enrico Giordani
b6dbd2d80d
[FancyZones] initialize zone container window state ( #8817 )
2020-12-30 12:03:44 +01:00
Andrey Nekrasov
16e4c34d69
FZ: fix currently selected zone tracking ( #8797 )
2020-12-29 19:20:12 +03:00
Andrey Nekrasov
4f594c92e8
FZ: do not activate zones window when it's shown ( #8795 )
2020-12-29 16:38:19 +03:00
Andrey Nekrasov
9b2f1a826d
runner: fix dispatching json possible crash ( #8788 )
2020-12-29 13:56:10 +03:00
yuyoyuppe
e69fbfd16f
FZ: disable filewatcher cb
2020-12-28 20:33:39 +03:00
yuyoyuppe
3eff741da8
FZ: use type aliases for Data types
2020-12-28 20:33:39 +03:00
csigs
9939779932
LEGO: check in for master to temporary branch. ( #8778 )
2020-12-28 09:07:55 -08:00
Andrey Nekrasov
0c300194dc
bug report: enum all display devices ( #8745 )
2020-12-25 12:49:58 +03:00
Andrey Nekrasov
dde63b5017
Report tool improvements ( #8709 )
...
* bugreport: move to tools
* bugreport: skip packaging installers, format time with seconds, remove monitor-info-report tool
* bugreport: move BugReportTool to Tools folder
* fix CI
* fix CDPX
2020-12-22 17:15:46 +03:00
Andrey Nekrasov
0843efd282
CDPX: fix build ( #8708 )
2020-12-22 13:28:13 +03:00
Mykhailo Pylyp
321a722b8e
Bug report tool ( #8633 )
...
* added diagnostic tool project
* Add copy to a temp folder, escape private info and zip it
* Added diagnostic tool to installer
* zip folder path as cmd argument
* renamed project to BugReportTool
* do not use precompile headers for release
* Added zip lib
* Added license
* Delete old zip source files
* Use fork version while PR is not merged
* fix spelling
* exclude deps folder from spell checking
* exclude only zip
* removed redundant configuration from zip project
* fix spelling
* Add error handling to implementation
* Added build of BugReportTool.sln to pipeline
* Delete redundant info from BugReportTool.vcxproj
* Deleted submodule
* Added submodule
* fix build
* Restore nuget packages for BugReportTool.sln on CI
* spelling fix
* Use SettingsAPI
* changed git submodule
* added new sensitive info
* Removed zip project
* use json.h, add date to zipfolder, handle zip is not created
* fix spelling
* delete bad_alloc catch
* add new sensative info
* report monitor info
* report windows version
* fix spelling
* delete platform specific configuration
* fix output
2020-12-22 11:27:28 +01:00
Andrey Nekrasov
063e704321
build: Treat warnings as errors in the remaining projects ( #8689 )
...
* build: remove #pragma comment(lib
* build: treat warnings as errors for all src projects
2020-12-21 18:51:48 +03:00
Seraphima Zykova
7040fffcca
[PT Run] String with accented characters search ( #8667 )
2020-12-21 18:24:10 +03:00
csigs
295fc7c0dc
LEGO: check in for master to temporary branch. ( #8690 )
2020-12-21 15:57:32 +01:00
Davide Giacometti
11bdbaa07f
image resizer and settings percentage unit ( #8674 )
2020-12-21 15:55:50 +01:00
Ivan Stošić
50b797aa32
[FancyZones] Don't capture Win+Arrows if there's no zone layout ( #8626 )
...
* Don't capture Win+Arrows if there's no zone layout
* Reuse a variable instead of calling
* Renamed a Windows event
* Add an underscore to fix misspelling
2020-12-18 13:58:37 +01:00
Andrey Nekrasov
c9c4c9ba8c
ImageResizer: fix crash on using UseNewSettings ( #8661 )
...
* ImageResizer: fix crash on using UseNewSettings
- add unit test to InteropTests
2020-12-18 15:25:58 +03:00
Enrico Giordani
3a3cb27b36
Fix passing project folder path to localization script ( #8663 )
2020-12-18 12:37:40 +01:00
Andrey Nekrasov
0709b0648a
bootstrapper: add --extract_msi arg for users that must access MSI ( #8646 )
...
* bootstrapper: add --extract_msi arg for users that must access MSI
- clean up setting outdated MSI properties
- minor fixes
2020-12-17 19:58:15 +03:00
Andrey Nekrasov
e58ff6c71c
Auto-updating: add text for "Last checked" ( #8645 )
2020-12-17 19:38:23 +03:00
Andrey Nekrasov
24141abde2
updating: remove all scheduled toast notifications from previous versions ( #8644 )
2020-12-17 19:34:55 +03:00
Andrey Nekrasov
a0ccca555d
CDPX: fix header include ( #8631 )
2020-12-16 22:16:23 +03:00
Enrico Giordani
cb25c7e5aa
Fix paths for localization ( #8630 )
2020-12-16 10:58:09 -08:00
Enrico Giordani
748eb9555a
Fix SettingsUI loc paths ( #8628 )
2020-12-16 09:56:07 -08:00
Ivan Stošić
e2ca4177dd
[FancyZones] Implement File Watcher ( #8603 )
...
* Implement File Watcher in FancyZones
* Simplify code, address PR comments
* Add check to result of CreateEventW
* Rebase fix
Removed unneeded newline. If we keep it now, VS will just remove it some other time.
2020-12-16 14:53:48 +01:00
Davide Giacometti
8007c0af3f
handling percentage unit ( #8567 )
2020-12-15 11:21:27 -08:00
Andrey Nekrasov
445c32c996
notifications: use message/title directly instead of binding to it, because it breaks snoozed notifications ( #8609 )
2020-12-15 19:59:56 +03:00
Andrey Nekrasov
212ea2de30
common: refactor common library pt2 ( #8588 )
...
- remove common lib
- split settings, remove common-md
- move ipc interop/kb_layout to interop
- rename core -> settings, settings -> old_settings
- os-detect header-only; interop -> PowerToysInterop
- split notifications, move single-use headers where they're used
- winstore lib
- rename com utils
- rename Updating and Telemetry projects
- rename core -> settings-ui and remove examples folder
- rename settings-ui folder + consisent common/version include
2020-12-15 15:16:09 +03:00
martinchrzan
cddf48547d
Color Picker - show color name ( #8553 )
...
* Added color name ported from WinUI implementation
* Added new words into expect.txt
* Change color name foreground
* Moved show color name checkbox
2020-12-15 08:46:38 +01:00
csigs
f4ffdbe8a9
LEGO: check in for master to temporary branch. ( #8591 )
2020-12-14 09:13:17 -08:00
Mykhailo Pylyp
29752c72d0
remove the indexer plugin from constant search plugins ( #8367 )
2020-12-14 18:07:26 +02:00
Andrey Nekrasov
64a864a332
logging: support msvc debug window output ( #8478 )
2020-12-14 16:10:29 +03:00
Andrey Nekrasov
5fa4ee4942
Cpp build: factor out common project props & prepare for common split ( #8509 )
...
* make common include paths format consistent
* build: introduce common Cpp.Build.props
2020-12-14 15:20:45 +03:00
Niels Laute
df5409d103
Fix UI issue ( #8508 )
...
Authored-by: Niels Laute <niels9001@hotmail.com>
2020-12-14 10:50:30 +01:00
Mehmet Murat Akburak
da22e21a0e
[PowerRename] Fix tests inconsistency, improve test performance ( #8129 )
...
* Move retrieveing file attibutes to PowerRenameRegex
Move file attributes unit tests to PowerRenameRegexTests
Add file time field to MockPowerRenameItem
* Add file attributes unittests to PowerRenameManagerTests
* Change variable name
* Rearrange function arguments
* Check if file attributes are used only once
* Change variable name LocalTime -> fileTime, date -> time
* Set fileTime as a member of PowerRenameRegEx rather than passing as an argument
* Change function name isFileAttributesUsed() -> isFileTimeUsed()
Check before resetting fileTime
* Fix small bugs
* Fix typos
* Refactor for readability, move free calls to reachable places
* Fix search for area empty bug
searchTerm being empty is not an invalid argument rather it must return OK without any operation
Tests must check if Replace() returns S_OK becuase later it checks its result
* Check return values of method calls in PowerRenameManager
Remove received argments checks from some methods because argument being null or empty string doesnt mean it is invalid or method fails
* Fix formatting. Remove overlooked comment. Fix error message.
* Change HRESULT declarations according to coding style
* Fix unhandled case. Refactor.
2020-12-14 10:28:12 +01:00
Davide Giacometti
1d1dc41bb0
[PreviewPane] Porting .NET Core 3.1 ( #8432 )
...
* PreviewPane porting .NET core 3.1
* Adding in misspellings
Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-12-11 09:59:42 +01:00
Clint Rutkas
1dc2b1c4c0
adding in comments / adjusting for 8468 ( #8532 )
2020-12-10 21:54:24 -08:00
Andrey Nekrasov
84932eb9da
updating: add support for prereleases ( #8296 )
2020-12-10 19:05:43 +03:00
Seraphima Zykova
8a7824924a
[KBM] Open Remap Shortcuts/Remap Keyboard window on the same monitor as Settings. ( #8325 )
2020-12-10 18:28:44 +03:00
Rafael Rivera
709d42d3e7
Migrate winappdriver test project to .NET Core ( #8412 )
2020-12-10 06:53:07 -08:00
Mykhailo Pylyp
6cefb4e83f
[PT Run] Add logs for Launcher ( #8489 )
2020-12-10 14:56:16 +02:00
Jeremy Sinclair
1790bfe91c
Color picker netcore 31 ( #8417 )
...
* Converted to SDK Style project and upgraded to .NET Core 3.1
* Cleaned up formatting
* Swapped System.Windows.Interactivity.Wpf for Microsoft.Xaml.Behaviors.Wpf
* More replacements to Xaml Behaviors
* No need for App.config
* Profile file cleanup. Added System.Drawing.Common package
* Moved entry point to a new Program.cs
* Set StartupObject to ColorPicker.Program
* Renamed assembly to ColorPickerUI to resolve conflict with module
* Added proper output path
* Updated list of files needed for installer
* Added InvariantCulture string comparion for ColorToHex.
Updated pipeline.user.windows.yml
2020-12-10 08:21:46 +01:00
Eriawan Kusumawardhono
04586c02de
migrate Microsoft.Interop.Tests to target .NET Core 3.1 ( #8411 )
...
* migrate Microsoft.Interop.Tests to target .NET Core 3.1
* put the stylecop nuget and stylecop.json
* refactor Microsoft.Interop.Tests.csproj to have x64 platform target
* Update build-powertoys-steps.yml
Getting interop tests actually on CI
Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-12-10 08:11:14 +01:00
Ivan Stošić
9a906d427a
[FancyZones] Reduce VRAM use ( #8469 )
2020-12-08 13:31:30 +01:00
Andrey Nekrasov
9d0d5db948
FZ: fix incorrect snapping zoning behavior caused by calling MessageBox from LLKBHook cb ( #8473 )
...
* Revert "add logging to hide/show window and shift press (#8392 )"
This reverts commit df3d007a1b
.
* FZ: fix incorrect snapping zoning behavior caused by calling MessageBox from LLKBHook cb
2020-12-08 15:16:06 +03:00
Clint Rutkas
292939c4a1
Merge pull request #8386 from microsoft/dev/crutkas/fxCopColorPickerUnitTests
...
FxCop to UnitTests for ColorPicker
2020-12-07 14:44:46 -08:00
Ivan Stošić
b1c0c5a03e
Merge pull request #8445 from ivan100sic/free-render-target
...
[FancyZones] Video memory leak fix, free render target
2020-12-07 18:42:10 +01:00
Clint Rutkas
8ceee89ee7
Merge pull request #8452 from microsoft/lego/hb_2939_20201207140656093
...
LEGO: Pull request from lego/hb_2939_20201207140656093 to master
2020-12-07 09:11:54 -08:00
Seraphima Zykova
69c0f179f5
[FancyZones] Obtain device id ( #8451 )
2020-12-07 17:57:53 +03:00
csigs
aa18543903
LEGO: check in for master to temporary branch.
2020-12-07 14:06:58 +00:00
Ivan Stošić
b4939a8873
Free render target
2020-12-07 09:29:46 +01:00
martinchrzan
375953641b
Fixing issues when color picker freezes ( #8376 )
...
* Fixing issue when color picker was frozen because other application was locking clipboard
* Fixed another issue where holding activation keys constantly would trigger show color picker numberous times and it would cause some events to be attached multiple times
2020-12-05 14:25:55 +01:00
Seraphima Zykova
aa3dd133c7
[FancyZones] logging on the editor exit event ( #8422 )
2020-12-05 11:36:31 +03:00
Andrey Nekrasov
df3d007a1b
add logging to hide/show window and shift press ( #8392 )
2020-12-04 17:44:35 +03:00
Clint Rutkas
9d02a23325
Adding in FxCop
2020-12-03 16:52:21 -08:00
martinchrzan
dc3e645591
Hiding remove context menu when there are no colors in the history ( #8328 )
2020-12-02 11:18:07 +01:00
Clint Rutkas
a8f566052b
Merge pull request #8183 from microsoft/users/niels9001/colorpicker-imageupdates
...
[Docs] Updated color picker hero images
2020-12-01 10:12:05 -08:00
Clint Rutkas
79dcd7c555
Merge pull request #8180 from microsoft/users/niels9001/imageresizer-imageupdates
...
[Docs] Updated ImageResizer hero-images
2020-12-01 10:11:40 -08:00
Clint Rutkas
506a3337c6
Merge pull request #8286 from microsoft/lego/hb_2939_20201201033406876
...
LEGO: Pull request from lego/hb_2939_20201201033406876 to master
2020-12-01 09:27:57 -08:00
Mykhailo Pylyp
d9ca68e6ea
Add error handling for all possible failing of winrt::check_result ( #8278 )
2020-12-01 12:03:24 +02:00
csigs
f31652053f
LEGO: check in for master to temporary branch.
2020-12-01 03:34:18 +00:00
Seraphima Zykova
c6078e3136
handle key events ( #8279 )
2020-11-30 20:07:03 +01:00
Clint Rutkas
f86182d062
Merge pull request #8276 from microsoft/lego/hb_2939_20201130120702764
...
LEGO: Pull request from lego/hb_2939_20201130120702764 to master
2020-11-30 09:13:39 -08:00
Clint Rutkas
bec0fd603f
Merge pull request #8272 from microsoft/lego/hb_2939_20201130074650503
...
LEGO: Pull request from lego/hb_2939_20201130074650503 to master
2020-11-30 09:12:58 -08:00
Mykhailo Pylyp
f0553c370a
Fix runner warnings ( #8211 )
2020-11-30 16:16:49 +02:00
csigs
9a31d3ccab
LEGO: check in for master to temporary branch.
2020-11-30 12:07:04 +00:00
csigs
d56319208a
LEGO: check in for master to temporary branch.
2020-11-30 07:46:51 +00:00
Clint Rutkas
f2b4d790b6
Merge pull request #8232 from microsoft/lego/hb_2939_20201126120617106
...
LEGO: Pull request from lego/hb_2939_20201126120617106 to master
2020-11-27 20:27:50 -08:00
Clint Rutkas
e2d37a31ad
Merge pull request #8259 from microsoft/lego/hb_2939_20201128000545286
...
LEGO: Pull request from lego/hb_2939_20201128000545286 to master
2020-11-27 18:13:03 -08:00
Clint Rutkas
faa9b4b27f
Merge pull request #8243 from microsoft/lego/hb_2939_20201127000526832
...
LEGO: Pull request from lego/hb_2939_20201127000526832 to master
2020-11-27 18:12:33 -08:00
csigs
fe8bbb82a0
LEGO: check in for master to temporary branch.
2020-11-28 00:05:46 +00:00
Andrey Nekrasov
06984ff317
CI: disable multiple msbuild instances ( #8253 )
...
* CI: disable multiple msbuild instances
* make MultiProcessorCompilation option consistent
* KBM: increase compiler limit again
2020-11-27 14:18:23 +03:00
Davide Giacometti
ef0728657c
fix build with localization ( #8241 )
2020-11-27 09:48:23 +01:00
csigs
b4e37e0be5
LEGO: check in for master to temporary branch.
2020-11-27 00:05:27 +00:00
Andrey Nekrasov
9735459552
bootstrapper: use WinAPI progress bar window instead of toast notific… ( #8210 )
...
* bootstrapper: use WinAPI progress bar window instead of toast notifications
* remove obsolete msi action
2020-11-27 00:31:00 +03:00