Code

rrdtool.git
17 years ago* dropping in rrd_update is probably overkill since we may be dropping too much.
oetiker [Fri, 18 May 2007 11:56:34 +0000 (11:56 +0000)]
* dropping in rrd_update is probably overkill since we may be dropping too much.
* in create we have to flush before dropping.
* read fcntl.h after defining the __USE_XOPEN2K
* fix drop code in fetch ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1065 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agonow the fadvise code actually compiles ... let the testing begin.
oetiker [Thu, 17 May 2007 11:38:54 +0000 (11:38 +0000)]
now the fadvise code actually compiles ... let the testing begin.

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1064 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agonew better ? performance test ... work in progress
oetiker [Thu, 17 May 2007 08:44:26 +0000 (08:44 +0000)]
new better ? performance test ... work in progress

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1063 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded posix_fadvise support (untested) ... this should help performance by
oetiker [Thu, 17 May 2007 08:44:06 +0000 (08:44 +0000)]
added posix_fadvise support (untested) ... this should help performance by
stopping read-ahead and droping buffer cache for all rrd data except the
file header portion. Newly created files are fdsynced to disk and released
from cache after creation, to soften the blow on buffer cache by creating
new rrds.

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1062 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoremove tabs and replace with 8 spaces
oetiker [Wed, 16 May 2007 20:35:56 +0000 (20:35 +0000)]
remove tabs and replace with 8 spaces

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1061 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agouse libdir instead of exec_prefix/lib ... maybe someone wants their libraries in...
oetiker [Tue, 15 May 2007 08:39:17 +0000 (08:39 +0000)]
use libdir instead of exec_prefix/lib ... maybe someone wants their libraries in another place

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1060 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoyet another attempt to make the python build environment REALY cool
oetiker [Tue, 15 May 2007 08:36:52 +0000 (08:36 +0000)]
yet another attempt to make the python build environment REALY cool

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1059 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agomake sure the python extension gets the final resting place of the rrdlibrary compile...
oetiker [Wed, 9 May 2007 15:26:57 +0000 (15:26 +0000)]
make sure the python extension gets the final resting place of the rrdlibrary compiled in ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1057 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoruby complained about finding a previous copy of the rrdtool extension ... very odd...
oetiker [Tue, 8 May 2007 15:10:21 +0000 (15:10 +0000)]
ruby complained about finding a previous copy of the rrdtool extension ... very odd thing actually ...
adding RUBYARCHDIR= seems to help ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1056 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agodon't use round since it is c99 ... use floor(x+0.5) for positive numbers instead.
oetiker [Sun, 6 May 2007 19:38:22 +0000 (19:38 +0000)]
don't use round since it is c99 ... use floor(x+0.5) for positive numbers instead.

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1055 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprint the name of the HW cf in debug mode -- Helge Oldach
oetiker [Sun, 6 May 2007 08:50:11 +0000 (08:50 +0000)]
print the name of the HW cf in debug mode -- Helge Oldach

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1054 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded some more rounding for int to float comparisons
oetiker [Thu, 3 May 2007 12:49:44 +0000 (12:49 +0000)]
added some more rounding for int to float comparisons

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1053 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoTesting an double and an integer for equality is bound to produce odd results on...
oetiker [Thu, 3 May 2007 12:43:15 +0000 (12:43 +0000)]
Testing an double and an integer for equality is bound to produce odd results on times. Don't do it! -- rrdtool@oldach.net

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1052 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.23
oetiker [Wed, 2 May 2007 18:06:05 +0000 (18:06 +0000)]
prepare for the release of rrdtool-1.2.23

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1050 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofix python install for virgin systems
oetiker [Wed, 2 May 2007 18:05:37 +0000 (18:05 +0000)]
fix python install for virgin systems

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1049 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.22
oetiker [Wed, 2 May 2007 15:31:29 +0000 (15:31 +0000)]
prepare for the release of rrdtool-1.2.22

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1047 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofixed old urls in code
oetiker [Wed, 2 May 2007 15:31:05 +0000 (15:31 +0000)]
fixed old urls in code

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1046 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofix python for staged installs
oetiker [Wed, 2 May 2007 15:23:34 +0000 (15:23 +0000)]
fix python for staged installs

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1045 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofixed path to rrd_format.h in tcl bindings
oetiker [Wed, 2 May 2007 05:08:21 +0000 (05:08 +0000)]
fixed path to rrd_format.h in tcl bindings

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1044 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.21
oetiker [Tue, 1 May 2007 20:41:59 +0000 (20:41 +0000)]
prepare for the release of rrdtool-1.2.21

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1042 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoif the graph goes 'down' minval must be hanged instead
oetiker [Tue, 1 May 2007 20:40:15 +0000 (20:40 +0000)]
if the graph goes 'down' minval must be hanged instead

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1041 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.20
oetiker [Tue, 1 May 2007 16:36:02 +0000 (16:36 +0000)]
prepare for the release of rrdtool-1.2.20

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1039 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoupdated win32 and netware Makefiles -- Guenter Knauf
oetiker [Tue, 1 May 2007 16:24:03 +0000 (16:24 +0000)]
updated win32 and netware Makefiles -- Guenter Knauf

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1038 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded some const casts
oetiker [Tue, 1 May 2007 16:23:19 +0000 (16:23 +0000)]
added some const casts

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1037 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded --alt-autoscale-min (see --alt-autoscale-max) -- Helge Oldach
oetiker [Tue, 1 May 2007 16:19:47 +0000 (16:19 +0000)]
added --alt-autoscale-min (see --alt-autoscale-max) -- Helge Oldach

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1036 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agountabified rrd_graph.c
oetiker [Tue, 10 Apr 2007 05:43:34 +0000 (05:43 +0000)]
untabified rrd_graph.c

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1032 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agouse the shorthand for vidx ...
oetiker [Tue, 10 Apr 2007 05:41:50 +0000 (05:41 +0000)]
use the shorthand for vidx ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1031 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agothe rrd_graph_check_vname function is not used anywhere in the code ...
oetiker [Tue, 10 Apr 2007 05:27:04 +0000 (05:27 +0000)]
the rrd_graph_check_vname function is not used anywhere in the code ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1030 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agorelease font resources after thy have been used ... -- Travis Spencer
oetiker [Fri, 6 Apr 2007 07:28:33 +0000 (07:28 +0000)]
release font resources after thy have been used ... -- Travis Spencer

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1029 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agonew function rrd_fetch_r() (and make the
oetiker [Mon, 2 Apr 2007 06:21:19 +0000 (06:21 +0000)]
new function rrd_fetch_r() (and make the
strings const char* instead of char*).  The only difference between
rrd_fetch_r() and rrd_fetch_fn() is that rrd_fetch_r() receives the
consolidation function as a string (instead of an enum cf_en) and is thread-safe -- Sam Umbach

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1028 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agomake xml2rrd more robust on invalid input -- Florian Forster
oetiker [Mon, 2 Apr 2007 06:18:15 +0000 (06:18 +0000)]
make xml2rrd more robust on invalid input -- Florian Forster

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1027 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded vardef
oetiker [Thu, 29 Mar 2007 19:08:26 +0000 (19:08 +0000)]
added vardef

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1026 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofix the snprintf call for vtag ... it was using the wrong size -- kili
oetiker [Thu, 15 Mar 2007 21:10:18 +0000 (21:10 +0000)]
fix the snprintf call for vtag ... it was using the wrong size -- kili

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1021 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofixed strerror_r usage ... #85
oetiker [Thu, 15 Mar 2007 21:03:51 +0000 (21:03 +0000)]
fixed strerror_r usage ... #85

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1020 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofix netware and win32 makefiles for new getopt names
oetiker [Sun, 11 Mar 2007 13:08:31 +0000 (13:08 +0000)]
fix netware and win32 makefiles for new getopt names

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1019 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoenable ID keyword in all source files
oetiker [Sun, 11 Mar 2007 13:04:41 +0000 (13:04 +0000)]
enable ID keyword in all source files

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1018 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agodo not use gnuisms in Makefile rules ($<)
oetiker [Sun, 11 Mar 2007 12:57:38 +0000 (12:57 +0000)]
do not use gnuisms in Makefile rules ($<)

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1017 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agouse Guenters latest Netware Makefile ...
oetiker [Sun, 11 Mar 2007 12:41:46 +0000 (12:41 +0000)]
use Guenters latest Netware Makefile ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1016 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoaxe the double quotes on $perlcc in configure to allow for program names with arguments.
oetiker [Sat, 10 Mar 2007 17:44:12 +0000 (17:44 +0000)]
axe the double quotes on $perlcc in configure to allow for program names with arguments.

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1014 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agointegers can be negative ... fixed the test for this in rrd_update -- rians cc usu edu
oetiker [Sat, 10 Mar 2007 17:36:32 +0000 (17:36 +0000)]
integers can be negative ... fixed the test for this in rrd_update -- rians cc usu edu

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1013 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years ago* build extensions last since this seems to be most likely to fail
oetiker [Sat, 3 Mar 2007 11:03:38 +0000 (11:03 +0000)]
* build extensions last since this seems to be most likely to fail
* do more testing before building the ruby extension

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1012 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofix memmory problem in rrd_dump.c
oetiker [Sat, 24 Feb 2007 17:23:02 +0000 (17:23 +0000)]
fix memmory problem in rrd_dump.c

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1010 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agonew operator ABS added --
oetiker [Wed, 14 Feb 2007 18:54:29 +0000 (18:54 +0000)]
new operator ABS added --

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1008 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agorenamed getopt to rrd_getopt to avoid confusion on some systems ...
oetiker [Wed, 14 Feb 2007 18:48:21 +0000 (18:48 +0000)]
renamed getopt to rrd_getopt to avoid confusion on some systems ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1007 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agocosmetic fix for usage message -- günter knauff
oetiker [Wed, 14 Feb 2007 18:47:41 +0000 (18:47 +0000)]
cosmetic fix for usage message -- günter knauff

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1006 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded new win32 component to the release tarball
oetiker [Wed, 14 Feb 2007 18:46:56 +0000 (18:46 +0000)]
added new win32 component to the release tarball

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1005 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoupdates to the windows build system by guenter knauff
oetiker [Wed, 14 Feb 2007 18:46:16 +0000 (18:46 +0000)]
updates to the windows build system by guenter knauff

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1004 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoallow --units-length to reserve label space even when --y-grid=none is in effect...
oetiker [Wed, 14 Feb 2007 06:53:01 +0000 (06:53 +0000)]
allow --units-length to reserve label space even when --y-grid=none is in effect [#75], tobi

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1003 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoparsing absolute time should not send us 30,000 years into the future -- Tatsuki...
oetiker [Wed, 14 Feb 2007 06:33:49 +0000 (06:33 +0000)]
parsing absolute time should not send us 30,000 years into the future -- Tatsuki Makino tatsuki_makino hotmail.com

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1002 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoPrintstrftime on rrd_cgi.c returns an illegal value. It causes segmentation fault...
oetiker [Wed, 14 Feb 2007 06:31:52 +0000 (06:31 +0000)]
Printstrftime on rrd_cgi.c returns an illegal value. It causes segmentation fault error. -- Tatsuki Makino tatsuki_makino hotmail.com

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1001 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agomore build patches from Günter Knauf
oetiker [Fri, 9 Feb 2007 22:19:48 +0000 (22:19 +0000)]
more build patches from Günter Knauf

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@998 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoupdates for Win32 and NW Makefiles -- Guenter Knauf
oetiker [Thu, 8 Feb 2007 06:01:43 +0000 (06:01 +0000)]
updates for Win32 and NW Makefiles -- Guenter Knauf

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@997 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded get_ver.awk to release
oetiker [Thu, 8 Feb 2007 05:54:23 +0000 (05:54 +0000)]
added get_ver.awk to release

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@996 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agothere is no Makefile.in for python anymore!
oetiker [Thu, 8 Feb 2007 05:51:48 +0000 (05:51 +0000)]
there is no Makefile.in for python anymore!

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@995 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoDPRINTF may not be the ideal define ... use something more RRDish ... like RRDPRINTF
oetiker [Wed, 7 Feb 2007 21:35:39 +0000 (21:35 +0000)]
DPRINTF may not be the ideal define ... use something more RRDish ... like RRDPRINTF

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@994 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agouse setup.py for python install and build work instad of trying todo it on our own
oetiker [Wed, 7 Feb 2007 21:35:07 +0000 (21:35 +0000)]
use setup.py for python install and build work instad of trying todo it on our own

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@993 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded Makefile targets for python
oetiker [Wed, 7 Feb 2007 21:31:33 +0000 (21:31 +0000)]
added Makefile targets for python

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@992 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agopython does no get built externally
oetiker [Wed, 7 Feb 2007 21:30:18 +0000 (21:30 +0000)]
python does no get built externally

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@991 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded IBM Public License to the list of Exceptions
oetiker [Fri, 2 Feb 2007 18:22:34 +0000 (18:22 +0000)]
added IBM Public License to the list of Exceptions

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@990 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoincreasse portability (no // comment, no ... arguments for cpp)
oetiker [Fri, 2 Feb 2007 12:19:12 +0000 (12:19 +0000)]
increasse portability (no // comment, no ... arguments for cpp)

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@989 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agowe should use the headers from the local rrdtool setup and not the system ones!
oetiker [Thu, 1 Feb 2007 22:00:23 +0000 (22:00 +0000)]
we should use the headers from the local rrdtool setup and not the system ones!

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@988 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.19
oetiker [Thu, 1 Feb 2007 05:51:34 +0000 (05:51 +0000)]
prepare for the release of rrdtool-1.2.19

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@986 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agolibtool builds shared libraries anyway, no need for extra LDFLAGS
oetiker [Thu, 1 Feb 2007 05:45:03 +0000 (05:45 +0000)]
libtool builds shared libraries anyway, no need for extra LDFLAGS
that bite non GNU ld versions

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@985 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoresolve snprintf overflow warning by using sizeof -- Anna Bernathova suse cz
oetiker [Mon, 29 Jan 2007 16:47:28 +0000 (16:47 +0000)]
resolve snprintf overflow warning by using sizeof -- Anna Bernathova suse cz

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@979 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.18
oetiker [Tue, 23 Jan 2007 20:54:46 +0000 (20:54 +0000)]
prepare for the release of rrdtool-1.2.18

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@977 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agothe change from R920 to fetch was not helping ... no low res got prefered in
oetiker [Tue, 23 Jan 2007 20:52:35 +0000 (20:52 +0000)]
the change from R920 to fetch was not helping ... no low res got prefered in
non full coverage situations ..

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@976 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoanother control sequence that got lost ...
oetiker [Tue, 23 Jan 2007 17:30:27 +0000 (17:30 +0000)]
another control sequence that got lost ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@975 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoread up to full potential length of gdp->rrd
oetiker [Tue, 23 Jan 2007 08:28:56 +0000 (08:28 +0000)]
read up to full potential length of gdp->rrd

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@974 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded missing B formatting instruction
oetiker [Mon, 22 Jan 2007 16:34:55 +0000 (16:34 +0000)]
added missing B formatting instruction

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@972 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agocreate non version link
oetiker [Mon, 22 Jan 2007 10:49:19 +0000 (10:49 +0000)]
create non version link

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@971 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.17
oetiker [Mon, 22 Jan 2007 10:33:30 +0000 (10:33 +0000)]
prepare for the release of rrdtool-1.2.17

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@969 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.17
oetiker [Mon, 22 Jan 2007 10:29:11 +0000 (10:29 +0000)]
prepare for the release of rrdtool-1.2.17

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@968 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agointroduced \n as an alias for \l since people seem to be using it despite
oetiker [Mon, 22 Jan 2007 10:28:39 +0000 (10:28 +0000)]
introduced \n as an alias for \l since people seem to be using it despite
the documentation not talking about this ... so now it is official and I bet
there will soon be people asking why this was only working at the end of a
line. -- tobi

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@967 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoremoved mentiones of \n ...
oetiker [Sun, 21 Jan 2007 22:22:30 +0000 (22:22 +0000)]
removed mentiones of \n ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@966 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.16
oetiker [Sat, 20 Jan 2007 22:54:25 +0000 (22:54 +0000)]
prepare for the release of rrdtool-1.2.16

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@962 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.16
oetiker [Sat, 20 Jan 2007 22:48:37 +0000 (22:48 +0000)]
prepare for the release of rrdtool-1.2.16

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@961 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.16
oetiker [Sat, 20 Jan 2007 22:22:10 +0000 (22:22 +0000)]
prepare for the release of rrdtool-1.2.16

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@960 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.16
oetiker [Sat, 20 Jan 2007 20:19:13 +0000 (20:19 +0000)]
prepare for the release of rrdtool-1.2.16

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@959 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.16
oetiker [Sat, 20 Jan 2007 20:17:31 +0000 (20:17 +0000)]
prepare for the release of rrdtool-1.2.16

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@958 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.16
oetiker [Sat, 20 Jan 2007 20:16:15 +0000 (20:16 +0000)]
prepare for the release of rrdtool-1.2.16

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@957 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agothis did not compile after integrating the new fetchlast command -- Andy Riebs
oetiker [Sat, 20 Jan 2007 20:03:14 +0000 (20:03 +0000)]
this did not compile after integrating the new fetchlast command  -- Andy Riebs

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@956 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.16
oetiker [Sat, 20 Jan 2007 16:41:15 +0000 (16:41 +0000)]
prepare for the release of rrdtool-1.2.16

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@955 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoget ready for 1.2.16 release
oetiker [Sat, 20 Jan 2007 16:39:32 +0000 (16:39 +0000)]
get ready for 1.2.16 release

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@954 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoaargh another missing bit from lastupdate added ...
oetiker [Thu, 18 Jan 2007 23:43:26 +0000 (23:43 +0000)]
aargh another missing bit from lastupdate added ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@953 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofinish integration of lastupdate commmand ...
oetiker [Wed, 17 Jan 2007 23:35:01 +0000 (23:35 +0000)]
finish integration of lastupdate commmand ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@952 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoNew functions lastupdate to efficiently get the last values fed into the rrd ......
oetiker [Wed, 17 Jan 2007 21:31:23 +0000 (21:31 +0000)]
New functions lastupdate to efficiently get the last values fed into the rrd ... this also changes that the last values
get stored even for ABSOLUTE and GAUGE data sources ... -- andy.riebs hp.com

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@951 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadd missing \0 to the end of several strncpy strings
oetiker [Sat, 16 Dec 2006 16:14:43 +0000 (16:14 +0000)]
add missing \0 to the end of several strncpy strings

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@938 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoreplace malloc/strncpy by strdup
oetiker [Sat, 16 Dec 2006 16:13:53 +0000 (16:13 +0000)]
replace malloc/strncpy by strdup
add \0 to the end of several strncpy strings
add missing free
fix error string rendering :... makes no sense here

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@937 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agomove headers around to make more sense
oetiker [Sat, 16 Dec 2006 16:11:46 +0000 (16:11 +0000)]
move headers around to make more sense

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@936 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoinit the context on first call
oetiker [Sat, 16 Dec 2006 16:10:58 +0000 (16:10 +0000)]
init the context on first call

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@935 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agomake sure there is ample space in the static strings
oetiker [Sat, 16 Dec 2006 16:05:07 +0000 (16:05 +0000)]
make sure there is ample space in the static strings

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@934 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agooops 99 is the last item
oetiker [Sat, 16 Dec 2006 16:04:05 +0000 (16:04 +0000)]
oops 99 is the last item

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@933 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoit is sufficient to set the last item to 0
oetiker [Sat, 16 Dec 2006 16:02:43 +0000 (16:02 +0000)]
it is sufficient to set the last item to 0

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@932 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agogetopt is required for rrdupdate too (there are platforms where this is not in libc...
oetiker [Sat, 16 Dec 2006 16:02:00 +0000 (16:02 +0000)]
getopt is required for rrdupdate too (there are platforms where this is not in libc ... eg solaris)

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@931 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agowe have 2006 now
oetiker [Sat, 16 Dec 2006 16:01:25 +0000 (16:01 +0000)]
we have 2006 now

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@930 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoit makes no sense allocating an array and then asiging it to a fixed string ...
oetiker [Sat, 16 Dec 2006 15:56:26 +0000 (15:56 +0000)]
it makes no sense allocating an array and then asiging it to a fixed string ...
this caused stuff to crash badly as long error strings were assigned.

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@929 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded note on alternate CFLAGS for Forte
oetiker [Mon, 11 Dec 2006 19:11:36 +0000 (19:11 +0000)]
added note on alternate CFLAGS for Forte

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@927 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoc is a valid formatting character
oetiker [Thu, 7 Dec 2006 19:51:59 +0000 (19:51 +0000)]
c is a valid formatting character

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@925 a5681a0c-68f1-0310-ab6d-d61299d08faa

18 years agofixed typo
oetiker [Sun, 19 Nov 2006 11:15:32 +0000 (11:15 +0000)]
fixed typo

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@922 a5681a0c-68f1-0310-ab6d-d61299d08faa

18 years agowhen fetching, don't pick a higher res rra just because it's coverage at the 'end...
oetiker [Mon, 6 Nov 2006 06:53:13 +0000 (06:53 +0000)]
when fetching, don't pick a higher res rra just because it's coverage at the 'end' of the
requested range is better ... -- Sebastian Pachuta seba123 seba123.webd.pl

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@920 a5681a0c-68f1-0310-ab6d-d61299d08faa