File: changelog.html

package info (click to toggle)
pygments 0.10-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 3,748 kB
  • ctags: 3,621
  • sloc: python: 15,151; ansic: 3,408; pascal: 2,750; sh: 2,244; ruby: 2,130; lisp: 1,839; xml: 1,797; java: 1,742; cpp: 1,549; ml: 831; haskell: 721; csh: 681; f90: 451; perl: 375; php: 252; cs: 225; erlang: 104; makefile: 84; jsp: 21
file content (464 lines) | stat: -rw-r--r-- 17,674 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <title>Changelog &mdash; Pygments</title>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <style type="text/css">
    body {
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
    font-family: 'Georgia', serif;
    color: #111;
}

#content {
    background-color: white;
    padding: 20px;
    margin: 20px auto 20px auto;
    max-width: 800px;
    border: 4px solid #ddd;
}

h1 {
    font-weight: normal;
    font-size: 40px;
    color: #09839A;
}

h2 {
    font-weight: normal;
    font-size: 30px;
    color: #C73F00;
}

h1.heading {
    margin: 0 0 30px 0;
}

h2.subheading {
    margin: -30px 0 0 45px;
}

h3 {
    margin-top: 30px;
}

table.docutils {
    border-collapse: collapse;
    border: 2px solid #aaa;
    margin: 0.5em 1.5em 0.5em 1.5em;
}

table.docutils td {
    padding: 2px;
    border: 1px solid #ddd;
}

p, li, dd, dt, blockquote {
    font-size: 15px;
    color: #333;
}

p {
    line-height: 150%;
    margin-bottom: 0;
    margin-top: 10px;
}

hr {
    border-top: 1px solid #ccc;
    border-bottom: 0;
    border-right: 0;
    border-left: 0;
    margin-bottom: 10px;
    margin-top: 20px;
}

dl {
    margin-left: 10px;
}

li, dt {
    margin-top: 5px;
}

dt {
    font-weight: bold;
}

th {
    text-align: left;
}

a {
    color: #990000;
}

a:hover {
    color: #c73f00;
}

pre {
    background-color: #f9f9f9;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 5px;
    font-size: 13px;
    font-family: Bitstream Vera Sans Mono,monospace;
}

tt {
    font-size: 13px;
    font-family: Bitstream Vera Sans Mono,monospace;
    color: black;
    padding: 1px 2px 1px 2px;
    background-color: #f0f0f0;
}

cite {
    /* abusing <cite>, it's generated by ReST for `x` */
    font-size: 13px;
    font-family: Bitstream Vera Sans Mono,monospace;
    font-weight: bold;
    font-style: normal;
}

#backlink {
    float: right;
    font-size: 11px;
    color: #888;
}

div.toc {
    margin: 0 0 10px 0;
}

