Commit Graph

17622 Commits

Author SHA1 Message Date
Nevin Chen
f306b4ac22 Bug 1314563 - Change state icon and message when url icon is clicked r=sebastian
MozReview-Commit-ID: 5KDVFVse9Tu

--HG--
extra : rebase_source : 808bc0f70841224163b9ee1b66f3fdd96ef125f6
2016-11-21 16:32:10 +08:00
Nevin Chen
2cfbaefbeb Bug 1314563 - Add info for Java to know when the url is in the exception list and show the correct icon r=sebastian
MozReview-Commit-ID: FG6a7mRCzZY

--HG--
extra : rebase_source : 998a0d60436f84df4554d62f48d985f9a03ffea0
2016-11-15 09:47:12 +08:00
Nevin Chen
7d8bc9ace3 Bug 1240560 - After shortcut is created, show the mobile desktop. r=sebastian
MozReview-Commit-ID: 21YzmJfNC6E

--HG--
extra : rebase_source : 130a84c9c01b57b730863a99b8507fb36bc93626
2016-11-24 10:57:19 +08:00
Nevin Chen
4b0c2fb780 Bug 1240560 - Extract goToHomeScreen() method to AcitvityUtils r=sebastian
MozReview-Commit-ID: 5w4ywPhDtAy

--HG--
extra : rebase_source : 048a3b5c6c0fff93ff9e92ce25d738c3de7afbdd
2016-11-24 10:54:49 +08:00
Carsten "Tomcat" Book
61849e269d merge mozilla-inbound to mozilla-central a=merge 2016-11-24 16:41:59 +01:00
Wes Kocher
b851c06cc9 Merge m-c to inbound, a=merge 2016-11-23 16:18:24 -08:00
Hamel Joshi
b060052591 Bug 1316017 - Remove redundant nullcheck calls. r=sebastian
--HG--
extra : rebase_source : 8316fc83da782c6437028ed16088c19886370c07
2016-11-16 09:12:00 -05:00
maliu
1bf966a5c8 Bug 1319302 - RTL support for Firefox for Android, r=sebastian
MozReview-Commit-ID: bKzW07YBDy

--HG--
extra : rebase_source : 591b8f98a7a287dbf2b7748a97211c81a3ac11aa
2016-11-11 16:10:21 +08:00
Alastor Wu
cfe81f3b38 Bug 1301055 - part1 : allow to replay the same video again. r=snorp
MozReview-Commit-ID: LNz6vEeMZOL

--HG--
extra : rebase_source : f2529c77ed453a6ba14d6df6b3d0f4d504af2a08
2016-11-24 10:24:02 +08:00
Ralph Giles
6e165b8a38 Bug 1318531 - Update builders to rust 1.14.0-beta.2. r=mshal
Update tooltool manifests to repacks of upstream builds of
rustc 1.14.0-beta.2 (e627a2e6e 2016-11-16)
cargo 0.15.0-nightly (a9c23dd 2016-11-15)
for the relevent hosts and target platforms.

We prefer to use stable rust but this bump gets us debuginfo
for the rust standard library on all platforms, which we hope
will improve crash reporting (bug 1268328). That is higher
priority. The rust 1.14 version should be in stable release
before Firefox 53 goes to Aurora, so we'll still stabilize
and ship with stable rust.

This build also contains the fix for the arm code generation
bug blocking update from 1.12 on android, so we can use 1.13
language features in Firefox 53. For more information, see
https://github.com/rust-lang/rust/pull/37815

This doesn't update the native MacOS build because of an
openssl link issue with cargo. This is resolved upstream
for rust 1.15; getting that ported to a later 1.14 beta is
tracked in https://github.com/rust-lang/rust/issues/37969

MozReview-Commit-ID: JbJTd4D7VOu

