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/trunk/program@2179 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/trunk/program@2139 a5681a0c-68f1-0310-ab6d-d61299d08faa
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/trunk/program@2127 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrd_update and rrd_rpncalc - fix casts introduced by win32 patch to make gcc happy too git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2098 a5681a0c-68f1-0310-ab6d-d61299d08faa
* 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/trunk/program@2095 a5681a0c-68f1-0310-ab6d-d61299d08faa
Add rrd_update_v_r to librrd -- Frederik Kriewitz git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2092 a5681a0c-68f1-0310-ab6d-d61299d08faa
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/trunk/program@2073 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.4.3 git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2042 a5681a0c-68f1-0310-ab6d-d61299d08faa
I think I just solved a longstanding bug in the rrd_update routine ... I am writing a tool for seeding new rrd files from an existing one ... essentially enabeling arbitrary restructuring ... while doing this I found the following: pdp: 1 2 | 3 4 5 6 7 | 8 9 for a consolidation of 5 steps I get AVG RRA .. | 5 | .. MIN RRA .. | 2 | .. MAX RRA .. | 7 | .. while I would have expected to get AVG RRA .. | 5 | .. MIN RRA .. | 3 | .. MAX RRA .. | 7 | .. the behavior has been like this at least since 1.2 looking at the code I found that the behavior had been introduced by a patch optimizing rrd_update for updates covering multiple pdps in one go ... in that optimization, the normal case where an update covers exactly ONE pdp had been sort of neglected ... so much for tunel vision. The problem was, that the cdp value for MIN and MAX got initialized from the last pdp value BEFORE the consolidation interval ... for normal data no one would notice (or did notice) but it is still wrong ... git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2024 a5681a0c-68f1-0310-ab6d-d61299d08faa
new (better) checker for incoming COUNTER or DERIVED data. thanks Florian! git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2001 a5681a0c-68f1-0310-ab6d-d61299d08faa
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/trunk/program@2000 a5681a0c-68f1-0310-ab6d-d61299d08faa
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/trunk/program@1973 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.4.2 git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1970 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.4.1 git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1963 a5681a0c-68f1-0310-ab6d-d61299d08faa
set version to 1.4.0 for all files git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1957 a5681a0c-68f1-0310-ab6d-d61299d08faa
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/trunk/program@1836 a5681a0c-68f1-0310-ab6d-d61299d08faa
* 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/trunk/program@1808 a5681a0c-68f1-0310-ab6d-d61299d08faa
reset errno right befor the call I want to test git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1806 a5681a0c-68f1-0310-ab6d-d61299d08faa
inline is something for the compiler to figure ... git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1805 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix error messages on the road to fix #222 git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1804 a5681a0c-68f1-0310-ab6d-d61299d08faa