Commit Graph

354230 Commits

Author SHA1 Message Date
Neil Rashbrook
936188506a Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-04-03 23:06:26 +01:00
Joshua Cranmer
bbf90fc4c1 Bug 991449: Shorten Unified filename prefixes to avoid max path length linker errors on Windows, r=gps
--HG--
extra : rebase_source : 4f3ff4324b87ebdfa20c6bc92cbabb8eb6f60391
2014-04-03 16:50:31 -05:00
Chris Pearce
7f6e8b96b9 Bug 986947 - Make MP3 contained in MP4 playback again on Windows with WMF backend. r=padenot
Report that we can play MP3 inside MP4 on Windows Vista and later in
HTMLMediaElement.canPlayType. Chrome and IE on Windows match this behaviour.

Add a test file with MP3 contained inside MP4. Note the B2G emulator can't play
this file, so I added a codecs parameter to the file's mime type so that
decoder backends have to opt-in to testing with it.

Enable playback of MP3 inside MP4 in WMFReader.

Change from reporting the IMFSourceReader's duration inside WMFReader, to
instead report the IMFSourceReader's duration as the media "end time". This is
needed because the MP3-contained-in-MP4 file's first sample output by the
IMFSourceReader has a non-zero timestamp, and the MediaDecoderStateMachine
assumes that the media samples will be in the range
[$firstSampleStartTime, $firstSampleStartTime+$reportedDuration]. But that's
not the case here, the IMFSourceReader seems to output samples in the range
[0,$reportedDuration]. This assumption mismatch means on the
MP3-contained-in-MP4 file we end up trying to seek after what the
IMFSourceReader assumes is the end of the file, which fails and causes
test failures.
2014-04-04 10:39:42 +13:00
Chris Pearce
ca5f79e5a8 Bug 991448 - Skip Theora decode to next keyframe after seek, so that we don't get visual artifacts after a fastSeek. r=cajbir 2014-04-04 10:39:15 +13:00
James Graham
1e5a6da82f Bug 991727 - Update mozprocess version due to API change, r=ahal 2014-04-03 22:19:31 +01:00
David Burns
0a09d2bae4 Bug 967179: Enable b2g tests that do not need to be disabled; r=mdas 2014-04-03 22:14:57 +01:00
David Burns
2059b3528f Bug 991242: Remove Marionette unit test as this is covered by Gaia testing; r=jgriffin 2014-04-03 22:01:26 +01:00
Wes Kocher
0fb1762c29 Backed out changeset 533e61eb95d3 (bug 991234) for mochitest-2 bustage on Windows 2014-04-03 13:52:53 -07:00
Wes Kocher
1af20f9415 Backed out 3 changesets (bug 977126) for mochitest-2 bustage on Windows
Backed out changeset 2daa537b62e6 (bug 977126)
Backed out changeset d87a13b71afc (bug 977126)
Backed out changeset 3bd335914852 (bug 977126)
2014-04-03 13:52:36 -07:00
Bill McCloskey
7b13759de7 Bug 986317 - Stop exposing urgent semantics in IPDL files (r=bent) 2014-04-03 13:29:11 -07:00
Jed Davis
c3cf6886c9 Bug 989042 - Use waitid() only on Gonk; unbreak BSD build. r=bsmedberg 2014-04-03 16:19:00 -04:00
Rik Cabanier
4a61e1ef52 Bug 988409 - Turn on Path2D by default. r=roc, r=bz 2014-04-03 16:18:38 -04:00
David Rajchenbach-Teller
2c7f5936aa Bug 976205 - Uncaught async exceptions now cause xpcshell tests to fail. r=paolo, r=ted 2014-04-03 16:18:21 -04:00
Ryan VanderMeulen
477580acf1 Merge m-c to inbound. 2014-04-03 15:28:15 -04:00
Ryan VanderMeulen
7649261537 Merge inbound to m-c. 2014-04-03 15:24:54 -04:00
Ryan VanderMeulen
c6bc1895dd Merge b2g-inbound to m-c. 2014-04-03 15:10:56 -04:00
B2G Bumper Bot
050374bb25 Bumping manifests a=b2g-bump 2014-04-03 11:21:25 -07:00
B2G Bumper Bot
539f10016b Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/ac34484ce7f6
Author: Ryan VanderMeulen <ryanvm@gmail.com>
Desc: Revert "Merge pull request #17807 from huchengtw-moz/system2/Bug_971554-reland-2"

