Commit Graph

27375 Commits

Author SHA1 Message Date
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
John Lin
3e8536f24a Bug 1486659 - p1: conform SharedMemory.describeContents() to Android API spec. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D11936

--HG--
extra : moz-landing-system : lando
2018-11-26 19:40:37 +00: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
James Willcox
7f4954743b Bug 1485045 - Make Java parts of GeckoView independent from build ABI r=jchen
This allows us to use the same Java code for any native platform,
enabling a "fat" AAR.

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

--HG--
extra : moz-landing-system : lando
2018-11-23 20:32:40 +00:00
James Willcox
992335e0bf Bug 1486524 - Don't use XZ compression for libs on Android r=glandium,nalexander
This also uses idiomatic packaging of the native libraries, which
will allow easier downstream consumption of GeckoView.

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

--HG--
extra : moz-landing-system : lando
2018-11-23 20:31:57 +00:00
James Willcox
20a661d1da Bug 1509146 - Remove default implementations in GeckoView interfaces r=nalexander
JaCoCo chokes on default implementations in interfaces, so remove those
for now.

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

--HG--
extra : moz-landing-system : lando
2018-11-23 19:42:26 +00:00
Jan Henning
0190b0bd51 Bug 1500023 - Only process previous session file once per app startup. r=nalexander
Even if the GeckoApp activity is destroyed, the user's tabs remain open as long
as the app process itself isn't killed.
Therefore, for users who aren't automatically restoring their previous session's
tabs on startup, there's no point in renaming the current session store file so
it appears under "Recently closed" instead of being automatically restored,
unless we're really doing a cold startup (and hence mIsRestoringActivity is
false).
This also better matches what we do when we *are* automatically restoring tabs:
We only do it when !mIsRestoringActivity, too.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 17:10:49 +00:00
Eugen Sawin
a0c2aa2449 Bug 1509018 - [2.0] Add test for bypass load flag. r=snorp
Depends on D12541

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

--HG--
extra : moz-landing-system : lando
2018-11-22 17:11:27 +00:00
Eugen Sawin
9183f65395 Bug 1509018 - [1.1] Add load flag to bypass the URI classifier. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D12541

--HG--
extra : moz-landing-system : lando
2018-11-22 17:11:27 +00:00
Petru Lingurar
0ad87110f4 Bug 1484528 - Prevent page loading indicator running continuously; r=JanH
The page loading indicator should be animated while it is visible.
Previously for controlling the animation the visibility state of the parent
Drawable - ShiftDrawable would be checked, which in all cases would return
true, so the animation would run indefinitely.

The patch modifies setVisible() in accordance with the Framework version of
DrawableWrapper to corectly set the visibility of both the wrapper and the
wrapped drawables so that isVisible() will now return the correct value which
will allow stopping the animation.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 14:52:46 +00:00
Petru Lingurar
6151c960ad Bug 1479724 - Part 3: Logos for Dev builds; r=sdaswani,bram,JanH
This are used as logos and by SiteIdentityPopup.java

Depends on D12024

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

--HG--
extra : moz-landing-system : lando
2018-11-22 00:07:14 +00:00
Petru Lingurar
8fc1796f00 Bug 1479724 - Part 2: Pre-Oreo icons for Dev builds; r=sdaswani,bram,JanH
Depends on D12023

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

--HG--
extra : moz-landing-system : lando
2018-11-20 21:19:28 +00:00
Petru Lingurar
293aaebf2c Bug 1479724 - Part 1: Adaptive icons for Beta and Dev builds; r=sdaswani,bram,JanH
Differential Revision: https://phabricator.services.mozilla.com/D12023

--HG--
extra : moz-landing-system : lando
2018-11-20 19:25:10 +00:00
Timothy Guan-tin Chien
e315175685 Bug 1497940 - Part III, Remove unused pluginProblem mobile styles r=snorp
These styles and PluginHelper.js should’ve been removed back in bug 1381916.

contentPluginDisabled.png is not referenced anywhere so it is deleted together.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 05:48:42 +00:00
Dorel Luca
30a79bc822 Backed out 3 changesets (bug 1497940) for Browser-chrome in toolkit/mozapps/extensions/test/browser/browser_CTP_plugins.js
Backed out changeset 493083d55865 (bug 1497940)
Backed out changeset b503b1a1552c (bug 1497940)
Backed out changeset 6918f8e2f38c (bug 1497940)

--HG--
rename : toolkit/themes/windows/global/plugins/pluginHelp-16.png => toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png
2018-11-22 05:04:55 +02:00
Timothy Guan-tin Chien
da5e72fb54 Bug 1497940 - Part III, Remove unused pluginProblem mobile styles r=snorp
These styles and PluginHelper.js should’ve been removed back in bug 1381916.

contentPluginDisabled.png is not referenced anywhere so it is deleted together.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 02:11:44 +00:00
Eitan Isaacson
30fe7d0849 Bug 1509111 - Populate viewIdResourceName correctly. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D12583

--HG--
extra : moz-landing-system : lando
2018-11-21 21:07:20 +00:00
Matt Brubeck
b059d469bb Bug 1487542 - Change LoadRequest.isUserTriggered to isRedirect. r=snorp,smaug
Differential Revision: https://phabricator.services.mozilla.com/D12370

--HG--
extra : moz-landing-system : lando
2018-11-21 22:35:42 +00:00
Coroiu Cristina
b27585482c Merge inbound to mozilla-central a=merge 2018-11-21 23:43:13 +02:00
Cosmin Sabou
6a888dd9ac Merge mozilla-central to mozilla-inbound. a=merge 2018-11-21 18:25:38 +02:00
Masayuki Nakano
0acd37ec1d Bug 1504911 - part 4: Make all script for web content dispatch "input" event with proper event interface r=smaug
Currently, some "input" event dispatchers in our script dispatch "input" event
with UIEvent.  This is completely wrong.  For conforming to HTML spec, Event
is proper event.  Additionally, for conforming to Input Events, InputEvent
is proper event only on <textarea> or <input> element which has a single line
editor.

