From 03668e7eb83c708bb1566708fa1106c3fe45411d Mon Sep 17 00:00:00 2001 From: Ken Phillis Jr Date: Wed, 31 Aug 2016 01:39:16 -0500 Subject: [PATCH 1/2] add license information ( COPYING ) This is the license information discussed in issue #9 on github[1] [1] https://github.com/etoile/SourceCodeKit/issues/9 --- COPYING | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 COPYING diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..5a63775 --- /dev/null +++ b/COPYING @@ -0,0 +1,24 @@ +Copyright (c) 2010-2013 David Chisnall +Copyright (c) 2011 Niels Grewe +Copyright (c) 2012 Nicolas Roard +Copyright (c) 2012-2014 Quentin Mathe +Copyright (c) 2014 Alessandro Sangiuliano +Copyright (c) 2014 Eric Wasylishen + +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. \ No newline at end of file From 3da3371bcca2e1212ccdfb3bbd910f00811259ff Mon Sep 17 00:00:00 2001 From: Ken Phillis Jr Date: Wed, 31 Aug 2016 01:40:56 -0500 Subject: [PATCH 2/2] add license header to source files. This is the license header discussed in Issue #9 on github[1] [1] https://github.com/etoile/SourceCodeKit/issues/9 --- SCKClangSourceFile.h | 8 ++++++++ SCKClangSourceFile.m | 11 +++++++++++ SCKCodeCompletionResult.h | 6 ++++++ SCKCodeCompletionResult.m | 6 ++++++ SCKIntrospection.h | 8 ++++++++ SCKIntrospection.m | 8 ++++++++ SCKProject.h | 6 ++++++ SCKProject.m | 7 +++++++ SCKSourceCollection.h | 8 ++++++++ SCKTextTypes.h | 6 ++++++ SCKTextTypes.m | 6 ++++++ SourceCodeKit.h | 7 +++++++ Tests/ParsingTestFiles/AB.h | 6 ++++++ Tests/ParsingTestFiles/AB.m | 6 ++++++ Tests/TestClangParsing.m | 6 ++++++ Tests/TestCommon.h | 6 ++++++ Tests/TestCommon.m | 6 ++++++ Tests/TestRuntimeParsing.m | 6 ++++++ 18 files changed, 123 insertions(+) diff --git a/SCKClangSourceFile.h b/SCKClangSourceFile.h index 3c06b71..1e7667d 100644 --- a/SCKClangSourceFile.h +++ b/SCKClangSourceFile.h @@ -1,3 +1,11 @@ +/** + Copyright (c) 2010-2012 David Chisnall + Copyright (c) 2012-2013 Quentin Mathe + Copyright (c) 2012 Nicolas Roard + + License: MIT (see COPYING) + */ + #include #include "SCKSourceFile.h" #include diff --git a/SCKClangSourceFile.m b/SCKClangSourceFile.m index 06e453a..abdfef3 100644 --- a/SCKClangSourceFile.m +++ b/SCKClangSourceFile.m @@ -1,3 +1,14 @@ +/** + Copyright (c) 2010-2013 David Chisnall + Copyright (c) 2011 Niels Grewe + Copyright (c) 2011 Nicolas Roard + Copyright (c) 2012-2014 Quentin Mathe + Copyright (c) 2014 Alessandro Sangiuliano + + License: MIT (see COPYING) + + */ + #import "SCKClangSourceFile.h" #import "SourceCodeKit.h" #import diff --git a/SCKCodeCompletionResult.h b/SCKCodeCompletionResult.h index 60b9ec7..1f2a534 100644 --- a/SCKCodeCompletionResult.h +++ b/SCKCodeCompletionResult.h @@ -1,3 +1,9 @@ +/** + Copyright (c) 2011 David Chisnall + + License: MIT (see COPYING) + */ + #import @interface SCKCodeCompletionResult : NSObject diff --git a/SCKCodeCompletionResult.m b/SCKCodeCompletionResult.m index ec7c51f..487f066 100644 --- a/SCKCodeCompletionResult.m +++ b/SCKCodeCompletionResult.m @@ -1,3 +1,9 @@ +/** + Copyright (c) 2011 David Chisnall + + License: MIT (see COPYING) + */ + #import "SCKCodeCompletionResult.h" @implementation SCKCodeCompletionResult diff --git a/SCKIntrospection.h b/SCKIntrospection.h index 6cabb0e..a5d45eb 100644 --- a/SCKIntrospection.h +++ b/SCKIntrospection.h @@ -1,3 +1,11 @@ +/** + Copyright (c) 2010-2012 David Chisnall + Copyright (c) 2012 Nicolas Roard + Copyright (c) 2013-2014 Quentin Mathe + + License: MIT (see COPYING) + */ + #import @class NSString; diff --git a/SCKIntrospection.m b/SCKIntrospection.m index 9246834..c07364c 100644 --- a/SCKIntrospection.m +++ b/SCKIntrospection.m @@ -1,3 +1,11 @@ +/** + Copyright (c) 2010-2012 David Chisnall + Copyright (c) 2012 Nicolas Roard + Copyright (c) 2013-2014 Quentin Mathe + + License: MIT (see COPYING) + */ + #import "SCKIntrospection.h" #import "SCKClangSourceFile.h" #import diff --git a/SCKProject.h b/SCKProject.h index 2cb60ec..770d41c 100644 --- a/SCKProject.h +++ b/SCKProject.h @@ -1,3 +1,9 @@ +/** + Copyright (c) 2012-2013 Quentin Mathe + + License: MIT (see COPYING) + */ + #import #import diff --git a/SCKProject.m b/SCKProject.m index d8f61ac..1fbe0d3 100644 --- a/SCKProject.m +++ b/SCKProject.m @@ -1,3 +1,10 @@ +/** + Copyright (c) 2012-2013 Quentin Mathe + Copyright (c) 2012 David Chisnall + + License: MIT (see COPYING) + */ + #import "SCKProject.h" #import "SCKSourceFile.h" #import "SCKSourceCollection.h" diff --git a/SCKSourceCollection.h b/SCKSourceCollection.h index f48302b..c72a1f4 100644 --- a/SCKSourceCollection.h +++ b/SCKSourceCollection.h @@ -1,3 +1,11 @@ +/** + Copyright (c) 2010-2012 David Chisnall + Copyright (c) 2012 Nicolas Roard + Copyright (c) 2012-2014 Quentin Mathe + + License: MIT (see COPYING) + */ + #import @class NSCache, NSDictionary, NSMutableDictionary, NSArray; diff --git a/SCKTextTypes.h b/SCKTextTypes.h index 6b0e7d4..e83b324 100644 --- a/SCKTextTypes.h +++ b/SCKTextTypes.h @@ -1,3 +1,9 @@ +/** + Copyright (c) 2010 David Chisnall + + License: MIT (see COPYING) + */ + #import @class NSString; diff --git a/SCKTextTypes.m b/SCKTextTypes.m index e836cfb..9e6deb8 100644 --- a/SCKTextTypes.m +++ b/SCKTextTypes.m @@ -1,2 +1,8 @@ +/** + Copyright (c) 2010 David Chisnall + + License: MIT (see COPYING) + */ + #define DEFINE_STRINGS #include "SCKTextTypes.h" diff --git a/SourceCodeKit.h b/SourceCodeKit.h index 139ac4f..0ecdc76 100644 --- a/SourceCodeKit.h +++ b/SourceCodeKit.h @@ -1,3 +1,10 @@ +/** + Copyright (c) 2010-2011 David Chisnall + Copyright (c) 2013 Quentin Mathe + + License: MIT (see COPYING) + */ + #import "SCKSourceCollection.h" #import "SCKCodeCompletionResult.h" #import "SCKSourceFile.h" diff --git a/Tests/ParsingTestFiles/AB.h b/Tests/ParsingTestFiles/AB.h index 7d680a3..74dd10b 100644 --- a/Tests/ParsingTestFiles/AB.h +++ b/Tests/ParsingTestFiles/AB.h @@ -1,3 +1,9 @@ +/** + Copyright (c) 2013-2014 Quentin Mathe + + License: MIT (see COPYING) + */ + #import @class NSString, NSDate, NSButton; diff --git a/Tests/ParsingTestFiles/AB.m b/Tests/ParsingTestFiles/AB.m index d6ac58b..a6ab265 100644 --- a/Tests/ParsingTestFiles/AB.m +++ b/Tests/ParsingTestFiles/AB.m @@ -1,3 +1,9 @@ +/** + Copyright (c) 2013 Quentin Mathe + + License: MIT (see COPYING) + */ + #import "AB.h" diff --git a/Tests/TestClangParsing.m b/Tests/TestClangParsing.m index a4ffd96..8cbd6e7 100644 --- a/Tests/TestClangParsing.m +++ b/Tests/TestClangParsing.m @@ -1,3 +1,9 @@ +/** + Copyright (c) 2013-2014 Quentin Mathe + + License: MIT (see COPYING) + */ + #import "TestCommon.h" #import "SCKClangSourceFile.h" #import "SCKIntrospection.h" diff --git a/Tests/TestCommon.h b/Tests/TestCommon.h index 7b6db0b..65f1e79 100644 --- a/Tests/TestCommon.h +++ b/Tests/TestCommon.h @@ -1,3 +1,9 @@ +/** + Copyright (c) 2013 Quentin Mathe + + License: MIT (see COPYING) + */ + #import #import #import diff --git a/Tests/TestCommon.m b/Tests/TestCommon.m index b426944..d59204e 100644 --- a/Tests/TestCommon.m +++ b/Tests/TestCommon.m @@ -1,3 +1,9 @@ +/** + Copyright (c) 2013 Quentin Mathe + + License: MIT (see COPYING) + */ + #import "TestCommon.h" @implementation TestCommon diff --git a/Tests/TestRuntimeParsing.m b/Tests/TestRuntimeParsing.m index 92467dc..9597b43 100644 --- a/Tests/TestRuntimeParsing.m +++ b/Tests/TestRuntimeParsing.m @@ -1,3 +1,9 @@ +/** + Copyright (c) 2014 Quentin Mathe + + License: MIT (see COPYING) + */ + #import "TestCommon.h" @interface TestRuntimeParsing : TestCommon