Commit Graph

23256 Commits

Author SHA1 Message Date
Andrzej Hunt
f9367a3210 Bug 1366352 - Ensure anchor is always set before trying to show tabs tray menu r=nechen
MozReview-Commit-ID: 18KLMDlJUQe

--HG--
extra : rebase_source : e71a00ee58dacc23c97c904277b2b0d042da301d
2017-05-19 12:16:12 -07:00
Michael Kaply
93e0f91e14 Bug 1361755 - Allow distributions to specify a homepage option in prefs. r=sebastian
MozReview-Commit-ID: CNvhkzDyynZ

--HG--
extra : rebase_source : 7a1ece6b17ccc47aa2c69d5ee90f84983f0f859b
2017-05-31 11:39:41 -05:00
Sebastian Hengst
2f30de4e14 Backed out changeset 970698e1bb62 (bug 1361755) for Android bustage at /mobile/android/base/resources/layout/preference_set_homepage.xml:20 (unbound prefix). r=backout 2017-05-31 16:02:50 +02:00
Michael Kaply
5d4a82602c Bug 1361755 - Allow distributions to specify a homepage option in prefs. r=sebastian
MozReview-Commit-ID: KjdZvHNG6VR

--HG--
extra : rebase_source : 51ef56a28a0c167d48298640d5a4bb8c9b79829a
2017-05-03 15:47:09 -05:00
Julian_Chu
017dabf553 Bug 1329152 - turn on CustomTabs via SwitchBoard r=sebastian
We are going to enable Custom Tabs by default. Now it is still
controlled by SwitchBoard in case of any accident.

MozReview-Commit-ID: JREAhkYzVSu

--HG--
extra : rebase_source : 2a05332d8750ae013647931baf7bd68573ce0441
2017-04-21 15:05:19 +08:00
Julian_Chu
d432b78932 Bug 1329152 - Enable custom tabs by default r=sebastian
Remove related options, just use CustomTabs directly.

MozReview-Commit-ID: DdcMHnsfAU1

--HG--
extra : rebase_source : bc081e180eca920979d8f4557751cf98c27c51de
2017-04-10 17:32:16 +08:00
Jing-wei Wu
b004f8a321 Bug 1329138 - Part 3: Add telemetry probe while editing a bookmark. r=nechen
MozReview-Commit-ID: FeXO32ScjcT

--HG--
extra : rebase_source : 61a9c285b093c5be5d4543dbb99faba9b220f3ad
2017-05-31 14:03:01 +08:00
Jing-wei Wu
00f6213c58 Bug 1329138 - Part 2: Add telemetry probe while creating a bookmark folder. r=nechen
MozReview-Commit-ID: GCJ0qOpohCf

--HG--
extra : rebase_source : 0ad1d51871383eb3eb4f0399bc90eb063287211a
2017-05-24 10:33:00 +08:00
Jing-wei Wu
af5c58f192 Bug 1329138 - Part 1: Add telemetry probe while removing a bookmark folder. r=nechen
MozReview-Commit-ID: 5NYMp3uBdNw

--HG--
extra : rebase_source : 862b597b19687f9301e884c1d1d587eb6143dac5
2017-05-24 10:14:07 +08:00
James Cheng
ce2fbd2836 Bug 1350250 - Add a GeckoHlsResourceWrapper java glue. r=jolin,jya
MozReview-Commit-ID: KMAqkJSk2tT

--HG--
extra : rebase_source : efe73b1f70e5bde6c6d9fd7ad36ee98ad21eaf7c
2017-05-17 17:05:42 +08:00
Matthew Wein
aedc70e0fc Bug 1351111 - Add unit tests for setTitle and getTitle r=mixedpuppy
MozReview-Commit-ID: KsdqHBzuWJi

--HG--
extra : rebase_source : d237063ec7ad3dc007529463ffde4cf1d81ee23e
2017-05-25 17:14:28 -04:00
Matthew Wein
c003484018 Bug 1351111 - Add support for setTitle and getTitle r=mixedpuppy
MozReview-Commit-ID: 9B0RaOJjTxc

