summaryrefslogtreecommitdiff
path: root/desktop/browser_private.h
Commit message (Collapse)AuthorAgeFilesLines
* JS: Move ownership of jsthread from browser to htmlcDaniel Silverstone2020-03-221-6/+0
| | | | | | | | Since it makes more sense for the htmlc to be responsible for when the JS thread gets destroyed, move its lifetime from the responsibility of the browser window to the html content. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Browser: Split JS threads between current and loadingDaniel Silverstone2020-03-211-1/+6
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* JS: Split concept of JS context into heap and threadDaniel Silverstone2020-03-211-1/+2
| | | | | | | | | In preparation for proper splitting of Javascript support into heaps and threads, this renames the types and corrects the no-js builds to still work. At this time no substantive change in semantics exists, and the duktape build won't work. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Browser window: Rework constification of bw for show_certificates.Michael Drake2020-02-241-2/+4
|
* Keep the complete certificate chain from a fetchVincent Sanders2020-02-231-11/+4
| | | | | | | | | 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: Ensure that back works like 'back to safety'Daniel Silverstone2019-08-211-0/+7
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Reimplement handling of BAD_AUTH inside browser_windowDaniel Silverstone2019-08-061-0/+2
| | | | | | | | | | | | | 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>
* Excise the llcache query pathway.Daniel Silverstone2019-08-051-7/+4
| | | | | | | | 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-051-0/+19
| | | | | | | | | | * 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-051-0/+24
| | | | | | | | 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>
* desktop: Expose llcache query handler temporarilyDaniel Silverstone2019-08-041-0/+7
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* remove unnecessary browser_window_redraw_rect interfaceVincent Sanders2019-08-031-0/+9
|
* remove scaling from internal browser get_dimensions callsVincent Sanders2019-08-021-3/+3
|
* split browser and browser_window operationsVincent Sanders2019-08-011-7/+2
|
* Add concept of browser scroll offset saving in local historyDaniel Silverstone2017-09-231-1/+14
|
* move history bitmap thumbnail into the page information structureVincent Sanders2017-09-101-1/+1
|
* remove depricated local history display APIVincent Sanders2017-06-111-1/+43
| | | | | | Move local history display into separate module using corewindow API. Note this is purely the rendering and teh browser history module still constructs the history data.
* Split local history data from viewer in headersVincent Sanders2017-06-101-0/+51
| | | | | | This separates the local history data object API from the viewing API. It also changes the api to return nsurl references instead of strings.
* remove reformat from browser window operation tableVincent Sanders2017-04-261-1/+2
| | | | | | 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.
* split out browser window drag context into separate structureVincent Sanders2017-03-031-17/+26
|
* split out browser windoe favicon context to separate structureVincent Sanders2017-03-031-8/+23
|
* split out status bar text cache into separate structVincent Sanders2017-03-031-11/+26
|
* move plot style header to netsurf include directoryVincent Sanders2017-01-131-1/+2
| | | | | move plotter style header and adjust all callers to use only what they actually require.
* Update content to split public and internal APIVincent Sanders2016-06-061-0/+1
|
* move desktop window header into public APIVincent Sanders2016-05-301-2/+2
|
* replace wallclock API usage with nsutils monitonic timeVincent Sanders2016-04-211-1/+1
|
* Remove unecessary header include.Michael Drake2014-11-241-1/+0
|
* Add bw function to get scrollbar type.Michael Drake2014-10-251-1/+1
|
* Move browser_window_get_root to private header.Michael Drake2014-10-251-0/+8
|
* Move browser_window_set_status to private header.Michael Drake2014-10-251-0/+8
|
* improve documentation in headersVincent Sanders2014-10-191-1/+19
|
* try and improve usage of browser window internalsVincent Sanders2014-07-061-0/+1
|
* change reformat to be driven from the scheduler like redrawVincent Sanders2014-07-011-3/+0
|
* Make history internal to browser_window module.Michael Drake2014-02-151-1/+1
|
* Allow tab creation without history clone. Changes browser_window_create and ↵Michael Drake2014-02-101-2/+2
| | | | browser_window_navigate flags.
* Move broser_window_initialise_common to browser_private.hMichael Drake2014-02-091-0/+3
|
* Move browser_window_update_extent to browser_private.hMichael Drake2014-02-081-0/+10
|
* Remove search context from browser window, simplify search interface for ↵Michael Drake2013-05-071-3/+0
| | | | | | | | | | | | | | | | | | | | | | front ends. Added content interface for search. Removed bw->cur_search search context. Desktop layer now does nothing except pass search requests from front end onto the bw's current_content via the content interface. Search API reduced to a pair of functions at each level: {desktop|content|html|textplain}_search and {desktop|content|html|textplain}_search_clear Updated front ends to use simplified search API. Only tested GTK and RO builds. These confine the search stuff to render/. However search still uses struct selection. The handling for which is still spread over desktop/ and render/. Also the render/search code itself still fiddles inside html and textplain privates.
* A load of refactoring of how content selection and input work.Michael Drake2013-02-221-14/+6
| | | | | | | | | | | | | Keypresses now go via content interface. Contents don't shove the selection object into browser windows any more. Contents report selection existence by sending message. HTML content keeps track of where selections in it exist. Contents report whether they have input focus via caret setting msg. Caret can be hidden (can still input/paste) or removed. Consolidate textarea selection handling. Make textarea report its selection status changes to client. Various textarea fixes. Changed how we decide when to clear selections, and give focus.
* Move browser_window struct to private header. Places that shouldn't include ↵Michael Drake2012-08-221-0/+177
it do, such as front end code. Frontends that have been updated to build: framebuffer gtk monkey riscos TODO: amiga atari beos cocoa windows