]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/log
thirdparty/rrdtool-1.x.git
11 years agofix spelling
Tobias Oetiker [Sun, 6 Jul 2014 12:23:21 +0000 (14:23 +0200)] 
fix spelling

11 years agomore tests
Tobias Oetiker [Sat, 5 Jul 2014 20:09:43 +0000 (22:09 +0200)] 
more tests

11 years agomake rrd_strtod and rrd_snprintf available for all to enjoy
Tobias Oetiker [Wed, 2 Jul 2014 12:23:09 +0000 (14:23 +0200)] 
make rrd_strtod and rrd_snprintf available for all to enjoy

11 years agoMerge pull request #513 from Sweet-kid/rrd_snprintf
Tobias Oetiker [Tue, 1 Jul 2014 19:57:43 +0000 (21:57 +0200)] 
Merge pull request #513 from Sweet-kid/rrd_snprintf

Removed setlocale instances https://github.com/oetiker/rrdtool-1.x/issues/504 #510

11 years agoFixed some terrible indentations 512/head 513/head
Upasana [Sun, 29 Jun 2014 12:00:28 +0000 (17:30 +0530)] 
Fixed some terrible indentations

11 years agoRemoved setlocale calls, used rrd_strtod & rrd_snprintf
Upasana [Sun, 29 Jun 2014 11:59:48 +0000 (17:29 +0530)] 
Removed setlocale calls, used rrd_strtod & rrd_snprintf

11 years agoAdded locale independent versions of strtod function
Upasana [Sun, 29 Jun 2014 11:49:32 +0000 (17:19 +0530)] 
Added locale independent versions of strtod function

11 years agofix preprocessor warnings
Tobias Oetiker [Fri, 27 Jun 2014 07:19:22 +0000 (09:19 +0200)] 
fix preprocessor warnings

11 years agoinclude snprintf.m4 in the distro
Tobias Oetiker [Thu, 26 Jun 2014 20:32:54 +0000 (22:32 +0200)] 
include snprintf.m4 in the distro

11 years agointegrate rrd_snprintf
Tobias Oetiker [Thu, 26 Jun 2014 14:17:42 +0000 (16:17 +0200)] 
integrate rrd_snprintf

11 years agoMerge pull request #511 from oetiker/remove-extra-advise-and-sync
Tobias Oetiker [Mon, 30 Jun 2014 11:54:26 +0000 (13:54 +0200)] 
Merge pull request #511 from oetiker/remove-extra-advise-and-sync

Remove unnecessary WILLNEED and msync calls

11 years ago* msync is NOT necessary before munmap, the data gets synced automatically 511/head
Tobias Oetiker [Mon, 30 Jun 2014 09:16:40 +0000 (11:16 +0200)] 
* msync is NOT necessary before munmap, the data gets synced automatically
* remove WILLNEED madvise, this only slows the code down while the os des not seem todo anything sensible with the info

11 years agoMerge branch 'master' of github.com:oetiker/rrdtool-1.x
Tobias Oetiker [Mon, 30 Jun 2014 09:12:38 +0000 (11:12 +0200)] 
Merge branch 'master' of github.com:oetiker/rrdtool-1.x

11 years agoit is rrdtool info not rrdinfo
Tobias Oetiker [Mon, 30 Jun 2014 09:12:15 +0000 (11:12 +0200)] 
it is rrdtool info not rrdinfo

11 years agoMerge pull request #509 from oetiker/support_missing_graph_in_bindings
Tobias Oetiker [Mon, 30 Jun 2014 08:50:50 +0000 (10:50 +0200)] 
Merge pull request #509 from oetiker/support_missing_graph_in_bindings

Support missing graph in bindings

11 years agosupport HAVE_RRD_GRAPH 509/head
Tobias Oetiker [Fri, 27 Jun 2014 07:48:26 +0000 (09:48 +0200)] 
support HAVE_RRD_GRAPH

11 years agohandle missing rrd_graph support
Tobias Oetiker [Thu, 26 Jun 2014 13:37:18 +0000 (15:37 +0200)] 
handle missing rrd_graph support

