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

25217 Коммитов

Автор SHA1 Сообщение Дата
Margareta Eliza Balazs 6e01e6ff85 Merge mozilla-central to inbound. r=merge a=merge CLOSED TREE 2017-12-13 00:06:03 +02:00
Ben Kelly 7fb7be80ac Bug 1293277 P3 Remove the dom.serviceWorkers.openWindow.enabled pref. r=baku 2017-12-12 15:44:47 -05:00
Boris Zbarsky 022fdd6e61 Bug 1424362. Change test_exceptionSanitization.html to not depend on feed: protocol bits, because those are going away. r=qdot
MozReview-Commit-ID: ESBwyNuMF9X
2017-12-08 22:01:16 -05:00
Gurzau Raul 0fcc1a37e6 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-09 00:57:59 +02:00
Ted Mielczarek 8b7140ce04 bug 1424323 - remove MOZ_AUTOMATION_UPLOAD_SYMBOLS from in-tree mozconfigs. r=rillian
With all of our builds in Taskcluster now, we should never be uploading
symbols from build tasks. Unfortunately Windows builds were still doing so.
This patch removes MOZ_AUTOMATION_UPLOAD_SYMBOLS from all the in-tree
mozconfigs and a few other places so that it should always default off
(per moz-automation.mk). The rest of the uploadsymbols bits will be
removed once Thunderbird fixes their automation.

This patch was mostly autogenerated by running:
rg --files-with-matches UPLOAD_SYMBOLS browser/config/mozconfigs/ mobile/android/config/mozconfigs/ | xargs sed -ri '/.*UPLOAD_SYMBOLS.*/d'
sed -ri '/.*UPLOAD_SYMBOLS.*/d' build/unix/mozconfig.linux build/mozconfig.win-common build/macosx/local-mozconfig.common build/mozconfig.automation

Then mobile/android/config/mozconfigs/common and
taskcluster/scripts/builder/build-linux.sh were hand-edited.

MozReview-Commit-ID: Cy8kSEodSg4

--HG--
extra : rebase_source : 01caf1651b4eb428313e1f371aa585f8f34c4151
2017-12-08 13:50:17 -05:00
Kris Maglione 4a4c4fdfd4 Bug 1421459: Update to ESLint 4 "indent" rule. r=aswan
MozReview-Commit-ID: LxLDWlsIlSk

--HG--
extra : rebase_source : 5762bdf08ff6c09c1b29f87366bddb552e4c74b2
extra : amend_source : 922a0c03722bd5a81daace7f0289ec3228191cfb
2017-11-28 14:13:59 -08:00
Cosmin Sabou c191e25cf5 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-08 11:56:44 +02:00
Geoff Brown 6b6a2f5071 Bug 1424005 - Add support for an Android 7.0 x86_64 avd in 'mach android-emulator'; r=me, a=test-only
This enables 'mach android-emulator --version x86-7.0'. Works great for me!
2017-12-07 18:23:39 -07:00
Tom Prince 1d74db87ce Bug 1424651: Remove unused SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE mozconfig variable; r=ted.mielczarek
MozReview-Commit-ID: CkIg3fiwp1z

--HG--
extra : rebase_source : 5a4a50c8feb477a9b50c30e35b72a316b1f1bc8c
2017-12-10 23:05:05 -07:00
Dorel Luca 2f271a1136 Backed out 4 changesets (bug 1424651) as requested by tomprice r=backout on a CLOSED TREE
Backed out changeset 10ebf78f32bb (bug 1424651)
Backed out changeset 746d96792d18 (bug 1424651)
Backed out changeset 6038fb7b458c (bug 1424651)
Backed out changeset 189fd4f1df41 (bug 1424651)
2017-12-12 06:33:18 +02:00
Tom Prince 4dfc8f7a46 Bug 1424651: Remove unused SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE mozconfig variable; r=ted.mielczarek
MozReview-Commit-ID: CkIg3fiwp1z

--HG--
extra : rebase_source : 475e2d8888ff4b93efa9886581de9d145b51c51c
2017-12-10 23:05:05 -07:00
Michael Kaply 622473375e Bug 1417678 - New search defaults for browser and mobile. r=florian,mconnor
MozReview-Commit-ID: FP9f7QbXZAV

--HG--
extra : rebase_source : 50d2345c6c3d40b4a0274380c13cd816f1dd0703
2017-12-01 11:43:54 -06:00
Andrew Swan 0a51e1ac64 Bug 1263313 Remove search pane from about:addons r=rhelmer
Also remove related code that was only used from here including
stuff related to marketplace purchases, etc.

MozReview-Commit-ID: ESX78tVQK7M

