From 786cf0c802f24f039c6b3c2b9618202ef7748ca5 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 13 Jun 2025 18:22:26 -0400 Subject: [PATCH] License stuff --- platform/mv3/extension/js/develop.js | 1 - .../lib/codemirror/codemirror.LICENSE | 21 +++++++++++++++++++ tools/make-mv3.sh | 4 +++- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 platform/mv3/extension/lib/codemirror/codemirror.LICENSE diff --git a/platform/mv3/extension/js/develop.js b/platform/mv3/extension/js/develop.js index bb7c17383..5d70aac98 100644 --- a/platform/mv3/extension/js/develop.js +++ b/platform/mv3/extension/js/develop.js @@ -588,7 +588,6 @@ class Editor { commentTokens: { line: '#' }, }, }; - } /******************************************************************************/ diff --git a/platform/mv3/extension/lib/codemirror/codemirror.LICENSE b/platform/mv3/extension/lib/codemirror/codemirror.LICENSE new file mode 100644 index 000000000..9a91f4861 --- /dev/null +++ b/platform/mv3/extension/lib/codemirror/codemirror.LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (C) 2018-2021 by Marijn Haverbeke and others + +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/tools/make-mv3.sh b/tools/make-mv3.sh index 5f59afbd2..f42052931 100755 --- a/tools/make-mv3.sh +++ b/tools/make-mv3.sh @@ -107,8 +107,10 @@ cp platform/mv3/extension/lib/codemirror/* \ "$UBOL_DIR"/lib/codemirror/ 2>/dev/null || : cp platform/mv3/extension/lib/codemirror/codemirror-ubol/dist/cm6.bundle.ubol.min.js \ "$UBOL_DIR"/lib/codemirror/ -cp platform/mv3/extension/lib/codemirror/codemirror-ubol/LICENSE \ +cp platform/mv3/extension/lib/codemirror/codemirror.LICENSE \ "$UBOL_DIR"/lib/codemirror/ +cp platform/mv3/extension/lib/codemirror/codemirror-ubol/LICENSE \ + "$UBOL_DIR"/lib/codemirror/codemirror-quickstart.LICENSE echo "*** uBOLite.mv3: Generating rulesets" UBOL_BUILD_DIR=$(mktemp -d)