Code

rrdtool.git
16 years agoprepare for the release of rrdtool-1.3rc2
oetiker [Thu, 15 May 2008 22:39:09 +0000 (22:39 +0000)]
prepare for the release of rrdtool-1.3rc2

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

16 years agofix portability to mac osx and freebsd -- tobi
oetiker [Thu, 15 May 2008 22:37:26 +0000 (22:37 +0000)]
fix portability to mac osx and freebsd -- tobi

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

16 years agoadd solaris pod2man location last
oetiker [Mon, 12 May 2008 23:10:59 +0000 (23:10 +0000)]
add solaris pod2man location last

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

16 years agosome changes to make things work on opensolaris 2008.05
oetiker [Mon, 12 May 2008 23:03:04 +0000 (23:03 +0000)]
some changes to make things work on opensolaris 2008.05

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

16 years agofor some reason tclrrd.c does not get picked up using $< at least on opensolaris
oetiker [Mon, 12 May 2008 22:42:25 +0000 (22:42 +0000)]
for some reason tclrrd.c does not get picked up using $< at least on opensolaris

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

16 years agoallow rrd_rpncalc to build without cairo dependencies ...
oetiker [Mon, 12 May 2008 22:23:19 +0000 (22:23 +0000)]
allow rrd_rpncalc to build without cairo dependencies ...
fix warnings

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

16 years agoadd intltool*in files to dist
oetiker [Mon, 12 May 2008 21:14:12 +0000 (21:14 +0000)]
add intltool*in files to dist

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

16 years agofixed indenting
oetiker [Mon, 12 May 2008 16:15:25 +0000 (16:15 +0000)]
fixed indenting

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

16 years agoremoved c++ comments //
oetiker [Mon, 12 May 2008 16:15:02 +0000 (16:15 +0000)]
removed c++ comments //

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

16 years agoadded notes about rewrites in this release
oetiker [Mon, 12 May 2008 16:09:02 +0000 (16:09 +0000)]
added notes about rewrites in this release

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

16 years agoimproved handling of library versioning
oetiker [Mon, 12 May 2008 16:08:40 +0000 (16:08 +0000)]
improved handling of library versioning

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

16 years agoshould not leave debug enabled
oetiker [Mon, 12 May 2008 15:35:40 +0000 (15:35 +0000)]
should not leave debug enabled

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1341 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/trunk/program@1340 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agothe last_ds value fuer unknown is 'U' and not 'UNKN'
oetiker [Mon, 12 May 2008 13:22:26 +0000 (13:22 +0000)]
the last_ds value fuer unknown is 'U' and not 'UNKN'

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

16 years agofix for sun sudio 11 incompatibility http://www.netbsd.org/cgi-bin/query-pr-single...
oetiker [Sun, 4 May 2008 18:59:20 +0000 (18:59 +0000)]
fix for sun sudio 11 incompatibility netbsd.org/cgi-bin/query-pr-single.pl?number=38555

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

16 years agoindenting fixes
oetiker [Thu, 1 May 2008 23:23:35 +0000 (23:23 +0000)]
indenting fixes

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

16 years agomake sure properties are shown via graph_v even in --graph-only mode
oetiker [Thu, 1 May 2008 23:23:25 +0000 (23:23 +0000)]
make sure properties are shown via graph_v even in --graph-only mode

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

16 years agoMake the MakeMakefile script a bit more robust
oetiker [Thu, 1 May 2008 06:56:32 +0000 (06:56 +0000)]
Make the MakeMakefile script a bit more robust

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

16 years agofix for #148
oetiker [Tue, 22 Apr 2008 21:40:45 +0000 (21:40 +0000)]
fix for #148

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

16 years agoIntroduced a alternated interface to rrd_graph using rrd_info style return
oetiker [Sun, 20 Apr 2008 22:46:39 +0000 (22:46 +0000)]
Introduced a alternated interface to rrd_graph using rrd_info style return
values: rrd_graph_v The graph_v interface returnes additional information
about the graph including the location of the graphing area within the
image. When called with '-' as filename it will even return the image data.
The new interface is supported in the rrdtool command line, RRDs perl and
ruby bindings.

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