11 years agodo not build rrd_cgi when we have no graph support
Tobias Oetiker [Thu, 26 Jun 2014 12:53:08 +0000 (14:53 +0200)] 
do not build rrd_cgi when we have no graph support

11 years agoMerge pull request #508 from bbonev/buffsize
Tobias Oetiker [Tue, 24 Jun 2014 05:53:36 +0000 (07:53 +0200)] 
Merge pull request #508 from bbonev/buffsize

Change static buffers in image_desc_t to dynamically allocated

11 years agoChange static buffers in image_desc_t to dynamically allocated, 508/head
Boian Bonev [Tue, 24 Jun 2014 03:50:39 +0000 (06:50 +0300)] 
Change static buffers in image_desc_t to dynamically allocated,
so that all of them can handle much larger string with pango markup

11 years agoMerge pull request #506 from aelse/python-use-distribute
Tobias Oetiker [Mon, 23 Jun 2014 06:03:17 +0000 (08:03 +0200)] 
Merge pull request #506 from aelse/python-use-distribute

Python bindings build with Distribute

11 years agoPython bindings build with Distribute 506/head
Alexander Else [Mon, 23 Jun 2014 02:48:42 +0000 (12:48 +1000)] 
Python bindings build with Distribute

11 years agoMerge pull request #497 from phpmoli/patch-15
Tobias Oetiker [Fri, 13 Jun 2014 09:32:08 +0000 (11:32 +0200)] 
Merge pull request #497 from phpmoli/patch-15

mods of #477 rrdcached document changes/2

11 years agoMerge pull request #502 from oetiker/fetch-callback
Tobias Oetiker [Fri, 13 Jun 2014 09:31:33 +0000 (11:31 +0200)] 
Merge pull request #502 from oetiker/fetch-callback

Fetch callback

11 years agoactually do a test with the data 502/head
Tobias Oetiker [Fri, 13 Jun 2014 09:02:44 +0000 (11:02 +0200)] 
actually do a test with the data

11 years agoremove extra output
Tobias Oetiker [Fri, 13 Jun 2014 08:50:35 +0000 (10:50 +0200)] 
remove extra output

11 years agocall the perl tests as well
Tobias Oetiker [Fri, 13 Jun 2014 08:50:26 +0000 (10:50 +0200)] 
call the perl tests as well

11 years agoMerge branch 'master' of github.com:oetiker/rrdtool-1.x into fetch-callback
Tobias Oetiker [Fri, 13 Jun 2014 08:42:32 +0000 (10:42 +0200)] 
Merge branch 'master' of github.com:oetiker/rrdtool-1.x into fetch-callback

11 years agofetch callback support in perl RRDs module.
Tobias Oetiker [Fri, 13 Jun 2014 08:41:49 +0000 (10:41 +0200)] 
fetch callback support in perl RRDs module.

11 years agoMerge pull request #501 from pabigot/enh-unpriv-rrdcached
Tobias Oetiker [Sun, 1 Jun 2014 10:26:44 +0000 (12:26 +0200)] 
Merge pull request #501 from pabigot/enh-unpriv-rrdcached

rrdcached enhancements to drop unused privileges

11 years agorrdcached-lsb: update to support unprivileged group/user configuration 501/head
Peter A. Bigot [Sun, 1 Jun 2014 00:42:41 +0000 (19:42 -0500)] 
rrdcached-lsb: update to support unprivileged group/user configuration

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agorrdcached: add options to drop privileges after daemonize
Peter A. Bigot [Sun, 1 Jun 2014 00:03:55 +0000 (19:03 -0500)] 
rrdcached: add options to drop privileges after daemonize

Some init systems have an interface to run daemons as unprivileged
accounts, but they conflict with rrdcached's expectations of creating
pid files and sockets in privileged areas when following Filesystem
Hierarchy Standard namings.  Add options that are used to drop to
unprivileged group and accounts after all activities that require
privilege have been completed.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agorrdtool: fix mis-use of getuid
Peter A. Bigot [Sat, 31 May 2014 22:44:05 +0000 (17:44 -0500)] 
rrdtool: fix mis-use of getuid

