]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/log
thirdparty/rrdtool-1.x.git
6 years agoMerge branch 'master' into changes changes 964/head
Tobias Oetiker [Mon, 11 Feb 2019 07:52:13 +0000 (08:52 +0100)] 
Merge branch 'master' into changes

6 years agoDefine mkdir() macro for Windows builds
Wolfgang Stöggl [Sat, 9 Feb 2019 23:34:09 +0000 (00:34 +0100)] 
Define mkdir() macro for Windows builds

- Windows: #define mkdir(A, B) mkdir(A)
  mkdir() has only got one argument under Windows

6 years agoCall getuid() only if HAVE_GETUID is defined
Wolfgang Stöggl [Sat, 9 Feb 2019 23:27:47 +0000 (00:27 +0100)] 
Call getuid() only if HAVE_GETUID is defined

6 years agoUpdate FSF address and fix UTF8
Wolfgang Stöggl [Sun, 10 Feb 2019 01:46:21 +0000 (02:46 +0100)] 
Update FSF address and fix UTF8

- Update FSF address in COPYRIGHT
  old: 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
  new: 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- Update LICENSE file according to the current version from:
  https://www.gnu.org/licenses/gpl-2.0.txt
- Update bindings/python/COPYING according to the current version from:
  https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt
- Change encoding of CONTRIBUTORS from ISO 8859-1 to UTF-8
- Fixes rpmlint warnings and errors:
  W: file-not-utf8 CONTRIBUTORS
  E: incorrect-fsf-address COPYRIGHT
  E: incorrect-fsf-address LICENSE
  E: incorrect-fsf-address bindings/python/COPYING

6 years agoadd notes on update
Tobias Oetiker [Fri, 8 Feb 2019 10:14:21 +0000 (11:14 +0100)] 
add notes on update

6 years agoadd missing testfile
Tobias Oetiker [Fri, 8 Feb 2019 07:38:39 +0000 (08:38 +0100)] 
add missing testfile

6 years agoTypo
nirgal [Thu, 7 Feb 2019 17:29:38 +0000 (17:29 +0000)] 
Typo

Thank lintian

6 years agoadd ghostscript to build env
Tobias Oetiker [Thu, 7 Feb 2019 12:15:31 +0000 (13:15 +0100)] 
add ghostscript to build env

6 years agoadd missing cd ..
Tobias Oetiker [Thu, 7 Feb 2019 10:21:51 +0000 (11:21 +0100)] 
add missing cd ..

6 years agoconsistant numbering for windows
Tobias Oetiker [Thu, 7 Feb 2019 08:15:48 +0000 (09:15 +0100)] 
consistant numbering for windows

6 years agogenerate NUMVERS from VERSION file
Tobias Oetiker [Thu, 7 Feb 2019 08:10:22 +0000 (09:10 +0100)] 
generate NUMVERS from VERSION file

6 years agobump version
Tobias Oetiker [Thu, 7 Feb 2019 08:01:40 +0000 (09:01 +0100)] 
bump version

6 years agoadd releasee tests to travis and bump version number for rerelease with fixed makefiles
Tobias Oetiker [Thu, 7 Feb 2019 07:50:40 +0000 (08:50 +0100)] 
add releasee tests to travis and bump version number for rerelease with fixed makefiles

6 years agoFixed 'No rule to make target 'etc/rrdcached.socket'
Jaroslav Škarvada [Tue, 5 Feb 2019 14:04:34 +0000 (15:04 +0100)] 
Fixed 'No rule to make target 'etc/rrdcached.socket'

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
6 years agoproperly add etc files via EXTRA_DIST - fixes #956 some more
Tobias Oetiker [Mon, 4 Feb 2019 16:17:25 +0000 (17:17 +0100)] 
properly add etc files via EXTRA_DIST - fixes #956 some more

6 years agoadd missing etc/rrdcached-default-lsb.in to tarball - fixes #956
Tobias Oetiker [Mon, 4 Feb 2019 15:25:06 +0000 (16:25 +0100)] 
add missing etc/rrdcached-default-lsb.in to tarball - fixes #956

6 years agosync 1.7.1 release updates
Tobias Oetiker [Mon, 4 Feb 2019 13:45:29 +0000 (14:45 +0100)] 
sync 1.7.1 release updates

