]> granicus.if.org Git - vnstat/log
vnstat
10 years agofix database search when resuming daemon operations, modify info print to fit 80...
Teemu Toivola [Tue, 1 Jul 2014 20:45:58 +0000 (23:45 +0300)]
fix database search when resuming daemon operations, modify info print to fit 80 character width terminals

10 years agoadd user and group parameter documentation to daemon man page
Teemu Toivola [Tue, 1 Jul 2014 20:12:39 +0000 (23:12 +0300)]
add user and group parameter documentation to daemon man page

10 years agocontinue daemon main() refactoring
Teemu Toivola [Mon, 30 Jun 2014 17:47:55 +0000 (20:47 +0300)]
continue daemon main() refactoring

10 years agoset travis to always notify after build
Teemu Toivola [Mon, 30 Jun 2014 14:20:46 +0000 (17:20 +0300)]
set travis to always notify after build

10 years agocontinue daemon main() refactoring
Teemu Toivola [Sat, 28 Jun 2014 23:14:01 +0000 (02:14 +0300)]
continue daemon main() refactoring

10 years agostart splitting daemon main() into smaller functions, state related variables moved...
Teemu Toivola [Sat, 28 Jun 2014 22:26:12 +0000 (01:26 +0300)]
start splitting daemon main() into smaller functions, state related variables moved to separate structure

10 years agoremove inline keyword from strncpy_nt() since it breaks compiling with clang and...
Teemu Toivola [Sat, 28 Jun 2014 18:56:57 +0000 (21:56 +0300)]
remove inline keyword from strncpy_nt() since it breaks compiling with clang and doesn't change the end result anyway

10 years agouse environment variable provided value for CC if available instead of always using gcc
Teemu Toivola [Sat, 28 Jun 2014 18:15:04 +0000 (21:15 +0300)]
use environment variable provided value for CC if available instead of always using gcc

10 years agoadd configuration file for Travis CI
Teemu Toivola [Sat, 28 Jun 2014 17:17:28 +0000 (20:17 +0300)]
add configuration file for Travis CI

10 years agomove daemon functions to separate file and add tests
Teemu Toivola [Thu, 26 Jun 2014 20:45:22 +0000 (23:45 +0300)]
move daemon functions to separate file and add tests

10 years agoverify malloc success also in xmldate()
Teemu Toivola [Wed, 25 Jun 2014 20:31:10 +0000 (23:31 +0300)]
verify malloc success also in xmldate()

