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

27426 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 0dcf936804 Bug 1510911 - Part 2: Backout changeset f8849239da42 (bug 1493563 - Part 5) for regressing performance 2018-12-03 14:27:53 -05:00
Andrei Lazar 6e2e2a7b48 Bug 1499618 Crash in java.lang.IllegalArgumentException: at android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java) r=JanH
Added fallback for the cases where trying to obtain a file absolute path from
external storage was throwing an exception.

Differential Revision: https://phabricator.services.mozilla.com/D9248

--HG--
extra : rebase_source : 7f6386e0dd47e503c412e6e9b552e8bf935851c9
extra : source : 3ad6353532ad19cc566c6f44bb47eb514987cc99
2018-11-21 16:33:38 +00:00
Coroiu Cristina 3564dfde3b Merge inbound to mozila-central a=merge 2018-12-01 07:46:00 +02:00
Hiroyuki Ikezoe 5a914f5919 Bug 1510214 - Set initial-scale=1 to avoid the content elements are placed at unexpected positions. r=eeejay
Depends on D13172

Differential Revision: https://phabricator.services.mozilla.com/D13375

--HG--
extra : moz-landing-system : lando
2018-11-30 17:21:09 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Razvan Maries 77d87d9972 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-30 05:13:14 +02:00
Razvan Maries 530163105d Merge mozilla-inbound to mozilla-central a=merge 2018-11-30 05:05:29 +02:00
Andrew Swan 48f9912c8b Bug 857456 Follow-up: temporarily disable addon test in testDistribution.java rs=nalexander
--HG--
extra : rebase_source : 42558b53fd64c91f130c091ed415dbf25e61f06b
extra : amend_source : 0ebf6a2af83981b7350d3ac18f32e1776ed10e4f
2018-11-29 15:42:08 -08:00
Razvan Maries 326dd87a7b Backed out 4 changesets (bug 1509573) for unexpected bustages a=backout.
Backed out changeset ace2d2ada8ef (bug 1509573)
Backed out changeset 059741f95cf4 (bug 1509573)
Backed out changeset 36cf7b9ce095 (bug 1509573)
Backed out changeset d7e0661e34c2 (bug 1509573)

--HG--
extra : amend_source : b2bd61c3d8c9db3686bf0d9773f0b53e69174789
2018-11-30 01:40:06 +02:00
Kartikaya Gupta 012998beae Bug 1510946 - Guard against a null external files dir. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D13401

--HG--
extra : moz-landing-system : lando
2018-11-29 14:24:24 +00:00
Coroiu Cristina 3ba5c153be Merge mozilla-central to autoland a=merge 2018-11-29 06:38:18 +02:00
Coroiu Cristina e92b0f1d7f Merge inbound to mozilla-central a=merge 2018-11-29 06:27:40 +02:00
Geoff Brown bea83b7523 Bug 1505536 - Add Android x86-64 debug builds; r=nalexander 2018-11-28 15:46:37 -07:00
Geoff Brown 35c2d7106c Bug 1467868 - Support Android aarch64 artifact builds; r=nalexander 2018-11-28 15:46:37 -07:00
Coroiu Cristina b8bc09a5b5 Merge mozilla-central to inbound a=merge on a CLOSED TREE
--HG--
rename : python/mozrelease/test/data/Firefox-62.0b11.update.json => python/mozrelease/test/data/Firefox-64.0b13.update.json
extra : rebase_source : 6eb078869182f40343e201993c0d0442ed96ad46
2018-11-29 00:34:07 +02:00
Coroiu Cristina d4aafa8e1c Merge inbound to mozilla-central a=merge 2018-11-28 23:49:09 +02:00
Andrei Lazar 1244b5fed9 Bug 1502721 Crash in java.lang.NumberFormatException: at java.lang.Long.parseLong(Long.java) r=JanH
Added catch for NumberFormatException that may be thrown when trying to open some downloaded files with Fennec.

Differential Revision: https://phabricator.services.mozilla.com/D12773

