Code

rrdtool.git
18 years agoupdated NetWare and Cygwin Builds
oetiker [Sun, 15 Jan 2006 09:03:30 +0000 (09:03 +0000)]
updated NetWare and Cygwin Builds

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

18 years agomake sure gridind is defined under all conditions
oetiker [Sun, 15 Jan 2006 08:55:53 +0000 (08:55 +0000)]
make sure gridind is defined under all conditions

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

18 years agoadd perlbindings and optional export filename to rrd_dump -- Nicola Worthington nicol...
oetiker [Sat, 14 Jan 2006 09:10:16 +0000 (09:10 +0000)]
add perlbindings and optional export filename to rrd_dump -- Nicola Worthington nicolaw arwen.tfb.net

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

18 years agolet the building of the perl extension be more reliable ...
oetiker [Thu, 5 Jan 2006 20:39:12 +0000 (20:39 +0000)]
let the building of the perl extension be more reliable ...

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

18 years agoremove redundant if statement in rrd_gfx pdf code ... -- NormW
oetiker [Thu, 5 Jan 2006 20:07:41 +0000 (20:07 +0000)]
remove redundant if statement in rrd_gfx pdf code ...  -- NormW

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

18 years agoCompile time improvments for NetWare and Win32 -- Guenter Knauf gk.gknw.de
oetiker [Wed, 4 Jan 2006 22:07:46 +0000 (22:07 +0000)]
Compile time improvments for NetWare and Win32 -- Guenter Knauf  gk.gknw.de

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

18 years agomake sure this actually compiles with HAVE_MBSTOWCS is not defined
oetiker [Wed, 4 Jan 2006 20:12:20 +0000 (20:12 +0000)]
make sure this actually compiles with HAVE_MBSTOWCS is not defined

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

18 years agoonly use getuid if it is actually available ...
oetiker [Fri, 30 Dec 2005 14:36:30 +0000 (14:36 +0000)]
only use getuid if it is actually available ...

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

18 years agoadded heartbeat grahics
oetiker [Mon, 26 Dec 2005 16:01:40 +0000 (16:01 +0000)]
added heartbeat grahics

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

18 years agofix tcl issues ... build with pre tcl8.4 ... do not try to install into the tcl tree...
oetiker [Mon, 19 Dec 2005 12:28:55 +0000 (12:28 +0000)]
fix tcl issues ... build with pre tcl8.4 ... do not try to install into the tcl tree unless --enable-tcl-site is given -- tobi

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

18 years agoprepare for the release of rrdtool-1.2.12
oetiker [Sun, 18 Dec 2005 20:30:31 +0000 (20:30 +0000)]
prepare for the release of rrdtool-1.2.12

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

18 years agoadded FLOSS exception from http://www.mysql.com/company/legal/licensing/foss-exceptio...
oetiker [Sun, 18 Dec 2005 20:29:51 +0000 (20:29 +0000)]
added FLOSS exception from mysql.com/company/legal/licensing/foss-exception.html
in order to not end up in license incompatibility hell -- tobi

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

18 years agoif called with --lazy we still want to PRINT ... -- Bartek Szady bszx from bszx.eu.org
oetiker [Wed, 30 Nov 2005 09:19:16 +0000 (09:19 +0000)]
if called with --lazy we still want to PRINT ... -- Bartek Szady bszx from bszx.eu.org

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

18 years agowe should still consider the mrhb ...
oetiker [Mon, 28 Nov 2005 21:59:15 +0000 (21:59 +0000)]
we should still consider the mrhb ...

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

19 years agoimprove win32 compilation -- Norm
oetiker [Sun, 20 Nov 2005 10:16:38 +0000 (10:16 +0000)]
improve win32 compilation -- Norm

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

19 years agodeal with versions ending in letters
oetiker [Fri, 18 Nov 2005 20:38:51 +0000 (20:38 +0000)]
deal with versions ending in letters

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

