<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/filters/syntax-highlighting.py, branch rm/namespace</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/filters/syntax-highlighting.py?h=rm%2Fnamespace</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/filters/syntax-highlighting.py?h=rm%2Fnamespace'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2016-01-18T10:14:06Z</updated>
<entry>
<title>syntax-highlighting: always use utf-8 to avoid ascii codec issues</title>
<updated>2016-01-18T10:14:06Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-01-18T10:14:06Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=d3756bd7b00f9ad6adede3c7f956a25b22a2254a'/>
<id>urn:sha1:d3756bd7b00f9ad6adede3c7f956a25b22a2254a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>filters: port syntax-highlighting.py to python 3.x</title>
<updated>2015-10-12T16:36:23Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2015-10-12T16:23:56Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=143e65252c1c842774bc5a601d5faef97ca6c886'/>
<id>urn:sha1:143e65252c1c842774bc5a601d5faef97ca6c886</id>
<content type='text'>
Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>filters: Improved syntax-highlighting.py</title>
<updated>2014-01-13T21:48:51Z</updated>
<author>
<name>Stefan Tatschner</name>
<email>stefan@sevenbyte.org</email>
</author>
<published>2014-01-13T21:10:45Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=ceffeb5d52609a38c5d5d410456d796673fe8461'/>
<id>urn:sha1:ceffeb5d52609a38c5d5d410456d796673fe8461</id>
<content type='text'>
- Switched back to python2 according to a problem in pygments with python3.
  With the next release of pygments this problem should be fixed.
  Issue see here:
  https://bitbucket.org/birkenfeld/pygments-main/issue/901/problems-with-python3
- Just read the stdin, decode it to utf-8 and ignore unknown signs. This ensures
  that even destroyed files do not cause any errors in the filter.
- Improved language guessing:
  -&gt; At first use guess_lexer_for_filename for a better detection of the used
     programming languages (even mixed cases will be detected, e.g. php + html).
  -&gt; If nothing was found look if there is a shebang and use guess_lexer.
  -&gt; As default/fallback choose TextLexer.

Signed-off-by: Stefan Tatschner &lt;stefan@sevenbyte.org&gt;
</content>
</entry>
<entry>
<title>Fix UTF-8 with syntax-highlighting.py</title>
<updated>2014-01-08T15:49:42Z</updated>
<author>
<name>Přemysl Janouch</name>
<email>p.janouch@gmail.com</email>
</author>
<published>2013-09-11T18:10:12Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=b6da53dd75a662f9a72163bc0f7052b5aa0d8d19'/>
<id>urn:sha1:b6da53dd75a662f9a72163bc0f7052b5aa0d8d19</id>
<content type='text'>
Previously the script tried to encode output from Pygments with
the ASCII codec, which failed.

Signed-off-by: Přemysl Janouch &lt;p.janouch@gmail.com&gt;
</content>
</entry>
<entry>
<title>filters: import more modern scripts</title>
<updated>2013-05-27T19:54:16Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2013-05-27T19:39:43Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=8149be213f1c8f52b0dbe6c213f6073af57fa954'/>
<id>urn:sha1:8149be213f1c8f52b0dbe6c213f6073af57fa954</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
</feed>
