Code

rrdtool-all.git
20 years agofixed time stamp in example -- Mike Slifcak
oetiker [Tue, 25 May 2004 21:00:48 +0000 (21:00 +0000)]
fixed time stamp in example -- Mike Slifcak

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@269 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agomore fixes for rpm spec -- Mike Slifcak
oetiker [Tue, 25 May 2004 20:59:49 +0000 (20:59 +0000)]
more fixes for rpm spec -- Mike Slifcak

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@268 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agosingle word fix -- Mike Slifcak
oetiker [Tue, 25 May 2004 20:58:57 +0000 (20:58 +0000)]
single word fix -- Mike Slifcak

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@267 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoClear out previous legend array contents before freeing legend array.
oetiker [Tue, 25 May 2004 20:57:58 +0000 (20:57 +0000)]
Clear out previous legend array contents before freeing legend array.
Problem could manifest under extreme resource limits.  Not tested.
-- Mike Slifcak

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@266 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agosubordinate term was improperly formed -- Mike Slifcak
oetiker [Tue, 25 May 2004 20:55:37 +0000 (20:55 +0000)]
subordinate term was improperly formed --  Mike Slifcak

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@265 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoprevent small leak when resources are exhausted -- Mike Slifcak
oetiker [Tue, 25 May 2004 20:53:21 +0000 (20:53 +0000)]
prevent small leak when resources are exhausted -- Mike Slifcak

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@264 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agofix spelling and syntax, especially in messages that are printed -- Mike Slifcak
oetiker [Tue, 25 May 2004 20:52:16 +0000 (20:52 +0000)]
fix spelling and syntax, especially in messages that are printed -- Mike Slifcak

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@263 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoUpdate displayed copyright messages to be consistent. -- Mike Slifcak
oetiker [Tue, 25 May 2004 20:51:49 +0000 (20:51 +0000)]
Update displayed copyright messages to be consistent. -- Mike Slifcak

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@262 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agodon't process the old rrdgraph single file document -- Mike Slifcak
oetiker [Tue, 25 May 2004 20:51:12 +0000 (20:51 +0000)]
don't process the old rrdgraph single file document -- Mike Slifcak

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@261 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agofix rpm rules -- Mike Slifcak
oetiker [Tue, 25 May 2004 20:50:36 +0000 (20:50 +0000)]
fix rpm rules --  Mike Slifcak

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@260 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agofixed debian dependencies -- Mike Slifcak
oetiker [Tue, 25 May 2004 20:50:07 +0000 (20:50 +0000)]
fixed debian dependencies --  Mike Slifcak

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@259 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoThe expression's head was first checking for LT, and then for LTIME,
oetiker [Tue, 25 May 2004 16:51:49 +0000 (16:51 +0000)]
The expression's head was first checking for LT, and then for LTIME,
and the latter was never reached. -- Stanislav Sinyagin <ssinyagin@yahoo.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@258 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agointegrated from debian
oetiker [Wed, 19 May 2004 05:11:07 +0000 (05:11 +0000)]
integrated from debian

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@257 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoits 365 days in a year .... -- Mike Slifcak
oetiker [Tue, 18 May 2004 18:54:50 +0000 (18:54 +0000)]
its 365 days in a year .... -- Mike Slifcak

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@256 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agobig spell checking patch -- slif@bellsouth.net
oetiker [Tue, 18 May 2004 18:53:03 +0000 (18:53 +0000)]
big spell checking patch -- slif@bellsouth.net

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@255 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agomake force option work
oetiker [Tue, 18 May 2004 18:51:55 +0000 (18:51 +0000)]
make force option work

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@254 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoadded beginners guide off debian -- slif@bellsouth.net
oetiker [Tue, 18 May 2004 18:51:02 +0000 (18:51 +0000)]
added beginners guide off debian --  slif@bellsouth.net

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@253 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoadd 4chars and fix two examples -- Mike Slifcak <slif@bellsouth.net>
oetiker [Tue, 18 May 2004 18:49:50 +0000 (18:49 +0000)]
add 4chars and fix two examples -- Mike Slifcak <slif@bellsouth.net>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@252 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoinitial debian build system added -- Mike Slifcak <slif@bellsouth.net>
oetiker [Tue, 18 May 2004 18:40:31 +0000 (18:40 +0000)]
initial debian build system added -- Mike Slifcak <slif@bellsouth.net>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@251 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agofix library numbering -- Mike Slifcak
oetiker [Tue, 18 May 2004 18:36:05 +0000 (18:36 +0000)]
fix library numbering  -- Mike Slifcak

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@250 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agobetter cleaning -- Mike Slifcak
oetiker [Tue, 18 May 2004 18:25:45 +0000 (18:25 +0000)]
better cleaning -- Mike Slifcak

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@249 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agolocate the mkinstalldirs script at top level
oetiker [Wed, 12 May 2004 21:57:53 +0000 (21:57 +0000)]
locate the mkinstalldirs script at top level
accept "configure --mandir=" settings -- Mike Slifcak <slif@bellsouth.net>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@248 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoAdded the ATAN function. This is being used to convert a DS for each vector component...
oetiker [Tue, 4 May 2004 21:01:29 +0000 (21:01 +0000)]
Added the ATAN function. This is being used to convert a DS for each vector component of wind direction into a
single direction for graphing. CDEF:avdir=yavg,xavg,/,ATAN,57.296,*,xavg,0,LT,180,0,IF,+,DUP,0,LT,360,0,IF,+
-- Daniel Shiels <dan@marge.tofubar.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@247 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoupdated spec file -- Chris Adams <cmadams@hiwaay.net>
oetiker [Tue, 4 May 2004 20:54:47 +0000 (20:54 +0000)]
updated spec file -- Chris Adams <cmadams@hiwaay.net>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@246 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agodie only after all the version checks are done and not for each one
oetiker [Tue, 4 May 2004 05:25:19 +0000 (05:25 +0000)]
die only after all the version checks are done and not for each one
-- Alex van den Bogaerdt <alex@ergens.op.het.net>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@245 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years ago* Allows rrdtool 1.1.x (2004-04-29) to compile on freebsd.
oetiker [Mon, 3 May 2004 14:05:48 +0000 (14:05 +0000)]
* Allows rrdtool 1.1.x (2004-04-29) to compile on freebsd.
* Add configure options
  --disable-rrdcgi        disable building of rrdcgi
  --disable-pthread       disable multithread support