19 years agohave indivitudal lines for generating output files, so that cygwin does not choke
oetiker [Wed, 16 Nov 2005 13:14:25 +0000 (13:14 +0000)]
have indivitudal lines for generating output files, so that cygwin does not choke

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

19 years agomake mmap test a little saver
oetiker [Mon, 14 Nov 2005 23:07:30 +0000 (23:07 +0000)]
make mmap test a little saver

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

19 years agocygwin can actually do mmap ... -- larryjadams with comcast.net
oetiker [Mon, 14 Nov 2005 11:46:31 +0000 (11:46 +0000)]
cygwin can actually do mmap ... -- larryjadams with comcast.net

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

19 years agoguess the option should still be called template :-)
oetiker [Mon, 14 Nov 2005 07:32:23 +0000 (07:32 +0000)]
guess the option should still  be called template :-)

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

19 years agoimprove screen apperance of configure output as suggested by Dale -- tobi
oetiker [Sun, 13 Nov 2005 18:32:10 +0000 (18:32 +0000)]
improve screen apperance of configure output as suggested by Dale -- tobi

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

19 years agodon't use clean: target ... automake wants this to be clean-local:
oetiker [Sun, 13 Nov 2005 18:31:38 +0000 (18:31 +0000)]
don't use clean: target ... automake wants this to be clean-local:

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

19 years agoadd xmlns declaration to svg output -- R.P. Aditya <aditya with grot.org>
oetiker [Sat, 12 Nov 2005 23:36:10 +0000 (23:36 +0000)]
add xmlns declaration to svg output -- R.P. Aditya <aditya with grot.org>

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

19 years agoclean target was broken
oetiker [Sat, 12 Nov 2005 23:30:50 +0000 (23:30 +0000)]
clean target was broken

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

19 years ago* integrate necessary cgi functionality into rrd_cgi.c so that libcgi is not
oetiker [Sat, 12 Nov 2005 23:10:48 +0000 (23:10 +0000)]
* integrate necessary cgi functionality into rrd_cgi.c so that libcgi is not
  required anymore ...  -- D. Walsh <buildsmart at daleenterprise.com>

* check if we have to include malloc/malloc.h to make malloc work ... -- tobi

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

19 years agothe variable template has to generic a name, it clashes with other things
oetiker [Mon, 7 Nov 2005 19:12:47 +0000 (19:12 +0000)]
the variable template has to generic a name, it clashes with other things
in some environments.

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

19 years agoadded openbsd note
oetiker [Fri, 28 Oct 2005 05:55:36 +0000 (05:55 +0000)]
added openbsd note

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

19 years agouse multithreded version of librrd -- Oleg Derevenetz <oleg with vsi.ru>
oetiker [Mon, 24 Oct 2005 20:55:03 +0000 (20:55 +0000)]
use multithreded version of librrd -- Oleg Derevenetz <oleg with vsi.ru>

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

19 years agoimproved error messages for rrd_graph commandline parsing -- Alex
oetiker [Tue, 11 Oct 2005 17:09:09 +0000 (17:09 +0000)]
improved error messages for rrd_graph commandline parsing -- Alex

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

19 years agofix file generation
oetiker [Tue, 11 Oct 2005 16:51:50 +0000 (16:51 +0000)]
fix file generation

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

19 years agodie on error! -- Alex
oetiker [Tue, 11 Oct 2005 16:41:15 +0000 (16:41 +0000)]
die on error! -- Alex

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

19 years agothe images should be written to the current directory ... -- Alex
oetiker [Tue, 11 Oct 2005 16:37:58 +0000 (16:37 +0000)]
the images should be written to the current directory ... -- Alex

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

19 years agodo not complain about strict aliasing issues -- Alex
oetiker [Tue, 11 Oct 2005 16:32:09 +0000 (16:32 +0000)]
do not complain about strict aliasing issues -- Alex

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

19 years agoallow rrd::graph to write directly to a tcl stream ... by Dave Bodenstab <dave with...
oetiker [Sat, 8 Oct 2005 21:58:57 +0000 (21:58 +0000)]
allow rrd::graph to write directly to a tcl stream ... by Dave Bodenstab <dave with bodenstab.org>

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