--HG--
extra : rebase_source : e54638698e900df15136e70a88c8df80032ea70b
2017-05-30 22:40:57 -04:00
Matthew Wein
d2f47724a2 Bug 1351111 - Add support for updating existing browser actions r=sebastian
MozReview-Commit-ID: 7fuDRmR75WD

--HG--
extra : rebase_source : 73a37cf6005ee830d83dd4edb5f43c30f5552e81
2017-05-25 17:11:56 -04:00
Grigory Kruglov
6197cd033b Bug 1356386 - Support for FxA sign-in deep links r=nechen
Adds support for opening FxA deep links, a la firefox://fxa-signin

Whitelisted set of query parameters::
- signin - expected to be the "magic token"
- entrypoint - for internal tracking purposes
- utm_* - all query parameters with utm_ prefix are allowed

Deep links are opened as: about:accounts?signin=<token>&entrypoint=<entrypoint>&utm_one=<utm1>....

MozReview-Commit-ID: LfGi1ChPvUr

--HG--
extra : rebase_source : e469250590d6db83ff75b314c6c72d4970b8a449
2017-05-30 00:16:21 -04:00
Jan Henning
881ed98e8d Bug 1367851 - Use ComponentCallbacks to listen for low memory notifications. r=ahunt
At the moment, we forward these from GeckoActivity, which means that they won't work if no GeckoActivity-based activity is active (can happen within our settings for example).

As of API14, we can now register an app-wide ComponentCallbacks(2) class, allowing us to easily receive low memory notifications no matter which activity is currently alive.

MozReview-Commit-ID: 5GjSjsTKxAD

--HG--
extra : rebase_source : a598b55d01ab2c8cf3ae8a7d1f7392fab926faa5
2017-05-25 21:22:24 +02:00
Kilik Kuo
444875671e Bug 1350253 - Provide GeckoHlsDemuxerWrapper & corresponding generated JNI files as the glue for HLSDemuxer and GeckoHlsPlayer. r=jolin,jya
MozReview-Commit-ID: 62cnGQsmdNS

--HG--
extra : rebase_source : 4431d9e55f4ee38faeae50d03b46fbb57629fb8e
2017-05-25 20:48:03 +08:00
Dan Banner
ea09f270ab Bug 1368041 - Enable no-array-constructor across mozilla-central r=standard8
MozReview-Commit-ID: EXJNufdKKhJ

--HG--
extra : rebase_source : 66d17c7981c4b0987c482ce092b25990b42c07fb
2017-05-27 15:17:29 +01:00
Jan Henning
50c15957c0 Bug 1357778 - Exclude non browsing tabs in the TabStripView, too. r=walkingice
We're already doing this in the tab strip, but this presumably didn't cover the initialisation via TabStripView.refreshTabs().

MozReview-Commit-ID: Abdk1mD5HyZ

--HG--
extra : rebase_source : 0d94ae86011ac100f57dad1e03f9496913b8cc26
2017-05-26 20:15:27 +02:00
Xidorn Quan
9dc47921e1 Bug 1368418 part 1 - Remove nsISemanticUnitScanner. r=emk
Code search indicates that this is not used internally, and the only
addon uses this is Breadcrumbs, which hasn't been updated since 2009,
thus it is already not compatible with current Firefox.

MozReview-Commit-ID: 1lUs7ceaaE1

--HG--
extra : rebase_source : 87060c33291ba415c6c70767c132c4a5b74d29fb
2017-05-29 16:05:29 +10:00
Nevin Chen
0f2aff9431 Bug 1361664 - Part2. Create MVP Triggers and Deeplinks for Mobile Marketing Automatin. r=maliu
This patch do 6 things. They are related so I put them in the same patch.
1. Extract MmaEvent Name
2. If MMA is diabled, don't send event.
3. Add check before sending 'Set Default Borwser' deep link
4. Add user attribute for delay messaging focus install status.
5. If the user pref off at runtime, we ask Leanplum to stop and prevent our app sending event to Leanplum.
6. Fix proguard. Only keep necceary files.

MozReview-Commit-ID: APEmr1JXBLH

--HG--
extra : rebase_source : 35b54c11004905c950c1ace84507554a2e1b4f39
2017-05-17 01:25:45 +08:00
Nevin Chen
41b293dfc2 Bug 1361664 - Part1. Udate MMA API, make init() accept activity. r=maliu
MozReview-Commit-ID: AcfoeCPV8SV

