Revision: 2911 http://geany.svn.sourceforge.net/geany/?rev=2911&view=rev Author: ntrel Date: 2008-08-28 16:59:20 +0000 (Thu, 28 Aug 2008)
Log Message: ----------- Fix global tags loaded debug message, display total tags count. Add comment to warn about adding tags files vs. downloading separately.
Modified Paths: -------------- trunk/ChangeLog trunk/src/symbols.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-08-27 16:41:02 UTC (rev 2910) +++ trunk/ChangeLog 2008-08-28 16:59:20 UTC (rev 2911) @@ -1,3 +1,11 @@ +2008-08-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> + + * src/symbols.c: + Fix global tags loaded debug message, display total tags count. + Add comment to warn about adding tags files vs. downloading + separately. + + 2008-08-27 Nick Treleaven <nick.treleaven<at>btinternet.com>
* src/highlighting.c, src/plugindata.h, src/filetypes.c,
Modified: trunk/src/symbols.c =================================================================== --- trunk/src/symbols.c 2008-08-27 16:41:02 UTC (rev 2910) +++ trunk/src/symbols.c 2008-08-28 16:59:20 UTC (rev 2911) @@ -65,6 +65,7 @@ const gchar *tag_file; } TagFileInfo;
+/* Check before adding any more tags files, usually they should be downloaded separately. */ enum /* Geany tag files */ { GTF_C, @@ -1179,8 +1180,11 @@ gchar *fname;
fname = g_strconcat(user_tags_dir, G_DIR_SEPARATOR_S, node->data, NULL); - tm_workspace_load_global_tags(fname, tm_lang); - geany_debug("Loaded %s (%s).", fname, ft->name); + if (tm_workspace_load_global_tags(fname, tm_lang)) + { + geany_debug("Loaded %s (%s), total tags: %u.", fname, ft->name, + tm_get_workspace()->global_tags->len); + } g_free(fname); } g_list_foreach(fnames, (GFunc) g_free, NULL);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.