summaryrefslogtreecommitdiff
path: root/src/duk-libdom-interface.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement putforwards processing.Vincent Sanders2015-09-301-16/+86
| | | | | | | | | interface attributes with the putforwards extended attribute call the setter specified in that extended attribute. The WebIDL is supposed to ensure the attribute is readonly before allowing a putforwards but we only warn about this as there are several examples where readonly is omitted.
* annotates binding AST with source linenumber and fileVincent Sanders2015-09-281-10/+4
| | | | | Uses annotated AST to put line directives in the generated source so any code errors in the binding can be easily located.
* Simplify genbind AST handling of preface, prologue, epilogue and postfaceVincent Sanders2015-09-261-16/+24
|
* Make the binding parser understand c typesVincent Sanders2015-09-251-19/+43
| | | | | | 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.
* Cause string arguments to operations to be coerced.Vincent Sanders2015-09-071-2/+3
| | | | | | It appears that string parameters to operations must be coerced from other types instead of throwing a type error to conform to expected behaviour.
* Change dictionary generation to produce C accessors.Vincent Sanders2015-08-301-1/+44
| | | | | | This generates routines which correctly handle reading a member from a dictionary and returning it as the correct c type. Currently the types "any", "user" and "sequence" remain unhandled.
* only publicly export initialisors and finalisors if necessaryVincent Sanders2015-08-211-0/+7
|
* split up duk-libdom generation source as it had grown unweildyVincent Sanders2015-08-211-0/+1334