Checking whether the application is running with root privileges requires
use of geteuid(), not getuid().

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agorrdcached: arrange option flags in order
Peter A. Bigot [Sat, 31 May 2014 21:27:16 +0000 (16:27 -0500)] 
rrdcached: arrange option flags in order

To make it easier to determine which argument flags are available, the
getopt optstring is sorted into ASCII order.  Checking this against the
documentation indicated several supported flags were not present in the
synopsis.  Also make all flags bold for consistency.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agoMerge pull request #500 from pabigot/fix-init-socket
Tobias Oetiker [Sat, 31 May 2014 22:11:34 +0000 (00:11 +0200)] 
Merge pull request #500 from pabigot/fix-init-socket

rrdcached-init-lsb: fix placement of socket options

11 years agorrdcached-init-lsb: fix placement of socket options 500/head
Peter A. Bigot [Sat, 31 May 2014 01:32:43 +0000 (20:32 -0500)] 
rrdcached-init-lsb: fix placement of socket options

Move the group and mode parameters early so they affect the interface
parameter.

11 years agothe beginnings of a callback interface
Tobias Oetiker [Wed, 28 May 2014 16:46:38 +0000 (18:46 +0200)] 
the beginnings of a callback interface

11 years agoMerge pull request #499 from pabigot/fix-32bit
Tobias Oetiker [Sun, 25 May 2014 06:21:32 +0000 (08:21 +0200)] 
Merge pull request #499 from pabigot/fix-32bit

rrdcached: fix issue building on 32-bit hosts

11 years agorrdcached: fix issue building on 32-bit hosts 499/head
Peter A. Bigot [Sun, 25 May 2014 03:50:12 +0000 (22:50 -0500)] 
rrdcached: fix issue building on 32-bit hosts

Conditionally compiled code referenced local variables that no longer
exist; use the new references.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agomods of #477 rrdcached document changes 497/head
moli [Fri, 23 May 2014 22:13:59 +0000 (00:13 +0200)] 
mods of #477 rrdcached document changes

when group option is specified, socket permission is 760, not 750, i've tested this. the context confirms this behaviour is right, the text was wrong.
-P restricts unix sockets too! tested this also.

11 years agoMerge pull request #488 from phpmoli/patch-11
Tobias Oetiker [Fri, 23 May 2014 13:45:23 +0000 (15:45 +0200)] 
Merge pull request #488 from phpmoli/patch-11

mods of #477 fix syntaxes, clarifications for rrdcached

11 years agoMerge pull request #486 from phpmoli/patch-9
Tobias Oetiker [Fri, 23 May 2014 13:44:05 +0000 (15:44 +0200)] 
Merge pull request #486 from phpmoli/patch-9

mods of #477 fixes in syntax definitions

11 years agoMerge pull request #493 from phpmoli/patch-13
Tobias Oetiker [Fri, 23 May 2014 13:43:12 +0000 (15:43 +0200)] 
Merge pull request #493 from phpmoli/patch-13

mods of #477 fix typo

11 years agomods of #477 fix typo 493/head
moli [Fri, 23 May 2014 03:38:36 +0000 (05:38 +0200)] 
mods of #477 fix typo

11 years agomods of #477 update-timestamps syntax 488/head
moli [Tue, 20 May 2014 20:01:17 +0000 (22:01 +0200)] 
mods of #477 update-timestamps syntax

copromise? it still doesnt show they are 1) not all 3 needed 2) could be written in any order

11 years agomods of #477 font is optional 486/head
moli [Tue, 20 May 2014 19:55:01 +0000 (21:55 +0200)] 
mods of #477 font is optional

but only with the :

11 years agomods of #477 added link to examples section
moli [Tue, 20 May 2014 19:39:15 +0000 (21:39 +0200)] 
mods of #477 added link to examples section

