Граф коммитов

24292 Коммитов

Автор SHA1 Сообщение Дата
Jim Chen f915ac7be6 Bug 1394580 - 6. Use WindowEventDispatcher for prompt if available; r=jchen
MozReview-Commit-ID: 3vRXlb4HWYq

--HG--
extra : rebase_source : 4a6ae0a1eda1d7517a8b234be0276cfd57ece028
2017-09-05 21:26:32 -04:00
Jim Chen f990646ef8 Bug 1394580 - 5. Lazy-load Task.jsm in Messaging.jsm; r=esawin
We're not lazy-loading Task.jsm in Messaging.jsm right now (despite
declaring it through XPCOMUtils.defineLazyModuleGetter) because we
unnecessarily reference `Task` when Messaging.jsm is loading. This patch
makes us load Task.jsm only when `Task` is really needed.

MozReview-Commit-ID: 9rrnLQLaW4y

--HG--
extra : rebase_source : 3593910c4add9d99009b76f724ee6c6f5da94a66
2017-09-05 21:26:31 -04:00
Jim Chen 250c4969e7 Bug 1394580 - 4. Disable MDNS service for GeckoView; r=snorp
Standalone GeckoView doesn't make use of MDNS AFAIK (i.e. MDNS is only
used by features like casting or FlyWeb), but it takes up startup time,
so we should disable it.

MozReview-Commit-ID: CseHUos5B9I

--HG--
extra : rebase_source : e485845b1e4e7b90c9c41f98e4713609f53f00be
2017-09-05 21:26:31 -04:00
Jim Chen d6e76c014e Bug 1394580 - 3. Lazy-load AndroidLog.jsm; r=droeh
Lazily load AndroidLog.jsm since we only need it for debug logging, and
logging is normally turned off in GeckoView code.

MozReview-Commit-ID: 5HNzYTwujMS

--HG--
extra : rebase_source : f6902e25a445d29001f93e024e7cc82fddbb58f2
2017-09-05 21:26:31 -04:00
Jim Chen 920019518b Bug 1394580 - 2. Add GeckoViewStartup to consolidate startup tasks; r=snorp
Add a GeckoViewStartup component to consolidate tasks performed during
GeckoView startup, such as adding lazy observers and event listeners.
This enables us to not load individual GeckoView modules such as
GeckoViewPermission and GeckoViewPrompt until they are actually needed.

MozReview-Commit-ID: IsaUGwBHKbs

--HG--
extra : rebase_source : 0bda1af1e97b9bafea3aa72195f3ea937cf8a273
2017-09-05 21:26:30 -04:00
Jim Chen 46bab67672 Bug 1394580 - 1. Only load AsyncPrefs for Fennec; r=esawin
Move AsyncPrefs initialization to inside browser.js to only load it for
Fennec. Also, delay initialization until later in startup.

MozReview-Commit-ID: 7gLaXA5UJud

--HG--
extra : rebase_source : c71edca4a13f3de785e06f2e0a249ff80fd8c1d4
2017-09-05 21:26:30 -04:00
Sebastian Hengst 01c1a3c741 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 17ViEoPyjPa
2017-09-05 23:55:39 +02:00
Eugen Sawin 2d5ea0edb5 Bug 1396065 - [3.0] Only handle external links in the navigation listener in the example app. r=snorp 2017-09-05 19:08:04 +02:00
Eugen Sawin 6d485331ae Bug 1396065 - [2.1] Override nsILoadURIDelegate::Handle in GeckoViewNavigation to allow for app specific URI loading handling. r=snorp 2017-09-05 19:08:04 +02:00
Francesco Lodolo (:flod) 78ed2814d9 Bug 1396927 - Switch Diec2 (Catalan) search plugin to https r=mkaply
MozReview-Commit-ID: 7JWJhqCvRJV

--HG--
extra : rebase_source : 3205073a5cae04b68e520c2faee929044593750f
2017-09-05 20:09:19 +02:00
Jan Henning 0b7a53e9cb Bug 1396292 - Part 2 - Explicitly run permissions callback on background thread where applicable. r=sebastian
Currently, this only concerns setImageAs, where not running on the UI thread after a permissions prompt triggers a network-related strict mode violation and interestingly enough results in a crash (as opposed to a logcat complaint) on release builds.

There's also a permissions check in the UpdateService which runs on a (but not *the*) background thread, but since we don't prompt in that case there's no action necessary.

MozReview-Commit-ID: KKxW96AyDWH

