Code

rrdtool.git
14 years agoThe end of the export range should not be adjusted DOWN but UP to hit the next matchi...
oetiker [Mon, 11 Jan 2010 08:11:19 +0000 (08:11 +0000)]
The end of the export range should not be adjusted DOWN but UP to hit the next matching step interval or the response will be one row short. Thanks swami for the bugreport.

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

14 years agothe end time itself is not part of a time range ... this fixes the segfault reported...
oetiker [Sat, 2 Jan 2010 16:33:26 +0000 (16:33 +0000)]
the end time itself is not part of a time range ... this fixes the segfault reported in #248

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

15 years agoShow the index of each data source in the rrd_info output. Patch for #231 provided...
oetiker [Mon, 3 Aug 2009 18:45:04 +0000 (18:45 +0000)]
Show the index of each data source in the rrd_info output. Patch for #231 provided by Glenn Herteg, GroundWork Open Source, Inc.

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

15 years agoremove debug output from xport found by Ceylan, Hasan
oetiker [Fri, 19 Jun 2009 05:53:58 +0000 (05:53 +0000)]
remove debug output from xport found by Ceylan, Hasan

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

15 years agomake ruby bindings compile with newer ruby versions ... fix for #217
oetiker [Tue, 14 Apr 2009 13:55:29 +0000 (13:55 +0000)]
make ruby bindings compile with newer ruby versions ... fix for #217
patch provided by rrd trac user.

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

15 years agoRenaming ntmake.pl to ntmake.PL (r1742) had unforseen side effects. At least
oetiker [Sun, 8 Mar 2009 08:02:38 +0000 (08:02 +0000)]
Renaming ntmake.pl to ntmake.PL (r1742) had unforseen side effects. At least
on freebsd ntmake.PL gets called automatically during build. This is not
desired. I renamed the file to ntmake-build sinc it gets called
explicilty on windows anyway. Reported by Kevin modified by Tobi

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

15 years agoMisc documentation fixes by Alex van den Bogaerdt
oetiker [Sat, 21 Feb 2009 09:43:58 +0000 (09:43 +0000)]
Misc documentation fixes by Alex van den Bogaerdt

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

15 years agofix type conversion error (on windows) unsigned/signed affecting timestamps on rrd_dump.
oetiker [Sun, 25 Jan 2009 22:02:57 +0000 (22:02 +0000)]
fix type conversion error (on windows) unsigned/signed affecting timestamps on rrd_dump.

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

15 years agomore win32 fixes by guenter knauf
oetiker [Sun, 25 Jan 2009 21:57:19 +0000 (21:57 +0000)]
more win32 fixes by guenter knauf

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

15 years agorename ntmake.pl to ntmake.PL so that it does not get installed
oetiker [Sun, 25 Jan 2009 21:52:25 +0000 (21:52 +0000)]
rename ntmake.pl to ntmake.PL so that it does not get installed

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

