From c2e51f6b6b85a602275dd59bfaaa0fa0403e0978 Mon Sep 17 00:00:00 2001 From: Vince Lehman Date: Tue, 20 Jan 2015 15:03:11 -0600 Subject: [PATCH] src: Update copyright notices for files modified in 2015 refs: #2398 Change-Id: I83b7ad4da70cf784aa478295a873bf6411428acb --- README-dev.md | 20 +++++++++++--------- src/communication/sync-logic-handler.cpp | 9 ++++----- src/communication/sync-logic-handler.hpp | 9 +++++---- src/conf-file-processor.cpp | 10 ++++------ src/conf-parameter.hpp | 9 ++++----- src/lsa.cpp | 9 ++++----- src/lsa.hpp | 9 ++++----- src/lsdb.cpp | 9 ++++----- src/lsdb.hpp | 8 +++----- src/nlsr.cpp | 8 +++----- src/nlsr.hpp | 9 ++++----- src/route/name-prefix-table.cpp | 9 ++++----- src/sequencing-manager.cpp | 9 ++++----- src/sequencing-manager.hpp | 9 ++++----- tests/test-conf-file-processor.cpp | 8 +++----- tests/test-hyperbolic-calculator.cpp | 7 +++---- tests/test-lsa.cpp | 9 ++++----- tests/test-lsdb.cpp | 8 +++----- tests/test-sync-logic-handler.cpp | 6 +++--- wscript | 5 +++-- 20 files changed, 81 insertions(+), 98 deletions(-) diff --git a/README-dev.md b/README-dev.md index e2bbf3a..a8c564a 100644 --- a/README-dev.md +++ b/README-dev.md @@ -1,12 +1,15 @@ Requirements ---------------------- +------------ -Include the following header into all `.hpp` and `.cpp` files: +Contributions to NLSR must be licensed under GPL 3.0 or compatible license. If you are +choosing GPL 3.0, please use the following license boilerplate in all `.hpp` and `.cpp` +files: + +Include the following header in all `.hpp` and `.cpp` files: /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 The University of Memphis, - * Regents of the University of California + * Copyright (c) [Year(s)], [Copyright Holder(s)]. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -21,13 +24,12 @@ Include the following header into all `.hpp` and `.cpp` files: * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - ////// [optional part] ////// - * - * \author Author's Name - * \author Other Author's Name - ////// [end of optional part] ////// **/ +If you are affiliated with an NSF-supported NDN project institution, +please use the [NDN Team License Boilerplate] +(http://redmine.named-data.net/projects/nlsr/wiki/NDN_Team_License_Boilerplate_(NLSR)). + Recommendations --------------- diff --git a/src/communication/sync-logic-handler.cpp b/src/communication/sync-logic-handler.cpp index 4725c9b..705a721 100644 --- a/src/communication/sync-logic-handler.cpp +++ b/src/communication/sync-logic-handler.cpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,10 +17,8 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * \author A K M Mahmudul Hoque - * **/ + #include "sync-logic-handler.hpp" #include "common.hpp" diff --git a/src/communication/sync-logic-handler.hpp b/src/communication/sync-logic-handler.hpp index 6f0726c..faa8e54 100644 --- a/src/communication/sync-logic-handler.hpp +++ b/src/communication/sync-logic-handler.hpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -15,9 +16,9 @@ * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with - * NLSR, e.g., in COPYING.md file. If not, see - * + * NLSR, e.g., in COPYING.md file. If not, see . **/ + #ifndef NLSR_SYNC_LOGIC_HANDLER_HPP #define NLSR_SYNC_LOGIC_HANDLER_HPP diff --git a/src/conf-file-processor.cpp b/src/conf-file-processor.cpp index 37cb2b4..10667f1 100644 --- a/src/conf-file-processor.cpp +++ b/src/conf-file-processor.cpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,11 +17,8 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * \author A K M Mahmudul Hoque - * \author Minsheng Zhang - * **/ + #include #include diff --git a/src/conf-parameter.hpp b/src/conf-parameter.hpp index 9c227de..72949c7 100644 --- a/src/conf-parameter.hpp +++ b/src/conf-parameter.hpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,10 +17,8 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * \author A K M Mahmudul Hoque - * **/ + #ifndef CONF_PARAMETER_HPP #define CONF_PARAMETER_HPP diff --git a/src/lsa.cpp b/src/lsa.cpp index 8b15741..7b96db2 100644 --- a/src/lsa.cpp +++ b/src/lsa.cpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,10 +17,8 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * \author A K M Mahmudul Hoque - * **/ + #include #include #include diff --git a/src/lsa.hpp b/src/lsa.hpp index 6ba85c9..dcf5f01 100644 --- a/src/lsa.hpp +++ b/src/lsa.hpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,10 +17,8 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * \author A K M Mahmudul Hoque - * **/ + #ifndef NLSR_LSA_HPP #define NLSR_LSA_HPP diff --git a/src/lsdb.cpp b/src/lsdb.cpp index 42f0f16..79fbd82 100644 --- a/src/lsdb.cpp +++ b/src/lsdb.cpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,10 +17,8 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * \author A K M Mahmudul Hoque - * **/ + #include #include diff --git a/src/lsdb.hpp b/src/lsdb.hpp index efef94c..da41a9d 100644 --- a/src/lsdb.hpp +++ b/src/lsdb.hpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,9 +17,6 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * \author A K M Mahmudul Hoque - * **/ #ifndef NLSR_LSDB_HPP diff --git a/src/nlsr.cpp b/src/nlsr.cpp index cf26a7b..07eb43e 100644 --- a/src/nlsr.cpp +++ b/src/nlsr.cpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,9 +17,6 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * \author A K M Mahmudul Hoque - * **/ #include diff --git a/src/nlsr.hpp b/src/nlsr.hpp index e332808..ee6f032 100644 --- a/src/nlsr.hpp +++ b/src/nlsr.hpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,10 +17,8 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * \author A K M Mahmudul Hoque - * **/ + #ifndef NLSR_HPP #define NLSR_HPP diff --git a/src/route/name-prefix-table.cpp b/src/route/name-prefix-table.cpp index 1d8a90c..5db64d3 100644 --- a/src/route/name-prefix-table.cpp +++ b/src/route/name-prefix-table.cpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,10 +17,8 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * \author A K M Mahmudul Hoque - * **/ + #include #include #include diff --git a/src/sequencing-manager.cpp b/src/sequencing-manager.cpp index b988d9c..d0f4d04 100644 --- a/src/sequencing-manager.cpp +++ b/src/sequencing-manager.cpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,10 +17,8 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * \author A K M Mahmudul Hoque - * **/ + #include #include #include diff --git a/src/sequencing-manager.hpp b/src/sequencing-manager.hpp index 209f0e5..d6dba91 100644 --- a/src/sequencing-manager.hpp +++ b/src/sequencing-manager.hpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,10 +17,8 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * \author A K M Mahmudul Hoque - * **/ + #ifndef NLSR_SEQUENCING_MANAGER_HPP #define NLSR_SEQUENCING_MANAGER_HPP diff --git a/tests/test-conf-file-processor.cpp b/tests/test-conf-file-processor.cpp index 653faa3..e5f709d 100644 --- a/tests/test-conf-file-processor.cpp +++ b/tests/test-conf-file-processor.cpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,9 +17,6 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * \author Ashlesh Gawande - * **/ #include "test-common.hpp" diff --git a/tests/test-hyperbolic-calculator.cpp b/tests/test-hyperbolic-calculator.cpp index 5387ffd..f16fe36 100644 --- a/tests/test-hyperbolic-calculator.cpp +++ b/tests/test-hyperbolic-calculator.cpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,8 +17,6 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * **/ #include "test-common.hpp" diff --git a/tests/test-lsa.cpp b/tests/test-lsa.cpp index 17abd2b..ca6d05b 100644 --- a/tests/test-lsa.cpp +++ b/tests/test-lsa.cpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,10 +17,8 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * \author Ashlesh Gawande - * **/ + #include "lsa.hpp" #include "name-prefix-list.hpp" #include "adjacent.hpp" diff --git a/tests/test-lsdb.cpp b/tests/test-lsdb.cpp index b36d0c6..1585a4d 100644 --- a/tests/test-lsdb.cpp +++ b/tests/test-lsdb.cpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,9 +17,6 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * - * \author Ashlesh Gawande - * **/ #include "test-common.hpp" diff --git a/tests/test-sync-logic-handler.cpp b/tests/test-sync-logic-handler.cpp index e4b6bd0..2057ed3 100644 --- a/tests/test-sync-logic-handler.cpp +++ b/tests/test-sync-logic-handler.cpp @@ -1,7 +1,8 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** - * Copyright (c) 2014 University of Memphis, - * Regents of the University of California + * Copyright (c) 2014-2015, The University of Memphis, + * Regents of the University of California, + * Arizona Board of Regents. * * This file is part of NLSR (Named-data Link State Routing). * See AUTHORS.md for complete list of NLSR authors and contributors. @@ -16,7 +17,6 @@ * * You should have received a copy of the GNU General Public License along with * NLSR, e.g., in COPYING.md file. If not, see . - * **/ #include "test-common.hpp" diff --git a/wscript b/wscript index 7364b07..271b076 100644 --- a/wscript +++ b/wscript @@ -1,8 +1,9 @@ # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- """ -Copyright (c) 2014 University of Memphis, - Regents of the University of California +Copyright (c) 2014-2015, The University of Memphis, + Regents of the University of California, + Arizona Board of Regents. This file is part of NLSR (Named-data Link State Routing). See AUTHORS.md for complete list of NLSR authors and contributors.