Commit Graph

27 Commits

Author SHA1 Message Date
Pale Moon fa8789e2c7 Revert "Revert "UI Events (draft) - implement auxclick""
This reverts commit ce61607af29f915948863e6ca1745323c3b96a19.
2018-07-25 08:10:09 +08:00
Pale Moon 5cefda2657 Revert "UI Events (draft) - implement auxclick"
This reverts commit f37dc404d82225aafedf4008a8eb93a4ccedfc08.
2018-07-25 08:10:02 +08:00
Pale Moon ce3d9724ed Use correct window reference when setting parent window in Windows widget.
SetParent removes the widget from the old parent widget and then sets its new one.
We were incorrectly using the new parent widget when we needed the old one.
2018-07-25 08:09:25 +08:00
Pale Moon 95fa208152 Add a signal preference for dynamic color changes to adjust "brighttext" in the front-end.
This makes all relevant toolbars pick up the fact that the Windows accent color has changed and should check and if necessary update the "brighttext" property on them for styling of controls.
This is a bit of a hack-around to the fact that there is no real easy way otherwise to notify the front-end of color changes without needing a change in focus of the window.
There is a deliberate 300ms delay built in, because otherwise the styles might not have propagated yet, resulting in brighttext not being updated properly.
2018-07-25 08:02:31 +08:00
Pale Moon 3d0e978054 Align accent color text choice with Microsoft's official guideline.
Confirmed to pick the correct color for all predefined accent colors.
This resolves #1228
2018-07-25 08:00:42 +08:00
Pale Moon 6193a3e082 Make -moz-windows-accent-color-is-dark live to color changes (e.g. when accent color is automatic based on desktop background image).
On Win10 only, trigger a theme change notification when system colors change to pick up media queries and refresh caption buttons.
2018-07-25 08:00:06 +08:00
Pale Moon 8e858c3e2a Add -moz-windows-accent-color-is-dark media query.
This is a boolean indicating whether the accent color should be considered "dark", i.e. needing bright text/controls.
2018-07-25 07:59:59 +08:00
Pale Moon 485f150648 Split out the check for accent color luminance. 2018-07-25 07:59:51 +08:00
Pale Moon 01d7e75ba8 Add a '-moz-windows-accent-color-applies' media query.
The '-moz-windows-accent-color-applies' media query matches when the Windows 10
accent color should be used as the background of the title bar.
2018-07-25 07:54:09 +08:00
Pale Moon cbcccc4356 Add a '-moz-win-accentcolortext' color keyword to color text that will be drawn over an accent color background. 2018-07-25 07:54:02 +08:00
Pale Moon cbd7f2de83 Add a '-moz-win-accentcolor' color keyword to expose the Win10 accent color. 2018-07-25 07:53:55 +08:00
janekptacijarabaci 7bf2898d10 UI Events (draft) - implement auxclick 2018-07-25 07:39:38 +08:00
Pale Moon ed926e44a1 Make sure we clear old cut-out regions when window geometries change.
Follow-up to #1101
2018-07-25 07:27:05 +08:00
Pale Moon 793941340d Geometries: Check for compositor and return early + draw top border on Win 10
This resolves #1101
2018-07-25 07:26:44 +08:00
Pale Moon 0136f827ca Remove style rule processing for XP themes.
XP specific themes Luna Blue/Olive/Silver and Royale+Zune removed.
2018-07-25 07:14:11 +08:00
Pale Moon 08e58e7fbb Remove Windows Metro/WinRT code. 2018-07-25 06:25:01 +08:00
Pale Moon 8fe1bcfe93 Revert "Add media queries for Linux/BSD/OSX"
Backed out for Linux build bustage.

This reverts commit a8b3619405467c3f9e0c17f1a748b91c4c02244b.
2018-07-25 01:05:40 +08:00
Lootyhoof 60b8abe487 Add media queries for Linux/BSD/OSX 2018-07-25 01:05:35 +08:00
wolfbeast b295be9f85 Restore clipboard privacy when closing PB windows. 2018-07-24 23:30:45 +08:00
wolfbeast aea4638cfc Avoid drawing the cutout on Windows 10 because we draw our own caption buttons.
This is a port of the equivalent commit Pale-Moon/165424b447182a3657cb5be276d13d074b1373f6

This resolves #81
2018-07-24 23:28:10 +08:00
wolfbeast 4b4d2d1275 Only enable D3D9 layers HWA back-end if explicitly preffed on. Always use DX11 otherwise. 2018-07-24 23:25:54 +08:00
trav90 b812e70813 Remove LSP information gathering and annotation 2018-07-24 23:14:09 +08:00
trav90 650c7923bd Remove GfxInfo crashreporter annotation stubs 2018-07-24 23:14:05 +08:00
trav90 903fddcff7 Remove conditional crashreporter code 2018-07-24 23:13:57 +08:00
wolfbeast 53761b6336 Prep tree for forward-porting Goanna: stage 2 2018-07-24 23:11:02 +08:00
wolfbeast 5ee6187aad Prep tree for forward-porting Goanna, stage 1 2018-07-24 23:10:50 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00