<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pygments-git.git/pygments, branch 2.7.3</title>
<subtitle>github.com: pygments/pygments.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/'/>
<entry>
<title>Prepare 2.7.3 release.</title>
<updated>2020-12-06T13:05:50+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2020-12-06T13:05:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=ccd14b98092c7189452cfbe825158c434b90b9cc'/>
<id>ccd14b98092c7189452cfbe825158c434b90b9cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Unclosed script/style tag handling Fixes #1614 (#1615)</title>
<updated>2020-12-05T16:56:40+00:00</updated>
<author>
<name>Nick Gerner</name>
<email>nick.gerner@gmail.com</email>
</author>
<published>2020-12-05T16:56:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=78665a43ba9c5835bd304f2065c17c3d7270b0cd'/>
<id>78665a43ba9c5835bd304f2065c17c3d7270b0cd</id>
<content type='text'>
Explicitly handle unclosed &lt;script&gt; and &lt;style&gt; tags which previously
would result in O(n^2) work to lex as Error tokens per character up to
the end of the line or end of file (whichever comes first).

Now we try lexing the rest of the line as Javascript/CSS  if there's no
closing script/style tag. We recover on the next line in the root state
if there is a newline, otherwise just keep parsing as Javascript/CSS.

This is similar to how the error handling in lexer.py works except we
get Javascript or CSS tokens instead of Error tokens. And we get to the
end of the line much faster since we don't apply an O(n) regex for every
character in the line.

I added a new test suite for html lexer (there wasn't one except for
coverage in test_examplefiles.py) including a trivial happy-path case
and several cases around &lt;script&gt; and &lt;style&gt; fragments, including
regression coverage that fails on the old logic.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Explicitly handle unclosed &lt;script&gt; and &lt;style&gt; tags which previously
would result in O(n^2) work to lex as Error tokens per character up to
the end of the line or end of file (whichever comes first).

Now we try lexing the rest of the line as Javascript/CSS  if there's no
closing script/style tag. We recover on the next line in the root state
if there is a newline, otherwise just keep parsing as Javascript/CSS.

This is similar to how the error handling in lexer.py works except we
get Javascript or CSS tokens instead of Error tokens. And we get to the
end of the line much faster since we don't apply an O(n) regex for every
character in the line.

I added a new test suite for html lexer (there wasn't one except for
coverage in test_examplefiles.py) including a trivial happy-path case
and several cases around &lt;script&gt; and &lt;style&gt; fragments, including
regression coverage that fails on the old logic.</pre>
</div>
</content>
</entry>
<entry>
<title>testing turtle prefix names where reference starts with number (#1590)</title>
<updated>2020-12-05T16:54:57+00:00</updated>
<author>
<name>elf Pavlik</name>
<email>elf-pavlik@hackers4peace.net</email>
</author>
<published>2020-12-05T16:54:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=95935cccca18f3f778738ba2aa6baa148f49787e'/>
<id>95935cccca18f3f778738ba2aa6baa148f49787e</id>
<content type='text'>
* testing turtle prefix names where reference starts with number

* remove case insensitive flag from Turtle lexer

* use same end-of-string regex as in SPARQL and ShExC

* make example.ttl valid turtle</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* testing turtle prefix names where reference starts with number

* remove case insensitive flag from Turtle lexer

* use same end-of-string regex as in SPARQL and ShExC

* make example.ttl valid turtle</pre>
</div>
</content>
</entry>
<entry>
<title>Update mapfiles and CHANGES.</title>
<updated>2020-12-05T16:53:43+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2020-12-05T16:53:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=97457ade27566c8515f8f5ff7ca17c7723e0eb15'/>
<id>97457ade27566c8515f8f5ff7ca17c7723e0eb15</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update jvm.py (#1587)</title>
<updated>2020-12-05T16:48:57+00:00</updated>
<author>
<name>Boris Kheyfets</name>
<email>kheyfboris@gmail.com</email>
</author>
<published>2020-12-05T16:48:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=05762d94007dc7b3e329a66bfb886ec6737f3376'/>
<id>05762d94007dc7b3e329a66bfb886ec6737f3376</id>
<content type='text'>
Added support for kotlin scripts.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added support for kotlin scripts.</pre>
</div>
</content>
</entry>
<entry>
<title>ImgFormatter: Use the start position based on the length of text (#1611)</title>
<updated>2020-11-28T09:18:59+00:00</updated>
<author>
<name>strawberry beach sandals</name>
<email>30496251+15b3@users.noreply.github.com</email>
</author>
<published>2020-11-28T09:18:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=1d51df138f6aa8b4b2eed53ca8505dcfd225b562'/>
<id>1d51df138f6aa8b4b2eed53ca8505dcfd225b562</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>llvm lexer: add poison keyword (#1612)</title>
<updated>2020-11-28T09:09:13+00:00</updated>
<author>
<name>Nuno Lopes</name>
<email>nuno.lopes@ist.utl.pt</email>
</author>
<published>2020-11-28T09:09:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=d004c05689a2aa83836f232400a66864b23320b0'/>
<id>d004c05689a2aa83836f232400a66864b23320b0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix ecl doc reference (#1609)</title>
<updated>2020-11-25T20:09:03+00:00</updated>
<author>
<name>Carlos Henrique Guardão Gandarez</name>
<email>782854+gandarez@users.noreply.github.com</email>
</author>
<published>2020-11-25T20:09:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=fc11c62e8bcddd54a7e5488f63070fa91ca81478'/>
<id>fc11c62e8bcddd54a7e5488f63070fa91ca81478</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>lean: Add missing keywords</title>
<updated>2020-11-19T07:13:31+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2020-11-16T17:17:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=190717d1eb5c1b29cf3cf28d7ccc7db3e1f366f7'/>
<id>190717d1eb5c1b29cf3cf28d7ccc7db3e1f366f7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>JuttleLexer: Fix duplicate 'juttle' occurance in lexer aliases.</title>
<updated>2020-11-19T07:13:01+00:00</updated>
<author>
<name>Sumanth V Rao</name>
<email>sumanthvrao@gmail.com</email>
</author>
<published>2020-11-17T08:28:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=ed985a175acd501e44a14ea597fe0d302f501c3d'/>
<id>ed985a175acd501e44a14ea597fe0d302f501c3d</id>
<content type='text'>
The output from pygments.lexers.get_all_lexers() contains 'juttle'
twice in the aliases section for the Juttle lexer entry.

This could be reproduced using:

&gt;&gt;&gt; from pygments.lexers import get_all_lexers
&gt;&gt;&gt; lexers = get_all_lexers()
&gt;&gt;&gt; {alias[0]: alias[1] for alias in lexers}.get('Juttle')
('juttle', 'juttle')

This patch fixes the duplicate entry and generates the associated
_mapping.py file.

Fixes: #1604
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The output from pygments.lexers.get_all_lexers() contains 'juttle'
twice in the aliases section for the Juttle lexer entry.

This could be reproduced using:

&gt;&gt;&gt; from pygments.lexers import get_all_lexers
&gt;&gt;&gt; lexers = get_all_lexers()
&gt;&gt;&gt; {alias[0]: alias[1] for alias in lexers}.get('Juttle')
('juttle', 'juttle')

This patch fixes the duplicate entry and generates the associated
_mapping.py file.

Fixes: #1604
</pre>
</div>
</content>
</entry>
</feed>
