rrdtool.git
16 years agodrop special case windows font code ... it makes no sense with the new setup
oetiker [Sun, 8 Jun 2008 21:05:50 +0000 (21:05 +0000)]
drop special case windows font code ... it makes no sense with the new setup

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

16 years agoprepare for the release of rrdtool-1.3rc9
oetiker [Sun, 8 Jun 2008 17:08:47 +0000 (17:08 +0000)]
prepare for the release of rrdtool-1.3rc9

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

16 years agofixed pango markup switch ... we still want the text to show even if no markup is...
oetiker [Sun, 8 Jun 2008 17:08:11 +0000 (17:08 +0000)]
fixed pango markup switch ... we still want the text to show even if no markup is enabled

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

16 years agorrd_freemem has to be exported as well ...
oetiker [Sun, 8 Jun 2008 16:47:22 +0000 (16:47 +0000)]
rrd_freemem has to be exported as well ...

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

16 years agoprepare for the release of rrdtool-1.3rc8
oetiker [Sun, 8 Jun 2008 15:59:20 +0000 (15:59 +0000)]
prepare for the release of rrdtool-1.3rc8

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

16 years agoprepare for the release of rrdtool-1.3rc8
oetiker [Sun, 8 Jun 2008 15:55:54 +0000 (15:55 +0000)]
prepare for the release of rrdtool-1.3rc8

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

16 years agoFrom: Sebastian Harl sh tokkee.org
oetiker [Sun, 8 Jun 2008 15:55:09 +0000 (15:55 +0000)]
From: Sebastian Harl sh tokkee.org
Date: Sun, 8 Jun 2008 15:01:05 +0200
Subject: [PATCH] Cleanup the symbols exported by librrd.

Up to know librrd exported a lot of symbols, most of which are to be
regarded as private symbols. This somewhat pollutes the API as the symbols
could, in theory, be used by external software and, more importantly,
makes symbol based dependencies (as recently introduced in e.g. Debian)
somewhat harder to implement.

This patch does a somewhat large-scale cleanup of the exported symbols:

 * Introduced a librrd.sym file which contains all symbols that are to be
   exported. This file is then passed to libtool using the -export-symbols
   option which tells the linker to export the given symbols only (note:
   according to the libtool manual, this has no effect on some
   architectures - however, I assume that most architectures in use today
   do support it).

   librrd.sym contains all symbols originally defined in rrd.h sans
   LockRRD() (which has been moved to rrd_tool.h). The following functions
   have been added to rrd.h and the list of exported symbols (some of them
   have been renamed, see below):
   - rrd_info()
   - rrd_info_free()
   - rrd_info_print()
   - rrd_info_push()
   - rrd_lastupdate()
   - rrd_update_v()
   - rrd_strerror()

 * Prefixed all public functions and types with "rrd_" to avoid name
   clashes with other libraries. Also, while I was at it, I introduced
   typedefs for all custom types and prefixed the time names with "_t" to
   improve consistency:
   - enum info_type -> rrd_info_type_t
   - enum timetype -> rrd_timetype_t

   - union infoval -> rrd_infoval_t

   - struct info_t -> rrd_info_t
   - struct rrd_context -> rrd_context_t
   - struct rrd_time_value -> rrd_time_value_t

   - info_free() -> rrd_info_free()
   - info_free() -> rrd_info_free()
   - info_print() -> rrd_info_print()
   - info_push() -> rrd_info_push()
   - LockRRD() -> rrd_lock() (not public though)
   - parsetime() -> rrd_parsetime()
     (and: src/parsetime.c -> src/rrd_parsetime.c)
   - proc_start_end() -> rrd_proc_start_end()
   - set_to_DINF() -> rrd_set_to_DINF()
   - set_to_DNAN() -> rrd_set_to_DNAN()

 * Moved readfile() from rrd_open.c to rrd_cgi.c and declared it static.
   This function is used in rrd_cgi.c only.

 * rrd_lock() (f.k.a. LockRRD()) now accepts a rrd_file_t pointer instead
   of an integer to increase encapsulation.

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

16 years agodon't bother with don't need when there is neither madvise not fadvise calls
oetiker [Sat, 7 Jun 2008 14:35:03 +0000 (14:35 +0000)]
don't bother with don't need when there is neither madvise not fadvise calls

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

16 years agoadded pango markup name
oetiker [Thu, 5 Jun 2008 20:56:24 +0000 (20:56 +0000)]
added pango markup name

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

16 years agofixed indenting
oetiker [Thu, 5 Jun 2008 19:59:18 +0000 (19:59 +0000)]
fixed indenting

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

16 years agodisable pango markup by default. added --pango-markup option for explicit enablement.
oetiker [Thu, 5 Jun 2008 19:59:01 +0000 (19:59 +0000)]
disable pango markup by default. added --pango-markup option for explicit enablement.

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

16 years agodisable pango markup by default. added --pango-markup option for explicit enablement.
oetiker [Thu, 5 Jun 2008 19:58:51 +0000 (19:58 +0000)]
disable pango markup by default. added --pango-markup option for explicit enablement.

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

16 years agofixed indenting
oetiker [Thu, 5 Jun 2008 19:57:25 +0000 (19:57 +0000)]
fixed indenting

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

16 years agoenable new building for newer tcl versions
oetiker [Wed, 4 Jun 2008 16:18:42 +0000 (16:18 +0000)]
enable new building for newer tcl versions

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

16 years agoupdated documentation of library versioning system
oetiker [Mon, 2 Jun 2008 06:46:57 +0000 (06:46 +0000)]
updated documentation of library versioning system

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

16 years agoHad to reset the interface version number due to the change in the rrd_context implem...
oetiker [Mon, 2 Jun 2008 06:43:43 +0000 (06:43 +0000)]
Had to reset the interface version number due to the change in the rrd_context implementation.

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

16 years agouse DNAN instead of NAN since there seem to be issues with gcc on solaris and the...
oetiker [Mon, 2 Jun 2008 06:21:42 +0000 (06:21 +0000)]
use DNAN instead of NAN since there seem to be issues with gcc on solaris and the NAN experession (and we use DNAN everywhere else anyway).

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

16 years agointegrated gentoo bits and spell fixes by Peter Volkov
oetiker [Sun, 1 Jun 2008 21:12:26 +0000 (21:12 +0000)]
integrated gentoo bits and spell fixes by Peter Volkov

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

16 years agoPatch for rrd_context system by sebastian harl, making it simpler and less error...
oetiker [Sun, 1 Jun 2008 20:44:01 +0000 (20:44 +0000)]
Patch for rrd_context system by sebastian harl, making it simpler and less error prone. Removing one buffer overflow in the process.

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

16 years agoprepare for the release of rrdtool-1.3rc7
oetiker [Sat, 31 May 2008 15:58:45 +0000 (15:58 +0000)]
prepare for the release of rrdtool-1.3rc7

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

16 years agoprepare for the release of rrdtool-1.3rc7
oetiker [Sat, 31 May 2008 15:57:39 +0000 (15:57 +0000)]
prepare for the release of rrdtool-1.3rc7

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

16 years agoadded pkgconfig build instructions
oetiker [Sat, 31 May 2008 15:56:37 +0000 (15:56 +0000)]
added pkgconfig build instructions

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

16 years agofixed maxlength for sprintf_alloc 50 was not enough ... 1024+strlen(fmt) is much...
oetiker [Tue, 27 May 2008 22:24:32 +0000 (22:24 +0000)]
fixed maxlength for sprintf_alloc 50 was not enough ... 1024+strlen(fmt) is much better. This
makes imginfo work even when there are long image paths.

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

16 years agoupdated todo list
oetiker [Mon, 26 May 2008 11:45:15 +0000 (11:45 +0000)]
updated todo list

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

16 years agoprepare for the release of rrdtool-1.3rc6
oetiker [Mon, 26 May 2008 08:56:58 +0000 (08:56 +0000)]
prepare for the release of rrdtool-1.3rc6

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

16 years agoadded notes about new grid lines
oetiker [Mon, 26 May 2008 07:46:35 +0000 (07:46 +0000)]
added notes about new grid lines

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