--HG--
extra : rebase_source : 56d956168f75cdc40fd3df057e41493f80733352
2017-12-05 21:17:13 -08:00
Nick Alexander 0dc2a55a74 Bug 1417232 - Part 4: Tweak Gradle targets. r=ted.mielczarek
These were just incorrect or unnecessary.

MozReview-Commit-ID: AH6z70e4ErF

--HG--
extra : rebase_source : aa6ba361849dc837941a66339dba0b6afa210d38
2017-11-10 11:38:39 -08:00
Nick Alexander ac6d84fa56 Bug 1417232 - Part 3: Extract magic Gradle configuration from |mach android *|. r=ted.mielczarek
This pushes all of the magic Gradle targets into gradle.configure,
which is the most accessible central place for them.  Some impact the
build, so they almost certainly need to be in moz.configure; and its
better to have one central place to update than many places.

Gradle has a notion of configurations.  Fennec determines many
configurations, only one of which is used in automation; and right
now, that one is "officialPhotonDebug".  Evolving the "one true"
configuration is frustrating, and this helps with that.  Post
Android-Gradle plugin 3.0+, we can do better and also extract the
configuration details for the :geckoview and :geckoview_example Gradle
projects, but right now they are ad-hoc and can't really be improved.

MozReview-Commit-ID: LdGE05zn2H1

--HG--
extra : rebase_source : db7e9fe90f2bd1ae5058af046a66edd0cd549141
2017-11-10 15:39:09 -08:00
Nick Alexander 0cf6550d5a Bug 1417232 - Part 2: Extract magic Gradle configuration from build into |mach android assemble-app|. r=ted.mielczarek
These magic locations evolve over time.  Baking them into
moz.configure is the easiest way to share them across the build
system, and pushing them into a new |mach android *| command continues
a pattern that has been very successful.

MozReview-Commit-ID: CyxVQ0LHHgl

--HG--
extra : rebase_source : 8350d71665f0126aa4ee2c8fec32c4b8e34dc772
2017-11-08 15:27:36 -08:00
Nick Alexander e7f29934ad Bug 1417232 - Part 1: Move Treeherder report logging to mach command. r=ted.mielczarek
This was in Gradle due to history.  When this first landed, we invoked
Gradle directly from the mozharness, and the best way to print the
report URLs was from Gradle itself.  When the Android Gradle suites
were made tier 1, little harnesses (|mach android
{checkstyle,findbugs,lint,test}|) were written and invoked locally and
in automation.  This functionality should have migrated with them.

This removes the special Gradle target names from the Gradle
configuration, making it easier to change them in the future.

MozReview-Commit-ID: 1KPd3J5t82Q

--HG--
extra : rebase_source : 1da85e31c113bc9da138817bebf981af8b9b66dd
2017-12-07 10:14:57 -08:00
Nick Alexander 2d84ab6e71 Bug 1417232 - Part 0: Extract |mach android archive-geckoview|. r=ted.mielczarek
We've had good success with |mach android *| for invoking test suites
and other Gradle-related features; this was just an oversight.  The
real advantage is that almost all of the magic Gradle targets are now
in mobile/android/mach_commands.py and not scattered throughout the
tree.  That'll make it easier to move the actual Gradle configuration
choices forward in the future.

MozReview-Commit-ID: GI1pUHHfXeO

--HG--
extra : rebase_source : 9d7b98e968a2537f8dd1ffd0646c51ffe429bd57
2017-11-10 09:05:57 -08:00
shindli 53c3b17b09 Backed out 6 changesets (bug 1417232) for failing in /python/mozbuild/mozbuild/test/configure/lint.py::Lint::test_mobile_android r=backout on a CLOSED TREE
Backed out changeset 06e72cdd94a5 (bug 1417232)
Backed out changeset 036308b8fe6b (bug 1417232)
Backed out changeset bb63e12fea6f (bug 1417232)
Backed out changeset d0a9d2d4c5b7 (bug 1417232)
Backed out changeset b613dde03d99 (bug 1417232)
Backed out changeset 8699e19b02e5 (bug 1417232)
2017-12-08 01:25:05 +02:00
Nick Alexander 0497507258 Bug 1417232 - Part 4: Tweak Gradle targets. r=ted.mielczarek
These were just incorrect or unnecessary.

MozReview-Commit-ID: AH6z70e4ErF

--HG--
extra : rebase_source : e6d172ebb71a410ed3414b27c97d39c364ba942d
2017-11-10 11:38:39 -08:00
Nick Alexander e8c5070b81 Bug 1417232 - Part 3: Extract magic Gradle configuration from |mach android *|. r=ted.mielczarek
This pushes all of the magic Gradle targets into gradle.configure,
which is the most accessible central place for them.  Some impact the
build, so they almost certainly need to be in moz.configure; and its
better to have one central place to update than many places.

