Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Mon, 06 Apr 2015 18:07:32 UTC
Commit: e5e7551bb59f94bb491ff79282f7e4ce7fb5f157
https://github.com/geany/geany-plugins/commit/e5e7551bb59f94bb491ff79282f7e…
Log Message:
-----------
projectorganizer: Fix API version check
The API version check was rolled back as part of c890cbc3 probably by
mistake, as the plugin really depends on 221 as it uses the new
TagManager API.
Modified Paths:
--------------
projectorganizer/src/prjorg-main.c
Modified: projectorganizer/src/prjorg-main.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -34,7 +34,7 @@ GeanyPlugin *geany_plugin;
GeanyData *geany_data;
GeanyFunctions *geany_functions;
-PLUGIN_VERSION_CHECK(214)
+PLUGIN_VERSION_CHECK(221)
PLUGIN_SET_TRANSLATABLE_INFO(
LOCALEDIR,
GETTEXT_PACKAGE,
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Frank Lanitz <frank(a)frank.uvena.de>
Committer: Frank Lanitz <frank(a)frank.uvena.de>
Date: Mon, 06 Apr 2015 16:56:20 UTC
Commit: 3ddf48c5a60592734720732b5b1b28738f9c9715
https://github.com/geany/geany-plugins/commit/3ddf48c5a60592734720732b5b1b2…
Log Message:
-----------
Autoclose: Try to improve some grammatical item
Modified Paths:
--------------
autoclose/src/autoclose.c
Modified: autoclose/src/autoclose.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -1069,7 +1069,7 @@ plugin_configure(GtkDialog *dialog)
_("Improved auto-indent for curly brackets: type \"{\" "
"and then press Enter - plugin will create full indented block. "
"Works without \"auto-close { }\" checkbox."));
- WIDGET_CONF_BOOL(whitesmiths_style, _("\tWhitesmiths style"),
+ WIDGET_CONF_BOOL(whitesmiths_style, _("\tWhitesmith's style"),
_("This style puts the brace associated with a control statement on "
"the next line, indented. Statements within the braces are indented "
"to the same level as the braces."));
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Mon, 06 Apr 2015 15:45:37 UTC
Commit: 17b9d8318ca9ca8893e7cacbbdf50b227156714d
https://github.com/geany/geany-plugins/commit/17b9d8318ca9ca8893e7cacbbdf50…
Log Message:
-----------
autotools: Improve check for compiler flags
Try and avoid compiler forgiveness about unknown flags to really know
whether the compiler understands the flag or just doesn't care much.
This avoids adding flags the compiler might warn about later on,
polluting the output. In practice, CLang does this with gcc-like
warning flags: it does not treat the ones it doesn't understand as
erroneous flags, yet emits warnings about them by default. This leads
to the actual build being riddled with warnings about unknown flags,
hiding relevant warnings.
To better detect such forgiving compiler behavior, try and find the
flag the compiler has for treating warnings as errors, and use it when
checking for additional flags. This assumes that if such a flag is
used the compiler will either error out when passed an unknown flag,
or just shut up completely -- either being OK with us.
Modified Paths:
--------------
build/cflags.m4
Modified: build/cflags.m4
39 lines changed, 31 insertions(+), 8 deletions(-)
===================================================================
@@ -1,20 +1,43 @@
-dnl GP_CHECK_CFLAG(FLAG, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
-dnl Checks whether the C compiler understands FLAG
-AC_DEFUN([GP_CHECK_CFLAG],
+dnl _GP_CHECK_CFLAG(FLAG, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
+dnl Checks whether the C compiler works when passed FLAG
+dnl This might not mean it actually understand the flag, in case it is
+dnl forgiving about unknown flags.
+AC_DEFUN([_GP_CHECK_CFLAG],
[
gp_check_cflag_CFLAGS="$CFLAGS"
CFLAGS="$1"
- AC_MSG_CHECKING([whether the C compiler understands $CFLAGS])
AC_LANG_PUSH(C)
AC_COMPILE_IFELSE([AC_LANG_SOURCE([int main(void) {return 0;}])],
- [AC_MSG_RESULT([yes])
- $2],
- [AC_MSG_RESULT([no])
- $3])
+ [$2], [$3])
AC_LANG_POP(C)
CFLAGS="$gp_check_cflag_CFLAGS"
])
+dnl _GP_CHECK_CFLAG_WERROR
+dnl Checks for the flag the compiler has to treat warnings as errors
+dnl Sets $_GP_CFLAG_WERROR
+AC_DEFUN([_GP_CHECK_CFLAG_WERROR],
+[
+ _GP_CFLAG_WERROR=
+ AC_MSG_CHECKING([for the C compiler flag to treat warnings as errors])
+ _GP_CHECK_CFLAG([-Werror], [_GP_CFLAG_WERROR="-Werror"])
+ AC_MSG_RESULT([${_GP_CFLAG_WERROR:-none}])
+])
+
+dnl GP_CHECK_CFLAG(FLAG, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
+dnl Checks whether the C compiler understands FLAG
+AC_DEFUN([GP_CHECK_CFLAG],
+[
+ AC_REQUIRE([_GP_CHECK_CFLAG_WERROR])
+
+ AC_MSG_CHECKING([whether the C compiler understands $1])
+ _GP_CHECK_CFLAG([$1 $_GP_CFLAG_WERROR],
+ [AC_MSG_RESULT([yes])
+ $2],
+ [AC_MSG_RESULT([no])
+ $3])
+])
+
dnl GP_CHECK_CFLAGS
dnl Checks for default Geany-Plugins CFLAGS and defines GP_CFLAGS
AC_DEFUN([GP_CHECK_CFLAGS],
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Mon, 06 Apr 2015 14:18:20 UTC
Commit: 34ed9595d3aedb4be5ce724e42313ece6370b224
https://github.com/geany/geany-plugins/commit/34ed9595d3aedb4be5ce724e42313…
Log Message:
-----------
treebrowser: Don't try and pass a column ID as a column object
This was not a real problem because the passed column ID was 0, so was
interpreted as NULL, which is a valid value, but it still wasn't right.
Modified Paths:
--------------
treebrowser/src/treebrowser.c
Modified: treebrowser/src/treebrowser.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -708,7 +708,7 @@ treebrowser_search(gchar *uri, gpointer parent)
{
path = gtk_tree_model_get_path(GTK_TREE_MODEL(treestore), &iter);
gtk_tree_view_expand_to_path(GTK_TREE_VIEW(treeview), path);
- gtk_tree_view_scroll_to_cell(GTK_TREE_VIEW(treeview), path, TREEBROWSER_COLUMN_ICON, FALSE, 0, 0);
+ gtk_tree_view_scroll_to_cell(GTK_TREE_VIEW(treeview), path, NULL, FALSE, 0, 0);
gtk_tree_view_set_cursor(GTK_TREE_VIEW(treeview), path, treeview_column_text, FALSE);
gtk_tree_path_free(path);
g_free(uri_current);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).