--HG--
extra : moz-landing-system : lando
2018-11-28 20:45:44 +00:00
Nick Alexander 017054253f Bug 1509573 - Part 4: Use |make -C ... stage-package| rather than special Make target. r=snorp
This splits the two stage-package invocations (which are rather slow)
between Fennec and GeckoView, hopefully speeding local GV development
up a little (in the IDE).

In addition, we feed the packaged libs (and asset libs) through.

Differential Revision: https://phabricator.services.mozilla.com/D12799

--HG--
extra : moz-landing-system : lando
2018-11-28 19:47:48 +00:00
Nick Alexander f5cdc551cb Bug 1509573 - Part 2: Use |mach build faster| rather than special Make target. r=snorp
This uses |mach build faster| rather than a custom target, reducing
Make magic and making it easier to reason about the Gradle build.  I
also took the opportunity to improve the task logging.

Differential Revision: https://phabricator.services.mozilla.com/D12797

--HG--
extra : moz-landing-system : lando
2018-11-28 19:46:35 +00:00
Nick Alexander 28bf110c5c Bug 1509573 - Part 1: Make |mach build faster| handle Android generated files. r=froydnj
This is just an awkward feature of the FasterMake build system:
without a direct consumer, GENERATED_FILES aren't handled.  We
"consume" them into a dummy directory that isn't packaged.  Sadly, the
FasterMake generic rule doesn't handle relative directories smoothly,
so we have to special case that too.

Differential Revision: https://phabricator.services.mozilla.com/D12796

--HG--
extra : moz-landing-system : lando
2018-11-28 19:46:16 +00:00
Brindusan Cristian eb07b312bf Backed out 3 changesets (bug 1486659) as requested by jhlin on irc for breaking video playback on Android and causing regression Bug 1510464. a=backout
Backed out changeset 9c2834ca8823 (bug 1486659)
Backed out changeset 5d897c0c7a25 (bug 1486659)
Backed out changeset b0fdcebfd20d (bug 1486659)
2018-11-28 19:09:13 +02:00
Cosmin Sabou e1e8f2ea69 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-28 06:08:19 +02:00
Randall Barker 2b3ed2f223 Bug 1503039 - Add tests for GeckoView MediaElement r=snorp,esawin,imanol
Differential Revision: https://phabricator.services.mozilla.com/D10137

--HG--
extra : moz-landing-system : lando
2018-11-27 21:58:46 +00:00
Ryan Hendrickson c81dc8dd55 Bug 1500479 - Part 2: expose tab successors in browser.tabs; r=mixedpuppy,rpl
1. Add successorTabId to the Tab type, so that it will be returned in, e.g.,
   browser.tabs.get calls

2. Extend or create the following methods on the browser.tabs API:
  - update: add successorTabId as an optional property on the provided
    updateProperties object
  - moveInSuccession: new method that manipulates tab successors in bulk

Differential Revision: https://phabricator.services.mozilla.com/D9272

--HG--
extra : moz-landing-system : lando
2018-11-26 04:17:00 +00:00
Ryan Hendrickson 86f002c544 Bug 1500479 - Part 1: browser.tabs.onActivated; r=mixedpuppy,rpl,JanH
Add an optional previousTabId property to the onActivated event,
which is present if the previously activated tab is still open.

Differential Revision: https://phabricator.services.mozilla.com/D9271

--HG--
extra : moz-landing-system : lando
2018-11-26 04:16:30 +00:00
Eugen Sawin 29cc0db15f Bug 1509266 - [2.0] Update onContextMenu delegate implementations. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D12968

--HG--
extra : moz-landing-system : lando
2018-11-27 20:30:47 +00:00
Eugen Sawin 29411ef725 Bug 1509266 - [1.3] Extend element information passed to ContentDelegate.onContextMenu. r=snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D12967

--HG--
extra : moz-landing-system : lando
2018-11-27 20:29:04 +00:00
Andrea Marchesini f399725b04 Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set - fix tests, r=me 2018-11-28 08:22:06 +01:00
Razvan Maries d696b8eb57 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-11-29 23:46:52 +02:00
James Willcox 8b93c8d019 Bug 1507206 - Load error pages in TestRunnerActivity r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D11909

