Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Properly set log levels | Daniel Silverstone | 2019-05-06 | 1 | -8/+8 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | change content get_source_data interfaces to return uint8_t and size_t | Vincent Sanders | 2019-05-05 | 18 | -69/+77 |
| | | | | | previously these interfaces returned char * and unsigned int which was undesirable. | ||||
* | Use consoleFormatter in Console.bnd | Daniel Silverstone | 2019-05-05 | 1 | -6/+27 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Generics: Add consoleFormatter | Daniel Silverstone | 2019-05-05 | 1 | -0/+76 |
| | | | | | | | | In order to support the console logging formatting specification as per https://console.spec.whatwg.org/#logger we need to implement the Formatter(...) algorithm which is easier done within JavaScript Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Dukky: Change from specifically named generics | Daniel Silverstone | 2019-05-05 | 3 | -8/+18 |
| | | | | | | | | Instead of specifically having to extract each generic by name, such as makeListProxy, instead support the entire generics table and use `dukky_push_generics()` to gain access to it. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Logging: migrate and provide content interface | Daniel Silverstone | 2019-05-05 | 2 | -1/+10 |
| | | | | | | | | Migrate the console enums into netsurf/console.h and add support so that contents can raise a message to log to the console. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | data url handler: drop logging to DEEPDEBUG. | Michael Drake | 2019-05-05 | 1 | -1/+1 |
| | |||||
* | data url handler: Keep nsurl to avoid copy. | Michael Drake | 2019-05-05 | 1 | -15/+8 |
| | |||||
* | data url handling: avoid needless allocation / copy. | Michael Drake | 2019-05-05 | 1 | -11/+2 |
| | |||||
* | data URL handler: constify some string pointers. | Michael Drake | 2019-05-05 | 1 | -2/+2 |
| | |||||
* | Force a GC to ensure old compartment goes away | Daniel Silverstone | 2019-05-05 | 1 | -1/+5 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Ensure we clear the cbt entry after finishing a non-recurring callback | Daniel Silverstone | 2019-05-05 | 1 | -7/+21 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | make missing xxd command fail the build correctly | Vincent Sanders | 2019-05-05 | 1 | -1/+2 |
| | |||||
* | Support content_exec for content_html | Daniel Silverstone | 2019-05-05 | 1 | -0/+85 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Add content_exec and associated vtable entry | Daniel Silverstone | 2019-05-05 | 3 | -0/+33 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Replace zd with PRIsizet to appease Windows | Daniel Silverstone | 2019-05-05 | 2 | -7/+8 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Add missing semi-colon. Sorry | Daniel Silverstone | 2019-05-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | change back to unsigned long to avoid warning on gnueabihf platforms | Vincent Sanders | 2019-05-04 | 1 | -1/+1 |
| | |||||
* | Support nodelist indexing | Daniel Silverstone | 2019-05-04 | 6 | -3/+99 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | add some comments to window location binding | Vincent Sanders | 2019-05-04 | 1 | -0/+2 |
| | |||||
* | Support Document::createDocumentFragment | Daniel Silverstone | 2019-05-04 | 1 | -0/+14 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Expose Number and Error on Window | Daniel Silverstone | 2019-05-04 | 1 | -0/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Add createElementNS | Daniel Silverstone | 2019-05-04 | 2 | -1/+42 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | JS: Attribute external JS to the URI it came from in backtraces | Daniel Silverstone | 2019-05-04 | 4 | -9/+16 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | 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> | ||||
* | Fix some bsdsocket.library usage | Chris Young | 2019-04-08 | 1 | -0/+5 |
| | | | | NetSurf now builds against libcurl-AmiSSL | ||||
* | 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 |
| |