]>
git.ipfire.org Git - thirdparty/rrdtool-1.x.git/log
Jacob [Fri, 1 Jan 2016 00:52:07 +0000 (19:52 -0500)]
Fix spelling typos
Tobias Oetiker [Sun, 20 Dec 2015 10:05:43 +0000 (11:05 +0100)]
Merge pull request #693 from ntyni/master
Use memmove instead of memcpy in rrd_write() to fix undefined behaviour
Niko Tyni [Sun, 20 Dec 2015 07:49:14 +0000 (09:49 +0200)]
Use memmove instead of memcpy in rrd_write() to fix undefined behaviour
At least rrdtune ends up calling rrd_write() with the same memory
area for the source and the destination, causing undefined behaviour
that has been observed to actually break on the mips architecture.
Bug-Debian: https://bugs.debian.org/805391
Bug: https://github.com/oetiker/rrdtool-1.x/issues/688
Tobias Oetiker [Wed, 9 Dec 2015 08:56:29 +0000 (09:56 +0100)]
Merge pull request #692 from RomeroMalaquias/master
Avoiding conditional directives that split up parts of statements.
Romero Malaquias [Wed, 9 Dec 2015 03:42:12 +0000 (00:42 -0300)]
Avoiding conditional directives that split up parts of statements.
Tobias Oetiker [Mon, 7 Dec 2015 07:57:49 +0000 (08:57 +0100)]
--use-mirrors is not supported anymore
Tobias Oetiker [Mon, 7 Dec 2015 07:50:51 +0000 (08:50 +0100)]
Merge pull request #691 from pocek/typo
doc: Fix a typo in an example
Krzysztof Kotlenga [Fri, 4 Dec 2015 16:59:35 +0000 (17:59 +0100)]
doc: Fix a typo in an example
Tobias Oetiker [Thu, 3 Dec 2015 05:13:13 +0000 (06:13 +0100)]
Merge pull request #690 from gustavoz/master
Add configure option to disable documentation
Gustavo Zacarias [Wed, 2 Dec 2015 17:31:52 +0000 (14:31 -0300)]
Add configure option to disable documentation
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tobias Oetiker [Sun, 22 Nov 2015 15:08:02 +0000 (10:08 -0500)]
Merge pull request #689 from pocek/mtotal
doc: Fix NEWMONTH example
Krzysztof Kotlenga [Sun, 22 Nov 2015 14:23:18 +0000 (15:23 +0100)]
doc: Fix NEWMONTH example
Make it actually accumulate values over a period.
Tobias Oetiker [Thu, 12 Nov 2015 03:14:41 +0000 (22:14 -0500)]
Merge pull request #687 from GrayTShirt/#686
Export rrdc_create and rrdc_create_r2 - Dan Molik <dan@d3fy.net>
Dan Molik [Tue, 10 Nov 2015 19:38:48 +0000 (14:38 -0500)]
Export rrdc_create and rrdc_create_r2 - Dan Molik <dan@d3fy.net>
Export the client functions that create rrds
Tobias Oetiker [Tue, 10 Nov 2015 19:02:32 +0000 (20:02 +0100)]
remove rrd_th since we are now thread safe by default
Tobias Oetiker [Tue, 10 Nov 2015 19:02:28 +0000 (20:02 +0100)]
remove rrd_th since we are now thread safe by default
Tobias Oetiker [Tue, 10 Nov 2015 16:05:01 +0000 (11:05 -0500)]
Merge pull request #685 from odoucet/master
Fix JSON and JSONTIME export with gprints or rules
Tobias Oetiker [Tue, 10 Nov 2015 15:08:24 +0000 (16:08 +0100)]
Merge branch '1.5' of github.com:oetiker/rrdtool-1.x
Conflicts:
README.md
Tobias Oetiker [Tue, 10 Nov 2015 15:02:10 +0000 (10:02 -0500)]
Merge pull request #667 from nirgal/python_paralellism
Unlock the global thread lock while processing rrd
Tobias Oetiker [Tue, 10 Nov 2015 15:01:54 +0000 (10:01 -0500)]
Merge pull request #683 from nirgal/updatev_skippastupdates
Fix --skip-past-updates support in updatev
Tobias Oetiker [Tue, 10 Nov 2015 15:01:40 +0000 (10:01 -0500)]
Merge pull request #682 from nirgal/rrdcached_longopt
Switch rrdcached to use long options
Tobias Oetiker [Tue, 10 Nov 2015 15:01:12 +0000 (10:01 -0500)]
Merge pull request #681 from nirgal/nogetopt
removing all getopt traces
Tobias Oetiker [Tue, 10 Nov 2015 14:52:37 +0000 (09:52 -0500)]
Merge pull request #679 from nirgal/optparse
Switch all getops to optparse
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.
Olivier Doucet [Fri, 6 Nov 2015 18:12:08 +0000 (19:12 +0100)]
Typo fix
Jean-Michel Vourgère [Mon, 2 Nov 2015 10:35:14 +0000 (11:35 +0100)]
Removed getopt now unused
Removed getopt sources, adjusted configure, POTFILES, src/Makefile.am.
rrdtool.sym no longer is generated.
Tobias Oetiker [Mon, 2 Nov 2015 22:30:46 +0000 (23:30 +0100)]
Merge pull request #684 from nirgal/doc_xport_showtime
Documentation: Show -t option to rrd xport
Jean-Michel Vourgère [Mon, 2 Nov 2015 15:47:33 +0000 (16:47 +0100)]
Documentation: Show -t option to rrd xport
Jean-Michel Vourgère [Mon, 2 Nov 2015 15:26:58 +0000 (16:26 +0100)]
Fix --skip-past-updates support in updatev
Jean-Michel Vourgère [Mon, 2 Nov 2015 14:32:26 +0000 (15:32 +0100)]
Switch rrd_daemon to use long options
This includes --help option (Fixes https://github.com/oetiker/rrdtool-1.x/issues/495)
Jean-Michel Vourgère [Sun, 1 Nov 2015 15:40:45 +0000 (16:40 +0100)]
Thread safety: Replace getopt by optparse
* Added optparse.h to src/rrd_tool.h.
* rrd_graph.[ch]: The 3rd char* parameter of the "*_conv" functions was added a const modifier.
* rrd_tune.c: The 3rd char* parameter of the "set_*" functions was added a const modifier.
* rrd_graph_options now takes an extra "options*" parameter, so that caller can use options.argc and options.argv
* Refresh WIN32 build tips
Jean-Michel Vourgère [Sat, 31 Oct 2015 18:37:41 +0000 (19:37 +0100)]
Fix typo in --interlaced option in examples
Jean-Michel Vourgère [Sat, 31 Oct 2015 09:52:43 +0000 (10:52 +0100)]
Add/fix dashdash support in optparse_long
This changes the behaviour of optparse_long so that a '--' tags the end of
options, just like optparse and getopt_long.
Tobias Oetiker [Tue, 27 Oct 2015 13:20:11 +0000 (14:20 +0100)]
Merge pull request #665 from nirgal/no_sigwaitinfo
Fixed compilation when there's no sigwaitinfo
Tobias Oetiker [Tue, 27 Oct 2015 13:14:19 +0000 (14:14 +0100)]
Merge pull request #678 from ufo-dd/1.5
rrd_parsetime now unlocks its mutex also after parsing errors.
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.
Tobias Oetiker [Tue, 20 Oct 2015 08:43:29 +0000 (10:43 +0200)]
Merge pull request #677 from yath/1.5-rpnparse-null
Don't crash on invalid variable names in RPN
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 [Tue, 22 Sep 2015 14:15:58 +0000 (16:15 +0200)]
Merge pull request #673 from oetiker/xport-time
fix xport incompatibility ... make it possible to re-include the time…
Tobias Oetiker [Tue, 22 Sep 2015 11:38:46 +0000 (13:38 +0200)]
fix xport incompatibility ... make it possible to re-include the time into the xml output
Tobias Oetiker [Mon, 21 Sep 2015 12:20:38 +0000 (14:20 +0200)]
Merge pull request #671 from z-jun/1.5
Fix recursive directory creation in rrdcached on FREEBSD
Zbynek Jun [Mon, 21 Sep 2015 11:27:39 +0000 (13:27 +0200)]
Fix recursive directory creation in rrdcached on FREEBSD
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
Tobias Oetiker [Sat, 29 Aug 2015 22:50:21 +0000 (00:50 +0200)]
Merge pull request #668 from nirgal/lua_tests
Make tests work on lua 5.1 to 5.3
Jean-Michel Vourgère [Fri, 28 Aug 2015 12:12:27 +0000 (14:12 +0200)]
Make tests work on lua 5.1 to 5.3
Lua 5.0 test is kept for now in a separate file
Jean-Michel Vourgère [Thu, 27 Aug 2015 19:45:26 +0000 (21:45 +0200)]
Unlock the global thread lock while processing rrd
This allows other threads to run while doing I/O on rrds, improving parelellism
on multi-threaded python applications.
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 [Wed, 19 Aug 2015 15:17:50 +0000 (17:17 +0200)]
Merge pull request #664 from nirgal/systemd_no_addr
Allow NULL socket addr, as created by systemd
Jean-Michel Vourgère [Wed, 19 Aug 2015 14:20:09 +0000 (16:20 +0200)]
Allow NULL socket addr, as created by systemd
This fixes an error when rrdcached is started using systemd.
Thanks to Denis Bychkov for the diagnostic and the first version of the patch.
Tobias Oetiker [Mon, 17 Aug 2015 12:30:22 +0000 (14:30 +0200)]
Merge pull request #659 from nirgal/pm_noexec
Don't install RRDCached.pm as an executable
Tobias Oetiker [Mon, 17 Aug 2015 05:46:21 +0000 (07:46 +0200)]
Merge pull request #663 from nirgal/perl-shared-default-path
Fixed perl-shared default path
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.
Tobias Oetiker [Fri, 14 Aug 2015 06:19:15 +0000 (08:19 +0200)]
Merge pull request #662 from nirgal/390x_first_week_day
Support 390x format of nl_langinfo(FIRST_WEEKDAY)
Jean-Michel Vourgère [Thu, 13 Aug 2015 22:16:25 +0000 (00:16 +0200)]
Support 390x format of nl_langinfo(FIRST_WEEKDAY)
nl_langinfo returns non-portable format for FIRST_WEEKDAY. See
https://www.gnu.org/software/libc/manual/html_node/The-Elegant-and-Fast-Way.html#The-Elegant-and-Fast-Way
That patch add support for the format used on 390x architecture.
This permits the unit tests to work there.
Tobias Oetiker [Thu, 13 Aug 2015 08:55:18 +0000 (10:55 +0200)]
Merge pull request #660 from nirgal/lua5.2
Lua5.2
Jean-Michel Vourgère [Wed, 12 Aug 2015 12:00:23 +0000 (14:00 +0200)]
Restore lua 5.0 & 5.1 compatibility
Jean-Michel Vourgère [Tue, 11 Aug 2015 13:55:11 +0000 (15:55 +0200)]
Don't install RRDCached.pm as an executable
Tobias Oetiker [Mon, 10 Aug 2015 21:12:42 +0000 (23:12 +0200)]
Merge pull request #657 from nirgal/patch-2
Fix spelling typo in licence
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
Tobias Oetiker [Mon, 10 Aug 2015 11:33:07 +0000 (13:33 +0200)]
Merge pull request #654 from nirgal/patch-1
Minor spelling in documetation
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:36 +0000 (11:03 +0200)]
Merge branch '1.5' of github.com:oetiker/rrdtool-1.x into 1.5
Tobias Oetiker [Mon, 10 Aug 2015 09:03:27 +0000 (11:03 +0200)]
timezone is relevant here ... oops
Tobias Oetiker [Mon, 10 Aug 2015 05:40:09 +0000 (07:40 +0200)]
Merge pull request #652 from nirgal/7digits
Limit unit tests check to 7 digits precision
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