commit c264a267f9011aa57f9db0bf2b3e48d4f64dca2d
parent f762c87a4a2898fb2b17ebce6d7deb5d17891bb1
Author: Frederic Cambus <fred@statdns.com>
Date: Sun, 10 Jan 2016 18:00:48 +0100
Logswan 1.04 release
Diffstat:
9 files changed, 31 insertions(+), 17 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -1,6 +1,6 @@
###############################################################################
# #
-# Logswan 1.03 #
+# Logswan 1.04 #
# Copyright (c) 2015-2016, Frederic Cambus #
# http://www.logswan.org #
# #
@@ -17,7 +17,7 @@ cmake_minimum_required (VERSION 2.6)
project(logswan C)
include(CheckFunctionExists)
-include(GNUInstallDirs)
+include(GNUInstallDirs)
# Check if system has strtonum
list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_OPENBSD_SOURCE)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,17 @@
+Logswan 1.04 (2016-01-10)
+
+- Moving global variables into main
+- Using 'size_t' instead of 'int' for array indexes in for loops
+- Using 'uint32_t' for all non 'uint64_t' integers
+- Do not increment hits and processed lines counter for each parsed line,
+ compute total only once when everything is parsed
+- Setting 'CMAKE_BUILD_TYPE' to 'Release' and formatting fixes
+- Sanitize CMake script to build under NetBSD (Thanks Kamil Rytarowski)
+- Initializing some uninitialized variables
+- Renaming 'DATADIR' variables to 'GEOIPDIR'
+
+
+
Logswan 1.03 (2016-01-01)
- Remove header display and do not print name of processed file
@@ -17,7 +31,7 @@ Logswan 1.03 (2016-01-01)
- Increasing countries array size, as an attempt to be future-proof
- Initial support for using pledge() on OpenBSD
- Documentation updates (HLL precision, Features list, GeoIP databases)
-- Updated output file example
+- Updated JSON output example
- Added a manual page
diff --git a/src/config.c b/src/config.c
@@ -1,11 +1,11 @@
/*****************************************************************************/
/* */
-/* Logswan 1.03 */
+/* Logswan 1.04 */
/* Copyright (c) 2015-2016, Frederic Cambus */
/* http://www.logswan.org */
/* */
/* Created: 2015-05-31 */
-/* Last Updated: 2016-01-01 */
+/* Last Updated: 2016-01-10 */
/* */
/* Logswan is released under the BSD 3-Clause license. */
/* See LICENSE file for details. */
diff --git a/src/config.h b/src/config.h
@@ -1,11 +1,11 @@
/*****************************************************************************/
/* */
-/* Logswan 1.03 */
+/* Logswan 1.04 */
/* Copyright (c) 2015-2016, Frederic Cambus */
/* http://www.logswan.org */
/* */
/* Created: 2015-05-31 */
-/* Last Updated: 2016-01-01 */
+/* Last Updated: 2016-01-10 */
/* */
/* Logswan is released under the BSD 3-Clause license. */
/* See LICENSE file for details. */
@@ -15,7 +15,7 @@
#ifndef CONFIG_H
#define CONFIG_H
-#define VERSION "Logswan 1.03"
+#define VERSION "Logswan 1.04"
enum {
HLL_BITS = 20,
diff --git a/src/logswan.c b/src/logswan.c
@@ -1,6 +1,6 @@
/*****************************************************************************/
/* */
-/* Logswan 1.03 */
+/* Logswan 1.04 */
/* Copyright (c) 2015-2016, Frederic Cambus */
/* http://www.logswan.org */
/* */
diff --git a/src/output.c b/src/output.c
@@ -1,11 +1,11 @@
/*****************************************************************************/
/* */
-/* Logswan 1.03 */
+/* Logswan 1.04 */
/* Copyright (c) 2015-2016, Frederic Cambus */
/* http://www.logswan.org */
/* */
/* Created: 2015-05-31 */
-/* Last Updated: 2016-01-01 */
+/* Last Updated: 2016-01-10 */
/* */
/* Logswan is released under the BSD 3-Clause license. */
/* See LICENSE file for details. */
diff --git a/src/output.h b/src/output.h
@@ -1,11 +1,11 @@
/*****************************************************************************/
/* */
-/* Logswan 1.03 */
+/* Logswan 1.04 */
/* Copyright (c) 2015-2016, Frederic Cambus */
/* http://www.logswan.org */
/* */
/* Created: 2015-05-31 */
-/* Last Updated: 2016-01-01 */
+/* Last Updated: 2016-01-10 */
/* */
/* Logswan is released under the BSD 3-Clause license. */
/* See LICENSE file for details. */
diff --git a/src/parse.c b/src/parse.c
@@ -1,11 +1,11 @@
/*****************************************************************************/
/* */
-/* Logswan 1.03 */
+/* Logswan 1.04 */
/* Copyright (c) 2015-2016, Frederic Cambus */
/* http://www.logswan.org */
/* */
/* Created: 2015-05-31 */
-/* Last Updated: 2016-01-01 */
+/* Last Updated: 2016-01-10 */
/* */
/* Logswan is released under the BSD 3-Clause license. */
/* See LICENSE file for details. */
diff --git a/src/parse.h b/src/parse.h
@@ -1,11 +1,11 @@
/*****************************************************************************/
/* */
-/* Logswan 1.03 */
+/* Logswan 1.04 */
/* Copyright (c) 2015-2016, Frederic Cambus */
/* http://www.logswan.org */
/* */
/* Created: 2015-05-31 */
-/* Last Updated: 2016-01-01 */
+/* Last Updated: 2016-01-10 */
/* */
/* Logswan is released under the BSD 3-Clause license. */
/* See LICENSE file for details. */