summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* [Spice] Add new keywords and fix bugs (#2227)Marc Auberer2022-09-134-8/+119
| | | | | | | | | | | | | * Cleanup * Add scope access operator * Add enum keyword * Update test ref * Fix bug for tokenizing number formats * Add pr to CHANGES
* Update CHANGESJean Abou Samra2022-09-011-0/+16
|
* gen_mapfiles.py: convert Path to str before adding to sys.path (#2223)Jean Abou-Samra2022-09-011-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 Corbett2022-08-223-6/+33
|
* More documentation fixes.Matthäus G. Chajdas2022-08-204-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. Chajdas2022-08-201-2/+1
|
* Merge branch 'master' of github.com:pygments/pygmentsMatthäus G. Chajdas2022-08-2015-13/+1968
|\
| * Merge pull request #2213 from pygments/Anteru/add-security-remarksMatthäus G. Chajdas2022-08-201-0/+32
| |\ | | | | | | Add security considerations.
| | * Improve wording.Matthäus G. Chajdas2022-08-201-5/+6
| | |
| * | Improve NASM lexer (#2212)Fanael Linithien2022-08-193-3/+119
| | | | | | | | | | | | Adds support for SSE/AVX/AVX-512 registers and 'rel' and 'abs' address operators.
| * | Add GAP console session mode (#2211)Max Horn2022-08-1911-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/pygmentsMatthäus G. Chajdas2022-08-201-0/+31
|\ \ \ | |/ / |/| / | |/
| * Add security considerations.Matthäus G. Chajdas2022-08-191-0/+31
| |
* | CFamilyLexer: Fix matching of function parameters (#2210)amitkummer2022-08-183-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. Chajdas2022-08-151-0/+4
|
* Set description type in setup.cfg2.13.0Matthäus G. Chajdas2022-08-151-1/+2
|
* Prepare for 2.13.0 release.Matthäus G. Chajdas2022-08-152-2/+2
|
* Replace uses of `import *`.Matthäus G. Chajdas2022-08-152-2/+4
|
* Update CHANGES.Matthäus G. Chajdas2022-08-151-0/+1
|
* Merge pull request #2198 from pygments/pillow92Matthäus G. Chajdas2022-08-152-4/+10
|\ | | | | formatters/img: use new API for bounding box for Pillow 9.2
| * Merge branch 'master' into pillow92Matthäus G. Chajdas2022-08-1520-125/+1429
| |\ | |/ |/|
* | CFamilyLexer: refuse quotes between parentheses for function definitions and ↵Jean Abou-Samra2022-08-153-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 regexlintJean Abou Samra2022-08-151-2/+2
| |
* | Fortran: fix catastrophic backtrackingJean Abou Samra2022-08-153-2/+116
| | | | | | | | \\\\|\\. is like \\. but causes catastrophic backtracking inside (...)* .
* | Update goldens for previous commitJean Abou Samra2022-08-151-3/+3
| | | | | | | | Very sorry about this!
* | Update CHANGESJean Abou Samra2022-08-151-0/+3
| |
* | LilyPond: add 6 missing builtinsJean Abou Samra2022-08-153-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)LaurenceWarne2022-08-153-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. Chajdas2022-08-141-2/+6
| |
* | Update Spice lexer (#2206)Marc Auberer2022-08-126-22/+1019
| |
* | pytest: only raise warnings as errors in CIGeorg Brandl2022-07-302-9/+1
| |
* | cmdline: silently ignore ``BrokenPipeError``Georg Brandl2022-07-302-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.2Georg Brandl2022-07-302-4/+11
|/
* abap: add missing SUBKEY keywordGeorg Brandl2022-07-301-1/+1
|
* Add GitHub's Dark Style (#2192)Aniket Teredesai2022-07-273-2/+112
|
* Improve documentation.Matthäus G. Chajdas2022-07-261-0/+7
| | | | | Explain that adding styles to the source tree directly is something that should be only used by contributors.
* Register new style (#2183)flywire2022-07-2633-57/+22
| | | | | | | | | | | * Register new style * Replace default_style with Token #2184 * Remove default_style from styles * Simplify register style code
* Update CHANGESJean Abou Samra2022-07-201-1/+1
|
* Fix some cases in JMESPath lexer (#2182)Álvaro Mondéjar2022-07-203-7/+80
|
* Update CHANGESJean Abou Samra2022-07-161-0/+1
|
* Update `Inform6Lexer` to Inform 6.40 (#2190)David Corbett2022-07-164-12/+70
|
* Update CHANGESJean Abou Samra2022-07-151-0/+1
|
* Nord theme (#2189)Mateus Furquim2022-07-153-2/+167
| | | | Co-authored-by: andy <andy.yu2k@gmail.com> Co-authored-by: Jean-Abou-Samra <jean@abou-samra.fr>
* Update CHANGESJean Abou Samra2022-07-151-0/+1
|
* Added COMAL-80 language highlight. (#2180)Marc Rintsch2022-07-154-0/+776
| | | | | * Added COMAL-80 language highlight. Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
* Update CHANGESJean Abou Samra2022-07-151-0/+4
|
* Add StarOfficeStyle (#2168)flywire2022-07-152-0/+27
| | | | | | | | | StarOffice style is a theme used in the user interface and carries through to OpenOffice and LibreOffice, and the documentation. Reference: * [Color Config Entry](https://github.com/LibreOffice/core/blob/master/svtools/source/config/colorcfg.cxx#L447-L453) * [Color Types](https://github.com/LibreOffice/core/blob/e4a57dcdabc9ae7d381025e008b90635c1b7b10c/include/tools/color.hxx#L448) Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
* Reconcile standard token discrepancies in docs and code (#2187)Andrew T. Biehl2022-07-152-0/+7
| | | | | | | * Add Name.Property token missing from docs * Add Comment.PreprocFile token missing from docs * Add Punctuation.Marker token to tokens dict
* Update CHANGESJean Abou Samra2022-07-051-0/+1
|
* Add lexer for JMESPath (#2175)Álvaro Mondéjar2022-07-054-0/+269
| | | | Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>