From a6c8303839ac8d9621b761c1cef840cad85f3d50 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 11 Dec 2016 17:51:44 -0500 Subject: [PATCH] text: Eliminated module --- src/CMakeLists.txt | 1 - src/columns/ColStart.cpp | 1 - src/commands/CmdImport.cpp | 1 - src/commands/CmdProjects.cpp | 1 - src/commands/CmdStats.cpp | 1 - src/commands/CmdSummary.cpp | 1 - src/commands/CmdUDAs.cpp | 1 - src/rules.cpp | 1 - src/text.cpp | 46 ------------------------------------ src/text.h | 38 ----------------------------- src/util.cpp | 1 - 11 files changed, 93 deletions(-) delete mode 100644 src/text.cpp delete mode 100644 src/text.h diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3d4e5f9d3..564c68f73 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -32,7 +32,6 @@ add_library (task CLI2.cpp CLI2.h recur.cpp rules.cpp sort.cpp - text.cpp text.h util.cpp util.h) add_library (libshared libshared/src/Datetime.cpp libshared/src/Datetime.h diff --git a/src/columns/ColStart.cpp b/src/columns/ColStart.cpp index fdb3fd600..df807d045 100644 --- a/src/columns/ColStart.cpp +++ b/src/columns/ColStart.cpp @@ -27,7 +27,6 @@ #include #include #include -#include #include #include diff --git a/src/commands/CmdImport.cpp b/src/commands/CmdImport.cpp index 657a438ff..f5f1e98a5 100644 --- a/src/commands/CmdImport.cpp +++ b/src/commands/CmdImport.cpp @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include diff --git a/src/commands/CmdProjects.cpp b/src/commands/CmdProjects.cpp index 8d7defea4..7606472c4 100644 --- a/src/commands/CmdProjects.cpp +++ b/src/commands/CmdProjects.cpp @@ -32,7 +32,6 @@ #include #include #include -#include #include #include #include diff --git a/src/commands/CmdStats.cpp b/src/commands/CmdStats.cpp index 0ef70197c..5d2df249a 100644 --- a/src/commands/CmdStats.cpp +++ b/src/commands/CmdStats.cpp @@ -35,7 +35,6 @@ #include #include #include -#include #include #include diff --git a/src/commands/CmdSummary.cpp b/src/commands/CmdSummary.cpp index 1e45e6189..85272c11a 100644 --- a/src/commands/CmdSummary.cpp +++ b/src/commands/CmdSummary.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include diff --git a/src/commands/CmdUDAs.cpp b/src/commands/CmdUDAs.cpp index 685adeefd..f1ca5023c 100644 --- a/src/commands/CmdUDAs.cpp +++ b/src/commands/CmdUDAs.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include #include diff --git a/src/rules.cpp b/src/rules.cpp index c9715030e..0ebd1f10d 100644 --- a/src/rules.cpp +++ b/src/rules.cpp @@ -28,7 +28,6 @@ #include #include #include -#include #include #include diff --git a/src/text.cpp b/src/text.cpp deleted file mode 100644 index 85290a073..000000000 --- a/src/text.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//////////////////////////////////////////////////////////////////////////////// -// -// Copyright 2006 - 2016, Paul Beckingham, Federico Hernandez. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included -// in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -// -// http://www.opensource.org/licenses/mit-license.php -// -//////////////////////////////////////////////////////////////////////////////// - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -extern Context context; - -//////////////////////////////////////////////////////////////////////////////// diff --git a/src/text.h b/src/text.h deleted file mode 100644 index 16b91c3c1..000000000 --- a/src/text.h +++ /dev/null @@ -1,38 +0,0 @@ -//////////////////////////////////////////////////////////////////////////////// -// -// Copyright 2006 - 2016, Paul Beckingham, Federico Hernandez. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included -// in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -// -// http://www.opensource.org/licenses/mit-license.php -// -//////////////////////////////////////////////////////////////////////////////// - -#ifndef INCLUDED_TEXT -#define INCLUDED_TEXT - -#include -#include -#include -#include - -// text.cpp, Non-UTF-8 aware. - -#endif -//////////////////////////////////////////////////////////////////////////////// diff --git a/src/util.cpp b/src/util.cpp index e001c2e4c..bd330eceb 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -53,7 +53,6 @@ #include #include -#include #include #include #include