]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/log
thirdparty/rrdtool-1.x.git
11 years agoAdd support for MINNAN and MAXNAN operators 440/head
Julien Thomas [Fri, 7 Feb 2014 13:21:53 +0000 (14:21 +0100)] 
Add support for MINNAN and MAXNAN operators

NAN-safe version of MIN and MAX. If one of the input numbers is
unknown then the result of the operation will be the other one.
If both are unknown, then the result of the operation is unknown.

11 years agoMerge pull request #439 from AutoAquaria/1.4
Tobias Oetiker [Mon, 10 Feb 2014 21:25:42 +0000 (22:25 +0100)] 
Merge pull request #439 from AutoAquaria/1.4

Add --left-axis-format option to control labels on y-axis of graph.

11 years agoAdd --left-axis-format option to control labels on y-axis of graph. 439/head
AutoAquaria [Mon, 10 Feb 2014 17:18:56 +0000 (11:18 -0600)] 
Add --left-axis-format option to control labels on y-axis of graph.

11 years agomore travis changes ... trying to get it to build lua bindings too
Tobias Oetiker [Sun, 24 Nov 2013 22:14:43 +0000 (23:14 +0100)] 
more travis changes ... trying to get it to build lua bindings too

11 years agoadd lua and tcl to travis build
Tobias Oetiker [Sun, 24 Nov 2013 21:55:28 +0000 (22:55 +0100)] 
add lua and tcl to travis build

11 years agoadd libdbi
Tobias Oetiker [Sun, 24 Nov 2013 21:42:47 +0000 (22:42 +0100)] 
add libdbi

11 years agoMerge pull request #427 from julthomas/jth/1.4/json
Tobias Oetiker [Sun, 24 Nov 2013 15:40:27 +0000 (07:40 -0800)] 
Merge pull request #427 from julthomas/jth/1.4/json

Fix json output when printing legend entries

11 years agoFix json output when printing infinity values 427/head
Julien Thomas [Wed, 20 Nov 2013 14:48:06 +0000 (15:48 +0100)] 
Fix json output when printing infinity values

The printf of a rrd_value_t variable can output inf in case of an
infinity value. That inf value is not JSON valid, nor are Infinity,
NaN, Number.NEGATIVE_INFINITY or Number.POSITIVE_INFINITY.

This commit adds a test for infinity values by using isinf() and
outputs a null in such case.

11 years agoFix json output when printing legend entries
Julien Thomas [Fri, 8 Nov 2013 00:07:16 +0000 (01:07 +0100)] 
Fix json output when printing legend entries

Branch 1.4 is missing this patch in order to produce valid json output.
This is related to issue #380 reported by apfeiffe.

11 years agoinitial 1.4 travis support
Tobias Oetiker [Thu, 31 Oct 2013 09:15:38 +0000 (10:15 +0100)] 
initial 1.4 travis support

11 years agoproperly detect failing fallocate and fall back to seeking
Tobias Oetiker [Thu, 31 Oct 2013 08:47:55 +0000 (09:47 +0100)] 
properly detect failing fallocate and fall back to seeking

11 years agominus one warning
Tobias Oetiker [Mon, 21 Oct 2013 13:00:26 +0000 (15:00 +0200)] 
minus one warning

11 years agoleaktest should not be here
Tobias Oetiker [Thu, 3 Oct 2013 13:52:48 +0000 (15:52 +0200)] 
leaktest should not be here

11 years agoremoving testing leftovers
Tobias Oetiker [Thu, 3 Oct 2013 13:51:00 +0000 (15:51 +0200)] 
removing testing leftovers

11 years ago4294967296 has to be treaded as long long for this to work ... help the compiler...
Tobias Oetiker [Fri, 23 Aug 2013 14:21:33 +0000 (16:21 +0200)] 
4294967296 has to be treaded as long long for this to work ... help the compiler see this

11 years agofix a bunch of json syntax issues (issue 380)
Tobias Oetiker [Mon, 19 Aug 2013 14:48:11 +0000 (16:48 +0200)] 
fix a bunch of json syntax issues (issue 380)

11 years agofix format string in Ruby binding
Johannes BrandstE4tter [Fri, 16 Aug 2013 09:07:36 +0000 (11:07 +0200)] 
fix format string in Ruby binding

Conflicts:

bindings/ruby/main.c

12 years agoAdded imginfo format check
Jaroslav Škarvada [Mon, 3 Jun 2013 15:06:26 +0000 (17:06 +0200)] 
Added imginfo format check

Resolves: http://bugzilla.redhat.com/show_bug.cgi?id=969296
(CVE-2013-2131)

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
12 years agotagged 1.4.8 for release
Tobias Oetiker [Thu, 23 May 2013 07:55:06 +0000 (09:55 +0200)] 
tagged 1.4.8 for release

12 years agotagged 1.4.8 for release 1.4.8
Tobias Oetiker [Thu, 23 May 2013 07:54:06 +0000 (09:54 +0200)] 
tagged 1.4.8 for release

12 years agotagged 1.4.8 for release
Tobias Oetiker [Thu, 23 May 2013 07:50:32 +0000 (09:50 +0200)] 
tagged 1.4.8 for release

12 years agotagged 1.4.8 for release
Tobias Oetiker [Thu, 23 May 2013 07:30:21 +0000 (09:30 +0200)] 
tagged 1.4.8 for release

12 years agoFixed failed IEEE check for cross-compile support.
Trevor Bowen [Mon, 13 May 2013 21:47:29 +0000 (16:47 -0500)] 
Fixed failed IEEE check for cross-compile support.

12 years agobackport of the (C)DEF hash patch to accelerate processing of large (+100 statements...
Tobias Oetiker [Tue, 30 Apr 2013 09:28:20 +0000 (11:28 +0200)] 
backport of the (C)DEF hash patch to accelerate processing of large (+100 statements) graph instructions.

12 years agofixed overflow probem with partial matching
Tobias Oetiker [Tue, 19 Mar 2013 06:17:23 +0000 (07:17 +0100)] 
fixed overflow probem with partial matching

12 years agoraise an error if part of an CDEF is unparsable
Tobias Oetiker [Sat, 16 Mar 2013 17:09:38 +0000 (18:09 +0100)] 
raise an error if part of an CDEF is unparsable

12 years agoAdded check for graph timespan overflowing if time_t is 32 bits.
Nick [Sat, 9 Feb 2013 18:46:40 +0000 (18:46 +0000)] 
Added check for graph timespan overflowing if time_t is 32 bits.

Conflicts:

src/rrd_create.c

12 years agoFixed overflow bug.
Nick [Sat, 9 Feb 2013 16:38:17 +0000 (16:38 +0000)] 
Fixed overflow bug.

12 years agoFix build when glib is in non-standard location (e.g. /opt).
Max Khon [Wed, 12 Dec 2012 06:48:23 +0000 (13:48 +0700)] 
Fix build when glib is in non-standard location (e.g. /opt).

12 years agoUpdated rrdgraph_libdbi doc about MySQL performance issues
Olivier Doucet [Wed, 9 Jan 2013 14:52:44 +0000 (15:52 +0100)] 
Updated rrdgraph_libdbi doc about MySQL performance issues

12 years agoLT -> LE
Georg Lutz [Sat, 5 Jan 2013 11:35:04 +0000 (12:35 +0100)] 
LT -> LE

12 years agofixed regression from renaming skipscale
Tobias Oetiker [Mon, 19 Nov 2012 08:17:55 +0000 (09:17 +0100)] 
fixed regression from renaming skipscale

12 years agoproperly fix handling of time_t size in rrd_restore
Tobias Oetiker [Mon, 19 Nov 2012 08:09:15 +0000 (09:09 +0100)] 
properly fix handling of time_t size in rrd_restore

12 years agouse skipscale everywhere and not SKIPSCALE
Tobias Oetiker [Wed, 14 Nov 2012 16:48:32 +0000 (17:48 +0100)] 
use skipscale everywhere and not SKIPSCALE

12 years agoNormally the graphing function makes sure that the entire LINE or AREA
Tobias Oetiker [Wed, 14 Nov 2012 13:19:44 +0000 (14:19 +0100)] 
Normally the graphing function makes sure that the entire LINE or AREA
is visible in the chart. The scaling of the chart will be modified
accordingly if necessary. Any LINE or AREA can be excluded from this
process by adding the option SKIPSCALE.

 LINE:x#f00::SKIPSCALE

12 years agofix for first day of the week detection logic
Antony Dovgal [Tue, 13 Nov 2012 14:57:49 +0000 (15:57 +0100)] 
fix for first day of the week detection logic

12 years agoMerge branch '1.4' of github.com:oetiker/rrdtool-1.x into 1.4
Tobias Oetiker [Sat, 10 Nov 2012 16:49:20 +0000 (17:49 +0100)] 
Merge branch '1.4' of github.com:oetiker/rrdtool-1.x into 1.4

12 years agodo not die when failing to add link
Tobias Oetiker [Sat, 10 Nov 2012 16:47:28 +0000 (17:47 +0100)] 
do not die when failing to add link

12 years agofix trendnan variable access
Tobias Oetiker [Sat, 10 Nov 2012 16:46:44 +0000 (17:46 +0100)] 
fix trendnan variable access

12 years agoMerge pull request #352 from tokkee/sh/build-issues
Tobias Oetiker [Fri, 19 Oct 2012 20:47:25 +0000 (13:47 -0700)] 
Merge pull request #352 from tokkee/sh/build-issues

ruby bindings: Fixed a few build issues.

12 years agoruby/main: Fixed "format not a string literal and no format arguments" errors. 352/head
Sebastian Harl [Fri, 19 Oct 2012 17:12:31 +0000 (19:12 +0200)] 
ruby/main: Fixed "format not a string literal and no format arguments" errors.

These kind of errors are reported by current versions of GCC.

12 years agoruby bindings: Fixed a miss-placed cast.
Sebastian Harl [Fri, 19 Oct 2012 17:11:30 +0000 (19:11 +0200)] 
ruby bindings: Fixed a miss-placed cast.

12 years agoadd git notes
Tobias Oetiker [Tue, 11 Sep 2012 12:33:08 +0000 (14:33 +0200)] 
add git notes

12 years agofix off by 1 error
Tobias Oetiker [Mon, 3 Sep 2012 13:39:29 +0000 (13:39 +0000)] 
fix off by 1 error

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2305 a5681a0c-68f1-0310-ab6d-d61299d08faa

12 years agofixed pango markup link
Tobias Oetiker [Wed, 22 Aug 2012 09:57:33 +0000 (09:57 +0000)] 
fixed pango markup link

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2304 a5681a0c-68f1-0310-ab6d-d61299d08faa

12 years agoremove a bunch of variables which were set but never used as pointed out by gcc
Tobias Oetiker [Tue, 14 Aug 2012 09:23:11 +0000 (09:23 +0000)] 
remove a bunch of variables which were set but never used as pointed out by gcc

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2303 a5681a0c-68f1-0310-ab6d-d61299d08faa

12 years agofix locations for installing the sample programs to make automake happy
Tobias Oetiker [Tue, 14 Aug 2012 09:22:19 +0000 (09:22 +0000)] 
fix locations for installing the sample programs to make automake happy

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2302 a5681a0c-68f1-0310-ab6d-d61299d08faa

12 years agointegrate rrdinfo and rrdcreate into the rrdupdate binary - Sven-Göran Bergh
Tobias Oetiker [Mon, 13 Aug 2012 14:04:15 +0000 (14:04 +0000)] 
integrate rrdinfo and rrdcreate into the rrdupdate binary - Sven-Göran Bergh

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2300 a5681a0c-68f1-0310-ab6d-d61299d08faa

12 years agoopenbsd does not know EPROTO it seems
Tobias Oetiker [Sun, 12 Aug 2012 20:49:17 +0000 (20:49 +0000)] 
openbsd does not know EPROTO it seems

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2298 a5681a0c-68f1-0310-ab6d-d61299d08faa

12 years agocomplete segfault fix for second axis %s format begun in r2123 (thanks Martin Pelikan...
Tobias Oetiker [Sun, 12 Aug 2012 14:37:31 +0000 (14:37 +0000)] 
complete segfault fix for second axis %s format begun in r2123 (thanks Martin Pelikan for the hint)

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2297 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoRRDs.xs uses &PL_sv_undef to insert undefined values into arrays and hashes. This...
Tobias Oetiker [Tue, 31 Jul 2012 12:43:45 +0000 (12:43 +0000)] 
RRDs.xs uses &PL_sv_undef to insert undefined values into arrays and hashes. This leads to all sorts of problems. For details, please see "AVs, HVs and undefined values" section in perlguts(1). -- patch by tobez+lars

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2296 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agosupport for the xport command -- Jimmy Ngo
Tobias Oetiker [Sat, 28 Jul 2012 13:54:59 +0000 (13:54 +0000)] 
support for the xport command -- Jimmy Ngo

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2294 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agofix warning: "__STRICT_ANSI__" is not defined warning patch by Gilles Esp
Tobias Oetiker [Mon, 7 May 2012 07:31:28 +0000 (07:31 +0000)] 
fix warning: "__STRICT_ANSI__" is not defined warning patch by Gilles Esp

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2288 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agomake sure the grid and label positioner does NOT take the dst state of the current...
Tobias Oetiker [Tue, 10 Apr 2012 10:12:28 +0000 (10:12 +0000)] 
make sure the grid and label positioner does NOT take the dst state of the current time into account.

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2286 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agofix rrdcached crash as reported in debian bug #663505 -- Witold Baryluk
Tobias Oetiker [Mon, 12 Mar 2012 10:47:21 +0000 (10:47 +0000)] 
fix rrdcached crash as reported in debian bug #663505 -- Witold Baryluk

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2285 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoif the perl bindings are to be installed together with rrdtool, make sure INSTALL_BAS...
Tobias Oetiker [Thu, 8 Mar 2012 07:46:04 +0000 (07:46 +0000)] 
if the perl bindings are to be installed together with rrdtool, make sure INSTALL_BASE does not confuse things. Inspired by Mike Schilli.

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2284 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agofix flush race in rrdcached -- Christian Hitz
Tobias Oetiker [Mon, 5 Mar 2012 16:49:01 +0000 (16:49 +0000)] 
fix flush race in rrdcached -- Christian Hitz

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2282 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agojson requires keys to be proper strings and thus quoted ...
Tobias Oetiker [Wed, 22 Feb 2012 22:11:18 +0000 (22:11 +0000)] 
json requires keys to be proper strings and thus quoted ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2276 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoremove duplicate code in rrd_open -- Richard Laager
Tobias Oetiker [Thu, 2 Feb 2012 15:39:54 +0000 (15:39 +0000)] 
remove duplicate code in rrd_open -- Richard Laager

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2271 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agouse posix_fallocate when initialiying rrd files ... instead of filling them with...
Tobias Oetiker [Thu, 2 Feb 2012 15:38:44 +0000 (15:38 +0000)] 
use  posix_fallocate when initialiying rrd files ... instead of filling them with yero explicitly -- Richard Laager

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2270 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agofix for tcl bindings ... -- George Ross
Tobias Oetiker [Thu, 2 Feb 2012 15:35:24 +0000 (15:35 +0000)] 
fix for tcl bindings ... -- George Ross

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2269 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoprepare for the release of rrdtool-1.4.7
Tobias Oetiker [Tue, 24 Jan 2012 10:08:48 +0000 (10:08 +0000)] 
prepare for the release of rrdtool-1.4.7

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2267 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoregression fix for r2265
Tobias Oetiker [Tue, 24 Jan 2012 08:20:45 +0000 (08:20 +0000)] 
regression fix for r2265

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2266 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agotest for tm.tm_gmtoff presence in configure.ac fix for #330
Tobias Oetiker [Tue, 24 Jan 2012 08:18:37 +0000 (08:18 +0000)] 
test for tm.tm_gmtoff presence in configure.ac fix for #330

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2265 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agocheck in /usr/lib64 for tclConfig.sh too
Tobias Oetiker [Tue, 24 Jan 2012 07:38:31 +0000 (07:38 +0000)] 
check in /usr/lib64 for tclConfig.sh too

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2264 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agofix shared library version number
Tobias Oetiker [Mon, 23 Jan 2012 13:56:25 +0000 (13:56 +0000)] 
fix shared library version number

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2263 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoadded a nop control for string formating, so that strings ending in /x are possible...
Tobias Oetiker [Fri, 20 Jan 2012 07:57:59 +0000 (07:57 +0000)] 
added a nop control for string formating, so that strings ending in /x are possible by entering \x\.
fix for #331

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2262 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoadded support for rrdgraph to use the yotta, zetta, zepto, yocto prefixes. Fix for...
Tobias Oetiker [Fri, 20 Jan 2012 07:27:50 +0000 (07:27 +0000)] 
added support for rrdgraph to use the yotta, zetta, zepto, yocto prefixes. Fix for #333 (thanks Christoph)

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2261 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agobe clearer as to what VDEF LAST/FIRST do.
Tobias Oetiker [Wed, 18 Jan 2012 06:08:12 +0000 (06:08 +0000)] 
be clearer as to what VDEF LAST/FIRST do.

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2259 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoremove perl 5.004 compatibility hack and make things work on newer perls in exchange :-)
Tobias Oetiker [Tue, 17 Jan 2012 06:53:29 +0000 (06:53 +0000)] 
remove perl 5.004 compatibility hack and make things work on newer perls in exchange :-)

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2258 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoprepare for the release of rrdtool-1.4.6
Tobias Oetiker [Mon, 16 Jan 2012 14:44:19 +0000 (14:44 +0000)] 
prepare for the release of rrdtool-1.4.6

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2256 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoprepare for the release of rrdtool-1.4.6
Tobias Oetiker [Mon, 16 Jan 2012 14:40:06 +0000 (14:40 +0000)] 
prepare for the release of rrdtool-1.4.6

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2255 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agofix libwrap and libdbi detection logic
Tobias Oetiker [Mon, 16 Jan 2012 14:34:21 +0000 (14:34 +0000)] 
fix libwrap and libdbi detection logic

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2254 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoprepare for the release of rrdtool-1.4.6
Tobias Oetiker [Mon, 16 Jan 2012 13:44:41 +0000 (13:44 +0000)] 
prepare for the release of rrdtool-1.4.6

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2252 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agorrdtool is assuming that rrd_xport will always return -1 on failure;
Tobias Oetiker [Mon, 16 Jan 2012 10:59:14 +0000 (10:59 +0000)] 
rrdtool is assuming that rrd_xport will always return -1 on failure;
however, rrd_xport returns errno (which is, generally, not -1) if
rrd_client fails. I figured it was easier to change rrdtool than to change
everything in rrd_client. For good measure, I also changed the checks on
the calls to rrd_fetch and rrd_graph. I'm not sure if they're susceptible
to the same problem, but, well, better to check for the one thing you do
what you want than to enumerate all the possible things you don't want.

