Seraphima Zykova
8dcdcbaa37
[FancyZones] Retry monitor identification attempt ( #27005 )
...
* retry monitor identification
* check displays after retries
* reduce waiting time
* 30ms waiting time
* keep fallback values
2023-06-23 22:02:36 +02:00
gokcekantarci
8cb632a0c2
[QuickAccent] A check is added to applications running under other ap… ( #26808 )
...
* [QuickAccent] A check is added to applications running under other applications with window name for excluding.
* [QuickAccent] Check moved under a general function and applied all modules includes excludeapp
* [QuickAccent] Function name revised
* [QuickAccent] check_excluded_app_with_title function moved to excluded_apps.h
* [QuickAccent] New function created for clean code.
* Reuse check_excluded_app_with_title
---------
Co-authored-by: Stefan Markovic <stefan@janeasystems.com >
2023-06-23 21:53:15 +02:00
Seraphima Zykova
cfaa3670db
[FancyZones] Fix zone activation when the cursor is not moved ( #26943 )
2023-06-22 17:05:55 +02:00
Basit Ali
c69c74a8ad
[Fancy Zones] Middle click to toggle spanning multiple zones ( #26079 )
...
* Attempt to use middle click to toggle zone spanning
* Merge Middle and Secondary Button hooks
* Make mouse state variables more identifiable.
2023-06-13 11:31:22 +02:00
gokcekantarci
912061d100
[FZEditor]Mark headings for accessibility ( #25897 )
...
* [FancyZones Editor - Edit layout] New HeadingTextBlock style is added and applied to FZ headers.
* [FancyZones Editor - Edit layout] Loaded event added.
* [Fancy zones editor - Edit layout] Two texts in FZEditor changed to header.
* [FancyZones Editor - Edit layout] Heading level property added for new headingtextblock.
2023-05-12 09:15:04 +01:00
Jay
5aed67bc0d
Adjust font: size family; few corner-radii ( #25358 )
...
* SettingsCard ActionIcon 16
* Font Family + Size
* CornerRadius
* Misc
* extras
* Revert size 16 - 14
To be dealt with via Community
* other improvs
* other improvs
* try to adjust height to fit text
* adjust Border sizes to fit text
* undo
2023-05-09 16:40:18 +02:00
gokcekantarci
9c712760f9
[FZEditor]Gain focus after launching the editor ( #25827 )
...
* [Power Toys - Fancy Zones] Focus problem when activating layour editor is solved.
* haveTriedToGetFocusAlready variable added for focusing one time.
* [Power Toys - Fancy Zones] Functions are added to NativeMethods.cs
2023-05-05 16:46:27 +01:00
Seraphima Zykova
0d084ab34e
[FancyZones] Fix window cycling on multiple monitors ( #25145 )
2023-03-31 17:43:18 +03:00
Aaron Junker
5da8809b4e
Centralize c# logger ( #22760 )
...
* Initial commit
* Changed some loggers (WIP)
* ColorPicker
* Add version to all logs
* FancyZones
* push
* PowerOCR and Measuretool
* Settings
* Hosts + Fix settings
* Fix some using statements
* FileLocksmith
* Fix awake
* Fixed Hosts logger
* Fix spelling
* Remove added submodule
* Fiy FileLocksmith and PowerAccent
* Fix PowerAccent
* Test
* Changed logger locic and added ColorPicker
* Fixed package
* Add documentation
* Add locallow capability to Logger and add FancyZones
* Fixed FancyZones and added FileLocksmith
* Add Hosts
* Fixed spelling mistakes
* Add MeasureTool
* Add MouseJump
* Add PowerOCR
* Add PowerAccent
* Add monaco
* Add Settings
* Fixed Monaco
* Update installer
* Update doc/devdocs/logging.md
Co-authored-by: Stefan Markovic <57057282+stefansjfw@users.noreply.github.com >
* Update doc/devdocs/logging.md
Co-authored-by: Stefan Markovic <57057282+stefansjfw@users.noreply.github.com >
* Update doc/devdocs/logging.md
Co-authored-by: Stefan Markovic <57057282+stefansjfw@users.noreply.github.com >
* Update logging.md
* Fix unneccesairy includes.
---------
Co-authored-by: Dustin L. Howett <dustin@howett.net >
Co-authored-by: Stefan Markovic <stefan@janeasystems.com >
Co-authored-by: Stefan Markovic <57057282+stefansjfw@users.noreply.github.com >
2023-03-21 10:27:29 +01:00
Niels Laute
5baa0b1904
[Settings] Bump settingscontrols version number ( #24874 )
...
* Bump settingscontrols version number
* Replace Experiment bitmap icon with path
* Fix build
* Update notice.md
* Update manifests
* Bump WinAppSDK for c++ project
---------
Co-authored-by: Stefan Markovic <stefan@janeasystems.com >
2023-03-20 14:27:29 +01:00
Davide Giacometti
5cbe9dd911
[Build] Upgraded NetAnalyzers to 7.0.1 ( #24792 )
...
* upgraded NetAnalyzers to 7.0.1
* fix spellcheck
* Microsoft.CodeAnalysis.NetAnalyzers 7.0.1
* rebase and fix
2023-03-16 15:51:31 +01:00
Seraphima Zykova
f85fc98352
[FancyZones] Move windows to the app last zone fix ( #24290 )
2023-02-27 21:15:52 +01:00
Clint Rutkas
d122f7ff99
Adjustments ( #24254 )
2023-02-22 14:55:25 -08:00
Clint Rutkas
aceffe3212
Revert "Fixing policheck flags"
...
This reverts commit 0e41684cf0 .
2023-02-21 20:50:33 -08:00
Clint Rutkas
0e41684cf0
Fixing policheck flags
2023-02-21 20:19:04 -08:00
Jeremy Sinclair
483e37c8b0
[Build]Centralize .NET NuGet Package Versions ( #23727 )
...
* Add populated Directory.Packages.props
* Add package source mapping for community toolkit
* Remove package versions from Settings projects
* Remove package versions from PT Run plugin projects
* Remove package versions from PreviewPane projects
* Remove package versions from Launcher projects
* Remove package versions from Common projects
* Remove package versions from Hosts
* Remove package versions from PowerAccent projects
* Remove package versions from ImageResizer projects
* Remove package versions from Awake
* Remove package versions from ColorPicker projects
* Remove package versions from FancyZones
* Remove package versions from FileLocksmith
* Remove package versions from MeasureToolUI
* Remove package versions from PowerOCR
* Remove package versions from Analyzers entries
* Try fix release CI with packageSourceMapping
* Actually use PowerToys dependencies source for labs
2023-02-13 17:10:33 +00:00
sosssego
fb531139c8
[Analyzers][CPP]Changes to fix warning 26493 on src/modules/ (A to F) ( #23482 )
...
starting with letter A to Letter F
2023-02-08 11:00:45 +00:00
sosssego
956eb98125
[Analyzers][CPP] Turn on rule 26497 ( #23119 )
...
* Turn on warning 26497
This function function-name could be marked constexpr if compile-time evaluation is desired.
* C++20 has constexpr swap
* as constexpr is not only for compile time,
make all functions that can be constexpr constexpr
* constexpr functions are implicity inline
2023-02-08 10:59:34 +00:00
Seraphima Zykova
c180150d54
[FancyZones] Keep the same layouts on the new virtual desktops. ( #23927 )
2023-02-07 13:02:22 +01:00
Seraphima Zykova
a6e0396290
[FancyZones] Remove app from app-zone-history when dragging starts ( #23926 )
2023-02-07 12:14:24 +01:00
Seraphima Zykova
7e008af00a
[FancyZones] Fix window resize on layout change ( #23829 )
2023-02-06 17:15:19 +01:00
Seraphima Zykova
82c5c00092
[FancyZones][Hotfix]Opacity reset fix ( #23818 )
2023-02-03 15:08:51 +00:00
Seraphima Zykova
b09ce1bb57
[FancyZones] Fix crashing on win + arrows usage ( #23757 )
2023-02-02 17:25:04 +01:00
Seraphima Zykova
fcd05f2f51
[FancyZones] Improve code quality (part 5: work area initialization) ( #23671 )
2023-01-31 10:55:46 +01:00
Seraphima Zykova
92f61d6ef5
[FancyZones] Improve code quality (part 4) ( #23638 )
2023-01-30 17:39:46 +01:00
Seraphima Zykova
dbcf1fca15
[FancyZones] Improve code quality (part 3: window dragging) ( #23040 )
2023-01-26 18:02:46 +01:00
Seraphima Zykova
6f0b16de49
[FancyZones] Improve code quality (part 2: WorkArea init) ( #23030 )
...
* init WorkArea with a rectangle
* keep the highlighted zones state in a separate class
2023-01-23 18:13:05 +01:00
Seraphima Zykova
87743e8e5d
[FancyZones] Improve code quality (part 1: moved utils) ( #23028 )
2023-01-17 11:50:40 +01:00
sosssego
d84a13bb7e
[Analyzers][CPP]Turn on warning 26471 ( #23103 )
...
Don't use reinterpret_cast. A cast from void* can use static_cast
2023-01-16 11:18:55 +00:00
sosssego
b1c535a2ce
[Analyzers][CPP]Turn on warning 26466 ( #22639 )
...
* Turn on warning 26466
* changes from comments
2023-01-03 12:19:07 +00:00
Seraphima Zykova
91ffe5e707
[FZEditor]Reduce layout shortcut tooltip delay ( #22889 )
2022-12-19 16:54:57 +00:00
Seraphima Zykova
d0c9350ac4
[FZEditor]Fix crash when deleting a zone while dragging it ( #22884 )
2022-12-19 16:51:27 +00:00
sosssego
6244604d03
[Analyzers][CPP]Turn on warning 26475 ( #22824 )
2022-12-18 16:00:55 +00:00
Davide Giacometti
6d138e80fb
[Analyzers] Update StyleCop and enable SA1200 ( #22707 )
...
* update StyleCop and enable SA1200
* Fix merge issues
* fix build and added using rule
2022-12-18 13:27:14 +00:00
sosssego
617150cf50
[Analyzers][CPP]Turn on warning 26410 ( #22744 )
2022-12-18 11:46:06 +00:00
Stefan Markovic
6ac508fb93
Self-contained .NET ( #22217 )
...
* dotnet sc
* MD preview - C# app
- working self-contained
* Gcode preview - C# app
* DevFiles preview - C# app
* Fix passing path with spaces as cmd arg and monacocpp proj file
* Pdf preview - C# app
* Svg preview - C# app
* Fix comment
* Gcode thumbnail - C# app
TODO:
- installer
- why IThumbnailProvider and IIntializeWithFile doesn't work?
* Pdf thumbnail - C# app
TODO:
- installer
- why IThumbnailProvider and IIntializeWithFile doesn't work?
* Pdf thumbnail - C# app
TODO:
- installer
- why IThumbnailProvider and IIntializeWithFile doesn't work?
* Fix GcodeThumbnailProviderCpp.vcxproj
* Svg thumbnail - C# app
TODO:
- installer
- why IThumbnailProvider and IIntializeWithFile doesn't work?
* Fix Svg tests
* Thumbnail providers - installer
* Self-contained Hosts and FileLocksmith
* Fix hardcoded <RuntimeIdentifier>
* Remove unneeded files
* Try to fix Nuget in PR CI
* Prefix new dlls with PowerToys.
Sign new dlls and exes
* Add new .exe files to ProcessList
* ci: debug by listing all env vars
* ci: try setting variable in the right ci file
* Bring back hardcoded RuntimeIdentifier
* ci: Add comment and remove debug action
* Remove unneeded lib
* [WIP] Platform conditional dotnet files & hardlinks
* Cleanup
* Update expect.txt
* Test fix - ARM installer
* Fix uninstall bug
* Update docs
* Fix failing test
* Add dll details
* Minor cleanup
* Improve resizing
* Add some logs
* Test fix - release build
* Remove InvokeOnControlThread
* Test fix: logger initialization
* Fix arm64 installer
Co-authored-by: Jaime Bernardo <jaime@janeasystems.com >
Co-authored-by: Dustin L. Howett <dustin@howett.net >
2022-12-14 13:37:23 +01:00
sosssego
e42bbaaaf7
[Analyzers][CPP] Turn on warning 4702 ( #22285 )
...
* Turn on 4702
unreachable code
* fix warnings that didnt show locally
* add comments about disable warnings
* improve comments
* changes from comments
* fix from PR comments
2022-12-12 17:21:48 +00:00
Davide Giacometti
cd1b7dbc2c
cleaned-up dispose TODO ( #22703 )
2022-12-10 17:20:10 +01:00
sosssego
d8b92662ba
[Analyzers][CPP]Turn on warning 4505 ( #22301 )
...
* Turn on warning 4505
supress it in the fancyzone tests
* comment on disabled warnings
* improving comments
* change strategy to have less #pragma
2022-12-09 10:58:59 +00:00
Seraphima Zykova
eca77ad8b3
[FancyZones]Fix snap by hotkey for single-zone layouts ( #22373 )
...
* unsnap window from previous work area when snapping by hotkey
2022-12-02 10:29:11 +00:00
Jeremy Sinclair
a7bd0cfde8
[deps]Upgrade to .NET 7 ( #20979 )
...
* Update projects to .NET 7
* Updated packages to 7.0-rc1
* [ColorPicker] Wrap WM_KEYUP param in unchecked context
* [PTRun][OneNote] Added a NoWarn to CS8981
* [MeasureTool] Wrap buffer in wstring_view in SetClipBoardToText
* Target .NET 7 for PowerToys.Interop
* Update publish profiles
* Removed System.Text.Json.dll from Product.wxs since it's included in .NET 7
* Use .NET 7 in CI
* Removed individual CodeAnalysis package from projects
* Updated CodeAnalysis package in Directory.Build.props
* Updated NuGet packages to latest 7.0 rc2
* Fix merge mistake with Settings.UI.Library project
* Updated installer with .NET 7 RC2 install
* [GPOWrapper] Updated GPOWrapperProjection to .NET 7
* [FileLockSmith] Updated to .NET 7
* [FileLocksmith] Update Interop to .NET 7
* Upgrade .NET 7 specific libraries to GA version
* [PowerToysSetup] Updated .NET 7 urls to GA
* [CI] removed .NET 7 SDK preview version from UseDotNet task
* [PowerToysSetup] Update HasDotnet variable name
* [PowerToysInterop] Downgrade target back to .NET 6
* [FileLockSmith] Downgrade Interop library back to .NET 6
* Revert "[FileLockSmith] Downgrade Interop library back to .NET 6"
This reverts commit 356ad048e3 .
* Revert "[PowerToysInterop] Downgrade target back to .NET 6"
This reverts commit 74dbcfdefe .
* [Analyzers][CPP] Disable warning for 4679 caused by .NET 7 in C++/CLI
* [CI] Set maximum cpu count to 2 for PowerToys.sln build
* [CI] Set maximumCpuCount to false in hopes of arm64 working
* Changed .NET 7 runtime display name
* [ci] Use .net 7 sdk
2022-12-01 14:40:41 +00:00
Josh Soref
150e7d40dd
Check spelling 0 0 21 ( #22335 )
2022-11-29 11:41:22 -08:00
sosssego
6a6c45189e
[Analyzers][CPP] Turn on warning 4458 ( #22265 )
...
* Turn on warning 4458
Fix the errors by changing variable names and
supressing the warning on winRT GDI headers
* explaining the warning disables
2022-11-29 14:10:48 +00:00
sosssego
0ed166eae2
[Analyzers][CPP] Turn on warning 4515 ( #22226 )
2022-11-23 18:35:16 +00:00
sosssego
c3ffd17e43
[Analyzers][CPP]Turn on warning 4389 ( #22082 )
2022-11-23 16:18:17 +00:00
sosssego
2074d32cb1
[Analyzers][CPP]Turn on warning 4701 ( #22151 )
2022-11-22 20:02:40 +00:00
sosssego
e50cd85e9a
[Analyzers][CPP]Turn on warning 4457 ( #22149 )
2022-11-22 19:10:46 +00:00
sosssego
e5f171c836
[Analyzers][CPP]Turn on warning 4456 ( #22087 )
2022-11-22 18:20:32 +00:00
Seraphima Zykova
ef8415ddfe
[FancyZones] Fix updating window position after switching virtual desktop ( #22072 )
2022-11-22 16:58:22 +00:00
Ikko Ashimine
ca06f2ae5b
[dev][FancyZones] fix typo in LayoutAssignedWindows.cpp ( #22166 )
...
extention -> extension
2022-11-21 13:39:09 +00:00