--HG--
extra : rebase_source : 0690f3d4443f3fc7f224f051f910de92c54b8f60
2016-11-23 06:22:30 -08:00
Ralph Giles
dddc123f32 Bug 1318531 - Fix whitespace in tooltool manifests. r=mshal
Run the tooltool manifests through a python script to read the
json as an OrderedDict and when write it back out with normal
tooltool formatting options. This regularizes the whitespace,
fixing trailing spaces written by older versions of the python
json serializer, dos-vs-unix line endings, and regularizing
opening '[{' and closing '}]' to be on separate lines.

The android manifests have a 'versions' key which has indenting,
unlike the rest of the files. I've left that as-is.

MozReview-Commit-ID: EVW1YlgRJJL

--HG--
extra : rebase_source : 40c1992090807dc40495ebacb37ee358c1d6a6f1
2016-11-22 16:15:27 -08:00
Dylan Roeh
c02cdb63e5 Bug 1318038 - Open speculative connections for URLs supplied to GeckoCustomTabsService.mayLaunchUrl() r=snorp 2016-11-23 15:50:15 -06:00
Tom Klein
b20056ae73 Bug 1310081 - 3. Add ItemDecoration to create fixed spacing items. r=sebastian
We switch to thinking of the tabs grid layout as being determined by specifying
the spacing between the items, and then allowing the items themselves to expand
to fill whatever room that leaves available, but we also allow the spacing to be
adjusted to match the span counts of the previous GridLayout implementation
(which is a good thing).

MozReview-Commit-ID: L3fgjacMu2d

--HG--
extra : rebase_source : 72e77a44c0f0c8c9de3c9d6c5ef95aad405d27a3
extra : source : 17966f55c27550e30f2ec1aab5bc6bc849240436
2016-09-21 22:51:27 -05:00
Phil Ringnalda
feef954874 Merge m-i to m-c, a=merge
MozReview-Commit-ID: EDVoIcyWOhi

--HG--
rename : storage/test/test_AsXXX_helpers.cpp => storage/test/gtest/test_AsXXX_helpers.cpp
rename : storage/test/test_binding_params.cpp => storage/test/gtest/test_binding_params.cpp
rename : storage/test/test_mutex.cpp => storage/test/gtest/test_mutex.cpp
2016-11-22 20:03:03 -08:00
Jim Chen
313554cbc0 Bug 1319173 - Follow-up to fix crash; r=me 2016-11-22 14:09:42 -05:00
Jim Chen
dcc44fafa4 Bug 1319173 - Register MediaPlayerManager events later; r=sebastian
Wait to register MediaPlayerManager events until we have a GeckoApp
EventDispatcher, because we only have an EventDispatcher after we create
the GeckoView in onCreate.
2016-11-22 13:39:54 -05:00
maliu
52155b4a89 Bug 1291270 - Update updater string to distinguish from download and install more clearly, r=sebastian
MozReview-Commit-ID: B4hR8aonESh

--HG--
extra : rebase_source : b753a3670ba870a6b53a3e416ebdaf45ffd5d9a9
2016-11-22 18:38:59 +08:00
Carsten "Tomcat" Book
cf6fb9d85b Merge mozilla-central to autoland 2016-11-22 16:29:49 +01:00
Carsten "Tomcat" Book
8b27dda5d1 merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
maliu
921cf9fc01 Bug 1311480 - Add support to query client with order by name alphabetically, r=Grisha
MozReview-Commit-ID: 7bN7Vh3TqHU

--HG--
extra : rebase_source : 9bc01f1b0dd24595d6ff9bd45e6293742850ac40
2016-11-16 14:03:31 +08:00
Sebastian Kaspari
b88d7883e8 Bug 1318560 - ColorProcessor: Handle ArrayIndexOutOfBoundsException from Palette library. r=gbrown,maliu
MozReview-Commit-ID: GwYj1SRNytN

--HG--
extra : rebase_source : 9635b2a65b3898fbc1b64f43f69889ced5162bc2
2016-11-21 18:00:01 +01:00
Nick Alexander
3e7be895d5 Bug 1255914 - Part 2: mostly back out multiDex (changeset 6972bef6693c). r=sebastian
Since we're Proguarding the automation build now, we shouldn't need to
multiDex anymore -- even in beta.

