gecko/dom/bindings
Boris Zbarsky f1bf746514 Bug 796983 part 2. Add a way to generate an example class declaration for a given WebIDL interface. r=jst
We mark constructors as static in the parser because they are.  This
allows us to just use the isStatic() for the IDLMember to mark our
declarations static.

To generate an example interface implementation, just "make
interfacename-example" in $objdir/dom/bindings.  This will place files
called interfacename-example.h and interfacename-example.cpp in that
directory.  For example, "make XMLHttpRequest-example" will get you
$objdir/dom/bindings/XMLHttpRequest-example.h and
$objdir/dom/bindings/XMLHttpRequest-example.cpp.

Attribute getters currently default to const methods, while setters
and operations default to non-const methods.

--HG--
rename : dom/bindings/BindingGen.py => dom/bindings/ExampleGen.py
2012-10-17 17:01:55 -04:00
..
crashtests Backout 29104ecddc3a (bug 769464) for crashtest assertions 2012-07-16 18:49:14 +01:00
parser Bug 796983 part 2. Add a way to generate an example class declaration for a given WebIDL interface. r=jst 2012-10-17 17:01:55 -04:00
stubgenerator Bug 793294 - Implement AudioBuffer; r=bzbarsky,smaug 2012-09-25 17:58:50 -04:00
test Bug 796983 part 1. Switch nullable primitives to using a const Nullable. r=jst 2012-10-17 17:01:55 -04:00
BindingGen.py Bug 775289 - Remove generateNativeAccessors branching from Paris binding codegen. (r=peterv) 2012-08-07 22:26:19 -07:00
Bindings.conf Bug 742781 - Implement WEBGL_debug_renderer_info extension - r=bz,jgilbert 2012-10-17 15:11:51 -04:00
BindingUtils.cpp Bug 797806 - Helper method to handle stringified JSON in C++, part2, r=khuey 2012-10-16 18:37:44 +03:00
BindingUtils.h Bug 797806 - Helper method to handle stringified JSON in C++, r=khuey 2012-10-16 17:52:10 +03:00
Codegen.py Bug 796983 part 2. Add a way to generate an example class declaration for a given WebIDL interface. r=jst 2012-10-17 17:01:55 -04:00
Configuration.py Backout 3044539fec87 (bug 799465),2dbcd6d16b43 (bug 798264), f7019f73a5f0 (bug 711628), a484a3a904da, 7154061ddc00 & 7e7fc42021c1 (bug 799465) for burning 2012-10-12 14:45:38 +01:00
DOMJSClass.h Backout 3044539fec87 (bug 799465),2dbcd6d16b43 (bug 798264), f7019f73a5f0 (bug 711628), a484a3a904da, 7154061ddc00 & 7e7fc42021c1 (bug 799465) for burning 2012-10-12 14:45:38 +01:00
DOMJSProxyHandler.cpp Bug 798014 - Remove dead DefineConstructor definition; r=khuey 2012-10-14 09:39:05 +02:00
DOMJSProxyHandler.h Bug 761695 - Implement expando traps for ProxyXrayTraits DOMXrayTraits. r=peterv 2012-10-05 18:59:23 +02:00
ErrorResult.h Bug 753517 part 3. Expose the API needed for Paris bindings on nsDOMCSSDeclaration and nsICSSDeclaration. r=dbaron,peterv 2012-08-23 21:08:08 -07:00
Errors.msg Bug 742191 - Part d: Throw TypeErrors for Paris binding exceptions; r=bz 2012-10-16 14:06:10 -04:00
ExampleGen.py Bug 796983 part 2. Add a way to generate an example class declaration for a given WebIDL interface. r=jst 2012-10-17 17:01:55 -04:00
GenerateCSS2PropertiesWebIDL.py Bug 795751. Make CSS2Properties stuff work even with pref names that are not identifiers. r=dholbert 2012-10-01 08:45:12 -04:00
GlobalGen.py Bug 775289 - Remove generateNativeAccessors branching from Paris binding codegen. (r=peterv) 2012-08-07 22:26:19 -07:00
Makefile.in Bug 796983 part 2. Add a way to generate an example class declaration for a given WebIDL interface. r=jst 2012-10-17 17:01:55 -04:00
NonRefcountedDOMObject.h Fix for bug 791347 (Support non-nsISupports refcounted natives and non-refcounted natives in new DOM bindings). r=bz/smaug. 2012-09-19 15:02:37 +02:00
Nullable.h
PrimitiveConversions.h Bug 763367 - Add support for [EnforceRange] and [Clamp]; r=bz 2012-09-06 09:25:03 +02:00
TypedArray.h Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley) 2012-08-21 18:42:53 -07:00