6 years agoupdate library version since new features were added v1.7.1
Tobias Oetiker [Mon, 4 Feb 2019 12:59:37 +0000 (13:59 +0100)] 
update library version since new features were added

6 years agofix log
Tobias Oetiker [Mon, 4 Feb 2019 12:48:08 +0000 (13:48 +0100)] 
fix log

6 years agoUpdate version to 1.7.1 for MSVC builds
Wolfgang Stöggl [Mon, 4 Feb 2019 12:43:41 +0000 (13:43 +0100)] 
Update version to 1.7.1 for MSVC builds

6 years agoready for 1.7.1 release
Tobias Oetiker [Mon, 4 Feb 2019 11:18:30 +0000 (12:18 +0100)] 
ready for 1.7.1 release

6 years agoRemove librrd-4.vcxproj.user
Wolfgang Stöggl [Mon, 4 Feb 2019 10:07:13 +0000 (11:07 +0100)] 
Remove librrd-4.vcxproj.user

- Remove file from git source control, because
  .vcxproj.user files typically contain user-specific settings
  or overrides

6 years agoUpdate issue templates
Tobias Oetiker [Thu, 3 Jan 2019 12:03:48 +0000 (13:03 +0100)] 
Update issue templates

6 years agoFix warnings: different const qualifiers (MSVC)
Wolfgang Stöggl [Fri, 25 Jan 2019 14:22:23 +0000 (15:22 +0100)] 
Fix warnings: different const qualifiers (MSVC)

- Cast affected variables from 'const char **' to 'char **'
- Fixes the following warning:
  C4090: 'function': different 'const' qualifiers
  in: rrd_create.c(248), rrd_modify.c(1312),
  rrd_modify.c(1329), rrd_modify.c(1457), rrd_modify.c(1463)

6 years agoDefine PATH_MAX as _MAX_PATH for MSVC builds
Wolfgang Stöggl [Fri, 1 Feb 2019 23:30:52 +0000 (00:30 +0100)] 
Define PATH_MAX as _MAX_PATH for MSVC builds

- The max. length of full pathname is 260 under Windows.
  _MAX_PATH is defined in stdlib.h, use:
  #define PATH_MAX _MAX_PATH

6 years agoDefine HAVE_ASPRINTF and HAVE_VASPRINTF (MSVC)
Wolfgang Stöggl [Mon, 28 Jan 2019 20:15:05 +0000 (21:15 +0100)] 
Define HAVE_ASPRINTF and HAVE_VASPRINTF (MSVC)

- asprintf.c and vasprintf-msvc.c are compiled in MSVC builds, so
  define HAVE_ASPRINTF and HAVE_VASPRINTF in win32/rrd_config.h

6 years agoUse Unix line endings for win32-glob
Wolfgang Stöggl [Mon, 28 Jan 2019 20:00:08 +0000 (21:00 +0100)] 
Use Unix line endings for win32-glob

- Restore original line endings for win32-glob.c and win32-glob.h
- Furthermore, RRDtool source files use Unix line endings in general

6 years agoRemove win32/RCa02816, which is a temporary file
Wolfgang Stöggl [Mon, 28 Jan 2019 19:54:15 +0000 (20:54 +0100)] 
Remove win32/RCa02816, which is a temporary file

6 years agoFix _errno inconsistent dll linkage (Windows)
Wolfgang Stöggl [Sun, 27 Jan 2019 00:09:34 +0000 (01:09 +0100)] 
Fix _errno inconsistent dll linkage (Windows)

- Exclude in case of _WIN32 in rrd_snprintf.c:
  extern int errno;
- Fixes warnings:
  MSVC:
  rrd_snprintf.c(583): warning C4273:
  '_errno': inconsistent dll linkage
  errno.h(19): note: see previous definition of '_errno'
  MinGW-w64 (gcc):
  rrd_snprintf.c:583:12: warning: '_errno' redeclared without
  dllimport attribute: previous dllimport ignored [-Wattributes]

6 years agoFix rc compiler redefinition warnings (nmake)
Wolfgang Stöggl [Fri, 25 Jan 2019 10:08:18 +0000 (11:08 +0100)] 
Fix rc compiler redefinition warnings (nmake)

- Surround code in win32/rrd_config.h that causes warnings by rc with
  #ifndef RC_INVOKED and #endif. Remark: _MSC_VER is unknown to rc