MozReview-Commit-ID: 6Yc73Vi9Fhd

--HG--
extra : rebase_source : cdfb01a47dc05dfafc4ba67cdb30f86dbd5aa4ec
2016-11-13 14:43:00 -08:00
Nick Alexander
1e0374da73 Bug 1255914 - Part 1: Proguard (minify) Gradle builds in automation. r=sebastian
moz.build achieves better results than Gradle, and I can't fully
explain why that is.  At first I thought it was due to
-optimizationpasses, which is 6 for MOZILLA_OFFICIAL; however, it's
not -- I see no change (let alone an improvement), when I set the
number of passes to 1, 6, 10, or 100.  I think there are two things at
play.  First, moz.build strips debugging information from "libraries",
which are broadly the Google support libraries.  I don't think it's
possible to strip debug information in this fine-grained manner using
Gradle.  Second, I think the Gradle build might be including more code
than the moz.build configuration (see the follow-up patch removing
multidex support), but I can't determine what's actually different.

After APK compression, I see less than a 50kb regression in APK size
between Gradle and moz.build outputs, which I deem reasonable.

MozReview-Commit-ID: 4q4Zye2wnOF

--HG--
extra : rebase_source : dfc0f983f56ceb5907f9aafcb37d2ac63d50988b
2016-11-21 11:58:57 -08:00
Nick Alexander
6fcb908d17 Bug 1318823 - Use com.getkeepsafe.dexcount in Gradle builds. r=sebastian
MozReview-Commit-ID: DHkWkztgJZB

--HG--
extra : rebase_source : b2a5a5d698a216cdbff9fcc5999cac8d76ff0d4a
2016-11-18 18:28:58 -08:00
Mike Conley
7fb9909561 Bug 418833 - Get rid of some padding rules for checkbox and radio on Fennec that were never being applied. r=snorp
MozReview-Commit-ID: LDrUKaP0nN0

--HG--
extra : rebase_source : 8b44c035287e2ca6b03d6496f4b9edf0bcf78319
2016-11-18 13:28:49 -05:00
Mike Conley
9d00dd2f96 Bug 418833 - Make non-native checkbox and radio input styles look right in Fennec. r=snorp
<input>'s of type checkbox and radio are rendered as native widgets by default
on Desktop, but on Fennec, we fallback to using the built-in, non-native
checkboxes.

The earlier patches in this series made it possible for agent, user and page
stylesheets to make changes to the non-native checkbox and radio input fields.

Unfortunately, some of the default agent styles for those checkbox and radio
elements on Fennec were accidentally setting rules that they shouldn't. That
wasn't a problem before because the inputs couldn't be styled before. Now that
they can, we're failing a bunch of reftests because the inputs look wrong in
certain situations.

For example:

1) We were setting background: var(--form_background) for every radio and
   checkbox input. --form_background is just a colour though, and that meant
   that the rest of the background styles were being overwritten. This has
   been fixed by setting background-color: var(--form_background) instead.
   The same also applied to some usage of --form_background_disabled.

2) We were setting border-radius: var(--form_border_radius) on all input
   elements, but this was putting rounded corners on the checkbox and
   radio inputs as well. This rule has been modified to skip checkbox
   and radio inputs.

MozReview-Commit-ID: CnpTRXcCxoY

--HG--
extra : rebase_source : ee688b96270e9b2b3498f18d43f9430048b9b444
2016-11-10 20:46:46 -05:00
Carsten "Tomcat" Book
a75ebc8c52 Merge mozilla-central to autoland 2016-11-21 15:47:42 +01:00
Carsten "Tomcat" Book
59bb309e38 merge mozilla-inbound to mozilla-central a=merge 2016-11-21 15:44:20 +01:00
Tooru Fujisawa
ae8843de1e Bug 1293305 - Part 1.8: Do not use non-standard for-each. r=sebastian 2016-11-21 15:03:44 +09:00
Shih-Chiang Chien
18c0f98fc6 Bug 1318214 - enable presentation API for 1-UA mode on Fennec nightly. r=smaug.
MozReview-Commit-ID: 37ykiqcaa8d