16 years agoindent fix
oetiker [Thu, 17 Apr 2008 05:35:16 +0000 (05:35 +0000)]
indent fix

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

16 years agodo not reset the last_ds store unless the data source type is actually changed.
oetiker [Thu, 17 Apr 2008 05:35:01 +0000 (05:35 +0000)]
do not reset the last_ds store unless the data source type is actually changed.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1328 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/trunk/program@1327 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agoalter order of header inclusion for FreeBSD 4.8 compatibility
oetiker [Sat, 12 Apr 2008 09:29:10 +0000 (09:29 +0000)]
alter order of header inclusion for FreeBSD 4.8 compatibility

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1324 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/trunk/program@1323 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agoadded missing " escapes to xml header in rrd_tool.c
oetiker [Tue, 25 Mar 2008 23:02:32 +0000 (23:02 +0000)]
added missing " escapes to xml header in rrd_tool.c

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

16 years agoadded Florian octo Forster to contrib list
oetiker [Tue, 25 Mar 2008 22:59:49 +0000 (22:59 +0000)]
added Florian octo Forster to contrib list

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

16 years agoadded missing =back for propper pod syntax
oetiker [Tue, 25 Mar 2008 22:59:30 +0000 (22:59 +0000)]
added missing =back for propper pod syntax

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

16 years agofix indent
oetiker [Tue, 25 Mar 2008 22:58:16 +0000 (22:58 +0000)]
fix indent

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

16 years agofix broken header comment section -- Florian octo Forster
oetiker [Tue, 25 Mar 2008 22:58:08 +0000 (22:58 +0000)]
fix broken header comment section -- Florian octo Forster

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

16 years agocast size_t to int to avoid warning -- Florian octo Forster
oetiker [Tue, 25 Mar 2008 22:57:42 +0000 (22:57 +0000)]
cast size_t to int to avoid warning -- Florian octo Forster

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

16 years agodo not declare DEBUG functions unless compiled in DEBUG mode -- Florian octo Forster
oetiker [Tue, 25 Mar 2008 22:56:41 +0000 (22:56 +0000)]
do not declare DEBUG functions unless compiled in DEBUG mode -- Florian octo Forster

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

16 years agomake helptexts read only memory
oetiker [Tue, 25 Mar 2008 22:55:56 +0000 (22:55 +0000)]
make helptexts read only memory

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

16 years agostop complaints about unused variables if not running DEBUG
oetiker [Tue, 25 Mar 2008 22:55:13 +0000 (22:55 +0000)]
stop complaints about unused variables if not running DEBUG

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

16 years agoAdded check for intltool version.
oetiker [Tue, 25 Mar 2008 22:49:47 +0000 (22:49 +0000)]
Added check for intltool version.
Use Makefile for cleanup.
-- Florian octo Forster

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

16 years agoadded pointer to florian forsters dtd to the rrd dumpt
oetiker [Sun, 23 Mar 2008 13:43:22 +0000 (13:43 +0000)]
added pointer to florian forsters dtd to the rrd dumpt

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

16 years agofix pkgconfig file name
oetiker [Wed, 19 Mar 2008 23:36:26 +0000 (23:36 +0000)]
fix pkgconfig file name

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

16 years agoreindent
oetiker [Sat, 15 Mar 2008 10:39:48 +0000 (10:39 +0000)]
reindent
aded id keyword substitution

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

16 years agoreat nan as FALSE in an IF CDEF
oetiker [Sat, 15 Mar 2008 10:32:10 +0000 (10:32 +0000)]
reat nan as FALSE in an IF CDEF

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

16 years agoa nan-safe add operator (ADDNAN) into rrd. I used it to add several incomplete graphs.
oetiker [Fri, 7 Mar 2008 08:57:01 +0000 (08:57 +0000)]
a nan-safe add operator (ADDNAN) into rrd. I used it to add several incomplete graphs.

NaN + NaN => NaN
 x + NaN => x
 NaN + y => y
 x + y => x + y

-- Timo Stripf tstripf gmx.de

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

