From a5cc738641106be3403af5b070bb5d2c3fc67d94 Mon Sep 17 00:00:00 2001 From: Itay Grudev Date: Fri, 24 Mar 2023 12:09:12 +0200 Subject: [PATCH] MIT, but No Machine Learning Allowed --- .gitignore | 1 + LICENSE | 7 +++--- README.md | 11 ++++++--- examples/basic/main.cpp | 23 +++++++++++++++++++ examples/sending_arguments/main.cpp | 23 +++++++++++++++++++ .../sending_arguments/messagereceiver.cpp | 23 +++++++++++++++++++ examples/sending_arguments/messagereceiver.h | 23 +++++++++++++++++++ singleapplication.cpp | 7 +++--- singleapplication.h | 7 +++--- singleapplication_p.cpp | 7 +++--- singleapplication_p.h | 7 +++--- 11 files changed, 121 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index 35533fe..62652f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/.idea /examples/*/*.o /examples/*/Makefile /examples/*/moc_*.cpp diff --git a/LICENSE b/LICENSE index a82e5a6..2062357 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,4 @@ -The MIT License (MIT) - -Copyright (c) Itay Grudev 2015 - 2020 +Copyright (c) Itay Grudev 2015 - 2023 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -9,6 +7,9 @@ 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: +Permission is not granted to use this software or any of the associated files +as sample data for the purposes of building machine learning models. + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. diff --git a/README.md b/README.md index 0125845..242aa1f 100644 --- a/README.md +++ b/README.md @@ -168,6 +168,11 @@ instances running. ## License -This library and it's supporting documentation are released under -`The MIT License (MIT)` with the exception of the Qt calculator examples which -is distributed under the BSD license. +This library and it's supporting documentation, with the exception of the Qt +calculator examples which is distributed under the BSD license, are released +under the terms of `The MIT License (MIT)` with an extra condition, that: + +```txt +Permission is not granted to use this software or any of the associated files +as sample data for the purposes of building machine learning models. +``` diff --git a/examples/basic/main.cpp b/examples/basic/main.cpp index b2092c6..f5539f4 100755 --- a/examples/basic/main.cpp +++ b/examples/basic/main.cpp @@ -1,3 +1,26 @@ +// Copyright (c) Itay Grudev 2015 - 2023 +// +// 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: +// +// Permission is not granted to use this software or any of the associated files +// as sample data for the purposes of building machine learning models. +// +// 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. + #include int main(int argc, char *argv[]) diff --git a/examples/sending_arguments/main.cpp b/examples/sending_arguments/main.cpp index a9d34dd..03bf10a 100755 --- a/examples/sending_arguments/main.cpp +++ b/examples/sending_arguments/main.cpp @@ -1,3 +1,26 @@ +// Copyright (c) Itay Grudev 2015 - 2023 +// +// 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: +// +// Permission is not granted to use this software or any of the associated files +// as sample data for the purposes of building machine learning models. +// +// 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. + #include #include "messagereceiver.h" diff --git a/examples/sending_arguments/messagereceiver.cpp b/examples/sending_arguments/messagereceiver.cpp index 0560b07..686b918 100644 --- a/examples/sending_arguments/messagereceiver.cpp +++ b/examples/sending_arguments/messagereceiver.cpp @@ -1,3 +1,26 @@ +// Copyright (c) Itay Grudev 2015 - 2023 +// +// 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: +// +// Permission is not granted to use this software or any of the associated files +// as sample data for the purposes of building machine learning models. +// +// 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. + #include #include "messagereceiver.h" diff --git a/examples/sending_arguments/messagereceiver.h b/examples/sending_arguments/messagereceiver.h index 50a970c..9f15db3 100644 --- a/examples/sending_arguments/messagereceiver.h +++ b/examples/sending_arguments/messagereceiver.h @@ -1,3 +1,26 @@ +// Copyright (c) Itay Grudev 2015 - 2023 +// +// 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: +// +// Permission is not granted to use this software or any of the associated files +// as sample data for the purposes of building machine learning models. +// +// 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. + #ifndef MESSAGERECEIVER_H #define MESSAGERECEIVER_H diff --git a/singleapplication.cpp b/singleapplication.cpp index 1234ff9..3e8fcb5 100644 --- a/singleapplication.cpp +++ b/singleapplication.cpp @@ -1,6 +1,4 @@ -// The MIT License (MIT) -// -// Copyright (c) Itay Grudev 2015 - 2020 +// Copyright (c) Itay Grudev 2015 - 2023 // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -9,6 +7,9 @@ // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // +// Permission is not granted to use this software or any of the associated files +// as sample data for the purposes of building machine learning models. +// // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // diff --git a/singleapplication.h b/singleapplication.h index 954a46e..17e3b25 100644 --- a/singleapplication.h +++ b/singleapplication.h @@ -1,6 +1,4 @@ -// The MIT License (MIT) -// -// Copyright (c) Itay Grudev 2015 - 2018 +// Copyright (c) Itay Grudev 2015 - 2023 // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -9,6 +7,9 @@ // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // +// Permission is not granted to use this software or any of the associated files +// as sample data for the purposes of building machine learning models. +// // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // diff --git a/singleapplication_p.cpp b/singleapplication_p.cpp index 2a369bc..5499203 100644 --- a/singleapplication_p.cpp +++ b/singleapplication_p.cpp @@ -1,6 +1,4 @@ -// The MIT License (MIT) -// -// Copyright (c) Itay Grudev 2015 - 2020 +// Copyright (c) Itay Grudev 2015 - 2023 // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -9,6 +7,9 @@ // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // +// Permission is not granted to use this software or any of the associated files +// as sample data for the purposes of building machine learning models. +// // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // diff --git a/singleapplication_p.h b/singleapplication_p.h index 30a2b51..6b21516 100644 --- a/singleapplication_p.h +++ b/singleapplication_p.h @@ -1,6 +1,4 @@ -// The MIT License (MIT) -// -// Copyright (c) Itay Grudev 2015 - 2020 +// Copyright (c) Itay Grudev 2015 - 2023 // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -9,6 +7,9 @@ // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // +// Permission is not granted to use this software or any of the associated files +// as sample data for the purposes of building machine learning models. +// // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. //