]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/log
thirdparty/rrdtool-1.x.git
10 years agoMerge pull request #549 from oetiker/graph-fixes
Tobias Oetiker [Fri, 24 Oct 2014 03:57:44 +0000 (05:57 +0200)] 
Merge pull request #549 from oetiker/graph-fixes

fix graph regressions

10 years agoMerge pull request #548 from oetiker/pcre-fallback
Tobias Oetiker [Fri, 24 Oct 2014 03:57:32 +0000 (05:57 +0200)] 
Merge pull request #548 from oetiker/pcre-fallback

if glib does not have regex support, try libpcre

10 years agofix graph regressions 549/head
Mathias Kettner [Thu, 23 Oct 2014 21:48:52 +0000 (23:48 +0200)] 
fix graph regressions

10 years agoif glib does not have regex support, try libpcre 548/head
Tobias Oetiker [Thu, 23 Oct 2014 21:35:51 +0000 (23:35 +0200)] 
if glib does not have regex support, try libpcre

10 years agodo not call fadvise when working mmapped
Tobias Oetiker [Mon, 20 Oct 2014 13:12:57 +0000 (15:12 +0200)] 
do not call fadvise when working mmapped

10 years agoMerge branch 'master' of github.com:oetiker/rrdtool-1.x
Tobias Oetiker [Thu, 16 Oct 2014 14:42:56 +0000 (16:42 +0200)] 
Merge branch 'master' of github.com:oetiker/rrdtool-1.x

10 years agokeep requirements in sync with 1.4.9
Tobias Oetiker [Thu, 16 Oct 2014 14:42:43 +0000 (16:42 +0200)] 
keep requirements in sync with 1.4.9

10 years agodo not require pango_font_map_create_context since pango_cairo_font_map_create_contex...
Tobias Oetiker [Thu, 16 Oct 2014 14:41:07 +0000 (16:41 +0200)] 
do not require pango_font_map_create_context since pango_cairo_font_map_create_context works as well and EL5 is happy

10 years agoMerge pull request #543 from msperl/master-daemon-fetchbin
Tobias Oetiker [Sat, 4 Oct 2014 12:54:19 +0000 (14:54 +0200)] 
Merge pull request #543 from msperl/master-daemon-fetchbin

FETCHBIN Daemon command also fixing FETCH limitations

10 years agofixed output problems and switched to a generic function for delivery 543/head
Martin Sperl [Fri, 3 Oct 2014 09:21:44 +0000 (09:21 +0000)] 
fixed output problems and switched to a generic function for delivery

10 years agofixed returned number of lines by allowing arbitrary calculation
Martin Sperl [Thu, 2 Oct 2014 14:57:40 +0000 (14:57 +0000)] 
fixed returned number of lines by allowing arbitrary calculation

10 years agofixed return codes to be "correct"
Martin Sperl [Thu, 2 Oct 2014 13:04:30 +0000 (13:04 +0000)] 
fixed return codes to be "correct"

10 years agoadded descriptions
Martin Sperl [Thu, 2 Oct 2014 09:47:00 +0000 (09:47 +0000)] 
added descriptions

10 years agofixed 0-byte issue in add_to_wbuf
Martin Sperl [Thu, 2 Oct 2014 09:31:28 +0000 (09:31 +0000)] 
fixed 0-byte issue in add_to_wbuf
changed output format to the version that tobi preferrs

10 years agoimplemented fetchbin protocol
Martin Sperl [Thu, 2 Oct 2014 08:06:18 +0000 (08:06 +0000)] 
implemented fetchbin protocol
as well as fixing a bug in fetch

10 years agomoved to optional arguments and prepared FETCHBIN - currently identical to FETCH
Martin Sperl [Wed, 1 Oct 2014 18:56:28 +0000 (18:56 +0000)] 
moved to optional arguments and prepared FETCHBIN - currently identical to FETCH

10 years agoMerge pull request #540 from maxnet/master
Tobias Oetiker [Wed, 1 Oct 2014 06:21:18 +0000 (08:21 +0200)] 
Merge pull request #540 from maxnet/master

