From ff1c5fb2b1b68142e8b349c5c909ac4dc6e33586 Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Thu, 11 Mar 2021 21:21:43 +0100 Subject: [PATCH] Clarify all licenses present in the code (#544) * Add LICENSE files for mozjs and mozcpp * Clarify all project licenses in README --- README.md | 7 +++++-- tree-sitter-mozcpp/LICENSE | 21 +++++++++++++++++++++ tree-sitter-mozjs/LICENSE | 21 +++++++++++++++++++++ 3 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 tree-sitter-mozcpp/LICENSE create mode 100644 tree-sitter-mozjs/LICENSE diff --git a/README.md b/README.md index a771c9d..70eeb35 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,10 @@ If you want to contribute to the development of this software or you are just interested in building **rust-code-analysis**, have a look at the Developers Guide. -# License +# Licenses -All the source code of **rust-code-analysis** is released under the +- Mozilla-defined grammars are released under the MIT license. + +- **rust-code-analysis**, **rust-code-analysis-cli** and **rust-code-analysis-web** +are released under the Mozilla Public License v2.0. diff --git a/tree-sitter-mozcpp/LICENSE b/tree-sitter-mozcpp/LICENSE new file mode 100644 index 0000000..a9405f7 --- /dev/null +++ b/tree-sitter-mozcpp/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2019 Mozilla Foundation + +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. diff --git a/tree-sitter-mozjs/LICENSE b/tree-sitter-mozjs/LICENSE new file mode 100644 index 0000000..a9405f7 --- /dev/null +++ b/tree-sitter-mozjs/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2019 Mozilla Foundation + +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.