Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Duktape: Probably should use ssize_t | Daniel Silverstone | 2019-06-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Duktape: Hopefully silence issue with %lld | Daniel Silverstone | 2019-06-15 | 2 | -1/+4 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | monkey_driver.py: Allow for no wrapper to be passed | Daniel Silverstone | 2019-06-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | llcache: Abort cleanly if called back during shutdown | Daniel Silverstone | 2019-06-15 | 1 | -0/+7 |
| | | | | | | | | | | In order to help us debug shutting down with active fetches, this will abort the process cleanly if we get a callback to an "active" llcache handle after the abort process has actually killed them all. This can happen with deferred fetcher aborts in the cURL fetcher. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | hlcache.c: Clean up LOADING contents during finalise | Daniel Silverstone | 2019-06-15 | 1 | -4/+26 |
| | | | | | | | | | During the process of finalising the hlcache, there won't be any more fetching going on. As such, we can abort, error, and then destroy any contents still in the process of loading. This should reduce our leaks during shutdown. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Sleepy JS test, handy to alt+f4 during load to check shutdown | Daniel Silverstone | 2019-06-15 | 1 | -0/+13 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Monkey: Support a -w argument to the monkey_driver.py | Daniel Silverstone | 2019-06-15 | 2 | -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 label | Vincent Sanders | 2019-06-13 | 1 | -1/+1 |
| | |||||
* | allow repeat loops to specify values and navigation to use them | Vincent Sanders | 2019-06-12 | 1 | -10/+34 |
| | |||||
* | make the timer-start and timer-restart action name the timer in the same way | Vincent Sanders | 2019-06-12 | 2 | -17/+19 |
| | |||||
* | LLCache: validate max-age before use | John-Mark Bell | 2019-06-10 | 1 | -1/+3 |
| | |||||
* | HTTP: expose validity of max-age in Cache-Control | John-Mark Bell | 2019-06-10 | 2 | -0/+18 |
| | | | | | As max-age is an optional directive, provide a means to determine if it is present and correct. | ||||
* | LLCache: use Cache-Control parser | John-Mark Bell | 2019-06-10 | 1 | -48/+18 |
| | |||||
* | HTTP: add minimal parser for Cache-Control | John-Mark Bell | 2019-06-10 | 5 | -1/+416 |
| | |||||
* | use jmb suggested fix to cache-control header parse error | Vincent Sanders | 2019-06-10 | 1 | -7/+6 |
| | |||||
* | fix parsing of invalid syntax max-age value Cache-control header | Vincent Sanders | 2019-06-10 | 1 | -2/+8 |
| | |||||
* | Check callback memory is allocated before trying to use it. | Chris Young | 2019-06-09 | 1 | -1/+2 |
| | |||||
* | Fix memory leak in Amiga frontend | Chris Young | 2019-06-09 | 1 | -1/+4 |
| | |||||
* | NULL drawhandle after free | Chris Young | 2019-06-09 | 1 | -0/+1 |
| | |||||
* | Window.bnd: Suppress some unnecessary stack frame dumps | Daniel Silverstone | 2019-06-09 | 1 | -3/+3 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | browser.c: Don't require > 0 chars in logging | Daniel Silverstone | 2019-06-09 | 1 | -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 isNan | Daniel Silverstone | 2019-06-09 | 1 | -0/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Window.bnd: Do not remove in-train callbacks | Daniel Silverstone | 2019-06-09 | 1 | -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 codes | Vincent Sanders | 2019-06-08 | 3 | -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 navigation | Vincent Sanders | 2019-06-06 | 2 | -0/+12 |
| | |||||
* | add ability to stop a navigation in monkey frontend | Vincent Sanders | 2019-06-06 | 2 | -1/+31 |
| | |||||
* | detect monkey exit rather than waiting forever for a defunct process | Vincent Sanders | 2019-06-06 | 1 | -0/+14 |
| | |||||
* | improve stdout print formatting | Vincent Sanders | 2019-06-06 | 1 | -3/+3 |
| | |||||
* | html.c: Correct ordering for reformat time | Daniel Silverstone | 2019-06-05 | 1 | -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 windows | Vincent Sanders | 2019-06-05 | 4 | -2/+173 |
| | |||||
* | content/fetchers/curl.c: Defer fetch start if inside cURL | Daniel Silverstone | 2019-06-05 | 1 | -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 success | Daniel Silverstone | 2019-06-04 | 1 | -0/+3 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Document.bnd: createDocumentFragment() unref fragment | Daniel Silverstone | 2019-06-01 | 1 | -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 ptr | Daniel Silverstone | 2019-06-01 | 1 | -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 generation | Vincent Sanders | 2019-05-31 | 4 | -1592/+1600 |
| | |||||
* | Fix dump choices test data to align with altered logging levels | Vincent Sanders | 2019-05-31 | 1 | -1/+1 |
| | |||||
* | Fix test target use of logging config defines | Vincent Sanders | 2019-05-31 | 1 | -2/+4 |
| | |||||
* | Ensure we set the defaults for the log options to those compiled in | Daniel Silverstone | 2019-05-28 | 1 | -2/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | make curl fetcher log debug using NSLOG | Vincent Sanders | 2019-05-28 | 1 | -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 Window | Daniel Silverstone | 2019-05-25 | 1 | -0/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Add dodgy window method to clear callbacks | Daniel Silverstone | 2019-05-25 | 2 | -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 objects | Daniel Silverstone | 2019-05-25 | 1 | -0/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Use generics for makeListProxy properly | Daniel Silverstone | 2019-05-25 | 1 | -2/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Use generics for makeListProxy properly | Daniel Silverstone | 2019-05-25 | 1 | -2/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Remove unnecessary generics magic | Daniel Silverstone | 2019-05-25 | 1 | -1/+0 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | fix block conditional checks to be orred instead of anded | Vincent Sanders | 2019-05-20 | 1 | -12/+22 |
| | |||||
* | allow block to use elapsed timer as a condition | Vincent Sanders | 2019-05-18 | 1 | -9/+28 |
| | |||||
* | update ca bundle | Vincent Sanders | 2019-05-18 | 1 | -144/+337 |
| | |||||
* | allow render checks to be empty | Vincent Sanders | 2019-05-18 | 1 | -12/+13 |
| | |||||
* | quieten down windows debug | Vincent Sanders | 2019-05-17 | 2 | -13/+18 |
| |