Commit Graph

933 Commits

Author SHA1 Message Date
Kyle Huey
d705dcdf5f Bug 850153: Try harder to avoid blowing out the command line limit. r=gps 2013-03-12 13:55:20 -07:00
Olli Pettay
17f4a92d30 Bug 847607 - Paris bindings for IDB event, r=khuey
--HG--
extra : rebase_source : de5c4ba79b8d990b25abaabd3892847f286737fd
2013-03-12 19:45:59 +02:00
Trevor Saunders
2bffe03733 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Phil Ringnalda
31d866ff72 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders
39ae246957 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Masatoshi Kimura
7693df618d Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
Ms2ger
a75666050c Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
Ms2ger
6bb007a483 Bug 831879 - Disable "maybe used uninitialized" warnings in dom/bindings; r=khuey 2013-03-10 08:58:21 +01:00
Ms2ger
d805e77871 Bug 825285 - Part b: Move ArchiveReader to Paris bindings, remove XPCOM goop; r=khuey 2013-03-10 08:57:14 +01:00
Olli Pettay
8f72caeb73 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Jon Coppeard
f85957ecb3 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Ed Morley
0887cddaa0 Backed out changeset 28ef4bdff455 (bug 848395) 2013-03-07 13:03:35 +00:00
Jon Coppeard
0b6f2291f6 Bug 841801 - Allow proxies to be finalized in the background r=billm
--HG--
extra : rebase_source : 48da96daddf75f505bf90c8e2ce2cdd6daf04cc5
2013-02-21 10:19:17 +00:00
Jon Coppeard
19ed4f05c2 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
Pranav Ravichandran
9c74b6c291 Bug 847928 - Element type of a WebIDL array must not be a sequence or dictionary type. r=bzbarsky 2013-03-06 13:06:23 -05:00
Masatoshi Kimura
3662ea6b18 Bug 841289 - Remove prefable option from WebIDL codegen. r=bz 2013-03-06 07:09:38 +09:00
Boris Zbarsky
a40c683f18 Bug 847119. Fix the "did the DOM call throw?" test in IonMonkey to check the return value correctly. r=jandem 2013-03-05 13:41:24 -05:00
William Chen
6bc6665342 Bug 847773 - Added override for GetWrapperCache with smart pointer argument to resolve ambiguity in templates. r=bz 2013-03-04 20:30:13 -08:00
Boris Zbarsky
c186b0d2c7 Bug 847001. Make globalgen depend on the actual set of WebIDL files we're compiling, not just on the individual files. r=khuey 2013-03-04 14:08:24 -05:00
Boris Zbarsky
811a7ec078 Bug 827158 part 11. Move HTMLObjectElement to Web IDL bindings. r=peterv 2013-01-06 18:55:14 -05:00
Boris Zbarsky
f2ee06448a Bug 827158 part 9. Implement support for having a NewResolve hook in WebIDL. r=peterv 2013-03-04 14:08:24 -05:00
Boris Zbarsky
789263e1c5 Bug 827158 part 8. Implement legacycaller support in WebIDL. r=peterv 2013-03-04 14:08:24 -05:00
Ryan VanderMeulen
7a55e09cb1 Merge the last PGO-green inbound chnageset to m-c. 2013-03-19 16:40:09 -04:00
Johnny Stenback
dc654141cb Fixing bug 852435. Make the bindings example generator use the native type name. r=bz 2013-03-16 01:39:56 -07:00
Andrea Marchesini
c31f5dfb65 Bug 841014 - Convert TimeRanges to WebIDL. r=Ms2ger, r=peterv 2013-03-02 14:16:43 -05:00
Andrew McCreight
202c9da2c7 Bug 846955 - Codegen Argument definitions using .define() in ClassDestructor::define. r=bz 2013-03-01 16:32:24 -08:00
Boris Zbarsky
31abf66ed4 Bug 845666. Add support for sequences containing other sequences (or dictionaries containing sequences) to WebIDL. r=peterv
This keeps simple sequence arguments and variadics using an auto array, while everything else uses a non-auto array.
2013-03-02 01:07:43 -05:00
David Zbarsky
ae7779d6e9 Use single quotes in Bindings.conf, no bug, r=me 2013-03-02 01:08:42 -05:00
David Zbarsky
7e6c8a8342 Bug 846977 - SVGMatrix doesn't need to inherit nsISupports r=bz 2013-03-02 01:08:42 -05:00
Peter Van der Beken
dc6b00b18c Fix for bug 842799 (|Document.prototype instanceof Node| inside <script> returns false). r=bz. 2013-02-22 10:25:24 +01:00
Boris Zbarsky
615c1738c3 Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
3875ee73e3 Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
Ryan VanderMeulen
238b010bd5 Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Boris Zbarsky
24d39ed923 Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
0c8bec67f1 Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
Gregory Szorc
27c42e83c6 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
2801c25ab8 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
16f0413b0c Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
3fd0b2c59d Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Phil Ringnalda
d00099ff16 Back out cd8481cc4a32 (bug 784812) for make check failures 2013-02-24 14:10:48 -08:00
Kyle Huey
a622234df9 Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted CLOSED TREE 2013-02-24 12:36:44 -08:00
Kyle Huey
a96c166f9a Backed out changeset a71766c2c85d 2013-02-24 12:33:36 -08:00
Kyle Huey
535d766239 Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted 2013-02-24 12:03:03 -08:00
Peter Van der Beken
bd8a4c71df Fix for bug 844559 (Crash [@ mozilla::dom::XrayResolveNativeProperty]). r=bz.
--HG--
extra : rebase_source : 85b3d0ee270f24847b9425cda9f8b56a494f2546
2013-02-25 20:39:15 +01:00
Pranav Ravichandran
64aac3b1ef Bug 836816 - WebIDL parser should enforce spec restrictions on dictionary member types. r=bzbarsky 2013-02-27 09:55:56 -05:00
William Chen
f452feed2b Bug 837352 - Don't generate dictionary code in WebIDL unless used in generated code. r=bz 2013-02-25 09:20:49 -08:00
Kyle Huey
ae04d7b90d Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted 2013-02-24 12:36:44 -08:00
Boris Zbarsky
ec134a3b8c Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv 2013-02-26 15:10:15 -05:00
Boris Zbarsky
f81f8c911f Bug 838686 part 1. Add a helper class that can store a WebIDL callback or an XPCOM interface. r=peterv 2013-02-26 15:10:15 -05:00
L. David Baron
05d5d9dfa9 Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00
Boris Zbarsky
41cfacaaa1 Back out changeset a4763990a983 (bug 838686) because gcc doesn't like it and we get a CLOSED TREE. 2013-02-26 15:35:13 -05:00
Boris Zbarsky
3156f16358 Back out changeset 1c851a5bbc9f (bug 838686) because it depends on a changeset gcc doesn't like 2013-02-26 15:34:25 -05:00
Boris Zbarsky
8551942b65 Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv 2013-02-26 15:10:15 -05:00
Boris Zbarsky
f9e332a488 Bug 838686 part 1. Add a helper class that can store a WebIDL callback or an XPCOM interface. r=peterv 2013-02-26 15:10:15 -05:00
Bobby Holley
e83e186c1b Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Bobby Holley
784a476fb8 Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-26 11:04:11 -08:00
Bobby Holley
e04f8d807d Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
Boris Zbarsky
29043e89b0 Bug 842561. Assert that our inheritance chain is correct for WebIDL objects. r=peterv
We could drop the descriptor for Text if we changed nsIDocument::CreateTextNode
to return an already_AddRefed<Text>, but then we'd need more casting in
nsDocument.cpp for the XPCOM CreateTextNode.  Not sure which way is better,
really.
2013-02-22 09:56:29 -05:00
L. David Baron
4f4296979b Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Ehsan Akhgari
08ba6f9b51 Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky 2013-02-19 00:54:23 -05:00
Ryan VanderMeulen
486f369f1f Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-22 15:30:06 -05:00
Ehsan Akhgari
b855a12fa5 Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky
--HG--
extra : rebase_source : f8933c4973220dc8845b9ce2f63e91b366167117
2013-02-19 00:54:23 -05:00
Boris Zbarsky
ded9c51b92 Bug 842561. Assert that our inheritance chain is correct for WebIDL objects. r=peterv
We could drop the descriptor for Text if we changed nsIDocument::CreateTextNode
to return an already_AddRefed<Text>, but then we'd need more casting in
nsDocument.cpp for the XPCOM CreateTextNode.  Not sure which way is better,
really.
2013-02-22 09:56:29 -05:00
Trevor Saunders
0900a6537c bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Peter Van der Beken
86d3fc6af5 Fix for bug 825628 (Implement NamedConstructor) - add codegen support for NamedConstructor. r=bz.
--HG--
extra : rebase_source : 8393995dca6f65cb49512874c1916ee745436638
2013-01-22 11:51:15 +01:00
Jonathan Kew
e04415fc7f backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn 2013-02-22 09:36:41 +00:00
Bill McCloskey
6798be1a0e Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley) 2013-02-21 18:23:47 -08:00
Jeff Gilbert
78f00c0f31 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
23a70898de Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts 2013-02-21 19:54:25 +00:00
Jeff Gilbert
197c718e7b Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
b891b80fa0 Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE. 2013-02-20 10:01:20 -05:00
Jeff Gilbert
2187525c49 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Boris Zbarsky
532c8c6a52 Bug 838691 part 4. Add tests for pref-controlled and function-controlled properties. r=peterv
I've manually verified that the generated code for this looks like it should.
2013-02-19 11:54:41 -05:00
Boris Zbarsky
69eb622760 Bug 838691 part 3. Switch touch event handler attributes to using a function to check whether they're enabled. r=peterv 2013-02-19 11:54:41 -05:00
Boris Zbarsky
4eae8ef7e3 Bug 838691 part 2. Add codegen support for calling a function to determine whether a property should be exposed in a WebIDL binding. r=peterv 2013-02-19 11:54:40 -05:00
Boris Zbarsky
5803a201da Bug 838691 part 1. Add support in Prefable for calling a function to determine whether a property should be exposed in a WebIDL binding. r=peterv 2013-02-19 11:54:40 -05:00
Boris Zbarsky
39c064049b Bug 839088 part 3. Add a way for callers of callback methods to ask for any exceptions from the callback to be rethrown on the ErrorResult. r=peterv 2013-02-19 11:54:40 -05:00
Boris Zbarsky
c1a79f1556 Bug 839088 part 2. Add way to indicate to a CallSetup that it should propagate any exceptions thrown during the call out to the ErrorResult for the call. r=peterv 2013-02-19 11:54:40 -05:00
Boris Zbarsky
fb92453c3a Bug 839088 part 1. Add a way to throw a JS::Value on an ErrorResult. r=peterv 2013-02-19 11:54:40 -05:00
Masatoshi Kimura
a619216f37 Bug 841802 - Part 1: Add ErrorResult::ClearMessage(). r=bz 2013-02-19 22:30:28 +09:00
Andrea Marchesini
ce29c337c3 Bug 839447 - Convert HTMLOptionElement to WebIDL, r=Ms2ger 2013-02-18 13:26:57 +01:00
Andrea Marchesini
d98c0993bb Bug 839447 - Rename nsHTMLOptionElement to HTMLOptionElement, r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLOptionElement.cpp => content/html/content/src/HTMLOptionElement.cpp
rename : content/html/content/src/nsHTMLOptionElement.h => content/html/content/src/HTMLOptionElement.h
2013-02-18 13:24:58 +01:00
Andrea Marchesini
9e3c4bc5fa Bug 838559 - Convert HTMLMenuElement to WebIDL. r=Ms2ger, r=peterv 2013-02-18 06:59:08 -05:00
Andrea Marchesini
fe3cb4351c Bug 838559 - Rename nsHTMLMenuElement to HTMLMenuElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLMenuElement.cpp => content/html/content/src/HTMLMenuElement.cpp
rename : content/html/content/src/nsHTMLMenuElement.h => content/html/content/src/HTMLMenuElement.h
2013-02-18 06:59:08 -05:00
Boris Zbarsky
733bb370b7 Bug 841404. Make sure that we treat dictionaries inside sequence and array members of a dictionary as dependencies for it. r=peterv 2013-02-17 11:22:11 -05:00
Peter Van der Beken
096abd5a26 Fix for bug 838269 (Support cross-global |... instanceof DOMInterface|). r=bz.
--HG--
extra : rebase_source : e5ad1d7da8029394e3ecb38909eca406a675dbe9
2013-01-08 19:05:36 +01:00
Trevor Saunders
625a020456 bug 819027 - remove unneeded performance nsISupports inheritance r=bz, mccr8 2012-12-06 16:01:59 -05:00
Robert O'Callahan
9146383988 Bug 837034. Part 2: Convert DOMMediaStream to use WebIDL. r=peterv,jesup
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 483fca748444db20ed0d35cb586485f277e1808c
2013-02-15 21:04:11 +13:00
Masatoshi Kimura
b9f50fa45b Bug 841479 - Remove nsISupports inheritance from TextDecoder and TextEncoder. r=bz 2013-02-15 05:36:50 +09:00
Trevor Saunders
dacbf11a24 bug 840906 - densISupportsify nsDOMRGBCSSColor r=mccr8 2013-02-13 16:39:23 -05:00
Andrea Marchesini
c614e41e70 Bug 840559 - Convert MediaError to WebIDL. r=smaug 2013-02-14 10:59:21 -05:00
Ryan VanderMeulen
0e981ca346 Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE. 2013-02-12 20:54:48 -05:00
Bobby Holley
e9d5a91d21 Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Bobby Holley
5a1f2c3927 Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-13 00:22:26 +01:00
Bobby Holley
863479340f Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-13 00:22:26 +01:00
Ed Morley
6735c60a03 Merge latest green inbound changeset to mozilla-central 2013-02-12 14:43:06 +00:00
Ms2ger
6577c45b1f Bug 838178 - Remove dom/bindings/stubgenerator; r=ehsan 2013-02-12 11:14:01 +01:00
Ms2ger
aed4c33395 Bug 838160 - Part b: Move HTMLOutputElement to Paris bindings; r=bz 2013-02-12 11:11:01 +01:00
Ms2ger
4d718db681 Bug 835065 - Part c: Move SVGComponentTransferFunctionElement and subclasses to Paris bindings; r=bz 2013-02-12 11:10:24 +01:00
Andrea Marchesini
daa80d9394 Bug 839033 - Convert HTMLProgressElement to WebIDL. r=Ms2ger 2013-02-11 13:56:31 -05:00
Ryan VanderMeulen
4cbf80f0ff Backed out changesets, cf285bf3c6fc, e8b847157094, and dd86a8178cec (bug 839033) for bustage.
--HG--
rename : content/html/content/src/HTMLProgressElement.h => content/html/content/src/nsHTMLProgressElement.cpp
2013-02-09 17:51:10 -05:00
Andrea Marchesini
f32baf38ac Bug 839033 - Convert HTMLProgressElement to WebIDL. r=Ms2ger 2013-02-09 17:21:15 -05:00
Andrea Marchesini
f6e4c4ef39 Bug 839439 - Convert HTMLAreaElement to WebIDL. r=Ms2ger 2013-02-08 11:34:48 -05:00
Andrea Marchesini
df416443da Bug 839056 - Convert HTMLOptGroupElement to WebIDL. r=Ms2ger 2013-02-08 11:34:48 -05:00
Andrea Marchesini
01f03b4f30 Bug 839056 - Rename nsHTMLOptGroupElement to HTMLOptGroupElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLOptGroupElement.cpp => content/html/content/src/HTMLOptGroupElement.cpp
rename : content/html/content/src/nsHTMLOptGroupElement.h => content/html/content/src/HTMLOptGroupElement.h
2013-02-08 11:34:48 -05:00
Andrea Marchesini
0a9bd0e10e Bug 839105 - Convert HTMLFieldSetElement to WebIDL. r=Ms2ger 2013-02-08 11:34:48 -05:00
Andrea Marchesini
596e176e0b Bug 838172 - Convert AudioChannelManager to WebIDL. r=peterv 2013-02-08 11:34:47 -05:00
Ms2ger
937b64f610 Bug 839179 - Part b: Move HTMLButtonElement to Paris bindings; r=bz 2013-02-08 13:50:30 +01:00
Ms2ger
e21a8a0da7 Bug 839053 - Part b: Move HTMLLinkElement to Paris bindings; r=bz 2013-02-08 13:50:30 +01:00
Boris Zbarsky
e4c3c27ffc Bug 839116 part 2. Convert HTMLSharedElement to WebIDL. r=ms2ger
--HG--
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLBaseElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLDirectoryElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLHeadElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLHtmlElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLParamElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLQuoteElement.webidl
2013-02-08 12:20:11 +00:00
Boris Zbarsky
beb028cc97 Bug 836850. Allow a single C++ class to implement multiple WebIDL interfaces. r=peterv
--HG--
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_dl_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_ul_attributes_reflection.html
2013-02-08 12:20:11 +00:00
Peter Van der Beken
871110115e Fix for bug 838228 (toString on an Xray for an interface object should stringify like Function.prototype.toString). r=bz.
--HG--
rename : content/html/content/test/test_map_attributes_reflection.html => content/html/content/test/test_ol_attributes_reflection.html
extra : rebase_source : 9bd7efb927e4eac96569ed629ee230dbf555fb63
2013-02-01 15:33:58 +01:00
Andrea Marchesini
06e54c8580 Bug 839022 - Convert HTMLSourceElement to WebIDL. r=Ms2ger 2013-02-07 10:39:10 -05:00
Andrea Marchesini
b49aa911c6 Bug 838750 - Convert HTMLMeterElement to WebIDL. r=Ms2ger 2013-02-07 10:00:39 -05:00
Andrea Marchesini
c7fe255f30 Bug 838233 - Convert HTMLHRElement to WebIDL. r=Ms2ger 2013-02-07 09:57:59 -05:00
Ms2ger
b2db47bbc9 Bug 838160 - Part b: Move HTMLMetaElement to Paris bindings; r=bz 2013-02-07 09:08:58 +01:00
Ms2ger
6c3cfca206 Bug 837597 - Part b: Move HTMLModElement to Paris bindings; r=bz 2013-02-07 09:08:58 +01:00
Ms2ger
60173e31fd Bug 837597 - Part b: Move HTMLMapElement to Paris bindings; r=bz 2013-02-07 09:08:57 +01:00
Ryan VanderMeulen
6d4e2b111c Backed out changesets 34927afb65e2 and 2d0b056ced49 (bug 838559) for mochitest failures.
--HG--
rename : content/html/content/src/HTMLMenuElement.cpp => content/html/content/src/nsHTMLMenuElement.cpp
rename : content/html/content/src/HTMLMenuElement.h => content/html/content/src/nsHTMLMenuElement.h
2013-02-06 16:22:59 -05:00
Andrea Marchesini
214954d593 Bug 838559 - Convert HTMLMenuElement to WebIDL. r=Ms2ger 2013-02-06 14:19:20 -05:00
Andrea Marchesini
c0ac3d2eb1 Bug 838559 - Rename nsHTMLMenuElement to HTMLMenuElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLMenuElement.cpp => content/html/content/src/HTMLMenuElement.cpp
rename : content/html/content/src/nsHTMLMenuElement.h => content/html/content/src/HTMLMenuElement.h
2013-02-06 14:19:20 -05:00
Boris Zbarsky
b93c5f76e5 Bug 837645. Support 'any' values in sequences and dictionaries. r=smaug,peterv 2013-02-06 14:23:45 +00:00
Boris Zbarsky
6436114c6f Bug 836920 followup. Fix warnins-as-errors bustage. r=tree-is-aflame-dance-around-it 2013-02-06 10:21:50 +00:00
Boris Zbarsky
eb1ea6872b Bug 836920. Move dom::Optional<> and dom::Sequence to BindingDeclarations.h so using dictionaries in interfaces whose name comes before 'PrimitiveConversions' alphabetically does not break. r=peterv
All the code is just moving except the Optional<nsAString>::operator=
that takes a FakeDependentString.  That had to be changed so it has no
dependency on the actual definition of FakeDependentString.
2013-02-06 09:56:15 +00:00
Boris Zbarsky
2a8f41fca8 Bug 830992 part 2. Switch DOMTransaction to WebIDL codegen. r=wchen,peterv 2013-02-06 09:42:33 +00:00
Boris Zbarsky
88ce96ae8c Bug 830992 part 1. Make it possible to pass CallbackObject& as the thisObj for callback functions. r=peterv 2013-02-06 09:42:17 +00:00
Andrea Marchesini
5973a08965 Bug 813253 - URL.createobjectURL in WebWorker. r=bent 2013-02-05 18:17:17 -05:00
Robert O'Callahan
6d8b72a707 Bug 804387. Part 9: Update WebAudio implementation to integrate with AudioNodeStream. r=ehsan
This is a mega-patch that was too hard to disentangle. Here's what it does:
-- Create infrastructure around AudioNode::UpdateOutputEnded to detect
when a node can no longer produce any output. When that becomes true,
disconnect it from the AudioNode graph.
-- Have AudioNode implement JSBindingFinalized to use as input in
UpdateOutputEnded.
-- Give every AudioNode a MediaStream, and give every connection
a MediaInputPort.
-- Actually play the audio that reaches the AudioContext's destination node.
-- Force AudioContext to use the audio sample rate defined by MediaStreamGraph.
-- Fix AudioBufferSourceNode's start and stop methods to possibly throw and
take default 'when' parameters.
-- Create an AudioNodeStream for AudioBufferSourceNode and give it a
AudioBufferSourceNodeEngine that does what's needed. Set parameters for
this engine in the start() and stop() methods.
-- Create AudioBuffer::GetThreadSharedChannelsForRate, which is responsible
for stealing the contents of any JS array buffers, and bundling them up
into a thread-shared read-only buffer object which can be used as
part of an AudioChunk. This method will also be responsible for
resampling and caching as necessary.

