Commit Graph

96 Commits

Author SHA1 Message Date
Sasha Pierson
f254afbd00
Ignore wix toolset items (#491)
* ignore wix dll

* allow buddy build test runs

* ignore another

* ignore wix dll

* ignore wix exe
2019-10-10 08:25:09 -07:00
Sasha Pierson
d7859f03db
Dev/sashapie/wix nuget sacl (#489)
* point to csproj instead

* version

* rs1 container

* nuget

* nuget and msbuild

* vs2019

* msbuild path

* new container, clear up feeds

* change step names, verify build output

* further dig into outputs

* point to right output, add draft installer script

* narrow down output, change signing option

* new container, try installer

* set vs dev environment

* add NuGet package for WiX

* modify project files to use the WiX NuGet package
the MSI can now be built using MSBUILD after running nuget restore

* ready installer sln to use nuget

* install and build scripts and new container

* src/editor was renamed to src/settings, fix rebase error

* check if file is present

* try again
2019-10-09 12:21:21 -07:00
Antti Kuntsi
c069f6a555 fix FancyZonesEditor CLI dpi parsing with comma decimal locales 2019-10-09 16:18:36 +02:00
Patrick D
67c139cae9 change window name from window1 to FancyZones Editor
this will fix issue #453 but I'm not sure about the. I'll change it if required
2019-10-09 15:57:32 +02:00
Bartosz Sosnowski
892fed6011 Rename CustomSettingsScreen to ModuleSettings 2019-10-09 13:16:37 +02:00
Chris Davis
f77945111b
Update PowerToys-settings.md
fix typos
2019-10-08 23:25:32 -07:00
Enrico Giordani
6bea03fee9 update destination folder
this is a regression from renaming the 'editor' folder to 'settings'
2019-10-08 11:06:53 +02:00
Enrico Giordani
b50df5afe1 rename 'src/editor' to '/src/settings' 2019-10-07 15:58:21 +02:00
Enrico Giordani
4b273a7e39 exit Settings on fatal error
fix error checking
2019-10-07 14:39:54 +02:00
Bartosz Sosnowski
5f8c4ea143
Improve window filter to include start menu and Cortana search box. (#474)
Also moves GetProcessPath* functions to common, renaming both to
get_process_path.
2019-10-07 11:12:44 +02:00
Enrico Giordani
298a8787d5 drop privileges if running elevated
make sure the Settings process is not running elevated otherwise the WebView control will fail to start
2019-10-04 11:50:27 +02:00
Enrico Giordani
25510b23e1 remove mutex
the mutex is not necessary since the global window handler is set after the WM_CREATE event is fired.
2019-10-04 11:50:27 +02:00
Enrico Giordani
1fc351b088 code refactoring
fix casting warning
disable automatic window content refresh on resize, this is required by the upcoming support for WebView2
2019-10-04 11:50:27 +02:00
Enrico Giordani
7db627df1b global variable name 2019-10-04 11:50:27 +02:00
Enrico Giordani
c00733ea11 error handling and error checking 2019-10-04 11:50:27 +02:00
Enrico Giordani
7a94ee04c8 global variables name 2019-10-04 11:50:27 +02:00
Enrico Giordani
799ac545a2 supress warning C26451 arithmetic overflow 2019-10-04 11:50:27 +02:00
Enrico Giordani
11396015fb WinMain annotation and argument name 2019-10-04 11:50:27 +02:00
Enrico Giordani
6839b4773a NULL -> nullptr 2019-10-04 11:50:27 +02:00
Enrico Giordani
a2b0671d6d rename variables and functions
supress warning C26444
2019-10-04 11:50:27 +02:00
Enrico Giordani
99e5680f33 code refactoring for local stream uri 2019-10-04 11:50:27 +02:00
Enrico Giordani
f93bcd875a remove unused WebViewControlProcessOptions 2019-10-04 11:50:27 +02:00
Enrico Giordani
576f75d230 rename global variables 2019-10-04 11:50:27 +02:00
Enrico Giordani
f28e9bdb96 remove namespace prefix
since it is declared to be used
2019-10-04 11:50:27 +02:00
Enrico Giordani
7c43e814e9 remove unused libs 2019-10-04 11:50:27 +02:00
Bartosz Sosnowski
d96db2a408 Add dropdown settings UI element 2019-10-04 09:26:40 +02:00
reviewher
f1c2a66023 Cleanup LICENSE 2019-10-04 02:04:48 +02:00
Bartosz Sosnowski
bf82e04ddb Add radio button group and add theme select for ShortcutGuide 2019-10-03 10:12:36 +02:00
Bartosz Sosnowski
64f606daaa
Add a hotkey settings control and use it in FancyZones (#450)
Add a hotkey settings control and use it in FancyZones
2019-10-02 17:18:55 +02:00
Tomer Cohen
de08485db8 FancyZone documentation typo fixes
Miscellanious→Miscellaneous
maintining→maintaining
2019-09-30 19:54:05 +02:00
cedi
faf1fae873 Modifying the startup behaviour of the FancyZones Layout Editor
Add setting to allow to choose if the FZ editor opens in the screen where mouse cursor is or where the active windows is.
2019-09-28 16:29:29 +02:00
ebbyd3
a8f0d3298f Fixed some minor code styling issues. Removed some minor redundant calculations for a small performance enhancement with zone detection. 2019-09-26 23:23:09 +02:00
ebbyd3
af67f7782c Added more in-depth check for zone determination when dragging around
the screen. Previously, it would iterate through the zones in the order
they were added and find the first one that fit the description. While
this works in most cases, if a user wants to have overlapping zones, it
is better to iterate through all of them and find the zone that the user
expects. There are cases where a zone is completely inaccessible on drag
because of the current code. To resolve this, the zone search will look
for the smallest zone possible. The reason I chose this solution is
because this guarantees that zones are at least reachable since if a
zone was bigger than another zone, then there must be a part of it
that is exposed, therefore reachable itself. Note: this solution is for
the scenario between two zones. More than that is not guaranteed. But I
feel like this covers enough scenarios to warrant its addition.

Example:
  ----------------
  - Zone1        -
  -  ----------  -
  -  - Zone2  -  -
  -  -        -  -
  -  ----------  -
  ----------------

Previously, zone2 was inaccessible since it would iterate through 1 then
2. But 1 would always be seen first when dragging a window. With this
fix it zone2 will be accessible.
2019-09-26 23:23:09 +02:00
Bartosz Sosnowski
50dae8a37b Make detection of windows creation more robust 2019-09-26 08:54:00 +02:00
Bartosz Sosnowski
0b86941a3b Make FancyZone distinguish different modern apps. 2019-09-26 08:54:00 +02:00
José I. Escudero
5d75feebdc Update README.md
Fix typo
2019-09-26 08:26:29 +02:00
Mike Harsh
e8327eed36
Merge pull request #350 from mkevenaar/feature/GH-349
Add documentation about Chocolatey installation
2019-09-19 18:57:33 -07:00
Bartosz Sosnowski
b85f722e09 When moving window to a zone, ensure it does not remain in maximized state. 2019-09-18 10:41:51 +02:00
Bartosz Sosnowski
1a400bd7fd Filter windows moved by keyboard in FancyZones 2019-09-18 10:41:16 +02:00
Bartosz Sosnowski
487c485911 Move window filter to separate function, filter more windows. 2019-09-18 10:41:16 +02:00
Bret
a54e4299aa
Merge pull request #391 from microsoft/user/bretan/fz-multimon
Fix for #195 - Fancy Zones new editor needs to support multiple monitors
Fix for #292 - Zone Editor opens behind PowerToys Window
2019-09-17 17:58:53 -07:00
Bret Anderson
209ec55912 PR feedback 2019-09-17 17:53:43 -07:00
Enrico Giordani
390ad0561f remove previous version upon upgrade
fix link to documentation
2019-09-17 09:53:05 +02:00
Bret Anderson
2c3c4e7519 Need to adjust x/y by scaled diff between monitor and work area rect 2019-09-16 12:48:55 -07:00
Bret Anderson
1078101631 Fix for #292 (Zone Editor opens behind PowerToys Window) 2019-09-15 13:48:56 -07:00
Bret Anderson
c0cdf7aaa6 Everything is working. 2019-09-15 13:34:00 -07:00
Gary Hunt
7eedda30db Fix typos in src/README.md (#364) 2019-09-14 12:53:54 +02:00
William Kent
54b883397c Use PTLicenseDlg in lieu of the standard license dialog 2019-09-13 18:07:15 +02:00
William Kent
f9c3ab3921 Use friendlier font in License.rtf file 2019-09-13 18:07:15 +02:00
Enrico Giordani
8221f5e641
activate zones for windows with custom titlebar
fixes https://github.com/microsoft/PowerToys/issues/209
2019-09-11 21:12:39 +02:00