Commit Graph

24753 Commits

Author SHA1 Message Date
Nigel Babu
9858b7f9c4 Backed out changeset 2d0ebc1bc7d6 (bug 1036233) for build bustage ON A CLOSED TREE 2014-08-12 09:00:30 +05:30
Nigel Babu
c92019faa9 Backed out changeset c5d50f1bc995 (bug 1036233) for build bustage ON A CLOSED TREE 2014-08-12 09:00:20 +05:30
Nigel Babu
da90530683 Backed out changeset a471c7c73409 (bug 1036234) for build bustage on A CLOSED TREE 2014-08-12 09:00:08 +05:30
Jamin Liu
86709c14f4 Bug 1036234 - Implement pairing event handlers of BluetoothAdapter. r=btian, r=mrbkap
- EventHandler ondevicepaired;
- EventHandler ondeviceunpaired;
2014-08-12 10:49:59 +08:00
Jamin Liu
a33ca7691a Bug 1036233 - Implement pairing methods of Bluetooth API v2. r=btian, r=mrbkap
- Promise<void> pair(DOMString aAddress)
- Promise<void> unpair(DOMString aAddress)
- sequence<BluetoothDevice> getPairedDevices()
2014-08-12 10:49:53 +08:00
Jamin Liu
c6f4dbe265 Bug 1036233 - Initialize the data member of BluetoothDevice. r=btian 2014-08-12 10:49:43 +08:00
Wes Kocher
b04134dbf2 Backed out changeset 49086e9caa4e (bug 1051114) for making Gaia-unit tests timeout on a CLOSED TREE 2014-08-11 15:27:58 -07:00
Ryan VanderMeulen
b0e8e0344f Merge m-c to b2g-inbound. a=merge 2014-08-11 17:18:31 -04:00
Ryan VanderMeulen
552da54d71 Merge inbound to m-c. a=merge 2014-08-11 16:10:07 -04:00
Olli Pettay
f9c9c2b2db Bug 1050665 - Make returnMessage and returnNumber nullable. r=ehsan, r=smaug to make the commit hook happy
--HG--
extra : amend_source : 089934856605faebd8406c58d3fac94ced73fe46
2014-08-11 07:52:00 -04:00
Fabrice Desré
5d2c441691 Bug 1051114 - 400 MozInterAppMessagePort registered on frame message manager r=bent 2014-08-11 10:37:09 -07:00
Szu-Yu Chen [:aknow]
4f0650cc40 Bug 1051663 - Correct |this| in REQUEST_DIAL_EMERGENCY_CALL. r=hsinyi 2014-08-11 02:37:00 -04:00
Evelyn Hung
2de8fdc9d0 Bug 1044960 - Remove unnecessary lines from TabChild.cpp. r=kats 2014-08-07 22:10:00 -04:00
Dimi Lee
80c690d47a Bug 936367 - Support wifi hotspot enable API. r=vchang, r=ptheriault, sr=mrbkap 2014-08-11 17:13:25 +08:00
Yoshi Huang
6e2d19f6db Bug 1051738 - B2G NFC: typo in getNFCPeer. r=dimi
From bea6af520beedcc4547ce5c45c4d78faa63d5812 Mon Sep 17 00:00:00 2001
---
 dom/nfc/nsNfc.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2014-08-11 17:19:11 +08:00
Yoshi Huang
0f1e3b3420 Bug 1049351 - [NFC] fix testPeerShouldThrow. r=dimi 2014-08-11 15:45:35 +08:00
Valentin Gosu
0bb663ecce Bug 1051109 - Define non-static method to jsonify interface attributes r=smaug 2014-08-11 01:17:50 +03:00
Bob Owen
30b9998991 Bug 1050795 Part 1: Replace nsCxPusher in WorkerRunnable::Run. r=bholley 2014-08-08 16:06:33 +01:00
Ted Mielczarek
2382567568 bug 1049106 - always build gmp-fake. r=gps 2014-08-11 07:46:46 -04: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
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
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
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
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
Tim Taubert
e7329e4114 Bug 1050785 - RSA-OAEP encrypt/decrypt should accept strings as AlgorithmIdentifiers r=rbarnes 2014-08-08 16:45:08 +02:00
Ryan VanderMeulen
db9cc2a062 Merge inbound to m-c. a=merge 2014-08-09 11:19:46 -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
Jessica Jong
6558f5c791 Bug 1043114 - Part 4: Unify add/removeHostRoute and add/removeHostRouteWithResolve (NetworkUtils). r=edgar 2014-08-08 02:32:00 -04:00
Jessica Jong
7ebf40f279 Bug 1043114 - Part 3.2: Remove unused NetworkParams and refine comments. r=edgar, r=smaug 2014-08-08 02:30:00 -04:00
Ryan VanderMeulen
5602683c06 Backed out changeset db69c702369d (bug 1035454) for suspicion of causing e10s leaks.
CLOSED TREE
2014-08-08 23:27:28 -04:00
Nils Ohlmeier [:drno]
79969fc125 Bug 1050851 - Add long running steeplechase tests from the sunny day QA lab environment. r=gmealer 2014-08-08 10:57:00 -04:00
Bob Owen
957fbf204c Bug 1047509 - Part 3: Replace nsCxPusher in nsJSNPRuntime.cpp nsJSObjWrapper::NP_SetProperty. r=bholley 2014-08-08 13:22:53 +01:00
Bob Owen
4a75912507 Bug 1047509 - Part 2: Replace nsCxPusher in nsJSNPRuntime.cpp nsJSObjWrapper::NP_GetProperty. r=bholley 2014-08-08 13:21:07 +01:00
Bob Owen
528ff6e9ce Bug 1047509 - Part 1: Replace nsCxPusher in nsJSNPRuntime.cpp doInvoke. r=bholley 2014-08-08 09:01:45 +01:00
Nils Ohlmeier [:drno]
17c2154380 Bug 1049684 - Fix SDP verification to be able to run on steeplechase environment. r=bwc 2014-08-06 14:53:00 -04:00
Jessica Jong
2bf95b6e3d Bug 1043114 - Part 3.1: Unify add/removeHostRoute and add/removeHostRouteWithResolve (NetworkService). r=edgar 2014-08-06 01:51:00 -04:00
Jessica Jong
92c60f8f82 Bug 1043114 - Part 2: Unify add/removeHostRoute and add/removeHostRouteWithResolve (NetworkManager). r=edgar 2014-08-06 01:46:00 -04:00
Jessica Jong
1b4bb1dd95 Bug 1043114 - Part 1: Unify add/removeHostRoute and add/removeHostRouteWithResolve (idl). f=vchang, r=edgar 2014-08-06 01:45:00 -04:00
Wes Kocher
ea2ca055ae Merge m-c to inbound on a CLOSED TREE 2014-08-08 14:15:34 -07:00
Kyle Huey
78c0ad791e Bug 1050509: Shut down the KeyStore socket during system shutdown to avoid leaks. r=tdz 2014-08-08 11:11:36 -07:00
Ryan VanderMeulen
9380b64ae7 Backed out changeset 05e4c47f1e98 (bug 1036186) for Mulet mochitest bustage.
CLOSED TREE
2014-08-08 13:29:28 -04:00
Kartikaya Gupta
a349c28e19 Bug 1045824 - Use nsIntRect for passing around a value that is not in app units. r=smaug 2014-08-08 13:23:50 -04:00
Ryan VanderMeulen
9e2f44994c Merge b2g-inbound to m-c. a=merge 2014-08-08 11:29:48 -04:00