This reverts commit 3c23b5013e62d6f059d9a0b9f9e8c8db0c3aa2fe, reversing
changes made to 716250e989d516c6e0c1bf5bf0d69417428f17c2.

Conflicts:
	apps/system/js/bootstrap.js
2014-04-03 11:16:17 -07:00
B2G Bumper Bot
a5adba5b39 Bumping manifests a=b2g-bump 2014-04-03 09:21:16 -07:00
B2G Bumper Bot
e8faacda0b Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/30c80e4efa68
Author: gitmai <mri@tid.es>
Desc: Merge pull request #17922 from gitmai/bug-987142-CC-jshint-fix-2

Bug 987142 -[Cost Control] Fix jshint erros (second part)
r=jmcf

========

https://hg.mozilla.org/integration/gaia-central/rev/34c2151a3299
Author: mai <mri@tid.es>
Desc: Bug 987142 - [CostControl] Fix jshint errors (second part)
2014-04-03 09:16:09 -07:00
B2G Bumper Bot
6579100a87 Bumping manifests a=b2g-bump 2014-04-03 09:06:20 -07:00
B2G Bumper Bot
457f77c283 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/88628e86b7b1
Author: Michał Budzyński <michal@virtualdesign.pl>
Desc: Merge pull request #16326 from michalbe/nfc-contacts

Bug 903245 - NFC support in contacts

========

https://hg.mozilla.org/integration/gaia-central/rev/d3dbcc917d45
Author: Michal Budzynski <michal@virtualdesign.pl>
Desc: Bug 903245 - NFC support in contacts
2014-04-03 09:01:14 -07:00
B2G Bumper Bot
c8f4479558 Bumping manifests a=b2g-bump 2014-04-03 08:56:13 -07:00
B2G Bumper Bot
3277f42908 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/463fd6e56dc9
Author: Pavel Ivanov <pivanov@mozilla.com>
Desc: Merge pull request #15323 from pivanov/bug-949758

Bug 949758 - [B2G][Settings] The highlighter for the language selection box is offset.

========

https://hg.mozilla.org/integration/gaia-central/rev/16ebe7853d97
Author: Pavel Ivanov <pivanov@mozilla.com>
Desc: Bug 949758 - [B2G][Settings] The highlighter for the language selection box is offset.
2014-04-03 08:51:05 -07:00
Ryan VanderMeulen
d474c0c60f Backed out changeset 234d50648ad1 (bug 983022) for non-Linux build bustage.
CLOSED TREE
2014-04-03 11:38:27 -04:00
Brian Hackett
87502501fc Bug 989503 - Recover cleanly after OOM while adding type object properties, r=jandem. 2014-04-03 08:27:51 -07:00
B2G Bumper Bot
fe53257d7a Bumping manifests a=b2g-bump 2014-04-03 08:16:58 -07:00
Hannes Verschore
3922e2c6e9 Bug 991618 - IonMonkey: Set AliasSet on MBail, r=nbp 2014-04-03 17:16:23 +02:00
B2G Bumper Bot
d70242cf30 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/371c13208a54
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Merge pull request #16329 from Joshua-S/bug-971704

[Bug 971704] - Clean up Wallpaper File Structure in Gaia

========

