Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Build interface map allowing for correct dependency generation | Vincent Sanders | 2015-07-24 | 6 | -351/+349 |
| | | | | | | | | | | | | | 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 | 6 | -55/+279 |
| | | | | | | | | | | | | | 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 | 9 | -775/+937 |
| | |||||
* | make property generation use map | Vincent Sanders | 2014-05-16 | 3 | -185/+236 |
| | |||||
* | 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 | 5 | -166/+350 |
| | |||||
* | 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 |
| | |||||
* | 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 | 6 | -80/+121 |
| | | | | api definition to the interface flags | ||||
* | add flags to interface within binding | Vincent Sanders | 2014-05-16 | 6 | -36/+152 |
| | |||||
* | move binding type from explicit statement into declaration. | Vincent Sanders | 2014-05-16 | 5 | -107/+123 |
| | | | | | 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 |
| | |||||
* | 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 -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 |
| | |||||
* | cause private data to be available in all api handlers | Vincent Sanders | 2013-01-22 | 1 | -2/+56 |
| | |||||
* | generate the class property operators and the enumerate operator implementations | Vincent Sanders | 2013-01-22 | 1 | -4/+75 |
| | |||||
* | change property mactro usage to reflect spidermonkey calling types | Vincent Sanders | 2013-01-22 | 2 | -8/+8 |
| | |||||
* | add class descriptor construction for default property actions | Vincent Sanders | 2013-01-17 | 2 | -19/+120 |
| | |||||
* | extend binding DSL with prologue and epilogue stanzas | Vincent Sanders | 2013-01-02 | 4 | -24/+88 |
| | |||||
* | Add epilogue output | Vincent Sanders | 2013-01-02 | 3 | -0/+69 |
| | | | | Add header guard generation | ||||
* | allow generation of header for exported interfaces and structures. | Vincent Sanders | 2012-12-19 | 4 | -26/+127 |
| | |||||
* | generate the correct type name for boolean parameters to operations | Vincent Sanders | 2012-11-28 | 1 | -1/+1 |
| | |||||
* | ensure nullable type extension on strings is obeyed | Vincent Sanders | 2012-11-27 | 1 | -0/+13 |
| | |||||
* | add type suffix annotations to webidl AST | Vincent Sanders | 2012-11-27 | 3 | -4/+34 |
| | |||||
* | generate and use tinyid enum for properties | Vincent Sanders | 2012-11-25 | 3 | -39/+228 |
| | |||||
* | make property type getters/setetrs extract the property name | Vincent Sanders | 2012-11-23 | 1 | -41/+64 |
| | |||||
* | rename JSAPI macro usage to be consistant and unambiguous | Vincent Sanders | 2012-11-22 | 2 | -46/+91 |
| | |||||
* | name and docuemnt the binding property attribute | Vincent Sanders | 2012-11-21 | 5 | -16/+24 |
| | |||||
* | make property shared status and type handling selection generic | Vincent Sanders | 2012-11-21 | 6 | -85/+202 |
| | |||||
* | output unshared bodies | Vincent Sanders | 2012-11-21 | 1 | -14/+41 |
| | |||||
* | fix unshared type generation | Vincent Sanders | 2012-11-21 | 2 | -28/+42 |
| | |||||
* | generate unshared type property bodies | Vincent Sanders | 2012-11-20 | 3 | -7/+60 |
| | |||||
* | correctly generate setters and getters with unshared elements | Vincent Sanders | 2012-11-20 | 1 | -22/+63 |
| | | | | changes signature of generated JSAPI_PS() macro | ||||
* | keep the binding node list in the state object | Vincent Sanders | 2012-11-20 | 3 | -43/+23 |
| |