summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update component version for releaseHEADrelease/0.9masterVincent Sanders2023-12-271-1/+1
|
* typeck: When checking BOOL permit numbers because they have coercion rulesDaniel Silverstone2020-10-021-3/+7
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Update component version to 0.8 for releaserelease/0.8Vincent Sanders2020-05-241-2/+2
| | | | Signed-off-by: Vincent Sanders <vince@kyllikki.org>
* output_method_cdata: use output_ccode when possibleDaniel Silverstone2020-05-231-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* output: Use output_ccode for overloaded method bodiesDaniel Silverstone2020-05-231-3/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* parser: General AST which the IR recognises for overloadingDaniel Silverstone2020-05-231-13/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* duktape: Guess at and support more than pointer init argumentsDaniel Silverstone2020-05-222-3/+72
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Update Component version for releaserelease/0.7Vincent Sanders2019-06-261-1/+1
|
* add a mainpage to docs and outstanding todo entriesVincent Sanders2019-05-043-920/+1988
|
* When operating on Window event attributes, pass NULL to dukkyDaniel Silverstone2019-05-041-3/+16
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Make file output use a common interfaceVincent Sanders2019-05-0310-574/+913
| | | | Signed-off-by: Vincent Sanders <vince@kyllikki.org>
* Generate all EventHandler kind outputsDaniel Silverstone2019-05-031-3/+6
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* duk-libdom: Use PrimaryGlobal for Window to change method privateDaniel Silverstone2019-05-021-7/+16
| | | | | | | | | In order to support methods on `Window` being called via the global object (which does not set `this`) we notice that the interface we are generating the private data fetcher for as being the global one, and use `duk_push_global_object` rather than `duk_push_this`. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* DUKKY: Switch to using NSLOG rather than old LOG or JS_LOGDaniel Silverstone2019-02-172-8/+8
| | | | | | | Also use the `dukky` logging category so that we have better separation of log messages regarding Duktape Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Global variable errtxt is defined in two separate files.Samuel Holland2019-02-152-2/+2
| | | | This is a minor C standard conformance issue, and causes the build to fail with a duplicate symbol error when CFLAGS includes "-fno-common". The following patch fixes the issue by making the variables static.
* Update component version for releaserelease/0.6Vincent Sanders2018-08-281-1/+1
|
* Fix YYLTYPE nonsense with bison >=3.0John-Mark Bell2018-01-201-0/+8
|
* Update component version for 0.5 releaserelease/0.5Vincent Sanders2017-10-131-1/+1
|
* remove the old JSAPI binding generation codeVincent Sanders2017-03-317-3760/+0
| | | | | | genbind has not generated valid JSAPI (spidermonkey) bindings in some time, remove the code to avoid confusion, its always available in the git history if necessary
* Merge branch 'tlsa/duktape2'Michael Drake2017-03-232-6/+6
|\
| * Operation generation: When argument type errors are detected, treat as error.tlsa/duktape2Michael Drake2017-03-221-3/+3
| |
| * Duktape 2.X: duk_error now returns a duk_ret_tMichael Drake2017-03-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | https://github.com/svaarala/duktape/blob/master/doc/release-notes-v2-0.rst#duk_error-duk_error_va-duk_throw-duk_fatal-have-a-return-value This change suppress warnings about ignoring the return value. However, it looks like we should be returning error in these cases rather than continuing. I'll do that in a separate commit.
| * Duktape 2.x: duk_safe_call callbacks now have a void ptr user data param.Michael Drake2017-03-222-3/+3
|/ | | | https://github.com/svaarala/duktape/blob/master/doc/release-notes-v2-0.rst#duk_safe_call-userdata
* Align the private structs to quieten certain warnings from clangDaniel Silverstone2017-02-051-1/+1
|
* Ensure generated attributes register for correct eventsdsilvers/eventworkDaniel Silverstone2017-02-051-4/+7
|
* Make the #line a commentDaniel Silverstone2017-02-051-1/+1
|
* improve webidl AST dump outputVincent Sanders2016-11-271-9/+96
|
* Add doxygen generatorVincent Sanders2016-11-272-0/+1792
|
* remove unused node set APIVincent Sanders2016-11-272-8/+0
|
* restructure AST node creation to avoid castsVincent Sanders2016-11-276-69/+153
| | | | | | | | | | | | | | | | This changes Abstract Syntax Tree node creation for both webidl and genbind syntax tress. If a node is to be created with a numeric value instead of a pointer a separate API is now used instead of casting through void. This fixes parsing and AST building on big endian 64bit platforms where casting through void, which is completely undefined behaviour, generates different and non-functioning code. The solution in this patch is properly portable and correct without relying on casting at all. Thanks to James Clarke <jrtc27@jrtc27.com> for the original debugging and patch demonstrating how to work round the bug.
* Prepare for 0.4release/0.4Daniel Silverstone2016-11-191-1/+1
|
* use bounded string writingVincent Sanders2016-10-141-2/+2
|
* Update component version for releaserelease/0.3Vincent Sanders2016-02-161-1/+1
|
* ensure webidl intercalate copes with empty webidlVincent Sanders2016-02-071-10/+14
|
* fix testrunner to use correct comamndlineVincent Sanders2016-02-073-12/+38
|
* Bison after version 3.0 require different api prefix handlingVincent Sanders2016-02-071-2/+4
|
* fix ambiguity in grammar around class argumentsVincent Sanders2016-02-071-4/+2
|
* use unsued variable macro to remove warningVincent Sanders2016-02-071-2/+2
|
* Correctly annotate unused variables with a macroVincent Sanders2016-02-065-7/+18
|
* Add support for TreatNullAs=EmptyString extended attribute.John-Mark Bell2016-02-013-2/+20
|
* Expose nullable flag in IR and have generated getters use it.John-Mark Bell2016-02-013-2/+14
|
* Make generated string attribute getters cope with libdom returning NULL.John-Mark Bell2016-01-311-4/+8
| | | | Fixes #2415, #2418.
* simplify strndup detectionVincent Sanders2016-01-241-3/+1
|
* Improve strndup detectionVincent Sanders2016-01-241-1/+3
|
* Update component version for releaserelease/0.2Vincent Sanders2016-01-031-1/+1
|
* Use attribute types from IR for generated event handlersVincent Sanders2015-11-052-20/+149
|
* extend IR to have a separate map for attribute typesVincent Sanders2015-11-052-32/+92
|
* Add generated code for short integer valuesVincent Sanders2015-11-011-0/+53
|
* split heuristic code generation out from interface logicVincent Sanders2015-11-014-185/+230
|
* extend the interface attribute setter automatic code generation to cover longsVincent Sanders2015-10-251-0/+29
|