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

20752 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 443416f881 Merge mozilla-central to autoland. r=merge a=merge 2017-10-26 00:39:55 +02:00
Michael Comella 3a8d7956a7 Bug 1411749: Disable testActivityStreamPocketReferrer when Pocket is disabled by default. r=mcomella
MozReview-Commit-ID: BoFaNc4eBUA

--HG--
extra : rebase_source : 3927c1da8963cc9219237bc6b4e906c3d4085407
2017-10-25 13:32:59 -07:00
Michael Comella d3ff3907db Bug 1411657: Disable Pocket by default. r=liuche
From product (bug 1411657 comment 0):

Activity Stream may be pushed to a later release on desktop.  With that, we want
the Pocket stories feature to be put behind a feature flag on Firefox Android,so
we can launch the feature across all platforms simultaneously.

MozReview-Commit-ID: 3KmZir3tGPc

--HG--
extra : rebase_source : 9bb693e83ec98a8c1bae6476b2c800cf89968bd3
2017-10-25 12:05:17 -07:00
Michael Comella 0b2d54f766 Bug 1411657: Use resources when getting default Pocket value. r=liuche
This is an existing bug that previously had no impact because the values were
duplicated. Now that I'm going to change the value, the bug has to be fixed.

I opted not to fix the bug for the other top sites features in order to
minimize the scope of this change.

MozReview-Commit-ID: L9bnEMfvpDG

--HG--
extra : rebase_source : 8a451817fdf318f8ff2f8536c386e320d88fe293
2017-10-25 12:02:14 -07:00
Mark Banner 422a012285 Bug 1410362 - Merge nsIPromptService and nsIPromptService2. r=enndeakin+6102
MozReview-Commit-ID: 5gKiuWF4LeA

--HG--
extra : rebase_source : fa8471b07a69433e8ff47dc195b1d7e671450a21
2017-10-24 21:40:59 +01:00
Nevin Chen 8ca3d01790 Bug 1409303 - Make PWA enable by default. r=maliu
MozReview-Commit-ID: 5jGDP1Xf1aj

--HG--
extra : rebase_source : df088cd3a04c99c04fdd25543e11ac84ad84bef5
2017-10-25 12:02:23 +08:00
John Lin e9ef326a0b Bug 1410771 - extend adaptive playback blacklist for some Samsung tablet. r=JamesCheng
MozReview-Commit-ID: 9X316WYjIS3

--HG--
extra : rebase_source : 41612526a90da44e08a4ac6fdf66f5db63532e61
2017-10-25 09:00:58 +08:00
Sebastian Hengst 1ead0a96a9 Backed out changeset dab1c5badddb (bug 1407679) for failing server startup in mochitests on Android. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 3dc4cb2bbaf55f3f6329687ce64d4e862fc3800b
2017-10-24 21:18:26 +02:00
Valentin Gosu 9dd47ebf50 Bug 1407679 - Merge nsIIOService and nsIIOService2 r=nwgh
Removes deprecated nsIIOService2.newChannelFromURIWithProxyFlags

MozReview-Commit-ID: Gr3nA25kcre

--HG--
extra : rebase_source : 3407b5ed0f8f7067523abee28c137db3cac86b14
2017-10-20 16:41:07 +02:00
Michael Comella cbecb8e70c Bug 1395370: BaseTest -> OldBaseTest. r=nechen
MozReview-Commit-ID: 5chsKoG2nxD

--HG--
rename : mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/BaseTest.java => mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/OldBaseTest.java
extra : rebase_source : cd7433fbc4f9806e8f709c119038c228987a4cf9
2017-10-23 09:22:42 -07:00
Michael Comella b8ebe79f95 Bug 1395370: Add deprecation to BaseTest. r=nechen
MozReview-Commit-ID: J6Kl14vkNdX

--HG--
extra : rebase_source : 07e7905c2f23fe4851bae61d00732fdf95fb8c6a
2017-10-23 09:20:34 -07:00
Jan Henning 1e45433267 Bug 1410975 - Support recording audio via supported app from the file picker. r=nechen
Unlike capturing images/videos, the Android permission for recording audio is apparently only required if we want to record the audio ourselves, but not if we're merely calling out to some other app via MediaStore.Audio.Media.RECORD_SOUND_ACTION. Therefore we can drop that permission request for now.

