master
Commits on Jan 22, 2021
-
Use JSON instead of YAML for deserialization if Yajl is not available. (
#5149) * Use JSON if Yajl doesn't exist to boost perf on dependent repos. * Also require 'json' if Yajl isn't available. Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Update issue templates (#5146)
* Move issue template to new directory and rename to reflect purpose * Update bug report template * Add feature request template * Add issue template config * Move PR template to new dir structure * Use @Alhadis's words Co-authored-by: John Gardner <gardnerjohng@gmail.com> * Split adding language to own template * Add comment * Add section for grammar URL * More of Alhadis's words Co-authored-by: John Gardner <gardnerjohng@gmail.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Jan 13, 2021
-
Add alias "plain text" for "Text" (resolve #5135) (#5137)
Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Expand tokenizer tests (#5139)
Not all of these cases are checking behaviors that make sense, but they should serve as better quirk documentation for the tokenizer, and help understanding the impact of tokenizer changes. Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Move `.jsx` to JavaScript and remove JSX section and babel-sublime su…
…bmodule (#5133) * Remove babel-sublime grammar * Move .jsx to JavaScript * Move JSX sample to JavaScript * Remove babel-sublime section * Remove babel-sublime license * Fix extension order * Remove ref to old babel-sublime grammar
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Jan 6, 2021
-
Add pedantic test for heuristics exhaustiveness (#4999)
* Add pedantic test for heuristics exhaustiveness Tests that there is a test in test_heuristics.rb for every extension defined in heuristics.rb. Add missing heuristic tests and add explicit checks for languages that miss a rule. Fixes #4207. * Correct test order I messed this up when resolving the merge conflict. * Remove whitespace changes These also snuck in during the conflict resolution Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Move `delphi` and `objectpascal` aliases to Pascal instead of Component Pascal. Both aliases are used for Object Pascal dialects, which is a Pascal extension, not derived from Component Pascal.
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Jan 5, 2021
-
Add missing Gerber extensions and heuristics (#5054)
Co-authored-by: Colin Seymour <colin@github.com> Co-authored-by: John Gardner <gardnerjohng@gmail.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Add M4 vs M4Sugar disambiguation (#5113)
Added heuristic for M4Sugar with M4 fallback. Added samples: - M4/translit2.m4 BSD https://github.com/freebsd/freebsd/blob/d551da60d42039156f003de6644e9e147ed167a3/usr.bin/m4/tests/translit2.m4 - M4/fibo.m4 BSD https://github.com/openbsd/src/blob/d714ed3db694a238d1e0a5018a7fb156af9527f3/regress/usr.bin/m4/fibo.m4 - M4/postscript.m4 LPPL 1.3c http://mirrors.ctan.org/graphics/circuit_macros/postscript.m4- M4/translit2.m4 https://github.com/freebsd/freebsd/blob/d551da60d42039156f003de6644e9e147ed167a3/usr.bin/m4/tests/translit2.m4 Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Use ruby:2-alpine for Docker (#5129)
Charlock_holmes is struggling to build on Ruby 3
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Dec 16, 2020
-
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Dec 11, 2020
-
* Drecrement number of expected errors * Version v7.12.2
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Replace Liquid grammar with a more complete one (#5108)
Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Update ActionScript regex heuristic (#5101)
* Update ActionScript regex heuristic * Update lib/linguist/heuristics.yml Co-authored-by: Nathan Witmer <nathan@zerowidth.com> Co-authored-by: Nathan Witmer <nathan@zerowidth.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Dec 2, 2020
-
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Use ruby/setup-ruby Action for CI Workflow (#5100)
* Switch to ruby/setup-ruby for CI * Use versions without .x * No need to install gems again * Move grammar checkout to workflow * Remove redundant script
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Add support for Browserslist (#5099)
* feat(grammar, languages): add text.browserslist * feat(examples): add examples files * feat(language-id): generate language-id * fix(example): change filename * fix(tests): delete aliases * fix(languages): add filename: browserslist * fix(language): add extension, relocate filename * fix(langiage): revert filename * fix(tests): add filenames dir in /sample ) * refactor: resolve PR comments by Alhadis * fix(tests): add core.ignorecase to lacal git config * feat(color): add color property for language * Delete .browserslistrc * Delete browserslist Co-authored-by: Stepan Polevshchikov <spolevshchikov@ozon.ru>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 10, 2020
-
Update link to new GitHub documentation (#5090)
* Update link to new Github documentation * Update README.md * Update link to new GitHub documentation
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 9, 2020
-
* Update Julia grammar * Update cached Julia license * Version v7.12.1
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 6, 2020
-
* Update all grammars * Perl6 grammar scope is now source.raku * Version v7.12.0 * Update license cache
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 5, 2020
-
Add devcontainer.json to JSONC (#5081)
* Add devcontainer.json to JSONC This file is VS Code specific & allows comments: https://code.visualstudio.com/docs/remote/devcontainerjson-reference * Add sample devcontainer.json Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Add ReScript programming language (#4975)
* Add ReScript programming language * Remove .resi extension from ReScript language * Add heuristics for ReScript programming language * Add .res extension to XML and add sample Co-authored-by: Patrick Stapfer <ryyppy@users.noreply.github.com> Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 4, 2020
-
* add LEEx file extension to HTML+EEX * add LEEx sample file Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Move generic extensions list to a dedicated file (#5070)
Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Nov 3, 2020
-
Fix verilog misclassification (resurrection of #4751) (#5075)
* Revise some pattern for avoding Coq/Verilog misdetection * Add a sample Verilog file used to be misclassified as Coq. Co-authored-by: cyan <cyan@0x00a1e9.dev>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Oct 26, 2020
-
Add support for NWScript (#5064)
Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Mark `.{1..9}` as generic file-extensions (#5059)
Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Add LabVIEW file extensions and samples (#5035)
* add additional LabVIEW file types and added samples directory with multiple sample files for each type * added LabVIEW extensions with examples * removed binary file types and examples leaving only .lvproj and .lvlib Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Switch F# grammar to ionide-fsgrammar (#5011)
Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Ensure that all heuristic tests consume samples (#5056)
Some heuristic tests were not running for any sample: - *.sol tests had incorrect paths in a glob expression, which expanded to an empty list. - *.h tests for C did not reference any sample. Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Tokenizer: avoid intermediate string copies (#5065)
In the tokenizer, all lexer actions created intermediate string copies. These are unnecessary, since they are later copied again when creating the final Ruby strings. Removed all intermediate copies and unnecessary strlen calls (string length is already provided by flex in the `yyleng` variable). Now Ruby strings are created directly by macros used in lexer actions: FEED/FEED1/FEED2/FEED_SGML/FEED_SHEBANG. Some other code such as `strndup.c`, token types, etc, was rendered obsolete in the process and removed. Depending on the language, tokenization time is decreased between 20% and 40%.
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Oct 23, 2020
-
Update tokenizer to flex 2.6.4 (#5006)
Re-generate tokenizer with flex 2.6.4 (current version on Ubuntu 20.04 and Homebrew).
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Oct 19, 2020
-
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Oct 16, 2020
-
Improve accuracy of ActionScript heuristic (#4926)
* Update accuracy of Actionscript heuristic * add new test cases * optimize actionscript heuristic and remove angelscript fallback * Require at least one of `intrinsics` or `extends` * Fix YAML indentation * Update heuristic test Co-authored-by: Alhadis <gardnerjohng@gmail.com> Co-authored-by: Colin Seymour <colin@github.com>
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits