summaryrefslogtreecommitdiff
path: root/src/interface-map.h
Commit message (Collapse)AuthorAgeFilesLines
* rename interface map to be intermediate representationVincent Sanders2015-08-171-141/+0
| | | | | | 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.
* Ensure the number of parameters is correct for operationsVincent Sanders2015-08-111-3/+3
| | | | | | | | | | For normal operations (not special, overloaded or varadic) check the number of parameters passed is correct and add default values if necessary. This means every normal operation will always have a complete set of parameters and throw an error if there are too few non optional arguments.
* Update the interface map to contain all operation argumentsVincent Sanders2015-08-091-4/+29
| | | | | | | | | This extends the interface map (the intermediate representation) to have information on every operations arguments including overloading and optional arguments. This is important to allow automated checking of passed parameters numbers and types in future.
* Update the webidl parser to cope with specials and overloaded methodsVincent Sanders2015-08-021-0/+1
|
* generate binding header and sourceVincent Sanders2015-08-011-0/+3
| | | | | | These allow a closed set of functions used by the automatic bindings and gives an external interface allowing all the generated prototypes to be created in the correct order
* ensure nothing is generated for interfaces marked with NoInterfaceObjectVincent Sanders2015-07-311-6/+11
|
* Generate makefile fragment and add header guardsVincent Sanders2015-07-311-2/+11
|
* Generate constant values on the class prototypeVincent Sanders2015-07-291-0/+13
|
* Add property generation and add it to prototype constructionVincent Sanders2015-07-291-2/+21
|
* Add prototype generationVincent Sanders2015-07-271-0/+3
|
* initial duktape libdom generatorVincent Sanders2015-07-251-6/+26
| | | | | 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-0/+43
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.