Markus Elfring [Mon, 25 Nov 2013 16:16:25 +0000 (17:16 +0100)]
Bug #429: Clean-up of reserved identifier violations
A few identifiers did not fit to the expected naming convention of the
C++ language standard. This detail was fixed by the deletion of an underscore.
The probability for name clashes was reduced for the affected include guards
by the addition of a kind of universally unique identifier as a suffix.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Markus Elfring [Mon, 25 Nov 2013 16:10:51 +0000 (17:10 +0100)]
Bug #429: Clean-up of reserved identifier violations
Some identifiers did not fit to the expected naming convention of the
C language standard. This detail was fixed by the deletion of leading underscores.
The probability for name clashes was reduced for the affected include guards
by the addition of a kind of universally unique identifier as a suffix.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Steven Hartland [Mon, 7 Oct 2013 11:21:37 +0000 (11:21 +0000)]
== Makefile / config fixes ==
* Fixed invalid AC_LANG_PROGRAM usage.
* Fixed AUTOMAKE_OPTIONS not defining subdir-objects which caused warnings
* Switched from legacy INCLUDES to AM_CPPFLAGS
* Added Makefile clean targets to ensure all autogenerated targets are removed
* Updated Makefile.PL to be more portable and less hardcoded for Win32
* Switched bash scripts to use #!/usr/bin/env bash for compatibility with none Linux OS's
* Cleaned up win32/Makefile.msc variable defines for easy updating
* Updated defines of SIZEOF_TIME_T to take into account the variances in Windows.
== Code Enhancements / fixes ==
* Added support for rrdcached client methods to windows builds
* Fixed invalid type warning for atoi assignment to a enum
* Fixed malloc cast warnings
* Fixed illegal use of this for variable
* Fixed getsockname cast warning
* Removed HAVE_CONFIG_H checks as all platforms now have it
* Removed unused skip variable from rrd_graph data_fetch
* Fixed unused var warnings for newGraphDescription params
* Fixed unused var st warning in HandleInputLine
* Fixed all includes for <stdint.h> to check HAVE_STDINT_H
* Fixed use of uninitialsed base_dir in rrd_mkdir_p on Win32
* Updated win32/README with details of obtaining stdint.h as well as locations
for dependencies
Christoph Biedl [Sun, 6 Oct 2013 21:41:27 +0000 (23:41 +0200)]
Add a --legend-direction=bottomup variant
The --legend-direction=bottomup2 variant will exempt leading and
trailing COMMENT lines from re-ordering. This might be useful for
generators like munin that use such lines for table headers and the
like.
Julien Thomas [Tue, 25 Jun 2013 11:22:40 +0000 (13:22 +0200)]
Allow empty imginfo string format
Commit 37d3050 "Added imginfo format check" breaks -f "" which used
to be very usefull to print data as text format on stdout. Allowing
an empty -f was particularly interesting because there was no
<width>x<height> printed out.
Julien Thomas [Tue, 25 Jun 2013 11:11:27 +0000 (13:11 +0200)]
Add prototype for bad_format_imginfo
This patch solve implicit declaration of function 'bad_format_imginfo'
warning introduced by commit 37d3050 "Added imginfo format check".
rrd_graph.c: In function 'rrd_graph_v':
rrd_graph.c:4025: warning: implicit declaration of function 'bad_format_imginfo'
rrd_graph.c:4025: warning: nested extern declaration of 'bad_format_imginfo'
rrd_graph.c: At top level:
rrd_graph.c:4836: warning: no previous prototype for 'bad_format_imginfo'
Vincent Bernat [Mon, 8 Apr 2013 16:16:49 +0000 (18:16 +0200)]
graph: when an RRD file is missing, provide an empty one
Instead of providing a RRD without any DS, we provide one with the
expected DS. This allows one to use CDEF with this RRD. The DS
contains only NaN values.
Vincent Bernat [Fri, 5 Apr 2013 09:28:14 +0000 (11:28 +0200)]
build: allow out-of-tree build
Building out of the tree is convenient because we there it does not
pollute VCS status and make it convenient to clean everything by just
removing the build directory.
Currently, the build won't work with Perl, Python and Ruby bindings.
Vincent Bernat [Thu, 4 Apr 2013 17:18:50 +0000 (19:18 +0200)]
add a gitignore file
It contains common exclusion rules, autoconf stuff, automake stuff,
cscope and po. It is expected that a user would use a `build/`
directory to build stuff.