16 years ago* make y-axis labels NOT run into each other (classic and alt)
oetiker [Mon, 26 May 2008 07:45:19 +0000 (07:45 +0000)]
* make y-axis labels NOT run into each other (classic and alt)
* space horizontal grid lines and lables a bit further apart for tight
  layouts.
* let horizontal lines and y axis labels run a little closer for classic grid

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

16 years agofixed calculation of space at the bottom of the graph
oetiker [Sun, 25 May 2008 21:17:30 +0000 (21:17 +0000)]
fixed calculation of space at the bottom of the graph

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

16 years agoprepare for the release of rrdtool-1.3rc5
oetiker [Sun, 25 May 2008 20:02:23 +0000 (20:02 +0000)]
prepare for the release of rrdtool-1.3rc5

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

16 years agofix update compatibility with rrd-1.0.x files
oetiker [Sun, 25 May 2008 20:00:45 +0000 (20:00 +0000)]
fix update compatibility with rrd-1.0.x files

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

16 years agodroped rrd_extra.h from the distro with the python update ... must remove it from...
oetiker [Tue, 20 May 2008 22:22:27 +0000 (22:22 +0000)]
droped rrd_extra.h from the distro with the python update ... must remove it from the Makefile too

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

16 years agofixed python bindings:
oetiker [Mon, 19 May 2008 21:14:36 +0000 (21:14 +0000)]
fixed python bindings:
* info call isnnow aequivalent to rrdtool info (the same as in the perl and ruby bindings)
* graphv and updatev calls added

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

16 years ago* document tabwidth option
oetiker [Sun, 18 May 2008 22:11:56 +0000 (22:11 +0000)]
* document tabwidth option
* fix \t -> tab expansion

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

16 years agoytr boundery checking ... this is from the GD days ... we don't need this anymore
oetiker [Sun, 18 May 2008 15:39:41 +0000 (15:39 +0000)]
ytr boundery checking ... this is from the GD days ... we don't need this anymore

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

16 years agofix indenting
oetiker [Sun, 18 May 2008 15:11:52 +0000 (15:11 +0000)]
fix indenting

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

16 years agopdf, svg and ps formats were not being created
oetiker [Sun, 18 May 2008 15:11:42 +0000 (15:11 +0000)]
pdf, svg and ps formats were not being created

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

16 years agoprepare for the release of rrdtool-1.3rc4
oetiker [Sun, 18 May 2008 13:06:44 +0000 (13:06 +0000)]
prepare for the release of rrdtool-1.3rc4

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

16 years agofix year
oetiker [Sun, 18 May 2008 13:04:36 +0000 (13:04 +0000)]
fix year

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

16 years agoPRINT returns from rrd_graph did not work due to an off by one error
oetiker [Sun, 18 May 2008 12:53:01 +0000 (12:53 +0000)]
PRINT returns from rrd_graph did not work due to an off by one error

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

16 years agoupdated build instructions to latest libraries
oetiker [Sun, 18 May 2008 08:42:18 +0000 (08:42 +0000)]
updated build instructions to latest libraries

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

16 years agoimproved handling of libintl issues
oetiker [Sun, 18 May 2008 06:37:43 +0000 (06:37 +0000)]
improved handling of libintl issues

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

16 years agoprepare for the release of rrdtool-1.3rc3
oetiker [Fri, 16 May 2008 12:29:42 +0000 (12:29 +0000)]
prepare for the release of rrdtool-1.3rc3

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

16 years agoadded --no-header to documentation and fixed implementation
oetiker [Fri, 16 May 2008 12:28:37 +0000 (12:28 +0000)]
added --no-header to documentation and fixed implementation

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

16 years agofixed dump_opt implementation
oetiker [Fri, 16 May 2008 12:20:05 +0000 (12:20 +0000)]
fixed dump_opt implementation

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

16 years agoadded no-header option to rrd_dump
oetiker [Fri, 16 May 2008 12:18:05 +0000 (12:18 +0000)]
added no-header option to rrd_dump

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

16 years agofix handling of values <= zero for logarithmic display
oetiker [Fri, 16 May 2008 12:07:58 +0000 (12:07 +0000)]
fix handling of values <= zero for logarithmic display

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

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

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

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