summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* HTML: Box coordinates: Take fast route to float container.Michael Drake2019-08-051-4/+4
| | | | And assert that floats have a float_container.
* Excise the llcache query pathway.Daniel Silverstone2019-08-0519-405/+177
| | | | | | | | 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-0511-137/+226
| | | | | | | | | | * 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: Rename content_broadcast_errorcode()Daniel Silverstone2019-08-0513-61/+70
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Content messages: Remove ERRORCODE, rework ERRORDaniel Silverstone2019-08-0510-80/+43
| | | | | | | 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-052-0/+4
|
* remove shadow scale variable from beosVincent Sanders2019-08-052-11/+0
|
* remove shadow scale variable from atariVincent Sanders2019-08-052-3/+0
|
* form: Fix situation where a gadget initialises with NULL valueDaniel Silverstone2019-08-041-2/+6
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* html: Mirror gadget values in and out of the DOMDaniel Silverstone2019-08-046-1/+169
| | | | | | | | | Currently only supporting text input, password input, and hidden input, along with text areas, this mirrors the text values in and out of the DOM, allowing JS to adjust the gadget values and for the gadget values to be interrogated from JS. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* remove RISC OS scale shadow variableVincent Sanders2019-08-042-14/+14
|
* remove unecessary scaling in RISC OS get and set scroll offsetsVincent Sanders2019-08-041-11/+13
|
* change RISC OS keypress handling for scale to not use shadow variableVincent Sanders2019-08-041-64/+99
|
* remove core snapping for values set in absolute modeVincent Sanders2019-08-041-7/+2
|
* make risc os title setting not use shadow scale valueVincent Sanders2019-08-041-6/+10
|
* remove unused interfaceVincent Sanders2019-08-042-36/+0
|
* change browser_window_drop_file_at_point() to take unscaled coordinatesVincent Sanders2019-08-043-57/+92
|
* RISC OS: Fix log message.Michael Drake2019-08-041-1/+1
|
* RISC OS: Try setting the caret position to give the window focus.Michael Drake2019-08-041-1/+9
|
* change browser_window_redraw to use unscaled coordinatesVincent Sanders2019-08-046-21/+17
|
* trivial documentation cleanupsVincent Sanders2019-08-042-3/+3
|
* Add content handlers for queriesDaniel Silverstone2019-08-048-1/+122
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* desktop: Expose llcache query handler temporarilyDaniel Silverstone2019-08-042-1/+17
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* llcache: Do not delete objects if they were iterator targetsDaniel Silverstone2019-08-041-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* content, hlcache: Propagate query events upwardDaniel Silverstone2019-08-042-7/+22
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* llcache.h: Migrate query event to own struct typeDaniel Silverstone2019-08-041-5/+10
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* llcache: pass the cb_pw in query_finishedDaniel Silverstone2019-08-041-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Duktape element binding: Check dom_string_create for error.Michael Drake2019-08-041-0/+6
|
* CSS hints: Change css_hint_advance to advance pointer by parameter.Michael Drake2019-08-041-55/+55
|
* RISC OS: Set window has focus in local history open.Michael Drake2019-08-041-0/+1
|
* remove unused gtk window interfaces and clean up documentationVincent Sanders2019-08-042-20/+66
|
* remove unused interfaceVincent Sanders2019-08-031-9/+0
|
* remove unnecessary browser_window_redraw_rect interfaceVincent Sanders2019-08-034-28/+31
|
* download: Include log.hDaniel Silverstone2019-08-031-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Migrate query dispatch up from llcache to hlcacheDaniel Silverstone2019-08-035-76/+117
| | | | | | | | | | | | As a first step in refactoring query handling to be managed by `browser_window`, this migrates the calling of the query handler from the llcache object code up to the hlcache. In theory this may result in multiple queries happening for one object, but we mitigate multiple-responses in the llcache so all should be well. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* monkey_driver: Fix sleep-msDaniel Silverstone2019-08-031-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* local_history: Improve up/down navigationDaniel Silverstone2019-08-031-10/+67
| | | | | | | | | | When pressing up/down on a node when you can't go up/down the window will now search for a parent node which is a child of a branching point, and move to that and try again for the up/down movement. This makes it slightly more intuitive to move through the tree. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* RISC OS: Fix ro_cw_get_window_dimensions to account for toolbar height.Michael Drake2019-08-031-0/+9
|
* RISC OS: Core window: X scroll is positive, Y scroll is negative.Michael Drake2019-08-031-3/+3
|
* Corewindow helper: Add documentation for cw_helper_scroll_visible()Michael Drake2019-08-031-1/+8
|
* Amiga: Fix the corewindow get scroll call.Michael Drake2019-08-031-8/+1
|
* Corewindow: Sanitise scrolling API.Michael Drake2019-08-0310-108/+202
| | | | | | | 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.
* Corewindow helper: Add helper to scroll to visible rectangle.Michael Drake2019-08-032-0/+130
| | | | | This takes the algorithm from the GTK front end and puts it in the core, so it doesn't need to be implemented for every front end.
* make use of improved browser_window_set_scale API in frontendsVincent Sanders2019-08-036-65/+19
|
* improve browser_window_set_scaleVincent Sanders2019-08-032-24/+62
| | | | | | 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.
* change browser_window_get_features to use unscaled coordinatesVincent Sanders2019-08-037-69/+89
|
* change browser_window_mouse_track to use unscaled coordinatesVincent Sanders2019-08-039-201/+231
|
* change browser_window_mouse_click to use unscaled coordinatesVincent Sanders2019-08-039-168/+202
| | | | | this means frontends no longer need to scale mouse click events thus simplifying their implementation.