I was just taking a look at the development RRDtool build (I'm looking
forward to SVG support), and had a few problems with an out-of-tree
build. I find using a separate build directory makes things much
easier to manage, especially when building for multiple architectures.
I've attached the minor patches for the progress that I made (I couldn't
get the Perl modules to work, but the main binaries seem okay), and
would be grateful if you could commit them (or something like them!).
-- Joseph Walton <joe@kafsemo.org>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@211 a5681a0c-68f1-0310-ab6d-d61299d08faa
forward to SVG support), and had a few problems with an out-of-tree
build. I find using a separate build directory makes things much
easier to manage, especially when building for multiple architectures.
I've attached the minor patches for the progress that I made (I couldn't
get the Perl modules to work, but the main binaries seem okay), and
would be grateful if you could commit them (or something like them!).
-- Joseph Walton <joe@kafsemo.org>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@211 a5681a0c-68f1-0310-ab6d-d61299d08faa
Allow hyphen character in DEF_NAM_FMT to match DS_NAM_FMT.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@210 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@210 a5681a0c-68f1-0310-ab6d-d61299d08faa
Updated MS Visual C++ files from 7.0 to 7.1.
Add code to rrd_graph.c: rrd_graph_init() to use %windir% environment
variable to find the default font at runtime.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@209 a5681a0c-68f1-0310-ab6d-d61299d08faa
Add code to rrd_graph.c: rrd_graph_init() to use %windir% environment
variable to find the default font at runtime.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@209 a5681a0c-68f1-0310-ab6d-d61299d08faa
Moved OP_COUNT to the end of the enumeration.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@208 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@208 a5681a0c-68f1-0310-ab6d-d61299d08faa
I've made a patch to rrdcgi to add <RRD::TIME::STRFTIME ...> which allows
you to re-format start and end-time at-style times using strftime. This
allows easy timespans in the graph (e.g. -2weeks) to be formatted into more
usual times. -- "Erskine, Thomas" <terskine@NRCan.gc.ca>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@207 a5681a0c-68f1-0310-ab6d-d61299d08faa
you to re-format start and end-time at-style times using strftime. This
allows easy timespans in the graph (e.g. -2weeks) to be formatted into more
usual times. -- "Erskine, Thomas" <terskine@NRCan.gc.ca>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@207 a5681a0c-68f1-0310-ab6d-d61299d08faa
small patch to rrd_create.c that corrects problem with the
version number of the newly created files. -- Sasha Mikheev <sasha@avalon-net.co.il>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@206 a5681a0c-68f1-0310-ab6d-d61299d08faa
version number of the newly created files. -- Sasha Mikheev <sasha@avalon-net.co.il>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@206 a5681a0c-68f1-0310-ab6d-d61299d08faa
readline in rrd_open.c reads the file in 8 KB blocks, and calls realloc for
each block. realloc is very slow in Mac OS X for huge blocks, e.g. when
restoring databases from huge xml files. This patch finds the size of the
file, and starts out with malloc'ing the full size.
-- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@205 a5681a0c-68f1-0310-ab6d-d61299d08faa
each block. realloc is very slow in Mac OS X for huge blocks, e.g. when
restoring databases from huge xml files. This patch finds the size of the
file, and starts out with malloc'ing the full size.
-- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@205 a5681a0c-68f1-0310-ab6d-d61299d08faa
added comment on iso
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@204 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@204 a5681a0c-68f1-0310-ab6d-d61299d08faa
Change updatev RRA return from index_number to cf_nam, pdp_cnt.
Also revert accidental addition of -I to aclocal MakeMakefile.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@203 a5681a0c-68f1-0310-ab6d-d61299d08faa
Also revert accidental addition of -I to aclocal MakeMakefile.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@203 a5681a0c-68f1-0310-ab6d-d61299d08faa
only restore V2 and larger.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@202 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@202 a5681a0c-68f1-0310-ab6d-d61299d08faa
21 years agoAlternate update interface, updatev. Returns info about CDPs written to disk as resul...
Alternate update interface, updatev. Returns info about CDPs written to disk as result of update. Output format is similar to rrd_info, a hash of key-values.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@201 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@201 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed version checks to only complain if xml version is > than current RRD version
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@200 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@200 a5681a0c-68f1-0310-ab6d-d61299d08faa
New special value COUNT which allows calculations based on the position of a
value within a data set. Bug fix in rrd_rpncalc.c. PREV returned erroneus
value for the second value. Bug fix in rrd_restore.c. Bug causing seek error
when accesing an RRD restored from an xml that holds an RRD version <3.
-- Ruben Justo <ruben@ainek.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@199 a5681a0c-68f1-0310-ab6d-d61299d08faa
value within a data set. Bug fix in rrd_rpncalc.c. PREV returned erroneus
value for the second value. Bug fix in rrd_restore.c. Bug causing seek error
when accesing an RRD restored from an xml that holds an RRD version <3.
-- Ruben Justo <ruben@ainek.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@199 a5681a0c-68f1-0310-ab6d-d61299d08faa
I think I found a very small bug in rrd graph PDF output : the is_stream member of
pdf_buffer is not initialized, making bad PDF sometimes (I found a case where is_stream was
!= 0 for the font initialization). -- lhoudard@netcourrier.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@198 a5681a0c-68f1-0310-ab6d-d61299d08faa
pdf_buffer is not initialized, making bad PDF sometimes (I found a case where is_stream was
!= 0 for the font initialization). -- lhoudard@netcourrier.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@198 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fix Win32 build. VC++ 6.0 and 7.0 now use the thread-safe code.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@197 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@197 a5681a0c-68f1-0310-ab6d-d61299d08faa
enables RRDtool updates with microsecond or in case of windows millisecond
precision. This is needed to reduce time measurement error when archive step
is small. (<30s) -- Sasha Mikheev <sasha@avalon-net.co.il>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@196 a5681a0c-68f1-0310-ab6d-d61299d08faa
precision. This is needed to reduce time measurement error when archive step
is small. (<30s) -- Sasha Mikheev <sasha@avalon-net.co.il>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@196 a5681a0c-68f1-0310-ab6d-d61299d08faa
use the environment variable VCINSTALLDIR -- Ian Holsman <rrd.developers@holsman.net>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@195 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@195 a5681a0c-68f1-0310-ab6d-d61299d08faa
strerror should not turn us recursive here ... -- Peter Stamfest <peter@stamfest.at>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@194 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@194 a5681a0c-68f1-0310-ab6d-d61299d08faa
strerror must not become recursive -- Peter Stamfest <peter@stamfest.at>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@193 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@193 a5681a0c-68f1-0310-ab6d-d61299d08faa
remove ^M
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@192 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@192 a5681a0c-68f1-0310-ab6d-d61299d08faa
handle cases with two negative numbers
-- Sasha Mikheev <sasha@avalon-net.co.il>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@191 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Sasha Mikheev <sasha@avalon-net.co.il>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@191 a5681a0c-68f1-0310-ab6d-d61299d08faa
don't display legends for [HV]RULEs out of graph bounds (rrdgraph)
-- Christophe Kalt <kalt@taranis.org>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@190 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Christophe Kalt <kalt@taranis.org>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@190 a5681a0c-68f1-0310-ab6d-d61299d08faa
realy suppress size output when talking to stdout. Patch from Mat Zimmerman @ debian
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@189 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@189 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix for : in piped demo
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@188 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@188 a5681a0c-68f1-0310-ab6d-d61299d08faa
Initial checkin
-- Peter Stamfest <peter@stamfest.at>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@187 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Peter Stamfest <peter@stamfest.at>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@187 a5681a0c-68f1-0310-ab6d-d61299d08faa
a patch to avoid a memory leak and a Makefile.am patch to
distribute all required source files -- Peter Stamfest <peter@stamfest.at>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@186 a5681a0c-68f1-0310-ab6d-d61299d08faa
distribute all required source files -- Peter Stamfest <peter@stamfest.at>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@186 a5681a0c-68f1-0310-ab6d-d61299d08faa
colons must be escaped
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@185 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@185 a5681a0c-68f1-0310-ab6d-d61299d08faa
make the threading work and compile, fix linking to libpng
and update the timestaps int the files
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@184 a5681a0c-68f1-0310-ab6d-d61299d08faa
and update the timestaps int the files
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@184 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated copyrigh dates
removed error.h from threaded variant
added compiletime to rrdtool
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@183 a5681a0c-68f1-0310-ab6d-d61299d08faa
removed error.h from threaded variant
added compiletime to rrdtool
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@183 a5681a0c-68f1-0310-ab6d-d61299d08faa
if output is - there is not need to deref the handler
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@182 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@182 a5681a0c-68f1-0310-ab6d-d61299d08faa
expect seems to exist on some systems in the system inc files
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@181 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@181 a5681a0c-68f1-0310-ab6d-d61299d08faa
Find attached the patch I promised to send to you. Please note that there
are three new source files (src/rrd_is_thread_safe.h, src/rrd_thread_safe.c
and src/rrd_not_thread_safe.c) and the introduction of librrd_th. This
library is identical to librrd, but it contains support code for per-thread
global variables currently used for error information only. This is similar
to how errno per-thread variables are implemented. librrd_th must be linked
alongside of libpthred
There is also a new file "THREADS", holding some documentation.
-- Peter Stamfest <peter@stamfest.at>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@180 a5681a0c-68f1-0310-ab6d-d61299d08faa
are three new source files (src/rrd_is_thread_safe.h, src/rrd_thread_safe.c
and src/rrd_not_thread_safe.c) and the introduction of librrd_th. This
library is identical to librrd, but it contains support code for per-thread
global variables currently used for error information only. This is similar
to how errno per-thread variables are implemented. librrd_th must be linked
alongside of libpthred
There is also a new file "THREADS", holding some documentation.
-- Peter Stamfest <peter@stamfest.at>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@180 a5681a0c-68f1-0310-ab6d-d61299d08faa
improved dist target -- Peter Stamfest <peter@stamfest.at>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@179 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@179 a5681a0c-68f1-0310-ab6d-d61299d08faa
removed lg we do not allow this in the code at th moment
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@178 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@178 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrd resize SHRINK was broken :-) -- Scott Mace <smace@intt.ORG>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@177 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@177 a5681a0c-68f1-0310-ab6d-d61299d08faa
The NaN check should only use lastgdes when following a STACK -- Scott Mace <smace@intt.ORG>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@176 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@176 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix stak+nan error ... Scott Mace <smace@intt.ORG>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@175 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@175 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed the processing of TICK:vname#color:frac:legend -- Scott Mace <smace@intt.ORG>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@174 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@174 a5681a0c-68f1-0310-ab6d-d61299d08faa
added function (--no-minor) to turn off minor gridlines on graphs
-- Travis Brown <tebrown@csh.rit.edu>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@173 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Travis Brown <tebrown@csh.rit.edu>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@173 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix border condition in rra selection of rrd_fetch
-- Stanislav Sinyagin <ssinyagin@yahoo.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@172 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Stanislav Sinyagin <ssinyagin@yahoo.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@172 a5681a0c-68f1-0310-ab6d-d61299d08faa
* single letter variants for all graph options -- James Overbeck <grendel@gmo.jp>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@171 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@171 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix rrdtool compile on solaris where CC for perl is "gcc -B/usr/ccs/bin/"
-- Russell Van Tassell <russell@loosenut.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@170 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Russell Van Tassell <russell@loosenut.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@170 a5681a0c-68f1-0310-ab6d-d61299d08faa
note on info added
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@169 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@169 a5681a0c-68f1-0310-ab6d-d61299d08faa
added g as valid string format value
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@168 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@168 a5681a0c-68f1-0310-ab6d-d61299d08faa
check for -OPT:IEEE_NaN_inf=ON on SGI C compiler
-- Albert Chin-A-Young <china@thewrittenword.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@167 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Albert Chin-A-Young <china@thewrittenword.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@167 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@166 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@166 a5681a0c-68f1-0310-ab6d-d61299d08faa
added patch for apache 2 compatibility
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@165 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@165 a5681a0c-68f1-0310-ab6d-d61299d08faa
keep up with the jhonses
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@164 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@164 a5681a0c-68f1-0310-ab6d-d61299d08faa
-z does not take an option -- Tomoyuki Murakami <tomoyuki@pobox.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@163 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@163 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed leak in VDEF_PERCENT handlin -- Perry Stoll <perry_stoll@yahoo.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@162 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@162 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix for segfault condition in print_calc
-- Paul Clifford <paul.clifford@bbc.co.uk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@161 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Paul Clifford <paul.clifford@bbc.co.uk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@161 a5681a0c-68f1-0310-ab6d-d61299d08faa
improved fetch explanation -- Nenad.Antic@era.ericsson.se
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@160 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@160 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed DEF_NAM_FMT definition
added double include protection the rrd_graph.h and rrd_rpncalc.h
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@159 a5681a0c-68f1-0310-ab6d-d61299d08faa
added double include protection the rrd_graph.h and rrd_rpncalc.h
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@159 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed PREV parsing ... Gonzalo Augusto Arana Tagle <garana@uolsinectis.com.ar>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@158 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@158 a5681a0c-68f1-0310-ab6d-d61299d08faa
new operators must be added at the END of the sequence ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@157 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@157 a5681a0c-68f1-0310-ab6d-d61299d08faa
new operand on rrdgraph CDEFs: PREV(xxxx) -- Gonzalo Augusto Arana Tagle <garana@uolsinectis.com.ar>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@156 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@156 a5681a0c-68f1-0310-ab6d-d61299d08faa
explain tzset
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@155 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@155 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed DINF for win32
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@154 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@154 a5681a0c-68f1-0310-ab6d-d61299d08faa
Changed DEF:...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@153 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@153 a5681a0c-68f1-0310-ab6d-d61299d08faa
Changed parsing again.
Added a DEBUG prefix to all grapher commands
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@152 a5681a0c-68f1-0310-ab6d-d61299d08faa
Added a DEBUG prefix to all grapher commands
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@152 a5681a0c-68f1-0310-ab6d-d61299d08faa
Not needed anymore
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@151 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@151 a5681a0c-68f1-0310-ab6d-d61299d08faa
DEF now takes "--start" and "--end"
LINEx, AREA and such now take parameter "STACK"
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@150 a5681a0c-68f1-0310-ab6d-d61299d08faa
LINEx, AREA and such now take parameter "STACK"
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@150 a5681a0c-68f1-0310-ab6d-d61299d08faa
Updated docs for the "DEF ... :step=nnnn" case
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@149 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@149 a5681a0c-68f1-0310-ab6d-d61299d08faa
Added "step=1800" and such to "DEF"
Cleaned some of the signed vs. unsigned problems
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@148 a5681a0c-68f1-0310-ab6d-d61299d08faa
Cleaned some of the signed vs. unsigned problems
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@148 a5681a0c-68f1-0310-ab6d-d61299d08faa
In stead of a zillion warnings, only one place gives a warning for DNAN
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@147 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@147 a5681a0c-68f1-0310-ab6d-d61299d08faa
More Win32 build changes; thanks to Kerry Calvert.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@146 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@146 a5681a0c-68f1-0310-ab6d-d61299d08faa
better explanations -- "Shipway, Steve" <steve.shipway@eds.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@145 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@145 a5681a0c-68f1-0310-ab6d-d61299d08faa
Changed intercept to slope for beta parameter in rrdtune doc.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@144 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@144 a5681a0c-68f1-0310-ab6d-d61299d08faa
VC++ .NET (7.0) project files
-- Eric Chamberlain <echamber@socrates.Berkeley.EDU>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@143 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Eric Chamberlain <echamber@socrates.Berkeley.EDU>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@143 a5681a0c-68f1-0310-ab6d-d61299d08faa
added -W ... lets have some more warnings ... with gcc 3.1 985
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@142 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@142 a5681a0c-68f1-0310-ab6d-d61299d08faa
afm fixes -- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@141 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@141 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fix Win32 Build compatibility.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@140 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@140 a5681a0c-68f1-0310-ab6d-d61299d08faa
double free fixed
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@139 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@139 a5681a0c-68f1-0310-ab6d-d61299d08faa
make opendir readdir chdir chroot and thus the serverfunctionality
a conditional compile depending on the presence of the necessary function calls.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@138 a5681a0c-68f1-0310-ab6d-d61299d08faa
a conditional compile depending on the presence of the necessary function calls.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@138 a5681a0c-68f1-0310-ab6d-d61299d08faa
make dirent sys/types and sys/stat autoconfable ....
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@137 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@137 a5681a0c-68f1-0310-ab6d-d61299d08faa
Add funtionality to rrdtool to run it as a 'server'
-- Hartmut.Vogler@epost.de
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@136 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Hartmut.Vogler@epost.de
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@136 a5681a0c-68f1-0310-ab6d-d61299d08faa
new command rrdtool xport integrated
-- Wolfgang Schrimm <Wolfgang.Schrimm@urz.uni-heidelberg.de>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@135 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Wolfgang Schrimm <Wolfgang.Schrimm@urz.uni-heidelberg.de>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@135 a5681a0c-68f1-0310-ab6d-d61299d08faa
typo fixed
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@134 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@134 a5681a0c-68f1-0310-ab6d-d61299d08faa
badformat parser fixed ... for good this time I hope
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@133 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@133 a5681a0c-68f1-0310-ab6d-d61299d08faa
inserted PRINT checker at the wrong point ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@132 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@132 a5681a0c-68f1-0310-ab6d-d61299d08faa
It's nice and simple, the error checker for the PRINT stuff which is
passed to printf() is not allowing certain valid printf() style operations
which make text alignment much more fun.
-- Richard A Steenbergen <ras@e-gerbil.net>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@131 a5681a0c-68f1-0310-ab6d-d61299d08faa
passed to printf() is not allowing certain valid printf() style operations
which make text alignment much more fun.
-- Richard A Steenbergen <ras@e-gerbil.net>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@131 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed setlocale issues
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@130 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@130 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed adress for wishlist
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@129 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@129 a5681a0c-68f1-0310-ab6d-d61299d08faa
Patch for supporting PDF as output format
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@128 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@128 a5681a0c-68f1-0310-ab6d-d61299d08faa
Modification of rrd_graph.c/h so it uses dashes for gridlines much like
rrdtool 1.0 Avoids drawing minor vertical gridlines where a major gridline
is to avoid artifacts from having the grey line beneath the red one. Patches
src/rrd_graph.c and src/rrd_graph.h
-- Peter Speck <speck@ruc.dk
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@127 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrdtool 1.0 Avoids drawing minor vertical gridlines where a major gridline
is to avoid artifacts from having the grey line beneath the red one. Patches
src/rrd_graph.c and src/rrd_graph.h
-- Peter Speck <speck@ruc.dk
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@127 a5681a0c-68f1-0310-ab6d-d61299d08faa
Improvement of svg/eps dash code so it adjusts dash-lengths for round caps.
-- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@126 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@126 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed setlocale issues
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@125 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@125 a5681a0c-68f1-0310-ab6d-d61299d08faa
doc for gridfit by peter
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@124 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@124 a5681a0c-68f1-0310-ab6d-d61299d08faa
Evenly-spaced y-axis gridlines.
I had to split horizontal_grid() into calc_horizontal_grid and
draw_horizontal_grid as the calculated info is needed in the adjustment
code. My previous patch had the problem that it adjusted the y-axis too
late, e.g. after the data lines was drawn.
The result of the calc is stored in struct ygrid_scale_t which
image_desc_t has as a member.
--no-gridfit is implemented.
The round-to-integer coordinates for png is moved to the libart code in
rrd_gfx. The 'close path' code is cleaned up so the node list is left
unchanged if you want to save the same graph in multiple formats in one
run. The rounding is done on the scaled coordinates (zoom).
I have made a simple version for logarithmic y scales as such a scale
might have 5 gridlines with 4 difference spacings. This version only
uses y = 10^x values for modifying the scale. -- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@123 a5681a0c-68f1-0310-ab6d-d61299d08faa
I had to split horizontal_grid() into calc_horizontal_grid and
draw_horizontal_grid as the calculated info is needed in the adjustment
code. My previous patch had the problem that it adjusted the y-axis too
late, e.g. after the data lines was drawn.
The result of the calc is stored in struct ygrid_scale_t which
image_desc_t has as a member.
--no-gridfit is implemented.
The round-to-integer coordinates for png is moved to the libart code in
rrd_gfx. The 'close path' code is cleaned up so the node list is left
unchanged if you want to save the same graph in multiple formats in one
run. The rounding is done on the scaled coordinates (zoom).
I have made a simple version for logarithmic y scales as such a scale
might have 5 gridlines with 4 difference spacings. This version only
uses y = 10^x values for modifying the scale. -- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@123 a5681a0c-68f1-0310-ab6d-d61299d08faa
remove boguos description of goodfor and refresh
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@122 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@122 a5681a0c-68f1-0310-ab6d-d61299d08faa
removed tzset as it is in rrd_graph now
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@121 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@121 a5681a0c-68f1-0310-ab6d-d61299d08faa
added tzset and setlocale to rrd_graph
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@120 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@120 a5681a0c-68f1-0310-ab6d-d61299d08faa
added missing files from peters patch
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@119 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@119 a5681a0c-68f1-0310-ab6d-d61299d08faa
3 patches, #3 depends on #1 as EPS uses AFM for stringwidth too.
src/rrd_afm.[ch], src/rrd_afm_data.[ch] and changes to rrd_gfx.[ch] to
use AFM for stringwidth in SVG output.
libraries/afm with .afm files for the standard 14 postscript
fonts and perl script to create src/rrd_afm_data.c Includes small test
program to show examples of calculated stringwidth and actual
stringwidth.
Adds EPS output support.
Modifies rrd_tool.c as rrd_graph() changes the argv pointer, and
rrd_tool then always wrote the 200x100 output line to the file (which
probably doesn't do anything for png images, but eps files fail having
it after the %%EOF marker).
-- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@118 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_afm.[ch], src/rrd_afm_data.[ch] and changes to rrd_gfx.[ch] to
use AFM for stringwidth in SVG output.
libraries/afm with .afm files for the standard 14 postscript
fonts and perl script to create src/rrd_afm_data.c Includes small test
program to show examples of calculated stringwidth and actual
stringwidth.
Adds EPS output support.
Modifies rrd_tool.c as rrd_graph() changes the argv pointer, and
rrd_tool then always wrote the 200x100 output line to the file (which
probably doesn't do anything for png images, but eps files fail having
it after the %%EOF marker).
-- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@118 a5681a0c-68f1-0310-ab6d-d61299d08faa
Different default font when WIN32 is defined
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@117 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@117 a5681a0c-68f1-0310-ab6d-d61299d08faa
Removed references to GIF
Changed y0 and such into Y0 and so
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@116 a5681a0c-68f1-0310-ab6d-d61299d08faa
Changed y0 and such into Y0 and so
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@116 a5681a0c-68f1-0310-ab6d-d61299d08faa
Updated/added MVSC++ 6.0 project files for compilation of
rrd.lib and rrdtool.exe on Win32. Changes for RRDs compilation
on Win32. Moved src/ntconfig.h to confignt/config.h.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@115 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrd.lib and rrdtool.exe on Win32. Changes for RRDs compilation
on Win32. Moved src/ntconfig.h to confignt/config.h.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@115 a5681a0c-68f1-0310-ab6d-d61299d08faa
As gfx_canvas_t now has excatly the same lifespan as image_desc_t, I've
made 'gfx_canvas_t canvas' a member of image_desc_t and dropped it as a
separate parameter in all function calls.
imgformat, interlaced and zoom are moved to gfx_canvas_t. I have dropped
my old fontlib-enum as imgformat contains that information. The
gfx_render_xxx switch is moved to rrd_gfx so rrd_graph is (almost) only
bothered with image formats in cmd line parsing.
gfx_close_path is added.
gfx_new_dashed_line is added with 2 new arguments: length of a dash and
length between dashes. gfx_new_line is still there for plain lines.
Having dash-length == 0 creates normal line.
rrd_graph.c is not updated for dashed lines. It's not decided how one
should specify which and how lines are dashed. An extension of the color
specification?
svg is updated for dashes and opacity, but libart code is not. I've
fixed indent in SVG, all lines had a space before func decl. etc.
Misc small fixes, e.g. sscanf of gfx_color_t, position of x-axis arrow.
--- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@114 a5681a0c-68f1-0310-ab6d-d61299d08faa
made 'gfx_canvas_t canvas' a member of image_desc_t and dropped it as a
separate parameter in all function calls.
imgformat, interlaced and zoom are moved to gfx_canvas_t. I have dropped
my old fontlib-enum as imgformat contains that information. The
gfx_render_xxx switch is moved to rrd_gfx so rrd_graph is (almost) only
bothered with image formats in cmd line parsing.
gfx_close_path is added.
gfx_new_dashed_line is added with 2 new arguments: length of a dash and
length between dashes. gfx_new_line is still there for plain lines.
Having dash-length == 0 creates normal line.
rrd_graph.c is not updated for dashed lines. It's not decided how one
should specify which and how lines are dashed. An extension of the color
specification?
svg is updated for dashes and opacity, but libart code is not. I've
fixed indent in SVG, all lines had a space before func decl. etc.
Misc small fixes, e.g. sscanf of gfx_color_t, position of x-axis arrow.
--- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@114 a5681a0c-68f1-0310-ab6d-d61299d08faa
i suck. sorry. add ,0666 to the open(). -- Paul Vixie <paul@vix.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@113 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@113 a5681a0c-68f1-0310-ab6d-d61299d08faa
added call to tzset to activate TZ settings -- Paul A Vixie <vixie@vix.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@112 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@112 a5681a0c-68f1-0310-ab6d-d61299d08faa