netsurf/desktop
Michael Drake 9aecf47408 Treeview: Rationalise initialisation and finalisation.
Previously the expected behaviour for front ends using the correct
API for hotlist, global history, cookie manager, and ssl cert
viewer was that the front end would initialise the treeview module
on startup and finalise it on application exit.

However, this meant that the front ends had to include the core
treeview header, which they didn't otherwise need.

Since the tree module provided access to the new treeview utilities
through the old tree API, and was used by front ends with no changes
for the new treeview API, the tree layer refcounted initialisations
of treeview-based widgets, and only called the underlying treeview
init/fini functions when needed.

This change moves that refcounting into the treeview module.  Now
the hotlist, global history, cookie manager, and ssl cert viewer
widgets call call treeview init/fini as part of their own
initialisation and finalisation.  This means that front ends
using the correct APIs for treeview-based widgets don't need to
know anything about the underlying treeview, and the tree module
compatibility layer has had its treeview refcounting removed.

Finally, the treeview_init function took a font size parameter.
Now it does not and lit gets font size from config.  We probably
want to add a new `treeview_font_size` option to nsoptions, and
have differnent defaults on different platforms. 12pt on RISC OS,
and 11pt elsewhere, most likely.
2016-08-10 18:57:36 +01:00
..
browser_history.c Update content to split public and internal API 2016-06-06 09:01:38 +01:00
browser_history.h make local history navigation return errors 2014-10-30 22:21:36 +00:00
browser_private.h Update content to split public and internal API 2016-06-06 09:01:38 +01:00
browser.c remove unecessary textinput header use from global history header 2016-06-30 15:40:10 +01:00
cookie_manager.c Treeview: Rationalise initialisation and finalisation. 2016-08-10 18:57:36 +01:00
cookie_manager.h Fix cookie manager keypress consumption return 2016-07-31 13:25:20 +01:00
core_window.h remove unecessary utils/types.h 2014-11-02 20:10:32 +00:00
download.c move download header into public API 2016-05-30 11:15:58 +01:00
download.h fix nsurl references 2014-05-08 18:03:27 +01:00
font_haru.c move the CSS content handler 2016-05-26 11:18:41 +01:00
font_haru.h Clean up saving as PDF 2014-10-26 23:53:14 +00:00
frame_types.h move desktop window header into public API 2016-05-30 17:32:57 +01:00
frames.c Update content to split public and internal API 2016-06-06 09:01:38 +01:00
frames.h move desktop window header into public API 2016-05-30 17:32:57 +01:00
global_history.c Treeview: Rationalise initialisation and finalisation. 2016-08-10 18:57:36 +01:00
global_history.h fix global history keypress consumption return 2016-08-04 23:40:34 +01:00
gui_factory.c Allow certificate verification user prompt creation to return errors 2016-07-31 13:25:20 +01:00
gui_internal.h Split up graphical user interface operations table headers 2014-10-16 22:33:43 +01:00
gui_table.h split out the layout glyph sizing and splitting API 2016-04-23 23:32:21 +01:00
hotlist.c Treeview: Rationalise initialisation and finalisation. 2016-08-10 18:57:36 +01:00
hotlist.h fix hotlist keypress consumption return 2016-08-06 16:59:43 +01:00
knockout.c move plotters header into public API 2016-05-30 21:05:57 +01:00
knockout.h move plotters header into public API 2016-05-30 21:05:57 +01:00
Makefile Remove unused thumbnail sources from core and gtk 2015-04-23 22:50:16 +01:00
mouse.c move desktop window header into public API 2016-05-30 17:32:57 +01:00
netsurf.c Allow certificate verification user prompt creation to return errors 2016-07-31 13:25:20 +01:00
options.h Return to original timeouts for now: One 30s attempt. 2016-02-15 09:58:52 +00:00
plot_style.c move plotters header into public API 2016-05-30 21:05:57 +01:00
plot_style.h fix missing includes from header API changes 2016-05-30 21:21:09 +01:00
print.c Allow include directories to be added by sub makefiles 2016-06-06 14:47:27 +01:00
print.h move the CSS content handler 2016-05-26 11:18:41 +01:00
printer.h cleanup printer API usage of plotter headers 2016-05-04 15:43:43 +01:00
save_complete.c Allow include directories to be added by sub makefiles 2016-06-06 14:47:27 +01:00
save_complete.h Port save complete to libdom. 2012-11-03 23:19:45 +00:00
save_pdf.c move plotters header into public API 2016-05-30 21:05:57 +01:00
save_pdf.h improve error returns from pdf save API 2016-04-26 11:02:17 +01:00
save_text.c Update content to split public and internal API 2016-06-06 09:01:38 +01:00
save_text.h Merge jmb/new-cache; r=dsilvers,rs=vince 2010-03-28 12:56:39 +00:00
scrollbar.c move plotters header into public API 2016-05-30 21:05:57 +01:00
scrollbar.h remove all core usage of warn_user API 2016-04-26 12:50:16 +01:00
search.c move page search gui callbacks to their own operations table 2014-03-18 22:32:52 +00:00
search.h fix up more doxygen errors 2014-11-08 16:49:32 +00:00
searchweb.c URL escape: Simplify to avoid unnecessary allocation. 2016-07-25 09:04:35 +01:00
searchweb.h fix warning 2014-11-22 16:39:31 +00:00
selection.c move the public form API 2016-06-14 12:39:54 +01:00
selection.h move mouse and pointer state header into public API 2016-05-30 12:10:08 +01:00
sslcert_viewer.c Treeview: Rationalise initialisation and finalisation. 2016-08-10 18:57:36 +01:00
sslcert_viewer.h fix certificate viewer keypress consumption return 2016-07-31 13:25:20 +01:00
system_colour.c move the CSS content handler 2016-05-26 11:18:41 +01:00
system_colour.h stop system colours being anything to do with frontends 2014-01-10 14:32:29 +00:00
textarea.c move key press enums and operations to their own header 2016-07-01 14:27:04 +01:00
textarea.h move desktop window header into public API 2016-05-30 17:32:57 +01:00
textinput.c move key press enums and operations to their own header 2016-07-01 14:27:04 +01:00
textinput.h move key press enums and operations to their own header 2016-07-01 14:27:04 +01:00
theme.h move themse install to its own header 2014-11-06 14:19:15 +00:00
tree.c Treeview: Rationalise initialisation and finalisation. 2016-08-10 18:57:36 +01:00
tree.h move mouse and pointer state header into public API 2016-05-30 12:10:08 +01:00
treeview.c Treeview: Rationalise initialisation and finalisation. 2016-08-10 18:57:36 +01:00
treeview.h Treeview: Rationalise initialisation and finalisation. 2016-08-10 18:57:36 +01:00
version.c update version info for next development cycle 2016-04-06 12:01:07 +01:00
version.h split version info into its own header and remove unnecessary nesurf.h includes 2014-10-13 15:08:16 +01:00