summaryrefslogtreecommitdiff
path: root/desktop/tree.c
Commit message (Collapse)AuthorAgeFilesLines
* Port more internals to nsurl. Front ends may need updating.Michael Drake2011-10-031-1/+10
| | | | svn path=/trunk/netsurf/; revision=12926
* Fix treeview deselection redraw issue.Michael Drake2011-08-241-5/+6
| | | | svn path=/trunk/netsurf/; revision=12662
* Revert accidental changeChris Young2011-07-281-1/+1
| | | | svn path=/trunk/netsurf/; revision=12631
* Fix memory leakChris Young2011-07-281-1/+2
| | | | svn path=/trunk/netsurf/; revision=12630
* Fix GCC 4.6 warnings in coreJohn Mark Bell2011-07-261-2/+1
| | | | svn path=/trunk/netsurf/; revision=12629
* When launching multiple URLs from a treeview, allow to open one window with ↵Chris Young2011-07-021-5/+15
| | | | | | | | multiple tabs instead of one window per URL. Make compatible frontends do this by default. svn path=/trunk/netsurf/; revision=12552
* Remove plotter table global. Pass a redraw context around redraw functions. ↵Michael Drake2011-06-301-39/+52
| | | | | | Knockout could be handled better. Note: untested on most front ends. svn path=/trunk/netsurf/; revision=12543
* Unify content_redraw params in content_redraw_data struct. Core and RISC OS ↵Michael Drake2011-06-281-3/+14
| | | | | | content handlers updated. svn path=/trunk/netsurf/; revision=12529
* Disable extra logging. Here treeview init is down to ~5 seconds from ~20.Chris Young2011-06-041-1/+1
| | | | | | | Still more room for improvement, as adding nodes appears to recalculate the widths of all the parent nodes even though (the text and icon of) those haven't changed. svn path=/trunk/netsurf/; revision=12463
* Rudimentary text width caching to speed up many duplicate "Today", ↵Chris Young2011-06-041-4/+16
| | | | | | "Yesterday" calcs svn path=/trunk/netsurf/; revision=12461
* Remove at least one instance of unnecessary recalculationChris Young2011-06-041-13/+19
| | | | svn path=/trunk/netsurf/; revision=12460
* Extra logging to track the source of node size calculationsChris Young2011-06-041-4/+21
| | | | | | A couple of minor changes to prevent unnecessary recalculation svn path=/trunk/netsurf/; revision=12459
* consolidate content redraw Vincent Sanders2011-05-081-1/+1
| | | | | | more cleanups ready for image content refactor svn path=/trunk/netsurf/; revision=12317
* Merge branches/jmb/content-factory to trunkJohn Mark Bell2011-05-061-1/+2
| | | | svn path=/trunk/netsurf/; revision=12283
* Pass clip rect to clip plotters as struct. Simplify clip rect handling in ↵Michael Drake2011-02-141-14/+15
| | | | | | debug window code. Pass clip rect to select menu as struct. svn path=/trunk/netsurf/; revision=11683
* Pass clip rect to textarea redraw as struct rect.Michael Drake2011-02-141-2/+1
| | | | svn path=/trunk/netsurf/; revision=11681
* Pass clip rect as struct through content_redraw api. Update the front ends ↵Michael Drake2011-02-131-1/+1
| | | | | | to use this. Note only RO build tested. svn path=/trunk/netsurf/; revision=11670
* Move stuct rect out of box.h and tree.c.Michael Drake2011-02-111-5/+0
| | | | svn path=/trunk/netsurf/; revision=11647
* Make the tree icon dir a non-optionDaniel Silverstone2011-01-201-68/+75
| | | | svn path=/trunk/netsurf/; revision=11422
* Fix empty tree rendering.Michael Drake2010-12-291-12/+13
| | | | svn path=/trunk/netsurf/; revision=11135
* Use colour options for treeview rendering.Michael Drake2010-12-211-13/+48
| | | | svn path=/trunk/netsurf/; revision=11118
* Enable knockout for tree redraw.Michael Drake2010-12-191-0/+9
| | | | svn path=/trunk/netsurf/; revision=11099
* Allow tree drag status to reflect drags within textareas.Steve Fryatt2010-12-191-0/+2
| | | | svn path=/trunk/netsurf/; revision=11097
* Draw tree background when there are no nodes.Michael Drake2010-12-181-4/+4
| | | | svn path=/trunk/netsurf/; revision=11092
* Simplify text plot position calc.Michael Drake2010-12-171-3/+1
| | | | svn path=/trunk/netsurf/; revision=11088
* Base treeview line height on text height, unless that's too small for the ↵Michael Drake2010-12-171-5/+14
| | | | | | icon to fit. svn path=/trunk/netsurf/; revision=11087
* When a hotlist entry edit ends by cancelling, rather than confirming the ↵Michael Drake2010-12-171-1/+2
| | | | | | change, end the whole edit and don't pass onto next element for edit. svn path=/trunk/netsurf/; revision=11085
* Improve double click handling.Michael Drake2010-12-151-6/+10
| | | | svn path=/trunk/netsurf/; revision=11068
* Don't give up on a mouse action because BROWSER_MOUSE_PRESS_{1|2} is set. ↵Michael Drake2010-12-151-9/+11
| | | | | | The RISC OS front end sets them for action-on-button-press (rather than release) behaviour. svn path=/trunk/netsurf/; revision=11065
* Possible fix for issue reported by Chris Young.Michael Drake2010-12-151-1/+5
| | | | svn path=/trunk/netsurf/; revision=11062
* Much faster redraw of treeviews.Michael Drake2010-12-151-8/+19
| | | | svn path=/trunk/netsurf/; revision=11058
* Further tidy up of node redraw.Michael Drake2010-12-151-20/+24
| | | | svn path=/trunk/netsurf/; revision=11057
* Pass clip rectangle around tree redraw. Update clipping area with respect ↵Michael Drake2010-12-151-104/+163
| | | | | | to what's being plotted. Simplify tree redraw and add more comments. svn path=/trunk/netsurf/; revision=11056
* Set text position with respect to TREE_LINE_HEIGHT.Michael Drake2010-12-121-6/+16
| | | | svn path=/trunk/netsurf/; revision=11043
* Set expansion toggle position with respect to TREE_LINE_HEIGHT.Michael Drake2010-12-121-2/+2
| | | | svn path=/trunk/netsurf/; revision=11042
* Set icon position with respect to TREE_LINE_HEIGHT.Michael Drake2010-12-121-9/+9
| | | | svn path=/trunk/netsurf/; revision=11041
* Remove redundant line plots, from tree_draw_node() and add comments.Michael Drake2010-12-121-12/+14
| | | | svn path=/trunk/netsurf/; revision=11040
* More "NetSurfy" colours. Note treeview restyling is still in progress; this ↵Michael Drake2010-12-121-3/+3
| | | | | | will change. svn path=/trunk/netsurf/; revision=11039
* Create some tree plot styles and use them.Michael Drake2010-12-121-9/+22
| | | | svn path=/trunk/netsurf/; revision=11038
* Remove pointless rectangle fill under text.Michael Drake2010-12-121-3/+0
| | | | svn path=/trunk/netsurf/; revision=11037
* Rename usages of "furniture" which applied to expansion toggle boxes to ↵Michael Drake2010-12-121-20/+25
| | | | | | "expansion_toggle". Now "furniture" refers exclusively to all tree furniture. Start commenting things. svn path=/trunk/netsurf/; revision=11036
* Rename tree_draw_node_expansion() to tree_draw_node_expansion_toggle(). ↵Michael Drake2010-12-121-27/+31
| | | | | | Pedantic wrap/indentation changes in tree_draw_node. svn path=/trunk/netsurf/; revision=11035
* Fix TREE_ICON_SIZE to match size of actual icons. Fix clip rectangle for ↵Michael Drake2010-12-121-3/+3
| | | | | | icon redraw. svn path=/trunk/netsurf/; revision=11034
* Use TREE_LINE_HEIGHT define instead of magic 20 everywhere.Michael Drake2010-12-121-12/+10
| | | | svn path=/trunk/netsurf/; revision=11033
* Clearer font styles.Michael Drake2010-12-121-6/+6
| | | | svn path=/trunk/netsurf/; revision=11032
* If a drag is in progress that the tree can't handle, it is a ↵Chris Young2010-10-301-0/+2
| | | | | | | | TREE_UNKNOWN_DRAG not a TREE_NO_DRAG, as the platform code might be able to deal with it. svn path=/trunk/netsurf/; revision=10920
* Only set TREE_MOVE_DRAG is the tree is TREE_MOVABLEChris Young2010-10-301-1/+2
| | | | svn path=/trunk/netsurf/; revision=10919
* Allow getting the tree's drag property. This ensures we can see whether the ↵Chris Young2010-10-291-7/+12
| | | | | | | | current drag is something we might need to display an icon for. svn path=/trunk/netsurf/; revision=10917
* Make CR also stop and save tree editsChris Young2010-10-171-0/+1
| | | | svn path=/trunk/netsurf/; revision=10892
* - Request correct redraw area when changing a node's size in ↵Steve Fryatt2010-10-101-29/+29
| | | | | | | | tree_handle_node_changed(). - Update parameter documentation to match function definitions. svn path=/trunk/netsurf/; revision=10876