]>
git.ipfire.org Git - thirdparty/rrdtool-1.x.git/log
Tobias Oetiker [Sun, 25 Jan 2009 22:02:57 +0000 (22:02 +0000)]
fix type conversion error (on windows) unsigned/signed affecting timestamps on rrd_dump.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1744
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 25 Jan 2009 21:52:25 +0000 (21:52 +0000)]
rename ntmake.pl to ntmake.PL so that it does not get installed
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1742
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 22 Jan 2009 15:43:18 +0000 (15:43 +0000)]
Missed to include utime.h. #207.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1738
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 19 Jan 2009 14:27:31 +0000 (14:27 +0000)]
prepare for the release of rrdtool-1.3.6
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1734
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 14 Jan 2009 08:14:31 +0000 (08:14 +0000)]
In rrd_graph: the width/height values are written into rrd_infoval_t's u_cnt
but read out of u_int (u_long vs. int). This breaks on LP64BE. Patch by
Rafal Boni rafal pobox.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1733
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 6 Jan 2009 16:32:16 +0000 (16:32 +0000)]
with MMAP enabled rrd resize GROW was broken ... this fixes it ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1726
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 6 Jan 2009 15:45:53 +0000 (15:45 +0000)]
TICK with negative numbers should 'start from the top of the graph' looking down ... now it does.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1725
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 6 Jan 2009 14:54:41 +0000 (14:54 +0000)]
fix for segfault in rrd_cgi: caused by freeing a invalid address when printing an error message.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1724
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 26 Dec 2008 08:05:03 +0000 (08:05 +0000)]
Include libgen.h to get prototype for basename in a POSIX conformant way. Fix for #202.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1723
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 26 Dec 2008 08:03:06 +0000 (08:03 +0000)]
improvements for build docs by Zorzoli, Pablo
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1722
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 22 Dec 2008 21:23:49 +0000 (21:23 +0000)]
should free memory after a successful fetch too ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1721
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 22 Dec 2008 21:23:04 +0000 (21:23 +0000)]
documentation fixes
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1720
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 22 Dec 2008 07:21:46 +0000 (07:21 +0000)]
Fix for POD error by Sebasian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1718
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 22 Dec 2008 07:20:17 +0000 (07:20 +0000)]
Fixes some typos by Sebastian Harl.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1717
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 19 Dec 2008 14:26:47 +0000 (14:26 +0000)]
win32 fixes by Stefan . Ludewig . exitgames . com
* added portable plbasename since basename is not available on stock win32
* rrd_update was using %d to show a timestamp ... %lli is better
since it also will show 64bit time_t correctly.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1716
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 18 Dec 2008 23:56:52 +0000 (23:56 +0000)]
fix extra dist to include missing win32 files
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1715
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 15 Dec 2008 22:06:22 +0000 (22:06 +0000)]
prepare for the release of rrdtool-1.3.5
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1710
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 11 Dec 2008 14:31:16 +0000 (14:31 +0000)]
fixed another seek issue ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1708
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 11 Dec 2008 10:01:33 +0000 (10:01 +0000)]
The spec file for building the rrdtool as an RPM that comes with the
release is not "friendly" to older versions of RHEL and derivatives.
-- Martin Sperl <rrdtool@martin.sperl.org>
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1707
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 10 Dec 2008 13:18:10 +0000 (13:18 +0000)]
On some architectures, strtod does not turn "NaN" into 'Not A Number (NAN)'
se we better provide our own code here.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1705
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 9 Dec 2008 18:30:43 +0000 (18:30 +0000)]
* forward ported right axis patch from 1.2 branche
* fixed --full-size-mode sizing issue when used in combination with --title
the work in the axis patch has been sponsored by VoltWerk.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1701
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 8 Dec 2008 16:07:27 +0000 (16:07 +0000)]
Fix for last method in ruby bindings -- Hiroyuki Ikezoe
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1700
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 5 Dec 2008 15:39:55 +0000 (15:39 +0000)]
integrate osx build hints as indicated in #192
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1699
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 5 Dec 2008 15:25:18 +0000 (15:25 +0000)]
accidentely removed #endif restored
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1698
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 5 Dec 2008 15:18:11 +0000 (15:18 +0000)]
check for broken implementations of msync / MS_ASYNC where
the mtime does not get updated. warn and explicitly call utime
in rrd_open when a file is opened rw.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1696
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 4 Dec 2008 16:01:37 +0000 (16:01 +0000)]
Legends should NOT be placed in reverse order when using --full-size-mode ... this fixed #198.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1694
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 4 Dec 2008 09:03:48 +0000 (09:03 +0000)]
Catch CDEF:tot= and raise and error to fix #199. Thanks to Jeron Massar for reporting this.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1691
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 4 Dec 2008 07:02:56 +0000 (07:02 +0000)]
Update to WIN32-BUILD-TIPS.txt and VC project files so that the rrdtool.exe can be built too.
-- Stefan Ludewig Stefan.Ludewig exitgames.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1690
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 3 Dec 2008 11:08:48 +0000 (11:08 +0000)]
When fetching data from 'past' an rra, rrd_fetch was seeking past the rrd
file. This did cause seek errors in some setups. Fixed. Thanks to Daniel Pocock for finding the problem.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1689
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 3 Dec 2008 10:42:07 +0000 (10:42 +0000)]
added extra contributor
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1687
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 2 Dec 2008 22:04:16 +0000 (22:04 +0000)]
make rrdtool compile on windows with cv++. check out win32/rrdlib.vcproj.
-- Christof.Wegmann with exitgames.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1684
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 2 Dec 2008 12:35:02 +0000 (12:35 +0000)]
fixed solaris build instructions
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1683
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 9 Nov 2008 19:19:48 +0000 (19:19 +0000)]
be even more liberal with NOT using isfinite on solaris2.8
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1663
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 9 Nov 2008 00:00:33 +0000 (00:00 +0000)]
use basename to determine filename for imginfo as suggested by sebastian
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1662
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 7 Nov 2008 22:46:40 +0000 (22:46 +0000)]
fixed --font TITLE:12: problem -- tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1653
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 7 Nov 2008 13:36:32 +0000 (13:36 +0000)]
added librrd.pc to spec file as requested byu Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1646
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 30 Oct 2008 14:32:42 +0000 (14:32 +0000)]
fix from alex
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1639
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 27 Oct 2008 05:35:57 +0000 (05:35 +0000)]
missed checkin for librrd.sym fix
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1633
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 26 Oct 2008 15:16:35 +0000 (15:16 +0000)]
fix for osx porability ... the # in librrd.sym did not work well there
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1631
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 24 Oct 2008 06:20:21 +0000 (06:20 +0000)]
fixed typo ... GAUGE not GUAGE
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1628
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 17 Oct 2008 05:44:09 +0000 (05:44 +0000)]
use double for legend positioning to fight wiggle
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1617
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 16 Oct 2008 21:32:42 +0000 (21:32 +0000)]
fix version numbers
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1615
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 15 Oct 2008 22:34:13 +0000 (22:34 +0000)]
improved docu
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1608
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 7 Oct 2008 15:38:11 +0000 (15:38 +0000)]
Daniel Pocock reported that the argument may be NULL in low-diskspace
situations, so check for that here to prevent a segmentation fault.
-- Florian Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1585
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 4 Oct 2008 16:04:04 +0000 (16:04 +0000)]
prepare for the release of rrdtool-1.3.4
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1574
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 4 Oct 2008 15:50:35 +0000 (15:50 +0000)]
finite broken on solaris 9 too ?
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1573
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 4 Oct 2008 13:34:54 +0000 (13:34 +0000)]
* rrd_resize fixed so that it does NOT alter the original file (mmap side effect)
* rrd_resize can can deal with version 4 files, so let it
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1571
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 3 Oct 2008 22:53:28 +0000 (22:53 +0000)]
The patch fixs rrdtools behaviour when presented with trunkated rrd files.
* Make sure that we do not extend past the end of the
file when reading the header.
* Makes sure that the data portion of the file is large enough, based on
the ds_cnt and the total number of RRA rows
-- kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1570
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 28 Sep 2008 19:24:18 +0000 (19:24 +0000)]
Attached is a patch to lower the version requirements of libtool and
automake. I have tested this on CentOS 4.x with the specified
versions of libtool and automake and was able to build RRDTool fine.
I did *not* test building with PHP, tcl, ruby or Python though.
I also abstracted the version numbers of all the dependencies such
that editing them in the future will be easier.
-- Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1538
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 28 Sep 2008 19:15:30 +0000 (19:15 +0000)]
Attached is a patch against the spec file shipped with
rrdtool-1.3.3.spec which will make it buildable (at least it works on
my CentOS 4.x system). -- Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1536
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 28 Sep 2008 15:01:43 +0000 (15:01 +0000)]
vdef calc was using end_orig to determine for which range it should do its
calculations which is odd, since orig is only the requested range as
invocation time and not the data range deliverd by fetch. It does fall
completely flat when shifting since shifting does not affect the original
data. Bug #177 reported by hokiel
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1530
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 27 Sep 2008 11:44:58 +0000 (11:44 +0000)]
rrdxport was completely broken for exporting datasources that did not have a uniform step size. Thanks to Peter Valdemar Mørch for finding this.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1529
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 22 Sep 2008 06:34:02 +0000 (06:34 +0000)]
fixed destdir for default install of language bindings and removed sepp preference
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1516
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 22 Sep 2008 05:38:28 +0000 (05:38 +0000)]
use default prefix for ruby install if no user defined prefix is available
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1515
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 19 Sep 2008 20:34:42 +0000 (20:34 +0000)]
Bsd lirary path switch added to perl bindings makefile -- as suggested by Kevin Brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1513
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 18 Sep 2008 13:30:48 +0000 (13:30 +0000)]
Fix for debian bug 498183 ... never *advise after the end of the
file. On sparc this causes a segfault. Thanks to Sebastian Harl and Jurij Smakov for finding this.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1512
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 14 Sep 2008 20:33:30 +0000 (20:33 +0000)]
added missing bottom config
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1510
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 14 Sep 2008 20:32:10 +0000 (20:32 +0000)]
prepare for the release of rrdtool-1.3.3
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1509
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 14 Sep 2008 20:31:19 +0000 (20:31 +0000)]
fix release script for 1.3 branche
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1508
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 14 Sep 2008 00:42:53 +0000 (00:42 +0000)]
resync with trunk since these are fixes
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1503
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 7 Sep 2008 10:23:10 +0000 (10:23 +0000)]
branching for 1.3
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1492
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 7 Sep 2008 07:19:03 +0000 (07:19 +0000)]
The attached patch eliminates the many places where the rra_current pointer was maintained; the existing write/seek mechanisms update rrd_file->pos correctly.
Also, the seek at the front of process_arg is not necessary; write_to_rras will now take care to correct the file position at every update cycle.
This eliminates unnecessary rrd_seek() calls when MMAP is not enabled. -- kevin brintnall kbrint rufus.net
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1488
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 6 Sep 2008 14:24:43 +0000 (14:24 +0000)]
prepare for the release of rrdtool-1.3.2
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1484
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 6 Sep 2008 11:46:41 +0000 (11:46 +0000)]
we need rrd_format.h here for things to compile properly
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1483
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 6 Sep 2008 11:43:10 +0000 (11:43 +0000)]
updated opensolaris build instructions
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1482
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 6 Sep 2008 10:43:07 +0000 (10:43 +0000)]
only link build and use rrd_getopt if there is no getopt_long provided by
by the os ... this should also fix problems for solaris 2.8 and other
non getopt_long oses who were not taken care of anymore after the intriduction of librrd.sym
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1481
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 6 Sep 2008 10:39:29 +0000 (10:39 +0000)]
fix for multi update - data corruption bug as reported (and patched) in #178 by kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1480
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 6 Sep 2008 10:32:57 +0000 (10:32 +0000)]
make pod checker happy
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1479
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 6 Sep 2008 08:58:18 +0000 (08:58 +0000)]
inline functions are not supported in c99 ... lets remove this.
the compiler will foture it out if they are important.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1478
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 4 Sep 2008 21:45:44 +0000 (21:45 +0000)]
introduced a persistant fontmap ... this makes our pango rendering 6 times faster starting from the second graph we draw.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1477
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 31 Aug 2008 23:42:02 +0000 (23:42 +0000)]
now the results actually look as they did with the old code only things are FASTER
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1476
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 31 Aug 2008 22:53:49 +0000 (22:53 +0000)]
Improve performance by keeping multiple pango font descriptions. For the first invocation we are about 20% times as fast
for the second one about 4-5 times faster ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1475
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 31 Aug 2008 10:55:24 +0000 (10:55 +0000)]
trying to improve the pango performance I added facilities to cache layout,context and more in between invocations of
the text function, unfortunately it does not seem to help all that much.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1474
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 31 Aug 2008 10:52:49 +0000 (10:52 +0000)]
use the standart info free function
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1473
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 28 Aug 2008 05:49:02 +0000 (05:49 +0000)]
fix handling of error conditions in rrd_tool.c ... errno is not for detection, only for information AFTER detection.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1471
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Thu, 28 Aug 2008 04:13:39 +0000 (04:13 +0000)]
free the linebuffer if you don't return it!
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1470
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 27 Aug 2008 22:06:43 +0000 (22:06 +0000)]
some more leak plugging
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1469
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 27 Aug 2008 21:48:50 +0000 (21:48 +0000)]
drop the dummy surface prior to creating the real one
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1468
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 27 Aug 2008 21:46:01 +0000 (21:46 +0000)]
added some freeing for error conditions
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1467
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 27 Aug 2008 21:25:43 +0000 (21:25 +0000)]
fixed indentation ... gnu indent results are not realy beautifl. I might switch to uncrustify.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1466
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 27 Aug 2008 21:25:04 +0000 (21:25 +0000)]
Many rrd_create memory leaks patched ... based on valgrind analysis by Sven Engelhardt. Thanks!
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1465
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 27 Aug 2008 21:18:46 +0000 (21:18 +0000)]
fix indentation
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1464
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 27 Aug 2008 06:52:33 +0000 (06:52 +0000)]
added sparc-sun-solaris2.8 to list of broken isfinite implementations
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1463
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Fri, 22 Aug 2008 22:04:37 +0000 (22:04 +0000)]
it is rb_rrd_infocall not rrd_infocall ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1462
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 16 Aug 2008 07:13:01 +0000 (07:13 +0000)]
When in lazy mode, and the graph does not get regenerated, then there are no
results from PRINT either. Fix for #163.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1461
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 16 Aug 2008 07:11:46 +0000 (07:11 +0000)]
documentation updates
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1460
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 12 Aug 2008 06:48:37 +0000 (06:48 +0000)]
make sure imageinfo only reports the filename and not the whole path. This is a regression from 1.2.x where this was implemented properly.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1459
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 4 Aug 2008 20:35:45 +0000 (20:35 +0000)]
The attached patch converts the given string to UTF-8 using glib's
g_locale_to_utf8() function. This function expects the string to be
encoded as specified by the locale settings, so this will fail if e.g.
you're using some script which is encoded in some way incompatible to
the locale settings. In this case, the patch falls back to use the
original string as provided by the user as there is no way to tell how
to interpret that string. So, in this case, you will still get the old
behavior (that pango warning and messed up strings in the graph).
However, imho this is perfectly fine since it should be up to the user
to take care of a sane environment. -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1457
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 29 Jul 2008 14:42:08 +0000 (14:42 +0000)]
newer perlapi docu suggests to use SV * instead of void for managed returns
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1456
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 29 Jul 2008 05:08:46 +0000 (05:08 +0000)]
fixed some c++ style lines -- David Masterson
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1455
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 28 Jul 2008 07:23:15 +0000 (07:23 +0000)]
spelling fix
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1454
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 23 Jul 2008 15:03:43 +0000 (15:03 +0000)]
forward ported patch for rra cur_row randomization in rrd_restore from 1.2.28 to 1.3.1
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1453
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 23 Jul 2008 13:02:26 +0000 (13:02 +0000)]
prepare for the release of rrdtool-1.3.1
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1447
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 23 Jul 2008 12:45:52 +0000 (12:45 +0000)]
added support for restoring rrdtool 1.0.x files ... removed support for old HW patched rrd format created by an early patched version of 1.0.x
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1446
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 22 Jul 2008 15:15:44 +0000 (15:15 +0000)]
Fix for #167 - rrdcreate is arguably missing a check for 'step>=1' for RRAs with AVERAGE as a CF. I ran into this when specifying 0.6 as a step value, assuming floats were also accepted. Patch attached here. -- Bogdan
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1445
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 1 Jul 2008 06:35:54 +0000 (06:35 +0000)]
header-fix
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1444
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 1 Jul 2008 06:34:24 +0000 (06:34 +0000)]
improve layout
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1443
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 29 Jun 2008 16:23:50 +0000 (16:23 +0000)]
added rrd filename to illegal update message -- he at uninett.no
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1441
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 29 Jun 2008 14:08:51 +0000 (14:08 +0000)]
rrdtool.spec fix by Anton Blanchard to build without php patch
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1440
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 29 Jun 2008 13:57:00 +0000 (13:57 +0000)]
make sure image-with and image-height get returned even when rrdtool is called with --lazy as reported in bug #163
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1439
a5681a0c -68f1-0310-ab6d-
d61299d08faa