Commit Graph

1102 Commits

Author SHA1 Message Date
Ms2ger
be88bc5bfc Bug 858212 - Move FileReader to Paris bindings; r=bz 2013-04-13 09:06:31 +02:00
Ms2ger
ebda306fd2 Bug 826740 - Part f: Move HTMLCanvasElement to Paris bindings; r=khuey 2013-04-13 09:05:51 +02:00
Ms2ger
b1a36bd6e2 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
174c750d96 Bug 850442 - Part 5 - Rename nsGeolocation to Geolocation. r=bz 2013-04-12 13:01:29 -07:00
Guilherme Gonçalves
dae01e1be1 Bug 850442 - Part 3 - Convert callbacks, Geolocation and Position. r=bz 2013-04-12 13:01:29 -07:00
Guilherme Gonçalves
e70c5e5dd1 Bug 850442 - Part 2 - Convert PositionError. r=bz 2013-04-12 13:01:28 -07:00
Guilherme Gonçalves
487b082e61 Bug 850442 - Part 1 - Wrap nsGeoPosition and nsGeoPositionCoords into Position and Coordinates. r=bz 2013-04-12 13:01:28 -07:00
Boris Zbarsky
bde94b85b8 Bug 861064. Root WebIDL dictionary Init. r=smaug,terrence 2013-04-12 23:34:22 -04:00
Boris Zbarsky
f57dd3545a Bug 860591. Install WebIDL quickstubs for event interfaces as needed. r=smaug 2013-04-12 10:51:25 -04:00
Boris Zbarsky
c9c1e54147 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
5099725926 Bug 860591. Install WebIDL quickstubs for event interfaces as needed. r=smaug 2013-04-12 10:51:25 -04:00
Boris Zbarsky
add8499ced Bug 810644 part 2. Eliminate the now-unused CallEventHandler. r=smaug, sr=peterv 2013-01-03 14:02:42 -05:00
Ehsan Akhgari
9ce6df6da6 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
3d99395f09 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
292c1594b0 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
fd5118b7ee Bug 861021 - Mark AudioBufferSourceNode.playbackRate as not-addrefed; r=bzbarsky 2013-04-11 21:44:42 -04:00
Jacek Szpot
8123bfdfc5 Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-11 11:50:18 -07:00
Boris Zbarsky
5abeb6d6a7 Bug 860551. Fix instanceof for prototype-less interface objects to be saner. r=dzbarsky 2013-04-11 14:31:06 -04:00
Boris Zbarsky
98cbeae46b Bug 860473 part 3. Root ErrorResult::ThrowJSException. r=evilpie,smaug 2013-04-11 14:31:06 -04:00
Boris Zbarsky
e20f6386fd Bug 860473 part 2. Root WebIDL dictionary ToObject. r=evilpie,smaug 2013-04-11 14:31:06 -04:00
Boris Zbarsky
79d7391b5b Bug 860473 part 1. Root WebIDL dictionary ParseJSON. r=evilpie, smaug 2013-04-11 14:31:05 -04:00
Ms2ger
20a9e6b03b bug 851542 - Gamepad to webidl (with nsIVariant). r=smaug
--HG--
extra : rebase_source : ae08a894b592465641ed774688957a446c8966a7
2013-04-09 08:43:25 -04:00
Ted Mielczarek
c9ccf9b191 Backed out changeset dcf67f13c6bb, bug 851542 for B2G bustage. 2013-04-11 09:23:14 -04:00
Ms2ger
6dc688b31d bug 851542 - Gamepad to webidl (with nsIVariant). r=smaug 2013-04-09 08:43:25 -04:00
Boris Zbarsky
2d6c54904c Bug 859503. Make unknown extended attributes into parse errors. r=khuey 2013-04-10 13:49:06 -04:00
Andrea Marchesini
7268b75aaf Bug 858893 - Port DesktopNotification to WebIDL. r=Ms2ger 2013-04-10 10:20:43 -04:00
Kyle Huey
ba2e972842 Bug 859894: Reland on this CLOSED TREE with a CLOBBER. 2013-04-09 15:39:44 -07:00
Kyle Huey
f37712a023 Back out bug 859894 to open this CLOSED TREE. 2013-04-09 15:33:05 -07:00
Kyle Huey
60488146c6 Bug 859894: Switch dom/bindings off of mddepend.pl. r=ted 2013-04-09 15:11:43 -07:00
Boris Zbarsky
6580401152 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
ac1813bcc2 Bug 851470 - Attr to WebIDL. r=Ms2ger 2013-04-09 17:29:47 +02:00
Ehsan Akhgari
6f3b411b8e Bug 859594 - Remove AudioSourceNode; r=bzbarsky 2013-04-08 22:45:02 -04:00
Boris Zbarsky
899a6e9137 Back out Bug 810644 part 2 to fix b2g test_closeOnGC.html orange. 2013-04-08 22:55:15 -04:00
Ehsan Akhgari
1f4326e6c7 Backed out changeset d0d75e76d41f (bug 857417) for crashes during tests 2013-04-08 18:48:38 -04:00
Boris Zbarsky
58fc5c200e Bug 856428. Don't try to root an uninitialized value. r=peterv 2013-04-08 17:05:22 -04:00
Boris Zbarsky
e5adb523ed 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
3e0909e46e Bug 688691. Warn when LenientThis actually causes us to not throw. r=ms2ger 2013-04-08 17:04:21 -04:00
Boris Zbarsky
825d36de15 Bug 810644 part 2. Eliminate the now-unused CallEventHandler. r=smaug, sr=peterv 2013-01-03 14:02:42 -05:00
Ryan VanderMeulen
9420af6638 Backed out changeset a85d21e394c0 (bug 854503) for bustage. 2013-04-06 14:37:33 -04:00
Jacek Szpot
ccadc1da47 Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-04 12:14:32 +02:00
Nathan Froyd
be54fb01ea Bug 857254 - add CGTemplatedType and use it everywhere; r=bz 2013-04-02 15:29:03 -04:00
Nathan Froyd
19220f547f Bug 857254 - use CGIfWrapper more consistently; r=bz 2013-04-02 15:09:16 -04:00
Boris Zbarsky
ee5b601b3a Bug 855700. Make returning an nsIVariant from a WebIDL interface work. r=smaug 2013-04-03 22:22:16 -04:00
Boris Zbarsky
eea892adfc 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
6ab12bc8be 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
47900fa12c 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
Boris Zbarsky
e9d004587d Bug 852219 part 6. Handle cases when the C++ class we want to actually inherit from is not the one that the WebIDL interface is mapped to. r=mccr8 2013-04-03 22:22:16 -04:00
Boris Zbarsky
770f6edad3 Bug 852219 part 5. Add tests for JS-implemented interfaces inheriting from other interfaces. r=mccr8 2013-04-03 22:22:15 -04:00
Boris Zbarsky
4ada2d1867 Bug 852219 part 4. Fix forward-declarations and includes for JS-implemented interfaces. r=mccr8 2013-04-03 22:22:15 -04:00
Boris Zbarsky
aacf3f8304 Bug 852219 part 3. Handle JS-implemented interfaces having a parent interface. r=mccr8 2013-04-03 22:22:15 -04:00
Boris Zbarsky
94af964935 Bug 852219 part 2. Add an infallible constructor for CallbackObjects which are already in the right compartment and use this to simplify construction of the autogenerated implementation of a JS-implemented WebIDL binding. r=mccr8 2013-04-03 22:22:15 -04:00
Boris Zbarsky
2c9bf141d0 Bug 852219 part 1. Don't mark JS-implemented interfaces with descendant interfaces as final. r=khuey,mccr8 2013-04-03 22:22:15 -04:00
Boris Zbarsky
7529c584e5 Bug 854532. Make _asInstance codegen always produce code in the same order. r=khuey
Also fixes whitespace in _hasInstance and makes sure the .pp files are always in the same order
2013-04-03 22:22:14 -04:00
Jose Cortes
c3d2c6b38c Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/bindings/ dom/plugins/ dom/src/ dom/activities/ directories. r=jwalden
--HG--
extra : rebase_source : 2757a7ab265153fa4c769a69a4947b9258e4413e
2013-04-02 16:05:37 -07:00
Boris Zbarsky
b78a02dc00 Bug 855582 part 2. Make the bindings' various spec arrays const, and make the jitinfo structs static. r=khuey 2013-04-02 20:20:38 -04:00
Boris Zbarsky
4c038bb2cd Bug 856215. Fix conversion of sequences of sequences to JS to not screw up its indexing. r=khuey 2013-04-02 20:20:38 -04:00
Boris Zbarsky
2cafde97ff Bug 856833 part 3. Rip out no longer needed proxy-unwrapping code. r=waldo 2013-04-02 20:20:37 -04:00
David Zbarsky
5bd88c9c6f Bug 855597: Rename DOMSVGTransform to SVGTransform r=jwatt
--HG--
rename : content/svg/content/src/DOMSVGTransform.cpp => content/svg/content/src/SVGTransform.cpp
rename : content/svg/content/src/DOMSVGTransform.h => content/svg/content/src/SVGTransform.h
2013-04-02 15:17:41 -04:00
David Zbarsky
f82c55290a Bug 855597: Make SVGTransform not inherit nsISupports r=longsonr 2013-04-02 15:17:40 -04:00
Ehsan Akhgari
7c71d168de Bug 855990 - Part 1: Implement the DOM bindings to AnalyserNode; r=bzbarsky 2013-03-31 23:41:14 -04:00
Bobby Holley
9f6e03ced8 Bug 854480 - Remove old-style unwrapping from dom/bindings bindings. r=bz 2013-04-01 15:17:50 -07:00
Boris Zbarsky
47d4d3f6d8 Bug 841429. Fix callback codegen for optional arguments with default values. r=mccr8
The change to enum wrapping is just to fix an indentation bug I ran into while reading the generated code for some of these test methods.
2013-04-01 17:17:17 -04:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Jan Varga
e8149cfe6e Bug 854323 - Move IDBFactory to Paris bindings. r=khuey 2013-03-31 10:18:30 +02:00
Eddy Bruel
193967352e Bug 789897 - Implement isExtensible and preventExtensions traps for proxies, including scriptable direct proxies, and in the various wrapper classes. Also move non-static JSObject::preventExtensions to static ObjectImpl::preventExtensions, for handle correctness. Patch is a semi-tag-team effort with jwalden. r=jwalden, r=ejpbruel, r=bholley, r=two-turtle-doves-and-a-partridge-in-a-pear-tree
--HG--
extra : rebase_source : 156d2c22499372fceb60d130e363a3685e68b9fc
2013-03-22 19:43:03 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Ryan VanderMeulen
7e1725db21 Backed out bug 789897 due to regressions. 2013-03-29 14:07:32 -04:00
Olli Pettay
21a28ed93e Bug 855091 - Paris bindings for WheelEvent, r=peterv
--HG--
extra : rebase_source : 44424189a53331aef5ca2779ede262adaccc9800
2013-03-28 16:57:33 +02:00
Olli Pettay
5032aaa1bd Bug 854999 - Paris binding for SimpleGestureEvent, r=peterv
--HG--
extra : rebase_source : af491dbd2066c00a80a46d8a82e65403d12e83d5
2013-03-28 16:24:28 +02:00
Olli Pettay
ab249126d5 Bug 855241 - Paris binding for ScrollAreaEvent, r=peterv
--HG--
extra : rebase_source : e838d252fdeba9c4effd7abae2c7f9843552ed04
2013-03-28 16:21:20 +02:00
Olli Pettay
31351bbb9c Bug 855110 - Paris binding for XULCommandEvent, r=peterv
--HG--
extra : rebase_source : cf971d766e2b07a56b0c8b79d1109f6d77eaad27
2013-03-28 16:19:10 +02:00
Olli Pettay
bc60279c9f Bug 855522 - Paris binding for ClipboardEvent, r=peterv
--HG--
extra : rebase_source : d88764afac5e7594d16c4d6625b18ec0b75440f2
2013-03-28 16:11:21 +02:00
Terrence Cole
16aae426b8 Bug 855145 - DeMACROize the JS tracing interfaces; r=billm,mccr8
--HG--
extra : rebase_source : 915c80052b4412f653033eb5fc4d4f96c5d49bd5
2013-03-26 15:10:34 -07:00
Boris Zbarsky
bbc8dd1639 Bug 854001 part 2. Remove a null check in bindings code that is no longer needed because workers no longer use a DOMJSClass for prototype objects. r=peterv,bent 2013-03-28 15:43:33 -04:00
Andrea Marchesini
f824be6f86 Bug 825196 - Convert HTMLInputElement to WebIDL. r=Ms2ger 2013-03-28 15:41:32 -04:00
Jeff Walden
286a3b9607 Bug 789897 - Make BaseProxyHandler::{isExtensible,preventExtensions} pure virtual. r=bholley
--HG--
extra : rebase_source : 6c3bada30b00877f0388baf8a72e18adf9636750
2013-03-28 00:19:40 -07:00
Boris Zbarsky
d74ba794b4 Bug 855025. Always do Xrays for DOM interface objects. r=peterv 2013-03-27 22:47:25 -04:00
David Zbarsky
39c225e361 Bug 854629 Part 0: Remove the rest of XPIDL bindings for SVG elements r=Ms2ger 2013-03-27 21:23:10 -04:00
Guilherme Goncalves
a9d0df345c Bug 650295 - Implement main state machine for speech recognition. r=smaug 2013-03-27 14:13:57 -07:00
Kyle Huey
72e94c5c54 Bug 854225 - Delete the files from distclean instead of clean to fix frequent PGO bustage. r=glandium 2013-03-26 13:02:41 -04:00
Andrea Marchesini
1735bce39d Bug 852620 - Convert SVGRect to WebIDL, r=Ms2ger 2013-03-26 16:53:13 +01:00
Boris Zbarsky
1e4a364f26 Bug 851162. Make the auto-generated WrapObject in JS-implemented WebIDL codegen MOZ_OVERRIDE. r=mccr8 2013-03-26 11:31:54 -04:00
Boris Zbarsky
8e9507b3b7 Bug 848796 part 3. Convert XULDocument to WebIDL. r=peterv 2013-03-26 11:31:54 -04:00
Olli Pettay
7818288b1f Bug 854573 - Paris binding for CompositionEvent, r=peterv
--HG--
extra : rebase_source : 3e04e198a329649d7e1f306a31cf96485f0afc0d
2013-03-26 13:45:45 +02:00
Olli Pettay
8d94afa3e9 Bug 847590 - Paris binding for BeforeUnloadEvent, r=peterv
--HG--
extra : rebase_source : d249e7a7e61c39ccba52a10234e2260b048c941d
2013-03-26 13:45:39 +02:00
William Chen
4e5268c69a Bug 818976 - Part 2: Implement template element interface. r=mrbkap,bz 2013-03-26 00:15:23 -07:00
Boris Zbarsky
0db5087c50 Bug 832899 followup to add a test. 2013-03-22 23:47:58 -04:00
Terrence Cole
a0bedc4bc2 Bug 841059 - Do not use the ArenaHeader for getAllocKind on JSObject; r=billm 2013-02-14 14:51:07 -08:00
Tom Schuster
0112f8352e Bug 828462 - Root Proxy/Wrapper in the browser. r=terrence,bz 2013-03-21 23:23:48 +01:00
Tom Schuster
012c930168 Bug 828462 - Root Proxy/Wrapper delete. r=terrence 2013-03-21 23:23:48 +01:00
Tom Schuster
ccde5567f1 Bug 828462 - Root Proxy/Wrapper getOwnPropertyNames and keys. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
30b86c5cc0 Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
fcf6a93bf4 Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence 2013-03-21 23:23:47 +01:00
David Zbarsky
58c48a85b7 [Bug 852843] SVGZoomAndPan interface object not being instantiated r=bz 2013-03-21 01:33:56 -04:00
Ralph Giles
ec20c1088c Bug 852350 - Support [Pref] decorator on interfaces. r=bz
Generate a check calling Preferences::GetBool() directly
from the binding's PrefEnabled so the wrapped class doesn't
need to implement it.

