summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Update CHANGES.Anteru/issue1009Matthäus G. Chajdas2021-08-081-1/+1
| | | | |
* | | | | Merge branch 'scop-feat/ascii-armored'Matthäus G. Chajdas2021-08-086-0/+92
|\ \ \ \ \
| * | | | | Update CHANGES.Matthäus G. Chajdas2021-08-081-0/+1
| | | | | |
| * | | | | Merge branch 'feat/ascii-armored' of https://github.com/scop/pygments into ↵Matthäus G. Chajdas2021-08-085-0/+91
| |\ \ \ \ \ |/ / / / / / | | | | | | | | | | | | scop-feat/ascii-armored
| * | | | | fix(asc): use Whitespace instead of Text for whitespaceVille Skyttä2021-05-182-14/+14
| | | | | |
| * | | | | fix(AscLexer): mimetypes stray trailing commaVille Skyttä2021-05-182-2/+2
| | | | | |
| * | | | | test(asc): add id_ecdsa example fileVille Skyttä2021-05-172-0/+38
| | | | | |
| * | | | | docs(AscLexer): add versionaddedVille Skyttä2021-05-171-0/+2
| | | | | |
| * | | | | feat(lexers): add ASCII armoredVille Skyttä2021-05-173-0/+51
| | |/ / / | |/| | |
* | | | | Fix CHANGES.Matthäus G. Chajdas2021-08-081-29/+29
| | | | | | | | | | | | | | | | | | | | Moved entries to 2.10 where they should be, instead of 2.9.
* | | | | Update CHANGES.Matthäus G. Chajdas2021-08-081-1/+1
| | | | |
* | | | | Added lexer for parsing GSQL files (#1866)DanBarkus2021-08-084-0/+1819
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added GSQL lexer * encased keywords in 'words' function added link to language reference * added additional word functions * Added copyright annotation Removed commented out string * re-built test output file * Updated words to Keywords
* | | | | Merge branch 'cltrudeau-master'Matthäus G. Chajdas2021-08-085-6/+203
|\ \ \ \ \
| * | | | | Update CHANGES.Matthäus G. Chajdas2021-08-081-0/+1
| | | | | |
| * | | | | Merge branch 'master' of https://github.com/cltrudeau/pygments into ↵Matthäus G. Chajdas2021-08-084-6/+202
| |\ \ \ \ \ |/ / / / / / | | | | | | | | | | | | cltrudeau-master
| * | | | | Changes from code review:Christopher Trudeau2021-06-214-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - renamed nodecon to nodejsrepl - removed bad mimetypes
| * | | | | Add JavaScript Node.js Console LexerChristopher Trudeau2021-05-294-4/+199
| |/ / / /
* | | | | Update CHANGES.Matthäus G. Chajdas2021-08-082-5/+28
| | | | |
* | | | | Added Smithy Lexer (#1878) (#1879)Immanuel Washington2021-08-086-0/+1653
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added Smithy Lexer (#1878) * Added Smithy Lexer * Added Smithy Lexer auhtor * Documented Smithy as a supported language * Added Smithy test file and output * Updated Smithy Lexer * Added Standard file heading with copyright and license * Used `words` method for optimization, instead of bare regex * Specified whitespace punctuation in root * Updated aliases to only contain lowercase names to pass `test_basic_api` tests * Updated regexes lightly to fit regexlint rules (removing duplicate characters in group `-`) * Fixed regexes with errors in regexlint rules (Escaping brackets, gaps in capture groups) * Ran mapping script to fix build check * Ran mapping to update after changing aliases in previous commit
* | | | | Add numerical identifiers to LLVM label syntax (#1875)Bruce Collie2021-07-311-1/+2
| | | | |
* | | | | Java: do not lex whitespace as Label, do not lex "default" as LabelGeorg Brandl2021-07-313-2/+41
| | | | | | | | | | | | | | | | | | | | Fixes #1851
* | | | | Only allow tables at line start to fix arrays. (#1872)Erik Moqvist2021-07-312-60/+246
| |/ / / |/| | | | | | | | | | | | | | | * Only allow tables at line start to fix arrays. * Only allow tables at line start to fix arrays.
* | | | Fix #1573 (#1869)Andreas Bilke2021-07-271-1/+1
| | | | | | | | | | | | Allow $ sign in C# language for interpolated strings.
* | | | add min to analyse text for jasmin (#1619)Carlos Henrique Guardão Gandarez2021-07-241-1/+1
| | | |
* | | | Fix the Pocoo link in README (#1859)Sviatoslav Sydorenko2021-07-241-1/+1
| | | |
* | | | Revert "Added GSQL lexer (#1809)"Matthäus G. Chajdas2021-07-184-1812/+0
| | | | | | | | | | | | | | | | This reverts commit 710cac79c34412e551a4a92bcd7dd07d5d770922.
* | | | Revert "Update golden test output for GSQL."Matthäus G. Chajdas2021-07-181-161/+161
| | | | | | | | | | | | | | | | This reverts commit 93e9bf3fc4d5cc6631a510d485096d03a05d3b23.
* | | | Fix #1841.Matthäus G. Chajdas2021-07-183-4/+194
| | | | | | | | | | | | | | | | Use Comment.Single/Multiline in Mako template lexer.
* | | | Update golden test output for GSQL.Matthäus G. Chajdas2021-07-181-161/+161
| | | |
* | | | Remove test file with unclear license.Matthäus G. Chajdas2021-07-182-21682/+0
| | | |
* | | | Add support for JSLT (#1821)João Abecasis2021-07-185-0/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for JSLT JSLT is an open-source JSON query and transformation language, inspired by jq, XPath, and XQuery: https://github.com/schibsted/jslt. * fixup! Add support for JSLT * fixup! Add support for JSLT
* | | | Added GSQL lexer (#1809)DanBarkus2021-07-184-0/+1812
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added GSQL lexer * encased keywords in 'words' function added link to language reference * added additional word functions
* | | | Update javascript lexer (#1814)Mestery2021-07-187-133/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make ts extends js lexer * add regex's d flag for js lexers cf. https://v8.dev/features/regexp-match-indices * update js builtins, operators, exceptions * fixup! update js builtins, operators, exceptions * add typescript override keywork * Update _mapping.py
* | | | use ini lexer for systemd service files (#1849)Akuli2021-07-182-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * use ini lexer for systemd service files * add more unit file names * make mapfiles Co-authored-by: Aku Viljanen <aku.viljanen@puheet.com>
* | | | Update Fennel lexer to include forms from latest version. (#1862)Phil Hagelberg2021-07-182-45/+50
| | | | | | | | | | | | | | | | | | | | Treat true/false/nil as constants. Also separate out declarations from other special forms and macros.
* | | | Scala lexer: Add support for the '\' operator (#1857)Luka Peschke2021-07-091-1/+1
| | | | | | | | | | | | This operator is defined by json4s, which is one of scala's most popular JSON libraries.
* | | | Fix FutureWarning for words() with "[" (#1854)Jean-Abou-Samra2021-07-062-1/+367
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | regex_opt() groups characters in sets when possible. The warning was caused when the "[" character ended up at the beginning of a set: r"[[...]". This emits a FutureWarning since Python 3.7 due to possible changes in semantics in the future (https://bugs.python.org/issue30349). Just add "[" to the list of characters that should be escaped in sets. Add unit tests for words(). [Closes #1853.]
* | | | Support error locations in Python tracebacks (#1852)Jean-Abou-Samra2021-07-0615-9/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support both single carets for syntax errors (Python 2 and 3) and fine-grained error locations with several carets (Python 3.11+). Previously, the carets were highlighted as operators. This uses a new token, Token.Punctuation.Marker. For now, no style supports it specifically. In the future, styles might start differentiating it from Token.Punctuation. [Closes #1850.]
* | | | Improved Rust attributes (#1813)kaivol2021-06-252-8/+14
| | | |
* | | | Update for Csound 6.16.0 (#1837)Nate Whetsell2021-06-202-16/+57
| | | | | | | | | | | | | | | | | | | | * Update for Csound 6.16.0 * Preserve removed Csound built-ins
* | | | Use Whitespace for whitespace in Tcl.Matthäus G. Chajdas2021-06-203-41/+45
| | | |
* | | | tcl lexer: no error for @ or , (#1834)Akuli2021-06-202-1/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * tcl lexer: no error for @ or , * examplefiles --> snippets * rename test file to convention
* | | | Update CHANGES.Matthäus G. Chajdas2021-06-201-0/+2
| | | |
* | | | Remove unicorn token types (fixes #1816.)Matthäus G. Chajdas2021-06-2011-111/+111
| | | | | | | | | | | | | | | | | | | | | | | | The PR #1819 provides a tool to identify unique token types. This PR aims to remove the most obvious cases of unicorn styles which are used in a single lexer only.
* | | | Add scripts/count_token_references.py to check for "unicorn" tokens. (#1819)Walter Dörwald2021-06-202-0/+269
| | | |
* | | | Add procfile lexer (#1808)sblondon2021-06-207-1/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add Procfile Lexer * add unit tests for ProcfileLexer * add Procfile lexer author * Document Procfile as supported language * add Procfile.output file * merge Profile files; update output file * Add versionadded info * Fix typo (processus -> processes) * detect Integer only * split Text from Whitespace
* | | | Use the correct whitespace token for the C family.Matthäus G. Chajdas2021-06-2049-31711/+31711
| | | | | | | | | | | | | | | | The CFamilyLexer was matching whitespace as Text instead of Whitespace.
* | | | Fix CFamilyLexer preprocessor tokenization errors (#1830)Henrik Lievonen2021-06-2019-226/+913
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CFamilyLexer failed to tokenize preprocessor macros when they were preceded by line break surrounded by spaces. This was the case because prerpocessor regex rule expected to start at the beginning of the line, but the space regex rule matched also the whitespace after the line break. Now the space rule has been refined not to match the line break. Because of this, the preprocessor regex rule correctly matches prerpocessor tokens even when they are preceded by white spaces, at the cost of adding some more tokens in the token stream in some cases. This change preserves the behavior of invalid preprocessor usage failing to tokenize.
* | | | Small updates to the meson lexer.Matthäus G. Chajdas2021-06-201-1/+3
| | | |
* | | | Add Meson build language support (#1823)ldrumm2021-06-206-0/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a Meson language lexer * update the mappings * Add meson to the list of supported languages * Add a meson.build example file