Boris Zbarsky
b105f502e9
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
1f72f2ad4e
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
436faf79ed
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
Boris Zbarsky
863287ea09
Bug 855025. Always do Xrays for DOM interface objects. r=peterv
2013-03-27 22:47:25 -04:00
Boris Zbarsky
eb4fad3022
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
20501c8c5a
Bug 841059 - Do not use the ArenaHeader for getAllocKind on JSObject; r=billm
2013-02-14 14:51:07 -08:00
Tom Schuster
045cb0fba7
Bug 828462 - Root Proxy/Wrapper in the browser. r=terrence,bz
2013-03-21 23:23:48 +01:00
Tom Schuster
b8e3b65fa7
Bug 828462 - Root Proxy/Wrapper delete. r=terrence
2013-03-21 23:23:48 +01:00
Tom Schuster
097f3a1110
Bug 828462 - Root Proxy/Wrapper getOwnPropertyNames and keys. r=terrence
2013-03-21 23:23:47 +01:00
Tom Schuster
5a05e27565
Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence
2013-03-21 23:23:47 +01:00
Tom Schuster
b67362a266
Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence
2013-03-21 23:23:47 +01:00
David Zbarsky
dddd48eaf4
[Bug 852843] SVGZoomAndPan interface object not being instantiated r=bz
2013-03-21 01:33:56 -04:00
Ralph Giles
53a5230fc8
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
e03d4dbee4
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
a296f060db
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
186e10f5d2
Merge m-c to inbound.
2013-03-19 18:01:10 -04:00
Peter Van der Beken
4ce9ea964b
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
Peter Van der Beken
5cf619c9f2
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
389d008544
Bug 850958 - Implement instanceof without relying on nsIDOM interfaces r=bz
2013-03-18 19:14:39 -04:00
Andrew McCreight
b35d925658
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
c32fccc952
Bug 827486, part 5: add the main JS impl code gen. r=bz
2013-03-18 16:05:38 -07:00
Andrew McCreight
eb93cdc9ad
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
cb4fc817c0
Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz
2013-03-18 16:05:06 -07:00
Andrew McCreight
e00f4bc0d2
Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz
2013-03-18 16:04:46 -07:00
Kyle Huey
75a0778ab2
Back out Bug 827486 for PGO bustage. CLOSED TREE
2013-03-18 13:00:00 -07:00
Andrew McCreight
778d3abc1c
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
3344412262
Bug 827486, part 5: add the main JS impl code gen. r=bz
2013-03-18 10:19:42 -07:00
Andrew McCreight
50e5e4bede
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
5df573f3a1
Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz
2013-03-18 10:19:41 -07:00
Andrew McCreight
f46f1584c9
Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz
2013-03-18 10:19:41 -07:00
Phil Ringnalda
e2fa3980d3
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
9889557035
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
4eb4b866dd
Bug 827486, part 5: add the main JS impl code gen. r=bz
2013-03-17 09:56:05 -07:00
Andrew McCreight
2455aa8e05
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
5edf63081d
Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz
2013-03-17 09:55:42 -07:00
Andrew McCreight
783748c6ea
Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz
2013-03-17 09:55:29 -07:00
Phil Ringnalda
48a37ae4ea
Back out f408dd29944c:db5c280d1907 (bug 827486) for probably having needed a clobber
...
CLOSED TREE
2013-03-16 18:16:37 -07:00
Andrew McCreight
d5fd7d6d1b
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
d1fdac2bc2
Bug 827486, part 5: add the main JS impl code gen. r=bz
2013-03-16 16:22:22 -07:00
Andrew McCreight
714b6cbafe
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
32edce4df6
Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz
2013-03-16 16:22:22 -07:00
Andrew McCreight
657ceaa9fd
Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz
2013-03-16 16:22:22 -07:00
Boris Zbarsky
1c9b3c0388
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
3bec068502
Bug 842201 - SVGUnitTypes interface object is not being instantiated r=bz
2013-03-13 14:07:49 -04:00
Masatoshi Kimura
e5e5a90814
Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz
2013-03-12 08:03:47 +09:00
Jon Coppeard
8d5fd16382
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
fe417ad697
Backed out changeset 28ef4bdff455 (bug 848395)
2013-03-07 13:03:35 +00:00
Jon Coppeard
82b2b286dc
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
fa71007e65
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
Masatoshi Kimura
dd29852063
Bug 841289 - Remove prefable option from WebIDL codegen. r=bz
2013-03-06 07:09:38 +09:00