--HG--
extra : rebase_source : db12529acc9b257930c37c2295f69a7b8e75232c
2017-09-02 21:55:40 +02:00
Jan Henning fe27b4a96d Bug 1396292 - Part 1 - Provide facilities to explicitly run permissions check callbacks on the background thread. r=sebastian
The permissions check itself is synchronous, but if we then decide to prompt the user to acquire the permission, we have to do so asynchronously and eventually continue execution on the UI thread as a result. Therefore we need to provide a counterpart of onUIThread() for operations that want their callback to stay off the UI thread in all situations.

MozReview-Commit-ID: AOCX1v69R1J

--HG--
extra : rebase_source : ed0bab9f3ae3198bf2af90eabc86fd5ddd95b3a0
2017-09-02 21:22:30 +02:00
Jan Henning 573a12d384 Bug 1396292 - Part 0 - Clean up imports. r=JanH
MozReview-Commit-ID: 12CjJ2zZ2Qr

--HG--
extra : rebase_source : d216e689ed667e43e200101985bffd45d74fefc8
2017-09-02 21:44:55 +02:00
Louis Chang 0d46442004 Bug 1352238 Part 2 - Remove default styling of checkbox/radio in UA sheets. r=mats
MozReview-Commit-ID: 6sd18LI3yw2

--HG--
extra : rebase_source : f0efd383fd4e51be1a4c99691a4455b6f6686798
2017-09-05 22:44:29 +08:00
Chenxia Liu 665bc15aa2 Bug 1396589 - Remove unsupported API call for lower versions. r=liuche
MozReview-Commit-ID: H1oSMcM6BCD

--HG--
extra : rebase_source : 71b61ce9934a237bea01709d5b2629b04b51e1fd
2017-09-05 09:14:37 -07:00
Luca Greco 76db20f78d Bug 1396605 - Prevent duplicated Firefox for Android PageAction icons for a single extension. r=mixedpuppy
MozReview-Commit-ID: 1axv6vFXcCu

--HG--
extra : rebase_source : e265131c7bcfcb1fa57e0b461debcb7a915529a5
2017-09-04 21:09:58 +02:00
Jing-wei Wu 2d894cb091 Bug 1389092 - Adjust TwoLinePageRow layout. r=nechen
Adjust icon position and increase text size of title field.

MozReview-Commit-ID: F0eb8m7dvHY

--HG--
extra : rebase_source : ee7f8464ac857bbdfb39eb96b7a9902c09e58066
2017-09-05 18:14:33 +08:00
Sebastian Hengst 45cb996f32 merge mozilla-central to autoland. r=merge a=merge 2017-09-05 12:37:56 +02:00
Sebastian Hengst a17af05f6f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: L5exd68pNSG
2017-09-05 11:40:49 +02:00
Jing-wei Wu 3b58594210 Bug 1395920 - Remove vertical dividers in tabs tray page. r=nechen
MozReview-Commit-ID: HZQcuSLbuOm

--HG--
extra : rebase_source : 12c789109e6ccfeb35b83e8f21fd81d9815e6e4a
2017-09-05 11:23:50 +08:00
Jing-wei Wu 40f05e98c2 Bug 1395917 - Update reading list folder icon on bookmark panel. r=nechen
MozReview-Commit-ID: LGdn9KfZkcn

--HG--
extra : rebase_source : 2222faf21bb66140568273390d4739aab04f8137
2017-09-05 11:04:24 +08:00
Jing-wei Wu ed2d976703 Bug 1393072 - Only tint light color for menu icons in private mode in large tablet. r=nechen
The tint logic for menu icons on different devices is:

Normal mode:
1. Mobile & small tablet -> dark color(#272727)
2. Large tablet -> dark color(#272727)

Private mode:
1. Mobile & small tablet -> dark color(#272727)
2. Large tablet -> light color(#38383D)

MozReview-Commit-ID: 9cz53PieQHY

--HG--
extra : rebase_source : 780a3ae9701d30672153801c88ade56c081a64d1
2017-09-05 10:27:18 +08:00
Steve Armand e46ff00709 Bug 1368967 - Enable the ESLint generator-star-spacing rule across mozilla-central. r=standard8
MozReview-Commit-ID: 5do3eoCEAMR

--HG--
extra : rebase_source : 5f692e474e1d7d173fcb4c9c08617f0fe489e443
2017-09-04 00:49:32 -04:00
Nevin Chen f473cc006c Bug 1396548 - Handle Push Notification when app is not running. r=maliu
When app is not runing, Gecko is not running. Thus we can't get Gecko pref.
We should skip Gecko pref check and show notifications when we recieve push messages and while app is not running.
Other checks (ie. Switchboard, Health Report...etc) remain the same.

MozReview-Commit-ID: H2X18VI0cnW

--HG--
extra : rebase_source : 28c4946ba8f4a9721735f93db728c28fa70d6b9d
2017-09-04 19:15:32 +08:00
Luca Greco 8ea256fafd Bug 1395911 - Ensure Android addon options are not hidden while a webextension is still starting. r=sebastian
MozReview-Commit-ID: JXxI1dK39jA

--HG--
extra : rebase_source : b45efcaeebb19eca0196a823048c5d878b259b0c
2017-09-01 14:31:26 +02:00
Zibi Braniecki 517324f16f Bug 1389397 - Remove the override chrome entries from language manifests. r=Pike
MozReview-Commit-ID: IsNb6inPCtf

--HG--
extra : rebase_source : 169e5cbb0263239ffce2a4ead598c7904e5a3484
2017-08-31 01:21:08 -07:00
Tushar Saini (:shatur) 49e6d15e41 Bug 1363014 - Implement browsingData.remove WebExtension API method on android. r=bsilverberg,mixedpuppy,sebastian
MozReview-Commit-ID: 2ipz1wqGpxc

--HG--
extra : rebase_source : cdb19268a6242c1466fb762cfd72c0af32ef45ae
2017-08-30 00:08:48 +05:30
Kris Maglione a2ec0b79b6 Bug 1396017: Redact window titles without the appropriate tabs permissions. r=mixedpuppy
MozReview-Commit-ID: 2QJYvJlqt9l

--HG--
extra : rebase_source : 33c4670a0eded6e0af4f931a1ac4cd57f6115995
extra : amend_source : 915bfac6f2c05024acd840c8fa9e282bfc31c296
2017-09-01 12:20:10 -07:00
Jing-wei Wu aa15879831 Bug 1393477 - Resize favicon shown in doorhanger. r=nechen
MozReview-Commit-ID: I8vFxePDOeF

--HG--
extra : rebase_source : 3100d3aa56f343e010d92998f29440366031ea6e
2017-08-31 16:29:13 +08:00
Jan Henning 96e370c7ce Bug 1396303 - Fix typo in variable declaration that breaks the download helper app dialogue. r=JanH
MozReview-Commit-ID: Kg24dBizlRf

--HG--
extra : rebase_source : 357be7740ba48bb4254ad3253a38057f23b7a7ff
2017-09-03 21:12:40 +02:00
davidmurray f3d7d85165 Bug 1391355 - add force reload support via keyboard r=JanH
MozReview-Commit-ID: 9s3paEoZueW

--HG--
extra : rebase_source : a5ea6aed84538cfbb7d8c91370254ba5bbc58cd6
2017-09-02 14:20:44 -07:00
Chenxia Liu 44dbfc06fd Bug 1396407 - [lint] Fix AlertDialog.Builder.setView call to support pre-r21. r=liuche
MozReview-Commit-ID: IDJY3sDU9g

--HG--
extra : rebase_source : 6aefc2683fbe9a5d6ce38e551539eb5c07420db4
2017-09-03 10:03:10 -07:00
Luca Greco 108627c8c2 Bug 1370333 - Add support for browserAction popup on Firefox for Android. r=mixedpuppy
MozReview-Commit-ID: Il6sUoMlLvX

--HG--
extra : rebase_source : d8f1386bd264cb931f7781dbf13b9cdfed2624d6
2017-08-29 12:54:37 +02:00
Sebastian Hengst 4d0bad92dd merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Gsw48p934sI
2017-09-02 10:54:44 +02:00
Jim Chen eec1c8ca82 Bug 1378410 - 2. Preprocess generated bindings; r=nalexander
Preprocess the generated bindings to support the new BuildFlag
annotation, so that we can compare bindings despite build flag changes.

The build system preprocessor is used because it's easy-to-use and
invoking the actual C++ preprocessor would require much more work.
However, as a result, we use a MOZ_PREPROCESSOR macro to make the build
system preprocessor not handle `#include` lines in the binding files.

MozReview-Commit-ID: 3Gweuwnb1V3

--HG--
extra : rebase_source : 3a1769e4b45bab3175b3609d08e53534380facce
2017-09-01 14:02:44 -04:00
Jim Chen f0ca31be3a Bug 1378410 - 1. Support BuildFlag annotation for generated bindings; r=snorp
Add a BuildFlag annotation, which when specified for classes, will wrap
generated code in `#ifdef` or `#ifndef` blocks. This functionality is
used for conditionally excluding generated code when NIghtly becomes
Beta, without the need to regenerate bindings.

MozReview-Commit-ID: L2NFM8CHKqF

--HG--
extra : rebase_source : 6ebc82d11fd1aa4aeb57a46262e678480d23de83
2017-09-01 14:02:29 -04:00
Michael Comella 196f5f016f Bug 1388377: Add highlights empty state. r=liuche
MozReview-Commit-ID: 1M1nqWSoER3

--HG--
extra : rebase_source : 4c84e431baac1a64876bede36d05c0d3399b0f63
2017-08-31 15:21:43 -07:00
Michael Comella b4266caa6c Bug 1388377: Rm WelcomePanelRow. r=liuche
We show a message:
1) On first run
2) When there are no highlights

However, these are actually the same case (there are no highlights) so I wanted
to defer to that situation.

I felt it was easier to rm the WelcomePanel and rewrite it than it was to try
to morph it into an empty state for the highlights.

MozReview-Commit-ID: CrRbzA0NoRx

--HG--
extra : rebase_source : ed21103350ea13813062e214d3aec22805cfa7d7
2017-08-31 14:39:40 -07:00
Gregory Szorc 54ce1a0575 Backed out changeset 512562477a1e, c5b310c419c4 (bug 1388377) for Android build bustage
--HG--
extra : histedit_source : 45a7c9ad2418f3fbf1f6b3d544806e43e337749e%2C73fe36a02238f02dcac1d1010504fb42a2008701
2017-09-01 17:07:21 -07:00
Michael Comella c256431aed Bug 1388377: Add highlights empty state. r=liuche
MozReview-Commit-ID: 1M1nqWSoER3

--HG--
extra : rebase_source : d3047131d6e5fa9bc7a6973bd7d8a78065d1901e
2017-08-31 15:21:43 -07:00
Michael Comella 291c25858a Bug 1388377: Rm WelcomePanelRow. r=liuche
We show a message:
1) On first run
2) When there are no highlights

