summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-02 21:40:08 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-02 21:40:08 +0300
commit2d2bbb2fe5a0dc55cbf5b9616a78500704b6ea65 (patch)
tree4c71f2363cf553cbc634e8e786fcac7c8e5f6014
parentadcfcee89317a5c2742f2825bce4e9fb34739581 (diff)
downloadplus-2d2bbb2fe5a0dc55cbf5b9616a78500704b6ea65.tar.gz
plus-2d2bbb2fe5a0dc55cbf5b9616a78500704b6ea65.tar.bz2
plus-2d2bbb2fe5a0dc55cbf5b9616a78500704b6ea65.tar.xz
plus-2d2bbb2fe5a0dc55cbf5b9616a78500704b6ea65.zip
Update copyright year in .cc files.
-rw-r--r--src/enums/enums_unittest.cc2
-rw-r--r--src/gui/fonts/textchunklist_unittest.cc2
-rw-r--r--src/gui/widgets/browserbox_unittest.cc2
-rw-r--r--src/gui/windowmanager_unittest.cc2
-rw-r--r--src/resources/dye/dye_unittest.cc2
-rw-r--r--src/resources/mstack_unittest.cc2
-rw-r--r--src/resources/sprite/animatedsprite_unittest.cc2
-rw-r--r--src/utils/files_unittest.cc2
-rw-r--r--src/utils/mathutils_unittest.cc2
-rw-r--r--src/utils/stringutils_unittest.cc2
-rw-r--r--src/utils/translation/poparser_unittest.cc2
-rw-r--r--src/utils/xmlutils_unittest.cc2
-rwxr-xr-xtools/update-copyright.sh2
13 files changed, 13 insertions, 13 deletions
diff --git a/src/enums/enums_unittest.cc b/src/enums/enums_unittest.cc
index 5d8146af0..5c416a495 100644
--- a/src/enums/enums_unittest.cc
+++ b/src/enums/enums_unittest.cc
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2015 The ManaPlus Developers
+ * Copyright (C) 2015-2016 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/gui/fonts/textchunklist_unittest.cc b/src/gui/fonts/textchunklist_unittest.cc
index e5994b5b6..72d51b593 100644
--- a/src/gui/fonts/textchunklist_unittest.cc
+++ b/src/gui/fonts/textchunklist_unittest.cc
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2016 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/gui/widgets/browserbox_unittest.cc b/src/gui/widgets/browserbox_unittest.cc
index 13ecd9ce4..f73bb9ccb 100644
--- a/src/gui/widgets/browserbox_unittest.cc
+++ b/src/gui/widgets/browserbox_unittest.cc
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2012-2013 The ManaPlus Developers
+ * Copyright (C) 2012-2016 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc
index 9f0c30d34..9f8e51ffe 100644
--- a/src/gui/windowmanager_unittest.cc
+++ b/src/gui/windowmanager_unittest.cc
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2016 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/resources/dye/dye_unittest.cc b/src/resources/dye/dye_unittest.cc
index 1ee109ffa..4786141a6 100644
--- a/src/resources/dye/dye_unittest.cc
+++ b/src/resources/dye/dye_unittest.cc
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2016 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/resources/mstack_unittest.cc b/src/resources/mstack_unittest.cc
index e4e9adaf0..584120027 100644
--- a/src/resources/mstack_unittest.cc
+++ b/src/resources/mstack_unittest.cc
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2015 The ManaPlus Developers
+ * Copyright (C) 2015-2016 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/resources/sprite/animatedsprite_unittest.cc b/src/resources/sprite/animatedsprite_unittest.cc
index d33e21a5d..c1735d803 100644
--- a/src/resources/sprite/animatedsprite_unittest.cc
+++ b/src/resources/sprite/animatedsprite_unittest.cc
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2016 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/files_unittest.cc b/src/utils/files_unittest.cc
index 3d880f511..79de6259d 100644
--- a/src/utils/files_unittest.cc
+++ b/src/utils/files_unittest.cc
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2016 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/mathutils_unittest.cc b/src/utils/mathutils_unittest.cc
index ac3b239f2..0b5ece474 100644
--- a/src/utils/mathutils_unittest.cc
+++ b/src/utils/mathutils_unittest.cc
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2016 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/stringutils_unittest.cc b/src/utils/stringutils_unittest.cc
index 348eceb2d..74427f163 100644
--- a/src/utils/stringutils_unittest.cc
+++ b/src/utils/stringutils_unittest.cc
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2012-2013 The ManaPlus Developers
+ * Copyright (C) 2012-2016 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/translation/poparser_unittest.cc b/src/utils/translation/poparser_unittest.cc
index 11ad6d575..5766f0789 100644
--- a/src/utils/translation/poparser_unittest.cc
+++ b/src/utils/translation/poparser_unittest.cc
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2016 The ManaPlus Developers
+ * Copyright (C) 2016-2016 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/xmlutils_unittest.cc b/src/utils/xmlutils_unittest.cc
index de65f60fa..0143c16f3 100644
--- a/src/utils/xmlutils_unittest.cc
+++ b/src/utils/xmlutils_unittest.cc
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2014 The ManaPlus Developers
+ * Copyright (C) 2014-2016 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/tools/update-copyright.sh b/tools/update-copyright.sh
index 4ae1ebcbb..1a0af938b 100755
--- a/tools/update-copyright.sh
+++ b/tools/update-copyright.sh
@@ -12,7 +12,7 @@ tmp_file="w$RANDOM$RANDOM$RANDOM$RANDOM"
[[ -e $tmp_file ]] && tmp_file="w$RANDOM$RANDOM$RANDOM$RANDOM"
# update the dates, creating the interval if it doesn't exist yet
-find -iname "*.cpp" -or -iname "*.h" -or -iname "*.hpp" -or -iname "*.inc" |
+find -iname "*.cpp" -or -iname "*.h" -or -iname "*.hpp" -or -iname "*.inc" -or -iname "*.cc" |
xargs sed -i "/Copyright.*The ManaPlus Developers/ s,\(20[0-9]*\) \|\(20[0-9]*\)-20[0-9]* ,\1\2-$new_year ,"
# do a semi-automated commit check