From: Sebastian Harl sh tokkee.org
Date: Sun, 8 Jun 2008 15:01:05 +0200
Subject: [PATCH] Cleanup the symbols exported by librrd.
Up to know librrd exported a lot of symbols, most of which are to be
regarded as private symbols. This somewhat pollutes the API as the symbols
could, in theory, be used by external software and, more importantly,
makes symbol based dependencies (as recently introduced in e.g. Debian)
somewhat harder to implement.
This patch does a somewhat large-scale cleanup of the exported symbols:
* Introduced a librrd.sym file which contains all symbols that are to be
exported. This file is then passed to libtool using the -export-symbols
option which tells the linker to export the given symbols only (note:
according to the libtool manual, this has no effect on some
architectures - however, I assume that most architectures in use today
do support it).
librrd.sym contains all symbols originally defined in rrd.h sans
LockRRD() (which has been moved to rrd_tool.h). The following functions
have been added to rrd.h and the list of exported symbols (some of them
have been renamed, see below):
- rrd_info()
- rrd_info_free()
- rrd_info_print()
- rrd_info_push()
- rrd_lastupdate()
- rrd_update_v()
- rrd_strerror()
* Prefixed all public functions and types with "rrd_" to avoid name
clashes with other libraries. Also, while I was at it, I introduced
typedefs for all custom types and prefixed the time names with "_t" to
improve consistency:
- enum info_type -> rrd_info_type_t
- enum timetype -> rrd_timetype_t
- union infoval -> rrd_infoval_t
- struct info_t -> rrd_info_t
- struct rrd_context -> rrd_context_t
- struct rrd_time_value -> rrd_time_value_t
- info_free() -> rrd_info_free()
- info_free() -> rrd_info_free()
- info_print() -> rrd_info_print()
- info_push() -> rrd_info_push()
- LockRRD() -> rrd_lock() (not public though)
- parsetime() -> rrd_parsetime()
(and: src/parsetime.c -> src/rrd_parsetime.c)
- proc_start_end() -> rrd_proc_start_end()
- set_to_DINF() -> rrd_set_to_DINF()
- set_to_DNAN() -> rrd_set_to_DNAN()
* Moved readfile() from rrd_open.c to rrd_cgi.c and declared it static.
This function is used in rrd_cgi.c only.
* rrd_lock() (f.k.a. LockRRD()) now accepts a rrd_file_t pointer instead
of an integer to increase encapsulation.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1405 a5681a0c-68f1-0310-ab6d-d61299d08faa
Date: Sun, 8 Jun 2008 15:01:05 +0200
Subject: [PATCH] Cleanup the symbols exported by librrd.
Up to know librrd exported a lot of symbols, most of which are to be
regarded as private symbols. This somewhat pollutes the API as the symbols
could, in theory, be used by external software and, more importantly,
makes symbol based dependencies (as recently introduced in e.g. Debian)
somewhat harder to implement.
This patch does a somewhat large-scale cleanup of the exported symbols:
* Introduced a librrd.sym file which contains all symbols that are to be
exported. This file is then passed to libtool using the -export-symbols
option which tells the linker to export the given symbols only (note:
according to the libtool manual, this has no effect on some
architectures - however, I assume that most architectures in use today
do support it).
librrd.sym contains all symbols originally defined in rrd.h sans
LockRRD() (which has been moved to rrd_tool.h). The following functions
have been added to rrd.h and the list of exported symbols (some of them
have been renamed, see below):
- rrd_info()
- rrd_info_free()
- rrd_info_print()
- rrd_info_push()
- rrd_lastupdate()
- rrd_update_v()
- rrd_strerror()
* Prefixed all public functions and types with "rrd_" to avoid name
clashes with other libraries. Also, while I was at it, I introduced
typedefs for all custom types and prefixed the time names with "_t" to
improve consistency:
- enum info_type -> rrd_info_type_t
- enum timetype -> rrd_timetype_t
- union infoval -> rrd_infoval_t
- struct info_t -> rrd_info_t
- struct rrd_context -> rrd_context_t
- struct rrd_time_value -> rrd_time_value_t
- info_free() -> rrd_info_free()
- info_free() -> rrd_info_free()
- info_print() -> rrd_info_print()
- info_push() -> rrd_info_push()
- LockRRD() -> rrd_lock() (not public though)
- parsetime() -> rrd_parsetime()
(and: src/parsetime.c -> src/rrd_parsetime.c)
- proc_start_end() -> rrd_proc_start_end()
- set_to_DINF() -> rrd_set_to_DINF()
- set_to_DNAN() -> rrd_set_to_DNAN()
* Moved readfile() from rrd_open.c to rrd_cgi.c and declared it static.
This function is used in rrd_cgi.c only.
* rrd_lock() (f.k.a. LockRRD()) now accepts a rrd_file_t pointer instead
of an integer to increase encapsulation.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1405 a5681a0c-68f1-0310-ab6d-d61299d08faa
don't bother with don't need when there is neither madvise not fadvise calls
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1404 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1404 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix for --font bug (font names wer not being picked up at all). Bug reported by Dmitry B. Bigunayk
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1403 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1403 a5681a0c-68f1-0310-ab6d-d61299d08faa
added pango markup name
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1402 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1402 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed indenting
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1401 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1401 a5681a0c-68f1-0310-ab6d-d61299d08faa
disable pango markup by default. added --pango-markup option for explicit enablement.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1400 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1400 a5681a0c-68f1-0310-ab6d-d61299d08faa
disable pango markup by default. added --pango-markup option for explicit enablement.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1399 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1399 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed indenting
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1398 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1398 a5681a0c-68f1-0310-ab6d-d61299d08faa
enable new building for newer tcl versions
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1397 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1397 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated documentation of library versioning system
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1396 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1396 a5681a0c-68f1-0310-ab6d-d61299d08faa
16 years agoHad to reset the interface version number due to the change in the rrd_context implem...
Had to reset the interface version number due to the change in the rrd_context implementation.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1395 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1395 a5681a0c-68f1-0310-ab6d-d61299d08faa
use DNAN instead of NAN since there seem to be issues with gcc on solaris and the NAN experession (and we use DNAN everywhere else anyway).
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1394 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1394 a5681a0c-68f1-0310-ab6d-d61299d08faa
integrated gentoo bits and spell fixes by Peter Volkov
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1393 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1393 a5681a0c-68f1-0310-ab6d-d61299d08faa
Patch for rrd_context system by sebastian harl, making it simpler and less error prone. Removing one buffer overflow in the process.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1392 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1392 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3rc7
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1389 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1389 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3rc7
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1388 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1388 a5681a0c-68f1-0310-ab6d-d61299d08faa
added pkgconfig build instructions
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1387 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1387 a5681a0c-68f1-0310-ab6d-d61299d08faa
make sure vdef calcs only calc as far as originally requested.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1386 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1386 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed maxlength for sprintf_alloc 50 was not enough ... 1024+strlen(fmt) is much better. This
makes imginfo work even when there are long image paths.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1385 a5681a0c-68f1-0310-ab6d-d61299d08faa
makes imginfo work even when there are long image paths.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1385 a5681a0c-68f1-0310-ab6d-d61299d08faa
initial talk slides
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1383 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1383 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated todo list
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1382 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1382 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3rc6
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1380 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1380 a5681a0c-68f1-0310-ab6d-d61299d08faa
added notes about new grid lines
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1379 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1379 a5681a0c-68f1-0310-ab6d-d61299d08faa
* make y-axis labels NOT run into each other (classic and alt)
* space horizontal grid lines and lables a bit further apart for tight
layouts.
* let horizontal lines and y axis labels run a little closer for classic grid
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1378 a5681a0c-68f1-0310-ab6d-d61299d08faa
* space horizontal grid lines and lables a bit further apart for tight
layouts.
* let horizontal lines and y axis labels run a little closer for classic grid
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1378 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed calculation of space at the bottom of the graph
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1377 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1377 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3rc5
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1375 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1375 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix update compatibility with rrd-1.0.x files
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1374 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1374 a5681a0c-68f1-0310-ab6d-d61299d08faa
droped rrd_extra.h from the distro with the python update ... must remove it from the Makefile too
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1373 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1373 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed python bindings:
* info call isnnow aequivalent to rrdtool info (the same as in the perl and ruby bindings)
* graphv and updatev calls added
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1372 a5681a0c-68f1-0310-ab6d-d61299d08faa
* info call isnnow aequivalent to rrdtool info (the same as in the perl and ruby bindings)
* graphv and updatev calls added
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1372 a5681a0c-68f1-0310-ab6d-d61299d08faa
* document tabwidth option
* fix \t -> tab expansion
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1371 a5681a0c-68f1-0310-ab6d-d61299d08faa
* fix \t -> tab expansion
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1371 a5681a0c-68f1-0310-ab6d-d61299d08faa
ytr boundery checking ... this is from the GD days ... we don't need this anymore
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1370 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1370 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix indenting
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1369 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1369 a5681a0c-68f1-0310-ab6d-d61299d08faa
pdf, svg and ps formats were not being created
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1368 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1368 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3rc4
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1366 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1366 a5681a0c-68f1-0310-ab6d-d61299d08faa
PRINT returns from rrd_graph did not work due to an off by one error
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1364 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1364 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated build instructions to latest libraries
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1363 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1363 a5681a0c-68f1-0310-ab6d-d61299d08faa
improved handling of libintl issues
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1362 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1362 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3rc3
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1360 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1360 a5681a0c-68f1-0310-ab6d-d61299d08faa
added --no-header to documentation and fixed implementation
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1359 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1359 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed dump_opt implementation
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1358 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1358 a5681a0c-68f1-0310-ab6d-d61299d08faa
added no-header option to rrd_dump
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1357 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1357 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix handling of values <= zero for logarithmic display
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1356 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1356 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3rc2
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1354 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1354 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3rc2
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1353 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1353 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix portability to mac osx and freebsd -- tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1352 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1352 a5681a0c-68f1-0310-ab6d-d61299d08faa
add solaris pod2man location last
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1351 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1351 a5681a0c-68f1-0310-ab6d-d61299d08faa
some changes to make things work on opensolaris 2008.05
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1350 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1350 a5681a0c-68f1-0310-ab6d-d61299d08faa
for some reason tclrrd.c does not get picked up using $< at least on opensolaris
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1349 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1349 a5681a0c-68f1-0310-ab6d-d61299d08faa
allow rrd_rpncalc to build without cairo dependencies ...
fix warnings
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1348 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix warnings
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1348 a5681a0c-68f1-0310-ab6d-d61299d08faa
add intltool*in files to dist
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1346 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1346 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed indenting
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1345 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1345 a5681a0c-68f1-0310-ab6d-d61299d08faa
removed c++ comments //
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1344 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1344 a5681a0c-68f1-0310-ab6d-d61299d08faa
added notes about rewrites in this release
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1343 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1343 a5681a0c-68f1-0310-ab6d-d61299d08faa
improved handling of library versioning
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1342 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1342 a5681a0c-68f1-0310-ab6d-d61299d08faa
should not leave debug enabled
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1341 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1341 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fixed handling of unknown data at PDP build time. There was a long standing
(even documented) missfeature in rrdtool which caused uknown-data to be
accepted as long as it was less than the mrhb. This was never the intended
behaviour and had interesting side effects
(http://oss.oetiker.ch/rrdtool-trac/ticket/125): If you have a 60 Second
step with 59s unknown data and 1 second of known data the whole become known
data as long as the mrhb was > step. The intended behaviour was that a step
should become unknown as soon as it contains more than 50% of unknown data.
The patch fixes both the documentation and the code.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1340 a5681a0c-68f1-0310-ab6d-d61299d08faa
(even documented) missfeature in rrdtool which caused uknown-data to be
accepted as long as it was less than the mrhb. This was never the intended
behaviour and had interesting side effects
(http://oss.oetiker.ch/rrdtool-trac/ticket/125): If you have a 60 Second
step with 59s unknown data and 1 second of known data the whole become known
data as long as the mrhb was > step. The intended behaviour was that a step
should become unknown as soon as it contains more than 50% of unknown data.
The patch fixes both the documentation and the code.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1340 a5681a0c-68f1-0310-ab6d-d61299d08faa
the last_ds value fuer unknown is 'U' and not 'UNKN'
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1339 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1339 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix for sun sudio 11 incompatibility netbsd.org/cgi-bin/query-pr-single.pl?number=38555
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1338 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1338 a5681a0c-68f1-0310-ab6d-d61299d08faa
indenting fixes
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1335 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1335 a5681a0c-68f1-0310-ab6d-d61299d08faa
make sure properties are shown via graph_v even in --graph-only mode
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1334 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1334 a5681a0c-68f1-0310-ab6d-d61299d08faa
Make the MakeMakefile script a bit more robust
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1333 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1333 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix for #148
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1332 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1332 a5681a0c-68f1-0310-ab6d-d61299d08faa
Introduced a alternated interface to rrd_graph using rrd_info style return
values: rrd_graph_v The graph_v interface returnes additional information
about the graph including the location of the graphing area within the
image. When called with '-' as filename it will even return the image data.
The new interface is supported in the rrdtool command line, RRDs perl and
ruby bindings.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1331 a5681a0c-68f1-0310-ab6d-d61299d08faa
values: rrd_graph_v The graph_v interface returnes additional information
about the graph including the location of the graphing area within the
image. When called with '-' as filename it will even return the image data.
The new interface is supported in the rrdtool command line, RRDs perl and
ruby bindings.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1331 a5681a0c-68f1-0310-ab6d-d61299d08faa
added bullets
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1330 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1330 a5681a0c-68f1-0310-ab6d-d61299d08faa
do not reset the last_ds store unless the data source type is actually changed.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1328 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1328 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed 2. x-grid example ... since the lable is valid for the whole day, it must be 86400 wide. --tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1327 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1327 a5681a0c-68f1-0310-ab6d-d61299d08faa
alter order of header inclusion for FreeBSD 4.8 compatibility
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1324 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1324 a5681a0c-68f1-0310-ab6d-d61299d08faa
16 years agodo not mess with dst status after running localtime, the system gets confused otherwh...
do not mess with dst status after running localtime, the system gets confused otherwhise when it comes to times during the switch over periode as DST changes to non DST.
-- tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1323 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1323 a5681a0c-68f1-0310-ab6d-d61299d08faa
added missing " escapes to xml header in rrd_tool.c
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1322 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1322 a5681a0c-68f1-0310-ab6d-d61299d08faa
added Florian octo Forster to contrib list
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1321 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1321 a5681a0c-68f1-0310-ab6d-d61299d08faa
added missing =back for propper pod syntax
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1320 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1320 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix broken header comment section -- Florian octo Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1318 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1318 a5681a0c-68f1-0310-ab6d-d61299d08faa
cast size_t to int to avoid warning -- Florian octo Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1317 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1317 a5681a0c-68f1-0310-ab6d-d61299d08faa
do not declare DEBUG functions unless compiled in DEBUG mode -- Florian octo Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1316 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1316 a5681a0c-68f1-0310-ab6d-d61299d08faa
make helptexts read only memory
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1315 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1315 a5681a0c-68f1-0310-ab6d-d61299d08faa
stop complaints about unused variables if not running DEBUG
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1314 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1314 a5681a0c-68f1-0310-ab6d-d61299d08faa
Added check for intltool version.
Use Makefile for cleanup.
-- Florian octo Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1313 a5681a0c-68f1-0310-ab6d-d61299d08faa
Use Makefile for cleanup.
-- Florian octo Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1313 a5681a0c-68f1-0310-ab6d-d61299d08faa
added pointer to florian forsters dtd to the rrd dumpt
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1311 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1311 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix pkgconfig file name
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1310 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1310 a5681a0c-68f1-0310-ab6d-d61299d08faa
reindent
aded id keyword substitution
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1306 a5681a0c-68f1-0310-ab6d-d61299d08faa
aded id keyword substitution
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1306 a5681a0c-68f1-0310-ab6d-d61299d08faa
reat nan as FALSE in an IF CDEF
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1305 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1305 a5681a0c-68f1-0310-ab6d-d61299d08faa
a nan-safe add operator (ADDNAN) into rrd. I used it to add several incomplete graphs.
NaN + NaN => NaN
x + NaN => x
NaN + y => y
x + y => x + y
-- Timo Stripf tstripf gmx.de
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1303 a5681a0c-68f1-0310-ab6d-d61299d08faa
NaN + NaN => NaN
x + NaN => x
NaN + y => y
x + y => x + y
-- Timo Stripf tstripf gmx.de
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1303 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fix error "cairo_restore without matching cairo_save" when zero-time point is out of graph
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1301 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1301 a5681a0c-68f1-0310-ab6d-d61299d08faa
Ignore RRA-end when comparing. coverage.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1300 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1300 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix indents gone out of kileter by patching ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1298 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1298 a5681a0c-68f1-0310-ab6d-d61299d08faa
get rid of a few type cast warnings
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1297 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1297 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix one segfault while trying to restore an invalid xml file. -- tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1296 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1296 a5681a0c-68f1-0310-ab6d-d61299d08faa
make ruby obey destdir
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1294 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1294 a5681a0c-68f1-0310-ab6d-d61299d08faa
make inbternationalized version actually build
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1292 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1292 a5681a0c-68f1-0310-ab6d-d61299d08faa
added missing bits from internationalization
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1291 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1291 a5681a0c-68f1-0310-ab6d-d61299d08faa
Generate a random cur_row for each RRA during
create/restore operations. This effectively randomizes the block crossings
among RRDs created around the same time. Previously, RRDs that were
created/restored en masse would cross block boundaries simultaneously, which
is sub-optimal.
Also, this patch enables the user to see the RRA's cur_row pointer via
rrdinfo. This was useful during debugging.
-- kevin brintnall kbrint qwest.net
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1290 a5681a0c-68f1-0310-ab6d-d61299d08faa
create/restore operations. This effectively randomizes the block crossings
among RRDs created around the same time. Previously, RRDs that were
created/restored en masse would cross block boundaries simultaneously, which
is sub-optimal.
Also, this patch enables the user to see the RRA's cur_row pointer via
rrdinfo. This was useful during debugging.
-- kevin brintnall kbrint qwest.net
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1290 a5681a0c-68f1-0310-ab6d-d61299d08faa
16 years agoAdded I18N support for messages printed by rrd_tool.c -- http://oss.oetiker.ch/rrdtoo...
Added I18N support for messages printed by rrd_tool.c -- oss.oetiker.ch/rrdtool-trac/ticket/144
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1289 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1289 a5681a0c-68f1-0310-ab6d-d61299d08faa
check for pdf as well
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1285 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1285 a5681a0c-68f1-0310-ab6d-d61299d08faa
check for cairo-ps and cairo-svg explicitly
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1284 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1284 a5681a0c-68f1-0310-ab6d-d61299d08faa
ready for beta 4
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1280 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1280 a5681a0c-68f1-0310-ab6d-d61299d08faa
* replaced strtok with strtok_r for thread safety
* fixed im initialization broken after the introduction of dashes ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1279 a5681a0c-68f1-0310-ab6d-d61299d08faa
* fixed im initialization broken after the introduction of dashes ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1279 a5681a0c-68f1-0310-ab6d-d61299d08faa