From 5d1b99af2ce55135b43a0bef940dac0404d56e0a Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Thu, 11 Mar 2021 19:06:57 +0100 Subject: [PATCH 1/2] Add LICENSE files for mozjs and mozcpp --- tree-sitter-mozcpp/LICENSE | 21 +++++++++++++++++++++ tree-sitter-mozjs/LICENSE | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 tree-sitter-mozcpp/LICENSE create mode 100644 tree-sitter-mozjs/LICENSE diff --git a/tree-sitter-mozcpp/LICENSE b/tree-sitter-mozcpp/LICENSE new file mode 100644 index 000000000..a9405f7f7 --- /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 000000000..a9405f7f7 --- /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. From 28088675415dea1f1fa9b8c6a58e949f45b42356 Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Thu, 11 Mar 2021 19:11:35 +0100 Subject: [PATCH 2/2] Clarify all project licenses in README --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a771c9dee..70eeb35ca 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.