summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* monkeyfarmer: Be a little more verbose when exitingDaniel Silverstone2019-08-021-0/+3
| | | | | | | In an effort to try and determine why we sometimes get unexpected exits, print the line queue during the handling of process exit. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* gtk, beos: Run scheduler before fetching fdsetDaniel Silverstone2019-08-022-5/+5
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* llcache: Ensure we preserve iteratorness when sending messagesDaniel Silverstone2019-08-021-1/+2
| | | | | | | | | In order to prevent a problem where iterating causes an abort which causes an iteration which clears the iteratorness of a user allowing it to delete itself causing a segfault, preserve the iteratorness when iterating in send_message Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* monkey: Report the errno when select() returns -1Daniel Silverstone2019-08-021-0/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* monkey: Run scheduler before extracting fdsetsDaniel Silverstone2019-08-021-3/+3
| | | | | | | We need to run the scheduler *before* we extract the fdsets from the fetchers, otherwise fetch aborts might result in EBADF Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* dukky: Remove unused `dukky_safe_get()`Daniel Silverstone2019-08-021-6/+0
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* curl: Change where we lodge `inside_curl`Daniel Silverstone2019-08-021-6/+2
| | | | | | | | Because we need to be slightly more careful now, lodge ourselves `inside_curl` whenever we might be processing via the cURL messages or similar. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* dukky: Clean up our stacktrace reportingDaniel Silverstone2019-08-021-31/+6
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* curl: Immediately abort fetchers when we canDaniel Silverstone2019-08-021-17/+24
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Duktape: Hopefully silence issue with %lldDaniel Silverstone2019-08-021-1/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Duktape: Make declaration match definition for memcmp and double_div.Michael Drake2019-08-021-3/+3
|
* Duktape: Make declaration match definition for duk_refzero_check_fast()Michael Drake2019-08-021-1/+1
|
* Duktape: Make declarations match definitions for fastint-enabled functions.Michael Drake2019-08-021-2/+2
|
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2019-08-021-6/+6
|
* Duktape: Make declarations match definitions for inline functions.Michael Drake2019-08-021-4/+4
|
* Duktape: Prevent clang static analysis.Michael Drake2019-08-021-0/+3
|
* Duktape: Update to 2.4.0 release.Michael Drake2019-08-023-7413/+8430
|
* fix missed get dimensions call in amiga frontendVincent Sanders2019-08-021-1/+1
|
* remove scaled parameter from get_dimensionsVincent Sanders2019-08-0210-63/+23
|
* remove scaling from internal browser get_dimensions callsVincent Sanders2019-08-023-12/+18
|
* Monkey: Properly support reload in farmer and driverDaniel Silverstone2019-08-022-2/+14
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Document.bnd: Fix cookies getter and implement setterDaniel Silverstone2019-08-021-1/+33
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* llcache: Use last_modified instead of dateDaniel Silverstone2019-08-021-2/+2
| | | | | | | | | When sending an If-Modified-Since header we should use the `last_modified` rather than the `date` property of the cached object in order to not incorrectly assume things have a modification date when they do not. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Dukky: Add and utilise a jserrors categoryDaniel Silverstone2019-08-025-8/+10
| | | | | | | Normal, and verbose logging will now also log all JS errors in order that we stand a chance of debugging things more easily when testing. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Makefile.config.example: Document logging optionsDaniel Silverstone2019-08-021-0/+10
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Logging: Also log the level and categoryDaniel Silverstone2019-08-021-4/+7
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Window: Provide a little more info on why not EXPOSE()ing some stuffDaniel Silverstone2019-08-021-9/+10
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Window: Restructure EXPOSE()d globalsDaniel Silverstone2019-08-021-14/+82
| | | | | | | By reference to the MDN and to Duktape's CLI, expose everything we possibly can on the global object (Window). Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* RISCOS: change invalidate to cope with unscaled rectanglesVincent Sanders2019-08-011-4/+4
|
* AMIGA: Update to remove rectangle scaling from browser window invalidateVincent Sanders2019-08-011-1/+1
|
* GTK: Update for unscaled bw invalidate rectangle.Michael Drake2019-08-011-6/+4
|
* Browser window: Make invalidate gui callback use unsacled coordinates.Michael Drake2019-08-011-7/+9
|
* dukky.c: Correct typo (BUTTOM -> BUTTON)Daniel Silverstone2019-08-011-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Dukky: Support console logging betterDaniel Silverstone2019-08-014-2/+117
| | | | | | | Add a polyfill for Array.from(), and fix the console formatter so that it won't keep exploding. This should improve matters in the tests. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* dukky: Attempt to make the fallback to HTMLUnknownElement more useful.Daniel Silverstone2019-08-011-4/+7
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* reformat and tidy up browser window code ready for corewindow changesVincent Sanders2019-08-011-1067/+1146
|
* split browser and browser_window operationsVincent Sanders2019-08-0116-3521/+3579
|
* Docs: Convert GTK doc to markdown.Michael Drake2019-08-011-164/+147
|
* Fix clamping in commit fa64763b0d8c6566eda5f6547e7f2f3e62b77613Vincent Sanders2019-08-011-1/+2
|
* html_interaction.c: Default node to <HTML> nodeDaniel Silverstone2019-08-011-1/+1
| | | | | | | | | | | In order to cope when an entire document is `visibility: hidden` we default to the <HTML> node when interacting with the document to ensure we don't drop off the end of the box model without identifying at least one node to fire events at. This resolves #2658 Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK: prefer using curl's intrinsic defaults for CURLOPT_CA*Samuel Dionne-Riel2019-08-011-5/+1
| | | | | | | | | | | | | | On distributions that ship only a ca-bundle in `/etc/ssl`, the configuration set at initialization will force curl to look for certificates that are not present in this directory. Removing the setting instead makes curl use its internal default. The framebuffer frontend will not set this option, and the only other frontend that sets it is BeOS. This issue can be observed (likely among other) on the NixOS Linux distribution.
* env.sh: Make it clear that this is not a shell scriptDaniel Silverstone2019-08-011-1/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Docs: Remove mention of spidermonky.Michael Drake2019-08-011-5/+0
| | | | We don't use it.
* gtk/fetch.c & monkey/filetype.c: ascii_is_space already checks for newline.brabo2019-08-012-9/+4
|
* gtk/fetch.c & monkey/filetype.c: small comment correction.brabo2019-08-012-2/+2
|
* browser_history.c: Clamp contents to be 1x1 at min.Daniel Silverstone2019-08-011-2/+10
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* monkey/browser.c: Handle failed calloc more gracefullyDaniel Silverstone2019-08-011-0/+4
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Console.bnd: Support attempts to log when Window has goneDaniel Silverstone2019-08-011-1/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* treeview: Correct mis-freeing in treeview_create error pathDaniel Silverstone2019-08-011-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Layout: Apply min/max width to replaced elements when width is given.Michael Drake2019-07-301-0/+5
|