MozReview-Commit-ID: 35vtm8Y78hh

--HG--
extra : rebase_source : 30426abfc6ab319422867656cf9f1df50867d749
2017-10-23 21:10:50 +02:00
Jan Henning e151e329bc Bug 1362919 - Allow falling back to basic file picker if permissions are denied. r=nechen
Theoretically this patch would also handle the case where the user has granted only some of the requested permissions, but at the moment our Permissions implementation doesn't make it easy to find out *which* permissions have been denied in the fallback case. So for the time being, we assume having no permissions at all in the fallback case.

MozReview-Commit-ID: EtxFfiLQONF

--HG--
extra : rebase_source : 42fcad8b0f9fb29026b53cf0d24905ece96e6077
2017-10-23 18:43:45 +02:00
Sebastian Hengst dbf343872c merge mozilla-central to autoland. r=merge a=merge 2017-10-24 11:54:19 +02:00
Sebastian Hengst 8072106c67 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-23 23:55:17 +02:00
Ben Kelly d64c111b67 Bug 1409761 Create dom.serviceWorkers.disable_open_click_delay and set it to a larger value on fennec. r=smaug 2017-10-23 14:24:31 -04:00
Nevin Chen be71ed84b1 Bug 1398362 - Change the image with correct size. r=maliu
MozReview-Commit-ID: 98jIGHzIHlr

--HG--
extra : rebase_source : b3655628835aa7d02a994e7918c190a5f97ee048
2017-10-24 13:19:23 +08:00
Sebastian Hengst 026ae1698b merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IMyEmT3cofM
2017-10-22 23:50:42 +02:00
James Willcox a156aa7132 Bug 1405124 - Set appropriate version code and string for GeckoView AAR r=nalexander
MozReview-Commit-ID: DZAxlp7zBHv
2017-10-21 13:18:16 -05:00
Sebastian Hengst ab5494d20a merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-21 11:02:13 +02:00
James Willcox 1bc1c0af6f Bug 1410534 - Correctly lock screen orientation in standalone mode r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D147

MozReview-Commit-ID: 4XFkgT9mqIB
2017-10-20 21:10:37 -05:00
Thom Chiovoloni 57c9bd99fb Bug 1409860 - Move os to correct place in android sync ping r=Grisha
MozReview-Commit-ID: DBn8MMVgKPM

--HG--
extra : rebase_source : b51fbfd06f784f2b2c967e33079ed29a05de0710
2017-10-19 13:35:16 -04:00
Thom Chiovoloni 3f1b2cd57a Bug 1410145 - Fix wrong version field in android sync ping. r=Grisha
MozReview-Commit-ID: 1Q4Dz7g5QPA

--HG--
extra : rebase_source : 98ea2d40ad582dd84687d42cef4fb0eff4e808df
2017-10-19 12:56:56 -04:00
Michael Comella b3504f0aa9 Bug 1410497: Remove local.properties from tree. r=nalexander
MozReview-Commit-ID: 34Pw2ULyzht

--HG--
extra : rebase_source : 8843a008b48f0561164d91457bfa57d331561ac7
2017-10-20 11:36:54 -07:00
Jan Henning b209e078b0 Bug 1403653 - Part 3 - Use the Lightweight Theme accent colour for the status bar in normal mode. r=nechen
If the theme doesn't provide an accent colour, we try determining something appropriate ourselves.

MozReview-Commit-ID: B5TSeIFsBIK

--HG--
extra : rebase_source : b82b8d5feeb16e466e4d4f4cee48b2493fe3301a
2017-09-27 21:08:14 +02:00
Jan Henning 72f7dc1f64 Bug 1403653 - Part 2 - Split out conversion from ColorRes to ColorInt into separate function. r=nechen
MozReview-Commit-ID: 8tDBT7kR9XF