- Fixes the following warnings for .rc files, e.g.:
  rc /nologo /I./src /fo./win32/rrdtool.res ./win32\rrdtool.rc
  ./win32\rrd_config.h(130) : warning RC4005: 'isinf' : redefinition
  ./win32\rrd_config.h(131) : warning RC4005: 'isnan' : redefinition
- This concerns: librrd-4.rc, rrdtool.rc, rrdupdate.rc, rrdcgi.rc,
  when using the resource compiler (rc) via nmake under Windows

6 years agoInitialize local variable junk
Wolfgang Stöggl [Thu, 24 Jan 2019 16:44:01 +0000 (17:44 +0100)] 
Initialize local variable junk

- Fixes the following compiler warnings (MSVC):
  rrd_modify.c(439) : warning C4700: uninitialized local variable
  'junk' used
  rrd_modify.c(1027) : warning C4700: uninitialized local variable
  'junk' used

6 years agoInclude winsdkver.h for _WIN32_MAXVER
Wolfgang Stöggl [Sun, 20 Jan 2019 21:11:34 +0000 (22:11 +0100)] 
Include winsdkver.h for _WIN32_MAXVER

- _WIN32_MAXVER is defined in winsdkver.h
  The include is required in case of MinGW-w64 builds
- Fixes rrd_open.c:11:5: warning:
  "_WIN32_MAXVER" is not defined, evaluates to 0 [-Wundef]
  #if _WIN32_MAXVER >= 0x0602 /* _WIN32_WINNT_WIN8 */

6 years agoUse _WIN32 instead of WIN32 preprocessor macro
Wolfgang Stöggl [Sat, 19 Jan 2019 22:41:02 +0000 (23:41 +0100)] 
Use _WIN32 instead of WIN32 preprocessor macro

- _WIN32 is the recommended preprocessor macro
- Substitute occurrences of WIN32 with _WIN32 using:
git grep -lw -e '#ifdef WIN32' -e '#ifndef WIN32' -e 'defined(WIN32)' \
-- '*.c' '*.h' '*.xs' | xargs \
sed -i -e 's/#ifdef WIN32/#ifdef _WIN32/g' \
-e 's/#ifndef WIN32/#ifndef _WIN32/g' \
-e 's/defined(WIN32)/defined(_WIN32)/g'

6 years agoFix: Cannot rename temporary file to final file
Wolfgang Stöggl [Fri, 18 Jan 2019 17:05:47 +0000 (18:05 +0100)] 
Fix: Cannot rename temporary file to final file

- Fixes the following failing tests under Windows:
  modify1, modify2, modify3, modify4, modify5
- Use CreateFileA() with FILE_SHARE_DELETE in rrd_open.c,
  so that the outfilename can later be replaced by tmpfilename using
  write_rrd() in rrd_create.c

6 years agoIndent rrd_create.c, rrd_open.c before changes
Wolfgang Stöggl [Fri, 18 Jan 2019 16:26:19 +0000 (17:26 +0100)] 
Indent rrd_create.c, rrd_open.c before changes

- Using GNU indent 2.2.12

6 years agoDefine realpath for MinGW builds
Wolfgang Stöggl [Tue, 15 Jan 2019 09:44:39 +0000 (10:44 +0100)] 
Define realpath for MinGW builds

- Define realpath the same way as in win32/rrd_config.h
- Fixes the following compiler warnings in rrd_client.c:
  115:11: warning: implicit declaration of function 'realpath';
  [-Wimplicit-function-declaration] ret = realpath(path, NULL);
  115:11: warning: nested extern declaration of 'realpath'
  [-Wnested-externs]
  115:9: warning: assignment to 'char *' from 'int' makes pointer from
  integer without a cast [-Wint-conversion] ret = realpath(path, NULL);
  132:22: warning: assignment to 'char *' from 'int' makes pointer from
  integer without a cast [-Wint-conversion]
  dir_path = realpath(dir, NULL);

6 years agoRemove LINKTYPE from perl-piped/Makefile.PL
Wolfgang Stöggl [Wed, 16 Jan 2019 08:17:43 +0000 (09:17 +0100)] 
Remove LINKTYPE from perl-piped/Makefile.PL

- Remove line:
  'linkext'   => {LINKTYPE => ''},
  Since version 5.00 of MakeMaker such a line can be deleted safely.
  MakeMaker recognizes when there's nothing to be linked.
  See: https://perldoc.perl.org/ExtUtils/MakeMaker.html
