Revision: 2029
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2029&view=rev
Author: wfraser
Date: 2011-04-17 12:25:22 +0000 (Sun, 17 Apr 2011)
Log Message:
-----------
GTK version checking to stop problems with version 2.8 until 2.10
Modified Paths:
--------------
trunk/geany-plugins/geanycfp/src/geanycfp.c
Modified: trunk/geany-plugins/geanycfp/src/geanycfp.c
===================================================================
--- trunk/geany-plugins/geanycfp/src/geanycfp.c 2011-04-14 11:57:41 UTC (rev 2028)
+++ trunk/geany-plugins/geanycfp/src/geanycfp.c 2011-04-17 12:25:22 UTC (rev 2029)
@@ -1098,7 +1098,7 @@
/* check to see if file has changed since geany last saved it */
fd=GetFileData(doc->file_name);
- if(stat(doc->file_name,&sBuf)==0 && fd!=NULL && fd->LastChangedTime!=-1 &&
+ if(stat(doc->file_name,&sBuf)==0 && fd!=NULL && fd->LastChangedTime!=-1 &&
fd->LastChangedTime!=sBuf.st_mtime)
{
/* notify user that file has been changed */
@@ -1334,12 +1334,12 @@
GtkWidget *dialog,*label,*scroll;
/* create dialog box */
- dialog=gtk_dialog_new();
- gtk_window_set_title(GTK_WINDOW(dialog),_("ConTEXT feature parity help"));
+ dialog=gtk_dialog_new_with_buttons(_("ConTEXT feature parity help"),
+ GTK_WINDOW(geany->main_widgets->window),
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_STOCK_OK,GTK_RESPONSE_ACCEPT,
+ NULL);
- /* create buttons */
- gtk_dialog_add_button(GTK_DIALOG(dialog),_("Ok"),GTK_RESPONSE_OK);
-
/* create label */
label=gtk_label_new(
_("This Plugin implements two useful features.\n\n"
@@ -1531,7 +1531,7 @@
}
/* now check to see if numbered bookmark key is atempted
- *
+ *
* control and number pressed
*/
if(mod==4)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2027
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2027&view=rev
Author: frlan
Date: 2011-04-12 19:44:48 +0000 (Tue, 12 Apr 2011)
Log Message:
-----------
Don't add a {} after a command in case of [ has been typed before or [] is there. Closes #3285393.
The last case could happen on usage of \item[]
Modified Paths:
--------------
trunk/geanylatex/ChangeLog
trunk/geanylatex/src/geanylatex.c
Modified: trunk/geanylatex/ChangeLog
===================================================================
--- trunk/geanylatex/ChangeLog 2011-04-12 18:07:11 UTC (rev 2026)
+++ trunk/geanylatex/ChangeLog 2011-04-12 19:44:48 UTC (rev 2027)
@@ -1,3 +1,9 @@
+2011-04-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+
+ * Don't add a {} after a command in case of [ has been typed before or []
+ is there. Closes #3285393.
+
+
2011-03-17 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* Try to fix some compiler warnings. Patch ported from Geany-Plugins.
Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c 2011-04-12 18:07:11 UTC (rev 2026)
+++ trunk/geanylatex/src/geanylatex.c 2011-04-12 19:44:48 UTC (rev 2027)
@@ -614,7 +614,7 @@
}
/* Now we are handling the case, a new line has been inserted
- * but no closing braces */
+ * but no closing braces */
else if (glatex_autobraces_active == TRUE)
{
gint line;
@@ -654,6 +654,8 @@
else if (buf[i] == ' ' ||
buf[i] == '}' ||
buf[i] == '{' ||
+ buf[i] == '[' ||
+ buf[i] == ']' ||
buf[i] == '"')
{
break;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2024
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2024&view=rev
Author: hyperair
Date: 2011-04-12 18:01:14 +0000 (Tue, 12 Apr 2011)
Log Message:
-----------
Use AC_LANG_SOURCE in body of AC_COMPILE_IFELSE
Modified Paths:
--------------
trunk/geany-plugins/build/cflags.m4
Modified: trunk/geany-plugins/build/cflags.m4
===================================================================
--- trunk/geany-plugins/build/cflags.m4 2011-04-12 17:50:46 UTC (rev 2023)
+++ trunk/geany-plugins/build/cflags.m4 2011-04-12 18:01:14 UTC (rev 2024)
@@ -6,7 +6,7 @@
CFLAGS="$1"
AC_LANG([C])
AC_MSG_CHECKING([whether the C compiler understands $CFLAGS])
- AC_COMPILE_IFELSE([int main(void) {return 0;}],
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([int main(void) {return 0;}])],
[AC_MSG_RESULT([yes])
$2],
[AC_MSG_RESULT([no])
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2023
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2023&view=rev
Author: hyperair
Date: 2011-04-12 17:50:46 +0000 (Tue, 12 Apr 2011)
Log Message:
-----------
Stick test program in cflags.m4 into one line
It looks really messy and hard to read when it's put into multiple lines;
moreover, it's pretty tiny
Modified Paths:
--------------
trunk/geany-plugins/build/cflags.m4
Modified: trunk/geany-plugins/build/cflags.m4
===================================================================
--- trunk/geany-plugins/build/cflags.m4 2011-04-12 17:46:15 UTC (rev 2022)
+++ trunk/geany-plugins/build/cflags.m4 2011-04-12 17:50:46 UTC (rev 2023)
@@ -6,11 +6,7 @@
CFLAGS="$1"
AC_LANG([C])
AC_MSG_CHECKING([whether the C compiler understands $CFLAGS])
- AC_COMPILE_IFELSE([
-int main(void) {
- return 0;
-}
-],
+ AC_COMPILE_IFELSE([int main(void) {return 0;}],
[AC_MSG_RESULT([yes])
$2],
[AC_MSG_RESULT([no])
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2021
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2021&view=rev
Author: eht16
Date: 2011-04-10 17:08:29 +0000 (Sun, 10 Apr 2011)
Log Message:
-----------
Include addons.h to fix a compiler warning about missing prototype for ao_image_menu_item_new()
Modified Paths:
--------------
trunk/geany-plugins/addons/src/addons.c
Modified: trunk/geany-plugins/addons/src/addons.c
===================================================================
--- trunk/geany-plugins/addons/src/addons.c 2011-04-10 17:05:45 UTC (rev 2020)
+++ trunk/geany-plugins/addons/src/addons.c 2011-04-10 17:08:29 UTC (rev 2021)
@@ -24,6 +24,7 @@
#include "geanyplugin.h"
+#include "addons.h"
#include "ao_blanklines.h"
#include "ao_doclist.h"
#include "ao_openuri.h"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.