10 years agoremove potentially misleading update date from README and clarify first line of CHANG...
Teemu Toivola [Tue, 24 Jun 2014 21:13:01 +0000 (00:13 +0300)]
remove potentially misleading update date from README and clarify first line of CHANGE (fixes #2), update progress in CHANGES

10 years agofix warnings found with static code analysis
Teemu Toivola [Tue, 24 Jun 2014 20:52:20 +0000 (23:52 +0300)]
fix warnings found with static code analysis

10 years agoremove init.d examples for distributions that now use systemd
Teemu Toivola [Mon, 23 Jun 2014 19:21:06 +0000 (22:21 +0300)]
remove init.d examples for distributions that now use systemd

10 years agoadd parameters for changing daemon process user and group, increase informativity...
Teemu Toivola [Mon, 23 Jun 2014 19:04:07 +0000 (22:04 +0300)]
add parameters for changing daemon process user and group, increase informativity of daemon error messages

10 years agoshow set limits in log
Teemu Toivola [Mon, 23 Jun 2014 14:26:09 +0000 (17:26 +0300)]
show set limits in log

10 years agoremove freecode link since the site has gone static
Teemu Toivola [Sun, 22 Jun 2014 22:34:03 +0000 (01:34 +0300)]
remove freecode link since the site has gone static

10 years agoimprove daemon startup and debug prints, use ISO YYYY-MM-DD date format timestamps...
Teemu Toivola [Sun, 22 Jun 2014 22:22:40 +0000 (01:22 +0300)]
improve daemon startup and debug prints, use ISO YYYY-MM-DD date format timestamps if logfile is used, add some missed changes to CHANGES

10 years agofix live traffic meter occasionally showing higher minimum than average, really this...
Teemu Toivola [Thu, 24 Apr 2014 19:57:06 +0000 (22:57 +0300)]
fix live traffic meter occasionally showing higher minimum than average, really this time

10 years agoensure that strncpy destination is null terminated (fixes #1), specify sscanf string...
Teemu Toivola [Wed, 23 Apr 2014 19:58:02 +0000 (22:58 +0300)]
ensure that strncpy destination is null terminated (fixes #1), specify sscanf string lengths, close file at end of importdb(), remove unused variables

10 years agoclarify usage of --savemerged option and interface merge syntax
Teemu Toivola [Fri, 4 Apr 2014 15:34:07 +0000 (18:34 +0300)]
clarify usage of --savemerged option and interface merge syntax

10 years agoimprove error situation prints
Teemu Toivola [Fri, 4 Apr 2014 15:24:29 +0000 (18:24 +0300)]
improve error situation prints

10 years agoadd example service file for systemd
Teemu Toivola [Thu, 3 Apr 2014 16:49:47 +0000 (19:49 +0300)]
add example service file for systemd

10 years agorename definitions to something more readable
Teemu Toivola [Wed, 2 Apr 2014 17:25:12 +0000 (20:25 +0300)]
rename definitions to something more readable

10 years agoimprove man pages
Teemu Toivola [Wed, 2 Apr 2014 17:21:53 +0000 (20:21 +0300)]
improve man pages

10 years agodefine some more settings for better behaviour
Teemu Toivola [Wed, 2 Apr 2014 16:49:44 +0000 (19:49 +0300)]
define some more settings for better behaviour

10 years agoadd example configuration file for OS X launchd
Teemu Toivola [Tue, 1 Apr 2014 20:48:53 +0000 (23:48 +0300)]
add example configuration file for OS X launchd

10 years agoadd recursive directory deletion support for test purposes, remove test directory...
Teemu Toivola [Thu, 20 Mar 2014 16:20:05 +0000 (18:20 +0200)]
add recursive directory deletion support for test purposes, remove test directory before exit

10 years agoset DATABASEDIR, DEFIFACE, PROCNETDEV and SYSCLASSNET only if not already defined
Teemu Toivola [Wed, 19 Mar 2014 21:45:24 +0000 (23:45 +0200)]
set DATABASEDIR, DEFIFACE, PROCNETDEV and SYSCLASSNET only if not already defined

10 years agoupdate changelog to list changes done so far
Teemu Toivola [Sun, 9 Mar 2014 20:37:52 +0000 (22:37 +0200)]
update changelog to list changes done so far

10 years agoupdate man page NAME sections
Teemu Toivola [Sun, 9 Mar 2014 00:52:50 +0000 (02:52 +0200)]
update man page NAME sections

10 years agoreduce indentation
Teemu Toivola [Sat, 8 Mar 2014 23:19:38 +0000 (01:19 +0200)]
reduce indentation

10 years agosplit long vnstat main into smaller functions
Teemu Toivola [Sat, 8 Mar 2014 17:11:37 +0000 (19:11 +0200)]
split long vnstat main into smaller functions

10 years agouse pointers in countercalc function
Teemu Toivola [Fri, 7 Mar 2014 23:05:13 +0000 (01:05 +0200)]
use pointers in countercalc function

10 years agomake database validation failure more verbose
Teemu Toivola [Fri, 7 Mar 2014 21:03:16 +0000 (23:03 +0200)]
make database validation failure more verbose

10 years agorename --dumpdb -> --exportdb and --restoredb -> --importdb, use file parameter for...
Teemu Toivola [Fri, 7 Mar 2014 17:51:57 +0000 (19:51 +0200)]
rename --dumpdb -> --exportdb and --restoredb -> --importdb, use file parameter for import instead of pipe

10 years agoadd support for database restore (--dumpdb import) based on patch by Tilmann Bubeck
Teemu Toivola [Thu, 6 Mar 2014 21:07:11 +0000 (23:07 +0200)]
add support for database restore (--dumpdb import) based on patch by Tilmann Bubeck

10 years agoadd more tests
Teemu Toivola [Wed, 5 Mar 2014 19:42:34 +0000 (21:42 +0200)]
add more tests

10 years agoadd first test that can do database file handling in a sandbox directory
Teemu Toivola [Tue, 4 Mar 2014 22:13:19 +0000 (00:13 +0200)]
add first test that can do database file handling in a sandbox directory

10 years agoclose file before leaving function if write fails
Teemu Toivola [Tue, 4 Mar 2014 22:08:39 +0000 (00:08 +0200)]
close file before leaving function if write fails

10 years agoset CFLAGS only when not already defined
Teemu Toivola [Tue, 4 Mar 2014 20:17:49 +0000 (22:17 +0200)]
set CFLAGS only when not already defined

10 years agoadd check for null pointer and re-enable test
Teemu Toivola [Tue, 4 Mar 2014 18:36:19 +0000 (20:36 +0200)]
add check for null pointer and re-enable test

10 years agoadd dist target and check target as alias for tests
Teemu Toivola [Tue, 4 Mar 2014 15:07:53 +0000 (17:07 +0200)]
add dist target and check target as alias for tests

10 years agoadd more tests
Teemu Toivola [Mon, 3 Mar 2014 20:53:54 +0000 (22:53 +0200)]
add more tests

10 years agoreplace VPATH with vpath
Teemu Toivola [Mon, 3 Mar 2014 15:23:39 +0000 (17:23 +0200)]
replace VPATH with vpath

10 years agostop using install command with -D parameter since it isn't supported in all environments
Teemu Toivola [Mon, 3 Mar 2014 15:07:03 +0000 (17:07 +0200)]
stop using install command with -D parameter since it isn't supported in all environments

10 years agoadd more tests
Teemu Toivola [Sun, 2 Mar 2014 22:54:16 +0000 (00:54 +0200)]
add more tests

10 years agomove simple calculation related functions to common
Teemu Toivola [Sun, 2 Mar 2014 21:42:42 +0000 (23:42 +0200)]
move simple calculation related functions to common

10 years agoextract parts of vnstat main to separate functions
Teemu Toivola [Sun, 2 Mar 2014 20:59:55 +0000 (22:59 +0200)]
extract parts of vnstat main to separate functions

10 years agofix test compilation warnings with old gcc
Teemu Toivola [Sat, 1 Mar 2014 13:09:16 +0000 (15:09 +0200)]
fix test compilation warnings with old gcc

10 years agofix test linking issues found in Ubuntu 14.04
Teemu Toivola [Sat, 1 Mar 2014 12:44:41 +0000 (14:44 +0200)]
fix test linking issues found in Ubuntu 14.04

10 years agotune unit selection limits
Teemu Toivola [Fri, 28 Feb 2014 20:25:14 +0000 (22:25 +0200)]
tune unit selection limits

10 years agoremove unused legacy unit prefixes
Teemu Toivola [Fri, 28 Feb 2014 20:10:32 +0000 (22:10 +0200)]
remove unused legacy unit prefixes

10 years agoadd more tests
Teemu Toivola [Fri, 28 Feb 2014 20:03:47 +0000 (22:03 +0200)]
add more tests

10 years agoreplace make command with variable
Teemu Toivola [Fri, 28 Feb 2014 17:58:13 +0000 (19:58 +0200)]
replace make command with variable

10 years agoimprove traffic meter output accuracy and fix occasional inconsistency (min > avg...
Teemu Toivola [Thu, 27 Feb 2014 20:21:32 +0000 (22:21 +0200)]
improve traffic meter output accuracy and fix occasional inconsistency (min > avg) in end statistics

10 years agoadd debug compilation target
Teemu Toivola [Thu, 27 Feb 2014 18:09:07 +0000 (20:09 +0200)]
add debug compilation target

10 years agoadd .gitignore file
Teemu Toivola [Wed, 26 Feb 2014 20:39:24 +0000 (22:39 +0200)]
add .gitignore file

10 years agoremove forum links, fix indentation, freshmeat -> freecode
Teemu Toivola [Wed, 26 Feb 2014 20:38:03 +0000 (22:38 +0200)]
remove forum links, fix indentation, freshmeat -> freecode

10 years agohandle decimal conversion character with a define instead of if/else structures in...
Teemu Toivola [Wed, 26 Feb 2014 20:30:16 +0000 (22:30 +0200)]
handle decimal conversion character with a define instead of if/else structures in code

10 years agoadd tests
Teemu Toivola [Tue, 25 Feb 2014 21:02:52 +0000 (23:02 +0200)]
add tests

10 years agotrailing whitespace cleanup and copyright year update
Teemu Toivola [Tue, 25 Feb 2014 20:58:50 +0000 (22:58 +0200)]
trailing whitespace cleanup and copyright year update

10 years agofix for loop bug in rebuild total that appears to have been there since version 1...
Teemu Toivola [Tue, 25 Feb 2014 20:36:57 +0000 (22:36 +0200)]
fix for loop bug in rebuild total that appears to have been there since version 1.1, thanks to William Epp for finding this

10 years agothis is version 1.12 beta already
Teemu Toivola [Tue, 25 Feb 2014 20:23:57 +0000 (22:23 +0200)]
this is version 1.12 beta already

10 years agofix memory leak that occured in daemon when list of available interfaces was empty...
Teemu Toivola [Tue, 25 Feb 2014 20:09:08 +0000 (22:09 +0200)]
fix memory leak that occured in daemon when list of available interfaces was empty, fix debug print

10 years agoclose file is locking fails, fix indentation
Teemu Toivola [Tue, 25 Feb 2014 19:59:39 +0000 (21:59 +0200)]
close file is locking fails, fix indentation

10 years agoinit buffer and don't open logfile if there's nothing to log into it
Teemu Toivola [Tue, 25 Feb 2014 19:45:43 +0000 (21:45 +0200)]
init buffer and don't open logfile if there's nothing to log into it

10 years agoVersion 1.11 v1.11
Teemu Toivola [Mon, 24 Feb 2014 20:04:41 +0000 (22:04 +0200)]
Version 1.11

10 years agoVersion 1.10 v1.10
Teemu Toivola [Mon, 24 Feb 2014 19:57:50 +0000 (21:57 +0200)]
Version 1.10

10 years agoVersion 1.9 v1.9
Teemu Toivola [Mon, 24 Feb 2014 19:56:50 +0000 (21:56 +0200)]
Version 1.9

10 years agoVersion 1.8 v1.8
Teemu Toivola [Mon, 24 Feb 2014 19:54:57 +0000 (21:54 +0200)]
Version 1.8

10 years agoVersion 1.7 v1.7
Teemu Toivola [Mon, 24 Feb 2014 19:53:25 +0000 (21:53 +0200)]
Version 1.7

10 years agoVersion 1.6 v1.6
Teemu Toivola [Mon, 24 Feb 2014 19:49:41 +0000 (21:49 +0200)]
Version 1.6

10 years agoVersion 1.5 v1.5
Teemu Toivola [Mon, 24 Feb 2014 19:47:43 +0000 (21:47 +0200)]
Version 1.5

10 years agoVersion 1.4 v1.4
Teemu Toivola [Mon, 24 Feb 2014 19:45:21 +0000 (21:45 +0200)]
Version 1.4

10 years agoVersion 1.3 v1.3
Teemu Toivola [Mon, 24 Feb 2014 19:44:05 +0000 (21:44 +0200)]
Version 1.3

10 years agoVersion 1.2 v1.2
Teemu Toivola [Mon, 24 Feb 2014 19:41:04 +0000 (21:41 +0200)]
Version 1.2

10 years agoVersion 1.1 v1.1
Teemu Toivola [Mon, 24 Feb 2014 19:39:28 +0000 (21:39 +0200)]
Version 1.1

10 years agoVersion 1.0 v1.0
Teemu Toivola [Mon, 24 Feb 2014 19:37:59 +0000 (21:37 +0200)]
Version 1.0