]>
git.ipfire.org Git - thirdparty/rrdtool-1.x.git/log
Tobias Oetiker [Tue, 29 Nov 2011 22:42:45 +0000 (22:42 +0000)]
fix typo in configure.ac (regression from r2227) fix for #324
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2229
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 28 Nov 2011 07:38:54 +0000 (07:38 +0000)]
It seems that function graph_size_location() doesn't call xtr(im, 0) if (im->extra_flags & ONLY_GRAPH) != 0. Therefore, static variable pixie in function xtr() remains uninitialized (fix for #322). -- u00mp yandex.ru
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2228
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 28 Nov 2011 07:32:36 +0000 (07:32 +0000)]
fix glib dependency for --disable-rrd_graph and update library versions (fix for #323)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2227
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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.4/program@2225
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 24 Nov 2011 14:56:02 +0000 (14:56 +0000)]
updates to the win32 port -- Chris Larsen
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2224
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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.4/program@2221
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 24 Nov 2011 10:55:18 +0000 (10:55 +0000)]
properly handle the case where RRDCACHED_ADDRESS is an empty string
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2220
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 23 Nov 2011 16:54:17 +0000 (16:54 +0000)]
the number of COMPUTE rpn nodes is architecture dependent. calculate the right number and complain otherwise. Fix for #300.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2219
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 23 Nov 2011 08:53:49 +0000 (08:53 +0000)]
make rrd_mkdir_p work on bsd* unixes too ... their dirname call works differently ... #305
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2218
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 22 Nov 2011 15:40:22 +0000 (15:40 +0000)]
allow to restore xml files with zero row rras ... this is a degenerated case
that does not occure in the wild, as rrdtool prevents the creation of such
rrd files. But rrdtool restore 1.3 did allows to create them via restore.
Now this is possible again. Fix for #310.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2212
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 22 Nov 2011 12:59:57 +0000 (12:59 +0000)]
the first TREND* value can be calculated earlier ... -- fredrick (fix for #312)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2210
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 22 Nov 2011 12:46:15 +0000 (12:46 +0000)]
actually link with LIBINTL if we got it ... should make solaris happy
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2209
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 16 Nov 2011 16:49:10 +0000 (16:49 +0000)]
dbi_result_get_datetime_idx() return timestamp in UTC, but time axis on graph supposed to be in local time.
fix provided in #321
--This line, and those below, will be ignored--
M trunk/program/src/rrd_fetch_libdbi.c
M branches/1.4/program/src/rrd_fetch_libdbi.c
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2208
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 14 Nov 2011 21:30:31 +0000 (21:30 +0000)]
allow rrdtool for windows to properly support binary mode stdout/stdin -- Larry Adams
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2207
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 20 Oct 2011 06:48:39 +0000 (06:48 +0000)]
fix ruby binding for rrd_xport #318
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2206
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 18 Oct 2011 14:22:04 +0000 (14:22 +0000)]
free step_list on error. fix for #317
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2204
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 27 Sep 2011 06:15:36 +0000 (06:15 +0000)]
fix buffer overflow for LONG lines in journal handling code for update requests.
fix for #316
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2202
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 16 Sep 2011 13:04:31 +0000 (13:04 +0000)]
handling of ENV_RRDCACHED_ADDRESS:
added missing brackets after if, backported fix from trunk to 1.4 while doing it
-- patch by x @ zamyteam.org
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2199
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 14 Aug 2011 09:41:30 +0000 (09:41 +0000)]
fix alignment of centered items ... title and footer
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2197
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 29 Jun 2011 15:18:22 +0000 (15:18 +0000)]
proper fix for the header size problem and its effects on rrd_resize
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2192
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 23 Jun 2011 06:31:08 +0000 (06:31 +0000)]
fox for #302. refuse to build if troff and nroff are not around
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2188
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 23 Jun 2011 05:48:37 +0000 (05:48 +0000)]
fix for #301: plug memory leak in lua bindings -- bmayland @ leoninedev.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2187
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 23 Jun 2011 05:45:36 +0000 (05:45 +0000)]
Fix for #304: checking for time_t is done with AC_RUN_IFELSE which fails when cross-compiling. The size of time_t can be detected with AC_CHECK_SIZEOF. -- Michael Olbrich
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2186
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 6 May 2011 06:17:03 +0000 (06:17 +0000)]
sync with reality
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2185
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 6 May 2011 06:11:10 +0000 (06:11 +0000)]
fixed release tagging
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2182
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 21 Apr 2011 06:12:50 +0000 (06:12 +0000)]
fix rrd_create behaviour when mmaping on a full filesystem by actually 'filling' the file with
zero. -- Francois-Xavier Bourlet francois-xavier.bourlet dotcloud.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2181
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 15 Mar 2011 07:53:03 +0000 (07:53 +0000)]
with libwrap use 'rrdcached' as the name of our daemon and not just rrdcache
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2180
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 14 Mar 2011 08:22:46 +0000 (08:22 +0000)]
bring spaceing around graph back in line with 1.2 goodness ... in connection with no-legend and no title
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2179
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 3 Mar 2011 07:04:19 +0000 (07:04 +0000)]
do not mistake "sqlxxabc.rrd" for a libdbi specification -- Peter Stamfest
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2177
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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.4/program@2174
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 18 Jan 2011 14:18:09 +0000 (14:18 +0000)]
update timestamp continuity checks in rrd_cached ... allow sub-second precision
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2173
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 18 Jan 2011 08:49:24 +0000 (08:49 +0000)]
Added configure option to disable building rrd_graph: --disable-rrd_graph. With support from Ulf Zimmermann (OpenLane)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2172
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 15 Jan 2011 13:01:13 +0000 (13:01 +0000)]
added explanation on the rows returned from fetch. fix for #291.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2170
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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.4/program@2169
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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.4/program@2167
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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.4/program@2166
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 26 Dec 2010 19:50:34 +0000 (19:50 +0000)]
updated changes
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2162
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 26 Dec 2010 19:24:48 +0000 (19:24 +0000)]
prepare for the release of rrdtool-1.4.5
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2161
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 26 Dec 2010 19:19:13 +0000 (19:19 +0000)]
it there is no right label, do not reserve any space for it
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2160
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 26 Dec 2010 17:25:09 +0000 (17:25 +0000)]
make configure recognize tcl-site argument (#281)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2159
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 26 Dec 2010 17:13:08 +0000 (17:13 +0000)]
add some extra checks to RRA arguments
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2158
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 26 Dec 2010 16:04:03 +0000 (16:04 +0000)]
make MAP_PRIVATE conditional on AIX not being defined ... should fix part of #216
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2157
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 21 Dec 2010 16:38:22 +0000 (16:38 +0000)]
Sigma calculation had an error. The first data value in each bin didn't get squared. -- Hans Jørgen Jakobsen
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2154
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 21 Dec 2010 16:06:32 +0000 (16:06 +0000)]
rrdcached: Fix permissions of the default socket.
If neither the "-l" nor the "-P" options have been given, a UNIX domain
socket at a default location is created. However, due to a missing
initialization in this case, the "permissions" field will be left at
zero (no command allowed).
This patch fixes this problem by allowing all commands on the default
socket if no "-P" option is given. -- Florian Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2152
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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.4/program@2151
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 17 Dec 2010 16:10:20 +0000 (16:10 +0000)]
aix does not know about -Wl
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2150
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 7 Dec 2010 17:58:56 +0000 (17:58 +0000)]
added not on using LINE AREA or PRINT
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2148
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 11 Nov 2010 16:12:17 +0000 (16:12 +0000)]
introduce "epoch" as a new base time reference, meaning timestamp 0.
This disambiguates between some "at-style" time specs:
11111111 yields an error message:
did you really mean month
1111111 ?
and
19711205 denotes Dec 12, 1971 and not the timestamp.
The patch allows to write:
epoch+11111111s or epoch+19711205s
-- Peter Stamfest
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2147
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 11 Nov 2010 16:06:55 +0000 (16:06 +0000)]
Here is a patch that fixes a serious endless loop problem on 32 bit
architectures near the timestamp 2^31 (oh yes - y2k038 is showing its ugly
face) when using the graph command(s). Once the endtime of a graph is
above the mentioned timestamp, mktime always returns -1 (and correctly
so), causing some loops to loop forever. The patch fixes this, causing
some strange output, but there is no other sane way to handle this (expect
by switching to a 64 bit platform). -- Peter Stamfest
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2146
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 9 Nov 2010 16:37:18 +0000 (16:37 +0000)]
add hosts_access support to rrdcached -- Shaun Reitan mailinglists@unix-scripts.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2145
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 9 Nov 2010 16:16:58 +0000 (16:16 +0000)]
cached is using tcp not udp ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2144
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 9 Nov 2010 16:15:06 +0000 (16:15 +0000)]
make sure we do not try to draw points all that far outside the drawing area
since some versions of cairo seem to go unstable when this happens. -- Peter Stamfest
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2142
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 25 Oct 2010 05:45:05 +0000 (05:45 +0000)]
follow the normal code path for exiting rrd_update if there is a problem with rrdc, plugging a memory leak on the way -- Christian Magnusson
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2139
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 25 Oct 2010 05:40:26 +0000 (05:40 +0000)]
free addrinfo list after use ... -- Christian Magnusson
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2138
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 9 Oct 2010 09:50:44 +0000 (09:50 +0000)]
Ensure that response_read() always calls fflush() or fclose().
This fixes defect #278 (unknown commands from Solaris client). -- kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2135
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 28 Sep 2010 15:44:19 +0000 (15:44 +0000)]
fix ruby bindings to be compatible with curent ruby implementations fix for #279
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2132
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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.4/program@2129
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 8 Sep 2010 16:41:23 +0000 (16:41 +0000)]
it seems that strcasecmp and strcasencmp have issues on windows replace
with stricmp and strnicmp -- jkane mail.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2128
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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.4/program@2127
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 31 Aug 2010 07:31:43 +0000 (07:31 +0000)]
fix MSVC2008 compilation ... it does not understand char *const *argv iin rrd_getopt
-- jkane mail.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2124
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2123
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2122
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2119
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2118
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2117
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2116
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2115
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2114
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2110
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2109
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2108
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2107
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2106
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2104
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2103
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2102
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2101
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2099
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2098
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2097
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2095
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2094
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2093
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2091
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2086
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2085
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2083
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2082
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2080
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2079
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2075
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2073
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2072
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2070
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2069
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2068
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2066
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2057
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2052
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias 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/program@2051
a5681a0c -68f1-0310-ab6d-
d61299d08faa