Commit Graph

198525 Commits

Author SHA1 Message Date
Daniel Holbert
f075ea8938 Bug 1049738: Mark toolkit/components/places as FAIL_ON_WARNINGS. r=mak 2014-08-10 17:16:25 -07:00
Valentin Gosu
0bb663ecce Bug 1051109 - Define non-static method to jsonify interface attributes r=smaug 2014-08-11 01:17:50 +03:00
Daniel Holbert
3c66727c27 Bug 1049747: Ensure the history service is up before proceeding, in InsertVisitedURIs::Start() and History::GetPlacesInfo(). r=mak 2014-08-10 14:26:52 -07:00
Randell Jesup
583bfcfee0 Bug 1030112: Fix typo in OMX H264 encode timestamp matching and deal with SPS/PPS timestamp assignment r=jhlin 2014-07-03 10:54:22 -04:00
Brian Hackett
7c981f1fbf Bug 1039458 - Add disabled loop unrolling optimization pass, r=jandem. 2014-08-10 12:41:51 -08:00
Jan de Mooij
078902cea0 Bug 1046585 part 4 - Cleanup ExecutableAllocator. r=sunfish 2014-08-10 12:13:04 -07:00
Tim Taubert
66e3ad7f14 Bug 1048133 - Check key algorithms before using them for encryption/signatures r=rbarnes a=abillings 2014-08-04 14:31:17 +02:00
Birunthan Mohanathas
a534663c41 Bug 1049979 - Fix 'functions may be declared only at top level or immediately within another function' warnings. r=gavin 2014-08-10 11:16:32 -07:00
Birunthan Mohanathas
8031546dc8 Bug 1049981 - Make error for non-existent files listed in SOURCES less ambiguous. r=ted 2014-08-10 11:13:38 -07:00
Timothy Nikkel
ac66180bb2 Bug 1027741. Run decode complete notification handler for image documentsn on a script runner because they trigger invalidation and decode complete notifications are often dispatched during painting. r=smaug 2014-08-10 13:01:40 -05:00
Kyle Huey
1a54dbf30a Bug 1051122: Don't infinitely recurse in CodeAddressServiceStringAlloc::free. r=dbaron 2014-08-10 09:27:23 -07:00
Andrea Marchesini
fb92456e66 Bug 1036484 - empty 404 worker script should emit a 'error' event, r=khuey
--HG--
rename : dom/workers/test/test_404.html => dom/workers/test/test_bug1036484.html
2014-08-10 15:33:06 +02:00
Jason Orendorff
2bd735b860 Backed out changeset 586ec2ee45d7 (bug 957513) for breaking the web.
--HG--
extra : rebase_source : 4de52cd93646ca7055ba6683b29d0767efd4a322
2014-08-07 17:41:48 -05:00
Ms2ger
a0992ceb80 Bug 1051199 - Bump mozlog to version 2.4; r=jgraham (DONTBUILD) 2014-08-10 09:56:56 +02:00
Mo Zanaty
b5a77e2104 Bug 1050461: Clean up webrtc upstream h264 mode 0 support and jitter buffer code, remove kludges r=jesup
Changes the H.264 RTP receiver to handle multiple NAL units per frame with
the same timestamp.
A single jitter buffer frame is created for all packets with the same RTP
timestamp. NAL units are depacketized upon insertion to the encoded frame
buffer. Depacketization includes insertion of start codes and removal of
fragmentation and aggregation unit headers.
2014-08-09 01:46:04 -04:00
Brian Birtles
813855dd9b Bug 1040543 part 11 - Make ElementPropertyTransition inherit from Animation instead of AnimationPlayer; r=bz
This patch changes the inheritance of ElementPropertyTransition so that it is
a subclass of Animation not AnimationPlayer.

The only thing special about ElementPropertyTransition is it stores some extra
state for reversing transitions and an extra ValuePortionFor convenience method.
This reversing behavior is implemented by the transition manager by creating
a new AnimationPlayer (i.e. it is *not* a property of the AnimationPlayer). As
a result this extra state can be pushed down to Animation which simplifies the
code significantly.

In future if we implement KeyframeEffect as a separate object we may be able to
push transition-specific state down to KeyframeEffect instead.
2014-08-10 17:06:52 +10:00
Brian Birtles
435e24f424 Bug 1040543 part 10 - Move mIsLastNotification from AnimationPlayer to Animation; r=bz
In this fourth step of dividing functionality between AnimationPlayer and
Animation, we move the mIsLastNotification and related methods/enums from
AnimationPlayer to Animation.

It is somewhat unclear where this belongs. This member is used to determine
which event to send for CSS Animations. The thinking behind moving this to
Animation is that if an animation that has already dispatched its animationstart
event was transferred to a new animation player with a similar current time then
I think it is expected that such an animation would *not* dispatch another
animationstart event. That suggests that event-state is a property of the
Animation not the AnimationPlayer.

