summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* css: fix lexing numbers inside function calls2382-fixGeorg Brandl2023-03-192-1/+52
| | | | Fixes #2382
* Improve Gnuplot lexer.Matthäus G. Chajdas2023-03-112-904/+32
| | | | | * Merge comment tokens. * Improve whitespace matching accuracy.
* Update CHANGESJean Abou Samra2023-03-071-1/+1
|
* Improve number regex and add lexer guess for carbon syntax (#2370)Amr Hesham2023-03-072-4/+45
|
* Improve the whitespace checker.Matthäus G. Chajdas2023-03-051-0/+4
| | | | | Check both ways now: If a token should be whitespace, but also if a token was incorrectly marked as whitespace.
* Update CHANGESJean Abou Samra2023-03-041-1/+1
|
* Add more keywords to Carbon lexer (#2369)Amr Hesham2023-03-032-4/+4
|
* Update CHANGESJean Abou Samra2023-03-021-1/+1
|
* Add support for impl and constraint declaration in Carbon lexer (#2368)Amr Hesham2023-03-023-2/+53
|
* Update CHANGESJean Abou Samra2023-03-021-1/+1
|
* Fix order of minus and arrow operators in Carbon lexer (#2367)Amr Hesham2023-03-023-11/+6
|
* Update CHANGESJean Abou Samra2023-03-021-1/+1
|
* Add support for more declarations and access modifiers in Carbon lexer (#2366)Amr Hesham2023-03-023-3/+282
|
* Fix Carbon example typo in function declaration (#2365)Amr Hesham2023-03-022-2/+2
|
* README.rst updatesJean Abou Samra2023-03-011-4/+2
|
* Update CHANGESJean Abou Samra2023-03-011-0/+1
|
* Add support for Carbon Programming Language (#2362)Amr Hesham2023-03-015-0/+310
|
* SQL+Jinja: use a simpler regex in analyse_textJean Abou Samra2023-03-012-5/+2
| | | | | | Fixes catastrophic backtracking Fixes #2355
* Update CHANGESJean Abou Samra2023-03-011-1/+2
|
* Improve lexing PHP attributes (#2360)Richard van Velzen2023-03-014-24/+49
|
* Fix lexing PHP anonymous classes with no parameters (#2359)Richard van Velzen2023-03-012-0/+29
|
* Improve lexing PHP's variable variable syntax (#2358)Richard van Velzen2023-03-012-1/+50
|
* Merge pull request #2357 from bitsawer/shader_lang_preprocessor_changesMatthäus G. Chajdas2023-02-267-2/+44
|\ | | | | Fix GLSL and HLSL preprocessor directive start
| * Fix GLSL and HLSL preprocessor directive startbitsawer2023-02-267-2/+44
|/
* Improve bash math expansion lexing (#2353)Richard van Velzen2023-02-243-3/+677
|
* Don't require script headers in Rebol and Red codes. (#2349)Oldes Huhuman2023-02-245-38/+7
| | | | | | | | | | * 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 Velzen2023-02-243-0/+26
|
* Devolve Contributing.md (#2352)Jean Abou-Samra2023-02-235-239/+230
| | | | | | | | | | | | | | * Devolve Contributing.md Move the content to the docs and website so it is displayed on pygments.org, to make it easier to find. - Regex dos and don'ts go to lexerdevelopment.rst - The rest goes to a new file contributing.rst - That makes the explanation of how lexers are tested in lexerdevelopment.rst redundant, so remove it. The bit on how to add a lexer goes to contributing.rst.
* Doc: fix markup on styledevelopment pageJean Abou Samra2023-02-232-7/+6
| | | | | | | | Due to a wrong reST header, there were two top-level headers on that page, leading to the subtitle “Style rules” being displayed on https://pygments.org/docs/ as if it were a separate section. Also harmonize the title.
* More tests moved to snippets/ (#2351)Jean Abou-Samra2023-02-2331-635/+1429
|
* Replace Makefile with tox (#2331)Jean Abou-Samra2023-02-2315-132/+131
| | | | | | | | | | | | | | | 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.
* Update CHANGESJean Abou Samra2023-02-231-0/+1
|
* Fix GLSL and HLSL preprocessor line continuation (#2350)bitsawer2023-02-237-4/+45
|
* Update CHANGESJean Abou Samra2023-02-231-0/+1
|
* Support PHP attributes (#2347)Richard van Velzen2023-02-213-0/+23
|
* Update CHANGESJean Abou Samra2023-02-161-1/+1
|
* Dax: Update list of Functions (#2345)Greg de Lima2023-02-161-47/+68
|
* Update CHANGESJean Abou Samra2023-02-151-0/+3
|
* Move metadata to pyproject.toml (#2342)Jean Abou-Samra2023-02-155-64/+60
|
* groff: Sort color definitions for reproducibility (#2343)Jean Abou-Samra2023-02-152-6/+46
|
* Update CHANGESJean Abou Samra2023-02-141-0/+1
|
* Add X++ support (#2339)Andrew Schmidt2023-02-145-1/+771
| | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
* Update CHANGESJean Abou Samra2023-02-131-0/+4
|
* Add new lexer for DAX (#2335)Greg de Lima2023-02-134-0/+170
| | | Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
* Merge pull request #2340 from pygments/anteru/fix-doc-referencesMatthäus G. Chajdas2023-02-135-13/+16
|\ | | | | Fix various documentation references.
| * Fix various documentation references.Matthäus G. Chajdas2023-02-125-13/+16
| |
* | Update CHANGESJean Abou Samra2023-02-121-0/+2
| |
* | Add missing built-in functions for Python (#2334)P. Talley2023-02-121-10/+10
|/ | | callable and aiter.
* Python console: make traceback handling more robustGeorg Brandl2023-02-033-12/+110
| | | | | Fixes #2329 Fixes #2226
* Add new keywords to Spice lexer (#2336)Marc Auberer2023-02-021-3/+3
|