Loosen PDF, EPS, SVG, libxml2 dependency, and add --disable-feature options

10 years agoMerge pull request #542 from darklightwu/master
Tobias Oetiker [Wed, 1 Oct 2014 06:20:22 +0000 (08:20 +0200)] 
Merge pull request #542 from darklightwu/master

Add "=encoding ISO8859-1" for es language.

10 years agoAdd "=encoding ISO8859-1" for es language. 542/head
darklightwu [Fri, 26 Sep 2014 17:33:01 +0000 (01:33 +0800)] 
Add "=encoding ISO8859-1" for es language.

On Ubuntu 14.04, pod2man gets failure for Non-ASCII character.

Signed-off-by: darklightwu <darklightwu@gmail.com>
10 years agoMerge pull request #541 from romanofski/master
Tobias Oetiker [Tue, 23 Sep 2014 06:44:59 +0000 (08:44 +0200)] 
Merge pull request #541 from romanofski/master

Use `env` to start tclsh instead of /bin/bash

10 years agoUse `env` to start tclsh instead of /bin/bash 541/head
Roman Joost [Mon, 22 Sep 2014 23:36:05 +0000 (09:36 +1000)] 
Use `env` to start tclsh instead of /bin/bash

This patch replaces the shebang line using /bin/bash with /usr/bin/env.
The previous version obfuscates which shell is being used by the tcl
script. Any benefits of using Bash as a start up are provided by `env`.

This closes issue #537.

10 years agoAdd configure option to disable examples 540/head
Floris Bos [Fri, 19 Sep 2014 16:07:27 +0000 (18:07 +0200)] 
Add configure option to disable examples

Having examples installed is not always desired
(e.g. no use of them on embedded systems)

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
10 years agoAdd configure option to disable rrdcached
Floris Bos [Fri, 19 Sep 2014 15:59:43 +0000 (17:59 +0200)] 
Add configure option to disable rrdcached

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
10 years agoAdd configure option to disable rrd_restore support
Floris Bos [Fri, 19 Sep 2014 15:49:58 +0000 (17:49 +0200)] 
Add configure option to disable rrd_restore support

For systems that do not have libxml2 installed

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
10 years agoDo not require cairo to have PDF, EPS, SVG support
Floris Bos [Fri, 19 Sep 2014 15:12:59 +0000 (17:12 +0200)] 
Do not require cairo to have PDF, EPS, SVG support

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
10 years agothe %s portion of the printf format is optional
Tobias Oetiker [Tue, 16 Sep 2014 09:38:48 +0000 (11:38 +0200)] 
the %s portion of the printf format is optional

10 years agoallow gG format
Tobias Oetiker [Tue, 16 Sep 2014 09:31:11 +0000 (11:31 +0200)] 
allow gG format

10 years agoadd examples
Tobias Oetiker [Tue, 16 Sep 2014 09:21:31 +0000 (11:21 +0200)] 
add examples

10 years agoadded documentation for sshipways new functions
Tobias Oetiker [Tue, 16 Sep 2014 09:04:01 +0000 (11:04 +0200)] 
added documentation for sshipways new functions

10 years agodo not capture
Tobias Oetiker [Tue, 16 Sep 2014 08:37:42 +0000 (10:37 +0200)] 
do not capture

10 years agofix character class definition
Tobias Oetiker [Tue, 16 Sep 2014 08:34:23 +0000 (10:34 +0200)] 
fix character class definition

10 years agouse new bad_format_print check
Tobias Oetiker [Tue, 16 Sep 2014 08:10:25 +0000 (10:10 +0200)] 
use new bad_format_print check

10 years agoremove duplicate definition
Tobias Oetiker [Tue, 16 Sep 2014 07:50:26 +0000 (09:50 +0200)] 
remove duplicate definition

10 years agoa proper fix to the bad_format checking misery
Tobias Oetiker [Tue, 16 Sep 2014 07:48:26 +0000 (09:48 +0200)] 
a proper fix to the bad_format checking misery