-- Stanislav Sinyagin <ssinyagin@yahoo.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@244 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoSee the patch, attached. It changes the default angle to 90, and
oetiker [Sun, 2 May 2004 21:10:59 +0000 (21:10 +0000)]
See the patch, attached. It changes the default angle to 90, and
allows one to change it from configure command line:

./configure RRDGRAPH_YLEGEND_ANGLE=270.0

-- Stanislav Sinyagin <ssinyagin@yahoo.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@243 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agofixed O_BINARY
oetiker [Sun, 18 Apr 2004 10:21:31 +0000 (10:21 +0000)]
fixed O_BINARY

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@242 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agomake sure fole is opened binary on restore ... to make things work on windows --...
oetiker [Tue, 23 Mar 2004 21:34:28 +0000 (21:34 +0000)]
make sure fole is opened binary on restore ... to make things work on windows -- "Girod, Laurent" <Laurent.Girod@pmintl.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@241 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoAdded --only-graph option -- Piotr Kodzis <Piotr.Kodzis@inteligo.pl>
oetiker [Sun, 21 Mar 2004 11:40:49 +0000 (11:40 +0000)]
Added --only-graph option -- Piotr Kodzis <Piotr.Kodzis@inteligo.pl>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@240 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agomake MakeMaker work on debian and fix some leftovers from the library rip-out transition
oetiker [Sun, 14 Mar 2004 20:58:32 +0000 (20:58 +0000)]
make MakeMaker work on debian and fix some leftovers from the library rip-out transition
-- Tobi

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@239 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoinitial
oetiker [Mon, 19 Jan 2004 23:41:34 +0000 (23:41 +0000)]
initial

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@238 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agokill
oetiker [Mon, 19 Jan 2004 23:39:42 +0000 (23:39 +0000)]
kill

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@237 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoremove
oetiker [Mon, 19 Jan 2004 23:39:01 +0000 (23:39 +0000)]
remove

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@236 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agokill it
oetiker [Mon, 19 Jan 2004 23:37:19 +0000 (23:37 +0000)]
kill it

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@235 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agokillem
oetiker [Mon, 19 Jan 2004 23:35:21 +0000 (23:35 +0000)]
killem

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@234 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoall must go
oetiker [Mon, 19 Jan 2004 23:27:17 +0000 (23:27 +0000)]
all must go

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@233 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agomisc fixes to get rrdtool working without included libraries.
oetiker [Mon, 19 Jan 2004 23:17:00 +0000 (23:17 +0000)]
misc fixes to get rrdtool working without included libraries.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@232 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agomodifications for 'no more local libaries'
oetiker [Mon, 19 Jan 2004 23:16:03 +0000 (23:16 +0000)]
modifications for 'no more local libaries'

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@231 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoaddition of RRDs::times -- Christophe Kalt <kalt@taranis.org>
oetiker [Thu, 15 Jan 2004 18:14:02 +0000 (18:14 +0000)]
addition of RRDs::times -- Christophe Kalt <kalt@taranis.org>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@230 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agousing --riggid it is possible to get a case where minval is bigger than maxval ....
oetiker [Fri, 26 Dec 2003 16:54:55 +0000 (16:54 +0000)]
using --riggid it is possible to get a case where minval is bigger than maxval ... this breaks the horizontal grid ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@229 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoStop RRDs for segfaulting on invalid graph input -- Ian Holsman <Ian.Holsman@cnet...
oetiker [Thu, 27 Nov 2003 06:31:38 +0000 (06:31 +0000)]
Stop RRDs for segfaulting on invalid graph input -- Ian Holsman <Ian.Holsman@cnet.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@228 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agomake rrd_cgi build again ... Ian Holsman <rrd.developers@holsman.net>
oetiker [Thu, 27 Nov 2003 06:30:36 +0000 (06:30 +0000)]
make rrd_cgi build again ... Ian Holsman <rrd.developers@holsman.net>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@227 a5681a0c-68f1-0310-ab6d-d61299d08faa

