3ff92499cc9238258846c40e812c5d22c832dc5a: Bug 1328868 - Part 11 - Check that zooming via "font.size.systemFontScale" actually has any effect. r?sebastian draft
Jan Henning <jh+bugzilla@buttercookie.de> - Fri, 10 Feb 2017 19:21:32 +0100 - rev 485479
Push 45741 by mozilla@buttercookie.de at Thu, 16 Feb 2017 19:05:17 +0000
Bug 1328868 - Part 11 - Check that zooming via "font.size.systemFontScale" actually has any effect. r?sebastian MozReview-Commit-ID: F2YtTER17xQ
78b2495c5d852aaac2fe61da5462d53a63c4c028: Bug 1328868 - Part 10 - Add a test to check that flipping the Android pref enables/disables font inflation. r?esawin,sebastian draft
Jan Henning <jh+bugzilla@buttercookie.de> - Wed, 08 Feb 2017 19:37:58 +0100 - rev 485478
Push 45741 by mozilla@buttercookie.de at Thu, 16 Feb 2017 19:05:17 +0000
Bug 1328868 - Part 10 - Add a test to check that flipping the Android pref enables/disables font inflation. r?esawin,sebastian A basic check that the listener is indeed operational. MozReview-Commit-ID: 6KijcsRaScI
b5a179dfd46b810aa711b33e2ad55e0c0af10c63: Bug 1328868 - Part 9 - Move MakeObserver() into head.js r?esawin draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 05 Feb 2017 17:11:02 +0100 - rev 485477
Push 45741 by mozilla@buttercookie.de at Thu, 16 Feb 2017 19:05:17 +0000
Bug 1328868 - Part 9 - Move MakeObserver() into head.js r?esawin We can use this function for our upcoming test as well, so we should move it into the common header. MozReview-Commit-ID: H5ANDAlnpmm
8aabedbd203965167282f749ed7fa0afc94f1eef: Bug 1328868 - Part 8 - Detect the previous font size setting and migrate it to the new shared preference. r?sebastian draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 05 Feb 2017 14:22:28 +0100 - rev 485476
Push 45741 by mozilla@buttercookie.de at Thu, 16 Feb 2017 19:05:17 +0000
Bug 1328868 - Part 8 - Detect the previous font size setting and migrate it to the new shared preference. r?sebastian 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
b2b7d18b1837bc13820a0893f586b0af1400bc6a: Bug 1328868 - Part 7 - Remove the old font size preference and its associated code and resources. r?sebastian draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 04 Feb 2017 23:57:57 +0100 - rev 485475
Push 45741 by mozilla@buttercookie.de at Thu, 16 Feb 2017 19:05:17 +0000
Bug 1328868 - Part 7 - Remove the old font size preference and its associated code and resources. r?sebastian MozReview-Commit-ID: EgL3WFo6mdo
ace203dab2726ac83e00b49d60ee10ced9acdf26: Bug 1328868 - Part 6 - Add a Java-side listener watching the new pref and the Android system font scale. r?sebastian draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 05 Feb 2017 13:22:49 +0100 - rev 485474
Push 45741 by mozilla@buttercookie.de at Thu, 16 Feb 2017 19:05:17 +0000
Bug 1328868 - Part 6 - Add a Java-side listener watching the new pref and the Android system font scale. r?sebastian 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
573fbaa6c82b4b6e06a35a09b94d508ef62699a7: Bug 1328868 - Part 5 - Add a new switch offering to honour the system font size to Fennec's preferences. r?sebastian,antlam draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 04 Feb 2017 23:54:17 +0100 - rev 485473
Push 45741 by mozilla@buttercookie.de at Thu, 16 Feb 2017 19:05:17 +0000
Bug 1328868 - Part 5 - Add a new switch offering to honour the system font size to Fennec's preferences. r?sebastian,antlam MozReview-Commit-ID: HZqxl6T90mZ
a4d204027389b65648eb22f6b37b7cb40381d921: Bug 1328868 - Part 4 - Don't zoom Contentviewer children when setting the zoom from the PresShell. r?tnikkel draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 05 Feb 2017 21:45:19 +0100 - rev 485472
Push 45741 by mozilla@buttercookie.de at Thu, 16 Feb 2017 19:05:17 +0000
Bug 1328868 - Part 4 - Don't zoom Contentviewer children when setting the zoom from the PresShell. r?tnikkel 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
c1ab99a0156f83adff7eb9795b168d7ee0767b93: Bug 1328868 - Part 3 - Copy the global zoom state over into new presShell when navigating/reloading. r?tnikkel draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 04 Feb 2017 23:04:59 +0100 - rev 485471
Push 45741 by mozilla@buttercookie.de at Thu, 16 Feb 2017 19:05:17 +0000
Bug 1328868 - Part 3 - Copy the global zoom state over into new presShell when navigating/reloading. r?tnikkel 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
64effdcc809ac69cceec754275ad7a512b16357b: Bug 1328868 - Part 2 - When font.size.systemFontScale is enabled, apply a global zoom factor to all pages that are not font inflated. r?tnikkel draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 04 Feb 2017 22:04:34 +0100 - rev 485470
Push 45741 by mozilla@buttercookie.de at Thu, 16 Feb 2017 19:05:17 +0000
Bug 1328868 - Part 2 - When font.size.systemFontScale is enabled, apply a global zoom factor to all pages that are not font inflated. r?tnikkel 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
c7d931ce1eb7903f034693e6c90dc24a47662977: Bug 1328868 - Part 1 - Allow setting a global zoom factor via nsLayoutUtils. r?tnikkel,billm draft
Jan Henning <jh+bugzilla@buttercookie.de> - Wed, 15 Feb 2017 19:23:15 +0100 - rev 485469
Push 45741 by mozilla@buttercookie.de at Thu, 16 Feb 2017 19:05:17 +0000
Bug 1328868 - Part 1 - Allow setting a global zoom factor via nsLayoutUtils. r?tnikkel,billm 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. 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. To that effect, we implement a method for retrieving that setting via nsLayoutUtils, analogous to the current font inflation settings. Unlike those, we use a custom preferences listener though, since we want to clamp the font scale factor between the limits of zoom.minPercent and maxPercent as a sanity limit. Because we're mimicking the existing font inflation prefs, we also need to add this new pref to the bug 1303096 whitelist. MozReview-Commit-ID: Ler2YmwzImE
60eae402dba1da7fdfececa5e94d7c3e6017cb45: Bug 1328868 - Part 0 - Remove unneeded imports. r?esawin draft
Jan Henning <jh+bugzilla@buttercookie.de> - Fri, 03 Feb 2017 22:50:30 +0100 - rev 485468
Push 45741 by mozilla@buttercookie.de at Thu, 16 Feb 2017 19:05:17 +0000
Bug 1328868 - Part 0 - Remove unneeded imports. r?esawin MozReview-Commit-ID: 5mCrZ8aOAiw
f221a4bcd40f239276924b625ec81a0ea32992db: Local Gradle tweaks draft
Jan Henning <jh+bugzilla@buttercookie.de> - Thu, 28 Jul 2016 20:04:34 +0200 - rev 485467
Push 45741 by mozilla@buttercookie.de at Thu, 16 Feb 2017 19:05:17 +0000
Local Gradle tweaks MozReview-Commit-ID: H5pdKja8p2a
eb8bc4c4e555e77bde22a012b308b02d00e23613: Bug 1338525 - Add schema validation for webextension themes r?mikedeboer draft
Matthew Wein <mwein@mozilla.com> - Tue, 14 Feb 2017 13:18:10 +0000 - rev 485466
Push 45740 by mwein@mozilla.com at Thu, 16 Feb 2017 18:55:45 +0000
Bug 1338525 - Add schema validation for webextension themes r?mikedeboer MozReview-Commit-ID: 3QjDrTeMKH0
15ec044f2fd24831ca6110801e042dce410cce54: Bug 1337825 - Jamun: Change android-api-15-{l10n,nightly} to l10n bumped file r=aki draft
Johan Lorenzo <jlorenzo@mozilla.com> - Thu, 16 Feb 2017 18:51:25 +0100 - rev 485465
Push 45739 by bmo:jlorenzo@mozilla.com at Thu, 16 Feb 2017 18:49:04 +0000
Bug 1337825 - Jamun: Change android-api-15-{l10n,nightly} to l10n bumped file r=aki Also adds missing files MozReview-Commit-ID: C0G6bE6wmK4
6ba6f05cc1429b17471f82d6f89d18cd08e7d321: Bug 1339673 - Don't link the gtest libxul during MOZ_PROFILE_GENERATE. r=ted draft
Chris Manchester <cmanchester@mozilla.com> - Thu, 16 Feb 2017 10:36:18 -0800 - rev 485464
Push 45738 by cmanchester@mozilla.com at Thu, 16 Feb 2017 18:37:02 +0000
Bug 1339673 - Don't link the gtest libxul during MOZ_PROFILE_GENERATE. r=ted The gtest libxul isn't used during the profiling run, so this is just wasted work. MozReview-Commit-ID: 5FVmt8rA4zk
7552df03be5d7948bbf7d2375dee3dcd01c5d706: Bug 1340022 - Implement "handled for descendants" tracking for RestyleDamage. r=emilio draft
Bobby Holley <bobbyholley@gmail.com> - Wed, 15 Feb 2017 19:36:57 -0800 - rev 485463
Push 45737 by bmo:bobbyholley@gmail.com at Thu, 16 Feb 2017 18:15:24 +0000
Bug 1340022 - Implement "handled for descendants" tracking for RestyleDamage. r=emilio MozReview-Commit-ID: Bbk99ogILXC
7696fb9888f372f39ef971d9a64538cbee01b1a4: Bug 1331322 - Tweak some fuzzy annotations. r=heycam draft
Bobby Holley <bobbyholley@gmail.com> - Wed, 15 Feb 2017 23:42:38 -0800 - rev 485462
Push 45736 by bmo:bobbyholley@gmail.com at Thu, 16 Feb 2017 17:59:49 +0000
Bug 1331322 - Tweak some fuzzy annotations. r=heycam MozReview-Commit-ID: ERcDYiwUaS7
9ffe6b13b11252e982ae2351b5d0f5a8e8276dd6: Bug 1333270 - wait until we find a word before we yield/ await the toggle highlight promise to avoid timing issues when switching to a remote browser element. r?jaws draft
Mike de Boer <mdeboer@mozilla.com> - Thu, 16 Feb 2017 18:55:40 +0100 - rev 485461
Push 45735 by mdeboer@mozilla.com at Thu, 16 Feb 2017 17:57:10 +0000
Bug 1333270 - wait until we find a word before we yield/ await the toggle highlight promise to avoid timing issues when switching to a remote browser element. r?jaws MozReview-Commit-ID: F0kq7oYm8WS
b168b98d0cc2edcb6e26d087b37907a2d54abcd8: Bug 1339575 - Allow nsDisplaySolidColor to be forced active. r?mstange draft
Jamie Nicol <jnicol@mozilla.com> - Tue, 14 Feb 2017 15:46:42 -0500 - rev 485460
Push 45734 by bmo:jnicol@mozilla.com at Thu, 16 Feb 2017 17:47:41 +0000
Bug 1339575 - Allow nsDisplaySolidColor to be forced active. r?mstange MozReview-Commit-ID: AxxzuRQF8vT
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip