Commit Graph

21914 Commits

Author SHA1 Message Date
Ralph Giles
881ffe6392 Bug 1323773 - Update android builders to rust 1.15.0-beta.2. r=mshal
Fix code generation for armv7 devices without neon by switching
official builds to the 1.15 beta rust compiler. This fixes the
target generation (and standard library image) to not assume
neon is available, per Google's NDK guidelines.

We expect to update this to 1.15.0 stable before release.

MozReview-Commit-ID: HWJLLGJaUDY

--HG--
extra : rebase_source : 53f00f34f40bb2adb07de27e05019ef0159f5ec8
2017-01-04 13:42:36 -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
Tomer Cohen
3c55375e33 bug 1298385 Add RTL alignment to text in the Private Tab welcome page r=sebastian
MozReview-Commit-ID: 8pDxAlMnNMX

--HG--
extra : rebase_source : 8b4eb972665842956d693fb9ea7e159673f64554
2016-12-06 22:58:46 +02:00
Tomer Cohen
1029adf9d1 Bug 1298904 [RTL] Change the Search field and Add button locations in about:config r=sebastian
MozReview-Commit-ID: GIQ2NV2VGAO

--HG--
extra : rebase_source : 0a0d27e6c462ca443ea9d9b1f6502f5c3143485f
2016-12-08 19:15:57 +02:00
Tomer Cohen
429ed16c76 Bug 1298903 [RTL] Add padding to the right side of the list's text in about:firefox r=sebastian
MozReview-Commit-ID: 4R52HcujmL5

--HG--
extra : rebase_source : 051a19cfd45fcc54fb006a6f0385f3f18cf79069
2016-12-19 00:22:30 +02:00
Tomer Cohen
88a6128407 Bug 1298889 [RTL] "Firefox \<VersionNumber\>" is hidden by Firefox logo in about:firefox r=sebastian
MozReview-Commit-ID: J4rWoKrsaAv

--HG--
extra : rebase_source : ed197586ae6c47685616b9d419b80ef466e4494d
2016-12-07 00:53:11 +02:00
Tomer Cohen
44dd80970e Bug 1298688 [RTL] Change the small arrow icon's position in about:addons r=sebastian
MozReview-Commit-ID: 6lhBD9CCGYc

--HG--
extra : rebase_source : 829cd46bc194c34adfc27f1968a9f37bbd8e82b9
2016-12-19 20:16:52 +02:00
Jan Henning
5d35d375c9 Bug 1305027 - Choose button order in the download app chooser depending on the Android version we're running on. r=sebastian
MozReview-Commit-ID: ItNYtoX8VEX

--HG--
extra : rebase_source : bdb3e73b9ef58c944c5ae550f502b7cac704145d
2017-01-02 21:46:21 +01:00
Jan Henning
4de8d3f783 Bug 1266594 - Part 3 - Explain shutdown sequence and related data cleaning problems in the docs. r=jchen
MozReview-Commit-ID: AdVQnTQ3tsH

--HG--
extra : rebase_source : fdb3420a5fb5755b39c454c7be9867a034a1bdb3
2016-12-30 22:08:20 +01:00
Jan Henning
05c501b32c Bug 1266594 - Part 2 - Fix the session store to handle the new shutdown sequence. r=sebastian
Experimenting with the shutdown sequence for Part 1 has thrown up a few edge cases that aren't yet properly handled by the session store:
- If Gecko is busy (e.g. loading a resource-intensive page), shutdown of the UI can be delayed for a bit - if the user then manually switches away from Firefox, we might get an application-background message which needs to be ignored if we're already quitting
- Backgrounding of the app while quitting can change the event ordering - the "browser:purge-session-history" notification might arrive *after* we've received "quit-application", in which case we need to flush the session history to disk again after having handled the "purge-session-history" notification.
- clearDisk() should rather delete the session store files synchronously when quitting, because otherwise there's a chance that the delete operation runs *after* the new state has already been written out

MozReview-Commit-ID: LZzGcJHxqhz

--HG--
extra : rebase_source : 9f18b99ae92a8ff0753375ea1e279df08d61640e
2017-01-03 20:55:22 +01: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
Julian_Chu
41076b6f35 Bug 1320898: To make notification bar only dimmed in Reader Mode r=sebastian
The notification bar will be dimmed if in Reader Mode and user scroll
down the page. If not in Reader Mode, make sure the notification bar is
not dimmed.

MozReview-Commit-ID: 87LisdS3nRO

--HG--
extra : rebase_source : c7a6795a2b9b007aeddbee1044f94168a03cd761
2016-12-27 17:42:47 +08:00
Phil Ringnalda
d105fd40fd Merge m-c to autoland 2017-01-04 19:01:49 -08:00
Phil Ringnalda
c83d1d7ce9 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 51FMtH1yTe6
2017-01-04 18:33:32 -08:00
Jim Chen
cdb5767ec4 Bug 1319660 - 1. Don't take shortcut if old replacement ranges don't match; r=esawin
The block at [1] is a shortcut we take when we reconcile Java text
changes with Gecko text changes. However, we only checked that the new
ranges are the same, i.e. that the new Gecko text is the same as the new
Java text. We should also be checking that the old ranges are the same,
i.e. that the replaced Gecko text is the same as the replaced Java text.

[1] https://dxr.mozilla.org/mozilla-central/rev/bbbd2f7539f224a482cc6d2dd10e6a5f31c8baf3/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoEditable.java#1233
2017-01-04 14:46:10 -05:00
Andrew Swan
c6e46bcd64 Bug 1323129 part 2: remove amIWebInstaller r=rhelmer
MozReview-Commit-ID: O0jtQi9BzQ

--HG--
rename : toolkit/mozapps/extensions/amIWebInstallListener.idl => toolkit/mozapps/extensions/amIWebInstallPrompt.idl
extra : rebase_source : 7d1981f282b5e2c34b8b720c0a96e2cc8b71a86f
extra : source : 8a61b376d87f52d1bd660af41bdc6bdb5d5e44ae
2017-01-04 10:13:16 -08:00
Mike Taylor
a45c16df23 Bug 1328416. Add src param to track where compat reports are coming from. r=sebastian
MozReview-Commit-ID: GNLVJHVWEB4

--HG--
extra : rebase_source : 394c5cf6486271411fd4bff70dd7138f989a133f
2017-01-03 17:10:06 -06:00
Ralph Giles
9f66a9ca47 Bug 1325445 - Update builders to rust 1.14.0 stable. r=mshal
Repacks of the upstream builds of rust 1.14.0 stable release.

MozReview-Commit-ID: B5DclOLeBjM

--HG--
extra : rebase_source : 67db55dd62d6177b30ace5008edc680f95c6ed22
2016-12-23 13:20:26 -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
Mark Banner
3539bc390b Bug 1255149 - Remove unused nsICookiePromptService. r=jdm
MozReview-Commit-ID: IO07pbRqq2I

--HG--
extra : rebase_source : 7c432454f216797a9937f6b6a30dc683439102d6
2017-01-03 12:14:06 +00: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
34ae4d687c Bug 1325155 - 1. Add Object overrides for GeckoBundle; r=sebastian
Add overrides for Object methods in GeckoBundle, and redirected them to
the corresponding methods in SimpleArrayMap. For equals, a custom
implementation is used because the equals implementation in
SimpleArrayMap had bugs across different support library versions.
2016-12-28 17:49:28 -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
Wes Kocher
7cd2d99f0f Backed out 2 changesets (bug 1325445) for lint failures and possibly build bustage a=backout
Backed out changeset 26dfb927a58d (bug 1325445)
Backed out changeset 4fcea80bb19e (bug 1325445)
2016-12-23 14:28:27 -08:00
Ralph Giles
af4d2e7ffe Bug 1325445 - Update builders to rust 1.14.0 stable. r=mshal
Repacks of the upstream builds of rust 1.14.0 stable release.

MozReview-Commit-ID: B5DclOLeBjM

--HG--
extra : rebase_source : f56feadb24193f1bec13c93bf0414a50a7de219c
2016-12-23 13:20:26 -08:00
David Keeler
104c38c723 bug 1324071 - add nsIPK11Token.hasPassword to replace unnecessary uses of nsIPKCS11Slot.status r=Cykesiopka,gps,MattN,sebastian
MozReview-Commit-ID: C2jwQHPEDC0

--HG--
extra : rebase_source : 16271e70ef32da8657cdc4f8df41b7822430e3bf
2016-12-02 15:09:35 -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
Sebastian Kaspari
bbe7ce58a6 Bug 1311434 - Website Metadata: Get provider name from Open Graph tags. r=Grisha
There's a pull request [1] and issue [2] on GitHub tracking the work to land this
in the page-metadata-parser repository. Multiple potential sources for getting a
'provider name' are considered in the linked issue - however they all have
slightly different semantic meanings. Only 'og:site_name' actually has the same
meaning as "provider name". Therefore it is pretty safe to land this part.

[1] https://github.com/mozilla/page-metadata-parser/pull/81
[2] https://github.com/mozilla/page-metadata-parser/issues/79

MozReview-Commit-ID: KQFSLo85JoS

--HG--
extra : rebase_source : ba86e5c3785cda500a1e8f5a8887228c72f6d00f
2016-12-20 14:21:32 +01:00
James Cheng
3b8bb20163 Bug 1325005 - Preference on media.decoder.recycle.enabled not only for Nightly build. r=jolin
MozReview-Commit-ID: Ivsy0Y6ot13

--HG--
extra : rebase_source : 70aefea4badc57f2616e59464c2585b628029cae
2016-12-21 15:50:04 +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