Revision: 1325
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1325&view=rev
Author: colombanw
Date: 2010-05-01 17:47:37 +0000 (Sat, 01 May 2010)
Log Message:
-----------
GeanyGenDoc: Display a message when no setting applies to a tag
This eases writing/debugging of rules, and is not that intrusive for
production use.
Modified Paths:
--------------
trunk/geanygendoc/src/ggd.c
Modified: trunk/geanygendoc/src/ggd.c
===================================================================
--- trunk/geanygendoc/src/ggd.c 2010-05-01 17:47:09 UTC (rev 1324)
+++ trunk/geanygendoc/src/ggd.c 2010-05-01 17:47:37 UTC (rev 1325)
@@ -471,6 +471,11 @@
} else {
g_hash_table_insert (tag_done_table, (gpointer)tag, (gpointer)tag);
}
+ } else if (! setting) {
+ msgwin_status_add (_("No setting applies to symbol \"%s\" of type \"%s\" "
+ "at line %lu"),
+ tag->name, ggd_tag_get_type_name (tag),
+ tag->atts.entry.line);
}
}
sci_end_undo_action (sci);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1324
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1324&view=rev
Author: colombanw
Date: 2010-05-01 17:47:09 +0000 (Sat, 01 May 2010)
Log Message:
-----------
GeanyGenDoc: Decrease Geany dependency
Decrease plugin API dependency to 171, which should be the actual
version we need and should make the plugin work with Geany 0.18.1.
Modified Paths:
--------------
trunk/geanygendoc/configure.ac
trunk/geanygendoc/src/ggd-plugin.c
Modified: trunk/geanygendoc/configure.ac
===================================================================
--- trunk/geanygendoc/configure.ac 2010-05-01 17:46:41 UTC (rev 1323)
+++ trunk/geanygendoc/configure.ac 2010-05-01 17:47:09 UTC (rev 1324)
@@ -19,7 +19,7 @@
AC_PROG_INSTALL
# checking for Geany
-PKG_CHECK_MODULES(GEANY, [geany >= 0.19])
+PKG_CHECK_MODULES(GEANY, [geany >= 0.18.1])
PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.12])
PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.14])
# need GIO >= 2.18 for g_memory_output_stream_get_data_size()
Modified: trunk/geanygendoc/src/ggd-plugin.c
===================================================================
--- trunk/geanygendoc/src/ggd-plugin.c 2010-05-01 17:46:41 UTC (rev 1323)
+++ trunk/geanygendoc/src/ggd-plugin.c 2010-05-01 17:47:09 UTC (rev 1324)
@@ -46,7 +46,7 @@
GeanyFunctions *geany_functions;
/* TODO check minimum requierment */
-PLUGIN_VERSION_CHECK (172)
+PLUGIN_VERSION_CHECK (171)
PLUGIN_SET_INFO (GGD_PLUGIN_NAME,
_("Generates documentation comments basis from source code"),
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1321
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1321&view=rev
Author: colombanw
Date: 2010-05-01 17:45:45 +0000 (Sat, 01 May 2010)
Log Message:
-----------
GeanyGenDoc: Fix crash when documenting symbol with no rules set
Don't try to access the GgdDocSetting.autodoc_children field if the
setting is NULL (oops).
Modified Paths:
--------------
trunk/geanygendoc/src/ggd.c
Modified: trunk/geanygendoc/src/ggd.c
===================================================================
--- trunk/geanygendoc/src/ggd.c 2010-05-01 17:45:11 UTC (rev 1320)
+++ trunk/geanygendoc/src/ggd.c 2010-05-01 17:45:45 UTC (rev 1321)
@@ -511,7 +511,7 @@
GList *tag_list = NULL;
setting = get_setting_from_tag (doctype, tag_array, tag, &tag);
- if (setting->autodoc_children) {
+ if (setting && setting->autodoc_children) {
tag_list = ggd_tag_find_children_filtered (tag_array, tag, 0,
setting->matches);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1320
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1320&view=rev
Author: colombanw
Date: 2010-05-01 17:45:11 +0000 (Sat, 01 May 2010)
Log Message:
-----------
GeanyGenDoc: Fix support of argument list and return type for methods
Methods was just forgotten in the list of things that can have
arguments and return type (oops).
Modified Paths:
--------------
trunk/geanygendoc/src/ggd.c
Modified: trunk/geanygendoc/src/ggd.c
===================================================================
--- trunk/geanygendoc/src/ggd.c 2010-04-29 00:41:48 UTC (rev 1319)
+++ trunk/geanygendoc/src/ggd.c 2010-05-01 17:45:11 UTC (rev 1320)
@@ -155,7 +155,8 @@
/* get arguments & return type if appropriate */
if (tag->type & (tm_tag_function_t |
tm_tag_macro_with_arg_t |
- tm_tag_prototype_t)) {
+ tm_tag_prototype_t |
+ tm_tag_method_t)) {
gboolean returns;
CtplValue *v;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.