Commit Graph

956 Commits

Author SHA1 Message Date
Ehsan Akhgari
ff2971de14 Bug 853298 - Part 1: Switch the ownership model of audio nodes to be based the cycle collector with wrapper caches; r=roc
Here is what this patch does:
 * Got rid of the JSBindingFinalized stuff
 * Made all nodes wrappercached
 * Started to hold a self reference while the AudioBufferSourceNode is playing back
 * Converted the input references to weak references
 * Got rid of all of the SetProduceOwnOutput and UpdateOutputEnded logic

The nodes are now collected by the cycle collector which calls into
DisconnectFromGraph which drops the references to other nodes and destroys the
media stream.  Note that most of the cycles that are now inherent in the
ownership model are between nodes and their AudioParams (that is, the cycles
not created by content.)
2013-04-14 21:52:55 -04:00
David Zbarsky
b888bf773b Bug 846995 Part 3: Rename DOMSVGAnimatedTransformList and kill nsISupports r=jwatt
--HG--
rename : content/svg/content/src/DOMSVGAnimatedTransformList.cpp => content/svg/content/src/SVGAnimatedTransformList.cpp
rename : content/svg/content/src/DOMSVGAnimatedTransformList.h => content/svg/content/src/SVGAnimatedTransformList.h
2013-04-14 18:56:34 -04:00
David Zbarsky
b87e489c14 Bug 846995 Part 1: Fix all the files that reference SVGAnimatedTransformList r=jwatt 2013-04-14 18:56:34 -04:00
Ryan VanderMeulen
f0a9fe5d92 Merge m-c to inbound. 2013-04-13 08:04:05 -04:00
Ms2ger
069d54680d Bug 858212 - Move FileReader to Paris bindings; r=bz 2013-04-13 09:06:31 +02:00
Ms2ger
56287333d1 Bug 826740 - Part f: Move HTMLCanvasElement to Paris bindings; r=khuey 2013-04-13 09:05:51 +02:00
Ms2ger
8f5d5c7049 Bug 841488 - Part d: Move HTMLSelectElement to WebIDL bindings, remove CI and QS; r=khuey 2013-04-13 09:01:59 +02:00
Guilherme Gonçalves
8a6edb42bd Bug 850442 - Part 5 - Rename nsGeolocation to Geolocation. r=bz 2013-04-12 13:01:29 -07:00
Guilherme Gonçalves
2f794443db Bug 850442 - Part 3 - Convert callbacks, Geolocation and Position. r=bz 2013-04-12 13:01:29 -07:00
Guilherme Gonçalves
4bccbd8f23 Bug 850442 - Part 2 - Convert PositionError. r=bz 2013-04-12 13:01:28 -07:00
Guilherme Gonçalves
9123a3b2da Bug 850442 - Part 1 - Wrap nsGeoPosition and nsGeoPositionCoords into Position and Coordinates. r=bz 2013-04-12 13:01:28 -07:00
Boris Zbarsky
c72e933878 Bug 861064. Root WebIDL dictionary Init. r=smaug,terrence 2013-04-12 23:34:22 -04:00
Boris Zbarsky
f7e751861b Bug 860591. Install WebIDL quickstubs for event interfaces as needed. r=smaug 2013-04-12 10:51:25 -04:00
Boris Zbarsky
cfcc19e96d Back out bug 860591 (rev 8488f69f8f91) because it causes orange, resulting in a CLOSED TREE 2013-04-12 12:50:06 -04:00
Boris Zbarsky
02efa525b8 Bug 860591. Install WebIDL quickstubs for event interfaces as needed. r=smaug 2013-04-12 10:51:25 -04:00
Boris Zbarsky
d2beaf77f2 Bug 810644 part 2. Eliminate the now-unused CallEventHandler. r=smaug, sr=peterv 2013-01-03 14:02:42 -05:00
Ehsan Akhgari
04873bf8ec Bug 859595 - Implement the alternate names for AudioBufferSourceNode, AudioContext and AudioParam; r=bzbarsky
Let this be mentioned in our code base history that I wrote this patch
with tears in my eyes.  This is the saddest thing I've ever had to do to
Gecko. :(

--HG--
extra : rebase_source : 798e5b1dc8af51a399189dd05bc59ac077670820
2013-04-11 22:08:05 -04:00
Reuben Morais
a366543483 Bug 861032 - Fix -Wreinterpret-base-class warning on Codegen.py. r=bz
--HG--
extra : rebase_source : c05d51d8aeed182b85333a347f0b1dfb5d6b1ef9
2013-04-11 19:29:50 -07:00
Joshua Cranmer
45e3447406 Bug 856108 - Port static analyses to clang, part 2b: use MOZ_STACK_CLASS in dom. r=Ms2ger 2013-04-11 22:20:18 -05:00
Ehsan Akhgari
39a51a3402 Bug 861021 - Mark AudioBufferSourceNode.playbackRate as not-addrefed; r=bzbarsky 2013-04-11 21:44:42 -04:00
Jacek Szpot
514f40e52a Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-11 11:50:18 -07:00
Boris Zbarsky
536f3cb891 Bug 860551. Fix instanceof for prototype-less interface objects to be saner. r=dzbarsky 2013-04-11 14:31:06 -04:00
Boris Zbarsky
d5740592e1 Bug 860473 part 3. Root ErrorResult::ThrowJSException. r=evilpie,smaug 2013-04-11 14:31:06 -04:00
Boris Zbarsky
9c6066c314 Bug 860473 part 2. Root WebIDL dictionary ToObject. r=evilpie,smaug 2013-04-11 14:31:06 -04:00
Boris Zbarsky
4cf80a8cde Bug 860473 part 1. Root WebIDL dictionary ParseJSON. r=evilpie, smaug 2013-04-11 14:31:05 -04:00
Ms2ger
d783193999 bug 851542 - Gamepad to webidl (with nsIVariant). r=smaug
--HG--
extra : rebase_source : ae08a894b592465641ed774688957a446c8966a7
2013-04-09 08:43:25 -04:00
Ted Mielczarek
ace7ab8859 Backed out changeset dcf67f13c6bb, bug 851542 for B2G bustage. 2013-04-11 09:23:14 -04:00
Ms2ger
cd3a35b28b bug 851542 - Gamepad to webidl (with nsIVariant). r=smaug 2013-04-09 08:43:25 -04:00
Boris Zbarsky
01b9201374 Bug 859503. Make unknown extended attributes into parse errors. r=khuey 2013-04-10 13:49:06 -04:00
Andrea Marchesini
ae939003db Bug 858893 - Port DesktopNotification to WebIDL. r=Ms2ger 2013-04-10 10:20:43 -04:00
Kyle Huey
7cc06acbc5 Bug 859894: Reland on this CLOSED TREE with a CLOBBER. 2013-04-09 15:39:44 -07:00
Kyle Huey
33b6a6d614 Back out bug 859894 to open this CLOSED TREE. 2013-04-09 15:33:05 -07:00
Kyle Huey
3e1a12c496 Bug 859894: Switch dom/bindings off of mddepend.pl. r=ted 2013-04-09 15:11:43 -07:00
Boris Zbarsky
a3971c86de Bug 857417. Trigger a fatal assertion when wrapping a wrappercached and nsISupports WebIDL object which has the wrapper cache before the nsISupports in its object layout. r=khuey 2013-04-08 17:04:21 -04:00
Andrea Marchesini
88fb3bf458 Bug 851470 - Attr to WebIDL. r=Ms2ger 2013-04-09 17:29:47 +02:00
Ehsan Akhgari
a003638449 Bug 859594 - Remove AudioSourceNode; r=bzbarsky 2013-04-08 22:45:02 -04:00
Boris Zbarsky
0825a21b96 Back out Bug 810644 part 2 to fix b2g test_closeOnGC.html orange. 2013-04-08 22:55:15 -04:00
Ehsan Akhgari
a8ee3411c7 Backed out changeset d0d75e76d41f (bug 857417) for crashes during tests 2013-04-08 18:48:38 -04:00
Boris Zbarsky
081e372b68 Bug 856428. Don't try to root an uninitialized value. r=peterv 2013-04-08 17:05:22 -04:00
Boris Zbarsky
3eba25eee5 Bug 857417. Trigger a fatal assertion when wrapping a wrappercached and nsISupports WebIDL object which has the wrapper cache before the nsISupports in its object layout. r=khuey 2013-04-08 17:04:21 -04:00
Boris Zbarsky
ecc404d587 Bug 688691. Warn when LenientThis actually causes us to not throw. r=ms2ger 2013-04-08 17:04:21 -04:00
Boris Zbarsky
5bc9517a69 Bug 810644 part 2. Eliminate the now-unused CallEventHandler. r=smaug, sr=peterv 2013-01-03 14:02:42 -05:00
Ryan VanderMeulen
24a4c17eff Backed out changeset a85d21e394c0 (bug 854503) for bustage. 2013-04-06 14:37:33 -04:00
Jacek Szpot
8ce12e971c Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-04 12:14:32 +02:00
Nathan Froyd
c9dfdcad2f Bug 857254 - add CGTemplatedType and use it everywhere; r=bz 2013-04-02 15:29:03 -04:00
Nathan Froyd
c741af4b3b Bug 857254 - use CGIfWrapper more consistently; r=bz 2013-04-02 15:09:16 -04:00
Boris Zbarsky
0d9204981d Bug 855700. Make returning an nsIVariant from a WebIDL interface work. r=smaug 2013-04-03 22:22:16 -04:00
Boris Zbarsky
6d1fe7f08a Bug 856819 part 2. Sort js-implemented interfaces in a given file so that the declarations in C++ come in the right order. r=mccr8 2013-04-03 22:22:16 -04:00
Boris Zbarsky
5f998ce2a9 Bug 856819 part 1. Refactor the dependency-sorting we do for dictionaries so that we can also use it for JS-implemented interfaces. r=mccr8 2013-04-03 22:22:16 -04:00
Boris Zbarsky
0bbbeb9739 Bug 856841. Don't pass in an implicit JSContext based on argument or return value types for JS-implemented interfaces. r=mccr8 2013-04-03 22:22:16 -04:00