20 years agoNew recursive parser for rrdcgi by Arend-Jan Wijtzes <ajwytzes@wise-guys.nl>
oetiker [Sun, 23 Nov 2003 12:55:37 +0000 (12:55 +0000)]
New recursive parser for rrdcgi by Arend-Jan Wijtzes <ajwytzes@wise-guys.nl>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@226 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoAdding attributions:
oetiker [Wed, 19 Nov 2003 07:06:44 +0000 (07:06 +0000)]
Adding attributions:
* xml fix was by Ian Holsman <rrd.developers@holsman.net>
* font rotation was by Chris Turbeville <turbo@verio.net>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@225 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agofixed svg generation
oetiker [Wed, 19 Nov 2003 06:58:36 +0000 (06:58 +0000)]
fixed svg generation

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@224 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agomore correct usage added -- Eldad Zack <eldad@stoneshaft.ath.cx>
oetiker [Mon, 17 Nov 2003 11:43:56 +0000 (11:43 +0000)]
more correct usage added -- Eldad Zack <eldad@stoneshaft.ath.cx>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@223 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agohandle NULL pointers gracefully
oetiker [Fri, 14 Nov 2003 23:10:51 +0000 (23:10 +0000)]
handle NULL pointers gracefully

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@222 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoallow to pass an open filehandle into rrd_graph as an extra argument
oetiker [Wed, 12 Nov 2003 22:14:26 +0000 (22:14 +0000)]
allow to pass an open filehandle into rrd_graph as an extra argument

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@221 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agomake create much faster .. -- David M. Grimes <dgrimes@navisite.com>
oetiker [Wed, 12 Nov 2003 22:13:55 +0000 (22:13 +0000)]
make create much faster .. -- David M. Grimes <dgrimes@navisite.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@220 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoAllow to force overwrite when restoring from xml to rrd.
oetiker [Tue, 11 Nov 2003 21:19:52 +0000 (21:19 +0000)]
Allow to force overwrite when restoring from xml to rrd.
-- Eldad Zack <eldad@stoneshaft.ath.cx>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@219 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoreplaced time_value with rrd_time_value as MacOS X introduced a struct of that name...
oetiker [Tue, 11 Nov 2003 19:46:21 +0000 (19:46 +0000)]
replaced time_value with rrd_time_value as MacOS X introduced a struct of that name in their standard headers

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@218 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agorrd files should NOT change size ever ... bulk update code wa buggy.
oetiker [Tue, 11 Nov 2003 19:38:03 +0000 (19:38 +0000)]
rrd files should NOT change size ever ... bulk update code wa buggy.
-- David M. Grimes <dgrimes@navisite.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@217 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years ago20 chars max in a ds name -- Kuba Filipowicz <amo@axit.pl>
oetiker [Tue, 4 Nov 2003 22:20:33 +0000 (22:20 +0000)]
20 chars max in a ds name -- Kuba Filipowicz <amo@axit.pl>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@216 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoadded rotation ...
oetiker [Sun, 26 Oct 2003 19:29:56 +0000 (19:29 +0000)]
added rotation ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@215 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoshould not assigne but compare ... grrrrr
oetiker [Thu, 4 Sep 2003 13:16:12 +0000 (13:16 +0000)]
should not assigne but compare ... grrrrr

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@214 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agobe pickier about what we accept in rrd_update. Complain if things do not work out
oetiker [Tue, 2 Sep 2003 21:58:35 +0000 (21:58 +0000)]
be pickier about what we accept in rrd_update. Complain if things do not work out

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@213 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agomake sure we get only 1 flag -- Chris Turbeville <turbo@verio.net>
oetiker [Thu, 28 Aug 2003 21:48:53 +0000 (21:48 +0000)]
make sure we get only 1 flag -- Chris Turbeville <turbo@verio.net>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@212 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoI was just taking a look at the development RRDtool build (I'm looking
oetiker [Mon, 28 Jul 2003 21:59:22 +0000 (21:59 +0000)]
I was just taking a look at the development RRDtool build (I'm looking
forward to SVG support), and had a few problems with an out-of-tree
build. I find using a separate build directory makes things much
easier to manage, especially when building for multiple architectures.

I've attached the minor patches for the progress that I made (I couldn't
get the Perl modules to work, but the main binaries seem okay), and
would be grateful if you could commit them (or something like them!).
-- Joseph Walton <joe@kafsemo.org>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@211 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoAllow hyphen character in DEF_NAM_FMT to match DS_NAM_FMT.
jake [Thu, 24 Jul 2003 14:51:46 +0000 (14:51 +0000)]
Allow hyphen character in DEF_NAM_FMT to match DS_NAM_FMT.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@210 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoUpdated MS Visual C++ files from 7.0 to 7.1.
jake [Wed, 16 Jul 2003 23:41:37 +0000 (23:41 +0000)]
Updated MS Visual C++ files from 7.0 to 7.1.
Add code to rrd_graph.c: rrd_graph_init() to use %windir% environment
variable to find the default font at runtime.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@209 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoMoved OP_COUNT to the end of the enumeration.
jake [Tue, 15 Jul 2003 00:58:38 +0000 (00:58 +0000)]
Moved OP_COUNT to the end of the enumeration.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@208 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoI've made a patch to rrdcgi to add <RRD::TIME::STRFTIME ...> which allows
oetiker [Tue, 20 May 2003 20:51:04 +0000 (20:51 +0000)]
I've made a patch to rrdcgi to add <RRD::TIME::STRFTIME ...> which allows
you to re-format start and end-time at-style times using strftime.  This
allows easy timespans in the graph (e.g. -2weeks) to be formatted into more
usual times. -- "Erskine, Thomas" <terskine@NRCan.gc.ca>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@207 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agosmall patch to rrd_create.c that corrects problem with the
oetiker [Sat, 3 May 2003 15:41:41 +0000 (15:41 +0000)]
small patch to rrd_create.c that corrects problem with the
version number of the newly created files. -- Sasha Mikheev <sasha@avalon-net.co.il>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@206 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoreadline in rrd_open.c reads the file in 8 KB blocks, and calls realloc for
oetiker [Tue, 29 Apr 2003 21:56:49 +0000 (21:56 +0000)]
readline in rrd_open.c reads the file in 8 KB blocks, and calls realloc for
each block. realloc is very slow in Mac OS X for huge blocks, e.g. when
restoring databases from huge xml files. This patch finds the size of the
file, and starts out with malloc'ing the full size.
-- Peter Speck <speck@ruc.dk>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@205 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoadded comment on iso
oetiker [Tue, 29 Apr 2003 19:37:27 +0000 (19:37 +0000)]
added comment on iso

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@204 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoChange updatev RRA return from index_number to cf_nam, pdp_cnt.
jake [Tue, 29 Apr 2003 19:14:12 +0000 (19:14 +0000)]
Change updatev RRA return from index_number to cf_nam, pdp_cnt.
Also revert accidental addition of -I to aclocal MakeMakefile.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@203 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoonly restore V2 and larger.
oetiker [Sat, 26 Apr 2003 05:11:27 +0000 (05:11 +0000)]
only restore V2 and larger.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@202 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoAlternate update interface, updatev. Returns info about CDPs written to disk as resul...
jake [Fri, 25 Apr 2003 18:35:08 +0000 (18:35 +0000)]
Alternate update interface, updatev. Returns info about CDPs written to disk as result of update. Output format is similar to rrd_info, a hash of key-values.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@201 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agofixed version checks to only complain if xml version is > than current RRD version
oetiker [Wed, 23 Apr 2003 22:47:00 +0000 (22:47 +0000)]
fixed version checks to only complain if xml version is > than current RRD version

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@200 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoNew special value COUNT which allows calculations based on the position of a
oetiker [Fri, 11 Apr 2003 19:43:44 +0000 (19:43 +0000)]
New special value COUNT which allows calculations based on the position of a
value within a data set. Bug fix in rrd_rpncalc.c. PREV returned erroneus
value for the second value. Bug fix in rrd_restore.c. Bug causing seek error
when accesing an RRD restored from an xml that holds an RRD version <3.
--  Ruben Justo <ruben@ainek.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@199 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoI think I found a very small bug in rrd graph PDF output : the is_stream member of
oetiker [Fri, 4 Apr 2003 20:51:21 +0000 (20:51 +0000)]
I think I found a very small bug in rrd graph PDF output : the is_stream member of
pdf_buffer is not initialized, making bad PDF sometimes (I found a case where is_stream was
!= 0 for the font initialization). -- lhoudard@netcourrier.com

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@198 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoFix Win32 build. VC++ 6.0 and 7.0 now use the thread-safe code.
jake [Tue, 1 Apr 2003 22:52:23 +0000 (22:52 +0000)]
Fix Win32 build. VC++ 6.0 and 7.0 now use the thread-safe code.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@197 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoenables RRDtool updates with microsecond or in case of windows millisecond
oetiker [Mon, 31 Mar 2003 21:22:12 +0000 (21:22 +0000)]
enables RRDtool updates with microsecond or in case of windows millisecond
precision. This is needed to reduce time measurement error when archive step
is small. (<30s) --  Sasha Mikheev <sasha@avalon-net.co.il>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@196 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agouse the environment variable VCINSTALLDIR -- Ian Holsman <rrd.developers@holsman...
oetiker [Tue, 25 Mar 2003 22:29:10 +0000 (22:29 +0000)]
use the environment variable VCINSTALLDIR --  Ian Holsman <rrd.developers@holsman.net>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@195 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agostrerror should not turn us recursive here ... -- Peter Stamfest <peter@stamfest.at>
oetiker [Mon, 24 Mar 2003 22:08:20 +0000 (22:08 +0000)]
strerror should not turn us recursive here ... --  Peter Stamfest <peter@stamfest.at>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@194 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agostrerror must not become recursive -- Peter Stamfest <peter@stamfest.at>
oetiker [Mon, 24 Mar 2003 22:05:26 +0000 (22:05 +0000)]
strerror must not become recursive -- Peter Stamfest <peter@stamfest.at>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@193 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoremove ^M
oetiker [Wed, 12 Mar 2003 20:39:59 +0000 (20:39 +0000)]
remove ^M

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@192 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agohandle cases with two negative numbers
oetiker [Mon, 10 Mar 2003 00:30:34 +0000 (00:30 +0000)]
handle cases with two negative numbers
--  Sasha Mikheev <sasha@avalon-net.co.il>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@191 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agodon't display legends for [HV]RULEs out of graph bounds (rrdgraph)
oetiker [Sat, 8 Mar 2003 18:44:06 +0000 (18:44 +0000)]
don't display legends for [HV]RULEs out of graph bounds (rrdgraph)
-- Christophe Kalt <kalt@taranis.org>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@190 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agorealy suppress size output when talking to stdout. Patch from Mat Zimmerman @ debian
oetiker [Sat, 1 Mar 2003 22:25:56 +0000 (22:25 +0000)]
realy suppress size output when talking to stdout. Patch from Mat Zimmerman @ debian

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@189 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agofix for : in piped demo
oetiker [Mon, 24 Feb 2003 18:26:37 +0000 (18:26 +0000)]
fix for : in piped demo

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@188 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoInitial checkin
oetiker [Sat, 22 Feb 2003 21:57:35 +0000 (21:57 +0000)]
Initial checkin
-- Peter Stamfest <peter@stamfest.at>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@187 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoa patch to avoid a memory leak and a Makefile.am patch to
oetiker [Sat, 22 Feb 2003 21:57:03 +0000 (21:57 +0000)]
a patch to avoid a memory leak and a Makefile.am patch to
distribute all required source files -- Peter Stamfest <peter@stamfest.at>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@186 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agocolons must be escaped
oetiker [Fri, 21 Feb 2003 22:40:07 +0000 (22:40 +0000)]
colons must be escaped

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@185 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agomake the threading work and compile, fix linking to libpng
oetiker [Thu, 20 Feb 2003 21:48:57 +0000 (21:48 +0000)]
make the threading work and compile, fix linking to libpng
and update the timestaps int the files

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@184 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoupdated copyrigh dates
oetiker [Thu, 20 Feb 2003 21:27:48 +0000 (21:27 +0000)]
updated copyrigh dates
removed error.h from threaded variant
added compiletime to rrdtool

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@183 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoif output is - there is not need to deref the handler
oetiker [Sun, 16 Feb 2003 12:32:24 +0000 (12:32 +0000)]
if output is - there is not need to deref the handler

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@182 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoexpect seems to exist on some systems in the system inc files
oetiker [Sun, 16 Feb 2003 12:31:58 +0000 (12:31 +0000)]
expect seems to exist on some systems in the system inc files

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@181 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoFind attached the patch I promised to send to you. Please note that there
oetiker [Thu, 13 Feb 2003 07:05:59 +0000 (07:05 +0000)]
Find attached the patch I promised to send to you. Please note that there
are three new source files (src/rrd_is_thread_safe.h, src/rrd_thread_safe.c
and src/rrd_not_thread_safe.c) and the introduction of librrd_th. This
library is identical to librrd, but it contains support code for per-thread
global variables currently used for error information only. This is similar
to how errno per-thread variables are implemented.  librrd_th must be linked
alongside of libpthred