19 years agoupdates for tcl bindings by -- Dave Bodenstab <dave on bodenstab.org>
oetiker [Fri, 7 Oct 2005 07:48:52 +0000 (07:48 +0000)]
updates for tcl bindings by -- Dave Bodenstab <dave on bodenstab.org>

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

19 years agoincluded favicon in distro
oetiker [Fri, 7 Oct 2005 07:48:01 +0000 (07:48 +0000)]
included favicon in distro

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

19 years agoplugged two memmory leaks happening when a requested font is not found.
oetiker [Mon, 26 Sep 2005 20:33:45 +0000 (20:33 +0000)]
plugged two memmory leaks happening when a requested font is not found.

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

19 years agohmpf its the gdef step we are talking about not the image step !
oetiker [Fri, 23 Sep 2005 23:06:12 +0000 (23:06 +0000)]
hmpf its the gdef step we are talking about not the image step !

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

19 years agodo not 'reload' data if you already have it!
oetiker [Thu, 22 Sep 2005 20:18:12 +0000 (20:18 +0000)]
do not 'reload' data if you already have it!

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

19 years agothe -r option should not expect an argument
oetiker [Thu, 22 Sep 2005 20:17:42 +0000 (20:17 +0000)]
the -r option should not expect an argument

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

19 years agodo not free stuff that gets freed later anyway
oetiker [Mon, 19 Sep 2005 07:42:17 +0000 (07:42 +0000)]
do not free stuff that gets freed later anyway

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

19 years agoNetware Build Updates --- Guenter Knauf <gk with gknw.de>
oetiker [Sun, 18 Sep 2005 18:28:19 +0000 (18:28 +0000)]
Netware Build Updates --- Guenter Knauf <gk with gknw.de>

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

19 years agoallocate memory for one more row ... fetch can not return 0 reows ...
oetiker [Sun, 18 Sep 2005 16:59:34 +0000 (16:59 +0000)]
allocate memory for one more row ... fetch can not return 0 reows ...

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

19 years agocomparing floating point numbers is dangerouse ... don't do this directly!
oetiker [Sun, 18 Sep 2005 15:39:49 +0000 (15:39 +0000)]
comparing floating point numbers is dangerouse ... don't do this directly!

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

19 years agosince we use firstdir even without CHROOT it should better be defined in any case
oetiker [Thu, 1 Sep 2005 21:23:34 +0000 (21:23 +0000)]
since we use firstdir even without CHROOT it should better be defined in any case
-- Guenter Knauf

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

19 years agoWhen selecting the x-axis label take the length of the time shown in the graph into...
oetiker [Tue, 30 Aug 2005 05:52:41 +0000 (05:52 +0000)]
When selecting the x-axis label take the length of the time shown in the graph into consideration
just showing %H:%M in a two day presentation is a problem ... -- LAUKENS Niels <Niels.LAUKENS .. VRT.BE>

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

19 years agofixed location of example scripts
oetiker [Sun, 28 Aug 2005 07:33:13 +0000 (07:33 +0000)]
fixed location of example scripts

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

19 years agoresolve subsecond resolution logging and handling of unknown values by
oetiker [Sat, 27 Aug 2005 21:29:21 +0000 (21:29 +0000)]
resolve subsecond resolution logging and handling of unknown values by
starting off with an unknown value when building a pdp instead of starting
out with 0 and then turning it into unknown later on if the number of uknown
seconds is equal or larger than the interval ...

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

19 years agothe rrdtool binary one more level up the path ...
oetiker [Sat, 27 Aug 2005 20:55:46 +0000 (20:55 +0000)]
the rrdtool binary one more level up the path ...

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

19 years agoupdate for new prefix setting
oetiker [Sat, 27 Aug 2005 20:52:12 +0000 (20:52 +0000)]
update for new prefix setting

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