Obviously, this needs to be defined somewhere (namely, the CSS Animations <->
Web Animations integration spec likely to become "CSS Animations Level 4"). Once
that behavior is agreed upon, if AnimationPlayer proves to be the more suitable
home for this member then it should be relatively straightforward to move the
member back at that time.
2014-08-10 17:06:51 +10:00
Brian Birtles
7cc2fe6201 Bug 1040543 part 9 - Move IsFinishedTransition from AnimationPlayer to Animation; r=bz
As the third step in dividing functionality between AnimationPlayer and
Animation this patch moves the mIsFinishedTransition member and related methods
from AnimationPlayer to Animation.

At the same time we rename SetFinishedTransition to SetIsFinishedTransition.
2014-08-10 17:06:51 +10:00
Brian Birtles
eee37dc2bd Bug 1040543 part 8 - Move timing parameters from AnimationPlayer to Animation; r=bz
As the second step in dividing functionality between AnimationPlayer and
Animation, this patch moves the AnimationTiming member from AnimationPlayer to
Animation.

Most of this patch is simply moving code around. However, one significant
functional difference is that Animation::GetLocalTime() uses the mParentTime
member which is set when the Animation is updated by the player it is attached
to.

Other less significant differences are:

* AnimationPlayer::GetLocalTime is renamed to GetCurrentTimeDuration
  In Web Animations, animation players have a (writeable) "current time" and
  animations have a (read-only) "local time".
  We would call the method simply "GetCurrentTime" (instead of
  "GetCurrentTimeDuration") but GetCurrentTime is the name of the method used in
  the content-facing API where it returns a double.

* "IsCurrent" is defined on both AnimationPlayer and Animation with the version
  in AnimationPlayer serving mostly as a convenience shortcut to the version on
  Animation.

* Animation::GetComputedTiming (previously on AnimationPlayer) now makes the
  timing parameter optional since most of the time it is not needed.
2014-08-10 17:06:50 +10:00
Brian Birtles
a66a1ea7b5 Bug 1040543 part 7 - Move keyframe properties from AnimationPlayer to Animation; r=bz
As the first step in dividing the functionality currently contained in
AnimationPlayer between AnimationPlayer and Animation this patch moves the set
of keyframe properties to the Animation.

These properties are returned from the Animation by a couple of Properties()
methods that provide direct access to the member variable. In future it is
anticipated that the non-const version will be replaced with an appropriate
setter function. This will likely happen when we implement a separate
KeyframeEffect object as defined by the Web Animations API.

With regards to error checking, nsAnimationManager checks the result of
AnimationPlayer::GetSource() and handles the case where it is nullptr.
nsTransitionManager, however, simply asserts that GetSource() is never null much
like it also asserts that there is only one property with one segment in the
animation. Eventually this code should be made more generic which will probably
happen in bug 999927.
2014-08-10 17:06:49 +10:00
Brian Birtles
cbee07055c Bug 1040543 part 6 - Rename mAnimations to mPlayers and likewise for similar local variables; r=bz
Now that we have both AnimationPlayer and Animation in use we need to clarify
which object we are referring to. This patch renames a number of member and
local variables to better reflect whether they point to an AnimationPlayer or an
Animation.

This patch is mostly renaming only with one exception. Since we are touching
a number of local variables used in loops (for looping over the array of
animation players) we take the opportunity to replace a number of instances of
uint32_t with size_t since that is the preferred type for array indices now.
2014-08-10 17:06:48 +10:00
Brian Birtles
9403f55c91 Bug 1040543 part 5 - Pass down time from AnimationPlayer to Animation; r=bz
This patch makes AnimationPlayers pass their current time down to the Animation
they are playing.

Since all Animations need from their players is their time, this avoids adding
a pointer back to their AnimationPlayer.
2014-08-10 17:06:48 +10:00
Brian Birtles
fd89e49012 Bug 1040543 part 4 - Create Animation objects and set on AnimationPlayer; r=bz 2014-08-10 17:06:47 +10:00
Brian Birtles
ff9dbee0c4 Bug 1040543 part 3 - Add Animation interface; r=bz
This patch adds the Animation interface and adds a 'source' attribute to
AnimationPlayer that refers to this class.
2014-08-10 17:06:46 +10:00
Brian Birtles
f5e61ac556 Bug 1040543 part 2 - Rename ElementAnimationCollection to AnimationPlayerCollection; r=bz 2014-08-10 17:06:46 +10:00
Brian Birtles
b1759d304e Bug 1040543 part 1 - Move/Rename ElementAnimations to dom::AnimationPlayer; r=bz
This patch renames mozilla::ElementAnimations to mozilla::dom::AnimationPlayer
and moves the code from layout/style/AnimationCommon.cpp to
dom/animation/AnimationPlayer.cpp.

It also moves various helper classes needed by AnimationPlayer to
AnimationPlayer.cpp and moves them from the mozilla::css namespace to the
mozilla namespace.

Beyond that, there are no functional changes contained in this patch.

