This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project wmaker-crm.git.
The branch, next has been updated via 6037d2a9428b17c2fee6662df42c4bc7a8782df7 (commit) via 01a5ebf25e6052f7e0414409f39688ae7fd27b84 (commit) via 9eb5341f763d5eae9b1a1674d300077daf8d2a63 (commit) via fec2fd076acdeecc647f60521234450df516a64e (commit) via 0a7ea0a2f32cbc1fac7f84390752c4ba73cac38a (commit) via 3a034c4dfeff8c6b7992a8ea63e1554673f5d7ac (commit) via f9fa42e0393167a8162abf13442b6f9e5dacaa18 (commit) via 72e16bb7da703fea8138409c1a15017baf9cf2a8 (commit) via e785b6600012ecb7fc2d2742ebb2c6a57d781de4 (commit) from f34e141712fcffc8736cfd20695ee25261046269 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://repo.or.cz/w/wmaker-crm.git/commit/6037d2a9428b17c2fee6662df42c4bc7a8782df7 commit 6037d2a9428b17c2fee6662df42c4bc7a8782df7 Author: Christophe CURIS <christophe.cu...@free.fr> Date: Sat Nov 16 20:14:32 2013 +0100 WPrefs: Add case check to fix -Wmaybe-uninitialized warning The default case should not arise because the tested variable is an enum, but it the case someone would get a value wrong, we're safer with a little warning and proper fallback than with unknown behaviour. Signed-off-by: Christophe CURIS <christophe.cu...@free.fr> diff --git a/WPrefs.app/Expert.c b/WPrefs.app/Expert.c index 582013e..e939df0 100644 --- a/WPrefs.app/Expert.c +++ b/WPrefs.app/Expert.c @@ -138,6 +138,13 @@ static void createPanel(Panel * p) state = WMGetUDBoolForKey(udb, expert_options[i].op_name); break; + default: +#ifdef DEBUG + wwarning("export_options[%d].class = %d, this should not happenn", + i, expert_options[i].class); +#endif + state = expert_options[i].def_state; + break; } WMSetButtonSelected(panel->swi[i], state); } http://repo.or.cz/w/wmaker-crm.git/commit/01a5ebf25e6052f7e0414409f39688ae7fd27b84 commit 01a5ebf25e6052f7e0414409f39688ae7fd27b84 Author: Christophe CURIS <christophe.cu...@free.fr> Date: Sat Nov 16 20:14:31 2013 +0100 wmaker: Do not create a temporary variable for Xrandr support detection The other extension detection have the same situation and they already have a variable for that, do not do differently for Xrandr because it adds unnecessary complexity in the code. Signed-off-by: Christophe CURIS <christophe.cu...@free.fr> diff --git a/src/startup.c b/src/startup.c index 3bd9f99..07b6367 100644 --- a/src/startup.c +++ b/src/startup.c @@ -412,9 +412,6 @@ void StartUp(Bool defaultScreenOnly) struct sigaction sig_action; int i, j, max; char **formats; -#ifdef HAVE_XRANDR - int dummy; -#endif Atom atom[wlengthof(atomNames)]; /* @@ -596,7 +593,7 @@ void StartUp(Bool defaultScreenOnly) #endif #ifdef HAVE_XRANDR - w_global.xext.randr.supported = XRRQueryExtension(dpy, &w_global.xext.randr.event_base, &dummy); + w_global.xext.randr.supported = XRRQueryExtension(dpy, &w_global.xext.randr.event_base, &j); #endif #ifdef KEEP_XKB_LOCK_STATUS http://repo.or.cz/w/wmaker-crm.git/commit/9eb5341f763d5eae9b1a1674d300077daf8d2a63 commit 9eb5341f763d5eae9b1a1674d300077daf8d2a63 Author: Christophe CURIS <christophe.cu...@free.fr> Date: Sat Nov 16 20:14:30 2013 +0100 WRaster: Removed unused variables from Makefile Signed-off-by: Christophe CURIS <christophe.cu...@free.fr> diff --git a/wrlib/Makefile.am b/wrlib/Makefile.am index 617e453..db766ae 100644 --- a/wrlib/Makefile.am +++ b/wrlib/Makefile.am @@ -60,9 +60,6 @@ else libwraster_la_SOURCES += load_xpm_normalized.c endif -LTCOMPILE2=`echo $(LTCOMPILE) | sed -e s/-fomit-frame-pointer//` -COMPILE2=`echo $(COMPILE) | sed -e s/-fomit-frame-pointer//` - AM_CPPFLAGS = $(DFLAGS) @HEADER_SEARCH_PATH@ libwraster_la_LIBADD = @LIBRARY_SEARCH_PATH@ @GFXLIBS@ @XLIBS@ @LIBXMU@ -lm http://repo.or.cz/w/wmaker-crm.git/commit/fec2fd076acdeecc647f60521234450df516a64e commit fec2fd076acdeecc647f60521234450df516a64e Author: Christophe CURIS <christophe.cu...@free.fr> Date: Sat Nov 16 20:14:29 2013 +0100 WINGs: Removed unnecessary type conversion Signed-off-by: Christophe CURIS <christophe.cu...@free.fr> diff --git a/WINGs/hashtable.c b/WINGs/hashtable.c index bf4ea7b..d8e53a2 100644 --- a/WINGs/hashtable.c +++ b/WINGs/hashtable.c @@ -42,7 +42,7 @@ static inline unsigned hashString(const void *param) unsigned ctr = 0; while (*key) { - ret ^= *(char *)key++ << ctr; + ret ^= *key++ << ctr; ctr = (ctr + 1) % sizeof(char *); } http://repo.or.cz/w/wmaker-crm.git/commit/0a7ea0a2f32cbc1fac7f84390752c4ba73cac38a commit 0a7ea0a2f32cbc1fac7f84390752c4ba73cac38a Author: Christophe CURIS <christophe.cu...@free.fr> Date: Sat Nov 16 20:14:28 2013 +0100 configure: Added m4 check to detect possible non-expanded macros When autoconf encounters a macro name that it does not know, it assumes that it is just a standard keyword that needs to end up in the generated configure script. This patch teaches m4 about the syntax used for our macros so it can now that it is supposed to be a macro, and then it can stop and report the problem. Signed-off-by: Christophe CURIS <christophe.cu...@free.fr> diff --git a/m4/windowmaker.m4 b/m4/windowmaker.m4 index 6658314..3171cfc 100644 --- a/m4/windowmaker.m4 +++ b/m4/windowmaker.m4 @@ -16,6 +16,14 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +dnl Tell m4 to not allow stuff starting with "WM_" in the generated file +dnl because this is likely a problem of a macro that was not expanded as +dnl expected (with an exception for an already used variable name) +m4_pattern_forbid([^_?WM_]) +m4_pattern_allow([^WM_OSDEP(_[A-Z]*)?$]) + + dnl dnl WM_CHECK_XFT_VERSION(MIN_VERSION, [ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]) dnl http://repo.or.cz/w/wmaker-crm.git/commit/3a034c4dfeff8c6b7992a8ea63e1554673f5d7ac commit 3a034c4dfeff8c6b7992a8ea63e1554673f5d7ac Author: Christophe CURIS <christophe.cu...@free.fr> Date: Sat Nov 16 20:14:27 2013 +0100 configure: Removed macro that are not used anymore ...and took opportunity to add the traditional copyright notice Signed-off-by: Christophe CURIS <christophe.cu...@free.fr> diff --git a/m4/windowmaker.m4 b/m4/windowmaker.m4 index 317d65e..6658314 100644 --- a/m4/windowmaker.m4 +++ b/m4/windowmaker.m4 @@ -1,25 +1,20 @@ -dnl -dnl WM_CHECK_LIB(NAME, FUNCTION, EXTRALIBS) -dnl -AC_DEFUN([WM_CHECK_LIB], -[ -LDFLAGS_old="$LDFLAGS" -LDFLAGS="$LDFLAGS $lib_search_path" -AC_CHECK_LIB([$1],[$2],yes=yes,no=no,[$3]) -LDFLAGS="$LDFLAGS_old" -]) - -dnl -dnl WM_CHECK_HEADER(NAME) -dnl -AC_DEFUN([WM_CHECK_HEADER], -[ -CPPFLAGS_old="$CPPFLAGS" -CPPFLAGS="$CPPFLAGS $inc_search_path" -AC_CHECK_HEADER([$1]) -CPPFLAGS="$CPPFLAGS_old" -]) - +# windowmaker.m4 - General macros for Window Maker autoconf +# +# Copyright (c) 2004 Dan Pascu +# +# 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. dnl dnl WM_CHECK_XFT_VERSION(MIN_VERSION, [ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]) http://repo.or.cz/w/wmaker-crm.git/commit/f9fa42e0393167a8162abf13442b6f9e5dacaa18 commit f9fa42e0393167a8162abf13442b6f9e5dacaa18 Author: Christophe CURIS <christophe.cu...@free.fr> Date: Sat Nov 16 20:14:26 2013 +0100 configure: Replaced deprecated construct with recommended new check The macro 'AC_ISC_POSIX' is now said to be deprecated, so we use the new recommended check instead as we make light use of the corresponding function. Signed-off-by: Christophe CURIS <christophe.cu...@free.fr> diff --git a/configure.ac b/configure.ac index fe40789..2ddec30 100644 --- a/configure.ac +++ b/configure.ac @@ -67,7 +67,6 @@ dnl AC_CANONICAL_HOST -- already done by AC_PROG_LIBTOOL dnl Checks for programs. dnl =================== -AC_ISC_POSIX AC_PROG_CC WM_PROG_CC_C11 AC_PROG_LN_S @@ -247,6 +246,7 @@ AC_FUNC_MEMCMP AC_FUNC_VPRINTF AC_CHECK_FUNCS(gethostname select poll strcasecmp strncasecmp setsid mallinfo mkstemp sysconf) +AC_SEARCH_LIBS([strerror], [cposix]) dnl Check for strlcat/strlcpy dnl ========================= http://repo.or.cz/w/wmaker-crm.git/commit/72e16bb7da703fea8138409c1a15017baf9cf2a8 commit 72e16bb7da703fea8138409c1a15017baf9cf2a8 Author: Christophe CURIS <christophe.cu...@free.fr> Date: Sat Nov 16 20:14:25 2013 +0100 configure: Enable compiler warnings for trampoline code generation This attribute reports cases where GCC has to generate special code to handle some C constructs, for which we'd prefer an explicit code instead of counting on GCC doing the work. Signed-off-by: Christophe CURIS <christophe.cu...@free.fr> diff --git a/configure.ac b/configure.ac index 1ecd8f5..fe40789 100644 --- a/configure.ac +++ b/configure.ac @@ -139,6 +139,11 @@ AS_IF([test "x$debug" = "xyes"], [-Wsuggest-attribute=noreturn dnl gcc syntax -Wmissing-noreturn dnl clang syntax ]) + dnl + dnl The use of trampolines cause code that can crash on some + dnl secured OS, and in a more general way generate binary code + dnl that may not be optimal + AX_CFLAGS_GCC_OPTION([-Wtrampolines]) ], [dnl dnl When debug not enabled, we try to avoid some non-necessary dnl messages from the compiler http://repo.or.cz/w/wmaker-crm.git/commit/e785b6600012ecb7fc2d2742ebb2c6a57d781de4 commit e785b6600012ecb7fc2d2742ebb2c6a57d781de4 Author: Christophe CURIS <christophe.cu...@free.fr> Date: Sat Nov 16 20:14:24 2013 +0100 configure: Removed deprecated lines for unused X stuff diff --git a/configure.ac b/configure.ac index d995e63..1ecd8f5 100644 --- a/configure.ac +++ b/configure.ac @@ -638,16 +638,6 @@ if test "$shm" = yes; then fi -dnl R6 Style Session Management Support -dnl =================================== - -# -# -#AC_DEFINE(R6SM) -#AC_SUBST(XSMPLIBS) -# - - dnl ============================================== dnl Graphic Format Libraries dnl ============================================== ----------------------------------------------------------------------- Summary of changes: WINGs/hashtable.c | 2 +- WPrefs.app/Expert.c | 7 +++++++ configure.ac | 17 ++++++----------- m4/windowmaker.m4 | 43 +++++++++++++++++++++++-------------------- src/startup.c | 5 +---- wrlib/Makefile.am | 3 --- 6 files changed, 38 insertions(+), 39 deletions(-) repo.or.cz automatic notification. Contact project admin crma...@gmail.com if you want to unsubscribe, or site admin ad...@repo.or.cz if you receive no reply. -- wmaker-crm.git ("The Window Maker window manager") -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.