--HG--
extra : rebase_source : 86449f2f0b3085e1a4961161a609b8a5f7c130f3
2017-09-27 21:27:28 +02:00
Jan Henning 3fe1971e3f Bug 1403653 - Part 1 - Refactor getDominantColor. r=nechen
We want to use the Palette library for getting a fallback accent colour for lightweight themes, however because of bug 1318667, we might have to continue using our own implementation of getDominantColor on x86 devices.

Therefore we move this into BitmapUtils, so we can have a central location from which to switch between our own and the Palette library implementation.

MozReview-Commit-ID: 52WsfZbW12x

--HG--
extra : rebase_source : b0eb60c25355d1a13418844b5684e4356225e8c3
2017-10-14 19:23:03 +02:00
Jan Henning c17ea32a4f Bug 1403653 - Part 0 - Cleanup imports. r=JanH
MozReview-Commit-ID: KLXJSCNTLSC

--HG--
extra : rebase_source : a626bc49b2db84bd693873da11650001cda2920a
2017-10-14 19:24:02 +02:00
Sebastian Hengst 7a58f3459f Backed out changeset 66232f26609e (bug 1403653) for Android bustage at mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/BitmapUtils.java:23: package android.support.v7.graphics does not exist. r=backout
--HG--
extra : amend_source : 4a8609e5ed39528b45021a9aece48f0ad4c71186
2017-10-22 11:54:25 +02:00
Sebastian Hengst b8673b6c5b Backed out changeset e40240828163 (bug 1403653) 2017-10-22 11:54:19 +02:00
Sebastian Hengst 833ceb4d50 Backed out changeset 1e66240eb8b6 (bug 1403653) 2017-10-22 11:54:14 +02:00
Sebastian Hengst 20ac5878dd Backed out changeset f36de129726f (bug 1403653) 2017-10-22 11:54:09 +02:00
Sebastian Hengst 75dc1431ee merge mozilla-central to autoland. r=merge a=merge 2017-10-22 11:36:08 +02:00
Jan Henning 32006c1e42 Bug 1403653 - Part 3 - Use the Lightweight Theme accent colour for the status bar in normal mode. r=nechen
If the theme doesn't provide an accent colour, we try determining something appropriate ourselves.

MozReview-Commit-ID: B5TSeIFsBIK

--HG--
extra : rebase_source : 0dba0b8d0280461d2006f228b1d3352d439bb26b
2017-09-27 21:08:14 +02:00
Jan Henning 9088ecc81a Bug 1403653 - Part 2 - Split out conversion from ColorRes to ColorInt into separate function. r=nechen
MozReview-Commit-ID: 8tDBT7kR9XF

--HG--
extra : rebase_source : aba767491182f5066d3cc3988c822366f40ec145
2017-09-27 21:27:28 +02:00
Jan Henning 45de111d36 Bug 1403653 - Part 1 - Refactor getDominantColor. r=nechen
We want to use the Palette library for getting a fallback accent colour for lightweight themes, however because of bug 1318667, we might have to continue using our own implementation of getDominantColor on x86 devices.

Therefore we move this into BitmapUtils, so we can have a central location from which to switch between our own and the Palette library implementation.

MozReview-Commit-ID: 52WsfZbW12x

--HG--
extra : rebase_source : b7e66c027ef6c4a6aa01fcda6d17b6afb2e854a9
2017-10-14 19:23:03 +02:00
Jan Henning a8f417416f Bug 1403653 - Part 0 - Cleanup imports. r=JanH
MozReview-Commit-ID: KLXJSCNTLSC

--HG--
extra : rebase_source : ec15bc6564977b3657200f007027f535e6df2565
2017-10-14 19:24:02 +02:00
bechen@mozilla.com c09e4a8ee9 Bug 1183495 - part3: Remove mozSrcObject usage. r=jwwang
MozReview-Commit-ID: Gtpne3O0pBQ

--HG--
extra : rebase_source : 87544aa023e5ac079a8ae02de77e2aeab91e97cf
2017-10-20 11:23:41 +08:00
Thom Chiovoloni b367ef8b16 Bug 1404044 - Prevent android sync from failing on overlarge timestamps in password sync r=Grisha
This was done by way of hacking our vendored version of org.simple.json.