The renaming of various members and variables that used to refer to
ElementAnimation objects but now refer to AnimationPlayer objects--to give them
a more appropriate name--is performed in a subsequent patch.

--HG--
rename : layout/style/AnimationCommon.cpp => dom/animation/AnimationPlayer.cpp
rename : layout/style/AnimationCommon.h => dom/animation/AnimationPlayer.h
2014-08-10 17:06:44 +10:00
Tim Taubert
5da25e9f64 Bug 1050318 - Split WebCrypto tests into multiple files to prevent timeouts r=rbarnes 2014-08-07 22:24:52 +02:00
Nathan Braswell
6d4ad69c30 Bug 937855 - Implement Object.assign. Patch is a tag-team effort with till. Also add tests: most courtesy of André Bargull, some from me, some suggested by jwalden. r=jwalden
--HG--
extra : rebase_source : 4dbbb9de2a833769d34e5ad80d041d4e6de9ab18
2014-08-06 16:55:18 -07:00
Jeff Walden
ed473848bf Further split up the dictionary-property-redefinition tests (beyond their current eight-way split, to a thirty-two-way split) so they don't potentially time out so readily. No bug, r=me as mechanical
--HG--
extra : rebase_source : 087012673cd68be6a30542802e84ad326a0b61c6
2014-08-08 19:49:38 -07:00
Tim Taubert
e7329e4114 Bug 1050785 - RSA-OAEP encrypt/decrypt should accept strings as AlgorithmIdentifiers r=rbarnes 2014-08-08 16:45:08 +02:00
Bobby Holley
12e0c48603 Bug 1026785 - Fix typo. r=me DONTBUILD 2014-08-09 17:36:09 -04:00
Ryan VanderMeulen
cba2fc7f42 Merge b2g-inbound to m-c. a=merge 2014-08-09 17:00:59 -04:00
B2G Bumper Bot
77a54fc078 Bumping manifests a=b2g-bump 2014-08-09 12:31:52 -07:00
B2G Bumper Bot
e9713eafa2 Bumping manifests a=b2g-bump 2014-08-09 12:21:52 -07:00
B2G Bumper Bot
19d38ba553 Bumping manifests a=b2g-bump 2014-08-09 12:17:01 -07:00
Ryan VanderMeulen
900f6e1cf3 Backed out changesets 37df1d58af4a and 792b068b7805 (bug 1025445) for Gaia unit test failures. 2014-08-09 15:14:09 -04:00
Julien Levesy
7b717da7e3 Bug 1025445 - Optimize x86 visitFloor using RangeAnalysis. r=nbp, r=sunfish 2014-08-09 11:38:51 -04:00
Julien Levesy
7f5b24670a Bug 1025445 - Propagate MFloor truncation upward. r=nbp, r=sunfish 2014-08-09 11:38:26 -04:00
Ryan VanderMeulen
db9cc2a062 Merge inbound to m-c. a=merge 2014-08-09 11:19:46 -04:00
Ryan VanderMeulen
847a505a01 Merge fx-team to m-c. a=merge 2014-08-09 11:17:55 -04:00
Ryan VanderMeulen
8f1f55efd7 Merge b2g-inbound to m-c. a=merge 2014-08-09 11:14:06 -04:00
Sylvestre Ledru
ac9d156829 Bug 1050715 - Update the description of the various tests targed proposed by './mach help' r=jmaher
--HG--
extra : rebase_source : 29019a02711ffce5c148787517051855259b6446
2014-08-09 15:37:29 +02:00
Hannes Verschore
0f675b086e Bug 1050884: Fix includes, r=red 2014-08-09 15:29:25 +02:00
ffxbld
eda5363905 No bug, Automated blocklist update from host bld-linux64-spot-011 - a=blocklist-update 2014-08-09 03:14:44 -07:00
ffxbld
c1e28f2f77 No bug, Automated HPKP preload list update from host bld-linux64-spot-011 - a=hpkp-update 2014-08-09 03:14:42 -07:00
ffxbld
458edb90f7 No bug, Automated HSTS preload list update from host bld-linux64-spot-011 - a=hsts-update 2014-08-09 03:14:40 -07:00
Hannes Verschore
a0a0792dcf Bug 1050884: Don't initialize MatchPairs when doing RegExp's, r=bhackett 2014-08-09 11:47:56 +02:00
Matthew Noorenberghe
e7017a1044 Bug 1048664 - Fallback to /favicon.ico if an imageDocument is too large to use as a tab icon. r=dao ui-r=phlsa 2014-08-09 02:11:27 -07:00
Gijs Kruitbosch
dd90c545b0 Bug 1051066 - fix mochitest-chrome for single test runs, r=ted
--HG--
extra : rebase_source : 85ddaf183d33014d86b5659db10871b9ae2abc94
2014-08-09 09:26:53 +01:00
B2G Bumper Bot
c0ec3aaa33 Bumping manifests a=b2g-bump 2014-08-09 01:21:56 -07:00