Commit graph

24 commits

Author SHA1 Message Date
wolfbeast
1e7a9e0e28 No Issue - Expand HWA over RDP to Windows 8.1 and 10.
When Mozilla implemented this initially, only Windows 8 existed.
Because of the strict equal check, 8.1 and 10 didn't get HWA over RDP
while they are perfectly capable of doing so with RemoteFX. This change
allows any version of Windows from 8.0 onwards to use HWA over RDP.
2019-10-18 09:05:00 +08:00
wolfbeast
5944b47f79 Perform a size check when dealing with clipboard data to be sure.
Follow-up to 0b6d9a47051be9ef4d064c6f7c60717da91d0bc2
2019-05-31 07:22:14 +08:00
wolfbeast
5f10407c8c Preserve transparency when copying a DIB to/from the clipboard.
In order to get the alpha channel when encoding BMP images from a
surface, we need to supply bmp=32 in the encoder options.
2019-02-16 00:28:33 +08:00
wolfbeast
c15f982d7a Use existing image decoders to handle clipboard BMP data.
This gets rid of the old nsImageClipboard widget code in favor of using
the nsBMPDecoder in imglib.
2019-02-16 00:28:11 +08:00
Alex Gaynor
84cc1f3239 Handle pasted data of certain types with an odd length. 2019-02-16 00:28:10 +08:00
wolfbeast
107ddd1148 Don't allocate PendingAction twice. 2019-02-16 00:18:34 +08:00
wolfbeast
416ce4eb69 Protect main thread in-process access to WinCompositorWidget transparent surface. 2019-02-16 00:18:24 +08:00
wolfbeast
80e25ee7e5 Bug 1467363 - Protect access to mTransparentSurface with a lock. 2019-02-16 00:13:13 +08:00
wolfbeast
8c8145e620 Remove all C++ Telemetry Accumulation calls.
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2019-02-16 00:12:32 +08:00
wolfbeast
adca8376ea Introduce ui.menu.allow_content_scroll
When true, overrides the OS convention to prevent scrolling of content when contextual menus are open.
This resolves #730.
2019-02-16 00:12:02 +08:00
wolfbeast
bb95fcfca5 Bypass transparency optimization with HC themes.
Don't use transparency optimization for theme items in Windows 8
or later with a high contrast theme in use.

See MoonchildProductions/Pale-Moon#1591
2019-02-16 00:09:50 +08:00
SpockMan02
2d708bf86c Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query 2019-02-16 00:06:39 +08:00
David Major
2c709a3e82 Bug 1458270: Clean up in the shutdown observer. r=milan a=jcristau
--HG--
extra : amend_source : 7b1277a18a3ed4f441deef8b51cb4ec4dde614cc
2019-02-16 00:01:18 +08:00
janekptacijarabaci
ea3430429d Implement auxclick
Bug(s):
https://bugzilla.mozilla.org/show_bug.cgi?id=1304044
(native in moebius)
2019-02-15 23:53:46 +08:00
janekptacijarabaci
37c73e0634 moebius#56: Fix: DataTransfer - Pasting image from clipboard fails in some cases
https://github.com/MoonchildProductions/moebius/pull/56
2019-02-15 23:48:56 +08:00
wolfbeast
b77496b276 Remove unused LSPAnnotator 2019-02-15 23:39:56 +08:00
wolfbeast
434f3590e3 Remove base conditional code for crash reporter and injector. 2019-02-15 23:39:53 +08:00
wolfbeast
2ce8b3b74e 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.
2019-02-15 23:32:15 +08:00
wolfbeast
d2dfb814c1 Use more logical pref names for mouse button 4&5
Also improves comment wording.
2019-02-15 23:32:00 +08:00
wolfbeast
8aa201ff06 Add -moz-windows-accent-color-is-dark
#31 point 4
2019-02-15 23:29:12 +08:00
wolfbeast
41ee5136f4 Split out the check for accent color luminance. 2019-02-15 23:29:10 +08:00
wolfbeast
1f90db3750 Add -moz-win-accentcolor(text)
#31 points 1 and 2
2019-02-15 23:29:07 +08:00
wolfbeast
6a03b3bc1a Add @media(-moz-windows-accent-color-applies)
#31 point 3
2019-02-15 23:29:05 +08:00
Roy Tam
dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00