Code

rrdtool.git
16 years agofixed indentation ... gnu indent results are not realy beautifl. I might switch...
oetiker [Wed, 27 Aug 2008 21:25:43 +0000 (21:25 +0000)]
fixed indentation  ... gnu indent results are not realy beautifl. I might switch to uncrustify.

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

16 years agoMany rrd_create memory leaks patched ... based on valgrind analysis by Sven Engelhard...
oetiker [Wed, 27 Aug 2008 21:25:04 +0000 (21:25 +0000)]
Many rrd_create memory leaks patched ... based on valgrind analysis by Sven Engelhardt. Thanks!

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

16 years agofix indentation
oetiker [Wed, 27 Aug 2008 21:18:46 +0000 (21:18 +0000)]
fix indentation

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

16 years agoadded sparc-sun-solaris2.8 to list of broken isfinite implementations
oetiker [Wed, 27 Aug 2008 06:52:33 +0000 (06:52 +0000)]
added  sparc-sun-solaris2.8 to list of broken isfinite implementations

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

16 years agoit is rb_rrd_infocall not rrd_infocall ...
oetiker [Fri, 22 Aug 2008 22:04:37 +0000 (22:04 +0000)]
it is rb_rrd_infocall not rrd_infocall ...

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

16 years agoWhen in lazy mode, and the graph does not get regenerated, then there are no
oetiker [Sat, 16 Aug 2008 07:13:01 +0000 (07:13 +0000)]
When in lazy mode, and the graph does not get regenerated, then there are no
results from PRINT either. Fix for #163.

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

16 years agodocumentation updates
oetiker [Sat, 16 Aug 2008 07:11:46 +0000 (07:11 +0000)]
documentation updates

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

16 years agomake sure imageinfo only reports the filename and not the whole path. This is a regre...
oetiker [Tue, 12 Aug 2008 06:48:37 +0000 (06:48 +0000)]
make sure imageinfo only reports the filename and not the whole path. This is a regression from 1.2.x where this was implemented properly.

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

16 years agoThe attached patch converts the given string to UTF-8 using glib's
oetiker [Mon, 4 Aug 2008 20:35:45 +0000 (20:35 +0000)]
The attached patch converts the given string to UTF-8 using glib's
g_locale_to_utf8() function. This function expects the string to be
encoded as specified by the locale settings, so this will fail if e.g.
you're using some script which is encoded in some way incompatible to
the locale settings. In this case, the patch falls back to use the
original string as provided by the user as there is no way to tell how
to interpret that string. So, in this case, you will still get the old
behavior (that pango warning and messed up strings in the graph).
However, imho this is perfectly fine since it should be up to the user
to take care of a sane environment. -- Sebastian Harl

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

16 years agonewer perlapi docu suggests to use SV * instead of void for managed returns
oetiker [Tue, 29 Jul 2008 14:42:08 +0000 (14:42 +0000)]
newer perlapi docu suggests to  use SV * instead of void for managed returns

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

16 years agofixed some c++ style lines -- David Masterson
oetiker [Tue, 29 Jul 2008 05:08:46 +0000 (05:08 +0000)]
fixed some c++ style lines -- David Masterson

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

16 years agospelling fix
oetiker [Mon, 28 Jul 2008 07:23:15 +0000 (07:23 +0000)]
spelling fix

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

16 years agoforward ported patch for rra cur_row randomization in rrd_restore from 1.2.28 to...
oetiker [Wed, 23 Jul 2008 15:03:43 +0000 (15:03 +0000)]
forward ported patch for rra cur_row randomization in rrd_restore from 1.2.28 to 1.3.1

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

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

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

16 years agoadded support for restoring rrdtool 1.0.x files ... removed support for old HW patche...
oetiker [Wed, 23 Jul 2008 12:45:52 +0000 (12:45 +0000)]
added support for restoring rrdtool 1.0.x files ... removed support for old HW patched rrd format created by an early patched version of 1.0.x

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

16 years agoheader-fix
oetiker [Tue, 1 Jul 2008 06:35:54 +0000 (06:35 +0000)]
header-fix

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

