summaryrefslogtreecommitdiff
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Content: Remove redundant and unused redraw message fields.Michael Drake2019-11-114-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 Drake2019-11-111-4/+3
|
* remove unecessary user warningVincent Sanders2019-11-101-8/+7
|
* llcache: Avoid putting local content in the disc cache.Michael Drake2019-11-101-0/+39
|
* llcache: Split out scheme is cachable check.Michael Drake2019-11-101-27/+38
|
* File fetcher: Optimise HTTP header generation.Michael Drake2019-11-101-6/+8
|
* Resource fetcher: Optimise HTTP header generation.Michael Drake2019-11-101-6/+8
|
* llcache: URLs with data scheme are cachable.Michael Drake2019-11-101-1/+4
|
* Resource fetcher: Add Cache-Control header with max-age of a year.Michael Drake2019-11-101-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 Drake2019-11-101-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 Drake2019-11-101-15/+26
|
* Data fetcher: Move fetch_data_send_callback towards top of file.Michael Drake2019-11-101-8/+8
|
* llcache: Uncachable scheme checks don't need to be caseless.Michael Drake2019-11-091-4/+6
|
* llcache: Allow file and resource schemes to be cached.Michael Drake2019-11-091-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 Drake2019-11-091-12/+21
| | | | The file fetcher emits FETCH_NOTMODIFIED if the file is unchanged.
* Resource fetcher: Fix ETag handling.Michael Drake2019-11-091-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 insteadVincent Sanders2019-11-071-2/+3
|
* fix keypress entry on text areaVincent Sanders2019-11-071-22/+29
| | | | accidentaly broken in commit fca421e2047a55f3cf575c92943c1116ec58da3c
* remove user warning and fix up error handling in form select menusVincent Sanders2019-11-073-28/+36
|
* remove unecessary user warningVincent Sanders2019-11-062-3/+1
|
* remove user warning and propogate error returnVincent Sanders2019-11-063-37/+37
|
* remove unecessary user warning calls and improve error propogation in html boxVincent Sanders2019-11-053-46/+63
|
* remove user warnings from hotlist load and curl pollVincent Sanders2019-11-051-2/+2
|
* move the fallback text for about handler into messages handlerVincent Sanders2019-10-301-88/+38
|
* add internal query handler for fetch errorsVincent Sanders2019-10-301-0/+136
| | | | | | | | | | | | | 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 timeoutsVincent Sanders2019-10-291-6/+147
|
* Improve timeout error messagingVincent Sanders2019-10-281-9/+52
|
* fetchers/curl: Restrict AUTH to BASICDaniel Silverstone2019-10-211-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>
* fix utils configuration header orderingVincent Sanders2019-10-111-1/+1
|
* remove unused external declaration and unecessary header useVincent Sanders2019-10-062-12/+9
|
* Use curl API (versions after 7.56.0) to determine if openssl is in useVincent Sanders2019-10-011-4/+23
|
* Allow the curl fetcher to be built without openssl.Vincent Sanders2019-09-301-30/+61
| | | | | | | | | | The curl fetcher can operate without openssl library being available, additionaly curl itself may be compiled with a different TLS library. In either case this will simply cause the "unknown" error to be reported for all TLS failiures and page information to lack any certificate information.
* fix core find in page behaviour when case sensitivity is toggledVincent Sanders2019-09-213-61/+68
|
* make the gtk_search structure private to teh gtk search objectVincent Sanders2019-09-211-2/+2
|
* hlcache_fini(): Deschedule cleanups on finalisationDaniel Silverstone2019-09-071-0/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Box Conversion: Cancel conversion during html_destroyDaniel Silverstone2019-08-234-3/+38
| | | | | | | | If dom_to_box is still in progress when we destroy an HTML content, we need to cancel the conversion otherwise we will end up with a scheduled callback into infinity. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Window: set{Timeout,Interval}() default delay 10msDaniel Silverstone2019-08-211-12/+8
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* SSL Error: Enable OpenSSL hostname verificationDaniel Silverstone2019-08-141-16/+19
| | | | | | | | Since OpenSSL 1.0.2 there has been hostname verification support which cURL doesn't turn on for some reason. Turn it on so that we get better hostname verification handling. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* add English message text for ssl errorsVincent Sanders2019-08-101-1/+1
|
* add common name ssl certificate errorVincent Sanders2019-08-101-3/+16
| | | | | This adds an ssl faliure code and explanation why curl fetcher does not currently set it.
* About: Tweak the new about query page renderng.Michael Drake2019-08-091-5/+5
|
* rework about scheme handlers to be consistant with output buffer handlingVincent Sanders2019-08-081-176/+234
|
* apply tlsa styling improvements to about scheme query pagesVincent Sanders2019-08-071-10/+20
|
* add basic styling to about scheme privacy query pageVincent Sanders2019-08-071-53/+86
|
* Improve the about scheme query page generation be be bounds safeVincent Sanders2019-08-061-53/+143
|
* Support SSL verification through new about: handlerDaniel Silverstone2019-08-062-17/+44
| | | | | | | | In doing this, also propagate why the certificates were bad so that the page can display a reason. We will need FatMessages for all these. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Reimplement handling of BAD_AUTH inside browser_windowDaniel Silverstone2019-08-063-1/+79
| | | | | | | | | | | | | We now handle authentication requests via an `about:` page which presents a nice form built into the browser window. In order to do this, we add internal navigation as a concept to the browser window and we strip the 401login support from all frontends except monkey. The 401login callback is now intended for password safe type support rather than an immediately interactive prompt. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* futher refinement on about scheme query stylingVincent Sanders2019-08-061-1/+1
|
* improve css formatting in about scheme query handlersVincent Sanders2019-08-061-3/+4
|
* fix url reference counting in about scheme query handlersVincent Sanders2019-08-061-0/+9
|