Conflicts:

src/rrd_graph.c

10 years agoMerge pull request #536 from msperl/master-fix-for-argument-parser
Tobias Oetiker [Tue, 9 Sep 2014 11:32:35 +0000 (13:32 +0200)] 
Merge pull request #536 from msperl/master-fix-for-argument-parser

fixed argument parser to handle positional arguments correctly

10 years agofixed argument parser to handle positional arguments correctly 536/head
Martin Sperl [Tue, 9 Sep 2014 10:13:45 +0000 (03:13 -0700)] 
fixed argument parser to handle positional arguments correctly
also made the "2 spaces" prefix for some labels explicit to the use-case
(this should actually get moved elsewhere)

10 years agobetter parse the matched string
Tobias Oetiker [Mon, 8 Sep 2014 12:17:37 +0000 (14:17 +0200)] 
better parse the matched string

10 years agodo not depend on g_lib_free_full yet ... RH6 at least does not have a recent enough...
Tobias Oetiker [Mon, 8 Sep 2014 11:35:48 +0000 (13:35 +0200)] 
do not depend on g_lib_free_full yet ... RH6 at least does not have a recent enough glibc

10 years agoMerge pull request #531 from stamfest/create-with-source-data
Tobias Oetiker [Fri, 5 Sep 2014 13:39:05 +0000 (15:39 +0200)] 
Merge pull request #531 from stamfest/create-with-source-data

Create with source data

10 years agoFix tune related test scripts to work in the presence of a caching daemon. 531/head
Peter Stamfest [Fri, 5 Sep 2014 06:39:42 +0000 (08:39 +0200)] 
Fix tune related test scripts to work in the presence of a caching daemon.
Also do explicit "forgetting" of just tuned RRD, because "tune" is
never done via rrdcached.

10 years agoMerge branch 'travis-fix' into create-with-source-data
Peter Stamfest [Fri, 5 Sep 2014 06:36:22 +0000 (08:36 +0200)] 
Merge branch 'travis-fix' into create-with-source-data

10 years agoreplace "realpath" with "readlink -f"
Peter Stamfest [Fri, 5 Sep 2014 06:24:54 +0000 (08:24 +0200)] 
replace "realpath" with "readlink -f"

10 years agoget rid of warnings
Peter Stamfest [Fri, 5 Sep 2014 06:24:21 +0000 (08:24 +0200)] 
get rid of warnings

10 years agoMerge branch 'tobi-master' into create-with-source-data
Peter Stamfest [Thu, 4 Sep 2014 20:50:08 +0000 (22:50 +0200)] 
Merge branch 'tobi-master' into create-with-source-data

10 years agofor the tests we need dc
Tobias Oetiker [Thu, 4 Sep 2014 20:26:36 +0000 (22:26 +0200)] 
for the tests we need dc

10 years agoMerge pull request #535 from stamfest/more-tobi-fixes
Tobias Oetiker [Thu, 4 Sep 2014 20:20:53 +0000 (22:20 +0200)] 
Merge pull request #535 from stamfest/more-tobi-fixes

More tobi fixes

10 years agoMerge pull request #533 from stamfest/fix-test-for-tobi
Tobias Oetiker [Thu, 4 Sep 2014 20:16:18 +0000 (22:16 +0200)] 
Merge pull request #533 from stamfest/fix-test-for-tobi

Fix rpn1 test to properly report problems

10 years agoFix NULL pointer dereference error introduced during get_path "fixing" 535/head
Peter Stamfest [Thu, 4 Sep 2014 18:40:00 +0000 (20:40 +0200)] 
Fix NULL pointer dereference error introduced during get_path "fixing"

10 years agoHave travis run rrdcached based tests as well
Peter Stamfest [Thu, 4 Sep 2014 06:58:47 +0000 (08:58 +0200)] 
Have travis run rrdcached based tests as well

