Commit Graph

623 Commits

Author SHA1 Message Date
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
David Zbarsky
a4d42791f2 Bug 825147: Convert SVGImageElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGImageElement.cpp => content/svg/content/src/SVGImageElement.cpp
rename : content/svg/content/src/nsSVGImageElement.h => content/svg/content/src/SVGImageElement.h
2013-01-06 04:32:01 -05:00
David Zbarsky
012248c84f Bug 824899 - Don't use nsIDOMSVGElement where possible r=longsonr 2013-01-06 01:25:55 -05:00
David Zbarsky
937861a33d Bug 824229 Part 6: Move SVGGraphicsElement to mozilla::dom r=bz,longsonr
--HG--
rename : content/svg/content/src/nsSVGGraphicElement.cpp => content/svg/content/src/SVGGraphicsElement.cpp
rename : content/svg/content/src/nsSVGGraphicElement.h => content/svg/content/src/SVGGraphicsElement.h
2013-01-03 01:17:03 -05:00
David Zbarsky
f69c2e36f7 Bug 824229 Part 5: Implement SVGGraphicsElement r=longsonr 2013-01-03 01:17:02 -05:00
David Zbarsky
2a4c6d8cd0 Bug 824229 Part 4: Implement SVGTransformableElement r=longsonr 2013-01-03 01:17:02 -05:00
David Zbarsky
6a7c84d12d Bug 824229 Part 3: Implement SVGLocatableElement r=longsonr 2013-01-03 01:17:02 -05:00
Peter Van der Beken
aeb099b863 Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableColElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.cpp
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.cpp
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.h
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.h
extra : rebase_source : 4654bf54c41231eed6f73a35118d58be0c9af9a0
2012-12-29 15:07:57 +01:00
Peter Van der Beken
429830ebec Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableRowElement to WebIDL. r=bz.
--HG--
extra : rebase_source : d2febac66f508caf3c2b89816e811ed8e2c88856
2012-12-29 15:07:57 +01:00
Peter Van der Beken
3bea4275da Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableCellElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.cpp
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.h
rename : content/html/content/src/nsHTMLTableElement.cpp => content/html/content/src/HTMLTableElement.cpp
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.h
extra : rebase_source : fcf088e7ac91a216ae7ad1cb16d509a17cd7a2a7
2012-12-29 15:07:56 +01:00
Peter Van der Beken
9ca46c7fbd Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableSectionElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.h
rename : dom/interfaces/html/nsIDOMHTMLTableSectionElem.idl => dom/interfaces/html/nsIDOMHTMLTableSectionElement.idl
extra : rebase_source : b9c1d7dea38653452b44b2033cf2c0140f7b39b1
2012-12-29 15:07:48 +01:00