summaryrefslogtreecommitdiff
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* HTML: Don't allow objects to redraw until we have a layout.Michael Drake2019-08-063-0/+12
|
* add about scheme query handlersVincent Sanders2019-08-061-1/+334
|
* Improve about scheme doc comments and formattingVincent Sanders2019-08-051-45/+122
|
* curl.c: Don't use OpenSSL 1.1 only serialNumber fetcherDaniel Silverstone2019-08-051-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* nssprite: content_broadcast_error fixDaniel Silverstone2019-08-051-3/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* html_begin_conversion: If we pause in completing parse, try again later.Daniel Silverstone2019-08-051-0/+7
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* HTML: Box coordinates: Take fast route to float container.Michael Drake2019-08-051-4/+4
| | | | And assert that floats have a float_container.
* Excise the llcache query pathway.Daniel Silverstone2019-08-059-258/+34
| | | | | | | | In further preparation for the auth and cert queries being handled as special contents from `about:` this excises the query pathway from the llcache pretty much entirely. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Migrate SSL certificate storage to the browser windowDaniel Silverstone2019-08-057-130/+177
| | | | | | | | | | * Fetchers now provide the certificates before headers * This is propagated all the way to the browser window * When a query occurs, we retrieve it from there and fire the query with those stored certificates. * The serial number is a bignum, store it as hex. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* content: Rename content_broadcast_errorcode()Daniel Silverstone2019-08-0513-61/+70
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Content messages: Remove ERRORCODE, rework ERRORDaniel Silverstone2019-08-058-33/+33
| | | | | | | This reworks CONTENT_MSG_ERROR to be structured data and removes the CONTENT_MSG_ERRORCODE message kind. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* enable gnu extensions to get strcasestr from string.hVincent Sanders2019-08-051-0/+2
|
* form: Fix situation where a gadget initialises with NULL valueDaniel Silverstone2019-08-041-2/+6
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* html: Mirror gadget values in and out of the DOMDaniel Silverstone2019-08-046-1/+169
| | | | | | | | | Currently only supporting text input, password input, and hidden input, along with text areas, this mirrors the text values in and out of the DOM, allowing JS to adjust the gadget values and for the gadget values to be interrogated from JS. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* change browser_window_drop_file_at_point() to take unscaled coordinatesVincent Sanders2019-08-041-18/+26
|
* change browser_window_redraw to use unscaled coordinatesVincent Sanders2019-08-041-2/+2
|
* Add content handlers for queriesDaniel Silverstone2019-08-044-1/+58
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* llcache: Do not delete objects if they were iterator targetsDaniel Silverstone2019-08-041-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* content, hlcache: Propagate query events upwardDaniel Silverstone2019-08-042-7/+22
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>