Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Content: Remove redundant and unused redraw message fields. | Michael Drake | 2019-11-11 | 4 | -71/+17 |
| | | | | | | | | | | This was archaic support for rendering images as "overlays", and avoiding a redraw via the browser window redraw and HTML contents. Basically it was "plot this image here", but it was too error prone, so it was removed a long time ago. These are some last vestiges that made the redraw message look more complex than it is. | ||||
* | Data fetcher: Squash BSD warning. | Michael Drake | 2019-11-11 | 1 | -4/+3 |
| | |||||
* | remove warning callback from miscelaneous function table | Vincent Sanders | 2019-11-11 | 10 | -24/+2 |
| | |||||
* | remove unecessary user warning | Vincent Sanders | 2019-11-10 | 1 | -8/+7 |
| | |||||
* | llcache: Avoid putting local content in the disc cache. | Michael Drake | 2019-11-10 | 1 | -0/+39 |
| | |||||
* | llcache: Split out scheme is cachable check. | Michael Drake | 2019-11-10 | 1 | -27/+38 |
| | |||||
* | File fetcher: Optimise HTTP header generation. | Michael Drake | 2019-11-10 | 1 | -6/+8 |
| | |||||
* | Resource fetcher: Optimise HTTP header generation. | Michael Drake | 2019-11-10 | 1 | -6/+8 |
| | |||||
* | Utils: ring: Remove unused code. | Michael Drake | 2019-11-10 | 1 | -31/+0 |
| | |||||
* | Utils: ring: Whitespace fix. | Michael Drake | 2019-11-10 | 1 | -1/+1 |
| | |||||
* | llcache: URLs with data scheme are cachable. | Michael Drake | 2019-11-10 | 1 | -1/+4 |
| | |||||
* | Resource fetcher: Add Cache-Control header with max-age of a year. | Michael Drake | 2019-11-10 | 1 | -0/+5 |
| | | | | | Resource URLs can't change, we want to assume they're fresh for as long as we can. | ||||
* | Data fetcher: Add Cache-Control header with max-age of a year. | Michael Drake | 2019-11-10 | 1 | -0/+6 |
| | | | | | Data URLs can't change, we want to assume they're fresh for as long as we can. | ||||
* | Data fetcher: Split header emitting out into helper. | Michael Drake | 2019-11-10 | 1 | -15/+26 |
| | |||||
* | Data fetcher: Move fetch_data_send_callback towards top of file. | Michael Drake | 2019-11-10 | 1 | -8/+8 |
| | |||||
* | llcache: Uncachable scheme checks don't need to be caseless. | Michael Drake | 2019-11-09 | 1 | -4/+6 |
| | |||||
* | llcache: Allow file and resource schemes to be cached. | Michael Drake | 2019-11-09 | 1 | -7/+11 |
| | | | | | This means things like the default css file and adblock css file are only loaded and parsed once. | ||||
* | File fetcher: Avoid atoi for If-None-Match value parse. | Michael Drake | 2019-11-09 | 1 | -12/+21 |
| | | | | The file fetcher emits FETCH_NOTMODIFIED if the file is unchanged. | ||||
* | Resource fetcher: Fix ETag handling. | Michael Drake | 2019-11-09 | 1 | -10/+19 |
| | | | | | | | | * Changed ETag storage to be time_t, rather than int. * Changed `If-None-Match` value parsing to use proper time_t parsing, rather than `atoi`. We emit FETCH_NOTMODIFIED if the resource hasn't changed. | ||||
* | remove user warning and log error instead | Vincent Sanders | 2019-11-07 | 1 | -2/+3 |
| | |||||
* | fix keypress entry on text area | Vincent Sanders | 2019-11-07 | 1 | -22/+29 |
| | | | | accidentaly broken in commit fca421e2047a55f3cf575c92943c1116ec58da3c | ||||
* | remove user warning and fix up error handling in form select menus | Vincent Sanders | 2019-11-07 | 3 | -28/+36 |
| | |||||
* | remove unecessary user warning | Vincent Sanders | 2019-11-06 | 2 | -3/+1 |
| | |||||
* | remove user warning and propogate error return | Vincent Sanders | 2019-11-06 | 3 | -37/+37 |
| | |||||
* | fix "may be used uninitialised" warning | Vincent Sanders | 2019-11-06 | 1 | -1/+1 |
| | |||||
* | remove unecessary user warning calls and improve error propogation in html box | Vincent Sanders | 2019-11-05 | 4 | -50/+63 |
| | |||||
* | remove user warnings from hotlist load and curl poll | Vincent Sanders | 2019-11-05 | 2 | -7/+14 |
| | |||||
* | improve error returns throughout complete save and remove user warnings | Vincent Sanders | 2019-11-04 | 2 | -101/+123 |
| | |||||
* | remove spurious whitespace in fetch error pages | Vincent Sanders | 2019-11-04 | 1 | -2/+2 |
| | |||||
* | move the fallback text for about handler into messages handler | Vincent Sanders | 2019-10-30 | 6 | -122/+127 |
| | |||||
* | add internal query handler for fetch errors | Vincent Sanders | 2019-10-30 | 5 | -27/+275 |
| | | | | | | | | | | | | | Any errors from the fetch which are not already handled are reported with an internal query page instead of a modal dialog. This is much less invasive for the user and much more in keeping with how this is handled by other browsers. The handler is similar to the timeout handler but the functionality is kept separate as it is intended timeout handling be extended in future. | ||||
* | add internal query page for request timeouts | Vincent Sanders | 2019-10-29 | 5 | -24/+309 |
| | |||||
* | Improve timeout error messaging | Vincent Sanders | 2019-10-28 | 4 | -9/+58 |
| | |||||
* | save complete: Change de-duplication to compare URLs, rather than contents. | Michael Drake | 2019-10-26 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | We seem to have more than one content for the same resource. For example: * save `<img src="about:logo"><img src="about:logo">` as img-test.html * run `rm -rf test-save && make && ./nsgtk img-test.html` * ctrl+s * save as "test-save" in the current netsurf dir. * run `md5sum test-save/*` before and after this commit. The de-duplication works with URLs, where it wasn't working with hlcache_handles or contents. | ||||
* | save complete: ctx_find_content: compare contents, not hlcache_handles | Michael Drake | 2019-10-26 | 1 | -1/+2 |
| | | | | There can be multiple hlcache_handles per sharable content. | ||||
* | ensure all error messages have text if not provided by caller | Vincent Sanders | 2019-10-25 | 1 | -3/+3 |
| | |||||
* | fix some formatting in save complete | Vincent Sanders | 2019-10-24 | 1 | -27/+47 |
| | |||||
* | ensure save_complete resources are correctly finalised before quit | Vincent Sanders | 2019-10-24 | 3 | -0/+19 |
| | |||||
* | resolve leak of attribute value lwc string in complete save | Vincent Sanders | 2019-10-24 | 1 | -0/+1 |
| | |||||
* | fix save_complete usage of posix regex so it does not run off the end of strings | Vincent Sanders | 2019-10-21 | 1 | -22/+55 |
| | |||||
* | fetchers/curl: Restrict AUTH to BASIC | Daniel Silverstone | 2019-10-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | cURL will prevent channel reuse if NTLM auth is enabled because NTLM authenticates a channel not a request. As such we were unable to reuse curl handles since we handed off connection reuse to curl instead of our own handle cache. This mitigates the effect, though curl authors are looking at fixing it upstream too. Fixes: #2707 Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | another attempt to provide strtoull on amiga os 3 | Vincent Sanders | 2019-10-20 | 1 | -1/+1 |
| | |||||
* | add missing include for amiga os 3 strtoull | Vincent Sanders | 2019-10-20 | 1 | -0/+2 |
| | |||||
* | attempt a different fix for amiga os 3 strtoull | Vincent Sanders | 2019-10-20 | 3 | -4/+21 |
| | |||||
* | amiga os 3 does not have strtoull so use strtoul as next best thing | Vincent Sanders | 2019-10-20 | 1 | -0/+4 |
| | |||||
* | fix gtk download window to cope with files larger than 2 gibibytes | Vincent Sanders | 2019-10-19 | 1 | -9/+10 |
| | |||||
* | make download core store size in at least 64bits to allow for large files | Vincent Sanders | 2019-10-19 | 2 | -7/+9 |
| | |||||
* | improve human_friendly_bytesize to cope with sizes up to 16 exibytes | Vincent Sanders | 2019-10-19 | 4 | -29/+87 |
| | |||||
* | commit a neatness on the gtk download window code | Vincent Sanders | 2019-10-16 | 2 | -328/+511 |
| | |||||
* | fix gtk download window dereferencing boolean as pointer | Vincent Sanders | 2019-10-15 | 1 | -5/+4 |
| |