Revision: 2340
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2340&view=rev
Author: frlan
Date: 2011-11-15 13:37:47 +0000 (Tue, 15 Nov 2011)
Log Message:
-----------
GeanyLaTeX: Ignore autogenerated files by biblatex on suggestions for cite
Modified Paths:
--------------
trunk/geany-plugins/geanylatex/src/bibtex.c
Modified: trunk/geany-plugins/geanylatex/src/bibtex.c
===================================================================
--- trunk/geany-plugins/geanylatex/src/bibtex.c 2011-11-14 19:50:37 UTC (rev 2339)
+++ trunk/geany-plugins/geanylatex/src/bibtex.c 2011-11-15 13:37:47 UTC (rev 2340)
@@ -200,8 +200,10 @@
if (file != NULL)
{
- /* Return if its not an bib file */
- if (!g_str_has_suffix(file, ".bib"))
+ /* Return if its not an bib file
+ * Also try to ignore biblatex autogenerated files */
+ if (!g_str_has_suffix(file, ".bib") ||
+ g_str_has_suffix(file, "-blx.bib"))
{
return;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2338
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2338&view=rev
Author: frlan
Date: 2011-11-14 19:50:12 +0000 (Mon, 14 Nov 2011)
Log Message:
-----------
GeanyVC: Adding VC menu direct into menubar
Modified Paths:
--------------
trunk/geany-plugins/geanyvc/src/geanyvc.c
Modified: trunk/geany-plugins/geanyvc/src/geanyvc.c
===================================================================
--- trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-11-14 09:48:27 UTC (rev 2337)
+++ trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-11-14 19:50:12 UTC (rev 2338)
@@ -375,7 +375,7 @@
/* name should be in UTF-8, and can have a path. */
static void
show_output(const gchar * std_output, const gchar * name,
- const gchar * force_encoding, GeanyFiletype * ftype,
+ const gchar * force_encoding, GeanyFiletype * ftype,
gint line)
{
gint page;
@@ -389,7 +389,7 @@
if (doc == NULL)
{
doc = document_new_file(name, ftype, std_output);
- /* To due the given line is Scintilla's line number, but
+ /* To due the given line is Scintilla's line number, but
* we need the view line number in this case. */
line = line + 1;
if (line < 1)
@@ -713,7 +713,7 @@
execute_command(vc, &text, NULL, doc->file_name, VC_COMMAND_BLAME, NULL, NULL);
if (text)
{
- show_output(text, "*VC-BLAME*", NULL,
+ show_output(text, "*VC-BLAME*", NULL,
doc->file_type, sci_get_current_line(doc->editor->sci));
g_free(text);
}
@@ -2224,6 +2224,7 @@
GtkWidget *menu_vc_file = NULL;
GtkWidget *menu_vc_dir = NULL;
GtkWidget *menu_vc_basedir = NULL;
+ GtkMenuShell *menubar;
config_file =
g_strconcat(geany->app->configdir, G_DIR_SEPARATOR_S, "plugins", G_DIR_SEPARATOR_S,
@@ -2232,9 +2233,14 @@
load_config();
registrate();
- menu_vc = gtk_image_menu_item_new_with_mnemonic(_("_Version Control"));
- gtk_container_add(GTK_CONTAINER(geany->main_widgets->tools_menu), menu_vc);
+ menubar = GTK_MENU_SHELL(
+ ui_lookup_widget(geany->main_widgets->window, "menubar1"));
+
+ menu_vc = gtk_menu_item_new_with_mnemonic(_("_Version Control"));
+ gtk_menu_shell_insert(
+ menubar, menu_vc, g_list_length(menubar->children)-1);
+
g_signal_connect(menu_vc, "activate", G_CALLBACK(update_menu_items), NULL);
menu_vc_menu = gtk_menu_new();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2337
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2337&view=rev
Author: frlan
Date: 2011-11-14 09:48:27 +0000 (Mon, 14 Nov 2011)
Log Message:
-----------
GeanyVC: Use Version Control inside tools menu
Modified Paths:
--------------
trunk/geany-plugins/geanyvc/src/geanyvc.c
Modified: trunk/geany-plugins/geanyvc/src/geanyvc.c
===================================================================
--- trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-11-14 09:48:06 UTC (rev 2336)
+++ trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-11-14 09:48:27 UTC (rev 2337)
@@ -2232,7 +2232,7 @@
load_config();
registrate();
- menu_vc = gtk_image_menu_item_new_with_mnemonic(_("_VC"));
+ menu_vc = gtk_image_menu_item_new_with_mnemonic(_("_Version Control"));
gtk_container_add(GTK_CONTAINER(geany->main_widgets->tools_menu), menu_vc);
g_signal_connect(menu_vc, "activate", G_CALLBACK(update_menu_items), NULL);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2336
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2336&view=rev
Author: frlan
Date: 2011-11-14 09:48:06 +0000 (Mon, 14 Nov 2011)
Log Message:
-----------
GeanyLaTeX: Remove debug output (oops)
Modified Paths:
--------------
trunk/geany-plugins/geanylatex/src/geanylatex.c
Modified: trunk/geany-plugins/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geany-plugins/geanylatex/src/geanylatex.c 2011-11-14 09:47:46 UTC (rev 2335)
+++ trunk/geany-plugins/geanylatex/src/geanylatex.c 2011-11-14 09:48:06 UTC (rev 2336)
@@ -2088,7 +2088,6 @@
/* First we check whether the LaTeX menu entry already exists */
if (menu_latex == NULL)
{
- g_warning("Adding latex foo");
/* Build up menu for menubar */
menu_latex = gtk_menu_item_new_with_mnemonic(_("_LaTeX"));
gtk_menu_shell_insert(
@@ -2240,8 +2239,6 @@
/* BibTeX menu */
if (menu_bibtex == NULL)
{
- g_warning("Try to add bibtexfoo");
-
menu_bibtex = gtk_menu_item_new_with_mnemonic(_("_BibTeX"));
gtk_menu_shell_insert(
menubar, menu_bibtex, g_list_length(menubar->children)-1);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2334
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2334&view=rev
Author: frlan
Date: 2011-11-12 13:13:37 +0000 (Sat, 12 Nov 2011)
Log Message:
-----------
GeanyVC: Some minor input validation to ensure we don't set to negativ line numbers
Modified Paths:
--------------
trunk/geany-plugins/geanyvc/src/geanyvc.c
Modified: trunk/geany-plugins/geanyvc/src/geanyvc.c
===================================================================
--- trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-11-12 13:12:24 UTC (rev 2333)
+++ trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-11-12 13:13:37 UTC (rev 2334)
@@ -392,6 +392,8 @@
/* To due the given line is Scintilla's line number, but
* we need the view line number in this case. */
line = line + 1;
+ if (line < 1)
+ line = 1;
}
else
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2333
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2333&view=rev
Author: frlan
Date: 2011-11-12 13:12:24 +0000 (Sat, 12 Nov 2011)
Log Message:
-----------
GeanyVC: Fix a small issue with not position into correct line running a blame
Modified Paths:
--------------
trunk/geany-plugins/geanyvc/src/geanyvc.c
Modified: trunk/geany-plugins/geanyvc/src/geanyvc.c
===================================================================
--- trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-11-12 12:28:24 UTC (rev 2332)
+++ trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-11-12 13:12:24 UTC (rev 2333)
@@ -389,11 +389,9 @@
if (doc == NULL)
{
doc = document_new_file(name, ftype, std_output);
- if (line == 0)
- {
- line = 1;
- }
-
+ /* To due the given line is Scintilla's line number, but
+ * we need the view line number in this case. */
+ line = line + 1;
}
else
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2331
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2331&view=rev
Author: frlan
Date: 2011-11-11 14:28:06 +0000 (Fri, 11 Nov 2011)
Log Message:
-----------
GeanyLaTeX: Some reformation of tex-code and removing deprecated section about compiling the stand aone plugin.
Modified Paths:
--------------
trunk/geany-plugins/geanylatex/doc/geanylatex.tex
Modified: trunk/geany-plugins/geanylatex/doc/geanylatex.tex
===================================================================
--- trunk/geany-plugins/geanylatex/doc/geanylatex.tex 2011-11-11 14:27:46 UTC (rev 2330)
+++ trunk/geany-plugins/geanylatex/doc/geanylatex.tex 2011-11-11 14:28:06 UTC (rev 2331)
@@ -162,51 +162,26 @@
libraries and header files, such as Pango, Glib and ATK. All these
files are available at \url{http://www.gtk.org}.
-And obviously, you will need to have Geany with its header files
-installed (in case you are compiling the plugin on your own). If you
-installed Geany from the sources, you should be ready to go. If
-you used a prepared package, e.g. from your distribution, you probably
-need to install an additional package, probably called geany-dev
-or geany-devel. Please note that in order to compile and use this
-plugin, you need Geany 0.20svn or later (Geany Plugin API v199 or higher).
+And obviously, you will need to have Geany with its header files
+installed (in case you are compiling the plugin on your own). If you
+installed Geany from the sources, you should be ready to go. If you
+used a prepared package, e.g. from your distribution, you probably
+need to install an additional package, probably called geany-dev or
+geany-devel. Please note that in order to compile and use this
+plugin, you need Geany 0.20svn or later (Geany Plugin API v199 or
+higher).
-Furthermore you need, of course, a C compiler and python installed. The
-GNU version of the C compiler is recommended. Furthermore, there should be a
-working \LaTeX-environment on your System.
+Furthermore you need, of course, a C compiler and python installed.
+The GNU version of the C compiler is recommended. Furthermore, there
+should be a working \LaTeX-environment on your System.
-There is no special need in RAM or CPU, so the plugin should compile and
-run on all systems Geany is able to run.
+There is no special need in RAM or CPU, so the plugin should compile
+and run on all systems Geany is able to run.
-\section{Installation}
-
-\small{\textbf{Please note:} This section of documentation is only
-valid for the standalone distribution of Geany\LaTeX{}. If you are
-about to use the common geany-plugins project, please check their
-documentation as there are some specialties you might like to know.}
-
+\section{Compiling}
\subsection{Compiling the plugin}
-Compiling and installing the code is done by the following three
-commands:
-
-\begin{lstlisting}[caption={Compiling with waf}]
-$ ./waf configure
-$ ./waf build
-$ ./waf install %$
-\end{lstlisting}
-
-For more configuration details, run \texttt{./waf --help}
-
-By default, the plugin is installed into the \texttt{lib} subfolder of
-your Geany installation. So if you have installed Geany to
-\texttt{/usr/local/} the plugin will be installed to
-\texttt{/usr/local/lib/geany/}. Translation files will be installed to
-\texttt{/usr/local/share/locale/} in this case.
-
-If there are any errors during compilation, check your build environment
-and try to find the error, otherwise contact one of the
-authors\footnote{Contact data can be found in Chapter \ref{contact},
-page \pageref{contact}.}
-
+For documentation how to compile the plugin, please check the
+documentation of the geany-plugins combined release.
\subsection{Compiling the documentation}
\label{sec:compiling_of_documentation}
Sources of this documentation are available throught
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.