<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pygments-git.git/pygments, branch 2.8.0</title>
<subtitle>github.com: pygments/pygments.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/'/>
<entry>
<title>Prepare 2.8.0 release.</title>
<updated>2021-02-14T13:47:04+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2021-02-14T13:47:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=7bc5e5032adee85c10364907a5914ee188ec6be6'/>
<id>7bc5e5032adee85c10364907a5914ee188ec6be6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix various issues found by make check.</title>
<updated>2021-02-14T13:42:49+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2021-02-14T13:42:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=5f3db3a36610366e12ba14cd688d3d259917f33c'/>
<id>5f3db3a36610366e12ba14cd688d3d259917f33c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add futhark lexer (#1691)</title>
<updated>2021-02-14T08:20:56+00:00</updated>
<author>
<name>Philip Munksgaard</name>
<email>philip@munksgaard.me</email>
</author>
<published>2021-02-14T08:20:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=a299df91ab0001379c0ff42de273286b741a3b88'/>
<id>a299df91ab0001379c0ff42de273286b741a3b88</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of https://github.com/pygments/pygments</title>
<updated>2021-02-14T08:15:32+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2021-02-14T08:15:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=a93ded429d39c10171c8a5156b52c321902e51d2'/>
<id>a93ded429d39c10171c8a5156b52c321902e51d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'issue-253-ruby-unicode' of https://github.com/kurtmckee/pygments into kurtmckee-issue-253-ruby-unicode</title>
<updated>2021-02-14T08:07:11+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2021-02-14T08:07:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=a2579d3ab55857c1881c172698498ed088b51607'/>
<id>a2579d3ab55857c1881c172698498ed088b51607</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>RawToken{Formatter,Lexer}: support Python 3 and handle exceptions (#1602)</title>
<updated>2021-02-14T08:01:47+00:00</updated>
<author>
<name>Anders Kaseorg</name>
<email>andersk@mit.edu</email>
</author>
<published>2021-02-14T08:01:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=c2cf688397b0b2adb649e51946c00714b74d2d9e'/>
<id>c2cf688397b0b2adb649e51946c00714b74d2d9e</id>
<content type='text'>
In Python 3, RawTokenFormatter would output non-ASCII for non-ASCII
input, and RawTokenLexer would throw Unicode-related exceptions for
ASCII or non-ASCII input; fix them.  Also, handle all exceptions, so
that callers who find RawTokenLexer via get_lexer_by_name on user
input don’t unexpectedly get a lexer that throws exceptions.

Signed-off-by: Anders Kaseorg &lt;andersk@mit.edu&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Python 3, RawTokenFormatter would output non-ASCII for non-ASCII
input, and RawTokenLexer would throw Unicode-related exceptions for
ASCII or non-ASCII input; fix them.  Also, handle all exceptions, so
that callers who find RawTokenLexer via get_lexer_by_name on user
input don’t unexpectedly get a lexer that throws exceptions.

Signed-off-by: Anders Kaseorg &lt;andersk@mit.edu&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>image formatter supports background color (#1374)</title>
<updated>2021-02-14T08:01:05+00:00</updated>
<author>
<name>Hector Medina</name>
<email>hector.f.medina.a@gmail.com</email>
</author>
<published>2021-02-14T08:01:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=e59ec24561357c9d5efa4cfcda0401e0a79df91d'/>
<id>e59ec24561357c9d5efa4cfcda0401e0a79df91d</id>
<content type='text'>
Extend Image formatters in img.py to support background colors.

* New function to get the background color for a given token type, optionally None
* The self.drawables list used the fill keyword, stuffed into a **kwrgs, for the color of the token; since tokens can have foreground and background colors, that list now uses two explicit names, passing one to the PIL/Pillow text draw call, the other to the rectangle draw call.
* When iterating over the `drawables` list, the presence of a background color triggers the drawing of a rectangle beneath the text.
* Dimensions of background rectangle calculated by PIL based on the rendered text and font.
* If input string is multiline, PIL will use multiline for draw and size internally.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extend Image formatters in img.py to support background colors.

* New function to get the background color for a given token type, optionally None
* The self.drawables list used the fill keyword, stuffed into a **kwrgs, for the color of the token; since tokens can have foreground and background colors, that list now uses two explicit names, passing one to the PIL/Pillow text draw call, the other to the rectangle draw call.
* When iterating over the `drawables` list, the presence of a background color triggers the drawing of a rectangle beneath the text.
* Dimensions of background rectangle calculated by PIL based on the rendered text and font.
* If input string is multiline, PIL will use multiline for draw and size internally.</pre>
</div>
</content>
</entry>
<entry>
<title>Provide (all?) Matlab built-ins (#1705)</title>
<updated>2021-02-14T07:57:22+00:00</updated>
<author>
<name>Alex Povel</name>
<email>48824213+alexpovel@users.noreply.github.com</email>
</author>
<published>2021-02-14T07:57:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=3c06350da8de5dfd712e0122610c7b10574fe371'/>
<id>3c06350da8de5dfd712e0122610c7b10574fe371</id>
<content type='text'>
* Add (all?) Matlab built-ins

See also https://de.mathworks.com/help/matlab/referencelist.html

* Adjust pytest goldens</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add (all?) Matlab built-ins

See also https://de.mathworks.com/help/matlab/referencelist.html

* Adjust pytest goldens</pre>
</div>
</content>
</entry>
<entry>
<title>Add CDDL lexer (Fix #1239) (#1379)</title>
<updated>2021-02-14T07:54:54+00:00</updated>
<author>
<name>Thomas Duboucher</name>
<email>serianox@users.noreply.github.com</email>
</author>
<published>2021-02-14T07:54:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=1e2efc02e4187ac7a5dbed2854a3e633f600e1e6'/>
<id>1e2efc02e4187ac7a5dbed2854a3e633f600e1e6</id>
<content type='text'>
* Add CDDL lexer (thanks to Fabian Neumann)

* Add CDDL to mappings

* Fix inline flag in CDDL regex

* Update AUTHORS

* Fix explosive backtracking

* Comment invalid CDDL syntax for automated tests

* Update following Georg Brandl's review

* Update tests for CDDL to new framework

* Pylint pass

* Update links to CDDL RFC

* Update copyright header

* Solve regexlint issues in CDDL parser

* Add link to CDDL in documentation</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add CDDL lexer (thanks to Fabian Neumann)

* Add CDDL to mappings

* Fix inline flag in CDDL regex

* Update AUTHORS

* Fix explosive backtracking

* Comment invalid CDDL syntax for automated tests

* Update following Georg Brandl's review

* Update tests for CDDL to new framework

* Pylint pass

* Update links to CDDL RFC

* Update copyright header

* Solve regexlint issues in CDDL parser

* Add link to CDDL in documentation</pre>
</div>
</content>
</entry>
<entry>
<title>Fix/1698 lineos wrapping (#1701)</title>
<updated>2021-02-12T19:40:15+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>Anteru@users.noreply.github.com</email>
</author>
<published>2021-02-12T19:40:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=efd9aa5a955fd512fcf9d1980f206f795cea9075'/>
<id>efd9aa5a955fd512fcf9d1980f206f795cea9075</id>
<content type='text'>
* Fix #1698.

* Change default line number styling.

Instead of hardcoding black/light gray, use transparent/inherit which
makes it "neutral" out of the box. linenospecial is still hard-coded and
may look wrong, but that needs fixing in the style.

* Prettify the test files.

* Fix incorrect wrapping of TD linenos.

The padding would get applied twice to "special" lines, once via
&lt;pre&gt;, once via the &lt;span&gt;, which was not consistent with inline
line numbers where the .special style would override the default
style.

To fix this, we now emit "normal" and "special" lines for td.linenos
line numbers, and the normal style is applied to "normal". This brings
td.linenos closer to inline line numbers, and also makes the styling
between noclasses=True and noclasses=False consistent.

* Document the line number styling changes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix #1698.

* Change default line number styling.

Instead of hardcoding black/light gray, use transparent/inherit which
makes it "neutral" out of the box. linenospecial is still hard-coded and
may look wrong, but that needs fixing in the style.

* Prettify the test files.

* Fix incorrect wrapping of TD linenos.

The padding would get applied twice to "special" lines, once via
&lt;pre&gt;, once via the &lt;span&gt;, which was not consistent with inline
line numbers where the .special style would override the default
style.

To fix this, we now emit "normal" and "special" lines for td.linenos
line numbers, and the normal style is applied to "normal". This brings
td.linenos closer to inline line numbers, and also makes the styling
between noclasses=True and noclasses=False consistent.

* Document the line number styling changes.</pre>
</div>
</content>
</entry>
</feed>
