added missing gettext.h
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1825 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1825 a5681a0c-68f1-0310-ab6d-d61299d08faa
we don't have any translations ... so do not pretend
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1824 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1824 a5681a0c-68f1-0310-ab6d-d61299d08faa
reduce gettext version requirements
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1823 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1823 a5681a0c-68f1-0310-ab6d-d61299d08faa
the get ready for 1.4rc patch
* updated to automake 1.11 with silet build, with this warnings stand out much better in the build process.
use make V=1 to see all as before
* switched from intltoolize to autopoint for gettext support
* moved m4 bits into their own subdirectory
--tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1819 a5681a0c-68f1-0310-ab6d-d61299d08faa
* updated to automake 1.11 with silet build, with this warnings stand out much better in the build process.
use make V=1 to see all as before
* switched from intltoolize to autopoint for gettext support
* moved m4 bits into their own subdirectory
--tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1819 a5681a0c-68f1-0310-ab6d-d61299d08faa
Only include libgen.h when we have it. use pbbasename if we do not. Also fixes #223.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1818 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1818 a5681a0c-68f1-0310-ab6d-d61299d08faa
update flush to flushcached
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1817 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1817 a5681a0c-68f1-0310-ab6d-d61299d08faa
bindings should invoke new rrd_flushcached (instead of rrd_cmd_flush) -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1816 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1816 a5681a0c-68f1-0310-ab6d-d61299d08faa
"ulong" is not portable. must be unsigned long -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1815 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1815 a5681a0c-68f1-0310-ab6d-d61299d08faa
update flush document name
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1814 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1814 a5681a0c-68f1-0310-ab6d-d61299d08faa
rename rrd_flush.c to rrd_flushcached.c in Makefile.am
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1813 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1813 a5681a0c-68f1-0310-ab6d-d61299d08faa
resolve the "flush inconsistency":
* rrd_flush (a leftover from when rrdtool was using stream based io) is turned into a no-op
but still exported to preserve library compatibility.
* rrd_cmd_flush (the implementation of "rrdtool flush") is renamed to rrd_flushcached
along with its command line invocation which is now rrdtool flushcached
--tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1812 a5681a0c-68f1-0310-ab6d-d61299d08faa
* rrd_flush (a leftover from when rrdtool was using stream based io) is turned into a no-op
but still exported to preserve library compatibility.
* rrd_cmd_flush (the implementation of "rrdtool flush") is renamed to rrd_flushcached
along with its command line invocation which is now rrdtool flushcached
--tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1812 a5681a0c-68f1-0310-ab6d-d61299d08faa
While restoring, rrd_restore uses between 30 and 40 times as much memory as
the size of the rrd file to be restored. This is due to the use of libxml2
for parsing the the whole file prior to turning it into rrd structs.
This patch switches rrd_restore to using the xmlTextReader interface for
incremental consumtion of xml files. This reduces the memory requirements to
about twice the size of the rrd file which should be quite manageable for
most cases.
The parsing is about 25% less efficient than with the original libxml2
version of rrd_restore. This could be in part due to the more liberal use of
malloced memory. Optimizing this is for another day though.
--tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1811 a5681a0c-68f1-0310-ab6d-d61299d08faa
the size of the rrd file to be restored. This is due to the use of libxml2
for parsing the the whole file prior to turning it into rrd structs.
This patch switches rrd_restore to using the xmlTextReader interface for
incremental consumtion of xml files. This reduces the memory requirements to
about twice the size of the rrd file which should be quite manageable for
most cases.
The parsing is about 25% less efficient than with the original libxml2
version of rrd_restore. This could be in part due to the more liberal use of
malloced memory. Optimizing this is for another day though.
--tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1811 a5681a0c-68f1-0310-ab6d-d61299d08faa
only include utime.h when necessary
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1809 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1809 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@1808 a5681a0c-68f1-0310-ab6d-d61299d08faa
* 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@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@1806 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1806 a5681a0c-68f1-0310-ab6d-d61299d08faa
inline is something for the compiler to figure ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1805 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1805 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix error messages on the road to fix #222
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1804 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1804 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix text organisation
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1803 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1803 a5681a0c-68f1-0310-ab6d-d61299d08faa
integrated fix for debian bug #529291 as supplied by Anders Hammarquist
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1800 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1800 a5681a0c-68f1-0310-ab6d-d61299d08faa
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/trunk@1799 a5681a0c-68f1-0310-ab6d-d61299d08faa
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/trunk@1799 a5681a0c-68f1-0310-ab6d-d61299d08faa
added some remarks on CDEF versus VDEF to the docs -- Pablo Sanchez
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1797 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1797 a5681a0c-68f1-0310-ab6d-d61299d08faa
This patch includes utility functions to support dynamically sized arrays.
This simplifies the code that manages some of the dynamic structures
inside rrdcached.
A few data types have been changed to size_t.
-- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1796 a5681a0c-68f1-0310-ab6d-d61299d08faa
This simplifies the code that manages some of the dynamic structures
inside rrdcached.
A few data types have been changed to size_t.
-- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1796 a5681a0c-68f1-0310-ab6d-d61299d08faa
introduced header_property in info output -- Daniel.Pocock barclayscapital.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1795 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1795 a5681a0c-68f1-0310-ab6d-d61299d08faa
add documentation for graph-render-mode
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1794 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1794 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix comments and error messages in rrd_restore patch
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1793 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1793 a5681a0c-68f1-0310-ab6d-d61299d08faa
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/trunk@1792 a5681a0c-68f1-0310-ab6d-d61299d08faa
Patch based in input provided by poster of #218.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1792 a5681a0c-68f1-0310-ab6d-d61299d08faa
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/trunk@1791 a5681a0c-68f1-0310-ab6d-d61299d08faa
patch provided by rrd trac user.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1791 a5681a0c-68f1-0310-ab6d-d61299d08faa
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/trunk@1790 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1790 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrd_random() is a wrapper around random() that ensures the PRNG is seeded
exactly ONCE per process.
rrd_utils.c is introduced for functions that do not have a better home. --kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1789 a5681a0c-68f1-0310-ab6d-d61299d08faa
exactly ONCE per process.
rrd_utils.c is introduced for functions that do not have a better home. --kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1789 a5681a0c-68f1-0310-ab6d-d61299d08faa
This patch consolidates several aspects of the command handling in
rrdcached:
* all commands, help, and context information is reduced to a single data
structure.
* all checks for command validity (context and permission) are handled in
the main dispatch routine
This removes duplicate help/syntax text, and long if..elseif..else chains.
It facilitates the addition of new commands. -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1788 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrdcached:
* all commands, help, and context information is reduced to a single data
structure.
* all checks for command validity (context and permission) are handled in
the main dispatch routine
This removes duplicate help/syntax text, and long if..elseif..else chains.
It facilitates the addition of new commands. -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1788 a5681a0c-68f1-0310-ab6d-d61299d08faa
The bookkeeping of all threads is not necessary, since we cannot pthread_join() them anyway. We only need to know when the last one has exited. -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1787 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1787 a5681a0c-68f1-0310-ab6d-d61299d08faa
added missing docs -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1786 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1786 a5681a0c-68f1-0310-ab6d-d61299d08faa
added missing newline -- by sebastian harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1785 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1785 a5681a0c-68f1-0310-ab6d-d61299d08faa
minor adjustments
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1784 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1784 a5681a0c-68f1-0310-ab6d-d61299d08faa
make sure an empty m4 is in the checkout
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1778 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1778 a5681a0c-68f1-0310-ab6d-d61299d08faa
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/trunk@1773 a5681a0c-68f1-0310-ab6d-d61299d08faa
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/trunk@1773 a5681a0c-68f1-0310-ab6d-d61299d08faa
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/trunk@1772 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1772 a5681a0c-68f1-0310-ab6d-d61299d08faa
I thought that it would be nice to be able to pass
parameters to python bindings as a list (array) of strings. -- Vytautas Zdanavicius vytaszd at yahoo.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1771 a5681a0c-68f1-0310-ab6d-d61299d08faa
parameters to python bindings as a list (array) of strings. -- Vytautas Zdanavicius vytaszd at yahoo.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1771 a5681a0c-68f1-0310-ab6d-d61299d08faa
use %lld with (long long) conversion when printing time.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1770 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1770 a5681a0c-68f1-0310-ab6d-d61299d08faa
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/trunk@1769 a5681a0c-68f1-0310-ab6d-d61299d08faa
time_t is only 32bit ... by adding (long long) to the time value this gets fixed.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1769 a5681a0c-68f1-0310-ab6d-d61299d08faa
lets have an error message when creating the graph fails
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1768 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1768 a5681a0c-68f1-0310-ab6d-d61299d08faa
go open presentation checkin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1767 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1767 a5681a0c-68f1-0310-ab6d-d61299d08faa
sync xara file
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1766 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1766 a5681a0c-68f1-0310-ab6d-d61299d08faa
remove excess flush calls ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1764 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1764 a5681a0c-68f1-0310-ab6d-d61299d08faa
remove flush symbol
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1762 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1762 a5681a0c-68f1-0310-ab6d-d61299d08faa
the call to rrd_flush has appeared when rrd_open was fleshed out. It used to be an fflush call
which is something entirely different than the current rrd_flush implementation with fdatasync was ...
we can safely drop this and gain performance for holt winters in the process ... -- tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1760 a5681a0c-68f1-0310-ab6d-d61299d08faa
which is something entirely different than the current rrd_flush implementation with fdatasync was ...
we can safely drop this and gain performance for holt winters in the process ... -- tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1760 a5681a0c-68f1-0310-ab6d-d61299d08faa
New rrd_graph functions for legend placement control added -- Patch by Melchior Rabe rrdtool mrab.de
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1759 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1759 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrd_flush.c: Provide a more useful error message.
by Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1758 a5681a0c-68f1-0310-ab6d-d61299d08faa
by Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1758 a5681a0c-68f1-0310-ab6d-d61299d08faa
Renaming ntmake.pl to ntmake.PL (r1742) had unforseen side effects. At least
on freebsd ntmake.PL gets called automatically during build. This is not
desired. I renamed the file to ntmake-build sinc it gets called
explicilty on windows anyway. Reported by Kevin modified by Tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1757 a5681a0c-68f1-0310-ab6d-d61299d08faa
on freebsd ntmake.PL gets called automatically during build. This is not
desired. I renamed the file to ntmake-build sinc it gets called
explicilty on windows anyway. Reported by Kevin modified by Tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1757 a5681a0c-68f1-0310-ab6d-d61299d08faa
This 2-patch series exposes 'flush' methods to the various language
bindings.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1756 a5681a0c-68f1-0310-ab6d-d61299d08faa
bindings.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1756 a5681a0c-68f1-0310-ab6d-d61299d08faa
there were two lines of debug info printed by rrd_xport, messing up the xml code. Fix by Alejandro Galue.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1754 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1754 a5681a0c-68f1-0310-ab6d-d61299d08faa
Even though POSIX/XSI requires "strerror_r" to return an "int", some systems
(e.g. the GNU libc) return a "char *" _and_ ignore the second argument (user
provided buffer). The configure script now checks for that behavior using
AC_FUNC_STRERROR_R. rrd_strerror() in rrd_thread_safe.c has been updated to
(hopefully) handle all possible cases.
Previously, rrd_strerror() would have returned "strerror_r failed. sorry!" in
mostly any cases when using glibc, since "if (strerror_r())" had been used to
check for errors which evaluates to true if a (non-NULL) pointer was returned.
Now, we, at least, return the error number in case anything else fails.
Thanks to Alessandro Iurlano for reporting this issue after spotting it in
collectd <http://collectd.org>.
patch by Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1752 a5681a0c-68f1-0310-ab6d-d61299d08faa
(e.g. the GNU libc) return a "char *" _and_ ignore the second argument (user
provided buffer). The configure script now checks for that behavior using
AC_FUNC_STRERROR_R. rrd_strerror() in rrd_thread_safe.c has been updated to
(hopefully) handle all possible cases.
Previously, rrd_strerror() would have returned "strerror_r failed. sorry!" in
mostly any cases when using glibc, since "if (strerror_r())" had been used to
check for errors which evaluates to true if a (non-NULL) pointer was returned.
Now, we, at least, return the error number in case anything else fails.
Thanks to Alessandro Iurlano for reporting this issue after spotting it in
collectd <http://collectd.org>.
patch by Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1752 a5681a0c-68f1-0310-ab6d-d61299d08faa
Make sure we use correct sizes for vsnprintf (sizeof) and strncpy (sizeof-1). -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1751 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1751 a5681a0c-68f1-0310-ab6d-d61299d08faa
Misc documentation fixes by Alex van den Bogaerdt
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1749 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1749 a5681a0c-68f1-0310-ab6d-d61299d08faa
Documentation fixes by Bernhard Reutner-Fischer
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1748 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1748 a5681a0c-68f1-0310-ab6d-d61299d08faa
added doc on new graphv graph_start und graph_end info variables
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1745 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1745 a5681a0c-68f1-0310-ab6d-d61299d08faa
15 years agofix type conversion error (on windows) unsigned/signed affecting timestamps on rrd_dump.
fix type conversion error (on windows) unsigned/signed affecting timestamps on rrd_dump.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1744 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1744 a5681a0c-68f1-0310-ab6d-d61299d08faa
rename ntmake.pl to ntmake.PL so that it does not get installed
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1742 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1742 a5681a0c-68f1-0310-ab6d-d61299d08faa
define cwd where we need it and not outside
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1741 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1741 a5681a0c-68f1-0310-ab6d-d61299d08faa
In rrd_graph: the width/height values are written into rrd_infoval_t's u_cnt
but read out of u_int (u_long vs. int). This breaks on LP64BE. Patch by
Rafal Boni rafal pobox.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1733 a5681a0c-68f1-0310-ab6d-d61299d08faa
but read out of u_int (u_long vs. int). This breaks on LP64BE. Patch by
Rafal Boni rafal pobox.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1733 a5681a0c-68f1-0310-ab6d-d61299d08faa
added percentnan (VDEF PERCENT variant that ignores NAN) -- patch by Martin Sperl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1732 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1732 a5681a0c-68f1-0310-ab6d-d61299d08faa
make the talk ready
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1731 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1731 a5681a0c-68f1-0310-ab6d-d61299d08faa
seems to wrok
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1730 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1730 a5681a0c-68f1-0310-ab6d-d61299d08faa
with MMAP enabled rrd resize GROW was broken ... this fixes it ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1726 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1726 a5681a0c-68f1-0310-ab6d-d61299d08faa
TICK with negative numbers should 'start from the top of the graph' looking down ... now it does.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1725 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1725 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix for segfault in rrd_cgi: caused by freeing a invalid address when printing an error message.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1724 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1724 a5681a0c-68f1-0310-ab6d-d61299d08faa
Include libgen.h to get prototype for basename in a POSIX conformant way. Fix for #202.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1723 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1723 a5681a0c-68f1-0310-ab6d-d61299d08faa
improvements for build docs by Zorzoli, Pablo
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1722 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1722 a5681a0c-68f1-0310-ab6d-d61299d08faa
should free memory after a successful fetch too ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1721 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1721 a5681a0c-68f1-0310-ab6d-d61299d08faa
documentation fixes
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1720 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1720 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fix for POD error by Sebasian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1718 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1718 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fixes some typos by Sebastian Harl.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1717 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1717 a5681a0c-68f1-0310-ab6d-d61299d08faa
win32 fixes by Stefan . Ludewig . exitgames . com
* added portable plbasename since basename is not available on stock win32
* rrd_update was using %d to show a timestamp ... %lli is better
since it also will show 64bit time_t correctly.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1716 a5681a0c-68f1-0310-ab6d-d61299d08faa
* added portable plbasename since basename is not available on stock win32
* rrd_update was using %d to show a timestamp ... %lli is better
since it also will show 64bit time_t correctly.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1716 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix extra dist to include missing win32 files
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1715 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1715 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed another seek issue ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1708 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1708 a5681a0c-68f1-0310-ab6d-d61299d08faa
The spec file for building the rrdtool as an RPM that comes with the
release is not "friendly" to older versions of RHEL and derivatives.
-- Martin Sperl <rrdtool@martin.sperl.org>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1707 a5681a0c-68f1-0310-ab6d-d61299d08faa
release is not "friendly" to older versions of RHEL and derivatives.
-- Martin Sperl <rrdtool@martin.sperl.org>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1707 a5681a0c-68f1-0310-ab6d-d61299d08faa
include luapod into distro
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1706 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1706 a5681a0c-68f1-0310-ab6d-d61299d08faa
On some architectures, strtod does not turn "NaN" into 'Not A Number (NAN)'
se we better provide our own code here.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1705 a5681a0c-68f1-0310-ab6d-d61299d08faa
se we better provide our own code here.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1705 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrdtool dump is now backward compatible with rrdtool 1.3 dump again. Default is --header=dtd and
--no-header is an alias for --header=none
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1703 a5681a0c-68f1-0310-ab6d-d61299d08faa
--no-header is an alias for --header=none
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1703 a5681a0c-68f1-0310-ab6d-d61299d08faa
* forward ported right axis patch from 1.2 branche
* fixed --full-size-mode sizing issue when used in combination with --title
the work in the axis patch has been sponsored by VoltWerk.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1701 a5681a0c-68f1-0310-ab6d-d61299d08faa
* fixed --full-size-mode sizing issue when used in combination with --title
the work in the axis patch has been sponsored by VoltWerk.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1701 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fix for last method in ruby bindings -- Hiroyuki Ikezoe
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1700 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1700 a5681a0c-68f1-0310-ab6d-d61299d08faa
integrate osx build hints as indicated in #192
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1699 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1699 a5681a0c-68f1-0310-ab6d-d61299d08faa
deleted a bit much from rrd_open ... merged back in
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1697 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1697 a5681a0c-68f1-0310-ab6d-d61299d08faa
check for broken implementations of msync / MS_ASYNC where
the mtime does not get updated. warn and explicitly call utime
in rrd_open when a file is opened rw.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1696 a5681a0c-68f1-0310-ab6d-d61299d08faa
the mtime does not get updated. warn and explicitly call utime
in rrd_open when a file is opened rw.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1696 a5681a0c-68f1-0310-ab6d-d61299d08faa
added rrdcached examples to extra_dist to make sure they get distributed
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1695 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1695 a5681a0c-68f1-0310-ab6d-d61299d08faa
Legends should NOT be placed in reverse order when using --full-size-mode ... this fixed #198.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1694 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1694 a5681a0c-68f1-0310-ab6d-d61299d08faa
add de-referencing to step in fetch check
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1693 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1693 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix merg error with win32 port
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1692 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1692 a5681a0c-68f1-0310-ab6d-d61299d08faa
15 years agoCatch CDEF:tot= and raise and error to fix #199. Thanks to Jeron Massar for reporting...
Catch CDEF:tot= and raise and error to fix #199. Thanks to Jeron Massar for reporting this.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1691 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1691 a5681a0c-68f1-0310-ab6d-d61299d08faa
Update to WIN32-BUILD-TIPS.txt and VC project files so that the rrdtool.exe can be built too.
-- Stefan Ludewig Stefan.Ludewig exitgames.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1690 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Stefan Ludewig Stefan.Ludewig exitgames.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1690 a5681a0c-68f1-0310-ab6d-d61299d08faa
When fetching data from 'past' an rra, rrd_fetch was seeking past the rrd
file. This did cause seek errors in some setups. Fixed. Thanks to Daniel Pocock for finding the problem.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1689 a5681a0c-68f1-0310-ab6d-d61299d08faa
file. This did cause seek errors in some setups. Fixed. Thanks to Daniel Pocock for finding the problem.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1689 a5681a0c-68f1-0310-ab6d-d61299d08faa
integrated rrdcached examples into build process
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1686 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1686 a5681a0c-68f1-0310-ab6d-d61299d08faa
add rrdcached examples -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1685 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1685 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed solaris build instructions
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1683 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1683 a5681a0c-68f1-0310-ab6d-d61299d08faa