summaryrefslogtreecommitdiff
path: root/desktop
Commit message (Collapse)AuthorAgeFilesLines
* Browser window: Rework constification of bw for show_certificates.Michael Drake2020-02-242-4/+6
|
* Page info: We need a non-const browser window.Michael Drake2020-02-242-4/+4
| | | | Due to where we pass it back out to browser window.
* implement browser_window_show_certificatesVincent Sanders2020-02-241-4/+65
|
* netsurf_init: Use disc_cache_path if specified, otherwise platform pathDaniel Silverstone2020-02-241-1/+4
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* options: Add disc_cache_path optionDaniel Silverstone2020-02-241-0/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser_window: Use messages for unknown errorsDaniel Silverstone2020-02-241-0/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Browser window: Set the search string on show cookies.Michael Drake2020-02-241-2/+14
| | | | | We still need to tell the front end to open the cookies window.
* Cookie manager: Add API to set the search string.Michael Drake2020-02-242-0/+22
|
* Treeview: Add API for setting the search string.Michael Drake2020-02-242-0/+34
|
* browser_window: Various little SSL fixesDaniel Silverstone2020-02-231-2/+13
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Page info: Fix typo.Michael Drake2020-02-231-1/+1
|
* Page info: Avoid anonymous union for AmigaOS3 and OpenBSD.Michael Drake2020-02-231-60/+67
|
* NetSurf: Init/fini the page-info module on browser startup/quit.Michael Drake2020-02-231-1/+10
|
* Buildsystem: Build the page-info module.Michael Drake2020-02-231-1/+1
|
* Page info: Add core window size getter, and stub for keypresses.Michael Drake2020-02-231-0/+20
|
* Page info: Implement mouse action handling.Michael Drake2020-02-231-0/+91
|
* Page info: Implement redraw.Michael Drake2020-02-231-0/+114
|
* Page info: Implement page info window creation and destruction.Michael Drake2020-02-231-0/+250
|
* Page info: Add data structures and module init/fini.Michael Drake2020-02-231-0/+313
|
* Desktop: Add page-info API.Michael Drake2020-02-231-0/+141
| | | | | This will be a core window intended to show information about the page currently shown in the associated browser window.
* Browser window: Add stubs for new interfaces for page-info dialogue.Michael Drake2020-02-231-0/+24
|
* Browser window: Constify bw through page_info_state getter.Michael Drake2020-02-231-1/+1
|
* Keep the complete certificate chain from a fetchVincent Sanders2020-02-235-54/+208
| | | | | | | | | Instead of extracting information from the X509 certificate chain in the fetcher the entire chain is propagated in Distinguished Encoding Rules (DER) format. This allows all the information contained in a certificate chain to be retained which can subsequently be presented to the user
* hotlist: Report if infallible destruction failsDaniel Silverstone2020-02-231-0/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser_window: Propagate error code when handling errorsDaniel Silverstone2020-02-231-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Treeview: Constify clip rectangle.Michael Drake2020-02-221-2/+2
|
* Browser window: Constify the bw in the URL access function.Michael Drake2020-02-221-1/+1
|
* browser_window: Inform GUI about redirects and final URLDaniel Silverstone2020-02-221-30/+25
| | | | | | | | | To correctly have the GUI know about all url bar updates, we should inform it during the processing of redirects and we should ensure that when we're in the ready-but-not-done phase we do not use the fetch parameters but instead the content's known URL Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Browser: Support requesting location focusDaniel Silverstone2020-02-221-0/+2
| | | | | | | | | In the creation of a browser window it may be valuable to request that the GUI focus the location input box. This can be used when the user requests a new tab/window to allow the entry box to be focussed properly immediately. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Browser: Add FOREGROUND flag to window creationDaniel Silverstone2020-02-221-0/+2
| | | | | | | | | To better support new-tab / new-window operations as well as GUIs which want to allow tabs to open in the background by default, add a flag to request a new browser window be foregrounded. This will allow us to simplify at least the GTK frontend a little. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Core: Remove unused minimum GIF delay option.Michael Drake2020-02-211-3/+0
|
* 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.