--HG--
extra : rebase_source : 6441ed54f9e19b6c384281084699e5247ec5d3f6
2017-05-24 11:23:10 +08:00
Nick Alexander
d59f61ebff Bug 1365089 - Follow-up: Don't require Leanplum SDK secrets for repacks. r=nthomas
The l10n builders don't have the access to secrets that the regular
builders do, so don't expect Leanplum SDK secrets in l10n repacks.

Since MOZ_ANDROID_MMA requires a Leanplum SDK token file, we'd also
need to opt-out of MOZ_ANDROID_MMA in this case.  I interpret this to
show that the update channel is not the right mechanism with which to
enable the Nightly-only MOZ_ANDROID_MMA feature; it's better to just
opt-in for Nightly builds.  This patch does that.

MozReview-Commit-ID: 81WTFjsT7br

--HG--
extra : rebase_source : 5338fb33c13733335ed4f9e58cc3ea969d6e705a
2017-05-29 09:48:32 -07:00
Nick Alexander
b6fef5fc95 Bug 1365089 - Add MOZ_ANDROID_MMA and --with-leanplum-sdk-keyfile to configure. r=chmanchester
This is the equivalent of MOZ_INSTALL_TRACKING, but for MMA (Mobile
Marketing Automation) using the Leanplum SDK.

To test this locally, add lines like:

export MOZ_ANDROID_MMA=1
ac_add_options --with-adjust-sdk-keyfile=/path/to/adjust-sdk-developer.token

MOZ_ANDROID_MMA depends on MOZ_NATIVE_DEVICES and MOZ_ANDROID_GCM,
since Leanplum requires Google Play Services library that those flags
are a proxy for and enable, respectiviely.

We want to enable MOZ_ANDROID_MMA in Nightly, but only for
MOZILLA_OFFICIAL builds.  Since MOZILLA_OFFICIAL is still defined in
old-configure.in, we can't interrogate it in
mobile/android/moz.configure, and therefore we enable using the
automation mozconfigs.

MozReview-Commit-ID: 1tiToeyH5Hx

--HG--
extra : rebase_source : f85706c5a0911c7d2edc109d8c47ecc1c1bc6ffc
2017-05-26 12:31:20 -07:00
Sebastian Hengst
5941f01963 merge mozilla-central to autoland. r=merge a=merge 2017-05-28 18:46:28 +02:00
Sebastian Hengst
f98a774379 Backed out changeset 645836bfad25 (bug 1361664) because bug 1365089 got backed out and this depends on it. r=backout 2017-05-28 18:45:28 +02:00
Sebastian Hengst
a12aaca96d Backed out changeset 49714b590d48 (bug 1361664) 2017-05-28 18:44:50 +02:00
Sebastian Hengst
66d9eb3103 Backed out changeset 9c7688e54e92 (bug 1365089) for breaking Android L10n nightlies. r=backout a=backout
MozReview-Commit-ID: FxH7nBskSNj
2017-05-28 16:53:10 +02:00
Kilik Kuo
c6bf611b7a Bug 1350241 -Part2: Create a customized player based on ExoPlayer and inject customzied {Audio,Video}Renderers as the source of HLS demuxed samples. r=jolin,jya
MozReview-Commit-ID: CAyaxKUoJzm

--HG--
extra : rebase_source : fd8d3c019236a1ffe3172fbf1d8855b8aadf8de6
2017-05-25 20:48:43 +08:00
Kilik Kuo
7f124232fa Bug 1350241 -Part1: Provide data structure of {Audio,Video}Info and demuxed sample for the use of HLS on Fennec. r=jolin,jya
MozReview-Commit-ID: 11triLS84Gq

--HG--
extra : rebase_source : a1c0d04a476560156ddf4919ab4fc277833b4db1
2017-05-25 12:46:06 +08:00
Nevin Chen
3558f2df91 Bug 1358117 - Add pref to turn on/off leanplum. r=maliu,sebastian
MozReview-Commit-ID: 8LHvMPSxAdl

