26ed1f9a9e9be5db4da76a49752bdeb09bb55579: 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 479099
Push 44144 by mozilla@buttercookie.de at Sun, 05 Feb 2017 21:02:16 +0000
Bug 1328868 - Part 7 - Remove the old font size preference and its associated code and resources. r? MozReview-Commit-ID: EgL3WFo6mdo
8cf351534135fa24012bfc35334ff44d36b8de99: 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 479098
Push 44144 by mozilla@buttercookie.de at Sun, 05 Feb 2017 21:02:16 +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 4 is stored in our Android-side shared preferences. For this to have any actual effect on rendering, we now add a class that 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 as well. When the setting is turned back off again, the above changes are reverted. MozReview-Commit-ID: GyffpZTQQX8
5053b0c65185ea14f3098a5ee04d706253d63237: 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 479097
Push 44144 by mozilla@buttercookie.de at Sun, 05 Feb 2017 21:02:16 +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
da947694053c5e1f82fe3ae2e87da107f7b94446: 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 479096
Push 44144 by mozilla@buttercookie.de at Sun, 05 Feb 2017 21:02:16 +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 on all the ContentViewer's children. In this case 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. MozReview-Commit-ID: 7nk5EDNY2FZ
413bd848ee966467f4497f2fdfd268c34460f394: Bug 1336281 - Expose mozILocaleService. r?jfkthame draft
Zibi Braniecki <gandalf@mozilla.com> - Sun, 05 Feb 2017 12:29:39 -0800 - rev 479095
Push 44143 by zbraniecki@mozilla.com at Sun, 05 Feb 2017 20:30:08 +0000
Bug 1336281 - Expose mozILocaleService. r?jfkthame MozReview-Commit-ID: 3fTtad7tAg6
50a6f3852cfd2e04c78f70878f4a83a1d3c1fab3: Bug 1333184 - Introduce OSPreferences API. r?jfkthame draft
Zibi Braniecki <gandalf@mozilla.com> - Sun, 05 Feb 2017 11:41:43 -0800 - rev 479094
Push 44142 by zbraniecki@mozilla.com at Sun, 05 Feb 2017 19:42:37 +0000
Bug 1333184 - Introduce OSPreferences API. r?jfkthame MozReview-Commit-ID: ALvLGtBmRgn
1b3bc88c8122ff41bb097d5631f968ccd89a5cf7: Bug 1328868 - Part 9 - Add test to check that flipping the Android pref enables/diables font inflation. r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 05 Feb 2017 17:42:46 +0100 - rev 479093
Push 44141 by mozilla@buttercookie.de at Sun, 05 Feb 2017 18:19:58 +0000
Bug 1328868 - Part 9 - Add test to check that flipping the Android pref enables/diables font inflation. r? A basic check that the listener is indeed operational. MozReview-Commit-ID: 6KijcsRaScI
67ffc92ed8cf83285641729e661ffb26c368bdfc: Bug 1328868 - Part 8 - Move MakeObserver() into head.js r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 05 Feb 2017 17:11:02 +0100 - rev 479092
Push 44141 by mozilla@buttercookie.de at Sun, 05 Feb 2017 18:19:58 +0000
Bug 1328868 - Part 8 - Move MakeObserver() into head.js r? We can use this function as well, so we should move it into the common header. MozReview-Commit-ID: H5ANDAlnpmm
3c62e0da8b0d3df7513dd97c337395d56928b644: Bug 1328868 - GeckoFontScaleListener debug logging draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 05 Feb 2017 13:30:26 +0100 - rev 479091
Push 44141 by mozilla@buttercookie.de at Sun, 05 Feb 2017 18:19:58 +0000
Bug 1328868 - GeckoFontScaleListener debug logging MozReview-Commit-ID: D7H9DszMQPx
4e04f2d6182d752d226f60a296db5f370582d966: Bug 1328868 - Part 7 - 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 479090
Push 44141 by mozilla@buttercookie.de at Sun, 05 Feb 2017 18:19:58 +0000
Bug 1328868 - Part 7 - 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, i.e. if the previous font size setting was set to "Small" or larger. MozReview-Commit-ID: B9yB9JwRcqj
e3223fbc21811494cf298dcb9d4a901556c73630: Bug 1328868 - Part 6 - 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 479089
Push 44141 by mozilla@buttercookie.de at Sun, 05 Feb 2017 18:19:58 +0000
Bug 1328868 - Part 6 - Remove the old font size preference and its associated code and resources. r? MozReview-Commit-ID: EgL3WFo6mdo
d0a234002f4f8de44189ff51c3935792e988dc60: Bug 1328868 - Part 5 - Add a Java-side listener watching the new pref and the system font scale. r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 05 Feb 2017 13:22:49 +0100 - rev 479088
Push 44141 by mozilla@buttercookie.de at Sun, 05 Feb 2017 18:19:58 +0000
Bug 1328868 - Part 5 - Add a Java-side listener watching the new pref and the system font scale. r? The state of the switch added in Part 4 is stored in our Android-side shared preferences. For this to have any actual effect on rendering, we now add a class that listens to changes to that particular shared preference. When the setting is turned on, we turn on 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 as well. When the setting is turned back off, the above changes are reverted again. MozReview-Commit-ID: GyffpZTQQX8
a19efdc00b6cad9040912aced91e2c81862744b7: Bug 1328868 - Part 4 - 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 479087
Push 44141 by mozilla@buttercookie.de at Sun, 05 Feb 2017 18:19:58 +0000
Bug 1328868 - Part 4 - Add a new switch offering to honour the system font size to Fennec's preferences. r? MozReview-Commit-ID: HZqxl6T90mZ
0688911ff8a262a2e33bbc04a30b2cf2991d216a: 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 479086
Push 44141 by mozilla@buttercookie.de at Sun, 05 Feb 2017 18:19:58 +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 0.0f, as it when this feature has been turned off or never enabled, e.g. on desktop, we want 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 == 0.0f in order to reset the text zoom to its default value. We do this by keeping track of the global zoom state via mGlobalZoomWasEnabled, however for this to properly work, we need to copy this bit of state over into any new presShell that get's created when navigating back/forwards (with or without the bfcache) or reloading the document. MozReview-Commit-ID: AqNOGIMsRt
9ecc2f5a0506c9fbd3d74dd621ffa36c2ec93951: Bug 1328868 - PresShell debug logging draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 04 Feb 2017 21:15:32 +0100 - rev 479085
Push 44141 by mozilla@buttercookie.de at Sun, 05 Feb 2017 18:19:58 +0000
Bug 1328868 - PresShell debug logging MozReview-Commit-ID: Ik8q3VXmXWl
56d14e32425a6f9da4d3e2b0b6aa291d7454c657: Bug 1328868 - Part 2 - When enabled, apply 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 479084
Push 44141 by mozilla@buttercookie.de at Sun, 05 Feb 2017 18:19:58 +0000
Bug 1328868 - Part 2 - When enabled, apply global zoom factor to all pages that are not font inflated. r? We want to use a similar model as Chrome on Android for scaling our display of web content, that is use font inflation for desktop pages and text zooming for everything else. As long as font inflation has been principally enabled (e.g. font.size.inflation.minTwips ! = 0), every page starts out as eligible for font inflation until the relevant meta viewport tags have been detected. To that effect, we check when the font inflation status has been recalculated and then turn our text zoom on or off as necessary. MozReview-Commit-ID: 2InyE04wKAW
34459ce094cce849f61b22bcfa2846c1f1daaa57: 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 479083
Push 44141 by mozilla@buttercookie.de at Sun, 05 Feb 2017 18:19:58 +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 allow setting and retrieving it via nsLayoutUtils, analogous to the current font inflation settings. MozReview-Commit-ID: Ler2YmwzImE
f28a114e92f39397783d8252c63e0ad7e6fed26c: Bug 1328868 - Part 0 - Remove unneeded imports. r? draft
Jan Henning <jh+bugzilla@buttercookie.de> - Fri, 03 Feb 2017 22:50:30 +0100 - rev 479082
Push 44141 by mozilla@buttercookie.de at Sun, 05 Feb 2017 18:19:58 +0000
Bug 1328868 - Part 0 - Remove unneeded imports. r? MozReview-Commit-ID: 5mCrZ8aOAiw
8f9b2481afe87d71c15e86a14ac368253164ec2b: Bug 1336734 - Part 2 - Don't stop the GeckoNetworkManager unless we're really backgrounded. r?sebastian draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 05 Feb 2017 15:47:51 +0100 - rev 479081
Push 44140 by mozilla@buttercookie.de at Sun, 05 Feb 2017 16:44:38 +0000
Bug 1336734 - Part 2 - Don't stop the GeckoNetworkManager unless we're really backgrounded. r?sebastian Launching a new activity within our app triggers both onActivityPause() (the current activity) and onActivityResume() (the new activity) in GeckoApplication. The most prominent example at the moment are probably our preferences - entering/exiting/navigating within them always triggers a pause/resume combo. This means that currently, each time this happens the network manager is stopped only to be immediately restarted. MozReview-Commit-ID: 6NdScT5cLYL
352226af9c0185c70cf89b389c1e78b621c25378: Bug 1336734 - Part 1 - Have GeckoPreferences properly support GeckoActivityStatus. r?sebastian draft
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 05 Feb 2017 15:35:00 +0100 - rev 479080
Push 44140 by mozilla@buttercookie.de at Sun, 05 Feb 2017 16:44:38 +0000
Bug 1336734 - Part 1 - Have GeckoPreferences properly support GeckoActivityStatus. r?sebastian Currently, GeckoPreferences always returns "false" for isGeckoActivityOpened(), which means that when we're e.g. opening a new settings screen, GeckoApplication's onActivityPause() code assumes that Firefox is being backgrounded for real, calling GeckoThread.onPause(). This is then immediately followed by a call to onActivityResume() which unpauses Gecko again. To avoid this, GeckoPreferences needs to properly implement support for GeckoActivityStatus and check the target of outgoing intents along the lines of the implementation in GeckoActivity. MozReview-Commit-ID: UfPNAic5os
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip