Code

rrdtool.git
11 years agocomplete segfault fix for second axis %s format begun in r2123 (thanks Martin Pelikan... 1.3
oetiker [Sun, 12 Aug 2012 14:37:31 +0000 (14:37 +0000)]
complete segfault fix for second axis %s format begun in r2123 (thanks Martin Pelikan for the hint)

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

11 years agoRRDs.xs uses &PL_sv_undef to insert undefined values into arrays and hashes. This...
oetiker [Tue, 31 Jul 2012 12:43:45 +0000 (12:43 +0000)]
RRDs.xs uses &PL_sv_undef to insert undefined values into arrays and hashes. This leads to all sorts of problems. For details, please see "AVs, HVs and undefined values" section in perlguts(1). -- patch by tobez+lars

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

11 years agofix warning: "__STRICT_ANSI__" is not defined warning patch by Gilles Esp
oetiker [Mon, 7 May 2012 07:31:28 +0000 (07:31 +0000)]
fix warning: "__STRICT_ANSI__" is not defined warning patch by Gilles Esp

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

12 years agomake sure the grid and label positioner does NOT take the dst state of the current...
oetiker [Tue, 10 Apr 2012 10:12:28 +0000 (10:12 +0000)]
make sure the grid and label positioner does NOT take the dst state of the current time into account.

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

12 years agobe more careful when finding pic flags
oetiker [Mon, 19 Dec 2011 16:03:09 +0000 (16:03 +0000)]
be more careful when finding pic flags

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

12 years agofix horyzontal alignement of lines and aread
oetiker [Fri, 16 Dec 2011 20:19:49 +0000 (20:19 +0000)]
fix horyzontal alignement of lines and aread

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

12 years agobackport improved grid-fitting
oetiker [Fri, 16 Dec 2011 17:40:15 +0000 (17:40 +0000)]
backport improved grid-fitting

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

12 years agorpn compare operators CAN return unknown ... (#293)
oetiker [Thu, 1 Dec 2011 15:27:24 +0000 (15:27 +0000)]
rpn compare operators CAN return unknown ... (#293)

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

12 years agoinitialize magfact to 1 ... fixes logarithm chart display issues (patch from Christop...
oetiker [Thu, 24 Nov 2011 15:07:23 +0000 (15:07 +0000)]
initialize magfact to 1 ... fixes logarithm chart display issues (patch from Christoph Biedl) #296

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

12 years agoafter fetching, data must be reduced to at least chart resolution, else some data...
oetiker [Thu, 24 Nov 2011 14:26:30 +0000 (14:26 +0000)]
after fetching, data must be reduced to at least chart resolution, else some data will not get plotted. fix for #298

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

13 years agoas rrd_cgi fails to parse stuff, do NOT try to fix up the mess ... it is bound to...
oetiker [Wed, 26 Jan 2011 08:38:47 +0000 (08:38 +0000)]
as rrd_cgi fails to parse stuff, do NOT try to fix up the mess ... it is bound to fail

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

13 years agomake sure we do not free stuff in rrdnew which was simply copied from rrdold and...
oetiker [Sat, 15 Jan 2011 12:53:43 +0000 (12:53 +0000)]
make sure we do not free stuff in rrdnew which was simply copied from rrdold and thus gets freed there already ...

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

13 years agofix wording regarding min/max setting
oetiker [Thu, 6 Jan 2011 15:39:55 +0000 (15:39 +0000)]
fix wording regarding min/max setting

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

13 years agodo not close the filehandle to the resize file of there was a problem getting it...
oetiker [Thu, 6 Jan 2011 15:00:34 +0000 (15:00 +0000)]
do not close the filehandle to the resize file of there was a problem getting it in the first place.

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

13 years agoadd extra space to LDFLAGS when building ruby bindings ... otherwhise this will break...
oetiker [Mon, 20 Dec 2010 07:03:40 +0000 (07:03 +0000)]
add extra space to LDFLAGS when building ruby bindings ... otherwhise this will break if there is already content in LDFLAGS ... fix for #284 thanks dam at opencsw.

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

13 years agofix use of %s in strftime rrdgraph (G)PRINT commands ... bug (#277) found by Denis...
oetiker [Fri, 10 Sep 2010 09:16:49 +0000 (09:16 +0000)]
fix use of %s in strftime rrdgraph (G)PRINT commands ... bug (#277) found by Denis, fix by tobi

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

13 years agofix use of setlocale all over the place ...
oetiker [Wed, 8 Sep 2010 12:15:13 +0000 (12:15 +0000)]
fix use of setlocale all over the place ...

-    old_locale = setlocale(LC_NUMERIC, "C");
+    old_locale = setlocale(LC_NUMERIC, NULL);
+    setlocale(LC_NUMERIC, "C");

the original version never restored the locale since it held a copy of the
new locale and not the old one despite the name. bug found by  Pawe? 'Reef' Polewicz

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

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.3/program@2123 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.3/program@2119 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.3/program@2117 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 years agoremove gettext copy ... just don't use it when we don't have it ...
oetiker [Mon, 5 Jul 2010 15:37:08 +0000 (15:37 +0000)]
remove gettext copy ... just don't use it when we don't have it ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@2105 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.3/program@2091 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 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.3/program@2080 a5681a0c-68f1-0310-ab6d-d61299d08faa

13 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.3/program@2073 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.3/program@2069 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agobackport documentation fix
oetiker [Fri, 2 Apr 2010 22:50:43 +0000 (22:50 +0000)]
backport documentation fix

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@2065 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.3/program@2057 a5681a0c-68f1-0310-ab6d-d61299d08faa

14 years agoadd 'm' as a shortcut for 'zoom' in rrd_graph (1.4 code+docu)
oetiker [Mon, 22 Mar 2010 09:05:39 +0000 (09:05 +0000)]
add 'm' as a shortcut for 'zoom' in rrd_graph (1.4 code+docu)
(1.3 only docu). Fix for Debian Bug 573299 provided by Sebastian Harl

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

14 years agoin rrd_cgi RRD::TIME::LAST do not raise argc when calling rrd_last since the strftime...
oetiker [Mon, 15 Mar 2010 08:43:22 +0000 (08:43 +0000)]
in rrd_cgi RRD::TIME::LAST do not raise argc when calling rrd_last since the strftime argument which
is provided is already in the count but does not get passed to rrd_last. Thanks to Robert Luberda (fixing Debian Bug #573638.)

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

14 years agoadded --no-overwrite option to rrdtool create. It prevents rrdtool from clobbering...
oetiker [Mon, 8 Mar 2010 17:10:02 +0000 (17:10 +0000)]
added --no-overwrite option to rrdtool create. It prevents rrdtool from clobbering existing rrd files. -- Chris - LINX

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

14 years agoruby binding fix: RRD graphv appears to not reset state properly - Sven Engelhardt
oetiker [Tue, 16 Feb 2010 10:54:13 +0000 (10:54 +0000)]
ruby binding fix: RRD graphv appears to not reset state properly -  Sven Engelhardt

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

14 years agonew (better) checker for incoming COUNTER or DERIVED data. thanks Florian!
oetiker [Thu, 14 Jan 2010 13:01:43 +0000 (13:01 +0000)]
new (better) checker for incoming COUNTER or DERIVED data. thanks Florian!

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

14 years agore-fix #243 checking for '\0' made the whole check pointless. Now it should actually...
oetiker [Thu, 14 Jan 2010 12:56:59 +0000 (12:56 +0000)]
re-fix #243 checking for '\0' made the whole check pointless. Now it should actually catch bad input.

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

14 years agomust use int for a proper for to the freebsd 32 time_t issue
oetiker [Mon, 11 Jan 2010 09:09:42 +0000 (09:09 +0000)]
must use int for a proper for to the freebsd 32 time_t issue

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

14 years agowe are using a comparison with sizeof(long) to figure the size of time_t this is...
oetiker [Mon, 11 Jan 2010 09:06:59 +0000 (09:06 +0000)]
we are using a comparison with sizeof(long) to figure the size of time_t this is unfortunate
since on freebsd in 64bit mode time_t is 32 bit while long is 64 bit

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

14 years agoThe end of the export range should not be adjusted DOWN but UP to hit the next matchi...
oetiker [Mon, 11 Jan 2010 08:11:19 +0000 (08:11 +0000)]
The end of the export range should not be adjusted DOWN but UP to hit the next matching step interval or the response will be one row short. Thanks swami for the bugreport.

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

14 years agothe end time itself is not part of a time range ... this fixes the segfault reported...
oetiker [Sat, 2 Jan 2010 16:33:26 +0000 (16:33 +0000)]
the end time itself is not part of a time range ... this fixes the segfault reported in #248

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

14 years agoadd missing 0,7000 to fix #246
oetiker [Mon, 30 Nov 2009 07:12:41 +0000 (07:12 +0000)]
add missing 0,7000 to fix #246

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

14 years agoremove duplicate help text -- Bernhard Reutner-Fischer
oetiker [Wed, 18 Nov 2009 12:45:52 +0000 (12:45 +0000)]
remove duplicate help text -- Bernhard Reutner-Fischer

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

14 years agobe more diligent in checking the input arguments for rrdtool update and complain...
oetiker [Mon, 16 Nov 2009 14:59:51 +0000 (14:59 +0000)]
be more diligent in checking the input arguments for rrdtool  update and complain if they are wrong. fix for #243 (and more)
--This line, and those below, will be ignored-

M    trunk/program/src/rrd_update.c
M    branches/1.3/program/src/rrd_update.c

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

14 years agoSwitch LC_NUMERIC to C prior to creating rrd_xport output. This makes sure that numbe...
oetiker [Sun, 15 Nov 2009 10:51:10 +0000 (10:51 +0000)]
Switch LC_NUMERIC to C prior to creating rrd_xport output. This makes sure that numbers are always output with a . and not with a ,

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

14 years agoprepare for the release of rrdtool-1.3.9
oetiker [Sat, 24 Oct 2009 10:46:42 +0000 (10:46 +0000)]
prepare for the release of rrdtool-1.3.9

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

14 years agodo not double free memory whenn quotes are missing in rrdtool pipe mode
oetiker [Thu, 22 Oct 2009 23:18:53 +0000 (23:18 +0000)]
do not double free memory whenn quotes are missing in rrdtool pipe mode

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

14 years agoinclude missing locale.h
oetiker [Thu, 22 Oct 2009 07:09:38 +0000 (07:09 +0000)]
include missing locale.h

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

14 years agomake sure rrdold members are not pointing anywhere after asigning them to rrdnew...
oetiker [Thu, 22 Oct 2009 07:07:23 +0000 (07:07 +0000)]
make sure rrdold members are not pointing anywhere after asigning them to rrdnew ... fix for #235.

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

14 years agoforce LC_NUMERIC to C while restoring ...
oetiker [Tue, 20 Oct 2009 19:25:33 +0000 (19:25 +0000)]
force LC_NUMERIC to C while restoring ...

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

14 years agorelax cairo pango requirements
oetiker [Wed, 2 Sep 2009 15:13:50 +0000 (15:13 +0000)]
relax cairo pango requirements

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

14 years agofix for #237 ... missing -G arg support in binary
oetiker [Thu, 20 Aug 2009 22:07:43 +0000 (22:07 +0000)]
fix for #237 ... missing -G arg support in binary

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

14 years ago-D takes not option ... fix for #238
oetiker [Thu, 20 Aug 2009 22:03:51 +0000 (22:03 +0000)]
-D takes not option ... fix for #238

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

14 years agoand is && and not binary & normally ... (thanks Bernhard)
oetiker [Wed, 19 Aug 2009 15:18:02 +0000 (15:18 +0000)]
and is && and not binary & normally ... (thanks Bernhard)

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

14 years agobackport from 1.4 round the index of the PERCENT selected element
oetiker [Wed, 19 Aug 2009 07:47:07 +0000 (07:47 +0000)]
backport from 1.4 round the index of the PERCENT selected element

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

14 years agofix freeing order when generating error messages. found by Dmitry V. Krivenok
oetiker [Tue, 11 Aug 2009 14:00:57 +0000 (14:00 +0000)]
fix freeing order when generating error messages. found by Dmitry V. Krivenok

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

14 years agoinclude math.h when compileing
oetiker [Mon, 10 Aug 2009 11:48:10 +0000 (11:48 +0000)]
include math.h when compileing

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

14 years agoremove extra \ in perl example
oetiker [Sat, 8 Aug 2009 14:06:25 +0000 (14:06 +0000)]
remove extra \ in perl example

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

14 years agoinclude PACKAGE_VERSION as version number for python module to fix #236
oetiker [Fri, 7 Aug 2009 06:04:59 +0000 (06:04 +0000)]
include PACKAGE_VERSION as version number for python module to fix #236

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

14 years agoin rrd > 1.3 it's called rrd_info_push ... and not just info_push ...
oetiker [Mon, 3 Aug 2009 18:51:20 +0000 (18:51 +0000)]
in rrd > 1.3 it's called rrd_info_push ... and not just info_push ...

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

14 years agoShow the index of each data source in the rrd_info output. Patch for #231 provided...
oetiker [Mon, 3 Aug 2009 18:45:04 +0000 (18:45 +0000)]
Show the index of each data source in the rrd_info output. Patch for #231 provided by Glenn Herteg, GroundWork Open Source, Inc.

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

14 years agoadd some more brackets just to be sure
oetiker [Mon, 6 Jul 2009 10:03:23 +0000 (10:03 +0000)]
add some more brackets just to be sure

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

14 years agomake this code windows save ???
oetiker [Sun, 5 Jul 2009 07:53:28 +0000 (07:53 +0000)]
make this code windows save ???

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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