diff --git a/about_dialog.cpp b/about_dialog.cpp index 35783eb..0e3a46b 100644 --- a/about_dialog.cpp +++ b/about_dialog.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * @@ -57,7 +57,7 @@ UI_Aboutwindow::UI_Aboutwindow() textedit1->setPlainText( "\n " PROGRAM_NAME " " PROGRAM_VERSION "\n" "\n This program is made by Teunis van Beelen.\n" - "\n Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen.\n" + "\n Copyright (C) 2015 - 2020 Teunis van Beelen.\n" "\n Email: teuniz@protonmail.com\n" "\n Disclaimer:\n" " Despite this software is intend to be useful, there is no warranty, use this software at your own risk!\n"); diff --git a/about_dialog.h b/about_dialog.h index 144a34b..d23d07b 100644 --- a/about_dialog.h +++ b/about_dialog.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/connection.cpp b/connection.cpp index 3f3566f..33fac3b 100644 --- a/connection.cpp +++ b/connection.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/connection.h b/connection.h index 9082e77..c7bdab8 100644 --- a/connection.h +++ b/connection.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/decode_dialog.cpp b/decode_dialog.cpp index 3494db5..d3cd4df 100644 --- a/decode_dialog.cpp +++ b/decode_dialog.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2016 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/decode_dialog.h b/decode_dialog.h index 2a771c2..e608bdb 100644 --- a/decode_dialog.h +++ b/decode_dialog.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2016 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/edflib.c b/edflib.c index ef71710..35a6c5a 100644 --- a/edflib.c +++ b/edflib.c @@ -1,7 +1,7 @@ /* ***************************************************************************** * -* Copyright (c) 2009 - 2019 Teunis van Beelen +* Copyright (c) 2009 - 2020 Teunis van Beelen * All rights reserved. * * Email: teuniz@protonmail.com diff --git a/edflib.h b/edflib.h index 6bc71f2..5c87c3c 100644 --- a/edflib.h +++ b/edflib.h @@ -1,7 +1,7 @@ /* ***************************************************************************** * -* Copyright (c) 2009 - 2019 Teunis van Beelen +* Copyright (c) 2009 - 2020 Teunis van Beelen * All rights reserved. * * Email: teuniz@protonmail.com diff --git a/global.h b/global.h index b0ae519..d19fca9 100644 --- a/global.h +++ b/global.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/interface.cpp b/interface.cpp index 2ac0734..af9fc5c 100644 --- a/interface.cpp +++ b/interface.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/lan_connect_thread.cpp b/lan_connect_thread.cpp index cb528b8..03b3856 100644 --- a/lan_connect_thread.cpp +++ b/lan_connect_thread.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2016 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/lan_connect_thread.h b/lan_connect_thread.h index 326925d..3e4de21 100644 --- a/lan_connect_thread.h +++ b/lan_connect_thread.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2016 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/mainwindow.cpp b/mainwindow.cpp index 4601fff..8129f56 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/mainwindow.h b/mainwindow.h index 55c8d08..880aa33 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/mainwindow_constr.cpp b/mainwindow_constr.cpp index 15f7ee4..6d2084f 100644 --- a/mainwindow_constr.cpp +++ b/mainwindow_constr.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/playback_dialog.cpp b/playback_dialog.cpp index f2b8202..c237802 100644 --- a/playback_dialog.cpp +++ b/playback_dialog.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2017 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/playback_dialog.h b/playback_dialog.h index 7351d5b..674b2bd 100644 --- a/playback_dialog.h +++ b/playback_dialog.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2017 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/read_settings_thread.cpp b/read_settings_thread.cpp index 4befd7f..800b098 100644 --- a/read_settings_thread.cpp +++ b/read_settings_thread.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2016 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/read_settings_thread.h b/read_settings_thread.h index 11a1a06..a358045 100644 --- a/read_settings_thread.h +++ b/read_settings_thread.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2016 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/save_data.cpp b/save_data.cpp index 6fd541e..9a26acc 100644 --- a/save_data.cpp +++ b/save_data.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/save_data_thread.cpp b/save_data_thread.cpp index 3602cb8..d9b0686 100644 --- a/save_data_thread.cpp +++ b/save_data_thread.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/save_data_thread.h b/save_data_thread.h index 24614b4..f6ca2ee 100644 --- a/save_data_thread.h +++ b/save_data_thread.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2016 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/screen_thread.cpp b/screen_thread.cpp index 957c26b..65d69b4 100644 --- a/screen_thread.cpp +++ b/screen_thread.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/screen_thread.h b/screen_thread.h index 9062339..3341b5a 100644 --- a/screen_thread.h +++ b/screen_thread.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/serial_decoder.cpp b/serial_decoder.cpp index adab1d3..5f2ad84 100644 --- a/serial_decoder.cpp +++ b/serial_decoder.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2016 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/settings_dialog.cpp b/settings_dialog.cpp index 9de8ddd..3d45cac 100644 --- a/settings_dialog.cpp +++ b/settings_dialog.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/settings_dialog.h b/settings_dialog.h index 0271ae4..516dc19 100644 --- a/settings_dialog.h +++ b/settings_dialog.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/signalcurve.cpp b/signalcurve.cpp index 9e9c2a7..e31c3bd 100644 --- a/signalcurve.cpp +++ b/signalcurve.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2010 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/signalcurve.h b/signalcurve.h index 27b1e08..e2d4d21 100644 --- a/signalcurve.h +++ b/signalcurve.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/tdial.cpp b/tdial.cpp index b2a2869..5929dae 100644 --- a/tdial.cpp +++ b/tdial.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2016 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/tdial.h b/tdial.h index 5000016..0e11d4e 100644 --- a/tdial.h +++ b/tdial.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2016 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/timer_handlers.cpp b/timer_handlers.cpp index b70944c..2bb89c0 100644 --- a/timer_handlers.cpp +++ b/timer_handlers.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/tled.cpp b/tled.cpp index 35de113..ef753fc 100644 --- a/tled.cpp +++ b/tled.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2014, 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2014 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/tled.h b/tled.h index d7a013f..6faf270 100644 --- a/tled.h +++ b/tled.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2014, 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2014 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/tmc_dev.c b/tmc_dev.c index 448b49d..d0c2314 100644 --- a/tmc_dev.c +++ b/tmc_dev.c @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/tmc_dev.h b/tmc_dev.h index b15881d..fced0db 100644 --- a/tmc_dev.h +++ b/tmc_dev.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/tmc_lan.c b/tmc_lan.c index 544b667..373620c 100644 --- a/tmc_lan.c +++ b/tmc_lan.c @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/tmc_lan.h b/tmc_lan.h index bf8a954..73dec55 100644 --- a/tmc_lan.h +++ b/tmc_lan.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2015, 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2015 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/utils.c b/utils.c index e263d28..e7c834a 100644 --- a/utils.c +++ b/utils.c @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2009 - 2019 Teunis van Beelen +* Copyright (C) 2009 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/utils.h b/utils.h index 69534d3..409db29 100644 --- a/utils.h +++ b/utils.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2009 - 2019 Teunis van Beelen +* Copyright (C) 2009 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * @@ -27,10 +27,6 @@ - - - - #ifndef UTILS_INCLUDED #define UTILS_INCLUDED @@ -46,37 +42,6 @@ extern "C" { #include #include -/************************* BANNED ************************/ - -#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__FreeBSD__) -/* nothing */ -#else -#define BANNED(func) sorry_##func##_is_a_banned_function - -#undef strcpy -#define strcpy(x,y) BANNED(strcpy) -#undef strcat -#define strcat(x,y) BANNED(strcat) -/* -#undef strncpy -#define strncpy(x,y,n) BANNED(strncpy) -#undef strncat -#define strncat(x,y,n) BANNED(strncat) -*/ -#undef sprintf -#undef vsprintf -#ifdef HAVE_VARIADIC_MACROS -#define sprintf(...) BANNED(sprintf) -#define vsprintf(...) BANNED(vsprintf) -#else -#define sprintf(buf,fmt,arg) BANNED(sprintf) -#define vsprintf(buf,fmt,arg) BANNED(vsprintf) -#endif - -#endif - -/*********************************************************/ - void remove_trailing_spaces(char *); void remove_leading_spaces(char *); diff --git a/wave_dialog.cpp b/wave_dialog.cpp index e4b8b5c..6fb6c9f 100644 --- a/wave_dialog.cpp +++ b/wave_dialog.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2016 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/wave_dialog.h b/wave_dialog.h index 4d899a0..8cdf906 100644 --- a/wave_dialog.h +++ b/wave_dialog.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2016 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/wave_view.cpp b/wave_view.cpp index 9829cf2..944ffd6 100644 --- a/wave_view.cpp +++ b/wave_view.cpp @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2016 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com * diff --git a/wave_view.h b/wave_view.h index 87c16fa..fc9d624 100644 --- a/wave_view.h +++ b/wave_view.h @@ -3,7 +3,7 @@ * * Author: Teunis van Beelen * -* Copyright (C) 2016, 2017, 2018, 2019 Teunis van Beelen +* Copyright (C) 2016 - 2020 Teunis van Beelen * * Email: teuniz@protonmail.com *