summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update using-monkey docs for console logging outputDaniel Silverstone2019-05-061-3/+13
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Monkey: Support console_logDaniel Silverstone2019-05-061-0/+51
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Use console_log from browser_window_console_logDaniel Silverstone2019-05-061-1/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add console_log to gui tablesDaniel Silverstone2019-05-062-0/+31
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* fix type used with content_get_source_data()Vincent Sanders2019-05-061-2/+4
|
* change content get_source_data interfaces to return uint8_t and size_tVincent Sanders2019-05-0534-197/+240
| | | | | previously these interfaces returned char * and unsigned int which was undesirable.
* remove some warnings in amiga frontend buildVincent Sanders2019-05-054-13/+24
|
* Use console formatting to prove it outDaniel Silverstone2019-05-051-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Use consoleFormatter in Console.bndDaniel Silverstone2019-05-051-6/+27
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Generics: Add consoleFormatterDaniel Silverstone2019-05-051-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 genericsDaniel Silverstone2019-05-053-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 interfaceDaniel Silverstone2019-05-055-38/+83
| | | | | | | | 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>
* Provide new browser_window_console_log() APIDaniel Silverstone2019-05-052-0/+99
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* data url handler: drop logging to DEEPDEBUG.Michael Drake2019-05-051-1/+1
|
* data url handler: Keep nsurl to avoid copy.Michael Drake2019-05-051-15/+8
|
* data url handling: avoid needless allocation / copy.Michael Drake2019-05-051-11/+2
|
* data URL handler: constify some string pointers.Michael Drake2019-05-051-2/+2
|
* Force a GC to ensure old compartment goes awayDaniel Silverstone2019-05-051-1/+5
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Ensure we clear the cbt entry after finishing a non-recurring callbackDaniel Silverstone2019-05-051-7/+21
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* make missing xxd command fail the build correctlyVincent Sanders2019-05-051-1/+2
|
* Monkey: Support WINDOW EXEC WIN n cmd...Daniel Silverstone2019-05-052-2/+45
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Support content_exec for content_htmlDaniel Silverstone2019-05-051-0/+85
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add browser_window_execDaniel Silverstone2019-05-052-0/+33
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add content_exec and associated vtable entryDaniel Silverstone2019-05-053-0/+33
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add SCRIPT to core domstringsDaniel Silverstone2019-05-051-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* fix enum name incompatability between gtk 2 and 3Vincent Sanders2019-05-052-1/+7
|
* Replace zd with PRIsizet to appease WindowsDaniel Silverstone2019-05-052-7/+8
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add missing semi-colon. SorryDaniel Silverstone2019-05-041-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* change back to unsigned long to avoid warning on gnueabihf platformsVincent Sanders2019-05-041-1/+1
|
* Support nodelist indexingDaniel Silverstone2019-05-046-3/+99
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* add some comments to window location bindingVincent Sanders2019-05-041-0/+2
|
* add some more javascript binding documentationVincent Sanders2019-05-041-41/+133
|
* add webidl spec referenceVincent Sanders2019-05-041-1/+16
|
* Support Document::createDocumentFragmentDaniel Silverstone2019-05-041-0/+14
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Expose Number and Error on WindowDaniel Silverstone2019-05-041-0/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add createElementNSDaniel Silverstone2019-05-042-1/+42
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* JS: Attribute external JS to the URI it came from in backtracesDaniel Silverstone2019-05-044-9/+16
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Expose encodeURI{,Component}Daniel Silverstone2019-05-041-0/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Restore newlines for unimplemented javascript in doxygenDaniel Silverstone2019-05-041-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Clean up async/defer JS contents during parent finalisationDaniel Silverstone2019-05-041-10/+15
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Support Window as an event target for dukkyDaniel Silverstone2019-05-041-5/+28
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Unref body when finished getting event handlerDaniel Silverstone2019-05-041-0/+4
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Better dukky debug for node creationDaniel Silverstone2019-05-041-1/+12
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* CSS: Update for change to libcss append sheet API.Michael Drake2019-05-041-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 Drake2019-05-045-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 Drake2019-05-042-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 begunDaniel Silverstone2019-05-048-13/+178
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add auto-generated getters and setters for HTMLFrameSetElement eventsDaniel Silverstone2019-05-032-26/+34
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add auto-generated getters/setters on body elementDaniel Silverstone2019-05-032-26/+33
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* UnimplementedJavascript: Remove now implemented stuff thanks to nsgenbind updateDaniel Silverstone2019-05-031-4/+0
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>