summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Fix some pyflakes lints in tests/ and scripts/ (#2333)Jean Abou-Samra2023-02-019-11/+6
|
* Fix various linter issues.Matthäus G. Chajdas2023-02-015-32/+34
|
* Update CHANGESJean Abou Samra2023-01-311-0/+2
|
* Fix lots of missing encoding="utf-8" parametersJean Abou Samra2023-01-3114-28/+29
| | | | | Some of these are probably unnecessary (ASCII-only content), but it's easier not to think about it.
* Update CHANGESJean Abou Samra2023-01-311-0/+2
|
* Revert "Remove filename pattern caches (#2153)" (#2328)Dirk Mueller2023-01-312-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.
* Update CHANGESJean Abou Samra2023-01-311-0/+2
|
* Extend the AMDGPU lexer. (#2327)Thomas Symalla2023-01-313-3/+43
| | | | | 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.
* Update CHANGESJean Abou Samra2023-01-301-0/+1
|
* Upgrading APDL lexer (#2314)German2023-01-304-83/+206
| | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
* Update CHANGESJean Abou Samra2023-01-291-0/+4
|
* Add support for normal diff syntax (#2321)CosmicHorror2023-01-293-5/+90
|
* Native: fix contrast ratio to meet WCAG AA guidelinesHugo van Kemenade2023-01-292-2/+2
|
* Declare support for Python 3.11, test 3.12-dev, drop EOL 3.6 (#2324)Hugo van Kemenade2023-01-254-16/+19
| | | | | | | | | | | * Add support for Python 3.11 * Test Python 3.12-dev * Add colour to CI for readability * Drop support for EOL Python 3.6 * Test slower Windows first to speed up CI
* LilyPond: fixups for builtinsJean Abou Samra2023-01-143-17/+69
| | | | These were reported privately to me by Federico Bruni.
* Bump version number in CHANGES.Matthäus G. Chajdas2023-01-011-0/+4
|
* Prepare for 2.14.0 release.2.14.0Matthäus G. Chajdas2023-01-012-2/+2
|
* Update CHANGES.Matthäus G. Chajdas2023-01-011-1/+1
|
* Improve the Smithy metadata matcher.Matthäus G. Chajdas2022-12-313-2/+67
| | | | | | 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>.
* Merge pull request #2311 from not-my-profile/styles-pep257Matthäus G. Chajdas2022-12-301-1/+1
|\ | | | | styles gallery: Make docstring in example follow PEP 257
| * styles gallery: Make docstring in example follow PEP 257Martin Fischer2022-12-301-1/+1
|/ | | | | | The example is displayed multiple times at https://pygments.org/styles/. Code displayed on the Pygments website should follow best practices, such as https://peps.python.org/pep-0257/.
* Update CHANGES.Matthäus G. Chajdas2022-12-301-33/+46
|
* Merge pull request #2308 from sol/sol-patch-1Matthäus G. Chajdas2022-12-283-2/+3
|\ | | | | Add filename pattern for `HspecLexer`
| * Add `filenames` pattern for `HspecLexer`Simon Hengel2022-12-273-2/+3
|/
* Update CHANGESJean Abou Samra2022-12-151-0/+1
|
* Update Macaulay2 symbols for version 1.21 (#2305)Doug Torrance2022-12-151-3/+18
|
* Improve whitespace handling in MesonLexer/PerlLexer.Matthäus G. Chajdas2022-12-118-1811/+1820
|
* Improve whitespace handling in XQueryLexer.Matthäus G. Chajdas2022-12-114-237/+257
|
* Improve whitespace handling in VarnishLexer.Matthäus G. Chajdas2022-12-112-411/+411
|
* Allow whitespace in comments.Matthäus G. Chajdas2022-12-111-0/+5
|
* Improve whitespace handling in SLexer.Matthäus G. Chajdas2022-12-1111-376/+376
|
* Merge pull request #2304 from ↵Matthäus G. Chajdas2022-12-11129-386/+388
|\ | | | | | | | | pygments/fix-emit-empty-whitespace-spans-html-formatter Stop the HTML formatter from emitting empty whitespace spans.
| * Simplify the condition.Matthäus G. Chajdas2022-12-111-8/+6
| |
| * Stop the HTML formatter from emitting empty whitespace spans.Matthäus G. Chajdas2022-12-11129-386/+390
|/
* Improve whitespace handling in Python.Matthäus G. Chajdas2022-12-11225-781/+781
| | | | | | | | | 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 golden test output.Matthäus G. Chajdas2022-12-111-2/+2
|
* Fix lint warning.Matthäus G. Chajdas2022-12-111-1/+1
|
* Improve whitespace handling in PraatLexer.Matthäus G. Chajdas2022-12-114-132/+165
|
* Portugol touch-upsJean Abou Samra2022-12-102-0/+3
|
* Add support for PortugolLexer (#2300)Lorhan Sohaky2022-12-105-55/+1568
|
* CI: Use Ubuntu 20.04 for Python 3.6 testing (#2303)Jean Abou-Samra2022-12-081-0/+6
| | | | | | | | | | | Some recent GitHub action runs have started to fail, like https://github.com/Jean-Abou-Samra/pygments/actions/runs/3642986206/jobs/6150712048 (others don't fail because they pick up Python 3.6 in a cache). The problem is that GitHub upgraded the ubuntu-latest images to refer to Ubuntu 22.04, and setup-python doesn't provide Python 3.6 on 22.04, so use 20.04 for Python 3.6.
* Fix doc build warningsJean Abou Samra2022-12-071-1/+3
|
* CI: also test Python 3.11 on Windows (#2302)Jean Abou-Samra2022-12-071-6/+0
| | | #2301 eliminated the lxml dependency, which was the problematic point.
* Merge pull request #2301 from pygments/remove-lxml-dependencyMatthäus G. Chajdas2022-12-073-13/+31
|\ | | | | Remove the lxml dependency.