summaryrefslogtreecommitdiff
path: root/desktop
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Treeview: Consolidate search bar height calculation.Michael Drake2019-01-191-26/+27
|
* Treeview: Fix designated struct initialisation.Michael Drake2018-10-041-6/+6
|
* Update version for next development cycleVincent Sanders2018-08-291-3/+3
|
* HTTP Auth: Squash error path leaks.Michael Drake2018-08-151-0/+4
|
* HTTP Auth: Do get/set auth in the core.Michael Drake2018-08-142-7/+201
|
* HTTP authentication: Add some logging when opening 401 windows.Michael Drake2018-08-091-0/+3
|
* Treeview: Allow dragging selection to a selected target.Michael Drake2018-07-261-6/+14
| | | | | | This can be used to consolidate a scattered selection at drop target when the the drop target happens to be part of the selection.
* Treeview: Various changes to redraw rectangle for search bar.Michael Drake2018-07-261-33/+64
|
* Browser: Add function to get bw URL with any fragment.Michael Drake2018-07-231-0/+30
| | | | This returns a ref to the URL.
* Browser: Rename function to access bw URL.Michael Drake2018-07-231-3/+3
|
* Plotters: Remove width param from path plotter.Michael Drake2018-05-231-3/+1
| | | | We now use the stroke_width in the plot_style.