rrdtool.git
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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@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/program@170 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agonote on info added
oetiker [Fri, 29 Nov 2002 11:57:17 +0000 (11:57 +0000)]
note on info added

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

22 years agoadded g as valid string format value
oetiker [Tue, 19 Nov 2002 22:33:09 +0000 (22:33 +0000)]
added g as valid string format value

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

22 years agocheck for -OPT:IEEE_NaN_inf=ON on SGI C compiler
oetiker [Mon, 18 Nov 2002 23:37:56 +0000 (23:37 +0000)]
check for -OPT:IEEE_NaN_inf=ON on SGI C compiler
-- Albert Chin-A-Young <china@thewrittenword.com>

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

22 years agofixed
oetiker [Sun, 3 Nov 2002 15:07:13 +0000 (15:07 +0000)]
fixed

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

22 years agoadded patch for apache 2 compatibility
oetiker [Thu, 24 Oct 2002 21:17:51 +0000 (21:17 +0000)]
added patch for apache 2 compatibility

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

22 years agokeep up with the jhonses
oetiker [Mon, 7 Oct 2002 06:22:35 +0000 (06:22 +0000)]
keep up with the jhonses

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

22 years ago-z does not take an option -- Tomoyuki Murakami <tomoyuki@pobox.com>
oetiker [Mon, 7 Oct 2002 06:21:22 +0000 (06:21 +0000)]
-z does not take an option --  Tomoyuki Murakami <tomoyuki@pobox.com>

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

22 years agofixed leak in VDEF_PERCENT handlin -- Perry Stoll <perry_stoll@yahoo.com>
oetiker [Mon, 2 Sep 2002 18:41:19 +0000 (18:41 +0000)]
fixed leak in VDEF_PERCENT handlin -- Perry Stoll <perry_stoll@yahoo.com>

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

22 years agofix for segfault condition in print_calc
oetiker [Thu, 1 Aug 2002 05:42:27 +0000 (05:42 +0000)]
fix for segfault condition in print_calc
 -- Paul Clifford <paul.clifford@bbc.co.uk>

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

22 years agoimproved fetch explanation -- Nenad.Antic@era.ericsson.se
oetiker [Wed, 31 Jul 2002 05:42:48 +0000 (05:42 +0000)]
improved fetch explanation -- Nenad.Antic@era.ericsson.se

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

22 years agofixed DEF_NAM_FMT definition
oetiker [Sat, 13 Jul 2002 18:35:37 +0000 (18:35 +0000)]
fixed DEF_NAM_FMT definition
added double include protection the rrd_graph.h and rrd_rpncalc.h

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

22 years agofixed PREV parsing ... Gonzalo Augusto Arana Tagle <garana@uolsinectis.com.ar>
oetiker [Fri, 12 Jul 2002 11:20:32 +0000 (11:20 +0000)]
fixed PREV parsing ... Gonzalo Augusto Arana Tagle <garana@uolsinectis.com.ar>

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

22 years agonew operators must be added at the END of the sequence ...
oetiker [Sat, 6 Jul 2002 15:45:15 +0000 (15:45 +0000)]
new operators must be added at the END of the sequence ...

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

22 years agonew operand on rrdgraph CDEFs: PREV(xxxx) -- Gonzalo Augusto Arana Tagle <garana...
oetiker [Fri, 5 Jul 2002 18:57:02 +0000 (18:57 +0000)]
new operand on rrdgraph CDEFs: PREV(xxxx) -- Gonzalo Augusto Arana Tagle <garana@uolsinectis.com.ar>

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

22 years agoexplain tzset
oetiker [Fri, 5 Jul 2002 18:47:46 +0000 (18:47 +0000)]
explain tzset

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

22 years agofixed DINF for win32
oetiker [Tue, 2 Jul 2002 10:35:23 +0000 (10:35 +0000)]
fixed DINF for win32

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

22 years agoChanged DEF:...
alex [Sat, 29 Jun 2002 15:33:58 +0000 (15:33 +0000)]
Changed DEF:...

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

22 years agoChanged parsing again.
alex [Sat, 29 Jun 2002 15:24:26 +0000 (15:24 +0000)]
Changed parsing again.
Added a DEBUG prefix to all grapher commands

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

22 years agoNot needed anymore
alex [Sat, 29 Jun 2002 14:55:47 +0000 (14:55 +0000)]
Not needed anymore

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

22 years agoDEF now takes "--start" and "--end"
alex [Thu, 27 Jun 2002 19:34:25 +0000 (19:34 +0000)]
DEF now takes "--start" and "--end"
LINEx, AREA and such now take parameter "STACK"

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

22 years agoUpdated docs for the "DEF ... :step=nnnn" case
alex [Sun, 23 Jun 2002 23:13:53 +0000 (23:13 +0000)]
Updated docs for the "DEF ...  :step=nnnn" case

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

22 years agoAdded "step=1800" and such to "DEF"
alex [Sun, 23 Jun 2002 22:29:40 +0000 (22:29 +0000)]
Added "step=1800" and such to "DEF"
Cleaned some of the signed vs. unsigned problems

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

22 years agoIn stead of a zillion warnings, only one place gives a warning for DNAN
alex [Sun, 23 Jun 2002 22:28:06 +0000 (22:28 +0000)]
In stead of a zillion warnings, only one place gives a warning for DNAN

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

22 years agoMore Win32 build changes; thanks to Kerry Calvert.
jake [Thu, 20 Jun 2002 00:21:03 +0000 (00:21 +0000)]
More Win32 build changes; thanks to Kerry Calvert.

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

22 years agobetter explanations -- "Shipway, Steve" <steve.shipway@eds.com>
oetiker [Fri, 14 Jun 2002 12:15:12 +0000 (12:15 +0000)]
better explanations -- "Shipway, Steve" <steve.shipway@eds.com>

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

22 years agoChanged intercept to slope for beta parameter in rrdtune doc.
jake [Wed, 22 May 2002 15:25:43 +0000 (15:25 +0000)]
Changed intercept to slope for beta parameter in rrdtune doc.

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

22 years agoVC++ .NET (7.0) project files
oetiker [Wed, 22 May 2002 05:35:09 +0000 (05:35 +0000)]
VC++ .NET (7.0) project files
-- Eric Chamberlain <echamber@socrates.Berkeley.EDU>

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

22 years agoadded -W ... lets have some more warnings ... with gcc 3.1 985
oetiker [Thu, 16 May 2002 19:18:35 +0000 (19:18 +0000)]
added -W ... lets have some more warnings ... with gcc 3.1 985

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

22 years agoafm fixes -- Peter Speck <speck@ruc.dk>
oetiker [Wed, 15 May 2002 06:14:40 +0000 (06:14 +0000)]
afm fixes -- Peter Speck <speck@ruc.dk>

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

22 years agoFix Win32 Build compatibility.
jake [Tue, 14 May 2002 21:52:58 +0000 (21:52 +0000)]
Fix Win32 Build compatibility.

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

22 years agodouble free fixed
oetiker [Tue, 14 May 2002 21:48:05 +0000 (21:48 +0000)]
double free fixed

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

22 years agomake opendir readdir chdir chroot and thus the serverfunctionality
oetiker [Tue, 14 May 2002 05:28:45 +0000 (05:28 +0000)]
make opendir readdir chdir chroot and thus the serverfunctionality
a conditional compile depending on the presence of the necessary function calls.

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

22 years agomake dirent sys/types and sys/stat autoconfable ....
oetiker [Sat, 11 May 2002 09:09:57 +0000 (09:09 +0000)]
make dirent sys/types and sys/stat autoconfable ....

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

22 years agoAdd funtionality to rrdtool to run it as a 'server'
oetiker [Wed, 8 May 2002 20:34:56 +0000 (20:34 +0000)]
Add funtionality to rrdtool to run it as a 'server'
-- Hartmut.Vogler@epost.de

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