as advised

11 years agoMerge pull request #489 from pabigot/enh-rrdcached
Tobias Oetiker [Tue, 20 May 2014 19:28:54 +0000 (21:28 +0200)] 
Merge pull request #489 from pabigot/enh-rrdcached

rrdcached enhancements

11 years agoMerge pull request #492 from pabigot/fixup-rrdtool-doc
Tobias Oetiker [Tue, 20 May 2014 16:09:17 +0000 (18:09 +0200)] 
Merge pull request #492 from pabigot/fixup-rrdtool-doc

rrdtool.pod: revert to local link

11 years agorrdcached: support new option to listen on all addresses at default port 489/head
Peter A. Bigot [Tue, 20 May 2014 15:59:07 +0000 (10:59 -0500)] 
rrdcached: support new option to listen on all addresses at default port

This functionality can be achieved with "-l ''" (specifying an empty
string for host:port) but empty strings may be dropped during option
processing in scripts.  A separate option to support this capability is
much more clear.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agomisc doc: fix erronous use of section qualifier in intra-package links 492/head
Peter A. Bigot [Tue, 20 May 2014 15:31:12 +0000 (10:31 -0500)] 
misc doc: fix erronous use of section qualifier in intra-package links

rrdxport and rrdcached do belong in section 1 of the Unix manpages, but
they are documented within the RRDTool hierarchy and use of the
qualifier prevents them from being found.  Note also the need to
override the substitute text or modify the context so that the generated
HTML content reads correctly.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agorrd_daemon: move include of arpa/inet.h to avoid use on Windows
Peter A. Bigot [Tue, 20 May 2014 15:08:15 +0000 (10:08 -0500)] 
rrd_daemon: move include of arpa/inet.h to avoid use on Windows

arpa/inet.h may not be available on Windows systems; since I can't test
that, avoid trying to include it there.  Since the code that depends on
it is conditional on a define that would be provided by it, there should
be no impact from its absence except that somebody who uses Windows
would have to rework the fix for ipv4-over-ipv6 for that platform.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agorrdcached: support wildcard listen specifications
Peter A. Bigot [Mon, 19 May 2014 19:47:44 +0000 (14:47 -0500)] 
rrdcached: support wildcard listen specifications

The documentation suggested that the syntax "-l :42217" would cause the
daemon to listen on all available interfaces.  The implementation didn't
follow through, until now.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agorrdcached: support duration specifiers in command-line arguments
Peter A. Bigot [Mon, 19 May 2014 18:10:30 +0000 (13:10 -0500)] 
rrdcached: support duration specifiers in command-line arguments

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agolibrrd.sym: add rrd_scaled_duration
Peter A. Bigot [Mon, 19 May 2014 18:09:21 +0000 (13:09 -0500)] 
librrd.sym: add rrd_scaled_duration

This librrd function was found when linking executables where main() was
in a libtool convenience library, but not when linking rrdcached.  The
solution is to add it into the secret file that specifies which files
are part of the public API.

11 years agorrdtool.pod: revert to local link
Peter A. Bigot [Tue, 20 May 2014 15:01:32 +0000 (10:01 -0500)] 
rrdtool.pod: revert to local link

Per discussion at #483 the reference to rrdtool is unnecessary.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agoMerge pull request #490 from pabigot/enh-init-scripts
Tobias Oetiker [Tue, 20 May 2014 06:57:30 +0000 (08:57 +0200)] 
Merge pull request #490 from pabigot/enh-init-scripts

refine init scripts

11 years agoMerge pull request #487 from phpmoli/patch-10
Tobias Oetiker [Tue, 20 May 2014 06:41:32 +0000 (08:41 +0200)] 
Merge pull request #487 from phpmoli/patch-10

mods of #477 fix in command syntax

11 years agoMerge pull request #484 from phpmoli/patch-7
Tobias Oetiker [Tue, 20 May 2014 06:38:29 +0000 (08:38 +0200)] 
Merge pull request #484 from phpmoli/patch-7

