Kyle Huey
141e90d173
Back out Bug 827486 for PGO bustage. CLOSED TREE
2013-03-18 13:00:00 -07:00
Andrew McCreight
1a7f567c7e
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
1c018d59a0
Bug 827486, part 5: add the main JS impl code gen. r=bz
2013-03-18 10:19:42 -07:00
Andrew McCreight
df828a6f68
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
76a2056ebb
Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz
2013-03-18 10:19:41 -07:00
Andrew McCreight
02aeb9314e
Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz
2013-03-18 10:19:41 -07:00
Phil Ringnalda
3be0b7fa5a
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
8a18928fa7
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
dc3a4bc249
Bug 827486, part 5: add the main JS impl code gen. r=bz
2013-03-17 09:56:05 -07:00
Andrew McCreight
26694c604e
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
92a67bc2a5
Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz
2013-03-17 09:55:42 -07:00
Andrew McCreight
e268150095
Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz
2013-03-17 09:55:29 -07:00
Phil Ringnalda
9effe60dd2
Back out f408dd29944c:db5c280d1907 (bug 827486) for probably having needed a clobber
...
CLOSED TREE
2013-03-16 18:16:37 -07:00
Andrew McCreight
89e60d3597
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
1bb49464fb
Bug 827486, part 5: add the main JS impl code gen. r=bz
2013-03-16 16:22:22 -07:00
Andrew McCreight
269f0c74c2
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
d24fd0247d
Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz
2013-03-16 16:22:22 -07:00
Andrew McCreight
71daea430d
Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz
2013-03-16 16:22:22 -07:00
Boris Zbarsky
8e652117e4
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
David Zbarsky
58e08f5971
Bug 842201 - SVGUnitTypes interface object is not being instantiated r=bz
2013-03-13 14:07:49 -04:00
Masatoshi Kimura
7878ea38fd
Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz
2013-03-12 08:03:47 +09:00
Jon Coppeard
66d2e2f630
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
2013-03-06 16:41:43 +00:00
Ed Morley
0e54ea5e7a
Backed out changeset 28ef4bdff455 (bug 848395)
2013-03-07 13:03:35 +00:00
Jon Coppeard
873e60e705
Bug 841801 - Allow proxies to be finalized in the background r=billm
2013-02-21 10:19:17 +00:00
Jon Coppeard
76e226089a
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
2013-03-06 16:41:43 +00:00
Masatoshi Kimura
a4628bcb9a
Bug 841289 - Remove prefable option from WebIDL codegen. r=bz
2013-03-06 07:09:38 +09:00
Boris Zbarsky
196e0cdb96
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
85ea82871f
Bug 827158 part 8. Implement legacycaller support in WebIDL. r=peterv
2013-03-04 14:08:24 -05:00
Andrew McCreight
c175f63c5f
Bug 846955 - Codegen Argument definitions using .define() in ClassDestructor::define. r=bz
2013-03-01 16:32:24 -08:00
Boris Zbarsky
cb305cfb7a
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
Peter Van der Beken
f7e510d602
Fix for bug 842799 (|Document.prototype instanceof Node| inside <script> returns false). r=bz.
2013-02-22 10:25:24 +01:00
Boris Zbarsky
3c2adc682a
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
9d1831e75b
Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
2013-02-28 14:41:30 -05:00
Boris Zbarsky
697b96580b
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
Boris Zbarsky
650f94470f
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
eb23c0b868
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
d42046307b
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
Peter Van der Beken
b89b9b1926
Fix for bug 844559 (Crash [@ mozilla::dom::XrayResolveNativeProperty]). r=bz.
2013-02-25 20:39:15 +01:00
Kyle Huey
ae52a4b608
Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted
2013-02-24 12:36:44 -08:00
Phil Ringnalda
ba896daee5
Back out cd8481cc4a32 (bug 784812) for make check failures
2013-02-24 14:10:48 -08:00
Kyle Huey
ed325b887e
Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted CLOSED TREE
2013-02-24 12:36:44 -08:00
Kyle Huey
298458b894
Backed out changeset a71766c2c85d
2013-02-24 12:33:36 -08:00
Kyle Huey
97ac18ed2f
Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted
2013-02-24 12:03:03 -08:00
Boris Zbarsky
83fad0276e
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
Ryan VanderMeulen
6a966d0b7e
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
Boris Zbarsky
81c78b8c60
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
Peter Van der Beken
715d9242cf
Fix for bug 825628 (Implement NamedConstructor) - add codegen support for NamedConstructor. r=bz.
2013-01-22 11:51:15 +01:00
Boris Zbarsky
ed32d9c8fa
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
848df9326c
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
da102c62d0
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