diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9332edf4..8d6429e5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,12 +8,20 @@ on: paths-ignore: - "**/README.md" jobs: - test: - name: Test on ${{ matrix.os }} + native: + name: Build native on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-22.04, windows-2022, macos-15-intel, macos-14] + include: + - os: ubuntu-22.04 + targets: x86_64-linux-gnu,aarch64-linux-gnu + - os: windows-2022 + targets: x86_64-windows + - os: macos-15-intel + targets: x86_64-macos + - os: macos-14 + targets: aarch64-macos env: ORG_GRADLE_PROJECT_ossrhUsername: na ORG_GRADLE_PROJECT_ossrhPassword: na @@ -26,8 +34,13 @@ jobs: distribution: 'corretto' - name: Setup Gradle uses: gradle/actions/setup-gradle@v4.2.1 - - name: Test with Gradle - run: ./gradlew test --stacktrace + - name: Build native libraries with Gradle + run: > + ./gradlew + buildNative + -PtreeSitterTargets=${{ matrix.targets }} + --max-workers=1 + --stacktrace android-native: name: Build Android native library @@ -51,4 +64,4 @@ jobs: run: | "${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager" "ndk;${ANDROID_NDK_VERSION}" - name: Build Android native library - run: ./gradlew :tree-sitter:buildNative -PtreeSitterTargets=aarch64-linux-android --stacktrace + run: ./gradlew buildNative -PtreeSitterTargets=aarch64-linux-android --max-workers=1 --stacktrace diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md new file mode 100644 index 00000000..e80b8df8 --- /dev/null +++ b/THIRD_PARTY_NOTICES.md @@ -0,0 +1,59 @@ +# Third-party notices + +This repository includes a small number of bundled third-party files that are +used for native builds and runtime loading. + +## OpenJDK 11 JNI headers + +The JNI, JAWT, and Windows AccessBridge header files under `include/jni` are +copied from OpenJDK 11. Their license texts are included under +`third_party_licenses/openjdk-11`. + +## Gradle wrapper + +The Gradle wrapper files are provided by Gradle. The full Apache License 2.0 +text is included under `third_party_licenses/gradle`. + +## Unicode ConvertUTF + +`tree-sitter/src/main/c/ConvertUTF.c` and +`tree-sitter/src/main/c/ConvertUTF.h` are Unicode conversion source files. The +Unicode license text is included under `third_party_licenses/unicode`. + +## Zig + +The native build downloads Zig to compile the bundled native artifacts. The Zig +license text is included under `third_party_licenses/zig`. + +## Minisign + +The native build downloads Minisign to verify Zig release signatures. The +Minisign license text is included under `third_party_licenses/minisign`. + +## Android NDK + +The Android native build can use or download Android NDK r27c. The Android SDK +license text referenced by the NDK package metadata is included under +`third_party_licenses/android-ndk`. + +The Android NDK Clang/LLVM toolchain is based on the LLVM project. The upstream +LLVM license text, including the Apache License 2.0 with LLVM exceptions, is +included under `third_party_licenses/android-ndk/LLVM-CLANG-NOTICE`. It is +copied from +https://raw.githubusercontent.com/llvm/llvm-project/main/llvm/LICENSE.TXT. + +## tree-sitter core + +The core `tree-sitter` native library is built from the tree-sitter source +archive. Its license text is included under +`third_party_licenses/tree-sitter-core`. + +The tree-sitter core source also includes Unicode data/code under +`lib/src/unicode`; that license text is included under +`third_party_licenses/tree-sitter-core/lib-src-unicode`. + +## Grammar sources + +The checked-in grammar native artifacts are compiled from downloaded +tree-sitter grammar source archives. Each grammar license text is included under +`third_party_licenses/grammars//LICENSE`. diff --git a/build.gradle b/build.gradle index d98769fe..bd9db347 100644 --- a/build.gradle +++ b/build.gradle @@ -103,19 +103,25 @@ subprojects { useJUnitPlatform() } - tasks.register('downloadSource', DownloadSourceTask) + if (project.hasProperty('libVersion')) { + tasks.register('downloadSource', DownloadSourceTask) - if (project.name != 'tree-sitter' && project.name != 'tree-sitter-demo' && project.name != 'tree-sitter-tests') { - tasks.named('test') { - dependsOn tasks.named('downloadSource') + tasks.register('buildNative', BuildNativeTask) { + zigExe = rootProject.downloadZig.zigExe + dependsOn downloadSource, rootProject.downloadZig + if (((String) rootProject.properties.get("treeSitterTargets")).contains("android")) { + dependsOn rootProject.downloadAndroidNdk + } } - } - tasks.register('buildNative', BuildNativeTask) { - zigExe = rootProject.downloadZig.zigExe - dependsOn downloadSource, rootProject.downloadZig - if (((String) rootProject.properties.get("treeSitterTargets")).contains("android")) { - dependsOn rootProject.downloadAndroidNdk + tasks.named('processResources') { + dependsOn tasks.named('buildNative') + } + + if (project.name != 'tree-sitter') { + tasks.named('test') { + dependsOn tasks.named('downloadSource') + } } } diff --git a/buildSrc/src/main/groovy/BuildNativeTask.groovy b/buildSrc/src/main/groovy/BuildNativeTask.groovy index 13fb943e..ea1e6b0c 100644 --- a/buildSrc/src/main/groovy/BuildNativeTask.groovy +++ b/buildSrc/src/main/groovy/BuildNativeTask.groovy @@ -181,10 +181,10 @@ class BuildNativeTask extends DefaultTask{ cmd.addAll(jniCFiles) cmd.addAll(parserCFiles) cmd.addAll(additionalCFiles) - project.exec{ + project.providers.exec { workingDir jniCDir commandLine(cmd) - } + }.result.get() } this.removeWindowsDebugFiles() } @@ -220,6 +220,12 @@ class BuildNativeTask extends DefaultTask{ } def sdkDir = System.getenv("ANDROID_HOME") ?: System.getenv("ANDROID_SDK_ROOT") + if (!sdkDir) { + def defaultSdk = new File(System.getProperty("user.home"), "Library/Android/sdk") + if (defaultSdk.exists()) { + sdkDir = defaultSdk.absolutePath + } + } if (sdkDir) { def ndkRoot = new File(sdkDir, "ndk") def ndks = ndkRoot.listFiles()?.findAll { it.isDirectory() }?.sort { a, b -> b.name <=> a.name } @@ -237,7 +243,7 @@ class BuildNativeTask extends DefaultTask{ throw new GradleException("Android NDK not found. Set ANDROID_NDK_HOME, ANDROID_NDK_ROOT, ANDROID_HOME, or ANDROID_SDK_ROOT, or run the downloadAndroidNdk task.") } - private void removeWindowsDebugFiles(){ + void removeWindowsDebugFiles(){ def files = jniOutDir.asFileTree.matching { include("**/*.pdb") include("**/*.lib") diff --git a/buildSrc/src/main/groovy/DownloadAndroidNdkTask.groovy b/buildSrc/src/main/groovy/DownloadAndroidNdkTask.groovy index 6ffdcd43..4b71f6df 100644 --- a/buildSrc/src/main/groovy/DownloadAndroidNdkTask.groovy +++ b/buildSrc/src/main/groovy/DownloadAndroidNdkTask.groovy @@ -104,6 +104,12 @@ class DownloadAndroidNdkTask extends DefaultTask { } def sdkDir = System.getenv("ANDROID_HOME") ?: System.getenv("ANDROID_SDK_ROOT") + if (!sdkDir) { + def defaultSdk = new File(System.getProperty("user.home"), "Library/Android/sdk") + if (defaultSdk.exists()) { + sdkDir = defaultSdk.absolutePath + } + } if (sdkDir) { def ndkRoot = new File(sdkDir, "ndk") def ndks = ndkRoot.listFiles()?.findAll { it.isDirectory() }?.sort { a, b -> b.name <=> a.name } diff --git a/buildSrc/src/main/groovy/DownloadZigTask.groovy b/buildSrc/src/main/groovy/DownloadZigTask.groovy index 98250bfc..0c07eb94 100644 --- a/buildSrc/src/main/groovy/DownloadZigTask.groovy +++ b/buildSrc/src/main/groovy/DownloadZigTask.groovy @@ -152,20 +152,22 @@ class DownloadZigTask extends DefaultTask{ logger.lifecycle("Downloading Zig from mirror: $zigZipUrl") Utils.downloadFile(zigZipUrl, zigZipDest) Utils.downloadFile(new URL(zigSignatureUrl(zigZipUrl.toString())), zigSignatureFileDest) - return + if (verifyZigArchive()) { + return + } + logger.error("Zig archive signature does not match for mirror: $zigZipUrl") }catch(Exception e){ logger.error("Failed to download Zig from mirror: $zigZipUrl", e) } + zigZipDest.delete() + zigSignatureFileDest.delete() } throw new GradleException("Failed to download Zig from any mirror") } - @TaskAction - downloadZig(){ - def mirrorUrls = mirrorUrls() - downloadZigFromMirrors(mirrorUrls, zigZipFile.asFile, zigSignatureFile.asFile) + boolean verifyZigArchive() { miniSignExe.asFile.setExecutable(true, true) - def zipVerified = project.exec { + return project.providers.exec { ignoreExitValue = true workingDir zigDir.asFile commandLine miniSignExe, @@ -173,10 +175,19 @@ class DownloadZigTask extends DefaultTask{ zigZipFile, "-P", zigPubKey + }.result.get().exitValue == 0 + } + + @TaskAction + downloadZig(){ + if (zigExe.asFile.exists()) { + logger.lifecycle("Using downloaded Zig: {}", zigExe.asFile) + zigExe.asFile.setExecutable(true, true) + return } - if(!zipVerified) { - throw new GradleException("$zigZipFile signature does not match!") - } + def mirrorUrls = mirrorUrls() + mirrorUrls.add("https://ziglang.org/download/$zigVersion") + downloadZigFromMirrors(mirrorUrls, zigZipFile.asFile, zigSignatureFile.asFile) Utils.unzipArchive(zigZipFile.asFile, zigDir.asFile) zigExe.asFile.setExecutable(true, true) } diff --git a/buildSrc/src/main/groovy/org/treesitter/build/Utils.groovy b/buildSrc/src/main/groovy/org/treesitter/build/Utils.groovy index 3165b866..6cfdfc7c 100644 --- a/buildSrc/src/main/groovy/org/treesitter/build/Utils.groovy +++ b/buildSrc/src/main/groovy/org/treesitter/build/Utils.groovy @@ -146,17 +146,32 @@ abstract class Utils { } static void downloadFile(URL url, File dest, String accept = "application/zip"){ - url.openConnection().with { conn -> - conn.setRequestProperty("User-Agent", "Mozilla/5.0") - conn.setRequestProperty("Accept", accept) - conn.setConnectTimeout(30000) - conn.setReadTimeout(30000) - dest.withOutputStream { output -> - conn.inputStream.withCloseable { input -> - output << input + int maxAttempts = 6 + Exception lastException = null + for (int attempt = 1; attempt <= maxAttempts; attempt++) { + try { + url.openConnection().with { conn -> + conn.setRequestProperty("User-Agent", "Mozilla/5.0") + conn.setRequestProperty("Accept", accept) + conn.setConnectTimeout(30000) + conn.setReadTimeout(30000) + dest.withOutputStream { output -> + conn.inputStream.withCloseable { input -> + output << input + } + } + } + return + } catch (IOException e) { + lastException = e + dest.delete() + if (attempt == maxAttempts) { + break } + Thread.sleep(2000L * attempt) } } + throw lastException } static String fetchUrl(URL url){ diff --git a/include/README.md b/include/README.md index e0f97dfe..14fd36fe 100644 --- a/include/README.md +++ b/include/README.md @@ -1,2 +1,7 @@ # About -C header files copied from OpenJDK 11 \ No newline at end of file +C header files copied from OpenJDK 11. + +The OpenJDK 11 license files are included in: + +- `third_party_licenses/openjdk-11/LICENSE` +- `third_party_licenses/openjdk-11/ADDITIONAL_LICENSE_INFO` diff --git a/third_party_licenses/android-ndk/LICENSE b/third_party_licenses/android-ndk/LICENSE new file mode 100644 index 00000000..416d6573 --- /dev/null +++ b/third_party_licenses/android-ndk/LICENSE @@ -0,0 +1,145 @@ +Terms and Conditions + +This is the Android Software Development Kit License Agreement + +1. Introduction + +1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. + +1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time. + +1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS). + +1.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. + + +2. Accepting the License Agreement + +2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement. + +2.2 By clicking to accept, you hereby agree to the terms of the License Agreement. + +2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. + +2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity. + + +3. SDK License from Google + +3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. + +3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose. + +3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. + +3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK. + +3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. + +3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. + +3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. + +3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK. + + +4. Use of the SDK by You + +4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. + +4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). + +4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. + +4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. + +4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. + +4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach. + +5. Your Developer Credentials + +5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials. + +6. Privacy and Information + +6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. + +6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy. + + +7. Third Party Applications + +7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. + +7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. + +7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties. + + +8. Using Android APIs + +8.1 Google Data APIs + +8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. + +8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. If you use the Android Recognition Service API, documented at the following URL: https://developer.android.com/reference/android/speech/RecognitionService, as updated from time to time, you acknowledge that the use of the API is subject to the Data Processing Addendum for Products where Google is a Data Processor, which is located at the following URL: https://privacy.google.com/businesses/gdprprocessorterms/, as updated from time to time. By clicking to accept, you hereby agree to the terms of the Data Processing Addendum for Products where Google is a Data Processor. + + +9. Terminating the License Agreement + +9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below. + +9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. + +9.3 Google may at any time, terminate the License Agreement with you if: +(A) you have breached any provision of the License Agreement; or +(B) Google is required to do so by law; or +(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or +(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. + +9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely. + + +10. DISCLAIMER OF WARRANTIES + +10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. + +10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. + +10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + + +11. LIMITATION OF LIABILITY + +11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING. + + +12. Indemnification + +12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement. + + +13. Changes to the License Agreement + +13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available. + + +14. General Legal Terms + +14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. + +14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. + +14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. + +14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. + +14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. + +14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. + +14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. + + +January 16, 2019 diff --git a/third_party_licenses/android-ndk/LLVM-CLANG-NOTICE b/third_party_licenses/android-ndk/LLVM-CLANG-NOTICE new file mode 100644 index 00000000..57151765 --- /dev/null +++ b/third_party_licenses/android-ndk/LLVM-CLANG-NOTICE @@ -0,0 +1,278 @@ +============================================================================== +The LLVM Project is under the Apache License v2.0 with LLVM Exceptions: +============================================================================== + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +---- LLVM Exceptions to the Apache 2.0 License ---- + +As an exception, if, as a result of your compiling your source code, portions +of this Software are embedded into an Object form of such source code, you +may redistribute such embedded portions in such Object form without complying +with the conditions of Sections 4(a), 4(b) and 4(d) of the License. + +In addition, if you combine or link compiled forms of this Software with +software that is licensed under the GPLv2 ("Combined Software") and if a +court of competent jurisdiction determines that the patent provision (Section +3), the indemnity provision (Section 9) or other Section of the License +conflicts with the conditions of the GPLv2, you may retroactively and +prospectively choose to deem waived or otherwise exclude such Section(s) of +the License, but only in their entirety and only with respect to the Combined +Software. + +============================================================================== +Software from third parties included in the LLVM Project: +============================================================================== +The LLVM Project contains third party software which is under different license +terms. All such code will be identified clearly using at least one of two +mechanisms: +1) It will be in a separate directory tree with its own `LICENSE.txt` or + `LICENSE` file at the top containing the specific license and restrictions + which apply to that software, or +2) It will contain specific license and restriction terms at the top of every + file. + +============================================================================== +Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy): +============================================================================== +University of Illinois/NCSA +Open Source License + +Copyright (c) 2003-2019 University of Illinois at Urbana-Champaign. +All rights reserved. + +Developed by: + + LLVM Team + + University of Illinois at Urbana-Champaign + + http://llvm.org + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal with +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: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimers. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimers in the + documentation and/or other materials provided with the distribution. + + * Neither the names of the LLVM Team, University of Illinois at + Urbana-Champaign, nor the names of its contributors may be used to + endorse or promote products derived from this Software without specific + prior written permission. + +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 +CONTRIBUTORS 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 WITH THE +SOFTWARE. diff --git a/third_party_licenses/gradle/LICENSE b/third_party_licenses/gradle/LICENSE new file mode 100644 index 00000000..d6456956 --- /dev/null +++ b/third_party_licenses/gradle/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/third_party_licenses/grammars/tree-sitter-agda/LICENSE b/third_party_licenses/grammars/tree-sitter-agda/LICENSE new file mode 100644 index 00000000..70f51714 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-agda/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 LUA Ting-Gan + +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/third_party_licenses/grammars/tree-sitter-bash/LICENSE b/third_party_licenses/grammars/tree-sitter-bash/LICENSE new file mode 100644 index 00000000..aa9f858d --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-bash/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2017 Max Brunsfeld + +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/third_party_licenses/grammars/tree-sitter-c-sharp/LICENSE b/third_party_licenses/grammars/tree-sitter-c-sharp/LICENSE new file mode 100644 index 00000000..c8921f69 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-c-sharp/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014-2023 Max Brunsfeld, Damien Guard, Amaan Qureshi, and contributors. + +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/third_party_licenses/grammars/tree-sitter-c/LICENSE b/third_party_licenses/grammars/tree-sitter-c/LICENSE new file mode 100644 index 00000000..4b52d191 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-c/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Max Brunsfeld + +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/third_party_licenses/grammars/tree-sitter-cpp/LICENSE b/third_party_licenses/grammars/tree-sitter-cpp/LICENSE new file mode 100644 index 00000000..4b52d191 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-cpp/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Max Brunsfeld + +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/third_party_licenses/grammars/tree-sitter-css/LICENSE b/third_party_licenses/grammars/tree-sitter-css/LICENSE new file mode 100644 index 00000000..971b81f9 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-css/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 Max Brunsfeld + +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/third_party_licenses/grammars/tree-sitter-embedded-template/LICENSE b/third_party_licenses/grammars/tree-sitter-embedded-template/LICENSE new file mode 100644 index 00000000..971b81f9 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-embedded-template/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 Max Brunsfeld + +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/third_party_licenses/grammars/tree-sitter-go/LICENSE b/third_party_licenses/grammars/tree-sitter-go/LICENSE new file mode 100644 index 00000000..4b52d191 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-go/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Max Brunsfeld + +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/third_party_licenses/grammars/tree-sitter-haskell/LICENSE b/third_party_licenses/grammars/tree-sitter-haskell/LICENSE new file mode 100644 index 00000000..4b52d191 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-haskell/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Max Brunsfeld + +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/third_party_licenses/grammars/tree-sitter-html/LICENSE b/third_party_licenses/grammars/tree-sitter-html/LICENSE new file mode 100644 index 00000000..4b52d191 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-html/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Max Brunsfeld + +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/third_party_licenses/grammars/tree-sitter-java/LICENSE b/third_party_licenses/grammars/tree-sitter-java/LICENSE new file mode 100644 index 00000000..4e0446f7 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-java/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 Ayman Nadeem + +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/third_party_licenses/grammars/tree-sitter-javascript/LICENSE b/third_party_licenses/grammars/tree-sitter-javascript/LICENSE new file mode 100644 index 00000000..4b52d191 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-javascript/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Max Brunsfeld + +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/third_party_licenses/grammars/tree-sitter-json/LICENSE b/third_party_licenses/grammars/tree-sitter-json/LICENSE new file mode 100644 index 00000000..4b52d191 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-json/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Max Brunsfeld + +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/third_party_licenses/grammars/tree-sitter-julia/LICENSE b/third_party_licenses/grammars/tree-sitter-julia/LICENSE new file mode 100644 index 00000000..607d94b7 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-julia/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 Max Brunsfeld, GitHub + +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/third_party_licenses/grammars/tree-sitter-ocaml/LICENSE b/third_party_licenses/grammars/tree-sitter-ocaml/LICENSE new file mode 100644 index 00000000..82557a14 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-ocaml/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Max Brunsfeld and Pieter Goetschalckx + +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/third_party_licenses/grammars/tree-sitter-php/LICENSE b/third_party_licenses/grammars/tree-sitter-php/LICENSE new file mode 100644 index 00000000..513857dd --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-php/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2017 Josh Vera, GitHub +Copyright (c) 2019 Max Brunsfeld, Amaan Qureshi, Christian Frøystad, Caleb White + +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/third_party_licenses/grammars/tree-sitter-python/LICENSE b/third_party_licenses/grammars/tree-sitter-python/LICENSE new file mode 100644 index 00000000..ff8ed93c --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-python/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Max Brunsfeld + +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/third_party_licenses/grammars/tree-sitter-regex/LICENSE b/third_party_licenses/grammars/tree-sitter-regex/LICENSE new file mode 100644 index 00000000..4b52d191 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-regex/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Max Brunsfeld + +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/third_party_licenses/grammars/tree-sitter-ruby/LICENSE b/third_party_licenses/grammars/tree-sitter-ruby/LICENSE new file mode 100644 index 00000000..2a79f435 --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-ruby/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2016 Rob Rix + +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/third_party_licenses/grammars/tree-sitter-rust/LICENSE b/third_party_licenses/grammars/tree-sitter-rust/LICENSE new file mode 100644 index 00000000..ceaf3c9a --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-rust/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2017 Maxim Sokolov + +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/third_party_licenses/grammars/tree-sitter-scala/LICENSE b/third_party_licenses/grammars/tree-sitter-scala/LICENSE new file mode 100644 index 00000000..bd0a4d6c --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-scala/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 Max Brunsfeld and GitHub + +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/third_party_licenses/grammars/tree-sitter-tsx/LICENSE b/third_party_licenses/grammars/tree-sitter-tsx/LICENSE new file mode 100644 index 00000000..aa9f858d --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-tsx/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2017 Max Brunsfeld + +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/third_party_licenses/grammars/tree-sitter-typescript/LICENSE b/third_party_licenses/grammars/tree-sitter-typescript/LICENSE new file mode 100644 index 00000000..aa9f858d --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-typescript/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2017 Max Brunsfeld + +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/third_party_licenses/grammars/tree-sitter-verilog/LICENSE b/third_party_licenses/grammars/tree-sitter-verilog/LICENSE new file mode 100644 index 00000000..d7a5632c --- /dev/null +++ b/third_party_licenses/grammars/tree-sitter-verilog/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018-2023 Aliaksei Chapyzhenka + +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/third_party_licenses/minisign/LICENSE b/third_party_licenses/minisign/LICENSE new file mode 100644 index 00000000..09159fc1 --- /dev/null +++ b/third_party_licenses/minisign/LICENSE @@ -0,0 +1,15 @@ +ISC License + +Copyright (c) 2015-2026 Frank Denis + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/third_party_licenses/openjdk-11/ADDITIONAL_LICENSE_INFO b/third_party_licenses/openjdk-11/ADDITIONAL_LICENSE_INFO new file mode 100644 index 00000000..ff700cd0 --- /dev/null +++ b/third_party_licenses/openjdk-11/ADDITIONAL_LICENSE_INFO @@ -0,0 +1,37 @@ + ADDITIONAL INFORMATION ABOUT LICENSING + +Certain files distributed by Oracle America, Inc. and/or its affiliates are +subject to the following clarification and special exception to the GPLv2, +based on the GNU Project exception for its Classpath libraries, known as the +GNU Classpath Exception. + +Note that Oracle includes multiple, independent programs in this software +package. Some of those programs are provided under licenses deemed +incompatible with the GPLv2 by the Free Software Foundation and others. +For example, the package includes programs licensed under the Apache +License, Version 2.0 and may include FreeType. Such programs are licensed +to you under their original licenses. + +Oracle facilitates your further distribution of this package by adding the +Classpath Exception to the necessary parts of its GPLv2 code, which permits +you to use that code in combination with other independent modules not +licensed under the GPLv2. However, note that this would not permit you to +commingle code under an incompatible license with Oracle's GPLv2 licensed +code by, for example, cutting and pasting such code into a file also +containing Oracle's GPLv2 licensed code and then distributing the result. + +Additionally, if you were to remove the Classpath Exception from any of the +files to which it applies and distribute the result, you would likely be +required to license some or all of the other code in that distribution under +the GPLv2 as well, and since the GPLv2 is incompatible with the license terms +of some items included in the distribution by Oracle, removing the Classpath +Exception could therefore effectively compromise your ability to further +distribute the package. + +Failing to distribute notices associated with some files may also create +unexpected legal consequences. + +Proceed with caution and we recommend that you obtain the advice of a lawyer +skilled in open source matters before removing the Classpath Exception or +making modifications to this package which may subsequently be redistributed +and/or involve the use of third party software. diff --git a/third_party_licenses/openjdk-11/LICENSE b/third_party_licenses/openjdk-11/LICENSE new file mode 100644 index 00000000..8b400c7a --- /dev/null +++ b/third_party_licenses/openjdk-11/LICENSE @@ -0,0 +1,347 @@ +The GNU General Public License (GPL) + +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public License is intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. This General Public License applies to +most of the Free Software Foundation's software and to any other program whose +authors commit to using it. (Some other Free Software Foundation software is +covered by the GNU Library General Public License instead.) You can apply it to +your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom to +distribute copies of free software (and charge for this service if you wish), +that you receive source code or can get it if you want it, that you can change +the software or use pieces of it in new free programs; and that you know you +can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny +you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for +a fee, you must give the recipients all the rights that you have. You must +make sure that they, too, receive or can get the source code. And you must +show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If the +software is modified by someone else and passed on, we want its recipients to +know that what they have is not the original, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will +individually obtain patent licenses, in effect making the program proprietary. +To prevent this, we have made it clear that any patent must be licensed for +everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms of +this General Public License. The "Program", below, refers to any such program +or work, and a "work based on the Program" means either the Program or any +derivative work under copyright law: that is to say, a work containing the +Program or a portion of it, either verbatim or with modifications and/or +translated into another language. (Hereinafter, translation is included +without limitation in the term "modification".) Each licensee is addressed as +"you". + +Activities other than copying, distribution and modification are not covered by +this License; they are outside its scope. The act of running the Program is +not restricted, and the output from the Program is covered only if its contents +constitute a work based on the Program (independent of having been made by +running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as +you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this License +and to the absence of any warranty; and give any other recipients of the +Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may +at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, thus +forming a work based on the Program, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all of +these conditions: + + a) You must cause the modified files to carry prominent notices stating + that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in whole or + in part contains or is derived from the Program or any part thereof, to be + licensed as a whole at no charge to all third parties under the terms of + this License. + + c) If the modified program normally reads commands interactively when run, + you must cause it, when started running for such interactive use in the + most ordinary way, to print or display an announcement including an + appropriate copyright notice and a notice that there is no warranty (or + else, saying that you provide a warranty) and that users may redistribute + the program under these conditions, and telling the user how to view a copy + of this License. (Exception: if the Program itself is interactive but does + not normally print such an announcement, your work based on the Program is + not required to print an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be reasonably +considered independent and separate works in themselves, then this License, and +its terms, do not apply to those sections when you distribute them as separate +works. But when you distribute the same sections as part of a whole which is a +work based on the Program, the distribution of the whole must be on the terms +of this License, whose permissions for other licensees extend to the entire +whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise the +right to control the distribution of derivative or collective works based on +the Program. + +In addition, mere aggregation of another work not based on the Program with the +Program (or with a work based on the Program) on a volume of a storage or +distribution medium does not bring the other work under the scope of this +License. + +3. You may copy and distribute the Program (or a work based on it, under +Section 2) in object code or executable form under the terms of Sections 1 and +2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable source + code, which must be distributed under the terms of Sections 1 and 2 above + on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three years, to + give any third party, for a charge no more than your cost of physically + performing source distribution, a complete machine-readable copy of the + corresponding source code, to be distributed under the terms of Sections 1 + and 2 above on a medium customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to + distribute corresponding source code. (This alternative is allowed only + for noncommercial distribution and only if you received the program in + object code or executable form with such an offer, in accord with + Subsection b above.) + +The source code for a work means the preferred form of the work for making +modifications to it. For an executable work, complete source code means all +the source code for all modules it contains, plus any associated interface +definition files, plus the scripts used to control compilation and installation +of the executable. However, as a special exception, the source code +distributed need not include anything that is normally distributed (in either +source or binary form) with the major components (compiler, kernel, and so on) +of the operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the source +code from the same place counts as distribution of the source code, even though +third parties are not compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as +expressly provided under this License. Any attempt otherwise to copy, modify, +sublicense or distribute the Program is void, and will automatically terminate +your rights under this License. However, parties who have received copies, or +rights, from you under this License will not have their licenses terminated so +long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. +However, nothing else grants you permission to modify or distribute the Program +or its derivative works. These actions are prohibited by law if you do not +accept this License. Therefore, by modifying or distributing the Program (or +any work based on the Program), you indicate your acceptance of this License to +do so, and all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), +the recipient automatically receives a license from the original licensor to +copy, distribute or modify the Program subject to these terms and conditions. +You may not impose any further restrictions on the recipients' exercise of the +rights granted herein. You are not responsible for enforcing compliance by +third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), conditions +are imposed on you (whether by court order, agreement or otherwise) that +contradict the conditions of this License, they do not excuse you from the +conditions of this License. If you cannot distribute so as to satisfy +simultaneously your obligations under this License and any other pertinent +obligations, then as a consequence you may not distribute the Program at all. +For example, if a patent license would not permit royalty-free redistribution +of the Program by all those who receive copies directly or indirectly through +you, then the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or +other property right claims or to contest validity of any such claims; this +section has the sole purpose of protecting the integrity of the free software +distribution system, which is implemented by public license practices. Many +people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose that +choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original +copyright holder who places the Program under this License may add an explicit +geographical distribution limitation excluding those countries, so that +distribution is permitted only in or among countries not thus excluded. In +such case, this License incorporates the limitation as if written in the body +of this License. + +9. The Free Software Foundation may publish revised and/or new versions of the +General Public License from time to time. Such new versions will be similar in +spirit to the present version, but may differ in detail to address new problems +or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any later +version", you have the option of following the terms and conditions either of +that version or of any later version published by the Free Software Foundation. +If the Program does not specify a version number of this License, you may +choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software Foundation, +write to the Free Software Foundation; we sometimes make exceptions for this. +Our decision will be guided by the two goals of preserving the free status of +all derivatives of our free software and of promoting the sharing and reuse of +software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE +PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, +YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE +PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR +INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA +BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER +OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively convey the exclusion +of warranty; and each file should have at least the "copyright" line and a +pointer to where the full notice is found. + + One line to give the program's name and a brief idea of what it does. + + Copyright (C) + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when it +starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author Gnomovision comes + with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free + software, and you are welcome to redistribute it under certain conditions; + type 'show c' for details. + +The hypothetical commands 'show w' and 'show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may be +called something other than 'show w' and 'show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the program, if necessary. Here +is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + 'Gnomovision' (which makes passes at compilers) written by James Hacker. + + signature of Ty Coon, 1 April 1989 + + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General Public +License instead of this License. + + +"CLASSPATH" EXCEPTION TO THE GPL + +Certain source files distributed by Oracle America and/or its affiliates are +subject to the following clarification and special exception to the GPL, but +only where Oracle has expressly included in the particular source file's header +the words "Oracle designates this particular file as subject to the "Classpath" +exception as provided by Oracle in the LICENSE file that accompanied this code." + + Linking this library statically or dynamically with other modules is making + a combined work based on this library. Thus, the terms and conditions of + the GNU General Public License cover the whole combination. + + As a special exception, the copyright holders of this library give you + permission to link this library with independent modules to produce an + executable, regardless of the license terms of these independent modules, + and to copy and distribute the resulting executable under terms of your + choice, provided that you also meet, for each linked independent module, + the terms and conditions of the license of that module. An independent + module is a module which is not derived from or based on this library. If + you modify this library, you may extend this exception to your version of + the library, but you are not obligated to do so. If you do not wish to do + so, delete this exception statement from your version. diff --git a/third_party_licenses/tree-sitter-core/LICENSE b/third_party_licenses/tree-sitter-core/LICENSE new file mode 100644 index 00000000..971b81f9 --- /dev/null +++ b/third_party_licenses/tree-sitter-core/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 Max Brunsfeld + +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/third_party_licenses/tree-sitter-core/lib-src-unicode/LICENSE b/third_party_licenses/tree-sitter-core/lib-src-unicode/LICENSE new file mode 100644 index 00000000..2e01e368 --- /dev/null +++ b/third_party_licenses/tree-sitter-core/lib-src-unicode/LICENSE @@ -0,0 +1,414 @@ +COPYRIGHT AND PERMISSION NOTICE (ICU 58 and later) + +Copyright © 1991-2019 Unicode, Inc. All rights reserved. +Distributed under the Terms of Use in https://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Unicode data files and any associated documentation +(the "Data Files") or Unicode software and any associated documentation +(the "Software") to deal in the Data Files or Software +without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, and/or sell copies of +the Data Files or Software, and to permit persons to whom the Data Files +or Software are furnished to do so, provided that either +(a) this copyright and permission notice appear with all copies +of the Data Files or Software, or +(b) this copyright and permission notice appear in associated +Documentation. + +THE DATA FILES AND SOFTWARE ARE 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 OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS +NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL +DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THE DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, +use or other dealings in these Data Files or Software without prior +written authorization of the copyright holder. + +--------------------- + +Third-Party Software Licenses + +This section contains third-party software notices and/or additional +terms for licensed third-party software components included within ICU +libraries. + +1. ICU License - ICU 1.8.1 to ICU 57.1 + +COPYRIGHT AND PERMISSION NOTICE + +Copyright (c) 1995-2016 International Business Machines Corporation and others +All rights reserved. + +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, and/or sell copies of the Software, and to permit persons +to whom the Software is furnished to do so, provided that the above +copyright notice(s) and this permission notice appear in all copies of +the Software and that both the above copyright notice(s) and this +permission notice appear in supporting documentation. + +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 +OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY +SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER +RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF +CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, use +or other dealings in this Software without prior written authorization +of the copyright holder. + +All trademarks and registered trademarks mentioned herein are the +property of their respective owners. + +2. Chinese/Japanese Word Break Dictionary Data (cjdict.txt) + + # The Google Chrome software developed by Google is licensed under + # the BSD license. Other software included in this distribution is + # provided under other licenses, as set forth below. + # + # The BSD License + # http://opensource.org/licenses/bsd-license.php + # Copyright (C) 2006-2008, Google Inc. + # + # All rights reserved. + # + # Redistribution and use in source and binary forms, with or without + # modification, are permitted provided that the following conditions are met: + # + # Redistributions of source code must retain the above copyright notice, + # this list of conditions and the following disclaimer. + # Redistributions in binary form must reproduce the above + # copyright notice, this list of conditions and the following + # disclaimer in the documentation and/or other materials provided with + # the distribution. + # Neither the name of Google Inc. nor the names of its + # contributors may be used to endorse or promote products derived from + # this software without specific prior written permission. + # + # + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + # CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + # + # + # The word list in cjdict.txt are generated by combining three word lists + # listed below with further processing for compound word breaking. The + # frequency is generated with an iterative training against Google web + # corpora. + # + # * Libtabe (Chinese) + # - https://sourceforge.net/project/?group_id=1519 + # - Its license terms and conditions are shown below. + # + # * IPADIC (Japanese) + # - http://chasen.aist-nara.ac.jp/chasen/distribution.html + # - Its license terms and conditions are shown below. + # + # ---------COPYING.libtabe ---- BEGIN-------------------- + # + # /* + # * Copyright (c) 1999 TaBE Project. + # * Copyright (c) 1999 Pai-Hsiang Hsiao. + # * All rights reserved. + # * + # * Redistribution and use in source and binary forms, with or without + # * modification, are permitted provided that the following conditions + # * are met: + # * + # * . Redistributions of source code must retain the above copyright + # * notice, this list of conditions and the following disclaimer. + # * . Redistributions in binary form must reproduce the above copyright + # * notice, this list of conditions and the following disclaimer in + # * the documentation and/or other materials provided with the + # * distribution. + # * . Neither the name of the TaBE Project nor the names of its + # * contributors may be used to endorse or promote products derived + # * from this software without specific prior written permission. + # * + # * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + # * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + # * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + # * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + # * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + # * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + # * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + # * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + # * OF THE POSSIBILITY OF SUCH DAMAGE. + # */ + # + # /* + # * Copyright (c) 1999 Computer Systems and Communication Lab, + # * Institute of Information Science, Academia + # * Sinica. All rights reserved. + # * + # * Redistribution and use in source and binary forms, with or without + # * modification, are permitted provided that the following conditions + # * are met: + # * + # * . Redistributions of source code must retain the above copyright + # * notice, this list of conditions and the following disclaimer. + # * . Redistributions in binary form must reproduce the above copyright + # * notice, this list of conditions and the following disclaimer in + # * the documentation and/or other materials provided with the + # * distribution. + # * . Neither the name of the Computer Systems and Communication Lab + # * nor the names of its contributors may be used to endorse or + # * promote products derived from this software without specific + # * prior written permission. + # * + # * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + # * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + # * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + # * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + # * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + # * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + # * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + # * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + # * OF THE POSSIBILITY OF SUCH DAMAGE. + # */ + # + # Copyright 1996 Chih-Hao Tsai @ Beckman Institute, + # University of Illinois + # c-tsai4@uiuc.edu http://casper.beckman.uiuc.edu/~c-tsai4 + # + # ---------------COPYING.libtabe-----END-------------------------------- + # + # + # ---------------COPYING.ipadic-----BEGIN------------------------------- + # + # Copyright 2000, 2001, 2002, 2003 Nara Institute of Science + # and Technology. All Rights Reserved. + # + # Use, reproduction, and distribution of this software is permitted. + # Any copy of this software, whether in its original form or modified, + # must include both the above copyright notice and the following + # paragraphs. + # + # Nara Institute of Science and Technology (NAIST), + # the copyright holders, disclaims all warranties with regard to this + # software, including all implied warranties of merchantability and + # fitness, in no event shall NAIST be liable for + # any special, indirect or consequential damages or any damages + # whatsoever resulting from loss of use, data or profits, whether in an + # action of contract, negligence or other tortuous action, arising out + # of or in connection with the use or performance of this software. + # + # A large portion of the dictionary entries + # originate from ICOT Free Software. The following conditions for ICOT + # Free Software applies to the current dictionary as well. + # + # Each User may also freely distribute the Program, whether in its + # original form or modified, to any third party or parties, PROVIDED + # that the provisions of Section 3 ("NO WARRANTY") will ALWAYS appear + # on, or be attached to, the Program, which is distributed substantially + # in the same form as set out herein and that such intended + # distribution, if actually made, will neither violate or otherwise + # contravene any of the laws and regulations of the countries having + # jurisdiction over the User or the intended distribution itself. + # + # NO WARRANTY + # + # The program was produced on an experimental basis in the course of the + # research and development conducted during the project and is provided + # to users as so produced on an experimental basis. Accordingly, the + # program is provided without any warranty whatsoever, whether express, + # implied, statutory or otherwise. The term "warranty" used herein + # includes, but is not limited to, any warranty of the quality, + # performance, merchantability and fitness for a particular purpose of + # the program and the nonexistence of any infringement or violation of + # any right of any third party. + # + # Each user of the program will agree and understand, and be deemed to + # have agreed and understood, that there is no warranty whatsoever for + # the program and, accordingly, the entire risk arising from or + # otherwise connected with the program is assumed by the user. + # + # Therefore, neither ICOT, the copyright holder, or any other + # organization that participated in or was otherwise related to the + # development of the program and their respective officials, directors, + # officers and other employees shall be held liable for any and all + # damages, including, without limitation, general, special, incidental + # and consequential damages, arising out of or otherwise in connection + # with the use or inability to use the program or any product, material + # or result produced or otherwise obtained by using the program, + # regardless of whether they have been advised of, or otherwise had + # knowledge of, the possibility of such damages at any time during the + # project or thereafter. Each user will be deemed to have agreed to the + # foregoing by his or her commencement of use of the program. The term + # "use" as used herein includes, but is not limited to, the use, + # modification, copying and distribution of the program and the + # production of secondary products from the program. + # + # In the case where the program, whether in its original form or + # modified, was distributed or delivered to or received by a user from + # any person, organization or entity other than ICOT, unless it makes or + # grants independently of ICOT any specific warranty to the user in + # writing, such person, organization or entity, will also be exempted + # from and not be held liable to the user for any such damages as noted + # above as far as the program is concerned. + # + # ---------------COPYING.ipadic-----END---------------------------------- + +3. Lao Word Break Dictionary Data (laodict.txt) + + # Copyright (c) 2013 International Business Machines Corporation + # and others. All Rights Reserved. + # + # Project: http://code.google.com/p/lao-dictionary/ + # Dictionary: http://lao-dictionary.googlecode.com/git/Lao-Dictionary.txt + # License: http://lao-dictionary.googlecode.com/git/Lao-Dictionary-LICENSE.txt + # (copied below) + # + # This file is derived from the above dictionary, with slight + # modifications. + # ---------------------------------------------------------------------- + # Copyright (C) 2013 Brian Eugene Wilson, Robert Martin Campbell. + # All rights reserved. + # + # Redistribution and use in source and binary forms, with or without + # modification, + # are permitted provided that the following conditions are met: + # + # + # Redistributions of source code must retain the above copyright notice, this + # list of conditions and the following disclaimer. Redistributions in + # binary form must reproduce the above copyright notice, this list of + # conditions and the following disclaimer in the documentation and/or + # other materials provided with the distribution. + # + # + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + # OF THE POSSIBILITY OF SUCH DAMAGE. + # -------------------------------------------------------------------------- + +4. Burmese Word Break Dictionary Data (burmesedict.txt) + + # Copyright (c) 2014 International Business Machines Corporation + # and others. All Rights Reserved. + # + # This list is part of a project hosted at: + # github.com/kanyawtech/myanmar-karen-word-lists + # + # -------------------------------------------------------------------------- + # Copyright (c) 2013, LeRoy Benjamin Sharon + # All rights reserved. + # + # Redistribution and use in source and binary forms, with or without + # modification, are permitted provided that the following conditions + # are met: Redistributions of source code must retain the above + # copyright notice, this list of conditions and the following + # disclaimer. Redistributions in binary form must reproduce the + # above copyright notice, this list of conditions and the following + # disclaimer in the documentation and/or other materials provided + # with the distribution. + # + # Neither the name Myanmar Karen Word Lists, nor the names of its + # contributors may be used to endorse or promote products derived + # from this software without specific prior written permission. + # + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + # CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS + # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + # TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF + # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + # SUCH DAMAGE. + # -------------------------------------------------------------------------- + +5. Time Zone Database + + ICU uses the public domain data and code derived from Time Zone +Database for its time zone support. The ownership of the TZ database +is explained in BCP 175: Procedure for Maintaining the Time Zone +Database section 7. + + # 7. Database Ownership + # + # The TZ database itself is not an IETF Contribution or an IETF + # document. Rather it is a pre-existing and regularly updated work + # that is in the public domain, and is intended to remain in the + # public domain. Therefore, BCPs 78 [RFC5378] and 79 [RFC3979] do + # not apply to the TZ Database or contributions that individuals make + # to it. Should any claims be made and substantiated against the TZ + # Database, the organization that is providing the IANA + # Considerations defined in this RFC, under the memorandum of + # understanding with the IETF, currently ICANN, may act in accordance + # with all competent court orders. No ownership claims will be made + # by ICANN or the IETF Trust on the database or the code. Any person + # making a contribution to the database or code waives all rights to + # future claims in that contribution or in the TZ Database. + +6. Google double-conversion + +Copyright 2006-2011, the V8 project authors. All rights reserved. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/third_party_licenses/unicode/LICENSE b/third_party_licenses/unicode/LICENSE new file mode 100644 index 00000000..56da5891 --- /dev/null +++ b/third_party_licenses/unicode/LICENSE @@ -0,0 +1,39 @@ +UNICODE LICENSE V3 + +COPYRIGHT AND PERMISSION NOTICE + +Copyright © 1991-2026 Unicode, Inc. + +NOTICE TO USER: Carefully read the following legal agreement. BY +DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR +SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE +TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT +DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of data files and any associated documentation (the "Data Files") or +software and any associated documentation (the "Software") to deal in the +Data Files or Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, and/or sell +copies of the Data Files or Software, and to permit persons to whom the +Data Files or Software are furnished to do so, provided that either (a) +this copyright and permission notice appear with all copies of the Data +Files or Software, or (b) this copyright and permission notice appear in +associated Documentation. + +THE DATA FILES AND SOFTWARE ARE 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 OF +THIRD PARTY RIGHTS. + +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE +BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, +OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA +FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall +not be used in advertising or otherwise to promote the sale, use or other +dealings in these Data Files or Software without prior written +authorization of the copyright holder. diff --git a/third_party_licenses/zig/LICENSE b/third_party_licenses/zig/LICENSE new file mode 100644 index 00000000..9ce01373 --- /dev/null +++ b/third_party_licenses/zig/LICENSE @@ -0,0 +1,21 @@ +The MIT License (Expat) + +Copyright (c) Zig contributors + +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-agda/src/main/resources/lib/aarch64-linux-android-tree-sitter-agda.so b/tree-sitter-agda/src/main/resources/lib/aarch64-linux-android-tree-sitter-agda.so new file mode 100755 index 00000000..c7601958 Binary files /dev/null and b/tree-sitter-agda/src/main/resources/lib/aarch64-linux-android-tree-sitter-agda.so differ diff --git a/tree-sitter-bash/src/main/resources/lib/aarch64-linux-android-tree-sitter-bash.so b/tree-sitter-bash/src/main/resources/lib/aarch64-linux-android-tree-sitter-bash.so new file mode 100755 index 00000000..1f48aff9 Binary files /dev/null and b/tree-sitter-bash/src/main/resources/lib/aarch64-linux-android-tree-sitter-bash.so differ diff --git a/tree-sitter-c-sharp/src/main/resources/lib/aarch64-linux-android-tree-sitter-c-sharp.so b/tree-sitter-c-sharp/src/main/resources/lib/aarch64-linux-android-tree-sitter-c-sharp.so new file mode 100755 index 00000000..182dfa24 Binary files /dev/null and b/tree-sitter-c-sharp/src/main/resources/lib/aarch64-linux-android-tree-sitter-c-sharp.so differ diff --git a/tree-sitter-c/src/main/resources/lib/aarch64-linux-android-tree-sitter-c.so b/tree-sitter-c/src/main/resources/lib/aarch64-linux-android-tree-sitter-c.so new file mode 100755 index 00000000..732dcd2b Binary files /dev/null and b/tree-sitter-c/src/main/resources/lib/aarch64-linux-android-tree-sitter-c.so differ diff --git a/tree-sitter-cpp/src/main/resources/lib/aarch64-linux-android-tree-sitter-cpp.so b/tree-sitter-cpp/src/main/resources/lib/aarch64-linux-android-tree-sitter-cpp.so new file mode 100755 index 00000000..5d6a67dc Binary files /dev/null and b/tree-sitter-cpp/src/main/resources/lib/aarch64-linux-android-tree-sitter-cpp.so differ diff --git a/tree-sitter-css/src/main/resources/lib/aarch64-linux-android-tree-sitter-css.so b/tree-sitter-css/src/main/resources/lib/aarch64-linux-android-tree-sitter-css.so new file mode 100755 index 00000000..03c33035 Binary files /dev/null and b/tree-sitter-css/src/main/resources/lib/aarch64-linux-android-tree-sitter-css.so differ diff --git a/tree-sitter-css/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-css.so b/tree-sitter-css/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-css.so old mode 100644 new mode 100755 index f93d4ea0..c85ee184 Binary files a/tree-sitter-css/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-css.so and b/tree-sitter-css/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-css.so differ diff --git a/tree-sitter-css/src/main/resources/lib/aarch64-macos-tree-sitter-css.dylib b/tree-sitter-css/src/main/resources/lib/aarch64-macos-tree-sitter-css.dylib index 29c7fcf5..9edec352 100644 Binary files a/tree-sitter-css/src/main/resources/lib/aarch64-macos-tree-sitter-css.dylib and b/tree-sitter-css/src/main/resources/lib/aarch64-macos-tree-sitter-css.dylib differ diff --git a/tree-sitter-css/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-css.so b/tree-sitter-css/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-css.so old mode 100644 new mode 100755 index 9e685a4a..7d62bdf9 Binary files a/tree-sitter-css/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-css.so and b/tree-sitter-css/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-css.so differ diff --git a/tree-sitter-css/src/main/resources/lib/x86_64-macos-tree-sitter-css.dylib b/tree-sitter-css/src/main/resources/lib/x86_64-macos-tree-sitter-css.dylib index fb16fd0b..1ccc8117 100644 Binary files a/tree-sitter-css/src/main/resources/lib/x86_64-macos-tree-sitter-css.dylib and b/tree-sitter-css/src/main/resources/lib/x86_64-macos-tree-sitter-css.dylib differ diff --git a/tree-sitter-css/src/main/resources/lib/x86_64-windows-tree-sitter-css.dll b/tree-sitter-css/src/main/resources/lib/x86_64-windows-tree-sitter-css.dll old mode 100644 new mode 100755 index 92726c88..074036de Binary files a/tree-sitter-css/src/main/resources/lib/x86_64-windows-tree-sitter-css.dll and b/tree-sitter-css/src/main/resources/lib/x86_64-windows-tree-sitter-css.dll differ diff --git a/tree-sitter-embedded-template/src/main/resources/lib/aarch64-linux-android-tree-sitter-embedded-template.so b/tree-sitter-embedded-template/src/main/resources/lib/aarch64-linux-android-tree-sitter-embedded-template.so new file mode 100755 index 00000000..a97289f9 Binary files /dev/null and b/tree-sitter-embedded-template/src/main/resources/lib/aarch64-linux-android-tree-sitter-embedded-template.so differ diff --git a/tree-sitter-go/src/main/resources/lib/aarch64-linux-android-tree-sitter-go.so b/tree-sitter-go/src/main/resources/lib/aarch64-linux-android-tree-sitter-go.so new file mode 100755 index 00000000..9e5adc03 Binary files /dev/null and b/tree-sitter-go/src/main/resources/lib/aarch64-linux-android-tree-sitter-go.so differ diff --git a/tree-sitter-go/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-go.so b/tree-sitter-go/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-go.so old mode 100644 new mode 100755 index 922e3b49..502f1fbd Binary files a/tree-sitter-go/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-go.so and b/tree-sitter-go/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-go.so differ diff --git a/tree-sitter-go/src/main/resources/lib/aarch64-macos-tree-sitter-go.dylib b/tree-sitter-go/src/main/resources/lib/aarch64-macos-tree-sitter-go.dylib index bc51c469..eff87ad6 100644 Binary files a/tree-sitter-go/src/main/resources/lib/aarch64-macos-tree-sitter-go.dylib and b/tree-sitter-go/src/main/resources/lib/aarch64-macos-tree-sitter-go.dylib differ diff --git a/tree-sitter-go/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-go.so b/tree-sitter-go/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-go.so old mode 100644 new mode 100755 index 938069c5..42e81e9e Binary files a/tree-sitter-go/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-go.so and b/tree-sitter-go/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-go.so differ diff --git a/tree-sitter-go/src/main/resources/lib/x86_64-macos-tree-sitter-go.dylib b/tree-sitter-go/src/main/resources/lib/x86_64-macos-tree-sitter-go.dylib index d8d9a264..bea217ab 100644 Binary files a/tree-sitter-go/src/main/resources/lib/x86_64-macos-tree-sitter-go.dylib and b/tree-sitter-go/src/main/resources/lib/x86_64-macos-tree-sitter-go.dylib differ diff --git a/tree-sitter-go/src/main/resources/lib/x86_64-windows-tree-sitter-go.dll b/tree-sitter-go/src/main/resources/lib/x86_64-windows-tree-sitter-go.dll old mode 100644 new mode 100755 index befdd7ff..fe9077c0 Binary files a/tree-sitter-go/src/main/resources/lib/x86_64-windows-tree-sitter-go.dll and b/tree-sitter-go/src/main/resources/lib/x86_64-windows-tree-sitter-go.dll differ diff --git a/tree-sitter-haskell/src/main/resources/lib/aarch64-linux-android-tree-sitter-haskell.so b/tree-sitter-haskell/src/main/resources/lib/aarch64-linux-android-tree-sitter-haskell.so new file mode 100755 index 00000000..eb5f2e67 Binary files /dev/null and b/tree-sitter-haskell/src/main/resources/lib/aarch64-linux-android-tree-sitter-haskell.so differ diff --git a/tree-sitter-html/src/main/resources/lib/aarch64-linux-android-tree-sitter-html.so b/tree-sitter-html/src/main/resources/lib/aarch64-linux-android-tree-sitter-html.so new file mode 100755 index 00000000..dad908e0 Binary files /dev/null and b/tree-sitter-html/src/main/resources/lib/aarch64-linux-android-tree-sitter-html.so differ diff --git a/tree-sitter-html/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-html.so b/tree-sitter-html/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-html.so old mode 100644 new mode 100755 index 3e906a92..c93b7ded Binary files a/tree-sitter-html/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-html.so and b/tree-sitter-html/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-html.so differ diff --git a/tree-sitter-html/src/main/resources/lib/aarch64-macos-tree-sitter-html.dylib b/tree-sitter-html/src/main/resources/lib/aarch64-macos-tree-sitter-html.dylib index d9c4ef0a..c063f263 100644 Binary files a/tree-sitter-html/src/main/resources/lib/aarch64-macos-tree-sitter-html.dylib and b/tree-sitter-html/src/main/resources/lib/aarch64-macos-tree-sitter-html.dylib differ diff --git a/tree-sitter-html/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-html.so b/tree-sitter-html/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-html.so old mode 100644 new mode 100755 index fbc3f2af..c1187c1a Binary files a/tree-sitter-html/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-html.so and b/tree-sitter-html/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-html.so differ diff --git a/tree-sitter-html/src/main/resources/lib/x86_64-macos-tree-sitter-html.dylib b/tree-sitter-html/src/main/resources/lib/x86_64-macos-tree-sitter-html.dylib index 1679c7d5..928cbc1e 100644 Binary files a/tree-sitter-html/src/main/resources/lib/x86_64-macos-tree-sitter-html.dylib and b/tree-sitter-html/src/main/resources/lib/x86_64-macos-tree-sitter-html.dylib differ diff --git a/tree-sitter-html/src/main/resources/lib/x86_64-windows-tree-sitter-html.dll b/tree-sitter-html/src/main/resources/lib/x86_64-windows-tree-sitter-html.dll old mode 100644 new mode 100755 index 3f2af47b..0477acb7 Binary files a/tree-sitter-html/src/main/resources/lib/x86_64-windows-tree-sitter-html.dll and b/tree-sitter-html/src/main/resources/lib/x86_64-windows-tree-sitter-html.dll differ diff --git a/tree-sitter-java/src/main/resources/lib/aarch64-linux-android-tree-sitter-java.so b/tree-sitter-java/src/main/resources/lib/aarch64-linux-android-tree-sitter-java.so new file mode 100755 index 00000000..457a5a72 Binary files /dev/null and b/tree-sitter-java/src/main/resources/lib/aarch64-linux-android-tree-sitter-java.so differ diff --git a/tree-sitter-java/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-java.so b/tree-sitter-java/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-java.so old mode 100644 new mode 100755 index bcd9f839..d531c3c9 Binary files a/tree-sitter-java/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-java.so and b/tree-sitter-java/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-java.so differ diff --git a/tree-sitter-java/src/main/resources/lib/aarch64-macos-tree-sitter-java.dylib b/tree-sitter-java/src/main/resources/lib/aarch64-macos-tree-sitter-java.dylib index 900867a7..fdbb0eef 100644 Binary files a/tree-sitter-java/src/main/resources/lib/aarch64-macos-tree-sitter-java.dylib and b/tree-sitter-java/src/main/resources/lib/aarch64-macos-tree-sitter-java.dylib differ diff --git a/tree-sitter-java/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-java.so b/tree-sitter-java/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-java.so old mode 100644 new mode 100755 index 52552d3d..19886a7c Binary files a/tree-sitter-java/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-java.so and b/tree-sitter-java/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-java.so differ diff --git a/tree-sitter-java/src/main/resources/lib/x86_64-macos-tree-sitter-java.dylib b/tree-sitter-java/src/main/resources/lib/x86_64-macos-tree-sitter-java.dylib index 42840f33..6193e58e 100644 Binary files a/tree-sitter-java/src/main/resources/lib/x86_64-macos-tree-sitter-java.dylib and b/tree-sitter-java/src/main/resources/lib/x86_64-macos-tree-sitter-java.dylib differ diff --git a/tree-sitter-java/src/main/resources/lib/x86_64-windows-tree-sitter-java.dll b/tree-sitter-java/src/main/resources/lib/x86_64-windows-tree-sitter-java.dll old mode 100644 new mode 100755 index 8896cea3..09379d7d Binary files a/tree-sitter-java/src/main/resources/lib/x86_64-windows-tree-sitter-java.dll and b/tree-sitter-java/src/main/resources/lib/x86_64-windows-tree-sitter-java.dll differ diff --git a/tree-sitter-javascript/src/main/resources/lib/aarch64-linux-android-tree-sitter-javascript.so b/tree-sitter-javascript/src/main/resources/lib/aarch64-linux-android-tree-sitter-javascript.so new file mode 100755 index 00000000..2ed425db Binary files /dev/null and b/tree-sitter-javascript/src/main/resources/lib/aarch64-linux-android-tree-sitter-javascript.so differ diff --git a/tree-sitter-javascript/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-javascript.so b/tree-sitter-javascript/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-javascript.so old mode 100644 new mode 100755 index 09491e0f..1d1b56d2 Binary files a/tree-sitter-javascript/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-javascript.so and b/tree-sitter-javascript/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-javascript.so differ diff --git a/tree-sitter-javascript/src/main/resources/lib/aarch64-macos-tree-sitter-javascript.dylib b/tree-sitter-javascript/src/main/resources/lib/aarch64-macos-tree-sitter-javascript.dylib index 07759ca2..2945b898 100644 Binary files a/tree-sitter-javascript/src/main/resources/lib/aarch64-macos-tree-sitter-javascript.dylib and b/tree-sitter-javascript/src/main/resources/lib/aarch64-macos-tree-sitter-javascript.dylib differ diff --git a/tree-sitter-javascript/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-javascript.so b/tree-sitter-javascript/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-javascript.so old mode 100644 new mode 100755 index 9cd682d1..7adbfee9 Binary files a/tree-sitter-javascript/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-javascript.so and b/tree-sitter-javascript/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-javascript.so differ diff --git a/tree-sitter-javascript/src/main/resources/lib/x86_64-macos-tree-sitter-javascript.dylib b/tree-sitter-javascript/src/main/resources/lib/x86_64-macos-tree-sitter-javascript.dylib index 384c99cc..d0b7239e 100644 Binary files a/tree-sitter-javascript/src/main/resources/lib/x86_64-macos-tree-sitter-javascript.dylib and b/tree-sitter-javascript/src/main/resources/lib/x86_64-macos-tree-sitter-javascript.dylib differ diff --git a/tree-sitter-javascript/src/main/resources/lib/x86_64-windows-tree-sitter-javascript.dll b/tree-sitter-javascript/src/main/resources/lib/x86_64-windows-tree-sitter-javascript.dll old mode 100644 new mode 100755 index 5ae9d299..a90b6b17 Binary files a/tree-sitter-javascript/src/main/resources/lib/x86_64-windows-tree-sitter-javascript.dll and b/tree-sitter-javascript/src/main/resources/lib/x86_64-windows-tree-sitter-javascript.dll differ diff --git a/tree-sitter-json/src/main/resources/lib/aarch64-linux-android-tree-sitter-json.so b/tree-sitter-json/src/main/resources/lib/aarch64-linux-android-tree-sitter-json.so new file mode 100755 index 00000000..fcd78253 Binary files /dev/null and b/tree-sitter-json/src/main/resources/lib/aarch64-linux-android-tree-sitter-json.so differ diff --git a/tree-sitter-json/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-json.so b/tree-sitter-json/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-json.so old mode 100644 new mode 100755 index 1fe84a3b..7408a770 Binary files a/tree-sitter-json/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-json.so and b/tree-sitter-json/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-json.so differ diff --git a/tree-sitter-json/src/main/resources/lib/aarch64-macos-tree-sitter-json.dylib b/tree-sitter-json/src/main/resources/lib/aarch64-macos-tree-sitter-json.dylib index 733a7795..70d9386d 100644 Binary files a/tree-sitter-json/src/main/resources/lib/aarch64-macos-tree-sitter-json.dylib and b/tree-sitter-json/src/main/resources/lib/aarch64-macos-tree-sitter-json.dylib differ diff --git a/tree-sitter-json/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-json.so b/tree-sitter-json/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-json.so old mode 100644 new mode 100755 index 91ecef59..d05ddcb7 Binary files a/tree-sitter-json/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-json.so and b/tree-sitter-json/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-json.so differ diff --git a/tree-sitter-json/src/main/resources/lib/x86_64-macos-tree-sitter-json.dylib b/tree-sitter-json/src/main/resources/lib/x86_64-macos-tree-sitter-json.dylib index 413c6e5d..33e57991 100644 Binary files a/tree-sitter-json/src/main/resources/lib/x86_64-macos-tree-sitter-json.dylib and b/tree-sitter-json/src/main/resources/lib/x86_64-macos-tree-sitter-json.dylib differ diff --git a/tree-sitter-json/src/main/resources/lib/x86_64-windows-tree-sitter-json.dll b/tree-sitter-json/src/main/resources/lib/x86_64-windows-tree-sitter-json.dll old mode 100644 new mode 100755 index 5dd8576a..7909cad7 Binary files a/tree-sitter-json/src/main/resources/lib/x86_64-windows-tree-sitter-json.dll and b/tree-sitter-json/src/main/resources/lib/x86_64-windows-tree-sitter-json.dll differ diff --git a/tree-sitter-julia/src/main/resources/lib/aarch64-linux-android-tree-sitter-julia.so b/tree-sitter-julia/src/main/resources/lib/aarch64-linux-android-tree-sitter-julia.so new file mode 100755 index 00000000..6f991520 Binary files /dev/null and b/tree-sitter-julia/src/main/resources/lib/aarch64-linux-android-tree-sitter-julia.so differ diff --git a/tree-sitter-ocaml/build.gradle b/tree-sitter-ocaml/build.gradle index 643035e4..20f17b3d 100644 --- a/tree-sitter-ocaml/build.gradle +++ b/tree-sitter-ocaml/build.gradle @@ -1,3 +1,11 @@ tasks.named('downloadSource') { url = "https://github.com/tree-sitter/tree-sitter-ocaml/archive/refs/tags/v${libVersion}.zip" -} \ No newline at end of file +} + +tasks.named("buildNative") { + def newSrcDir = srcDir.dir("grammars/ocaml/src") + additionalCFiles = newSrcDir.asFileTree.matching { + include("**/*.c") + } + additionalIncludeDirs = [newSrcDir] +} diff --git a/tree-sitter-ocaml/src/main/resources/lib/aarch64-linux-android-tree-sitter-ocaml.so b/tree-sitter-ocaml/src/main/resources/lib/aarch64-linux-android-tree-sitter-ocaml.so new file mode 100755 index 00000000..3b81d604 Binary files /dev/null and b/tree-sitter-ocaml/src/main/resources/lib/aarch64-linux-android-tree-sitter-ocaml.so differ diff --git a/tree-sitter-php/src/main/resources/lib/aarch64-linux-android-tree-sitter-php.so b/tree-sitter-php/src/main/resources/lib/aarch64-linux-android-tree-sitter-php.so new file mode 100755 index 00000000..2695361f Binary files /dev/null and b/tree-sitter-php/src/main/resources/lib/aarch64-linux-android-tree-sitter-php.so differ diff --git a/tree-sitter-python/src/main/resources/lib/aarch64-linux-android-tree-sitter-python.so b/tree-sitter-python/src/main/resources/lib/aarch64-linux-android-tree-sitter-python.so new file mode 100755 index 00000000..5cc8c119 Binary files /dev/null and b/tree-sitter-python/src/main/resources/lib/aarch64-linux-android-tree-sitter-python.so differ diff --git a/tree-sitter-python/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-python.so b/tree-sitter-python/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-python.so old mode 100644 new mode 100755 index 46e8b58e..6a176b94 Binary files a/tree-sitter-python/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-python.so and b/tree-sitter-python/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-python.so differ diff --git a/tree-sitter-python/src/main/resources/lib/aarch64-macos-tree-sitter-python.dylib b/tree-sitter-python/src/main/resources/lib/aarch64-macos-tree-sitter-python.dylib index e5219127..7f1e753a 100644 Binary files a/tree-sitter-python/src/main/resources/lib/aarch64-macos-tree-sitter-python.dylib and b/tree-sitter-python/src/main/resources/lib/aarch64-macos-tree-sitter-python.dylib differ diff --git a/tree-sitter-python/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-python.so b/tree-sitter-python/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-python.so old mode 100644 new mode 100755 index 59ecc48f..10000f05 Binary files a/tree-sitter-python/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-python.so and b/tree-sitter-python/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-python.so differ diff --git a/tree-sitter-python/src/main/resources/lib/x86_64-macos-tree-sitter-python.dylib b/tree-sitter-python/src/main/resources/lib/x86_64-macos-tree-sitter-python.dylib index e94040d8..c2a6f6ad 100644 Binary files a/tree-sitter-python/src/main/resources/lib/x86_64-macos-tree-sitter-python.dylib and b/tree-sitter-python/src/main/resources/lib/x86_64-macos-tree-sitter-python.dylib differ diff --git a/tree-sitter-python/src/main/resources/lib/x86_64-windows-tree-sitter-python.dll b/tree-sitter-python/src/main/resources/lib/x86_64-windows-tree-sitter-python.dll old mode 100644 new mode 100755 index 77e2f739..2414133c Binary files a/tree-sitter-python/src/main/resources/lib/x86_64-windows-tree-sitter-python.dll and b/tree-sitter-python/src/main/resources/lib/x86_64-windows-tree-sitter-python.dll differ diff --git a/tree-sitter-regex/src/main/resources/lib/aarch64-linux-android-tree-sitter-regex.so b/tree-sitter-regex/src/main/resources/lib/aarch64-linux-android-tree-sitter-regex.so new file mode 100755 index 00000000..f9b9b166 Binary files /dev/null and b/tree-sitter-regex/src/main/resources/lib/aarch64-linux-android-tree-sitter-regex.so differ diff --git a/tree-sitter-ruby/src/main/resources/lib/aarch64-linux-android-tree-sitter-ruby.so b/tree-sitter-ruby/src/main/resources/lib/aarch64-linux-android-tree-sitter-ruby.so new file mode 100755 index 00000000..25252551 Binary files /dev/null and b/tree-sitter-ruby/src/main/resources/lib/aarch64-linux-android-tree-sitter-ruby.so differ diff --git a/tree-sitter-rust/src/main/resources/lib/aarch64-linux-android-tree-sitter-rust.so b/tree-sitter-rust/src/main/resources/lib/aarch64-linux-android-tree-sitter-rust.so new file mode 100755 index 00000000..e547c097 Binary files /dev/null and b/tree-sitter-rust/src/main/resources/lib/aarch64-linux-android-tree-sitter-rust.so differ diff --git a/tree-sitter-scala/src/main/resources/lib/aarch64-linux-android-tree-sitter-scala.so b/tree-sitter-scala/src/main/resources/lib/aarch64-linux-android-tree-sitter-scala.so new file mode 100755 index 00000000..7fcb0624 Binary files /dev/null and b/tree-sitter-scala/src/main/resources/lib/aarch64-linux-android-tree-sitter-scala.so differ diff --git a/tree-sitter-tsx/src/main/resources/lib/aarch64-linux-android-tree-sitter-tsx.so b/tree-sitter-tsx/src/main/resources/lib/aarch64-linux-android-tree-sitter-tsx.so new file mode 100755 index 00000000..410aa97e Binary files /dev/null and b/tree-sitter-tsx/src/main/resources/lib/aarch64-linux-android-tree-sitter-tsx.so differ diff --git a/tree-sitter-typescript/src/main/resources/lib/aarch64-linux-android-tree-sitter-typescript.so b/tree-sitter-typescript/src/main/resources/lib/aarch64-linux-android-tree-sitter-typescript.so new file mode 100755 index 00000000..1017388c Binary files /dev/null and b/tree-sitter-typescript/src/main/resources/lib/aarch64-linux-android-tree-sitter-typescript.so differ diff --git a/tree-sitter-typescript/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-typescript.so b/tree-sitter-typescript/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-typescript.so old mode 100644 new mode 100755 index 9a9670f2..7bb99fb8 Binary files a/tree-sitter-typescript/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-typescript.so and b/tree-sitter-typescript/src/main/resources/lib/aarch64-linux-gnu-tree-sitter-typescript.so differ diff --git a/tree-sitter-typescript/src/main/resources/lib/aarch64-macos-tree-sitter-typescript.dylib b/tree-sitter-typescript/src/main/resources/lib/aarch64-macos-tree-sitter-typescript.dylib index a425c662..09917ffc 100644 Binary files a/tree-sitter-typescript/src/main/resources/lib/aarch64-macos-tree-sitter-typescript.dylib and b/tree-sitter-typescript/src/main/resources/lib/aarch64-macos-tree-sitter-typescript.dylib differ diff --git a/tree-sitter-typescript/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-typescript.so b/tree-sitter-typescript/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-typescript.so old mode 100644 new mode 100755 index 97f7ef8d..30363e83 Binary files a/tree-sitter-typescript/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-typescript.so and b/tree-sitter-typescript/src/main/resources/lib/x86_64-linux-gnu-tree-sitter-typescript.so differ diff --git a/tree-sitter-typescript/src/main/resources/lib/x86_64-macos-tree-sitter-typescript.dylib b/tree-sitter-typescript/src/main/resources/lib/x86_64-macos-tree-sitter-typescript.dylib index 96672b9b..b76fb1c2 100644 Binary files a/tree-sitter-typescript/src/main/resources/lib/x86_64-macos-tree-sitter-typescript.dylib and b/tree-sitter-typescript/src/main/resources/lib/x86_64-macos-tree-sitter-typescript.dylib differ diff --git a/tree-sitter-typescript/src/main/resources/lib/x86_64-windows-tree-sitter-typescript.dll b/tree-sitter-typescript/src/main/resources/lib/x86_64-windows-tree-sitter-typescript.dll old mode 100644 new mode 100755 index b6f542a4..e80248dd Binary files a/tree-sitter-typescript/src/main/resources/lib/x86_64-windows-tree-sitter-typescript.dll and b/tree-sitter-typescript/src/main/resources/lib/x86_64-windows-tree-sitter-typescript.dll differ diff --git a/tree-sitter-verilog/src/main/resources/lib/aarch64-linux-android-tree-sitter-verilog.so b/tree-sitter-verilog/src/main/resources/lib/aarch64-linux-android-tree-sitter-verilog.so new file mode 100755 index 00000000..82756206 Binary files /dev/null and b/tree-sitter-verilog/src/main/resources/lib/aarch64-linux-android-tree-sitter-verilog.so differ diff --git a/tree-sitter/src/main/c/org_treesitter_TSParser.c b/tree-sitter/src/main/c/org_treesitter_TSParser.c index 599922ab..a0eb0fc2 100644 --- a/tree-sitter/src/main/c/org_treesitter_TSParser.c +++ b/tree-sitter/src/main/c/org_treesitter_TSParser.c @@ -38,7 +38,7 @@ JavaVM* java_vm = NULL; jint JNI_OnLoad(JavaVM* vm, void* reserved) { java_vm = vm; - return JNI_VERSION_10; + return JNI_VERSION_1_6; } jfieldID ts_jni_get_field_id(JNIEnv *env, jclass clz, const char *field_name, const char*field_type){ @@ -2050,4 +2050,4 @@ JNIEXPORT jlong JNICALL Java_org_treesitter_TSParser_ts_1load_1lang const TSLanguage *ts_lang = lang_fn(); return (jlong) ts_lang; -} \ No newline at end of file +} diff --git a/tree-sitter/src/main/java/org/treesitter/utils/NativeUtils.java b/tree-sitter/src/main/java/org/treesitter/utils/NativeUtils.java index a48c676a..3c3efe6e 100644 --- a/tree-sitter/src/main/java/org/treesitter/utils/NativeUtils.java +++ b/tree-sitter/src/main/java/org/treesitter/utils/NativeUtils.java @@ -122,6 +122,15 @@ public synchronized static void loadLib(String libName) { if (loadedLibs.contains(libName)) { return; } + String vmName = System.getProperty("java.vm.name", "").toLowerCase(); + String runtimeName = System.getProperty("java.runtime.name", "").toLowerCase(); + boolean isAndroid = vmName.contains("dalvik") || runtimeName.contains("android"); + if (isAndroid) { + String[] parts = libName.split("/"); + System.loadLibrary(parts[parts.length - 1]); + loadedLibs.add(libName); + return; + } Path path = libFile(libName); System.load(path.toAbsolutePath().toString()); loadedLibs.add(libName); diff --git a/tree-sitter/src/main/resources/lib/aarch64-linux-android-tree-sitter.so b/tree-sitter/src/main/resources/lib/aarch64-linux-android-tree-sitter.so index addc1f74..c4d7a627 100755 Binary files a/tree-sitter/src/main/resources/lib/aarch64-linux-android-tree-sitter.so and b/tree-sitter/src/main/resources/lib/aarch64-linux-android-tree-sitter.so differ diff --git a/tree-sitter/src/main/resources/lib/aarch64-linux-gnu-tree-sitter.so b/tree-sitter/src/main/resources/lib/aarch64-linux-gnu-tree-sitter.so old mode 100644 new mode 100755 index 8817bdf6..4398be2e Binary files a/tree-sitter/src/main/resources/lib/aarch64-linux-gnu-tree-sitter.so and b/tree-sitter/src/main/resources/lib/aarch64-linux-gnu-tree-sitter.so differ diff --git a/tree-sitter/src/main/resources/lib/aarch64-macos-tree-sitter.dylib b/tree-sitter/src/main/resources/lib/aarch64-macos-tree-sitter.dylib index 09209226..0f2bde17 100644 Binary files a/tree-sitter/src/main/resources/lib/aarch64-macos-tree-sitter.dylib and b/tree-sitter/src/main/resources/lib/aarch64-macos-tree-sitter.dylib differ diff --git a/tree-sitter/src/main/resources/lib/x86_64-linux-gnu-tree-sitter.so b/tree-sitter/src/main/resources/lib/x86_64-linux-gnu-tree-sitter.so old mode 100644 new mode 100755 index bbc891f7..2252d704 Binary files a/tree-sitter/src/main/resources/lib/x86_64-linux-gnu-tree-sitter.so and b/tree-sitter/src/main/resources/lib/x86_64-linux-gnu-tree-sitter.so differ diff --git a/tree-sitter/src/main/resources/lib/x86_64-macos-tree-sitter.dylib b/tree-sitter/src/main/resources/lib/x86_64-macos-tree-sitter.dylib index 8b2118c8..695a3718 100644 Binary files a/tree-sitter/src/main/resources/lib/x86_64-macos-tree-sitter.dylib and b/tree-sitter/src/main/resources/lib/x86_64-macos-tree-sitter.dylib differ diff --git a/tree-sitter/src/main/resources/lib/x86_64-windows-tree-sitter.dll b/tree-sitter/src/main/resources/lib/x86_64-windows-tree-sitter.dll old mode 100644 new mode 100755 index 31a6cd77..280dfcd5 Binary files a/tree-sitter/src/main/resources/lib/x86_64-windows-tree-sitter.dll and b/tree-sitter/src/main/resources/lib/x86_64-windows-tree-sitter.dll differ