This segfault is caused by an uninitialized variable use (in particular,
legend_v and col_cnt end up being used and passed to printf uninitialized).
Nothing offhand jumped out at me as easily-exploitable to do code
injection, but I only spent five or so minutes looking at it, so there very
well may be a security problem hiding behind this. -- James Brown <jbrown@yelp.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2251 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agointegrated json support in rrdtool xport with inspiration from Erik Kastner and Micha...
Tobias Oetiker [Sun, 15 Jan 2012 16:31:12 +0000 (16:31 +0000)] 
integrated json support in rrdtool xport with inspiration from Erik Kastner and Michael Markstaller -- Tobi

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2250 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agobe more careful when finding pic flags
Tobias Oetiker [Mon, 19 Dec 2011 16:03:09 +0000 (16:03 +0000)] 
be more careful when finding pic flags

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2247 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoensure we got long ints in ruby printfs
Tobias Oetiker [Sun, 18 Dec 2011 11:54:57 +0000 (11:54 +0000)] 
ensure we got long ints in ruby printfs

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2246 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agofix horyzontal alignement of lines and aread
Tobias Oetiker [Fri, 16 Dec 2011 20:19:49 +0000 (20:19 +0000)] 
fix horyzontal alignement of lines and aread

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2245 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agobackport improved grid-fitting
Tobias Oetiker [Fri, 16 Dec 2011 17:40:15 +0000 (17:40 +0000)] 
backport improved grid-fitting

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2244 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agosimplified configure tests for libwrap and libdbi
Tobias Oetiker [Fri, 16 Dec 2011 16:34:02 +0000 (16:34 +0000)] 
simplified configure tests for libwrap and libdbi

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2242 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agosearch for tcpd.h with <>
Tobias Oetiker [Fri, 16 Dec 2011 13:25:34 +0000 (13:25 +0000)] 
search for tcpd.h with <>

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2240 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agofix win32 distributables
Tobias Oetiker [Fri, 16 Dec 2011 07:48:48 +0000 (07:48 +0000)] 
fix win32 distributables

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2239 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agomake cpp defines more portable
Tobias Oetiker [Fri, 16 Dec 2011 07:30:02 +0000 (07:30 +0000)] 
make cpp defines more portable

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2238 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoneed min defined now
Tobias Oetiker [Fri, 16 Dec 2011 07:29:44 +0000 (07:29 +0000)] 
need min defined now

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2237 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoupdated win32 port by Larry Adams and the cacti team
Tobias Oetiker [Thu, 15 Dec 2011 16:07:05 +0000 (16:07 +0000)] 
updated win32 port by Larry Adams and the cacti team

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2235 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agorpn compare operators CAN return unknown ... (#293)
Tobias Oetiker [Thu, 1 Dec 2011 15:27:24 +0000 (15:27 +0000)] 
rpn compare operators CAN return unknown ... (#293)

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2232 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agogettext 0.17 is sufficient too and more widely used than 0.18 ...
Tobias Oetiker [Thu, 1 Dec 2011 15:09:12 +0000 (15:09 +0000)] 
gettext 0.17 is sufficient too and more widely used than 0.18 ...
-- Bernard Li <bernard@vanhpc.org>

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2231 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agofix some issues with the
Tobias Oetiker [Thu, 1 Dec 2011 15:07:38 +0000 (15:07 +0000)] 
fix some issues with the
spec file, specifically:

- Reset Release to 1
- Add -lua subpackage
- Fix -perl subpackage so it includes the correct Perl package paths

The version should probably be updated to 1.5.0 (for trunk), or we
could just grab that from configure.ac.

Tested building on EL5 and EL6 (beta).

It would be great if this could also be backported to the 1.4 tree.

-- Bernard Li <bernard@vanhpc.org>

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2230 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agofix typo in configure.ac (regression from r2227) fix for #324
Tobias Oetiker [Tue, 29 Nov 2011 22:42:45 +0000 (22:42 +0000)] 
fix typo in configure.ac (regression from r2227) fix for #324

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2229 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoIt seems that function graph_size_location() doesn't call xtr(im, 0) if (im->extra_fl...
Tobias Oetiker [Mon, 28 Nov 2011 07:38:54 +0000 (07:38 +0000)] 
It seems that function graph_size_location() doesn't call xtr(im, 0) if (im->extra_flags & ONLY_GRAPH) != 0. Therefore, static variable pixie in function xtr() remains uninitialized (fix for #322). -- u00mp yandex.ru

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2228 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agofix glib dependency for --disable-rrd_graph and update library versions (fix for...
Tobias Oetiker [Mon, 28 Nov 2011 07:32:36 +0000 (07:32 +0000)] 
fix glib dependency for --disable-rrd_graph and update library versions (fix for #323)

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2227 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoinitialize magfact to 1 ... fixes logarithm chart display issues (patch from Christop...
Tobias Oetiker [Thu, 24 Nov 2011 15:07:23 +0000 (15:07 +0000)] 
initialize magfact to 1 ... fixes logarithm chart display issues (patch from Christoph Biedl) #296

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2225 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoupdates to the win32 port -- Chris Larsen
Tobias Oetiker [Thu, 24 Nov 2011 14:56:02 +0000 (14:56 +0000)] 
updates to the win32 port -- Chris Larsen

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2224 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoafter fetching, data must be reduced to at least chart resolution, else some data...
Tobias Oetiker [Thu, 24 Nov 2011 14:26:30 +0000 (14:26 +0000)] 
after fetching, data must be reduced to at least chart resolution, else some data will not get plotted. fix for #298

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2221 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoproperly handle the case where RRDCACHED_ADDRESS is an empty string
Tobias Oetiker [Thu, 24 Nov 2011 10:55:18 +0000 (10:55 +0000)] 
properly handle the case where RRDCACHED_ADDRESS is an empty string

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2220 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agothe number of COMPUTE rpn nodes is architecture dependent. calculate the right number...
Tobias Oetiker [Wed, 23 Nov 2011 16:54:17 +0000 (16:54 +0000)] 
the number of COMPUTE rpn nodes is architecture dependent. calculate the right number and complain otherwise. Fix for #300.

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2219 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agomake rrd_mkdir_p work on bsd* unixes too ... their dirname call works differently...
Tobias Oetiker [Wed, 23 Nov 2011 08:53:49 +0000 (08:53 +0000)] 
make rrd_mkdir_p work on bsd* unixes too ... their dirname call works differently ... #305

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2218 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoallow to restore xml files with zero row rras ... this is a degenerated case
Tobias Oetiker [Tue, 22 Nov 2011 15:40:22 +0000 (15:40 +0000)] 
allow to restore xml files with zero row rras ... this is a degenerated case
that does not occure in the wild, as rrdtool prevents the creation of such
rrd files. But rrdtool restore 1.3 did allows to create them via restore.
Now this is possible again. Fix for #310.

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2212 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agothe first TREND* value can be calculated earlier ... -- fredrick (fix for #312)
Tobias Oetiker [Tue, 22 Nov 2011 12:59:57 +0000 (12:59 +0000)] 
the first TREND* value can be calculated earlier ... -- fredrick (fix for #312)

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2210 a5681a0c-68f1-0310-ab6d-d61299d08faa