]>
git.ipfire.org Git - thirdparty/rrdtool-1.x.git/log
Tobias Oetiker [Sat, 29 Mar 2014 05:29:30 +0000 (06:29 +0100)]
Merge branch 'master' of github.com:oetiker/rrdtool-1.x
Conflicts:
.travis.yml
Tobias Oetiker [Sat, 29 Mar 2014 05:26:38 +0000 (06:26 +0100)]
first go at test coverage
Tobias Oetiker [Tue, 25 Mar 2014 22:36:50 +0000 (23:36 +0100)]
Merge pull request #456 from laiwei/master
bugfix: add a lock in handle_request_create, fix the rrdcached crash
laiwei [Mon, 24 Mar 2014 03:47:17 +0000 (11:47 +0800)]
bugfix: add a lock in handle_request_create, fix the rrdcached crash
Tobias Oetiker [Thu, 20 Mar 2014 15:35:49 +0000 (16:35 +0100)]
Merge pull request #455 from schweikert/rrds-xport-documentation
add documentation for RRDs::xport
David Schweikert [Thu, 20 Mar 2014 14:45:32 +0000 (15:45 +0100)]
add documentation for RRDs::xport
Tobias Oetiker [Tue, 18 Mar 2014 04:59:42 +0000 (05:59 +0100)]
Merge pull request #454 from stamfest/unify-tune-modify
Unify tune modify
Peter Stamfest [Mon, 17 Mar 2014 23:40:29 +0000 (00:40 +0100)]
Merge branch 'tobi-master' into unify-tune-modify
Peter Stamfest [Mon, 17 Mar 2014 21:41:44 +0000 (22:41 +0100)]
remove "modify" command - we have folded the functionality into "tune"
Peter Stamfest [Mon, 17 Mar 2014 07:41:02 +0000 (08:41 +0100)]
Modify tests to match new "tune" command
Peter Stamfest [Mon, 17 Mar 2014 07:40:27 +0000 (08:40 +0100)]
Fix warning
Peter Stamfest [Mon, 17 Mar 2014 07:39:50 +0000 (08:39 +0100)]
rrdcached integration also with "tune"
Peter Stamfest [Mon, 17 Mar 2014 07:39:00 +0000 (08:39 +0100)]
First step to really integrate modify into tune. Currently implemented
by doing all the "tune" conversions in place and doing the "modify"
operations through a temporary RRD file with a followed move to
the original file
Peter Stamfest [Sun, 16 Mar 2014 16:44:49 +0000 (17:44 +0100)]
valgrind suppression for pixman_constructor, to hide memory leaks
created during library init
Peter Stamfest [Sun, 16 Mar 2014 16:36:23 +0000 (17:36 +0100)]
Fix all usages of setlocale: setlocale might (and on linux DOES)
return a pointer to memory handled internally by libc, calling
setlocale twice and using the data returned from the first call
later on causes access to already free'd memory. This was clearly
seen through valgrind. Eg. use
TESTS_STYLE=valgrind ./tests/tune2
with this cs backed-out and you will see valgrind problems
related to setlocale.
Peter Stamfest [Sun, 16 Mar 2014 07:40:45 +0000 (08:40 +0100)]
rrd_tune: establish a single cleanup/return code path
- fix a couple of resource leaks on the way
Peter Stamfest [Sun, 16 Mar 2014 09:39:20 +0000 (10:39 +0100)]
activate tune tests in test-suite
Peter Stamfest [Sun, 16 Mar 2014 09:37:16 +0000 (10:37 +0100)]
Another "tune" test
(there is a fd leak in parts of the tune code, used this test to
demonstrate it - kept for reference and general testing)
Peter Stamfest [Sun, 16 Mar 2014 07:55:59 +0000 (08:55 +0100)]
add some tune tests
Peter Stamfest [Sun, 16 Mar 2014 08:37:53 +0000 (09:37 +0100)]
Track open fds through valgrind
Peter Stamfest [Sun, 16 Mar 2014 08:31:15 +0000 (09:31 +0100)]
Merge branch 'memory-management' into rrdmodify-master
Peter Stamfest [Sun, 16 Mar 2014 08:27:24 +0000 (09:27 +0100)]
Fix nasty double-free error in rrd_free (duh!)
Peter Stamfest [Sat, 15 Mar 2014 20:48:48 +0000 (21:48 +0100)]
Start modify/tune unification
Peter Stamfest [Sat, 15 Mar 2014 20:23:07 +0000 (21:23 +0100)]
Use RRD_READVALUES to read data
Peter Stamfest [Sat, 15 Mar 2014 20:19:32 +0000 (21:19 +0100)]
add RRD_READVALUES option to rrd_open
- in case of mmap just point to the correct position within the file
Peter Stamfest [Sat, 15 Mar 2014 20:21:00 +0000 (21:21 +0100)]
Make rrd_free idempotent by resetting free'd pointers to NULL
Peter Stamfest [Fri, 14 Mar 2014 07:40:12 +0000 (08:40 +0100)]
get rid of temporarily introduced fixed hash value
Peter Stamfest [Fri, 14 Mar 2014 07:19:38 +0000 (08:19 +0100)]
Merge branch 'automake-based-checks' into memory-management
Peter Stamfest [Wed, 12 Mar 2014 16:42:10 +0000 (17:42 +0100)]
Never ever should a function free an object that was passed in. At least this
is my opinion.
Also get rid of a specialised rrd_free function and clean up exit paths of
functions.
Peter Stamfest [Wed, 12 Mar 2014 16:39:13 +0000 (17:39 +0100)]
Try to handle freeing of mmapped and malloced rrd_t objects transparently
This IS rather hackish - an OO inspired approach might be better, but adding
knowledge about mmapped memory to the free path even allows mixed
mmapped/malloced objects
Peter Stamfest [Fri, 14 Mar 2014 06:31:00 +0000 (07:31 +0100)]
if a test fails report original exit code instead of just 1
Peter Stamfest [Thu, 13 Mar 2014 20:18:08 +0000 (21:18 +0100)]
name individual tests in Makefile.am
Peter Stamfest [Thu, 13 Mar 2014 10:50:27 +0000 (11:50 +0100)]
Valgrind changes for travis - show log and include supressions
Peter Stamfest [Wed, 12 Mar 2014 21:15:46 +0000 (22:15 +0100)]
Currently, tests have to run in the CET timezone.
Peter Stamfest [Wed, 12 Mar 2014 20:56:45 +0000 (21:56 +0100)]
install valgrind - needed for test suite
Peter Stamfest [Wed, 12 Mar 2014 20:48:11 +0000 (21:48 +0100)]
try to get travis to run the test suite....
Peter Stamfest [Wed, 12 Mar 2014 20:12:30 +0000 (21:12 +0100)]
Use valgrind via travis
Peter Stamfest [Wed, 12 Mar 2014 20:11:12 +0000 (21:11 +0100)]
Valgrind support for the test suite. valgrind gets used when called as "make check TESTS_STYLE=valgrind"
Peter Stamfest [Wed, 12 Mar 2014 16:50:33 +0000 (17:50 +0100)]
Use automake based checks ("make check") and use the mechanism for travis
Tobias Oetiker [Tue, 11 Mar 2014 08:23:35 +0000 (09:23 +0100)]
Merge pull request #453 from laiwei/master
bugfix: memory leak and dir-creating not work
laiwei [Tue, 11 Mar 2014 07:49:21 +0000 (15:49 +0800)]
fix missing realpath
laiwei [Tue, 11 Mar 2014 03:24:44 +0000 (11:24 +0800)]
bugfix: free filecopy when create when recursive creating dir; bugfix: dir-creating not working
Tobias Oetiker [Sun, 9 Mar 2014 17:30:39 +0000 (18:30 +0100)]
Merge pull request #452 from stamfest/rrdmodify-master
Rrdmodify master
Peter Stamfest [Sat, 8 Mar 2014 12:32:49 +0000 (13:32 +0100)]
Revert "Make modify command available using RRDs"
This reverts commit
c77b6b7a567bd787baa98a9e459bd64e9ef39154 .
This cs should not have been on this branch, but because the branch was
pushed before, it can only be reverted...
Peter Stamfest [Sat, 8 Mar 2014 10:20:54 +0000 (11:20 +0100)]
improved rrdmodify documentation
Peter Stamfest [Sat, 8 Mar 2014 08:22:37 +0000 (09:22 +0100)]
Make modify command available using RRDs
Peter Stamfest [Sat, 8 Mar 2014 08:21:04 +0000 (09:21 +0100)]
Take care to change CDPs when changing step size and change resize semantics
- all RRA modifications are now done AFTER resizing
Tobias Oetiker [Fri, 7 Mar 2014 08:12:04 +0000 (09:12 +0100)]
fix timezone in tests
Tobias Oetiker [Fri, 7 Mar 2014 07:59:23 +0000 (08:59 +0100)]
more test invocation fixing
Peter Stamfest [Fri, 7 Mar 2014 06:38:35 +0000 (07:38 +0100)]
improve step resizing, this still is experimental
Tobias Oetiker [Fri, 7 Mar 2014 05:09:47 +0000 (06:09 +0100)]
fixed stray mentions of rrdtool (not $RRDTOOL) in test scripts, causing them to fail on travis
Tobias Oetiker [Thu, 6 Mar 2014 22:39:07 +0000 (23:39 +0100)]
another try at fixing travis setup
Peter Stamfest [Thu, 6 Mar 2014 21:54:13 +0000 (22:54 +0100)]
Further chop up rrd_modify_r in order to integrate step changes into DS/RRA
modifications.
Peter Stamfest [Thu, 6 Mar 2014 18:06:48 +0000 (19:06 +0100)]
extremely experimental RRD step stretching
Tobias Oetiker [Thu, 6 Mar 2014 16:09:25 +0000 (17:09 +0100)]
another try for integrating tests
Tobias Oetiker [Thu, 6 Mar 2014 13:09:51 +0000 (14:09 +0100)]
it is tests not test
Tobias Oetiker [Thu, 6 Mar 2014 09:54:03 +0000 (10:54 +0100)]
another try with travis
Tobias Oetiker [Thu, 6 Mar 2014 09:47:30 +0000 (10:47 +0100)]
added new tests to travis build
Tobias Oetiker [Thu, 6 Mar 2014 09:40:52 +0000 (10:40 +0100)]
Merge pull request #450 from stamfest/rrdmodify-master
Rrdmodify master
Tobias Oetiker [Thu, 6 Mar 2014 09:39:28 +0000 (10:39 +0100)]
Merge pull request #451 from stamfest/small-fixes
small fixes
Peter Stamfest [Thu, 6 Mar 2014 07:49:41 +0000 (08:49 +0100)]
better test flexibility - use a specific rrdtool to do the tests
Peter Stamfest [Thu, 6 Mar 2014 07:26:06 +0000 (08:26 +0100)]
Fix nasty off-by-one error, causing incorrect CDP calculations when adding
new RRAs
Peter Stamfest [Wed, 5 Mar 2014 20:30:28 +0000 (21:30 +0100)]
Add alltests script to run all tests at once
Peter Stamfest [Wed, 5 Mar 2014 19:51:52 +0000 (20:51 +0100)]
Avoid some "unused" warnings during compilation
Peter Stamfest [Wed, 5 Mar 2014 19:48:38 +0000 (20:48 +0100)]
Allow to ask for continuing tests for intergration testing
Peter Stamfest [Wed, 5 Mar 2014 18:58:17 +0000 (19:58 +0100)]
Second round of refactoring: Ripping apart rrd_modify_r into more digestable
pieces.
Peter Stamfest [Wed, 5 Mar 2014 17:01:51 +0000 (18:01 +0100)]
Refactoring
- rename variables
- modularize rrd_modify_r function (it really is a mess, right now...)
Peter Stamfest [Wed, 5 Mar 2014 17:00:57 +0000 (18:00 +0100)]
Mention modify operation in main man page
Peter Stamfest [Wed, 5 Mar 2014 07:45:09 +0000 (08:45 +0100)]
Merge branch 'master' into rrdmodify-master
Tobias Oetiker [Sun, 2 Mar 2014 10:27:45 +0000 (11:27 +0100)]
there is no total CF
Peter Stamfest [Wed, 19 Feb 2014 21:34:20 +0000 (22:34 +0100)]
suppress error message from libxml when reading XML from stdin.
This avoids breakage of the pipe protocol in case of errors.
Peter Stamfest [Wed, 19 Feb 2014 21:25:48 +0000 (22:25 +0100)]
Avoid endless looping in case of XML errors.
Peter Stamfest [Wed, 19 Feb 2014 20:54:27 +0000 (21:54 +0100)]
Fix double-free bug
Peter Stamfest [Wed, 19 Feb 2014 08:56:16 +0000 (09:56 +0100)]
Add support for rrd restore to explicitly end xml files when using
the pipe interface by using the "-" special filename and using
ctrl-Z/newline as an end-of-file indicator.
Tobias Oetiker [Tue, 4 Mar 2014 23:25:59 +0000 (00:25 +0100)]
Merge pull request #449 from stamfest/rrdmodify-master
Rrdmodify master
Peter Stamfest [Tue, 4 Mar 2014 21:52:27 +0000 (22:52 +0100)]
Merge branch 'master' of https://github.com/oetiker/rrdtool-1.x into rrdmodify-master
Peter Stamfest [Tue, 4 Mar 2014 21:39:44 +0000 (22:39 +0100)]
add/update tests
Peter Stamfest [Tue, 4 Mar 2014 21:36:11 +0000 (22:36 +0100)]
Further improve rrd modify.
I am quite sure, that this code contains a lot of hidden assumptions.
Peter Stamfest [Tue, 4 Mar 2014 20:46:49 +0000 (21:46 +0100)]
make update_cdp usable from other modules
Peter Stamfest [Mon, 3 Mar 2014 08:38:13 +0000 (09:38 +0100)]
we can also use a single RRA as a candidate
Peter Stamfest [Mon, 3 Mar 2014 08:35:54 +0000 (09:35 +0100)]
factor out candidate finding from populate_row
Peter Stamfest [Mon, 3 Mar 2014 07:28:32 +0000 (08:28 +0100)]
Add RRDs in tests directory to the ignore list
Peter Stamfest [Mon, 3 Mar 2014 00:04:17 +0000 (01:04 +0100)]
add more test code and data required for testing
Peter Stamfest [Mon, 3 Mar 2014 00:01:46 +0000 (01:01 +0100)]
skip populating values for just added DS
Peter Stamfest [Sun, 2 Mar 2014 23:59:23 +0000 (00:59 +0100)]
Fix off-by-one error when adding a new RRA
Peter Stamfest [Sun, 2 Mar 2014 23:58:16 +0000 (00:58 +0100)]
Skip RRA values already defined when populating rows.
Peter Stamfest [Sun, 2 Mar 2014 23:05:06 +0000 (00:05 +0100)]
Support version 4 RRD files
Peter Stamfest [Mon, 3 Mar 2014 07:25:54 +0000 (08:25 +0100)]
Add some test scripts in new tests directory
Peter Stamfest [Mon, 3 Mar 2014 07:25:12 +0000 (08:25 +0100)]
Make RRA modifications work in presence of simultanous DS modifications
Peter Stamfest [Sun, 2 Mar 2014 20:51:57 +0000 (21:51 +0100)]
Get rid of hard-coded hash value
Peter Stamfest [Sun, 2 Mar 2014 20:47:39 +0000 (21:47 +0100)]
Fix some commented out code to change RRD version when certain RRA
definitions require this.
Peter Stamfest [Sun, 2 Mar 2014 10:29:19 +0000 (11:29 +0100)]
Use code to populate new RRAs from existing data
Tobias Oetiker [Sun, 2 Mar 2014 10:28:55 +0000 (11:28 +0100)]
Merge branch 'master' of github.com:oetiker/rrdtool-1.x
Peter Stamfest [Sun, 2 Mar 2014 10:28:46 +0000 (11:28 +0100)]
Add code to populate newly added RRA rows, but do not use it yet
Tobias Oetiker [Sun, 2 Mar 2014 10:27:45 +0000 (11:27 +0100)]
there is no total CF
Peter Stamfest [Sun, 2 Mar 2014 10:27:04 +0000 (11:27 +0100)]
Read all input data at once - this is in preparation of upcoming code
for populating newly added rows
Peter Stamfest [Fri, 28 Feb 2014 20:48:47 +0000 (21:48 +0100)]
Rip out a lot of too complicated code doing reordering of
RRA rows. This is now done during the copying of the data to the
out RRA. This should also assist with the upcoming planned
population of newly added RRAs or RRA rows.
Peter Stamfest [Thu, 27 Feb 2014 22:31:06 +0000 (23:31 +0100)]
Pull out add_rrds in an attempt to shorten functions to a manageable size
Peter Stamfest [Thu, 27 Feb 2014 22:03:43 +0000 (23:03 +0100)]
Fix DEL command
Peter Stamfest [Thu, 27 Feb 2014 22:01:09 +0000 (23:01 +0100)]
update documentation