19 years agowhen resize converts a v1 rrd to v3 it should also change the version number in the...
oetiker [Thu, 25 Aug 2005 20:43:04 +0000 (20:43 +0000)]
when resize converts a v1 rrd to v3 it should also change the version number in the head ...

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

19 years agofixes for compiling rrdtool with win32 mingw and netware -- Guenter Knauf <gk with...
oetiker [Tue, 23 Aug 2005 21:18:23 +0000 (21:18 +0000)]
fixes for compiling rrdtool with win32 mingw and netware -- Guenter Knauf <gk with gknw.de>

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

19 years agoadded notes about VDEF expressions not being general purpose
oetiker [Tue, 16 Aug 2005 05:30:29 +0000 (05:30 +0000)]
added notes about VDEF expressions not being general purpose

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

19 years agoonly bomb is there is no chroot and someone tries to use it.
oetiker [Thu, 11 Aug 2005 19:18:36 +0000 (19:18 +0000)]
only bomb is there is no chroot and someone tries to use it.

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

19 years agoNew VDEF functions for least squares slope, intercept & correlation for simple foreca...
oetiker [Thu, 4 Aug 2005 05:08:04 +0000 (05:08 +0000)]
New VDEF functions for least squares slope, intercept & correlation for simple forecasting
-- Trent Burkard <tburkard with tangentis.com>

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

19 years agofix rounding issues that prevented UNKNOWN to work as soon as subsecond resolution...
oetiker [Thu, 4 Aug 2005 04:59:01 +0000 (04:59 +0000)]
fix rounding issues that prevented UNKNOWN to work as soon as subsecond resolution was used

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

19 years agoavoid drawing lines where two points are in the same spot. this mai be confusing...
oetiker [Thu, 4 Aug 2005 04:58:11 +0000 (04:58 +0000)]
avoid drawing lines where two points are in the same spot. this mai be confusing libart

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

19 years agomake sure clean works even when the perl Makefile is broken
oetiker [Tue, 2 Aug 2005 15:54:32 +0000 (15:54 +0000)]
make sure clean works even when the perl Makefile is broken

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

19 years agoinitialize font to empty string for deault font case.
oetiker [Tue, 26 Jul 2005 09:13:36 +0000 (09:13 +0000)]
initialize font to empty string for deault font case.

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

19 years agoprepare for the release of rrdtool-1.2.11
oetiker [Mon, 25 Jul 2005 14:12:58 +0000 (14:12 +0000)]
prepare for the release of rrdtool-1.2.11

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

19 years agoprepared for release
oetiker [Mon, 25 Jul 2005 14:07:35 +0000 (14:07 +0000)]
prepared for release

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

19 years agodo not quit so easily when runing in interactive mode
oetiker [Fri, 22 Jul 2005 13:16:48 +0000 (13:16 +0000)]
do not quit so easily when runing in interactive mode

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

19 years agoinit ytr after all the changes have happened
oetiker [Fri, 22 Jul 2005 13:16:18 +0000 (13:16 +0000)]
init ytr after all the changes have happened

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

19 years agomake --no-gridfit with --only-graph work
oetiker [Fri, 22 Jul 2005 13:10:50 +0000 (13:10 +0000)]
make --no-gridfit with --only-graph work

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

19 years agowhen stacking known on unknown, then we asume unknown was zero ...
oetiker [Thu, 21 Jul 2005 22:23:28 +0000 (22:23 +0000)]
when stacking known on unknown, then we asume unknown was zero ...

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

19 years agomake sure gcc-4.0 does not optimize our tests away :-)
oetiker [Wed, 20 Jul 2005 07:20:04 +0000 (07:20 +0000)]
make sure gcc-4.0 does not optimize our tests away :-)

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

19 years agofixed some corner cases in drawing code to get the same results as before with way...
oetiker [Tue, 19 Jul 2005 10:00:13 +0000 (10:00 +0000)]
fixed some corner cases in drawing code to get the same results as before with way more performance

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

