updated copyrigh dates
removed error.h from threaded variant
added compiletime to rrdtool
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@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@182 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@181 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@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@180 a5681a0c-68f1-0310-ab6d-d61299d08faa
improved dist target -- Peter Stamfest <peter@stamfest.at>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@179 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@178 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@177 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@176 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@176 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix stak+nan error ... Scott Mace <smace@intt.ORG>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@175 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@174 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@173 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Travis Brown <tebrown@csh.rit.edu>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@172 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Stanislav Sinyagin <ssinyagin@yahoo.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@171 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@170 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Russell Van Tassell <russell@loosenut.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@170 a5681a0c-68f1-0310-ab6d-d61299d08faa
note on info added
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@169 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@169 a5681a0c-68f1-0310-ab6d-d61299d08faa
added g as valid string format value
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@168 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@167 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Albert Chin-A-Young <china@thewrittenword.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@167 a5681a0c-68f1-0310-ab6d-d61299d08faa
added patch for apache 2 compatibility
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@165 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@165 a5681a0c-68f1-0310-ab6d-d61299d08faa
keep up with the jhonses
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@164 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@163 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@162 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@161 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Paul Clifford <paul.clifford@bbc.co.uk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@161 a5681a0c-68f1-0310-ab6d-d61299d08faa
improved fetch explanation -- Nenad.Antic@era.ericsson.se
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@160 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@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@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@158 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@157 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@156 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@156 a5681a0c-68f1-0310-ab6d-d61299d08faa
explain tzset
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@155 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@155 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed DINF for win32
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@154 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@154 a5681a0c-68f1-0310-ab6d-d61299d08faa
Changed DEF:...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@153 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@152 a5681a0c-68f1-0310-ab6d-d61299d08faa
Added a DEBUG prefix to all grapher commands
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@152 a5681a0c-68f1-0310-ab6d-d61299d08faa
Not needed anymore
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@151 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@150 a5681a0c-68f1-0310-ab6d-d61299d08faa
LINEx, AREA and such now take parameter "STACK"
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@150 a5681a0c-68f1-0310-ab6d-d61299d08faa
Updated docs for the "DEF ... :step=nnnn" case
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@149 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@148 a5681a0c-68f1-0310-ab6d-d61299d08faa
Cleaned some of the signed vs. unsigned problems
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@147 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@147 a5681a0c-68f1-0310-ab6d-d61299d08faa
More Win32 build changes; thanks to Kerry Calvert.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@146 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@146 a5681a0c-68f1-0310-ab6d-d61299d08faa
better explanations -- "Shipway, Steve" <steve.shipway@eds.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@145 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@144 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@143 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Eric Chamberlain <echamber@socrates.Berkeley.EDU>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@142 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@142 a5681a0c-68f1-0310-ab6d-d61299d08faa
afm fixes -- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@141 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@141 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fix Win32 Build compatibility.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@140 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@140 a5681a0c-68f1-0310-ab6d-d61299d08faa
double free fixed
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@139 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@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@138 a5681a0c-68f1-0310-ab6d-d61299d08faa
make dirent sys/types and sys/stat autoconfable ....
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@137 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@136 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Hartmut.Vogler@epost.de
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@135 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Wolfgang Schrimm <Wolfgang.Schrimm@urz.uni-heidelberg.de>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@135 a5681a0c-68f1-0310-ab6d-d61299d08faa
badformat parser fixed ... for good this time I hope
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@133 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@133 a5681a0c-68f1-0310-ab6d-d61299d08faa
inserted PRINT checker at the wrong point ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@132 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@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@131 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed setlocale issues
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@130 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@130 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed adress for wishlist
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@129 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@129 a5681a0c-68f1-0310-ab6d-d61299d08faa
Patch for supporting PDF as output format
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@128 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@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@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@126 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@126 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed setlocale issues
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@125 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@125 a5681a0c-68f1-0310-ab6d-d61299d08faa
doc for gridfit by peter
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@124 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@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@123 a5681a0c-68f1-0310-ab6d-d61299d08faa
remove boguos description of goodfor and refresh
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@122 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@122 a5681a0c-68f1-0310-ab6d-d61299d08faa
removed tzset as it is in rrd_graph now
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@121 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@121 a5681a0c-68f1-0310-ab6d-d61299d08faa
added tzset and setlocale to rrd_graph
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@120 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@120 a5681a0c-68f1-0310-ab6d-d61299d08faa
added missing files from peters patch
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@119 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@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@118 a5681a0c-68f1-0310-ab6d-d61299d08faa
Different default font when WIN32 is defined
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@117 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@116 a5681a0c-68f1-0310-ab6d-d61299d08faa
Changed y0 and such into Y0 and so
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@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@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@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@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@113 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@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@112 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@112 a5681a0c-68f1-0310-ab6d-d61299d08faa
aded missing fcntl.h
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@111 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@111 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrd restore should not burn down existing files -- Paul Vixie <paul@vix.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@110 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@110 a5681a0c-68f1-0310-ab6d-d61299d08faa
merged svg update
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@109 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@109 a5681a0c-68f1-0310-ab6d-d61299d08faa
"!" takes a higher preference than "||" this means rrd_update N:: would
segfault -- Oliver Cook <ollie@uk.clara.net>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@108 a5681a0c-68f1-0310-ab6d-d61299d08faa
segfault -- Oliver Cook <ollie@uk.clara.net>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@108 a5681a0c-68f1-0310-ab6d-d61299d08faa
Added comment suggesting use of -I flag with aclocal.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@107 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@107 a5681a0c-68f1-0310-ab6d-d61299d08faa
added SVG support -- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@106 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@106 a5681a0c-68f1-0310-ab6d-d61299d08faa
Better positioning of the pie when it is alone on the canvas
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@105 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@105 a5681a0c-68f1-0310-ab6d-d61299d08faa
Modified rrd_graph
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@104 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@104 a5681a0c-68f1-0310-ab6d-d61299d08faa
Changes in rrd_graph; see NEWS
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@103 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@103 a5681a0c-68f1-0310-ab6d-d61299d08faa
removed reference to GIF
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@102 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@102 a5681a0c-68f1-0310-ab6d-d61299d08faa
remove all traces of GIF and make PNG the default
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@101 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@101 a5681a0c-68f1-0310-ab6d-d61299d08faa
Move CDEF start pointers if start of cdef is a step ahead of the start
of the data -- Ashok Mandala <chakri063@yahoo.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@100 a5681a0c-68f1-0310-ab6d-d61299d08faa
of the data -- Ashok Mandala <chakri063@yahoo.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@100 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed color area in legend and fixed color area in 3d border
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@99 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@99 a5681a0c-68f1-0310-ab6d-d61299d08faa
Pie charts didn't have anti-aliasing; building them clockwise
seems to solve this problem.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@98 a5681a0c-68f1-0310-ab6d-d61299d08faa
seems to solve this problem.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@98 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed longstanding bug affection CDEFS where values from
rrds with different resolutions got mixed ..
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@97 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrds with different resolutions got mixed ..
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@97 a5681a0c-68f1-0310-ab6d-d61299d08faa
Changed the way circle sections are drawn.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@96 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@96 a5681a0c-68f1-0310-ab6d-d61299d08faa
New, hopefully better, implementation of PART drawing
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@95 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@95 a5681a0c-68f1-0310-ab6d-d61299d08faa
realy remove zlibe 1.1.3 dir
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@94 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@94 a5681a0c-68f1-0310-ab6d-d61299d08faa
ignore generated files
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@92 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@92 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated to zlib 1.1.4
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@90 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@90 a5681a0c-68f1-0310-ab6d-d61299d08faa
replace zlib 1.1.3 with zlib 1.1.4
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@89 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@89 a5681a0c-68f1-0310-ab6d-d61299d08faa
Pie chart support added to rrdtool graph
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@88 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@88 a5681a0c-68f1-0310-ab6d-d61299d08faa
added quotes to echo
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@87 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@87 a5681a0c-68f1-0310-ab6d-d61299d08faa
Realigned function rpn_calc()
Stack checking now done using a macro
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@86 a5681a0c-68f1-0310-ab6d-d61299d08faa
Stack checking now done using a macro
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@86 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fixed some typos/errors
Updated for the NE and ISINF operators in RPN
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@85 a5681a0c-68f1-0310-ab6d-d61299d08faa
Updated for the NE and ISINF operators in RPN
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@85 a5681a0c-68f1-0310-ab6d-d61299d08faa
Using the font option resulted in a segfault. Needs more care,
the current change is just a hack
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@84 a5681a0c-68f1-0310-ab6d-d61299d08faa
the current change is just a hack
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@84 a5681a0c-68f1-0310-ab6d-d61299d08faa