mods of #477 fixed POD formatting problems

11 years agoetc: add example LSB-based init scripts 490/head
Peter A. Bigot [Mon, 19 May 2014 20:29:52 +0000 (15:29 -0500)] 
etc: add example LSB-based init scripts

These scripts support automated startup on Debian (Ubuntu) and other
distributions that follow the Linux Standards Base.

http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/tocsysinit.html

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agoetc: rename sysv init scripts to denote RedHat environment dependency
Peter A. Bigot [Sat, 17 May 2014 21:21:34 +0000 (16:21 -0500)] 
etc: rename sysv init scripts to denote RedHat environment dependency

These example scripts will only work on RedHat-based distributions that
support chkconfig and /etc/init.d/functions.  They are not compatible
with current Linux Standard Base init scripts.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agomods of #477 added clarifications
moli [Mon, 19 May 2014 18:58:38 +0000 (20:58 +0200)] 
mods of #477 added clarifications

added text explaining templates cannot be used with rrdcached
rewrote timestamp syntax, maybe now it went to the other extreme..
removed deprecated --cache parameter from the example section
fixed --daemon behaviour description, please check if it is true

11 years agomods of #477 fix in command syntax 487/head
moli [Mon, 19 May 2014 18:37:20 +0000 (20:37 +0200)] 
mods of #477 fix in command syntax

marked a parameter optional

11 years agomods of #477 fixes in syntax definitions
moli [Mon, 19 May 2014 18:23:55 +0000 (20:23 +0200)] 
mods of #477 fixes in syntax definitions

removed some brackets
added RRD_DEFAULT_FONT to the envvar section

11 years agoMerge pull request #485 from phpmoli/patch-8
Tobias Oetiker [Mon, 19 May 2014 12:18:08 +0000 (14:18 +0200)] 
Merge pull request #485 from phpmoli/patch-8

mods of #477 clarifying boolean operators

11 years agomods of #477 clarifying boolean operators 485/head
moli [Mon, 19 May 2014 09:29:38 +0000 (11:29 +0200)] 
mods of #477 clarifying boolean operators

what does GE, LT mean? - asked the newbie. Now he knows.

11 years agomods of #477 fixed POD formatting problems 484/head
moli [Mon, 19 May 2014 08:53:13 +0000 (10:53 +0200)] 
mods of #477 fixed POD formatting problems

in a code syntax and a command line example

11 years agoMerge pull request #483 from phpmoli/patch-6
Tobias Oetiker [Mon, 19 May 2014 08:46:57 +0000 (10:46 +0200)] 
Merge pull request #483 from phpmoli/patch-6

mods of #477 fixing help example and trying to fix anchors

11 years agoMerge pull request #481 from phpmoli/patch-4
Tobias Oetiker [Mon, 19 May 2014 08:45:06 +0000 (10:45 +0200)] 
Merge pull request #481 from phpmoli/patch-4

mods of #477 cleared up DS and RRA syntax

11 years agoMerge pull request #480 from phpmoli/patch-3
Tobias Oetiker [Mon, 19 May 2014 08:44:00 +0000 (10:44 +0200)] 
Merge pull request #480 from phpmoli/patch-3

mods of #477 fixed typos

11 years agomods of #477 fixing help example and trying to fix anchors 483/head
moli [Mon, 19 May 2014 08:39:37 +0000 (10:39 +0200)] 
mods of #477 fixing help example and trying to fix anchors

rrdtool help example was clarified
and i'm trying to fix the html anchor here, but dont know how could i check if it's working or not. Googled and read http://perldoc.perl.org/perlpodspec.html still dont have a clue what does it say.

11 years agoMerge pull request #479 from phpmoli/patch-1
Tobias Oetiker [Mon, 19 May 2014 08:39:37 +0000 (10:39 +0200)] 
Merge pull request #479 from phpmoli/patch-1

mods of #477: text changes in the syntax definition

