0434d811e9a90957c447d3505a3b52c1da7790fc: Bug 1328868 - Part 11 - Check that zooming via "font.size.systemFontScale" actually has any effect. r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Fri, 10 Feb 2017 19:21:32 +0100 - rev 484091
Push 45394 by mozilla@buttercookie.de at Tue, 14 Feb 2017 20:43:04 +0000
Bug 1328868 - Part 11 - Check that zooming via "font.size.systemFontScale" actually has any effect. r? MozReview-Commit-ID: F2YtTER17xQ
ca071a2a242300e376baed991e1dd2c2b629baba: Bug 1328868 - Part 10 - Add a test to check that flipping the Android pref enables/disables font inflation. r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Wed, 08 Feb 2017 19:37:58 +0100 - rev 484090
Push 45394 by mozilla@buttercookie.de at Tue, 14 Feb 2017 20:43:04 +0000
Bug 1328868 - Part 10 - Add a test to check that flipping the Android pref enables/disables font inflation. r? A basic check that the listener is indeed operational. MozReview-Commit-ID: 6KijcsRaScI
81bb911b4f4c9e5f5ecd178072aa7156d3604c1c: Bug 1328868 - Part 9 - Move MakeObserver() into head.js r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 05 Feb 2017 17:11:02 +0100 - rev 484089
Push 45394 by mozilla@buttercookie.de at Tue, 14 Feb 2017 20:43:04 +0000
Bug 1328868 - Part 9 - Move MakeObserver() into head.js r? We can use this function for our upcoming test as well, so we should move it into the common header. MozReview-Commit-ID: H5ANDAlnpmm
a1eb90d35ec2dd27e5d74a8ff35c154d6346f0e2: Bug 1328868 - Part 8 - Detect the previous font size setting and migrate it to the new shared preference. r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 05 Feb 2017 14:22:28 +0100 - rev 484088
Push 45394 by mozilla@buttercookie.de at Tue, 14 Feb 2017 20:43:04 +0000
Bug 1328868 - Part 8 - Detect the previous font size setting and migrate it to the new shared preference. r? If the shared preference doesn't exist on startup, we check the value of font.size.inflation.minTwips and then turn the new setting on if minTwips was > 60, which is the case if the previous font size setting was set to at least "Small" or larger. If the old setting was "Tiny" or else for new installations, we default the new setting to "off". MozReview-Commit-ID: B9yB9JwRcqj
3e08f32aebadd0b52bd4f40c733ee46bcc7a8a82: Bug 1328868 - Part 7 - Remove the old font size preference and its associated code and resources. r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 04 Feb 2017 23:57:57 +0100 - rev 484087
Push 45394 by mozilla@buttercookie.de at Tue, 14 Feb 2017 20:43:04 +0000
Bug 1328868 - Part 7 - Remove the old font size preference and its associated code and resources. r? MozReview-Commit-ID: EgL3WFo6mdo
53df5efacc08f0153256636e78d2f4b1843aba96: Bug 1328868 - Part 6 - Add a Java-side listener watching the new pref and the Android system font scale. r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 05 Feb 2017 13:22:49 +0100 - rev 484086
Push 45394 by mozilla@buttercookie.de at Tue, 14 Feb 2017 20:43:04 +0000
Bug 1328868 - Part 6 - Add a Java-side listener watching the new pref and the Android system font scale. r? The state of the switch added in Part 5 is stored in our Android-side shared preferences. For this to have any actual effect on rendering, we now add a class that is initialised when Gecko starts up and listens to changes of that particular pref. When it is turned on, we enable font inflation and add another listener for the system font scale, which then forwards the current font scale as well as any changes to Gecko, so mobile mode pages can be scaled correspondingly as well. When the setting is turned back off again, the system font scale listener is stopped again and the Gecko font size settings reverted back to their default values. MozReview-Commit-ID: GyffpZTQQX8
33cb8fc184a069651665c56049022d3b493eb92b: Bug 1328868 - Part 5 - Add a new switch offering to honour the system font size to Fennec's preferences. r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 04 Feb 2017 23:54:17 +0100 - rev 484085
Push 45394 by mozilla@buttercookie.de at Tue, 14 Feb 2017 20:43:04 +0000
Bug 1328868 - Part 5 - Add a new switch offering to honour the system font size to Fennec's preferences. r? MozReview-Commit-ID: HZqxl6T90mZ
84db5ccb30ac11f0bae4261ec0b727554e480658: Bug 1328868 - Part 4 - Don't zoom Contentviewer children when setting the zoom from the PresShell. r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 05 Feb 2017 21:45:19 +0100 - rev 484084
Push 45394 by mozilla@buttercookie.de at Tue, 14 Feb 2017 20:43:04 +0000
Bug 1328868 - Part 4 - Don't zoom Contentviewer children when setting the zoom from the PresShell. r? Normally, setting the zoom via the ContentViewer will also set the zoom of all the ContentViewer's children. Here however this is not necessary, since each PresShell is already running the code to set the zoom according to the system font scale and will therefore call its ContentViewer's zoom function on its own. Alternatively, we could simply bypass the ContentViewer and set the zoom directly on the PresContext, however doing it the way we are doing it now means that the ContentViewer will be able to report the actual text zoom factor that has been applied if anybody queries it, which we'll make use of later in testing. MozReview-Commit-ID: 7nk5EDNY2FZ
b25a770ccfa3d3cf3fbc09baeb39ab7ba585789e: Bug 1328868 - Part 3 - Copy the global zoom state over into new presShell when navigating/reloading. r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 04 Feb 2017 23:04:59 +0100 - rev 484083
Push 45394 by mozilla@buttercookie.de at Tue, 14 Feb 2017 20:43:04 +0000
Bug 1328868 - Part 3 - Copy the global zoom state over into new presShell when navigating/reloading. r? When the global zoom factor is set to 1.0f, i.e. when this feature has been turned back off or simply was never enabled, we want to be able to return early and not set any zoom factor. To that effect, we need to call setTextZoom(1.0f) once when going from systemFontScale != 0.0f to systemFontScale == 1.0f in order to reset the text zoom to its default value. We do this by keeping track of the global zoom state of each PresShell via mGlobalZoomWasEnabled, however for this to properly work, we need to copy this bit of state over into any new presShell that gets created when reloading the document or navigating back-/forward (with or without the bfcache) . MozReview-Commit-ID: AqNOGIMsRt
90bccc60df51a127dab8990e1997bf12ae0dafdf: Bug 1328868 - Part 2 - When enabled, apply a global zoom factor to all pages that are not font inflated. r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 04 Feb 2017 22:04:34 +0100 - rev 484082
Push 45394 by mozilla@buttercookie.de at Tue, 14 Feb 2017 20:43:04 +0000
Bug 1328868 - Part 2 - When enabled, apply a global zoom factor to all pages that are not font inflated. r? We want to use a similar model as Chrome on Android does for scaling our display of web content, that is use font inflation for desktop pages and plain text zooming for everything else. As long as font inflation is enabled in principle (e.g. font.size.inflation.minTwips != 0), every page starts out as eligible for font inflation until the relevant meta viewport tags marking the page as "mobile friendly" have been detected. Since the PresShell caches the font inflation state and only recalculates it when necessary, we make use of that and turn our text zoom on or off as necessary whenever the font inflation state has been refreshed. MozReview-Commit-ID: 2InyE04wKAW
1528b7e449c7c379e361f8d21d0e0f2d70f5f466: Bug 1328868 - Part 1 - Allow setting a global zoom factor via nsLayoutUtils. r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 04 Feb 2017 14:01:56 +0100 - rev 484081
Push 45394 by mozilla@buttercookie.de at Tue, 14 Feb 2017 20:43:04 +0000
Bug 1328868 - Part 1 - Allow setting a global zoom factor via nsLayoutUtils. r? For Android we want to be able to set a global zoom factor that will scale any page where font inflation is not turned on. To that effect, we implement retrieving that setting via nsLayoutUtils, analogous to the current font inflation settings. Android makes the system font scale available as a float factor. For our purposes, converting this to a percentage based value and rounding to an integer is accurate enough and enables us to pass this value as a standard Gecko int preference. This means we can make use of the standard infrastructure for setting and retrieving Gecko-side preferences both from Java and JS (the latter during testing), as opposed to having to write custom JNI and C++/IDL helper functions. MozReview-Commit-ID: Ler2YmwzImE
ee03fa476336af996317094b7db3766bcb1cbb42: Bug 1328868 - Part 0 - Remove unneeded imports. r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Fri, 03 Feb 2017 22:50:30 +0100 - rev 484080
Push 45394 by mozilla@buttercookie.de at Tue, 14 Feb 2017 20:43:04 +0000
Bug 1328868 - Part 0 - Remove unneeded imports. r? MozReview-Commit-ID: 5mCrZ8aOAiw
0fb0d2f4e9c8fe9c611dd0c6c021c7f75b861d30: Local Gradle tweaks draft
Jan Henning <jh+bugzilla@buttercookie.de> - Thu, 28 Jul 2016 20:04:34 +0200 - rev 484079
Push 45394 by mozilla@buttercookie.de at Tue, 14 Feb 2017 20:43:04 +0000
Local Gradle tweaks MozReview-Commit-ID: H5pdKja8p2a
02e191eb90d2826c520471e72de90e1877a8f09d: Bug 1339314: stylo: update bindings for clip-path changes from bug 1336905; r?heycam draft
Manish Goregaokar <manishearth@gmail.com> - Tue, 14 Feb 2017 00:25:04 -0800 - rev 484078
Push 45393 by bmo:manishearth@gmail.com at Tue, 14 Feb 2017 20:40:25 +0000
Bug 1339314: stylo: update bindings for clip-path changes from bug 1336905; r?heycam MozReview-Commit-ID: I6DFbn5VsEi
a4fd59fb66531417c4075df51eed04b7eacb0499: Bug 1336905 - Part 2. Remove StyleShapeOutsideShapeBox. draft
cku <cku@mozilla.com> - Mon, 06 Feb 2017 15:56:03 +0800 - rev 484077
Push 45393 by bmo:manishearth@gmail.com at Tue, 14 Feb 2017 20:40:25 +0000
Bug 1336905 - Part 2. Remove StyleShapeOutsideShapeBox. MozReview-Commit-ID: L7vlIGwCOzi
78d5cb1c9afe5d19d14f1ea8f898b66a9183e5fc: Bug 1336905 - Part 1. Remove StyleShapeSource's template argument. draft
cku <cku@mozilla.com> - Mon, 06 Feb 2017 15:50:22 +0800 - rev 484076
Push 45393 by bmo:manishearth@gmail.com at Tue, 14 Feb 2017 20:40:25 +0000
Bug 1336905 - Part 1. Remove StyleShapeSource's template argument. MozReview-Commit-ID: FHTwGyXHsce
0c38abf0588f118c956ec78d6c4fffd6094f66e5: bindings fixup draft
Manish Goregaokar <manishearth@gmail.com> - Mon, 13 Feb 2017 23:27:27 -0800 - rev 484075
Push 45393 by bmo:manishearth@gmail.com at Tue, 14 Feb 2017 20:40:25 +0000
bindings fixup MozReview-Commit-ID: 31m2psdVNT6
bd8b6eb909dea5c936bd66977c109739ae76a7db: Bug 1338312 - browser.sessions.getRecentlyClosed returns incorrect information for tabs in closed windows, r?aswan draft
Bob Silverberg <bsilverberg@mozilla.com> - Tue, 14 Feb 2017 15:23:46 -0500 - rev 484074
Push 45392 by bmo:bob.silverberg@gmail.com at Tue, 14 Feb 2017 20:31:07 +0000
Bug 1338312 - browser.sessions.getRecentlyClosed returns incorrect information for tabs in closed windows, r?aswan MozReview-Commit-ID: FrUhiR9Q9aV
a36dd9eb98c44a03c403cd1777422c8e7ca556db: Bug 1338312 - browser.sessions.getRecentlyClosed returns incorrect information for tabs in closed windows, r?aswan draft
Bob Silverberg <bsilverberg@mozilla.com> - Tue, 14 Feb 2017 15:23:46 -0500 - rev 484073
Push 45391 by bmo:bob.silverberg@gmail.com at Tue, 14 Feb 2017 20:24:16 +0000
Bug 1338312 - browser.sessions.getRecentlyClosed returns incorrect information for tabs in closed windows, r?aswan MozReview-Commit-ID: FrUhiR9Q9aV
6b9775b67fae416c6326fe4e341aa03dc78c6e12: Bug 1335814 - Add topsites page swipe telemetry r?grisha draft
Andrzej Hunt <ahunt@mozilla.com> - Tue, 14 Feb 2017 10:42:00 -0800 - rev 484072
Push 45390 by ahunt@mozilla.com at Tue, 14 Feb 2017 20:20:55 +0000
Bug 1335814 - Add topsites page swipe telemetry r?grisha MozReview-Commit-ID: EN00Lh2I7V5
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip