summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* initial duktape libdom generatorVincent Sanders2015-07-259-51/+366
| | | | | This generator creates all the output files and generates the finalisers for every class.
* Build interface map allowing for correct dependency generationVincent Sanders2015-07-249-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 bindingVincent Sanders2015-07-227-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 nodesVincent Sanders2015-07-224-13/+115
|
* Change binding grammar to new approach.Vincent Sanders2015-07-2114-2099/+2554
|
* make property generation use mapVincent Sanders2014-05-164-187/+238
|
* make function specifier and body generation use the interface mapVincent Sanders2014-05-163-175/+140
|
* Expand implements statements in the AST after it has been builtVincent Sanders2014-05-165-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 mapVincent Sanders2014-05-166-303/+293
|
* complete implementation of interface map generation and split out to own moduleVincent Sanders2014-05-166-167/+353
|
* generate function bodies for all interfacesVincent Sanders2014-05-163-92/+121
|
* add function and property enumerations to the interface mapVincent Sanders2014-05-165-16/+83
|
* rename jsapi method generation to be named function rather than oddly named ↵Vincent Sanders2014-05-164-11/+14
| | | | webidl operator nomenclature
* make binding constructor multiple interface capableVincent Sanders2014-05-165-188/+401
|
* add test with multiple interfaces within on bindingVincent Sanders2014-05-162-3/+732
|
* construct topoligicaly consitant (dependancy correct) interface mapVincent Sanders2014-05-166-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 Sanders2014-05-167-83/+124
| | | | api definition to the interface flags
* add flags to interface within bindingVincent Sanders2014-05-167-45/+171
|
* move binding type from explicit statement into declaration.Vincent Sanders2014-05-169-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 parserVincent Sanders2014-05-022-2/+8
|
* use core buildsystem tool variables for flex and bisonVincent Sanders2014-05-021-3/+3
|
* Update component version for releaserelease/0.1.0Vincent Sanders2014-04-181-1/+1
|
* Fix building for Win32John-Mark Bell2014-01-172-0/+27
|
* add switch and implementation to enable debug trace logging in generated codeVincent Sanders2013-06-035-26/+166
|
* use macro to cope with differing return types in garbage collection callbackVincent Sanders2013-06-031-1/+1
|
* fix building teh lexers with bison versions at and after 2.6Vincent Sanders2013-05-032-0/+19
|
* add a .gitattributes so .gitignore is not exportedrelease/0.0.1Vincent Sanders2013-04-181-0/+2
|
* Add -DYYENABLE_NLS=0 to shush some warningsDaniel Silverstone2013-04-111-1/+1
|
* add fetching of private values to property gettersVincent Sanders2013-01-311-0/+2
|
* output setter bodyVincent Sanders2013-01-311-2/+14
|
* generate putforwards output based on WebIDL extended attributeVincent Sanders2013-01-311-3/+91
|
* fix extended attribute AST ordering and nestingVincent Sanders2013-01-311-16/+36
|
* make readonly property decision in a single placeVincent Sanders2013-01-281-14/+17
|
* annotate the webIDL AST with extended attributesVincent Sanders2013-01-283-14/+217
|
* cause private data to be available in all api handlersVincent Sanders2013-01-221-2/+56
|
* generate the class property operators and the enumerate operator implementationsVincent Sanders2013-01-221-4/+75
|
* change property mactro usage to reflect spidermonkey calling typesVincent Sanders2013-01-222-8/+8
|
* add class descriptor construction for default property actionsVincent Sanders2013-01-172-19/+120
|
* extend binding DSL with prologue and epilogue stanzasVincent Sanders2013-01-026-31/+114
|
* Add epilogue outputVincent Sanders2013-01-023-0/+69
| | | | Add header guard generation
* allow generation of header for exported interfaces and structures.Vincent Sanders2012-12-195-28/+129
|
* generate the correct type name for boolean parameters to operationsVincent Sanders2012-11-281-1/+1
|
* ensure nullable type extension on strings is obeyedVincent Sanders2012-11-271-0/+13
|
* add type suffix annotations to webidl ASTVincent Sanders2012-11-273-4/+34
|
* generate and use tinyid enum for propertiesVincent Sanders2012-11-253-39/+228
|
* make property type getters/setetrs extract the property nameVincent Sanders2012-11-231-41/+64
|
* rename JSAPI macro usage to be consistant and unambiguousVincent Sanders2012-11-222-46/+91
|
* name and docuemnt the binding property attributeVincent Sanders2012-11-217-41/+66
|
* make property shared status and type handling selection genericVincent Sanders2012-11-217-87/+204
|
* output unshared bodiesVincent Sanders2012-11-211-14/+41
|