summaryrefslogtreecommitdiff
path: root/src/nsgenbind.c
Commit message (Collapse)AuthorAgeFilesLines
* Add warning for identifying generated outputVincent Sanders2015-10-081-1/+4
|
* Make the binding parser understand c typesVincent Sanders2015-09-251-1/+1
| | | | | | Instead of c types being opaque strings this makes the bindig parser understand them. This is necessary for extended attribute parsing in future but also makes the binding more easily understandable.
* rename interface map to be intermediate representationVincent Sanders2015-08-171-8/+8
| | | | | | The interface map is now completely inapropriately named and is in fact now an intermediate representation of the webidl and bindings kept in a sorted order.
* Add dry run featureVincent Sanders2015-08-101-1/+5
|
* Enable warnings to be enabled and generated for unimplemented elementsVincent Sanders2015-08-061-2/+16
|
* Generate makefile fragment and add header guardsVincent Sanders2015-07-311-2/+2
|
* initial duktape libdom generatorVincent Sanders2015-07-251-40/+12
| | | | | This generator creates all the output files and generates the finalisers for every class.
* Build interface map allowing for correct dependency generationVincent Sanders2015-07-241-1/+12
| | | | | | | | | | | | | This constructs an ordered list of all interfaces in their dependency order. The topological sort ordering is derived from the interfaces inheritance. The resulting table allows the generation phase to easily map interfaces to classes defined in the binding with a useful ordering. Additionally it was noticed that the uievent IDL was missing so that has now been added and allows for a much more complete graph of interfaces to be constructed.
* Load the WebIDL files specified in the bindingVincent Sanders2015-07-221-1/+56
| | | | | | | | | | | | | This loads the WebIDL specified in the bindings into an Abstract Syntax Tree (AST) and performs the mixin operations for implements. Additionally the specs now use a slightly extended IDL syntax. Instead of wholesale implementing the second edition of the IDL spec the parser has been updated to cope with iterator and Promise keywords as those are the only changes used in the dom and html specifications. A bug was also fixed in the lexer where negative int literals were not recognised.
* chnage binding AST to put methds inside class nodesVincent Sanders2015-07-221-10/+10
|
* Change binding grammar to new approach.Vincent Sanders2015-07-211-176/+148
|
* move flag indicating jsapi object for an interface should be a global from ↵Vincent Sanders2014-05-161-4/+4
| | | | api definition to the interface flags
* move binding type from explicit statement into declaration.Vincent Sanders2014-05-161-13/+73
| | | | | As a side effect the binding declaration changes and looses its (unused) name/identifier
* add switch and implementation to enable debug trace logging in generated codeVincent Sanders2013-06-031-2/+6
|
* allow generation of header for exported interfaces and structures.Vincent Sanders2012-12-191-4/+15
|
* add warning switch to control warning output at generation timeVincent Sanders2012-11-081-1/+5
|
* Support generation of dep filesDaniel Silverstone2012-11-041-3/+38
|
* The name of teh tool is nsgenbind correct this everywhereVincent Sanders2012-10-231-0/+108