summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Convert css_len2pt and css_len2px for CSS pixels.Michael Drake2019-05-061-15/+20
|
* Add js-exec to monkey_driver, add a test, etc.Daniel Silverstone2019-05-063-2/+25
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* HTML: Squash error-path leaks in select box construction.Michael Drake2019-05-061-0/+2
|
* Curl fetcher: Force HTTP1.1 to fix HTTP2 crash.Michael Drake2019-05-061-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On ubuntu 19.4, curl is built with HTTP2 support, and we segfault. ==18174== Invalid read of size 1 ==18174== at 0x4ACCE7D: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0) ==18174== by 0x4B054B1: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0) ==18174== by 0x4AD398A: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0) ==18174== by 0x4AD7A0B: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0) ==18174== by 0x4AE93EE: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0) ==18174== by 0x4AEA8A8: curl_multi_perform (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0) ==18174== by 0x1F2EF7: fetch_curl_poll (curl.c:1209) ==18174== by 0x1EEC5C: fetcher_poll (fetch.c:271) ==18174== by 0x2A1ED4: schedule_run (schedule.c:160) ==18174== by 0x15F941: framebuffer_run (gui.c:596) ==18174== by 0x15F941: main (gui.c:2206) ==18174== Address 0x9de95a8 is 3,224 bytes inside a block of size 6,304 free'd ==18174== at 0x483997B: free (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==18174== by 0x4AD497B: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0) ==18174== by 0x4AE158C: curl_easy_cleanup (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0) ==18174== by 0x1F30DE: fetch_curl_cache_handle (curl.c:761) ==18174== by 0x1F30DE: fetch_curl_stop (curl.c:840) ==18174== by 0x1F30DE: fetch_curl_done (curl.c:1122) ==18174== by 0x1F30DE: fetch_curl_poll (curl.c:1223) ==18174== by 0x1EEC5C: fetcher_poll (fetch.c:271) ==18174== by 0x2A1ED4: schedule_run (schedule.c:160) ==18174== by 0x15F941: framebuffer_run (gui.c:596) ==18174== by 0x15F941: main (gui.c:2206) ==18174== Block was alloc'd at ==18174== at 0x483AB35: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==18174== by 0x4AE165F: curl_easy_duphandle (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0) ==18174== by 0x1F15EB: fetch_curl_get_handle (curl.c:738) ==18174== by 0x1F15EB: fetch_curl_start (curl.c:750) ==18174== by 0x1EEB22: fetch_dispatch_job (fetch.c:156) ==18174== by 0x1EEB22: fetch_choose_and_dispatch (fetch.c:187) ==18174== by 0x1EEB22: fetch_dispatch_jobs (fetch.c:247) ==18174== by 0x1EF1BB: fetch_start (fetch.c:573) ==18174== by 0x26C779: llcache_object_refetch (llcache.c:916) ==18174== by 0x26D5E4: llcache_object_fetch (llcache.c:979) ==18174== by 0x26D5E4: llcache_object_retrieve_from_cache (llcache.c:1767) ==18174== by 0x26D5E4: llcache_object_retrieve (llcache.c:1865) ==18174== by 0x26E42C: llcache_fetch_redirect (llcache.c:2110) ==18174== by 0x26E42C: llcache_fetch_callback (llcache.c:2810) ==18174== by 0x1F1295: fetch_curl_process_headers (curl.c:922) ==18174== by 0x1F13A0: fetch_curl_data (curl.c:1324) ==18174== by 0x4ACD4C3: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0) ==18174== by 0x4AE00DA: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0)
* HTML: Before building the box tree, get viewport dimensions.Michael Drake2019-05-061-0/+21
|
* HTML content handler: Handle content msg for getdims.Michael Drake2019-05-061-0/+7
|
* Browser window: Handle the content msg for getdims.Michael Drake2019-05-061-0/+12
|
* Content: Add content message to get viewport dimensions.Michael Drake2019-05-061-0/+7
|
* Quieten dukky a little more in default log levelsDaniel Silverstone2019-05-061-3/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Do not prevent reattempting conversion of HTML contentsDaniel Silverstone2019-05-061-8/+0
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Use new safe context dumpDaniel Silverstone2019-05-061-9/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Support context dump safely in duktapeDaniel Silverstone2019-05-062-2/+24
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* No debug symbols on OS3Chris Young2019-05-061-1/+3
| | | | None of the tools manage to extract any info from them
* Fix crash on exitChris Young2019-05-061-1/+1
|
* Logging: Bump lwc leak exit report to WARNING level.Michael Drake2019-05-061-1/+1
|
* Add some missing unrefsDaniel Silverstone2019-05-061-0/+4
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* attempt to fix amiga os3 buildVincent Sanders2019-05-061-0/+2
|
* complete basic binding documentationVincent Sanders2019-05-062-5/+134
| | | | improve the alert() method parameter handling
* Example script console log test, needs genericising on pathDaniel Silverstone2019-05-061-0/+21
| | | | | | Currently this has to have a full-path to the inserted-script test Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Support logging in monkey_driver.pyDaniel Silverstone2019-05-061-0/+33
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Monkeyfarmer: Support loggingDaniel Silverstone2019-05-061-1/+42
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* fix several amiga frontend warningsVincent Sanders2019-05-066-17/+25
|
* Properly set log levelsDaniel Silverstone2019-05-061-8/+8
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Support DEBUG log level in console_logDaniel Silverstone2019-05-063-5/+14
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* 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
|