- Fixes Warning:
  LINKTYPE set to '', no longer necessary

6 years agoRe-enable 0-width lines
nirgal [Sun, 13 Jan 2019 10:02:24 +0000 (10:02 +0000)] 
Re-enable 0-width lines

Some people were using these as a base for stacks.

6 years agoUse g_list_free_full instead of g_list_foreach
Wolfgang Stöggl [Thu, 10 Jan 2019 16:06:21 +0000 (17:06 +0100)] 
Use g_list_free_full instead of g_list_foreach

- Fixes the following compiler warnings in rrd_create.c:
  236:34: warning: cast between incompatible function types from
  'void (*)(void *)' to 'void (*)(void *, void *)'
  [-Wcast-function-type] g_list_foreach( sources, (GFunc)free, NULL );

  1022:44: warning: cast between incompatible function types from
  'void (*)(rrd_file_t *)' {aka 'void (*)(struct rrd_file_t *)'} to
  'void (*)(void *, void *)' [-Wcast-function-type]
  g_list_foreach(sources_rrd_files, (GFunc) cleanup_source_file, NULL);

6 years agoRemove function substring from rrd_graph.c
Wolfgang Stöggl [Thu, 10 Jan 2019 13:39:37 +0000 (14:39 +0100)] 
Remove function substring from rrd_graph.c

- The function substring is not used any more. This was a leftover
  from https://github.com/oetiker/rrdtool-1.x/commit/cd4a728
- Fixes rrd_graph.c:6159:7: warning:
  no previous prototype for 'substring' [-Wmissing-prototypes]

6 years agoUpdate doc/Makefile.am
Wolfgang Stöggl [Wed, 9 Jan 2019 14:50:09 +0000 (15:50 +0100)] 
Update doc/Makefile.am

- Add -Wbreak, as in:
  https://github.com/oetiker/rrdtool-1.x/commit/564aed3

6 years agoInclude rrd_pdpcalc.pod in Makefile.am also
Peter Valdemar Mørch [Mon, 7 Jan 2019 22:36:37 +0000 (23:36 +0100)] 
Include rrd_pdpcalc.pod in Makefile.am also

Should really have been part of:

    commit 47e0f4391bccc0a3b12f75f567596425bd95b9ad
    Author: Peter Valdemar Mørch <peter@morch.com>
    Date:   Thu Jan 3 21:35:38 2019 +0100

        Added some documentation for the rrdxport output format

        See https://github.com/oetiker/rrdtool-1.x/issues/913 for a discussion

6 years agoRename PDP_calculation_explanation.pod -> rrd_pdpcalc.pod as pr. review comment in...
Peter Valdemar Mørch [Sun, 6 Jan 2019 11:23:39 +0000 (12:23 +0100)] 
Rename PDP_calculation_explanation.pod -> rrd_pdpcalc.pod as pr. review comment in #931

6 years agoChanged "[ timestamp - step ; timestamp [" as it was unclear as pr. review comment...
Peter Valdemar Mørch [Fri, 4 Jan 2019 07:23:13 +0000 (08:23 +0100)] 
Changed "[ timestamp - step ; timestamp [" as it was unclear as pr. review comment in #931

6 years agoSpell rrdtool as RRDtool as pr. review comment in #931
Peter Valdemar Mørch [Fri, 4 Jan 2019 07:18:57 +0000 (08:18 +0100)] 
Spell rrdtool as RRDtool as pr. review comment in #931

6 years agoAdded some documentation for the rrdxport output format
Peter Valdemar Mørch [Thu, 3 Jan 2019 20:35:38 +0000 (21:35 +0100)] 
Added some documentation for the rrdxport output format

See https://github.com/oetiker/rrdtool-1.x/issues/913 for a discussion

6 years agoFix two review comments from #932
Peter Valdemar Mørch [Fri, 4 Jan 2019 07:31:30 +0000 (08:31 +0100)] 
Fix two review comments from #932

6 years agoImprove links to AT-STYLE TIME SPECIFICATION section in rrdfetch
Peter Valdemar Mørch [Thu, 3 Jan 2019 22:42:14 +0000 (23:42 +0100)] 
Improve links to AT-STYLE TIME SPECIFICATION section in rrdfetch

Use pod links like L<rrdfetch/"AT-STYLE TIME SPECIFICATION">, which
creates e.g. HTML links like:

    <a href="./rrdfetch.html#AT-STYLE-TIME-SPECIFICATION">
        "AT-STYLE TIME SPECIFICATION" in rrdfetch
    </a>