--HG--
extra : moz-landing-system : lando
2018-11-27 17:02:14 +00:00
Gabriele Svelto 566f669d07 Bug 1509450 - Remove unnecessary inclusions of ContentParent.h and ContentChild.h r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D12728

--HG--
extra : moz-landing-system : lando
2018-11-26 14:49:44 +00:00
Petru Lingurar 93fd1e4504 Bug 1504780 - Prevent crash if GeckoProfile path is not known; r=geckoview-reviewers,snorp
In this case the profile name will be null, situation already handled, in which
a telemetry ping about the crash will not be sent but the crash can still be
reported to crash-stats.

Differential Revision: https://phabricator.services.mozilla.com/D12741

--HG--
extra : moz-landing-system : lando
2018-11-26 19:21:56 +00:00
Agi Sferro 8c2506838e Bug 1508442 - add protected constructor to field-only classes in GeckoView. r=snorp,esawin
This adds a dummy `protected`, empty constructor to all field-only classes that
don't have one or can't because the constructor uses a private API. This will
allow embedders to mock our field-only classes or construct them without having
to use reflection.

Depends on D12550

Differential Revision: https://phabricator.services.mozilla.com/D12934

--HG--
extra : moz-landing-system : lando
2018-11-27 04:14:11 +00:00
Daniel Varga ef4c0efcc4 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-27 07:36:22 +02:00
Geoff Brown 829a65fd2e Bug 1483478 - Store memory dump artifacts in awsy-lite; r=glandium 2018-11-26 17:59:05 -07:00
Kartikaya Gupta 9161329de8 Bug 1508652 - Put WR captures on Android into the external files dir. r=snorp,kvark
Differential Revision: https://phabricator.services.mozilla.com/D12769

--HG--
extra : moz-landing-system : lando
2018-11-26 16:26:19 +00:00
Agi Sferro a20e4c23c7 Bug 1458668 - Enforce changelog for GeckoView; r=snorp
This patch integrates with apilint changelog feature to ensure we update the
changelog file every time the api changes.

It also adds a high level overview of the changes in v65.

See also: https://github.com/mozilla-mobile/gradle-apilint#changelog

Differential Revision: https://phabricator.services.mozilla.com/D12550

--HG--
extra : moz-landing-system : lando
2018-11-26 16:27:06 +00:00
Nick Alexander 7fb85f7972 Bug 1509572 - Part 6: Don't always generate annotations from Gradle. r=snorp
Before, we always ran the "generate JNI wrappers" command and had the
command be smart about updating the output.  Now we move the smarts to
the Gradle side to streamline the build.

Differential Revision: https://phabricator.services.mozilla.com/D12795

--HG--
extra : moz-landing-system : lando
2018-11-26 21:44:00 +00:00
Nick Alexander 7c4f786ab2 Bug 1509572 - Part 5: Depend on bundle, not assemble. r=snorp
This will be exploited later, when we start making the
`withGeckoBinaries` switch conditional on the tasks that Gradle is
going to execute.

Differential Revision: https://phabricator.services.mozilla.com/D12794

--HG--
extra : moz-landing-system : lando
2018-11-26 21:43:41 +00:00
Nick Alexander 989700629b Bug 1509572 - Part 4: Make `geckoview:generateSDKBindings` work without arguments. r=snorp
I'm not sure how this ever worked in the `android-gradle-dependencies`
task -- it must have been because of `--continue`.

Differential Revision: https://phabricator.services.mozilla.com/D12793

--HG--
extra : moz-landing-system : lando
2018-11-26 21:43:30 +00:00
Nick Alexander a8b2dbfa07 Bug 1509572 - Part 3: Don't dump R.txt for every build. r=snorp
This has never been as useful as anticipated: we really aren't seeing
resource mismatches in the wild that need diagnostic aids.

Differential Revision: https://phabricator.services.mozilla.com/D12792

--HG--
extra : moz-landing-system : lando
2018-11-26 21:43:26 +00:00
Nick Alexander 92b3b36751 Bug 1509572 - Part 2: Don't pass --console=plain and --continue through to Gradle. r=snorp
--console=plain is critical in automation, but it's not always helpful
locally.  Let's try without it for a while.

