summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-10-17 11:41:25 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-10-17 11:41:25 +0100
commit0c0b263b29b044c8517a51d8d22a0eeb622ae6b4 (patch)
tree45c63ba23a21fc81b5798ce3b0f92969b18ee0f3
parente3261a38e2ca461caebcd4a67365c81ba39014d0 (diff)
downloadnetsurf-0c0b263b29b044c8517a51d8d22a0eeb622ae6b4.tar.gz
netsurf-0c0b263b29b044c8517a51d8d22a0eeb622ae6b4.tar.bz2
Add some startup logging.
-rw-r--r--desktop/history_global_core.c3
-rw-r--r--riscos/font.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/desktop/history_global_core.c b/desktop/history_global_core.c
index 50c326684..3222dc7b8 100644
--- a/desktop/history_global_core.c
+++ b/desktop/history_global_core.c
@@ -287,11 +287,14 @@ bool history_global_initialise(struct tree *tree, const char* folder_icon_name)
if (!history_global_initialise_nodes())
return false;
+ LOG(("Building history tree"));
+
global_history_initialised = true;
urldb_iterate_entries(global_history_add_internal);
global_history_initialised = false;
tree_set_node_expanded(global_history_tree, global_history_tree_root,
false, true, true);
+ LOG(("History tree built"));
return true;
}
diff --git a/riscos/font.c b/riscos/font.c
index ff9127c0b..717b9606c 100644
--- a/riscos/font.c
+++ b/riscos/font.c
@@ -76,6 +76,7 @@ void nsfont_init(void)
nsfont_check_fonts();
+ LOG(("Initialise RUfl"));
code = rufl_init();
if (code != rufl_OK) {
if (code == rufl_FONT_MANAGER_ERROR)
@@ -87,6 +88,7 @@ void nsfont_init(void)
die("The Unicode font library could not be initialized. "
"Please report this to the developers.");
}
+ LOG(("RUfl initialised"));
if (rufl_family_list_entries == 0)
die("No fonts could be found. At least one font must be "