https://hg.mozilla.org/integration/gaia-central/rev/9bde3c63ffbc
Author: Joshua Smith <joshua-smith@verizon.net>
Desc: Bug 971704 - Clean up Wallpaper File Structure in Gaia
2014-04-03 08:10:41 -07:00
David Rajchenbach-Teller
6d8e793598 Bug 991038 - Uncaught async error in DownloadIntegration.jsm. r=paolo 2014-04-03 11:01:07 -04:00
Kartikaya Gupta
650dde0466 Bug 988800 - Catch and ignore situations where we try to composite on a destroyed LayerRenderer instance. r=Cwiiis 2014-04-03 11:01:07 -04:00
Simone Bruno
01627b900e Bug 991203 - mozconfig file to be used for B2G linux64 desktop debug builds. r=aki, a=NPOTB 2014-04-03 15:20:28 +02:00
Carsten "Tomcat" Book
87f3c4aa86 merge b2g-inbound to mozilla-central 2014-04-03 12:48:14 +02:00
Carsten "Tomcat" Book
b24c75eef3 merge fx-team to mozilla-central 2014-04-03 12:46:58 +02:00
Carsten "Tomcat" Book
20a3d7ddce merge mozilla-inbound to mozilla-central 2014-04-03 12:45:02 +02:00
Dimi Lee
82af933627 Bug 991499 - WifiWorker still try to send message to component which is already shutdown. r=vchang 2014-04-03 18:10:16 +08:00
Phil Ringnalda
a21ec22a24 Back out 81dd398600c4 (bug 850336) for linux bc2 leaks-until-shutdown 2014-04-02 23:17:37 -07:00
B2G Bumper Bot
5ac934e7c5 Bumping manifests a=b2g-bump 2014-04-02 23:06:18 -07:00
Cameron McCormack
f61c43798c Bug 957833 - Enable CSS Variables by default in release builds. r=dbaron 2014-04-03 17:05:28 +11:00
Nicolas Silva
3cb6d93ac3 Bug 989904 - Remove the remaining deprecated textures code. r=mattwoodrow 2014-04-03 14:04:04 +08:00
B2G Bumper Bot
497a17eded Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/ee69e9abde3e
Author: David Flanagan <dflanagan@mozilla.com>
Desc: Merge pull request #17930 from davidflanagan/bug990630

Bug 990630: extract the EXIF preview metadata that media frame needs r=jdarcangelo

========

https://hg.mozilla.org/integration/gaia-central/rev/d24179d3a963
Author: David Flanagan <dflanagan@mozilla.com>
Desc: Bug 990630: extract the EXIF preview metadata that media frame needs

don't parse EXIF again when creating thumbnail

Diego's README changes

update tests
2014-04-02 23:01:11 -07:00
Brian Birtles
69ad5c898e Bug 880596 part 9 - Fix comment about mFlushCount; r=dbaron
Two comments in AnimationCommon.h refer to 'mFlushCount' which was presumably
the old name for mAnimationGeneration. Also, one comment says
nsCSSFrameConstructor tracks this. This patch adjusts the comments to refer
to mAnimationGeneration and RestyleManager.

(The reference to nsTransitionManager::UpdateAllThrottleStyles() is still valid
since there is useful documentation accompanying that method despite the fact
that the relevant code is mostly contained in AnimationCommon.h since bug
914847. Eventually we will unify the structures of transitions and
animations to the the point that we can replace the
IMPL_UPDATE_ALL_THROTTLED_STYLES_INTERNAL macro in AnimationCommon.h with an
actual method. At that point we can move the documentation accompanying
nsTransitionManager::UpdateAllThrottleStyles and its references to
AnimationCommon.)
2014-04-03 14:57:28 +09:00
Brian Birtles
016517a8be Bug 880596 part 8 - Rename ElementAnimation to StyleAnimation; r=dbaron
We need a basic representation of animations from which we can derive subclasses
to represent specific cases such as transitions. For now we will retrofit
ElementAnimation for that purpose hence renaming it to StyleAnimation.

This patch removes the "using namespace mozilla::layers" line from
AnimationCommon.cpp since the unified build system concatenates several files
together before compiling making using declarations like this leak into other
files potentially creating ambiguities. Previously, when we were calling
ElementAnimation, 'Animation', there were ambiguities between
mozilla::layers::Animation and this new 'Animation' class. In general, it is
probably a good idea to limit the scope of these using declarations so I've kept
that change.
2014-04-03 14:57:28 +09:00
Brian Birtles
70cf5d9db3 Bug 880596 part 7 - Move ElementAnimation to AnimationCommon; r=dbaron
This patch relocates ElementAnimation from nsAnimationManager.{h,cpp} to
AnimationCommon.{h,cpp} and in the process moves it into the mozilla::css
namespace.
2014-04-03 14:57:28 +09:00
Brian Birtles
45430e6749 Bug 880596 part 6 - Factor out common method for adding animations and transitions to a layer; r=dbaron
The loops for adding animations and transitions to a layer in
nsDisplayList::AddAnimationsAndTransitionsToLayer are now identical and so can
be factored out into a common method.

