From 02fbe37ae6147b64e21c153b45a9a09313668438 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 6 Mar 2010 11:47:21 +0000 Subject: [PATCH] Add new GPL license headers to source files added in this branch git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-cherylfoil@11911 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/DoxygenTranslator/src/DoxygenEntity.cpp | 12 ++++++++---- Source/DoxygenTranslator/src/DoxygenEntity.h | 10 +++++++--- Source/DoxygenTranslator/src/DoxygenParser.cpp | 11 +++++++++++ Source/DoxygenTranslator/src/DoxygenParser.h | 11 +++++++++++ .../DoxygenTranslator/src/DoxygenTranslator.cpp | 10 +++++++--- Source/DoxygenTranslator/src/DoxygenTranslator.h | 8 ++++++-- .../src/Examples/DoxygenTransWTokenizer.cpp | 16 +++++++++++++--- .../src/Examples/DoxygenTransWTokenizer.h | 11 +++++++++++ .../DoxygenTranslator/src/Examples/translator.h | 11 +++++++++++ .../DoxygenTranslator/src/JavaDocConverter.cpp | 11 +++++++++++ Source/DoxygenTranslator/src/JavaDocConverter.h | 8 ++++++-- Source/DoxygenTranslator/src/PyDocConverter.cpp | 10 +++++++--- Source/DoxygenTranslator/src/PyDocConverter.h | 8 ++++++-- Source/DoxygenTranslator/src/Token.cpp | 11 +++++++++++ Source/DoxygenTranslator/src/Token.h | 11 +++++++++++ Source/DoxygenTranslator/src/TokenList.cpp | 11 +++++++++++ Source/DoxygenTranslator/src/TokenList.h | 11 +++++++++++ Source/Swig/warn.c | 8 ++++++-- 18 files changed, 165 insertions(+), 24 deletions(-) diff --git a/Source/DoxygenTranslator/src/DoxygenEntity.cpp b/Source/DoxygenTranslator/src/DoxygenEntity.cpp index f770dc514..dc49c803e 100644 --- a/Source/DoxygenTranslator/src/DoxygenEntity.cpp +++ b/Source/DoxygenTranslator/src/DoxygenEntity.cpp @@ -1,8 +1,12 @@ -/* ----------------------------------------------------------------------------- - * See the LICENSE file for information on copyright, usage and redistribution - * of SWIG, and the README file for authors - http://www.swig.org/release.html. +/* ----------------------------------------------------------------------------- + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. * - * python.cxx + * DoxygenEntity.cpp * * Part of the Doxygen comment translation module of SWIG. * ----------------------------------------------------------------------------- */ diff --git a/Source/DoxygenTranslator/src/DoxygenEntity.h b/Source/DoxygenTranslator/src/DoxygenEntity.h index ca42393db..dcdba7644 100644 --- a/Source/DoxygenTranslator/src/DoxygenEntity.h +++ b/Source/DoxygenTranslator/src/DoxygenEntity.h @@ -1,8 +1,12 @@ /* ----------------------------------------------------------------------------- - * See the LICENSE file for information on copyright, usage and redistribution - * of SWIG, and the README file for authors - http://www.swig.org/release.html. + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. * - * python.cxx + * DoxygenEntity.h * * Part of the Doxygen comment translation module of SWIG. * ----------------------------------------------------------------------------- */ diff --git a/Source/DoxygenTranslator/src/DoxygenParser.cpp b/Source/DoxygenTranslator/src/DoxygenParser.cpp index f4bce5445..030d8bee9 100644 --- a/Source/DoxygenTranslator/src/DoxygenParser.cpp +++ b/Source/DoxygenTranslator/src/DoxygenParser.cpp @@ -1,3 +1,14 @@ +/* ----------------------------------------------------------------------------- + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. + * + * DoxygenParser.cpp + * ----------------------------------------------------------------------------- */ + #include "DoxygenParser.h" #include "TokenList.h" diff --git a/Source/DoxygenTranslator/src/DoxygenParser.h b/Source/DoxygenTranslator/src/DoxygenParser.h index c298a92f3..0c1f2d1cb 100644 --- a/Source/DoxygenTranslator/src/DoxygenParser.h +++ b/Source/DoxygenTranslator/src/DoxygenParser.h @@ -1,3 +1,14 @@ +/* ----------------------------------------------------------------------------- + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. + * + * DoxygenParser.h + * ----------------------------------------------------------------------------- */ + #ifndef DOXYGENPARSER_H_ #define DOXYGENPARSER_H_ #include diff --git a/Source/DoxygenTranslator/src/DoxygenTranslator.cpp b/Source/DoxygenTranslator/src/DoxygenTranslator.cpp index 6fe97d298..36ca95579 100644 --- a/Source/DoxygenTranslator/src/DoxygenTranslator.cpp +++ b/Source/DoxygenTranslator/src/DoxygenTranslator.cpp @@ -1,6 +1,10 @@ -/* ----------------------------------------------------------------------------- - * See the LICENSE file for information on copyright, usage and redistribution - * of SWIG, and the README file for authors - http://www.swig.org/release.html. +/* ----------------------------------------------------------------------------- + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. * * DoxygenTranslator.cpp * diff --git a/Source/DoxygenTranslator/src/DoxygenTranslator.h b/Source/DoxygenTranslator/src/DoxygenTranslator.h index 566b1551d..1a14a4db2 100644 --- a/Source/DoxygenTranslator/src/DoxygenTranslator.h +++ b/Source/DoxygenTranslator/src/DoxygenTranslator.h @@ -1,6 +1,10 @@ /* ----------------------------------------------------------------------------- - * See the LICENSE file for information on copyright, usage and redistribution - * of SWIG, and the README file for authors - http://www.swig.org/release.html. + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. * * DoxygenTranslator.h * diff --git a/Source/DoxygenTranslator/src/Examples/DoxygenTransWTokenizer.cpp b/Source/DoxygenTranslator/src/Examples/DoxygenTransWTokenizer.cpp index 930141c97..dd803b75f 100644 --- a/Source/DoxygenTranslator/src/Examples/DoxygenTransWTokenizer.cpp +++ b/Source/DoxygenTranslator/src/Examples/DoxygenTransWTokenizer.cpp @@ -1,6 +1,16 @@ -/* The main class for translating blobs of Doxygen for SWIG - * by Cheryl Foil, mentor Olly Betts, for Google's Summer of Code Program - */ +/* ----------------------------------------------------------------------------- + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. + * + * DoxygenTransWTokenizer.cpp + * + * The main class for translating blobs of Doxygen for SWIG + * ----------------------------------------------------------------------------- */ + //TODO DOH instead of STL? //TODO Most commands are not fully implemented diff --git a/Source/DoxygenTranslator/src/Examples/DoxygenTransWTokenizer.h b/Source/DoxygenTranslator/src/Examples/DoxygenTransWTokenizer.h index fb3181d25..8a51b4d02 100644 --- a/Source/DoxygenTranslator/src/Examples/DoxygenTransWTokenizer.h +++ b/Source/DoxygenTranslator/src/Examples/DoxygenTransWTokenizer.h @@ -1,3 +1,14 @@ +/* ----------------------------------------------------------------------------- + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. + * + * DoxygenTransWTokenizer.h + * ----------------------------------------------------------------------------- */ + #ifndef DOXYGENTRANSWTOKENIZER_H_ #define DOXYGENTRANSWTOKENIZER_H_ diff --git a/Source/DoxygenTranslator/src/Examples/translator.h b/Source/DoxygenTranslator/src/Examples/translator.h index 0ae58f714..f9da98180 100644 --- a/Source/DoxygenTranslator/src/Examples/translator.h +++ b/Source/DoxygenTranslator/src/Examples/translator.h @@ -1,3 +1,14 @@ +/* ----------------------------------------------------------------------------- + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. + * + * translator.h + * ----------------------------------------------------------------------------- */ + #ifndef TRANSLATOR_H_ #define TRANSLATOR_H_ diff --git a/Source/DoxygenTranslator/src/JavaDocConverter.cpp b/Source/DoxygenTranslator/src/JavaDocConverter.cpp index 9de2f99f3..8cca8b3a5 100644 --- a/Source/DoxygenTranslator/src/JavaDocConverter.cpp +++ b/Source/DoxygenTranslator/src/JavaDocConverter.cpp @@ -1,3 +1,14 @@ +/* ----------------------------------------------------------------------------- + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. + * + * JavaDocConverter.cpp + * ----------------------------------------------------------------------------- */ + #include "JavaDocConverter.h" #include "DoxygenParser.h" #include diff --git a/Source/DoxygenTranslator/src/JavaDocConverter.h b/Source/DoxygenTranslator/src/JavaDocConverter.h index d898265ba..69fc8d75d 100644 --- a/Source/DoxygenTranslator/src/JavaDocConverter.h +++ b/Source/DoxygenTranslator/src/JavaDocConverter.h @@ -1,6 +1,10 @@ /* ----------------------------------------------------------------------------- - * See the LICENSE file for information on copyright, usage and redistribution - * of SWIG, and the README file for authors - http://www.swig.org/release.html. + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. * * JavaDocConverter.h * diff --git a/Source/DoxygenTranslator/src/PyDocConverter.cpp b/Source/DoxygenTranslator/src/PyDocConverter.cpp index cbe81571b..3b305b9fd 100644 --- a/Source/DoxygenTranslator/src/PyDocConverter.cpp +++ b/Source/DoxygenTranslator/src/PyDocConverter.cpp @@ -1,6 +1,10 @@ -/* ----------------------------------------------------------------------------- - * See the LICENSE file for information on copyright, usage and redistribution - * of SWIG, and the README file for authors - http://www.swig.org/release.html. +/* ----------------------------------------------------------------------------- + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. * * PyDocConverter.cpp * diff --git a/Source/DoxygenTranslator/src/PyDocConverter.h b/Source/DoxygenTranslator/src/PyDocConverter.h index 5680480fc..ecd033af5 100644 --- a/Source/DoxygenTranslator/src/PyDocConverter.h +++ b/Source/DoxygenTranslator/src/PyDocConverter.h @@ -1,6 +1,10 @@ /* ----------------------------------------------------------------------------- - * See the LICENSE file for information on copyright, usage and redistribution - * of SWIG, and the README file for authors - http://www.swig.org/release.html. + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. * * PyDocConverter.h * diff --git a/Source/DoxygenTranslator/src/Token.cpp b/Source/DoxygenTranslator/src/Token.cpp index f7c02b021..6ade97163 100644 --- a/Source/DoxygenTranslator/src/Token.cpp +++ b/Source/DoxygenTranslator/src/Token.cpp @@ -1,3 +1,14 @@ +/* ----------------------------------------------------------------------------- + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. + * + * Token.cpp + * ----------------------------------------------------------------------------- */ + #include "Token.h" #include "DoxygenEntity.h" using namespace std; diff --git a/Source/DoxygenTranslator/src/Token.h b/Source/DoxygenTranslator/src/Token.h index 4ae44b65f..6e10fd338 100644 --- a/Source/DoxygenTranslator/src/Token.h +++ b/Source/DoxygenTranslator/src/Token.h @@ -1,3 +1,14 @@ +/* ----------------------------------------------------------------------------- + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. + * + * Token.h + * ----------------------------------------------------------------------------- */ + #ifndef TOKEN_H_ #define TOKEN_H_ #include diff --git a/Source/DoxygenTranslator/src/TokenList.cpp b/Source/DoxygenTranslator/src/TokenList.cpp index 8eeef97b2..5e13fe164 100644 --- a/Source/DoxygenTranslator/src/TokenList.cpp +++ b/Source/DoxygenTranslator/src/TokenList.cpp @@ -1,3 +1,14 @@ +/* ----------------------------------------------------------------------------- + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. + * + * TokenList.cpp + * ----------------------------------------------------------------------------- */ + #include "TokenList.h" #include #include diff --git a/Source/DoxygenTranslator/src/TokenList.h b/Source/DoxygenTranslator/src/TokenList.h index 841d66e1a..057f67ed4 100644 --- a/Source/DoxygenTranslator/src/TokenList.h +++ b/Source/DoxygenTranslator/src/TokenList.h @@ -1,3 +1,14 @@ +/* ----------------------------------------------------------------------------- + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. + * + * TokenList.h + * ----------------------------------------------------------------------------- */ + #ifndef TOKENLIST_H_ #define TOKENLIST_H_ #include diff --git a/Source/Swig/warn.c b/Source/Swig/warn.c index a8dadc70b..b01815354 100644 --- a/Source/Swig/warn.c +++ b/Source/Swig/warn.c @@ -1,6 +1,10 @@ /* ----------------------------------------------------------------------------- - * See the LICENSE file for information on copyright, usage and redistribution - * of SWIG, and the README file for authors - http://www.swig.org/release.html. + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * terms also apply to certain portions of SWIG. The full details of the SWIG + * license and copyrights can be found in the LICENSE and COPYRIGHT files + * included with the SWIG source code as distributed by the SWIG developers + * and at http://www.swig.org/legal.html. * * warn.c *