--continue tries to build additional tasks even after the first
failing task.  It can be useful in automation ('cuz you might see more
errors) but it can also be confusing (because the build fails but
produces additional output).  Let's try without it, too.

Differential Revision: https://phabricator.services.mozilla.com/D12791

--HG--
extra : moz-landing-system : lando
2018-11-26 21:43:22 +00:00
Dorel Luca 508e50ac02 Backed out 6 changesets (bug 1509572) for linting failure. CLOSED TREE
Backed out changeset 9f6a7e664cef (bug 1509572)
Backed out changeset f6653c7d2967 (bug 1509572)
Backed out changeset 122d6f1a1136 (bug 1509572)
Backed out changeset bc6911d14ae0 (bug 1509572)
Backed out changeset bd0729ff0bbc (bug 1509572)
Backed out changeset c4087e8ea340 (bug 1509572)
2018-11-26 23:21:28 +02:00
Nick Alexander 08717a6883 Bug 1509572 - Part 6: Don't always generate annotations from Gradle. r=snorp
Before, we always ran the "generate JNI wrappers" command and had the
command be smart about updating the output.  Now we move the smarts to
the Gradle side to streamline the build.

Depends on D12794

Differential Revision: https://phabricator.services.mozilla.com/D12795

--HG--
extra : moz-landing-system : lando
2018-11-26 21:02:52 +00:00
Nick Alexander 61ca6a2dc5 Bug 1509572 - Part 5: Depend on bundle, not assemble. r=snorp
This will be exploited later, when we start making the
`withGeckoBinaries` switch conditional on the tasks that Gradle is
going to execute.

Depends on D12793

Differential Revision: https://phabricator.services.mozilla.com/D12794

--HG--
extra : moz-landing-system : lando
2018-11-26 19:16:16 +00:00
Nick Alexander 87610d0bca Bug 1509572 - Part 4: Make `geckoview:generateSDKBindings` work without arguments. r=snorp
I'm not sure how this ever worked in the `android-gradle-dependencies`
task -- it must have been because of `--continue`.

Depends on D12792

Differential Revision: https://phabricator.services.mozilla.com/D12793

--HG--
extra : moz-landing-system : lando
2018-11-26 19:16:39 +00:00
Nick Alexander bd978792e9 Bug 1509572 - Part 3: Don't dump R.txt for every build. r=snorp
This has never been as useful as anticipated: we really aren't seeing
resource mismatches in the wild that need diagnostic aids.

Depends on D12791

Differential Revision: https://phabricator.services.mozilla.com/D12792

--HG--
extra : moz-landing-system : lando
2018-11-26 19:16:51 +00:00
Nick Alexander af14dfeaf0 Bug 1509572 - Part 2: Don't pass --console=plain and --continue through to Gradle. r=snorp
--console=plain is critical in automation, but it's not always helpful
locally.  Let's try without it for a while.

--continue tries to build additional tasks even after the first
failing task.  It can be useful in automation ('cuz you might see more
errors) but it can also be confusing (because the build fails but
produces additional output).  Let's try without it, too.

Depends on D12790

Differential Revision: https://phabricator.services.mozilla.com/D12791

--HG--
extra : moz-landing-system : lando
2018-11-26 19:17:24 +00:00
John Lin e43dca7804 Bug 1486659 - p3: copy texture contents for remote allocated Surface. r=snorp
Child processes cannot access textures allocated in the parent process,
which is needed by the compositor to render video elements efficiently.
Unfortunately, Android doesn't expose Sufrace buffers (sharable across
processes) in the SDK/NDK as other platforms, so we need to generate
extra texture/surface in the child process and update texture images
through the surface, which is passed to the parent process for the remote
texture to copy its contents into.

Differential Revision: https://phabricator.services.mozilla.com/D11939

--HG--
rename : mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/gfx/ISurfaceAllocator.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/gfx/SyncConfig.aidl
extra : moz-landing-system : lando
2018-11-26 19:41:31 +00:00
John Lin 66a5045667 Bug 1486659 - p2: expose native GL blitter to Java. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D11938

--HG--
extra : moz-landing-system : lando
2018-11-26 19:41:29 +00:00