Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | css: fix lexing numbers inside function calls2382-fix | Georg Brandl | 2023-03-19 | 1 | -1/+1 |
| | | | | Fixes #2382 | ||||
* | Improve Gnuplot lexer. | Matthäus G. Chajdas | 2023-03-11 | 1 | -3/+4 |
| | | | | | * Merge comment tokens. * Improve whitespace matching accuracy. | ||||
* | Improve number regex and add lexer guess for carbon syntax (#2370) | Amr Hesham | 2023-03-07 | 1 | -4/+29 |
| | |||||
* | Add more keywords to Carbon lexer (#2369) | Amr Hesham | 2023-03-03 | 1 | -2/+2 |
| | |||||
* | Add support for impl and constraint declaration in Carbon lexer (#2368) | Amr Hesham | 2023-03-02 | 1 | -1/+1 |
| | |||||
* | Fix order of minus and arrow operators in Carbon lexer (#2367) | Amr Hesham | 2023-03-02 | 1 | -1/+1 |
| | |||||
* | Add support for more declarations and access modifiers in Carbon lexer (#2366) | Amr Hesham | 2023-03-02 | 1 | -3/+4 |
| | |||||
* | Add support for Carbon Programming Language (#2362) | Amr Hesham | 2023-03-01 | 2 | -0/+71 |
| | |||||
* | SQL+Jinja: use a simpler regex in analyse_text | Jean Abou Samra | 2023-03-01 | 1 | -5/+1 |
| | | | | | | Fixes catastrophic backtracking Fixes #2355 | ||||
* | Improve lexing PHP attributes (#2360) | Richard van Velzen | 2023-03-01 | 1 | -1/+11 |
| | |||||
* | Fix lexing PHP anonymous classes with no parameters (#2359) | Richard van Velzen | 2023-03-01 | 1 | -0/+1 |
| | |||||
* | Improve lexing PHP's variable variable syntax (#2358) | Richard van Velzen | 2023-03-01 | 1 | -1/+5 |
| | |||||
* | Fix GLSL and HLSL preprocessor directive start | bitsawer | 2023-02-26 | 1 | -2/+2 |
| | |||||
* | Improve bash math expansion lexing (#2353) | Richard van Velzen | 2023-02-24 | 1 | -2/+4 |
| | |||||
* | Don't require script headers in Rebol and Red codes. (#2349) | Oldes Huhuman | 2023-02-24 | 1 | -11/+0 |
| | | | | | | | | | | * Don't require script headers in Rebol and Red codes. Resolves: https://github.com/pygments/pygments/issues/2348 * Not modifying the copyright * Updated tests for Rebol and Red * Rebol: removed the unneeded code instead of commenting. | ||||
* | Implement CMake bracket comment syntax (#2354) | Richard van Velzen | 2023-02-24 | 1 | -0/+1 |
| | |||||
* | Replace Makefile with tox (#2331) | Jean Abou-Samra | 2023-02-23 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | Porting notes: - tox handles Python environments automatically. Remove a bit of PYTHONPATH manipulation (that was using Python 2 code which always failed!) - No `clean` target: `git clean -xdf` should fit the bill. - No `reindent` target: the `reindent.py` script it was using does not exist (anymore?). - No equivalent of tox-test-coverage, which was an artifact of the past, using nose. Instead, the test-coverage target only is ported, which uses pytest, and works. | ||||
* | Fix GLSL and HLSL preprocessor line continuation (#2350) | bitsawer | 2023-02-23 | 1 | -2/+2 |
| | |||||
* | Support PHP attributes (#2347) | Richard van Velzen | 2023-02-21 | 1 | -0/+1 |
| | |||||
* | Dax: Update list of Functions (#2345) | Greg de Lima | 2023-02-16 | 1 | -47/+68 |
| | |||||
* | groff: Sort color definitions for reproducibility (#2343) | Jean Abou-Samra | 2023-02-15 | 1 | -1/+1 |
| | |||||
* | Add X++ support (#2339) | Andrew Schmidt | 2023-02-14 | 2 | -1/+113 |
| | | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr> | ||||
* | Add new lexer for DAX (#2335) | Greg de Lima | 2023-02-13 | 2 | -0/+114 |
| | | | Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr> | ||||
* | Add missing built-in functions for Python (#2334) | P. Talley | 2023-02-12 | 1 | -10/+10 |
| | | | callable and aiter. | ||||
* | Python console: make traceback handling more robust | Georg Brandl | 2023-02-03 | 1 | -12/+12 |
| | | | | | Fixes #2329 Fixes #2226 | ||||
* | Add new keywords to Spice lexer (#2336) | Marc Auberer | 2023-02-02 | 1 | -3/+3 |
| | |||||
* | Fix lots of missing encoding="utf-8" parameters | Jean Abou Samra | 2023-01-31 | 8 | -19/+19 |
| | | | | | Some of these are probably unnecessary (ASCII-only content), but it's easier not to think about it. | ||||
* | Revert "Remove filename pattern caches (#2153)" (#2328) | Dirk Mueller | 2023-01-31 | 2 | -8/+30 |
| | | | | | | | | This introduced a performance regession. While it is true that fnmatch already uses functools.lru_cache, that cache is limited to 256 on python 3.10 and older and we have over 1000 matching patterns, which means the cache is evicted entirely on every iteration. This reverts commit 951c894ab23537be90fbf3973d0345591e682371. | ||||
* | Extend the AMDGPU lexer. (#2327) | Thomas Symalla | 2023-01-31 | 1 | -2/+3 |
| | | | | | Add support for scratch_ instructions, the attr*.* argument as well as the off modifier. Without support for attr*.*, multiple v_interp instructions are previously rendered incorrectly. | ||||
* | Upgrading APDL lexer (#2314) | German | 2023-01-30 | 1 | -17/+162 |
| | | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr> | ||||
* | Add support for normal diff syntax (#2321) | CosmicHorror | 2023-01-29 | 1 | -5/+8 |
| | |||||
* | Native: fix contrast ratio to meet WCAG AA guidelines | Hugo van Kemenade | 2023-01-29 | 1 | -1/+1 |
| | |||||
* | LilyPond: fixups for builtins | Jean Abou Samra | 2023-01-14 | 1 | -13/+59 |
| | | | | These were reported privately to me by Federico Bruni. | ||||
* | Prepare for 2.14.0 release.2.14.0 | Matthäus G. Chajdas | 2023-01-01 | 1 | -1/+1 |
| | |||||
* | Improve the Smithy metadata matcher. | Matthäus G. Chajdas | 2022-12-31 | 1 | -2/+3 |
| | | | | | | Previously, metadata foo bar baz = 23 was accepted, but according to the definition https://smithy.io/2.0/spec/idl.html#grammar-token-smithy-MetadataSection it should be "metadata"<whitespace>Identifier/String<optional whitespace>. | ||||
* | Add `filenames` pattern for `HspecLexer` | Simon Hengel | 2022-12-27 | 2 | -2/+2 |
| | |||||
* | Update Macaulay2 symbols for version 1.21 (#2305) | Doug Torrance | 2022-12-15 | 1 | -3/+18 |
| | |||||
* | Improve whitespace handling in MesonLexer/PerlLexer. | Matthäus G. Chajdas | 2022-12-11 | 2 | -13/+13 |
| | |||||
* | Improve whitespace handling in XQueryLexer. | Matthäus G. Chajdas | 2022-12-11 | 1 | -56/+76 |
| | |||||
* | Improve whitespace handling in VarnishLexer. | Matthäus G. Chajdas | 2022-12-11 | 1 | -4/+4 |
| | |||||
* | Improve whitespace handling in SLexer. | Matthäus G. Chajdas | 2022-12-11 | 1 | -2/+2 |
| | |||||
* | Simplify the condition. | Matthäus G. Chajdas | 2022-12-11 | 1 | -8/+6 |
| | |||||
* | Stop the HTML formatter from emitting empty whitespace spans. | Matthäus G. Chajdas | 2022-12-11 | 1 | -2/+6 |
| | |||||
* | Improve whitespace handling in Python. | Matthäus G. Chajdas | 2022-12-11 | 1 | -20/+20 |
| | | | | | | | | | This triggers a new case in the HtmlFormatter, which emits an empty span at the end of the line for a new line, as those are removed by the split-by-parts code. This requires separate post-processing. Doesn't fix all whitespace issues with Python either, but we're done to 360 failing examples with that, from previously >400. | ||||
* | Fix lint warning. | Matthäus G. Chajdas | 2022-12-11 | 1 | -1/+1 |
| | |||||
* | Improve whitespace handling in PraatLexer. | Matthäus G. Chajdas | 2022-12-11 | 1 | -12/+14 |
| | |||||
* | Portugol touch-ups | Jean Abou Samra | 2022-12-10 | 1 | -0/+2 |
| | |||||
* | Add support for PortugolLexer (#2300) | Lorhan Sohaky | 2022-12-10 | 3 | -55/+189 |
| | |||||
* | Improve whitespace handling in PraatLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -25/+25 |
| | |||||
* | Improve whitespace handling in TealLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -4/+5 |
| |