Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use attribute types from IR for generated event handlers | Vincent Sanders | 2015-11-05 | 1 | -4/+21 |
| | |||||
* | split heuristic code generation out from interface logic | Vincent Sanders | 2015-11-01 | 1 | -184/+7 |
| | |||||
* | extend the interface attribute setter automatic code generation to cover longs | Vincent Sanders | 2015-10-25 | 1 | -0/+29 |
| | |||||
* | improve unimplemented warning to include type modifier | Vincent Sanders | 2015-10-24 | 1 | -3/+4 |
| | |||||
* | extend the interface attribute getter automatic code generation to cover longs | Vincent Sanders | 2015-10-24 | 1 | -0/+24 |
| | |||||
* | Fix putforwards generation to cope with getters leaving a dirty stack | Vincent Sanders | 2015-10-14 | 1 | -5/+4 |
| | | | | Kinnison did all teh heavy tjinking on this! | ||||
* | show the property type on unimplemented getter warning | Vincent Sanders | 2015-10-12 | 1 | -2/+4 |
| | |||||
* | show the property type on unimplemented setter warning | Vincent Sanders | 2015-10-09 | 1 | -2/+4 |
| | |||||
* | Add automatic generation of property getters and setters | Vincent Sanders | 2015-10-08 | 1 | -47/+215 |
| | | | | | | | | | | | This allows the binding to omit specifying code for class property getters and setters. The omitted code will be generated by genbind to directly call suitable libdom accessors. The type of the property (string, boolean etc.) is derived from the IDL. If this type is incorrect, or is a type the generator cannot automatically produce, then the property will be treated like it has no binding implementation and generate unimplemented warnings. | ||||
* | make interface operations with elipsis parameters output line directives | Vincent Sanders | 2015-10-01 | 1 | -4/+1 |
| | |||||
* | Implement putforwards processing. | Vincent Sanders | 2015-09-30 | 1 | -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 file | Vincent Sanders | 2015-09-28 | 1 | -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 postface | Vincent Sanders | 2015-09-26 | 1 | -16/+24 |
| | |||||
* | Make the binding parser understand c types | Vincent Sanders | 2015-09-25 | 1 | -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 Sanders | 2015-09-07 | 1 | -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 Sanders | 2015-08-30 | 1 | -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 necessary | Vincent Sanders | 2015-08-21 | 1 | -0/+7 |
| | |||||
* | split up duk-libdom generation source as it had grown unweildy | Vincent Sanders | 2015-08-21 | 1 | -0/+1334 |