├── .gitattributes ├── .github ├── dependabot.yml └── workflows │ ├── publish.yml │ └── test-package.yml ├── .gitignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── analysis_options.yaml ├── bin ├── batch.dart ├── license_detector_bin.dart └── pana.dart ├── build.yaml ├── dart_test.yaml ├── lib ├── models.dart ├── pana.dart └── src │ ├── analysis_options.dart │ ├── batch │ ├── batch_compare_command.dart │ ├── batch_model.dart │ ├── batch_model.g.dart │ ├── batch_query_command.dart │ └── batch_run_command.dart │ ├── code_problem.dart │ ├── dartdoc │ ├── dartdoc.dart │ ├── dartdoc_index.dart │ ├── dartdoc_index.g.dart │ ├── dartdoc_internals.dart │ ├── dartdoc_options.dart │ ├── index_to_pubdata.dart │ ├── pub_dartdoc_data.dart │ └── pub_dartdoc_data.g.dart │ ├── download_utils.dart │ ├── internal_model.dart │ ├── internal_model.g.dart │ ├── json_converters.dart │ ├── license.dart │ ├── license_detection │ ├── confidence.dart │ ├── crc32.dart │ ├── license.dart │ ├── license_detector.dart │ ├── primary_filter.dart │ ├── token_matcher.dart │ └── tokenizer.dart │ ├── logging.dart │ ├── maintenance.dart │ ├── markdown_content.dart │ ├── messages.dart │ ├── model.dart │ ├── model.g.dart │ ├── null_safety.dart │ ├── package_analyzer.dart │ ├── package_context.dart │ ├── pana_cache.dart │ ├── pkg_resolution.dart │ ├── pubspec.dart │ ├── pubspec_io.dart │ ├── references │ └── pubspec_urls.dart │ ├── report │ ├── _common.dart │ ├── create_report.dart │ ├── dependencies.dart │ ├── documentation.dart │ ├── multi_platform.dart │ ├── static_analysis.dart │ └── template.dart │ ├── repository │ ├── check_repository.dart │ ├── git_local_repository.dart │ ├── repository_url_parser.dart │ └── repository_url_resolver.dart │ ├── screenshots.dart │ ├── sdk_env.dart │ ├── tag │ ├── _common.dart │ ├── _graphs.dart │ ├── _specs.dart │ ├── _violations.dart │ ├── license_tags.dart │ ├── pana_tags.dart │ └── tagger.dart │ ├── third_party │ ├── diff_match_patch │ │ ├── .pubignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── diff.dart │ │ ├── test.dart │ │ └── utils.dart │ └── spdx │ │ ├── LICENSE │ │ ├── README.md │ │ ├── licenses.dart │ │ └── licenses │ │ ├── 0BSD.txt │ │ ├── AAL.txt │ │ ├── ADSL.txt │ │ ├── AFL-1.1.txt │ │ ├── AFL-1.2.txt │ │ ├── AFL-2.0.txt │ │ ├── AFL-2.1.txt │ │ ├── AFL-3.0.txt │ │ ├── AGPL-1.0.txt │ │ ├── AGPL-3.0.txt │ │ ├── AMDPLPA.txt │ │ ├── AML.txt │ │ ├── AMPAS.txt │ │ ├── ANTLR-PD-fallback.txt │ │ ├── ANTLR-PD.txt │ │ ├── APAFML.txt │ │ ├── APL-1.0.txt │ │ ├── APSL-1.0.txt │ │ ├── APSL-1.1.txt │ │ ├── APSL-1.2.txt │ │ ├── APSL-2.0.txt │ │ ├── Abstyles.txt │ │ ├── Adobe-2006.txt │ │ ├── Adobe-Glyph.txt │ │ ├── Afmparse.txt │ │ ├── Aladdin.txt │ │ ├── Apache-1.0.txt │ │ ├── Apache-1.1.txt │ │ ├── Apache-2.0.txt │ │ ├── App-s2p.txt │ │ ├── Arphic-1999.txt │ │ ├── Artistic-1.0-Perl.txt │ │ ├── Artistic-1.0-cl8.txt │ │ ├── Artistic-1.0.txt │ │ ├── Artistic-2.0.txt │ │ ├── BSD-1-Clause.txt │ │ ├── BSD-2-Clause-Patent.txt │ │ ├── BSD-2-Clause-Views.txt │ │ ├── BSD-2-Clause.txt │ │ ├── BSD-3-Clause-Attribution.txt │ │ ├── BSD-3-Clause-Clear.txt │ │ ├── BSD-3-Clause-LBNL.txt │ │ ├── BSD-3-Clause-Modification.txt │ │ ├── BSD-3-Clause-No-Military-License.txt │ │ ├── BSD-3-Clause-No-Nuclear-License-2014.txt │ │ ├── BSD-3-Clause-No-Nuclear-License.txt │ │ ├── BSD-3-Clause-No-Nuclear-Warranty.txt │ │ ├── BSD-3-Clause-Open-MPI.txt │ │ ├── BSD-3-Clause.txt │ │ ├── BSD-4-Clause-Shortened.txt │ │ ├── BSD-4-Clause-UC.txt │ │ ├── BSD-4-Clause.txt │ │ ├── BSD-Protection.txt │ │ ├── BSD-Source-Code.txt │ │ ├── BSL-1.0.txt │ │ ├── BUSL-1.1.txt │ │ ├── Baekmuk.txt │ │ ├── Bahyph.txt │ │ ├── Barr.txt │ │ ├── Beerware.txt │ │ ├── BitTorrent-1.0.txt │ │ ├── BitTorrent-1.1.txt │ │ ├── BlueOak-1.0.0.txt │ │ ├── Borceux.txt │ │ ├── C-UDA-1.0.txt │ │ ├── CAL-1.0-Combined-Work-Exception.txt │ │ ├── CATOSL-1.1.txt │ │ ├── CC-BY-1.0.txt │ │ ├── CC-BY-2.0.txt │ │ ├── CC-BY-2.5-AU.txt │ │ ├── CC-BY-2.5.txt │ │ ├── CC-BY-3.0-AT.txt │ │ ├── CC-BY-3.0-DE.txt │ │ ├── CC-BY-3.0-NL.txt │ │ ├── CC-BY-3.0-US.txt │ │ ├── CC-BY-3.0.txt │ │ ├── CC-BY-4.0.txt │ │ ├── CC-BY-NC-1.0.txt │ │ ├── CC-BY-NC-2.0.txt │ │ ├── CC-BY-NC-2.5.txt │ │ ├── CC-BY-NC-3.0-DE.txt │ │ ├── CC-BY-NC-3.0.txt │ │ ├── CC-BY-NC-4.0.txt │ │ ├── CC-BY-NC-ND-1.0.txt │ │ ├── CC-BY-NC-ND-2.0.txt │ │ ├── CC-BY-NC-ND-2.5.txt │ │ ├── CC-BY-NC-ND-3.0-DE.txt │ │ ├── CC-BY-NC-ND-3.0-IGO.txt │ │ ├── CC-BY-NC-ND-3.0.txt │ │ ├── CC-BY-NC-ND-4.0.txt │ │ ├── CC-BY-NC-SA-1.0.txt │ │ ├── CC-BY-NC-SA-2.0-FR.txt │ │ ├── CC-BY-NC-SA-2.0-UK.txt │ │ ├── CC-BY-NC-SA-2.0.txt │ │ ├── CC-BY-NC-SA-2.5.txt │ │ ├── CC-BY-NC-SA-3.0-DE.txt │ │ ├── CC-BY-NC-SA-3.0-IGO.txt │ │ ├── CC-BY-NC-SA-3.0.txt │ │ ├── CC-BY-NC-SA-4.0.txt │ │ ├── CC-BY-ND-1.0.txt │ │ ├── CC-BY-ND-2.0.txt │ │ ├── CC-BY-ND-2.5.txt │ │ ├── CC-BY-ND-3.0-DE.txt │ │ ├── CC-BY-ND-3.0.txt │ │ ├── CC-BY-ND-4.0.txt │ │ ├── CC-BY-SA-1.0.txt │ │ ├── CC-BY-SA-2.0-UK.txt │ │ ├── CC-BY-SA-2.0.txt │ │ ├── CC-BY-SA-2.1-JP.txt │ │ ├── CC-BY-SA-2.5.txt │ │ ├── CC-BY-SA-3.0-AT.txt │ │ ├── CC-BY-SA-3.0-DE.txt │ │ ├── CC-BY-SA-3.0.txt │ │ ├── CC-BY-SA-4.0.txt │ │ ├── CC-PDDC.txt │ │ ├── CC0-1.0.txt │ │ ├── CDDL-1.0.txt │ │ ├── CDDL-1.1.txt │ │ ├── CDL-1.0.txt │ │ ├── CDLA-Permissive-1.0.txt │ │ ├── CDLA-Permissive-2.0.txt │ │ ├── CDLA-Sharing-1.0.txt │ │ ├── CECILL-1.0.txt │ │ ├── CECILL-1.1.txt │ │ ├── CECILL-2.0.txt │ │ ├── CECILL-2.1.txt │ │ ├── CECILL-B.txt │ │ ├── CECILL-C.txt │ │ ├── CERN-OHL-1.1.txt │ │ ├── CERN-OHL-1.2.txt │ │ ├── CERN-OHL-P-2.0.txt │ │ ├── CERN-OHL-S-2.0.txt │ │ ├── CERN-OHL-W-2.0.txt │ │ ├── CNRI-Jython.txt │ │ ├── CNRI-Python-GPL-Compatible.txt │ │ ├── CNRI-Python.txt │ │ ├── COIL-1.0.txt │ │ ├── CPAL-1.0.txt │ │ ├── CPL-1.0.txt │ │ ├── CPOL-1.02.txt │ │ ├── CUA-OPL-1.0.txt │ │ ├── Caldera.txt │ │ ├── ClArtistic.txt │ │ ├── Community-Spec-1.0.txt │ │ ├── Condor-1.1.txt │ │ ├── Crossword.txt │ │ ├── CrystalStacker.txt │ │ ├── Cube.txt │ │ ├── D-FSL-1.0.txt │ │ ├── DL-DE-BY-2.0.txt │ │ ├── DOC.txt │ │ ├── DRL-1.0.txt │ │ ├── DSDP.txt │ │ ├── Dotseqn.txt │ │ ├── ECL-1.0.txt │ │ ├── ECL-2.0.txt │ │ ├── EFL-1.0.txt │ │ ├── EFL-2.0.txt │ │ ├── EPICS.txt │ │ ├── EPL-1.0.txt │ │ ├── EPL-2.0.txt │ │ ├── EUDatagrid.txt │ │ ├── EUPL-1.0.txt │ │ ├── EUPL-1.1.txt │ │ ├── EUPL-1.2.txt │ │ ├── Elastic-2.0.txt │ │ ├── Entessa.txt │ │ ├── ErlPL-1.1.txt │ │ ├── Eurosym.txt │ │ ├── FDK-AAC.txt │ │ ├── FSFAP.txt │ │ ├── FSFUL.txt │ │ ├── FSFULLR.txt │ │ ├── FTL.txt │ │ ├── Fair.txt │ │ ├── Frameworx-1.0.txt │ │ ├── FreeBSD-DOC.txt │ │ ├── FreeImage.txt │ │ ├── GD.txt │ │ ├── GFDL-1.1.txt │ │ ├── GFDL-1.2.txt │ │ ├── GFDL-1.3.txt │ │ ├── GL2PS.txt │ │ ├── GLWTPL.txt │ │ ├── GPL-1.0.txt │ │ ├── GPL-2.0.txt │ │ ├── GPL-3.0.txt │ │ ├── Giftware.txt │ │ ├── Glide.txt │ │ ├── Glulxe.txt │ │ ├── HPND-sell-variant.txt │ │ ├── HPND.txt │ │ ├── HTMLTIDY.txt │ │ ├── HaskellReport.txt │ │ ├── Hippocratic-2.1.txt │ │ ├── IBM-pibs.txt │ │ ├── ICU.txt │ │ ├── IJG.txt │ │ ├── IPA.txt │ │ ├── IPL-1.0.txt │ │ ├── ISC.txt │ │ ├── ImageMagick.txt │ │ ├── Imlib2.txt │ │ ├── Info-ZIP.txt │ │ ├── Intel-ACPI.txt │ │ ├── Intel.txt │ │ ├── Interbase-1.0.txt │ │ ├── JPNIC.txt │ │ ├── JSON.txt │ │ ├── Jam.txt │ │ ├── JasPer-2.0.txt │ │ ├── LAL-1.2.txt │ │ ├── LAL-1.3.txt │ │ ├── LGPL-2.0.txt │ │ ├── LGPL-2.1.txt │ │ ├── LGPL-3.0.txt │ │ ├── LGPLLR.txt │ │ ├── LPL-1.0.txt │ │ ├── LPL-1.02.txt │ │ ├── LPPL-1.0.txt │ │ ├── LPPL-1.1.txt │ │ ├── LPPL-1.2.txt │ │ ├── LPPL-1.3a.txt │ │ ├── LPPL-1.3c.txt │ │ ├── Latex2e.txt │ │ ├── Leptonica.txt │ │ ├── LiLiQ-P-1.1.txt │ │ ├── LiLiQ-R-1.1.txt │ │ ├── LiLiQ-Rplus-1.1.txt │ │ ├── Libpng.txt │ │ ├── Linux-OpenIB.txt │ │ ├── Linux-man-pages-copyleft.txt │ │ ├── MIT-0.txt │ │ ├── MIT-CMU.txt │ │ ├── MIT-Modern-Variant.txt │ │ ├── MIT-advertising.txt │ │ ├── MIT-enna.txt │ │ ├── MIT-feh.txt │ │ ├── MIT-open-group.txt │ │ ├── MIT.txt │ │ ├── MITNFA.txt │ │ ├── MPL-1.0.txt │ │ ├── MPL-1.1.txt │ │ ├── MPL-2.0.txt │ │ ├── MS-PL.txt │ │ ├── MS-RL.txt │ │ ├── MTLL.txt │ │ ├── MakeIndex.txt │ │ ├── MirOS.txt │ │ ├── Motosoto.txt │ │ ├── MulanPSL-1.0.txt │ │ ├── MulanPSL-2.0.txt │ │ ├── Multics.txt │ │ ├── Mup.txt │ │ ├── NAIST-2003.txt │ │ ├── NASA-1.3.txt │ │ ├── NBPL-1.0.txt │ │ ├── NCGL-UK-2.0.txt │ │ ├── NCSA.txt │ │ ├── NGPL.txt │ │ ├── NIST-PD-fallback.txt │ │ ├── NIST-PD.txt │ │ ├── NLOD-1.0.txt │ │ ├── NLOD-2.0.txt │ │ ├── NLPL.txt │ │ ├── NOSL.txt │ │ ├── NPL-1.0.txt │ │ ├── NPL-1.1.txt │ │ ├── NPOSL-3.0.txt │ │ ├── NRL.txt │ │ ├── NTP-0.txt │ │ ├── NTP.txt │ │ ├── Naumen.txt │ │ ├── Net-SNMP.txt │ │ ├── NetCDF.txt │ │ ├── Newsletr.txt │ │ ├── Nokia.txt │ │ ├── Noweb.txt │ │ ├── O-UDA-1.0.txt │ │ ├── OCCT-PL.txt │ │ ├── OCLC-2.0.txt │ │ ├── ODC-By-1.0.txt │ │ ├── ODbL-1.0.txt │ │ ├── OFL-1.0.txt │ │ ├── OFL-1.1.txt │ │ ├── OGC-1.0.txt │ │ ├── OGDL-Taiwan-1.0.txt │ │ ├── OGL-Canada-2.0.txt │ │ ├── OGL-UK-1.0.txt │ │ ├── OGL-UK-2.0.txt │ │ ├── OGL-UK-3.0.txt │ │ ├── OGTSL.txt │ │ ├── OLDAP-1.1.txt │ │ ├── OLDAP-1.2.txt │ │ ├── OLDAP-1.3.txt │ │ ├── OLDAP-1.4.txt │ │ ├── OLDAP-2.0.1.txt │ │ ├── OLDAP-2.0.txt │ │ ├── OLDAP-2.1.txt │ │ ├── OLDAP-2.2.1.txt │ │ ├── OLDAP-2.2.2.txt │ │ ├── OLDAP-2.2.txt │ │ ├── OLDAP-2.3.txt │ │ ├── OLDAP-2.4.txt │ │ ├── OLDAP-2.5.txt │ │ ├── OLDAP-2.6.txt │ │ ├── OLDAP-2.7.txt │ │ ├── OLDAP-2.8.txt │ │ ├── OML.txt │ │ ├── OPL-1.0.txt │ │ ├── OPUBL-1.0.txt │ │ ├── OSET-PL-2.1.txt │ │ ├── OSL-1.0.txt │ │ ├── OSL-1.1.txt │ │ ├── OSL-2.0.txt │ │ ├── OSL-2.1.txt │ │ ├── OSL-3.0.txt │ │ ├── OpenSSL.txt │ │ ├── PDDL-1.0.txt │ │ ├── PHP-3.0.txt │ │ ├── PHP-3.01.txt │ │ ├── PSF-2.0.txt │ │ ├── Parity-6.0.0.txt │ │ ├── Parity-7.0.0.txt │ │ ├── Plexus.txt │ │ ├── PolyForm-Noncommercial-1.0.0.txt │ │ ├── PolyForm-Small-Business-1.0.0.txt │ │ ├── PostgreSQL.txt │ │ ├── Python-2.0.txt │ │ ├── QPL-1.0.txt │ │ ├── Qhull.txt │ │ ├── RHeCos-1.1.txt │ │ ├── RPL-1.1.txt │ │ ├── RPL-1.5.txt │ │ ├── RPSL-1.0.txt │ │ ├── RSA-MD.txt │ │ ├── RSCPL.txt │ │ ├── Rdisc.txt │ │ ├── Ruby.txt │ │ ├── SAX-PD.txt │ │ ├── SCEA.txt │ │ ├── SGI-B-1.0.txt │ │ ├── SGI-B-1.1.txt │ │ ├── SGI-B-2.0.txt │ │ ├── SHL-0.5.txt │ │ ├── SHL-0.51.txt │ │ ├── SISSL-1.2.txt │ │ ├── SISSL.txt │ │ ├── SMLNJ.txt │ │ ├── SMPPL.txt │ │ ├── SNIA.txt │ │ ├── SPL-1.0.txt │ │ ├── SSH-OpenSSH.txt │ │ ├── SSH-short.txt │ │ ├── SSPL-1.0.txt │ │ ├── SWL.txt │ │ ├── Saxpath.txt │ │ ├── SchemeReport.txt │ │ ├── Sendmail-8.23.txt │ │ ├── Sendmail.txt │ │ ├── SimPL-2.0.txt │ │ ├── Sleepycat.txt │ │ ├── Spencer-86.txt │ │ ├── Spencer-94.txt │ │ ├── Spencer-99.txt │ │ ├── SugarCRM-1.1.3.txt │ │ ├── TAPR-OHL-1.0.txt │ │ ├── TCL.txt │ │ ├── TCP-wrappers.txt │ │ ├── TMate.txt │ │ ├── TORQUE-1.1.txt │ │ ├── TOSL.txt │ │ ├── TU-Berlin-1.0.txt │ │ ├── TU-Berlin-2.0.txt │ │ ├── UCL-1.0.txt │ │ ├── UPL-1.0.txt │ │ ├── Unicode-DFS-2015.txt │ │ ├── Unicode-DFS-2016.txt │ │ ├── Unicode-TOU.txt │ │ ├── Unlicense.txt │ │ ├── VOSTROM.txt │ │ ├── VSL-1.0.txt │ │ ├── Vim.txt │ │ ├── W3C-19980720.txt │ │ ├── W3C-20150513.txt │ │ ├── W3C.txt │ │ ├── WTFPL.txt │ │ ├── Watcom-1.0.txt │ │ ├── Wsuipa.txt │ │ ├── X11-distribute-modifications-variant.txt │ │ ├── X11.txt │ │ ├── XFree86-1.1.txt │ │ ├── XSkat.txt │ │ ├── Xerox.txt │ │ ├── Xnet.txt │ │ ├── YPL-1.0.txt │ │ ├── YPL-1.1.txt │ │ ├── ZPL-1.1.txt │ │ ├── ZPL-2.0.txt │ │ ├── ZPL-2.1.txt │ │ ├── Zed.txt │ │ ├── Zend-2.0.txt │ │ ├── Zimbra-1.3.txt │ │ ├── Zimbra-1.4.txt │ │ ├── Zlib.txt │ │ ├── blessing.txt │ │ ├── bzip2-1.0.6.txt │ │ ├── copyleft-next-0.3.0.txt │ │ ├── copyleft-next-0.3.1.txt │ │ ├── curl.txt │ │ ├── diffmark.txt │ │ ├── dvipdfm.txt │ │ ├── eGenix.txt │ │ ├── etalab-2.0.txt │ │ ├── gSOAP-1.3b.txt │ │ ├── gnuplot.txt │ │ ├── iMatix.txt │ │ ├── libpng-2.0.txt │ │ ├── libselinux-1.0.txt │ │ ├── libtiff.txt │ │ ├── mpich2.txt │ │ ├── psfrag.txt │ │ ├── psutils.txt │ │ ├── xinetd.txt │ │ ├── xpp.txt │ │ └── zlib-acknowledgement.txt │ ├── tool │ ├── flutter_tool.dart │ ├── git_tool.dart │ └── run_constrained.dart │ ├── utils.dart │ └── version.dart ├── pubspec.yaml ├── test ├── analysis_options_test.dart ├── bin_pana_test.dart ├── code_problem_test.dart ├── crc32_test.dart ├── dartdoc │ └── dartdoc_internals_test.dart ├── diff_test.dart ├── download_utils_test.dart ├── end2end_light_test.dart ├── end2end_test.dart ├── ensure_build_test.dart ├── golden_file.dart ├── goldens │ ├── end2end │ │ ├── __timestamp.txt │ │ ├── _dummy_pkg-1.0.0-null-safety.1.json │ │ ├── _dummy_pkg-1.0.0-null-safety.1.json_report.md │ │ ├── async-2.11.0.json │ │ ├── async-2.11.0.json_report.md │ │ ├── audio_service-0.18.17.json │ │ ├── audio_service-0.18.17.json_report.md │ │ ├── bulma_min-0.7.4.json │ │ ├── bulma_min-0.7.4.json_report.md │ │ ├── dnd-2.0.1.json │ │ ├── dnd-2.0.1.json_report.md │ │ ├── gg-1.0.12.json │ │ ├── gg-1.0.12.json_report.md │ │ ├── http-0.13.0.json │ │ ├── http-0.13.0.json_report.md │ │ ├── lints-1.0.0.json │ │ ├── lints-1.0.0.json_report.md │ │ ├── mime_type-0.3.2.json │ │ ├── mime_type-0.3.2.json_report.md │ │ ├── nsd_android-2.1.2.json │ │ ├── nsd_android-2.1.2.json_report.md │ │ ├── onepub-1.1.0.json │ │ ├── onepub-1.1.0.json_report.md │ │ ├── sdp_transform-0.2.0.json │ │ ├── sdp_transform-0.2.0.json_report.md │ │ ├── skiplist-0.1.0.json │ │ ├── skiplist-0.1.0.json_report.md │ │ ├── steward-0.3.1.json │ │ ├── steward-0.3.1.json_report.md │ │ ├── url_launcher-6.3.1.json │ │ ├── url_launcher-6.3.1.json_report.md │ │ ├── webdriver-3.0.0.json │ │ └── webdriver-3.0.0.json_report.md │ └── help.txt ├── license_confidence_test.dart ├── license_detector_test.dart ├── license_filter_test.dart ├── license_test.dart ├── license_test_assets │ ├── crc32_ascii_values.json │ ├── crc32_random.json │ └── licenses │ │ ├── agpl_v3.txt │ │ ├── apache_v2.txt │ │ ├── bsd_2_clause.txt │ │ ├── bsd_2_clause_in_comments.txt │ │ └── bsd_3_clause.txt ├── license_utils_test.dart ├── licenses │ ├── agpl_v3.txt │ ├── apache_v2.txt │ ├── bad_encoding.txt │ ├── bsd_2_clause.txt │ ├── bsd_2_clause_in_comments.txt │ ├── bsd_3_clause.txt │ ├── bsd_revised.txt │ ├── gpl_v3.txt │ ├── isc_license_test.dart │ ├── lgpl_v3.txt │ ├── mit.txt │ ├── mit_without_mit.txt │ ├── mpl_v2.txt │ └── unlicense.txt ├── markdown_content │ ├── bad_images.md │ └── example.md ├── markdown_content_test.dart ├── model_test.dart ├── package_descriptor.dart ├── package_server.dart ├── potential_matches_test.dart ├── pub_summary_test.dart ├── pubspec_test.dart ├── report │ ├── _tool_environment.dart │ ├── dependencies_test.dart │ ├── documentation_test.dart │ ├── static_analysis_test.dart │ └── template_test.dart ├── repository │ ├── git_local_repository_test.dart │ └── repository_url_test.dart ├── screenshot_test.dart ├── sdk_env_test.dart ├── self_run_test.dart ├── tag │ ├── dart_sdk_libraries_test.dart │ ├── tag_detection_test.dart │ ├── tag_end2end_test.dart │ ├── tag_external_test.dart │ └── tag_null_safe_test.dart ├── testImages │ ├── animated.gif │ ├── animated.webp │ ├── notAnImage.txt │ ├── static.gif │ ├── static.png │ └── static.webp ├── tokenizer_test.dart ├── tool │ └── flutter_tool_test.dart └── utils_test.dart ├── third_party └── spdx │ ├── README.md │ └── update_licenses.dart └── tool └── license_detection ├── README.md ├── batch_analyse_licenses.dart ├── compare_analysis.dart └── download_pub_dev_licenses.sh /.gitattributes: -------------------------------------------------------------------------------- 1 | text eol=lf 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # Dependabot configuration file. 2 | # See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates 3 | version: 2 4 | enable-beta-ecosystems: true 5 | 6 | updates: 7 | - package-ecosystem: github-actions 8 | directory: / 9 | schedule: 10 | interval: monthly 11 | labels: 12 | - autosubmit 13 | groups: 14 | github-actions: 15 | patterns: 16 | - "*" 17 | 18 | - package-ecosystem: pub 19 | directory: / 20 | schedule: 21 | interval: weekly 22 | versioning-strategy: increase-if-necessary 23 | labels: 24 | - type-infra 25 | -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- 1 | name: Publish to pub.dev 2 | 3 | on: 4 | push: 5 | tags: 6 | - '[0-9]+.[0-9]+.[0-9]+*' 7 | 8 | permissions: read-all 9 | 10 | jobs: 11 | publish: 12 | permissions: 13 | id-token: write # Required for authentication using OIDC 14 | runs-on: ubuntu-latest 15 | environment: pub-dev 16 | steps: 17 | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 18 | - uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c 19 | - name: Install dependencies 20 | run: dart pub get 21 | - name: Analyze 22 | run: dart analyze 23 | - name: Publish 24 | run: dart pub publish -f 25 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Files and directories created by pub 2 | .dart_tool 3 | .packages 4 | .pub/ 5 | pubspec.lock 6 | test/license_test_assets/license_scenarios 7 | .vscode 8 | third_party/spdx/licenses 9 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2017, the Dart project authors. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following 11 | disclaimer in the documentation and/or other materials provided 12 | with the distribution. 13 | * Neither the name of Google LLC nor the names of its 14 | contributors may be used to endorse or promote products derived 15 | from this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:dart_flutter_team_lints/analysis_options.yaml 2 | analyzer: 3 | language: 4 | strict-casts: true 5 | strict-inference: true 6 | errors: 7 | unused_import: error 8 | unused_local_variable: error 9 | dead_code: error 10 | deprecated_member_use_from_same_package: ignore 11 | lines_longer_than_80_chars: ignore 12 | avoid_dynamic_calls: ignore 13 | 14 | linter: 15 | rules: 16 | - always_declare_return_types 17 | - avoid_unused_constructor_parameters 18 | - cancel_subscriptions 19 | - comment_references 20 | - directives_ordering 21 | - no_adjacent_strings_in_list 22 | - omit_local_variable_types 23 | - only_throw_errors 24 | - prefer_const_constructors 25 | - prefer_single_quotes 26 | - sort_child_properties_last 27 | - test_types_in_equals 28 | - throw_in_finally 29 | - unawaited_futures 30 | - unnecessary_lambdas 31 | - unnecessary_library_directive 32 | - unnecessary_null_aware_assignments 33 | - unnecessary_statements 34 | -------------------------------------------------------------------------------- /bin/license_detector_bin.dart: -------------------------------------------------------------------------------- 1 | import 'dart:io'; 2 | import 'package:args/args.dart'; 3 | import 'package:pana/src/license_detection/license_detector.dart'; 4 | 5 | /// A command line program to use access the license detector. 6 | /// 7 | /// The program take two parameters `--path` and `--threshold`. 8 | /// If threshold is not provided it defaults to `0.9`. 9 | void main(List arguments) async { 10 | final parser = ArgParser(); 11 | parser.addOption('path'); 12 | parser.addOption('threshold'); 13 | var argResults = parser.parse(arguments); 14 | 15 | var threshold = argResults['threshold'] ?? 0.9; 16 | var path = argResults['path']; 17 | 18 | if (path == null) { 19 | print('Path not specified'); 20 | return; 21 | } 22 | 23 | final file = File(path as String); 24 | var content = await file.readAsString(); 25 | 26 | final detectionResult = await detectLicense(content, threshold as double); 27 | 28 | if (detectionResult.matches.isEmpty) { 29 | print('No license found in the given file'); 30 | } else { 31 | var i = 1; 32 | print( 33 | 'unclaimedTokenPercentage: ${detectionResult.unclaimedTokenPercentage}'); 34 | print( 35 | 'longestUnclaimedTokenCount: ${detectionResult.longestUnclaimedTokenCount}'); 36 | for (var match in detectionResult.matches) { 37 | print('\nDetection result $i: '); 38 | print('Spdx identifier: ${match.identifier}'); 39 | print('Confidence: ${match.confidence}'); 40 | print('Start Offset: ${match.start} End offset: ${match.end}'); 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /build.yaml: -------------------------------------------------------------------------------- 1 | targets: 2 | $default: 3 | builders: 4 | json_serializable: 5 | options: 6 | explicit_to_json: true 7 | include_if_null: false 8 | # TODO: removed after LicenseFile.url gets removed 9 | source_gen:combining_builder: 10 | options: 11 | ignore_for_file: 12 | - deprecated_member_use_from_same_package 13 | -------------------------------------------------------------------------------- /dart_test.yaml: -------------------------------------------------------------------------------- 1 | tags: 2 | presubmit-only: 3 | skip: "Should only be run during presubmit" 4 | -------------------------------------------------------------------------------- /lib/models.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | export 'src/model.dart'; 6 | -------------------------------------------------------------------------------- /lib/pana.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | export 'src/download_utils.dart'; 6 | export 'src/maintenance.dart' show exampleFileCandidates; 7 | export 'src/model.dart'; 8 | export 'src/package_analyzer.dart'; 9 | export 'src/pubspec.dart'; 10 | export 'src/report/create_report.dart' show renderSimpleSectionSummary; 11 | export 'src/sdk_env.dart'; 12 | export 'src/tag/pana_tags.dart'; 13 | export 'src/tool/run_constrained.dart'; 14 | export 'src/utils.dart' show yamlToJson; 15 | export 'src/version.dart'; 16 | -------------------------------------------------------------------------------- /lib/src/batch/batch_model.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'package:json_annotation/json_annotation.dart'; 6 | 7 | part 'batch_model.g.dart'; 8 | 9 | @JsonSerializable() 10 | class BatchConfig { 11 | /// The path of the Dart SDK 12 | final String? dartSdk; 13 | 14 | /// The path of the Flutter SDK 15 | final String? flutterSdk; 16 | 17 | /// The environment variables that need to be set. 18 | final Map? environment; 19 | 20 | /// The URI of the analysis options (https:// or local file). 21 | final String? analysisOptions; 22 | 23 | BatchConfig({ 24 | this.dartSdk, 25 | this.flutterSdk, 26 | this.environment, 27 | this.analysisOptions, 28 | }); 29 | 30 | factory BatchConfig.fromJson(Map json) => 31 | _$BatchConfigFromJson(json); 32 | 33 | Map toJson() => _$BatchConfigToJson(this); 34 | } 35 | 36 | @JsonSerializable() 37 | class BatchResult { 38 | final int unchangedCount; 39 | final BatchChanged increased; 40 | final BatchChanged decreased; 41 | 42 | BatchResult({ 43 | required this.unchangedCount, 44 | required this.increased, 45 | required this.decreased, 46 | }); 47 | 48 | factory BatchResult.fromJson(Map json) => 49 | _$BatchResultFromJson(json); 50 | 51 | Map toJson() => _$BatchResultToJson(this); 52 | } 53 | 54 | @JsonSerializable() 55 | class BatchChanged { 56 | final int count; 57 | final Map packages; 58 | 59 | BatchChanged({ 60 | required this.count, 61 | required this.packages, 62 | }); 63 | 64 | factory BatchChanged.fromJson(Map json) => 65 | _$BatchChangedFromJson(json); 66 | 67 | Map toJson() => _$BatchChangedToJson(this); 68 | } 69 | -------------------------------------------------------------------------------- /lib/src/dartdoc/dartdoc_internals.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | /// Infers whether a dartdoc href is a link to a library page. 6 | /// - pre-8.3.0 the file ended with `-library.html` 7 | /// - with 8.3.0 the reference is a top-level directory with no slash in it 8 | bool isHrefALibrary(String? href) { 9 | if (href == null || href.isEmpty) { 10 | return false; 11 | } 12 | // libraries before 8.3 13 | if (href.endsWith('-library.html')) { 14 | return true; 15 | } 16 | // libraries after 8.3 do not have the .html suffix in their href 17 | if (href.endsWith('.html')) { 18 | return false; 19 | } 20 | final segments = href.split('/'); 21 | // remove if the last segment is empty, indicating a trailing slash 22 | if (segments.last.isEmpty) { 23 | segments.removeLast(); 24 | } 25 | // libraries have only a single segment 26 | return segments.length == 1; 27 | } 28 | -------------------------------------------------------------------------------- /lib/src/json_converters.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'package:json_annotation/json_annotation.dart'; 6 | import 'package:pub_semver/pub_semver.dart'; 7 | 8 | class VersionConverter implements JsonConverter { 9 | const VersionConverter(); 10 | 11 | @override 12 | Version? fromJson(String? json) => json == null ? null : Version.parse(json); 13 | 14 | @override 15 | String? toJson(Version? object) => object?.toString(); 16 | } 17 | -------------------------------------------------------------------------------- /lib/src/maintenance.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'package:json_annotation/json_annotation.dart'; 6 | 7 | /// Returns the candidates in priority order to display under the 'Example' tab. 8 | List exampleFileCandidates(String package) { 9 | return [ 10 | 'example/README.md', 11 | 'example/example.md', 12 | 'example/lib/main.dart', 13 | 'example/bin/main.dart', 14 | 'example/main.dart', 15 | 'example/lib/$package.dart', 16 | 'example/bin/$package.dart', 17 | 'example/$package.dart', 18 | 'example/lib/${package}_example.dart', 19 | 'example/bin/${package}_example.dart', 20 | 'example/${package}_example.dart', 21 | 'example/lib/example.dart', 22 | 'example/bin/example.dart', 23 | 'example/example.dart', 24 | ]; 25 | } 26 | 27 | /// Returns a markdown-formatted error message for pubspec.yaml parse error. 28 | String pubspecParseError(Object error) { 29 | // TODO: remove this after json_annotation is updated with CheckedFromJsonException.toString() 30 | var message = error.toString(); 31 | if (error is CheckedFromJsonException) { 32 | final msg = 33 | error.message ?? 'Error with `${error.key}`: ${error.innerError}'; 34 | message = 'CheckedFromJsonException: $msg'; 35 | } 36 | return 'Error while parsing `pubspec.yaml`.\n\n' 37 | 'Parsing throws an exception:\n\n```\n$message\n```'; 38 | } 39 | -------------------------------------------------------------------------------- /lib/src/messages.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | String runningDartAnalyzerFailed(bool usesFlutter, String errorMsg) { 6 | final message = usesFlutter ? 'flutter analyze' : 'dart analyze .'; 7 | 8 | return 'Running `$message` failed with the following output:\n\n' 9 | '```\n$errorMsg\n```\n'; 10 | } 11 | -------------------------------------------------------------------------------- /lib/src/null_safety.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'package:pub_semver/pub_semver.dart'; 6 | 7 | final _firstVersionWithNullSafety = Version.parse('2.12.0'); 8 | 9 | bool isNullSafety(Version version) => 10 | Version(version.major, version.minor, 0) >= _firstVersionWithNullSafety; 11 | -------------------------------------------------------------------------------- /lib/src/pkg_resolution.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'dart:convert'; 6 | 7 | class PubEntry { 8 | static final _headerMatch = RegExp(r'^([A-Z]{2,4})[ ]{0,2}: (.*)'); 9 | static final _lineMatch = RegExp(r'^ \|(.*)'); 10 | 11 | final String header; 12 | final List content; 13 | 14 | PubEntry(this.header, this.content); 15 | 16 | static Iterable parse(String input) sync* { 17 | String? header; 18 | List? entryLines; 19 | 20 | for (var line in LineSplitter.split(input)) { 21 | if (line.trim().isEmpty) { 22 | continue; 23 | } 24 | var match = _headerMatch.firstMatch(line); 25 | 26 | if (match != null) { 27 | if (header != null || entryLines != null) { 28 | assert(entryLines!.isNotEmpty); 29 | yield PubEntry(header!, entryLines!); 30 | header = null; 31 | entryLines = null; 32 | } 33 | header = match[1]; 34 | entryLines = [match[2]!]; 35 | } else { 36 | match = _lineMatch.firstMatch(line); 37 | 38 | if (match == null) { 39 | // Likely due to Flutter silly 40 | // log.severe("Could not parse pub line `$line`."); 41 | continue; 42 | } 43 | 44 | assert(entryLines != null); 45 | entryLines!.add(match[1]!); 46 | } 47 | } 48 | 49 | if (header != null || entryLines != null) { 50 | assert(entryLines!.isNotEmpty); 51 | yield PubEntry(header!, entryLines!); 52 | header = null; 53 | entryLines = null; 54 | } 55 | } 56 | 57 | @override 58 | String toString() => '$header: ${content.join('\n')}'; 59 | } 60 | -------------------------------------------------------------------------------- /lib/src/pubspec_io.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'dart:io'; 6 | 7 | import 'package:path/path.dart' as p; 8 | 9 | import 'pubspec.dart'; 10 | 11 | Pubspec pubspecFromDir(String packageDir) { 12 | final path = p.join(packageDir, 'pubspec.yaml'); 13 | final file = File(path); 14 | String content; 15 | try { 16 | content = file.readAsStringSync(); 17 | } on IOException catch (e) { 18 | throw Exception('Couldn\'t read pubspec.yaml in $packageDir. $e'); 19 | } 20 | return Pubspec.parseYaml(content, sourceUrl: path); 21 | } 22 | -------------------------------------------------------------------------------- /lib/src/report/create_report.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | // Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file 6 | // for details. All rights reserved. Use of this source code is governed by a 7 | // BSD-style license that can be found in the LICENSE file. 8 | 9 | import '../model.dart'; 10 | import '../package_context.dart'; 11 | 12 | import 'dependencies.dart'; 13 | import 'documentation.dart'; 14 | import 'multi_platform.dart'; 15 | import 'static_analysis.dart'; 16 | import 'template.dart'; 17 | 18 | export '_common.dart' show renderSimpleSectionSummary; 19 | 20 | Future createReport(PackageContext context) async { 21 | try { 22 | context.pubspec; 23 | } on Exception catch (e) { 24 | return Report( 25 | sections: [ 26 | ReportSection( 27 | id: ReportSectionId.convention, 28 | grantedPoints: 0, 29 | maxPoints: 100, 30 | title: 'Failed to parse the pubspec', 31 | summary: e.toString(), 32 | status: ReportStatus.failed, 33 | ) 34 | ], 35 | ); 36 | } 37 | 38 | final templateReport = await followsTemplate(context); 39 | final platformReport = await multiPlatform(context); 40 | final staticAnalysisReport = await staticAnalysis(context); 41 | final dependenciesReport = await trustworthyDependency(context); 42 | 43 | // Create the documentation report (and run `dartdoc`) as the last step 44 | // to allow better budgeting for large packages. 45 | final documentationReport = await hasDocumentation(context); 46 | 47 | return Report(sections: [ 48 | templateReport, 49 | documentationReport, 50 | platformReport, 51 | staticAnalysisReport, 52 | dependenciesReport, 53 | ]); 54 | } 55 | -------------------------------------------------------------------------------- /lib/src/tag/license_tags.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import '../model.dart'; 6 | import '../third_party/spdx/licenses.dart'; 7 | 8 | import 'pana_tags.dart'; 9 | 10 | class LicenseTags { 11 | final List licenses; 12 | final List tags; 13 | LicenseTags(this.licenses, this.tags); 14 | 15 | late final isOnlyOsiApproved = tags.contains(PanaTags.licenseOsiApproved); 16 | late final wasDetected = !tags.contains(PanaTags.licenseUnknown); 17 | 18 | late final osiApprovedLicenses = 19 | licenses.where((l) => l.isOsiApproved).toList(); 20 | late final nonOsiApprovedLicenses = 21 | licenses.where((l) => !l.isOsiApproved).toList(); 22 | 23 | factory LicenseTags.fromLicenses(List licenses) { 24 | final tags = []; 25 | if (licenses.isNotEmpty) { 26 | tags.addAll(licenses 27 | .map((l) => 'license:${l.spdxIdentifier.toLowerCase()}') 28 | .toSet()); 29 | if (licenses.every((l) => l.isFsfLibre)) { 30 | tags.add(PanaTags.licenceFsfLibre); 31 | } 32 | if (licenses.every((l) => l.isOsiApproved)) { 33 | tags.add(PanaTags.licenseOsiApproved); 34 | } 35 | } else { 36 | tags.add(PanaTags.licenseUnknown); 37 | } 38 | return LicenseTags(licenses, tags); 39 | } 40 | } 41 | 42 | extension LicenseExt on License { 43 | bool get isFsfLibre => fsfLibreLicenses.contains(spdxIdentifier); 44 | bool get isOsiApproved => osiApprovedLicenses.contains(spdxIdentifier); 45 | } 46 | -------------------------------------------------------------------------------- /lib/src/third_party/diff_match_patch/.pubignore: -------------------------------------------------------------------------------- 1 | test.dart 2 | -------------------------------------------------------------------------------- /lib/src/third_party/diff_match_patch/README.md: -------------------------------------------------------------------------------- 1 | # Diff-Match-Patch 2 | 3 | This code was forked from Google's [diff-match-patch](https://github.com/google/diff-match-patch) library. 4 | 5 | ## Modifications made in code 6 | 7 | - Code was updated for modern Dart naming standards and language features. 8 | - `diff` - Code related to diff functionality was retained and ported to [null-safety](https://dart.dev/null-safety) along with linting. 9 | - `Levenshtein distance` - Levenshtein distance which was calculated initially based on the number of characters modified was altered to calculate based on the number of words modified. 10 | 11 | ## Source 12 | 13 | Repository - [link](https://github.com/google/diff-match-patch) 14 | Git revision - [a6367d7](https://github.com/google/diff-match-patch/commit/a6367d7866833ac037fbdefcdbcbee4def86e326) 15 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/LICENSE: -------------------------------------------------------------------------------- 1 | The content of the licenses directory is from the SPDX repository. 2 | See https://github.com/spdx/license-list-data#licensing-information 3 | for further licensing information. 4 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/README.md: -------------------------------------------------------------------------------- 1 | The `licenses` directory contains the SPDX license corpus 2 | from the [SPDX repository](https://github.com/spdx/license-list-data). 3 | 4 | To update it, run `third_party/spdx/update_licenses.dart`, 5 | it will delete and recreate the contents. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/0BSD.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) YEAR by AUTHOR EMAIL 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. 4 | 5 | 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. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/ADSL.txt: -------------------------------------------------------------------------------- 1 | This software code is made available "AS IS" without warranties of any kind. You may copy, display, modify and redistribute the software code either by itself or as incorporated into your code; provided that you do not remove any proprietary notices. Your use of this software code is at your own risk and you waive any claim against Amazon Digital Services, Inc. or its affiliates with respect to your use of this software code. (c) 2006 Amazon Digital Services, Inc. or its affiliates. 2 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/ANTLR-PD-fallback.txt: -------------------------------------------------------------------------------- 1 | ANTLR 2 License 2 | 3 | We reserve no legal rights to the ANTLR--it is fully in the public domain. An individual or company may do whatever they wish with source code distributed with ANTLR or the code generated by ANTLR, including the incorporation of ANTLR, or its output, into commerical software. 4 | 5 | We encourage users to develop software with ANTLR. However, we do ask that credit is given to us for developing ANTLR. By "credit", we mean that if you use ANTLR or incorporate any source code into one of your programs (commercial product, research project, or otherwise) that you acknowledge this fact somewhere in the documentation, research report, etc... If you like ANTLR and have developed a nice tool with the output, please mention that you developed it using ANTLR. In addition, we ask that the headers remain intact in our source code. As long as these guidelines are kept, we expect to continue enhancing this system and expect to make other tools available as they are completed. 6 | 7 | In countries where the Public Domain status of the work may not be valid, the author grants a copyright licence to the general public to deal in the work without restriction and permission to sublicence derivates under the terms of any (OSI approved) Open Source licence. 8 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/ANTLR-PD.txt: -------------------------------------------------------------------------------- 1 | ANTLR 2 License 2 | 3 | We reserve no legal rights to the ANTLR--it is fully in the public domain. An individual or company may do whatever they wish with source code distributed with ANTLR or the code generated by ANTLR, including the incorporation of ANTLR, or its output, into commerical software. 4 | 5 | We encourage users to develop software with ANTLR. However, we do ask that credit is given to us for developing ANTLR. By "credit", we mean that if you use ANTLR or incorporate any source code into one of your programs (commercial product, research project, or otherwise) that you acknowledge this fact somewhere in the documentation, research report, etc... If you like ANTLR and have developed a nice tool with the output, please mention that you developed it using ANTLR. In addition, we ask that the headers remain intact in our source code. As long as these guidelines are kept, we expect to continue enhancing this system and expect to make other tools available as they are completed. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/APAFML.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 1985, 1987, 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved. 2 | 3 | This file and the 14 PostScript(R) AFM files it accompanies may be used, copied, and distributed for any purpose and without charge, with or without modification, provided that all copyright notices are retained; that the AFM files are not distributed without this file; that all modifications to this file or any of the AFM files are prominently noted in the modified file(s); and that this paragraph is not modified. Adobe Systems has no responsibility or obligation to support the use of the AFM files. 4 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Abstyles.txt: -------------------------------------------------------------------------------- 1 | This is APREAMBL.TEX, version 1.10e, written by Hans-Hermann Bode 2 | (HHBODE@DOSUNI1.BITNET), for the BibTeX `adaptable' family, version 1.10. 3 | See the file APREAMBL.DOC for a detailed documentation. 4 | 5 | This program is distributed WITHOUT ANY WARRANTY, express or implied. 6 | 7 | Copyright (C) 1991, 1992 Hans-Hermann Bode 8 | 9 | Permission is granted to make and distribute verbatim copies of this document provided that the copyright notice and this permission notice are preserved on all copies. 10 | 11 | Permission is granted to copy and distribute modified versions of this document under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. 12 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Adobe-2006.txt: -------------------------------------------------------------------------------- 1 | Adobe Systems Incorporated(r) Source Code License Agreement 2 | Copyright(c) 2006 Adobe Systems Incorporated. All rights reserved. 3 | 4 | Please read this Source Code License Agreement carefully before using the source code. 5 | 6 | Adobe Systems Incorporated 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, and distribute this source code and such derivative works in source or object code form without any attribution requirements. 7 | 8 | The name "Adobe Systems Incorporated" must not be used to endorse or promote products derived from the source code without prior written permission. 9 | 10 | You agree to indemnify, hold harmless and defend Adobe Systems Incorporated from and against any loss, damage, claims or lawsuits, including attorney's fees that arise or result from your use or distribution of the source code. 11 | 12 | THIS SOURCE CODE IS PROVIDED "AS IS" AND "WITH ALL FAULTS", WITHOUT ANY TECHNICAL SUPPORT OR ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ALSO, THERE IS NO WARRANTY OF NON-INFRINGEMENT, TITLE OR QUIET ENJOYMENT. IN NO EVENT SHALL MACROMEDIA OR ITS SUPPLIERS 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 SOURCE CODE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 13 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Adobe-Glyph.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 1997,1998,2002,2007 Adobe Systems Incorporated 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this documentation file to use, copy, publish, distribute, sublicense, and/or sell copies of the documentation, and to permit others to do the same, provided that: 4 | 5 | - No modification, editing or other alteration of this document is allowed; and 6 | - The above copyright notice and this permission notice shall be included in all copies of the documentation. 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy of this documentation file, to create their own derivative works from the content of this document to use, copy, publish, distribute, sublicense, and/or sell the derivative works, and to permit others to do the same, provided that the derived work is not represented as being a copy or version of this document. 9 | 10 | Adobe shall not be liable to any party for any loss of revenue or profit or for indirect, incidental, special, consequential, or other similar damages, whether based on tort (including without limitation negligence or strict liability), contract or other legal or equitable grounds even if Adobe has been advised or had reason to know of the possibility of such damages. The Adobe materials are provided on an "AS IS" basis.Ê Adobe specifically disclaims all express, statutory, or implied warranties relating to the Adobe materials, including but not limited to those concerning merchantability or fitness for a particular purpose or non-infringement of any third party rights regarding the Adobe materials. 11 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Afmparse.txt: -------------------------------------------------------------------------------- 1 | (C) 1988, 1989 by Adobe Systems Incorporated. All rights reserved. 2 | 3 | This file may be freely copied and redistributed as long as: 4 | 5 | 1) This entire notice continues to be included in the file, 6 | 2) If the file has been modified in any way, a notice of such modification is conspicuously indicated. 7 | 8 | PostScript, Display PostScript,and Adobe are registered trademarks of Adobe Systems Incorporated. 9 | 10 | THE INFORMATION BELOW IS FURNISHED AS IS, IS SUBJECT TO CHANGE WITHOUT NOTICE, AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY ADOBE SYSTEMS INCORPORATED. ADOBE SYSTEMS INCORPORATED ASSUMES NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR INACCURACIES, MAKES NO WARRANTY OF ANY KIND (EXPRESS, IMPLIED OR STATUTORY) WITH RESPECT TO THIS INFORMATION, AND EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES OF MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSES AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. 11 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/App-s2p.txt: -------------------------------------------------------------------------------- 1 | COPYRIGHT and LICENSE 2 | 3 | This program is free and open software. You may use, modify, 4 | distribute, and sell this program (and any modified variants) in any 5 | way you wish, provided you do not restrict others from doing the same. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-1-Clause.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) . All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 4 | 5 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 6 | 7 | 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 HOLDERS AND 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. 8 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-2-Clause-Views.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 4 | 5 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 6 | 7 | 2. 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. 8 | 9 | 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. 10 | 11 | The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of the copyright holders or contributors. 12 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-2-Clause.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2 | 3 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 4 | 5 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 6 | 7 | 2. 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. 8 | 9 | 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. 10 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-3-Clause-Attribution.txt: -------------------------------------------------------------------------------- 1 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 2 | 3 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 4 | 5 | 2. 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. 6 | 7 | 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 8 | 9 | 4. Redistributions of any form whatsoever must retain the following acknowledgment: 'This product includes software developed by the "Universidad de Palermo, Argentina" (http://www.palermo.edu/).' 10 | 11 | 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. 12 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-3-Clause-Clear.txt: -------------------------------------------------------------------------------- 1 | The Clear BSD License 2 | 3 | Copyright (c) [xxxx]-[xxxx] [Owner Organization] 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: 7 | 8 | * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 9 | 10 | * 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. 11 | 12 | * Neither the name of [Owner Organization] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 13 | 14 | NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. 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. 15 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-3-Clause-Modification.txt: -------------------------------------------------------------------------------- 1 | Redistribution and use in source and binary forms, with or without 2 | modification, are permitted provided that the following conditions are 3 | met: 4 | 5 | 1. Redistributions in source code must retain the accompanying 6 | copyright notice, this list of conditions, and the following 7 | disclaimer. 8 | 9 | 2. Redistributions in binary form must reproduce the accompanying 10 | copyright notice, this list of conditions, and the following 11 | disclaimer in the documentation and/or other materials provided 12 | with the distribution. 13 | 14 | 3. Names of the copyright holders must not be used to endorse or 15 | promote products derived from this software without prior 16 | written permission from the copyright holders. 17 | 18 | 4. If any files are modified, you must cause the modified files to 19 | carry prominent notices stating that you changed the files and 20 | the date of any change. 21 | 22 | Disclaimer 23 | 24 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS "AS IS" AND 25 | ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 26 | TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 27 | PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 28 | HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 29 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 30 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 31 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 32 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 33 | TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 34 | THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 | SUCH DAMAGE. 36 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-3-Clause-No-Military-License.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) year copyright holder. All Rights Reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 4 | 5 | 1. 6 | Redistribution of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 7 | 8 | 2. 9 | Redistribution 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. 10 | 11 | 3. 12 | Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 13 | 14 | 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. 15 | 16 | YOU ACKNOWLEDGE THAT THIS SOFTWARE IS NOT DESIGNED, LICENSED OR INTENDED FOR USE IN THE DESIGN, CONSTRUCTION, OPERATION OR MAINTENANCE OF ANY MILITARY FACILITY. 17 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-3-Clause-No-Nuclear-License-2014.txt: -------------------------------------------------------------------------------- 1 | 2 | Copyright © 2008, 2014 Oracle and/or its affiliates. All rights reserved. 3 | 4 | Use is subject to license terms. 5 | 6 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 7 | 8 | * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 9 | 10 | * 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. 11 | 12 | * Neither the name of Oracle Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 13 | 14 | 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. 15 | 16 | You acknowledge that this software is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility. 17 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-3-Clause-No-Nuclear-License.txt: -------------------------------------------------------------------------------- 1 | 2 | Copyright 1994-2009 Sun Microsystems, Inc. All Rights Reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 5 | 6 | * Redistribution of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 7 | 8 | * Redistribution 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. 9 | 10 | * Neither the name of Sun Microsystems, Inc. or the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission. 11 | 12 | This software is provided "AS IS," without a warranty of any kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 13 | 14 | You acknowledge that this software is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility. 15 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-3-Clause-No-Nuclear-Warranty.txt: -------------------------------------------------------------------------------- 1 | 2 | Copyright (c) 2003-2005 Sun Microsystems, Inc. All Rights Reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 5 | 6 | - Redistribution of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 7 | 8 | - Redistribution 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. 9 | 10 | - Neither the name of Sun Microsystems, Inc. or the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission. 11 | 12 | This software is provided "AS IS," without a warranty of any kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 13 | 14 | You acknowledge that this software is not designed or intended for use in the design, construction, operation or maintenance of any nuclear facility. 15 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-3-Clause-Open-MPI.txt: -------------------------------------------------------------------------------- 1 | Redistribution and use in source and binary forms, with or without 2 | modification, are permitted provided that the following conditions are 3 | met: 4 | 5 | - Redistributions of source code must retain the above copyright 6 | notice, this list of conditions and the following disclaimer. 7 | 8 | - Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer listed 10 | in this license in the documentation and/or other materials 11 | provided with the distribution. 12 | 13 | - Neither the name of the copyright holders nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | The copyright holders provide no reassurances that the source code 18 | provided does not infringe any patent, copyright, or any other 19 | intellectual property rights of third parties. The copyright holders 20 | disclaim any liability to any recipient for claims brought against 21 | recipient by any third party for infringement of that parties 22 | intellectual property rights. 23 | 24 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 25 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 26 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 27 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 28 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 29 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 30 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 31 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 32 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 33 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 34 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-3-Clause.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) . 2 | 3 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 4 | 5 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 6 | 7 | 2. 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. 8 | 9 | 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 10 | 11 | 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. 12 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-4-Clause-Shortened.txt: -------------------------------------------------------------------------------- 1 | License: BSD-4-Clause-Shortened 2 | 3 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that: 4 | 5 | (1) source code distributions retain the above copyright notice and this paragraph in its entirety, 6 | (2) distributions including binary code include the above copyright notice and this paragraph in its entirety in the documentation or other materials provided with the distribution, and 7 | (3) all advertising materials mentioning features or use of this software display the following acknowledgement: 8 | 9 | "This product includes software developed by the University of California, Lawrence Berkeley Laboratory and its contributors.'' 10 | 11 | Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 12 | 13 | THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 14 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-4-Clause-UC.txt: -------------------------------------------------------------------------------- 1 | BSD-4-Clause (University of California-Specific) 2 | 3 | Copyright [various years] The Regents of the University of California. All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 6 | 7 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 8 | 9 | 2. 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. 10 | 11 | 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the University of California, Berkeley and its contributors. 12 | 13 | 4. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE REGENTS 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. 16 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-4-Clause.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) . All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 4 | 5 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 6 | 7 | 2. 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. 8 | 9 | 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: 10 | This product includes software developed by the organization. 11 | 12 | 4. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 13 | 14 | THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDER "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 COPYRIGHT HOLDER 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. 15 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSD-Source-Code.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011, Deusty, LLC 2 | All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 5 | 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 7 | 8 | * Neither the name of Deusty nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission of Deusty, LLC. 9 | 10 | 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. 11 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BSL-1.0.txt: -------------------------------------------------------------------------------- 1 | Boost Software License - Version 1.0 - August 17th, 2003 2 | 3 | Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: 4 | 5 | The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. 6 | 7 | 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, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Baekmuk.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 1986-2002 Kim Jeong-Hwan All rights reserved. 2 | 3 | Permission to use, copy, modify and distribute this font 4 | is hereby granted, provided that both the copyright notice 5 | and this permission notice appear in all copies of the 6 | font, derivative works or modified versions, and that the 7 | following acknowledgement appear in supporting documentation: 8 | Baekmuk Batang, Baekmuk Dotum, Baekmuk Gulim, and Baekmuk 9 | Headline are registered trademarks owned by Kim Jeong-Hwan. 10 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Bahyph.txt: -------------------------------------------------------------------------------- 1 | COPYRIGHT NOTICE 2 | 3 | These patterns and the generating sh script are Copyright (c) GMV 1991 4 | 5 | These patterns were developed for internal GMV use and are made public in the hope that they will benefit others. Also, spreading these patterns throughout the Spanish-language TeX community is expected to provide back-benefits to GMV in that it can help keeping GMV in the mainstream of spanish users. 6 | 7 | However, this is given for free and WITHOUT ANY WARRANTY. Under no circumstances can Julio Sanchez, GMV, Jos'e A. Ma~nas or any agents or representatives thereof be held responsible for any errors in this software nor for any damages derived from its use, even in case any of the above has been notified of the possibility of such damages. If any such situation arises, you responsible for repair. Use of this software is an explicit acceptance of these conditions. 8 | 9 | You can use this software for any purpose. You cannot delete this copyright notice. If you change this software, you must include comments explaining who, when and why. You are kindly requested to send any changes to tex@gmv.es. If you change the generating script, you must include code in it such that any output is clearly labeled as generated by a modified script. Despite the lack of warranty, we would like to hear about any problem you find. Please report problems to tex@gmv.es. 10 | 11 | END OF COPYRIGHT NOTICE 12 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Barr.txt: -------------------------------------------------------------------------------- 1 | This is a package of commutative diagram macros built on top of Xy-pic by Michael Barr (email: barr@barrs.org). Its use is unrestricted. It may be freely distributed, unchanged, for non-commercial or commercial use. If changed, it must be renamed. Inclusion in a commercial software package is also permitted, but I would appreciate receiving a free copy for my personal examination and use. There are no guarantees that this package is good for anything. I have tested it with LaTeX 2e, LaTeX 2.09 and Plain TeX. Although I know of no reason it will not work with AMSTeX, I have not tested it. 2 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Beerware.txt: -------------------------------------------------------------------------------- 1 | "THE BEER-WARE LICENSE" (Revision 42): wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return Poul-Henning Kamp 2 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/BlueOak-1.0.0.txt: -------------------------------------------------------------------------------- 1 | # Blue Oak Model License 2 | 3 | Version 1.0.0 4 | 5 | ## Purpose 6 | 7 | This license gives everyone as much permission to work with 8 | this software as possible, while protecting contributors 9 | from liability. 10 | 11 | ## Acceptance 12 | 13 | In order to receive this license, you must agree to its 14 | rules. The rules of this license are both obligations 15 | under that agreement and conditions to your license. 16 | You must not do anything with this software that triggers 17 | a rule that you cannot or will not follow. 18 | 19 | ## Copyright 20 | 21 | Each contributor licenses you to do everything with this 22 | software that would otherwise infringe that contributor's 23 | copyright in it. 24 | 25 | ## Notices 26 | 27 | You must ensure that everyone who gets a copy of 28 | any part of this software from you, with or without 29 | changes, also gets the text of this license or a link to 30 | . 31 | 32 | ## Excuse 33 | 34 | If anyone notifies you in writing that you have not 35 | complied with [Notices](#notices), you can keep your 36 | license by taking all practical steps to comply within 30 37 | days after the notice. If you do not do so, your license 38 | ends immediately. 39 | 40 | ## Patent 41 | 42 | Each contributor licenses you to do everything with this 43 | software that would otherwise infringe any patent claims 44 | they can license or become able to license. 45 | 46 | ## Reliability 47 | 48 | No contributor can revoke this license. 49 | 50 | ## No Liability 51 | 52 | ***As far as the law allows, this software comes as is, 53 | without any warranty or condition, and no contributor 54 | will be liable to anyone for any damages related to this 55 | software or this license, under any kind of legal claim.*** 56 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Borceux.txt: -------------------------------------------------------------------------------- 1 | Copyright 1993 Francis Borceux 2 | You may freely use, modify, and/or distribute each of the files in this package without limitation. The package consists of the following files: 3 | 4 | README 5 | compatibility/OldDiagram 6 | compatibility/OldMaxiDiagram 7 | compatibility/OldMicroDiagram 8 | compatibility/OldMiniDiagram 9 | compatibility/OldMultipleArrows 10 | diagram/Diagram 11 | diagram/MaxiDiagram 12 | diagram/MicroDiagram 13 | diagram/MiniDiagram 14 | diagram/MultipleArrows 15 | user-guides/Diagram_Mode_d_Emploi 16 | user-guides/Diagram_Read_Me 17 | 18 | Of course no support is guaranteed, but the author will attempt to assist with problems. Current email address: 19 | francis dot borceux at uclouvain dot be. 20 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/CC-PDDC.txt: -------------------------------------------------------------------------------- 1 | 2 | The person or persons who have associated work with this document (the "Dedicator" or "Certifier") hereby either (a) certifies that, to the best of his knowledge, the work of authorship identified is in the public domain of the country from which the work is published, or (b) hereby dedicates whatever copyright the dedicators holds in the work of authorship identified below (the "Work") to the public domain. A certifier, moreover, dedicates any copyright interest he may have in the associated work, and for these purposes, is described as a "dedicator" below. 3 | 4 | A certifier has taken reasonable steps to verify the copyright status of this work. Certifier recognizes that his good faith efforts may not shield him from liability if in fact the work certified is not in the public domain. 5 | 6 | Dedicator makes this dedication for the benefit of the public at large and to the detriment of the Dedicator's heirs and successors. Dedicator intends this dedication to be an overt act of relinquishment in perpetuity of all present and future rights under copyright law, whether vested or contingent, in the Work. Dedicator understands that such relinquishment of all rights includes the relinquishment of all rights to enforce (by lawsuit or otherwise) those copyrights in the Work. 7 | 8 | Dedicator recognizes that, once placed in the public domain, the Work may be freely reproduced, distributed, transmitted, used, modified, built upon, or otherwise exploited by anyone for any purpose, commercial or non-commercial, and in any way, including by methods that have not yet been invented or conceived. 9 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/COIL-1.0.txt: -------------------------------------------------------------------------------- 1 | # Copyfree Open Innovation License 2 | 3 | This is version 1.0 of the Copyfree Open Innovation License. 4 | 5 | ## Terms and Conditions 6 | 7 | Redistributions, modified or unmodified, in whole or in part, must retain 8 | applicable notices of copyright or other legal privilege, these conditions, and 9 | the following license terms and disclaimer. Subject to these conditions, each 10 | holder of copyright or other legal privileges, author or assembler, and 11 | contributor of this work, henceforth "licensor", hereby grants to any person 12 | who obtains a copy of this work in any form: 13 | 14 | 1. Permission to reproduce, modify, distribute, publish, sell, sublicense, use, 15 | and/or otherwise deal in the licensed material without restriction. 16 | 17 | 2. A perpetual, worldwide, non-exclusive, royalty-free, gratis, irrevocable 18 | patent license to make, have made, provide, transfer, import, use, and/or 19 | otherwise deal in the licensed material without restriction, for any and all 20 | patents held by such licensor and necessarily infringed by the form of the work 21 | upon distribution of that licensor's contribution to the work under the terms 22 | of this license. 23 | 24 | NO WARRANTY OF ANY KIND IS IMPLIED BY, OR SHOULD BE INFERRED FROM, THIS LICENSE 25 | OR THE ACT OF DISTRIBUTION UNDER THE TERMS OF THIS LICENSE, INCLUDING BUT NOT 26 | LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, 27 | AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS, ASSEMBLERS, OR HOLDERS OF 28 | COPYRIGHT OR OTHER LEGAL PRIVILEGE BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER 29 | LIABILITY, WHETHER IN ACTION OF CONTRACT, TORT, OR OTHERWISE ARISING FROM, OUT 30 | OF, OR IN CONNECTION WITH THE WORK OR THE USE OF OR OTHER DEALINGS IN THE WORK. 31 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Crossword.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 1995-2009 Gerd Neugebauer 2 | 3 | cwpuzzle.dtx is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. No author or distributor accepts responsibility to anyone for the consequences of using it or for whether it serves any particular purpose or works at all, unless he says so in writing. 4 | . 5 | Everyone is granted permission to copy, modify and redistribute cwpuzzle.dtx, provided this copyright notice is preserved and any modifications are indicated. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/CrystalStacker.txt: -------------------------------------------------------------------------------- 1 | Crystal Stacker is freeware. This means you can pass copies around freely provided you include this document in it's original form in your distribution. Please see the "Contacting Us" section of this document if you need to contact us for any reason. 2 | 3 | Disclaimer 4 | 5 | NewCreature Design makes no guarantees regarding the Crystal Stacker software. We are not responsible for damages caused by it, though the software is not known to cause any problems. If you have trouble with the software, see the "Contacting Us" section of this document. 6 | 7 | The source code is provided as-is and you may do with it whatsoever you please provided that you include this file in its unmodified form with any new distribution. NewCreature Design makes no gaurantees regarding the usability of the source but are willing to help with any problems you might run into. Please see the "Contacting Us" section of this document if you need to get in touch with us about any issues you have regarding the source. 8 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Cube.txt: -------------------------------------------------------------------------------- 1 | Cube game engine source code, 20 dec 2003 release. 2 | 3 | Copyright (C) 2001-2003 Wouter van Oortmerssen. 4 | 5 | This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. 6 | 7 | Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 8 | 9 | 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 10 | 11 | 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 12 | 13 | 3. This notice may not be removed or altered from any source distribution. 14 | 15 | additional clause specific to Cube: 16 | 17 | 4. Source versions may not be "relicensed" under a different license without my explicitly written permission. 18 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/DRL-1.0.txt: -------------------------------------------------------------------------------- 1 | Detection Rule License (DRL) 1.0 2 | Permission is hereby granted, free of charge, to any person obtaining a copy of this rule set and associated documentation files (the "Rules"), to deal in the Rules without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Rules, and to permit persons to whom the Rules are furnished to do so, subject to the following conditions: 3 | 4 | If you share the Rules (including in modified form), you must retain the following if it is supplied within the Rules: 5 | 6 | identification of the authors(s) ("author" field) of the Rule and any others designated to receive attribution, in any reasonable manner requested by the Rule author (including by pseudonym if designated). 7 | 8 | a URI or hyperlink to the Rule set or explicit Rule to the extent reasonably practicable 9 | 10 | indicate the Rules are licensed under this Detection Rule License, and include the text of, or the URI or hyperlink to, this Detection Rule License to the extent reasonably practicable 11 | 12 | THE RULES 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. 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 RULES OR THE USE OR OTHER DEALINGS IN THE RULES. 13 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Dotseqn.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 1995 by Donald Arseneau 2 | 3 | This file may be freely transmitted and reproduced, but it may not be changed unless the name is changed also (except that you may freely change the paper-size option for \documentclass). 4 | 5 | This notice must be left intact. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/EFL-1.0.txt: -------------------------------------------------------------------------------- 1 | Eiffel Forum License, version 1 2 | 3 | Permission is hereby granted to use, copy, modify and/or distribute this package, provided that: 4 | 5 | - copyright notices are retained unchanged 6 | 7 | - any distribution of this package, whether modified or not, includes this file 8 | 9 | Permission is hereby also granted to distribute binary programs which depend on this package, provided that: 10 | 11 | - if the binary program depends on a modified version of this package, you must publicly release the modified version of this package 12 | 13 | THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT WARRANTY. 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 AUTHORS BE LIABLE TO ANY PARTY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THIS PACKAGE. 14 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/EFL-2.0.txt: -------------------------------------------------------------------------------- 1 | Eiffel Forum License, version 2 2 | 3 | 1. Permission is hereby granted to use, copy, modify and/or distribute this package, provided that: 4 | - copyright notices are retained unchanged, 5 | - any distribution of this package, whether modified or not, includes this license text. 6 | 7 | 2. Permission is hereby also granted to distribute binary programs which depend on this package. If the binary program depends on a modified version of this package, you are encouraged to publicly release the modified version of this package. 8 | 9 | THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT WARRANTY. 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 AUTHORS BE LIABLE TO ANY PARTY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THIS PACKAGE. 10 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Eurosym.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 1999-2002 Henrik Theiling 2 | Licence Version 2 3 | 4 | This software is provided 'as-is', without warranty of any kind, express or implied. In no event will the authors or copyright holders be held liable for any damages arising from the use of this software. 5 | 6 | Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 7 | 8 | 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated. 9 | 10 | 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 11 | 12 | 3. You must not use any of the names of the authors or copyright holders of the original software for advertising or publicity pertaining to distribution without specific, written prior permission. 13 | 14 | 4. If you change this software and redistribute parts or all of it in any form, you must make the source code of the altered version of this software available. 15 | 16 | 5. This notice may not be removed or altered from any source distribution. 17 | 18 | This licence is governed by the Laws of Germany. Disputes shall be settled by Saarbruecken City Court. 19 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/FSFAP.txt: -------------------------------------------------------------------------------- 1 | Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty. 2 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/FSFUL.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 2 | 3 | This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. 4 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/FSFULLR.txt: -------------------------------------------------------------------------------- 1 | Copyright 1996-2006 Free Software Foundation, Inc. 2 | 3 | This file is free software; the Free Software Foundation gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. 4 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Fair.txt: -------------------------------------------------------------------------------- 1 | Fair License 2 | 3 | 4 | 5 | Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument. 6 | 7 | DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY. 8 | 9 | [2004, Fair License: rhid.com/fair (this URL no longer works)] 10 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/GL2PS.txt: -------------------------------------------------------------------------------- 1 | GL2PS LICENSE Version 2, November 2003 2 | 3 | Copyright (C) 2003, Christophe Geuzaine 4 | 5 | Permission to use, copy, and distribute this software and its documentation for any purpose with or without fee is hereby granted, provided that the copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. 6 | 7 | Permission to modify and distribute modified versions of this software is granted, provided that: 8 | 9 | 1) the modifications are licensed under the same terms as this software; 10 | 11 | 2) you make available the source code of any modifications that you distribute, either on the same media as you distribute any executable or other form of this software, or via a mechanism generally accepted in the software development community for the electronic transfer of data. 12 | 13 | This software is provided "as is" without express or implied warranty. 14 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/GLWTPL.txt: -------------------------------------------------------------------------------- 1 | GLWT(Good Luck With That) Public License 2 | Copyright (c) Everyone, except Author 3 | 4 | Everyone is permitted to copy, distribute, modify, merge, sell, publish, 5 | sublicense or whatever they want with this software but at their OWN RISK. 6 | 7 | Preamble 8 | 9 | The author has absolutely no clue what the code in this project does. 10 | It might just work or not, there is no third option. 11 | 12 | 13 | GOOD LUCK WITH THAT PUBLIC LICENSE 14 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION, AND MODIFICATION 15 | 16 | 0. You just DO WHATEVER YOU WANT TO as long as you NEVER LEAVE A 17 | TRACE TO TRACK THE AUTHOR of the original product to blame for or hold 18 | responsible. 19 | 20 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | DEALINGS IN THE SOFTWARE. 24 | 25 | Good luck and Godspeed. 26 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Giftware.txt: -------------------------------------------------------------------------------- 1 | Allegro 4 (the giftware license) 2 | 3 | Allegro is gift-ware. It was created by a number of people working in cooperation, and is given to you freely as a gift. You may use, modify, redistribute, and generally hack it about in any way you like, and you do not have to give us anything in return. 4 | 5 | However, if you like this product you are encouraged to thank us by making a return gift to the Allegro community. This could be by writing an add-on package, providing a useful bug report, making an improvement to the library, or perhaps just releasing the sources of your program so that other people can learn from them. If you redistribute parts of this code or make a game using it, it would be nice if you mentioned Allegro somewhere in the credits, but you are not required to do this. We trust you not to abuse our generosity. 6 | 7 | By Shawn Hargreaves, 18 October 1998. 8 | 9 | DISCLAIMER: 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, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Glulxe.txt: -------------------------------------------------------------------------------- 1 | The source code in this package is copyright 1999-2010 by Andrew Plotkin. 2 | 3 | You may copy and distribute it freely, by any means and under any conditions, as long as the code and documentation is not changed. You may also incorporate this code into your own program and distribute that, or modify this code and use and distribute the modified version, as long as you retain a notice in your program or documentation which mentions my name and the URL shown above. 4 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/HPND-sell-variant.txt: -------------------------------------------------------------------------------- 1 | Copyright 1993 by OpenVision Technologies, Inc. 2 | 3 | Permission to use, copy, modify, distribute, and sell this software 4 | and its documentation for any purpose is hereby granted without fee, 5 | provided that the above copyright notice appears in all copies and 6 | that both that copyright notice and this permission notice appear in 7 | supporting documentation, and that the name of OpenVision not be used 8 | in advertising or publicity pertaining to distribution of the software 9 | without specific, written prior permission. OpenVision makes no 10 | representations about the suitability of this software for any 11 | purpose. It is provided "as is" without express or implied warranty. 12 | 13 | OPENVISION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 14 | INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 15 | EVENT SHALL OPENVISION BE LIABLE FOR ANY SPECIAL, INDIRECT OR 16 | CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF 17 | USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 18 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 19 | PERFORMANCE OF THIS SOFTWARE. 20 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/HPND.txt: -------------------------------------------------------------------------------- 1 | Historical Permission Notice and Disclaimer 2 | 3 | 4 | 5 | Permission to use, copy, modify and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies, and that both that the copyright notice and this permission notice appear in supporting documentation, and that the name of or not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. 6 | 7 | DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,. IN NO EVENT SHALL 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 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 8 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/HTMLTIDY.txt: -------------------------------------------------------------------------------- 1 | HTML Tidy License 2 | 3 | This software and documentation is provided "as is," and the copyright holders and contributing author(s) make no representations or warranties, express or implied, including but not limited to, warranties of merchantability or fitness for any particular purpose or that the use of the software or documentation will not infringe any third party patents, copyrights, trademarks or other rights. 4 | 5 | The copyright holders and contributing author(s) will not be held liable for any direct, indirect, special or consequential damages arising out of any use of the software or documentation, even if advised of the possibility of such damage. 6 | 7 | Permission is hereby granted to use, copy, modify, and distribute this source code, or portions hereof, documentation and executables, for any purpose, without fee, subject to the following restrictions: 8 | 9 | 1. The origin of this source code must not be misrepresented. 10 | 2. Altered versions must be plainly marked as such and must not be misrepresented as being the original source. 11 | 3. This Copyright notice may not be removed or altered from any source or altered source distribution. 12 | 13 | The copyright holders and contributing author(s) specifically permit, without fee, and encourage the use of this source code as a component for supporting the Hypertext Markup Language in commercial products. If you use this source code in a product, acknowledgement is not required but would be appreciated. 14 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/HaskellReport.txt: -------------------------------------------------------------------------------- 1 | Code derived from the document "Report on the Programming Language 2 | Haskell 2010", is distributed under the following license: 3 | 4 | Copyright (c) 2010 Simon Marlow 5 | 6 | The authors intend this Report to belong to the entire Haskell community, and so we grant permission to copy and distribute it for any purpose, provided that it is reproduced in its entirety, including this Notice. Modified versions of this Report may also be copied and distributed for any purpose, provided that the modified version is clearly presented as such, and that it does not claim to be a definition of the Haskell 2010 Language. 7 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/IBM-pibs.txt: -------------------------------------------------------------------------------- 1 | This source code has been made available to you by IBM on an AS-IS basis. Anyone receiving this source is licensed under IBM copyrights to use it in any way he or she deems fit, including copying it, modifying it, compiling it, and redistributing it either with or without modifications. No license under IBM patents or patent applications is to be implied by the copyright license. 2 | 3 | Any user of this software should understand that IBM cannot provide technical support for this software and will not be responsible for any consequences resulting from the use of this software. 4 | 5 | Any person who transfers this source code or any derivative work must include the IBM copyright notice, this paragraph, and the preceding two paragraphs in the transferred software. 6 | 7 | COPYRIGHT   I B M   CORPORATION 2002 8 | LICENSED MATERIAL  -  PROGRAM PROPERTY OF I B M 9 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/ICU.txt: -------------------------------------------------------------------------------- 1 | ICU License - ICU 1.8.1 and later 2 | 3 | COPYRIGHT AND PERMISSION NOTICE 4 | 5 | Copyright (c) 1995-2014 International Business Machines Corporation and others 6 | All rights reserved. 7 | 8 | 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. 9 | 10 | 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. 11 | 12 | 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. 13 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/ISC.txt: -------------------------------------------------------------------------------- 1 | ISC License: 2 | 3 | Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC") 4 | Copyright (c) 1995-2003 by Internet Software Consortium 5 | 6 | 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. 7 | 8 | THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC 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. 9 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Imlib2.txt: -------------------------------------------------------------------------------- 1 | Imlib2 License 2 | 3 | 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: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies of the Software and its Copyright notices. In addition publicly documented acknowledgment must be given that this software has been used if no source code of this software is made available publicly. Making the source available publicly means including the source for this software with the distribution, or a method to get this software via some reasonable mechanism (electronic transfer via a network or media) as well as making an offer to supply the source on request. This Copyright notice serves as an offer to supply the source on on request as well. Instead of this, supplying acknowledgments of use of this software in either Copyright notices, Manuals, Publicity and Marketing documents or any documentation provided with any product containing this software. This License does not apply to any software that links to the libraries provided by this software (statically or dynamically), but only to the software provided. 6 | 7 | Please see the COPYING-PLAIN for a plain-english explanation of this notice and its intent. 8 | 9 | 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 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. 10 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/JSON.txt: -------------------------------------------------------------------------------- 1 | JSON License 2 | 3 | Copyright (c) 2002 JSON.org 4 | 5 | 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: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | The Software shall be used for Good, not Evil. 10 | 11 | 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. 12 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Jam.txt: -------------------------------------------------------------------------------- 1 | License is hereby granted to use this software and distribute it freely, 2 | as long as this copyright notice is retained and modifications are 3 | clearly marked. 4 | 5 | ALL WARRANTIES ARE HEREBY DISCLAIMED. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Latex2e.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 2007, 2008, 2009, 2010 Karl Berry. 2 | Copyright (C) 1988, 1994, 2007 Stephen Gilmore. 3 | Copyright (C) 1994, 1995, 1996 Torsten Martinsen. 4 | 5 | Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. 6 | 7 | Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. 8 | 9 | Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions. 10 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Leptonica.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 2001 Leptonica. All rights reserved. 2 | 3 | This software is distributed in the hope that it will be useful, but with NO WARRANTY OF ANY KIND. 4 | 5 | No author or distributor accepts responsibility to anyone for the consequences of using this software, or for whether it serves any particular purpose or works at all, unless he or she says so in writing. Everyone is granted permission to copy, modify and redistribute this source code, for commercial or non-commercial purposes, with the following restrictions: 6 | 7 | (1) the origin of this source code must not be misrepresented; 8 | (2) modified versions must be plainly marked as such; and 9 | (3) this notice may not be removed or altered from any source or modified source distribution. 10 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Linux-OpenIB.txt: -------------------------------------------------------------------------------- 1 | Redistribution and use in source and binary forms, with or 2 | without modification, are permitted provided that the following 3 | conditions are met: 4 | 5 | - Redistributions of source code must retain the above copyright notice, this 6 | list of conditions and the following disclaimer. 7 | 8 | - Redistributions in binary form must reproduce the above copyright notice, 9 | this list of conditions and the following disclaimer in the documentation 10 | and/or other materials provided with the distribution. 11 | 12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 13 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 14 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 15 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 16 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 17 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 18 | SOFTWARE. 19 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Linux-man-pages-copyleft.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) All rights reserved. 2 | 3 | Permission is granted to make and distribute verbatim copies of this 4 | manual provided the copyright notice and this permission notice are 5 | preserved on all copies. 6 | 7 | Permission is granted to copy and distribute modified versions of 8 | this manual under the conditions for verbatim copying, provided that 9 | the entire resulting derived work is distributed under the terms of 10 | a permission notice identical to this one. 11 | 12 | Since the Linux kernel and libraries are constantly changing, this 13 | manual page may be incorrect or out-of-date. The author(s) assume 14 | no responsibility for errors or omissions, or for damages resulting 15 | from the use of the information contained herein. The author(s) may 16 | not have taken the same level of care in the production of this 17 | manual, which is licensed free of charge, as they might when working 18 | professionally. 19 | 20 | Formatted or processed versions of this manual, if unaccompanied by 21 | the source, must acknowledge the copyright and authors of this work. 22 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/MIT-0.txt: -------------------------------------------------------------------------------- 1 | MIT No Attribution 2 | 3 | Copyright 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this 6 | software and associated documentation files (the "Software"), to deal in the Software 7 | without restriction, including without limitation the rights to use, copy, modify, 8 | merge, publish, distribute, sublicense, and/or sell copies of the Software, and to 9 | permit persons to whom the Software is furnished to do so. 10 | 11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 12 | INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 13 | PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 14 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 15 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 16 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 17 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/MIT-CMU.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | By obtaining, using, and/or copying this software and/or its associated documentation, you agree that you have read, understood, and will comply with the following terms and conditions: 4 | 5 | Permission to use, copy, modify, and distribute this software and its associated documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appears in all copies, and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the copyright holder not be used in advertising or publicity pertaining to distribution of the software without specific, written permission. 6 | 7 | THE COPYRIGHT HOLDER DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM THE 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. 8 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/MIT-Modern-Variant.txt: -------------------------------------------------------------------------------- 1 | Permission is hereby granted, without written agreement and without 2 | license or royalty fees, to use, copy, modify, and distribute this 3 | software and its documentation for any purpose, provided that the 4 | above copyright notice and the following two paragraphs appear in 5 | all copies of this software. 6 | 7 | IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR 8 | DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES 9 | ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN 10 | IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 11 | DAMAGE. 12 | 13 | THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, 14 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 15 | FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS 16 | ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO 17 | PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 18 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/MIT-advertising.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 2000-2008 Carsten Haitzler, Geoff Harrison and various contributors Copyright (C) 2004-2008 Kim Woelders 2 | 3 | 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: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies of the Software, its documentation and marketing & publicity materials, and acknowledgment shall be given in the documentation, materials and software packages that this Software was used. 6 | 7 | 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 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. 8 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/MIT-enna.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 2000 Carsten Haitzler and various contributors (see AUTHORS) 2 | 3 | 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: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies of the Software and its Copyright notices. In addition publicly documented acknowledgment must be given that this software has been used if no source code of this software is made available publicly. This includes acknowledgments in either Copyright notices, Manuals, Publicity and Marketing documents or any documentation provided with any product containing this software. This License does not apply to any software that links to the libraries provided by this software (statically or dynamically), but only to the software provided. 6 | 7 | Please see the COPYING.PLAIN for a plain-english explanation of this notice and it's intent. 8 | 9 | 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 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. 10 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/MIT-feh.txt: -------------------------------------------------------------------------------- 1 | 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: 2 | 3 | The above copyright notice and this permission notice shall be included in all copies of the Software and its documentation and acknowledgment shall be given in the documentation and software packages that this Software was used. 4 | 5 | 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 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. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/MIT-open-group.txt: -------------------------------------------------------------------------------- 1 | Copyright The Open Group 2 | 3 | Permission to use, copy, modify, distribute, and sell this software and 4 | its documentation for any purpose is hereby granted without fee, 5 | provided that the above copyright notice appear in all copies and that 6 | both that copyright notice and this permission notice appear in 7 | supporting documentation. 8 | 9 | The above copyright notice and this permission notice shall be included 10 | in all copies or substantial portions of the Software. 11 | 12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 13 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 14 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 15 | IN NO EVENT SHALL BE LIABLE FOR ANY CLAIM, DAMAGES 16 | OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 17 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR 18 | THE USE OR OTHER DEALINGS IN THE SOFTWARE. 19 | 20 | Except as contained in this notice, the name of The Open Group 21 | shall not be used in advertising or otherwise to promote the sale, use 22 | or other dealings in this Software without prior written authorization 23 | from The Open Group. 24 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/MIT.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 4 | 5 | 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: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | 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. 10 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/MITNFA.txt: -------------------------------------------------------------------------------- 1 | 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: 2 | 3 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 4 | 5 | Distributions of all or part of the Software intended to be used by the recipients as they would use the unmodified Software, containing modifications that substantially alter, remove, or disable functionality of the Software, outside of the documented configuration mechanisms provided by the Software, shall be modified such that the Original Author's bug reporting email addresses and urls are either replaced with the contact information of the parties responsible for the changes, or removed entirely. 6 | 7 | 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. 8 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/MirOS.txt: -------------------------------------------------------------------------------- 1 | The MirOS Licence 2 | 3 | Copyright [YEAR] [NAME] [EMAIL] 4 | 5 | Provided that these terms and disclaimer and all copyright notices are retained or reproduced in an accompanying document, permission is granted to deal in this work without restriction, including unlimited rights to use, publicly perform, distribute, sell, modify, merge, give away, or sublicence. 6 | 7 | This work is provided "AS IS" and WITHOUT WARRANTY of any kind, to the utmost extent permitted by applicable law, neither express nor implied; without malicious intent or gross negligence. In no event may a licensor, author or contributor be held liable for indirect, direct, other damage, loss, or other issues arising in any way out of dealing in the work, even if advised of the possibility of such damage or existence of a defect, except proven that it results out of said person's immediate fault when using the work as intended. 8 | 9 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Mup.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 1995-2012 by Arkkra Enterprises. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 4 | 5 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following DISCLAIMER. 6 | 7 | 2. 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. 8 | 9 | 3. Any additions, deletions, or changes to the original files must be clearly indicated in accompanying documentation. including the reasons for the changes, and the names of those who made the modifications. 10 | 11 | DISCLAIMER 12 | 13 | THIS SOFTWARE IS PROVIDED "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 AUTHORS 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. 14 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/NCSA.txt: -------------------------------------------------------------------------------- 1 | University of Illinois/NCSA Open Source License 2 | 3 | Copyright (c) . All rights reserved. 4 | 5 | Developed by: 6 | 7 | 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: 8 | 9 | * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers. 10 | 11 | * 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. 12 | 13 | * Neither the names of , nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission. 14 | 15 | 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. 16 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/NIST-PD-fallback.txt: -------------------------------------------------------------------------------- 1 | Conditions of Use 2 | 3 | This software was developed by employees of the National Institute of Standards and Technology (NIST), an agency of the Federal Government and is being made available as a public service. Pursuant to title 17 United States Code Section 105, works of NIST employees are not subject to copyright protection in the United States. This software may be subject to foreign copyright. Permission in the United States and in foreign countries, to the extent that NIST may hold copyright, to use, copy, modify, create derivative works, and distribute this software and its documentation without fee is hereby granted on a non-exclusive basis, provided that this notice and disclaimer of warranty appears in all copies. 4 | 5 | THE SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY OF ANY KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND FREEDOM FROM INFRINGEMENT, AND ANY WARRANTY THAT THE DOCUMENTATION WILL CONFORM TO THE SOFTWARE, OR ANY WARRANTY THAT THE SOFTWARE WILL BE ERROR FREE. IN NO EVENT SHALL NIST BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF, RESULTING FROM, OR IN ANY WAY CONNECTED WITH THIS SOFTWARE, WHETHER OR NOT BASED UPON WARRANTY, CONTRACT, TORT, OR OTHERWISE, WHETHER OR NOT INJURY WAS SUSTAINED BY PERSONS OR PROPERTY OR OTHERWISE, AND WHETHER OR NOT LOSS WAS SUSTAINED FROM, OR AROSE OUT OF THE RESULTS OF, OR USE OF, THE SOFTWARE OR SERVICES PROVIDED HEREUNDER. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/NIST-PD.txt: -------------------------------------------------------------------------------- 1 | Terms Of Use 2 | 3 | This software was developed by employees of the National Institute of Standards 4 | and Technology (NIST), and others. This software has been contributed to the 5 | public domain. Pursuant to title 15 Untied States Code Section 105, works of 6 | NIST employees are not subject to copyright protection in the United States and 7 | are considered to be in the public domain. As a result, a formal license is 8 | not needed to use this software. 9 | 10 | This software is provided "AS IS." NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, 11 | IMPLIED OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF 12 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT AND DATA 13 | ACCURACY. NIST does not warrant or make any representations regarding the use 14 | of the software or the results thereof, including but not limited to the 15 | correctness, accuracy, reliability or usefulness of this software. 16 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/NLPL.txt: -------------------------------------------------------------------------------- 1 | NO LIMIT PUBLIC LICENSE 2 | Version 0, June 2012 3 | 4 | Gilles LAMIRAL 5 | La Billais 6 | 35580 Baulon 7 | France 8 | 9 | NO LIMIT PUBLIC LICENSE 10 | 11 | Terms and conditions for copying, distribution, modification 12 | or anything else. 13 | 14 | 0. No limit to do anything with this work and this license. 15 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/NTP-0.txt: -------------------------------------------------------------------------------- 1 | NTP No Attribution (NTP-0) 2 | 3 | Copyright (4-digit-year) by (CopyrightHoldersName) 4 | 5 | Permission to use, copy, modify, and distribute this software and its documentation for any purpose is hereby granted, provided that the name of (TrademarkedName) not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. (TrademarkedName) make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/NTP.txt: -------------------------------------------------------------------------------- 1 | NTP License (NTP) 2 | 3 | Copyright (c) (CopyrightHoldersName) (From 4-digit-year)-(To 4-digit-year) 4 | 5 | Permission to use, copy, modify, and distribute this software and its documentation for any purpose with or without fee is hereby granted, provided that the above copyright notice appears in all copies and that both the copyright notice and this permission notice appear in supporting documentation, and that the name (TrademarkedName) not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. (TrademarkedName) makes no representations about the suitability this software for any purpose. It is provided "as is" without express or implied warranty. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/NetCDF.txt: -------------------------------------------------------------------------------- 1 | Copyright 1993-2014 University Corporation for Atmospheric Research/Unidata 2 | 3 | Portions of this software were developed by the Unidata Program at the University Corporation for Atmospheric Research. 4 | 5 | Access and use of this software shall impose the following obligations and understandings on the user. The user is granted the right, without any fee or cost, to use, copy, modify, alter, enhance and distribute this software, and any derivative works thereof, and its supporting documentation for any purpose whatsoever, provided that this entire notice appears in all copies of the software, derivative works and supporting documentation. Further, UCAR requests that the user credit UCAR/Unidata in any publications that result from the use of this software or in any product that includes this software, although this is not an obligation. The names UCAR and/or Unidata, however, may not be used in any advertising or publicity to endorse or promote any products or commercial entity unless specific written permission is obtained from UCAR/Unidata. The user also understands that UCAR/Unidata is not obligated to provide the user with any support, consulting, training or assistance of any kind with regard to the use, operation and performance of this software nor to provide the user with any updates, revisions, new versions or "bug fixes." 6 | 7 | THIS SOFTWARE IS PROVIDED BY UCAR/UNIDATA "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 UCAR/UNIDATA 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 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE ACCESS, USE OR PERFORMANCE OF THIS SOFTWARE. 8 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Newsletr.txt: -------------------------------------------------------------------------------- 1 | Copyright 1989--2004 by Hunter Goatley. 2 | 3 | Permission is granted to anyone to use this software for any purpose on any computer system, and to redistribute it freely, subject to the following restrictions: 4 | 5 | 1. This software 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. 6 | 7 | 2. Altered versions must be plainly marked as such, and must not be misrepresented as being the original software. 8 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Noweb.txt: -------------------------------------------------------------------------------- 1 | Noweb is copyright 1989-2000 by Norman Ramsey. All rights reserved. 2 | 3 | Noweb is protected by copyright. It is not public-domain software or shareware, and it is not protected by a ``copyleft'' agreement like the one used by the Free Software Foundation. 4 | 5 | Noweb is available free for any use in any field of endeavor. You may redistribute noweb in whole or in part provided you acknowledge its source and include this COPYRIGHT file. You may modify noweb and create derived works, provided you retain this copyright notice, but the result may not be called noweb without my written consent. 6 | 7 | You may sell noweb if you wish. For example, you may sell a CD-ROM including noweb. 8 | 9 | You may sell a derived work, provided that all source code for your derived work is available, at no additional charge, to anyone who buys your derived work in any form. You must give permisson for said source code to be used and modified under the terms of this license. You must state clearly that your work uses or is based on noweb and that noweb is available free of change. You must also request that bug reports on your work be reported to you. 10 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/OML.txt: -------------------------------------------------------------------------------- 1 | This FastCGI application library source and object code (the "Software") and its documentation (the "Documentation") are copyrighted by Open Market, Inc ("Open Market"). The following terms apply to all files associated with the Software and Documentation unless explicitly disclaimed in individual files. 2 | 3 | Open Market permits you to use, copy, modify, distribute, and license this Software and the Documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this Software and Documentation may be copyrighted by their authors and need not follow the licensing terms described here. If modifications to this Software and Documentation have new licensing terms, the new terms must be clearly indicated on the first page of each file where they apply. 4 | 5 | OPEN MARKET MAKES NO EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE SOFTWARE OR THE DOCUMENTATION, INCLUDING WITHOUT LIMITATION ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL OPEN MARKET BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY DAMAGES ARISING FROM OR RELATING TO THIS SOFTWARE OR THE DOCUMENTATION, INCLUDING, WITHOUT LIMITATION, ANY INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR SIMILAR DAMAGES, INCLUDING LOST PROFITS OR LOST DATA, EVEN IF OPEN MARKET HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THE SOFTWARE AND DOCUMENTATION ARE PROVIDED "AS IS". OPEN MARKET HAS NO LIABILITY IN CONTRACT, TORT, NEGLIGENCE OR OTHERWISE ARISING OUT OF THIS SOFTWARE OR THE DOCUMENTATION. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Parity-6.0.0.txt: -------------------------------------------------------------------------------- 1 | The Parity Public License 6.0.0 2 | 3 | Contributor: Example, Inc. 4 | 5 | Source Code: https://example.com/sourcecode 6 | 7 | This license lets you use and share this software for free, as 8 | long as you contribute software you make with it. Specifically: 9 | 10 | If you follow the rules below, you may do everything with this 11 | software that would otherwise infringe either the contributor's 12 | copyright in it, any patent claim the contributor can license, 13 | or both. 14 | 15 | 1. Contribute changes and additions you make to this software. 16 | 17 | 2. If you combine this software with other software, contribute 18 | that other software. 19 | 20 | 3. Contribute software you develop, deploy, monitor, or run with 21 | this software. 22 | 23 | 4. Ensure everyone who gets a copy of this software from you, in 24 | source code or any other form, gets the text of this license 25 | and the contributor and source code lines above. 26 | 27 | 5. Do not make any legal claim against anyone accusing this 28 | software, with or without changes, alone or with other 29 | software, of infringing any patent claim. 30 | 31 | To contribute software, publish all its source code, in the 32 | preferred form for making changes, through a freely accessible 33 | distribution system widely used for similar source code, and 34 | license contributions not already licensed to the public on terms 35 | as permissive as this license accordingly. 36 | 37 | You are excused for unknowingly breaking 1, 2, or 3 if you 38 | contribute as required, or stop doing anything requiring this 39 | license, within 30 days of learning you broke the rule. 40 | 41 | **As far as the law allows, this software comes as is, without 42 | any warranty, and the contributor will not be liable to anyone 43 | for any damages related to this software or this license, for any 44 | kind of legal claim.** 45 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Plexus.txt: -------------------------------------------------------------------------------- 1 | Copyright 2002 (C) The Codehaus. All Rights Reserved. 2 | 3 | Redistribution and use of this software and associated documentation ("Software"), with or without modification, are permitted provided that the following conditions are met: 4 | 5 | 1. Redistributions of source code must retain copyright statements and notices. Redistributions must also contain a copy of this document. 6 | 7 | 2. 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. 8 | 9 | 3. The name "classworlds” must not be used to endorse or promote products derived from this Software without prior written permission of The Codehaus. For written permission, please contact bob@codehaus.org. 10 | 11 | 4. Products derived from this Software may not be called "classworlds” nor may "classworlds” appear in their names without prior written permission of The Codehaus. "classworlds” is a registered trademark of The Codehaus. 12 | 13 | 5. Due credit should be given to The Codehaus. (http://classworlds.codehaus.org/). 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED 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 CODEHAUS OR ITS 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. 16 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/PostgreSQL.txt: -------------------------------------------------------------------------------- 1 | PostgreSQL Database Management System 2 | (formerly known as Postgres, then as Postgres95) 3 | 4 | Portions Copyright (c) 1996-2010, The PostgreSQL Global Development Group 5 | 6 | Portions Copyright (c) 1994, The Regents of the University of California 7 | 8 | Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies. 9 | 10 | IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 11 | 12 | THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 13 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Qhull.txt: -------------------------------------------------------------------------------- 1 | Qhull, Copyright (c) 1993-2003 2 | 3 | The National Science and Technology Research Center for Computation and Visualization of Geometric Structures (The Geometry Center) University of Minnesota 4 | 5 | email: qhull@qhull.org 6 | 7 | This software includes Qhull from The Geometry Center. Qhull is copyrighted as noted above. Qhull is free software and may be obtained via http from www.qhull.org. It may be freely copied, modified, and redistributed under the following conditions: 8 | 9 | 1. All copyright notices must remain intact in all files. 10 | 11 | 2. A copy of this text file must be distributed along with any copies of Qhull that you redistribute; this includes copies that you have modified, or copies of programs or other software products that include Qhull. 12 | 13 | 3. If you modify Qhull, you must include a notice giving the name of the person performing the modification, the date of modification, and the reason for such modification. 14 | 15 | 4. When distributing modified versions of Qhull, or other software products that include Qhull, you must provide notice that the original source code may be obtained as noted above. 16 | 17 | 5. There is no warranty or other guarantee of fitness for Qhull, it is provided solely "as is". Bug reports or fixes may be sent to qhull_bug@qhull.org; the authors may or may not act on them as they desire. 18 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/RSA-MD.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. 2 | 3 | License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing this software or this function. 4 | 5 | License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing the derived work. 6 | 7 | RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of any kind. 8 | 9 | These notices must be retained in any copies of any part of this documentation and/or software. 10 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Rdisc.txt: -------------------------------------------------------------------------------- 1 | Rdisc (this program) was developed by Sun Microsystems, Inc. and is provided for unrestricted use provided that this legend is included on all tape media and as a part of the software program in whole or part. Users may copy or modify Rdisc without charge, and they may freely distribute it. 2 | 3 | RDISC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. 4 | 5 | Rdisc is provided with no support and without any obligation on the part of Sun Microsystems, Inc. to assist in its use, correction, modification or enhancement. 6 | 7 | SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY RDISC OR ANY PART THEREOF. 8 | 9 | In no event will Sun Microsystems, Inc. be liable for any lost revenue or profits or other special, indirect and consequential damages, even if Sun has been advised of the possibility of such damages. 10 | 11 | Sun Microsystems, Inc. 12 | 2550 Garcia Avenue 13 | Mountain View, California 94043 14 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/SGI-B-2.0.txt: -------------------------------------------------------------------------------- 1 | SGI FREE SOFTWARE LICENSE B 2 | (Version 2.0, Sept. 18, 2008) 3 | 4 | Copyright (C) [dates of first publication] Silicon Graphics, Inc. All Rights Reserved. 5 | 6 | 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: 7 | 8 | The above copyright notice including the dates of first publication and either this permission notice or a reference to http://oss.sgi.com/projects/FreeB/ shall be included in all copies or substantial portions of the Software. 9 | 10 | 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 SILICON GRAPHICS, INC. 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. 11 | 12 | Except as contained in this notice, the name of Silicon Graphics, Inc. shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from Silicon Graphics, Inc. 13 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/SMLNJ.txt: -------------------------------------------------------------------------------- 1 | STANDARD ML OF NEW JERSEY COPYRIGHT NOTICE, LICENSE AND DISCLAIMER. 2 | 3 | Copyright (c) 2001-2011 by The Fellowship of SML/NJ Copyright (c) 1989-2001 by Lucent Technologies 4 | 5 | Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both the copyright notice and this permission notice and warranty disclaimer appear in supporting documentation, and that the name of Lucent Technologies, Bell Labs or any Lucent entity not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. 6 | 7 | Lucent disclaims all warranties with regard to this software, including all implied warranties of merchantability and fitness. In no event shall Lucent 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 tortious action, arising out of or in connection with the use or performance of this software. 8 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/SSH-short.txt: -------------------------------------------------------------------------------- 1 | As far as I am concerned, the code I have written for this software 2 | can be used freely for any purpose. Any derived versions of this 3 | software must be clearly marked as such, and if the derived work is 4 | incompatible with the protocol description in the RFC file, it must be 5 | called by a name other than "ssh" or "Secure Shell". 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/SchemeReport.txt: -------------------------------------------------------------------------------- 1 | We intend this report to belong to the entire Scheme community, and so we grant permission 2 | to copy it in whole or in part without fee. In particular, we encourage implementors of Scheme 3 | to use this report as a starting point for manuals and other documentation, modifying it as necessary. 4 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Spencer-86.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 1986 by University of Toronto. Written by Henry Spencer. Not derived from licensed software. 2 | 3 | Permission is granted to anyone to use this software for any purpose on any computer system, and to redistribute it freely, subject to the following restrictions: 4 | 5 | 1. The author is not responsible for the consequences of use of this software, no matter how awful, even if they arise from defects in it. 6 | 7 | 2. The origin of this software must not be misrepresented, either by explicit claim or by omission. 8 | 9 | 3. Altered versions must be plainly marked as such, and must not be misrepresented as being the original software. 10 | 11 | Beware that some of this code is subtly aware of the way operator precedence is structured in regular expressions. Serious changes in regular-expression syntax might require a total rethink. 12 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Spencer-94.txt: -------------------------------------------------------------------------------- 1 | Copyright 1992, 1993, 1994 Henry Spencer. All rights reserved. 2 | This software is not subject to any license of the American Telephone and Telegraph Company or of the Regents of the University of California. 3 | 4 | Permission is granted to anyone to use this software for any purpose on any computer system, and to alter it and redistribute it, subject to the following restrictions: 5 | 6 | 1. The author is not responsible for the consequences of use of this software, no matter how awful, even if they arise from flaws in it. 7 | 8 | 2. The origin of this software must not be misrepresented, either by explicit claim or by omission. Since few users ever read sources, credits must appear in the documentation. 9 | 10 | 3. Altered versions must be plainly marked as such, and must not be misrepresented as being the original software. Since few users ever read sources, credits must appear in the documentation. 11 | 12 | 4. This notice may not be removed or altered. 13 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Spencer-99.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 1998, 1999 Henry Spencer. All rights reserved. 2 | 3 | Development of this software was funded, in part, by Cray Research Inc., UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics Corporation, none of whom are responsible for the results. The author thanks all of them. 4 | 5 | Redistribution and use in source and binary forms - with or without modification - are permitted for any purpose, provided that redistributions in source form retain this entire copyright notice and indicate the origin and nature of any modifications. 6 | 7 | I'd appreciate being given credit for this package in the documentation of software which uses it, but that is not a requirement. 8 | 9 | THIS SOFTWARE IS PROVIDED ``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 HENRY SPENCER 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. 10 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/TCP-wrappers.txt: -------------------------------------------------------------------------------- 1 | Copyright 1995 by Wietse Venema. All rights reserved. Some individual files may be covered by other copyrights. 2 | 3 | This material was originally written and compiled by Wietse Venema at Eindhoven University of Technology, The Netherlands, in 1990, 1991, 1992, 1993, 1994 and 1995. 4 | 5 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that this entire copyright notice is duplicated in all such copies. 6 | 7 | This software is provided "as is" and without any expressed or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for any particular purpose. 8 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/TU-Berlin-1.0.txt: -------------------------------------------------------------------------------- 1 | Copyright 1992 by Jutta Degener and Carsten Bormann, 2 | Technische Universitaet Berlin 3 | 4 | Any use of this software is permitted provided that this notice is not removed and that neither the authors nor the Technische Universitaet Berlin are deemed to have made any representations as to the suitability of this software for any purpose nor are held responsible for any defects of this software. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. 5 | 6 | As a matter of courtesy, the authors request to be informed about uses this software has found, about bugs in this software, and about any improvements that may be of general interest. 7 | 8 | Berlin, 15.09.1992 9 | Jutta Degener 10 | Carsten Bormann 11 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/TU-Berlin-2.0.txt: -------------------------------------------------------------------------------- 1 | Copyright 1992, 1993, 1994 by Jutta Degener and Carsten Bormann, 2 | Technische Universitaet Berlin 3 | 4 | Any use of this software is permitted provided that this notice is not removed and that neither the authors nor the Technische Universitaet Berlin are deemed to have made any representations as to the suitability of this software for any purpose nor are held responsible for any defects of this software. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. 5 | 6 | As a matter of courtesy, the authors request to be informed about uses this software has found, about bugs in this software, and about any improvements that may be of general interest. 7 | 8 | Berlin, 28.11.1994 9 | Jutta Degener 10 | Carsten Bormann 11 | 12 | oOo 13 | 14 | Since the original terms of 15 years ago maybe do not make our intentions completely clear given today's refined usage of the legal terms, we append this additional permission: 15 | 16 | Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that this notice is not removed and that neither the authors nor the Technische Universitaet Berlin are deemed to have made any representations as to the suitability of this software for any purpose nor are held responsible for any defects of this software. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. 17 | 18 | Berkeley/Bremen, 05.04.2009 19 | Jutta Degener 20 | Carsten Bormann 21 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/UPL-1.0.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) [year] [copyright holders] 2 | 3 | The Universal Permissive License (UPL), Version 1.0 4 | 5 | Subject to the condition set forth below, permission is hereby granted to any person obtaining a copy of this software, associated documentation and/or data (collectively the "Software"), free of charge and under any and all copyright rights in the Software, and any and all patent rights owned or freely licensable by each licensor hereunder covering either (i) the unmodified Software as contributed to or provided by such licensor, or (ii) the Larger Works (as defined below), to deal in both 6 | 7 | (a) the Software, and 8 | 9 | (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if one is included with the Software (each a “Larger Work” to which the Software is contributed by such licensors), 10 | 11 | without restriction, including without limitation the rights to copy, create derivative works of, display, perform, and distribute the Software and make, use, sell, offer for sale, import, export, have made, and have sold the Software and the Larger Work(s), and to sublicense the foregoing rights on either these or other terms. 12 | 13 | This license is subject to the following condition: 14 | 15 | The above copyright notice and either this complete permission notice or at a minimum a reference to the UPL must be included in all copies or substantial portions of the Software. 16 | 17 | 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. 18 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Unlicense.txt: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. 4 | 5 | In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and 6 | successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. 7 | 8 | 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 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. 9 | 10 | For more information, please refer to 11 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/W3C-20150513.txt: -------------------------------------------------------------------------------- 1 | This work is being provided by the copyright holders under the following license. 2 | 3 | License 4 | By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. 5 | 6 | Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications: 7 | 8 | • The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. 9 | • Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included. 10 | • Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright (c) [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)." 11 | 12 | Disclaimers 13 | THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. 14 | 15 | COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT. 16 | 17 | The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders. 18 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/WTFPL.txt: -------------------------------------------------------------------------------- 1 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 2 | Version 2, December 2004 3 | 4 | Copyright (C) 2004 Sam Hocevar 5 | 6 | Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. 7 | 8 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 9 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 10 | 11 | 0. You just DO WHAT THE FUCK YOU WANT TO. 12 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Wsuipa.txt: -------------------------------------------------------------------------------- 1 | This file was added by Clea F. Rees on 2008/11/30 with the permission of Dean Guenther and pointers to this file were added to all source files. 2 | 3 | Unlimited copying and redistribution of each of the files is permitted as long as the file is not modified. Modifications, and redistribution of modified versions, are also permitted, but only if the resulting file is renamed. 4 | 5 | The copyright holder is Washington State University. The original author of the fonts is Janene Winter. The primary contact (as of 2008) is Dean Guenther. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/X11-distribute-modifications-variant.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a 4 | copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, distribute with modifications, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is 9 | furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included 12 | in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 15 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 17 | IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 18 | DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 19 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR 20 | THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | 22 | Except as contained in this notice, the name(s) of the above copyright 23 | holders shall not be used in advertising or otherwise to promote the 24 | sale, use or other dealings in this Software without prior written 25 | authorization. 26 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/X11.txt: -------------------------------------------------------------------------------- 1 | X11 License 2 | 3 | Copyright (C) 1996 X Consortium 4 | 5 | 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: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | 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 X CONSORTIUM 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. 10 | 11 | Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the X Consortium. 12 | 13 | X Window System is a trademark of X Consortium, Inc. 14 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/XSkat.txt: -------------------------------------------------------------------------------- 1 | This program is free software; you can redistribute it freely. 2 | Use it at your own risk; there is NO WARRANTY. 3 | 4 | Redistribution of modified versions is permitted provided that the following conditions are met: 5 | 6 | 1. All copyright & permission notices are preserved. 7 | 8 | 2.a) Only changes required for packaging or porting are made. 9 | or 10 | 2.b) It is clearly stated who last changed the program. The program is renamed or the version number is of the form x.y.z, where x.y is the version of the original program and z is an arbitrary suffix. 11 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Xerox.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 1995, 1996 Xerox Corporation. All Rights Reserved. 2 | 3 | Use and copying of this software and preparation of derivative works based upon this software are permitted. Any copy of this software or of any derivative work must include the above copyright notice of Xerox Corporation, this paragraph and the one after it. Any distribution of this software or derivative works must comply with all applicable United States export control laws. 4 | 5 | This software is made available AS IS, and XEROX CORPORATION DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND NOTWITHSTANDING ANY OTHER PROVISION CONTAINED HEREIN, ANY LIABILITY FOR DAMAGES RESULTING FROM THE SOFTWARE OR ITS USE IS EXPRESSLY DISCLAIMED, WHETHER ARISING IN CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, EVEN IF XEROX CORPORATION IS ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Xnet.txt: -------------------------------------------------------------------------------- 1 | The X.Net, Inc. License 2 | 3 | Copyright (c) 2000-2001 X.Net, Inc. Lafayette, California, USA 4 | 5 | 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: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | 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. 10 | 11 | This agreement shall be governed in all respects by the laws of the State of California and by the laws of the United States of America. 12 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Zed.txt: -------------------------------------------------------------------------------- 1 | (c) Jim Davies, January 1995 2 | You may copy and distribute this file freely. Any queries and complaints should be forwarded to Jim.Davies@comlab.ox.ac.uk. 3 | If you make any changes to this file, please do not distribute the results under the name `zed-csp.sty'. 4 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/Zlib.txt: -------------------------------------------------------------------------------- 1 | zlib License 2 | 3 | This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. 4 | 5 | Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 6 | 7 | 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 8 | 9 | 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 10 | 11 | 3. This notice may not be removed or altered from any source distribution. 12 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/blessing.txt: -------------------------------------------------------------------------------- 1 | The author disclaims copyright to this source code. In place of a legal notice, here is a blessing: 2 | 3 | May you do good and not evil. 4 | May you find forgiveness for yourself and forgive others. 5 | May you share freely, never taking more than you give. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/bzip2-1.0.6.txt: -------------------------------------------------------------------------------- 1 | This program, "bzip2", the associated library "libbzip2", and all documentation, are copyright (C) 1996-2010 Julian R Seward. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 4 | 5 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 6 | 7 | 2. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 8 | 9 | 3. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 10 | 11 | 4. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. 12 | 13 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. 14 | 15 | Julian Seward, jseward@bzip.org bzip2/libbzip2 version 1.0.6 of 6 September 2010 16 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/curl.txt: -------------------------------------------------------------------------------- 1 | COPYRIGHT AND PERMISSION NOTICE 2 | 3 | Copyright (c) 1996 - 2015, Daniel Stenberg, . 4 | All rights reserved. 5 | 6 | Permission to use, copy, modify, and 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. 7 | 8 | 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 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. 9 | 10 | 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. 11 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/diffmark.txt: -------------------------------------------------------------------------------- 1 | 1. you can do what you want with it 2 | 2. I refuse any responsibility for the consequences 3 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/dvipdfm.txt: -------------------------------------------------------------------------------- 1 | A modified version of this file may be distributed, but it should be distributed with a *different* name. Changed files must be distributed *together with a complete and unchanged* distribution of these files. 2 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/gnuplot.txt: -------------------------------------------------------------------------------- 1 | Copyright 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley 2 | 3 | Permission to use, copy, and distribute this software and its documentation for any purpose with or without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. 4 | 5 | Permission to modify the software is granted, but not the right to distribute the complete modified source code. Modifications are to be distributed as patches to the released version. Permission to distribute binaries produced by compiling modified sources is granted, provided you 6 | 7 | 1. distribute the corresponding source modifications from the released version in the form of a patch file along with the binaries, 8 | 2. add special version identification to distinguish your version in addition to the base release version number, 9 | 3. provide your name and address as the primary contact for the support of your modified version, and 10 | 4. retain our contact information in regard to use of the base software. 11 | 12 | Permission to distribute the released version of the source code along with corresponding source modifications in the form of a patch file is granted with same provisions 2 through 4 for binary distributions. 13 | 14 | This software is provided "as is" without express or implied warranty to the extent permitted by applicable law. 15 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/libpng-2.0.txt: -------------------------------------------------------------------------------- 1 | PNG Reference Library License version 2 2 | --------------------------------------- 3 | 4 | * Copyright (c) 1995-2018 The PNG Reference Library Authors. 5 | * Copyright (c) 2018 Cosmin Truta. 6 | * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson. 7 | * Copyright (c) 1996-1997 Andreas Dilger. 8 | * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. 9 | 10 | The software is supplied "as is", without warranty of any kind, 11 | express or implied, including, without limitation, the warranties 12 | of merchantability, fitness for a particular purpose, title, and 13 | non-infringement. In no even shall the Copyright owners, or 14 | anyone distributing the software, be liable for any damages or 15 | other liability, whether in contract, tort or otherwise, arising 16 | from, out of, or in connection with the software, or the use or 17 | other dealings in the software, even if advised of the possibility 18 | of such damage. 19 | 20 | Permission is hereby granted to use, copy, modify, and distribute 21 | this software, or portions hereof, for any purpose, without fee, 22 | subject to the following restrictions: 23 | 24 | 1. The origin of this software must not be misrepresented; you 25 | must not claim that you wrote the original software. If you 26 | use this software in a product, an acknowledgment in the product 27 | documentation would be appreciated, but is not required. 28 | 29 | 2. Altered source versions must be plainly marked as such, and must 30 | not be misrepresented as being the original software. 31 | 32 | 3. This Copyright notice may not be removed or altered from any 33 | source or altered source distribution. 34 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/libselinux-1.0.txt: -------------------------------------------------------------------------------- 1 | This library (libselinux) is public domain software, i.e. not copyrighted. 2 | 3 | Warranty Exclusion 4 | ------------------ 5 | You agree that this software is a 6 | non-commercially developed program that may contain "bugs" (as that 7 | term is used in the industry) and that it may not function as intended. 8 | The software is licensed "as is". NSA makes no, and hereby expressly 9 | disclaims all, warranties, express, implied, statutory, or otherwise 10 | with respect to the software, including noninfringement and the implied 11 | warranties of merchantability and fitness for a particular purpose. 12 | 13 | Limitation of Liability 14 | ----------------------- 15 | In no event will NSA be liable for any damages, including loss of data, 16 | lost profits, cost of cover, or other special, incidental, 17 | consequential, direct or indirect damages arising from the software or 18 | the use thereof, however caused and on any theory of liability. This 19 | limitation will apply even if NSA has been advised of the possibility 20 | of such damage. You acknowledge that this is a reasonable allocation of 21 | risk. 22 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/libtiff.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 1988-1997 Sam Leffler 2 | Copyright (c) 1991-1997 Silicon Graphics, Inc. 3 | 4 | Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that (i) the above copyright notices and this permission notice appear in all copies of the software and related documentation, and (ii) the names of Sam Leffler and Silicon Graphics may not be used in any advertising or publicity relating to the software without the specific, prior written permission of Sam Leffler and Silicon Graphics. 5 | 6 | THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. 7 | 8 | IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 9 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/mpich2.txt: -------------------------------------------------------------------------------- 1 | COPYRIGHT 2 | 3 | The following is a notice of limited availability of the code, and disclaimer which must be included in the prologue of the code and in all source listings of the code. 4 | 5 | Copyright Notice 6 | + 2002 University of Chicago 7 | 8 | Permission is hereby granted to use, reproduce, prepare derivative works, and to redistribute to others. This software was authored by: 9 | 10 | Argonne National Laboratory Group W. Gropp: (630) 252-4318; FAX: (630) 252-5986; e-mail: gropp@mcs.anl.gov E. Lusk: (630) 252-7852; FAX: (630) 252-5986; e-mail: lusk@mcs.anl.gov Mathematics and Computer Science Division Argonne National Laboratory, Argonne IL 60439 11 | 12 | GOVERNMENT LICENSE 13 | 14 | Portions of this material resulted from work developed under a U.S. Government Contract and are subject to the following license: the Government is granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable worldwide license in this computer software to reproduce, prepare derivative works, and perform publicly and display publicly. 15 | 16 | DISCLAIMER 17 | 18 | This computer code material was prepared, in part, as an account of work sponsored by an agency of the United States Government. Neither the United States, nor the University of Chicago, nor any of their employees, makes any warranty express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. 19 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/psfrag.txt: -------------------------------------------------------------------------------- 1 | psfrag.dtx 2 | Copyright (C) 1996 Craig Barratt, Michael C. Grant, and David Carlisle. 3 | All rights are reserved. 4 | 5 | This system 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. Don't come complaining to us if you modify this file and it doesn't work! If this file is modified by anyone but the authors, those changes and their authors must be explicitly stated HERE. 6 | -------------------------------------------------------------------------------- /lib/src/third_party/spdx/licenses/zlib-acknowledgement.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2002-2007 Charlie Poole 2 | Copyright (c) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov 3 | Copyright (c) 2000-2002 Philip A. Craig 4 | 5 | This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. 6 | 7 | Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 8 | 9 | 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment (see the following) in the product documentation is required. 10 | 11 | Portions Copyright (c) 2002-2007 Charlie Poole or Copyright (c) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov or Copyright (c) 2000-2002 Philip A. Craig 12 | 13 | 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 14 | 15 | 3. This notice may not be removed or altered from any source distribution. 16 | -------------------------------------------------------------------------------- /lib/src/tool/flutter_tool.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | /// Removes intermittent messages that may be mixed with regular Flutter output. 6 | String stripIntermittentFlutterMessages(String content) { 7 | // filter for concurrent flutter execution 8 | final waitingForString = 'Waiting for another flutter'; 9 | if (content.contains(waitingForString)) { 10 | content = content 11 | .split('\n') 12 | .where((e) => !e.contains(waitingForString)) 13 | .join('\n'); 14 | } 15 | // filter for welcome screen 16 | if (content.contains('Welcome to Flutter!')) { 17 | final lines = content.split('\n'); 18 | final separator = lines.indexWhere((l) => l.trim().isEmpty); 19 | if (separator >= 0) { 20 | content = lines.take(separator).join('\n'); 21 | } 22 | } 23 | return content; 24 | } 25 | -------------------------------------------------------------------------------- /lib/src/version.dart: -------------------------------------------------------------------------------- 1 | // Generated code. Do not modify. 2 | const packageVersion = '0.22.21'; 3 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: pana 2 | description: PAckage aNAlyzer - produce a report summarizing the health and quality of a Dart package. 3 | version: 0.22.21 4 | repository: https://github.com/dart-lang/pana 5 | topics: 6 | - tool 7 | - analysis 8 | 9 | environment: 10 | sdk: '>=3.0.0 <4.0.0' 11 | 12 | dependencies: 13 | analyzer: '>=6.11.0 <8.0.0' 14 | args: ^2.6.0 15 | async: ^2.12.0 16 | cli_util: ^0.4.2 17 | collection: ^1.19.1 18 | crypto: ^3.0.6 19 | html: ^0.15.5 20 | http: ^1.2.2 21 | io: ^1.0.5 22 | json_annotation: ^4.9.0 23 | lints: ^5.1.1 24 | logging: ^1.3.0 25 | markdown: ^7.2.2 26 | meta: ^1.16.0 27 | path: ^1.9.1 28 | pub_semver: ^2.1.5 29 | pubspec_parse: ^1.4.0 30 | retry: ^3.1.2 31 | safe_url_check: ^1.1.2 32 | source_span: ^1.10.1 33 | string_scanner: ^1.4.1 34 | tar: ^2.0.0 35 | test: ^1.25.14 # needed for lib/src/third_party/diff_match_patch/test.dart 36 | yaml: ^3.1.3 37 | 38 | dev_dependencies: 39 | build: ^2.4.2 40 | build_config: ^1.1.2 41 | build_runner: ^2.4.14 42 | build_verify: ^3.1.0 43 | build_version: ^2.1.1 44 | dart_flutter_team_lints: ^3.2.1 45 | json_serializable: ^6.9.0 46 | shelf: ^1.4.2 47 | source_gen: '>=1.5.0 <3.0.0' 48 | test_descriptor: ^2.0.2 49 | test_process: ^2.1.1 50 | 51 | executables: 52 | pana: 53 | -------------------------------------------------------------------------------- /test/analysis_options_test.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'dart:convert'; 6 | 7 | import 'package:pana/src/analysis_options.dart'; 8 | import 'package:test/test.dart'; 9 | import 'package:yaml/yaml.dart' as yaml; 10 | 11 | void main() { 12 | test('default options', () async { 13 | final content = await getDefaultAnalysisOptionsYaml(); 14 | expect(content, contains('linter:')); 15 | expect(content, contains('rules:')); 16 | expect(content, contains('avoid_empty_else')); 17 | expect(content, isNot(contains('avoid_init_to_null'))); 18 | expect(json.decode(json.encode(yaml.loadYaml(content))), { 19 | 'linter': { 20 | 'rules': hasLength(greaterThan(10)), 21 | }, 22 | }); 23 | }); 24 | 25 | test('passthrough for empty options', () { 26 | final content = updatePassthroughOptions(original: '', custom: ''); 27 | expect(json.decode(content), {}); 28 | }); 29 | 30 | test('passthrough for some options', () { 31 | final content = updatePassthroughOptions(original: ''' 32 | analyzer: 33 | errors: 34 | todo: ignore 35 | uri_has_not_been_generated: ignore 36 | enable-experiment: 37 | - ignored 38 | - macros 39 | formatter: 40 | unknown_key: true 41 | page_width: 123 42 | trailing_commas: preserve 43 | ''', custom: ''); 44 | expect(json.decode(content), { 45 | 'analyzer': { 46 | 'errors': { 47 | 'uri_has_not_been_generated': 'ignore', 48 | }, 49 | 'enable-experiment': [ 50 | 'macros', 51 | ], 52 | }, 53 | 'formatter': { 54 | 'unknown_key': true, 55 | 'page_width': 123, 56 | 'trailing_commas': 'preserve', 57 | }, 58 | }); 59 | }); 60 | } 61 | -------------------------------------------------------------------------------- /test/bin_pana_test.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'dart:io'; 6 | 7 | import 'package:io/io.dart'; 8 | import 'package:path/path.dart' as p; 9 | import 'package:test/test.dart'; 10 | import 'package:test_process/test_process.dart'; 11 | 12 | import 'golden_file.dart'; 13 | 14 | final helpGoldenPath = p.join('test', 'goldens', 'help.txt'); 15 | 16 | void main() { 17 | // This is really two tests in one, because the second one depends on the 18 | // golden file from the first. 19 | test('run with bad option shows help text. Help text is included in readme ', 20 | () async { 21 | var process = await TestProcess.start( 22 | p.join(p.dirname(Platform.resolvedExecutable), 'dart'), 23 | ['pub', 'run', 'pana', '--monkey']); 24 | 25 | var output = await process.stdoutStream().join('\n'); 26 | 27 | const prefix = 'Could not find an option named "--monkey".\n\n'; 28 | 29 | expect(output, startsWith(prefix)); 30 | expectMatchesGoldenFile(output.substring(prefix.length), helpGoldenPath); 31 | 32 | await process.shouldExit(ExitCode.usage.code); 33 | 34 | var readme = File('README.md'); 35 | expect( 36 | readme.readAsStringSync().replaceAll('\r\n', '\n'), 37 | contains( 38 | '```\n${File(helpGoldenPath).readAsStringSync().replaceAll('\r\n', '\n')}\n```')); 39 | }); 40 | } 41 | -------------------------------------------------------------------------------- /test/code_problem_test.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'package:pana/src/code_problem.dart'; 6 | import 'package:pana/src/tool/run_constrained.dart'; 7 | import 'package:test/test.dart'; 8 | 9 | void main() { 10 | test('windows double escape', () { 11 | final cp = parseCodeProblem( 12 | r"INFO|HINT|UNUSED_FIELD|D:\\Documents\\youtube_explode_dart\\lib\\src\\extensions\\helpers_extension.dart|16|16|4|The value of the field '_exp' isn't used.")!; 13 | expect(cp.file, 14 | r'D:\Documents\youtube_explode_dart\lib\src\extensions\helpers_extension.dart'); 15 | }); 16 | 17 | test('too many lines', () { 18 | final cp = parseCodeProblem('STDERR exceeded 100000 lines.')!; 19 | expect(cp.description, 'Analysis returned too many issues.'); 20 | }); 21 | 22 | test('analysis server failure', () { 23 | expect(() => parseCodeProblem('Please report this at dartbug.com.'), 24 | throwsA(isA())); 25 | }); 26 | } 27 | -------------------------------------------------------------------------------- /test/crc32_test.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'dart:convert'; 6 | import 'dart:io'; 7 | 8 | import 'package:pana/src/license_detection/license_detector.dart'; 9 | import 'package:test/test.dart'; 10 | 11 | void main() { 12 | /// The random vectors were generate using this python code and then 13 | /// verified with [GO crc32 package][] 14 | /// ```python 15 | /// import zlib 16 | /// import json 17 | /// import string 18 | /// import random 19 | /// f = open('crc.json', 'w') 20 | /// jsonJ = {} 21 | /// for i in range(1000): 22 | /// z = i % 20 23 | /// if z < 1: 24 | /// z = 1 25 | /// res = ''.join(random.choices(string.printable, k=z)) 26 | /// crc = zlib.crc32(bytes(res, 'utf8')) 27 | /// jsonJ[res] = crc 28 | /// json.dump(jsonJ, f) 29 | /// ``` 30 | /// [GO crc32 package] : https://golang.org/pkg/hash/crc32/ 31 | test('crc32 - random vectors', () { 32 | final file = File('test/license_test_assets/crc32_random.json'); 33 | final z = jsonDecode(file.readAsStringSync()) as Map; 34 | for (final entry in z.entries) { 35 | expect(crc32(utf8.encode(entry.key)), entry.value, reason: entry.key); 36 | } 37 | }); 38 | 39 | test('crc32 - all ascii value ', () { 40 | final allAscii = File('test/license_test_assets/crc32_ascii_values.json'); 41 | final z = jsonDecode(allAscii.readAsStringSync()) as Map; 42 | for (final entry in z.entries) { 43 | expect(crc32([int.parse(entry.key)]), entry.value, reason: entry.key); 44 | } 45 | }); 46 | } 47 | -------------------------------------------------------------------------------- /test/dartdoc/dartdoc_internals_test.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'package:pana/src/dartdoc/dartdoc_internals.dart'; 6 | import 'package:test/test.dart'; 7 | 8 | void main() { 9 | group('dartdoc internals', () { 10 | test('isHrefALibrary: negative', () async { 11 | expect(isHrefALibrary(null), false); 12 | expect(isHrefALibrary(''), false); 13 | expect(isHrefALibrary('index.html'), false); 14 | expect(isHrefALibrary('retry.html'), false); 15 | expect(isHrefALibrary('retry/retry.html'), false); 16 | expect(isHrefALibrary('a/b'), false); 17 | }); 18 | 19 | test('isHrefALibrary: positive', () async { 20 | expect(isHrefALibrary('x/x-library.html'), true); 21 | expect(isHrefALibrary('x'), true); 22 | expect(isHrefALibrary('x/'), true); 23 | }); 24 | }); 25 | } 26 | -------------------------------------------------------------------------------- /test/diff_test.dart: -------------------------------------------------------------------------------- 1 | import 'package:pana/src/third_party/diff_match_patch/test.dart'; 2 | 3 | // The following test cases were forked from the google's diff-match-patch 4 | // dart library and hence the actual tests are in a separate "third_-party" 5 | // directory and we only call those tests from here. 6 | void main() { 7 | testDiffCommonPrefix(); 8 | testDiffCommonSuffix(); 9 | testDiffCommonOverlap(); 10 | testDiffMain(); 11 | testDiffHalfMatch(); 12 | testDiffLineToChars(); 13 | testDiffCharsToLines(); 14 | testDiffCleanupMerge(); 15 | testDiffCleanupSemanticLosses(); 16 | testDiffCleanupSemantic(); 17 | testDiffBisect(); 18 | testWordDiffLevenshtein(); 19 | testCleanupEfficiency(); 20 | } 21 | -------------------------------------------------------------------------------- /test/ensure_build_test.dart: -------------------------------------------------------------------------------- 1 | @Tags(['presubmit-only']) 2 | library; 3 | 4 | import 'dart:io'; 5 | 6 | import 'package:build_verify/build_verify.dart'; 7 | import 'package:test/test.dart'; 8 | 9 | void main() { 10 | test( 11 | 'ensure_build', 12 | () async { 13 | // TODO(sigurdm): investigate why the build doesn't come clean on 14 | // Windows or on Mac. 15 | if (!Platform.isWindows && !Platform.isMacOS) { 16 | await expectBuildClean(); 17 | } 18 | }, 19 | timeout: const Timeout.factor(4), 20 | ); 21 | } 22 | -------------------------------------------------------------------------------- /test/golden_file.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'dart:io'; 6 | 7 | import 'package:test/test.dart'; 8 | 9 | /// Will test [actual] against the contests of the file at [goldenFilePath]. 10 | /// 11 | /// If the file doesn't exist, the file is instead created containing [actual]. 12 | void expectMatchesGoldenFile(String actual, String goldenFilePath) { 13 | var goldenFile = File(goldenFilePath); 14 | if (goldenFile.existsSync()) { 15 | expect(actual.replaceAll('\r\n', '\n'), 16 | equals(goldenFile.readAsStringSync().replaceAll('\r\n', '\n')), 17 | reason: 'goldenFilePath: "$goldenFilePath". ' 18 | 'To update the expectation delete this file and rerun the test.'); 19 | } else { 20 | goldenFile 21 | ..createSync(recursive: true) 22 | ..writeAsStringSync(actual); 23 | fail('Golden file $goldenFilePath was recreated!'); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /test/goldens/end2end/__timestamp.txt: -------------------------------------------------------------------------------- 1 | 2025-05-22T06:32:18.324956Z 2 | -------------------------------------------------------------------------------- /test/goldens/end2end/lints-1.0.0.json_report.md: -------------------------------------------------------------------------------- 1 | ## 20/30 Follow Dart file conventions 2 | 3 | ### [x] 0/10 points: Provide a valid `pubspec.yaml` 4 | 5 | * `pubspec.yaml` doesn't have a `homepage` entry. 6 | 7 | * `pubspec.yaml` doesn't have a `repository` entry. 8 | 9 | ### [*] 5/5 points: Provide a valid `README.md` 10 | 11 | ### [*] 5/5 points: Provide a valid `CHANGELOG.md` 12 | 13 | ### [*] 10/10 points: Use an OSI-approved license 14 | 15 | Detected license: `BSD-3-Clause`. 16 | 17 | 18 | ## 0/10 Provide documentation 19 | 20 | ### [x] 0/10 points: Package has an example 21 | 22 |
23 | 24 | No example found. 25 | 26 | 27 | See [package layout](https://dart.dev/tools/pub/package-layout#examples) guidelines on how to add an example. 28 |
29 | 30 | 31 | ## 20/20 Platform support 32 | 33 | ### [*] 20/20 points: Supports 6 of 6 possible platforms (**iOS**, **Android**, **Web**, **Windows**, **macOS**, **Linux**) 34 | 35 | * ✓ Android 36 | 37 | * ✓ iOS 38 | 39 | * ✓ Windows 40 | 41 | * ✓ Linux 42 | 43 | * ✓ macOS 44 | 45 | * ✓ Web 46 | 47 | ### [*] 0/0 points: WASM compatibility 48 | 49 | This package is compatible with runtime `wasm`, and will be rewarded additional points in a future version of the scoring model. 50 | 51 | See https://dart.dev/web/wasm for details. 52 | 53 | 54 | ## 50/50 Pass static analysis 55 | 56 | ### [*] 50/50 points: code has no errors, warnings, lints, or formatting issues 57 | 58 | 59 | ## 40/40 Support up-to-date dependencies 60 | 61 | ### [*] 10/10 points: All of the package dependencies are supported in the latest version 62 | 63 | No dependencies. 64 | 65 | To reproduce run `dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides`. 66 | 67 | ### [*] 10/10 points: Package supports latest stable Dart and Flutter SDKs 68 | 69 | ### [*] 20/20 points: Compatible with dependency constraint lower bounds 70 | 71 | `pub downgrade` does not expose any static analysis error. 72 | -------------------------------------------------------------------------------- /test/goldens/help.txt: -------------------------------------------------------------------------------- 1 | Usage: pana [] --hosted [] 2 | pana [] 3 | 4 | Options: 5 | --dart-sdk The directory of the Dart SDK. 6 | --flutter-sdk The directory of the Flutter SDK. 7 | --exit-code-threshold The exit code will indicate if (max - granted points) > threshold. 8 | -j, --json Output log records and full report as JSON. 9 | --hosted-url The server that hosts . 10 | (defaults to "https://pub.dev") 11 | -l, --line-length The line length to use with dart format. 12 | --hosted Download and analyze a hosted package (from https://pub.dev). 13 | --[no-]dartdoc Run dartdoc and score the package on documentation coverage. 14 | (defaults to on) 15 | --dartdoc-version The dartdoc version to use: `sdk`, `latest` (default) or ``. -------------------------------------------------------------------------------- /test/license_test_assets/licenses/bsd_2_clause.txt: -------------------------------------------------------------------------------- 1 | BSD 2-Clause License 2 | 3 | Copyright (c) [year], [fullname] 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | * Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | * Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 20 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 22 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 23 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 | -------------------------------------------------------------------------------- /test/license_test_assets/licenses/bsd_2_clause_in_comments.txt: -------------------------------------------------------------------------------- 1 | // BSD 2-Clause License 2 | // 3 | // Copyright (c) [year], [fullname] 4 | // All rights reserved. 5 | // 6 | // Redistribution and use in source and binary forms, with or without 7 | // modification, are permitted provided that the following conditions are met: 8 | // 9 | // * Redistributions of source code must retain the above copyright notice, this 10 | // list of conditions and the following disclaimer. 11 | // 12 | // * Redistributions in binary form must reproduce the above copyright notice, 13 | // this list of conditions and the following disclaimer in the documentation 14 | // and/or other materials provided with the distribution. 15 | // 16 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 20 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 22 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 23 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 | -------------------------------------------------------------------------------- /test/license_test_assets/licenses/bsd_3_clause.txt: -------------------------------------------------------------------------------- 1 | The Clear BSD License 2 | 3 | Copyright (c) [year], [fullname] 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted (subject to the limitations in the disclaimer 8 | below) provided that the following conditions are met: 9 | 10 | * Redistributions of source code must retain the above copyright notice, this 11 | list of conditions and the following disclaimer. 12 | 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | this list of conditions and the following disclaimer in the documentation 15 | and/or other materials provided with the distribution. 16 | 17 | * Neither the name of the copyright holder nor the names of its contributors may be used 18 | to endorse or promote products derived from this software without specific 19 | prior written permission. 20 | 21 | NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS 22 | LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 23 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 24 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 26 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 27 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 28 | GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 31 | OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 32 | DAMAGE. 33 | -------------------------------------------------------------------------------- /test/licenses/bad_encoding.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/pana/110888bdc6b5cd92ade286c9b4ed14a98968c4d3/test/licenses/bad_encoding.txt -------------------------------------------------------------------------------- /test/licenses/bsd_2_clause.txt: -------------------------------------------------------------------------------- 1 | BSD 2-Clause License 2 | 3 | Copyright (c) [year], [fullname] 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | * Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | * Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 20 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 22 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 23 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 | -------------------------------------------------------------------------------- /test/licenses/bsd_2_clause_in_comments.txt: -------------------------------------------------------------------------------- 1 | // BSD 2-Clause License 2 | // 3 | // Copyright (c) [year], [fullname] 4 | // All rights reserved. 5 | // 6 | // Redistribution and use in source and binary forms, with or without 7 | // modification, are permitted provided that the following conditions are met: 8 | // 9 | // * Redistributions of source code must retain the above copyright notice, this 10 | // list of conditions and the following disclaimer. 11 | // 12 | // * Redistributions in binary form must reproduce the above copyright notice, 13 | // this list of conditions and the following disclaimer in the documentation 14 | // and/or other materials provided with the distribution. 15 | // 16 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 20 | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 22 | // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 23 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24 | // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 | -------------------------------------------------------------------------------- /test/licenses/bsd_3_clause.txt: -------------------------------------------------------------------------------- 1 | The Clear BSD License 2 | 3 | Copyright (c) [year], [fullname] 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted (subject to the limitations in the disclaimer 8 | below) provided that the following conditions are met: 9 | 10 | * Redistributions of source code must retain the above copyright notice, this 11 | list of conditions and the following disclaimer. 12 | 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | this list of conditions and the following disclaimer in the documentation 15 | and/or other materials provided with the distribution. 16 | 17 | * Neither the name of the copyright holder nor the names of its contributors may be used 18 | to endorse or promote products derived from this software without specific 19 | prior written permission. 20 | 21 | NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS 22 | LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 23 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 24 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 26 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 27 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 28 | GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 31 | OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 32 | DAMAGE. 33 | -------------------------------------------------------------------------------- /test/licenses/bsd_revised.txt: -------------------------------------------------------------------------------- 1 | BSD 3-Clause License 2 | 3 | Copyright (c) [year], [fullname] 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | * Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | * Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | * Neither the name of the copyright holder nor the names of its 17 | contributors may be used to endorse or promote products derived from 18 | this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /test/licenses/isc_license_test.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'package:pana/src/license.dart'; 6 | import 'package:test/test.dart'; 7 | 8 | void main() { 9 | group('ISC', () { 10 | test('weak_cache', () async { 11 | final input = 12 | '''Copyright 2022 Yaroslav Vorobev and contributors. All rights reserved. 13 | 14 | Permission to use, copy, modify, and/or distribute this software for any 15 | purpose with or without fee is hereby granted, provided that the above 16 | copyright notice and this permission notice appear in all copies. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 19 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 20 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 21 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 22 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 23 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 24 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 25 | '''; 26 | 27 | final detected = 28 | await detectLicenseInContent(input, relativePath: 'LICENSE'); 29 | expect(detected, hasLength(1)); 30 | expect(detected.single.spdxIdentifier, 'ISC'); 31 | }); 32 | }); 33 | } 34 | -------------------------------------------------------------------------------- /test/licenses/mit.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) [year] [fullname] 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /test/licenses/mit_without_mit.txt: -------------------------------------------------------------------------------- 1 | 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: 2 | 3 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 4 | 5 | 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. 6 | -------------------------------------------------------------------------------- /test/licenses/unlicense.txt: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /test/markdown_content/bad_images.md: -------------------------------------------------------------------------------- 1 | ![text](https::::img) 2 | 3 | ![text](http://example.com/logo.png) 4 | 5 | ![text](gopher://example.com/logo.png) 6 | -------------------------------------------------------------------------------- /test/markdown_content/example.md: -------------------------------------------------------------------------------- 1 | # Good markdown 2 | 3 | Images are using ![https](https://example.com/path.jpg) or they ![are relative](img/path.jpg). 4 | 5 | You can mail [us](mailto:hello@example.com). 6 | -------------------------------------------------------------------------------- /test/report/_tool_environment.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'package:pana/pana.dart'; 6 | import 'package:test_descriptor/test_descriptor.dart' as d; 7 | 8 | Future testToolEnvironment({String? sdkVersion}) async { 9 | final fakeFlutterRoot = 10 | d.dir('fake_flutter_root', [d.file('version', '2.0.0')]); 11 | await fakeFlutterRoot.create(); 12 | return ToolEnvironment.fake( 13 | environment: {'FLUTTER_ROOT': fakeFlutterRoot.io.path}, 14 | runtimeInfo: PanaRuntimeInfo( 15 | panaVersion: '1.2.3', 16 | sdkVersion: sdkVersion ?? '3.0.0', 17 | flutterVersions: { 18 | 'frameworkVersion': '2.0.0', 19 | 'channel': 'stable', 20 | 'repositoryUrl': 'https://github.com/flutter/flutter', 21 | 'frameworkRevision': '13c6ad50e980cad1844457869c2b4c5dc3311d03', 22 | 'frameworkCommitDate': '2021-02-19 10:03:46 +0100', 23 | 'engineRevision': 'b04955656c87de0d80d259792e3a0e4a23b7c260', 24 | 'dartSdkVersion': '2.12.0 (build 2.12.0)', 25 | 'flutterRoot': fakeFlutterRoot.io.path 26 | }, 27 | ), 28 | ); 29 | } 30 | -------------------------------------------------------------------------------- /test/report/static_analysis_test.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'dart:io'; 6 | 7 | import 'package:pana/src/report/static_analysis.dart'; 8 | import 'package:pana/src/utils.dart'; 9 | import 'package:path/path.dart' as p; 10 | import 'package:test/test.dart'; 11 | 12 | void main() { 13 | test('bad cr position', () async { 14 | await withTempDir((dir) async { 15 | final file = File(p.join(dir, 'cr.txt')); 16 | await file.writeAsString('abcd efgh\r\n\r\n1234\r\n\r\nxyz'); 17 | final s1 = 18 | sourceSpanFromFile(path: file.path, line: 1, col: 6, length: 7); 19 | expect(s1!.text, 'efgh\r\n'); 20 | final s2 = 21 | sourceSpanFromFile(path: file.path, line: 1, col: 10, length: 8); 22 | expect(s2!.text, '\n\r\n1234'); 23 | }); 24 | }); 25 | } 26 | -------------------------------------------------------------------------------- /test/self_run_test.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'package:pana/pana.dart'; 6 | import 'package:test/test.dart'; 7 | 8 | void main() { 9 | final timeout = const Duration(minutes: 5); 10 | test('running pana locally with relative path', () async { 11 | final pr = await runConstrained( 12 | ['dart', 'bin/pana.dart', '--no-warning', '.'], 13 | timeout: timeout, 14 | ); 15 | expect(pr.exitCode, 0, reason: pr.asJoinedOutput); 16 | 17 | final output = pr.stdout.asString; 18 | final snippets = [ 19 | '## ✓ Follow Dart file conventions (30 / 30)', 20 | '## ✓ Platform support (20 / 20)\n', 21 | // TODO: consider dropping this, as we don't always resolve to the latest dependencies 22 | // '[*] 10/10 points: All of the package dependencies are supported in the latest version', 23 | '### [*] 10/10 points: Package supports latest stable Dart and Flutter SDKs', 24 | ]; 25 | for (final snippet in snippets) { 26 | expect(output, contains(snippet)); 27 | } 28 | }, timeout: Timeout(timeout)); 29 | } 30 | -------------------------------------------------------------------------------- /test/tag/dart_sdk_libraries_test.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'dart:convert'; 6 | import 'dart:io'; 7 | 8 | import 'package:http/http.dart'; 9 | import 'package:test/test.dart'; 10 | 11 | /// This tests loads the library specification of the Dart SDK and tests if 12 | /// all of them are mentioned in `lib/src/tag/_specs.dart`. 13 | void main() { 14 | test('Dart SDK libraries exist in _specs.dart', () async { 15 | final rs = await get(Uri.parse( 16 | 'https://raw.githubusercontent.com/dart-lang/sdk/main/sdk/lib/libraries.json')); 17 | expect(rs.statusCode, 200); 18 | final parsed = json.decode(rs.body) as Map; 19 | final allLibraries = {}; 20 | for (final topLevel in parsed.entries) { 21 | final tlv = topLevel.value; 22 | if (tlv is! Map) { 23 | continue; 24 | } 25 | final libraries = tlv['libraries']; 26 | if (libraries is Map) { 27 | allLibraries.addAll(libraries.keys.whereType()); 28 | } 29 | } 30 | final publicLibraries = 31 | allLibraries.where((e) => !e.startsWith('_')).toList(); 32 | 33 | final exempted = { 34 | 'concurrent', 35 | 'vmservice', 36 | 'vmservice_io', 37 | }; 38 | final specContent = await File('lib/src/tag/_specs.dart').readAsString(); 39 | for (final lib in publicLibraries) { 40 | if (exempted.contains(lib)) { 41 | continue; 42 | } 43 | expect(specContent, contains("'$lib'")); 44 | } 45 | }); 46 | } 47 | -------------------------------------------------------------------------------- /test/testImages/animated.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/pana/110888bdc6b5cd92ade286c9b4ed14a98968c4d3/test/testImages/animated.gif -------------------------------------------------------------------------------- /test/testImages/animated.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/pana/110888bdc6b5cd92ade286c9b4ed14a98968c4d3/test/testImages/animated.webp -------------------------------------------------------------------------------- /test/testImages/notAnImage.txt: -------------------------------------------------------------------------------- 1 | This is not an image. 2 | -------------------------------------------------------------------------------- /test/testImages/static.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/pana/110888bdc6b5cd92ade286c9b4ed14a98968c4d3/test/testImages/static.gif -------------------------------------------------------------------------------- /test/testImages/static.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/pana/110888bdc6b5cd92ade286c9b4ed14a98968c4d3/test/testImages/static.png -------------------------------------------------------------------------------- /test/testImages/static.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/pana/110888bdc6b5cd92ade286c9b4ed14a98968c4d3/test/testImages/static.webp -------------------------------------------------------------------------------- /test/utils_test.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'dart:convert'; 6 | 7 | import 'package:pana/src/utils.dart'; 8 | import 'package:test/test.dart'; 9 | 10 | void main() { 11 | test('sorted json', () { 12 | expect( 13 | json.encode(sortedJson({ 14 | 'b': [ 15 | {'e': 3, 'd': 4} 16 | ], 17 | 'a': 2 18 | })), 19 | '{"a":2,"b":[{"d":4,"e":3}]}'); 20 | }); 21 | 22 | group('runes', () { 23 | test('empty', () { 24 | expect(nonAsciiRuneRatio(null), 0.0); 25 | expect(nonAsciiRuneRatio(''), 0.0); 26 | expect(nonAsciiRuneRatio(' \t\n\r'), 0.0); 27 | }); 28 | 29 | test('ascii text', () { 30 | expect(nonAsciiRuneRatio('a'), 0.0); 31 | expect(nonAsciiRuneRatio('a b c'), 0.0); 32 | }); 33 | 34 | test('non-ascii text', () { 35 | expect(nonAsciiRuneRatio('封装http业务接口'), 0.6); 36 | }); 37 | }); 38 | } 39 | -------------------------------------------------------------------------------- /third_party/spdx/README.md: -------------------------------------------------------------------------------- 1 | # SPDX CORPUS LICENSES 2 | The `lib/src/third_party/spdx/licenses/` directory contains the open source licenses used 3 | in `lib/src/license_detection/` for detecting SPDX license identifier given `LICENSE` file. 4 | 5 | All the licenses were obtained from - 6 | 7 | * **Source:** [SPDX repository](https://github.com/spdx/license-list-data) 8 | * **Current revision** - `3.13` 9 | -------------------------------------------------------------------------------- /tool/license_detection/README.md: -------------------------------------------------------------------------------- 1 | # Evaluate license detection changes 2 | 3 | The tools in this directory help to evaluate changes in the license-detection code, 4 | by downloading licenses from `pub.dev` and running a difference on the license 5 | detection output before and after the changes. 6 | 7 | The cached licenses are stored in `.dart_tool/pana/license-cache/`. 8 | 9 | - Use `download_pub_dev_licenses.sh` to populate the directory with fresh licenses from `pub.dev`. 10 | - Run `batch_analyse_licenses.dart` before and after a license detection change. 11 | - Run `compare_analysis.dart` with the before and after file of the prior change. 12 | -------------------------------------------------------------------------------- /tool/license_detection/batch_analyse_licenses.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'dart:convert'; 6 | import 'dart:io'; 7 | 8 | import 'package:pana/src/license.dart'; 9 | 10 | Future main(List args) async { 11 | if (args.isEmpty || args.contains('--help')) { 12 | print('dart batch_analyse_licenses.dart '); 13 | print(''); 14 | print( 15 | 'Read all license files from the license cache directory and create an ' 16 | 'aggregated summary of the results.'); 17 | return; 18 | } 19 | final outputFileName = args.single; 20 | 21 | final files = Directory('.dart_tool/pana/license-cache') 22 | .listSync() 23 | .whereType() 24 | .toList(); 25 | files.sort((a, b) => a.path.compareTo(b.path)); 26 | final result = {}; 27 | for (final file in files) { 28 | try { 29 | final content = file.readAsStringSync(); 30 | final list = 31 | await detectLicenseInContent(content, relativePath: 'LICENSE'); 32 | final spdxIds = list.map((e) => e.spdxIdentifier).toList()..sort(); 33 | final packageName = 34 | file.path.split('/').last.split('LICENSE-').last.split('.txt').first; 35 | result[packageName] = { 36 | 'spdxIds': spdxIds, 37 | }; 38 | } catch (_) { 39 | // TODO: also track errors 40 | } 41 | } 42 | await File(outputFileName) 43 | .writeAsString(const JsonEncoder.withIndent(' ').convert(result)); 44 | } 45 | -------------------------------------------------------------------------------- /tool/license_detection/download_pub_dev_licenses.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 6 | PROJECT_DIR="$( cd ${SCRIPT_DIR}/../.. && pwd )" 7 | LICENSES_DIR="${PROJECT_DIR}/.dart_tool/pana/license-cache" 8 | 9 | mkdir -p "${LICENSES_DIR}" 10 | cd "${LICENSES_DIR}" 11 | 12 | # Get all package names 13 | get_all_package_names() { curl -s -H 'Accept-Encoding: gzip' 'https://pub.dev/api/package-names' | gzip -d | jq -r .packages[]; } 14 | 15 | # Given a package name, get archive URL for latest version 16 | get_archive_url() { curl -sL "https://pub.dev/api/packages/$1" | jq -r .latest.archive_url; } 17 | 18 | # Given a package name, get LICENSE file from latest version 19 | get_license() { curl -sL $(get_archive_url "$1") | tar -xzO --ignore-case LICENSE 2> /dev/null; } 20 | 21 | # Given a package name, download license to LICENSE-.txt 22 | download_license() { get_license "$1" > "LICENSE-$1.txt"; } 23 | 24 | export -f get_all_package_names 25 | export -f get_archive_url 26 | export -f get_license 27 | export -f download_license 28 | 29 | get_all_package_names | parallel -j 20 download_license 30 | --------------------------------------------------------------------------------