This allows defining the preference directly in webidl.

Assumes only one preference value is set. Also removes pointless
override methods which just call the superclass.
---
 dom/bindings/Codegen.py | 37 +++++++++++++++++++++++++------------
 1 file changed, 25 insertions(+), 12 deletions(-)

Generate a check calling Preferences::GetBool() directly
from the binding's PrefEnabled so the wrapped class doesn't
need to implement it.

This allows defining the preference directly in webidl.

Assumes only one preference value is set. Also removes pointless
override methods which just call the superclass.
---
 dom/bindings/Codegen.py | 37 +++++++++++++++++++++++++------------
 1 file changed, 25 insertions(+), 12 deletions(-)
2013-03-20 11:18:00 -07:00
Boris Zbarsky
7c99990a9e Bug 848386 part 1. Don't preserve our wrapper until we have one so unforgeable property setup won't try to preserve it. r=peterv 2013-03-20 12:22:26 -04:00
Boris Zbarsky
f145e4afa3 Bug 852846. Make .style [PutForwards=cssText]. r=ms2ger 2013-03-20 12:22:25 -04:00
Phil Ringnalda
7e9529716f Back out 26f0d590a021, d92e88a18263, 5a2d12a34466 (bug 846995) for not building
CLOSED TREE
2013-03-19 20:20:38 -07:00
David Zbarsky
c8cee2f373 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-03-19 22:31:44 -04:00
David Zbarsky
9419247fbd Bug 846995 Part 1: Fix all the files that reference SVGAnimatedTransformList r=jwatt 2013-03-19 22:31:44 -04:00
Boris Zbarsky
6da96159f0 Bug 851584. Don't generate a Length() on our C++ example class to handle our indexed getter if we already have a 'length' attribute in the WebIDL. r=jst 2013-03-19 21:47:47 -04:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ryan VanderMeulen
7619f58b11 Merge m-c to inbound. 2013-03-19 18:01:10 -04:00
Peter Van der Beken
5f34e713cd Fix for bug 850847 (Fix dictionary in generated example for workers). r=bz.
--HG--
extra : rebase_source : 75117320f23b5af82eb0ee7648c3e0dd876fe19e
2012-12-17 15:32:10 +01:00
Jon Coppeard
b9652b9f39 Bug 849273 - Investigate splitting the js and JS namespaces r=terrence
--HG--
extra : rebase_source : 2b131d0177f02e5f0e89398545481fcacbfde00f
2013-03-19 10:35:41 +00:00
Kyle Huey
c13157e030 No bug: Hack around our build system woes. r=me CLOSED TREE 2013-03-19 07:25:31 -07:00
Andrea Marchesini
d623e85566 Bug 841493 - HTMLMediaElement - concrete: False, r=Ms2ger 2013-03-19 13:29:32 +01:00
Andrea Marchesini
16ff5dbc19 Bug 841493 - Convert HTMLVideoElement to WebIDL, r=Ms2ger 2013-03-19 13:28:34 +01:00
Andrea Marchesini
c15b6499e8 Bug 841493 - Rename nsHTMLVideoElement to HTMLVideoElement, r=Ms2ger
--HG--
rename : content/html/content/public/nsHTMLVideoElement.h => content/html/content/public/HTMLVideoElement.h
rename : content/html/content/src/nsHTMLVideoElement.cpp => content/html/content/src/HTMLVideoElement.cpp
2013-03-19 13:27:35 +01:00
Peter Van der Beken
c377be724c Bug 812617 - Provide a JSBindingFinalized hook for the native classes using Web IDL bindings to know when their JS wrapper has been finalized; r=bzbarsky
--HG--
extra : rebase_source : bb5059a170f3c2f4aa977190fceea421b41b5e58
2013-03-17 21:47:12 -04:00
David Zbarsky
f70b0584dd Bug 850958 - Implement instanceof without relying on nsIDOM interfaces r=bz 2013-03-18 19:14:39 -04:00
Andrew McCreight
46921f5eb1 Bug 827486, part 7 - add basic code gen test. r=bz 2013-03-18 16:08:50 -07:00
Andrew McCreight
5a11e9bf54 Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz 2013-03-18 16:05:51 -07:00
Andrew McCreight
5a2ff82c4a Bug 827486, part 5: add the main JS impl code gen. r=bz 2013-03-18 16:05:38 -07:00
Andrew McCreight
7458bc253c Bug 827486, part 4: copy parts of example generator to JS impl generator. r=bz 2013-03-18 16:05:23 -07:00
Andrew McCreight
669af6a2d4 Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz 2013-03-18 16:05:06 -07:00
Andrew McCreight
7b0e04eb50 Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz 2013-03-18 16:04:46 -07:00
Andrew McCreight
d9111375e8 Bug 827486, part 1: add JSImplementation extended attribute. r=bz 2013-03-18 16:04:24 -07:00
Ehsan Akhgari
331ae40b9c Bug 851073 - Move MouseEvent to Web IDL; r=smaug
--HG--
extra : rebase_source : 2b9f8e4f83a980838599bc4c0b6722651891c413
2013-03-14 11:30:47 -04:00
Kyle Huey
95b9d46c8a Back out Bug 827486 for PGO bustage. CLOSED TREE 2013-03-18 13:00:00 -07:00
Andrew McCreight
764f49155d Bug 827486, part 7 - add basic code gen test. r=bz 2013-03-18 10:19:42 -07:00
Andrew McCreight
4a3492b8f0 Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz 2013-03-18 10:19:42 -07:00
Andrew McCreight
5dfcba5fc4 Bug 827486, part 5: add the main JS impl code gen. r=bz 2013-03-18 10:19:42 -07:00
Andrew McCreight
3285db03d1 Bug 827486, part 4: copy parts of example generator to JS impl generator. r=bz 2013-03-18 10:19:41 -07:00
Andrew McCreight
e410a1fca1 Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz 2013-03-18 10:19:41 -07:00
Andrew McCreight
e62a4382fb Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz 2013-03-18 10:19:41 -07:00
Andrew McCreight
52a6ccfe75 Bug 827486, part 1: add JSImplementation extended attribute. r=bz 2013-03-18 10:19:41 -07:00
Phil Ringnalda
7004898004 Back out 2ea5f267af77:218356c595fc (bug 827486) for Windows builds dying with an obscure "MemoryError"
CLOSED TREE
2013-03-17 16:40:54 -07:00
Andrew McCreight
72d64db0b2 Bug 827486, part 7 - add basic code gen test. r=bz 2013-03-17 09:58:10 -07:00
Andrew McCreight
947a90e0ae Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz 2013-03-17 09:56:13 -07:00
Andrew McCreight
adc7071781 Bug 827486, part 5: add the main JS impl code gen. r=bz 2013-03-17 09:56:05 -07:00
Andrew McCreight
e7eae783a7 Bug 827486, part 4: copy parts of example generator to JS impl generator. r=bz 2013-03-17 09:55:55 -07:00
Andrew McCreight
2c6f06baf3 Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz 2013-03-17 09:55:42 -07:00
Andrew McCreight
22dee5ecfb Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz 2013-03-17 09:55:29 -07:00
Andrew McCreight
04f1f14f19 Bug 827486, part 1: add JSImplementation extended attribute. r=bz 2013-03-17 09:55:14 -07:00
Boris Zbarsky
ae8287bbef Bug 846972 part 3. Switch CSSStyleSheet to WebIDL. r=peterv 2013-03-17 10:45:01 -04:00
Boris Zbarsky
9482e7c07a Bug 846972 part 2. Add the WebIDL APIs for StyleSheet and CSSStyleSheet. r=peterv 2013-03-17 10:42:59 -04:00
Boris Zbarsky
7984f39d39 Bug 843627 part 3. Enable WebIDL bindings for <embed> and <applet>. r=peterv 2013-03-17 10:42:05 -04:00
Boris Zbarsky
50ddafc30d Bug 843627 part 2. Implement the WebIDL API for <embed> and <applet>. r=peterv 2013-03-17 10:42:03 -04:00
Ms2ger
aed8044ac2 Merge m-c to m-i. 2013-03-17 13:22:37 +01:00
Ms2ger
947d25f1a8 Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
Ms2ger
02145ed6a8 Bug 846860 - Give HTMLOptionsCollection its own header and put it in the dom namespace; r=khuey
--HG--
rename : content/html/content/src/nsHTMLSelectElement.cpp => content/html/content/src/HTMLOptionsCollection.cpp
rename : content/html/content/src/nsHTMLSelectElement.h => content/html/content/src/HTMLOptionsCollection.h
2013-03-17 08:55:17 +01:00
Ms2ger
5dd8d9d4d2 Bug 850817 - Move ClientRect to Paris bindings; r=bz
--HG--
rename : dom/interfaces/base/nsIDOMClientRect.idl => dom/webidl/ClientRect.webidl
2013-03-17 08:55:17 +01:00
Ms2ger
cf9a7a5ddd Bug 845374 - Part n: Stop including nsINode.h and nsIDOMNode.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Bill McCloskey
bfa3037d1f Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Phil Ringnalda
802b512b12 Back out f408dd29944c:db5c280d1907 (bug 827486) for probably having needed a clobber
CLOSED TREE
2013-03-16 18:16:37 -07:00
Andrew McCreight
24600b1f22 Bug 827486, part 7 - add basic code gen test. r=bz 2013-03-16 16:22:23 -07:00
Andrew McCreight
4e041452ff Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz 2013-03-16 16:22:23 -07:00
Andrew McCreight
0167b065ab Bug 827486, part 5: add the main JS impl code gen. r=bz 2013-03-16 16:22:22 -07:00
Andrew McCreight
94d24f2371 Bug 827486, part 4: copy parts of example generator to JS impl generator. r=bz 2013-03-16 16:22:22 -07:00
Andrew McCreight
0ea8eb9b20 Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz 2013-03-16 16:22:22 -07:00
Andrew McCreight
7fa5dc2a56 Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz 2013-03-16 16:22:22 -07:00
Andrew McCreight
5170ac7f5b Bug 827486, part 1: add JSImplementation extended attribute. r=bz 2013-03-16 16:22:22 -07:00
Olli Pettay
493383d8d5 Bug 847586 - Paris binding for MutationEvent, r=Ms2ger
--HG--
extra : rebase_source : 7e20d191d214a1ac8eea2b6cb51718fafd5d0555
2013-03-14 23:18:20 +02:00
Olli Pettay
0d003dc178 Bug 847599 - Paris binding for TransitionEvent, r=Ms2ger
--HG--
extra : rebase_source : 0540a60c6a6d3ac1bef6df399e3feb7040f92a26
2013-03-14 23:16:13 +02:00
Olli Pettay
925dba1211 Bug 847589 - Paris binding for AnimationEvent, r=Ms2ger
--HG--
extra : rebase_source : 5987a31b2700481c17b0f430cd66c6e1bb7881e5
2013-03-14 23:16:03 +02:00
Boris Zbarsky
6afaf76457 Bug 849307. When generating code for a WebIDL dictionary with interface members, include the relevant headers for those interfaces in the binding header file, not just the binding implementation file. r=peterv
An alternative would be using out-of-line constructors and destructors for such dictionaries.
2013-03-14 15:42:59 -04:00
Boris Zbarsky
0ca6c615c9 Bug 837339. Re-disallow nullable dictionary members inside dictionaries. r=khuey 2013-03-14 15:42:59 -04:00
Ed Morley
36cdd9d1e6 Backed out changeset 46ba7eb77ae1 (bug 847589) for crashes on a CLOSED TREE 2013-03-14 13:25:28 +00:00
Ed Morley
84f7a99dc5 Backed out changeset 6ab8497cb00f (bug 847599) 2013-03-14 13:23:32 +00:00
Ed Morley
409b3f0cc4 Backed out changeset ea13caf078a7 (bug 847586) 2013-03-14 13:23:28 +00:00
Olli Pettay
ba146befcc Bug 847586 - Paris binding for MutationEvent, r=Ms2ger
--HG--
extra : rebase_source : ce847b7cef923334274474e34db66158c110646c
2013-03-14 13:31:54 +02:00
Olli Pettay
e87666b025 Bug 847599 - Paris binding for TransitionEvent, r=Ms2ger
--HG--
extra : rebase_source : ac215dccab4fcf5a802669584eaa71168a73e085
2013-03-14 13:07:02 +02:00
Olli Pettay
35f53fbaff Bug 847589 - Paris binding for AnimationEvent, r=Ms2ger
--HG--
extra : rebase_source : abe968ca08b2f2bed4355e1fd69ea4f005689fd8
2013-03-14 13:03:00 +02:00
Olli Pettay
ae362dc62d Bug 847591 - Paris binding for CommandEvent, r=peterv
--HG--
extra : rebase_source : f633d3c91764c38f7cec9a9e1c192773e3ea6f7f
2013-03-13 23:05:32 +02:00
Olli Pettay
b05dd2df6e Bug 847583 - Paris binding for MessageEvent, r=peterv
--HG--
extra : rebase_source : 1f43c32d1dd2e05a745fe105d5b7156148b3b900
2013-03-13 22:18:36 +02:00
Olli Pettay
b7e2a4443f Bug 847585 - Paris binding for UIEvent, r=peterv
--HG--
extra : rebase_source : 01c588b769f9a3fa0ed435b67b0e07dff4dda179
2013-03-13 22:02:32 +02:00
David Zbarsky
38ef2eb725 Bug 842201 - SVGUnitTypes interface object is not being instantiated r=bz 2013-03-13 14:07:49 -04:00
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