Commit Graph

42 Commits

Author SHA1 Message Date
Vincent Sanders
25bc5b2b8c remove unecessary desktop/browser.h includes 2014-02-04 15:30:53 +00:00
Michael Drake
472108576e Make it more clear that tree.c is deprecated. 2013-09-02 22:58:18 +01:00
Michael Drake
49c7994d05 Remove bulk of old treeview implementation. 2013-09-02 16:19:16 +01:00
Michael Drake
0ae3bfde8a Use extern on tree.c globals. (These go away when front ends can use the new treeview modules directly.) 2013-08-18 17:17:41 +01:00
Michael Drake
8b83456c02 Beginnings of new hotlist module, implemented with new treeview.
Currently it can only open, display and launch entries in an existing hotlist file.

TODO:
  - Generate defualt hotlist when file not found.
  - Add hotlist saving.
  - Allow adding to hotlist.
  - Allow hotlist editing.
  - Allow hotlist nodes to be moved by dragging.
  - Allow hotlist visit data to be updated.
2013-08-16 08:25:25 +01:00
Michael Drake
da84e1a00a Add SSL cert handling to treeview test hack. 2013-08-12 10:32:54 +01:00
Michael Drake
2bd587add5 Make the parasitic hack of the old tree code more robust. Now if the temp_treeview_test option is set, the global history and cookie manager will be replaced with their respective new implementations. 2013-07-26 14:48:26 +01:00
Chris Young
034ba7c2f2 Allow getting the node's icon 2013-05-18 16:35:48 +01:00
Vincent Sanders
52c5cccdeb cleanup tree_create_leaf_node text ownership 2013-05-04 09:49:11 +01:00
Vincent Sanders
5c57a30047 cleanup title string ownership madness in the tree_create_folder_node() API 2013-05-03 21:17:11 +01:00
Chris Young
103c8703ec Expose tree_setup_colours so it can be called from frontends if the system
colour scheme changes.


svn path=/trunk/netsurf/; revision=13730
2012-03-26 21:13:00 +00:00
Chris Young
d169eefe59 Allow new (blank) hotlist entries to be created in the currently-selected folder
(if there is one) as this gives the user more control where their additions are
being created.
Functionality can be enabled/disabled by passing true/false to
hotlist_add_folder/hotlist_add_entry.

svn path=/trunk/netsurf/; revision=13185
2011-11-27 20:07:26 +00:00
Chris Young
dd267bd90a Trap RMB and select the node under the pointer if no other node selected
svn path=/trunk/netsurf/; revision=13146
2011-11-11 13:09:12 +00:00
Chris Young
dd6d1ce527 Make default hotlist folder persistent across sessions
svn path=/trunk/netsurf/; revision=13141
2011-11-10 13:07:47 +00:00
Chris Young
0b6e5da662 Allow setting a default folder in the tree for hotlist entries to go into. Frontends
will need to be updated to use hotlist_set_default_folder() if they want to use this
functionality.

svn path=/trunk/netsurf/; revision=13139
2011-11-10 12:22:48 +00:00
Chris Young
4147c185c8 When launching multiple URLs from a treeview, allow to open one window with multiple
tabs instead of one window per URL.  Make compatible frontends do this by default.

svn path=/trunk/netsurf/; revision=12552
2011-07-02 11:41:06 +00:00
Michael Drake
eddae6af06 Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Daniel Silverstone
699f0cb344 Make the tree icon dir a non-option
svn path=/trunk/netsurf/; revision=11422
2011-01-20 14:05:13 +00:00
Steve Fryatt
0bd39eed21 Allow tree drag status to reflect drags within textareas.
svn path=/trunk/netsurf/; revision=11097
2010-12-19 12:27:33 +00:00
Michael Drake
bb4bda0b3a When a hotlist entry edit ends by cancelling, rather than confirming the change, end the whole edit and don't pass onto next element for edit.
svn path=/trunk/netsurf/; revision=11085
2010-12-17 11:10:22 +00:00
Vincent Sanders
60c840628f Small refactor to change icon names to being passed in from frontends instead of core treeview globals
svn path=/trunk/netsurf/; revision=11053
2010-12-14 00:18:24 +00:00
Chris Young
755e45028d If a drag is in progress that the tree can't handle, it is a 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
2010-10-30 10:43:14 +00:00
Chris Young
25e9b79f5c Allow getting the tree's drag property. This ensures we can see whether the current
drag is something we might need to display an icon for.

