Code

rrdtool.git
15 years ago* make the time_t size checking code safer by complaining about the non matching...
oetiker [Sun, 5 Jul 2009 06:52:51 +0000 (06:52 +0000)]
* make the time_t size checking code safer by complaining about the non matching case
* fix some leftover ulong comments to llong

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

15 years agomake sure we use long long and long with time_t appropriately
oetiker [Sat, 4 Jul 2009 14:35:39 +0000 (14:35 +0000)]
make sure we use long long and long with time_t appropriately

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

15 years agofix bad pdf links
oetiker [Wed, 10 Jun 2009 12:17:11 +0000 (12:17 +0000)]
fix bad pdf links

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

15 years agomake config.h a symlink to rrd_config.h so that intl/Makefile is happy
oetiker [Mon, 8 Jun 2009 05:12:26 +0000 (05:12 +0000)]
make config.h a symlink to rrd_config.h so that intl/Makefile is happy

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

15 years agoRelax automake requirements and make 1.11 features optional -- kevin brintnall
oetiker [Mon, 8 Jun 2009 04:56:56 +0000 (04:56 +0000)]
Relax automake requirements and make 1.11 features optional -- kevin brintnall

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

15 years agoMention that negative time values should be separated by '--' in rrdupdate.pod -...
oetiker [Tue, 2 Jun 2009 13:55:40 +0000 (13:55 +0000)]
Mention that negative time values should be separated by '--' in rrdupdate.pod -- Sebastian Harl

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

15 years agoMake rrdtool compile on GNU/kFreeBSD. Fix for Debian bug 494874. Patch by Petr Salinger.
oetiker [Mon, 1 Jun 2009 14:01:51 +0000 (14:01 +0000)]
Make rrdtool compile on GNU/kFreeBSD. Fix for Debian bug 494874. Patch by Petr Salinger.

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

15 years agomake negative update times work as diescribed in the documentation (-5 is NOW-5seconds)
oetiker [Mon, 1 Jun 2009 13:58:58 +0000 (13:58 +0000)]
make negative update times work as diescribed in the documentation (-5 is NOW-5seconds)
this takes care of debian bug 332766

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

15 years agomadvise hints may not be ORed since they are enumerated ... #224
oetiker [Thu, 28 May 2009 05:26:37 +0000 (05:26 +0000)]
madvise hints may not be ORed since they are enumerated ... #224

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

15 years agoback to 0.14.4
oetiker [Wed, 27 May 2009 16:23:18 +0000 (16:23 +0000)]
back to 0.14.4

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

15 years agodefault Makevars
oetiker [Wed, 27 May 2009 16:22:11 +0000 (16:22 +0000)]
default Makevars

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

15 years agoget latest gettext
oetiker [Wed, 27 May 2009 16:20:43 +0000 (16:20 +0000)]
get latest gettext

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

15 years ago0.14.4 of gettext should be enough ...
oetiker [Wed, 27 May 2009 16:20:23 +0000 (16:20 +0000)]
0.14.4 of gettext should be enough ...

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

15 years agoswitch from intltoolize to autopoint ... for a more happy gettext experiance
oetiker [Wed, 27 May 2009 16:19:46 +0000 (16:19 +0000)]
switch from intltoolize to autopoint ... for a more happy gettext experiance

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

15 years agofix autotool version
oetiker [Wed, 27 May 2009 14:20:46 +0000 (14:20 +0000)]
fix autotool version

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

15 years agofix autotool version on james for autobuild
oetiker [Wed, 27 May 2009 14:18:44 +0000 (14:18 +0000)]
fix autotool version on james for autobuild

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

15 years agoonly include utime.h when necessary
oetiker [Mon, 25 May 2009 06:05:55 +0000 (06:05 +0000)]
only include utime.h when necessary

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

15 years ago* in 1.3: Changed types used in rrd_file_t from off_t to size_t to prevent: warning...
oetiker [Sun, 24 May 2009 10:31:44 +0000 (10:31 +0000)]
* in 1.3: Changed types used in rrd_file_t from off_t to size_t to prevent: warning: comparison between signed and unsigned
* Misc other off_t -> size_t changes to prevent signed warning
* in 1.3: Added rrd_dump_opt_r declaration to prevent undef warning
* Explicit cast to time_t of check in rrd_fetch to prevent signed warning
* Added vasprintf path to sprintf_alloc to prevent excessive mallocing
* in 1.3: fixed STRERROR_R_CHAR_P undef warning

patch by Steven Hartland killing multiplay.co.uk

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

15 years agoreset errno right befor the place where we look at it ...
oetiker [Fri, 22 May 2009 14:55:40 +0000 (14:55 +0000)]
reset errno right befor the place where we look at it ...

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

15 years agofix error messages on the road to fix #222
oetiker [Fri, 22 May 2009 11:32:21 +0000 (11:32 +0000)]
fix error messages on the road to fix #222

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

15 years agoprepare for the release of rrdtool-1.3.8
oetiker [Tue, 19 May 2009 13:45:05 +0000 (13:45 +0000)]
prepare for the release of rrdtool-1.3.8

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

15 years agointegrated fix for debian bug #529291 as supplied by Anders Hammarquist
oetiker [Mon, 18 May 2009 14:23:23 +0000 (14:23 +0000)]
integrated fix for debian bug #529291 as supplied by Anders Hammarquist

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

15 years agofix rrd_getops use of external variables (optarg and friends) ... most
oetiker [Mon, 11 May 2009 21:25:57 +0000 (21:25 +0000)]
fix rrd_getops use of external variables (optarg and friends) ... most
prominently is kills a segfault when using rrdtool perl bindings on
solaris ... thanks to Ihsan Dogan for helping with tracking this down and providing
access to sparc solaris boxes.

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

15 years agoadded some remarks on CDEF versus VDEF to the docs -- Pablo Sanchez
oetiker [Wed, 29 Apr 2009 06:52:25 +0000 (06:52 +0000)]
added some remarks on CDEF versus VDEF to the docs -- Pablo Sanchez

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

15 years agoadd documentation for graph-render-mode
oetiker [Fri, 17 Apr 2009 09:53:57 +0000 (09:53 +0000)]
add documentation for graph-render-mode

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

15 years agofix comments and error messages in rrd_restore patch
oetiker [Wed, 15 Apr 2009 07:05:58 +0000 (07:05 +0000)]
fix comments and error messages in rrd_restore patch

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

15 years agoFix casting issues in rrd_restore. The bug manifested when compiled on sparc v9 as...
oetiker [Wed, 15 Apr 2009 07:02:04 +0000 (07:02 +0000)]
Fix casting issues in rrd_restore. The bug manifested when compiled on sparc v9 as explained in #218.
Patch based in input provided by poster of #218.

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

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

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

15 years agoGenerate an error message when using RRDp with graph - this can not work reliably...
oetiker [Tue, 14 Apr 2009 07:51:20 +0000 (07:51 +0000)]
Generate an error message when using RRDp with graph - this can not work reliably. (Debian Bug#251701) -- Sebastian Harl

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

15 years agoadded missing newline -- by sebastian harl
oetiker [Thu, 9 Apr 2009 15:04:27 +0000 (15:04 +0000)]
added missing newline -- by sebastian harl

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

15 years agoprepare for the release of rrdtool-1.3.7
oetiker [Tue, 7 Apr 2009 07:31:53 +0000 (07:31 +0000)]
prepare for the release of rrdtool-1.3.7

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

15 years agofix build docs
oetiker [Tue, 7 Apr 2009 07:23:39 +0000 (07:23 +0000)]
fix build docs

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

15 years agoprovide have m4 macros go here
oetiker [Tue, 7 Apr 2009 07:21:48 +0000 (07:21 +0000)]
provide have m4 macros go here

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

15 years agoset helper directory
oetiker [Tue, 7 Apr 2009 07:20:45 +0000 (07:20 +0000)]
set helper directory

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

15 years agofix lazy fix ... syntax error
oetiker [Tue, 7 Apr 2009 07:20:18 +0000 (07:20 +0000)]
fix lazy fix ... syntax error

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

15 years agoupdate ACLOCAL flags
oetiker [Tue, 7 Apr 2009 07:19:35 +0000 (07:19 +0000)]
update ACLOCAL flags

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

15 years agofix for #213 restore old behaviour of --lazy. Even in lazy mode all the data
oetiker [Tue, 7 Apr 2009 06:37:17 +0000 (06:37 +0000)]
fix for #213 restore old behaviour of --lazy. Even in lazy mode all the data
calculation elements are run. The main time saving comes from the fact that
the graph is not being drawn and the image does not have to be compressed.

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

15 years agomake sure rrd_dump outputs numbers with C locale so that . does not suddenly become...
oetiker [Tue, 7 Apr 2009 06:03:49 +0000 (06:03 +0000)]
make sure rrd_dump outputs numbers with C locale so that . does not suddenly become , this fixes #212

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

15 years agoprintf for time_t with %lli can easily cause a segfault since on many platforms
oetiker [Mon, 6 Apr 2009 14:12:21 +0000 (14:12 +0000)]
printf for time_t with %lli can easily cause a segfault since on many platforms
time_t is only 32bit ... by adding (long long) to the time value this gets fixed.

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

15 years agoremoved more rrd_flush instances
oetiker [Sat, 21 Mar 2009 10:44:46 +0000 (10:44 +0000)]
removed more rrd_flush instances

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

15 years agorrd_flush is not necessary here this used to ba a call to fflush which is something...
oetiker [Sat, 21 Mar 2009 09:55:30 +0000 (09:55 +0000)]
rrd_flush is not necessary here this used to ba a call to fflush which is something different anyway.

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

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

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

15 years agothere were two lines of debug info printed by rrd_xport, messing up the xml code...
oetiker [Fri, 6 Mar 2009 05:51:34 +0000 (05:51 +0000)]
there were two lines of debug info printed by rrd_xport, messing up the xml code. Fix by Alejandro Galue.

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

15 years agoEven though POSIX/XSI requires "strerror_r" to return an "int", some systems
oetiker [Fri, 6 Mar 2009 05:40:17 +0000 (05:40 +0000)]
Even though POSIX/XSI requires "strerror_r" to return an "int", some systems
(e.g. the GNU libc) return a "char *" _and_ ignore the second argument (user
provided buffer). The configure script now checks for that behavior using
AC_FUNC_STRERROR_R. rrd_strerror() in rrd_thread_safe.c has been updated to
(hopefully) handle all possible cases.

Previously, rrd_strerror() would have returned "strerror_r failed. sorry!" in
mostly any cases when using glibc, since "if (strerror_r())" had been used to
check for errors which evaluates to true if a (non-NULL) pointer was returned.

Now, we, at least, return the error number in case anything else fails.

Thanks to Alessandro Iurlano for reporting this issue after spotting it in
collectd <http://collectd.org>.

patch by Sebastian Harl

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

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

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

15 years agoDocumentation fixes by Bernhard Reutner-Fischer
oetiker [Sat, 21 Feb 2009 09:22:38 +0000 (09:22 +0000)]
Documentation fixes by  Bernhard Reutner-Fischer

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

15 years agoadded doc on new graphv graph_start und graph_end info variables
oetiker [Sun, 25 Jan 2009 22:39:34 +0000 (22:39 +0000)]
added doc on new graphv graph_start und graph_end info variables

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

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

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

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

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

15 years agoMissed to include utime.h. #207.
oetiker [Thu, 22 Jan 2009 15:43:18 +0000 (15:43 +0000)]
Missed to include utime.h. #207.

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

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

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

15 years agoIn rrd_graph: the width/height values are written into rrd_infoval_t's u_cnt
oetiker [Wed, 14 Jan 2009 08:14:31 +0000 (08:14 +0000)]
In rrd_graph: the width/height values are written into rrd_infoval_t's u_cnt
but read out of u_int (u_long vs. int). This breaks on LP64BE. Patch by
Rafal Boni rafal pobox.com

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

15 years agowith MMAP enabled rrd resize GROW was broken ... this fixes it ...
oetiker [Tue, 6 Jan 2009 16:32:16 +0000 (16:32 +0000)]
with MMAP enabled rrd resize GROW was broken ... this fixes it ...

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

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

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

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

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

15 years agoInclude libgen.h to get prototype for basename in a POSIX conformant way. Fix for...
oetiker [Fri, 26 Dec 2008 08:05:03 +0000 (08:05 +0000)]
Include libgen.h to get prototype for basename in a POSIX conformant way. Fix for #202.

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

15 years agoimprovements for build docs by Zorzoli, Pablo
oetiker [Fri, 26 Dec 2008 08:03:06 +0000 (08:03 +0000)]
improvements for build docs by Zorzoli, Pablo

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

15 years agoshould free memory after a successful fetch too ...
oetiker [Mon, 22 Dec 2008 21:23:49 +0000 (21:23 +0000)]
should free memory after a successful fetch too ...

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

15 years agodocumentation fixes
oetiker [Mon, 22 Dec 2008 21:23:04 +0000 (21:23 +0000)]
documentation fixes

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

15 years agoFix for POD error by Sebasian Harl
oetiker [Mon, 22 Dec 2008 07:21:46 +0000 (07:21 +0000)]
Fix for POD error by Sebasian Harl

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

15 years agoFixes some typos by Sebastian Harl.
oetiker [Mon, 22 Dec 2008 07:20:17 +0000 (07:20 +0000)]
Fixes some typos by Sebastian Harl.

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

15 years agowin32 fixes by Stefan . Ludewig . exitgames . com
oetiker [Fri, 19 Dec 2008 14:26:47 +0000 (14:26 +0000)]
win32 fixes by Stefan . Ludewig . exitgames . com

* added portable plbasename since basename is not available on stock win32
* rrd_update was using %d to show a timestamp ... %lli is better
  since it also will show 64bit time_t correctly.

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

15 years agofix extra dist to include missing win32 files
oetiker [Thu, 18 Dec 2008 23:56:52 +0000 (23:56 +0000)]
fix extra dist to include missing win32 files

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

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

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

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

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

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

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

15 years agoOn some architectures, strtod does not turn "NaN" into 'Not A Number (NAN)'
oetiker [Wed, 10 Dec 2008 13:18:10 +0000 (13:18 +0000)]
On some architectures, strtod does not turn "NaN" into 'Not A Number (NAN)'
se we better provide our own code here.

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

15 years ago* forward ported right axis patch from 1.2 branche
oetiker [Tue, 9 Dec 2008 18:30:43 +0000 (18:30 +0000)]
* forward ported right axis patch from 1.2 branche
* fixed --full-size-mode sizing issue when used in combination with --title
the work in the axis patch has been sponsored by VoltWerk.

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

15 years agoFix for last method in ruby bindings -- Hiroyuki Ikezoe
oetiker [Mon, 8 Dec 2008 16:07:27 +0000 (16:07 +0000)]
Fix for last method in ruby bindings -- Hiroyuki Ikezoe

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

15 years agointegrate osx build hints as indicated in #192
oetiker [Fri, 5 Dec 2008 15:39:55 +0000 (15:39 +0000)]
integrate osx build hints as indicated in #192

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

15 years agoaccidentely removed #endif restored
oetiker [Fri, 5 Dec 2008 15:25:18 +0000 (15:25 +0000)]
accidentely removed #endif restored

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

15 years agocheck for broken implementations of msync / MS_ASYNC where
oetiker [Fri, 5 Dec 2008 15:18:11 +0000 (15:18 +0000)]
check for broken implementations of msync / MS_ASYNC where
the mtime does not get updated. warn and explicitly call utime
in rrd_open when a file is opened rw.

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

15 years agoLegends should NOT be placed in reverse order when using --full-size-mode ... this...
oetiker [Thu, 4 Dec 2008 16:01:37 +0000 (16:01 +0000)]
Legends should NOT be placed in reverse order when using --full-size-mode ... this fixed #198.

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

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

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

15 years agoUpdate to WIN32-BUILD-TIPS.txt and VC project files so that the rrdtool.exe can be...
oetiker [Thu, 4 Dec 2008 07:02:56 +0000 (07:02 +0000)]
Update to WIN32-BUILD-TIPS.txt and VC project files so that the rrdtool.exe can be built too.
-- Stefan Ludewig Stefan.Ludewig exitgames.com

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

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

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

15 years agoadded extra contributor
oetiker [Wed, 3 Dec 2008 10:42:07 +0000 (10:42 +0000)]
added extra contributor

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

15 years agomake rrdtool compile on windows with cv++. check out win32/rrdlib.vcproj.
oetiker [Tue, 2 Dec 2008 22:04:16 +0000 (22:04 +0000)]
make rrdtool compile on windows with cv++. check out win32/rrdlib.vcproj.
-- Christof.Wegmann with exitgames.com

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

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

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

16 years agobe even more liberal with NOT using isfinite on solaris2.8
oetiker [Sun, 9 Nov 2008 19:19:48 +0000 (19:19 +0000)]
be even more liberal with NOT using isfinite on solaris2.8

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

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

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

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

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

16 years agoadded librrd.pc to spec file as requested byu Bernard Li
oetiker [Fri, 7 Nov 2008 13:36:32 +0000 (13:36 +0000)]
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

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

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

16 years agomissed checkin for librrd.sym fix
oetiker [Mon, 27 Oct 2008 05:35:57 +0000 (05:35 +0000)]
missed checkin for librrd.sym fix

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

16 years agofix for osx porability ... the # in librrd.sym did not work well there
oetiker [Sun, 26 Oct 2008 15:16:35 +0000 (15:16 +0000)]
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

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

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

16 years agouse double for legend positioning to fight wiggle
oetiker [Fri, 17 Oct 2008 05:44:09 +0000 (05:44 +0000)]
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

16 years agofix version numbers
oetiker [Thu, 16 Oct 2008 21:32:42 +0000 (21:32 +0000)]
fix version numbers

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

16 years agoimproved docu
oetiker [Wed, 15 Oct 2008 22:34:13 +0000 (22:34 +0000)]
improved docu

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

16 years agoDaniel Pocock reported that the argument may be NULL in low-diskspace
oetiker [Tue, 7 Oct 2008 15:38:11 +0000 (15:38 +0000)]
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

16 years agoprepare for the release of rrdtool-1.3.4
oetiker [Sat, 4 Oct 2008 16:04:04 +0000 (16:04 +0000)]
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

16 years agofinite broken on solaris 9 too ?
oetiker [Sat, 4 Oct 2008 15:50:35 +0000 (15:50 +0000)]
finite broken on solaris 9 too ?

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

16 years ago* rrd_resize fixed so that it does NOT alter the original file (mmap side effect)
oetiker [Sat, 4 Oct 2008 13:34:54 +0000 (13:34 +0000)]
* 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

16 years agoThe patch fixs rrdtools behaviour when presented with trunkated rrd files.
oetiker [Fri, 3 Oct 2008 22:53:28 +0000 (22:53 +0000)]
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

16 years agoAttached is a patch to lower the version requirements of libtool and
oetiker [Sun, 28 Sep 2008 19:24:18 +0000 (19:24 +0000)]
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

16 years agoAttached is a patch against the spec file shipped with
oetiker [Sun, 28 Sep 2008 19:15:30 +0000 (19:15 +0000)]
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

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

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

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

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

16 years agofixed destdir for default install of language bindings and removed sepp preference
oetiker [Mon, 22 Sep 2008 06:34:02 +0000 (06:34 +0000)]
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