There is also a new file "THREADS", holding some documentation.

-- Peter Stamfest <peter@stamfest.at>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@180 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoimproved dist target -- Peter Stamfest <peter@stamfest.at>
oetiker [Wed, 12 Feb 2003 07:06:56 +0000 (07:06 +0000)]
improved dist target -- Peter Stamfest <peter@stamfest.at>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@179 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoremoved lg we do not allow this in the code at th moment
oetiker [Tue, 11 Feb 2003 10:16:46 +0000 (10:16 +0000)]
removed lg we do not allow this in the code at th moment

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@178 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agorrd resize SHRINK was broken :-) -- Scott Mace <smace@intt.ORG>
oetiker [Wed, 5 Feb 2003 18:16:02 +0000 (18:16 +0000)]
rrd resize SHRINK was broken :-) -- Scott Mace <smace@intt.ORG>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@177 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoThe NaN check should only use lastgdes when following a STACK -- Scott Mace <smace...
oetiker [Fri, 31 Jan 2003 06:46:32 +0000 (06:46 +0000)]
The NaN check should only use lastgdes when following a STACK -- Scott Mace <smace@intt.ORG>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@176 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agofix stak+nan error ... Scott Mace <smace@intt.ORG>
oetiker [Thu, 30 Jan 2003 21:39:21 +0000 (21:39 +0000)]
fix stak+nan error ... Scott Mace <smace@intt.ORG>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@175 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agofixed the processing of TICK:vname#color:frac:legend -- Scott Mace <smace@intt.ORG>
oetiker [Wed, 29 Jan 2003 07:17:23 +0000 (07:17 +0000)]
fixed the processing of TICK:vname#color:frac:legend --  Scott Mace <smace@intt.ORG>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@174 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agoadded function (--no-minor) to turn off minor gridlines on graphs
oetiker [Sat, 25 Jan 2003 22:50:32 +0000 (22:50 +0000)]
added function (--no-minor) to turn off minor gridlines on graphs
-- Travis Brown <tebrown@csh.rit.edu>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@173 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agofix border condition in rra selection of rrd_fetch
oetiker [Thu, 16 Jan 2003 23:27:54 +0000 (23:27 +0000)]
fix border condition in rra selection of rrd_fetch
-- Stanislav Sinyagin <ssinyagin@yahoo.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@172 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years ago* single letter variants for all graph options -- James Overbeck <grendel@gmo.jp>
oetiker [Wed, 15 Jan 2003 19:24:13 +0000 (19:24 +0000)]
* single letter variants for all graph options -- James Overbeck <grendel@gmo.jp>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@171 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 years agofix rrdtool compile on solaris where CC for perl is "gcc -B/usr/ccs/bin/"
oetiker [Sat, 14 Dec 2002 22:30:41 +0000 (22:30 +0000)]
fix rrdtool compile on solaris where CC for perl is "gcc -B/usr/ccs/bin/"
-- Russell Van Tassell <russell@loosenut.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@170 a5681a0c-68f1-0310-ab6d-d61299d08faa