--HG--
extra : rebase_source : 8bd1c84042012b79de282acc88e7d68b7ae86c3b
2016-11-21 14:49:30 +08:00
Sebastian Hengst
f35213e02e Backed out changeset 38cde1f5d020 (bug 1235431) for failing mochitest test_openWindow.html on Android. r=backout on a CLOSED TREE 2016-11-22 18:01:59 +01:00
Carsten "Tomcat" Book
e0f46513b6 Merge mozilla-central to mozilla-inbound 2016-11-22 16:28:50 +01:00
Dylan Roeh
fea903381b Bug 1235431 - Implement windowClient.focus() for Fennec. r=catalinb 2016-11-14 17:22:13 -06:00
Tom Klein
0b4134bdc5 Bug 1310081 - 2. Refactor TabsListTouchHelperCallback to support any swipe alpha function. r=sebastian
MozReview-Commit-ID: HqKwdpArcMm

--HG--
extra : rebase_source : 886697556d7db5f954fe0a096829dbe3f240598a
extra : source : 8873a9ba7282bf454fd6cff4bb652ea0319be09b
2016-09-12 11:01:08 -05:00
Tom Klein
36a8b1bc24 Bug 1310081 - 1. Make the tabs list grid view a RecyclerView. r=sebastian
Our previous GridLayout settings gave extra horizontal space to the padding
between items, but GridLayoutManager by default simply left aligns fixed width
items in their column, so the item's width has been changed to fill_parent
and the item title has been switched to fixed width (since otherwise it looks
broken when it expands to an item width larger than the thumbnail width).  The
drawback is that clicking on the extra width part of an item activates the tab,
even though it would seem from what's being displayed that the item should end
at the vertical edge of the thumbnail - that will be fixed in a future commit.

Both the list and grid tabs panel views are now RecyclerViews, so move
TabsLayoutRecyclerAdapter.java to TabsLayoutAdapter.java.

MozReview-Commit-ID: CBrxw1HfRcP

--HG--
extra : rebase_source : 009e98a71b1644fbe39e36dab10bfbf371329fa8
extra : source : 1c6a92e7614c2b0981db9ccfbc1d673656c88daf
2016-09-12 11:21:51 -05:00
James Cheng
a429f2b9f4 Bug 1317239 - Part2 - Config the video decoder with adaptive playback feature if it is supported. r=jolin
MozReview-Commit-ID: FORF2NNxgUH

--HG--
extra : rebase_source : 11f32b62296a53fd01182455d1abac942a8c9501
2016-11-23 14:12:05 +08:00
James Cheng
3f263dd616 Bug 1317239 - Part1 - Add an API to ask if the codec support adaptive playback. r=jolin
MozReview-Commit-ID: 7Pgj9hFE6pu

--HG--
extra : rebase_source : bc2b6b0c5052655c9e2ea0f8f44dd31169a40a75
2016-11-23 14:11:22 +08:00
Sebastian Kaspari
51161bb8fc Bug 1315076 - IconDownloader: Catch exceptions inside tryDownloadRecurse() and close connection if needed. r=Grisha
MozReview-Commit-ID: E6HUKrX37cH

--HG--
extra : rebase_source : 1e264c1a41c6a1291619acdc73f3430594e81e95
2016-11-22 14:12:16 +01:00
Sebastian Kaspari
42809e0f6d Bug 1268414 - Remove UnusedResourcesUtil.TEMPORARY_UNUSED_WHILE_MIGRATING_GRADLE and related resources. r?
MozReview-Commit-ID: 2VMQrRvvMi3

