Revision: 1105
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1105&view=rev
Author: frlan
Date: 2010-01-03 21:50:42 +0000 (Sun, 03 Jan 2010)
Log Message:
-----------
Make text for inserting a reference configurable via a hidden pref.
Modified Paths:
--------------
trunk/geanylatex/doc/geanylatex.tex
trunk/geanylatex/src/geanylatex.c
Modified: trunk/geanylatex/doc/geanylatex.tex
===================================================================
--- trunk/geanylatex/doc/geanylatex.tex 2010-01-02 22:53:35 UTC (rev 1104)
+++ trunk/geanylatex/doc/geanylatex.tex 2010-01-03 21:50:42 UTC (rev 1105)
@@ -572,6 +572,35 @@
Please ensure, you reload the plugin once this option has been changed.
+\subsubsection{Customized reference strings}
+
+Geany\LaTeX{} is able to insert references to a label where its
+using some default value. As this value is not always optimal, it
+can be changed using a hidden preference by setting
+\texttt{glatex\_reference\_page}, \texttt{glatex\_reference\_chapter} or
+\texttt{glatex\_reference\_all} inside configuration file as shown inside
+the example configuration snippet.
+
+\begin{lstlisting}
+[general]
+glatex_set_koma_active=true
+glatex_set_toolbar_active=true
+
+[reference]
+glatex_reference_page=\\textbf{\pageref{{{reference}}}}
+glatex_reference_chapter=\\textbf{\\ref{{{reference}}}}
+glatex_reference_all=\\textbf{\\ref{{{reference}}}, page \pageref{{{reference}}}}\end{lstlisting}
+
+Please take care in this case \texttt{\{\{reference\}\}} will be
+replace by label name.
+
+Also \texttt{\textbackslash{}t}, \texttt{\textbackslash{}r},
+\texttt{\textbackslash{}n} will be handled as known from C so you will
+need to add a second \textbackslash{} in front of in such cases. Even
+this seems to be annyoing on the first hand, it allows you to insert some
+more complicated constructs over here which might require a new line inside.
+
+
\section{Contribution to the plugin}
If you like the plugin, there are a number of ways, how to
contribute to the development of the plugin.
Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c 2010-01-02 22:53:35 UTC (rev 1104)
+++ trunk/geanylatex/src/geanylatex.c 2010-01-03 21:50:42 UTC (rev 1105)
@@ -54,6 +54,9 @@
/* Options for plugin */
static gboolean glatex_set_koma_active = FALSE;
static gboolean glatex_deactivate_toolbaritems_with_non_latex = TRUE;
+static gchar *glatex_ref_chapter_string = NULL;
+static gchar *glatex_ref_page_string = NULL;
+static gchar *glatex_ref_all_string = NULL;
static gboolean glatex_set_toolbar_active = FALSE;
/* Function will be deactivated, when only loaded */
@@ -554,29 +557,40 @@
if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT)
{
gchar *ref_string = NULL;
-
+ GString *template_string = NULL;
+
ref_string = g_strdup(gtk_combo_box_get_active_text(
GTK_COMBO_BOX(textbox_ref)));
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(radio1)) == TRUE)
{
- ref_string = g_strconcat("\\ref{", ref_string, "}", NULL);
+ template_string = g_string_new(glatex_ref_chapter_string);
}
else if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(radio2))== TRUE)
{
- ref_string = g_strconcat("\\pageref{", ref_string, "}", NULL);
+ template_string = g_string_new(glatex_ref_page_string);
}
else if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(radio3))== TRUE)
{
- ref_string = g_strconcat("\\ref{", ref_string, "}, ", _("page"),
- " \\pageref{", ref_string, "}", NULL);
+ template_string = g_string_new(glatex_ref_all_string);
}
- if (ref_string != NULL)
+ if (ref_string != NULL && template_string != NULL)
{
- glatex_insert_string(ref_string, TRUE);
+ gchar *tmp;
+ utils_string_replace_all(template_string, "{{reference}}", ref_string);
+ tmp = g_string_free(template_string, FALSE);
+ glatex_insert_string(tmp, TRUE);
g_free(ref_string);
+ g_free(tmp);
}
+ else
+ {
+ if (ref_string != NULL)
+ g_free(ref_string);
+ if (template_string != NULL)
+ g_free(template_string);
+ }
}
gtk_widget_destroy(dialog);
@@ -1321,6 +1335,13 @@
glatex_deactivate_toolbaritems_with_non_latex = utils_get_setting_boolean(config, "toolbar",
"glatex_deactivate_toolbaritems_with_non_latex", TRUE);
+ glatex_ref_page_string = utils_get_setting_string(config, "reference",
+ "glatex_reference_page", _("page \\pageref{{{reference}}}"));
+ glatex_ref_chapter_string = utils_get_setting_string(config, "reference",
+ "glatex_reference_chapter", "\\ref{{{reference}}}");
+ glatex_ref_all_string = utils_get_setting_string(config, "reference",
+ "glatex_reference_all", _("\\ref{{{reference}}}, page \\pageref{{{reference}}}"));
+
main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
g_key_file_free(config);
@@ -1462,4 +1483,7 @@
gtk_widget_destroy(glatex_toolbar);
g_free(config_file);
+ g_free(glatex_ref_chapter_string);
+ g_free(glatex_ref_page_string);
+ g_free(glatex_ref_all_string);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1104
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1104&view=rev
Author: dmaphy
Date: 2010-01-02 22:53:35 +0000 (Sat, 02 Jan 2010)
Log Message:
-----------
update copyright information
Modified Paths:
--------------
trunk/geany-plugins/geanygdb/ChangeLog
trunk/geany-plugins/geanygdb/src/gdb-io-break.c
trunk/geany-plugins/geanygdb/src/gdb-io-envir.c
trunk/geany-plugins/geanygdb/src/gdb-io-frame.c
trunk/geany-plugins/geanygdb/src/gdb-io-priv.h
trunk/geany-plugins/geanygdb/src/gdb-io-read.c
trunk/geany-plugins/geanygdb/src/gdb-io-run.c
trunk/geany-plugins/geanygdb/src/gdb-io-stack.c
trunk/geany-plugins/geanygdb/src/gdb-io.h
trunk/geany-plugins/geanygdb/src/gdb-lex.c
trunk/geany-plugins/geanygdb/src/gdb-lex.h
trunk/geany-plugins/geanygdb/src/gdb-ui-break.c
trunk/geany-plugins/geanygdb/src/gdb-ui-envir.c
trunk/geany-plugins/geanygdb/src/gdb-ui-frame.c
trunk/geany-plugins/geanygdb/src/gdb-ui-locn.c
trunk/geany-plugins/geanygdb/src/gdb-ui-main.c
trunk/geany-plugins/geanygdb/src/gdb-ui.h
trunk/geany-plugins/geanygdb/src/geanygdb.c
Modified: trunk/geany-plugins/geanygdb/ChangeLog
===================================================================
--- trunk/geany-plugins/geanygdb/ChangeLog 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/ChangeLog 2010-01-02 22:53:35 UTC (rev 1104)
@@ -1,3 +1,6 @@
+2010-01-02 Dominic Hopf <dmaphy(a)googlemail.com>
+ * update copyright information
+
2009-12-13 Dominic Hopf <dmaphy(a)googlemail.com>
* finally fix any remaining naming issues, GeanyGDB will show up as "GeanyGDB"
now in the plugin manager
Modified: trunk/geany-plugins/geanygdb/src/gdb-io-break.c
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-io-break.c 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-io-break.c 2010-01-02 22:53:35 UTC (rev 1104)
@@ -1,12 +1,22 @@
-
/*
* gdb-io-break.c - Breakpoint management functions for GDB wrapper library.
+ * Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- * See the file "gdb-io.h" for license information.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
-
#include <string.h>
#include <glib.h>
#include "gdb-io-priv.h"
Modified: trunk/geany-plugins/geanygdb/src/gdb-io-envir.c
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-io-envir.c 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-io-envir.c 2010-01-02 22:53:35 UTC (rev 1104)
@@ -1,12 +1,22 @@
-
/*
* gdb-io-envir.c - Environment settings for GDB wrapper library.
+ * Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- * See the file "gdb-io.h" for license information.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
-
#include <string.h>
#include <glib.h>
#include "gdb-io-priv.h"
Modified: trunk/geany-plugins/geanygdb/src/gdb-io-frame.c
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-io-frame.c 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-io-frame.c 2010-01-02 22:53:35 UTC (rev 1104)
@@ -1,9 +1,20 @@
-
/*
* gdb-io-frame.c - Stack frame information functions for GDB wrapper library.
+ * Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- * See the file "gdb-io.h" for license information.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
Modified: trunk/geany-plugins/geanygdb/src/gdb-io-priv.h
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-io-priv.h 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-io-priv.h 2010-01-02 22:53:35 UTC (rev 1104)
@@ -1,12 +1,22 @@
-
/*
* gdb-io-priv.h - private header for GDB wrapper library.
+ * Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- * See the file "gdb-io.h" for license information.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
-
#include "gdb-lex.h"
#include "gdb-io.h"
Modified: trunk/geany-plugins/geanygdb/src/gdb-io-read.c
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-io-read.c 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-io-read.c 2010-01-02 22:53:35 UTC (rev 1104)
@@ -1,11 +1,22 @@
/*
- *
* gdb-io-read.c - Output reading functions for GDB wrapper library.
+ * Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- * See the file "gdb-io.h" for license information.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
-
#include <stdlib.h>
#include <sys/time.h>
Modified: trunk/geany-plugins/geanygdb/src/gdb-io-run.c
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-io-run.c 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-io-run.c 2010-01-02 22:53:35 UTC (rev 1104)
@@ -1,12 +1,22 @@
-
/*
* gdb-io-run.c - Process execution and input functions for GDB wrapper library.
+ * Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- * See the file "gdb-io.h" for license information.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
-
#include <unistd.h>
#include <signal.h>
#include <string.h>
Modified: trunk/geany-plugins/geanygdb/src/gdb-io-stack.c
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-io-stack.c 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-io-stack.c 2010-01-02 22:53:35 UTC (rev 1104)
@@ -1,9 +1,20 @@
-
/*
* gdb-io-stack.c - Stack information functions for GDB wrapper library.
+ * Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- * See the file "gdb-io.h" for license information.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
#include <string.h>
Modified: trunk/geany-plugins/geanygdb/src/gdb-io.h
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-io.h 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-io.h 2010-01-02 22:53:35 UTC (rev 1104)
@@ -2,13 +2,11 @@
* gdb-io.h - A GLib-based library wrapper for the GNU debugger.
* Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -17,8 +15,6 @@
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- *
*/
Modified: trunk/geany-plugins/geanygdb/src/gdb-lex.c
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-lex.c 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-lex.c 2010-01-02 22:53:35 UTC (rev 1104)
@@ -1,9 +1,20 @@
-
/*
* gdb-lex.c - A GLib-based parser for GNU debugger machine interface output.
+ * Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- * See the file "gdb-lex.h" for license information.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
#include <string.h>
Modified: trunk/geany-plugins/geanygdb/src/gdb-lex.h
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-lex.h 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-lex.h 2010-01-02 22:53:35 UTC (rev 1104)
@@ -2,13 +2,11 @@
* gdb-lex.h - A GLib-based parser for GNU debugger machine interface output.
* Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -17,8 +15,6 @@
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- *
*/
Modified: trunk/geany-plugins/geanygdb/src/gdb-ui-break.c
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-ui-break.c 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-ui-break.c 2010-01-02 22:53:35 UTC (rev 1104)
@@ -1,9 +1,20 @@
-
/*
* gdb-ui-break.c - Breakpoint management for a GTK-based GDB user interface.
+ * Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- * See the file "gdb-ui.h" for license information.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
Modified: trunk/geany-plugins/geanygdb/src/gdb-ui-envir.c
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-ui-envir.c 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-ui-envir.c 2010-01-02 22:53:35 UTC (rev 1104)
@@ -1,9 +1,20 @@
-
/*
* gdb-ui-envir.c - Environment and option settings for a GTK-based GDB user interface.
+ * Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- * See the file "gdb-ui.h" for license information.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
Modified: trunk/geany-plugins/geanygdb/src/gdb-ui-frame.c
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-ui-frame.c 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-ui-frame.c 2010-01-02 22:53:35 UTC (rev 1104)
@@ -1,9 +1,20 @@
-
/*
* gdb-ui-frame.c - Stack frame dialogs for a GTK-based GDB user interface.
+ * Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- * See the file "gdb-ui.h" for license information.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
#include <string.h>
Modified: trunk/geany-plugins/geanygdb/src/gdb-ui-locn.c
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-ui-locn.c 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-ui-locn.c 2010-01-02 22:53:35 UTC (rev 1104)
@@ -1,12 +1,22 @@
-
/*
* gdb-ui-locn.c - Breakpoint insertion dialog for a GTK-based GDB user interface.
+ * Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- * See the file "gdb-ui.h" for license information.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
-
#include <string.h>
#include <gtk/gtk.h>
#include "gdb-io.h"
Modified: trunk/geany-plugins/geanygdb/src/gdb-ui-main.c
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-ui-main.c 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-ui-main.c 2010-01-02 22:53:35 UTC (rev 1104)
@@ -1,9 +1,20 @@
-
/*
* gdb-ui-main.c - A GTK-based user interface for the GNU debugger.
+ * Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- * See the file "gdb-ui.h" for license information.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
#include <stdlib.h>
Modified: trunk/geany-plugins/geanygdb/src/gdb-ui.h
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-ui.h 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/gdb-ui.h 2010-01-02 22:53:35 UTC (rev 1104)
@@ -2,13 +2,11 @@
* gdb-ui.h - A GTK-based user interface for the GNU debugger.
* Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
*
- *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -17,8 +15,6 @@
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- *
*/
Modified: trunk/geany-plugins/geanygdb/src/geanygdb.c
===================================================================
--- trunk/geany-plugins/geanygdb/src/geanygdb.c 2010-01-01 22:31:10 UTC (rev 1103)
+++ trunk/geany-plugins/geanygdb/src/geanygdb.c 2010-01-02 22:53:35 UTC (rev 1104)
@@ -1,14 +1,13 @@
/*
* geanygdb.c - Integrated debugger plugin for the Geany IDE
* Copyright 2008 Jeff Pohlmeyer <yetanothergeek(at)gmail(dot)com>
+ * Copyright 2009 - 2010 Dominic Hopf <dmaphy(a)googlemail.com>
*
- *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -16,9 +15,7 @@
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1103
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1103&view=rev
Author: eht16
Date: 2010-01-01 22:31:10 +0000 (Fri, 01 Jan 2010)
Log Message:
-----------
Update README
Modified Paths:
--------------
trunk/geany-plugins/addons/README
Modified: trunk/geany-plugins/addons/README
===================================================================
--- trunk/geany-plugins/addons/README 2010-01-01 22:30:09 UTC (rev 1102)
+++ trunk/geany-plugins/addons/README 2010-01-01 22:31:10 UTC (rev 1103)
@@ -22,9 +22,10 @@
Tasks
^^^^^
The tasks plugin goes through a file being edited and picks out lines with
-"TODO" or "FIXME" in them. It collects the text after those words and puts
-them in a new "Tasks" tab in the message window. Clicking on a task in that
-tab takes you to the line in the file where the task was defined.
+configurable keywords (e.g. "TODO" or "FIXME") in them. It collects the text
+after those words and puts them in a new "Tasks" tab in the message window.
+Clicking on a task in that tab takes you to the line in the file where the
+task was defined.
Systray
^^^^^^^
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1101
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1101&view=rev
Author: eht16
Date: 2010-01-01 22:28:39 +0000 (Fri, 01 Jan 2010)
Log Message:
-----------
List tasks only once per line even if there were more than one matching token.
Modified Paths:
--------------
trunk/geany-plugins/addons/ChangeLog
trunk/geany-plugins/addons/src/ao_tasks.c
Modified: trunk/geany-plugins/addons/ChangeLog
===================================================================
--- trunk/geany-plugins/addons/ChangeLog 2010-01-01 22:27:24 UTC (rev 1100)
+++ trunk/geany-plugins/addons/ChangeLog 2010-01-01 22:28:39 UTC (rev 1101)
@@ -7,6 +7,8 @@
* src/ao_tasks.c:
Implement a Delete menu item for the tasks list popup menu to easily
delete tasks (closes #2911105).
+ List tasks only once per line even if there were more than
+ one matching token.
2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/geany-plugins/addons/src/ao_tasks.c
===================================================================
--- trunk/geany-plugins/addons/src/ao_tasks.c 2010-01-01 22:27:24 UTC (rev 1100)
+++ trunk/geany-plugins/addons/src/ao_tasks.c 2010-01-01 22:28:39 UTC (rev 1101)
@@ -528,6 +528,8 @@
-1);
g_free(context);
g_free(tooltip);
+ /* if we found a token, continue on next line */
+ break;
}
token++;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1097
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1097&view=rev
Author: eht16
Date: 2010-01-01 22:22:39 +0000 (Fri, 01 Jan 2010)
Log Message:
-----------
Update copyright information.
Modified Paths:
--------------
trunk/geany-plugins/addons/ChangeLog
trunk/geany-plugins/addons/src/addons.c
trunk/geany-plugins/addons/src/addons.h
trunk/geany-plugins/addons/src/ao_bookmarklist.c
trunk/geany-plugins/addons/src/ao_bookmarklist.h
trunk/geany-plugins/addons/src/ao_doclist.c
trunk/geany-plugins/addons/src/ao_doclist.h
trunk/geany-plugins/addons/src/ao_markword.c
trunk/geany-plugins/addons/src/ao_markword.h
trunk/geany-plugins/addons/src/ao_openuri.c
trunk/geany-plugins/addons/src/ao_openuri.h
trunk/geany-plugins/addons/src/ao_systray.c
trunk/geany-plugins/addons/src/ao_systray.h
trunk/geany-plugins/addons/src/ao_tasks.c
trunk/geany-plugins/addons/src/ao_tasks.h
Modified: trunk/geany-plugins/addons/ChangeLog
===================================================================
--- trunk/geany-plugins/addons/ChangeLog 2010-01-01 22:19:11 UTC (rev 1096)
+++ trunk/geany-plugins/addons/ChangeLog 2010-01-01 22:22:39 UTC (rev 1097)
@@ -1,3 +1,9 @@
+2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/*.c, src/*.h:
+ Update copyright information.
+
+
2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ao_openuri.c:
Modified: trunk/geany-plugins/addons/src/addons.c
===================================================================
--- trunk/geany-plugins/addons/src/addons.c 2010-01-01 22:19:11 UTC (rev 1096)
+++ trunk/geany-plugins/addons/src/addons.c 2010-01-01 22:22:39 UTC (rev 1097)
@@ -1,7 +1,7 @@
/*
* addons.c - this file is part of Addons, a Geany plugin
*
- * Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/geany-plugins/addons/src/addons.h
===================================================================
--- trunk/geany-plugins/addons/src/addons.h 2010-01-01 22:19:11 UTC (rev 1096)
+++ trunk/geany-plugins/addons/src/addons.h 2010-01-01 22:22:39 UTC (rev 1097)
@@ -1,7 +1,7 @@
/*
* addons.h - this file is part of Addons, a Geany plugin
*
- * Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/geany-plugins/addons/src/ao_bookmarklist.c
===================================================================
--- trunk/geany-plugins/addons/src/ao_bookmarklist.c 2010-01-01 22:19:11 UTC (rev 1096)
+++ trunk/geany-plugins/addons/src/ao_bookmarklist.c 2010-01-01 22:22:39 UTC (rev 1097)
@@ -1,7 +1,7 @@
/*
* ao_bookmarklist.c - this file is part of Addons, a Geany plugin
*
- * Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/geany-plugins/addons/src/ao_bookmarklist.h
===================================================================
--- trunk/geany-plugins/addons/src/ao_bookmarklist.h 2010-01-01 22:19:11 UTC (rev 1096)
+++ trunk/geany-plugins/addons/src/ao_bookmarklist.h 2010-01-01 22:22:39 UTC (rev 1097)
@@ -1,7 +1,7 @@
/*
* ao_bookmarklist.h - this file is part of Addons, a Geany plugin
*
- * Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/geany-plugins/addons/src/ao_doclist.c
===================================================================
--- trunk/geany-plugins/addons/src/ao_doclist.c 2010-01-01 22:19:11 UTC (rev 1096)
+++ trunk/geany-plugins/addons/src/ao_doclist.c 2010-01-01 22:22:39 UTC (rev 1097)
@@ -1,7 +1,7 @@
/*
* ao_doclist.c - this file is part of Addons, a Geany plugin
*
- * Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/geany-plugins/addons/src/ao_doclist.h
===================================================================
--- trunk/geany-plugins/addons/src/ao_doclist.h 2010-01-01 22:19:11 UTC (rev 1096)
+++ trunk/geany-plugins/addons/src/ao_doclist.h 2010-01-01 22:22:39 UTC (rev 1097)
@@ -1,7 +1,7 @@
/*
* ao_doclist.h - this file is part of Addons, a Geany plugin
*
- * Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/geany-plugins/addons/src/ao_markword.c
===================================================================
--- trunk/geany-plugins/addons/src/ao_markword.c 2010-01-01 22:19:11 UTC (rev 1096)
+++ trunk/geany-plugins/addons/src/ao_markword.c 2010-01-01 22:22:39 UTC (rev 1097)
@@ -1,7 +1,7 @@
/*
* ao_markword.c - this file is part of Addons, a Geany plugin
*
- * Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/geany-plugins/addons/src/ao_markword.h
===================================================================
--- trunk/geany-plugins/addons/src/ao_markword.h 2010-01-01 22:19:11 UTC (rev 1096)
+++ trunk/geany-plugins/addons/src/ao_markword.h 2010-01-01 22:22:39 UTC (rev 1097)
@@ -1,7 +1,7 @@
/*
* ao_markword.h - this file is part of Addons, a Geany plugin
*
- * Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/geany-plugins/addons/src/ao_openuri.c
===================================================================
--- trunk/geany-plugins/addons/src/ao_openuri.c 2010-01-01 22:19:11 UTC (rev 1096)
+++ trunk/geany-plugins/addons/src/ao_openuri.c 2010-01-01 22:22:39 UTC (rev 1097)
@@ -1,7 +1,7 @@
/*
* ao_openuri.c - this file is part of Addons, a Geany plugin
*
- * Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/geany-plugins/addons/src/ao_openuri.h
===================================================================
--- trunk/geany-plugins/addons/src/ao_openuri.h 2010-01-01 22:19:11 UTC (rev 1096)
+++ trunk/geany-plugins/addons/src/ao_openuri.h 2010-01-01 22:22:39 UTC (rev 1097)
@@ -1,7 +1,7 @@
/*
* ao_openuri.h - this file is part of Addons, a Geany plugin
*
- * Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/geany-plugins/addons/src/ao_systray.c
===================================================================
--- trunk/geany-plugins/addons/src/ao_systray.c 2010-01-01 22:19:11 UTC (rev 1096)
+++ trunk/geany-plugins/addons/src/ao_systray.c 2010-01-01 22:22:39 UTC (rev 1097)
@@ -1,7 +1,7 @@
/*
* ao_systray.c - this file is part of Addons, a Geany plugin
*
- * Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/geany-plugins/addons/src/ao_systray.h
===================================================================
--- trunk/geany-plugins/addons/src/ao_systray.h 2010-01-01 22:19:11 UTC (rev 1096)
+++ trunk/geany-plugins/addons/src/ao_systray.h 2010-01-01 22:22:39 UTC (rev 1097)
@@ -1,7 +1,7 @@
/*
* ao_systray.h - this file is part of Addons, a Geany plugin
*
- * Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/geany-plugins/addons/src/ao_tasks.c
===================================================================
--- trunk/geany-plugins/addons/src/ao_tasks.c 2010-01-01 22:19:11 UTC (rev 1096)
+++ trunk/geany-plugins/addons/src/ao_tasks.c 2010-01-01 22:22:39 UTC (rev 1097)
@@ -1,7 +1,7 @@
/*
* ao_tasks.c - this file is part of Addons, a Geany plugin
*
- * Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/geany-plugins/addons/src/ao_tasks.h
===================================================================
--- trunk/geany-plugins/addons/src/ao_tasks.h 2010-01-01 22:19:11 UTC (rev 1096)
+++ trunk/geany-plugins/addons/src/ao_tasks.h 2010-01-01 22:22:39 UTC (rev 1097)
@@ -1,7 +1,7 @@
/*
* ao_tasks.h - this file is part of Addons, a Geany plugin
*
- * Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ * Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1096
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1096&view=rev
Author: eht16
Date: 2010-01-01 22:19:11 +0000 (Fri, 01 Jan 2010)
Log Message:
-----------
Update copyright information.
Modified Paths:
--------------
trunk/geany-plugins/build/geany-plugins.nsi
trunk/geany-plugins/wscript
Modified: trunk/geany-plugins/build/geany-plugins.nsi
===================================================================
--- trunk/geany-plugins/build/geany-plugins.nsi 2010-01-01 22:17:20 UTC (rev 1095)
+++ trunk/geany-plugins/build/geany-plugins.nsi 2010-01-01 22:19:11 UTC (rev 1096)
@@ -1,8 +1,8 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; geany-plugins.nsi - this file is part of the geany-plugins project
;
-; Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
-; Copyright 2009 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+; Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+; Copyright 2009-2010 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
;
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
@@ -48,7 +48,7 @@
VIAddVersionKey "ProductName" "${PRODUCT_NAME}"
VIAddVersionKey "FileVersion" "${PRODUCT_VERSION}"
VIAddVersionKey "ProductVersion" "${PRODUCT_VERSION}"
-VIAddVersionKey "LegalCopyright" "Copyright 2009 by the Geany developer team"
+VIAddVersionKey "LegalCopyright" "Copyright 2009-2010 by the Geany developer team"
VIAddVersionKey "FileDescription" "${PRODUCT_NAME} Installer"
BrandingText "$(^NAME) installer (NSIS 2.45)"
Modified: trunk/geany-plugins/wscript
===================================================================
--- trunk/geany-plugins/wscript 2010-01-01 22:17:20 UTC (rev 1095)
+++ trunk/geany-plugins/wscript 2010-01-01 22:19:11 UTC (rev 1096)
@@ -3,7 +3,7 @@
#
# WAF build script for geany-plugins
#
-# Copyright 2008-2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+# Copyright 2008-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.