For making us to maintain easier, this patch adds new API, "isInputEventTarget"
to MozEditableElement which returns true when "input" event dispatcher should
use InputEvent for the input element.

Finally, this makes some dispatchers use setUserInput() instead of
setting value and dispatching event by themselves.  This also makes
us to maintain them easier.

Note that this does not touch "input" event dispatchers which dispatch events
only for chrome (such as URL bar, some pages in about: scheme) for making
this change safer as far as possible.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 14:35:38 +00:00
shindli
cbbdd02331 Merge inbound to mozilla-central. a=merge 2018-11-21 05:59:34 +02:00
Matt Brubeck
4cd3160a40 Bug 1508636 - Guard against setting requestedLocales to null. r=snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D12481

--HG--
extra : moz-landing-system : lando
2018-11-20 22:38:11 +00:00
Lina Cambridge
6c0eb32f87 Bug 1490724 - Define a stub Callbacks.HistoryDelegate instead of using default methods. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D12377

--HG--
extra : moz-landing-system : lando
2018-11-20 22:43:58 +00:00
shindli
5cc898ccc2 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-20 23:48:34 +02:00
Randall Barker
0fa2594f1c Bug 1508457 - Add GeckoView API to get first composite callback after a compositor start. r=snorp,droeh
Differential Revision: https://phabricator.services.mozilla.com/D12357

--HG--
extra : moz-landing-system : lando
2018-11-20 18:18:24 +00:00
Narcis Beleuzu
5abd4e194d Backed out changeset b245aba69d76 (bug 1508457) for apilint bustages. CLOSED TREE 2018-11-20 20:06:21 +02:00
Randall Barker
3b8fcf99da Bug 1508457 - Add GeckoView API to get first composite callback after a compositor start. r=snorp,droeh
Differential Revision: https://phabricator.services.mozilla.com/D12357

--HG--
extra : moz-landing-system : lando
2018-11-20 17:41:42 +00:00
Dylan Roeh
4b0f2a82da Bug 1494748 - Add a service to kill the Fennec process when the user swipes-to-kill Fennec. r=snorp
Leaving the Fennec process running after a swipe-to-kill puts Fennec in an unrecoverable state; this ensures we kill the process anytime a user swipes-to-kill Fennec and therefore lets us recover as usual.
2018-11-20 09:35:29 -06:00
Eugen Sawin
31655128ad Bug 1508638 - [1.0] Remove default progress value to avoid stuck progress bar for about: pages. r=droeh 2018-11-20 16:25:33 +01:00
Paolo Amadini
9004df8f9b Bug 1499947 - Part 2 - Remove the "progressmeter" element and related tests. r=bgrins,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D12145

--HG--
extra : rebase_source : a322611933b371e726b25dd4223456a8f761e886
2018-11-20 14:12:33 +00:00
Cosmin Sabou
49e2a3a0cf Backed out changeset 1e076b0054cc (bug 1486524) for toolchains gradle bustages. CLOSED TREE 2018-11-21 18:01:10 +02:00
Cosmin Sabou
e131918f50 Backed out changeset bae43dfd3700 (bug 1485045) for toolchains gradle bustages. CLOSED TREE 2018-11-21 17:46:44 +02:00
James Willcox
ac32419b2f Bug 1508728 - Handle autoplay permission requests in GeckoView example r=mbrubeck
Differential Revision: https://phabricator.services.mozilla.com/D12452

--HG--
extra : moz-landing-system : lando
2018-11-20 22:02:29 +00:00
James Willcox
b57f71e494 Bug 1485045 - Make Java parts of GeckoView independent from build ABI r=jchen
This allows us to use the same Java code for any native platform,
enabling a "fat" AAR.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 15:22:06 +00:00
James Willcox
976e18d241 Bug 1486524 - Don't use XZ compression for libs on Android r=glandium,nalexander
This also uses idiomatic packaging of the native libraries, which
will allow easier downstream consumption of GeckoView.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 15:21:59 +00:00
Eitan Isaacson
732bfffd5e Bug 1507913 - Return root a11y node when failing to retrieve virtual child. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D12338

--HG--
extra : moz-landing-system : lando
2018-11-19 19:55:59 +00:00
Agi Sferro
87e24dcfbf Bug 1506267 - Add android-api-lint to automation; r=nalexander
Depends on D11821

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

--HG--
extra : moz-landing-system : lando
2018-11-19 16:03:55 +00:00
Agi Sferro
7c73e99698 Bug 1506267 - Use apilint to track API changes in api.txt. r=snorp,nalexander.
Depends on D12047

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

--HG--
extra : moz-landing-system : lando
2018-11-19 16:03:43 +00:00
Agi Sferro
b707132e54 Bug 1506267 - Add plugins.gradle.com to Nexus. r=nalexander.
Differential Revision: https://phabricator.services.mozilla.com/D12047

--HG--
extra : moz-landing-system : lando
2018-11-19 16:03:33 +00:00
Emily Toop
e4c40c72e8 Bug 1500566 - Change the default URL loaded in geckoview_example on startup to about:blank. r=geckoview-reviewers,snorp
This is to prevent the load of the Mozilla homepage on startup.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 14:34:42 +00:00
Mike Hommey
c8cb111f94 Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander
Depends on D11983

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

--HG--
extra : source : 1cf7694c8aa247c169c93d279bd16201103b75a8
2018-11-16 01:15:35 +00:00