--HG--
extra : rebase_source : fb968097e7722ebcfb1245c366f9224c5a57857f
2017-05-18 19:27:13 +08:00
Sebastian Hengst
0d62851e61 Backed out changeset 08b93bba921c (bug 1358117) for Android Nightly bustage. r=backout a=backout
MozReview-Commit-ID: IgiZGwOZ3tD
2017-05-27 14:01:55 +02:00
Sebastian Hengst
97eca2b15c Backed out changeset 44e144a782e1 (bug 1361664) for Android Nightly bustage. r=backout a=backout
MozReview-Commit-ID: L3hDVLxBkoJ
2017-05-27 14:01:07 +02:00
Sebastian Hengst
bebf8c82cb Backed out changeset d289ee2c794d (bug 1361664)
MozReview-Commit-ID: gNRtEiyg7W
2017-05-27 14:00:27 +02:00
Nevin Chen
03067cd900 Bug 1361664 - Part2. Create MVP Triggers and Deeplinks for Mobile Marketing Automatin. r=maliu
This patch do 6 things. They are related so I put them in the same patch.
1. Extract MmaEvent Name
2. If MMA is diabled, don't send event.
3. Add check before sending 'Set Default Borwser' deep link
4. Add user attribute for delay messaging focus install status.
5. If the user pref off at runtime, we ask Leanplum to stop and prevent our app sending event to Leanplum.
6. Fix proguard. Only keep necceary files.

MozReview-Commit-ID: APEmr1JXBLH

--HG--
extra : rebase_source : eeea2ba90a495bdcb628644ef388f4dab918963b
2017-05-17 01:25:45 +08:00
Nevin Chen
58ddc51361 Bug 1361664 - Part1. Udate MMA API, make init() accept activity. r=maliu
MozReview-Commit-ID: AcfoeCPV8SV

--HG--
extra : rebase_source : b3e80c4d9066bd96b3775258e2a73af8acea5efe
2017-05-24 11:23:10 +08:00
Nick Alexander
0a0a08ec4c Bug 1365089 - Add MOZ_ANDROID_MMA and --with-leanplum-sdk-keyfile to configure. r=chmanchester
This is the equivalent of MOZ_INSTALL_TRACKING, but for MMA (Mobile
Marketing Automation) using the Leanplum SDK.

To test this locally, add lines like:

export MOZ_ANDROID_MMA=1
ac_add_options --with-adjust-sdk-keyfile=/path/to/adjust-sdk-developer.token

MOZ_ANDROID_MMA depends on MOZ_NATIVE_DEVICES and MOZ_ANDROID_GCM,
since Leanplum requires Google Play Services library that those flags
are a proxy for and enable, respectiviely.

We want to enable MOZ_ANDROID_MMA in Nightly, but only for
MOZILLA_OFFICIAL builds.  Since MOZILLA_OFFICIAL is still defined in
old-configure.in, we can't interrogate it in
mobile/android/moz.configure, and therefore we enable using the
automation mozconfigs.

MozReview-Commit-ID: 1tiToeyH5Hx

--HG--
extra : rebase_source : 5390cf8c5c2eb7ffe675757b372debbb639bc900
2017-05-26 12:31:20 -07:00
Nick Alexander
716a57ca26 Bug 1363526 - Revert .App rewriting to restore Android Studio launch for developers. r=maliu
Per https://bugzilla.mozilla.org/show_bug.cgi?id=1320310#c14, the fix
for Bug 1320310 interferes with the Android Studio launch experience.
This reverts that change for non-official audiences, i.e., the
local{Old} configurations used by developers.

MozReview-Commit-ID: 2Mc5MUj8Utl

--HG--
extra : rebase_source : 62d113e85453bb695b59e780653a34cab199872f
2017-05-09 14:06:18 -07:00
Chris Pearce
d7d3abb576 Bug 1367950 - Only throttle download of src=url video if the download is 'fast' on desktop. r=jwwang
Our canplaythrough logic is opaque to the users, so I expect that our recent
change to throttle when we hit the readahead limit would be confusing to users;
those on a slow connection would want their media to prebuffer, and not expect
the download to stop part way through.  They would think that Firefox had
stalled at an arbitrary point for some unknown reason, i.e., they'd think
Firefox was broken. So I think we're better to instead only throttle if the
network is good enough that the user probably doesn't worry about the download
not keeping up with playback.