However, these are actually the same case (there are no highlights) so I wanted
to defer to that situation.

I felt it was easier to rm the WelcomePanel and rewrite it than it was to try
to morph it into an empty state for the highlights.

MozReview-Commit-ID: CrRbzA0NoRx

--HG--
extra : rebase_source : da48e11003d8decb8216d1439a9ca475f56cbb7e
2017-08-31 14:39:40 -07:00
Wes Kocher 8b84853ed6 Merge m-c to autoland, a=merge
MozReview-Commit-ID: GcHZLNPPNnI
2017-09-01 16:34:14 -07:00
Wes Kocher 5f157c17dc Merge inbound to central, a=merge
MozReview-Commit-ID: 3JxUEFuinHY
2017-09-01 16:29:10 -07:00
Dylan Roeh cefc0f9ba9 Bug 1390261 - Add external storage to permissions required in FilePicker.getPermissionsForMimeType. r=snorp 2017-09-01 10:36:59 -05:00
Luca Greco b1d2a209c5 Bug 1383160 - Fix Android pageAction popup behavior. r=mixedpuppy
MozReview-Commit-ID: 66PnjFv4IIx

--HG--
extra : rebase_source : c5fdbe75cea18bcbfeedc8916c2b9c00ec20a429
2017-08-15 22:55:13 +02:00
Chenxia Liu 8202ae6977 Bug 1386735 - Rename FIXED_ROWS to clarify that they are Activity Stream sections. r=mcomella
MozReview-Commit-ID: 5aGMR2jm66s

--HG--
extra : rebase_source : f27b57b5608bf4a698c5bb61b91cd88998684411
2017-09-01 14:58:22 -07:00
Chenxia Liu 7cdb649f7f Bug 1386735 - Add additional preferences to Top Sites settings. r=mcomella
MozReview-Commit-ID: ADwLLbO41RN

--HG--
extra : rebase_source : 519e230f5feaa10cb08a1eeb2de72f014894ad40
2017-08-30 20:01:48 -07:00
Chenxia Liu 1bf5deb116 Bug 1386735 - Support disabling titles in StreamRecyclerView. r=mcomella
MozReview-Commit-ID: 15h7Lp497JN

--HG--
extra : rebase_source : 540b9b97975addab569f0f490959c0dc10755e36
2017-08-30 18:58:12 -07:00
Ryan VanderMeulen 1a86da24ad Backed out 9 changesets (bug 1383880) for decision task bustage.
Backed out changeset 53f5d47a7cb0 (bug 1383880)
Backed out changeset a0abda41172a (bug 1383880)
Backed out changeset 729a7e2091e8 (bug 1383880)
Backed out changeset a33f5a14a471 (bug 1383880)
Backed out changeset 5b10d321cfee (bug 1383880)
Backed out changeset 8056488d8aed (bug 1383880)
Backed out changeset e62c90e3c1e8 (bug 1383880)
Backed out changeset 91f116ce6c2a (bug 1383880)
Backed out changeset 045498bc36c4 (bug 1383880)
2017-09-01 15:37:08 -04:00
Sebastian Hengst 43bc951ac7 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: ES9rKhiQo10
2017-09-01 10:38:51 +02:00