Since it is not possible to implicitly convert from
nsTArray<ElementPropertyTransition> to nsTArray<ElementAnimation> despite
ElementPropertyTransition being a subclass of ElementAnimation a templated
method is used. In the future, as animations and transitions share more and more
code, we should be able to remove the need for templates.
2014-04-03 14:57:28 +09:00
Brian Birtles
32b1480e8c Bug 880596 part 5 - Make ElementAnimation::HasAnimationOfProperty no longer virtual; r=dbaron
ElementAnimation::HasAnimationOfProperty doesn't seem to be overridden anywhere.
I suspect it was a copy-paste mistake because the methods of the same name on
ElementAnimations, ElementTransitions, and CommonElementAnimationData are
virtual.
2014-04-03 14:57:28 +09:00
Brian Birtles
e4ad12be38 Bug 880596 part 4 - Reuse ElementAnimation::HasAnimationOfProperty; r=dbaron
Now that ElementTransitionProperty inherits from ElementAnimation,
ElementTransitions::HasAnimationOfProperty can re-use
ElementAnimation::HasAnimationOfProperty in its definition of
ElementTransitions::HasAnimationOfProperty.

Similarly, in nsDisplayList::AddAnimationsAndTransitionsToLayer we can use this
method rather than drilling down to the appropriate segment by hand.
2014-04-03 14:57:27 +09:00
Brian Birtles
5692eb597f Bug 880596 part 3 - Remove ElementPropertyTransition::IsRunningAt and mIsRunningOnCompositor; r=dbaron
Both ElementPropertyTransition and ElementAnimation specify an IsRunningAt
method which have the same purpose but with two subtle differences:

a) ElementPropertyTransition::IsRunningAt checks if the transition is a removed
sentinel and if so returns false. This patch adds a check for a null start time
to IsRunningAt since I think in future we will want to allow null times in
various places to represent, for example, animations that are not connected to
a timeline. (However, ultimately we will probably not allow start times on
*animations* to be null, only on their associated player.)

Should we later use a different mechanism for marking sentinel transitions (e.g.
a boolean flag) this method should still be correct as it checks if aTime is
inside the transition interval before returning true.

b) ElementPropertyTransition::IsRunningAt returns false if the transition is in
the delay phase, that is, waiting to start. This patch changes this behavior so
that transitions are considered running even if they are in the delay phase.
This brings their behavior into line with animations and removes the need for
the ElementPropertyTransition::mIsRunningOnCompositor since it is only used to
determine when a transition in the delay phase has begun.

ElementAnimation::IsRunningAt also handles pause state and iterations but this
logic should still be correct for transitions which, in this area, only use
a subset of the functionality of animations since their pause state is always
playing and their iteration count is 1.
2014-04-03 14:57:27 +09:00
Brian Birtles
0717077492 Bug 880596 part 2 - Make ElementPropertyTransition inherit from ElementAnimation; r=dbaron
As part of moving towards more shared data structures for animation, this patch
makes ElementPropertyTransition inherit from ElementAnimation. At the same time
we switch from storing the target property, start/end values, start time, delay,
and timing function on the transition to the corresponding location in
ElementAnimation.

Since nsDisplayList::AddAnimationsAndTransitionsToLayer was already doing this
conversion in order to create animations to pass to the compositor thread, we
can remove the conversion code from there and just use the ElementAnimation data
structures as-is.

A number of assertions are added to verify that transitions are set up as
expected (namely, they have only a single property-animation with a single
segment). As we move to more generic handling of animations and transitions
these assertions should disappear.
2014-04-03 14:57:27 +09:00
Brian Birtles
b2bfc795ed Bug 880596 part 1 - Separate delay from start time for transitions; r=dbaron
As a first step towards making CSS animations and CSS transitions use the same
data structures, this patch aligns their behavior with regards to start time and
delay handling.

Previously, ElementAnimation objects maintained separate mStartTime and mDelay
members whilst ElementPropertyTransition objects maintained a single mStartTime
property that incorporated the delay. This patch adds an mDelay member to
ElementPropertyTransition and stores the delay and start time separately.
Calculations involving ElementPropertyTransition::mStartTime are adjusted to
incorporate mDelay.
2014-04-03 14:57:27 +09:00