Skip to content
Permalink
master

Commits on Jan 22, 2021

  1. 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>
    tiegz and lildude committed Jan 22, 2021
  2. 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>
    lildude and Alhadis committed Jan 22, 2021

Commits on Jan 13, 2021

  1. Add alias "plain text" for "Text" (resolve #5135) (#5137)

    Co-authored-by: Colin Seymour <colin@github.com>
    kazkansouh and lildude committed Jan 13, 2021
  2. 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>
    smola and lildude committed Jan 13, 2021
  3. 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
    lildude committed Jan 13, 2021

Commits on Jan 6, 2021

  1. 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>
    smola and lildude committed Jan 6, 2021
  2. Fix Pascal aliases (#5121)

    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.
    smola committed Jan 6, 2021

Commits on Jan 5, 2021

  1. Add missing Gerber extensions and heuristics (#5054)

    Co-authored-by: Colin Seymour <colin@github.com>
    Co-authored-by: John Gardner <gardnerjohng@gmail.com>
    3 people committed Jan 5, 2021
  2. Use ruby:2-alpine for Docker (#5129)

    Charlock_holmes is struggling to build on Ruby 3
    lildude committed Jan 5, 2021

Commits on Dec 16, 2020

  1. Add HCL's full definition to its aliases list (#5109)

    Alhadis committed Dec 16, 2020

Commits on Dec 11, 2020

  1. Release v7.12.2 (#5110)

    * Drecrement number of expected errors
    
    * Version v7.12.2
    lildude committed Dec 11, 2020
  2. Replace Liquid grammar with a more complete one (#5108)

    Co-authored-by: Colin Seymour <colin@github.com>
    macournoyer and lildude committed Dec 11, 2020
  3. 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>
    BenEddy and zerowidth committed Dec 11, 2020

Commits on Dec 2, 2020

  1. Add support for Glyphs projects (#5097)

    Alhadis committed Dec 2, 2020
  2. 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
    lildude committed Dec 2, 2020
  3. 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>
    voskresla and Stepan Polevshchikov committed Dec 2, 2020

Commits on Nov 10, 2020

  1. Update link to new GitHub documentation (#5090)

    * Update link to new Github documentation
    
    * Update README.md
    
    * Update link to new GitHub documentation
    jonaschn committed Nov 10, 2020

Commits on Nov 9, 2020

  1. Release v7.12.1 (#5089)

    * Update Julia grammar
    
    * Update cached Julia license
    
    * Version v7.12.1
    lildude committed Nov 9, 2020
  2. Ignore files in src directories of grammars (#5088)

    lildude committed Nov 9, 2020

Commits on Nov 6, 2020

  1. Release v7.12.0 (#5084)

    * Update all grammars
    
    * Perl6 grammar scope is now source.raku
    
    * Version v7.12.0
    
    * Update license cache
    lildude committed Nov 6, 2020

Commits on Nov 5, 2020

  1. 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>
    Porges and lildude committed Nov 5, 2020
  2. 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>
    3 people committed Nov 5, 2020

Commits on Nov 4, 2020

  1. Add LEEx Support (#5040)

    * add LEEx file extension to HTML+EEX
    
    * add LEEx sample file
    
    Co-authored-by: Colin Seymour <colin@github.com>
    oohnoitz and lildude committed Nov 4, 2020
  2. Move generic extensions list to a dedicated file (#5070)

    Co-authored-by: Colin Seymour <colin@github.com>
    Alhadis and lildude committed Nov 4, 2020

Commits on Nov 3, 2020

  1. 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>
    lf- and yumaueda committed Nov 3, 2020

Commits on Oct 26, 2020

  1. Add support for NWScript (#5064)

    Co-authored-by: Colin Seymour <colin@github.com>
    Alhadis and lildude committed Oct 26, 2020
  2. Mark `.{1..9}` as generic file-extensions (#5059)

    Co-authored-by: Colin Seymour <colin@github.com>
    Alhadis and lildude committed Oct 26, 2020
  3. 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>
    dillonledoux and lildude committed Oct 26, 2020
  4. Switch F# grammar to ionide-fsgrammar (#5011)

    Co-authored-by: Colin Seymour <colin@github.com>
    am11 and lildude committed Oct 26, 2020
  5. 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>
    smola and lildude committed Oct 26, 2020
  6. 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%.
    smola committed Oct 26, 2020

Commits on Oct 23, 2020

  1. Update tokenizer to flex 2.6.4 (#5006)

    Re-generate tokenizer with flex 2.6.4 (current version on Ubuntu 20.04
    and Homebrew).
    smola committed Oct 23, 2020

Commits on Oct 19, 2020

  1. Restrict Vim help file pattern to a single line (#5055)

    BenEddy committed Oct 19, 2020

Commits on Oct 16, 2020

  1. 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>
    3 people committed Oct 16, 2020
Older