Gradle has a notion of configurations.  Fennec determines many
configurations, only one of which is used in automation; and right
now, that one is "officialPhotonDebug".  Evolving the "one true"
configuration is frustrating, and this helps with that.  Post
Android-Gradle plugin 3.0+, we can do better and also extract the
configuration details for the :geckoview and :geckoview_example Gradle
projects, but right now they are ad-hoc and can't really be improved.

MozReview-Commit-ID: LdGE05zn2H1

--HG--
extra : rebase_source : 3cf360a814ed4927ec6c767b42448285ed2ffb35
2017-11-10 15:39:09 -08:00
Nick Alexander d1d1541e8d Bug 1417232 - Part 2: Extract magic Gradle configuration from build into |mach android assemble-app|. r=ted.mielczarek
These magic locations evolve over time.  Baking them into
moz.configure is the easiest way to share them across the build
system, and pushing them into a new |mach android *| command continues
a pattern that has been very successful.

MozReview-Commit-ID: CyxVQ0LHHgl

--HG--
extra : rebase_source : 8350d71665f0126aa4ee2c8fec32c4b8e34dc772
2017-11-08 15:27:36 -08:00
Nick Alexander b76185017f Bug 1417232 - Part 1: Move Treeherder report logging to mach command. r=ted.mielczarek
This was in Gradle due to history.  When this first landed, we invoked
Gradle directly from the mozharness, and the best way to print the
report URLs was from Gradle itself.  When the Android Gradle suites
were made tier 1, little harnesses (|mach android
{checkstyle,findbugs,lint,test}|) were written and invoked locally and
in automation.  This functionality should have migrated with them.

This removes the special Gradle target names from the Gradle
configuration, making it easier to change them in the future.

MozReview-Commit-ID: 1KPd3J5t82Q

--HG--
extra : rebase_source : 1da85e31c113bc9da138817bebf981af8b9b66dd
2017-12-07 10:14:57 -08:00
Nick Alexander 0801b79cd4 Bug 1417232 - Part 0: Extract |mach android archive-geckoview|. r=ted.mielczarek
We've had good success with |mach android *| for invoking test suites
and other Gradle-related features; this was just an oversight.  The
real advantage is that almost all of the magic Gradle targets are now
in mobile/android/mach_commands.py and not scattered throughout the
tree.  That'll make it easier to move the actual Gradle configuration
choices forward in the future.

MozReview-Commit-ID: GI1pUHHfXeO

--HG--
extra : rebase_source : 9d7b98e968a2537f8dd1ffd0646c51ffe429bd57
2017-11-10 09:05:57 -08:00
Nevin Chen c739d3f3f1 Bug 1406011 - include 'whether Firefox is default browser' as part of core ping. r=maliu
MozReview-Commit-ID: HfJ1XwELa0P

--HG--
extra : rebase_source : 0f304204d52df50b6a9673ed2940caa050212070
2017-12-05 16:44:39 +08:00
Dorel Luca 1208bc03a7 Merge mozilla-central to autoland r=merge on a CLOSED TREE
--HG--
extra : rebase_source : 5f22b0e83fd5f1b28e0c1ebbcc429c332835eb36
2017-12-07 00:27:29 +02:00
Dorel Luca ed8dc2034d Merge inbound to mozilla-central r=merge a=merge 2017-12-07 00:01:19 +02:00
Eugen Sawin 7beeeaa987 Bug 1422405 - [1.1] Add shutdown intent for geckoview_example. r=jchen 2017-12-06 18:49:33 +01:00
James Cheng d04758259c Bug 1423518 - Add Samsung Galaxy S4 Mini GT-I9195 into blacklist. r=jolin
MozReview-Commit-ID: LYqXif8kMmm

--HG--
extra : rebase_source : 6bd80e121c0d96a4b6092740d2f3434b5a7eba19
2017-12-06 18:02:00 +08:00
Chris H-C 7144c7d031 bug 1408416 - Remove inconsistent Telemetry strings from About dialogs r=Dexter
On nightly and aurora we have supplemental strings about Telemetry in the About
dialog/section. However, we already open the data policy tab (Desktop) and
notification (Mobile) on nightly, aurora, -and beta- to more accurately tell
users about our data policies.

So let's remove the inconsistently-applied semi-hard-to-find strings.

MozReview-Commit-ID: 3zjXQwi9r7v

