fix locations for installing the sample programs to make automake happy
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2302 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2302 a5681a0c-68f1-0310-ab6d-d61299d08faa
integrate rrdinfo and rrdcreate into the rrdupdate binary - Sven-Göran Bergh
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2300 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2300 a5681a0c-68f1-0310-ab6d-d61299d08faa
openbsd does not know EPROTO it seems
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2298 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2298 a5681a0c-68f1-0310-ab6d-d61299d08faa
12 years agocomplete segfault fix for second axis %s format begun in r2123 (thanks Martin Pelikan...
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.4/program@2297 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2297 a5681a0c-68f1-0310-ab6d-d61299d08faa
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.4/program@2296 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2296 a5681a0c-68f1-0310-ab6d-d61299d08faa
support for the xport command -- Jimmy Ngo
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2294 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2294 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix warning: "__STRICT_ANSI__" is not defined warning patch by Gilles Esp
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2288 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2288 a5681a0c-68f1-0310-ab6d-d61299d08faa
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.4/program@2286 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2286 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix rrdcached crash as reported in debian bug #663505 -- Witold Baryluk
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2285 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2285 a5681a0c-68f1-0310-ab6d-d61299d08faa
12 years agoif the perl bindings are to be installed together with rrdtool, make sure INSTALL_BAS...
if the perl bindings are to be installed together with rrdtool, make sure INSTALL_BASE does not confuse things. Inspired by Mike Schilli.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2284 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2284 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix flush race in rrdcached -- Christian Hitz
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2282 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2282 a5681a0c-68f1-0310-ab6d-d61299d08faa
json requires keys to be proper strings and thus quoted ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2276 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2276 a5681a0c-68f1-0310-ab6d-d61299d08faa
remove duplicate code in rrd_open -- Richard Laager
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2271 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2271 a5681a0c-68f1-0310-ab6d-d61299d08faa
use posix_fallocate when initialiying rrd files ... instead of filling them with yero explicitly -- Richard Laager
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2270 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2270 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix for tcl bindings ... -- George Ross
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2269 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2269 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.4.7
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2267 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2267 a5681a0c-68f1-0310-ab6d-d61299d08faa
regression fix for r2265
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2266 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2266 a5681a0c-68f1-0310-ab6d-d61299d08faa
test for tm.tm_gmtoff presence in configure.ac fix for #330
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2265 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2265 a5681a0c-68f1-0310-ab6d-d61299d08faa
check in /usr/lib64 for tclConfig.sh too
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2264 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2264 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix shared library version number
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2263 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2263 a5681a0c-68f1-0310-ab6d-d61299d08faa
added a nop control for string formating, so that strings ending in /x are possible by entering \x\.
fix for #331
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2262 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix for #331
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2262 a5681a0c-68f1-0310-ab6d-d61299d08faa
added support for rrdgraph to use the yotta, zetta, zepto, yocto prefixes. Fix for #333 (thanks Christoph)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2261 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2261 a5681a0c-68f1-0310-ab6d-d61299d08faa
be clearer as to what VDEF LAST/FIRST do.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2259 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2259 a5681a0c-68f1-0310-ab6d-d61299d08faa
12 years agoremove perl 5.004 compatibility hack and make things work on newer perls in exchange :-)
remove perl 5.004 compatibility hack and make things work on newer perls in exchange :-)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2258 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2258 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.4.6
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2256 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2256 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.4.6
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2255 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2255 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix libwrap and libdbi detection logic
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2254 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2254 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.4.6
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2252 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2252 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrdtool is assuming that rrd_xport will always return -1 on failure;
however, rrd_xport returns errno (which is, generally, not -1) if
rrd_client fails. I figured it was easier to change rrdtool than to change
everything in rrd_client. For good measure, I also changed the checks on
the calls to rrd_fetch and rrd_graph. I'm not sure if they're susceptible
to the same problem, but, well, better to check for the one thing you do
what you want than to enumerate all the possible things you don't want.
This segfault is caused by an uninitialized variable use (in particular,
legend_v and col_cnt end up being used and passed to printf uninitialized).
Nothing offhand jumped out at me as easily-exploitable to do code
injection, but I only spent five or so minutes looking at it, so there very
well may be a security problem hiding behind this. -- James Brown <jbrown@yelp.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2251 a5681a0c-68f1-0310-ab6d-d61299d08faa
however, rrd_xport returns errno (which is, generally, not -1) if
rrd_client fails. I figured it was easier to change rrdtool than to change
everything in rrd_client. For good measure, I also changed the checks on
the calls to rrd_fetch and rrd_graph. I'm not sure if they're susceptible
to the same problem, but, well, better to check for the one thing you do
what you want than to enumerate all the possible things you don't want.
This segfault is caused by an uninitialized variable use (in particular,
legend_v and col_cnt end up being used and passed to printf uninitialized).
Nothing offhand jumped out at me as easily-exploitable to do code
injection, but I only spent five or so minutes looking at it, so there very
well may be a security problem hiding behind this. -- James Brown <jbrown@yelp.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2251 a5681a0c-68f1-0310-ab6d-d61299d08faa
12 years agointegrated json support in rrdtool xport with inspiration from Erik Kastner and Micha...
integrated json support in rrdtool xport with inspiration from Erik Kastner and Michael Markstaller -- Tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2250 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2250 a5681a0c-68f1-0310-ab6d-d61299d08faa
be more careful when finding pic flags
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2247 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2247 a5681a0c-68f1-0310-ab6d-d61299d08faa
ensure we got long ints in ruby printfs
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2246 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2246 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix horyzontal alignement of lines and aread
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2245 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2245 a5681a0c-68f1-0310-ab6d-d61299d08faa
backport improved grid-fitting
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2244 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2244 a5681a0c-68f1-0310-ab6d-d61299d08faa
simplified configure tests for libwrap and libdbi
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2242 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2242 a5681a0c-68f1-0310-ab6d-d61299d08faa
search for tcpd.h with <>
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2240 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2240 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix win32 distributables
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2239 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2239 a5681a0c-68f1-0310-ab6d-d61299d08faa
make cpp defines more portable
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2238 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2238 a5681a0c-68f1-0310-ab6d-d61299d08faa
need min defined now
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2237 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2237 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated win32 port by Larry Adams and the cacti team
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2235 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2235 a5681a0c-68f1-0310-ab6d-d61299d08faa
rpn compare operators CAN return unknown ... (#293)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2232 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2232 a5681a0c-68f1-0310-ab6d-d61299d08faa
gettext 0.17 is sufficient too and more widely used than 0.18 ...
-- Bernard Li <bernard@vanhpc.org>
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2231 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Bernard Li <bernard@vanhpc.org>
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2231 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix some issues with the
spec file, specifically:
- Reset Release to 1
- Add -lua subpackage
- Fix -perl subpackage so it includes the correct Perl package paths
The version should probably be updated to 1.5.0 (for trunk), or we
could just grab that from configure.ac.
Tested building on EL5 and EL6 (beta).
It would be great if this could also be backported to the 1.4 tree.
-- Bernard Li <bernard@vanhpc.org>
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2230 a5681a0c-68f1-0310-ab6d-d61299d08faa
spec file, specifically:
- Reset Release to 1
- Add -lua subpackage
- Fix -perl subpackage so it includes the correct Perl package paths
The version should probably be updated to 1.5.0 (for trunk), or we
could just grab that from configure.ac.
Tested building on EL5 and EL6 (beta).
It would be great if this could also be backported to the 1.4 tree.
-- Bernard Li <bernard@vanhpc.org>
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2230 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2229 a5681a0c-68f1-0310-ab6d-d61299d08faa
12 years agoIt seems that function graph_size_location() doesn't call xtr(im, 0) if (im->extra_fl...
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2228 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2227 a5681a0c-68f1-0310-ab6d-d61299d08faa
13 years agoinitialize magfact to 1 ... fixes logarithm chart display issues (patch from Christop...
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2225 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2224 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2221 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2220 a5681a0c-68f1-0310-ab6d-d61299d08faa
13 years agothe number of COMPUTE rpn nodes is architecture dependent. calculate the right number...
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2219 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2218 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
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
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2210 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2209 a5681a0c-68f1-0310-ab6d-d61299d08faa
13 years agodbi_result_get_datetime_idx() return timestamp in UTC, but time axis on graph suppose...
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
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
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2207 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2206 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2204 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
fix for #316
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2202 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
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
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2197 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2192 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2188 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2187 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2186 a5681a0c-68f1-0310-ab6d-d61299d08faa
sync with reality
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2185 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2185 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed release tagging
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2182 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2182 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
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
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2180 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2179 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2177 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2174 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2173 a5681a0c-68f1-0310-ab6d-d61299d08faa
13 years agoAdded configure option to disable building rrd_graph: --disable-rrd_graph. With suppo...
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2172 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2170 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2169 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix wording regarding min/max setting
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2167 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2167 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2166 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated changes
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2162 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2162 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2161 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2160 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2159 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2158 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2157 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2154 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
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
13 years agoadd extra space to LDFLAGS when building ruby bindings ... otherwhise this will break...
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2151 a5681a0c-68f1-0310-ab6d-d61299d08faa
aix does not know about -Wl
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2150 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2150 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2148 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
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
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
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
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2145 a5681a0c-68f1-0310-ab6d-d61299d08faa
cached is using tcp not udp ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2144 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2144 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
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
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2139 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2138 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
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
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2132 a5681a0c-68f1-0310-ab6d-d61299d08faa
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
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2129 a5681a0c-68f1-0310-ab6d-d61299d08faa