summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Rename mask to mskChris Young2020-03-061-2/+2
| | | | There's something about "mask" which causes the version of GCC we use for the m68k-amigaos build to misinterpret the code
* Browser window: Rework constification of bw for show_certificates.Michael Drake2020-02-241-1/+1
|
* Plot style: Add helper to swap red and blue channels.Michael Drake2020-02-241-0/+6
|
* inttypes: Add PRIu64Daniel Silverstone2020-02-241-0/+4
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* about scheme certificate viewer initial implementationVincent Sanders2020-02-241-0/+11
|
* ssl_certs: Add dup_intoDaniel Silverstone2020-02-231-0/+12
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Browser window API: Add count for page state enum.Michael Drake2020-02-231-0/+1
|
* Browser window: Add stubs for new interfaces for page-info dialogue.Michael Drake2020-02-231-0/+29
|
* Browser window: Constify bw through page_info_state getter.Michael Drake2020-02-231-1/+1
|
* Plot style: Add function to engorge a colour channel.Michael Drake2020-02-231-0/+33
| | | | This can be used to exaggerate the red, green, or blue component.
* Plot style: Split lightness calc out of colour_to_bw_furthest macro.Michael Drake2020-02-231-4/+7
|
* Keep the complete certificate chain from a fetchVincent Sanders2020-02-233-21/+63
| | | | | | | | | 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
* Browser window: Constify the bw in the URL access function.Michael Drake2020-02-221-1/+1
|
* Core window: Constify the core_window handle through the getters.Michael Drake2020-02-221-2/+2
|
* Browser: Support requesting location focusDaniel Silverstone2020-02-222-0/+4
| | | | | | | | | 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-222-1/+5
| | | | | | | | | 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>
* Add certificate-missing error codeDaniel Silverstone2019-12-031-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser_window: Add an event for page info state changeDaniel Silverstone2019-12-011-0/+6
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser_window: Add basic page info state and SSL accessorsDaniel Silverstone2019-12-011-0/+45
| | | | | | | 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>
* llcache: Reload SSL certificate data from serialised storeDaniel Silverstone2019-11-301-0/+6
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* remove warning callback from miscelaneous function tableVincent Sanders2019-11-111-13/+2
|
* re-indent browser window and cleanup commentsVincent Sanders2019-09-291-3/+4
| | | | no functional change
* fix spelling mistakes from miscellaneous event commitVincent Sanders2019-08-201-5/+5
|
* add miscellaneous event to browser window callback tableVincent Sanders2019-08-201-56/+65
| | | | | | | | | | | | 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.
* SSL Error: Enable OpenSSL hostname verificationDaniel Silverstone2019-08-141-1/+1
| | | | | | | | 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 common name ssl certificate errorVincent Sanders2019-08-101-0/+1
| | | | | This adds an ssl faliure code and explanation why curl fetcher does not currently set it.
* Support SSL verification through new about: handlerDaniel Silverstone2019-08-061-0/+61
| | | | | | | | 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-062-12/+27
| | | | | | | | | | | | | 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>
* remove unused interfaceVincent Sanders2019-08-031-9/+0
|
* remove unnecessary browser_window_redraw_rect interfaceVincent Sanders2019-08-031-18/+18
|
* Corewindow: Sanitise scrolling API.Michael Drake2019-08-031-6/+25
| | | | | | | Now the core has a helper so that all the front ends don't need to implement the scroll to show area API. Now they simply have get and set scroll APIs.
* improve browser_window_set_scaleVincent Sanders2019-08-031-2/+3
| | | | | | Allow scale setting to use an absolute value or a relative value. This also imposes sanity limits on the scale range (currently 0.2 to 10.0) and removes the old junk "all" parameter.
* remove scaled parameter from get_dimensionsVincent Sanders2019-08-021-2/+1
|
* split browser and browser_window operationsVincent Sanders2019-08-012-15/+44
|
* Support DEBUG log level in console_logDaniel Silverstone2019-05-061-5/+8
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add console_log to gui tablesDaniel Silverstone2019-05-061-0/+19
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* change content get_source_data interfaces to return uint8_t and size_tVincent Sanders2019-05-051-1/+1
| | | | | previously these interfaces returned char * and unsigned int which was undesirable.
* Logging: migrate and provide content interfaceDaniel Silverstone2019-05-052-37/+66
| | | | | | | | Migrate the console enums into netsurf/console.h and add support so that contents can raise a message to log to the console. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Provide new browser_window_console_log() APIDaniel Silverstone2019-05-051-0/+56
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add browser_window_execDaniel Silverstone2019-05-051-0/+12
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* API: Don't expose urldb_{g|s}et_auth_details to frontends.Michael Drake2018-08-151-21/+0
|
* HTTP Auth: Do get/set auth in the core.Michael Drake2018-08-141-3/+30
|
* Browser: Add function to get bw URL with any fragment.Michael Drake2018-07-231-0/+13
| | | | This returns a ref to the URL.
* Browser: Rename function to access bw URL.Michael Drake2018-07-231-2/+2
|
* Plotters: Expose array of font family strings to front ends.Michael Drake2018-05-231-0/+7
|
* Plotters: Remove width param from path plotter.Michael Drake2018-05-231-2/+0
| | | | We now use the stroke_width in the plot_style.
* Plotters: Split function parameters over multiple lines for readability.Michael Drake2018-05-231-12/+60
|
* Plotters: Change stroke width in the plot_style_t to fixed point.Michael Drake2018-05-231-1/+14
|
* Plotters: Add plot_style_fixed type, and use for font size.Michael Drake2018-05-231-3/+9
|
* Add concept of browser scroll offset saving in local historyDaniel Silverstone2017-09-231-1/+4
|