csigs
2e3345d2ce
LEGO: check in for master to temporary branch. ( #9528 )
2021-02-07 10:40:50 +01:00
Enrico Giordani
77d84982c2
[FanzyZones] app history and zone settings granular saving ( #9489 ) ( #9494 )
...
move DeleteFancyZonesRegistryData to proper place
add logging
2021-02-04 21:02:24 +01:00
Enrico Giordani
e0e53fcf69
[FZ Editor][loc] remove duplicated id(s) ( #9498 )
2021-02-04 20:32:01 +01:00
Seraphima Zykova
c7b6e51eba
[FZ Editor] Show zone size below the zone index ( #9449 )
2021-02-03 20:15:16 +03:00
Seraphima Zykova
4bba8bc173
[FZEditor] Create new custom layout with one zone by default ( #9440 )
2021-02-03 15:56:08 +03:00
csigs
f4f12b7dcb
LEGO: check in for master to temporary branch. ( #9424 )
2021-02-03 12:20:48 +01:00
csigs
3f6bc35ec6
LEGO: check in for master to temporary branch. ( #9411 )
2021-02-02 13:35:36 +01:00
Seraphima Zykova
e4963d65ff
[FZ Editor] Editor window size overflow ( #9389 )
2021-02-02 11:16:03 +03:00
Seraphima Zykova
612f3e20ac
[FZ Editor] Update the small layout preview after canceling zone editing. ( #9391 )
2021-02-02 11:15:05 +03:00
Enrico Giordani
f309f48ae2
LEGO: check in for master to temporary branch. ( #9401 ) ( #9405 )
...
Co-authored-by: csigs <csigs@users.noreply.github.com>
2021-02-02 08:54:43 +01:00
csigs
d5764fd387
LEGO: check in for master to temporary branch. ( #9374 )
2021-02-02 08:20:06 +01:00
Enrico Giordani
6fe36c9d1c
Revert "LEGO: check in for master to temporary branch. ( #9401 )" ( #9402 )
...
This reverts commit 245bd302d7
.
2021-02-02 08:18:55 +01:00
csigs
245bd302d7
LEGO: check in for master to temporary branch. ( #9401 )
2021-02-02 06:38:30 +01:00
Enrico Giordani
3d35aed95b
[FZ Editor] Hack to workaround crash ( #9398 )
2021-02-01 20:54:29 +01:00
csigs
a56141e0e8
LEGO: check in for master to temporary branch. ( #9367 )
2021-01-29 14:10:44 +01:00
Seraphima Zykova
53c239f052
[FZ Editor] Limit zones number for custom layouts. ( #9364 )
...
* disable add zone button
* unify zone adding
2021-01-29 15:10:37 +03:00
Seraphima Zykova
646d61bd4d
[FancyZones Editor] New UX for the FZ editor. ( #9325 )
...
* Removed MetroWindow, added theming support and modernWPF
* Rmoved MahApps refs
* Removed MahApps
* Updated canvas zones
* Updated GridEditor
* Fixes
* UI updates
* New layout type selection dialog
* New editor UI
* Updates
* Fix
* UI enhancements
* Updated UI
* Added styles to layoutpreview
* Accesibility improvements
* Accesibility and styling improvements
* Fix
* Cleaned up brushes
* Updated UX
* Updated UI
* Added no layouts description
* Fix
* UI fixes
* [FZ Editor] Serialize/deserialize settings (#8615 )
* conflicts fix
* [FZ Editor] Parse json file instead of command line args (#8649 )
* [FZ Editor] Serialize/deserialize settings fix (#8707 )
* [FZ Editor] Hide unsupported settings in custom layouts flyouts (#8716 )
* [FZ Editor] Duplicate custom layouts (#8718 )
* [FZ Editor] Duplicate layout behavior (#8720 )
* New UX proposal
* Updated spacing
* Switching to toggleswitches
* Revert toggleswitch
* Updated colorbrush
* Updated string for saving label
* Updated UI
* Dark theme color fixes
* Removed space
* [FZ Editor] Bind dialog properties (#9199 )
* Resize editor window to fit the content in single-monitor mode (#9203 )
* Editor opening fix (#9207 )
* Disable "Create" button if the Name textbox is empty (#9212 )
* [FZ Editor] Changed edit dialog for template layouts. (#9233 )
* [FZ Editor] Small fixes and refactoring. (#9236 )
* new layout creation refactoring
* "Save and apply" applies the layout
* number of zones header hide
* [FZ Editor] Empty layout template. (#9237 )
* [FZ Editor] Move "Duplicate" and "Delete" buttons to the Edit dialog. (#9272 )
* [FZ Editor] Preview the applied layout after editing another layout. (#9278 )
* Fixed "Save and apply" button behavior (#9286 )
* [FZ Editor] Save template layouts in the settings. (#9283 )
* Added default custom layout name (#9291 )
* close dialog before opening zones editor (#9302 )
* Pressing Esc closes dialogs (#9301 )
* [FZ Editor] Reset applied layout to "No layout" if it was deleted. (#9315 )
* [FZ Editor] Dark theme colors (#9317 )
* "Number of zones" buttons colors. (#9321 )
* rebase fix
* added ModernWpf.dll
* address PR comments: updated colors
* added comments, replaced magic numbers
* refactoring
* merge zones crash fix
* removed redundant using directive
Co-authored-by: Niels Laute <niels9001@hotmail.com>
Co-authored-by: Niels Laute <niels.laute@live.nl>
2021-01-27 19:33:52 +01:00
csigs
ea21a11259
LEGO: check in for master to temporary branch. ( #9116 )
2021-01-15 15:29:23 +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
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
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
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
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
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
Enrico Giordani
3a3cb27b36
Fix passing project folder path to localization script ( #8663 )
2020-12-18 12:37:40 +01: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
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
csigs
f4ffdbe8a9
LEGO: check in for master to temporary branch. ( #8591 )
2020-12-14 09:13:17 -08: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
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
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
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
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
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
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
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
a40ba55750
LEGO: check in for master to temporary branch.
2020-11-26 00:06:03 +00:00
Mykhailo Pylyp
eb264537f3
added logs to fancy zones ( #8190 )
2020-11-25 11:54:10 +02:00
Davide Giacometti
50dcd97611
[FancyZones Editor] Porting .NET Core 3.1 ( #8122 )
...
* fancy zones editor porting core 3.1
* fix build
* removed native image
* fancy zones editor dll sign
2020-11-24 15:55:31 +01:00
csigs
92de810d4e
LEGO: check in for master to temporary branch.
2020-11-21 00:05:46 +00:00
csigs
ef6374becc
LEGO: check in for master to temporary branch.
2020-11-20 12:05:54 +00:00
Clint Rutkas
1d3e3f40fd
Merge pull request #8121 from microsoft/dev/crutkas/FxCop_fzEditor_pass1
...
Dev/crutkas/fx cop fz editor pass1
2020-11-19 14:50:33 -08:00
Clint Rutkas
0e96b54a9e
Merge pull request #8124 from microsoft/lego/hb_2939_20201119000611307
...
LEGO: Pull request from lego/hb_2939_20201119000611307 to master
2020-11-19 10:33:44 -08:00
Seraphima Zykova
9144123f32
[FancyZones Unit tests] removed temp files check ( #8127 )
2020-11-19 13:53:10 +03:00
Seraphima Zykova
854ea0e5ac
[FancyZones Editor] Reset layout ( #8114 )
...
Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
2020-11-19 10:03:22 +03:00
csigs
6256436305
LEGO: check in for master to temporary branch.
2020-11-19 00:06:12 +00:00
Clint Rutkas
567e4a39d5
removing fxcop
2020-11-18 12:07:59 -08:00
Clint Rutkas
d056c136dd
invariants
2020-11-18 12:04:24 -08:00
Clint Rutkas
98a8129f93
null checks
2020-11-18 11:47:24 -08:00
Clint Rutkas
4c853a8f45
more tweaks
2020-11-18 11:44:00 -08:00
Clint Rutkas
f113aadb68
removing default values
2020-11-18 11:40:59 -08:00
Clint Rutkas
0669fbcc27
Renaming nativemethods
2020-11-18 11:38:45 -08:00
csigs
c9d082303f
LEGO: check in for master to temporary branch.
2020-11-18 12:07:12 +00:00
csigs
bd8088daca
LEGO: check in for master to temporary branch.
2020-11-18 00:05:50 +00:00
csigs
dc57e0165c
LEGO: check in for master to temporary branch.
2020-11-17 12:06:43 +00:00
vldmr11080
9ccd97798f
[FancyZones] Update primary desktop data on virtual desktop switch ( #7994 )
...
* Update primary desktop data after virtual desktop switch
* Don't remove zeroed-GUID inside RemoveDeletedDesktops method
* Minor refactoring in VirtualDesktopUtils
* Use std::vector::empty check instead of comparing size with 0
2020-11-17 12:39:31 +01:00
Clint Rutkas
5477dbe396
Merge pull request #8078 from microsoft/lego/hb_2939_20201117000533444
...
LEGO: Pull request from lego/hb_2939_20201117000533444 to master
2020-11-17 00:47:16 -08:00
Seraphima Zykova
b8e5ccfb7b
[FancyZones] Editor multi monitor support ( #6562 )
...
Co-authored-by: Enrico Giordani <enrico.giordani@gmail.com>
Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
2020-11-17 11:38:19 +03:00
csigs
471defca72
LEGO: check in for master to temporary branch.
2020-11-17 00:05:34 +00:00
Clint Rutkas
238e5b3afa
Merge pull request #8057 from microsoft/lego/hb_2939_20201116000536744
...
LEGO: Pull request from lego/hb_2939_20201116000536744 to master
2020-11-16 10:45:32 -08:00
Clint Rutkas
bcebd27739
Merge pull request #8041 from microsoft/lego/hb_2939_20201114120538945
...
LEGO: Pull request from lego/hb_2939_20201114120538945 to master
2020-11-16 10:44:28 -08:00
Clint Rutkas
4516d10197
Merge pull request #8034 from microsoft/lego/hb_2939_20201114000606270
...
LEGO: Pull request from lego/hb_2939_20201114000606270 to master
2020-11-16 10:43:38 -08:00
Ivan Stošić
48e5cc152f
Merge pull request #8006 from ivan100sic/zwnddraw-debug
...
[FancyZones] Refactor a function in ZoneWindowDrawing
2020-11-16 14:22:40 +01:00
ivan100sic
81e0836e11
Add a TODO comment
2020-11-16 12:28:45 +01:00
csigs
b653743f5f
LEGO: check in for master to temporary branch.
2020-11-16 00:05:37 +00:00
csigs
24690973a8
LEGO: check in for master to temporary branch.
2020-11-14 12:05:39 +00:00
csigs
8af6cf8d72
LEGO: check in for master to temporary branch.
2020-11-14 00:06:07 +00:00
Clint Rutkas
7116179dc6
Merge pull request #8026 from microsoft/lego/hb_2939_20201113120703275
...
LEGO: Pull request from lego/hb_2939_20201113120703275 to master
2020-11-13 09:00:44 -08:00
vldmr11080
165a06b5a9
Add custom announcement to tab items ( #8027 )
2020-11-13 17:51:21 +01:00
stefansjfw
4910bd3feb
Null Left/RightWindowCommands ( #8028 )
2020-11-13 17:32:48 +01:00
Andrey Nekrasov
c1b1fe6371
Fix compilation errors for VS 16.8.1 ( #8024 )
...
* fix compilation issues for VS 16.8.* release
* - VS 16.8 changed its template instantiation model, so now the compiler checks the syntax used in template even when it's not instantiated. we were relying on that behavior to declare the list of required localized strings from a shared header => replacing that template with a macro.
* - fix 3 C++ `const auto&` bugs the new compiler was able to uncover
* - enabled /Zc:twoPhase- for bootstrapper and PowerToysSetupCustomActions to workaround 10.0.17134.0 headers' issue.
- PowerToysSetupCustomActions.vcxproj now uses 10.0.17134.0 instead of "latest" SDK
* - PowerToysSetupCustomActions project leverages `goto` operator's power extensively, and the new compiler was able to uncover new uninitialized variables behavior, restructured declarations and changed `NULL`s to `nullptr`s.
* - Fix unit FZ unit test compiler error
* - format FZS unit test source file
* fixup fz tests
* use /Zc:twoPhase- for common-md as well
2020-11-13 15:57:01 +03:00
csigs
97fcc8311f
LEGO: check in for master to temporary branch.
2020-11-13 12:07:05 +00:00
csigs
ba42b192b8
LEGO: check in for master to temporary branch.
2020-11-13 00:05:15 +00:00
csigs
f2ad8086a7
LEGO: check in for master to temporary branch.
2020-11-12 17:49:09 +00:00
ivan100sic
0013282012
Formatting
2020-11-12 12:41:11 +01:00
stefansjfw
102f42928c
[FancyZones Editor][Accessibility] Default focused elements in all FancyZones Editor windows ( #7971 )
...
* Default focused elements
* Fix focus when starting editor from settings
2020-11-12 10:08:17 +01:00
csigs
9eb8377cea
LEGO: check in for master to temporary branch.
2020-11-11 23:06:14 +00:00
ivan100sic
f2469415d2
Separate a big function call to several functions
2020-11-11 17:57:24 +01:00
csigs
5c2e5e14fa
LEGO: check in for master to temporary branch.
2020-11-11 11:06:15 +00:00
csigs
8a86253958
LEGO: check in for master to temporary branch.
2020-11-10 23:06:24 +00:00
Clint Rutkas
8f11874449
Merge branch 'master' into lego/hb_2939_20201108230556187
2020-11-10 14:43:16 -08:00
Clint Rutkas
7ecf01737d
Merge pull request #7974 from microsoft/lego/hb_2939_20201110110635301
...
LEGO: Pull request from lego/hb_2939_20201110110635301 to master
2020-11-10 08:52:03 -08:00
Clint Rutkas
23083decbb
Merge pull request #7946 from microsoft/lego/hb_2939_20201109110559091
...
LEGO: Pull request from lego/hb_2939_20201109110559091 to master
2020-11-10 08:51:39 -08:00
vldmr11080
0a8bc1a63c
Enable keyboard accessibility for template and custom layout items ( #7977 )
2020-11-10 16:24:20 +01:00
vldmr11080
db61c6b643
[FancyZones] Localize names of predefined layotus ( #7973 )
...
* Localize strings in Settings.cs
* Add comment to resource variable
2020-11-10 16:15:30 +01:00
csigs
248135dffb
LEGO: check in for master to temporary branch.
2020-11-10 11:06:37 +00:00
Clint Rutkas
7bbcde9310
Merge branch 'master' into lego/hb_2939_20201109110559091
2020-11-09 16:36:17 -08:00
csigs
a6031a46a2
LEGO: check in for master to temporary branch.
2020-11-09 23:06:08 +00:00
csigs
e27c5e3043
LEGO: check in for master to temporary branch.
2020-11-09 11:06:00 +00:00
csigs
090ddafade
LEGO: check in for master to temporary branch.
2020-11-08 23:05:56 +00:00
vldmr11080
65ce8c760d
Specify focus rectangle color when focused by keyboard ( #7899 )
2020-11-06 23:23:22 +01:00
vldmr11080
9402f4ad02
Add name property for delete buton ( #7895 )
2020-11-06 20:12:53 +01:00
csigs
42b4989846
LEGO: check in for master to temporary branch.
2020-11-05 23:05:49 +00:00
Clint Rutkas
3bc4820d90
Merge pull request #7857 from microsoft/lego/hb_2939_20201104230553771
...
LEGO: Pull request from lego/hb_2939_20201104230553771 to master
2020-11-05 09:17:40 -08:00
vldmr11080
fc1feab7ec
Add descriptive name for zone increment/decrement buttons ( #7867 )
2020-11-05 15:01:07 +01:00
stefansjfw
8fa04fe2cf
Add Grid Layout Editor name property ( #7831 )
2020-11-05 12:24:10 +01:00
csigs
8e43a3ca0b
LEGO: check in for master to temporary branch.
2020-11-04 23:05:54 +00:00
Clint Rutkas
7f6d8ba86c
Merge pull request #7618 from microsoft/dev/crutkas/upgradeNuget
...
Upgrading nuget packages
2020-11-04 06:38:08 -08:00
Clint Rutkas
7508a73373
Merge pull request #7708 from jsoref/spelling
...
Spelling
2020-11-03 16:54:00 -08:00
csigs
a6a4821380
LEGO: check in for master to temporary branch.
2020-11-03 23:06:05 +00:00
Clint Rutkas
aa1d6f7095
Merge branch 'master' into dev/crutkas/upgradeNuget
2020-11-03 10:57:50 -08:00
Clint Rutkas
35cf50c796
Merge pull request #7808 from microsoft/lego/hb_2939_20201103110547248
...
LEGO: Pull request from lego/hb_2939_20201103110547248 to master
2020-11-03 09:59:34 -08:00
Clint Rutkas
f36584ce38
Merge pull request #7797 from microsoft/lego/hb_2939_20201102230612006
...
LEGO: Pull request from lego/hb_2939_20201102230612006 to master
2020-11-03 09:08:38 -08:00
csigs
8b39996577
LEGO: check in for master to temporary branch.
2020-11-03 11:05:47 +00:00
vldmr11080
78b2020669
[FancyZones] Adjust colors of secondary buttons to maintain 3:1 contrast ratio against white background ( #7785 )
...
* Adjust colors of secondary buttons to maintain 3:1 contrast ratio against white background
* Use white color withing Cancel button
2020-11-03 11:46:24 +01:00
vldmr11080
49811fc4b8
Adjust template tab non-highlighted color ( #7638 )
2020-11-03 09:25:36 +01:00
csigs
80d8144f1e
LEGO: check in for master to temporary branch.
2020-11-02 23:06:13 +00:00
Clint Rutkas
7f6e2c308e
Merge pull request #7779 from microsoft/lego/hb_2939_20201102110603120
...
LEGO: Pull request from lego/hb_2939_20201102110603120 to master
2020-11-02 10:41:28 -08:00
Clint Rutkas
a66b276e7d
Merge branch 'master' into spelling
2020-11-02 09:57:48 -08:00
Clint Rutkas
0a23f1e35c
Merge pull request #7745 from microsoft/lego/hb_2939_20201031230528313
...
LEGO: Pull request from lego/hb_2939_20201031230528313 to master
2020-11-02 09:56:17 -08:00
P-Storm
0d4017fe1a
Io abstraction ( #7293 )
...
Co-authored-by: p-storm <paul.de.man@gmail.com>
2020-11-02 18:33:43 +01:00
csigs
11f9a64737
LEGO: check in for master to temporary branch.
2020-11-02 11:06:04 +00:00
stefansjfw
ebf81a6a03
Associate Name label with textbox ( #7621 )
2020-11-02 10:05:57 +01:00
csigs
4e0120493e
LEGO: check in for master to temporary branch.
2020-10-31 23:05:28 +00:00
Avneet Kaur
2c5b9b4d52
Audit culture bugs ( #7707 )
...
* Added comments and fixed CultureInfo / StringComparison where appropriate
* Addressed comments
* Fixed comment
2020-10-30 16:43:09 -07:00
Josh Soref
8720a0dcdf
spelling: source
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-10-30 14:42:20 -04:00
Josh Soref
ee6a9b3b6b
spelling: occurred
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-10-30 14:41:41 -04:00
Josh Soref
37dbcb91cd
spelling: coming
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-10-30 14:40:32 -04:00
Josh Soref
e68999ea0d
spelling: adjacent
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-10-30 14:39:10 -04:00
Seraphima Zykova
4a7ce82688
[Localization] Unreachable input box in FancyZones Editor fix. ( #7689 )
2020-10-30 19:00:33 +03:00
Ivan Stošić
df28473326
[FancyZones] Use Direct2D to draw ( #7547 )
...
* Started work
* Good progress on D2D
* Visuals are good, functionality - almost there
* Opacity fix
* Animation works, WM_PAINT still doesn't
* Simplify code, remove flashZones, remove unused code
* Kinda works, but it's a bit laggy
* Works great, but needs refactoring/performance improvements
* Move code from .h to .cpp
* Polished the functionality
* Fix issue with changing monitors
* Rebase fix
* Finalize PR before review
* Couple two members of ZoneWindowDrawing
* Also request a low latency lock when hiding the zone window
* Move textFormat and textBrush out of the loop
* Thread-safe initialization
* Rebase fix: zone numbers
* Make zone borders crispy
* Fix offsets
* Another rebase fix
* Fix DPI bug
2020-10-30 16:25:56 +01:00
stefansjfw
181db8c40a
Enable closing Edit Canvas Layout and Edit Grid Layout windows by pressing Esc button ( #7643 )
2020-10-30 16:25:27 +01:00
Clint Rutkas
c37d08c475
Merge pull request #7622 from microsoft/dev/crutkas/helpLocWithComments
...
Addressing loc team feedback
2020-10-29 22:33:34 -07:00
Clint Rutkas
3e059aac56
Adding in FancyZone comments to help with localization
2020-10-28 16:29:01 -07:00
csigs
70f78c3189
LEGO: check in for master to temporary branch.
2020-10-28 23:06:00 +00:00
Clint Rutkas
b8069ce657
Merge branch 'master' into lego/hb_2939_20201027230544851
2020-10-28 12:47:53 -07:00
Clint Rutkas
3d53e80532
additional items
2020-10-28 12:24:42 -07:00
Clint Rutkas
965f3813b2
Merge pull request #7574 from microsoft/lego/hb_2939_20201027110546671
...
LEGO: Pull request from lego/hb_2939_20201027110546671 to master
2020-10-28 12:09:08 -07:00
Clint Rutkas
97a51fc2a9
Merge pull request #7546 from microsoft/lego/hb_2939_20201026110534010
...
LEGO: Pull request from lego/hb_2939_20201026110534010 to master
2020-10-28 12:08:31 -07:00
ivan100sic
39982f1eec
Fix DPI bug
2020-10-28 15:50:42 +01:00
ivan100sic
3ede935949
Another rebase fix
2020-10-28 14:30:17 +01:00
ivan100sic
9a60892b68
Fix offsets
2020-10-28 14:23:32 +01:00
ivan100sic
10052a6d7e
Make zone borders crispy
2020-10-28 14:23:32 +01:00
ivan100sic
9fd8d831ca
Rebase fix: zone numbers
2020-10-28 14:23:32 +01:00
ivan100sic
bb8ee18a59
Thread-safe initialization
2020-10-28 14:23:32 +01:00
ivan100sic
6c05d116a0
Move textFormat and textBrush out of the loop
2020-10-28 14:23:32 +01:00
ivan100sic
d5ef0b1330
Also request a low latency lock when hiding the zone window
2020-10-28 14:23:32 +01:00
ivan100sic
d09e03d7f2
Couple two members of ZoneWindowDrawing
2020-10-28 14:23:32 +01:00
ivan100sic
191c5c3b37
Finalize PR before review
2020-10-28 14:23:32 +01:00
ivan100sic
51faca5b69
Rebase fix
2020-10-28 14:23:32 +01:00
ivan100sic
3b1a70c10a
Fix issue with changing monitors
2020-10-28 14:23:32 +01:00
ivan100sic
1390bf271f
Polished the functionality
2020-10-28 14:23:32 +01:00
ivan100sic
97ee0205e9
Move code from .h to .cpp
2020-10-28 14:23:31 +01:00
ivan100sic
ad4a6b3386
Works great, but needs refactoring/performance improvements
2020-10-28 14:23:01 +01:00
ivan100sic
0925b479c2
Kinda works, but it's a bit laggy
2020-10-28 14:23:01 +01:00
ivan100sic
f7d3c20648
Simplify code, remove flashZones, remove unused code
2020-10-28 14:23:00 +01:00
ivan100sic
92e8a84a4e
Animation works, WM_PAINT still doesn't
2020-10-28 14:20:57 +01:00
ivan100sic
f637cd3202
Opacity fix
2020-10-28 14:20:57 +01:00
ivan100sic
a022b2231f
Visuals are good, functionality - almost there
2020-10-28 14:20:57 +01:00
ivan100sic
0c544409dd
Good progress on D2D
2020-10-28 14:20:56 +01:00
ivan100sic
92a3ff9b2a
Started work
2020-10-28 14:20:08 +01:00
csigs
b7bcd4484a
LEGO: check in for master to temporary branch.
2020-10-27 23:05:45 +00:00
csigs
1758449b51
LEGO: check in for master to temporary branch.
2020-10-27 11:05:48 +00:00
csigs
46f5bfbe22
LEGO: check in for master to temporary branch.
2020-10-26 23:05:24 +00:00
yuyoyuppe
129342edff
FZ: format FancyZones.cpp
2020-10-26 20:21:04 +03:00
yuyoyuppe
8ca0c35242
FZ: fix nullptr crash
2020-10-26 20:21:04 +03:00
csigs
48292fb189
LEGO: check in for master to temporary branch.
2020-10-26 11:05:34 +00:00
stefansjfw
e6a5b589ff
[FancyZones] Align zone numbers between Editor and FancyZonesLib ( #7387 )
...
* Align zone numbers between Editor and FancyZonesLib
Use zoneId on win+arrow
* Update tests
* Fix crash
* ZoneId starts from 0
* Define ZonesMap type
IFACEMETHOD_ macro is having trouble processing
std::map template when expanding, so return type needs
to be predefined
* Address PR comment
* Address more PR comments
* Handle .at
2020-10-26 09:07:11 +01:00
csigs
2ef451aa4a
LEGO: check in for master to temporary branch. ( #7508 )
2020-10-24 06:36:20 -07:00
Clint Rutkas
e2c94b592f
Upgrade mahapps to 2.3 ( #7466 )
2020-10-22 08:30:18 -07:00
yuyoyuppe
ec18e31ff1
settings: use actionable toast notifications for file explorer modules warning
2020-10-22 18:24:54 +03:00
vldmr11080
8d9e85f4f5
[FancyZones] Add AutomationProperties.Name to focusable elements ( #7372 )
...
* Add AutomationProperties.Name to focusable elements
* Add AutomationProperties.Name to focusable elements
* Use AutomationProperties.LabeledBy with buttons / text boxes
* Address PR comments
2020-10-21 20:11:32 +02:00
yuyoyuppe
e05146acf9
update Microsoft.Windows.ImplementationLibrary nuget package
2020-10-21 12:31:22 +03:00
Divyansh Srivastava
280d1907d8
Non localized module name ( #7170 )
...
* Added get_key to powertoysmodule interface
* Replace get_name with get_key
* Implement get_key function in modules
* Make key global constant in each module
* Update settings v1 to use key to load and save files
* Fixed fancyzones and preview pane unit tests
* Removed setings unit test as the case is not covered anymore
* Add constant files for modules and use it to reference module key
* Add constant string files to colorpicker, launcher and shortcut guide
* correct sunction signature in settings helper
* Fix powerpreview merge conflicts
* nit fix with include statement location
* add check for fields in from_json_string
* Updated preview pane tests with correct from_json_string signature
* Correct Image resizer naming
* Roll back changes for adding check for property and version
* Fix image resizer not working
2020-10-19 16:07:02 -07:00
yuyoyuppe
0aae535986
fix low-level kb hook disabling macro
2020-10-20 00:21:04 +03:00
stefansjfw
36bcbe9d95
[FancyZones] Minor refactoring of ZoneSet class ( #7274 )
...
* Minor refactoring of ZoneSet class
* Remove comment
2020-10-16 15:25:30 +02:00
Ivan Stošić
598729f84c
Remove m_drawHints, fix duplicate zone drawing ( #7300 )
2020-10-15 17:08:55 +02:00
csigs
184b6c5bd0
LEGO: check in for master to temporary branch. ( #7265 )
2020-10-14 10:42:15 -07:00
vldmr11080
944e605f06
Allow negative spacing between zones up to -10 ( #7284 )
2020-10-14 17:42:47 +02:00
stefansjfw
d1372af581
[FancyZones] Refactor Zone class ( #7022 )
...
* Pass zoneId on zone creaton and make it const
Refactor IZone and Zone - make methods const
and remove SetId
* Update tests
* Fix Grid layout zone order
2020-10-14 09:00:50 +02:00
csigs
8ade8fb2c5
LEGO: check in for master to temporary branch. ( #7253 )
2020-10-13 10:06:05 -07:00
vldmr11080
954705e3a0
[FancyZones] Screen enumeration improvement ( #6908 )
...
* Improvements in enumeration of available screens (work areas)
* Minor code style improvement
* Address PR comments
* Store map of display device name to device index
* Address PR comments
* Update comment
* Break when suitable device is found
2020-10-13 17:22:25 +02:00
Arjun Balgovind
dde19380e9
[Localization] Add localized resource dlls to the MSI installer ( #6986 )
...
* Added PowerLauncher resource files
* Fixed typo in language
* Updated localized .NET framework projects to include all resx files
* Fixed typo in FZEditor.csproj
* Added FZ Editor (.NET framework) resource dlls
* Updated pipeline
* Tweaked artifact statement to get all resource dlls in pipeline
* Fix SvgPreviewHandler resx inclusion in csproj
* Added condition to allow local MSI builds to run without resources
* Generalized directory code
* Added all resources that are to be added from C# projects, Settings UWP pending
* Added markdown prev handler as keypath
* Added loc script for Settings to move resw files to UWP file format
* Separate markdown and svg resource components to allow guid auto-generation
* Removed old image resizer resources
* Fixed formatting
* Changed tabs to space
2020-10-13 08:20:33 -07:00
csigs
45124c2245
LEGO: check in for master to temporary branch. ( #7246 )
...
Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-10-12 21:44:15 -07:00
csigs
6e8cc67824
LEGO: check in for master to temporary branch. ( #7236 )
2020-10-12 19:22:52 -07:00
csigs
c6a82ef199
LEGO: check in for master to temporary branch. ( #7217 )
2020-10-12 16:59:32 -07:00
csigs
d9d328173b
LEGO: Pull request from lego/hb_2939_20201009230714095 to master ( #7210 )
...
* LEGO: check in for master to temporary branch.
* Update pipeline.user.windows.yml
Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-10-12 15:31:47 -07:00
Ivan Stošić
6161531376
[FancyZones] Responsive drawing ( #7125 )
...
* Made drawing zones not clog message processing
* Fixed synchronization bugs
* call BufferedPaintInit
* Some refactoring, the animation is back
* Rename a function
* Align parameters
2020-10-12 11:05:22 +02:00
csigs
d753179d1e
LEGO: check in for master to temporary branch. ( #7186 )
...
Co-authored-by: Arjun Balgovind <32061677+arjunbalgovind@users.noreply.github.com>
2020-10-09 14:32:31 -07:00
csigs
bd3c877ca3
LEGO: check in for master to temporary branch. ( #7195 )
2020-10-09 09:38:36 -07:00
csigs
8a81bea413
LEGO: check in for master to temporary branch. ( #7168 )
2020-10-08 07:55:56 -07:00
csigs
9216aa465f
LEGO: check in for master to temporary branch. ( #7181 )
2020-10-08 07:54:53 -07:00
Enrico Giordani
038087e076
[FancyZones] Clone parent data only for new VD ( #7116 )
...
* [FancyZones] Clone parent data only for new VD
2020-10-08 16:02:51 +02:00
csigs
de4436ccc0
LEGO: check in for master to temporary branch. ( #7153 )
2020-10-07 13:30:34 -07:00
csigs
5e30ad176a
LEGO: check in for master to temporary branch. ( #7144 )
2020-10-07 13:30:12 -07:00
vldmr11080
71765238b1
[FancyZones] Localize strings in FancyZones editor ( #6943 )
...
* Localize strings in FancyZones editor
* Move localized strings into resx file
2020-10-05 12:06:35 +02:00
stefansjfw
85f56f4ed8
[FancyZones] Fix stuck chrome tab when merging into existing window ( #6931 )
...
* Fix stuck Chrome tab when merging with existing window
* Rename struct fields
2020-10-01 15:38:24 +02:00
csigs
67072b99d4
LEGO: check in for master to temporary branch. ( #6907 )
2020-09-30 10:26:54 -07:00
stefansjfw
39c61b9abd
[FancyZones] Remove WindowMoveHander pImpl pattern ( #6894 )
...
* Remove WindowMoveHandlare pImpl pattern
Introduces runtime overhead and makes debugging unecessary more painful
* End file new line
2020-09-30 09:19:20 +02:00
Seraphima Zykova
240f67f15c
Fixed crash with big 'Space around zones' values ( #6815 )
2020-09-29 13:12:21 +03:00
csigs
2f0937951a
LEGO: check in for master to temporary branch. ( #6802 )
2020-09-24 08:01:13 -07:00
Ivan Stošić
a676537e26
[FancyZones editor] Rudimentary crash handler ( #6783 )
...
* Handle crashes in the FZ editor
* Removed reference to .NET frameworks, added a message box
* log => txt
* Update text shown
2020-09-24 12:29:53 +02:00
vldmr11080
3aa7a52c21
[FancyZones] Initial improvements in FancyZones exception handling ( #6063 )
...
* Initial improvements in FancyZones exception handling
* Add callback
* Disable FancyZones if error durign loading data occurrs
* Remove logs
* Add resource strings
* Add 1sec retry when failure during initialization occurs
* Rephrase error descriptions
* Error handling during loading of module in runner
* Pass error handling on the runner
* Remove unneeded string
* Remove unnedeed changes
2020-09-18 15:18:01 +02:00
Remy Blok
7893f387d5
[FancyZones] Configurable sensitivity radius ( #6554 )
...
* Add the setting for the Sensitivity Radius to JSON and the Editor
Use the setting when determining Zones to highligh
* Fix FanzyZones unit tests
Add test for Json upgrade
* Updated texts in FancyZone Editor
More Text to Resources / Use Resources
* Added constant for default of Sensitivity Radius
* When installing from scratch of when a new device is added set the sensitivity radius to the default.
Move all the constant values to a single namespace
* restore correct formatting
Co-authored-by: Remy Blok <remy.blok@prodware.nl>
2020-09-18 09:16:06 +02:00
stefansjfw
b5cc24fcff
[FancyZones] Remove migration from registry logic and delete registry data if present ( #6657 )
...
* Remove migration from registry logic
* Address PR comments
2020-09-17 20:57:44 +02:00
Clint Rutkas
0a716c253b
Upgrade nuget packages ( #6641 )
...
* upgrade mahapps
* update nlog
* all launcher packages now updated
* tests and Setting UI
* markdown
* removing unneeded DLL now from nuget update
2020-09-16 12:24:21 -07:00
stefansjfw
3d36779e19
[FancyZones] Do not zone window if it should be maximized ( #6619 )
...
* Do not zone window if it should be maximized
* Update comment
* Remove uneeded field
* Address PR comment
2020-09-15 13:03:17 +02:00
Ivan Stošić
3d5c790fb6
[FZ Editor] Improved a function in GridData.cs ( #6565 )
...
* Improved a function in GridData.cs
* Allocate the extra values proportionally
* Refactor a constant
2020-09-14 10:05:28 +02:00
stefansjfw
db9677bb4a
[FancyZones] Do not zone window if it merges with other window ( #6549 )
...
* Do not zone window if it merges with other window (e.g. merge Chrome tab into other Chrome window
* Small move of func call
* Address PR comment
* remove include
* Address PR comment 2
2020-09-11 12:35:43 +02:00
Ivan Stošić
0e32edb603
[FancyZones] Use Ctrl+Win+Alt+arrows to Expand/shrink windows to adjacent zones ( #6446 )
...
* Added an Alt key hook
* Refactor a block of code into a method
* Again refactored existing code
* Apparently Win+Alt does not reach FancyZones
* Using Ctrl+alt instead of Win+alt for now
* It works
* Fixed VD change
* Remove unused member
* Fix compilation error
* Enable shrinking
* Fixed comments in .h files
* Remove newline
* Refactored a function into two
The next task is to simplify their code.
* Updated a comment
* Update a variable name
* Reverted to the old implementation of directional move
* More refactoring
* Remove space
* Fixed windows getting stuck
* Changed function name
2020-09-11 11:32:45 +02:00
vldmr11080
19175e9bde
Introduce several fallback scenarios when obtaining GUID for current virtual desktop ( #6534 )
2020-09-10 14:42:36 +02:00
Arjun Balgovind
fb1888f01f
Add in verbose error message and telemetry for SetWindowsHookEx failure ( #6454 )
...
* Updated error message when SetWindowsHookEx fails to show correct error message
* Added telemetry for exception in SG, FZ and KBM
* Rename exception to error
2020-09-09 14:27:40 -07:00
vldmr11080
13426eac50
[FancyZones] Validate zone rect before adding it into layout ( #6249 )
...
* Validate zone rect before adding it into layout
* Rename variables for better code readability
2020-09-08 12:06:54 +02:00
stefansjfw
3c76942799
[FancyZones] Update 'span zones across monitors' feature description and add message box warning accordingly ( #6381 )
...
* Update span accross monitors feature description in Settings App
* Add warning if scalings are different
* Address PR comments
* Address comment
2020-09-07 12:24:13 +02:00
stefansjfw
78edaf5edc
[FancyZones] Set 3-zones PriorityGrid as default layout ( #6248 )
...
* 3-zones Priority Grid as default layout
* Update tests
* Address PR comments
2020-09-04 16:37:06 +02:00
stefansjfw
e84a293642
Fix span accross monitors feature ( #6335 )
2020-09-04 10:11:05 +02:00
Seraphima Zykova
c9855a2671
[FancyZones] Fixed type cast warning ( #6311 )
2020-09-03 17:50:49 +03:00
Seraphima Zykova
ce43b10b5b
[FancyZones] HEX to RGB util ( #6275 )
2020-09-02 18:34:17 +03:00
stefansjfw
0a603449ad
[FancyZones] Enable to manually zone child windows ( #6182 )
...
* Enable to manually zone child windows
* Refactor IsInterestingWindow in 2 separate functions
* Remove enum
2020-08-28 15:00:21 +02:00
Ivan Stošić
be8695777c
Fixed a stack overflow ( #6212 )
...
Credits to @gurnec for proposing the fix.
2020-08-28 13:54:59 +02:00
Enrico Giordani
eb825ae619
[FancyZones] fix warning ( #6203 )
2020-08-28 11:30:03 +02:00
stefansjfw
48b6654ad2
Introduce ZoneWindowDrawing files and move stuff to better place ( #6142 )
2020-08-25 18:55:29 +02:00
Arjun Balgovind
aebd7657ef
[Localization] Migrate resources to resx for FancyZones ( #6106 )
...
* Added localization code to pipeline and created one LocProject json for Settings
* Fixed typo
* Reordered nuget source
* Moved nuget install to restore step
* Added FZ.rc file to LocProj
* Added FZ resx file and modified rc file
2020-08-24 17:50:41 -07:00
stefansjfw
9999a2b126
Refactor common and fancyzones/utils ( #6073 )
...
* Move module-specific functions to module
* Refactor FZ utils
* Remove 'zonable' from FancyZonesWindowInfo
* Address PR comments
* Address PR comments
* Fix stuff after rebasing
2020-08-24 19:38:15 +02:00
Enrico Giordani
2817bf4d62
[FancyZones] fix warnings ( #6095 )
...
unified data type to size_t in all methods that process the zone index set
2020-08-24 14:39:34 +02:00
Seraphima Zykova
845bb466c6
[FancyZones] Shift + StickyKeys behavior fix ( #6039 )
2020-08-24 10:19:39 +03:00
Ivan Stošić
976116a012
Win arrows revisited ( #5932 )
...
* Added the setting
* Refactored existing code, the main feature isn't implemented yet
* Renamed a method
* Updated a comment in IZoneWindow
* Added the zone selection algorithm, didn't test it
* Basic features work
* Single monitor cycling works
* Seems that the feature works well
* Polished the settings page
* Rebase fix
* Fixed a null pointer dereference
* Use classic if syntax
* Fixed bad indentation
How did these lines unindent themselves?
* Removed TODO comment
* Rebase fix
* Another rebase fix
2020-08-21 12:53:03 +02:00
Seraphima Zykova
64c51a49a0
[FancyZones] Failing unit tests update ( #6065 )
2020-08-21 08:56:25 +03:00
Seraphima Zykova
9b567f9ba3
[FancyZones] capture strong_this ( #6066 )
2020-08-20 19:55:41 +03:00
Arjun Balgovind
2a7bf7fb5b
[Localization] Add localization step to pipeline and enable localization on C# projects with resx/resw resource files ( #6033 )
...
* Added localization code to pipeline and created one LocProject json for Settings
* Fixed typo
* Reordered nuget source
* Moved nuget install to restore step
* Added FZ.rc file to LocProj
* Added FZ resx file and modified rc file
* Fixed file names
* Changed to check folder for LocProject files
* Updated folder
* Changed directory
* Changed to src directory
* Changed language set and name format, removed rc file localization
* Added all projects with resx/resw files
* Added newline to end of file
* Removed nuget source as it is not used
* Updated comments
* Fixed formatting of json file
* Move loc step to end
2020-08-19 16:10:15 -07:00
stefansjfw
7eccb6fc7a
Delete custom layout if malformed ( #6011 )
2020-08-19 18:12:57 +02:00
Clint Rutkas
315caaba1c
[WarningsAsErrors] Getting Most online ( #6005 )
...
* Enabling errors as warnings.
* removing plugin since it throws an error for release mode, WIll fix in other release
2020-08-17 13:11:40 -07:00
Clint Rutkas
d055ba1c3b
whitespace forced changes ( #6002 )
2020-08-17 10:00:56 -07:00
vldmr11080
145347f7ae
[FancyZones] Clasify strings in FancyZones to localizable and non-localizable ( #5315 )
...
* Clasify strings in FancyZones to localizable and non-localizable
* Address PR comments
* Better handling of FirePropertyChanged event
* Address PR comments
* Update properties
2020-08-11 13:51:06 +02:00
Ivan Stošić
8f98866d71
[FancyZones] Feature to create zone layouts spanning multiple monitors ( #5289 )
...
* Added the setting
* Added a property to Editor Settings
This will be used later
* Fixed a bug in the previous commit
* Simplified a method
* Added snapping points to the editor
* Simplified a method in ZoneSet
* Updated ZoneSet testcases
* Add a method to FancyZones / ZoneWindowHost
* Almost works
* The editor now launches, but FZ does not understand the results
* Refactored some code
* Snapping to a zone by dragging seems to work
* Hotkeys seem to work
* Refresh the work area handler after changing settings
* Fixed zones not snapping to monitor edges when moved
* Remove unused method in FancyZones.h
* Fixed an issue with DPI awareness
* Renamed setting to spanZonesAcrossMonitors
* Renamed a function
* Fixed a bug with the magnetic effect
* Fix restoring window positions on layout changes
2020-08-07 10:06:25 +02:00
Clint Rutkas
0f90af3c7d
URL audit ( #5685 )
2020-08-06 10:09:50 -07:00
stefansjfw
f50a8e5252
Fix difference in editor and applied focus layout zones size and increments ( #5601 )
2020-08-06 16:41:15 +02:00
vldmr11080
1d8ca28152
Don't restore minimized windows after layout is updated ( #5603 )
2020-08-06 16:22:47 +02:00
vldmr11080
6c4129d02a
[FancyZones] Do not restore maximized windows ( #5597 )
...
* Do not restore maximized windows
* Fix show command comparison
* Move maximized check outside of RestoreWindowSize function
2020-08-06 15:12:49 +02:00
Clint Rutkas
b87d14cd61
Proper fix for MSB3052. ( #5618 )
...
* fixing MSB3052
* adding back in to unblock build
* More agressive refactor. Moved the define constant to wixproj and actual version into src file version prop
Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
2020-08-05 00:04:18 -07:00
Andrey Nekrasov
49b56d9b52
PowerToys interface: remove powertoys events and system_menu_helper functionality ( #5323 )
2020-07-31 14:06:13 +03:00
Clint Rutkas
ff93b38d23
upgrading all .NET assemblies, #5303 took care of ones where they needed consolidating ( #5304 )
...
Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
2020-07-30 12:16:32 -07:00
Clint Rutkas
5b02ee5169
updated to Microsoft.Windows.CppWinRT.2.0.200729.8 ( #5306 )
...
* updated to Microsoft.Windows.CppWinRT.2.0.200729.8
* actually adding in packages.config and updating
Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
2020-07-30 11:37:15 -07:00
Clint Rutkas
aa770689f5
pointing toward linked global ( #5297 )
...
Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
2020-07-30 11:37:00 -07:00
Andrey Nekrasov
47cb34d26b
chore: enable multiprocessor compilation ( #5272 )
2020-07-28 17:20:01 +03:00
stefansjfw
d15b0a0285
[FancyZonesEditor] Don't load malformed custom layout and show appropriate message ( #5248 )
...
* Introduce const strings in LayoutModel.cs
* Don't load malformed custom layout and show apropriate message
* Add more checks
* Address PR comments
* Address PR comments
2020-07-27 18:56:26 +02:00
Andrey Nekrasov
3796a5ef97
Autoupdate: implement updating bootstrapper utility ( #5204 )
2020-07-27 19:53:29 +03:00
stefansjfw
61669a73d9
[FancyZonesEditor] Introduce const strings in LayoutModel.cs ( #5196 )
...
* Introduce const strings in LayoutModel.cs
* Address PR comments - Update FirePropertyChanged
2020-07-27 10:12:35 +02:00
Ivan Stošić
5d66473a4f
[FancyZones] Remove m_workArea from ZoneWindow ( #5185 )
...
* Removed m_workArea from ZoneWindow
* Remove another unused variable
2020-07-24 11:17:39 +02:00
Clint Rutkas
84018f5b61
Fixing more warnings ( #5189 )
...
* classes need to be in new files
* adding in new lines
Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
2020-07-23 14:56:21 -07:00
ColdTune
c379cca2e5
[FancyZones Editor] Prevent new zones from being unreachable ( #4457 )
...
* stack new zones
* Changed startup location of window editor
* Zones start in upper left
* Changed Focus Zone Initialization
* Zones.Add
* Reset zone position when it goes off screen
2020-07-23 10:53:19 +02:00
Clint Rutkas
14247fa75a
Dev/crutkas/fixing warnings ( #5161 )
...
* new lines & braces
* Tabs /space auto fix
Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
2020-07-22 13:27:17 -07:00
Seraphima Zykova
92c666692d
[FancyZones] Dragging a window across monitors transparency fix ( #5102 )
2020-07-22 19:00:03 +03:00
stefansjfw
0027a0af40
[FancyZones] Split and reorganize FancyZonesData and JSON Helpers ( #5028 )
...
* Rename JsonHelpers to FancyZonesData
Add new JsonHelpers.[h|cpp] files
* Introduce FancyZonesDataTypes
* Move first part of JSON related stuff to JsonHelpers files
* Small refactor
* Move all json related stuff to JsonHelpers
* Minor refactoring
* Fix formating
* Remove GetPersistFancyZonesJSONPath() and GetPersistAppZoneHistoryFilePath()
Remove GetActiveZoneSetTmpPath(), GetDeletedCustomZoneSetsTmpPath and GetAppliedZoneSetTmpPath()
Simplify tests
* Address PR comment - Rename FancyZonesDataNS to FancyZonesData
* Address PR comment - Rename local var
* Delete obsolete stuff
* Remove double and uneeded includes
Introduce const non-localizable string variables
Address all othe PR comments
* Add comments to explain hardcoded values
* Remove FancyZonesData namespace
* Introduce const non-localizable string variables in FancyZonesDataTypes
* Add comments to explain FancyZonesData maps
Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-07-22 10:39:13 +02:00
Clint Rutkas
4f45cf1386
Upgrading CppWinRT and adding in new packages.config ( #5134 )
...
Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
2020-07-22 00:35:39 -07:00
vldmr11080
29e2c982d4
Handle desktop switch and open on active monitor functionality ( #5065 )
2020-07-20 11:55:19 +02:00
Seraphima Zykova
2282e72d03
[FZEditor] Grid layout resizers fixes ( #4095 )
...
* Swap resizers on drag
* Update resizers on split if existing split is used
* Fix accuracy error
* Zone ids are ordered
* Cancel merge on other actions
* Split if one of the snapped splitters is dragged
2020-07-16 12:54:15 +03:00
Ivan Stošić
39b0401c55
Allow selecting multiple adjacent zones even when they slightly overlap ( #4974 )
2020-07-14 14:51:24 +02:00
Ivan Stošić
412d80efe3
[FancyZones] Hold Ctrl to select any number of zones ( #4850 )
...
* Started work
* Did something, not yet sure that it works
* Sort of works
* Cleari highlighted zones when using Ctrl after leaving a monitor
* Remove unnecessary line
* Enhanced UX. Maybe refactor?
* Changed the logic behind zone selection when dragging
* Various fixups
2020-07-10 11:06:01 +02:00
vldmr11080
ac5a3e7a65
[FancyZones] Update app zone history on window removal ( #4696 )
...
* Update app zone history on every new window assignment to zone
* Compare window positions with already placed windows
* Remove window property only after processing window removal from zone
2020-07-08 16:59:36 +02:00
stefansjfw
106c316442
[FancyZones] Don't create new custom layout when applying Focus layout ( #4755 )
...
* Only persist data when applying existing layout if it is scaled
* Fix applying edited Focus layout
* Fix different Focus zone sizes in editor and engine
* Fix codestyle
2020-07-08 15:34:19 +02:00
vldmr11080
db229cf1bf
[FancyZones] Open window on active monitor ( #4361 )
...
* Initial design for opening window on active monitor
* Perform entire handling in DPI unaware thread
* Codestyle improvement
* Improve resizing mechanism and optimise code a bit
* Remove unneeded code, make simple helper functions inline
* Make this feature configurable
* Code optimization, improve positioning for some applications
* Retry positioning for certain applications
* Improve readability
* Address PR comments: Minor code style improvements
* Remove retries in custom positioning
* Position new toggle in settings menu
2020-07-08 10:37:42 +02:00
stefansjfw
70405045d7
[FancyZones] Remove Editor tmp files paths cmd args and make Editor 'debugable' easier ( #4279 )
...
* Remove Editor cmd args - tmp files
Add 'Debug mode' startup for Editor
* Remove fixed device info string
* Move if file exist check
* Add enum to improve readability
* Introduce ParseDeviceMode enum
* Organize strings
* Move title to localizable strings
2020-07-06 17:40:25 +02:00
vldmr11080
3d623506a8
[FancyZones] Invalidate cached work areas when display resolution or taskbar position changes ( #4800 )
...
* Invalidate cached work areas when display resolution or taskbar position changes
* Update comments in code
2020-07-06 17:34:28 +02:00
stefansjfw
11df74c292
Fix different grid layout shown by editor than the engine ( #4758 )
2020-07-06 17:04:40 +02:00
Enrico Giordani
f9a5242e75
[FancyZones] draw active zones on top of inactive zones ( #4727 )
2020-07-03 17:04:52 +02:00
Clint Rutkas
44c41d52b2
upgrading wincppwinrt across the board ( #4669 )
...
Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
2020-07-02 09:42:51 -07:00
Clint Rutkas
449a3f479f
unified mahapps ( #4664 )
...
Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
2020-07-02 09:42:31 -07:00
Yevhenii Holovachov
e8685de7f7
[FancyZones] Fixed shift behavior ( #4653 )
2020-07-01 18:23:57 +03:00
Ivan Stošić
4c08b591f1
[FancyZones] Restore size of zoned windows ( #4463 )
...
* Started work
* I can't debug anything, cleaning
* Added settings, [[Not Tested]]
Not even compiled
* Tested, the most basic features work
* Refactor, add RestoreSize
* Added DPI awareness
* Fixed a potential issue with resizing zoned windows
* Fixup: Potentially unsafe memory-layout of std::pair replaced with std::array
* Fixup: Use .data() instead of a pointer
* Further refactoring
* Integrated Win+Arrow keys with the Restore size feature
* Fixed an issue where window's on-screen position is not restored properly
* Fixed a bug pointed out by Enrico
2020-07-01 15:36:05 +02:00
Yevhenii Holovachov
f46b876fd6
Removed hook creating from constructor ( #4572 )
2020-06-29 18:19:43 +03:00
Yevhenii Holovachov
cc4864976a
Changed position of callback(false) call on disabling hook for shift ( #4515 )
2020-06-26 17:20:10 +03:00
Divyansh Srivastava
92fa8b7421
PowerToys Run cache issue ( #4472 )
...
* Clean termination of powertoys process.
* Fixed issue with run not responding to WM_CLOSE
* Fixed serialization error in pinyin and image cache
* Fixed merge conflict
* Fixed nit wrt to master
* Fixed undeterministic behaviour of Environment.Exit function
* Update timing for terminate process
2020-06-25 16:03:50 -07:00
ryanbodrug-microsoft
165ffed9e6
Fix CA 1060 by moving PInvokes to a common NativeMethodsClass
...
Severity Code Description Project File Line Suppression State
Warning CA1060 Move pinvokes to native methods class PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\App.xaml.cs 24 Active
2020-06-23 17:51:17 -07:00
Yevhenii Holovachov
147c08bd71
Added info to FancyZones, KeyboardManager and PowerLauncher projects ( #4445 )
2020-06-23 18:36:39 +03:00
Ivan Stošić
27a35a0388
Fixed an issue with the shift key ( #4411 )
2020-06-22 15:57:30 +02:00
Andrey Nekrasov
bef14f551e
FancyZones: fix possible crash in GetWorkAreasByDesktopId ( #4380 )
2020-06-22 12:46:54 +03:00
Andrey Nekrasov
3bdd9a850f
Runner: improve debugging experience with hooks ( #4377 )
...
* Runner: improve debugging experience with hooks
2020-06-19 14:13:38 +03:00
yuyoyuppe
b84ea020f2
fixup! forgot to rename
2020-06-19 13:27:29 +03:00
Seraphima Zykova
90efc5740f
[WinAppDriver tests] Affection on user setting files fix ( #4186 )
2020-06-19 11:09:12 +03:00
yuyoyuppe
2effbd0baf
Runner: improve debugging experience with hooks
2020-06-18 14:27:20 +03:00
Yevhenii Holovachov
da38e6a23d
[FancyZones] Changed Shift key capture method ( #4274 )
...
* Used windows hook to capture shift key instead of getting state of key on window move
2020-06-17 16:06:16 +03:00
vldmr11080
698e5ec6ea
[FancyZones] Move window into last known position on active work area (if possible) ( #4218 )
...
* Move window into last known position on active work area (if possible)
* Refactor code to avoid double checks
* Address PR comments
* Perform all HWND checks at one place
* Improve handling of active/primary work area in app zone history
* Address PR comments: naming, arguments checks
* Rename some functions to increase readability
* Implement special handling in 2+ monitor scenario
* Minor naming change
* Simplify
* Improve readability
* Remove blank line
* Don't move away from secondary monitor if there is no app zone history
* Update comment
* FancyZonesEditor should not be zoned
* Preserve width and height (if possible) when opening on active monitor
* Maintain w/h whenever possible
* Remove scaling, add window coordinates on active monitor top-left corner
* If there is no app zone history on secondary screen, fallback to default windows behavior.
2020-06-17 11:55:14 +02:00
stefansjfw
f8cc129f04
[FancyZones] Move Trace::VirtualDesktopChange ( #4320 )
...
* Move Trace::VirtualDesktopChange to catch only the actual VD changes
* Update the check
* Add double check
2020-06-15 19:44:07 +02:00
Clint Rutkas
67c8d80190
Safeguarding end user links in settings ( #4226 )
...
* first adjustment to wiki move
* Image Resizer and deleting imgs for FZ
* updating stuff to aka links
* updating app to leverage aka links
* moving files to wiki
* KBM adjustment
* updating
* getting PT Run moved over
* Shortcut guide and fixing launcher's readme text
* Update README.md
* img for shortcut guide moved to wiki
* updated setting img to be aka link as well
2020-06-11 10:16:39 -07:00
Yevhenii Holovachov
6fdfd3b9e7
[PT Run] Closing PT Run and new settings app when PowerToys is not running ( #3853 )
...
Closing PowerLauncher, FZ Editor and new settings app when PowerToys is not running
2020-06-10 20:58:34 +03:00
vldmr11080
b0b2d3a727
[FancyZones] App zone history on multiple desktops ( #3932 )
...
* Remove app zone history belonging to deleted virtual desktop.
* Implement support fancy zones app zone history on multiple desktops.
* Break when device id is located to avoid unnecessary loop iterations.
* Fix failing unit tests after JSONHelpers API changes.
* Use valid UUIDs in json helper unit tests.
* User properly formated test data in app zone history unit tests.
* Don't delete entire app history when moving out of zone on one desktop.
2020-06-05 17:25:52 +02:00
Yevhenii Holovachov
8410d7b08e
[FancyZones] Secondary mouse buttons click to toggle zones activation ( #3989 )
...
* Changed option name in settings, changed behaviour of zones activation by mouse to switch
* Removed IsDragEnabled from ZoneWindow
2020-06-05 17:53:08 +03:00
Seraphima Zykova
e96c82b171
Uniform style for button designations in settings ( #4070 )
2020-06-05 09:51:09 +03:00
stefansjfw
2b62244806
Cleanup Editor cmd args ( #4022 )
2020-06-04 13:01:42 +02:00
vldmr11080
1c7b07d614
Remove workarounds related to 0000 dekstop GUID. ( #3931 )
2020-06-02 12:06:36 +02:00
stefansjfw
ae4cb6e372
Move FancyZones to separate build&install dir ( #3961 )
2020-06-02 10:48:07 +02:00
Ivan Stošić
8d2256d359
Removed the stampZone argument ( #3852 )
2020-06-01 16:14:29 +02:00