added librrd.pc to spec file as requested byu Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1646 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1646 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix from alex
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1639 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1639 a5681a0c-68f1-0310-ab6d-d61299d08faa
missed checkin for librrd.sym fix
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1633 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1633 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix for osx porability ... the # in librrd.sym did not work well there
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1631 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1631 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed typo ... GAUGE not GUAGE
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1628 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1628 a5681a0c-68f1-0310-ab6d-d61299d08faa
use double for legend positioning to fight wiggle
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1617 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1617 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix version numbers
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1615 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1615 a5681a0c-68f1-0310-ab6d-d61299d08faa
improved docu
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1608 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1608 a5681a0c-68f1-0310-ab6d-d61299d08faa
Daniel Pocock reported that the argument may be NULL in low-diskspace
situations, so check for that here to prevent a segmentation fault.
-- Florian Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1585 a5681a0c-68f1-0310-ab6d-d61299d08faa
situations, so check for that here to prevent a segmentation fault.
-- Florian Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1585 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3.4
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1574 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1574 a5681a0c-68f1-0310-ab6d-d61299d08faa
finite broken on solaris 9 too ?
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1573 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1573 a5681a0c-68f1-0310-ab6d-d61299d08faa
* rrd_resize fixed so that it does NOT alter the original file (mmap side effect)
* rrd_resize can can deal with version 4 files, so let it
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1571 a5681a0c-68f1-0310-ab6d-d61299d08faa
* rrd_resize can can deal with version 4 files, so let it
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1571 a5681a0c-68f1-0310-ab6d-d61299d08faa
The patch fixs rrdtools behaviour when presented with trunkated rrd files.
* Make sure that we do not extend past the end of the
file when reading the header.
* Makes sure that the data portion of the file is large enough, based on
the ds_cnt and the total number of RRA rows
-- kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1570 a5681a0c-68f1-0310-ab6d-d61299d08faa
* Make sure that we do not extend past the end of the
file when reading the header.
* Makes sure that the data portion of the file is large enough, based on
the ds_cnt and the total number of RRA rows
-- kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1570 a5681a0c-68f1-0310-ab6d-d61299d08faa
Attached is a patch to lower the version requirements of libtool and
automake. I have tested this on CentOS 4.x with the specified
versions of libtool and automake and was able to build RRDTool fine.
I did *not* test building with PHP, tcl, ruby or Python though.
I also abstracted the version numbers of all the dependencies such
that editing them in the future will be easier.
-- Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1538 a5681a0c-68f1-0310-ab6d-d61299d08faa
automake. I have tested this on CentOS 4.x with the specified
versions of libtool and automake and was able to build RRDTool fine.
I did *not* test building with PHP, tcl, ruby or Python though.
I also abstracted the version numbers of all the dependencies such
that editing them in the future will be easier.
-- Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1538 a5681a0c-68f1-0310-ab6d-d61299d08faa
Attached is a patch against the spec file shipped with
rrdtool-1.3.3.spec which will make it buildable (at least it works on
my CentOS 4.x system). -- Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1536 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrdtool-1.3.3.spec which will make it buildable (at least it works on
my CentOS 4.x system). -- Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1536 a5681a0c-68f1-0310-ab6d-d61299d08faa
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.3/program@1530 a5681a0c-68f1-0310-ab6d-d61299d08faa
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.3/program@1530 a5681a0c-68f1-0310-ab6d-d61299d08faa
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.3/program@1529 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1529 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed destdir for default install of language bindings and removed sepp preference
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1516 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1516 a5681a0c-68f1-0310-ab6d-d61299d08faa
use default prefix for ruby install if no user defined prefix is available
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1515 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1515 a5681a0c-68f1-0310-ab6d-d61299d08faa
Bsd lirary path switch added to perl bindings makefile -- as suggested by Kevin Brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1513 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1513 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fix for debian bug 498183 ... never *advise after the end of the
file. On sparc this causes a segfault. Thanks to Sebastian Harl and Jurij Smakov for finding this.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1512 a5681a0c-68f1-0310-ab6d-d61299d08faa
file. On sparc this causes a segfault. Thanks to Sebastian Harl and Jurij Smakov for finding this.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1512 a5681a0c-68f1-0310-ab6d-d61299d08faa
added missing bottom config
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1510 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1510 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3.3
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1509 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1509 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix release script for 1.3 branche
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1508 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1508 a5681a0c-68f1-0310-ab6d-d61299d08faa
resync with trunk since these are fixes
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1503 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1503 a5681a0c-68f1-0310-ab6d-d61299d08faa
branching for 1.3
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1492 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1492 a5681a0c-68f1-0310-ab6d-d61299d08faa
16 years agoThe attached patch eliminates the many places where the rra_current pointer was maint...
The attached patch eliminates the many places where the rra_current pointer was maintained; the existing write/seek mechanisms update rrd_file->pos correctly.
Also, the seek at the front of process_arg is not necessary; write_to_rras will now take care to correct the file position at every update cycle.
This eliminates unnecessary rrd_seek() calls when MMAP is not enabled. -- kevin brintnall kbrint rufus.net
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1488 a5681a0c-68f1-0310-ab6d-d61299d08faa
Also, the seek at the front of process_arg is not necessary; write_to_rras will now take care to correct the file position at every update cycle.
This eliminates unnecessary rrd_seek() calls when MMAP is not enabled. -- kevin brintnall kbrint rufus.net
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1488 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3.2
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1484 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1484 a5681a0c-68f1-0310-ab6d-d61299d08faa
we need rrd_format.h here for things to compile properly
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1483 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1483 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated opensolaris build instructions
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1482 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1482 a5681a0c-68f1-0310-ab6d-d61299d08faa
only link build and use rrd_getopt if there is no getopt_long provided by
by the os ... this should also fix problems for solaris 2.8 and other
non getopt_long oses who were not taken care of anymore after the intriduction of librrd.sym
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1481 a5681a0c-68f1-0310-ab6d-d61299d08faa
by the os ... this should also fix problems for solaris 2.8 and other
non getopt_long oses who were not taken care of anymore after the intriduction of librrd.sym
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1481 a5681a0c-68f1-0310-ab6d-d61299d08faa
16 years agofix for multi update - data corruption bug as reported (and patched) in #178 by kevin...
fix for multi update - data corruption bug as reported (and patched) in #178 by kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1480 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1480 a5681a0c-68f1-0310-ab6d-d61299d08faa
make pod checker happy
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1479 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1479 a5681a0c-68f1-0310-ab6d-d61299d08faa
inline functions are not supported in c99 ... lets remove this.
the compiler will foture it out if they are important.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1478 a5681a0c-68f1-0310-ab6d-d61299d08faa
the compiler will foture it out if they are important.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1478 a5681a0c-68f1-0310-ab6d-d61299d08faa
introduced a persistant fontmap ... this makes our pango rendering 6 times faster starting from the second graph we draw.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1477 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1477 a5681a0c-68f1-0310-ab6d-d61299d08faa
now the results actually look as they did with the old code only things are FASTER
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1476 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1476 a5681a0c-68f1-0310-ab6d-d61299d08faa
16 years agoImprove performance by keeping multiple pango font descriptions. For the first invoca...
Improve performance by keeping multiple pango font descriptions. For the first invocation we are about 20% times as fast
for the second one about 4-5 times faster ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1475 a5681a0c-68f1-0310-ab6d-d61299d08faa
for the second one about 4-5 times faster ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1475 a5681a0c-68f1-0310-ab6d-d61299d08faa
trying to improve the pango performance I added facilities to cache layout,context and more in between invocations of
the text function, unfortunately it does not seem to help all that much.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1474 a5681a0c-68f1-0310-ab6d-d61299d08faa
the text function, unfortunately it does not seem to help all that much.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1474 a5681a0c-68f1-0310-ab6d-d61299d08faa
use the standart info free function
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1473 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1473 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix handling of error conditions in rrd_tool.c ... errno is not for detection, only for information AFTER detection.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1471 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1471 a5681a0c-68f1-0310-ab6d-d61299d08faa
free the linebuffer if you don't return it!
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1470 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1470 a5681a0c-68f1-0310-ab6d-d61299d08faa
some more leak plugging
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1469 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1469 a5681a0c-68f1-0310-ab6d-d61299d08faa
drop the dummy surface prior to creating the real one
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1468 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1468 a5681a0c-68f1-0310-ab6d-d61299d08faa
added some freeing for error conditions
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1467 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1467 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
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...
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1465 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix indentation
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1464 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1464 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1463 a5681a0c-68f1-0310-ab6d-d61299d08faa
it is rb_rrd_infocall not rrd_infocall ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1462 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1462 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
results from PRINT either. Fix for #163.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1461 a5681a0c-68f1-0310-ab6d-d61299d08faa
documentation updates
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1460 a5681a0c-68f1-0310-ab6d-d61299d08faa
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...
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1459 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
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
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1456 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed some c++ style lines -- David Masterson
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1455 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1455 a5681a0c-68f1-0310-ab6d-d61299d08faa
spelling fix
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1454 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1454 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1453 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
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...
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1446 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1445 a5681a0c-68f1-0310-ab6d-d61299d08faa
header-fix
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1444 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1444 a5681a0c-68f1-0310-ab6d-d61299d08faa
improve layout
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1443 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1443 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1441 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1440 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1439 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
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
added note on %S
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1435 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1435 a5681a0c-68f1-0310-ab6d-d61299d08faa
made news the same as the announcement
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1434 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1434 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1432 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1428 a5681a0c-68f1-0310-ab6d-d61299d08faa
preparing for 1.3
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1427 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1427 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
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
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1425 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1424 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1423 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
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
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1420 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed indenting
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1419 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1419 a5681a0c-68f1-0310-ab6d-d61299d08faa
update to rpm spec from Jarod Wilson
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1418 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1418 a5681a0c-68f1-0310-ab6d-d61299d08faa
export some more symbols from librrd
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1417 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1417 a5681a0c-68f1-0310-ab6d-d61299d08faa
windows should use a windows font
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1416 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1416 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1415 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3rc9
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1413 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1413 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1412 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrd_freemem has to be exported as well ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1411 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1411 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1409 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3rc8
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1407 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1407 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3rc8
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1406 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1406 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
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
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1404 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1403 a5681a0c-68f1-0310-ab6d-d61299d08faa
added pango markup name
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1402 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1402 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed indenting
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1401 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1401 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1400 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1399 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed indenting
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1398 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1398 a5681a0c-68f1-0310-ab6d-d61299d08faa
enable new building for newer tcl versions
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1397 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1397 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated documentation of library versioning system
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1396 a5681a0c-68f1-0310-ab6d-d61299d08faa
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...
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1395 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1394 a5681a0c-68f1-0310-ab6d-d61299d08faa