MozReview-Commit-ID: GpTFpmeevVN

--HG--
extra : rebase_source : 2a29b53919a617e2ea89d776a53a43257959bc22
2017-10-20 15:46:05 -04:00
Nevin Chen 3cbea4f6ef Bug 1409268 - Add telemetry for pwa badge and oboarding usage. r=maliu
MozReview-Commit-ID: KGB5Fn5MI4A

--HG--
extra : rebase_source : df6417f6dfbcbb578971f22e81eff9dbcc94baf4
2017-10-19 11:05:45 +08:00
Nevin Chen 7060d6c762 Bug 1409403 - Update badge icon for PWA. r=walkingice
MozReview-Commit-ID: IHaVLQ8xWPt

--HG--
extra : rebase_source : 7fbd0f40f936bf296811eb745567fca08c2f12d7
2017-10-19 20:45:31 +08:00
Nevin Chen d658fd5d7b Bug 1331290 - Refactor the code about closing all opening tabs. r=JanH,rnewman
MozReview-Commit-ID: LxcY1MyOypF

--HG--
extra : rebase_source : f783e21e6f8d47157f7269fdd957f29d950d2c31
2017-09-21 14:12:40 +08:00
Nevin Chen(:nechen) 41b31d8778 Bug 1410338 - Incorrect color for History Panel message. r=nechen
MozReview-Commit-ID: A1QmvbFt7ok

--HG--
extra : rebase_source : 8ec9b4f087e9c54a8b3587c043df844750430945
2017-10-23 12:06:21 +08:00
Nevin Chen 8411a8a121 Bug 1396714 Remove Gecko pref 'mma.enabled' r=maliu
MozReview-Commit-ID: 8CG11OS1XlL

--HG--
extra : rebase_source : 259a398a6e4b21ec15c5f61f5edceace01b5f066
2017-09-05 13:36:49 +08:00
Jing-wei Wu a811669c7f Bug 1395841 - Part 2: Support creating a shortcut from page option in menu. r=snorp
When page option 'add page shortcut' is clicked, creating a shortcut(not PWA) on launcher.
Also make sure that heavy tasks are executed in background thread.

MozReview-Commit-ID: 8KtwdXENtEd

--HG--
extra : rebase_source : 870c3f18f72b83b8033815893f3b90461fd9b1ed
2017-09-28 10:57:48 +08:00
Jing-wei Wu cce9fa457f Bug 1395841 - Part 1: Change page option strings fom 'add to home screen' to 'add page shortcut'. r=snorp
MozReview-Commit-ID: 9fFN9aYEI3v

--HG--
extra : rebase_source : 432207551bd4bc05d63fe5f3f5bc74f1e190fc74
2017-09-27 17:31:30 +08:00
Nevin Chen 07f054650f Bug 1409191 - Prefetch manifest before install. r=snorp
This is a "hacked" fix. The key idea is to specify the value in manifest on "add to home screen confirm prompt."
We need to reuse prefetch result for  manifest.install().

The plan is to land this patch before Chrome Dev Summit(10/30) for demostration and fix the rest of the issue in a follow up bug.

MozReview-Commit-ID: A4B0ZK7UjyK

--HG--
extra : rebase_source : a91a490a08cb4ec18e5ff9f2e78f11efa6fdd98b
2017-10-19 00:59:58 +08:00
Edouard Oger 88c4f8f959 Bug 1407743 - Show display name or "Firefox Accounts" in sync preference button. r=Grisha
MozReview-Commit-ID: HO7sOGrGNks

--HG--
extra : rebase_source : a5934bb3daf5384eb1cf3faab1c05ed780b91cf2
2017-10-13 15:41:57 -04:00
Sebastian Hengst 24583b9443 merge mozilla-central to autoland. r=merge a=merge 2017-10-20 01:08:09 +02:00
Sebastian Hengst 20d769ea9c merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Gc5JIILUrPi
2017-10-20 00:05:39 +02:00