Commit Graph

12410 Commits

Author SHA1 Message Date
Jim Chen
bcea78238a Bug 1326317 - Convert FilePicker events to bundle events; r=sebastian
Convert the "FilePicker:Show" event used in FilePicker and
testFilePicker to use GeckoBundle/BundleEventListener. UI event is used
because the listener performs Intent operations, which is best for the
UI thread. "FilePicker:Result" notification is removed in favor of
using a callback.
2017-01-10 23:00:58 -05:00
Jim Chen
ca13c79fba Bug 1326249 - Convert MulticastDNSManager events to bundle events; r=sebastian
Convert events used in MulticastDNSManager to
GeckoBundle/BundleEventListener events. MulticastDNSManager also sends
observer notifications from Java to Gecko, and that converts nicely to
using the new unified EventDispatcher on both sides. The patch also
hides some logging behind a flag to reduce logcat clutter.
2017-01-10 23:00:58 -05:00
Jim Chen
36a6807488 Bug 1325156 - 2. Convert JavaAddonManager events to bundle events; r=sebastian
Convert events used in the two JavaAddonManager implementations to
GeckoBundle/BundleEventListener events. Gecko thread events are used to
keep with previous behavior. The external interface for addons is kept
the same (using Bundle/JSONObject as container objects), in order to
preserve compatibility, while the internal implementation is changed to
use GeckoBundle.
2017-01-10 23:00:57 -05:00
Tom Klein
a5b2829f5f Bug 1258176 - Remove bookmark star stub drawables in drawable/ that were formerly needed for API 9. r=sebastian
They're getting selected on mdpi (and presumably ldpi) devices.

MozReview-Commit-ID: I60hcKehPnf

--HG--
extra : rebase_source : 3a7f55fbaa020d407a7b4f227796c85a1a85d03b
2017-01-05 16:33:40 -06:00
Nevin Chen
2a730ce5e0 Bug 1310622 - Display the item as-is but do not load an icon if we do not have a page URL r=sebastian
MozReview-Commit-ID: Ij9VS5NvMAs

--HG--
extra : rebase_source : 082dae732686014ead1776ab3816e70ae382ba91
2016-12-13 13:18:55 +08:00
James Cheng
801c518cad Bug 1325332 - [EME][Fennec] Pref on EME API and only support it for M+ android version. r=cpearce
MozReview-Commit-ID: Bi5pRhIFsxB

--HG--
extra : rebase_source : 3fa45b404874c87a41448491af00e71bc94ecfd6
2016-12-23 15:50:13 +08:00
Sebastian Kaspari
61df41e772 Bug 1323408 - Do not show first run tour in guest profiles. r=nechen
MozReview-Commit-ID: 42FcUvGzRr9

--HG--
extra : rebase_source : 8469c10382791b370106eeea2d988e1372691355
2017-01-05 13:12:52 +01:00
Phil Ringnalda
dd6884450a Backed out changeset c273666082fa (bug 1325332) for Android test_interfaces.html failures 2017-01-08 21:17:41 -08:00
James Cheng
b6276d9ee4 Bug 1325332 - [EME][Fennec] Pref on EME API and only support it for M+ android version. r=cpearce
MozReview-Commit-ID: Bi5pRhIFsxB

--HG--
extra : rebase_source : 8413b9ea132dc4388bdc48e7c09d3f9e4b7676eb
2016-12-23 15:50:13 +08:00
Sebastian Hengst
d0e4cec2ba Backed out changeset cce21c0cb2dd (bug 1324530) for failing passwd-1.xul on Android 4.3 debug and number-2.xul on Android 4.3 opt. r=backout 2017-01-06 09:50:28 +01:00
Sebastian Hengst
31bfe3ddf1 Backed out changeset 3e71466a060d (bug 1324530) 2017-01-06 09:49:22 +01:00
Sebastian Hengst
9f9a0ec996 Backed out changeset bedf2a853f91 (bug 1324530) 2017-01-06 09:49:18 +01:00
Sebastian Hengst
d2f92b241d Backed out changeset c520d79f9611 (bug 1324530) 2017-01-06 09:49:13 +01:00
John Lin
ecfd4663f7 Bug 1324530 - part 4: improve remote manager init wait time. r=snorp
Fix the issue that RemoteManager.init() will be block for 5s when onServiceConnected() is
finished before latch creation.

MozReview-Commit-ID: CYYpLpY7Ns9

--HG--
extra : rebase_source : cfb6a6aa25d1f274418f879e8a536dbdff664615
2016-12-23 16:28:48 +08:00
John Lin
2d0c14f448 Bug 1324530 - part 3: make codec methods that change state(start, stop, flush, release) synchronous. r=snorp
MozReview-Commit-ID: EVjtpzX9dbD

--HG--
extra : rebase_source : 26a5b10c3e3dbae0ffb2caad67863c5db7134275
2016-12-23 16:25:43 +08:00
John Lin
d483677db4 Bug 1324530 - part 2: rewrite the logic of discarding invalid buffers for flush. r=esawin
MozReview-Commit-ID: EwTRMaJOJhK

--HG--
extra : rebase_source : d636b2da2799029a8e78cfc23302bd0d63454efc
2016-12-28 15:56:42 +08:00
John Lin
a03d12f09c Bug 1324530 - part 1: add method to AsyncCodec for resuming receiving input buffers after flush(). r=esawin
2 birds with 1 stone:
 - according to MediaCodec doc, when running in async mode start() must be called after flush() to 'resume receiving input buffers'.
 - in JellyBeanAsyncCodec's case, explicit resuming polling input buffers helps Codec decide which buffers are invalid by flush().

MozReview-Commit-ID: Ee5QbppgsVf

--HG--
extra : rebase_source : e1593952f0dbbdeabd07e014482bc161315b83de
2016-12-28 15:41:55 +08:00
Jan Henning
fa8b0f3184 Bug 1266594 - Part 1 - Wait for Java-side sanitizing to be triggered before exiting the UI. r=jchen
When clearing private data on exit, Gecko sends a "Sanitize:ClearHistory" message back to the Java UI, so the latter can clear the history DB if necessary.
For some users, this process is not working, presumably because there is a race condition depending on whether Gecko gets as far as sending that message before the background thread responsible for receiving that message has already shut down/had its listener unregistered, or not.

Therefore, we now wait until the UI's sanitize handlers have been called before starting to shut it down as well.

MozReview-Commit-ID: HoifMYv3spA

--HG--
extra : rebase_source : de4bb656c67104b9d5b1ea83329b77de0688a5d6
2016-12-31 13:35:38 +01:00
Shan
b49d2baeb1 Bug 1320298 - Change mutable array to unmutable list; r=sebastian
MozReview-Commit-ID: 3HkWfzEeZFw

--HG--
extra : rebase_source : efdf63a91f3ac846ab714a6e1f4200d0c59a8e7e
2016-12-13 14:41:10 +05:30
maliu
b4a2fbcf70 Bug 1328515 - Refine fallback margin left/right to include api23, r=sebastian
MozReview-Commit-ID: Ac8FP1fOGa

--HG--
extra : rebase_source : bea5cd0ff1ca83621ac9f4c5b595b479d587da06
2017-01-04 12:04:28 +08:00
maliu
9de04c0e17 Bug 1322119 - Put mirrored 9patch drawable into ldrtl resource folder, r=sebastian
MozReview-Commit-ID: BqijcKYbWSz

--HG--
extra : rebase_source : eae4b5a23f62f10a263344831f96ee9e081df42c
2016-12-16 19:57:19 +08:00
Adrian Zatreanu
c57580a398 Bug 1316008: Use explicit charset encoding r=nechen,sebastian
MozReview-Commit-ID: 3y2CKQZrLtl

--HG--
extra : rebase_source : b75b5f59c7d9e6ef95a06dde982f8a70a352649b
2016-11-29 20:42:08 +02:00
Jim Chen
c3a02d7e8e Bug 1325155 - 2. Convert text selection events to bundle events; r=sebastian
Convert the "TextSelection:*" events to use BundleEventListener /
GeckoBundle, in both ActionBarTextSelection.java and
FloatingToolbarTextSelection.java. UI events are used because the
listeners require the UI thread. The "TextSelection:Update" listeners
are removed because the event is no longer sent by ActionBarHandler.
2016-12-28 17:49:29 -05:00
Jim Chen
922fcb61b5 Bug 1325154 - Convert NotificationHelper events to bundle events; r=sebastian
Convert NotificationHelper events to use BundleEventListener and
GeckoBundle. UI events are used to perform notification operations, and
to keep access to mClearableNotifications to the UI thread. Also,
refactor some recently-added code in NotificationHelper.
2016-12-28 17:49:28 -05:00
Jim Chen
16e63f30d7 Bug 1325153 - Convert DoorHangerPopup events to bundle events; r=sebastian
Convert "Doorhanger:Add" and "Doorhanger:Remove" to bundle events. UI
events are used because the listener performs UI operations. As part of
the refactoring, DoorHangerConfig was refactored to use GeckoBundle, and
due to that change, a lot of other doorhanger-related classes also had
to be refactored to use GeckoBundle.
2016-12-28 17:49:28 -05:00
Phil Ringnalda
ce22845813 Merge m-c to m-i
MozReview-Commit-ID: 28f3Y4WDMFL
2016-12-27 20:38:00 -08:00
Randell Jesup
ac570b16c4 Bug 1250356: rollup of changes for webrtc after applying webrtc.org v49 update r=pkerr,ng,pehrsons,etc
See ssh://hg.mozilla.org/users/paulrkerr_gmail.com/webrtc49_merge/ for the
patch development history.
2016-12-27 19:41:02 -05:00
James Cheng
14369bf152 Bug 1325330 - [EME][Fennec] Create MediaCrypto object inside GeckoMediaDrmBridge's constructor. r=kikuo
MozReview-Commit-ID: 4QmvUxrMe47

--HG--
extra : rebase_source : 93a7d5df5b17a88ee5e909a4b68d45e5541b5e4e
2016-12-23 15:42:22 +08:00
Sebastian Kaspari
3f306fc9d4 Bug 1325380 - Use provider name for AS highlights. r=Grisha
MozReview-Commit-ID: 2vPk2DdrYed

--HG--
extra : rebase_source : e7de82507816ad026917b281c1d97a0a07e6289e
2016-12-22 16:17:28 +01:00
Wes Kocher
31ced84f43 Merge m-c to autoland, a=merge 2016-12-22 18:45:10 -08:00
Wes Kocher
60785fce6d Merge inbound to central, a=merge
MozReview-Commit-ID: I54WGOLqHI2
2016-12-22 18:37:07 -08:00
Grisha Kruglov
e05b65163b Bug 1320798 - Re-order context menu items for Activity Stream r=ahunt
MozReview-Commit-ID: Ldt0H5XQxsz

--HG--
extra : rebase_source : f5467ada9237ad4db1ce8b481e7c29bcce6e6ec5
2016-12-21 14:30:50 -08:00
Sebastian Hengst
010d63ba33 Bug 1324280 - Revert MarginLayoutParamsCompat with setting margin left/right by current layout direction: lint style fixes. r=lint-fixes 2016-12-22 18:52:34 +01:00
Carsten "Tomcat" Book
0aed7a4ac5 Merge mozilla-central to mozilla-inbound
--HG--
rename : testing/docker/base-build/HASH => taskcluster/docker/base-build/HASH
rename : testing/docker/base-test/HASH => taskcluster/docker/base-test/HASH
rename : testing/docker/centos6-build-upd/HASH => taskcluster/docker/centos6-build-upd/HASH
rename : testing/docker/centos6-build/HASH => taskcluster/docker/centos6-build/HASH
rename : testing/docker/decision/HASH => taskcluster/docker/decision/HASH
rename : testing/docker/image_builder/HASH => taskcluster/docker/image_builder/HASH
rename : testing/docker/recipes/tooltool.py => taskcluster/docker/recipes/tooltool.py
rename : testing/docker/tester/HASH => taskcluster/docker/tester/HASH
2016-12-22 16:25:35 +01:00
maliu
03b008aa5c Bug 1324280 - Revert MarginLayoutParamsCompat with setting margin left/right by current layout direction, r=sebastian
MozReview-Commit-ID: amwDqXRxE5

--HG--
extra : rebase_source : 8561d5541d7aae658c9002d57add058980384fc0
2016-12-21 15:27:09 +08:00
Grisha Kruglov
90b4168ba0 Bug 1325446 - Remove "private tab" telemetry from Activity Stream r=liuche
MozReview-Commit-ID: JUHQOxGXvAu

--HG--
extra : rebase_source : a8d73e4b5394be3e27a5831b64d05e46fde40682
2016-12-22 11:57:42 -08:00
Grisha Kruglov
70a40310cc Bug 1319245 - Post: clean up async tasks and access levels r=sebastian
MozReview-Commit-ID: IWwTqkqa2OH

--HG--
extra : rebase_source : 41ffd99339ebb8aae662910c000d64705de76768
2016-12-21 23:01:45 -08:00
Grisha Kruglov
2f9475c465 Bug 1319245 - Track rich telemetry data for Activity Stream r=sebastian
General concept is to populate the "extras" field with a stringified JSON object
which contains bunch of additional data which, in aggregate, might give insight
into user's actions.

A builder is used in order to make constructing the extras json string easier.
This builder has a concept of a "global state" which lets us easily include some information
with every A-S telemetry ping.
Currently this is used to track whether or not user has a firefox account.

An instance of a builder is passed around, augmented as more information becomes known,
and is materialized into an "extras" string whenever an action occurs and telemetry
event needs to be sent.

MozReview-Commit-ID: GDmxkWChnnA

--HG--
extra : rebase_source : 025d198e16d3a8af8b6e94bd531e916b80f9841a
2016-12-21 22:51:27 -08:00
maliu
dde53f57e8 Bug 1323763 - Revert setAutomirrored solution and provide drawable in ldrtl folder, r=ahunt
MozReview-Commit-ID: JwHTNbQ1HcN

--HG--
extra : rebase_source : d9c849a98bc5a09ebc706be237ec42b15de70c0d
2016-12-16 18:21:58 +08:00
Sebastian Kaspari
950d0c704a Bug 1323952 - Preferences: Set default 'compact tabs' value based on experiment. r=ahunt,nechen
MozReview-Commit-ID: EbE1Lrk90bc

--HG--
extra : rebase_source : 6f9511ec1dc24abba3222cf95370e46141e3994e
2016-12-20 19:28:08 +01:00
Sebastian Kaspari
b03a7aaf91 Bug 1323952 - Tabs panel: Update default based on compact tabs experiment. r=ahunt,nechen
MozReview-Commit-ID: GTJ3YMLvHup

--HG--
extra : rebase_source : 6a20a286d230e363989e79d2d10b96268b06770a
2016-12-20 15:43:12 +01:00
Sebastian Kaspari
428eb34b95 Bug 1323952 - Add compact tabs experiment. r=ahunt,nechen
MozReview-Commit-ID: DSoEm62tLRW

--HG--
extra : rebase_source : 9e986517eeeaf95d0b4eb3b2ed0b393e11534eaf
2016-12-20 15:41:42 +01:00
Sebastian Hengst
0d4188dc3d Backed out changeset b9d69795947d (bug 1075025) for crashing in xpcshell test test_setUsePrivateBrowsing.js and test_ext_alarms.js on Android. r=backout 2016-12-21 09:35:38 +01:00
John Lin
783a4985dd Bug 1075025 - part 1: receive vsync events through Choreographer. r=snorp
MozReview-Commit-ID: 69MefRKMWmh

--HG--
extra : rebase_source : 07d9722cb6fcaf0f1b9f67a754245c7ac6ec663f
2016-12-20 14:18:35 +08:00
Phil Ringnalda
4f5f9f3222 Merge m-i to m-c, a=merge
MozReview-Commit-ID: EI1fU13SR79
2016-12-20 20:15:20 -08:00
Jim Chen
33dd6ce59b Bug 1324817 - Fix NPE in setSearchEngineFromBundle; r=me
Fix a NPE in setSearchEngineFromBundle when mIdentifier is null. r=me
for trivial patch.
2016-12-20 17:01:04 -05:00
Wes Kocher
584a2f0f62 Merge inbound to central, a=merge
MozReview-Commit-ID: Cr9L1dhIzP2
2016-12-20 11:41:57 -08:00
Nevin Chen
87f359cccd Bug 1320889 - Tapping the notification for a downloaded file shouldn't open firefox. r=ahunt
MozReview-Commit-ID: FzBk0TmVlm0

--HG--
extra : rebase_source : f83153ae5519c44d045db6f21df6f8b319723edc
2016-12-16 16:30:19 +08:00
Nevin Chen
b6925d0d93 Bug 1241262 - Use resolveInfo.activityInfo.icon instead of resolveInfo.icon to support SDK 23 and later. r=ahunt
MozReview-Commit-ID: nGV2ElQEO2

--HG--
extra : rebase_source : cdd45c34d1cae326c56ad5ca064505aaa2b9b0f3
2016-12-01 15:56:41 +08:00
Wes Kocher
0b3c388b2f Merge m-c to autoland, a=merge 2016-12-20 11:48:21 -08:00