summaryrefslogtreecommitdiff
path: root/desktop
Commit message (Collapse)AuthorAgeFilesLines
* re-order config include so strcasecmp is correctly detected on RISC OS/win32Vincent Sanders2019-12-221-2/+2
|
* make RISC OS specific window_screen_ options limited to that frontendVincent Sanders2019-12-201-9/+4
|
* browser_window: Don't use the fetch parameters for page infoDaniel Silverstone2019-12-011-4/+4
| | | | | | | In order to cope with redirects properly, use the content's URL not the fetch parameters. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser_window: Remove spurious stopping of throbberDaniel Silverstone2019-12-011-2/+0
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser_window: Dispatch page info notification on root browserDaniel Silverstone2019-12-011-1/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add missing unrefsDaniel Silverstone2019-12-011-0/+5
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser_window: Add an event for page info state changeDaniel Silverstone2019-12-011-0/+5
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Allow contents to indicate if they believe they may not be secure.Daniel Silverstone2019-12-011-3/+6
| | | | | | | | | | HTML contents reference many other objects. The browser window needs to know if any of them may not be secure, in which case it needs to report that in its page state. If other content types might refer to sub-contents, they will need to define the callback too. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser_window: Add basic page info state and SSL accessorsDaniel Silverstone2019-12-011-0/+72
| | | | | | | In order to begin work on the page info dialog, we need access to the current page's state and SSL chain if available. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser_window: Set referer and flags in ssl error pathwayDaniel Silverstone2019-11-301-0/+2
| | | | | | | | To make the SSL error pathway consistent with the other error pathways, set the referer and the fetch parameter flags the same as the others. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* remove warning callback from miscelaneous function tableVincent Sanders2019-11-111-3/+0
|
* fix "may be used uninitialised" warningVincent Sanders2019-11-061-1/+1
|
* remove unecessary user warning calls and improve error propogation in html boxVincent Sanders2019-11-051-4/+0
|
* remove user warnings from hotlist load and curl pollVincent Sanders2019-11-051-5/+12
|
* improve error returns throughout complete save and remove user warningsVincent Sanders2019-11-042-101/+123
|
* add internal query handler for fetch errorsVincent Sanders2019-10-301-27/+92
| | | | | | | | | | | | | 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-18/+113
|
* save complete: Change de-duplication to compare URLs, rather than contents.Michael Drake2019-10-261-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_handlesMichael Drake2019-10-261-1/+2
| | | | There can be multiple hlcache_handles per sharable content.
* ensure all error messages have text if not provided by callerVincent Sanders2019-10-251-3/+3
|
* fix some formatting in save completeVincent Sanders2019-10-241-27/+47
|
* ensure save_complete resources are correctly finalised before quitVincent Sanders2019-10-242-0/+13
|
* resolve leak of attribute value lwc string in complete saveVincent Sanders2019-10-241-0/+1
|
* fix save_complete usage of posix regex so it does not run off the end of stringsVincent Sanders2019-10-211-22/+55
|
* make download core store size in at least 64bits to allow for large filesVincent Sanders2019-10-192-7/+9
|
* add regex compatability to utils and enable it for serenity OSVincent Sanders2019-10-122-2/+2
|
* clear the favicon at the beginning of navigationVincent Sanders2019-09-291-0/+3
|
* re-indent browser window and cleanup commentsVincent Sanders2019-09-291-283/+366
| | | | no functional change
* make web search icon setting work properlyVincent Sanders2019-09-212-2/+44
|
* netsurf_exit(): Finalise DOM namespace stringsDaniel Silverstone2019-09-071-0/+4
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* netsurf_exit(): Release user-agent string on exitDaniel Silverstone2019-09-071-0/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser_window: use about:blank if current_parameters is emptyDaniel Silverstone2019-08-231-0/+5
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Browser: Do a better job of not leaking query URIs to the frontendDaniel Silverstone2019-08-211-4/+14
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser: Turn internal nav URLs into corestring_nsurlsDaniel Silverstone2019-08-211-14/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser_window: Ensure that back works like 'back to safety'Daniel Silverstone2019-08-213-18/+59
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* fix spelling mistakes from miscellaneous event commitVincent Sanders2019-08-201-1/+1
|
* add miscellaneous event to browser window callback tableVincent Sanders2019-08-204-57/+17
| | | | | | | | | | | | extend the browser window callback table with a miscallaneous event entry. This is used to replace all browser window callbacks which take no parameters. This reduces the API surface from seven separate calls to a single call with an enumeration which may be readily extended. The initial implementation in the frontends simply calls the original implementations to reduce scope for errors.
* browser_window: handle 'back to safety' cleanlyDaniel Silverstone2019-08-141-1/+5
| | | | | | | | | | In order to ensure we actually go back to safety, clear the curent loading parameters, and transfer the load parameters for where we're going into them to be closer to a real navigate, otherwise we end up copying the wrong loading parameters over the top when we complete the back-to-safety navigation. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* make internal url navigation check safeVincent Sanders2019-08-121-14/+38
|
* Support SSL verification through new about: handlerDaniel Silverstone2019-08-061-17/+128
| | | | | | | | 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>
* browser_window: Improve history behaviour on internal navDaniel Silverstone2019-08-061-3/+9
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Reimplement handling of BAD_AUTH inside browser_windowDaniel Silverstone2019-08-064-265/+442
| | | | | | | | | | | | | 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>
* Browser window navigate: Ensure child.quirks is initialised.Michael Drake2019-08-051-0/+2
|
* browser_window: Stop the throbber right at the end of handling errorsDaniel Silverstone2019-08-051-2/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Excise the llcache query pathway.Daniel Silverstone2019-08-058-147/+128
| | | | | | | | 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-054-7/+49
| | | | | | | | | | * 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>
* browser_window: Add fetch parameters and split navigateDaniel Silverstone2019-08-052-14/+135
| | | | | | | | In order to support future reload/strange navigations, split the navigate function into two and add a stored parameters structure which can be used to regenerate any fetch. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Content messages: Remove ERRORCODE, rework ERRORDaniel Silverstone2019-08-052-47/+10
| | | | | | | 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
|
* remove core snapping for values set in absolute modeVincent Sanders2019-08-041-7/+2
|