We should restore the previous behaviour on mobile of throttling when the
download reached the readaheadd limit regardless of canplaythrough or network
speed, as the calculus is different on mobile; the user may also be concerned
about battery life, or hitting their data cap. And often the faster the
cellular network is, the more expensive data on it is.

So this patch changes us to throttle when we reach the readahead limit only if
the network is fast, where fast is defined as being able to stream at twice the
rate estimated to be required to playback without stalling.

It also adds a pref to revert to the old behaviour of not considering the
network speed, which we enable on mobile to restore it to its previous
behaviour.

MozReview-Commit-ID: KLIGaQZV6dX

--HG--
extra : rebase_source : c2e0c6be3158fa661be49d1267d976af43aff6d7
2017-05-26 13:55:48 +12:00
Nevin Chen
1fd979b26c Bug 1361664 - Part2. Create MVP Triggers and Deeplinks for Mobile Marketing Automatin. r=maliu
This patch do 5 things. They are related so I put them is the same patch.
1. Extract MmaEvent Name
2. If MMA is diabled, don't send event.
3. Add check before sending 'Set Default Borwser' deep link
4. Add user attribute for delay messaging focus install status.
5. If the user pref off at runtime, we ask Leanplum to stop and prevent our app sending event to Leanplum.

MozReview-Commit-ID: APEmr1JXBLH

--HG--
extra : rebase_source : 07913749581b2426f0e5ba3aeb8364b85dbd1b72
2017-05-17 01:25:45 +08:00
Nevin Chen
9e40576357 Bug 1361664 - Part1. Udate MMA API, make init() accept activity. r=maliu
MozReview-Commit-ID: AcfoeCPV8SV

--HG--
extra : rebase_source : fc000e03cfed84129d30734493539b6f3784ad68
2017-05-24 11:23:10 +08:00
Ryan VanderMeulen
25cb66b774 Merge m-c to autoland on a CLOSED TREE. a=merge 2017-05-26 15:45:41 -04:00
Ryan VanderMeulen
75fa1fd85f Merge inbound to m-c. a=merge 2017-05-26 15:43:59 -04:00
Nevin Chen
054b372b44 Bug 1358117 - Add pref to turn on/off leanplum. r=maliu,sebastian
MozReview-Commit-ID: 8LHvMPSxAdl

--HG--
extra : rebase_source : fb968097e7722ebcfb1245c366f9224c5a57857f
2017-05-18 19:27:13 +08:00
Sebastian Hengst
dc3b84b5f1 Backed out changeset c77265a29cc7 (bug 1358117) for mobile/android/base/java/org/mozilla/gecko/mma/MmaDelegate.java:25: error: cannot find symbol, e.g. in findbugs job. r=backout on a CLOSED TREE 2017-05-26 20:24:18 +02:00
Nevin Chen
0b488bfce3 Bug 1358117 - Add pref to turn on/off leanplum. r=maliu,sebastian
MozReview-Commit-ID: 8LHvMPSxAdl

--HG--
extra : rebase_source : c2cf440acceb5f8bbc34546c51e58444adf4b846
2017-05-18 19:27:13 +08:00
Delphine Lebédel
aef4b57bfa Bug 1365431 - [el] Search engine setup for Firefox Mobile for Greek, r=flod
MozReview-Commit-ID: AQmKIjwzBef

--HG--
extra : rebase_source : 08b04747fa95885522d82a77080d468ec4a23b17
2017-05-26 09:28:01 -07:00
Eden Chuang
68cf4559f8 Bug 1345361 - PaymentRequest constructor implementation. r=baku 2017-05-26 01:50:32 +08:00
Ryan VanderMeulen
a71f4a2308 Merge m-c to inbound. a=merge 2017-05-25 21:31:19 -04:00
Ryan VanderMeulen
e38fed0cd1 Merge inbound to m-c. a=merge 2017-05-25 21:30:20 -04:00
Jim Chen
46ed8bc7f8 Bug 1367234 - 2. Hide action bar on full screen in geckoview_example; r=droeh
Hide the action bar on full screen in geckoview_example so the page
content covers the entire screen.

MozReview-Commit-ID: IbLj7gei7ct
2017-05-25 18:35:19 -04:00