]>
git.ipfire.org Git - thirdparty/rrdtool-1.x.git/log
Tobias Oetiker [Thu, 14 Jul 2016 11:26:23 +0000 (13:26 +0200)]
Merge pull request #722 from N3WWN/1.5
FIX for Issue 695 - rrdtool 1.5
Rich Alloway [Tue, 12 Jul 2016 17:50:40 +0000 (13:50 -0400)]
FIX for Issue 695 - rrdtool 1.5
Steven Hartland [Sun, 10 Apr 2016 01:30:51 +0000 (01:30 +0000)]
Disable nagel algorithm
Disable TCP's nagal algorithm which was causing massive slowdown
in processing rrdcached requests.
Also check for other setsockopt call errors.
Tobias Oetiker [Tue, 19 Apr 2016 08:01:07 +0000 (10:01 +0200)]
fix for #707
Steven Hartland [Sun, 10 Apr 2016 01:30:51 +0000 (01:30 +0000)]
Disable nagel algorithm
Disable TCP's nagal algorithm which was causing massive slowdown
in processing rrdcached requests.
Also check for other setsockopt call errors.
Tobias Oetiker [Thu, 18 Feb 2016 12:58:02 +0000 (13:58 +0100)]
make the vnames in the test a bit more interesting ... especially verify that having a - and numbers in the vname is fine
Tobias Oetiker [Thu, 18 Feb 2016 08:14:25 +0000 (09:14 +0100)]
re allow - in vnames since it seems to have worked for some in 1.4
Tobias Oetiker [Tue, 16 Feb 2016 07:14:39 +0000 (08:14 +0100)]
added rpn1.output
Tobias Oetiker [Mon, 8 Feb 2016 12:51:40 +0000 (13:51 +0100)]
- is not allowed in vnames!
Tobias Oetiker [Mon, 8 Feb 2016 09:59:34 +0000 (10:59 +0100)]
use-mirrors option is no more
Zbynek Jun [Mon, 21 Sep 2015 11:27:39 +0000 (13:27 +0200)]
Fix recursive directory creation in rrdcached on FREEBSD
Jean-Michel Vourgère [Wed, 26 Aug 2015 10:10:59 +0000 (12:10 +0200)]
Fixed compilation when there's no sigwaitinfo
* Fixed pointer in call to sigwait
* Don't print pid when we don't have it
* Fixed unused variable warning
Tobias Oetiker [Tue, 10 Nov 2015 17:14:24 +0000 (18:14 +0100)]
get ready for 1.5.5
Olivier Doucet [Fri, 6 Nov 2015 18:50:07 +0000 (19:50 +0100)]
Fix JSON and JSONTIME export with gprints or rules
When you have gprints or rules, json is not formated correctly : a comma is inserted after each block, making two mistakes :
- there is no comma between "legend" and "gprints" block
- there is a trailing comma in "meta" block
I decided to rewrite this part and add the comma before each block, so this works in all cases : when you don't have any block, only one of them or both.
Uwe Höhna [Sun, 25 Oct 2015 18:34:33 +0000 (19:34 +0100)]
Fix the double mutex_unlock call
Uwe Höhna [Fri, 23 Oct 2015 07:35:24 +0000 (09:35 +0200)]
rrd_parsetime now unlocks its mutex also after parsing errors.
Sebastian Schmidt [Sun, 18 Oct 2015 17:15:37 +0000 (19:15 +0200)]
Don't crash on invalid variable names in RPN
When rpn_parse() finds [^\0,] after parsing a token, it returns NULL
without setting an error. This causes rrd_test_error() to return false
and subsequent code will dereference NULL (cf. rrdtool xport
CDEF:foo=foo-bar).
This commit changes the OP_VARIABLE branch in rpn_parse so that in order
to be a variable name, sscanf needs to match the full name, causing a
more meaningful "ERROR: don't understand 'illegal-variable-name'" error
message in that case. Also, I made the return NULL branch set an error
message so rrd_test_error() will succeed.
Tobias Oetiker [Fri, 11 Sep 2015 11:23:56 +0000 (13:23 +0200)]
rrdc_fetch needs locking too
Tobias Oetiker [Tue, 8 Sep 2015 20:58:21 +0000 (22:58 +0200)]
fix for buffer overflow in rrd_restore.c #669
Jean-Michel Vourgère [Sat, 15 Aug 2015 13:20:12 +0000 (15:20 +0200)]
Fixed perl-shared default path
This is only used if you use makemaker dirrectly in the perl-shared directory.
Jean-Michel Vourgère [Tue, 11 Aug 2015 13:55:11 +0000 (15:55 +0200)]
Don't install RRDCached.pm as an executable
nirgal [Mon, 10 Aug 2015 17:03:40 +0000 (19:03 +0200)]
Fix spelling typo in licence
wether -> whether
http://www.dailywritingtips.com/wether-weather-whether/
Tobias Oetiker [Mon, 10 Aug 2015 14:48:45 +0000 (16:48 +0200)]
make sure rrdbuild does not have to be rebuilt on the install host ... fix for #656
Tobias Oetiker [Mon, 10 Aug 2015 11:38:53 +0000 (13:38 +0200)]
housekeeping
Tobias Oetiker [Mon, 10 Aug 2015 11:37:43 +0000 (13:37 +0200)]
never exit from library function ... #653
nirgal [Mon, 10 Aug 2015 10:24:10 +0000 (12:24 +0200)]
Minor spelling in documetation
You can't "allow to", you need "allow one to".
Tobias Oetiker [Mon, 10 Aug 2015 09:03:27 +0000 (11:03 +0200)]
timezone is relevant here ... oops
Jean-Michel Vourgère [Sun, 9 Aug 2015 20:46:31 +0000 (22:46 +0200)]
Limit unit tests check to 7 digits precision
Note that 8 digits is not enough a reduction:
on hurd-i386: echo "3.
417131125e -02" | perl -p -e 's/([-+]?\d\.\d+e[-+]\d+)/sprintf("%0.8e",$1)/ge'
3.
41713112e -02
on armel: echo "3.
417131125e -02" | perl -p -e 's/([-+]?\d\.\d+e[-+]\d+)/sprintf("%0.8e",$1)/ge'
3.
41713113e -02
Tobias Oetiker [Sun, 9 Aug 2015 11:25:51 +0000 (13:25 +0200)]
better spelling
Tobias Oetiker [Sun, 9 Aug 2015 11:23:18 +0000 (13:23 +0200)]
get ready for 1.5.4
Tobias Oetiker [Sun, 9 Aug 2015 10:39:56 +0000 (12:39 +0200)]
Merge pull request #649 from nirgal/daemonnomaxpath
Allow compilaton on hurd: Stop using PATH_MAX in rrd_daemon.c
Tobias Oetiker [Sun, 9 Aug 2015 10:39:06 +0000 (12:39 +0200)]
Merge pull request #651 from nirgal/binding-rpath
Stop using rpath in binding if it's disabled
Tobias Oetiker [Sun, 9 Aug 2015 10:36:35 +0000 (12:36 +0200)]
Merge pull request #650 from nirgal/fortifytcl
Keep CPPFLAGS when building tcl bindings
Jean-Michel Vourgère [Sun, 9 Aug 2015 00:20:40 +0000 (02:20 +0200)]
Keep CPPFLAGS when building tcl bindings
If CPPFLAGS=-D_FORTIFY_SOURCE=2 during configuration, tcl compilation was not fortified.
This patch adds the missing variable.
Jean-Michel Vourgère [Sun, 9 Aug 2015 01:34:28 +0000 (03:34 +0200)]
Stop using rpath in binding if it's disabled
Jean-Michel Vourgère [Sat, 8 Aug 2015 16:01:43 +0000 (18:01 +0200)]
Stop use PATH_MAX in socket.addr
Tobias Oetiker [Sat, 8 Aug 2015 18:45:37 +0000 (20:45 +0200)]
new RPN oprators NEWDAY,NEWWEEK,NEWMONTH and NEWYEAR allowing to create
charts where the traffic is added up into a monthly total.
Jean-Michel Vourgère [Sat, 8 Aug 2015 13:21:33 +0000 (15:21 +0200)]
journal_init: Don't use PATH_MAX
As required by build on hurd.
Jean-Michel Vourgère [Sat, 8 Aug 2015 13:05:30 +0000 (15:05 +0200)]
journal_init: release mutex on failure
Tobias Oetiker [Sat, 8 Aug 2015 15:04:00 +0000 (17:04 +0200)]
thread save localtime use
Jean-Michel Vourgère [Fri, 7 Aug 2015 15:00:27 +0000 (17:00 +0200)]
Remove more usage of PATH_MAX in daemon
Jean-Michel Vourgère [Fri, 7 Aug 2015 12:55:07 +0000 (14:55 +0200)]
Stop assuming sendresponse(EACCESS) always succeed
Jean-Michel Vourgère [Fri, 7 Aug 2015 12:45:21 +0000 (14:45 +0200)]
rrd_daemon: get_abs_path return malloc'ed char*
Jean-Michel Vourgère [Fri, 7 Aug 2015 10:32:57 +0000 (12:32 +0200)]
Don't send multiple responses on check_file_access
handle_request_info, handle_request_first, handle_request_last, and handle_request_create had duplicates send_response(sock, RESP_ERR, EACESS)
Tobias Oetiker [Thu, 6 Aug 2015 06:16:32 +0000 (08:16 +0200)]
xport1.output does not realy exist
Tobias Oetiker [Thu, 6 Aug 2015 06:12:48 +0000 (08:12 +0200)]
regenerate config files
Tobias Oetiker [Thu, 6 Aug 2015 06:12:39 +0000 (08:12 +0200)]
integrate xport tests
Tobias Oetiker [Thu, 6 Aug 2015 06:05:41 +0000 (08:05 +0200)]
Merge pull request #642 from nirgal/arm
Use 9 digits output for test xport1
Tobias Oetiker [Wed, 5 Aug 2015 13:07:28 +0000 (15:07 +0200)]
Merge pull request #648 from oetiker/stepwidth-op
Stepwidth op
Tobias Oetiker [Wed, 5 Aug 2015 12:35:28 +0000 (14:35 +0200)]
fix test suite 32bit compatibility
Tobias Oetiker [Wed, 5 Aug 2015 11:53:56 +0000 (13:53 +0200)]
added support for STEPWIDTH rpn operator
Tobias Oetiker [Tue, 4 Aug 2015 16:23:41 +0000 (18:23 +0200)]
Merge pull request #646 from nirgal/noclientmaxpath
Don't use PATH_MAX in rrd_client.c
Jean-Michel Vourgère [Tue, 4 Aug 2015 15:21:50 +0000 (17:21 +0200)]
Don't use PATH_MAX in rrd_client.c
Tobias Oetiker [Sun, 2 Aug 2015 20:15:35 +0000 (22:15 +0200)]
Merge pull request #643 from nirgal/hurd3
Hurd first part
Jean-Michel Vourgère [Sun, 2 Aug 2015 13:58:22 +0000 (15:58 +0200)]
Use dynamically allocated image_desc_t.graphfile
PATH_MAX is unavailable on hurd platform.
Thanks to Marc Dequènes.
Jean-Michel Vourgère [Sun, 2 Aug 2015 13:06:57 +0000 (15:06 +0200)]
Hurd compilation: Try get_current_dir_name
when MAXPATH is not available, like on hurd platform.
Thanks Marc Dequènes.
Jean-Michel Vourgère [Sun, 2 Aug 2015 12:03:41 +0000 (14:03 +0200)]
Use 9 digit output for test xport1
Tobias Oetiker [Tue, 28 Jul 2015 16:04:30 +0000 (18:04 +0200)]
we have 9 tests now
Tobias Oetiker [Tue, 28 Jul 2015 15:39:19 +0000 (17:39 +0200)]
strictify test
Tobias Oetiker [Tue, 28 Jul 2015 15:39:04 +0000 (17:39 +0200)]
Merge branch '1.5' of github.com:oetiker/rrdtool-1.x into 1.5
Tobias Oetiker [Tue, 28 Jul 2015 15:38:59 +0000 (17:38 +0200)]
start reading at gdes_c - 1 or we are out of bounds
Tobias Oetiker [Tue, 28 Jul 2015 15:38:13 +0000 (17:38 +0200)]
make argc macro a bit safer
Tobias Oetiker [Tue, 28 Jul 2015 14:08:50 +0000 (16:08 +0200)]
Merge pull request #641 from nirgal/python-locale
Python example
Tobias Oetiker [Tue, 28 Jul 2015 14:03:37 +0000 (16:03 +0200)]
Merge branch '1.5' of github.com:oetiker/rrdtool-1.x into 1.5
Tobias Oetiker [Tue, 28 Jul 2015 14:01:49 +0000 (16:01 +0200)]
make optparse consider argc
Jean-Michel Vourgère [Tue, 28 Jul 2015 10:20:32 +0000 (12:20 +0200)]
Add python example
This include the locale.setlocale() trick
Tobias Oetiker [Tue, 28 Jul 2015 07:11:19 +0000 (09:11 +0200)]
Merge pull request #640 from nirgal/patch-1
Clean extra files for modify5 unit test
nirgal [Mon, 27 Jul 2015 20:08:04 +0000 (22:08 +0200)]
Clean extra files for modify5 unit test
Tobias Oetiker [Mon, 27 Jul 2015 16:50:24 +0000 (18:50 +0200)]
Merge pull request #639 from nirgal/armless1
Tests: also truncate output to 9 digits if <1
Jean-Michel Vourgère [Mon, 27 Jul 2015 16:40:04 +0000 (18:40 +0200)]
Tests: also truncate output to 9 digits if <1
Previous fix worked for XXXXXXXXXe+X numbers.
We also need XXXXXXXXXe-X.
Tobias Oetiker [Mon, 27 Jul 2015 13:13:59 +0000 (15:13 +0200)]
ignore nan vs -nan ...
Tobias Oetiker [Mon, 27 Jul 2015 12:56:43 +0000 (14:56 +0200)]
Merge branch '1.5' of github.com:oetiker/rrdtool-1.x into 1.5
Tobias Oetiker [Mon, 27 Jul 2015 12:55:55 +0000 (14:55 +0200)]
make our tests work on 32bit binaries (with only 9 digit precision) work as well.
Tobias Oetiker [Fri, 24 Jul 2015 09:03:46 +0000 (11:03 +0200)]
Merge pull request #636 from nirgal/pythonmodulesetup
Fix the python module's name
Bernd Zeimetz [Sat, 9 Feb 2008 21:26:47 +0000 (22:26 +0100)]
Fix the python module's name
Tobias Oetiker [Wed, 22 Jul 2015 13:12:37 +0000 (15:12 +0200)]
allocate mutex globally ... that might work better
Tobias Oetiker [Sat, 18 Jul 2015 13:06:09 +0000 (15:06 +0200)]
Merge branch '1.5' of github.com:oetiker/rrdtool-1.x into 1.5
Tobias Oetiker [Sat, 18 Jul 2015 13:05:44 +0000 (15:05 +0200)]
add missing test files to dist
Tobias Oetiker [Sat, 18 Jul 2015 13:04:41 +0000 (15:04 +0200)]
Merge pull request #633 from nirgal/spelling_1
Fix some spelling errors in man pages
Tobias Oetiker [Sat, 18 Jul 2015 13:01:03 +0000 (15:01 +0200)]
Merge branch '1.5' of github.com:oetiker/rrdtool-1.x into 1.5
Tobias Oetiker [Sat, 18 Jul 2015 12:59:50 +0000 (14:59 +0200)]
since we are using png functions directly, we have to link against libpng explicitly
Jean-Michel Nirgal Vourgère [Sat, 18 Jul 2015 12:45:40 +0000 (14:45 +0200)]
Fix some spelling errors in man pages
Thanks lintian
Tobias Oetiker [Fri, 10 Jul 2015 07:03:38 +0000 (09:03 +0200)]
Merge pull request #628 from manover/add_permissions_to_systemd_sockets
Add permissions to the sockets acquired from systemd during the socke…
Denis Bychkov [Fri, 3 Jul 2015 07:32:09 +0000 (03:32 -0400)]
Add permissions to the sockets acquired from systemd during the socket activation process
Tobias Oetiker [Mon, 29 Jun 2015 17:01:21 +0000 (19:01 +0200)]
fix example
Tobias Oetiker [Mon, 29 Jun 2015 15:50:42 +0000 (17:50 +0200)]
sync build files with latest changes
Tobias Oetiker [Mon, 29 Jun 2015 15:50:32 +0000 (17:50 +0200)]
add tests for xport
Tobias Oetiker [Mon, 29 Jun 2015 15:50:03 +0000 (17:50 +0200)]
thread safety patch part 3
* track rrd_graph_script changes in rrd_graph_helper
Tobias Oetiker [Mon, 29 Jun 2015 15:49:17 +0000 (17:49 +0200)]
* fix error messages for bad input
Tobias Oetiker [Mon, 29 Jun 2015 15:48:14 +0000 (17:48 +0200)]
thread safety patch part 2
* add mutex lock to rrd_parsetime to make it threadsafe
Tobias Oetiker [Mon, 29 Jun 2015 15:44:41 +0000 (17:44 +0200)]
rrd_xport thread safety patch part 1
* introduce optparse as a replacement for getopt
* switch rrd_xport to optparse to make it threadsafe
* pass absolute argument position to rrd_graph_script to make it getopt independent
Tobias Oetiker [Mon, 29 Jun 2015 09:08:18 +0000 (11:08 +0200)]
rrd_graph did not process --grid-dash option ... fixed
Tobias Oetiker [Tue, 16 Jun 2015 09:20:39 +0000 (11:20 +0200)]
tune --maximum and --minimum should accept U as well
Tobias Oetiker [Thu, 11 Jun 2015 21:46:26 +0000 (23:46 +0200)]
Merge branch '1.5' of github.com:oetiker/rrdtool-1.x into 1.5
Tobias Oetiker [Thu, 11 Jun 2015 21:45:27 +0000 (23:45 +0200)]
for for #623 we already have a pointer there ...
Tobias Oetiker [Fri, 29 May 2015 13:36:17 +0000 (15:36 +0200)]
Merge pull request #621 from yarda/yardas
Detect long long int support
Jaroslav Škarvada [Mon, 25 May 2015 16:48:30 +0000 (18:48 +0200)]
Detect long long int support
This is needed to fix crash on ARM, originally reported as:
https://bugzilla.redhat.com/show_bug.cgi?id=
1224530
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Tobias Oetiker [Fri, 15 May 2015 13:57:17 +0000 (09:57 -0400)]
update changes file
Tobias Oetiker [Fri, 15 May 2015 13:39:12 +0000 (09:39 -0400)]
Merge pull request #618 from oetiker/atoffix
Atoffix
Tobias Oetiker [Fri, 15 May 2015 03:54:18 +0000 (23:54 -0400)]
makeing patch compile again