10 years agoImprove test suite. Allow to have tests run using a local rrdcached instance
Peter Stamfest [Thu, 4 Sep 2014 06:55:46 +0000 (08:55 +0200)] 
Improve test suite. Allow to have tests run using a local rrdcached instance
using the TESTS_STLYE environment variable (Set it to 'rrdcached')

10 years agoMake rrd create work via the caching daemon
Peter Stamfest [Thu, 4 Sep 2014 06:54:46 +0000 (08:54 +0200)] 
Make rrd create work via the caching daemon

10 years agofetch data from cached with full double precision to make sure results 534/head
Peter Stamfest [Thu, 4 Sep 2014 06:50:42 +0000 (08:50 +0200)] 
fetch data from cached with full double precision to make sure results
obtained with and without rrdcached are the same.
This might be deemed to high a cost, because the line protocol now carries
up to 70% more data

10 years agoFix rrd create via cached - file name sanitation (absolutation?)
Peter Stamfest [Thu, 4 Sep 2014 06:46:29 +0000 (08:46 +0200)] 
Fix rrd create via cached - file name sanitation (absolutation?)
did quietly assume that files would have to exists. Which ist not
quite right for many "create" usecases.

10 years agofix "Cannot parse value line" errors because rrd_strtodbl cannot handle "-nan"
Peter Stamfest [Thu, 4 Sep 2014 06:06:48 +0000 (08:06 +0200)] 
fix "Cannot parse value line" errors because rrd_strtodbl cannot handle "-nan"

10 years agofixup implement new test style
Peter Stamfest [Tue, 2 Sep 2014 21:55:27 +0000 (23:55 +0200)] 
fixup implement new test style

10 years agoadd dc package to travis install requirements
Peter Stamfest [Tue, 2 Sep 2014 21:16:13 +0000 (23:16 +0200)] 
add dc package to travis install requirements

10 years agoadd --template documentation
Peter Stamfest [Tue, 2 Sep 2014 21:14:49 +0000 (23:14 +0200)] 
add --template documentation

10 years agoImplement --template option to rrdtool create
Peter Stamfest [Tue, 2 Sep 2014 20:44:18 +0000 (22:44 +0200)] 
Implement --template option to rrdtool create

10 years agosupport --sources (aka -r) in rrd daemon
Peter Stamfest [Tue, 2 Sep 2014 19:27:15 +0000 (21:27 +0200)] 
support --sources (aka -r) in rrd daemon

10 years agoimplement new test "style": valgrind-logfile. This dumps everything to
Peter Stamfest [Tue, 2 Sep 2014 15:07:53 +0000 (17:07 +0200)] 
implement new test "style": valgrind-logfile. This dumps everything to
log files named <test>-valgrind.log and only reports the LEAK SUMMARY to
stderr in case of reported errors. On travis, currently the logfiles
are effectively lost, but this all avoids problems with total test outputs
exceeding the current travis limit of 4MB...

10 years agospeed up modify4 test - especially under valgrind
Peter Stamfest [Mon, 1 Sep 2014 19:56:59 +0000 (21:56 +0200)] 
speed up modify4 test - especially under valgrind

10 years agowhen using valgrind, make sure we set some env vars in order to
Peter Stamfest [Mon, 1 Sep 2014 18:39:44 +0000 (20:39 +0200)] 
when using valgrind, make sure we set some env vars in order to
have glib behave better and more "understandeable" for valgrind

10 years agoAvoid memory leak and handle out-of-memory in a forgotten case
Peter Stamfest [Mon, 1 Sep 2014 18:37:44 +0000 (20:37 +0200)] 
Avoid memory leak and handle out-of-memory in a forgotten case

10 years agoFix nasty off-by-one error causing access beyond allocated memory
Peter Stamfest [Mon, 1 Sep 2014 18:36:59 +0000 (20:36 +0200)] 
Fix nasty off-by-one error causing access beyond allocated memory

10 years agoAvoid some valgrind errors to be either detected to be supressed.
Peter Stamfest [Mon, 1 Sep 2014 18:35:48 +0000 (20:35 +0200)] 
Avoid some valgrind errors to be either detected to be supressed.

