Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use a better pattern for HostCode704/kenzierocks/antlrv4 | Kenzie Togami | 2019-11-27 | 1 | -20/+24 |
| | |||||
* | Fix some regexes in ANTLR4Lexer | Kenzie Togami | 2019-11-27 | 1 | -11/+17 |
| | |||||
* | Added ANTLR v4 lexer | Kenzie Togami | 2019-11-27 | 5 | -4/+1596 |
| | |||||
* | recognize escapes in Matlab double quoted strings | Georg Brandl | 2019-11-27 | 2 | -1/+7 |
| | |||||
* | sql: style fixes | Georg Brandl | 2019-11-27 | 1 | -89/+104 |
| | |||||
* | Fixes #1124 | Jan Siqueira | 2019-11-27 | 1 | -0/+2 |
| | |||||
* | MATLAB allows keywords to be used as field names. | Antony Lee | 2019-11-27 | 1 | -5/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... so don't highlight them as keywords in that position. Example MATLAB session showcasing this "feature": >> x.for = 42 x = struct with fields: for: 42 >> x x = struct with fields: for: 42 >> x.for ans = 42 | ||||
* | reStructuredText: highlight only field list markers | Eric Knibbe | 2019-11-27 | 1 | -4/+3 |
| | |||||
* | Reserve new version in CHANGES. | Matthäus G. Chajdas | 2019-11-26 | 1 | -0/+4 |
| | |||||
* | Bump version to 2.5.1.2.5.1 | Matthäus G. Chajdas | 2019-11-26 | 3 | -2/+5 |
| | |||||
* | Merge pull request #1283 from pygments/fix/1280 | Matthäus G. Chajdas | 2019-11-26 | 1 | -1/+1 |
|\ | | | | | Exclude tests from distribution -- fix #1280 | ||||
| * | Exclude tests from distribution. | Matthäus G. Chajdas | 2019-11-26 | 1 | -1/+1 |
|/ | | | | The tests package is found as a package due to presence of __init__.py. Use include to ensure only pygments gets installed. | ||||
* | Reserve new version in CHANGES. | Matthäus G. Chajdas | 2019-11-26 | 1 | -0/+3 |
| | |||||
* | Bump version number.2.5.0 | Matthäus G. Chajdas | 2019-11-26 | 2 | -2/+2 |
| | |||||
* | Update docs for 2.5 release. | Matthäus G. Chajdas | 2019-11-26 | 2 | -18/+31 |
| | |||||
* | Merge pull request #1277 from jjatria/praat-interpolation | Matthäus G. Chajdas | 2019-11-26 | 3 | -41/+183 |
|\ | | | | | Improve detection of Praat interpolated variables | ||||
| * | Improve detection of Praat interpolated variables | José Joaquín Atria | 2019-11-25 | 3 | -41/+183 |
| | | | | | | | | Changes squashed / updated from https://bitbucket.org/birkenfeld/pygments-main/pull-requests/586 | ||||
* | | Add Solidity lexer. | Georg Brandl | 2019-11-26 | 4 | -0/+169 |
| | | | | | | | | Fixes #1214 | ||||
* | | Python: recognize "f" string prefix | Georg Brandl | 2019-11-26 | 2 | -8/+11 |
| | | | | | | | | Fixes #1156 | ||||
* | | html formatter: lineseparator needs to be unicode | Georg Brandl | 2019-11-26 | 1 | -1/+1 |
| | | | | | | | | Fixes #1053 | ||||
* | | Juttle: style fixes | Georg Brandl | 2019-11-26 | 1 | -7/+14 |
| | | |||||
* | | Python: make Python3 rules standalone | Georg Brandl | 2019-11-26 | 1 | -231/+303 |
| | | | | | | | | | | As the language develops further, having to override more and more of the Python 2 lexer tokens makes no sense anymore. | ||||
* | | Python: make "python" shebang match Python 3 | Georg Brandl | 2019-11-26 | 1 | -2/+2 |
| | | |||||
* | | Update changelog | Georg Brandl | 2019-11-26 | 1 | -1/+7 |
| | | |||||
* | | Add Notmuch lexer | Daniel Santana | 2019-11-26 | 3 | -3/+104 |
| | | |||||
* | | Set BroLexer = ZeekLexer | Jon Siwek | 2019-11-25 | 2 | -15/+5 |
| | | | | | | | | This also removes BroLexer from LEXERS. | ||||
* | | Simplify/improve ZeekLexer patterns | Jon Siwek | 2019-11-25 | 2 | -29/+30 |
| | | | | | | | | | | | | | | | | | | | | Addresses feedback from PR review: * Use \w instead of [A-Za-z0-9_] * Simplify IPv4/IPv6 addresses * Remove superfluous leading \b's * Change characters used in "ternary if" from Operator to Punctuation * Remove ZeekLexer from "other.py" compatibility file | ||||
* | | Fix typo in ZeekLexer comment | Jon Siwek | 2019-11-25 | 1 | -1/+1 |
| | | |||||
* | | Add Zeek lexer based on the Bro lexer | Jon Siwek | 2019-11-25 | 5 | -56/+329 |
| | | | | | | | | | | | | | | Bro has been renamed to Zeek, but the language is essentially the same without any different treatment of .zeek files from .bro files. This change also adds general improvements to the lexer. | ||||
* | | Assume setuptools is available | Jon Dufresne | 2019-11-25 | 2 | -28/+5 |
| | | | | | | | | | | | | | | On modern Python installations, setuptools should always be available and should always be preferred. Can remove the fallback to distutils. Replace the pygmentize script with a __main__.py in the package. | ||||
* | | autopygmentize: various improvements and fixes | Reuben Thomas | 2019-11-25 | 1 | -23/+29 |
|/ | |||||
* | Fix #1253. | Matthäus G. Chajdas | 2019-11-25 | 3 | -8/+42 |
| | |||||
* | Update project to use modern Python features and idioms | Jon Dufresne | 2019-11-25 | 21 | -154/+154 |
| | | | | | | | | | | Run the pyupgrade tool across the project to use modern language features. - Use set literals - Use dict comprehension - Remove unnecessary numeric indexes in format string - Remove unnecessary extra parentheses | ||||
* | Add New Style: Inkpot | Campbell Barton | 2019-11-25 | 3 | -0/+73 |
| | | | | | | | | | | Based on the Vim theme: http://www.vim.org/scripts/script.php?script_id=1143 Example output: http://members.iinet.net.au/~ideasman42/dotemacs/init.html The theme is also bundled with qt-creator and available from emacs package manager. Also, there aren't many nice dark themes for Pygments at the moment. | ||||
* | Update Logtalk lexer for the latest language specification | Paulo Moura | 2019-11-25 | 1 | -23/+24 |
| | |||||
* | MATLAB: Recognize command form. | Antony Lee | 2019-11-25 | 1 | -8/+23 |
| | | | | | | MATLAB treats a bare word followed by arguments such as `foo bar baz` as the function call `foo('bar', 'baz')`. As such, treat everything that follows the bare word as a string. | ||||
* | MATLAB: improve detection and float boundaries. | Antony Lee | 2019-11-25 | 1 | -6/+14 |
| | | | | | | | - Detect `.m` files starting with a function definition as MATLAB, not ObjC (#1149). - Require word boundaries in regexes matching numbers and floats, to avoid mishighlighting `load 123file` as starting with a number. | ||||
* | move pyodide artifacts to separate repo | Georg Brandl | 2019-11-25 | 9 | -449/+7 |
| | |||||
* | scdoc: add missing module docstring | Georg Brandl | 2019-11-25 | 1 | -0/+11 |
| | |||||
* | Add Lexer for scdoc | Stefan Tatschner | 2019-11-25 | 3 | -0/+257 |
| | | | | | | | | | | The scdoc markup language is increasingly used by the Wayland community for writing manpages. Examples are: * https://git.sr.ht/~sircmpwn/scdoc/tree/master/scdoc.5.scd * https://github.com/swaywm/sway/blob/master/sway/sway.1.scd * https://github.com/swaywm/swayidle/blob/master/swayidle.1.scd * https://git.sr.ht/~sircmpwn/aerc/tree/master/doc/aerc-tutorial.7.scd | ||||
* | tests: set STORE_OUTPUT to false and explain it | Georg Brandl | 2019-11-25 | 1 | -1/+4 |
| | |||||
* | resource, robotframework: stop hogging the .txt extension | Georg Brandl | 2019-11-25 | 4 | -4/+5 |
| | |||||
* | formatters.other: style/import fixups | Georg Brandl | 2019-11-25 | 1 | -1/+5 |
| | |||||
* | Verilog: get rid of "uppercase is constant" highlighting | Georg Brandl | 2019-11-24 | 1 | -66/+60 |
| | | | | Seems quite arbitrary and has raised eyebrows (fixes #1204) | ||||
* | misc: fix synthesized tokens not using text_type (unicode) | Georg Brandl | 2019-11-24 | 3 | -5/+5 |
| | | | | Fixes the test failure seen at https://github.com/pygments/pygments/runs/318264350 | ||||
* | Python lexer: accept .jy filenames | Georg Brandl | 2019-11-24 | 3 | -1/+4 |
| | | | | Fixes #976 | ||||
* | Java: make it less operator-heavy | Georg Brandl | 2019-11-24 | 3 | -10/+14 |
| | | | | Fixes #987 | ||||
* | doc/faq: add Spyder to users list | Georg Brandl | 2019-11-24 | 1 | -2/+3 |
| | | | | Closes #1169 | ||||
* | Small readme overhauls | Georg Brandl | 2019-11-24 | 1 | -9/+13 |
| | |||||
* | Merge pull request #1265 from jdufresne/pythons | Matthäus G. Chajdas | 2019-11-24 | 3 | -2/+5 |
|\ | | | | | Document and test all supported Python versions |