Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Improve whitespace handling in XmlLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -4/+5 | |
| | ||||||
* | Improve whitespace handling in PythonTracebackLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -8/+8 | |
| | ||||||
* | Improve whitespace handling in Make/BashLexer. | Matthäus G. Chajdas | 2022-12-04 | 2 | -5/+8 | |
| | ||||||
* | Improve whitespace handling in CMake/RegexLexer. | Matthäus G. Chajdas | 2022-12-04 | 2 | -5/+5 | |
| | ||||||
* | Improve whitespace handling in the PascalLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -3/+3 | |
| | ||||||
* | Improve whitespace handling in the BashLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -4/+4 | |
| | ||||||
* | Improve whitespace handling in Markdown. | Matthäus G. Chajdas | 2022-12-04 | 1 | -4/+4 | |
| | ||||||
* | Fix whitespace handling in Ruby. | Matthäus G. Chajdas | 2022-12-04 | 1 | -17/+17 | |
| | ||||||
* | remove `:` from the Punctuation regex in the SolidityLexer | Michael Rodler | 2022-12-03 | 1 | -1/+1 | |
| | ||||||
* | fix solidity lexer not picking up many of the language operators | Michael Rodler | 2022-12-03 | 1 | -1/+1 | |
| | ||||||
* | NixLexer: fix "1 token per char" | Jean Abou Samra | 2022-12-03 | 1 | -2/+2 | |
| | ||||||
* | nix: allow single quotes inside single-quoted strings (#2289) | Naïm Favier | 2022-12-03 | 1 | -0/+1 | |
| | ||||||
* | Add support for Wren language (#2271) | PureFox48 | 2022-11-29 | 2 | -0/+100 | |
| | | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr> | |||||
* | Add a lexer for Schemas for Minecraft Add-ons and 4 examples, merging lexers ↵ | 方法放寒假 | 2022-11-29 | 2 | -11/+98 | |
| | | | | (#2276) | |||||
* | LilyPond: slightly improve lexing (#2283) | Werner Lemberg | 2022-11-27 | 1 | -11/+37 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Handle `--` and `__` as `Token.Punctuation` only if preceded by whitespace: ``` <whitespace> -- ==> hyphen (in lyrics mode) <whitespace> __ ==> extender line (in lyrics mode) -- ==> tenuto, neutral attachment (in music mode) __ ==> portato, down attachment (in music mode) ``` * Handle `-` followed by a number as `Token.Number` only if preceded by whitespace. This is purely heuristic, derived from the coding style shown in the LilyPond manuals. ``` <whitespace> -3 ==> integer (e.g., as a function argument) -3 ==> fingering instruction ``` * Add forgotten `\maxima` note duration. * Some legibility improvements by using verbose mode for regular expressions. * Some comment additions and fixes. * Update tests. | |||||
* | add abap keywords (#2281) | Christian Aasan | 2022-11-26 | 1 | -5/+5 | |
| |