16 years agoFix error "cairo_restore without matching cairo_save" when zero-time point is out...
oetiker [Sun, 2 Mar 2008 15:38:05 +0000 (15:38 +0000)]
Fix error "cairo_restore without matching cairo_save" when zero-time point is out of graph

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1301 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/trunk/program@1300 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agofix indents gone out of kileter by patching ...
oetiker [Sun, 24 Feb 2008 14:27:34 +0000 (14:27 +0000)]
fix indents gone out of kileter by patching ...

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

16 years agoget rid of a few type cast warnings
oetiker [Sun, 24 Feb 2008 14:26:46 +0000 (14:26 +0000)]
get rid of a few type cast warnings

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

16 years agofix one segfault while trying to restore an invalid xml file. -- tobi
oetiker [Sun, 24 Feb 2008 14:26:16 +0000 (14:26 +0000)]
fix one segfault while trying to restore an invalid xml file. -- tobi

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

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

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

16 years agoinitial
oetiker [Thu, 21 Feb 2008 07:18:58 +0000 (07:18 +0000)]
initial

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

16 years agomake inbternationalized version actually build
oetiker [Thu, 21 Feb 2008 07:12:27 +0000 (07:12 +0000)]
make inbternationalized version actually build

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

16 years agoadded missing bits from internationalization
oetiker [Thu, 21 Feb 2008 06:59:19 +0000 (06:59 +0000)]
added missing bits from internationalization

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1291 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/trunk/program@1290 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agoAdded I18N support for messages printed by rrd_tool.c -- http://oss.oetiker.ch/rrdtoo...
oetiker [Mon, 18 Feb 2008 15:04:42 +0000 (15:04 +0000)]
Added I18N support for messages printed by rrd_tool.c -- oss.oetiker.ch/rrdtool-trac/ticket/144

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

16 years agocheck for pdf as well
oetiker [Fri, 15 Feb 2008 08:49:07 +0000 (08:49 +0000)]
check for pdf as well

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

16 years agocheck for cairo-ps and cairo-svg explicitly
oetiker [Fri, 15 Feb 2008 08:44:04 +0000 (08:44 +0000)]
check for cairo-ps and cairo-svg explicitly

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

16 years agoready for beta 4
oetiker [Wed, 6 Feb 2008 00:12:27 +0000 (00:12 +0000)]
ready for beta 4

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

16 years ago* replaced strtok with strtok_r for thread safety
oetiker [Wed, 6 Feb 2008 00:10:33 +0000 (00:10 +0000)]
* replaced strtok with strtok_r for thread safety
* fixed im initialization broken after the introduction of dashes ...

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

16 years agoin rrd_create we do not use mmaping and thus need to free rrd struct members in any...
oetiker [Mon, 4 Feb 2008 22:34:56 +0000 (22:34 +0000)]
in rrd_create we do not use mmaping and thus need to free rrd struct members in any case ...

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

16 years agothis should help with the memory leak
oetiker [Mon, 4 Feb 2008 22:16:14 +0000 (22:16 +0000)]
this should help with the memory leak

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

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

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1276 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/trunk/program@1274 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agoremove c++ warnings flag .. this is not c++ after all
oetiker [Mon, 14 Jan 2008 17:11:50 +0000 (17:11 +0000)]
remove c++ warnings flag .. this is not c++ after all

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

16 years agofixed indenting
oetiker [Mon, 14 Jan 2008 16:52:49 +0000 (16:52 +0000)]
fixed indenting

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

16 years agofix indents
oetiker [Mon, 14 Jan 2008 16:51:42 +0000 (16:51 +0000)]
fix indents

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

16 years ago* fixed madvise/fadvise detection
oetiker [Mon, 14 Jan 2008 16:50:51 +0000 (16:50 +0000)]
* fixed madvise/fadvise detection
* fixed many compiler warnings
-- Peter Breitenlohner peb mppmu.mpg.de

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

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

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

16 years agofontmap resolution was not matching scaled_font resolution ... this killed layouting...
oetiker [Fri, 4 Jan 2008 22:53:46 +0000 (22:53 +0000)]
fontmap resolution was not matching scaled_font resolution ... this killed layouting ... much better now

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