6 years agoFixed some podchecker error/warnings
Peter Valdemar Mørch [Thu, 3 Jan 2019 22:01:22 +0000 (23:01 +0100)] 
Fixed some podchecker error/warnings

6 years agoRemoved trailing spaces from .pod documentation files
Peter Valdemar Mørch [Thu, 3 Jan 2019 22:02:12 +0000 (23:02 +0100)] 
Removed trailing spaces from .pod documentation files

This fixed warnings like:

*** WARNING: line containing nothing but whitespace in paragraph at line 145 in file rrdfetch.pod

from podchecker

6 years agoFixed POD in PDP_calculation_explanation.pod
Peter Valdemar Mørch [Thu, 3 Jan 2019 21:40:30 +0000 (22:40 +0100)] 
Fixed POD in PDP_calculation_explanation.pod

podchecker PDP_calculation_explanation.pod showed:

*** WARNING: line containing nothing but whitespace in paragraph at line 46 in file PDP_calculation_explanation.pod
*** ERROR: Apparent command =head1 not preceded by blank line at line 176 in file PDP_calculation_explanation.pod
*** WARNING: node 'https://gallery.technet.microsoft.com/scriptcenter/Sample-Script-to-Generate-59c80d4c =head1 AUTHOR' contains non-escaped | or / at line 175 in file PDP_calculation_explanation.pod
*** ERROR: unresolved internal link 'https://gallery.technet.microsoft.com/scriptcenter/Sample-Script-to-Generate-59c80d4c =head1 AUTHOR' at line 175 in file PDP_calculation_explanation.pod
PDP_calculation_explanation.pod has 2 pod syntax errors.

6 years agoRemoved "can't break line" warnings when making .txt files from .1 files
Peter Valdemar Mørch [Thu, 3 Jan 2019 21:41:23 +0000 (22:41 +0100)] 
Removed "can't break line" warnings when making .txt files from .1 files

Multiple warnings were removed e.g. this one (chosen at random):

rrdgraph_data.1:141: warning [p 1, 1.3i]: can't break line

6 years agoupdate tests including verification of timestamp alignement
Tobias Oetiker [Thu, 3 Jan 2019 12:02:14 +0000 (13:02 +0100)] 
update tests including verification of timestamp alignement

6 years agoupdate tests including verification of timestamp alignement
Tobias Oetiker [Thu, 3 Jan 2019 12:01:39 +0000 (13:01 +0100)] 
update tests including verification of timestamp alignement

6 years agofix off by one issue #913
Tobias Oetiker [Thu, 3 Jan 2019 11:02:08 +0000 (12:02 +0100)] 
fix off by one issue #913

6 years agoadd graph test
Tobias Oetiker [Thu, 3 Jan 2019 11:01:20 +0000 (12:01 +0100)] 
add graph test

6 years agoAdd -lws2_32 for MinGW builds by configure
Wolfgang Stöggl [Tue, 18 Dec 2018 16:23:06 +0000 (17:23 +0100)] 
Add -lws2_32 for MinGW builds by configure

- Add -lws2_32 to LIBS in case of MinGW or MinGW-w64 builds.
  This makes building Windows executables more straightforward using
  configure.
- Update README-MinGW-w64, remove LIBS='-lws2_32' from configure
  instructions.

6 years agoCheck for gobject-2.0 in configure
Wolfgang Stöggl [Tue, 18 Dec 2018 10:57:22 +0000 (11:57 +0100)] 
Check for gobject-2.0 in configure

- Since pango version 1.43.0, -lgobject-2.0 is not added automatically
  any more during configure. Remark: pango.pc uses Requires.private
  now for gobject-2.0 instead of formerly Requires: gobject-2.0
- Check for gobject-2.0 in configure to make sure, that -lgobject-2.0
  is added to ALL_LIBS
- Fixes the following linker errors:
  .libs/librrd_la-rrd_graph.o: In function `im_free':
    src/rrd_graph.c:465: undefined reference to `g_object_unref'
  .libs/librrd_la-rrd_graph.o: In function `rrd_graph_init':
    src/rrd_graph.c:4840: undefined reference to `g_object_unref'

