Boris Zbarsky
d96841916c
Bug 851162. Make the auto-generated WrapObject in JS-implemented WebIDL codegen MOZ_OVERRIDE. r=mccr8
2013-03-26 11:31:54 -04:00
Terrence Cole
a41e529fdd
Bug 841059 - Do not use the ArenaHeader for getAllocKind on JSObject; r=billm
2013-02-14 14:51:07 -08:00
Tom Schuster
a2f87bfeac
Bug 828462 - Root Proxy/Wrapper in the browser. r=terrence,bz
2013-03-21 23:23:48 +01:00
Tom Schuster
262f6ec5cf
Bug 828462 - Root Proxy/Wrapper delete. r=terrence
2013-03-21 23:23:48 +01:00
Tom Schuster
2ed5bd5464
Bug 828462 - Root Proxy/Wrapper getOwnPropertyNames and keys. r=terrence
2013-03-21 23:23:47 +01:00
Tom Schuster
bf1dbb9e61
Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence
2013-03-21 23:23:47 +01:00
Tom Schuster
c65c3d9eca
Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence
2013-03-21 23:23:47 +01:00
David Zbarsky
ec650b665d
[Bug 852843] SVGZoomAndPan interface object not being instantiated r=bz
2013-03-21 01:33:56 -04:00
Ralph Giles
83209c2730
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
0d68971cca
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
284e7469d9
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
Ryan VanderMeulen
f0f24ea8b7
Merge m-c to inbound.
2013-03-19 18:01:10 -04:00
Peter Van der Beken
013cfdd064
Fix for bug 850847 (Fix dictionary in generated example for workers). r=bz.
2012-12-17 15:32:10 +01:00
Peter Van der Beken
28f60432b1
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
2013-03-17 21:47:12 -04:00
David Zbarsky
7a20ee9102
Bug 850958 - Implement instanceof without relying on nsIDOM interfaces r=bz
2013-03-18 19:14:39 -04:00
Andrew McCreight
3e4ff67145
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
0e799cd3c9
Bug 827486, part 5: add the main JS impl code gen. r=bz
2013-03-18 16:05:38 -07:00
Andrew McCreight
9e9c57d823
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
ccf3ba411d
Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz
2013-03-18 16:05:06 -07:00
Andrew McCreight
beeced61c9
Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz
2013-03-18 16:04:46 -07:00
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
Johnny Stenback
06f36ae07f
Fixing bug 852435. Make the bindings example generator use the native type name. r=bz
2013-03-16 01:39:56 -07:00
Andrew McCreight
c175f63c5f
Bug 846955 - Codegen Argument definitions using .define() in ClassDestructor::define. r=bz
2013-03-01 16:32:24 -08:00