Commit Graph

463006 Commits

Author SHA1 Message Date
Louis Christie
33555bc56d Bug 1250293 - Fixed Coverity warning in WaveDemuxer.cpp. r=cpearce 2016-02-25 10:05:04 +13:00
Lee Salzman
876e94a736 Bug 1248223 - verify that stroke widths are finite for Skia. r=jmuizelaar 2016-02-23 18:09:03 -05:00
Shu-yu Guo
5d028c4e25 Bug 1248202 - Handle an OOM case in optimization tracking. r=jandem 2016-02-16 14:06:00 +01:00
dimi
f4133f869a Bug 1237992 - service worker activate should be executed after install onstatechange events are fired. r=bkelly 2016-02-25 09:03:28 +08:00
Cykesiopka
da44ab790c Bug 1220237 - Remove uses of nsIEnumerator from PSM. r=keeler
MozReview-Commit-ID: 3FhBCqnJz4n

--HG--
extra : transplant_source : %1B%9B%40%EAzK%A2%F6%B0%FF%FF%A3O%A6%D7%25c%DD%F1U
2016-02-24 17:42:45 -08:00
Ben Kelly
8db0a4a832 Bug 1206346 P2 Back out Date.now() comparison to Performance.now() measurements. r=jdm 2016-02-20 06:57:00 +01:00
Brendan Dahl
1e077c8a5f Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-23 17:10:00 +01:00
Honza Bambas
540b56cf15 Bug 1250141 - Remove NS_WARN_IF after AppendOriginNoSuffix in DOMStorageManager::CheckStorage, r=ehsan 2016-02-24 22:27:09 -08:00
Cameron McCormack
995d7af691 Preemptive unified build fix; no bug. 2016-02-25 17:26:12 +11:00
Matt Woodrow
3bf68e972e Bug 1248323: P3. Add test for NV12/YUV422 readback. r=me
reftest is disabled on windows due to localized try readback errors that can't be reproduced.

MozReview-Commit-ID: 379PZsRE5d6

--HG--
extra : rebase_source : b990572c0f33860998eb5485824e417387d3e204
2015-02-26 08:01:07 +13:00
Jean-Yves Avenard
5d1c0dea05 Bug 1248323: P2. Add readback code for converting YUV422 MacIOSurfaces into RGB. r=nical
MozReview-Commit-ID: 4jhP5fgXZhq

--HG--
extra : rebase_source : 3746097a71746723de541b1a7fb1b8971e914075
2016-02-23 23:47:29 +11:00
Jean-Yves Avenard
0f2fbc9d88 Bug 1248323: P1. Add support for YUV422 IOSurface. r=nical
Those are really UYVY 16bpp surface.

MozReview-Commit-ID: DWkqrF6Norj

--HG--
extra : rebase_source : 479500af560f61a3f6b6c4c3b0f64aeb92438a9a
2016-02-23 13:26:27 +11:00
John Lin
4ca43175f3 Bug 1233410 - Support VP8 video in OpenMAX PDM. r=alfredo
MozReview-Commit-ID: HVxynPLlXKJ
2016-02-25 11:54:03 +08:00
John Lin
86ade93f25 Bug 1233410 - Refactor: let component decide which compression format to use. r=alfredo
MozReview-Commit-ID: EVBTwua5BFL
2016-02-25 11:53:53 +08:00
John Lin
165a99b421 Bug 1229361 - Support AMR audio in OpenMAX PDM. r=alfredo
MozReview-Commit-ID: 4csBcHMxJem
2016-02-25 11:53:47 +08:00
John Lin
60a47aaf9b Bug 1229360 - Support MP3 audio in OpenMAX PDM. r=alfredo
MozReview-Commit-ID: HUp8Z5KQ8ua
2016-02-25 11:53:38 +08:00
John Lin
1f6d2888cc Bug 1229360 - Configure audio output port. r=alfredo
MozReview-Commit-ID: JQV5w1JFhsT
2016-02-25 11:53:29 +08:00
John Lin
55e0a4670f Bug 1243681 - Query port base and calculate index with it. r=alfredo
MozReview-Commit-ID: BTOCq8NTgp9
2016-02-25 11:53:18 +08:00
Lee Salzman
2a69a5aa16 Bug 1250787 - ensure that subpixel text is disabled for Skia's Cairo font host so that font rendering matches our font metrics. r=mchang 2016-02-24 20:35:38 -05:00
Nicholas Nethercote
13ac3274cc Bug 1248534 (part 9) - Remove XPT arena logging code. r=khuey.
It's not useful.