11 years agoMerge pull request #482 from phpmoli/patch-5
Tobias Oetiker [Mon, 19 May 2014 08:29:09 +0000 (10:29 +0200)] 
Merge pull request #482 from phpmoli/patch-5

mods of #477 added missing parameter

11 years agomods of #477 added missing parameter 482/head
moli [Mon, 19 May 2014 08:20:19 +0000 (10:20 +0200)] 
mods of #477 added missing parameter

..to synopsis

11 years agomods of #477 cleared up DS and RRA syntax 481/head
moli [Mon, 19 May 2014 08:12:01 +0000 (10:12 +0200)] 
mods of #477 cleared up DS and RRA syntax

added some brackets as it wasnt clear for me as a newbie

11 years agofixed typos 480/head
moli [Mon, 19 May 2014 08:06:08 +0000 (10:06 +0200)] 
fixed typos

added a space :)
and changed the variable "database" to "dbname" to conform with the examples around that

11 years agoMerge pull request #478 from phpmoli/patch-2
Tobias Oetiker [Mon, 19 May 2014 07:42:38 +0000 (09:42 +0200)] 
Merge pull request #478 from phpmoli/patch-2

mods of #477: mods in syntax of commands added two small texts

11 years agomods in syntax of commands added two small texts 478/head
moli [Mon, 19 May 2014 07:16:44 +0000 (09:16 +0200)] 
mods in syntax of commands added two small texts

modifications in the syntax of LINE, HRULE and VRULE commands some places
added HRULE hidden legend default behaviour
added an example for %lf

11 years agotext changes in the syntax definition 479/head
moli [Mon, 19 May 2014 06:53:36 +0000 (08:53 +0200)] 
text changes in the syntax definition

in the line of XPORT statement fixed a typo and the legend was marked optional

11 years agoMerge pull request #475 from pabigot/fix-dist
Tobias Oetiker [Mon, 19 May 2014 04:17:51 +0000 (06:17 +0200)] 
Merge pull request #475 from pabigot/fix-dist

Fix autotools dist support

11 years agomake distcheck: complete updates required for support 475/head
Peter A. Bigot [Sat, 17 May 2014 20:57:27 +0000 (15:57 -0500)] 
make distcheck: complete updates required for support

Rework the tests so they can run in a situation where the source tests
directory is read-only.  Also fix a couple minor issues with make
distclean and make distuninstallcheck.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agogitigore: add doc files created only by make dist
Peter A. Bigot [Sat, 17 May 2014 20:06:43 +0000 (15:06 -0500)] 
gitigore: add doc files created only by make dist

11 years agoautomake: full support for make check
Peter A. Bigot [Sat, 17 May 2014 20:05:53 +0000 (15:05 -0500)] 
automake: full support for make check

Presence of the TESTS variable adds check as a target, but for this to
work completely all the test infrastructure needs to be part of the
distribution package, which is easiest if there's a Makefile.am in that
directory.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agoautomake: rework for separated builds
Peter A. Bigot [Sat, 17 May 2014 19:25:18 +0000 (14:25 -0500)] 
automake: rework for separated builds

Standard practice (including the assumptions of make distcheck) is that
the system can be built in an out-of-tree directory referencing sources
in a read-only filesystem.  The language-specific bindings build
infrastructure, particularly for perl, makes that difficult but
achievable.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agogitignore: add for lua and ruby bindings
Peter A. Bigot [Sat, 17 May 2014 19:21:40 +0000 (14:21 -0500)] 
gitignore: add for lua and ruby bindings

11 years agoautoconf: rework config file locations
Peter A. Bigot [Sat, 17 May 2014 12:42:26 +0000 (07:42 -0500)] 
autoconf: rework config file locations

If we assume somebody puts the src directory in the include file path to
CC, we don't need relative symlinks to rrd_config.h which will make
separated builds much easier to support.  Then we don't need to have the
config files in the root directory and symlinks back and forth between
there and src.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agoautomake: update dist checks for recent changes
Peter A. Bigot [Sat, 17 May 2014 12:10:50 +0000 (07:10 -0500)] 
automake: update dist checks for recent changes

