summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Sleepy JS test, handy to alt+f4 during load to check shutdownDaniel Silverstone2019-06-151-0/+13
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Monkey: Support a -w argument to the monkey_driver.pyDaniel Silverstone2019-06-152-8/+25
| | | | | | | | | In order to better support valgrind and friends, add -w to the monkey driver. You can use it as: monkey_driver.py ...normalargs... -w 'valgrind -v --track-origins=yes' Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* prevent out of bounds access when checking IDNA host labelVincent Sanders2019-06-131-1/+1
|
* allow repeat loops to specify values and navigation to use themVincent Sanders2019-06-121-10/+34
|
* make the timer-start and timer-restart action name the timer in the same wayVincent Sanders2019-06-122-17/+19
|
* LLCache: validate max-age before useJohn-Mark Bell2019-06-101-1/+3
|
* HTTP: expose validity of max-age in Cache-ControlJohn-Mark Bell2019-06-102-0/+18
| | | | | As max-age is an optional directive, provide a means to determine if it is present and correct.
* LLCache: use Cache-Control parserJohn-Mark Bell2019-06-101-48/+18
|
* HTTP: add minimal parser for Cache-ControlJohn-Mark Bell2019-06-105-1/+416
|
* use jmb suggested fix to cache-control header parse errorVincent Sanders2019-06-101-7/+6
|
* fix parsing of invalid syntax max-age value Cache-control headerVincent Sanders2019-06-101-2/+8
|
* Check callback memory is allocated before trying to use it.Chris Young2019-06-091-1/+2
|
* Fix memory leak in Amiga frontendChris Young2019-06-091-1/+4
|
* NULL drawhandle after freeChris Young2019-06-091-0/+1
|
* Window.bnd: Suppress some unnecessary stack frame dumpsDaniel Silverstone2019-06-091-3/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser.c: Don't require > 0 chars in loggingDaniel Silverstone2019-06-091-1/+4
| | | | | | | Sometimes JavaScript chooses to log an empty string. We should honour that by requiring msg be a valid empty string. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Window.bnd: Expose isNanDaniel Silverstone2019-06-091-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Window.bnd: Do not remove in-train callbacksDaniel Silverstone2019-06-091-8/+17
| | | | | | | | | | Sometimes callbacks may be cancelled from within themselves. In that case we need to simply ensure that should the callback be wanted to repeat, we instead stop that so that once the callback is completed we do not attempt to reschedule something which had already been deleted. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Update schedulers return codesVincent Sanders2019-06-083-21/+48
| | | | | The GTK and monkey frontends schedulers now return NSERROR_NOT_FOUND when a caller is using a negative schedule time to remove a callback.
* allow monkey tests to stop navigationVincent Sanders2019-06-062-0/+12
|
* add ability to stop a navigation in monkey frontendVincent Sanders2019-06-062-1/+31
|
* detect monkey exit rather than waiting forever for a defunct processVincent Sanders2019-06-061-0/+14
|
* improve stdout print formattingVincent Sanders2019-06-061-3/+3
|
* html.c: Correct ordering for reformat timeDaniel Silverstone2019-06-051-1/+1
| | | | | | Fix a minor bug where we'd likely never end up reformatting. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* extend the monkey test tooling to cope with ssl certificate windowsVincent Sanders2019-06-054-2/+173
|
* content/fetchers/curl.c: Defer fetch start if inside cURLDaniel Silverstone2019-06-051-0/+16
| | | | | | | | In order to cope better with modern cURL which prevents making cURL calls when inside a callback from within cURL, defer fetch start when we are processing in `fetch_curl_data()`. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* monkey-see-monkey-do: Also restore stdout/stderr when successDaniel Silverstone2019-06-041-0/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Document.bnd: createDocumentFragment() unref fragmentDaniel Silverstone2019-06-011-0/+2
| | | | | | | The pushed fragment node holds the reference, so unref it in the end of createDocumentFragment() Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* html_script.c: html_script_exec() reqacquire script ptrDaniel Silverstone2019-06-011-0/+5
| | | | | | | | | Since executing a script can cause more scripts to be appended to the script array, and that can cause a reallocation which might move the script array, reacquire the script pointer after running the script so that we don't wander off into the reeds. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Improve javascript unimplemented bnding documentation generationVincent Sanders2019-05-314-1592/+1600
|
* Fix dump choices test data to align with altered logging levelsVincent Sanders2019-05-311-1/+1
|
* Fix test target use of logging config definesVincent Sanders2019-05-311-2/+4
|
* Ensure we set the defaults for the log options to those compiled inDaniel Silverstone2019-05-281-2/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* make curl fetcher log debug using NSLOGVincent Sanders2019-05-281-16/+26
| | | | | | | stop curl fetcher logging being special case to standard error and use the fetch catagory at DEBUG level instead. The special suppress_curl_debug option is currently still obeyed
* Expose NaN on WindowDaniel Silverstone2019-05-251-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add dodgy window method to clear callbacksDaniel Silverstone2019-05-252-1/+39
| | | | | | | | | Until we can determine *how* the compartment isn't cleaning up properly in the duktape context, this will at least mean we don't get unpleasant callback related issues when compartments are reset during browsing. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Log when we finalise window objectsDaniel Silverstone2019-05-251-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Use generics for makeListProxy properlyDaniel Silverstone2019-05-251-2/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Use generics for makeListProxy properlyDaniel Silverstone2019-05-251-2/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Remove unnecessary generics magicDaniel Silverstone2019-05-251-1/+0
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* fix block conditional checks to be orred instead of andedVincent Sanders2019-05-201-12/+22
|
* allow block to use elapsed timer as a conditionVincent Sanders2019-05-181-9/+28
|
* update ca bundleVincent Sanders2019-05-181-144/+337
|
* allow render checks to be emptyVincent Sanders2019-05-181-12/+13
|
* quieten down windows debugVincent Sanders2019-05-172-13/+18
|
* Make SimpleRefresh the default.Chris Young2019-05-122-2/+2
| | | | This reduces memory use.
* Add a render hook to ensure the browser window is redrawn when neededChris Young2019-05-121-0/+19
| | | | This fixes the occasional damaged areas in SimpleRefresh mode
* Mark functions as staticChris Young2019-05-101-20/+19
|
* Hide the message port which is shared amongst all Amiga NetSurf windowsChris Young2019-05-1012-13/+25
|
* Make the window list more privateChris Young2019-05-105-51/+68
| | | | TODO: fix arexx.c to not need it