csigs
088b23f09a
LEGO: check in for master to temporary branch. ( #11039 )
2021-05-03 06:28:40 +02:00
Clint Rutkas
e098581688
change in user string ( #10912 )
2021-04-23 10:22:50 -07:00
Clint Rutkas
e9ce9ab87a
Changing default key for FanzyZones ( #10751 )
...
* Changing default key
* Update Settings.h
2021-04-15 11:11:08 +02:00
Ivan Stošić
bb5d4dfbf0
Fixed an issue with zone sizes ( #10609 )
2021-04-07 09:30:35 +02:00
csigs
8e78892712
LEGO: check in for master to temporary branch. ( #10588 )
2021-04-05 15:23:18 +02:00
csigs
49fb838175
LEGO: check in for master to temporary branch. ( #10480 )
2021-03-29 15:46:38 +02:00
Ivan Stošić
31fa9475da
[FancyZones] Fix deadlocks in ZoneWindowDrawing ( #10461 )
...
* Fixed deadlocks in ZoneWindowDrawing
Moved all possibly reentrant or blocking calls to ShowWindow out of critical sections.
* Initialize bools
* Tune flashing visuals
* Address PR comments
* Use = true; to initialize bools
* Remove tracing from GetAnimationAlpha
* Use member initialization when constructing AnimationInfo
* Refactor rendering
* Whitespace
* Hide window on render failure
2021-03-29 13:39:16 +02:00
Ivan Stošić
5baf11dada
Fix a vector<bool> subscript out of range crash ( #10458 )
2021-03-26 14:44:03 +01:00
Seraphima Zykova
13c4c188fa
[FancyZones Editor] Quick layout switch hotkeys ( #10437 )
...
Co-authored-by: Ivan Stošić <ivan100sic@gmail.com>
2021-03-25 15:44:55 +03:00
Ivan Stošić
7377ef5606
[FancyZones] Trace various function calls ( #10183 )
...
* Implement CallTracer
* Add CallTracer to various places
* Newline
* Fix unit tests not compiling for some reason
* Add macro
remove some trace calls
* Add indentation
* Add semicolon
* Update src/modules/fancyzones/lib/CallTracer.cpp
Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
* Actually indent/unindent output
* Fix initial indent level
Co-authored-by: Enrico Giordani <enrico.giordani@gmail.com>
Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
2021-03-15 13:58:25 +01:00
Ivan Stošić
acb8595a50
[FancyZones] Fix taskbar size issues ( #9856 )
...
* Fix taskbar size issues
* Fix issue with DPI unaware apps
2021-03-11 12:31:29 +01:00
Ivan Stošić
72da703f0e
[FancyZones] Use a window pool for zone windows ( #9625 )
...
* Implemented and tested WindowPool
* Added mutex
* Add logs to WindowPool
* Fix a potential thread safety bug
2021-03-10 14:50:40 +01:00
Ivan Stošić
e586a7ad64
[FancyZones] Rework grid editor ( #10116 )
...
* Started rewriting
* Making progress
* Fix resizers not moving around
* Implemented splitting, fixed some bugs
* Removed more code, renamed methods
* Merging zones works
* Fix Shift key behavior
* Added spacing (has bugs)
* Implement minimum size restriction
* Match preview and editor visuals
* Snapping works
* Show when splitting is not possible
* Fix spell checker complaining
* Tweak FZ Lib function computing grid zones
* Fix potential crash when loading old zone layouts
* Fix dead objects talking
* Fix splitters being shown when they shouldn't be
* Fix index numbering
* Fix small glitch with the shift key
* Do not snap to borders outside the zone
2021-03-10 13:22:19 +01:00
Ivan Stošić
f839a408de
[FancyZones] Overlapping zones selection algorithm - settings ( #9874 )
...
* Started work
* Removed bools in favor of an enum, renamed some
* Done something but it still doesn't work
* Settings are now correctly saved
* I'm getting a crash, I need to rebuild from scratch
* Settings page looks alright
* Completed work. Unit tests?
* Use ComboBox instead
* Add telemetry
* Update text
2021-02-25 16:23:05 +01:00
csigs
a786fd308a
LEGO: check in for master to temporary branch. ( #9835 )
2021-02-22 18:20:25 +01:00
Ivan Stošić
47e288da4c
[FancyZones] Improve zone selection ( #9447 )
...
* Improve zone selection algorithm
* Thanks, spell checker
* Fix failing test case
* Add error logging
* Added support for different zone selection algorithms
* Revert "Fix failing test case"
This reverts commit 9f31a8a7e6
.
2021-02-08 10:48:11 +01:00
csigs
1be227b07b
LEGO: check in for master to temporary branch. ( #9546 )
2021-02-08 09:40:07 +01:00
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
csigs
a56141e0e8
LEGO: check in for master to temporary branch. ( #9367 )
2021-01-29 14:10:44 +01: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