10 years agoDocumentation
Peter Stamfest [Sun, 31 Aug 2014 19:04:18 +0000 (21:04 +0200)] 
Documentation

10 years agoRemove debug code and make "my" code warning-free.
Peter Stamfest [Sun, 31 Aug 2014 17:32:58 +0000 (19:32 +0200)] 
Remove debug code and make "my" code warning-free.

10 years agoImplement mapping
Peter Stamfest [Sun, 31 Aug 2014 16:28:51 +0000 (18:28 +0200)] 
Implement mapping

10 years agoadd DS syntax to map data-sources during create with sources. also switch to use...
Peter Stamfest [Wed, 27 Aug 2014 08:34:47 +0000 (10:34 +0200)] 
add DS syntax to map data-sources during create with sources. also switch to use regular expressions to parse DS

10 years agoImprove tests
Peter Stamfest [Sat, 30 Aug 2014 16:27:24 +0000 (18:27 +0200)] 
Improve tests

10 years agoCDP prefilling should now mostly work...
Peter Stamfest [Thu, 28 Aug 2014 21:49:58 +0000 (23:49 +0200)] 
CDP prefilling should now mostly work...

10 years agoGeneralize RRA candidate finding
Peter Stamfest [Thu, 28 Aug 2014 08:37:11 +0000 (10:37 +0200)] 
Generalize RRA candidate finding

10 years agoFactor out adding/removing of temporary RRA for CDP prefilling
Peter Stamfest [Thu, 28 Aug 2014 07:57:34 +0000 (09:57 +0200)] 
Factor out adding/removing of temporary RRA for CDP prefilling

10 years agostart to work on prefilling of CDPs
Peter Stamfest [Thu, 28 Aug 2014 06:59:23 +0000 (08:59 +0200)] 
start to work on prefilling of CDPs

10 years agoprefill last DS values
Peter Stamfest [Wed, 27 Aug 2014 09:52:46 +0000 (11:52 +0200)] 
prefill last DS values

10 years agofactor out core bin-prefilling to shorten functions
Peter Stamfest [Wed, 27 Aug 2014 08:55:23 +0000 (10:55 +0200)] 
factor out core bin-prefilling to shorten functions

10 years agotake XFF into account when prefilling
Peter Stamfest [Wed, 27 Aug 2014 08:31:29 +0000 (10:31 +0200)] 
take XFF into account when prefilling

10 years agoAllow to use different selection strategies when selecting candidate RRAs
Peter Stamfest [Wed, 27 Aug 2014 08:23:32 +0000 (10:23 +0200)] 
Allow to use different selection strategies when selecting candidate RRAs
for modify or prefilling

10 years agoadd "const" keyword to cf_conv to avoid some warnings
Peter Stamfest [Wed, 27 Aug 2014 07:24:10 +0000 (09:24 +0200)] 
add "const" keyword to cf_conv to avoid some warnings

10 years agoadd custom quicksort, where the comparison function takes an extra argument for param...
Peter Stamfest [Wed, 27 Aug 2014 06:28:01 +0000 (08:28 +0200)] 
add custom quicksort, where the comparison function takes an extra argument for parameters
Using quicksort might in practice actually be overkill, because most of the time we will
sort rather short arrays anyway.

10 years agoAdd new test for checking handling of CFs during prefilling
Peter Stamfest [Tue, 26 Aug 2014 09:51:43 +0000 (11:51 +0200)] 
Add new test for checking handling of CFs during prefilling

10 years agoadd test playing with different bin sizes
Peter Stamfest [Sun, 24 Aug 2014 21:48:32 +0000 (23:48 +0200)] 
add test playing with different bin sizes

10 years agotake start time from sources if unspecified
Peter Stamfest [Sun, 24 Aug 2014 21:19:32 +0000 (23:19 +0200)] 
take start time from sources if unspecified

