Code

rrdtool-all.git
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

21 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@169 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 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@168 a5681a0c-68f1-0310-ab6d-d61299d08faa

21 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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@123 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agoremove boguos description of goodfor and refresh
oetiker [Tue, 9 Apr 2002 21:35:49 +0000 (21:35 +0000)]
remove boguos description of goodfor and refresh

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

22 years agoremoved tzset as it is in rrd_graph now
oetiker [Tue, 9 Apr 2002 21:34:56 +0000 (21:34 +0000)]
removed tzset as it is in rrd_graph now

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

22 years agoadded tzset and setlocale to rrd_graph
oetiker [Tue, 9 Apr 2002 21:34:13 +0000 (21:34 +0000)]
added tzset and setlocale to rrd_graph

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

22 years agoadded missing files from peters patch
oetiker [Sun, 7 Apr 2002 22:07:46 +0000 (22:07 +0000)]
added missing files from peters patch

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

22 years ago3 patches, #3 depends on #1 as EPS uses AFM for stringwidth too.
oetiker [Sun, 7 Apr 2002 20:20:27 +0000 (20:20 +0000)]
3 patches, #3 depends on #1 as EPS uses AFM for stringwidth too.

src/rrd_afm.[ch], src/rrd_afm_data.[ch] and changes to rrd_gfx.[ch] to
use AFM for stringwidth in SVG output.

libraries/afm with .afm files for the standard 14 postscript
fonts and perl script to create src/rrd_afm_data.c Includes small test
program to show examples of calculated stringwidth and actual
stringwidth.

Adds EPS output support.
Modifies rrd_tool.c as rrd_graph() changes the argv pointer, and
rrd_tool then always wrote the 200x100 output line to the file (which
probably doesn't do anything for png images, but eps files fail having
it after the %%EOF marker).

-- Peter Speck <speck@ruc.dk>

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

22 years agoDifferent default font when WIN32 is defined
alex [Sat, 6 Apr 2002 12:40:59 +0000 (12:40 +0000)]
Different default font when WIN32 is defined

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

22 years agoRemoved references to GIF
alex [Sat, 6 Apr 2002 12:25:29 +0000 (12:25 +0000)]
Removed references to GIF
Changed y0 and such into Y0 and so

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

22 years agoUpdated/added MVSC++ 6.0 project files for compilation of
jake [Fri, 5 Apr 2002 23:51:21 +0000 (23:51 +0000)]
Updated/added MVSC++ 6.0 project files for compilation of
rrd.lib and rrdtool.exe on Win32. Changes for RRDs compilation
on Win32. Moved src/ntconfig.h to confignt/config.h.

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

22 years agoAs gfx_canvas_t now has excatly the same lifespan as image_desc_t, I've
oetiker [Wed, 3 Apr 2002 14:52:15 +0000 (14:52 +0000)]
As gfx_canvas_t now has excatly the same lifespan as image_desc_t, I've
made 'gfx_canvas_t canvas' a member of image_desc_t and dropped it as a
separate parameter in all function calls.

imgformat, interlaced and zoom are moved to gfx_canvas_t. I have dropped
my old fontlib-enum as imgformat contains that information. The
gfx_render_xxx switch is moved to rrd_gfx so rrd_graph is (almost) only
bothered with image formats in cmd line parsing.

gfx_close_path is added.

gfx_new_dashed_line is added with 2 new arguments: length of a dash and
length between dashes. gfx_new_line is still there for plain lines.
Having dash-length == 0 creates normal line.
rrd_graph.c is not updated for dashed lines. It's not decided how one
should specify which and how lines are dashed. An extension of the color
specification?

svg is updated for dashes and opacity, but libart code is not. I've
fixed indent in SVG, all lines had a space before func decl. etc.
Misc small fixes, e.g. sscanf of gfx_color_t, position of x-axis arrow.
--- Peter Speck <speck@ruc.dk>

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

22 years agoi suck. sorry. add ,0666 to the open(). -- Paul Vixie <paul@vix.com>
oetiker [Wed, 3 Apr 2002 05:32:31 +0000 (05:32 +0000)]
i suck.  sorry.  add ,0666 to the open(). -- Paul Vixie <paul@vix.com>

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

22 years agoadded call to tzset to activate TZ settings -- Paul A Vixie <vixie@vix.com>
oetiker [Tue, 2 Apr 2002 21:32:15 +0000 (21:32 +0000)]
added call to tzset to activate TZ settings -- Paul A Vixie <vixie@vix.com>

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

22 years agoaded missing fcntl.h
oetiker [Tue, 2 Apr 2002 21:31:08 +0000 (21:31 +0000)]
aded missing fcntl.h

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

22 years agorrd restore should not burn down existing files -- Paul Vixie <paul@vix.com>
oetiker [Tue, 2 Apr 2002 19:37:54 +0000 (19:37 +0000)]
rrd restore should not burn down existing files -- Paul Vixie <paul@vix.com>

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

22 years agomerged svg update
oetiker [Mon, 1 Apr 2002 18:32:17 +0000 (18:32 +0000)]
merged svg update

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

22 years ago"!" takes a higher preference than "||" this means rrd_update N:: would
oetiker [Mon, 1 Apr 2002 18:31:22 +0000 (18:31 +0000)]
"!" takes a higher preference than "||" this means rrd_update N:: would
segfault -- Oliver Cook <ollie@uk.clara.net>

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

22 years agoAdded comment suggesting use of -I flag with aclocal.
jake [Thu, 28 Mar 2002 17:33:49 +0000 (17:33 +0000)]
Added comment suggesting use of -I flag with aclocal.

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

22 years agoadded SVG support -- Peter Speck <speck@ruc.dk>
oetiker [Tue, 26 Mar 2002 07:02:28 +0000 (07:02 +0000)]
added SVG support -- Peter Speck <speck@ruc.dk>

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

22 years agoBetter positioning of the pie when it is alone on the canvas
alex [Sat, 23 Mar 2002 20:41:48 +0000 (20:41 +0000)]
Better positioning of the pie when it is alone on the canvas

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

22 years agoModified rrd_graph
alex [Sat, 23 Mar 2002 20:01:13 +0000 (20:01 +0000)]
Modified rrd_graph

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

22 years agoChanges in rrd_graph; see NEWS
alex [Sat, 23 Mar 2002 19:59:39 +0000 (19:59 +0000)]
Changes in rrd_graph; see NEWS

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