--HG--
extra : rebase_source : 90cdfa37fff023adffd12327ce5c7595e0d8d285
2016-02-23 05:33:35 +11:00
Nicholas Nethercote
a6ecbe4768 Bug 1248534 (part 8) - Remove useless XPT freeing code. r=khuey.
XPT has some functions and macros for freeing memory. However, they (a) are
only used on error paths, and (b) don't actually free memory -- they just
optionally log the "freeing" -- because piecewise freeing doesn't make sense
with arena allocation.

This patch removes all that unnecessary machinery.

--HG--
extra : rebase_source : 40fb8dfd3851a89aaf0501ae290b3a6ca8ac90bc
2016-02-23 05:33:35 +11:00
Nicholas Nethercote
74cc2d7704 Bug 1249174 (part 7) - Only define XPTArena::name if XPT_ARENA_LOGGING is defined. r=khuey.
--HG--
extra : rebase_source : 094100088aecba9f3198eee9550f6c41be0f1628
2016-02-23 05:33:35 +11:00
Nicholas Nethercote
b1487760df Bug 1248534 (part 6) - Stack-allocate XPTState. r=khuey.
RegisterBuffer() is the only place that creates an XPTState, and it also
destroys it. So the XPTState can be allocated on the stack, which voids the
need for the creation of an XPTArena.

--HG--
extra : rebase_source : b25f0e798d72b8742efc96793a927f8a060101cf
2016-02-23 05:33:35 +11:00
Nicholas Nethercote
772b0ceb7f Bug 1248534 (part 5) - Remove XPTDatapool. r=khuey.
It can just be inlined into XPTState, which simplifies things.

--HG--
extra : rebase_source : ca8223c90dbd61521b0f24afeb13d7d3ee2a434d
2016-02-23 05:33:35 +11:00
Nicholas Nethercote
7bbc5367a4 Bug 1248534 (part 4) - Remove unused fields from XPTConstValue. r=khuey.
--HG--
extra : rebase_source : 10b5ebb8c9b80140e6abae6c55ee32424136353e
2016-02-23 05:28:13 +11:00
Nicholas Nethercote
3ae60b8b3e Bug 1248534 (part 3) - Remove almost all support for XPT annotations. r=khuey.
XPT supports annotations but xpt.py doesn't generate them except for a single
empty annotation (to indicate there are no real annotations). So we can remove
almost all support for them. This also allows XPTString to be removed.

--HG--
extra : rebase_source : 889e635e9167f31c38c015bafe943f2c577f1daf
2016-02-22 09:52:39 +11:00
Nicholas Nethercote
2735b61ff4 Bug 1248534 (part 2) - Remove unused XPT flags. r=khuey.
--HG--
extra : rebase_source : 9423560ffca6b7e50e746ab86861888695d66df2
2016-02-16 19:04:18 +11:00
Nicholas Nethercote
0e4dc7f598 Bug 1248534 (part 1) - Remove XPT encoding support. r=khuey.
Currently XPT can both encode and decode, but encoding has been handled by
Python code since bug 643817, so the encoding support can be removed. This
results in many simplifications. Some notable changes:

- All the XPTHashTable code (including XPTDatapool::offset_map) is no longer
  necessary.

- PrimitiveTest.cpp and SimpleTypeLib.cpp both don't make much sense without
  encoding support, so I removed them.

- A lot of the version code was already unused, e.g. XPT_VERSION_*,
  XPT_TYPELIB_VERSIONS_STRUCT, XPT_TYPELIB_VERSIONS.
  XPT_MAJOR_INCOMPATIBLE_VERSION is the only thing actually used in version
  checks.