--HG--
extra : rebase_source : af9728dd1ff2161ff028f85ebf7f93c22eae0181
2017-12-05 11:05:53 -05:00
Zibi Braniecki a5600cdb98 Bug 1414390 - Add intl.locale.requested locale list to replace general.useragent.locale. r=jfkthame,mossop
This patch moves us from using an old pref `general.useragent.locale`combined
with `intl.locale.matchOS` for retrieving user requested locale, to use a new
preference `intl.locale.requested` which stores a list of well-formed BCP47
language tags. If set to empty, the OS locales are used. If not set at all,
default locale is used.

We are also adding a piece of code to migrate from old to new system.


MozReview-Commit-ID: 854yQ1kC6Ee

--HG--
extra : rebase_source : c4a7171bc026f857f7878ee83d973ec01b536a84
2017-11-01 20:16:21 -07:00
Zibi Braniecki e62b350d3b Bug 1422997 - Fix multilocale.json in repacks. r=Pike
MozReview-Commit-ID: 8KBNmesxhpY

--HG--
extra : rebase_source : d7e483df25d9a58961c9486dfe09a51437394ee3
2017-12-04 16:14:23 -08:00
Jim Chen 2119c96737 Bug 1423010 - 3. Clean up o.m.g.gfx package; r=rbarker
Remove unused classes and make classes that are not used outside of the
package package-private.

MozReview-Commit-ID: 9FxcL5QsM1Q

--HG--
extra : rebase_source : d9ed39d06a0e2aadec131d06c92cb11ef342a320
2017-12-05 11:40:10 -05:00
Jim Chen 93f25f7335 Bug 1423010 - 2. Fix other code that use BitmapUtils; r=rbarker
Use o.m.g.util.BitmapUtils in code that use BitmapUtils.

MozReview-Commit-ID: KPM05Aqf1kW

--HG--
extra : rebase_source : ea910333fc195b329ef41bf168d0299584e63d20
2017-12-05 11:40:10 -05:00
Jim Chen dadd929ff8 Bug 1423010 - 1. Move BitmapUtils to util package; r=rbarker
I think BitmapUtils is better suited for the o.m.g.util package instead
of o.m.g.gfx, since none of the other classes in gfx actually use
BitmapUtils.

MozReview-Commit-ID: IEwSIb5h9Y7

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/BitmapUtils.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/BitmapUtils.java
extra : rebase_source : 3960fbd5172b745b3a41d1da8e855a2a539ed906
2017-12-05 11:40:10 -05:00
Cameron McCormack 544acb33d3 Bug 1417837 - Part 3: Replace all IDs in about:reader documents with class names. r=Gijs
Since the readerized article content will have its class names stripped
but will retain its original IDs, and we don't want our aboutReader.css
rules targetting UI elements to match anything in the article.

MozReview-Commit-ID: JuXTo8Nth5Q

--HG--
extra : rebase_source : dde58f56e55f82ddda364ec5978e43fe71be875c
2017-11-30 11:55:32 +08:00
Cameron McCormack 0c46625eab Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
MozReview-Commit-ID: 8C65ljtFDrh

--HG--
extra : rebase_source : 442d8cbaf7f7252b6b6393845d2d09e265678ae9
2017-11-16 17:58:37 +08:00
David Keeler 36f5d05cd8 bug 1397837 - remove vestigial references to "code signing" from PSM r=Cykesiopka,snorp
As of bug 1257362, the platform does not verify code signing certificates in
general, so anything involving the code signing trust of certificates can go.

MozReview-Commit-ID: 9g9kM62xfYZ

--HG--
extra : rebase_source : 5bec64e5f451c8433aff0de82a91f7bd54c24608
2017-12-01 16:16:20 -08:00
Jan Henning fca799f015 Bug 1413739 - Part 2 - Simple test for handling of an ACTION_ASSIST intent. r=nechen
assertUrl wasn't used before and getUrlEditText().getText() returns a
SpannableStringBuilder, so we need to add a toString() conversion there in order
to successfully use it.

MozReview-Commit-ID: 9BtZWDRstdD

--HG--
extra : rebase_source : bef971f37f99f60baad4fe1c88f2ef7b6b9e6f2f
2017-12-03 21:03:47 +01:00
Jan Henning d3f7376545 Bug 1413739 - Part 1 - Offer Firefox itself as an Assist App. r=nechen
The technique for setting our icon is just a straight reimplementation
of bug 1210242.

Because of the way the new tab might be opened from within a
processActionViewIntent Runnable, we can't enter editing mode by simply
listening for an ACTION_ASSIST intent from within BrowserApp, as we need to
enter editing mode *after* the correct tab has already been opened and selected
and BrowserApp doesn't get any hint on when that Runnable might have run.