div.toc h2 {
    font-size: 20px;
}
.syntax  { background: #ffffff; }
.syntax .c { color: #888888 } /* Comment */
.syntax .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.syntax .k { color: #008800; font-weight: bold } /* Keyword */
.syntax .cm { color: #888888 } /* Comment.Multiline */
.syntax .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.syntax .c1 { color: #888888 } /* Comment.Single */
.syntax .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.syntax .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.syntax .ge { font-style: italic } /* Generic.Emph */
.syntax .gr { color: #aa0000 } /* Generic.Error */
.syntax .gh { color: #303030 } /* Generic.Heading */
.syntax .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.syntax .go { color: #888888 } /* Generic.Output */
.syntax .gp { color: #555555 } /* Generic.Prompt */
.syntax .gs { font-weight: bold } /* Generic.Strong */
.syntax .gu { color: #606060 } /* Generic.Subheading */
.syntax .gt { color: #aa0000 } /* Generic.Traceback */
.syntax .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.syntax .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.syntax .kp { color: #008800 } /* Keyword.Pseudo */
.syntax .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.syntax .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.syntax .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.syntax .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.syntax .na { color: #336699 } /* Name.Attribute */
.syntax .nb { color: #003388 } /* Name.Builtin */
.syntax .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.syntax .no { color: #003366; font-weight: bold } /* Name.Constant */
.syntax .nd { color: #555555 } /* Name.Decorator */
.syntax .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.syntax .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.syntax .nl { color: #336699; font-style: italic } /* Name.Label */
.syntax .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.syntax .py { color: #336699; font-weight: bold } /* Name.Property */
.syntax .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.syntax .nv { color: #336699 } /* Name.Variable */
.syntax .ow { color: #008800 } /* Operator.Word */
.syntax .w { color: #bbbbbb } /* Text.Whitespace */
.syntax .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.syntax .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.syntax .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.syntax .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.syntax .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.syntax .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.syntax .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.syntax .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.syntax .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.syntax .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.syntax .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.syntax .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.syntax .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.syntax .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.syntax .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.syntax .bp { color: #003388 } /* Name.Builtin.Pseudo */
.syntax .vc { color: #336699 } /* Name.Variable.Class */
.syntax .vg { color: #dd7700 } /* Name.Variable.Global */
.syntax .vi { color: #3333bb } /* Name.Variable.Instance */
.syntax .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
  </style>
</head>
<body>
  <div id="content">
    <h1 class="heading">Pygments</h1>
    <h2 class="subheading">Changelog</h2>
    
      <a id="backlink" href="index.html">&laquo; Back To Index</a>
    
    
      <div class="toc">
        <h2>Contents</h2>
        <ul class="contents">
        
          <li><a href="#version-0-10">Version 0.10</a></li>
        
          <li><a href="#version-0-9">Version 0.9</a></li>
        
          <li><a href="#version-0-8-1">Version 0.8.1</a></li>
        
          <li><a href="#version-0-8">Version 0.8</a></li>
        
          <li><a href="#version-0-7-1">Version 0.7.1</a></li>
        
          <li><a href="#version-0-7">Version 0.7</a></li>
        
          <li><a href="#version-0-6">Version 0.6</a></li>
        
          <li><a href="#version-0-5-1">Version 0.5.1</a></li>
        
          <li><a href="#version-0-5">Version 0.5</a></li>
        
        </ul>
      </div>
    
    <div class="section">
<h3><a id="version-0-10" name="version-0-10">Version 0.10</a></h3>
<p>(codename Malzeug, released May 06, 2008)</p>
<ul class="simple">
<li>Lexers added:<ul>
<li>Io</li>
<li>Smalltalk</li>
<li>Darcs patches</li>
<li>Tcl</li>
<li>Matlab</li>
<li>Matlab sessions</li>
<li>FORTRAN</li>
<li>XSLT</li>
<li>tcsh</li>
<li>NumPy</li>
<li>Python 3</li>
<li>S, S-plus, R statistics languages</li>
<li>Logtalk</li>
</ul>
</li>
<li>In the LatexFormatter, the <em>commandprefix</em> option is now by default
'PY' instead of 'C', since the latter resulted in several collisions
with other packages.  Also, the special meaning of the <em>arg</em> argument
to <tt class="docutils literal"><span class="pre">get_style_defs()</span></tt> was removed.</li>
<li>Added ImageFormatter, to format code as PNG, JPG, GIF or BMP.
(Needs the Python Imaging Library.)</li>
<li>Support doc comments in the PHP lexer.</li>
<li>Handle format specifications in the Perl lexer.</li>
<li>Fix comment handling in the Batch lexer.</li>
<li>Add more file name extensions for the C++, INI and XML lexers.</li>
<li>Fixes in the IRC and MuPad lexers.</li>
<li>Fix function and interface name highlighting in the Java lexer.</li>
<li>Fix at-rule handling in the CSS lexer.</li>
<li>Handle KeyboardInterrupts gracefully in pygmentize.</li>
<li>Added BlackWhiteStyle.</li>
<li>Bash lexer now correctly highlights math, does not require whitespace
after semicolons, and correctly highlights boolean operators.</li>
<li>Makefile lexer is now capable of handling BSD and GNU make syntax.</li>
</ul>
</div>
<div class="section">
<h3><a id="version-0-9" name="version-0-9">Version 0.9</a></h3>
<p>(codename Herbstzeitlose, released Oct 14, 2007)</p>
<ul class="simple">
<li>Lexers added:<ul>
<li>Erlang</li>
<li>ActionScript</li>
<li>Literate Haskell</li>
<li>Common Lisp</li>
<li>Various assembly languages</li>
<li>Gettext catalogs</li>
<li>Squid configuration</li>
<li>Debian control files</li>
<li>MySQL-style SQL</li>
<li>MOOCode</li>
</ul>
</li>
<li>Lexers improved:<ul>
<li>Greatly improved the Haskell and OCaml lexers.</li>
<li>Improved the Bash lexer's handling of nested constructs.</li>
<li>The C# and Java lexers exhibited abysmal performance with some
input code; this should now be fixed.</li>
<li>The IRC logs lexer is now able to colorize weechat logs too.</li>
<li>The Lua lexer now recognizes multi-line comments.</li>
<li>Fixed bugs in the D and MiniD lexer.</li>
</ul>
</li>
<li>The encoding handling of the command line mode (pygmentize) was
enhanced. You shouldn't get UnicodeErrors from it anymore if you
don't give an encoding option.</li>
<li>Added a <tt class="docutils literal"><span class="pre">-P</span></tt> option to the command line mode which can be used
to give options whose values contain commas or equals signs.</li>
<li>Added 256-color terminal formatter.</li>
<li>Added an experimental SVG formatter.</li>
<li>Added the <tt class="docutils literal"><span class="pre">lineanchors</span></tt> option to the HTML formatter, thanks to
Ian Charnas for the idea.</li>
<li>Gave the line numbers table a CSS class in the HTML formatter.</li>
<li>Added a Vim 7-like style.</li>
</ul>
</div>
<div class="section">
<h3><a id="version-0-8-1" name="version-0-8-1">Version 0.8.1</a></h3>
<p>(released Jun 27, 2007)</p>
<ul class="simple">
<li>Fixed POD highlighting in the Ruby lexer.</li>
<li>Fixed Unicode class and namespace name highlighting in the C# lexer.</li>
<li>Fixed Unicode string prefix highlighting in the Python lexer.</li>
<li>Fixed a bug in the D and MiniD lexers.</li>
<li>Fixed the included MoinMoin parser.</li>
</ul>
</div>
<div class="section">
<h3><a id="version-0-8" name="version-0-8">Version 0.8</a></h3>
<p>(codename Maikäfer, released May 30, 2007)</p>
<ul class="simple">
<li>Lexers added:<ul>
<li>Haskell, thanks to Adam Blinkinsop</li>
<li>Redcode, thanks to Adam Blinkinsop</li>
<li>D, thanks to Kirk McDonald</li>
<li>MuPad, thanks to Christopher Creutzig</li>
<li>MiniD, thanks to Jarrett Billingsley</li>
<li>Vim Script, by Tim Hatch</li>
</ul>
</li>
<li>The HTML formatter now has a second line-numbers mode in which it will
just integrate the numbers in the same <tt class="docutils literal"><span class="pre">&lt;pre&gt;</span></tt> tag as the code.</li>
<li>The <cite>CSharpLexer</cite> now is Unicode-aware, which means that it has an
option that can be set so that it correctly lexes Unicode identifiers
allowed by the C# specs.</li>
<li>Added a <cite>RaiseOnErrorTokenFilter</cite> that raises an exception when the
lexer generates an error token, and a <cite>VisibleWhitespaceFilter</cite> that
converts whitespace (spaces, tabs, newlines) into visible characters.</li>
<li>Fixed the <cite>do_insertions()</cite> helper function to yield correct indices.</li>
<li>The ReST lexer now automatically highlights source code blocks in
&quot;.. sourcecode:: language&quot; and &quot;.. code:: language&quot; directive blocks.</li>
<li>Improved the default style (thanks to Tiberius Teng). The old default
is still available as the &quot;emacs&quot; style (which was an alias before).</li>
<li>The <cite>get_style_defs</cite> method of HTML formatters now uses the <cite>cssclass</cite>
option as the default selector if it was given.</li>
<li>Improved the ReST and Bash lexers a bit.</li>
<li>Fixed a few bugs in the Makefile and Bash lexers, thanks to Tim Hatch.</li>
<li>Fixed a bug in the command line code that disallowed <tt class="docutils literal"><span class="pre">-O</span></tt> options
when using the <tt class="docutils literal"><span class="pre">-S</span></tt> option.</li>
<li>Fixed a bug in the <cite>RawTokenFormatter</cite>.</li>
</ul>
</div>
<div class="section">
<h3><a id="version-0-7-1" name="version-0-7-1">Version 0.7.1</a></h3>
<p>(released Feb 15, 2007)</p>
<ul class="simple">
<li>Fixed little highlighting bugs in the Python, Java, Scheme and Apache
Config lexers.</li>
<li>Updated the included manpage.</li>
<li>Included a built version of the documentation in the source tarball.</li>
</ul>
</div>
<div class="section">
<h3><a id="version-0-7" name="version-0-7">Version 0.7</a></h3>
<p>(codename Faschingskrapfn, released Feb 14, 2007)</p>
<ul class="simple">
<li>Added a MoinMoin parser that uses Pygments. With it, you get Pygments
highlighting in Moin Wiki pages.</li>
<li>Changed the exception raised if no suitable lexer, formatter etc. is
found in one of the <cite>get_*_by_*</cite> functions to a custom exception,
<cite>pygments.util.ClassNotFound</cite>. It is, however, a subclass of <cite>ValueError</cite>
in order to retain backwards compatibility.</li>
<li>Added a <cite>-H</cite> command line option which can be used to get the docstring
of a lexer, formatter or filter.</li>
<li>Made the handling of lexers and formatters more consistent. The aliases
and filename patterns of formatters are now attributes on them.</li>
<li>Added an OCaml lexer, thanks to Adam Blinkinsop.</li>
<li>Made the HTML formatter more flexible, and easily subclassable in order
to make it easy to implement custom wrappers, e.g. alternate line
number markup. See the documentation.</li>
<li>Added an <cite>outencoding</cite> option to all formatters, making it possible
to override the <cite>encoding</cite> (which is used by lexers and formatters) when
using the command line interface. Also, if using the terminal formatter
and the output file is a terminal and has an encoding attribute, use it
if no encoding is given.</li>
<li>Made it possible to just drop style modules into the <cite>styles</cite> subpackage
of the Pygments installation.</li>
<li>Added a &quot;state&quot; keyword argument to the <cite>using</cite> helper.</li>
<li>Added a <cite>commandprefix</cite> option to the <cite>LatexFormatter</cite> which allows to
control how the command names are constructed.</li>
<li>Added quite a few new lexers, thanks to Tim Hatch:<ul>
<li>Java Server Pages</li>
<li>Windows batch files</li>
<li>Trac Wiki markup</li>
<li>Python tracebacks</li>
<li>ReStructuredText</li>
<li>Dylan</li>
<li>and the Befunge esoteric programming language (yay!)</li>
</ul>
</li>
<li>Added Mako lexers by Ben Bangert.</li>
<li>Added &quot;fruity&quot; style, another dark background originally vim-based theme.</li>
<li>Added sources.list lexer by Dennis Kaarsemaker.</li>
<li>Added token stream filters, and a pygmentize option to use them.</li>
<li>Changed behavior of <cite>in</cite> Operator for tokens.</li>
<li>Added mimetypes for all lexers.</li>
<li>Fixed some problems lexing Python strings.</li>
<li>Fixed tickets: #167, #178, #179, #180, #185, #201.</li>
</ul>
</div>
<div class="section">
<h3><a id="version-0-6" name="version-0-6">Version 0.6</a></h3>
<p>(codename Zimtstern, released Dec 20, 2006)</p>
<ul class="simple">
<li>Added option for the HTML formatter to write the CSS to an external file
in &quot;full document&quot; mode.</li>
<li>Added RTF formatter.</li>
<li>Added Bash and Apache configuration lexers (thanks to Tim Hatch).</li>
<li>Improved guessing methods for various lexers.</li>
<li>Added <cite>&#64;media</cite> support to CSS lexer (thanks to Tim Hatch).</li>
<li>Added a Groff lexer (thanks to Tim Hatch).</li>
<li>License change to BSD.</li>
<li>Added lexers for the Myghty template language.</li>
<li>Added a Scheme lexer (thanks to Marek Kubica).</li>
<li>Added some functions to iterate over existing lexers, formatters
and lexers.</li>
<li>The HtmlFormatter's <cite>get_style_defs()</cite> can now take a list as an
argument to generate CSS with multiple prefixes.</li>
<li>Support for guessing input encoding added.</li>
<li>Encoding support added: all processing is now done with Unicode
strings, input and output are converted from and optionally to
byte strings (see the <tt class="docutils literal"><span class="pre">encoding</span></tt> option of lexers and formatters).</li>
<li>Some improvements in the C(++) lexers handling comments and line
continuations.</li>
</ul>
</div>
<div class="section">
<h3><a id="version-0-5-1" name="version-0-5-1">Version 0.5.1</a></h3>
<p>(released Oct 30, 2006)</p>
<ul class="simple">
<li>Fixed traceback in <tt class="docutils literal"><span class="pre">pygmentize</span> <span class="pre">-L</span></tt> (thanks to Piotr Ozarowski).</li>
</ul>
</div>
<div class="section">
<h3><a id="version-0-5" name="version-0-5">Version 0.5</a></h3>
<p>(codename PyKleur, released Oct 30, 2006)</p>
<ul class="simple">
<li>Initial public release.</li>
</ul>
</div>

  </div>
</body>
<!-- generated on: 2008-05-06 18:28:07.603749
     file id: changelog -->
</html>