-
Notifications
You must be signed in to change notification settings - Fork 790
Comparing changes
Open a pull request
base repository: pygments/pygments
base: 2.7.1
head repository: pygments/pygments
compare: 2.7.2
- 17 commits
- 81 files changed
- 9 contributors
Commits on Sep 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b79e689 - Browse repository at this point
Copy the full SHA b79e689View commit details
Commits on Sep 19, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for 835097d - Browse repository at this point
Copy the full SHA 835097dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e631a9c - Browse repository at this point
Copy the full SHA e631a9cView commit details
Commits on Sep 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 45b3dc6 - Browse repository at this point
Copy the full SHA 45b3dc6View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 8aa2bc3 - Browse repository at this point
Copy the full SHA 8aa2bc3View commit details
Commits on Sep 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f0da3b9 - Browse repository at this point
Copy the full SHA f0da3b9View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 9fca2a1 - Browse repository at this point
Copy the full SHA 9fca2a1View commit details
Commits on Sep 28, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for cdf1d48 - Browse repository at this point
Copy the full SHA cdf1d48View commit details
Commits on Sep 30, 2020
-
Fix LatexEmbeddedLexer (#1517)
* Fix LatexEmbeddedLexer to not call the nested tokenizer piecewise * Reuse the existing do_insertions function * Add a test for the `LatexEmbeddedLexer`
Configuration menu - View commit details
-
Copy full SHA for a886f74 - Browse repository at this point
Copy the full SHA a886f74View commit details
Commits on Oct 2, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for d5f8600 - Browse repository at this point
Copy the full SHA d5f8600View commit details
Commits on Oct 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 91728ae - Browse repository at this point
Copy the full SHA 91728aeView commit details
Commits on Oct 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9454d54 - Browse repository at this point
Copy the full SHA 9454d54View commit details -
Add Python 3.9 as a supported version (#1554)
Co-authored-by: Matthäus G. Chajdas <Anteru@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3f300cf - Browse repository at this point
Copy the full SHA 3f300cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d6b610 - Browse repository at this point
Copy the full SHA 5d6b610View commit details
Commits on Oct 14, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for 3e1b79c - Browse repository at this point
Copy the full SHA 3e1b79cView commit details
Commits on Oct 24, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for 20fb8fd - Browse repository at this point
Copy the full SHA 20fb8fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c1a078 - Browse repository at this point
Copy the full SHA 9c1a078View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.7.1...2.7.2