- The patch also removes some code that was dead even before encoding removal,
  such as XPT_ParseVersionString().

--HG--
extra : rebase_source : 11cfe0b01efde4e2ff0c74b02b408baebedd3dd8
2016-02-16 19:02:51 +11:00
Phil Ringnalda
741a5000b4 Bug 1244913 followup, disable test_peerConnection_scaleResolution.html on Android 4.3 opt, too 2016-02-24 19:07:38 -08:00
Brian Birtles
1231ac3eea Bug 1239945 part 5 - Use MayHaveAnimations() to return early in CommonAnimationManager::GetAnimationCollection; r=dholbert
Currently, CommonAnimationManager::GetAnimationCollection returns early when
the referenced list of animation collections is empty. So, for example, if
we try to get the collection of CSS animations on an element on a page with no
CSS animations, we will quickly return null without possibly expensive property
lookup. However, if there is just one CSS animation on the page, we will do the
property lookup for every element in the page where this method is called.

In this bug, we would like to remove the linked list of animation collections
since this is now the only place where it is used. So, in place if this
optimization, we introduce quite a different one based on the changes from bug
1226091 which makes MayHaveAnimations() apply to animations on the element
itself as well as pseudo elements. Using this, we can return early for any
element that has never had any kind of animation on it. The page may have
dozens of other animations but we will still return early. However, if the
element has ever had any kind of animation on it, we will not return early. It
is expected that this optimization is at least as good as the one it replaces.
2016-02-24 16:09:31 +09:00
Brian Birtles
f6ce89fead Bug 1239945 part 4 - Remove the pointer from an AnimationCollection to its manager since it is no longer used; r=dholbert 2016-02-24 16:08:56 +09:00
Brian Birtles
5413ebdb9d Bug 1239945 part 3 - Move AnimationCollection to a separate file; r=dholbert
In this bug we will trim off unnecessary functionality from the animation
managers and make AnimationCollection into an independent data type
so in this patch we separate it into its own file.