10 years agoimprove tests
Peter Stamfest [Sun, 24 Aug 2014 20:59:32 +0000 (22:59 +0200)] 
improve tests

10 years agoactivate create-with-source tests in standard test suite
Peter Stamfest [Sun, 24 Aug 2014 20:52:50 +0000 (22:52 +0200)] 
activate create-with-source tests in standard test suite

10 years agoFix comment
Peter Stamfest [Sun, 24 Aug 2014 19:27:38 +0000 (21:27 +0200)] 
Fix comment

10 years agoAdd interval handling functions. These will be needed in the future to
Peter Stamfest [Sun, 24 Aug 2014 13:46:48 +0000 (15:46 +0200)] 
Add interval handling functions. These will be needed in the future to
handle pre filling of RRAs.

10 years agoproperly handle DS names - this allows to reorder data sources
Peter Stamfest [Thu, 21 Aug 2014 19:37:55 +0000 (21:37 +0200)] 
properly handle DS names - this allows to reorder data sources

10 years agoreduce number of warnings - even if most are triggered by debug code
Peter Stamfest [Thu, 21 Aug 2014 19:36:45 +0000 (21:36 +0200)] 
reduce number of warnings - even if most are triggered by debug code

10 years agoFirst test for create with old data
Peter Stamfest [Thu, 21 Aug 2014 10:13:23 +0000 (12:13 +0200)] 
First test for create with old data

10 years agofirst real prefill implementation
Peter Stamfest [Thu, 21 Aug 2014 10:12:05 +0000 (12:12 +0200)] 
first real prefill implementation
- this still contains loads of debug output and some real problems and
  assumptions, so it won't work correctly for most cases

10 years agosome minor fixes for correctness
Peter Stamfest [Thu, 21 Aug 2014 10:11:16 +0000 (12:11 +0200)] 
some minor fixes for correctness

10 years agoMove some functions from rrd_modify to rrd_create
Peter Stamfest [Thu, 21 Aug 2014 10:09:06 +0000 (12:09 +0200)] 
Move some functions from rrd_modify to rrd_create

10 years agoallow to print the actual rrdtool calls run by a test by setting the VERBOSE
Peter Stamfest [Wed, 20 Aug 2014 22:52:01 +0000 (00:52 +0200)] 
allow to print the actual rrdtool calls run by a test by setting the VERBOSE
env. variable to a non-empty string before calling the test

10 years agoMove custom logic row-rotation logic from write_fh, originally there to
Peter Stamfest [Wed, 20 Aug 2014 22:43:18 +0000 (00:43 +0200)] 
Move custom logic row-rotation logic from write_fh, originally there to
support rrd_restore with its random cur_row placement to
rrd_restore itself.  This makes write_fh a truly reuseable function.

10 years agoAdd a dump-restore test
Peter Stamfest [Wed, 20 Aug 2014 22:36:39 +0000 (00:36 +0200)] 
Add a dump-restore test

10 years agoKeep a pointer to the internal rrd data structure with rrd_file_t objects
Peter Stamfest [Thu, 14 Aug 2014 07:05:04 +0000 (09:05 +0200)] 
Keep a pointer to the internal rrd data structure with rrd_file_t objects
to simplify management of opened RRD files - now it is only required
to keep the rrd_file_t object around to be able to manage the underlying
rrd structure and not both objects in some additional data structure.

10 years agoGet rid of rrd_create_fn and use new creation infrastructure instead.
Peter Stamfest [Wed, 13 Aug 2014 18:30:13 +0000 (20:30 +0200)] 
Get rid of rrd_create_fn and use new creation infrastructure instead.

10 years agoadd tests for no-overwrite functionality
Peter Stamfest [Mon, 25 Aug 2014 20:33:25 +0000 (22:33 +0200)] 
add tests for no-overwrite functionality

10 years agoadd new rrdc_create_r2 function to support new sources syntax
Peter Stamfest [Wed, 13 Aug 2014 18:26:55 +0000 (20:26 +0200)] 
add new rrdc_create_r2 function to support new sources syntax