--HG--
extra : rebase_source : 4e1b65e07dc38c13ff6da790d025472b59960383
2016-11-17 15:45:31 +08:00
Ted Mielczarek
fa343243d0 bug 1286934 - Switch to using sccache2. r=gps
This patch does a few things:
1) Change all the in-tree tooltool manifests to contain sccache2 instead of the existing Python sccache
2) Change mozconfig.cache to point at sccache.
3) Lightly tweak the --with-cccache configure option to support sccache, and detect whether we're using ccache or sccache and set an option appropriately.
4) Add a MOZ_SCCACHE_VERBOSE_STATS option, and add a target in the top-level Makefile to make sccache spit out its stats at the end of the build. This is useful to see the cache hits/errors until we get something better.
5) Add MOZ_USING_SCCACHE to the build telemetry. Not that I think it will be immediately useful, but for future use.

MozReview-Commit-ID: 9lrdLwNj5Bm

--HG--
extra : rebase_source : d323457df10d0ee0ac5811940e518d9422a7e070
2016-08-25 18:39:57 -04:00
Randall Barker
cbb0be79dc Bug 1318245 - Prevent intermittent crash in Fennec by removing unneeded call to IBinder.unlinkToDeath during child service process shutdown r=snorp 2016-11-21 09:36:26 -08:00
Jim Chen
c2f64f66ce Bug 1317604 - 2. Rip out GeckoView event listeners; r=snorp
GeckoView's GeckoEventListener and NativeEventListener are not actually
hooked up to events right now, so it's better to just rip them out until
we figure out a better implementation in the future.
2016-11-21 10:01:30 -05:00
Jim Chen
bb6f8910a3 Bug 1317604 - 1a. Update testEventDispatcher to use Messaging.jsm; r=snorp
testEventDispatcher used to use nsIAndroidEventDispatcher directly,
either through nsIAndroidBridge or through a window's nsIAndroidView.
Now that Messaging.jsm provides delegate objects for those interfaces,
testEventDispatcher should use Messaging.jsm, so that we are testing
Messaging.jsm as well.
2016-11-21 10:01:30 -05:00
Jim Chen
347c3ce21e Bug 1317604 - 1. Add EventDispatcher to Messaging.jsm; r=snorp r=sebastian
Add a new EventDispatcher interface to Messaging.jsm, and provide means
to access either the global EventDispatcher through
EventDispatcher.instance or a per-window EventDispatcher through
EventDispatcher.for(window). The old Messaging object is retained until
we can convert all existing uses of it in Fennec to use EventDispatcher,
at which point `Messaging` will be made to point to
`EventDispatcher.instance`.
2016-11-21 10:01:30 -05:00
Andreas Tolfsen
f716b437df Bug 1317733 - Simplify Marionette component file names; r=automatedtester
MozReview-Commit-ID: 3byVSqpkr9

--HG--
rename : testing/marionette/components/marionettecomponent.js => testing/marionette/components/marionette.js
extra : rebase_source : 5db9377612c52bc636d55215f5dd7852ce0650bb
2016-11-15 17:16:23 +00:00
Carsten "Tomcat" Book
a69c372ef1 Merge mozilla-central to autoland 2016-11-18 16:57:20 +01:00
Phil Ringnalda
e3b53628aa Merge m-c to m-i
MozReview-Commit-ID: GwBaSZdoAZK
2016-11-17 20:33:59 -08:00
Phil Ringnalda
61baa2aa9a Merge m-i to m-c, a=merge
MozReview-Commit-ID: A3wgReQAalj
2016-11-17 19:21:20 -08:00
Ehsan Akhgari
d07f79a266 Bug 1318210 - Remove nsIAppsService; r=baku 2016-11-17 10:41:36 -05:00
Kris Maglione
36250d10ef Bug 1317101 - Part 3: Apply remote-browser binding to all remote="true" <browser>s. r=billm
MozReview-Commit-ID: 83sNFdLM4W7

--HG--
extra : rebase_source : 7383c57f6ee52f0c0dfc8401ae3c6f35eee7eb1b
extra : source : 07321664430ab3416a0aa3a29055012b5eb149c5
2016-11-15 15:11:27 -08:00