Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pygments/pygments
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.7.1
Choose a base ref
...
head repository: pygments/pygments
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.7.2
Choose a head ref
  • 17 commits
  • 81 files changed
  • 9 contributors

Commits on Sep 17, 2020

  1. Configuration menu
    Copy the full SHA
    b79e689 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2020

  1. Remove symlink.

    Windows doesn't support symlinks out of the box, and there doesn't
    seem to be any use of this symlink, so let's remove it.
    Anteru committed Sep 19, 2020
    Configuration menu
    Copy the full SHA
    835097d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e631a9c View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2020

  1. image formatter: find ttc fonts on Mac

    fixes #1223
    birkenfeld committed Sep 20, 2020
    Configuration menu
    Copy the full SHA
    45b3dc6 View commit details
    Browse the repository at this point in the history
  2. Add a check for CR/LF in files. (#1547)

    * Add a check for CR/LF in files.
    
    This can occur when checking out things on Windows, and it breaks the
    tarball. This adds a script to check for the presence of CR/LF which
    exits early if anything gets found.
    
    * Improve error checking.
    
    * Include the external folder and check that.
    * Include .bashcomp files.
    * Use the correct CR/LF on the checker itself.
    
    * Address review feedback.
    
    * Remove || true
    * Fix docs
    * Print the first offending file name
    Anteru authored Sep 20, 2020
    Configuration menu
    Copy the full SHA
    8aa2bc3 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2020

  1. Configuration menu
    Copy the full SHA
    f0da3b9 View commit details
    Browse the repository at this point in the history
  2. Add analyze_text to make make check happy. (#1549)

    * Add analyze_text to make make check happy.
    
    This also fixes a few small bugs:
    
    * Slash uses *.sla as the file ending, not *.sl
    * IDL has endelse, not elseelse
    
    * Improve various analyse_text methods.
    
    * Improve various analyse_text methods.
    
    * Make Perl less confident in presence of :=.
    * Improve brainfuck check to not parse the whole input.
    * Improve Unicon by matching \self, /self
    * Fix Ezhil not matching against the input text
    
    * Simplify Modula2::analyse_text.
    Anteru authored Sep 23, 2020
    Configuration menu
    Copy the full SHA
    9fca2a1 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2020

  1. Add regexlint to tox so linting can be done during development (#1557)

    * Add regexlint to tox so linting can be done during development
    
    Tested on Windows.
    
    Closes #1556
    
    * Make regex linting depend on pygments/regexlint@master
    kurtmckee authored Sep 28, 2020
    Configuration menu
    Copy the full SHA
    cdf1d48 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2020

  1. Fix LatexEmbeddedLexer (#1517)

    * Fix LatexEmbeddedLexer to not call the nested tokenizer piecewise
    
    * Reuse the existing do_insertions function
    
    * Add a test for the `LatexEmbeddedLexer`
    eric-wieser authored Sep 30, 2020
    Configuration menu
    Copy the full SHA
    a886f74 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2020

  1. Add missing tokens to SPARQL lexer (#1559)

    @belett noticed that VALUES was missing [1]; I found the other ones by
    running the following snippet on the SPARQL 1.1 Query Language spec:
    
        new Set(Array.from(document.querySelectorAll('.grammarTable'))
            .reduce((text, elem) => text + elem.textContent)
            .match(/'[a-z0-9-_ ]*'/ig))
    
    I don’t know why a few keywords were missing; the docstring linked to
    the SPARQL 1.0 Query Language spec (also fixed here), but the lexer
    already contained other tokens which were only added in SPARQL 1.1, such
    as the aggregate functions (MIN, MAX etc.), which have already been in
    Pygments since the initial commit of the current history (6ded9db).
    
    [1]: https://phabricator.wikimedia.org/T264175
    lucaswerkmeister authored Oct 2, 2020
    Configuration menu
    Copy the full SHA
    d5f8600 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2020

  1. Configuration menu
    Copy the full SHA
    91728ae View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2020

  1. Configuration menu
    Copy the full SHA
    9454d54 View commit details
    Browse the repository at this point in the history
  2. Add Python 3.9 as a supported version (#1554)

    Co-authored-by: Matthäus G. Chajdas <Anteru@users.noreply.github.com>
    kurtmckee and Anteru authored Oct 6, 2020
    Configuration menu
    Copy the full SHA
    3f300cf View commit details
    Browse the repository at this point in the history
  3. Add Python 3.9 to CI builds.

    Anteru committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    5d6b610 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2020

  1. TNTLexer: Don't crash on unexpected EOL. (#1570)

    * TNTLexer: Don't crash on unexpected EOL
    
    Catch IndexErrors in each line and error the rest of the line,
    leaving whatever tokens were found.
    
    * Write and pass tests for Typographic Number Theory
    
    pygments/lexers/tnt.py:
    * Fix indentation on import
    * Fix: TNTLexer.cur is class-level reference if not initialized
      in get_tokens_unprocessed, so init it in __init__ too
    * Fix: Fantasy markers are not allowed as components of other formulas,
      so have a dedicated check for them in the body of get_tokens_unprocessed
      which disables the normal formula handling if present
    * Clarify TNTLexer.lineno docstring
    * Attempt to discard tokens before an IndexError
    
    +tests/test_tnt.py:
    * Test every method, and test both +ve and -ve matches for most
    * Lexer fixture is test-level to reinitialize cur clean each time
    * Don't test actual get_tokens_unprocessed method (besides for fantasy markers)
      because the text testing is left to examplefiles
    
    AUTHORS:
    + Add myself to credits :)
    
    * Add a TNT test just to make sure no crashes
    Kenny2github authored Oct 14, 2020
    Configuration menu
    Copy the full SHA
    3e1b79c View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2020

  1. Speculative fix for #1579. (#1583)

    This removes the top/bottom padding changes, and only keeps left/right
    padding, in the hope that this does not break all Sphinx themes.
    Anteru authored Oct 24, 2020
    Configuration menu
    Copy the full SHA
    20fb8fd View commit details
    Browse the repository at this point in the history
  2. Prepare 2.7.2 release.

    Update CHANGES, bump version.
    Anteru committed Oct 24, 2020
    Configuration menu
    Copy the full SHA
    9c1a078 View commit details
    Browse the repository at this point in the history
Loading