summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* update copyright years for releaseVincent Sanders2019-07-177-11/+11
|
* cleanup some javascript documentation commentsVincent Sanders2019-07-122-33/+69
|
* when owning context is destroyed ensure that active js compartment is ↵Vincent Sanders2019-07-121-24/+56
| | | | destroyed first
* cleanup browser window message handlingVincent Sanders2019-07-101-143/+148
| | | | | | | | separate out ready and done message processing to make the code more readable. remove checking of content status as content_close() handles that itself.
* make content close check the content status itselfVincent Sanders2019-07-108-53/+89
| | | | make content handler open and close return error status
* ensure monkey farmer copes with recv returnint EAGAINVincent Sanders2019-07-061-11/+18
|
* make monkey driver and farmer python files pylint and pep8 cleanVincent Sanders2019-07-042-142/+260
|
* fix monkey testing setting of options to add necessary prefixVincent Sanders2019-07-022-4/+4
|
* add isFinite to global contextVincent Sanders2019-07-011-0/+1
|
* css/utils.c: Fix vw/vh handling in len2ptDaniel Silverstone2019-06-301-2/+2
| | | | | | | | | We were using integer multiplication rather than fixed-point multiplication when calculating point sizes relative to the viewport. This fixes that. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Declare global variables as extern in headersMichael Forney2019-06-3023-24/+24
| | | | | | | Otherwise, each source file that includes the header will create a new definition, which are usually merged together by the linker. Multiple definitions of an object is not allowed in ISO C.
* HTML: Viewport width/height in length context are fixed point.Michael Drake2019-06-291-2/+2
|
* fix freetype pkg-config usage in atari frontendVincent Sanders2019-06-291-2/+23
|
* attempt to make monkeyfarmer process exit detection more reliableVincent Sanders2019-06-271-5/+5
|
* fix atari STRIP makefile target to not have a spurious close bracketVincent Sanders2019-06-251-1/+1
|
* stop the atari toolchain from matching the cstrip binary for the strip oneVincent Sanders2019-06-251-1/+1
|
* revert 8265b8b66f7072a659dbc0f3e50fe23d6d6a68a1 as ssize_t is not available ↵Vincent Sanders2019-06-251-1/+1
| | | | everywhere
* Duktape: Probably should use ssize_tDaniel Silverstone2019-06-151-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Duktape: Hopefully silence issue with %lldDaniel Silverstone2019-06-152-1/+4
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* monkey_driver.py: Allow for no wrapper to be passedDaniel Silverstone2019-06-151-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* llcache: Abort cleanly if called back during shutdownDaniel Silverstone2019-06-151-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 finaliseDaniel Silverstone2019-06-151-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 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>