<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pygments.git/pygments/formatters/html.py, branch bash-variable</title>
<subtitle>bitbucket.org: Obsolete (use python-packages/pygments-git)
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments.git/'/>
<entry>
<title>Fixed HTML formatter output with leading empty lines (closes #1111)</title>
<updated>2016-02-02T11:53:04+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2016-02-02T11:53:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments.git/commit/?id=1796e45b8a13444664389e3fe86aab520b4ebecf'/>
<id>1796e45b8a13444664389e3fe86aab520b4ebecf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>merge</title>
<updated>2016-01-04T10:18:25+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2016-01-04T10:18:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments.git/commit/?id=c010a7f2b09682f4cb2ecbb77b0286d9f4c1853e'/>
<id>c010a7f2b09682f4cb2ecbb77b0286d9f4c1853e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>HTML formatter: pep8</title>
<updated>2016-01-04T10:16:17+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2016-01-04T10:16:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments.git/commit/?id=fc18d3d35ffb5ba43f68f2dffb1d84dd177c3618'/>
<id>fc18d3d35ffb5ba43f68f2dffb1d84dd177c3618</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add filename parameter to HtmlFormatter</title>
<updated>2015-11-29T12:11:24+00:00</updated>
<author>
<name>Alexander Todorov</name>
<email>atodorov@otb.bg</email>
</author>
<published>2015-11-29T12:11:24+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments.git/commit/?id=9835a0a1a3f6bbf6151c4d025f07b2102a910377'/>
<id>9835a0a1a3f6bbf6151c4d025f07b2102a910377</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimized HtmlFormatter to run ~10x faster for long lines</title>
<updated>2015-10-16T18:27:23+00:00</updated>
<author>
<name>Giedrius Dubinskas</name>
<email>d.giedrius+bitbucket@gmail.com</email>
</author>
<published>2015-10-16T18:27:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments.git/commit/?id=2a74e18cb1b8b7cc2848e236a636e49be46ed165'/>
<id>2a74e18cb1b8b7cc2848e236a636e49be46ed165</id>
<content type='text'>
Changed string concatenation to list extend/join to reduce memory allocations.

How to reproduce:

Test data:

  $ echo '{' $(for i in {1..10000}; do printf '"key%d":"value  %d", ' $i $i; done) '}' &gt; /tmp/one-line.json

Before:

  $ time ./pygmentize -O encoding=utf-8 -O stripnl=False -f html -l 'json' &gt; /dev/null &lt; /tmp/one-line.json

  real	0m5.597s
  user	0m4.400s
  sys	0m1.158s

After:

  $ time ./pygmentize -O encoding=utf-8 -O stripnl=False -f html -l 'json' &gt; /dev/null &lt; /tmp/one-line.json

  real	0m0.347s
  user	0m0.309s
  sys	0m0.029s
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changed string concatenation to list extend/join to reduce memory allocations.

How to reproduce:

Test data:

  $ echo '{' $(for i in {1..10000}; do printf '"key%d":"value  %d", ' $i $i; done) '}' &gt; /tmp/one-line.json

Before:

  $ time ./pygmentize -O encoding=utf-8 -O stripnl=False -f html -l 'json' &gt; /dev/null &lt; /tmp/one-line.json

  real	0m5.597s
  user	0m4.400s
  sys	0m1.158s

After:

  $ time ./pygmentize -O encoding=utf-8 -O stripnl=False -f html -l 'json' &gt; /dev/null &lt; /tmp/one-line.json

  real	0m0.347s
  user	0m0.309s
  sys	0m0.029s
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo</title>
<updated>2015-09-03T19:58:47+00:00</updated>
<author>
<name>Jonas Haag</name>
<email>jonashaag</email>
</author>
<published>2015-09-03T19:58:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments.git/commit/?id=63c6e8545a1e6b10958e06cd81a4c50f85c7ccc2'/>
<id>63c6e8545a1e6b10958e06cd81a4c50f85c7ccc2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed style inheritance for non-standard token types in HTML output.</title>
<updated>2015-03-08T14:08:19+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2015-03-08T14:08:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments.git/commit/?id=03e8b0488d50f498750d4c025614487cf34d5c92'/>
<id>03e8b0488d50f498750d4c025614487cf34d5c92</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>merge with stable</title>
<updated>2015-01-21T07:33:36+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2015-01-21T07:33:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments.git/commit/?id=fe72d20b50c75089fa1262b9f03fcb29c9e49282'/>
<id>fe72d20b50c75089fa1262b9f03fcb29c9e49282</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Copyright year update.</title>
<updated>2015-01-21T07:33:25+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2015-01-21T07:33:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments.git/commit/?id=13705acbd57b936990c63a12de05ce29834b6afb'/>
<id>13705acbd57b936990c63a12de05ce29834b6afb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>More coverage of newer HTML formatter options.</title>
<updated>2014-11-11T18:40:50+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2014-11-11T18:40:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments.git/commit/?id=543b3cb13bbafa81805b039fe955e60794b4ae5e'/>
<id>543b3cb13bbafa81805b039fe955e60794b4ae5e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
