oetiker [Sun, 28 Apr 2002 19:13:04 +0000 (19:13 +0000)]
inserted PRINT checker at the wrong point ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@132
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sun, 28 Apr 2002 14:14:48 +0000 (14:14 +0000)]
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
oetiker [Wed, 24 Apr 2002 21:04:46 +0000 (21:04 +0000)]
fixed setlocale issues
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@130
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Wed, 24 Apr 2002 20:54:09 +0000 (20:54 +0000)]
fixed adress for wishlist
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@129
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Wed, 24 Apr 2002 20:49:26 +0000 (20:49 +0000)]
Patch for supporting PDF as output format
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@128
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Wed, 24 Apr 2002 20:49:00 +0000 (20:49 +0000)]
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
oetiker [Wed, 24 Apr 2002 20:48:03 +0000 (20:48 +0000)]
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
oetiker [Wed, 24 Apr 2002 20:43:27 +0000 (20:43 +0000)]
fixed setlocale issues
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@125
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Tue, 16 Apr 2002 05:00:07 +0000 (05:00 +0000)]
doc for gridfit by peter
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@124
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Mon, 15 Apr 2002 21:29:24 +0000 (21:29 +0000)]
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
oetiker [Tue, 9 Apr 2002 21:35:49 +0000 (21:35 +0000)]
remove boguos description of goodfor and refresh
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@122
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Tue, 9 Apr 2002 21:34:56 +0000 (21:34 +0000)]
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
oetiker [Tue, 9 Apr 2002 21:34:13 +0000 (21:34 +0000)]
added tzset and setlocale to rrd_graph
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@120
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sun, 7 Apr 2002 22:07:46 +0000 (22:07 +0000)]
added missing files from peters patch
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@119
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sun, 7 Apr 2002 20:20:27 +0000 (20:20 +0000)]
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
alex [Sat, 6 Apr 2002 12:40:59 +0000 (12:40 +0000)]
Different default font when WIN32 is defined
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@117
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Sat, 6 Apr 2002 12:25:29 +0000 (12:25 +0000)]
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
jake [Fri, 5 Apr 2002 23:51:21 +0000 (23:51 +0000)]
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
oetiker [Wed, 3 Apr 2002 14:52:15 +0000 (14:52 +0000)]
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
oetiker [Wed, 3 Apr 2002 05:32:31 +0000 (05:32 +0000)]
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
oetiker [Tue, 2 Apr 2002 21:32:15 +0000 (21:32 +0000)]
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
oetiker [Tue, 2 Apr 2002 21:31:08 +0000 (21:31 +0000)]
aded missing fcntl.h
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@111
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Tue, 2 Apr 2002 19:37:54 +0000 (19:37 +0000)]
rrd restore should not burn down existing files -- Paul Vixie <paul@vix.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@110
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Mon, 1 Apr 2002 18:32:17 +0000 (18:32 +0000)]
merged svg update
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@109
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Mon, 1 Apr 2002 18:31:22 +0000 (18:31 +0000)]
"!" 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/program@108
a5681a0c-68f1-0310-ab6d-
d61299d08faa
jake [Thu, 28 Mar 2002 17:33:49 +0000 (17:33 +0000)]
Added comment suggesting use of -I flag with aclocal.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@107
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Tue, 26 Mar 2002 07:02:28 +0000 (07:02 +0000)]
added SVG support -- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@106
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Sat, 23 Mar 2002 20:41:48 +0000 (20:41 +0000)]
Better positioning of the pie when it is alone on the canvas
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@105
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Sat, 23 Mar 2002 20:01:13 +0000 (20:01 +0000)]
Modified rrd_graph
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@104
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Sat, 23 Mar 2002 19:59:39 +0000 (19:59 +0000)]
Changes in rrd_graph; see NEWS
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@103
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sat, 23 Mar 2002 09:05:32 +0000 (09:05 +0000)]
removed reference to GIF
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@102
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sat, 23 Mar 2002 09:01:43 +0000 (09:01 +0000)]
remove all traces of GIF and make PNG the default
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@101
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sat, 23 Mar 2002 08:53:31 +0000 (08:53 +0000)]
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/program@100
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Thu, 21 Mar 2002 22:39:03 +0000 (22:39 +0000)]
fixed color area in legend and fixed color area in 3d border
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@99
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Thu, 21 Mar 2002 12:00:51 +0000 (12:00 +0000)]
Pie charts didn't have anti-aliasing; building them clockwise
seems to solve this problem.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@98
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Wed, 20 Mar 2002 22:48:25 +0000 (22:48 +0000)]
fixed longstanding bug affection CDEFS where values from
rrds with different resolutions got mixed ..
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@97
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Sun, 17 Mar 2002 22:40:18 +0000 (22:40 +0000)]
Changed the way circle sections are drawn.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@96
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Wed, 13 Mar 2002 02:58:44 +0000 (02:58 +0000)]
New, hopefully better, implementation of PART drawing
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@95
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Tue, 12 Mar 2002 07:19:09 +0000 (07:19 +0000)]
realy remove zlibe 1.1.3 dir
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@94
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Tue, 12 Mar 2002 07:18:06 +0000 (07:18 +0000)]
updated
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@93
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Tue, 12 Mar 2002 07:17:46 +0000 (07:17 +0000)]
ignore generated files
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@92
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Tue, 12 Mar 2002 07:16:32 +0000 (07:16 +0000)]
missing bits
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@91
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Tue, 12 Mar 2002 06:43:38 +0000 (06:43 +0000)]
updated to zlib 1.1.4
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@90
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Tue, 12 Mar 2002 06:42:00 +0000 (06:42 +0000)]
replace zlib 1.1.3 with zlib 1.1.4
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@89
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Sun, 10 Mar 2002 23:08:37 +0000 (23:08 +0000)]
Pie chart support added to rrdtool graph
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@88
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sun, 10 Mar 2002 22:49:24 +0000 (22:49 +0000)]
added quotes to echo
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@87
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Sun, 10 Mar 2002 16:22:28 +0000 (16:22 +0000)]
Realigned function rpn_calc()
Stack checking now done using a macro
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@86
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Sun, 10 Mar 2002 14:58:30 +0000 (14:58 +0000)]
Fixed some typos/errors
Updated for the NE and ISINF operators in RPN
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@85
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Sun, 10 Mar 2002 14:53:04 +0000 (14:53 +0000)]
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/program@84
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Sun, 10 Mar 2002 14:48:59 +0000 (14:48 +0000)]
Added NE and ISINF operands to RPN
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@83
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sun, 10 Mar 2002 12:28:38 +0000 (12:28 +0000)]
better version check
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@82
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Fri, 8 Mar 2002 22:14:22 +0000 (22:14 +0000)]
Needed to escape a wildcard
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@81
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Fri, 8 Mar 2002 22:11:37 +0000 (22:11 +0000)]
Fixed some typos
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@80
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Mon, 18 Feb 2002 21:52:20 +0000 (21:52 +0000)]
added autotools version check to MakeMakefiles
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@79
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sat, 9 Feb 2002 06:21:11 +0000 (06:21 +0000)]
do propper error checking and release memmory when it is not required anymore
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@78
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Fri, 8 Feb 2002 18:40:37 +0000 (18:40 +0000)]
allow rrd_cgi to deal with umlauts -- Alexander Schwartz <alexander.schwartz@gmx.net>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@77
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sun, 3 Feb 2002 08:10:36 +0000 (08:10 +0000)]
fixed spelling
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@76
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sat, 2 Feb 2002 14:36:14 +0000 (14:36 +0000)]
fixed data pointer storage
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@75
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Fri, 1 Feb 2002 20:34:49 +0000 (20:34 +0000)]
fixed version number and date/time
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@74
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Fri, 1 Feb 2002 20:29:32 +0000 (20:29 +0000)]
*** empty log message ***
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@73
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Thu, 31 Jan 2002 22:44:34 +0000 (22:44 +0000)]
this file and all the external libraries configurability was contributed by mat zimmermann
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@72
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Thu, 31 Jan 2002 22:43:13 +0000 (22:43 +0000)]
allow use of libraries already installed on the system
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@71
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Thu, 31 Jan 2002 11:56:24 +0000 (11:56 +0000)]
make "18:00 yesterday" work Pavel Mores <pvl@uh.cz>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@70
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Thu, 31 Jan 2002 07:23:12 +0000 (07:23 +0000)]
weeknumber is not %V which is more appropriate than %W
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@69
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Thu, 31 Jan 2002 06:36:27 +0000 (06:36 +0000)]
copy ltmain.sh
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@68
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Thu, 17 Jan 2002 20:31:31 +0000 (20:31 +0000)]
this also
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@67
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Thu, 17 Jan 2002 20:30:46 +0000 (20:30 +0000)]
this is not needed anymore
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@66
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Thu, 17 Jan 2002 20:28:01 +0000 (20:28 +0000)]
killing remains
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@65
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Wed, 16 Jan 2002 23:11:11 +0000 (23:11 +0000)]
added places for download
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@64
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Tue, 15 Jan 2002 22:58:09 +0000 (22:58 +0000)]
ignore irrelevant things
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@63
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Tue, 15 Jan 2002 22:53:19 +0000 (22:53 +0000)]
added new .cvsignore files
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@62
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Tue, 15 Jan 2002 22:51:07 +0000 (22:51 +0000)]
The BIG graph update
* Replace libgd with libart
* Added freetype
* Updated zlib and libpng
* rrd_gfx.c intrduced as libart wrapper
* LINE takes now a float as argument
* rrdtool uses truetype for fonts
* thanks to libart there is now full alpha transparenc
and antialiasing.
* the new option --font lets customize the font
and size for various graph elements
* Updated to -> libtool 1.4.2 automake 2.12 autoconf 2.52
* new --zoom commandline option for zoom ans shrinking
-- tobias oetiker
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@61
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Fri, 4 Jan 2002 01:11:35 +0000 (01:11 +0000)]
Reworked rrd_graph_script()
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@60
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Mon, 24 Dec 2001 06:51:49 +0000 (06:51 +0000)]
A patch of size 44Kbytes... in short:
Found and repaired the off-by-one error in rrd_fetch_fn().
As a result I had to remove the hacks in rrd_fetch_fn(),
rrd_tool.c, vdef_calc(), data_calc(), data_proc() and
reduce_data(). There may be other places which I didn't
find so be careful.
Enhanced debugging in rrd_fetch_fn(), it shows the RRA selection
process.
Added the ability to print VDEF timestamps. At the moment it
is a hack, I needed it now to fix the off-by-one error.
If the format string is "%c" (and nothing else!), the time
will be printed by both ctime() and as a long int.
Moved some code around (slightly altering it) from rrd_graph()
initializing now in rrd_graph_init()
options parsing now in rrd_graph_options()
script parsing now in rrd_graph_script()
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@59
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Sat, 22 Dec 2001 02:49:23 +0000 (02:49 +0000)]
Somehow eight lines were missing from function rrd_graph().
Also fixed minor bug in vdef_calc().
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@58
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Mon, 17 Dec 2001 12:48:43 +0000 (12:48 +0000)]
fix overflow error ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@57
a5681a0c-68f1-0310-ab6d-
d61299d08faa
jake [Tue, 11 Dec 2001 22:55:28 +0000 (22:55 +0000)]
Fixed uninitialized ptr causing seg fault invoking info for COMPUTE data sources.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@56
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sun, 18 Nov 2001 08:41:16 +0000 (08:41 +0000)]
return "" instead of NULL for <RRD::GETENV UNKNOWN_VARIABLE> -- Michael <sysadmin@qsl.net>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@55
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sat, 17 Nov 2001 16:57:55 +0000 (16:57 +0000)]
fixed path to mkinstalldirs -- Laurent Saehyun Kim�<LKim@xo.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@54
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sat, 8 Sep 2001 18:25:17 +0000 (18:25 +0000)]
spelling updates by Martin Schulze <joey@finlandia.infodrom.north.de>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@53
a5681a0c-68f1-0310-ab6d-
d61299d08faa
jake [Wed, 22 Aug 2001 22:29:07 +0000 (22:29 +0000)]
Contents of this patch:
(1) Adds/revises documentation for rrd tune in rrd_tool.c and pod files.
(2) Moves some initialization code from rrd_create.c to rrd_hw.c.
(3) Adds another pass to smoothing for SEASONAL and DEVSEASONAL RRAs.
This pass computes the coefficients as deviations from an average; the
average is added the baseline coefficient of HWPREDICT. Statistical texts
suggest this to preserve algorithm stability. It will not invalidate
RRD files created and smoothed with the old code.
(4) Adds the aberrant-reset flag to rrd tune. This operation, which is
specified for a single data source, causes the holt-winters algorithm to
forget everthing it has learned and start over.
(5) Fixes a few out-of-date code comments.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@52
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Mon, 13 Aug 2001 18:58:07 +0000 (18:58 +0000)]
spell fix for si units (only in comments)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@51
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Sat, 28 Jul 2001 22:34:42 +0000 (22:34 +0000)]
Removing rrdgraph*.pod from the cvs
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@50
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Sat, 28 Jul 2001 22:21:44 +0000 (22:21 +0000)]
Edited Makefile.am and the rrdgraph_*.src files. By mistake the
previous update was made on the rrdgraph_*.pod files however they
are not to be edited. This is now corrected.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@49
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Thu, 26 Jul 2001 02:27:46 +0000 (02:27 +0000)]
Supporting functions for rrd_graph. Functions that are used frequently
and/or from different places should be added here in stead of repeating
them in rrd_graph.c over and over again.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@48
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Thu, 26 Jul 2001 02:25:38 +0000 (02:25 +0000)]
Moved most typedefs etc. from rrd_graph.c to this file
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@47
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Thu, 26 Jul 2001 02:22:18 +0000 (02:22 +0000)]
Added VDEF TOTAL
Moved most typedefs etc. to rrd_graph.h
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@46
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Thu, 26 Jul 2001 02:19:48 +0000 (02:19 +0000)]
Added rrd_graph_helper
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@45
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Thu, 26 Jul 2001 02:15:02 +0000 (02:15 +0000)]
Updated for VDEF TOTAL
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@44
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Thu, 26 Jul 2001 02:11:46 +0000 (02:11 +0000)]
Announce of VDEF in rrd_graph
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@43
a5681a0c-68f1-0310-ab6d-
d61299d08faa
alex [Sat, 21 Jul 2001 18:17:44 +0000 (18:17 +0000)]
Made PRINT and GPRINT aware of VDEF statements
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@42
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Fri, 20 Jul 2001 22:34:29 +0000 (22:34 +0000)]
missing documentation ... -- Alex van den Bogaerdt <alex@slot.hollandcasino.nl>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@41
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Fri, 20 Jul 2001 22:34:06 +0000 (22:34 +0000)]
only a comment
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@40
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Fri, 20 Jul 2001 22:33:17 +0000 (22:33 +0000)]
small fixes -- Alex van den Bogaerdt <alex@slot.hollandcasino.nl>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@39
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Wed, 18 Jul 2001 22:30:29 +0000 (22:30 +0000)]
VDEF and VRULE are comig along -- Alex van den Bogaerdt <alex@slot.hollandcasino.nl>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@38
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Tue, 5 Jun 2001 13:42:55 +0000 (13:42 +0000)]
spell fix
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@37
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Wed, 9 May 2001 05:31:01 +0000 (05:31 +0000)]
Bug fix: when update of multiple PDP/CDP RRAs coincided
with interpolation of multiple PDPs an incorrect value was
stored as the CDP. Especially evident for GAUGE data sources.
Minor changes to rrdcreate.pod. -- Jake Brutlag <jakeb@corp.webtv.net>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@36
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sat, 31 Mar 2001 15:21:59 +0000 (15:21 +0000)]
added 'all' dependancy to site-perl-install rule as many seem to skip
this step when instaling cricket ... probably an incomplete cricket doku.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@35
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Thu, 15 Mar 2001 19:43:04 +0000 (19:43 +0000)]
added PROJECTS file
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@34
a5681a0c-68f1-0310-ab6d-
d61299d08faa
oetiker [Sun, 11 Mar 2001 12:03:12 +0000 (12:03 +0000)]
reindented
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@33
a5681a0c-68f1-0310-ab6d-
d61299d08faa