Commit Graph

25246 Commits

Author SHA1 Message Date
Andreea Pavel
78bc55ae1f Merge inbound to mozilla-centra r=merge a=merge 2017-12-22 11:54:07 +02:00
Mike Hommey
21011a977a Bug 1426555 - Use mozconfig.no-compile in non-compiling android jobs. r=chmanchester
Instead of manually unsetting a few variables and adding
--disable-compile-environment, we can rely on the mozconfig that does
all that.

--HG--
extra : rebase_source : 47e0b63d08b98f258344648f1aa002b3da50646b
2017-12-21 09:54:20 +09:00
Jim Chen
e8c53dde84 Bug 1425038 - Fix aCheckMsg typo in GeckoViewPrompt; r=me
Fix the aCheckMsg/aCheckLabel name mismatch in GeckoViewPrompt; r=me for
trivial patch.
2017-12-20 16:10:34 -05:00
Jim Chen
69413f980c Bug 1425033 - Fix frame handling in FormAssistant; r=me
Remove the invalid `content` reference when traversing the frame tree;
Checking for `frameElement` should be enough. r=me for trivial patch.
2017-12-20 16:10:34 -05:00
Jim Chen
52370a906b Bug 1425262 - 3. Follow-up to fix wrong comment; r=me
Fix comment referencing support for transformation matrix.
2017-12-20 12:14:01 -05:00
Bevis Tseng
f0a31f1b23 Bug 1415793 - Check the removal of a tab until next tick. r=rpl
--HG--
extra : rebase_source : 2a4937ec1816cdd943c6d15de2b34a73e8890693
2017-12-20 16:46:24 +08:00
Nick Alexander
93938b5b2b Bug 1413240 - Build webext langpack for mobile/android. r=gandalf
This cargo cults a few things from browser/ and works when following
the instructions from
https://bugzilla.mozilla.org/show_bug.cgi?id=1413240#c0.

MozReview-Commit-ID: ciA7nfc8BR

--HG--
extra : rebase_source : 30edde6d670dd9a081a691959d298066895ab335
2017-12-15 12:19:15 -08:00
Jim Chen
7a04621843 Bug 1425262 - 2. Use new GeckoDisplay from GeckoView; r=rbarker
Use the new GeckoDisplay class and acquireDisplay/releaseDisplay calls
from GeckoView.

MozReview-Commit-ID: 7Y9VYrZCdvQ

--HG--
extra : rebase_source : 8cb4144d49d74846613feacb7e1be9772b3c62c0
2017-12-19 17:17:38 -05:00
Jim Chen
320c4d7d7b Bug 1425262 - 1. Implement GeckoDisplay as a class managed by GeckoSession; r=rbarker
Implement GeckoDisplay as a class managed by GeckoSession and used by
GeckoSession clients. Also add `acquireDisplay` and `releaseDisplay`
methods to manage the GeckoDisplay instance.

MozReview-Commit-ID: 6yTdXmx4yIO

--HG--
extra : rebase_source : 05c6a80ada847e7effa1cf938476e999439ff3d0
2017-12-19 17:17:37 -05:00
Jim Chen
8a3fd41d0a Bug 1425553 - Only process input calls when Gecko is ready; r=esawin
Track the Gecko ready state in TextInputController through
GeckoSession's NativeQueue, and only pass through input calls when Gecko
is ready.

MozReview-Commit-ID: KugQ6whg2QA

--HG--
extra : rebase_source : 6ea266d9746d22c58cdd21c7122fa7f20ec730fc
2017-12-19 17:02:46 -05:00
Dorel Luca
8d7dc32e0f Merge mozilla-inbound to mozilla-central r=merge a=merge
--HG--
extra : amend_source : ab6e52d7abe431d1530dac3f5b0b09f7a8c18d62
2017-12-19 12:08:53 +02:00
Gurzau Raul
eec5c4c1a9 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-19 00:01:37 +02:00
Mark Banner
e3391599af Bug 1425003 - Fix GeckoViewNavigation.jsm referencing undefined URIFIxup - switch to Services.uriFixup. r=snorp
MozReview-Commit-ID: IKs6HBQwLAU

--HG--
extra : rebase_source : 10c1d4b44f19ba69d5e4ab65501b23a021480705
2017-12-13 09:02:36 -06:00
Dylan Roeh
3bc4b07b8e Bug 1422902 - Handle exceptions from WebAppManifest code rather than crashing. r=snorp 2017-12-08 15:53:30 -06:00
Gijs Kruitbosch
ffc0ed12d2 Bug 1425363 - remove onWindowTitleChanged given that nobody uses it, r=bgrins
MozReview-Commit-ID: ALslAwZo4K9

--HG--
extra : rebase_source : ca1add0015eea86128c0c5f209252ebb6a228998
2017-12-14 21:55:44 -06:00
Gijs Kruitbosch
400701814b Bug 1425363 - remove the windowds XPCOM component, r=spohl
MozReview-Commit-ID: qKiQCuDiMq