Various files have been added and removed causing the dist and distcheck
Make targets to fail.  This commit fixes dist; distcheck is improved but
is not complete because the bindings Makefile.am assumes the build is
performed in the source tree.  (Standard autotool practice now is to
require support for separated builds.)

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agoMerge pull request #474 from pabigot/enh-fetch-duration
Tobias Oetiker [Sat, 17 May 2014 06:02:21 +0000 (08:02 +0200)] 
Merge pull request #474 from pabigot/enh-fetch-duration

Use new duration interface in rrdfetch

11 years agoMerge pull request #470 from pabigot/add-test-for-rrdcreate
Tobias Oetiker [Sat, 17 May 2014 06:00:27 +0000 (08:00 +0200)] 
Merge pull request #470 from pabigot/add-test-for-rrdcreate

tests: add test for new rrdcreate feature

11 years agoMerge pull request #473 from pabigot/cleanup-distclean
Tobias Oetiker [Sat, 17 May 2014 05:59:05 +0000 (07:59 +0200)] 
Merge pull request #473 from pabigot/cleanup-distclean

cleanup: fix make distclean in doc

11 years agolibrrd.pod: fix syntax errors 474/head
Peter A. Bigot [Fri, 16 May 2014 17:24:56 +0000 (12:24 -0500)] 
librrd.pod: fix syntax errors

11 years agorrd_fetch: improve resolution-related parameters
Peter A. Bigot [Fri, 16 May 2014 17:06:52 +0000 (12:06 -0500)] 
rrd_fetch: improve resolution-related parameters

The interface now accepts scaled durations (e.g., 5m) for the
resolution.

A new option automatically performs the start time alignment discussed
in the documentation.

11 years agorrd_scaled_duration: refactor as utility function
Peter A. Bigot [Fri, 16 May 2014 15:52:49 +0000 (10:52 -0500)] 
rrd_scaled_duration: refactor as utility function

Move the infrastructure supporting expression of counts and durations by
suffixed integers into librrd where it can be used by other programs.
Clean up the documentation to remove redundancies.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agotests: add another rrdcreate scaled test 470/head
Peter A. Bigot [Fri, 16 May 2014 16:11:42 +0000 (11:11 -0500)] 
tests: add another rrdcreate scaled test

11 years agotests: add missed rrd_scaled_duration diagnostic
Peter A. Bigot [Fri, 16 May 2014 15:54:52 +0000 (10:54 -0500)] 
tests: add missed rrd_scaled_duration diagnostic

11 years agotests: add test for new rrdcreate feature
Peter A. Bigot [Fri, 16 May 2014 11:57:34 +0000 (06:57 -0500)] 
tests: add test for new rrdcreate feature

11 years agoMerge pull request #472 from pabigot/cleanup-nowarnings
Tobias Oetiker [Fri, 16 May 2014 14:47:18 +0000 (16:47 +0200)] 
Merge pull request #472 from pabigot/cleanup-nowarnings

Cleanup nowarnings

11 years agocleanup: fix make distclean in doc 473/head
Peter A. Bigot [Fri, 16 May 2014 14:42:49 +0000 (09:42 -0500)] 
cleanup: fix make distclean in doc

RRD*.pod were in the repository, but were always generated and were
removed by "make distclean", resulting in an unexpected response from
"git status".  Resolve this by removing them from the repository.

Also eliminate the wildcards from CLEANFILES, instead explicitly listing
all derived files.

Also add a couple files to EXTRADIST (PDF documentation and the RRD*.pod
files).

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agoMerge pull request #471 from pabigot/cleanup-gitignore
Tobias Oetiker [Fri, 16 May 2014 14:30:48 +0000 (16:30 +0200)] 
Merge pull request #471 from pabigot/cleanup-gitignore

Cleanup gitignore

11 years agocleanup: fix link target 472/head
Peter A. Bigot [Fri, 16 May 2014 14:18:48 +0000 (09:18 -0500)] 
cleanup: fix link target