6 years agoSync librrd-4.def with librrd.sym
Wolfgang Stöggl [Fri, 14 Dec 2018 15:02:11 +0000 (16:02 +0100)] 
Sync librrd-4.def with librrd.sym

- Export the same functions in the dll from MSVC builds under Windows
  as listed in librrd.sym

6 years agoFix warning strncpy bound equals destination size
Wolfgang Stöggl [Fri, 14 Dec 2018 11:11:05 +0000 (12:11 +0100)] 
Fix warning strncpy bound equals destination size

- Reduce num from 5 to 4 in strncpy and add null terminator.
  Remark: Version strings consist of 4 chars, e.g. RRD_VERSION5 "0005"

- Fixes the following GCC 8 warnings:
  rrd_create.c:960:9: warning:
    ‘strncpy’ specified bound 5 equals destination size
    [-Wstringop-truncation]
    strncpy(rrd.stat_head->version, require_version, 5);

  rrd_modify.c:1218:9: warning:
    ‘strncpy’ specified bound 5 equals destination size
    [-Wstringop-truncation]
    strncpy(out->stat_head->version, require_version, 5);

6 years agoFix tests to support Windows time zone name
Wolfgang Stöggl [Thu, 29 Nov 2018 11:21:06 +0000 (12:21 +0100)] 
Fix tests to support Windows time zone name

- On Windows, names of times zones are different.
  Substitute 'W. Europe Standard Time' with 'CET' by function seddif
- Removes unnecessary diff output and fixes therefore failing tests

6 years agoDisable Travis CI valgrind-logfile failing tests
Wolfgang Stöggl [Sun, 25 Nov 2018 10:51:40 +0000 (11:51 +0100)] 
Disable Travis CI valgrind-logfile failing tests

- These failing tests are not directly coming from rrdtool
  and are related to external libraries
- Allows Travis CI builds to pass again

6 years agoFix loop, sizeof(delims)
Wolfgang Stöggl [Fri, 23 Nov 2018 11:52:12 +0000 (12:52 +0100)] 
Fix loop, sizeof(delims)

- Update to https://github.com/oetiker/rrdtool-1.x/commit/2154d02

6 years agoUpdate to PR #915
netniV [Thu, 15 Nov 2018 16:44:02 +0000 (16:44 +0000)] 
Update to PR #915

6 years agoAdd windows-default-manifest to README-MinGW-w64
Wolfgang Stöggl [Wed, 7 Nov 2018 15:25:37 +0000 (16:25 +0100)] 
Add windows-default-manifest to README-MinGW-w64

- windows-default-manifest is available for Fedora in the meantime.
  This adds a default manifest to the compiled binaries and prevents
  unnecessary elevated privileges, e.g. for 32-bit rrdupdate.exe

6 years agominor adjustment to patch for #914
Alexander Zangerl [Wed, 31 Oct 2018 23:40:03 +0000 (09:40 +1000)] 
minor adjustment to patch for #914

6 years agoissue #914, rrdtool graph with --title segfaults and misparses single-line args
Alexander Zangerl [Tue, 30 Oct 2018 04:49:58 +0000 (14:49 +1000)] 
issue #914, rrdtool graph with --title segfaults and misparses single-line args

reworked graph_title_split() to not segfault,
to handle leading/trailing/duplicate delimiters, and to produce the
appropriate number of output lines.

code now works and properly handles nasties
like --title '\n\none\n\nfourtyseven\n'

6 years ago#914, rrdtool graph with --title segfaults
Alexander Zangerl [Tue, 30 Oct 2018 03:09:26 +0000 (13:09 +1000)] 
#914, rrdtool graph with --title segfaults

6 years agoUpdate perl-shared README for MSVC and ActivePerl
Wolfgang Stöggl [Wed, 26 Sep 2018 12:59:20 +0000 (14:59 +0200)] 
Update perl-shared README for MSVC and ActivePerl

- Using MSVC, the last supported ActivePerl version is 5.16,
  e.g. ActivePerl-5.16.3.1604-MSWin32-x86-298023.msi
- Since 5.18, ActivePerl is compiled with GCC compilers, and Microsoft
  toolchains are *not* compatible
- See this FAQ for further details:
  https://community.activestate.com/faq/windows-compilers-perl-modules

