Code

rrdtool-all.git
13 years agomake sure an extra %s in the secondi axis format does not kill us
oetiker [Wed, 25 Aug 2010 20:15:26 +0000 (20:15 +0000)]
make sure an extra %s in the secondi axis format does not kill us

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2123 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoit's filename not filtename
oetiker [Tue, 24 Aug 2010 05:20:40 +0000 (05:20 +0000)]
it's filename not filtename

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2122 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoin remote mode, make argument count for remote commmands strict as suggested by Dave...
oetiker [Mon, 23 Aug 2010 05:28:23 +0000 (05:28 +0000)]
in remote mode, make argument count for remote commmands strict as suggested by Dave Peticolas

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2119 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoFirst bug: in function rrd_fetch_fn_libdbi() variable 'struct sql_table_helper table_...
oetiker [Sun, 22 Aug 2010 17:56:02 +0000 (17:56 +0000)]
First bug: in function rrd_fetch_fn_libdbi() variable 'struct sql_table_helper table_help'
field 'filename' is uninitialized. So, if a sql error happens, it does not print an error like this
rrd_set_error( "libdbi: problems connecting to db with connect string %s - error: %s",th->filename,dbi_errstr);
instead of, it dumps core.

Second bug: when the output data buffer is allocated, it allocated for 'rows-1' max index, but in
'fetch loop' 'idx' may be equal to 'rows', so it needs one more extra record in data.

-- Pavel Nikiforov pavel artx.ru

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2118 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agohunting down pango allocation issues ... now the memory loss in rrd_graph seems to...
oetiker [Tue, 17 Aug 2010 21:41:03 +0000 (21:41 +0000)]
hunting down pango allocation issues ... now the memory loss in rrd_graph seems to be independant of the number
of graphs generated. fix for #208

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2117 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agorrdcached: Let the -s, -m and -P options affect the default socket as well -- Sebasti...
oetiker [Mon, 26 Jul 2010 05:35:11 +0000 (05:35 +0000)]
rrdcached: Let the -s, -m and -P options affect the default socket as well -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2116 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoprint \n for log messages while runing rrdcached in the foreground ... suggested...
oetiker [Sat, 10 Jul 2010 10:21:54 +0000 (10:21 +0000)]
print \n for log messages while runing rrdcached in the foreground ... suggested by Bernard Li

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2115 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoone with is enough
oetiker [Wed, 7 Jul 2010 21:07:26 +0000 (21:07 +0000)]
one with is enough

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2114 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoupdated
oetiker [Tue, 6 Jul 2010 05:48:17 +0000 (05:48 +0000)]
updated

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2112 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoprepare for the release of rrdtool-1.4.4
oetiker [Mon, 5 Jul 2010 19:31:21 +0000 (19:31 +0000)]
prepare for the release of rrdtool-1.4.4

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2110 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoprepare for the release of rrdtool-1.4.4
oetiker [Mon, 5 Jul 2010 16:09:56 +0000 (16:09 +0000)]
prepare for the release of rrdtool-1.4.4

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2109 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoprepare for the release of rrdtool-1.4.4
oetiker [Mon, 5 Jul 2010 16:05:17 +0000 (16:05 +0000)]
prepare for the release of rrdtool-1.4.4

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2108 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoprepare for the release of rrdtool-1.4.4
oetiker [Mon, 5 Jul 2010 16:04:23 +0000 (16:04 +0000)]
prepare for the release of rrdtool-1.4.4

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2107 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoprepare for the release of rrdtool-1.4.4
oetiker [Mon, 5 Jul 2010 15:38:22 +0000 (15:38 +0000)]
prepare for the release of rrdtool-1.4.4

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2106 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agodo not try to whisk i18n support into existance ... use it when its there
oetiker [Mon, 5 Jul 2010 15:29:56 +0000 (15:29 +0000)]
do not try to whisk i18n support into existance ... use it when its there
don't when it is not, rrdtool works fine either way.

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2104 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years ago* make rrd_getopt compile on solaris
oetiker [Mon, 5 Jul 2010 13:19:18 +0000 (13:19 +0000)]
* make rrd_getopt compile on solaris
* unify isinf isnan definitions for compilation and configuration
* replace round by rint if round is not available

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2103 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agowritten change log
oetiker [Mon, 5 Jul 2010 08:08:54 +0000 (08:08 +0000)]
written change log

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2102 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agobackport FP_* fixes and revert FPCLASSIFY fix since there the FP_* values are defines.
oetiker [Sun, 4 Jul 2010 20:59:49 +0000 (20:59 +0000)]
backport FP_* fixes and revert FPCLASSIFY fix since there the FP_* values are defines.

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2101 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoupdated build tips for updated win32 port by Chris Larsen
oetiker [Fri, 2 Jul 2010 12:53:49 +0000 (12:53 +0000)]
updated build tips for updated win32 port by Chris Larsen

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2099 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agorrd_update and rrd_rpncalc - fix casts introduced by win32 patch to make gcc happy too
oetiker [Fri, 2 Jul 2010 05:33:10 +0000 (05:33 +0000)]
rrd_update and rrd_rpncalc - fix casts introduced by win32 patch to make gcc happy too

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2098 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agothese are bash scripts so lets call bash
oetiker [Thu, 1 Jul 2010 22:22:47 +0000 (22:22 +0000)]
these are bash scripts so lets call bash

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2097 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years ago* patches to make rrdtool compile on win32 (trunk and 1.4)
oetiker [Thu, 1 Jul 2010 20:49:42 +0000 (20:49 +0000)]
* patches to make rrdtool compile on win32 (trunk and 1.4)
* dotnet bindings (trunk)  by Euphoria Audio

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2095 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agosrc/rrd_client.c: Fix a potential segmentation fault in "get_path".
oetiker [Wed, 30 Jun 2010 12:48:47 +0000 (12:48 +0000)]
src/rrd_client.c: Fix a potential segmentation fault in "get_path".

The "get_path" function is called at least from "rrdc_update" without
checking for a connection first. In that case the "sd_path" pointer may be
NULL, so dereferencing it without checking for NULL is not good behavior.

This patch checks all arguments of the "get_path" function and returns an
error if any pointer is NULL. -- Florian Forster

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2094 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agofixed solaris regression introduced in r1904 ... now the isnan macro should work...
oetiker [Fri, 25 Jun 2010 21:41:50 +0000 (21:41 +0000)]
fixed solaris regression introduced in r1904 ... now the isnan macro should work again ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2093 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoTiny, tiny documentation fix -- Peter Valdemar Mørch
oetiker [Fri, 11 Jun 2010 15:13:05 +0000 (15:13 +0000)]
Tiny, tiny documentation fix -- Peter Valdemar Mørch

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2091 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoadded ivaylo
oetiker [Fri, 11 Jun 2010 14:49:29 +0000 (14:49 +0000)]
added ivaylo

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2089 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoMAC OS X ships with binaries named 'libtool' and 'libtoolize' which are
oetiker [Wed, 2 Jun 2010 20:15:20 +0000 (20:15 +0000)]
MAC OS X ships with binaries named 'libtool' and 'libtoolize' which are
not the GNU tools. Those are prefixed with letter 'g'. --  Antoine Musso

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2086 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agorrd_open: include rrd_tool.h at the very start so that utime.h gets included if...
oetiker [Wed, 2 Jun 2010 04:49:53 +0000 (04:49 +0000)]
rrd_open:  include rrd_tool.h at the very start so that utime.h gets included if HAVE_BROKEN_MS_ASYNC
got set by configure. -- Antoine MUSSO

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2085 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years ago[rrd_client.c] RRD client should resolve all paths when talking to a unix socket...
oetiker [Fri, 28 May 2010 04:55:14 +0000 (04:55 +0000)]
[rrd_client.c] RRD client should resolve all paths when talking to a unix socket. This allows realpath() to resolve symbolic links, "..", etc. reported by: Eduardo Bragatto -- kevin brintnall

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2083 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agomake the xport command handles the --daemon option properly -- unknown contributor...
oetiker [Thu, 27 May 2010 06:09:47 +0000 (06:09 +0000)]
make the xport command handles the --daemon option properly -- unknown contributor #265

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2082 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoextend floss exception to php 3.01 license
oetiker [Tue, 11 May 2010 14:55:18 +0000 (14:55 +0000)]
extend floss exception to php 3.01 license

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2080 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agocant have TIME on it's own in CDEF
oetiker [Mon, 10 May 2010 11:56:59 +0000 (11:56 +0000)]
cant have TIME on it's own in CDEF

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2079 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agorrd_client.c: explicitly close the connection on error in
oetiker [Fri, 30 Apr 2010 15:50:16 +0000 (15:50 +0000)]
rrd_client.c: explicitly close the connection on error in
response_read. I've found it to get stuck otherwise. -- Thorsten von Eicken

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2075 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agowhen using CDEF datasources in rrd, the rpnp in process_pdp_st (allocated in rpn_expa...
oetiker [Thu, 29 Apr 2010 05:40:59 +0000 (05:40 +0000)]
when using CDEF datasources in rrd, the rpnp in process_pdp_st (allocated in rpn_expand) in is never freed -- Frederik Kriewitz

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2073 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoWhen specifying a relative path (-j option) rrd_cached would segfault when
oetiker [Mon, 26 Apr 2010 12:38:11 +0000 (12:38 +0000)]
When specifying a relative path (-j option) rrd_cached would segfault when
trying to read past journals (journal_init function). Added an extra check
to journal_init before reading the directory, and, when parsing the command
line options, to expand the relative path to an absolute path. -- Adrian-Ioan Vasile yoyo@opennet.ro

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2072 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoRelicense the RRDCacheD client interface under the MIT license. This
oetiker [Mon, 26 Apr 2010 05:58:15 +0000 (05:58 +0000)]
Relicense the RRDCacheD client interface under the MIT license. This
allows the interface to be used from non-GPL applications by copying the
source code files into the projects source tree. -- Florian Forster rrdtool@octo.it

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2070 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agomake rrdtool compile with gcc 4.5 if -std=c99 is set -- anicka@suse.cz
oetiker [Sun, 18 Apr 2010 16:33:54 +0000 (16:33 +0000)]
make rrdtool compile with gcc 4.5 if -std=c99 is set -- anicka@suse.cz

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2069 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agounify marking of unused arguments
oetiker [Wed, 7 Apr 2010 13:04:33 +0000 (13:04 +0000)]
unify marking of unused arguments

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2068 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agofix info syntax
oetiker [Sat, 3 Apr 2010 06:59:19 +0000 (06:59 +0000)]
fix info syntax

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2066 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agowhen printing time_t use %lld with (long long int) for portability
oetiker [Mon, 29 Mar 2010 16:26:55 +0000 (16:26 +0000)]
when printing time_t use %lld with (long long int) for portability

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2057 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years ago* do add intl directory back to Makefile.am ... no use distributing the stuff if...
oetiker [Sun, 28 Mar 2010 09:04:49 +0000 (09:04 +0000)]
* do add intl directory back to Makefile.am ... no use distributing the stuff if we don't use it
* link pangocairo and not pango ... thanks Stephen S. Disbrow for finding this

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2052 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoadded solaris cairo build hint
oetiker [Fri, 26 Mar 2010 20:36:23 +0000 (20:36 +0000)]
added solaris cairo build hint

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2051 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agorrdcached: Updated help output
oetiker [Wed, 24 Mar 2010 17:19:57 +0000 (17:19 +0000)]
rrdcached: Updated help output
rrdcached: Exit with status != 0, if an invalid command line option was used. -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2049 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agobranched from trunk
oetiker [Mon, 22 Mar 2010 18:58:49 +0000 (18:58 +0000)]
branched from trunk

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2047 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agofix roger
oetiker [Wed, 17 Mar 2010 21:48:15 +0000 (21:48 +0000)]
fix roger

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2032 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agonew silver sponsors
oetiker [Mon, 8 Feb 2010 17:42:20 +0000 (17:42 +0000)]
new silver sponsors

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2019 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoadded sdr
oetiker [Fri, 5 Feb 2010 17:26:46 +0000 (17:26 +0000)]
added sdr

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2015 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoadded nedi
oetiker [Thu, 4 Feb 2010 21:02:44 +0000 (21:02 +0000)]
added nedi

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2014 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agofix groundwork links
oetiker [Mon, 25 Jan 2010 20:30:28 +0000 (20:30 +0000)]
fix groundwork links

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2009 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agore-added groundworks
oetiker [Mon, 25 Jan 2010 20:16:30 +0000 (20:16 +0000)]
re-added groundworks

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2008 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoupdate download instructions
oetiker [Thu, 21 Jan 2010 14:42:01 +0000 (14:42 +0000)]
update download instructions

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2007 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoremoved groundwork form sponsorship
oetiker [Mon, 18 Jan 2010 10:35:20 +0000 (10:35 +0000)]
removed groundwork form sponsorship

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2004 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoadded m5 hosting
oetiker [Sat, 2 Jan 2010 16:26:55 +0000 (16:26 +0000)]
added m5 hosting

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1994 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoadded m5 hosting
oetiker [Tue, 29 Dec 2009 07:45:25 +0000 (07:45 +0000)]
added m5 hosting

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1993 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoadded the bitsource
oetiker [Fri, 18 Dec 2009 05:22:22 +0000 (05:22 +0000)]
added the bitsource

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1991 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoinitial
oetiker [Wed, 9 Dec 2009 14:53:21 +0000 (14:53 +0000)]
initial

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1988 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoadded new links, sponsor
oetiker [Wed, 9 Dec 2009 14:37:59 +0000 (14:37 +0000)]
added new links, sponsor

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1987 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agogallery fixes
oetiker [Mon, 16 Nov 2009 15:17:01 +0000 (15:17 +0000)]
gallery fixes

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1975 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoupdated gallery
oetiker [Mon, 16 Nov 2009 15:08:25 +0000 (15:08 +0000)]
updated gallery

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1974 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoupdate for 1.4
oetiker [Wed, 28 Oct 2009 20:05:35 +0000 (20:05 +0000)]
update for 1.4

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1966 a5681a0c-68f1-0310-ab6d-d61299d08faa