summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded future imports.py2removalGeorg Brandl2020-01-0526-50/+2
|
* Remove unneeded object inheritance.Georg Brandl2020-01-0411-21/+22
|
* Remove Python 2 compatibilityGeorg Brandl2020-01-0436-192/+107
| | | | | * remove 2/3 shims in pygments.util * update setup.py metadata
* haskell: Fix highlighting of promoted type operators (#1347)Xia Li-yao2019-12-303-0/+35
| | | | | | | * haskell: Fix highlighting of promoted type operators Fixes issue #527 Patch originally written by paamayim
* Merge pull request #1341 from catatonicprime/masterMatthäus G. Chajdas2019-12-232-3/+16
|\ | | | | Fix directives that have 0 arguments when lexing apache configs
| * Fix directives that have 0 argumentscatatonicprime2019-12-192-3/+16
|/
* Merge pull request #1339 from kurtmckee/update-http-urlsMatthäus G. Chajdas2019-12-1912-53/+53
|\ | | | | Update many links to use HTTPS and skip redirects
| * Update many links to use HTTPS and skip redirectsKurt McKee2019-12-1812-53/+53
|/
* all: fixup http->https for github, pypi, pocoo etc URLsGeorg Brandl2019-12-1012-23/+23
|
* Merge pull request #1310 from pygments/815/MartijnBraam/dmesgGeorg Brandl2019-12-0910-9/+115
|\ | | | | This commit adds a lexer for linux kernel logs as outputted by `dmesg`
| * make regexes consistentGeorg Brandl2019-12-091-1/+1
| |
| * dmesg lexer refinements:Georg Brandl2019-12-095-67/+54
| | | | | | | | | | | | * move to textfmts.py where other logfiles are * fix detection of dmesg -x (heuristic "unknown" state must be last) * change styles for debug/warn lines
| * This commit adds a lexer for linux kernel logs as outputted by `dmesg`martijn@msi.localhost2019-12-095-0/+118
| | | | | | | | | | | | | | | | It supports output from `dmesg`, in that case it highlights based on keywords in the line It can also highlight `dmesg -x` output. In that case it uses the loglevels from the kernel to highlight the lines.
| * tests: remove special skip cases for random_input test caseGeorg Brandl2019-12-094-7/+8
|/
* tests: split out "random input" test and make github tests verboseGeorg Brandl2019-12-092-3/+7
|
* Merge pull request #1332 from pygments/task/improve-docsMatthäus G. Chajdas2019-12-082-9/+54
|\ | | | | Improve docs.
| * Improve docs.Matthäus G. Chajdas2019-12-082-9/+54
| | | | | | | | Add a contributing guide for newcomers, and remove references to pygmentize in the development docs. During development, there is no pygmentize.
* | Add Mosel lexer. (#1287)Georg Brandl2019-12-086-1/+488
|\ \ | | | | | | Add Mosel lexer.
| * | Mosel: style fixes, add changelog entry etcGeorg Brandl2019-12-084-402/+412
| | |
| * | Update operators and punctuation. Reorder '::' and ':', remove redundant ↵J. C. Müller2019-12-081-2/+2
| | | | | | | | | | | | ':', remove '=='.
| * | Add all functions of mmxprs, mmsystem and mmjobs.jcmuel2019-12-081-66/+342
| | |
| * | Add keywords, define types and operators. Remove parameters. Delete test ↵jcmuel2019-12-083-193/+56
| | | | | | | | | | | | file with incompatible license.
| * | Add Mosel lexer.German Riano2019-12-084-0/+338
|/ /
* | Add changelog entries.Georg Brandl2019-12-081-1/+2
| |
* | Fix valid_name regex for SLexer (#1333)Georg Brandl2019-12-082-1/+38
|\ \ | | | | | | Fix valid_name regex for SLexer
| * | Fix valid_name regex for SLexerNikolay Korolev2019-12-072-1/+38
| |/ | | | | | | | | | | | | | | | | This fixes #1331 All modifications to regex: 1. Delete 2 useless non-capturing groups 2. Variables can not start with underscore (_) 3. Only letters, dot (.) and underscore (_) can go after first dot (.) in name 4. Name from only one symbol dot (.) is possible
* | Fixing parsing of Ada numeric literals (#1334)Georg Brandl2019-12-081-1/+1
|\ \ | |/ |/| Fixing parsing of Ada numeric literals
| * Fixing parsing of numeric literalsgusthoff2019-12-061-1/+1
|/ | | | Reasoning: Ada allows formats such as 2#1111_0000# and 2#1111.0000#
* More fixes to MATLAB lexer. (#1328)Georg Brandl2019-12-061-4/+5
|\ | | | | More fixes to MATLAB lexer.
| * More fixes to MATLAB lexer.Antony Lee2019-12-061-4/+5
| |
* | add changelog entry for #1322Georg Brandl2019-12-061-0/+1
| |
* | Parse HTTP status-line even when reason-phrase not included. (#1322)Georg Brandl2019-12-062-3/+31
|\ \ | | | | | | Parse HTTP status-line even when reason-phrase not included.
| * | Make the optional reason-phrase regexp group non-capturing.Jakub Roztocil2019-12-031-3/+3
| | |
| * | Parse HTTP status-line even when reason-phrase not included.Jakub Roztocil2019-12-022-2/+30
| | | | | | | | | | | | Background: https://github.com/jakubroztocil/httpie/issues/811
* | | USD: post-merge nitsGeorg Brandl2019-12-063-78/+41
| | |
* | | re-sort AUTHORSGeorg Brandl2019-12-061-4/+4
| | |
* | | Add USD lexer (#1290)Georg Brandl2019-12-067-0/+962
|\ \ \ | | | | | | | | Add USD lexer
| * | | Added "r" prefix to an existing regex stringColin Kennedy2019-12-051-1/+1
| | | |
| * | | Replaced Literal.Number with NumberColin Kennedy2019-12-051-33/+33
| | | |
| * | | Replaced Literal.String with StringColin Kennedy2019-12-051-21/+21
| | | |
| * | | Separated different pieces of text into whitespace and punctuation and textColin Kennedy2019-12-052-132/+133
| | | |
| * | | Fixed numeric testColin Kennedy2019-12-052-5/+5
| | | |
| * | | Added scientific notation support for USD numbersColin Kennedy2019-12-052-2/+10
| | | |
| * | | Replaced `Generic` with `Text` and `Punctuation` in test_usd.pyColin Kennedy2019-12-041-25/+25
| | | |
| * | | Removed module import from test_usd.pyColin Kennedy2019-12-041-312/+297
| | | |
| * | | Replaced all entries `Generic` with `Text` or `Punctuation`Colin Kennedy2019-12-041-8/+8
| | | |
| * | | Updated unittests to make sure outer-text-pair matches are not matched a ↵Colin Kennedy2019-12-042-5/+58
| | | | | | | | | | | | | | | | string types
| * | | Removed trailing commaColin Kennedy2019-12-041-1/+1
| | | |
| * | | Removed unnecessary bars from regexColin Kennedy2019-12-041-1/+1
| | | |
| * | | Moved punctuation into a single regexColin Kennedy2019-12-041-11/+1
| | | |