Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright year to 2023. | Matthäus G. Chajdas | 2023-03-29 | 1 | -1/+1 |
| | |||||
* | Add value modifier for Kotlin (#2142) | Derek Ellis | 2022-05-20 | 1 | -1/+1 |
| | |||||
* | java multiline highlighting based on issue 1858 (#2132) | VishalN7 | 2022-05-10 | 1 | -0/+6 |
| | | | Co-authored-by: Chung Tai <chungtai456@gmail.com> | ||||
* | Rework URL information in lexers. | Matthäus G. Chajdas | 2022-03-20 | 1 | -17/+29 |
| | | | | | | | | This commit adds a new url field to a lexer, which can be used to link to the language website, instead of relying on having the link in either languages.rst or the docstring of the lexer. Additionally, it changes the languages.rst file to auto-generate the list of lexers from the actual source code, using the provided URL. | ||||
* | Merge branch 'master' of github.com:pygments/pygments; branch 'lexers_ijkl' ↵ | Matthäus G. Chajdas | 2022-02-20 | 1 | -113/+113 |
|\ | | | | | | | of https://github.com/blu-base/pygments into blu-base-lexers_ijkl | ||||
| * | Whitespace token for sarl lexer | Sebastian Engel | 2022-01-06 | 1 | -7/+7 |
| | | |||||
| * | Whitespace token for jasmin lexer | Sebastian Engel | 2022-01-06 | 1 | -9/+9 |
| | | |||||
| * | Whitespace token for golo,pig,xtend lexers | Sebastian Engel | 2022-01-06 | 1 | -17/+17 |
| | | |||||
| * | Whitespace token for kotlin lexer | Sebastian Engel | 2022-01-06 | 1 | -30/+30 |
| | | |||||
| * | Whitespace token for scala lexer | Sebastian Engel | 2022-01-06 | 1 | -38/+39 |
| | | |||||
| * | Whitespace token for jvm lexer | Sebastian Engel | 2022-01-06 | 1 | -12/+11 |
| | | |||||
* | | Remove now redundant re.UNICODE and (?u) (#2058) | Jean Abou-Samra | 2022-01-31 | 1 | -6/+6 |
| | | |||||
* | | Highlight Clojure ratios as Numbers (#2042) | Tom Fryers | 2022-01-31 | 1 | -0/+1 |
| | | | | | | | | | | * Highlight Clojure ratios as Numbers * Fix Number parsing order | ||||
* | | Add support for .cljc clojure file extension (#2043) | Danny Freeman | 2022-01-25 | 1 | -1/+1 |
| | | |||||
* | | Happy new year. | Georg Brandl | 2022-01-25 | 1 | -1/+1 |
| | | |||||
* | | Fix typos (#2030) | Kian-Meng Ang | 2022-01-18 | 1 | -1/+1 |
|/ | |||||
* | Java: fix lexing of 'record' soft keyword (#2018) | amitkummer | 2022-01-03 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | * Java: fix lexing of 'record' soft keyword Refactor the Java lexer to treat `record` as a soft keyword. Previously, the lexer assumed record is a reserved word, even though it is a soft keyword which can be used as a variable name. This refactor lexes record as a keyword only if it appears at the beggining of the line, with some potential other keywords like public and private preceding it. * Remove repetition in capture group * Update test output | ||||
* | yield keyword in Java (#1941) | xtay2 | 2021-11-03 | 1 | -1/+1 |
| | | | | Added the yield keyword from Java 13. https://docs.oracle.com/javase/specs/jls/se13/preview/switch-expressions.html | ||||
* | Add new Java syntax: sealed classes and record types. (#1902) | Benjamin Peterson | 2021-09-29 | 1 | -2/+2 |
| | |||||
* | Java: do not lex whitespace as Label, do not lex "default" as Label | Georg Brandl | 2021-07-31 | 1 | -1/+3 |
| | | | | Fixes #1851 | ||||
* | add min to analyse text for jasmin (#1619) | Carlos Henrique Guardão Gandarez | 2021-07-24 | 1 | -1/+1 |
| | |||||
* | Scala lexer: Add support for the '\' operator (#1857) | Luka Peschke | 2021-07-09 | 1 | -1/+1 |
| | | | This operator is defined by json4s, which is one of scala's most popular JSON libraries. | ||||
* | groovy lexer: detect quoted function names (#1765) | Alison Winters | 2021-05-02 | 1 | -6/+12 |
| | | | | | | | * groovy lexer: parse keywords before function names like java * groovy lexer: detect quoted function names * changes: update groovy lexer | ||||
* | Rewrite Scala lexer for Scala 3 (#1694) | Maxime Kjaer | 2021-03-01 | 1 | -194/+246 |
| | |||||
* | Improve Kotlin lexer (#1699) | Ilya Zorin | 2021-02-06 | 1 | -42/+105 |
| | |||||
* | Run pyupgrade across codebase to modernize syntax and patterns (#1622) | Jon Dufresne | 2021-01-17 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | pyupgrade is a tool to automatically upgrade syntax for newer versions of the Python language. The project has been Python 3 only since 35544e2fc6eed0ce4a27ec7285aac71ff0ddc473, allowing for several cleanups: - Remove unnecessary "-*- coding: utf-8 -*-" cookie. Python 3 reads all source files as utf-8 by default. - Replace IOError/EnvironmentError with OSError. Python 3 unified these exceptions. The old names are aliases only. - Use the Python 3 shorter super() syntax. - Remove "utf8" argument form encode/decode. In Python 3, this value is the default. - Remove "r" from open() calls. In Python 3, this value is the default. - Remove u prefix from Unicode strings. In Python 3, all strings are Unicode. - Replace io.open() with builtin open(). In Python 3, these functions are functionally equivalent. Co-authored-by: Matthäus G. Chajdas <Anteru@users.noreply.github.com> | ||||
* | Fix several exponential/cubic complexity regexes found by Ben Caller/Doyensec | Georg Brandl | 2021-01-11 | 1 | -1/+0 |
| | |||||
* | Bump copyright year. | Matthäus G. Chajdas | 2021-01-03 | 1 | -1/+1 |
| | |||||
* | all: weed out more backtracking string regexes | Georg Brandl | 2020-12-25 | 1 | -8/+8 |
| | |||||
* | fix a lot more backtracking string regexes | Georg Brandl | 2020-12-25 | 1 | -7/+7 |
| | |||||
* | sarl: fix indentation | Georg Brandl | 2020-12-25 | 1 | -51/+56 |
| | |||||
* | Update jvm.py (#1587) | Boris Kheyfets | 2020-12-05 | 1 | -1/+2 |
| | | | Added support for kotlin scripts. | ||||
* | Fix a catastrophic backtracking bug in JavaLexer (#1594) | Kurt McKee | 2020-11-09 | 1 | -1/+8 |
| | | | | | | | * JavaLexer: Demonstrate a catastrophic backtracking bug * JavaLexer: Fix a catastrophic backtracking bug Closes #1586 | ||||
* | all: remove "u" string prefix (#1536) | Georg Brandl | 2020-09-08 | 1 | -141/+141 |
| | | | | | | | | | | | * all: remove "u" string prefix * util: remove unirange Since Python 3.3, all builds are wide unicode compatible. * unistring: remove support for narrow-unicode builds which stopped being relevant with Python 3.3 | ||||
* | all: use yield from (#1537) | Georg Brandl | 2020-09-06 | 1 | -2/+1 |
| | |||||
* | all: fixup remaining regexlint warnings | Georg Brandl | 2020-09-06 | 1 | -2/+2 |
| | |||||
* | Update copyright year (fixes #1514.) | Matthäus G. Chajdas | 2020-08-22 | 1 | -1/+1 |
| | |||||
* | Same treatment for `forSome` | Paolo G. Giarrusso | 2019-11-29 | 1 | -2/+2 |
| | |||||
* | Only highlight `type` as a whole word | Paolo G. Giarrusso | 2019-11-29 | 1 | -2/+2 |
| | |||||
* | Fix #972: Resurrect patch from bug tracker | Paolo G. Giarrusso | 2019-11-29 | 1 | -6/+11 |
| | | | | | | | Issue: Scala lexer incorrectly highlights code containing type parameters. This is the patch from https://github.com/pygments/pygments/issues/972#issuecomment-526852069, tested by https://github.com/pygments/pygments/issues/972#issuecomment-526852076. | ||||
* | Update project to use modern Python features and idioms | Jon Dufresne | 2019-11-25 | 1 | -4/+4 |
| | | | | | | | | | | 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 | ||||
* | Java: make it less operator-heavy | Georg Brandl | 2019-11-24 | 1 | -3/+5 |
| | | | | Fixes #987 | ||||
* | Java: update URL | Georg Brandl | 2019-11-24 | 1 | -1/+1 |
| | |||||
* | Java: support "var" contextual keyword (bitbucket PR #742) | Georg Brandl | 2019-11-24 | 1 | -0/+5 |
| | | | | Closes #1101 | ||||
* | Fixup all headers and some more minor problems.2.4.2 | Georg Brandl | 2019-05-28 | 1 | -1/+1 |
| | |||||
* | some fixes to the kotlin lexer to work with the corda kolin codebase | nimmajbb | 2019-04-01 | 1 | -3/+30 |
| | |||||
* | Update SARL added date, regenerate mapping. | Matth?us G. Chajdas | 2018-12-16 | 1 | -1/+1 |
| | |||||
* | Merged in sgalland/pygments-main (pull request #717) | Anteru | 2018-12-16 | 1 | -1/+55 |
|\ | | | | | | | Add the lexer for the SARL language. | ||||
| * | Add the lexer for the SARL language. | St?phane GALLAND | 2017-04-04 | 1 | -1/+55 |
| | | |||||
* | | Merge heads. | Georg Brandl | 2018-11-28 | 1 | -3/+3 |
|\ \ |