--HG--
rename : content/media/MediaStreamGraph.cpp => content/media/MediaStreamGraphImpl.h
extra : rebase_source : 9fa0ec0efa304acd6513e427103d6339c78efa53
2013-02-05 12:07:25 +13:00
Andrea Marchesini
b822140315 Bug 838124 - Convert BatteryManager to WebIDL. r=peterv 2013-02-05 07:54:49 -05:00
Ehsan Akhgari
598f705578 Backed out 14 changesets (bug 804387) because of Android M2 crashes
Backed out changeset 80e8530f06ea (bug 804387)
Backed out changeset 3de2271ad47f (bug 804387)
Backed out changeset 00f86870931c (bug 804837)
Backed out changeset 0e3f20927c50 (bug 804387)
Backed out changeset e6ef90038007 (bug 804387)
Backed out changeset 0ad6f67a95f9 (bug 804387)
Backed out changeset d0772aba503c (bug 804387)
Backed out changeset 5477b87ff03e (bug 804387)
Backed out changeset 1d7ec5adc49f (bug 804387)
Backed out changeset 11f4d740cd6c (bug 804387)
Backed out changeset e6254d8997ab (bug 804387)
Backed out changeset 372322f3264d (bug 804387)
Backed out changeset 53d5ed687612 (bug 804387)
Backed out changeset 000b88ac40a7 (bug 804387)
2013-02-05 01:29:28 -05:00
Robert O'Callahan
41a1e70799 Bug 804837. Part 9: Update WebAudio implementation to integrate with AudioNodeStream. r=ehsan
This is a mega-patch that was too hard to disentangle. Here's what it does:
-- Create infrastructure around AudioNode::UpdateOutputEnded to detect
when a node can no longer produce any output. When that becomes true,
disconnect it from the AudioNode graph.
-- Have AudioNode implement JSBindingFinalized to use as input in
UpdateOutputEnded.
-- Give every AudioNode a MediaStream, and give every connection
a MediaInputPort.
-- Actually play the audio that reaches the AudioContext's destination node.
-- Force AudioContext to use the audio sample rate defined by MediaStreamGraph.
-- Fix AudioBufferSourceNode's start and stop methods to possibly throw and
take default 'when' parameters.
-- Create an AudioNodeStream for AudioBufferSourceNode and give it a
AudioBufferSourceNodeEngine that does what's needed. Set parameters for
this engine in the start() and stop() methods.
-- Create AudioBuffer::GetThreadSharedChannelsForRate, which is responsible
for stealing the contents of any JS array buffers, and bundling them up
into a thread-shared read-only buffer object which can be used as
part of an AudioChunk. This method will also be responsible for
resampling and caching as necessary.
2013-02-05 12:07:25 +13:00
Ehsan Akhgari
d3ad617d12 Bug 837520 - Part 2: Move HTMLBRElement to Web IDL bindings; r=bzbarsky 2013-02-03 18:05:27 -05:00
Ehsan Akhgari
86111f5cce Bug 837416 - Part 2: Move HTMLStyleElement to Web IDL bindings; r=bzbarsky 2013-02-03 12:42:40 -05:00
Ehsan Akhgari
2554ec472a Backed out 3 changesets (bug 837416) because of test failures
Backed out changeset 1d7232646d12 (bug 837416)
Backed out changeset 476af8f75f28 (bug 837416)
Backed out changeset 428b29658d07 (bug 837416)