16 years agoget rid of DASHED, only use dashes syntax. less redundancy -- thomas.gutzler gmail.com
oetiker [Thu, 3 Jan 2008 21:30:59 +0000 (21:30 +0000)]
get rid of DASHED, only use dashes syntax. less redundancy -- thomas.gutzler gmail.com

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

16 years agosupport for dashed lines in graphs
oetiker [Wed, 2 Jan 2008 22:11:26 +0000 (22:11 +0000)]
support for dashed lines in graphs

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

16 years agofix indenting
oetiker [Wed, 2 Jan 2008 22:06:24 +0000 (22:06 +0000)]
fix indenting

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

16 years agoignore errors with txt doc building
oetiker [Wed, 2 Jan 2008 22:06:16 +0000 (22:06 +0000)]
ignore errors with txt doc building

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

16 years agobuilding the docs depends on the presence of pod2man ... which does not seem to be...
oetiker [Tue, 11 Dec 2007 23:41:21 +0000 (23:41 +0000)]
building the docs depends on the presence of pod2man ... which does not seem to be installed necessarily

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

16 years agoadded shared library locations into the docs
oetiker [Sat, 8 Dec 2007 22:15:22 +0000 (22:15 +0000)]
added shared library locations into the docs

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

16 years agoinclude stdlib since putenv is in there on solaris
oetiker [Sat, 8 Dec 2007 21:35:51 +0000 (21:35 +0000)]
include stdlib since putenv is in there on solaris

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

16 years agofixing solaris portability
oetiker [Sat, 8 Dec 2007 16:57:04 +0000 (16:57 +0000)]
fixing solaris portability
* isinf and isnan definitions fixed
* check if rt must be linked
* ordering must be read write in getopt
* updated build instructions

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

17 years agofix libdir for python build
oetiker [Mon, 26 Nov 2007 20:12:11 +0000 (20:12 +0000)]
fix libdir for python build

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

17 years agofixed NetBSD spelling
oetiker [Wed, 21 Nov 2007 10:51:48 +0000 (10:51 +0000)]
fixed NetBSD spelling

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

17 years agodefine bsd source to get access to chroot
oetiker [Wed, 21 Nov 2007 06:56:19 +0000 (06:56 +0000)]
define bsd source to get access to chroot

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

17 years agomake perlbuild more portable
oetiker [Wed, 21 Nov 2007 06:47:17 +0000 (06:47 +0000)]
make perlbuild more portable

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

17 years agoenable madvise defines in netbsd
oetiker [Tue, 20 Nov 2007 22:22:31 +0000 (22:22 +0000)]
enable madvise defines in netbsd

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

17 years agoremove last traces of rrd_nan_inf.h
oetiker [Tue, 20 Nov 2007 00:08:20 +0000 (00:08 +0000)]
remove last traces of rrd_nan_inf.h
fix handling of min==max where min < 0

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

17 years agore-indented files that have gone out of indent-style over the last few weeks
oetiker [Thu, 15 Nov 2007 14:39:56 +0000 (14:39 +0000)]
re-indented files that have gone out of indent-style over the last few weeks

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

17 years agointegrate rrd_nan_inf header
oetiker [Thu, 15 Nov 2007 14:36:39 +0000 (14:36 +0000)]
integrate rrd_nan_inf header

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

17 years agoImprove layout of documentation. -- Bernhard Fischer
oetiker [Thu, 15 Nov 2007 14:35:15 +0000 (14:35 +0000)]
Improve layout of documentation. -- Bernhard Fischer

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

17 years ago* rrd_update(): Unify error path.
oetiker [Thu, 15 Nov 2007 14:34:14 +0000 (14:34 +0000)]
*  rrd_update(): Unify error path.
*  parse_template(): Likewise.
*  allocate_data_structures(): Make error strings use consistent punctuation.
-- bernhard fischer

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

17 years agomake sure this compiles with aix
oetiker [Thu, 15 Nov 2007 14:32:37 +0000 (14:32 +0000)]
make sure this compiles with aix

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

17 years agofixed start end time in ruby fetch and added step size -- Mike Perham mperham gmail
oetiker [Thu, 8 Nov 2007 10:16:27 +0000 (10:16 +0000)]
fixed start end time in ruby fetch and added step size -- Mike Perham mperham gmail

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

17 years agoupdated build instructions
oetiker [Tue, 6 Nov 2007 21:27:52 +0000 (21:27 +0000)]
updated build instructions

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

17 years agohandle errors properly ... in RRDp read call
oetiker [Sun, 4 Nov 2007 21:56:19 +0000 (21:56 +0000)]
handle errors properly ... in RRDp read call

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

17 years agono reason to die when posixfadvise is not sucessful
oetiker [Sun, 16 Sep 2007 15:35:11 +0000 (15:35 +0000)]
no reason to die when posixfadvise is not sucessful

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

17 years agoAllow to the the smoothing window size other thatn the default 5%.
oetiker [Tue, 11 Sep 2007 06:28:15 +0000 (06:28 +0000)]
Allow to the the smoothing window size other thatn the default 5%.
-- Evan Miller emiller imvu.com

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

17 years agoadded msync before unmap
oetiker [Tue, 11 Sep 2007 06:16:52 +0000 (06:16 +0000)]
added msync before unmap

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

17 years agoadded STDEV aggregation function for VDEF. -- Patrick J Cherry patrick bytemark.co.uk
oetiker [Sat, 8 Sep 2007 05:23:23 +0000 (05:23 +0000)]
added STDEV aggregation function for VDEF. -- Patrick J Cherry patrick bytemark.co.uk

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

17 years agoa few leanups -- Bernhard Fischer
oetiker [Fri, 7 Sep 2007 22:53:41 +0000 (22:53 +0000)]
a few leanups -- Bernhard Fischer

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

17 years agoadded missing ;
oetiker [Thu, 6 Sep 2007 09:06:04 +0000 (09:06 +0000)]
added missing ;

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

17 years ago* mimic write() and read() even better -- Bernhard Fischer
oetiker [Thu, 6 Sep 2007 08:42:22 +0000 (08:42 +0000)]
* mimic write() and read() even better -- Bernhard Fischer

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

17 years agorrd_open.c (rrd_read): Mimicing read() behaviour for EOF case and NULL buffer case.
oetiker [Thu, 6 Sep 2007 08:40:36 +0000 (08:40 +0000)]
rrd_open.c (rrd_read): Mimicing read() behaviour for EOF case and NULL buffer case.
-- Bernhard Fischer

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

17 years agofixed speling of horizon
oetiker [Sun, 2 Sep 2007 16:55:01 +0000 (16:55 +0000)]
fixed speling of horizon

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

17 years agoa better performance tester
oetiker [Wed, 29 Aug 2007 06:43:16 +0000 (06:43 +0000)]
a better performance tester

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

17 years agoadded holt winters example back into the examples documentation
oetiker [Thu, 16 Aug 2007 07:31:53 +0000 (07:31 +0000)]
added holt winters example back into the examples documentation

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

17 years agoFix for HoltWinters phase-shift bug described below.
oetiker [Tue, 14 Aug 2007 21:59:31 +0000 (21:59 +0000)]
Fix for HoltWinters phase-shift bug described below.

When one or more primary data point times were missed, the SEASONAL and
DEVSEASONAL archives were marked as being up-to-date, so that they would not
be written to. It was correct not to write to these archives, but the code
failed to advance the pointers within the SEASONAL and DEVSEASONAL archives
so that future updates would go to the correct location in the archives.

Rather than mark these archives as up-to-date (by setting
rra_step_cnt[rra_idx] = 0), my patch allocates a new "skip_update" array
that is set to 1 for SEASONAL and DEVSEASONAL archives that have missed one
or more primary data points. When an RRA is written to, the cur_row pointer
advancement happens for all archives, but the skip_update array is checked
just before actually writing out the changes.

Please give it a whirl!
-- Evan Miller emiller imvu.com

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

17 years agoRefactored rrd_update code in preparation of finding the HW update
oetiker [Mon, 13 Aug 2007 20:06:10 +0000 (20:06 +0000)]
Refactored rrd_update code in preparation of finding the HW update
problem -- Evan Miller

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