svn path=/trunk/netsurf/; revision=10917
2010-10-29 17:40:36 +00:00
John Mark Bell
6173bb0e6c Merge treeview-redux to trunk
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
John Tytgat
5f6c2cbff7 - Compiler warning squash
- Changed a lineending \n\r -> \n for a couple of files.
- More code style conformance.

svn path=/trunk/netsurf/; revision=4762
2008-07-26 22:29:15 +00:00
Vincent Sanders
2f864eeecc Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
Michael Drake
ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
Richard Wilson
0309e937e6 Allow the user to delete cookies.
svn path=/trunk/netsurf/; revision=2770
2006-07-16 21:42:37 +00:00
Richard Wilson
9006b194bb Update forgotten files.
svn path=/trunk/netsurf/; revision=2756
2006-07-16 00:23:10 +00:00
Richard Wilson
546bf17a7f Add relevent extensions to allow treeviews to be used as an embedded list component.
svn path=/trunk/netsurf/; revision=2753
2006-07-15 15:39:33 +00:00
Richard Wilson
a836591435 Add basic cookie viewer, make trees use textarea components for UTF8 editing, trim headers, fix tree redraw issues.
svn path=/trunk/netsurf/; revision=2739
2006-07-13 12:46:02 +00:00
Richard Wilson
593a5cf511 Render trees in UTF8 via rufl (fix 1434430)
svn path=/trunk/netsurf/; revision=2728
2006-07-11 00:40:45 +00:00
John Mark Bell
c09eb457df Unify information databases
svn path=/trunk/netsurf/; revision=2519
2006-04-09 23:21:13 +00:00
Richard Wilson
17d7880bf9 [project @ 2006-01-06 12:50:37 by rjw]
Stop hotlist being lost on QUIT.

svn path=/import/netsurf/; revision=1990
2006-01-06 12:50:37 +00:00
Richard Wilson
2054391345 [project @ 2006-01-06 02:56:00 by rjw]
Stop slight tree redraw errors from wrapping of 16-bit units. Pass the data to update URL tree nodes to where applicable.

svn path=/import/netsurf/; revision=1988
2006-01-06 02:56:00 +00:00
John Mark Bell
6916d94356 [project @ 2005-12-31 06:17:36 by jmb]
Optimise degenerate trees by storing child tail pointer

svn path=/import/netsurf/; revision=1924
2005-12-31 06:17:36 +00:00
Richard Wilson
39e41ea386 [project @ 2005-12-31 04:37:56 by rjw]
Read URL data from url_store. Scroll items into view when expanding.

svn path=/import/netsurf/; revision=1914
2005-12-31 04:37:57 +00:00
Richard Wilson
b88a81b9d9 [project @ 2005-06-23 17:22:28 by rjw]
Allow images to be unloaded to disk or compressed in memory. Provide thumbnails in all tree windows (hotlist, history). Optimise the application initialisation times. Part 1 of 2.

svn path=/import/netsurf/; revision=1761
2005-06-23 17:22:28 +00:00
Richard Wilson
036622f35f [project @ 2005-03-18 23:52:38 by rjw]
Allow windows to be resized to an absolute minimum (toolbars collapse.)

svn path=/import/netsurf/; revision=1541
2005-03-18 23:52:38 +00:00
Richard Wilson
acb914b90a [project @ 2005-02-08 23:34:56 by rjw]
Implement nodes being retained in memory after deletion, stop nodes being able to be moved within themselves.

svn path=/import/netsurf/; revision=1507
2005-02-08 23:34:56 +00:00
Richard Wilson
bd652a750a [project @ 2004-12-09 12:07:32 by rjw]
Fix GTK build. Lose xcalloc() from history.

svn path=/import/netsurf/; revision=1396
2004-12-09 12:07:32 +00:00
Richard Wilson
32db7e04d0 [project @ 2004-12-09 10:30:43 by rjw]
Re-implementation of hotlist via general tree code. Animations can be stopped once more. Purged a few xcalloc() calls.

svn path=/import/netsurf/; revision=1394
2004-12-09 10:30:44 +00:00