summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Replace custom itempool functions with malloc/free as clib handles these ↵Chris Young2019-06-091-2/+2
| | | | more efficiently than our pools.
* Modify some "free" references which were failing to build with clib2 debug modeChris Young2019-06-0911-12/+12
|
* Updates to allow clib2 memory debug mode to workChris Young2019-06-092-4/+4
|
* Enable clib2 debug to workChris Young2019-06-092-1/+3
|
* 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
* Use new beep functionChris Young2019-05-102-4/+3
|
* Make screen pointer accesible through an accessor function onlyChris Young2019-05-1023-32/+66
|
* Replace global current gui_window with an accessor functionChris Young2019-05-105-15/+26
|
* make win32 keyboard handling in browsing window functionalVincent Sanders2019-05-091-36/+86
| | | | | | | | | makes the drawable area widget for the browser display use windows unicode input and copes with surrogate pairs for full unicode input coverage. fixes the keydown handling to only the necessary navigation operations like left, right up and down etc.
* implement windows clipboard functionalityVincent Sanders2019-05-098-90/+195
| | | | | | This allows clipboard to operate (cut, copy, paste and delete) in the win32 front end. The clipboard is set and read in windows unicode mode and then converted to/from utf-8 for the browser core.
* fix os3 buildChris Young2019-05-081-1/+1
|
* try storing form_control in the hook dataChris Young2019-05-083-28/+3
| | | | it doesn't appear to be needed anywhere else
* Make gadget object enum private to gui.cChris Young2019-05-083-40/+41
|
* make gui_window_2 private to gui.cChris Young2019-05-084-82/+82
|