]>
git.ipfire.org Git - thirdparty/rrdtool-1.x.git/log
Jean-Michel Vourgère [Wed, 12 Aug 2015 12:00:23 +0000 (14:00 +0200)]
Restore lua 5.0 & 5.1 compatibility
Yolanda Robla [Wed, 17 Jul 2013 11:02:00 +0000 (13:02 +0200)]
Upgrade to lua 5.2
See https://bugs.launchpad.net/ubuntu/+source/lua5.2/+bug/
1196921
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
Tobias Oetiker [Fri, 15 May 2015 03:18:07 +0000 (23:18 -0400)]
declare temp double at the start of the function
Tobias Oetiker [Fri, 15 May 2015 02:57:32 +0000 (04:57 +0200)]
inlude rrd_rados.h into dist
Tobias Oetiker [Fri, 15 May 2015 01:12:38 +0000 (21:12 -0400)]
remove remaining atof calls
Tobias Oetiker [Thu, 30 Apr 2015 09:41:35 +0000 (11:41 +0200)]
ready for 1.5.3
Tobias Oetiker [Thu, 30 Apr 2015 08:14:15 +0000 (10:14 +0200)]
make dashed lines work again and add test to perl bindings
Karol Babioch [Wed, 29 Apr 2015 19:11:26 +0000 (21:11 +0200)]
doc: rrdcgi.pod: Fix minor typo
Tobias Oetiker [Sun, 26 Apr 2015 12:54:45 +0000 (14:54 +0200)]
Merge pull request #615 from benoit-monin/fix_warnings
define _DEFAULT_SOURCE alongside _BSD_SOURCE
Benoît Monin [Sun, 26 Apr 2015 12:18:45 +0000 (14:18 +0200)]
define _DEFAULT_SOURCE alongside _BSD_SOURCE
_BSD_SOURCE deprecated since glibc 2.20 and _DEFAULT_SOURCE should be used
instead. Define both to fix deprecation warning.
Quoting the man page feature_test_macros(7):
Since glibc 2.20, this macro is deprecated. It now has the same effect as
defining _DEFAULT_SOURCE, but generates a compile-time warning (unless
_DEFAULT_SOURCE is also defined). Use _DEFAULT_SOURCE instead. To allow
code that requires _BSD_SOURCE in glibc 2.19 and earlier and _DEFAULT_SOURCE
in glibc 2.20 and later to compile without warnings, define both _BSD_SOURCE
and _DEFAULT_SOURCE.
Tobias Oetiker [Sun, 26 Apr 2015 10:28:23 +0000 (12:28 +0200)]
document change
Tobias Oetiker [Sun, 26 Apr 2015 10:26:56 +0000 (12:26 +0200)]
Merge branch '1.5' of github.com:oetiker/rrdtool-1.x into 1.5
Tobias Oetiker [Sun, 26 Apr 2015 10:26:12 +0000 (12:26 +0200)]
Merge pull request #614 from benoit-monin/straighten_options_for_1.5
Straighten options for 1.5
Benoît Monin [Sat, 25 Apr 2015 10:02:44 +0000 (12:02 +0200)]
rrdxport: fix options documentation and parsing
* Document short option '-d' for daemon.
* Add enumds option to documentation synopsis.
* Add daemon to rrdtool help.
Benoît Monin [Sat, 25 Apr 2015 10:02:44 +0000 (12:02 +0200)]
rrdupdate: fix options documentation
* Document skip-past-updates.
* Add short options '-s' and '-d' to rrdtool help.
Benoît Monin [Sat, 25 Apr 2015 10:02:44 +0000 (12:02 +0200)]
rrdtune: fix options documentation and parsing
* Document all the short options.
* Document step option (although detailled documentation is missing)
* Add short options '-s', '-S', '-t' and '-D' to getopt.
* Add missing options to rrdtool help.
Benoît Monin [Sat, 25 Apr 2015 12:18:28 +0000 (14:18 +0200)]
rrdrestore: fix typo in option error message
Benoît Monin [Sat, 25 Apr 2015 11:50:33 +0000 (13:50 +0200)]
rrdlastupdate: document short option '-d' for daemon
Benoît Monin [Sat, 25 Apr 2015 10:02:44 +0000 (12:02 +0200)]
rrdlast: fix options documentation and parsing
* Document short option '-d' for daemon.
* Remove noflush option from documentation, unimplemented
* Add short-option '-d' to error message.
* Add daemon to rrdtool help.
Benoît Monin [Sat, 25 Apr 2015 10:02:44 +0000 (12:02 +0200)]
rrdinfo: fix options documentation
* Document short option '-d' for daemon.
* Document short option '-F' for noflush.
* Add short-options '-d' and '-F' to error message.
* Add daemon and noflush to rrdtool help.
Benoît Monin [Sat, 25 Apr 2015 11:50:33 +0000 (13:50 +0200)]
rrdgraph: document short option '-d' for daemon
Benoît Monin [Sat, 25 Apr 2015 11:50:33 +0000 (13:50 +0200)]
rrdflushcached: document short option '-d' for daemon
Benoît Monin [Sat, 25 Apr 2015 10:02:44 +0000 (12:02 +0200)]
rrdfirst: fix options documentation and parsing
* Document short option '-d' for daemon.
* Fix getopt: remove unused '-F' short option.
* Add short-option '-d' to error message.
* Add daemon to rrdtool help.
Benoît Monin [Sat, 25 Apr 2015 10:02:44 +0000 (12:02 +0200)]
rrdfetch: fix options documentation and parsing
* Document option align-start and short option '-d' for daemon.
* fix getopt: align-start don't take argument.
* Add align-start to rrdtool help.
Benoît Monin [Sat, 25 Apr 2015 10:02:44 +0000 (12:02 +0200)]
rrddump: fix options documentation
* Document short options '-n' for no-header and '-d' for daemon.
* Add command line options to error message.
* Add command line options to rrdtool help.
Benoît Monin [Sat, 25 Apr 2015 10:02:44 +0000 (12:02 +0200)]
rrdcreate: fix options documentation and parsing
* Document short options '-O' for no_overwrite and '-d' for daemon.
* Add short options '-t' (template) and '-r' (source) to getopt.
* Add template, source and daemon to rrdtool help.
Benoît Monin [Sat, 25 Apr 2015 09:41:37 +0000 (11:41 +0200)]
rrdcgi: document short option '-f' for filter
Tobias Oetiker [Fri, 24 Apr 2015 05:27:56 +0000 (07:27 +0200)]
have a long vname
Tobias Oetiker [Thu, 23 Apr 2015 15:20:53 +0000 (17:20 +0200)]
prep for 1.5.2
Tobias Oetiker [Thu, 23 Apr 2015 15:15:07 +0000 (17:15 +0200)]
VDEF paramerters are vnames and not ds_nam elements ... hence they can be much longer
Tobias Oetiker [Thu, 23 Apr 2015 15:14:24 +0000 (17:14 +0200)]
that - never did work anyway (it should have been at the end of the format string)
Tobias Oetiker [Wed, 22 Apr 2015 11:40:49 +0000 (13:40 +0200)]
Merge branch '1.5' of github.com:oetiker/rrdtool-1.x into 1.5
Tobias Oetiker [Wed, 22 Apr 2015 11:39:54 +0000 (13:39 +0200)]
fix for #611 ... try to unlink before rename ...
Tobias Oetiker [Wed, 22 Apr 2015 11:32:49 +0000 (13:32 +0200)]
Merge pull request #610 from yarda/issue_609
install lua bindings to $libdir/lua
Jaroslav Škarvada [Tue, 21 Apr 2015 13:06:09 +0000 (15:06 +0200)]
install lua bindings to $libdir/lua
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Tobias Oetiker [Tue, 21 Apr 2015 12:03:09 +0000 (14:03 +0200)]
that test number was a wee bit long
Tobias Oetiker [Mon, 20 Apr 2015 21:55:03 +0000 (23:55 +0200)]
update changes
Tobias Oetiker [Mon, 20 Apr 2015 21:50:30 +0000 (23:50 +0200)]
Merge branch '1.5' of github.com:oetiker/rrdtool-1.x into 1.5
Tobias Oetiker [Mon, 20 Apr 2015 21:49:49 +0000 (23:49 +0200)]
allow floats to be up 40 charaters long
Tobias Oetiker [Mon, 20 Apr 2015 21:34:11 +0000 (23:34 +0200)]
Merge pull request #608 from yarda/yardas
Python bindings build fix
Jaroslav Škarvada [Mon, 20 Apr 2015 15:05:29 +0000 (17:05 +0200)]
Python bindings build fix
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Tobias Oetiker [Mon, 20 Apr 2015 14:35:46 +0000 (16:35 +0200)]
see 1.5 status
Tobias Oetiker [Mon, 20 Apr 2015 14:29:36 +0000 (16:29 +0200)]
ready for 1.5.1
Tobias Oetiker [Mon, 20 Apr 2015 14:28:47 +0000 (16:28 +0200)]
make sure we can use LONG numbers
Tobias Oetiker [Mon, 20 Apr 2015 14:26:16 +0000 (16:26 +0200)]
include missig files
Tobias Oetiker [Mon, 20 Apr 2015 14:25:55 +0000 (16:25 +0200)]
don't limit the length of numbers
Tobias Oetiker [Mon, 20 Apr 2015 07:09:28 +0000 (09:09 +0200)]
spelling fixes
Tobias Oetiker [Thu, 16 Apr 2015 21:14:47 +0000 (23:14 +0200)]
anticipating 1.5.1
Tobias Oetiker [Thu, 16 Apr 2015 16:39:43 +0000 (18:39 +0200)]
updated
Tobias Oetiker [Thu, 16 Apr 2015 16:39:09 +0000 (18:39 +0200)]
ready for 1.5
Tobias Oetiker [Thu, 16 Apr 2015 16:10:22 +0000 (18:10 +0200)]
use rrd_strerror
Tobias Oetiker [Wed, 15 Apr 2015 20:34:41 +0000 (22:34 +0200)]
integrate gradient functionality into AREA
Tobias Oetiker [Wed, 1 Apr 2015 19:29:03 +0000 (21:29 +0200)]
Merge pull request #601 from JoakimSoderberg/fix_rrd_graph_thread_issue
Fix pango fontmap threading issue.
Joakim Soderberg [Wed, 1 Apr 2015 13:28:58 +0000 (15:28 +0200)]
Fix pango fontmap threading issue.
Since pango v1.32.6 `pango_cairo_font_map_get_default` returns a per thread `fontmap`. But since we're allocating this statically on the first call to `rrd_init`,
if we then try to access it again via another thread glib will get stuck in an infinte assertion loop.
Instead use `pango_cairo_font_map_new()` when creating the `fontmap`. This will not create a per thread version and glib will be happy.
Also added some extra locking whenever using the `im->layout` pango structure that uses the `fontmap` internally as a precaution.
Tobias Oetiker [Sun, 29 Mar 2015 12:25:31 +0000 (14:25 +0200)]
travis! get a grip!
Tobias Oetiker [Sun, 29 Mar 2015 12:18:28 +0000 (14:18 +0200)]
* fix grid rendering for automn time change
* add extra labeling for really high resolution charts
Tobias Oetiker [Wed, 25 Mar 2015 15:23:38 +0000 (16:23 +0100)]
Merge pull request #595 from etbuira/values-pp
Add some value formatting depending on what data type is graphed
Tobias Oetiker [Wed, 25 Mar 2015 15:18:08 +0000 (16:18 +0100)]
exporting one row too many ...
Etienne Buira [Mon, 16 Mar 2015 21:23:55 +0000 (22:23 +0100)]
rrd_graph: Add human scale durations pretty-print
Etienne Buira [Mon, 16 Mar 2015 20:55:12 +0000 (21:55 +0100)]
rrd_graph: Add possibility to graph timestamp data
RRA records hold both a value and a timestamp, this patch
permits to represent the _value_ (g?print/axis) as timestamps.
Tobias Oetiker [Sat, 28 Feb 2015 11:15:10 +0000 (12:15 +0100)]
Merge pull request #587 from oetiker/smooth-fix
Smooth fix for #583
Tobias Oetiker [Fri, 27 Feb 2015 06:48:12 +0000 (07:48 +0100)]
it is HAVE_MMAP not MMAP
Tobias Oetiker [Thu, 26 Feb 2015 14:55:11 +0000 (15:55 +0100)]
Merge pull request #586 from mkhon/master
Fix I/O error detection in dump/restore
Tobias Oetiker [Thu, 26 Feb 2015 07:14:07 +0000 (08:14 +0100)]
only write cdp to disk if we are NOT in MMAP mode
Max Khon [Thu, 26 Feb 2015 07:00:05 +0000 (13:00 +0600)]
Fix formatting.
Max Khon [Thu, 26 Feb 2015 06:54:44 +0000 (12:54 +0600)]
- check fwrite(3) return value
- do fflush(3) to flush stdio buffers (with error check) so that
I/O errors are detected more properly
- do not leave incompletely written output file in case of I/O errors
- set error condition on I/O errors so that rrdtool exits with non-zero
exit code
Max Khon [Thu, 26 Feb 2015 06:53:04 +0000 (12:53 +0600)]
write_fh:
- Check fwrite return value to vail out early on I/O errors
- Do fflush(3) to flush stdio buffers as callers do not check fclose(3)
return value
Max Khon [Thu, 26 Feb 2015 06:52:29 +0000 (12:52 +0600)]
Don't leave incompletely written output file if restore fails.
Tobias Oetiker [Wed, 25 Feb 2015 15:27:43 +0000 (16:27 +0100)]
when copying the rra, we need to copy the whole thing, not only the first row.
Tobias Oetiker [Wed, 25 Feb 2015 11:25:54 +0000 (12:25 +0100)]
Merge pull request #585 from msperl/master-fix-for-argument-parser-for-keywords
fix for argument parser for def where the vname is equivalent to cf, rrd or vname
Max Khon [Wed, 25 Feb 2015 09:35:39 +0000 (15:35 +0600)]
Don't zero-out rrd->__mmap_start and rrd->__mmap_size.
Otherwise free_rrd_ptr_if_not_mmapped() will try to free non-malloc'ed memory.
The error from OS X malloc debugger is:
rrdtool(34216,0x7fff7bebd300) malloc: *** error for object 0x104a09d80:
pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
Max Khon [Wed, 25 Feb 2015 09:35:09 +0000 (15:35 +0600)]
Add missing rrd_free().
Martin Sperl [Tue, 24 Feb 2015 14:00:22 +0000 (14:00 +0000)]
fixed modification of constant strings
and restored the "original" error-message
Martin Sperl [Tue, 24 Feb 2015 13:35:38 +0000 (13:35 +0000)]
fixed positional parser for def by allowing us to rerun the parser a second time
but this time with the first positional key altered...
Tobias Oetiker [Sat, 21 Feb 2015 17:50:05 +0000 (18:50 +0100)]
test should not be dependent on the current time