Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Vince is right, -3 is better than -4dsilvers/interfacemap | Daniel Silverstone | 2015-08-04 | 1 | -1/+1 |
| | |||||
* | When constructing the interface map ensure method type search code does not ↵ | Vincent Sanders | 2015-08-03 | 1 | -1/+3 |
| | | | | strcmp null | ||||
* | Fix initialiser parameter list | Vincent Sanders | 2015-08-02 | 2 | -4/+10 |
| | | | | | | The initialiser parameter list parsing was missing creation of a parameter node in the AST and the parameter iterator was looking for a method node instead of a paramter node. | ||||
* | generates files with temporary name and only overwites on change | Vincent Sanders | 2015-08-02 | 3 | -40/+158 |
| | |||||
* | Update the webidl parser to cope with specials and overloaded methods | Vincent Sanders | 2015-08-02 | 7 | -145/+230 |
| | |||||
* | generate binding header and source | Vincent Sanders | 2015-08-01 | 3 | -72/+371 |
| | | | | | | 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 NoInterfaceObject | Vincent Sanders | 2015-07-31 | 3 | -16/+61 |
| | |||||
* | Generate makefile fragment and add header guards | Vincent Sanders | 2015-07-31 | 5 | -35/+126 |
| | |||||
* | Clean up code generation functions | Vincent Sanders | 2015-07-30 | 1 | -186/+221 |
| | |||||
* | Generate prototype header and include it from each class source | Vincent Sanders | 2015-07-30 | 1 | -20/+90 |
| | |||||
* | Add generation of private header and cause class files to include it | Vincent Sanders | 2015-07-30 | 3 | -16/+110 |
| | |||||
* | Generate constant values on the class prototype | Vincent Sanders | 2015-07-29 | 3 | -0/+156 |
| | |||||
* | Add property generation and add it to prototype construction | Vincent Sanders | 2015-07-29 | 9 | -121/+556 |
| | |||||
* | Generate class methods from interface operations | Vincent Sanders | 2015-07-28 | 2 | -5/+282 |
| | |||||
* | Add prototype generation | Vincent Sanders | 2015-07-27 | 2 | -7/+119 |
| | |||||
* | make the duktape libdom generator output initializers | Vincent Sanders | 2015-07-26 | 5 | -103/+691 |
| | |||||
* | initial duktape libdom generator | Vincent Sanders | 2015-07-25 | 9 | -51/+366 |
| | | | | | This generator creates all the output files and generates the finalisers for every class. | ||||
* | Build interface map allowing for correct dependency generation | Vincent Sanders | 2015-07-24 | 9 | -351/+559 |
| | | | | | | | | | | | | | 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 binding | Vincent Sanders | 2015-07-22 | 7 | -59/+283 |
| | | | | | | | | | | | | | 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 nodes | Vincent Sanders | 2015-07-22 | 4 | -13/+115 |
| | |||||
* | Change binding grammar to new approach. | Vincent Sanders | 2015-07-21 | 14 | -2099/+2554 |
| | |||||
* | make property generation use map | Vincent Sanders | 2014-05-16 | 4 | -187/+238 |
| | |||||
* | make function specifier and body generation use the interface map | Vincent Sanders | 2014-05-16 | 3 | -175/+140 |
| | |||||
* | Expand implements statements in the AST after it has been built | Vincent Sanders | 2014-05-16 | 5 | -76/+127 |
| | | | | | | | This greatly simplifies output generation because instead of dealing with implements on every traverse they are expanded once. Additionaly errors in expansion are found and generate error early. | ||||
* | split out jsapi class generation and make use interface map | Vincent Sanders | 2014-05-16 | 6 | -303/+293 |
| | |||||
* | complete implementation of interface map generation and split out to own module | Vincent Sanders | 2014-05-16 | 6 | -167/+353 |
| | |||||
* | generate function bodies for all interfaces | Vincent Sanders | 2014-05-16 | 3 | -92/+121 |
| | |||||
* | add function and property enumerations to the interface map | Vincent Sanders | 2014-05-16 | 5 | -16/+83 |
| | |||||
* | rename jsapi method generation to be named function rather than oddly named ↵ | Vincent Sanders | 2014-05-16 | 4 | -11/+14 |
| | | | | webidl operator nomenclature | ||||
* | make binding constructor multiple interface capable | Vincent Sanders | 2014-05-16 | 5 | -188/+401 |
| | |||||
* | add test with multiple interfaces within on binding | Vincent Sanders | 2014-05-16 | 2 | -3/+732 |
| | |||||
* | construct topoligicaly consitant (dependancy correct) interface map | Vincent Sanders | 2014-05-16 | 6 | -129/+394 |
| | | | | use dependancy map to generate javascript prototype for all interfaces in the binding. | ||||
* | move flag indicating jsapi object for an interface should be a global from ↵ | Vincent Sanders | 2014-05-16 | 7 | -83/+124 |
| | | | | api definition to the interface flags | ||||
* | add flags to interface within binding | Vincent Sanders | 2014-05-16 | 7 | -45/+171 |
| | |||||
* | move binding type from explicit statement into declaration. | Vincent Sanders | 2014-05-16 | 9 | -120/+130 |
| | | | | | As a side effect the binding declaration changes and looses its (unused) name/identifier | ||||
* | cope with older bison deirectives to get a pure parser | Vincent Sanders | 2014-05-02 | 2 | -2/+8 |
| | |||||
* | use core buildsystem tool variables for flex and bison | Vincent Sanders | 2014-05-02 | 1 | -3/+3 |
| | |||||
* | Update component version for releaserelease/0.1.0 | Vincent Sanders | 2014-04-18 | 1 | -1/+1 |
| | |||||
* | Fix building for Win32 | John-Mark Bell | 2014-01-17 | 2 | -0/+27 |
| | |||||
* | add switch and implementation to enable debug trace logging in generated code | Vincent Sanders | 2013-06-03 | 5 | -26/+166 |
| | |||||
* | use macro to cope with differing return types in garbage collection callback | Vincent Sanders | 2013-06-03 | 1 | -1/+1 |
| | |||||
* | fix building teh lexers with bison versions at and after 2.6 | Vincent Sanders | 2013-05-03 | 2 | -0/+19 |
| | |||||
* | add a .gitattributes so .gitignore is not exportedrelease/0.0.1 | Vincent Sanders | 2013-04-18 | 1 | -0/+2 |
| | |||||
* | Add -DYYENABLE_NLS=0 to shush some warnings | Daniel Silverstone | 2013-04-11 | 1 | -1/+1 |
| | |||||
* | add fetching of private values to property getters | Vincent Sanders | 2013-01-31 | 1 | -0/+2 |
| | |||||
* | output setter body | Vincent Sanders | 2013-01-31 | 1 | -2/+14 |
| | |||||
* | generate putforwards output based on WebIDL extended attribute | Vincent Sanders | 2013-01-31 | 1 | -3/+91 |
| | |||||
* | fix extended attribute AST ordering and nesting | Vincent Sanders | 2013-01-31 | 1 | -16/+36 |
| | |||||
* | make readonly property decision in a single place | Vincent Sanders | 2013-01-28 | 1 | -14/+17 |
| | |||||
* | annotate the webIDL AST with extended attributes | Vincent Sanders | 2013-01-28 | 3 | -14/+217 |
| |