Instead, we introduce a new tab event, so we can trigger editing mode at the
right time via the tab itself.

MozReview-Commit-ID: 8Bvv5TXyhhI

--HG--
extra : rebase_source : 92f6131098e1c2a8e810431aa82e68e7e422cfd1
2017-12-03 21:16:03 +01:00
Bogdan Tara be0e9ed9c8 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-12-04 22:46:08 +02:00
L10n Bumper Bot d9b3452d66 no bug - Bumping Fennec l10n changesets DONTBUILD r=release a=l10n-bump
vi -> ['android', 'android-api-16', 'android-multilocale']
2017-12-04 12:40:52 -08:00
Jim Chen d9c1816b68 Bug 1416330 - 5. Remove LayerView; r=rbarker
Remove LayerView now that it's no longer used. FullScreenState is
obsolete as well and is removed.

MozReview-Commit-ID: Jt7OMAoarOJ

--HG--
extra : rebase_source : da9285999fe093c41ea6d7693cf9255c0db1d688
2017-12-04 11:50:20 -05:00
Jim Chen be7056007e Bug 1416330 - 4. Use CompositorController in Robocop; r=gbrown
Use the new CompositorController to access draw callbacks and pixel
getter. These methods now require calling on the UI thread, so the code
in Robocop now explicitly post runnables to the UI thread. Prior to
this, we were implicitly posting to the UI thread anyways, so the end
result is the same as before.

MozReview-Commit-ID: 7Mkjdc9hUNr

--HG--
extra : rebase_source : 821f72573200021604cdacf158d0989d1ecabf32
2017-12-04 11:50:20 -05:00
Jim Chen 203776418e Bug 1416330 - 3. Update Fennec code to not use LayerView; r=rbarker
Use GeckoSession/LayerSession or GeckoView in Fennec code instead of
using LayerView.

MozReview-Commit-ID: Iod7XsqKy1e

--HG--
extra : rebase_source : 5917540422698f5526ca373f17c4358a712cdcef
2017-12-04 11:50:20 -05:00
Jim Chen 5477ffbc19 Bug 1416330 - 2. Stop using LayerView in GeckoView; r=rbarker
Implement the setSurfaceBackgroundColor functionality in a new
coverUntilFirstPaint method. Because we no longer rely on any LayerView
functionality, GeckoView now inherits directly from FrameLayout.

MozReview-Commit-ID: 3xgWsgk64GM

--HG--
extra : rebase_source : 1185e40456ffce6c40676230e6f921dd0f3cbc3e
2017-12-04 11:50:20 -05:00
Jim Chen 6ad1d8bbfb Bug 1416330 - 1. Add CompositorController; r=rbarker
Add CompositorController and LayerSession.getCompositorController for
accessing miscellaneous compositor-related methods such as adding draw
callbacks and getting pixels.

A simple Runnable is used for draw callbacks instead of using the
DrawListener interface from LayerView. A first-paint callback is added
to implement the "clear surface background on first paint" requirement
when switching between documents in Fennec.

MozReview-Commit-ID: 8pE1B5HYe2w

--HG--
extra : rebase_source : abd35b189d04073c203b542fb9f9ef763027e117
2017-12-04 11:50:20 -05:00
Michael Kaply abee2315cf Bug 1422881 - Handle null activity broadcasts. r=snorp
MozReview-Commit-ID: JE2k2NODild

--HG--
extra : rebase_source : 0c1adf5e72ec033ade37b69dbfcec3b1dbae9fe7
2017-12-04 12:13:45 -06:00
Dorel Luca 5343debb6a Backed out 3 changesets (bug 1417837) for failing browser/chrome/test_media_playback.html r=backout on a CLOSED TREE
Backed out changeset 9556f12b4058 (bug 1417837)
Backed out changeset 49a463e85e42 (bug 1417837)
Backed out changeset 7a76f2363663 (bug 1417837)
2017-12-04 14:59:31 +02:00
Jamie Nicol 834586be68 Bug 1421586 - Limit maximum number of SurfaceTextures in existence. r=snorp
Limit the number of SurfaceTextures to ensure that we do not reach the
process's fd limit. 200 was chosen as the limit because it allows for
more tiles than any reasonable page should require, yet should not
come close to the 1024 fd limit, even with 2 fds (buffer and sync
fence) per SurfaceTexture.

MozReview-Commit-ID: F21H1Rj4FVF

--HG--
extra : rebase_source : 379b460c8067cc3c5aa11a47cc66f865bae1ac64
2017-11-29 16:08:12 +00:00