--HG--
rename : content/html/content/src/HTMLStyleElement.cpp => content/html/content/src/nsHTMLStyleElement.cpp
2013-02-03 15:18:19 -05:00
Ehsan Akhgari
ec6b9c180f Bug 837416 - Part 2: Move HTMLStyleElement to Web IDL bindings; r=bzbarsky 2013-02-03 12:42:40 -05:00
Peter Van der Beken
010ba2c72c Fix for bug 836809 (Convert XMLStyleSheetProcessingInstruction to WebIDL). r=bz.
--HG--
rename : content/xml/content/src/nsXMLStylesheetPI.cpp => content/xml/content/src/XMLStylesheetProcessingInstruction.cpp
rename : content/xml/content/src/nsXMLStylesheetPI.cpp => content/xml/content/src/XMLStylesheetProcessingInstruction.h
extra : rebase_source : 11bb422e280b58c33bb0165b60f34da5c6fae3de
2013-02-01 13:28:37 +01:00
David Zbarsky
ab5557ab77 Bug 837036 - Remove SVGLocatableElement and SVGTransformableElement IDL r=longsonr 2013-02-01 04:55:45 -05:00
Boris Zbarsky
e7f12d401a Bug 829867. Unpref PaintRequest and Screen WebIDL bindings and remove some cruft from quickstubs. r=peterv
nsIDOMCharacterData and nsIDOMText quickstubs are not needed after bug 826703.

