gecko/dom/bindings
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
..
crashtests Bug 822340. Make the Ion optimization for DOM method calls sound. r=jandem 2012-12-19 17:47:39 -08:00
parser Bug 850958 - Implement instanceof without relying on nsIDOM interfaces r=bz 2013-03-18 19:14:39 -04:00
test Bug 852846. Make .style [PutForwards=cssText]. r=ms2ger 2013-03-20 12:22:25 -04:00
BindingDeclarations.h Bug 846972 part 2. Add the WebIDL APIs for StyleSheet and CSSStyleSheet. r=peterv 2013-03-17 10:42:59 -04:00
BindingGen.py Back out cd8481cc4a32 (bug 784812) for make check failures 2013-02-24 14:10:48 -08:00
Bindings.conf Back out 26f0d590a021, d92e88a18263, 5a2d12a34466 (bug 846995) for not building 2013-03-19 20:20:38 -07:00
BindingUtils.cpp Bug 843627 part 3. Enable WebIDL bindings for <embed> and <applet>. r=peterv 2013-03-17 10:42:05 -04:00
BindingUtils.h Bug 849273 - Investigate splitting the js and JS namespaces r=terrence 2013-03-19 10:35:41 +00:00
CallbackFunction.h 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 2013-01-28 08:34:29 -05:00
CallbackInterface.cpp Bug 822470 part 6. Hook up callback interface codegen. r=peterv 2013-01-28 08:34:30 -05:00
CallbackInterface.h Bug 822470 part 6. Hook up callback interface codegen. r=peterv 2013-01-28 08:34:30 -05:00
CallbackObject.cpp Back out changeset a4763990a983 (bug 838686) because gcc doesn't like it and we get a CLOSED TREE. 2013-02-26 15:35:13 -05:00
CallbackObject.h Bug 845374 - Part n: Stop including nsINode.h and nsIDOMNode.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Codegen.py Bug 852350 - Support [Pref] decorator on interfaces. r=bz 2013-03-20 11:18:00 -07:00
Configuration.py Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz 2013-03-18 16:05:51 -07:00
DOMJSClass.h Fix for bug 825628 (Implement NamedConstructor) - add codegen support for NamedConstructor. r=bz. 2013-01-22 11:51:15 +01:00
DOMJSProxyHandler.cpp Bug 826447 - Change all the proxy API signatures to take unsigned flags, rather than bool set, so that it's easier to find all tests of JSRESOLVE_ASSIGNING. r=bz 2013-01-03 15:31:36 -06:00
DOMJSProxyHandler.h Bug 826447 - Change all the proxy API signatures to take unsigned flags, rather than bool set, so that it's easier to find all tests of JSRESOLVE_ASSIGNING. r=bz 2013-01-03 15:31:36 -06:00
ErrorResult.h Bug 839088 part 1. Add a way to throw a JS::Value on an ErrorResult. r=peterv 2013-02-19 11:54:40 -05:00
Errors.msg Bug 820665 part 1. More WebIDL spec updates to changes in how dictionaries work. r=khuey 2013-01-03 14:03:00 -05:00
ExampleGen.py Bug 802163 - Fix pyflakes warnings in bindings python; r=peterv 2012-12-02 09:59:08 +01:00
GenerateCSS2PropertiesWebIDL.py
GlobalGen.py Bug 802163 - Fix pyflakes warnings in bindings python; r=peterv 2012-12-02 09:59:08 +01:00
Makefile.in 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
moz.build Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
NonRefcountedDOMObject.h
Nullable.h Bug 819791 - Part 3: Make typeof nsTArray == typeof InfallibleTArray. r=bz 2012-12-18 20:16:06 -05:00
PrimitiveConversions.h Bug 832788. Part 4: PrimitiveConversions should avoid implicit narrowing casts to avoid compiler warnings; make them explicit. r=bzbarsky 2013-01-29 16:14:40 +13:00
TypedArray.h Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz 2012-11-14 09:56:26 -08:00