summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* rationalise history icon bitmap handling to ensure correct lifetimeVincent Sanders2017-09-102-10/+1
|
* update RISC OS frontend to use core window for local historyVincent Sanders2017-05-281-1/+4
|
* update invalidate area core window APIVincent Sanders2017-05-231-6/+22
| | | | | | | | slightly extends the invalidate core window API with error return and whole window invalidation. Also renames it to be more inline with browser window API call. cannot quite reuse browser window API yet as that applies scaling
* improve documentation comments in browser window interface tableVincent Sanders2017-05-011-31/+57
|
* simplify the browser window operations by removing scroll APIVincent Sanders2017-04-262-38/+13
| | | | | The browser window scrollingAPI was duplicated in window operation table, this simplifies it to a single set_scroll API.
* remove reformat from browser window operation tableVincent Sanders2017-04-262-31/+47
| | | | | | the reformat callback was completely unecessary and implementations appeared potentialy buggy. This rationalises the API and reduces the number of operations a frontend must provide.
* replace redraw and update methods with invalidate in window table APIVincent Sanders2017-04-191-14/+22
|
* add urldb tests for content type settingVincent Sanders2017-03-131-2/+2
|
* split out browser window drag context into separate structureVincent Sanders2017-03-031-0/+3
|
* Update plotter API to pass contextVincent Sanders2017-02-111-84/+208
|
* create netsurf inttypes header to have portable integer formatting macrosVincent Sanders2017-01-211-0/+59
|
* rationalise use of utils/utils.h headerVincent Sanders2017-01-191-0/+8
|
* move plot style header to netsurf include directoryVincent Sanders2017-01-135-3/+200
| | | | | move plotter style header and adjust all callers to use only what they actually require.
* make local history use system coloursVincent Sanders2017-01-121-0/+35
|
* improve corewindow API documentationVincent Sanders2016-12-241-12/+12
|
* Improve window operation table documentationVincent Sanders2016-10-261-10/+35
|