nsIDOMRect quickstubs haven't been needed since bug 824970 landed.

nsCSSPropertiesQS has been unused since bug 801083 at least.

The various includes being removed are either fully on WebIDL now or using WebIDL quickstubs.
2013-01-29 12:52:09 -05:00
Boris Zbarsky
e53ffbf3f0 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Robert O'Callahan
286b2d2513 Bug 832788. Part 6: Enable FAIL_ON_WARNINGS in dom/bindings. r=bz
--HG--
extra : rebase_source : 67fb14efbd022dac7ba32fe31584c386872ff9d6
2013-01-30 18:20:53 +13:00
Robert O'Callahan
862eca9582 Bug 832788. Part 5: Add suffixes for large integer literals. r=bz
--HG--
extra : rebase_source : 9555960acea609a3e4a3deaacd468e64435f5ff2
2013-01-30 18:20:53 +13:00
Boris Zbarsky
ae32f60c9d Bug 835417 part 2. Implement WebIDL parser and codegen support for marking things pure. r=peterv 2013-01-29 17:53:53 -05:00
Boris Zbarsky
e15be64167 Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
Boris Zbarsky
3ce404fddd Back out bug 829867 (rev 2a0424e177c1) on suspicion of Ts regression 2013-01-29 17:17:37 -05:00
Boris Zbarsky
d29ed299fd Bug 829867. Unpref PaintRequest and Screen WebIDL bindings and remove some cruft from quickstubs. r=peterv
nsIDOMCharacterData and nsIDOMText quickstubs are not needed after bug 826703.

