Commit Graph

42 Commits

Author SHA1 Message Date
trav90 7e86bbf8c4 Use -1 instead of 0 to indicate absent glxtest_pipe fd 2018-07-25 09:07:29 +08:00
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
janekptacijarabaci ea05b5b32b JS - DOM - implement onvisibilitychange (fix typo) 2018-07-25 08:04:47 +08:00
janekptacijarabaci fc282d571b JS - DOM - implement onvisibilitychange 2018-07-25 08:04:40 +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 f5fb3d731d DOM - implement selection events (style clean up) 2018-07-25 07:52:00 +08:00
janekptacijarabaci 7f8c9616d6 DOM - implement selection events (base) 2018-07-25 07:51:17 +08:00
adeshkp 206db0aae9 print filename - palemoon.pdf => goanna.pdf 2018-07-25 07:44:42 +08:00
adeshkp 909f7c8139 Change print_to_filename
When printing to file on Linux systems, filename is filled with "mozilla.pdf".
This PR changes it to "palemoon.pdf"
2018-07-25 07:43:54 +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
janekptacijarabaci 8af1bfea0e HTML - support for elements: <details> and <summary> (follow up) 2018-07-25 07:08:09 +08:00
trav90 8d67bd6005 Assert against re-entrant sync sections 2018-07-25 07:03:48 +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
Pale Moon 5f5aa1584b Don't define kVK_RightCommand on OS X 10.12
This resolves #538.
2018-07-25 01:05:37 +08:00
Lootyhoof 60b8abe487 Add media queries for Linux/BSD/OSX 2018-07-25 01:05:35 +08:00
wolfbeast 4c16f3c073 Limit the length of notification strings to 5000 characters to prevent exceptions being thrown. 2018-07-24 23:30:58 +08:00
wolfbeast b295be9f85 Restore clipboard privacy when closing PB windows. 2018-07-24 23:30:45 +08:00
wolfbeast d5ffc19ffb Bug 69787. Implement MouseEvent.offsetX/Y. 2018-07-24 23:30:39 +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 d7010086e9 Remove conditional SPS Profiler code 2018-07-24 23:15:28 +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 e0b303bdf0 Disable JasPer module in GDK-PixBuf. 2018-07-24 23:12:00 +08:00
wolfbeast 767f0910de Prep tree for forward-porting Goanna: stage 4 2018-07-24 23:11:06 +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