Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Expose encodeURI{,Component} | Daniel Silverstone | 2019-05-04 | 1 | -0/+2 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Restore newlines for unimplemented javascript in doxygen | Daniel Silverstone | 2019-05-04 | 1 | -1/+1 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Clean up async/defer JS contents during parent finalisation | Daniel Silverstone | 2019-05-04 | 1 | -10/+15 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Support Window as an event target for dukky | Daniel Silverstone | 2019-05-04 | 1 | -5/+28 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Unref body when finished getting event handler | Daniel Silverstone | 2019-05-04 | 1 | -0/+4 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Better dukky debug for node creation | Daniel Silverstone | 2019-05-04 | 1 | -1/+12 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | CSS: Update for change to libcss append sheet API. | Michael Drake | 2019-05-04 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | When appending stylesheets to the selection context, it now takes the media query string associated with the sheet, rather than the type bitfield. TODO: We need to pass all the sheets in, with their full media query string, rather than filtering it ourselves and setting the ones we pass in to "screen". Signed-off-by: Michael Drake <michael.drake@codethink.co.uk> | |||||
* | CSS: Update for change to libcss select style API. | Michael Drake | 2019-05-04 | 5 | -3/+6 | |
| | | | | | | | LibCSS now takes the client media spec, rather than just the media type we're selecting for. Signed-off-by: Michael Drake <michael.drake@codethink.co.uk> | |||||
* | CSS: Update for change to libcss imported sheet API. | Michael Drake | 2019-05-04 | 2 | -5/+2 | |
| | | | | | | The media is not exposed and sent back into libcss now. Signed-off-by: Michael Drake <michael.drake@codethink.co.uk> | |||||
* | Support script insertion after conversion has begun | Daniel Silverstone | 2019-05-04 | 4 | -13/+136 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Add auto-generated getters and setters for HTMLFrameSetElement events | Daniel Silverstone | 2019-05-03 | 1 | -0/+34 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Add auto-generated getters/setters on body element | Daniel Silverstone | 2019-05-03 | 1 | -0/+33 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Add global handlers to Window | Daniel Silverstone | 2019-05-03 | 1 | -0/+155 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | UnimplementedJavascript.txt: Remove spurious newlines | Daniel Silverstone | 2019-05-03 | 1 | -1/+1 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Support Document::createEvent() | Daniel Silverstone | 2019-05-03 | 3 | -1/+19 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Event: Implement initEvent() and getter isTrusted | Daniel Silverstone | 2019-05-03 | 1 | -0/+37 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Update UnimplementedJavascript with the window functions now implemented | Daniel Silverstone | 2019-05-03 | 1 | -1/+1 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Javascript: Support setTimeout and friends | Daniel Silverstone | 2019-05-03 | 3 | -31/+274 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | dukky: Clean up the logging levels a little | Daniel Silverstone | 2019-05-02 | 1 | -2/+3 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | SVG content handler: Fix plot style stroke_width | Michael Forney | 2019-03-05 | 1 | -1/+1 | |
| | | | | | | | | In 8332bf6b2a, when the stroke width was moved from a parameter to the plot style field, it accidentally used the `stroke` field of the svgtiny shape (the color) instead of `stroke_width`. Signed-off-by: Michael Drake <michael.drake@codethink.co.uk> | |||||
* | use memcpy instead of strcpy to make the dom string copy intention explicit | Vincent Sanders | 2019-03-04 | 1 | -4/+4 | |
| | ||||||
* | validate the form button element type attribute as per spec | Vincent Sanders | 2019-02-22 | 1 | -4/+16 | |
| | | | | | | | https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-type says if the type attribute is anything but "reset" or "button" it is of "submit" type. The previous logic was incorrect and only used the button if its type was explicitly submit and noting else. | |||||
* | add webp image handler | Vincent Sanders | 2019-02-17 | 4 | -0/+269 | |
| | ||||||
* | improve some comments | Vincent Sanders | 2019-02-17 | 1 | -2/+6 | |
| | ||||||
* | tidy up bmp and ico makefile entries to be one per line | Vincent Sanders | 2019-02-17 | 1 | -1/+2 | |
| | ||||||
* | DUKKY: Remove LOG/JS_LOG macros, update to dukky category | Daniel Silverstone | 2019-02-17 | 2 | -57/+49 | |
| | | | | | | | Update the logging levels, change to NSLOG across the board, and ensure that we use the `dukky` category now added for us. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Use NSLOG rather than LOG/JS_LOG | Daniel Silverstone | 2019-02-17 | 2 | -3/+3 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | HTML handler: Reformat passing viewport height when triggered by object. | Michael Drake | 2019-02-17 | 1 | -3/+3 | |
| | | | | | | Previously we correctly used the viewport width, but we were using the document height instead of viewport height when an HTML child content triggered a reformat of the parent HTML document. | |||||
* | Layout: Add debug logging to show viewport dimensions passed into layout. | Michael Drake | 2019-02-17 | 1 | -0/+4 | |
| | | | | Signed-off-by: Michael Drake <michael.drake@codethink.co.uk> | |||||
* | Box construction: Don't handle IMAGE specially. | Michael Drake | 2018-12-13 | 1 | -1/+0 | |
| | ||||||
* | fix logging level in duktape binding | Vincent Sanders | 2018-11-06 | 1 | -6/+6 | |
| | ||||||
* | Slightly nicer handling of js_exec() and errors | Daniel Silverstone | 2018-11-04 | 1 | -19/+47 | |
| | ||||||
* | check dom call return and improve handling of missing form type | Vincent Sanders | 2018-10-09 | 1 | -22/+30 | |
| | ||||||
* | rewrite form_successful_controls_dom as form_dom_to_data | Vincent Sanders | 2018-09-29 | 1 | -556/+883 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Trying to reason about error propagation and resource leakage within the form submission code was impossible because of the form_successful_controls_dom function. This function was over six hundred lines long, had twenty six top level local variables and six levels of indent in places. This commit splits it out into thirteen shorter and more obvious functions. The resulting operation is identical except errors are properly propagated (all failures were reported as out of memory) and resource management can be reasoned about. The compiler appears to inline the entirety of the code from form_submit() down excepting a handful of leaf functions. This results in similar code output size as previous implementation. The new implementation has a greater number of variables passed to sub functions than desirable because multiple character sets are required to encode names and values in the multipart data list. However as noted the compiler effectively inlines all these functions so this does not actually become a major problem. | |||||
* | gcc on openbsd is unable to reason about res variable usage and generates ↵ | Vincent Sanders | 2018-09-26 | 1 | -1/+1 | |
| | | | | bogus warning | |||||
* | fix url encoding to be compatible with nsurl API changes. | Vincent Sanders | 2018-09-26 | 4 | -152/+165 | |
| | | | | | As part of this fix the form submission error handling and reporting has been improved. | |||||
* | allow comments to supress implicit fallthrough warnings | Vincent Sanders | 2018-09-07 | 2 | -6/+6 | |
| | ||||||
* | HTML: Don't try to finish an HTML document's conversion twice. | Michael Drake | 2018-08-27 | 1 | -0/+16 | |
| | ||||||
* | remove warning by replacing sprintf snprintf | Vincent Sanders | 2018-08-24 | 1 | -1/+5 | |
| | ||||||
* | remove warning by replacing strcpy with safer strncpy | Vincent Sanders | 2018-08-24 | 1 | -5/+11 | |
| | ||||||
* | fix size_t format specifiers | Vincent Sanders | 2018-08-18 | 1 | -3/+4 | |
| | ||||||
* | Text handling: Display application/json, rather than offering download. | Michael Drake | 2018-08-14 | 1 | -0/+6 | |
| | ||||||
* | Duktape: Make declaration match definition for memcmp and double_div. | Michael Drake | 2018-08-10 | 1 | -3/+3 | |
| | ||||||
* | Duktape: Make declaration match definition for duk_refzero_check_fast() | Michael Drake | 2018-08-10 | 1 | -1/+1 | |
| | ||||||
* | Duktape: Make declarations match definitions for fastint-enabled functions. | Michael Drake | 2018-08-10 | 1 | -2/+2 | |
| | ||||||
* | Duktape: Make declarations match definitions for duk_raw_read_xxx_be | Michael Drake | 2018-08-10 | 1 | -6/+6 | |
| | ||||||
* | Duktape: Make declarations match definitions for inline functions. | Michael Drake | 2018-08-10 | 1 | -4/+4 | |
| | ||||||
* | Duktape: Prevent clang static analysis. | Michael Drake | 2018-08-10 | 1 | -0/+3 | |
| | ||||||
* | Duktape: Update to version 2.3.0 release. | Michael Drake | 2018-08-10 | 3 | -2292/+3974 | |
| | ||||||
* | Browser: Rename function to access bw URL. | Michael Drake | 2018-07-23 | 1 | -1/+1 | |
| |