nsIDOMRect quickstubs haven't been needed since bug 824970 landed.

nsCSSPropertiesQS has been unused since bug 801083 at least.

The various includes being removed are either fully on WebIDL now or using WebIDL quickstubs.
2013-01-29 12:52:09 -05:00
Boris Zbarsky
24d3443115 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Boris Zbarsky
d96de5c466 Fix comment. Followup for bug 834877. DONTBUILD 2013-01-29 10:31:34 -05:00
Boris Zbarsky
90f40b8d5e Bug 834877 part 2. Start using DOMString as the return value for strings. r=peterv 2013-01-29 09:42:14 -05:00
Boris Zbarsky
85ef1adf0d Bug 834877 part 1. Add a DOMString struct to use for binding return values. r=peterv 2013-01-29 09:42:14 -05:00
Boris Zbarsky
1697e0d7f0 Bug 829252 part 3. When wrapping things with an nsISupports in XPCWrappedJS for WebIDL callback interfaces, use the aggregated version. r=peterv 2013-01-29 08:44:01 -05:00
Boris Zbarsky
de6a67d7d0 Bug 830099. Flag WebIDL dictionaries and callbacks with some information indicating whether we need main-thread and worker codegen for them and then use that information to skip unneccessary codegen. r=peterv 2013-01-28 23:30:17 -05:00
Robert O'Callahan
f181913ea5 Bug 832788. Part 4: PrimitiveConversions should avoid implicit narrowing casts to avoid compiler warnings; make them explicit. r=bzbarsky
--HG--
extra : rebase_source : 276f7834714ded347bd9d368258bc049f24787c4
2013-01-29 16:14:40 +13:00
Phil Ringnalda
b48b7c8bbd Back out c5238879470f and b3cabb259af7 (bug 830099) for bustage 2013-01-28 22:36:59 -08:00
Boris Zbarsky
daed28912a Bug 830099. Flag WebIDL dictionaries and callbacks with some information indicating whether we need main-thread and worker codegen for them and then use that information to skip unneccessary codegen. r=peterv 2013-01-28 23:30:17 -05:00
Boris Zbarsky
065b213ef0 Bug 795896. Speed up UnwrapProxy, since we know what we have there is either an Xray or our proxy. r=peterv 2013-01-28 23:29:25 -05:00
Ehsan Akhgari
558f5d83d3 Backed out changeset 19b9f064d8eb (bug 795896) because of build bustage 2013-01-28 23:51:11 -05:00
Ehsan Akhgari
532c5822ab Backed out changeset 32786d29daf8 (bug 830099) because of build bustage 2013-01-28 23:51:03 -05:00
Boris Zbarsky
c03fdb9103 Bug 830099. Flag WebIDL dictionaries and callbacks with some information indicating whether we need main-thread and worker codegen for them and then use that information to skip unneccessary codegen. r=peterv 2013-01-28 23:30:17 -05:00
Boris Zbarsky
28ae5bfe10 Bug 795896. Speed up UnwrapProxy, since we know what we have there is either an Xray or our proxy. r=peterv 2013-01-28 23:29:25 -05:00
Peter Van der Beken
bfc9de7860 Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
--HG--
extra : rebase_source : 5668d9e01bff0fe7831d98018428856e5940a620
2012-12-03 17:07:49 +01:00
Boris Zbarsky
9109720d1a Bug 822470 part 7. Use new callback codegen for conversion to and from JS. r=peterv
NodeFilter, EventListener, and DOMTransaction will be updated to use the new codegen once we've fixed the consumers.
2013-01-28 08:34:31 -05:00
Boris Zbarsky
daf569d68b Bug 822470 part 6. Hook up callback interface codegen. r=peterv 2013-01-28 08:34:30 -05:00
Boris Zbarsky
bae0d6d7ef Bug 822470 part 5. Refactor callback codegen so it can be reused for callback interfaces too. r=peterv 2013-01-28 08:34:30 -05:00
Boris Zbarsky
6db46bbe9e Bug 822470 part 4. Expose the concept of "single operation interface" in the WebIDL data model. r=peterv 2013-01-28 08:34:30 -05:00
Boris Zbarsky
6065a469be Bug 822470 part 3. Include headers as needed for callback interfaces. r=peterv 2013-01-28 08:34:30 -05:00
Boris Zbarsky
8b10dd30ec Bug 822470 part 2. Create a CallbackInterface helper class. r=peterv
--HG--
rename : dom/bindings/CallbackFunction.h => dom/bindings/CallbackInterface.h
2013-01-28 08:34:30 -05:00
Boris Zbarsky
c71174d98b Bug 822470 part 1. Factor out the code that callback functions and callback interfaces will be able to share into a CallbackObject class. r=peterv
--HG--
rename : dom/bindings/CallbackFunction.cpp => dom/bindings/CallbackObject.cpp
rename : dom/bindings/CallbackFunction.h => dom/bindings/CallbackObject.h
2013-01-28 08:34:29 -05:00
Ed Morley
19dd19ed37 Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures 2013-01-28 11:08:21 +00:00
Peter Van der Beken
70a2f7c413 Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
--HG--
extra : rebase_source : 68e5630591f6209e2af9c5cd2321fed8edd3de24
2012-12-03 17:07:49 +01:00
Robert O'Callahan
52fa9f133a Bug 804837. Part 0: Rework the connection and input/output port logic for Web Audio nodes; r=ehsan
Here's what this patch does:
-- Makes AudioNodes mostly not use nsWrapperCache. AudioDestinationNode
still does.
-- Rename MaxNumberOfInputs/Outputs to NumberOfInputs/Outputs, and have them
default to 1 in AudioNode.
-- Allow any number of nodes to be connected to any given input/output port.
2013-01-23 19:50:18 -05:00
Ehsan Akhgari
94b2981ab9 Bug 833631 - Unprefix mozAudioContext; r=roc
--HG--
extra : rebase_source : 3c477a97ea842a806f6fad6f5c3a81d6e50b27c3
2013-01-22 20:12:21 -05:00
David Zbarsky
9f0a9f49ed Bug 831673, r=bz 2013-01-19 15:56:31 -05:00
Steve Fink
d3f194fbfb Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Steve Fink
cb8aecdd2a Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
fa3e8f224b Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Trevor Saunders
b98e34aed0 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
David Zbarsky
173b3e4951 Bug 827182: Convert SVGUseElement to WebIDL 2013-01-16 15:50:59 -05:00
Boris Zbarsky
ebae52fa5c Bug 830614. Wrapping a wrappercached WebIDL object should watch out for reentry via WrapNativeParent. r=peterv 2013-01-15 14:04:24 -05:00
Trevor Saunders
4f48cd4e2c bug 830396 - add back nsIDOMCSSValueList r=bz 2013-01-14 12:29:27 -05:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Peter Van der Beken
e9af4de1e2 Fix for bug 827546 (|non editable element|.QueryInterface(Components.interfaces.nsIDOMNSEditableElement) does not throw anymore) - throw on QI failure. r=bz. 2013-01-14 11:29:49 +01:00
David Zbarsky
147aeff755 Bug 828715 - Move DOMSVGMatrix to mozilla::dom::SVGMatrix r=longsonr
--HG--
rename : content/svg/content/src/DOMSVGMatrix.cpp => content/svg/content/src/SVGMatrix.cpp
rename : content/svg/content/src/DOMSVGMatrix.h => content/svg/content/src/SVGMatrix.h
2013-01-11 15:30:21 -05:00
Ms2ger
fea92580b3 Merge latest PGO-green m-i changeset to m-c. 2013-01-11 14:48:33 +01:00
Ms2ger
023389df36 Bug 825749 - Convert SVG gradient elements to WebIDL; r=bz
--HG--
rename : content/svg/content/src/nsSVGGradientElement.cpp => content/svg/content/src/SVGGradientElement.cpp
rename : content/svg/content/src/nsSVGGradientElement.h => content/svg/content/src/SVGGradientElement.h
2013-01-11 09:43:01 +01:00
William Chen
ab40ccf0cf Bug 828532 - Removed 'prototype' as a reserved identifier in WebIDL. r=bz 2013-01-10 11:54:13 -08:00
David Zbarsky
9893a04134 Bug 825147: Convert SVGAElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGAElement.cpp => content/svg/content/src/SVGAElement.cpp
rename : content/svg/content/src/nsSVGAElement.h => content/svg/content/src/SVGAElement.h
2013-01-10 00:30:13 -05:00
David Zbarsky
94935ac489 Bug 827119: Convert SVGSVGElement to WebIDL r=bz 2013-01-09 18:02:47 -05:00
David Zbarsky
f95b0f0bde Bug 827119: Move SVGSVGElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGSVGElement.cpp => content/svg/content/src/SVGSVGElement.cpp
rename : content/svg/content/src/nsSVGSVGElement.h => content/svg/content/src/SVGSVGElement.h
2013-01-09 18:02:45 -05:00
Andrew McCreight
0d5e9c008f Bug 777385 - Support (some) Paris bindings objects as weak map keys. r=peterv
This adds support for many kinds of Paris bindings objects as weak map keys.
This patch supports nsISupports objects as well as non-cycle-collected
non-nsISupports objects. What is needed for support is to preserve any wrapper,
if the object is wrapper cached. In other cases, we don't need to do anything.
2012-11-09 10:59:02 -08:00
Boris Zbarsky
2b8bc42057 Bug 824237. Add support for "partial interface" to WebIDL parser. r=khuey 2013-01-10 10:49:07 -05:00
Ehsan Akhgari
cfb2c229ce Bug 828000 - Don't generate the `isNull' local variable if it's not needed; r=bzbarsky 2013-01-08 16:29:52 -05:00
Boris Zbarsky
cf7864a07b Bug 826703 part 4. Convert ProcessingInstruction to WebIDL. r=peterv 2013-01-08 15:45:06 -05:00
Boris Zbarsky
3a0a9cc2d4 Bug 826703 part 3. Rename nsXMLProcessingInstruction to mozilla::dom::ProcessingInstruction. r=peterv
--HG--
rename : content/xml/content/src/nsXMLProcessingInstruction.cpp => content/xml/content/src/ProcessingInstruction.cpp
rename : content/xml/content/src/nsXMLProcessingInstruction.h => content/xml/content/src/ProcessingInstruction.h
2013-01-08 15:45:06 -05:00
Boris Zbarsky
e57f1f9c65 Bug 826703 part 2. Convert CDATASection to WebIDL. r=peterv 2013-01-08 15:45:06 -05:00
Boris Zbarsky
cae5a1d2b0 Back out bug 810644 for now to fix bug 827035, until we manage to fix bug 765780. r=stuff-is-broken 2013-01-07 10:29:00 -05:00
David Zbarsky
f01823b6b7 Bug 825732: Convert SVGAltGlyphElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGAltGlyphElement.cpp => content/svg/content/src/SVGAltGlyphElement.cpp
rename : content/svg/content/src/nsSVGAltGlyphElement.cpp => content/svg/content/src/SVGAltGlyphElement.h
2013-01-06 09:14:44 -05:00
David Zbarsky
cab388d053 Bug 825732: Convert SVGTextPositioningElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTextPositioningElement.cpp => content/svg/content/src/SVGTextPositioningElement.cpp
rename : content/svg/content/src/nsSVGTextPositioningElement.h => content/svg/content/src/SVGTextPositioningElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
d5bbec5a00 Bug 825732: Convert SVGTextContentElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTextContentElement.cpp => content/svg/content/src/SVGTextContentElement.cpp
rename : content/svg/content/src/nsSVGTextContentElement.h => content/svg/content/src/SVGTextContentElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
d96279163f Bug 824898: Convert SVG animation classes to WebIDL r=bz 2013-01-06 04:32:03 -05:00