From f3af80df7889a97371bd9624bc94aa723599d057 Mon Sep 17 00:00:00 2001 From: Jonathan Gilbert Date: Tue, 15 Jan 2019 02:12:54 -0600 Subject: [PATCH] Added copyright notice with minimal license to each code file, per Chris Cannam. --- rubberband-dll/dllmain.cpp | 34 +++++++++++++++++- rubberband-dll/rubberband-dll.cpp | 33 +++++++++++++++++ rubberband-sharp/Install.ps1 | 35 ++++++++++++++++++- rubberband-sharp/RubberBandNativeMethods.cs | 35 ++++++++++++++++++- .../RubberBandNativeMethodsWin32.cs | 35 ++++++++++++++++++- .../RubberBandNativeMethodsx64.cs | 35 ++++++++++++++++++- rubberband-sharp/RubberBandStretcher.cs | 35 ++++++++++++++++++- 7 files changed, 236 insertions(+), 6 deletions(-) diff --git a/rubberband-dll/dllmain.cpp b/rubberband-dll/dllmain.cpp index 37bdad5..38427a9 100644 --- a/rubberband-dll/dllmain.cpp +++ b/rubberband-dll/dllmain.cpp @@ -1,4 +1,36 @@ -// dllmain.cpp : Defines the entry point for the DLL application. +/* + rubberband-dll + + A consumer of the rubberband static library that simply exposes + its functionality as a DLL. + + Copyright 2018-2019 Jonathan Gilbert + + 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 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. + + Except as contained in this notice, the name of Jonathan Gilbert + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written + authorization. +*/ + #include "stdafx.h" BOOL APIENTRY DllMain( HMODULE hModule, diff --git a/rubberband-dll/rubberband-dll.cpp b/rubberband-dll/rubberband-dll.cpp index 9ecc4aa..d5055b4 100644 --- a/rubberband-dll/rubberband-dll.cpp +++ b/rubberband-dll/rubberband-dll.cpp @@ -1,3 +1,36 @@ +/* + rubberband-dll + + A consumer of the rubberband static library that simply exposes + its functionality as a DLL. + + Copyright 2018-2019 Jonathan Gilbert + + 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 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. + + Except as contained in this notice, the name of Jonathan Gilbert + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written + authorization. +*/ + // rubberband-dll.cpp : Defines the exported functions for the DLL application. // diff --git a/rubberband-sharp/Install.ps1 b/rubberband-sharp/Install.ps1 index b9ac711..2fb6bcc 100644 --- a/rubberband-sharp/Install.ps1 +++ b/rubberband-sharp/Install.ps1 @@ -1,4 +1,37 @@ -Param +<# + rubberband-sharp + + A consumer of the rubberband DLL that wraps the RubberBandStretcher + object exposed by the DLL in a managed .NET type. + + Copyright 2018-2019 Jonathan Gilbert + + 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 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. + + Except as contained in this notice, the name of Jonathan Gilbert + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written + authorization. +#> + +Param ( $InstallPath, $ToolsPath, diff --git a/rubberband-sharp/RubberBandNativeMethods.cs b/rubberband-sharp/RubberBandNativeMethods.cs index cfbd056..1850086 100644 --- a/rubberband-sharp/RubberBandNativeMethods.cs +++ b/rubberband-sharp/RubberBandNativeMethods.cs @@ -1,4 +1,37 @@ -using System; +/* + rubberband-sharp + + A consumer of the rubberband DLL that wraps the RubberBandStretcher + object exposed by the DLL in a managed .NET type. + + Copyright 2018-2019 Jonathan Gilbert + + 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 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. + + Except as contained in this notice, the name of Jonathan Gilbert + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written + authorization. +*/ + +using System; using System.Runtime.InteropServices; namespace RubberBand diff --git a/rubberband-sharp/RubberBandNativeMethodsWin32.cs b/rubberband-sharp/RubberBandNativeMethodsWin32.cs index f49cf75..f27c1b5 100644 --- a/rubberband-sharp/RubberBandNativeMethodsWin32.cs +++ b/rubberband-sharp/RubberBandNativeMethodsWin32.cs @@ -1,4 +1,37 @@ -using System; +/* + rubberband-sharp + + A consumer of the rubberband DLL that wraps the RubberBandStretcher + object exposed by the DLL in a managed .NET type. + + Copyright 2018-2019 Jonathan Gilbert + + 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 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. + + Except as contained in this notice, the name of Jonathan Gilbert + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written + authorization. +*/ + +using System; using System.Runtime.InteropServices; namespace RubberBand diff --git a/rubberband-sharp/RubberBandNativeMethodsx64.cs b/rubberband-sharp/RubberBandNativeMethodsx64.cs index c343d23..d15de5f 100644 --- a/rubberband-sharp/RubberBandNativeMethodsx64.cs +++ b/rubberband-sharp/RubberBandNativeMethodsx64.cs @@ -1,4 +1,37 @@ -using System; +/* + rubberband-sharp + + A consumer of the rubberband DLL that wraps the RubberBandStretcher + object exposed by the DLL in a managed .NET type. + + Copyright 2018-2019 Jonathan Gilbert + + 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 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. + + Except as contained in this notice, the name of Jonathan Gilbert + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written + authorization. +*/ + +using System; using System.Runtime.InteropServices; namespace RubberBand diff --git a/rubberband-sharp/RubberBandStretcher.cs b/rubberband-sharp/RubberBandStretcher.cs index 750ee3e..168d508 100644 --- a/rubberband-sharp/RubberBandStretcher.cs +++ b/rubberband-sharp/RubberBandStretcher.cs @@ -1,4 +1,37 @@ -using System; +/* + rubberband-sharp + + A consumer of the rubberband DLL that wraps the RubberBandStretcher + object exposed by the DLL in a managed .NET type. + + Copyright 2018-2019 Jonathan Gilbert + + 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 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. + + Except as contained in this notice, the name of Jonathan Gilbert + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written + authorization. +*/ + +using System; using System.Collections.Generic; namespace RubberBand