6 years agolua: build failure when rrd graph is disabled. (#900)
Karl Palsson [Fri, 17 Aug 2018 07:52:54 +0000 (07:52 +0000)] 
lua: build failure when rrd graph is disabled. (#900)

Needs the same protection used elsewhere in the file.

Signed-off-by: Karl Palsson <karlp@etactica.com>
6 years agolua: don't include rrd_restore if it wasn't included (#901)
Karl Palsson [Fri, 17 Aug 2018 07:51:40 +0000 (07:51 +0000)] 
lua: don't include rrd_restore if it wasn't included (#901)

The lua module compiles ok, but fails to load.

> rrd=require("rrd")
error loading module 'rrd' from file '/usr/lib/lua/rrd.so':
Error relocating /usr/lib/lua/rrd.so: rrd_restore: symbol not found
stack traceback:
[C]: ?
[C]: in function 'require'

Signed-off-by: Karl Palsson <karlp@etactica.com>
6 years agowe can not use libtool from within configure as it only gets generated at the end...
Tobias Oetiker [Tue, 7 Aug 2018 06:53:46 +0000 (08:53 +0200)] 
we can not use libtool from within configure as it only gets generated at the end of the run ...

7 years agoAllow multiple lines in graph titles (#897)
Mark Brugnoli-Vinten [Wed, 1 Aug 2018 14:50:49 +0000 (15:50 +0100)] 
Allow multiple lines in graph titles (#897)

7 years agoMerge pull request #894 from c72578/2018-07-14_32bit_time_issue_dump_MSVC
Tobias Oetiker [Mon, 16 Jul 2018 05:52:07 +0000 (07:52 +0200)] 
Merge pull request #894 from c72578/2018-07-14_32bit_time_issue_dump_MSVC

Fix lastupdate time in dump (32bit MSVC only)

7 years agoFix lastupdate time in dump (32bit MSVC only) 894/head
Wolfgang Stöggl [Sat, 14 Jul 2018 12:31:06 +0000 (14:31 +0200)] 
Fix lastupdate time in dump (32bit MSVC only)

- So far, (null) was written into the lastupdate time string:
  e.g.: <lastupdate>1511170870</lastupdate> <!-- (null) -->
- The problem occurred only in 32bit MSVC builds
- Works for both, with or without _USE_32BIT_TIME_T

7 years agoMerge pull request #893 from c72578/2018-07-13_HAVE_RRD_RESTORE_MSVC
Tobias Oetiker [Fri, 13 Jul 2018 13:23:00 +0000 (15:23 +0200)] 
Merge pull request #893 from c72578/2018-07-13_HAVE_RRD_RESTORE_MSVC

Define HAVE_RRD_RESTORE (MSVC)

7 years agoDefine HAVE_RRD_RESTORE (MSVC) 893/head
Wolfgang Stöggl [Fri, 13 Jul 2018 11:51:58 +0000 (13:51 +0200)] 
Define HAVE_RRD_RESTORE (MSVC)

- Enables restore functionality on Windows MSVC builds
- Fixes ERROR: the instance of rrdtool has been compiled without XML
  import functions

7 years agoMerge pull request #891 from weyou/fix-rrdfile-write-issue
Tobias Oetiker [Mon, 18 Jun 2018 11:40:05 +0000 (13:40 +0200)] 
Merge pull request #891 from weyou/fix-rrdfile-write-issue

Fix rrdfile write mode issue on Windows

7 years agoAdded a empty line to keep the original style 891/head
weyou [Mon, 18 Jun 2018 09:55:01 +0000 (17:55 +0800)] 
Added a empty line to keep the original style

7 years agoFixed the rrd file write mode on Windows
weyou [Mon, 18 Jun 2018 09:32:47 +0000 (17:32 +0800)] 
Fixed the rrd file write mode on Windows

7 years agoMerge pull request #882 from nirgal/patch-1
Tobias Oetiker [Thu, 29 Mar 2018 08:39:03 +0000 (10:39 +0200)] 
Merge pull request #882 from nirgal/patch-1

Fixed typo in error message

7 years agoFixed typo in error message 882/head
nirgal [Thu, 29 Mar 2018 08:34:08 +0000 (10:34 +0200)] 
Fixed typo in error message

7 years agoMerge pull request #881 from c72578/2018-03-25_Update_README-MinGW-w64
Tobias Oetiker [Sun, 25 Mar 2018 13:01:13 +0000 (15:01 +0200)] 
Merge pull request #881 from c72578/2018-03-25_Update_README-MinGW-w64

Update MinGW-w64 build instructions

7 years agoUpdate MinGW-w64 build instructions 881/head
Wolfgang Stöggl [Sun, 25 Mar 2018 11:44:50 +0000 (13:44 +0200)] 
Update MinGW-w64 build instructions

- Info added, where to find compiled binaries:
  src/.libs/
- Added perl-Pod-Html to Fedora dependencies
- Added base-devel to MSYS2 build instructions

7 years agoMerge pull request #879 from Tomo59/master
Tobias Oetiker [Thu, 8 Mar 2018 08:06:23 +0000 (09:06 +0100)] 
Merge pull request #879 from Tomo59/master

Fix rrdtool.graph python binding

7 years agoFix rrdtool.graph python binding 879/head
Thomas Gambier [Tue, 6 Mar 2018 14:10:23 +0000 (15:10 +0100)] 
Fix rrdtool.graph python binding

It was failing with 'munmap_chunk(): invalid pointer' error in python 3.6.3

7 years agoMerge pull request #877 from nirgal/french
Tobias Oetiker [Fri, 16 Feb 2018 07:09:58 +0000 (08:09 +0100)] 
Merge pull request #877 from nirgal/french

French

7 years agoFrench translation 877/head
Jean-Michel Vourgère [Wed, 14 Feb 2018 13:26:29 +0000 (14:26 +0100)] 
French translation

7 years agoStop ignoring translation updates
Jean-Michel Vourgère [Wed, 14 Feb 2018 13:26:01 +0000 (14:26 +0100)] 
Stop ignoring translation updates

7 years agoMerge pull request #875 from matwey/fix/static-2
Tobias Oetiker [Tue, 13 Feb 2018 09:50:54 +0000 (10:50 +0100)] 
Merge pull request #875 from matwey/fix/static-2

Do not use static variable in gfx_prep_text()

7 years agoDo not use static variable in gfx_prep_text() 875/head
Matwey V. Kornilov [Sat, 10 Feb 2018 21:44:06 +0000 (00:44 +0300)] 
Do not use static variable in gfx_prep_text()

Move last_tabwidth to image_desc_t

Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
7 years agoMerge pull request #874 from nirgal/patch-2
Tobias Oetiker [Sat, 10 Feb 2018 15:47:32 +0000 (16:47 +0100)] 
Merge pull request #874 from nirgal/patch-2

Really enable translations

7 years agoMerge pull request #873 from matwey/fix/static-1
Tobias Oetiker [Sat, 10 Feb 2018 15:45:54 +0000 (16:45 +0100)] 
Merge pull request #873 from matwey/fix/static-1

Do not use static variables in xtr() and ytr()

7 years agoReally enable translations 874/head
nirgal [Fri, 9 Feb 2018 23:39:55 +0000 (00:39 +0100)] 
Really enable translations

Fix for issue #872.

7 years agoDo not use static variables in xtr() and ytr() 873/head
Matwey V. Kornilov [Fri, 9 Feb 2018 10:06:39 +0000 (13:06 +0300)] 
Do not use static variables in xtr() and ytr()

Using static variables for writting leads to race conditions. In order to keep
scale for axis we introduce x_pixie and y_pixie into image_desc_t.

Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
7 years agoMerge pull request #871 from nirgal/patch-1
Tobias Oetiker [Wed, 7 Feb 2018 22:32:30 +0000 (23:32 +0100)] 
Merge pull request #871 from nirgal/patch-1

Quiets warning

7 years agoQuiets warning 871/head
nirgal [Wed, 7 Feb 2018 17:08:36 +0000 (18:08 +0100)] 
Quiets warning

gcc using -Wimplicit-fallthrough emits warning because of the typo

7 years agoMerge pull request #870 from nirgal/spell
Tobias Oetiker [Mon, 5 Feb 2018 15:35:39 +0000 (16:35 +0100)] 
Merge pull request #870 from nirgal/spell

Spelling fixes

7 years agoSpelling fixes 870/head
Jean-Michel Vourgère [Mon, 5 Feb 2018 15:32:58 +0000 (16:32 +0100)] 
Spelling fixes

7 years agoMerge pull request #869 from igit/patch-1
Tobias Oetiker [Sun, 4 Feb 2018 22:55:06 +0000 (23:55 +0100)] 
Merge pull request #869 from igit/patch-1

Update CHANGES : version 1.7.0 released on 2017 (not 2016)