<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/filters/syntax-highlighting.py, branch ch/log-commit-message</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=ch%2Flog-commit-message</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/filters/syntax-highlighting.py?h=ch%2Flog-commit-message'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2018-01-19T10:40:58Z</updated>
<entry>
<title>ui-blame: Allow syntax highlighting</title>
<updated>2018-01-19T10:40:58Z</updated>
<author>
<name>Jeff Smith</name>
<email>whydoubt@gmail.com</email>
</author>
<published>2017-10-29T02:43:26Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=dbaee2672be14374acb17266477c19294c6155f3'/>
<id>urn:sha1:dbaee2672be14374acb17266477c19294c6155f3</id>
<content type='text'>
Place file contents into a single block so that syntax highlighting can
be applied in the usual fashion.  Place the alternating color bars
behind the file contents.  Force the default syntax highlighting
background to transparent.

Signed-off-by: Jeff Smith &lt;whydoubt@gmail.com&gt;
Reviewed-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>syntax-highlighting: replace invalid unicode with ?</title>
<updated>2017-01-22T11:44:44Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2017-01-22T11:44:44Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=5564a5d06678b3f9b0725bc4b2383ea1b7eb5515'/>
<id>urn:sha1:5564a5d06678b3f9b0725bc4b2383ea1b7eb5515</id>
<content type='text'>
</content>
</entry>
<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>