19 years agooptimized drawing routines ... up to 6 times faster (in the case of smokeping)
oetiker [Mon, 11 Jul 2005 22:49:09 +0000 (22:49 +0000)]
optimized drawing routines ... up to 6 times faster (in the case of smokeping)

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

19 years agocolors start with # not :
oetiker [Thu, 7 Jul 2005 10:27:55 +0000 (10:27 +0000)]
colors start with # not :

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

19 years agomake setting just the size and not the font work -- Havard Eidnes <he from uninett.no>
oetiker [Mon, 4 Jul 2005 18:49:56 +0000 (18:49 +0000)]
make setting just the size and not the font work -- Havard Eidnes <he from uninett.no>

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

19 years ago* the makefiles should not depend on gnumake features
oetiker [Tue, 28 Jun 2005 21:03:20 +0000 (21:03 +0000)]
* the makefiles should not depend on gnumake features
* make the perl module compilation environement configurable -- Stan Sinyagin ssinyagin on yahoo.com

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

19 years agoadded GNUMAKE and EGREP hints
oetiker [Sat, 25 Jun 2005 05:24:52 +0000 (05:24 +0000)]
added GNUMAKE and EGREP hints

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

19 years agox-axis labels should be aligned to their baseline
oetiker [Mon, 20 Jun 2005 09:15:10 +0000 (09:15 +0000)]
x-axis labels should be aligned to their baseline
alt-y-grid labels without fractionals should have no fractionals when printed

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

19 years agoprepare for the release of rrdtool-1.2.10
oetiker [Fri, 17 Jun 2005 09:05:17 +0000 (09:05 +0000)]
prepare for the release of rrdtool-1.2.10

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

19 years agowhen building the sgridstep in alt-y-grid mode, take the --base into consideration.
oetiker [Thu, 16 Jun 2005 22:09:36 +0000 (22:09 +0000)]
when building the sgridstep in alt-y-grid mode, take the --base into consideration.

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

19 years agosimplify code for generating y axis labels a bit.
oetiker [Mon, 13 Jun 2005 21:56:48 +0000 (21:56 +0000)]
simplify code for generating y axis labels a bit.

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

19 years agowide chars should better be unsigned
oetiker [Mon, 13 Jun 2005 13:20:45 +0000 (13:20 +0000)]
wide chars should better be unsigned

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

19 years agofall back to assuming latin1 encoding if mbtowchar conversion fails
oetiker [Mon, 13 Jun 2005 12:56:11 +0000 (12:56 +0000)]
fall back to assuming latin1 encoding if mbtowchar conversion fails

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

19 years agoallow for VNAMES starting with a number and add documentation -- Alex
oetiker [Mon, 13 Jun 2005 05:43:44 +0000 (05:43 +0000)]
allow for VNAMES starting with a number and add documentation -- Alex

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

19 years agoadd notes about small numbers for --alt-y-grid
oetiker [Mon, 13 Jun 2005 05:43:16 +0000 (05:43 +0000)]
add notes about small numbers for --alt-y-grid

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

19 years agokill the last stored counter value if the updates comes after mrhb
oetiker [Sun, 12 Jun 2005 20:01:57 +0000 (20:01 +0000)]
kill the last stored counter value if the updates comes after mrhb
to make sure it does not get taken into account accedenly later on.

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

19 years agomake --alt-y-grid work properly in many more cases than before
oetiker [Sun, 12 Jun 2005 20:00:07 +0000 (20:00 +0000)]
make --alt-y-grid work properly in many more cases than before

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

19 years agobe more careful when checking if a file is an rrdfile
oetiker [Sat, 11 Jun 2005 19:03:46 +0000 (19:03 +0000)]
be more careful when checking if a file is an rrdfile

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

19 years agodistribute all generated documentation
oetiker [Sat, 11 Jun 2005 06:17:02 +0000 (06:17 +0000)]
distribute all generated documentation
install in share and not shared
drop index.html link

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

