# $Id$
+2008-03-31
+ * Conky 1.5.1 released.
+ * Added --enable-testing configure option to use insane compiler flags.
+
2008-03-30
* Added mem_res and mem_vsize to $top.
- * Improved parsing of diskio args
+ * Improved parsing of $diskio*, $disk_protect and $ioscheduler args.
2008-03-29
* Increased C99 compliance.
* Added disk_protect.
* Fixed too many open files bug in laptop_mode.
* Fixed reading interface adresses.
- * Fixed battery_bar default size
+ * Fixed battery_bar default size.
2008-03-23
- * Fixed compilation with --disable-x11
+ * Fixed compilation with --disable-x11.
* Fixed linux.c compilation problem due to (suspected) broken linux
- headers
- * $battery_bar sysfs fix (thanks Marcus)
+ headers.
+ * $battery_bar sysfs fix (thanks Marcus).
2008-03-22
- * Conky 1.5.0 released
+ * Conky 1.5.0 released.
* Smapi review: improved code, fixed memleaks and smapi_bat_perc when
using pad_percents.
* Fixed spaced_print, so pad_percents should now work as expected.
* Added CRLF characters to POP3 and IMAP stuff (should play nicer with
some servers now).
* Added preliminary support for parsing the output of external commands
- (via $execp and $execpi)
- * Applied FreeBSD total memory patch (thanks Nikos)
+ (via $execp and $execpi).
+ * Applied FreeBSD total memory patch (thanks Nikos).
2008-03-19
* Fixed a number of small memory leaks.
9) added fs_type patch (thanks Ryan)
10) added xmms2 fixes patch (thanks Lassi)
11) fix sysfs crash patch (thanks Phil)
- 12) multiple ip patch ($addrs)
+ 12) multiple ip patch ($addrs).
* Added more alignment support (top_middle, bottom_middle, middle_left,
and middle_right).
2008-02-08
* Applied 2 patches:
- 1) Add diskio for individual devices
- 2) Improved output of units, added "short_units" option
+ 1) Add diskio for individual devices.
+ 2) Improved output of units, added "short_units" option.
2008-01-05
* Applied some more submitted patches:
m4_define([conky_version_major], [1])
m4_define([conky_version_minor], [5])
m4_define([conky_version_micro], [1])
-m4_define([conky_version_tag], [pre]) dnl [] for releases
+m4_define([conky_version_tag])dnl, [pre]) dnl [] for releases
m4_define([conky_version_revision],[_pre@REVISION@])
m4_define([conky_version],
[conky_version_major().conky_version_minor().conky_version_micro()ifelse(
if test "x$want_debug" = "xyes" -a $ac_cv_c_compiler_gnu != no; then
CFLAGS="$CFLAGS -g3 -Werror"
-dnl for more 'extreme' testing
-dnl CFLAGS="$CFLAGS -g3 -Werror -Wextra -Wunused -Wdeclaration-after-statement -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Winline -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -std=c99 -pedantic -g"
AC_DEFINE([DEBUG], [], [Define for debugging])
fi
+dnl
+dnl testing
+dnl
+
+AC_ARG_ENABLE([testing],
+ AC_HELP_STRING([--enable-testing], [use strict compiler flags for testing @<:@default=no@:>@]),
+ [want_testing="$enableval"], [want_testing=no])
+
+if test "x$want_testing" = "xyes" -a $ac_cv_c_compiler_gnu != no; then
+ if test "x$want_debug" = "xyes"; then
+ CFLAGS="$CFLAGS -Wextra -Wunused -Wdeclaration-after-statement -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Winline -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -std=c99 -pedantic"
+ AC_DEFINE([TESTING], [], [Define for testing (enables strict compiler flags)])
+ else
+ CFLAGS="$CFLAGS -g3 -Werror -Wextra -Wunused -Wdeclaration-after-statement -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Winline -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -std=c99 -pedantic"
+ AC_DEFINE([TESTING], [], [Define for testing (enables strict compiler flags)])
+ fi
+fi
+
AC_SUBST(CFLAGS)
AC_SUBST(X11_LIBS)