Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert 5646 ungenerate jest snapshots #33

Open
wants to merge 1,305 commits into
base: master
Choose a base branch
from

Conversation

Paranoid46
Copy link

No description provided.

am11 and others added 30 commits March 26, 2021 15:21
MiniMime released a new version yesterday which has pulled in the latest updates from https://github.com/mime-types/mime-types-data which has in turn pulled in @Alhadis's fix to correctly classify .ai files as PDFs in mime-types/mime-types-data#22
* Add Wolfram Language as alias for Mathematica

Add "wl" and "wolframlang" as aliases for Mathematica.

In recent years, the language underpinning Mathematica has been called "Wolfram Language" (https://www.wolfram.com/language/)
and Mathematica is just the GUI application.

WL is a common abbreviation for Wolfram Language as well.

* Added spaces in Wolfram Language Aliases

Fixed Wolfram Language aliases to have a space so they can be automatically joined with relevant characters.
Nixinova pointed this out in https://github.com/github/linguist/pull/5232/files#r583848681,
citing a [github-linguist#5135 comment](github-linguist#5135 (comment)).
* Remove redundant searchable method and attribs

These attributes haven't been used for a very long time.

* Remove searchable test
…guist#5166)

* Add support for the BASIC family of programming languages

* "Ballerina should come after BASIC"

* "test/test_heuristics.rb"

* ...

* run tests

* add grammar license

* update grammer license
…t#5306)

* add synthetic sample file intended to show all allowed nim syntax

* nim: update NimLime url to get the new nim literals correctly highlighted

* fixup

* update vendor/README.md

* update vendor/README.md

* vendor/grammars/NimLime
* Linguist support for Bicep

* Add color for bicep
* Added FreeBasic language

I added FreeBasic language. Please see this.

* Update languages.yml

* Update languages.yml

* Update languages.yml

* Update languages.yml

* Update README.md

* Update heuristics.yml

* Update heuristics.yml

* Add files via upload

* Update heuristics.yml

* Update languages.yml

* Rename WinGUI template.bi to samples/FreeBasic/WinGUI template.bi

* Rename try_catch_throw.bas to samples/FreeBasic/try_catch_throw.bas

* Update languages.yml

* Update heuristics.yml

* Update heuristics.yml

* Add files via upload

* Update heuristics.yml

* Update heuristics.yml

* Update lib/linguist/heuristics.yml

Co-authored-by: John Gardner <[email protected]>

* Update lib/linguist/heuristics.yml

Co-authored-by: John Gardner <[email protected]>

* Update heuristics.yml

* Update languages.yml

* Delete WinForm.inc

* Delete MyFbFramework Form.frm

* Update test_heuristics.rb

* Update test_heuristics.rb

* Update test_heuristics.rb

* Update heuristics.yml

* Add files via upload

* Update heuristics.yml

* Update heuristics.yml

* Update heuristics.yml

* Update heuristics.yml

* Update heuristics.yml

* Update heuristics.yml

* Update heuristics.yml

* Update heuristics.yml

* Update heuristics.yml

* Update heuristics.yml

* Update test_heuristics.rb

* Update heuristics.yml

* Correct language ID

* Remove extra space

Co-authored-by: John Gardner <[email protected]>
Co-authored-by: Colin Seymour <[email protected]>
* Upgrade grammars

* Update cached licenses

* Upgrade grammars

* Update cached licenses

* Update releasing steps

* Update grammars

* Update cached licenses

* Version v7.14.0
* feat(grammar,languages): add support for CUE language

* feat(samples): add more CUE sample

* feat(grammar,languages): add support for CUE Sheet language

* Update lib/linguist/languages.yml

Co-authored-by: Colin Seymour <[email protected]>

* Update vendor/README.md

Co-authored-by: Colin Seymour <[email protected]>

* Rename Cue Sheet sample directory

Co-authored-by: Colin Seymour <[email protected]>
* Rename MediaWiki to Wikitext

* Move samples and update vendor

* Merge upstream vendor readme

* Remove old samples

Co-authored-by: Colin Seymour <[email protected]>
Refer to the issue github-linguist#5334.

The old highlighting from
https://github.com/michaeledgar/protobuf-tmbundle isn't particularly active
and lack of gRPC highlighting or maybe other new language grammars.

So we switch to a [new syntax highlighting lib](https://github.com/zxh0/vscode-proto3) which is a VSCode plugin and actively maintained.
…ithub-linguist#5332)

* Add grammars for SELinux policy languages.

* Add SELinux Common Intermediate Language.

* Add SELinux Kernel Policy Language.

Co-authored-by: Colin Seymour <[email protected]>
* fixup

* fix space => indent

Co-authored-by: Colin Seymour <[email protected]>
* Default .h to C if no match

* Move ambiguous files to C

These files do not contain anything that can be used to confirm they're C++ in isolation as opposed to C.

* Update tests

* Document C-family header special treatment

* Reduce acceptable errors
* Add grammar for Android.bp files.

* Add Android.bp language for Soong build.

Co-authored-by: Colin Seymour <[email protected]>
* Add .imgbotconfig to JSON

* Create imgbotconfig sample
The generated file is heavily annotated with comments.

Template: https://github.com/microsoft/rushstack/blob/master/apps/api-extractor/src/schemas/api-extractor-template.json

This template is used during the running of `api-extractor init`.

Co-authored-by: Colin Seymour <[email protected]>
* Add KeyValues language

Filename `gameinfo.txt`, used as a Source engine game config file

* Add alias Valve Data Format (VDF)

* Switch out gameinfo.txt sample

* Rename KeyValues to Valve Data Format

* Update alias

* Delete gameinfo.vdf

* Rename sample

* Remove gameinfo

Co-authored-by: Colin Seymour <[email protected]>
github-linguist#5378)

* refactoring linguist for increasing code re-usability in projectionist

* reveting empty line changes

* reverting space changes
…#5341)

* Add sample files for Fluent

* Add Fluent to list of languages

* Import Fluent VSCode plugin to acquire grammar

* Add heuristic to disambiguate many FreeMarker/Fluent files

* Use simpler heuristic to avoid false positives on Fluent FUNCTIONs

* Extend FreeMarker/Fluent heuristics

Co-authored-by: Alhadis <[email protected]>
Co-authored-by: Colin Seymour <[email protected]>
* D.R.Y up Vim modeline expression

Fixes: github-linguist#5347

* Add `help` to Vim Help aliases

See: github-linguist#5365 (comment)

* Return early on Vimballs

Co-authored-by: Colin Seymour <[email protected]>
lildude and others added 30 commits July 14, 2022 09:38
…b-linguist#5983)

* Add note about Search and new Languages

* Lowercase ess

Co-authored-by: John Gardner <[email protected]>

Co-authored-by: John Gardner <[email protected]>
* Update ace mode path

The directory structure was changed in ajaxorg/ace#4851

* Grab both locations
Co-authored-by: John Gardner <[email protected]>
Co-authored-by: Colin Seymour <[email protected]>
This isn't as concise as it could be or as the current spec suggests, but that's deliberate as we need to still detect uses of the old obsolete format.
IDL keywords can be uppercase, identifiers can contain `::`, added `pro`
and `compile_opt` as other frequent keywords.

Added one additional sample:

* Origin: https://github.com/PAHdb/AmesPAHdbIDLSuite/blob/28997e27b733d258f8d5028704af87d78fa6c3a9/src/amespahdbidlsuite_spectrum__define.pro
* License: BSD-3
* Add Befunge samples and .bf heuristics

Added heuristics for `.bf` extension.

Added the `.bf` extension to Befunge.

Added the following Befunge-93 samples:

* aturley.bf by Andrew Turley (CC0 license), fetched from https://github.com/catseye/Befunge-93/blob/master/eg/aturley.bf
* beer7.bf by Wim Rijnders (CC0 license), fetched from https://github.com/catseye/Befunge-93/blob/master/eg/beer7.bf
* befunge3.bf by Ben Olmstead (CC0 license), fetched from https://github.com/catseye/Befunge-93/blob/master/eg/befunge3.bf
* cascade.bf by Chris Pressey (CC0 license), fetched from https://github.com/catseye/Befunge-93/blob/master/eg/cascade.bf

And Befunge-98:

* mycorand.bf by Matti Niemenmaa (MIT license), fetched from https://github.com/Deewiant/Mycology/blob/master/mycorand.bf

* Update lib/linguist/heuristics.yml

Co-authored-by: John Gardner <[email protected]>

* Update lib/linguist/heuristics.yml

Co-authored-by: John Gardner <[email protected]>

Co-authored-by: John Gardner <[email protected]>
Co-authored-by: Colin Seymour <[email protected]>
* Add support for HOCON files with the .hocon extension

* Update sample files

Co-authored-by: Colin Seymour <[email protected]>
Add support for Elvish (https://elv.sh).

Usage in the wild:
https://github.com/search?q=extension%3Aelv&type=Code&ref=advsearch&l=&l=. There
are a couple of false positives, but the vast majority of the results are Elvish
scripts.

Code sample is taken from Elvish's standard library:
https://github.com/elves/elvish/blob/master/pkg/mods/epm/epm.elv, license BSD
2-clause.

Co-authored-by: Colin Seymour <[email protected]>
feat(grammar): replace language-graphql grammars

Co-authored-by: Colin Seymour <[email protected]>
…#5995)

* Update languages.yml

* Create Application consent_or_assignment.kql

* Rename Application consent_or_assignment.kql to application_consent_or_assignment.kql

* Update application_consent_or_assignment.kql

Co-authored-by: Colin Seymour <[email protected]>
* Add Gemini language

* Remove .gemini extension

Co-authored-by: printfn <[email protected]>
Co-authored-by: Colin Seymour <[email protected]>
* Add generic .tag to JSP

* Update lib/linguist/heuristics.yml

Co-authored-by: John Gardner <[email protected]>

Co-authored-by: John Gardner <[email protected]>
* Update all grammars

* Update all cached licenses

* Version 7.23.0

* Update all grammars

* Update cached licenses
This PR does not introduce any changes to installed packages, but it does change the filesystem by deleting the package caches.

- The `linux-headers` package is found in the base image, such that adding it is not required
- The removal of `build-base`, `libc-dev`, and `cmake` are handled by `apk del build_deps`, the virtual package we created. `linux-headers` can not be deleted, as it is required by `libffi-dev` in the base image.
- Removing `--no-cache` on the second `apk add` because the package caches were already downloaded and retained in the first `apk add`, so there's no need to fetch them again.
- Removing the caches from `/var/cache/apk/*` saves some KBees 🐝
Add Brewfile for bootstrapping deps on Mac

Co-authored-by: Colin Seymour <[email protected]>
* Repoint razor-plus grammar submodule at new repo

* Run list-grammars and update README

* Move razor-plus project into github-linguist org

* Update grammar README for last change
* Update linguist CLI to analyze specific revisions
* Update README to document new --rev option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment