tools

various tools
git clone git://deadbeef.fr/tools.git
Log | Files | Refs | README | LICENSE

commit 5eeeabb0889761d1ec328bfd54effa08d892494d
parent cef7005101389d23226a28165f4af7f3c64ae3eb
Author: Morel Bérenger <berengermorel76@gmail.com>
Date:   Mon, 30 Nov 2020 11:52:19 +0100

embed license text into source files too

Diffstat:
Mbtl/src/memory.hpp | 18++++++++++++++++++
Mbtl/src/optparser.cpp | 18++++++++++++++++++
Mbtl/src/optparser.hpp | 18++++++++++++++++++
Mbtl/src/string.cpp | 18++++++++++++++++++
Mbtl/src/string.hpp | 18++++++++++++++++++
Mbtl/src/utils.cpp | 18++++++++++++++++++
Mbtl/src/utils.hpp | 18++++++++++++++++++
Mbtl/src/vector.hpp | 18++++++++++++++++++
Mlmerge/src/lmerge.cpp | 18++++++++++++++++++
9 files changed, 162 insertions(+), 0 deletions(-)

diff --git a/btl/src/memory.hpp b/btl/src/memory.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2020 Morel Bérenger +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + #ifndef MEMORY_HPP #define MEMORY_HPP diff --git a/btl/src/optparser.cpp b/btl/src/optparser.cpp @@ -1,3 +1,21 @@ +// Copyright (c) 2020 Morel Bérenger +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + #include <string.h> #include <assert.h> #include <stdlib.h> diff --git a/btl/src/optparser.hpp b/btl/src/optparser.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2020 Morel Bérenger +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + #ifndef OPTPARSER_HPP #define OPTPARSER_HPP diff --git a/btl/src/string.cpp b/btl/src/string.cpp @@ -1,3 +1,21 @@ +// Copyright (c) 2020 Morel Bérenger +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + #include <utility> #include <string.h> diff --git a/btl/src/string.hpp b/btl/src/string.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2020 Morel Bérenger +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + #ifndef STRING_HPP #define STRING_HPP diff --git a/btl/src/utils.cpp b/btl/src/utils.cpp @@ -1,3 +1,21 @@ +// Copyright (c) 2020 Morel Bérenger +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + #include <stdio.h> #include <errno.h> #include <limits.h> diff --git a/btl/src/utils.hpp b/btl/src/utils.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2020 Morel Bérenger +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + #ifndef UTILS_HPP #define UTILS_HPP diff --git a/btl/src/vector.hpp b/btl/src/vector.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2020 Morel Bérenger +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + #ifndef VECTOR_HPP #define VECTOR_HPP diff --git a/lmerge/src/lmerge.cpp b/lmerge/src/lmerge.cpp @@ -1,3 +1,21 @@ +// Copyright (c) 2020 Morel Bérenger +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + #ifdef LIBCPP_MUSL_STATIC #define __GLIBC_PREREQ(x,y) 0 #endif