summaryrefslogtreecommitdiff
path: root/desktop
Commit message (Collapse)AuthorAgeFilesLines
...
* Excise the llcache query pathway.Daniel Silverstone2019-08-058-147/+128
| | | | | | | | 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-054-7/+49
| | | | | | | | | | * 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 messages: Remove ERRORCODE, rework ERRORDaniel Silverstone2019-08-052-47/+10
| | | | | | | 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-051-0/+2
|
* remove core snapping for values set in absolute modeVincent Sanders2019-08-041-7/+2
|
* change browser_window_drop_file_at_point() to take unscaled coordinatesVincent Sanders2019-08-041-38/+65
|
* change browser_window_redraw to use unscaled coordinatesVincent Sanders2019-08-041-0/+3
|
* trivial documentation cleanupsVincent Sanders2019-08-041-1/+1
|
* Add content handlers for queriesDaniel Silverstone2019-08-043-0/+54
| | | | 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>
* remove unnecessary browser_window_redraw_rect interfaceVincent Sanders2019-08-032-8/+9
|
* 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-031-0/+7
| | | | | | | | | | | | 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>
* 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>
* Corewindow helper: Add documentation for cw_helper_scroll_visible()Michael Drake2019-08-031-1/+8
|
* Corewindow: Sanitise scrolling API.Michael Drake2019-08-033-11/+9
| | | | | | | 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.
* improve browser_window_set_scaleVincent Sanders2019-08-031-22/+59
| | | | | | 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-031-48/+64
|
* change browser_window_mouse_track to use unscaled coordinatesVincent Sanders2019-08-031-153/+175
|
* change browser_window_mouse_click to use unscaled coordinatesVincent Sanders2019-08-031-118/+140
| | | | | this means frontends no longer need to scale mouse click events thus simplifying their implementation.
* treeview: Support scrolling to the highlighted nodeDaniel Silverstone2019-08-021-0/+36
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Local history: Consolidate thumbnail dimensions.Michael Drake2019-08-023-50/+58
|
* Local history: Treat thumbnail dimensions as CSS pixels.Michael Drake2019-08-021-4/+6
|
* local_history: Handle keys for navigating local historyDaniel Silverstone2019-08-021-0/+54
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* local_history: Add concept of a cursor to the local historyDaniel Silverstone2019-08-022-7/+66
| | | | | | | | So that we can eventually navigate around local history by keyboard, add the concept of a history cursor to the local history core window. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* remove scaled parameter from get_dimensionsVincent Sanders2019-08-021-2/+2
|
* remove scaling from internal browser get_dimensions callsVincent Sanders2019-08-023-12/+18
|
* Browser window: Make invalidate gui callback use unsacled coordinates.Michael Drake2019-08-011-7/+9
|
* reformat and tidy up browser window code ready for corewindow changesVincent Sanders2019-08-011-1067/+1146
|
* split browser and browser_window operationsVincent Sanders2019-08-019-3479/+3509
|
* Fix clamping in commit fa64763b0d8c6566eda5f6547e7f2f3e62b77613Vincent Sanders2019-08-011-1/+2
|
* browser_history.c: Clamp contents to be 1x1 at min.Daniel Silverstone2019-08-011-2/+10
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* treeview: Correct mis-freeing in treeview_create error pathDaniel Silverstone2019-08-011-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Update version for next development cycleVincent Sanders2019-07-171-3/+3
|
* cleanup browser window message handlingVincent Sanders2019-07-101-143/+148
| | | | | | | | separate out ready and done message processing to make the code more readable. remove checking of content status as content_close() handles that itself.
* browser.c: Don't require > 0 chars in loggingDaniel Silverstone2019-06-091-1/+4
| | | | | | | Sometimes JavaScript chooses to log an empty string. We should honour that by requiring msg be a valid empty string. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Ensure we set the defaults for the log options to those compiled inDaniel Silverstone2019-05-281-2/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Browser window: Handle the content msg for getdims.Michael Drake2019-05-061-0/+12
|
* Logging: Bump lwc leak exit report to WARNING level.Michael Drake2019-05-061-1/+1
|
* Support DEBUG log level in console_logDaniel Silverstone2019-05-061-0/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Use console_log from browser_window_console_logDaniel Silverstone2019-05-061-1/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add console_log to gui tablesDaniel Silverstone2019-05-061-0/+12
| | | | 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-27/+38
| | | | | previously these interfaces returned char * and unsigned int which was undesirable.
* Logging: migrate and provide content interfaceDaniel Silverstone2019-05-051-0/+7
| | | | | | | | 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/+43
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add browser_window_execDaniel Silverstone2019-05-051-0/+21
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Treeview: Consider search bar for redraw area calculation.Michael Drake2019-01-191-2/+2
|
* Treeview: Use helper to get tree height.Michael Drake2019-01-191-1/+1
|