Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Objective-J: fix catastrophic backtracking in comment regex (#2225) | Jean Abou-Samra | 2022-09-15 | 1 | -1/+1 | |
| | | | | | | This use of *? was both incorrect and catastrophically backtracking when embedding this regex into a larger regex with a trailing pattern, since it could match much more than intended and try exponentially many positions in that process. | |||||
* | Update CHANGES | Jean Abou Samra | 2022-09-15 | 1 | -0/+1 | |
| | ||||||
* | Add `.pyi` file to `python` lexer filenames (#2231) | Nikita Sobolev | 2022-09-15 | 2 | -1/+3 | |
| | ||||||
* | Update CHANGES | Jean Abou Samra | 2022-09-14 | 1 | -0/+1 | |
| | ||||||
* | Add { and } to punctuation for GNU Assembly lexer (#2230) | Nils Husung | 2022-09-14 | 1 | -1/+1 | |
| | | | | | This allows lexing instructions like: vpscatterqd %ymm0, 0x404050(,%zmm2,4) {%k1} | |||||
* | Update CHANGES | Jean Abou Samra | 2022-09-13 | 1 | -0/+2 | |
| | ||||||
* | autopygmentize: support more file types (#2219) | Reuben Thomas | 2022-09-13 | 1 | -8/+46 | |
| | | | | | Includes new languages and new compression types. Also, check that the decompression program exists before trying to use it. | |||||
* | [Spice] Add new keywords and fix bugs (#2227) | Marc Auberer | 2022-09-13 | 4 | -8/+119 | |
| | | | | | | | | | | | | | * Cleanup * Add scope access operator * Add enum keyword * Update test ref * Fix bug for tokenizing number formats * Add pr to CHANGES | |||||
* | Update CHANGES | Jean Abou Samra | 2022-09-01 | 1 | -0/+16 | |
| | ||||||
* | gen_mapfiles.py: convert Path to str before adding to sys.path (#2223) | Jean Abou-Samra | 2022-09-01 | 1 | -1/+1 | |
| | | | | pathlib.Path entries in sys.path are actually ignored. See https://github.com/python/cpython/issues/96482 | |||||
* | Fix the lexing of Inform 6 properties and doubles (#2214) | David Corbett | 2022-08-22 | 3 | -6/+33 | |
| | ||||||
* | More documentation fixes. | Matthäus G. Chajdas | 2022-08-20 | 4 | -4/+35 | |
| | | | | | | * Copy the security paragraph to security.rst * Fix missing maintainer in docs/index.rst * Fix incorrect emphasis markup | |||||
* | Add Jean to the maintainer list. | Matthäus G. Chajdas | 2022-08-20 | 1 | -2/+1 | |
| | ||||||
* | Merge branch 'master' of github.com:pygments/pygments | Matthäus G. Chajdas | 2022-08-20 | 15 | -13/+1968 | |
|\ | ||||||
| * | Merge pull request #2213 from pygments/Anteru/add-security-remarks | Matthäus G. Chajdas | 2022-08-20 | 1 | -0/+32 | |
| |\ | | | | | | | Add security considerations. | |||||
| | * | Improve wording. | Matthäus G. Chajdas | 2022-08-20 | 1 | -5/+6 | |
| | | | ||||||
| * | | Improve NASM lexer (#2212) | Fanael Linithien | 2022-08-19 | 3 | -3/+119 | |
| | | | | | | | | | | | | Adds support for SSE/AVX/AVX-512 registers and 'rel' and 'abs' address operators. | |||||
| * | | Add GAP console session mode (#2211) | Max Horn | 2022-08-19 | 11 | -5/+1843 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add GAP console session mode This is also appropriate for GAP .tst files. Add `analyse_text` methods for `ScilabLexer` and `GAPConsoleLexer` to distinguish Scilab and GAP .tst files * Use explicit name for 'keepends' argument to splitlines | |||||
* | | | Merge branch 'Anteru/add-security-remarks' of github.com:pygments/pygments | Matthäus G. Chajdas | 2022-08-20 | 1 | -0/+31 | |
|\ \ \ | |/ / |/| / | |/ | ||||||
| * | Add security considerations. | Matthäus G. Chajdas | 2022-08-19 | 1 | -0/+31 | |
| | | ||||||
* | | CFamilyLexer: Fix matching of function parameters (#2210) | amitkummer | 2022-08-18 | 3 | -9/+98 | |
|/ | | | | | | | | | | | | | | This fixes an issue where in code like this: ``` int foo(float bar) // hello() {} ``` The lexer would match `(float bar) // hello()` as the parameters of the function `foo`, instead of just `(float bar)`. In addition, a similar test case to what was originally reported in #2208 is added. | |||||
* | Add next version number. | Matthäus G. Chajdas | 2022-08-15 | 1 | -0/+4 | |
| | ||||||
* | Set description type in setup.cfg2.13.0 | Matthäus G. Chajdas | 2022-08-15 | 1 | -1/+2 | |
| | ||||||
* | Prepare for 2.13.0 release. | Matthäus G. Chajdas | 2022-08-15 | 2 | -2/+2 | |
| | ||||||
* | Replace uses of `import *`. | Matthäus G. Chajdas | 2022-08-15 | 2 | -2/+4 | |
| | ||||||
* | Update CHANGES. | Matthäus G. Chajdas | 2022-08-15 | 1 | -0/+1 | |
| | ||||||
* | Merge pull request #2198 from pygments/pillow92 | Matthäus G. Chajdas | 2022-08-15 | 2 | -4/+10 | |
|\ | | | | | formatters/img: use new API for bounding box for Pillow 9.2 | |||||
| * | Merge branch 'master' into pillow92 | Matthäus G. Chajdas | 2022-08-15 | 20 | -125/+1429 | |
| |\ | |/ |/| | ||||||
* | | CFamilyLexer: refuse quotes between parentheses for function definitions and ↵ | Jean Abou-Samra | 2022-08-15 | 3 | -5/+46 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | declarations (#2208) Something like id id2("){ ... }"); is no longer wrongly recognized as a "function" id id2(") { ... } "); As the difference in the tests shows, this has the unfortunate side effect that we no longer highlight something like int f(param="default"); as a function declaration, but it is hard to imagine another way to fix this (cf. “most vexing parse” problem). Fixes #2207 | |||||
* | | Fix glitch found by regexlint | Jean Abou Samra | 2022-08-15 | 1 | -2/+2 | |
| | | ||||||
* | | Fortran: fix catastrophic backtracking | Jean Abou Samra | 2022-08-15 | 3 | -2/+116 | |
| | | | | | | | | \\\\|\\. is like \\. but causes catastrophic backtracking inside (...)* . | |||||
* | | Update goldens for previous commit | Jean Abou Samra | 2022-08-15 | 1 | -3/+3 | |
| | | | | | | | | Very sorry about this! | |||||
* | | Update CHANGES | Jean Abou Samra | 2022-08-15 | 1 | -0/+3 | |
| | | ||||||
* | | LilyPond: add 6 missing builtins | Jean Abou Samra | 2022-08-15 | 3 | -74/+166 | |
| | | | | | | | | | | | | | | Fix problem reported at https://lists.gnu.org/archive/html/lilypond-user-fr/2022-04/msg00075.html Then update the autogenerated result. | |||||
* | | Disable highlighting of some escape codes for python bytes literals (#2204) | LaurenceWarne | 2022-08-15 | 3 | -7/+64 | |
| | | | | | | | | | | | | | | | | Disable highlighting of unicode escape codes in python bytes literals, as described in https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals. So escape codes of the form "\N{name}", "\uxxxx" and "\Uxxxxxxxx" will no longer be highlighted within bytes literals. Add tests for escape code highlighting in string and bytes literals. | |||||
* | | Update CHANGES. | Matthäus G. Chajdas | 2022-08-14 | 1 | -2/+6 | |
| | | ||||||
* | | Update Spice lexer (#2206) | Marc Auberer | 2022-08-12 | 6 | -22/+1019 | |
| | | ||||||
* | | pytest: only raise warnings as errors in CI | Georg Brandl | 2022-07-30 | 2 | -9/+1 | |
| | | ||||||
* | | cmdline: silently ignore ``BrokenPipeError`` | Georg Brandl | 2022-07-30 | 2 | -0/+5 | |
| | | | | | | | | | | | | | | This has come up a few times, and I see no good reason to catch and report this error. Fixes #2193 | |||||
| * | formatters/img: use new API for bounding box for Pillow 9.2 | Georg Brandl | 2022-07-30 | 2 | -4/+11 | |
|/ | ||||||
* | abap: add missing SUBKEY keyword | Georg Brandl | 2022-07-30 | 1 | -1/+1 | |
| | ||||||
* | Add GitHub's Dark Style (#2192) | Aniket Teredesai | 2022-07-27 | 3 | -2/+112 | |
| | ||||||
* | Improve documentation. | Matthäus G. Chajdas | 2022-07-26 | 1 | -0/+7 | |
| | | | | | Explain that adding styles to the source tree directly is something that should be only used by contributors. | |||||
* | Register new style (#2183) | flywire | 2022-07-26 | 33 | -57/+22 | |
| | | | | | | | | | | | * Register new style * Replace default_style with Token #2184 * Remove default_style from styles * Simplify register style code | |||||
* | Update CHANGES | Jean Abou Samra | 2022-07-20 | 1 | -1/+1 | |
| | ||||||
* | Fix some cases in JMESPath lexer (#2182) | Álvaro Mondéjar | 2022-07-20 | 3 | -7/+80 | |
| | ||||||
* | Update CHANGES | Jean Abou Samra | 2022-07-16 | 1 | -0/+1 | |
| | ||||||
* | Update `Inform6Lexer` to Inform 6.40 (#2190) | David Corbett | 2022-07-16 | 4 | -12/+70 | |
| | ||||||
* | Update CHANGES | Jean Abou Samra | 2022-07-15 | 1 | -0/+1 | |
| | ||||||
* | Nord theme (#2189) | Mateus Furquim | 2022-07-15 | 3 | -2/+167 | |
| | | | | Co-authored-by: andy <andy.yu2k@gmail.com> Co-authored-by: Jean-Abou-Samra <jean@abou-samra.fr> |