16 years agoimprove layout
oetiker [Tue, 1 Jul 2008 06:34:24 +0000 (06:34 +0000)]
improve layout

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

16 years agoadded rrd filename to illegal update message -- he at uninett.no
oetiker [Sun, 29 Jun 2008 16:23:50 +0000 (16:23 +0000)]
added rrd filename to illegal update message -- he at uninett.no

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

16 years agorrdtool.spec fix by Anton Blanchard to build without php patch
oetiker [Sun, 29 Jun 2008 14:08:51 +0000 (14:08 +0000)]
rrdtool.spec fix by Anton Blanchard to build without php patch

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

16 years agomake sure image-with and image-height get returned even when rrdtool is called with...
oetiker [Sun, 29 Jun 2008 13:57:00 +0000 (13:57 +0000)]
make sure image-with and image-height get returned even when rrdtool is called with --lazy as reported in bug #163

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

16 years agoadded note on %S
oetiker [Thu, 12 Jun 2008 13:54:23 +0000 (13:54 +0000)]
added note on %S

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

16 years agomade news the same as the announcement
oetiker [Wed, 11 Jun 2008 15:49:24 +0000 (15:49 +0000)]
made news the same as the announcement

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

16 years agoprepare for the release of rrdtool-1.3.0
oetiker [Tue, 10 Jun 2008 23:12:55 +0000 (23:12 +0000)]
prepare for the release of rrdtool-1.3.0

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

16 years agooops it is 1.3.0 not 1.4.0 yet
oetiker [Tue, 10 Jun 2008 16:38:10 +0000 (16:38 +0000)]
oops it is 1.3.0 not 1.4.0 yet

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

16 years agopreparing for 1.3
oetiker [Tue, 10 Jun 2008 16:37:39 +0000 (16:37 +0000)]
preparing for 1.3

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

16 years agodocument the 'internal' functions in rrd.h but mark them as deprecated, so
oetiker [Tue, 10 Jun 2008 16:32:34 +0000 (16:32 +0000)]
document the 'internal' functions in rrd.h but mark them as deprecated, so
that anyone using them will see that they should not be doing it.

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

16 years agoflip check for row_count with setting for better code logic
oetiker [Tue, 10 Jun 2008 11:16:40 +0000 (11:16 +0000)]
flip check for row_count with setting for better code logic

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

16 years agocheck row count in RRAs to be > 0 ... by Sebastian Harl
oetiker [Tue, 10 Jun 2008 09:35:03 +0000 (09:35 +0000)]
check row count in RRAs to be > 0 ... by Sebastian Harl

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

16 years agofor windows we must open files in O_BINARY mode
oetiker [Tue, 10 Jun 2008 07:18:02 +0000 (07:18 +0000)]
for windows we must open files in O_BINARY mode

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

16 years agodo NOT export lowlevel functions, since I have no intention supporting these
oetiker [Mon, 9 Jun 2008 16:10:39 +0000 (16:10 +0000)]
do NOT export lowlevel functions, since I have no intention supporting these
interfaces across versions. The symbols are in the library, so if someone
WANTS to code to them, they are free todo so, but they will have to use our
internal header files.

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

16 years agoadd all lowlevel file access functions from the rrd_open interface to the export...
oetiker [Mon, 9 Jun 2008 15:49:54 +0000 (15:49 +0000)]
add all lowlevel file access functions from the rrd_open interface to the export list.

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

16 years agofixed indenting
oetiker [Mon, 9 Jun 2008 05:12:27 +0000 (05:12 +0000)]
fixed indenting

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

16 years agoupdate to rpm spec from Jarod Wilson
oetiker [Mon, 9 Jun 2008 05:11:39 +0000 (05:11 +0000)]
update to rpm spec from Jarod Wilson

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

16 years agoexport some more symbols from librrd
oetiker [Sun, 8 Jun 2008 21:15:32 +0000 (21:15 +0000)]
export some more symbols from librrd

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

16 years agowindows should use a windows font
oetiker [Sun, 8 Jun 2008 21:06:35 +0000 (21:06 +0000)]
windows should use a windows font

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

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