--HG--
extra : rebase_source : da492d14b23f749690d7747d8445d81fccb99012
2017-12-14 21:39:16 -06:00
Zibi Braniecki
c18a5d5ba2 Bug 1425689 - Move search-plugin resource entry to fennec's chrome jar.mn. r=nalexander
MozReview-Commit-ID: F9cFX7vtXMB

--HG--
extra : rebase_source : 250ac7bd5aa15f7a874f8a827e0d9679a53b735e
2017-12-16 13:24:59 -06:00
Nevin Chen
903f8af32b Bug 1424179 - Hide PWA badge when site identity updates to mix content. r=walkingice
https://m.aliexpress.com is a good target to test. But it sometimes show mixed content, sometimes not.
I also chnage the check when adding a PWA shortcut. Only fail fast in nightly and local build.

MozReview-Commit-ID: 4sLoNERIYuW

--HG--
extra : rebase_source : 18663f8aafa5029afa1dd443cb9029ad3dd44abd
2017-12-08 15:07:42 +08:00
John Lin
81b9b2832c Bug 1422263 - turn on fullscreen video orientation lock for all channels. r=jwwang
MozReview-Commit-ID: EGCx0AdH4Yy

--HG--
extra : rebase_source : 7019a1d697dc64663f76e0280e4b0f88f5b4a7f6
2017-12-13 09:07:28 -06:00
Narcis Beleuzu
88be244907 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-15 03:47:38 +02:00
Nathan Froyd
cd85ab8af7 Bug 1422734 - move --enable-small-chunk-size to moz.configure; r=chmanchester 2017-12-03 13:44:55 -05:00
Jim Chen
af3a18ee62 Bug 1416918 - 4b. Move GeckoEditable{Client,Listener} to TextInputController; r=esawin
Move GeckoEditableClient and GeckoEditableListener to inside
TextInputController, next to TextInputController.Delegate. This
consolidates the three internal interfaces used for IME in one place.

The patch also changes the last notifyIMEContext parameter to an int
flag to indicate private browsing or user action. This allows for future
expansion without adding more parameters to notifyIMEContext.

MozReview-Commit-ID: BjscdNr9TkO

--HG--
extra : rebase_source : 87166a55e5978eda4a7c3065db9b68658e33af35
2017-12-13 22:57:21 -05:00
Jim Chen
9db87f4a1c Bug 1416918 - 4. Remove unused code; r=esawin
Remove InputConnectionListener, which was replaced by
TextInputController.Delegate, and remove IME_STATE_PLUGIN, which is not
used anymore.

MozReview-Commit-ID: GCbJXWNCmTk

--HG--
extra : rebase_source : c90bc79585ce4c5b9c0de5e07b0ea52531b65e04
2017-12-13 22:57:21 -05:00
Jim Chen
96ffac273d Bug 1416918 - 3. Use TextInputController in GeckoView; r=esawin
Use the new TextInputController API in GeckoView to process key events
and input method interactions.

MozReview-Commit-ID: H0oyCDkGHul

--HG--
extra : rebase_source : a0ab70e77aa05b7d3aa05982c47299a0222f3ee5
2017-12-13 22:57:21 -05:00
Jim Chen
9ba6dc8991 Bug 1416918 - 2. Make GeckoEditable/GeckoInputConnection work with TextInputController; r=esawin
Let GeckoEditable be created and managed by TextInputController, instead
of being managed by native code. Let GeckoInputConnection also be
managed by TextInputController, instead of being managed by
GeckoEditable. Getting rid of native calls in GeckoEditable makes it
easier to separate native code into a separate process down the road.

MozReview-Commit-ID: HQI3qcAzOvT

--HG--
extra : rebase_source : 83ad25bab663b6652cfeecdf10bbf8e0b28dadfa
2017-12-13 22:57:21 -05:00
Jim Chen
6075204d7c Bug 1416918 - 1. Add TextInputController; r=esawin
Add TextInputController and add a getter for it in GeckoSession.
TextInputController is used to process key events and to interact with
the input method manager.

MozReview-Commit-ID: 1j2Moqukf8U

--HG--
extra : rebase_source : 03fee51ba3e2034b8689c4fa6fe58f7432dc1ad4
2017-12-13 22:57:21 -05:00
Cosmin Sabou
b0098afaea Merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-12-13 12:14:29 +02:00
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
James Cheng
3f9db6bda9 Bug 1424168 - Reduce the Exoplayer buffer size to avoid OOM. r=kikuo
MozReview-Commit-ID: J1pi3S9Hxa7

--HG--
extra : rebase_source : c7e134b66fcb45feb4f38b1a2d99c6201ea3d69e
2017-12-08 16:46:42 +08: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