22 years agonew command rrdtool xport integrated
oetiker [Tue, 7 May 2002 21:58:33 +0000 (21:58 +0000)]
new command rrdtool xport integrated
--  Wolfgang Schrimm <Wolfgang.Schrimm@urz.uni-heidelberg.de>

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

22 years agotypo fixed
oetiker [Thu, 2 May 2002 13:23:56 +0000 (13:23 +0000)]
typo fixed

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

22 years agobadformat parser fixed ... for good this time I hope
oetiker [Mon, 29 Apr 2002 17:11:03 +0000 (17:11 +0000)]
badformat parser fixed ... for good this time I hope

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

22 years agoinserted PRINT checker at the wrong point ...
oetiker [Sun, 28 Apr 2002 19:13:04 +0000 (19:13 +0000)]
inserted PRINT checker at the wrong point ...

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

22 years agoIt's nice and simple, the error checker for the PRINT stuff which is
oetiker [Sun, 28 Apr 2002 14:14:48 +0000 (14:14 +0000)]
It's nice and simple, the error checker for the PRINT stuff which is
passed to printf() is not allowing certain valid printf() style operations
which make text alignment much more fun.
-- Richard A Steenbergen <ras@e-gerbil.net>

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

22 years agofixed setlocale issues
oetiker [Wed, 24 Apr 2002 21:04:46 +0000 (21:04 +0000)]
fixed setlocale issues

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

22 years agofixed adress for wishlist
oetiker [Wed, 24 Apr 2002 20:54:09 +0000 (20:54 +0000)]
fixed adress for wishlist

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

22 years agoPatch for supporting PDF as output format
oetiker [Wed, 24 Apr 2002 20:49:26 +0000 (20:49 +0000)]
Patch for supporting PDF as output format

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

22 years agoModification of rrd_graph.c/h so it uses dashes for gridlines much like
oetiker [Wed, 24 Apr 2002 20:49:00 +0000 (20:49 +0000)]
Modification of rrd_graph.c/h so it uses dashes for gridlines much like
rrdtool 1.0 Avoids drawing minor vertical gridlines where a major gridline
is to avoid artifacts from having the grey line beneath the red one. Patches
src/rrd_graph.c and src/rrd_graph.h
--  Peter Speck <speck@ruc.dk

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

22 years agoImprovement of svg/eps dash code so it adjusts dash-lengths for round caps.
oetiker [Wed, 24 Apr 2002 20:48:03 +0000 (20:48 +0000)]
Improvement of svg/eps dash code so it adjusts dash-lengths for round caps.
-- Peter Speck <speck@ruc.dk>

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

22 years agofixed setlocale issues
oetiker [Wed, 24 Apr 2002 20:43:27 +0000 (20:43 +0000)]
fixed setlocale issues

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

22 years agodoc for gridfit by peter
oetiker [Tue, 16 Apr 2002 05:00:07 +0000 (05:00 +0000)]
doc for gridfit by peter

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

22 years agoEvenly-spaced y-axis gridlines.
oetiker [Mon, 15 Apr 2002 21:29:24 +0000 (21:29 +0000)]
Evenly-spaced y-axis gridlines.

I had to split horizontal_grid() into calc_horizontal_grid and
draw_horizontal_grid as the calculated info is needed in the adjustment
code. My previous patch had the problem that it adjusted the y-axis too
late, e.g. after the data lines was drawn.
The result of the calc is stored in struct ygrid_scale_t which
image_desc_t has as a member.

--no-gridfit is implemented.

The round-to-integer coordinates for png is moved to the libart code in
rrd_gfx. The 'close path' code is cleaned up so the node list is left
unchanged if you want to save the same graph in multiple formats in one
run. The rounding is done on the scaled coordinates (zoom).

I have made a simple version for logarithmic y scales as such a scale
might have 5 gridlines with 4 difference spacings. This version only
uses y = 10^x values for modifying the scale. -- Peter Speck <speck@ruc.dk>

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