Revision: 1997
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1997&view=rev
Author: frlan
Date: 2011-03-19 13:52:35 +0000 (Sat, 19 Mar 2011)
Log Message:
-----------
Tableconvert: Make plugin function available via tools menu
Modified Paths:
--------------
trunk/geany-plugins/tableconvert/ChangeLog
trunk/geany-plugins/tableconvert/src/tableconvert.c
Modified: trunk/geany-plugins/tableconvert/ChangeLog
===================================================================
--- trunk/geany-plugins/tableconvert/ChangeLog 2011-03-17 21:49:25 UTC (rev 1996)
+++ trunk/geany-plugins/tableconvert/ChangeLog 2011-03-19 13:52:35 UTC (rev 1997)
@@ -1,3 +1,8 @@
+2011-03-19 Frank Lanitz <frlan(a)frank.uvena.de>
+
+ * Make plugin function available via tools menu.
+
+
2011-03-17 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* Fix an minor issue with shadowing variables.
Modified: trunk/geany-plugins/tableconvert/src/tableconvert.c
===================================================================
--- trunk/geany-plugins/tableconvert/src/tableconvert.c 2011-03-17 21:49:25 UTC (rev 1996)
+++ trunk/geany-plugins/tableconvert/src/tableconvert.c 2011-03-19 13:52:35 UTC (rev 1997)
@@ -38,6 +38,8 @@
};
+static GtkWidget *main_menu_item = NULL;
+
void convert_to_table(gboolean header)
{
GeanyDocument *doc = NULL;
@@ -194,11 +196,22 @@
void plugin_init(GeanyData *data)
{
init_keybindings();
+
main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
+
+ /* Build up menu entry */
+ main_menu_item = gtk_menu_item_new_with_mnemonic(_("_Convert to table"));
+ gtk_container_add(GTK_CONTAINER(geany->main_widgets->tools_menu), main_menu_item);
+ ui_widget_set_tooltip_text(main_menu_item,
+ _("Converts current marked list to a table."));
+ g_signal_connect(G_OBJECT(main_menu_item), "activate", G_CALLBACK(convert_to_table), TRUE);
+ gtk_widget_show_all(main_menu_item);
+ ui_add_document_sensitive(main_menu_item);
+
}
void plugin_cleanup(void)
{
- /* We don't need to do anything here at the moment */
+ gtk_widget_destroy(main_menu_item);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1995
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1995&view=rev
Author: frlan
Date: 2011-03-17 21:48:56 +0000 (Thu, 17 Mar 2011)
Log Message:
-----------
GeanyLaTeX: Documentation: Adding {} after a couple of commands.
Not really needed, but looks better :)
Modified Paths:
--------------
trunk/geanylatex/doc/geanylatex.tex
Modified: trunk/geanylatex/doc/geanylatex.tex
===================================================================
--- trunk/geanylatex/doc/geanylatex.tex 2011-03-17 10:53:50 UTC (rev 1994)
+++ trunk/geanylatex/doc/geanylatex.tex 2011-03-17 21:48:56 UTC (rev 1995)
@@ -58,13 +58,13 @@
\pagenumbering{Roman}
-\maketitle
-\tableofcontents
-\listoftables
+\maketitle{}
+\tableofcontents{}
+\listoftables{}
\listoffigures{}
\lstlistoflistings{}
-\newpage
+\newpage{}
\pagenumbering{arabic}
\section{About the plugin}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1991
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1991&view=rev
Author: colombanw
Date: 2011-03-14 19:11:35 +0000 (Mon, 14 Mar 2011)
Log Message:
-----------
Add a HACKING with a few information for plugin developers
Modified Paths:
--------------
trunk/geany-plugins/README
Added Paths:
-----------
trunk/geany-plugins/HACKING
Added: trunk/geany-plugins/HACKING
===================================================================
--- trunk/geany-plugins/HACKING (rev 0)
+++ trunk/geany-plugins/HACKING 2011-03-14 19:11:35 UTC (rev 1991)
@@ -0,0 +1,35 @@
+========================
+Hacking on Geany-Plugins
+========================
+.. contents::
+
+General
+=======
+
+About this file
+---------------
+This file contains some useful information for any plugin developer, and
+especially for new plugin developers.
+
+Building your plugin
+--------------------
+You should first read either `README` or `README.waf` depending on whether
+you want to use Autotools or Waf to build the plugins.
+
+Autotools Build System
+^^^^^^^^^^^^^^^^^^^^^^
+The Autotools build system automatically enables some code checking
+utilities, meant to ease tracking of common programming mistakes, or simply
+to help making everyone's plugin code better.
+They currently are:
+
+* C compiler warnings (can be disabled with the ``--disable-extra-c-warnings``
+ configuration flag) -- this test is (obviouly) run during build;
+* Static code analysis using ``cppcheck`` (can be disabled with the
+ ``--disable-cppcheck`` configuration flag) -- this test is run during
+ ``make check``.
+
+These features are only here to help you writing better code: they are not
+necessarily and always right -- though they try.
+If you think they reports wrong problems, please file a report on the
+appropriate place (either the mailing lists or the geany-plugins bug tracker).
Modified: trunk/geany-plugins/README
===================================================================
--- trunk/geany-plugins/README 2011-03-14 19:11:16 UTC (rev 1990)
+++ trunk/geany-plugins/README 2011-03-14 19:11:35 UTC (rev 1991)
@@ -60,6 +60,8 @@
* tableconvert -- the Tableconvert plugin
* updatechecker -- the Updatechecker plugin
* webhelper -- the WebHelper plugin
+* extra-c-warnings -- extra C Compiler warnings (see also HACKING)
+* cppcheck -- static code analysis using cppcheck (see also HACKING)
Example:
./configure --enable-geanylua --enable-spellcheck
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.