It is also generally easier to navigate the source code and eliminate
cyclic dependencies between header files when there is a rough
correspondance between class names and file names (e.g. rather than having
#include "AnimationCommon.h" // For mozilla::AnimationCollection).

This patch also makes a few simplifications to include dependencies since
they're a bit of a mess (making it hard to move code around). The changes to
IncrementalClearCOMRuleArray.cpp are due to the changes to the unified build
introduced by adding AnimationCollection.cpp exposing a missing include from
that file.
2016-02-24 16:08:20 +09:00
Brian Birtles
a9218457d2 Bug 1239945 part 2 - Drop CommonAnimationManager::ContentOrAncestorHasAnimation; r=dholbert
This was added in bug 780692 to work around assertions that arose due to the
inconsistent state introduced by mini-flushes. However, that workaround
no longer seems necessary. In particular, the crashtest for bug 813372 no
longer reports failed assertions when we remove this method and nor do any
other tests.

I'm not sure exactly what changed about how we do mini-flushes but I suspect
it was bug 960465 or one of the related follow-ups.
2016-02-24 15:42:33 +09:00
Brian Birtles
d06f85599d Bug 1239945 part 1 - Drop a number of animation manager/collection-related methods that are unused (and in some cases undefined); r=dholbert 2016-02-24 13:41:16 +09:00
Brian Birtles
633a6e61b2 Bug 1239945 part 0 - Fix unified build 2016-02-25 12:00:46 +09:00
Hiroyuki Ikezoe
bffa02a965 Bug 1242872 - Part 9: Should not assume any order of animations in MurationObserver. r=pbrosset
After patch 7, the order of animations in MutationObserver has been reversed.
When we want to use the animations ordering by something, we need to sort it first.

MozReview-Commit-ID: 7xOYNsuSbvA
2016-02-19 16:43:08 +09:00
Hiroyuki Ikezoe
8f7f1cc1b7 Bug 1242872 - Part 8: ElementPropertyTransition::ToValue(). r=birtles
MozReview-Commit-ID: 2zSAG6zcoYc
2016-02-19 16:43:06 +09:00
Hiroyuki Ikezoe
07c3358f3c Bug 1242872 - Part 7: Eliminate creation of temporary animations. r=dbaron
This patch removes a loop for the new temporary animation collection in
CheckAnimationRule.  The old collection is passed to CSSAnimationBuilder,
and CSSAnimationBuilder removes each animation which matches to new animation
name in it.
:birtles took care of storing animations in AnimationCollection in reverse order.
Thanks so much!

MozReview-Commit-ID: KmlnjFptKdv
2016-02-19 14:10:43 +09:00
Hiroyuki Ikezoe
606ae12164 Bug 1242872 - Part 6: Trigger a layer update explicitly when copying animation properties. r=birtles
MozReview-Commit-ID: AWL43ypqLPT
2016-02-19 09:16:15 +09:00
Hiroyuki Ikezoe
e80b4bb7b2 Bug 1242872 - Part 5: Change CopyPropertiesFrom to UpdateProperties. r=birtles
Once we don't create any temporary effect, we do not need to pass
the effect to CopyPropertiesFrom.

MozReview-Commit-ID: HczU5IU6Ggp
2016-02-19 09:16:15 +09:00
Hiroyuki Ikezoe
1cdd02df80 Bug 1242872 - Part 4: Factor updating animation properties process out. r=dbaron
MozReview-Commit-ID: 8VWdC3wFRZX
2016-02-19 09:16:15 +09:00
Hiroyuki Ikezoe
d0a6cc2bb8 Bug 1242872 - Part 3: Factor finding old animations process out. r=dbaron
MozReview-Commit-ID: H4bFKGpnhpX
2016-02-19 09:16:15 +09:00
Hiroyuki Ikezoe
67a3778e18 Bug 1242872 - Part 2: Set timeline in CSSAnimationBuilder::Build. r=dbaron
MozReview-Commit-ID: 6bisME1VK0d
2016-02-19 09:16:15 +09:00
Hiroyuki Ikezoe
e0d8bc16e9 Bug 1242872 - Part 1.1: Move AnimationManager::BuildAnimations. r=dbaron
MozReview-Commit-ID: ENfBlECSiDP
2016-02-19 09:16:15 +09:00
Hiroyuki Ikezoe
ed1cf18658 Bug 1242872 - Part 1: Introduce CSSAnimationBuilder to factor a bunch of stuff in BuildAnimations and CheckAnimationRule out. r=dbaron
MozReview-Commit-ID: 7921De3IVA6
2016-02-19 09:16:15 +09:00
Shu-yu Guo
41d21a5791 Bug 1249469 - Followup: missing #include on a CLOSED TREE. 2016-02-24 18:45:47 -08:00
Phil Ringnalda
d556bb4f21 Back out 10cb85773212 (bug 1250717) for not telling graphserver it was going to change a talos test's name
CLOSED TREE
2016-02-24 18:22:19 -08:00
Felipe Gomes
3d01e737df Bug 1250744 - Enable blocking of e10s by add-ons for beta/release. r=mossop
MozReview-Commit-ID: Egdea8osI5q

--HG--
extra : rebase_source : a76f26a5b9935482e1cda35cbdce24165f81acd4
2016-02-23 22:21:38 -03:00
Nicholas Nethercote
711418387a Bug 1250396 (part 2) - Remove nsStaticAtomStringType. r=froydnj.
It's only used in one file and obscures more than it enlightens.

--HG--
extra : rebase_source : 70759ab71c0955d8f83c142cf5f1fb9f56d294e5
2016-02-23 16:55:59 +11:00
Nicholas Nethercote
d637d20fdf Bug 1250396 (part 1) - Document a subtle contraint on nsIAtom. r=froydnj.
--HG--
extra : rebase_source : d26b318240e504f170d5649f4c12eadf05c433b8
2016-02-17 11:30:02 +11:00