15 years agowindows portability fixes by guenter knauf[M f3
oetiker [Sun, 25 Jan 2009 12:02:21 +0000 (12:02 +0000)]
windows portability fixes by guenter knauf[M f3

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

15 years agoprepare for the release of rrdtool-1.2.30
oetiker [Mon, 19 Jan 2009 14:29:11 +0000 (14:29 +0000)]
prepare for the release of rrdtool-1.2.30

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

15 years agoTICK with negative numbers should 'start from the top of the graph' looking down...
oetiker [Tue, 6 Jan 2009 15:45:53 +0000 (15:45 +0000)]
TICK with negative numbers should 'start from the top of the graph' looking down ... now it does.

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

15 years agofix for segfault in rrd_cgi: caused by freeing a invalid address when printing an...
oetiker [Tue, 6 Jan 2009 14:54:41 +0000 (14:54 +0000)]
fix for segfault in rrd_cgi: caused by freeing a invalid address when printing an error message.

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

15 years agoprepare for the release of rrdtool-1.2.29
oetiker [Mon, 15 Dec 2008 22:05:10 +0000 (22:05 +0000)]
prepare for the release of rrdtool-1.2.29

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

15 years agofixed another seek issue ...
oetiker [Thu, 11 Dec 2008 14:31:16 +0000 (14:31 +0000)]
fixed another seek issue ...

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

15 years agoThe spec file for building the rrdtool as an RPM that comes with the
oetiker [Thu, 11 Dec 2008 10:01:33 +0000 (10:01 +0000)]
The spec file for building the rrdtool as an RPM that comes with the
release is not "friendly" to older versions of RHEL and derivatives.
-- Martin Sperl <rrdtool@martin.sperl.org>

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

16 years agoCatch CDEF:tot= and raise and error to fix #199. Thanks to Jeron Massar for reporting...
oetiker [Thu, 4 Dec 2008 09:03:48 +0000 (09:03 +0000)]
Catch CDEF:tot= and raise and error to fix #199. Thanks to Jeron Massar for reporting this.

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

16 years agoWhen fetching data from 'past' an rra, rrd_fetch was seeking past the rrd
oetiker [Wed, 3 Dec 2008 11:08:48 +0000 (11:08 +0000)]
When fetching data from 'past' an rra, rrd_fetch was seeking past the rrd
file. This did cause seek errors in some setups. Fixed. Thanks to Daniel Pocock for finding the problem.

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

16 years agofixed solaris build instructions
oetiker [Tue, 2 Dec 2008 12:35:02 +0000 (12:35 +0000)]
fixed solaris build instructions

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

16 years agouse basename to determine filename for imginfo as suggested by sebastian
oetiker [Sun, 9 Nov 2008 00:00:33 +0000 (00:00 +0000)]
use basename to determine filename for imginfo as suggested by sebastian

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

16 years agofixed --font TITLE:12: problem -- tobi
oetiker [Fri, 7 Nov 2008 22:46:40 +0000 (22:46 +0000)]
fixed --font TITLE:12: problem -- tobi

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

16 years agofix from alex
oetiker [Thu, 30 Oct 2008 14:33:01 +0000 (14:33 +0000)]
fix from alex

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

16 years agoadded --right-axis-format option to control how the numbers get printed there
oetiker [Fri, 24 Oct 2008 09:25:49 +0000 (09:25 +0000)]
added --right-axis-format option to control how  the numbers get printed there

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

16 years agofixed typo ... GAUGE not GUAGE
oetiker [Fri, 24 Oct 2008 06:20:21 +0000 (06:20 +0000)]
fixed typo ... GAUGE not GUAGE

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

16 years agoadded support for a right axis. New rrdgraph options are
oetiker [Thu, 16 Oct 2008 06:58:08 +0000 (06:58 +0000)]
added  support for a right axis. New rrdgraph options are

 --right-axis scale:shift
 --right-axis-label label

this work was sponsored by voltwerk electronics GmbH

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

16 years agoit is failed not faild
oetiker [Sun, 5 Oct 2008 11:12:49 +0000 (11:12 +0000)]
it is failed not faild

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

16 years agovdef calc was using end_orig to determine for which range it should do its
oetiker [Sun, 28 Sep 2008 15:01:43 +0000 (15:01 +0000)]
vdef calc was using end_orig to determine for which range it should do its
calculations which is odd, since orig is only the requested range as
invocation time and not the data range deliverd by fetch. It does fall
completely flat when shifting since shifting does not affect the original
data. Bug #177 reported by hokiel

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

16 years agorrdxport was completely broken for exporting datasources that did not have a uniform...
oetiker [Sat, 27 Sep 2008 11:44:58 +0000 (11:44 +0000)]
rrdxport was completely broken for exporting datasources that did not have a uniform step size. Thanks to Peter Valdemar Mørch for finding this.

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

16 years agouse default prefix for ruby install if no user defined prefix is available
oetiker [Mon, 22 Sep 2008 05:38:28 +0000 (05:38 +0000)]
use default prefix for ruby install if no user defined prefix is available

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

16 years agorely on what the function returns. errno is only for informatio not for detection...
oetiker [Thu, 28 Aug 2008 05:52:39 +0000 (05:52 +0000)]
rely on what the function returns. errno is only for informatio not for detection of errors. #176.

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

16 years agodo not overwrite the CHANGES file
oetiker [Wed, 23 Jul 2008 14:36:23 +0000 (14:36 +0000)]
do not overwrite the CHANGES file

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

16 years agodo not link rrdtool.tar.gz anymore
oetiker [Wed, 23 Jul 2008 14:06:14 +0000 (14:06 +0000)]
do not link rrdtool.tar.gz anymore

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

16 years agoprepare for the release of rrdtool-1.2.28
oetiker [Wed, 23 Jul 2008 13:45:41 +0000 (13:45 +0000)]
prepare for the release of rrdtool-1.2.28

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

16 years agobuild fixes by Guenter Knauf
oetiker [Wed, 23 Jul 2008 13:45:15 +0000 (13:45 +0000)]
build fixes by Guenter Knauf

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

16 years agoFix for #167 - rrdcreate is arguably missing a check for 'step>=1' for RRAs with...
oetiker [Tue, 22 Jul 2008 15:15:44 +0000 (15:15 +0000)]
Fix for #167 - rrdcreate is arguably missing a check for 'step>=1' for RRAs with AVERAGE as a CF. I ran into this when specifying 0.6 as a step value, assuming floats were also accepted. Patch attached here. -- Bogdan

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

16 years agoadd filename to illegal update message -- he at uninett.no
oetiker [Sun, 29 Jun 2008 16:24:26 +0000 (16:24 +0000)]
add filename to illegal update message -- he at uninett.no

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

16 years agorrdtool.fetch is returning an extra, bogus, data point. Attached is a
oetiker [Thu, 19 Jun 2008 13:18:04 +0000 (13:18 +0000)]
rrdtool.fetch is returning an extra, bogus, data point.  Attached is a
patch to correct this. - Gilad Raphaelli. Fix for #161

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

16 years agoThe python bindings do not currently support retrieval of the rpn expression in COMPU...
oetiker [Sun, 8 Jun 2008 16:25:45 +0000 (16:25 +0000)]
The python bindings do not currently support retrieval of the rpn expression in COMPUTE data sources. Attached is a patch that duplicates functionality from rrd_info.c to expose the correct data source attributes via the python binding. It:

    * exposes the rpn expression in the 'cdef' element for DST_CDEF data source types
    * exposes the heartbeat, min, and max only to the other data source types

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

16 years agofix for ticket #121 jmpbuf on aix is a problem it seems, maybe this makes it better.
oetiker [Sun, 8 Jun 2008 16:23:39 +0000 (16:23 +0000)]
fix for ticket #121 jmpbuf on aix is a problem it seems, maybe this makes it better.

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

16 years agofix for --font bug (font names wer not being picked up at all). Bug reported by ...
oetiker [Fri, 6 Jun 2008 16:38:25 +0000 (16:38 +0000)]
fix for --font bug (font names wer not being picked up at all). Bug reported by  Dmitry B. Bigunayk

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

16 years agofliped order of rrd_context entries to match up with what was defined in rrd.h (based...
oetiker [Sun, 1 Jun 2008 20:31:12 +0000 (20:31 +0000)]
fliped order of rrd_context entries to match up with what was defined in rrd.h (based on debuan bug 450578

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

16 years agomake sure vdef calcs only calc as far as originally requested.
oetiker [Sat, 31 May 2008 12:28:11 +0000 (12:28 +0000)]
make sure vdef calcs only calc as far as originally requested.

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

16 years agoFixed handling of unknown data at PDP build time. There was a long standing
oetiker [Mon, 12 May 2008 15:33:31 +0000 (15:33 +0000)]
Fixed handling of unknown data at PDP build time. There was a long standing
(even documented) missfeature in rrdtool which caused uknown-data to be
accepted as long as it was less than the mrhb. This was never the intended
behaviour and had interesting side effects
(http://oss.oetiker.ch/rrdtool-trac/ticket/125): If you have a 60 Second
step with 59s unknown data and 1 second of known data the whole become known
data as long as the mrhb was > step. The intended behaviour was that a step
should become unknown as soon as it contains more than 50% of unknown data.
The patch fixes both the documentation and the code.

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

16 years agomake studio 11 happy ... http://www.netbsd.org/cgi-bin/query-pr-single.pl?number...
oetiker [Sun, 4 May 2008 18:54:57 +0000 (18:54 +0000)]
make studio 11 happy ... netbsd.org/cgi-bin/query-pr-single.pl?number=38555

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

16 years agofixed 2. x-grid example ... since the lable is valid for the whole day, it must be...
oetiker [Wed, 16 Apr 2008 15:50:59 +0000 (15:50 +0000)]
fixed 2. x-grid example ... since the lable is valid for the whole day, it must be 86400 wide. --tobi

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

16 years agodo not mess with dst status after running localtime, the system gets confused otherwh...
oetiker [Sat, 12 Apr 2008 09:21:31 +0000 (09:21 +0000)]
do not mess with dst status after running localtime, the system gets confused otherwhise when it comes to times during the switch over periode as DST changes to non DST.
-- tobi

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

16 years agomake out-of-tree builds possible for the examples directory too.
oetiker [Tue, 25 Mar 2008 22:37:22 +0000 (22:37 +0000)]
make out-of-tree builds possible for the examples directory too.

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

16 years agoIgnore RRA-end when comparing. coverage.
oetiker [Mon, 25 Feb 2008 07:11:00 +0000 (07:11 +0000)]
Ignore RRA-end when comparing. coverage.

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

16 years agoadded for for invalid number of ds entries
oetiker [Sun, 24 Feb 2008 14:30:34 +0000 (14:30 +0000)]
added for for invalid number of ds entries

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

16 years agomake ruby obej destdir
oetiker [Thu, 21 Feb 2008 07:21:34 +0000 (07:21 +0000)]
make ruby obej destdir

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

16 years agoGenerate a random cur_row for each RRA during
oetiker [Tue, 19 Feb 2008 12:56:44 +0000 (12:56 +0000)]
Generate a random cur_row for each RRA during
create/restore operations. This effectively randomizes the block crossings
among RRDs created around the same time. Previously, RRDs that were
created/restored en masse would cross block boundaries simultaneously, which
is sub-optimal.

Also, this patch enables the user to see the RRA's cur_row pointer via
rrdinfo. This was useful during debugging.

-- kevin brintnall kbrint qwest.net

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

16 years agoprepare for the release of rrdtool-1.2.27
oetiker [Sun, 17 Feb 2008 10:09:11 +0000 (10:09 +0000)]
prepare for the release of rrdtool-1.2.27

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

16 years agoprepare for 1.2.27 release
oetiker [Sun, 17 Feb 2008 10:08:10 +0000 (10:08 +0000)]
prepare for 1.2.27 release

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

16 years agofixes for better web rendering
oetiker [Thu, 14 Feb 2008 07:25:24 +0000 (07:25 +0000)]
fixes for better web rendering

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

16 years agoadded ZPL 2.1 to floss exception
oetiker [Mon, 4 Feb 2008 18:17:23 +0000 (18:17 +0000)]
added ZPL 2.1 to floss exception

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

16 years agofixed parsing of fontnames with embeded spaces
oetiker [Fri, 1 Feb 2008 06:52:56 +0000 (06:52 +0000)]
fixed parsing of fontnames with embeded spaces

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

16 years ago* fix fadvice and madvice inclusion ... again
oetiker [Mon, 14 Jan 2008 16:47:23 +0000 (16:47 +0000)]
* fix fadvice and madvice inclusion ... again
* fix rrdcgi warning
* fix warnings in tcl bindings
 -- Peter Breitenlohner peb mppmu.mpg.de

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

16 years agoweekday and time are too tight
oetiker [Sat, 12 Jan 2008 18:36:34 +0000 (18:36 +0000)]
weekday and time are too tight

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

16 years agofixing the solaris build
oetiker [Sat, 8 Dec 2007 22:17:25 +0000 (22:17 +0000)]
fixing the solaris build

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

17 years agoupdates for netware and mingw32 ... allows for crosscompilation
oetiker [Fri, 23 Nov 2007 18:18:10 +0000 (18:18 +0000)]
updates for netware and mingw32 ... allows for crosscompilation

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

17 years agomake update compile for mingw32 3.4.5
oetiker [Thu, 22 Nov 2007 12:33:57 +0000 (12:33 +0000)]
make update compile for mingw32 3.4.5

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

17 years agofixedspellingfor netbsd
oetiker [Wed, 21 Nov 2007 10:51:18 +0000 (10:51 +0000)]
fixedspellingfor netbsd

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

17 years ago* improve portability of compile environment to netbsd and solaris
oetiker [Wed, 21 Nov 2007 06:57:22 +0000 (06:57 +0000)]
* improve portability of compile environment to netbsd and solaris

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

17 years agoprepare for the release of rrdtool-1.2.26
oetiker [Tue, 20 Nov 2007 00:15:07 +0000 (00:15 +0000)]
prepare for the release of rrdtool-1.2.26

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

17 years agowhen checking if min and max were equal, the action aplied was not working for negati...
oetiker [Mon, 19 Nov 2007 23:40:44 +0000 (23:40 +0000)]
when checking if min and max were equal, the action aplied was not working for negative values of min and max.

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

17 years agostrings was not included ev if it was around
oetiker [Mon, 19 Nov 2007 23:40:06 +0000 (23:40 +0000)]
strings was not included ev if it was around

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

17 years agofix pointer in png image
oetiker [Mon, 19 Nov 2007 16:50:12 +0000 (16:50 +0000)]
fix pointer in png image

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

17 years agoprepare for the release of rrdtool-1.2.25
oetiker [Wed, 14 Nov 2007 13:53:47 +0000 (13:53 +0000)]
prepare for the release of rrdtool-1.2.25

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

17 years agomake aix users happy and compile there too
oetiker [Wed, 14 Nov 2007 13:53:28 +0000 (13:53 +0000)]
make aix users happy and compile there too

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

17 years agodon't exit when fadvise does not work .. after all we can live without it ...
oetiker [Wed, 14 Nov 2007 13:53:12 +0000 (13:53 +0000)]
don't exit when fadvise does not work .. after all we can live without it ...

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

17 years agoprepare for the release of rrdtool-1.2.24
oetiker [Tue, 13 Nov 2007 02:21:47 +0000 (02:21 +0000)]
prepare for the release of rrdtool-1.2.24

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

17 years agoupdated for 1.2.24
oetiker [Tue, 13 Nov 2007 02:18:59 +0000 (02:18 +0000)]
updated for 1.2.24

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

17 years agorevert the dontneed fadvise patch this is only for 1.3
oetiker [Tue, 13 Nov 2007 02:16:10 +0000 (02:16 +0000)]
revert the dontneed fadvise patch this is only for 1.3

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

17 years agorevert the dontneed patch ... this is for 1.3 exclusively
oetiker [Tue, 13 Nov 2007 02:13:09 +0000 (02:13 +0000)]
revert the dontneed patch ... this is for 1.3 exclusively

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

17 years agomust use int2num to prevent overflows -- Mike Perham mperham gmail.com
oetiker [Thu, 8 Nov 2007 10:13:48 +0000 (10:13 +0000)]
must use int2num to prevent overflows -- Mike Perham mperham gmail.com

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

17 years agohorizontal is the correct spelling
oetiker [Sun, 2 Sep 2007 16:47:42 +0000 (16:47 +0000)]
horizontal is the correct spelling

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

17 years agofixed 64bit portability error ... unigned long is not equal to int
oetiker [Wed, 1 Aug 2007 15:25:58 +0000 (15:25 +0000)]
fixed 64bit portability error ... unigned long is not equal to int

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

17 years agocheck if intput is integer in any case not only when the previouse value wave != U
oetiker [Wed, 25 Jul 2007 20:32:31 +0000 (20:32 +0000)]
check if intput is integer in any case not only when the previouse value wave != U

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

17 years agofixed rrd_featch and added rrd_info to ruby bindings
oetiker [Mon, 16 Jul 2007 06:34:04 +0000 (06:34 +0000)]
fixed rrd_featch and added rrd_info to ruby bindings

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

17 years agoimproved wording
oetiker [Thu, 12 Jul 2007 20:33:58 +0000 (20:33 +0000)]
improved wording

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

17 years agostop rrd_create from leaking on failure ... vito caputo
oetiker [Wed, 11 Jul 2007 23:06:00 +0000 (23:06 +0000)]
stop rrd_create from leaking on failure ... vito caputo

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

17 years agofix potential segfault ... if time_t is not a %li
oetiker [Thu, 5 Jul 2007 15:14:40 +0000 (15:14 +0000)]
fix potential segfault ... if time_t is not a %li
5~

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

17 years agofix tcl build system
oetiker [Thu, 5 Jul 2007 15:14:02 +0000 (15:14 +0000)]
fix  tcl build system

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

17 years agorrdtool.spec from Jarod "redhat" Wilson
oetiker [Fri, 15 Jun 2007 21:41:24 +0000 (21:41 +0000)]
rrdtool.spec from Jarod "redhat" Wilson

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

17 years agobe more helpful when raising rb_eTypeError in string_arr string_arr_new(VALUE rb_stri...
oetiker [Wed, 13 Jun 2007 16:50:23 +0000 (16:50 +0000)]
be more helpful when raising rb_eTypeError in string_arr string_arr_new(VALUE rb_strings). This patch indicates which index is in error as well as the type you are erroneously passing. --anonymous

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

17 years agodropping cache after update does not help (in this implementation)
oetiker [Wed, 30 May 2007 11:26:50 +0000 (11:26 +0000)]
dropping cache after update does not help (in this implementation)

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

17 years agofixed spelling
oetiker [Tue, 22 May 2007 20:46:25 +0000 (20:46 +0000)]
fixed spelling

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

17 years ago* better tests for madvise, fadvise and fdatasync
oetiker [Tue, 22 May 2007 20:44:57 +0000 (20:44 +0000)]
* better tests for madvise, fadvise and fdatasync
* fix inclusion of fcntl.h
* clenups for configure.ac -- Bernhard Fischer rep dot nop gmail com

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

17 years agoupdate defines according to manual pageentry
oetiker [Sat, 19 May 2007 05:47:29 +0000 (05:47 +0000)]
update defines according to manual pageentry

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

17 years agoadded madvise MADV_RANDOM is rrd_update uses mmap
oetiker [Fri, 18 May 2007 16:40:55 +0000 (16:40 +0000)]
added madvise MADV_RANDOM is rrd_update uses mmap

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

17 years ago* dropping in rrd_update is probably overkill since we may be dropping too much.
oetiker [Fri, 18 May 2007 11:56:34 +0000 (11:56 +0000)]
* dropping in rrd_update is probably overkill since we may be dropping too much.
* in create we have to flush before dropping.
* read fcntl.h after defining the __USE_XOPEN2K
* fix drop code in fetch ...

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

17 years agonow the fadvise code actually compiles ... let the testing begin.
oetiker [Thu, 17 May 2007 11:38:54 +0000 (11:38 +0000)]
now the fadvise code actually compiles ... let the testing begin.

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

17 years agonew better ? performance test ... work in progress
oetiker [Thu, 17 May 2007 08:44:26 +0000 (08:44 +0000)]
new better ? performance test ... work in progress

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

17 years agoadded posix_fadvise support (untested) ... this should help performance by
oetiker [Thu, 17 May 2007 08:44:06 +0000 (08:44 +0000)]
added posix_fadvise support (untested) ... this should help performance by
stopping read-ahead and droping buffer cache for all rrd data except the
file header portion. Newly created files are fdsynced to disk and released
from cache after creation, to soften the blow on buffer cache by creating
new rrds.

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

17 years agoremove tabs and replace with 8 spaces
oetiker [Wed, 16 May 2007 20:35:56 +0000 (20:35 +0000)]
remove tabs and replace with 8 spaces

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

17 years agouse libdir instead of exec_prefix/lib ... maybe someone wants their libraries in...
oetiker [Tue, 15 May 2007 08:39:17 +0000 (08:39 +0000)]
use libdir instead of exec_prefix/lib ... maybe someone wants their libraries in another place

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

17 years agoyet another attempt to make the python build environment REALY cool
oetiker [Tue, 15 May 2007 08:36:52 +0000 (08:36 +0000)]
yet another attempt to make the python build environment REALY cool

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

17 years agomake sure the python extension gets the final resting place of the rrdlibrary compile...
oetiker [Wed, 9 May 2007 15:26:57 +0000 (15:26 +0000)]
make sure the python extension gets the final resting place of the rrdlibrary compiled in ...

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

17 years agoruby complained about finding a previous copy of the rrdtool extension ... very odd...
oetiker [Tue, 8 May 2007 15:10:21 +0000 (15:10 +0000)]
ruby complained about finding a previous copy of the rrdtool extension ... very odd thing actually ...
adding RUBYARCHDIR= seems to help ...

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