19 years agoinstall examples in an rrdtool specific subdirectory if the prefix does not contain...
oetiker [Sat, 11 Jun 2005 06:14:25 +0000 (06:14 +0000)]
install examples in an rrdtool specific subdirectory if  the prefix does not contain rrd -- Peter Breitenlohner

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

19 years agoavoid problems when building with VPATH set and --disable-perl
oetiker [Sat, 11 Jun 2005 05:41:31 +0000 (05:41 +0000)]
avoid problems when building with VPATH set and --disable-perl
fix make test for perl-piped -- Peter Breitenlohner

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

19 years agolet 'out-of tree' builds work for everythin but the perl module -- Peter Breitenlohner
oetiker [Sat, 11 Jun 2005 05:40:04 +0000 (05:40 +0000)]
let 'out-of tree' builds work for everythin but the perl module -- Peter Breitenlohner

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

19 years agodefined DPRINTF in a more compatible way -- Peter Breitenlohner
oetiker [Sat, 11 Jun 2005 05:37:55 +0000 (05:37 +0000)]
defined DPRINTF in a more compatible way -- Peter Breitenlohner

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

19 years agolink libcgi only against rrd_cgi since it is only needed there -- Peter Breitenlohner
oetiker [Sat, 11 Jun 2005 05:31:22 +0000 (05:31 +0000)]
link libcgi only against rrd_cgi since it is only needed there -- Peter Breitenlohner

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

19 years agoMake sure librrd_th properly depends on libpthread. -- Peter Breitenlohner
oetiker [Sat, 11 Jun 2005 05:29:45 +0000 (05:29 +0000)]
Make sure librrd_th properly depends on libpthread. -- Peter Breitenlohner

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

19 years agoavoid gcc (3.4.3) warnings char format, different type arg -- Peter Breitenlohner
oetiker [Sat, 11 Jun 2005 05:27:08 +0000 (05:27 +0000)]
avoid gcc (3.4.3) warnings char format, different type arg -- Peter Breitenlohner

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

19 years agofix various problems with the tcl bindings -- Peter Breitenlohner
oetiker [Sat, 11 Jun 2005 05:26:13 +0000 (05:26 +0000)]
fix various problems with the tcl bindings -- Peter Breitenlohner

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

19 years agoadded peter breitenlohner
oetiker [Sat, 11 Jun 2005 05:22:14 +0000 (05:22 +0000)]
added peter breitenlohner

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

19 years agoremove various gcc (3.4.3) warnings such as discards qualifier all due to 'char ...
oetiker [Sat, 11 Jun 2005 05:20:59 +0000 (05:20 +0000)]
remove various gcc (3.4.3) warnings such as discards qualifier all due to 'char **' vs. 'const char **' discrepancies. -- Peter Breitenlohner peb with mppmu.mpg.de

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

19 years agore-innitializing sort of defeats the purpose
oetiker [Sat, 11 Jun 2005 05:15:37 +0000 (05:15 +0000)]
re-innitializing sort of defeats the purpose

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

19 years agobe more carefull in checking for sucessful open
oetiker [Sat, 11 Jun 2005 05:03:33 +0000 (05:03 +0000)]
be more carefull in checking for sucessful open

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

19 years agovnames MUST start with a letter
oetiker [Fri, 10 Jun 2005 19:25:36 +0000 (19:25 +0000)]
vnames MUST start with a letter

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

19 years agokill another warning
oetiker [Fri, 10 Jun 2005 19:24:06 +0000 (19:24 +0000)]
kill another warning

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

19 years agomake --font more flexible:
oetiker [Fri, 10 Jun 2005 18:44:40 +0000 (18:44 +0000)]
make  --font more flexible:

* TITLE:30:   just alter the size of the title
* DEFAULT:0:/tmp/funfont.ttf  alter the font but not the size

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

19 years agoadded missing cd and replace one path with a variable
oetiker [Fri, 10 Jun 2005 08:42:44 +0000 (08:42 +0000)]
added missing cd and replace one path with a variable

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