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 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Changelog — 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 .hll { background-color: #ffffcc }
.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 .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.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">« Back To Index</a>
<div class="toc">
<h2>Contents</h2>
<ul class="contents">
<li><a href="#version-1-3">Version 1.3</a></li>
<li><a href="#version-1-2-2">Version 1.2.2</a></li>
<li><a href="#version-1-2-1">Version 1.2.1</a></li>
<li><a href="#version-1-2">Version 1.2</a></li>
<li><a href="#version-1-1-1">Version 1.1.1</a></li>
<li><a href="#version-1-1">Version 1.1</a></li>
<li><a href="#version-1-0">Version 1.0</a></li>
<li><a href="#version-0-11-1">Version 0.11.1</a></li>
<li><a href="#version-0-11">Version 0.11</a></li>
<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>
<p>Issue numbers refer to the tracker at <a class="reference external" href="http://dev.pocoo.org/projects/pygments/">http://dev.pocoo.org/projects/pygments/</a>.</p>
<div class="section" id="version-1-3">
<h3>Version 1.3</h3>
<p>(codename Schneeglöckchen, released Mar 01, 2010)</p>
<ul class="simple">
<li>Added the <tt class="docutils literal">ensurenl</tt> lexer option, which can be used to suppress the
automatic addition of a newline to the lexer input.</li>
<li>Lexers added:<ul>
<li>Ada</li>
<li>Coldfusion</li>
<li>Modula-2</li>
<li>haXe</li>
<li>R console</li>
<li>Objective-J</li>
<li>Haml and Sass</li>
<li>CoffeeScript</li>
</ul>
</li>
<li>Enhanced reStructuredText highlighting.</li>
<li>Added support for PHP 5.3 namespaces in the PHP lexer.</li>
<li>Added a bash completion script for <cite>pygmentize</cite>, to the external/
directory (#466).</li>
<li>Fixed a bug in <cite>do_insertions()</cite> used for multi-lexer languages.</li>
<li>Fixed a Ruby regex highlighting bug (#476).</li>
<li>Fixed regex highlighting bugs in Perl lexer (#258).</li>
<li>Add small enhancements to the C lexer (#467) and Bash lexer (#469).</li>
<li>Small fixes for the Tcl, Debian control file, Nginx config,
Smalltalk, Objective-C, Clojure, Lua lexers.</li>
<li>Gherkin lexer: Fixed single apostrophe bug and added new i18n keywords.</li>
</ul>
</div>
<div class="section" id="version-1-2-2">
<h3>Version 1.2.2</h3>
<p>(bugfix release, released Jan 02, 2010)</p>
<ul class="simple">
<li>Removed a backwards incompatibility in the LaTeX formatter that caused
Sphinx to produce invalid commands when writing LaTeX output (#463).</li>
<li>Fixed a forever-backtracking regex in the BashLexer (#462).</li>
</ul>
</div>
<div class="section" id="version-1-2-1">
<h3>Version 1.2.1</h3>
<p>(bugfix release, released Jan 02, 2010)</p>
<ul class="simple">
<li>Fixed mishandling of an ellipsis in place of the frames in a Python
console traceback, resulting in clobbered output.</li>
</ul>
</div>
<div class="section" id="version-1-2">
<h3>Version 1.2</h3>
<p>(codename Neujahr, released Jan 01, 2010)</p>
<ul class="simple">
<li>Dropped Python 2.3 compatibility.</li>
<li>Lexers added:<ul>
<li>Asymptote</li>
<li>Go</li>
<li>Gherkin (Cucumber)</li>
<li>CMake</li>
<li>Ooc</li>
<li>Coldfusion</li>
<li>haXe</li>
<li>R console</li>
</ul>
</li>
<li>Added options for rendering LaTeX in source code comments in the
LaTeX formatter (#461).</li>
<li>Updated the Logtalk lexer.</li>
<li>Added <cite>line_number_start</cite> option to image formatter (#456).</li>
<li>Added <cite>hl_lines</cite> and <cite>hl_color</cite> options to image formatter (#457).</li>
<li>Fixed the HtmlFormatter's handling of noclasses=True to not output any
classes (#427).</li>
<li>Added the Monokai style (#453).</li>
<li>Fixed LLVM lexer identifier syntax and added new keywords (#442).</li>
<li>Fixed the PythonTracebackLexer to handle non-traceback data in header or
trailer, and support more partial tracebacks that start on line 2 (#437).</li>
<li>Fixed the CLexer to not highlight ternary statements as labels.</li>
<li>Fixed lexing of some Ruby quoting peculiarities (#460).</li>
<li>A few ASM lexer fixes (#450).</li>
</ul>
</div>
<div class="section" id="version-1-1-1">
<h3>Version 1.1.1</h3>
<p>(bugfix release, released Sep 15, 2009)</p>
<ul class="simple">
<li>Fixed the BBCode lexer (#435).</li>
<li>Added support for new Jinja2 keywords.</li>
<li>Fixed test suite failures.</li>
<li>Added Gentoo-specific suffixes to Bash lexer.</li>
</ul>
</div>
<div class="section" id="version-1-1">
<h3>Version 1.1</h3>
<p>(codename Brillouin, released Sep 11, 2009)</p>
<ul class="simple">
<li>Ported Pygments to Python 3. This needed a few changes in the way
encodings are handled; they may affect corner cases when used with
Python 2 as well.</li>
<li>Lexers added:<ul>
<li>Antlr/Ragel, thanks to Ana Nelson</li>
<li>(Ba)sh shell</li>
<li>Erlang shell</li>
<li>GLSL</li>
<li>Prolog</li>
<li>Evoque</li>
<li>Modelica</li>
<li>Rebol</li>
<li>MXML</li>
<li>Cython</li>
<li>ABAP</li>
<li>ASP.net (VB/C#)</li>
<li>Vala</li>
<li>Newspeak</li>
</ul>
</li>
<li>Fixed the LaTeX formatter's output so that output generated for one style
can be used with the style definitions of another (#384).</li>
<li>Added "anchorlinenos" and "noclobber_cssfile" (#396) options to HTML
formatter.</li>
<li>Support multiline strings in Lua lexer.</li>
<li>Rewrite of the JavaScript lexer by Pumbaa80 to better support regular
expression literals (#403).</li>
<li>When pygmentize is asked to highlight a file for which multiple lexers
match the filename, use the analyse_text guessing engine to determine the
winner (#355).</li>
<li>Fixed minor bugs in the JavaScript lexer (#383), the Matlab lexer (#378),
the Scala lexer (#392), the INI lexer (#391), the Clojure lexer (#387)
and the AS3 lexer (#389).</li>
<li>Fixed three Perl heredoc lexing bugs (#379, #400, #422).</li>
<li>Fixed a bug in the image formatter which misdetected lines (#380).</li>
<li>Fixed bugs lexing extended Ruby strings and regexes.</li>
<li>Fixed a bug when lexing git diffs.</li>
<li>Fixed a bug lexing the empty commit in the PHP lexer (#405).</li>
<li>Fixed a bug causing Python numbers to be mishighlighted as floats (#397).</li>
<li>Fixed a bug when backslashes are used in odd locations in Python (#395).</li>
<li>Fixed various bugs in Matlab and S-Plus lexers, thanks to Winston Chang (#410,
#411, #413, #414) and fmarc (#419).</li>
<li>Fixed a bug in Haskell single-line comment detection (#426).</li>
<li>Added new-style reStructuredText directive for docutils 0.5+ (#428).</li>
</ul>
</div>
<div class="section" id="version-1-0">
<h3>Version 1.0</h3>
<p>(codename Dreiundzwanzig, released Nov 23, 2008)</p>
<ul>
<li><p class="first">Don't use join(splitlines()) when converting newlines to <tt class="docutils literal">\n</tt>,
because that doesn't keep all newlines at the end when the
<tt class="docutils literal">stripnl</tt> lexer option is False.</p>
</li>
<li><p class="first">Added <tt class="docutils literal"><span class="pre">-N</span></tt> option to command-line interface to get a lexer name
for a given filename.</p>
</li>
<li><p class="first">Added Tango style, written by Andre Roberge for the Crunchy project.</p>
</li>
<li><p class="first">Added Python3TracebackLexer and <tt class="docutils literal">python3</tt> option to
PythonConsoleLexer.</p>
</li>
<li><p class="first">Fixed a few bugs in the Haskell lexer.</p>
</li>
<li><p class="first">Fixed PythonTracebackLexer to be able to recognize SyntaxError and
KeyboardInterrupt (#360).</p>
</li>
<li><p class="first">Provide one formatter class per image format, so that surprises like:</p>
<pre class="literal-block">
pygmentize -f gif -o foo.gif foo.py
</pre>
<p>creating a PNG file are avoided.</p>
</li>
<li><p class="first">Actually use the <cite>font_size</cite> option of the image formatter.</p>
</li>
<li><p class="first">Fixed numpy lexer that it doesn't listen for <cite>*.py</cite> any longer.</p>
</li>
<li><p class="first">Fixed HTML formatter so that text options can be Unicode
strings (#371).</p>
</li>
<li><p class="first">Unified Diff lexer supports the "udiff" alias now.</p>
</li>
<li><p class="first">Fixed a few issues in Scala lexer (#367).</p>
</li>
<li><p class="first">RubyConsoleLexer now supports simple prompt mode (#363).</p>
</li>
<li><p class="first">JavascriptLexer is smarter about what constitutes a regex (#356).</p>
</li>
<li><p class="first">Add Applescript lexer, thanks to Andreas Amann (#330).</p>
</li>
<li><p class="first">Make the codetags more strict about matching words (#368).</p>
</li>
<li><p class="first">NginxConfLexer is a little more accurate on mimetypes and
variables (#370).</p>
</li>
</ul>
</div>
<div class="section" id="version-0-11-1">
<h3>Version 0.11.1</h3>
<p>(released Aug 24, 2008)</p>
<ul class="simple">
<li>Fixed a Jython compatibility issue in pygments.unistring (#358).</li>
</ul>
</div>
<div class="section" id="version-0-11">
<h3>Version 0.11</h3>
<p>(codename Straußenei, released Aug 23, 2008)</p>
<p>Many thanks go to Tim Hatch for writing or integrating most of the bug
fixes and new features.</p>
<ul class="simple">
<li>Lexers added:<ul>
<li>Nasm-style assembly language, thanks to delroth</li>
<li>YAML, thanks to Kirill Simonov</li>
<li>ActionScript 3, thanks to Pierre Bourdon</li>
<li>Cheetah/Spitfire templates, thanks to Matt Good</li>
<li>Lighttpd config files</li>
<li>Nginx config files</li>
<li>Gnuplot plotting scripts</li>
<li>Clojure</li>
<li>POV-Ray scene files</li>
<li>Sqlite3 interactive console sessions</li>
<li>Scala source files, thanks to Krzysiek Goj</li>
</ul>
</li>
<li>Lexers improved:<ul>
<li>C lexer highlights standard library functions now and supports C99
types.</li>
<li>Bash lexer now correctly highlights heredocs without preceding
whitespace.</li>
<li>Vim lexer now highlights hex colors properly and knows a couple
more keywords.</li>
<li>Irc logs lexer now handles xchat's default time format (#340) and
correctly highlights lines ending in <tt class="docutils literal">></tt>.</li>
<li>Support more delimiters for perl regular expressions (#258).</li>
<li>ObjectiveC lexer now supports 2.0 features.</li>
</ul>
</li>
<li>Added "Visual Studio" style.</li>
<li>Updated markdown processor to Markdown 1.7.</li>
<li>Support roman/sans/mono style defs and use them in the LaTeX
formatter.</li>
<li>The RawTokenFormatter is no longer registered to <tt class="docutils literal">*.raw</tt> and it's
documented that tokenization with this lexer may raise exceptions.</li>
<li>New option <tt class="docutils literal">hl_lines</tt> to HTML formatter, to highlight certain
lines.</li>
<li>New option <tt class="docutils literal">prestyles</tt> to HTML formatter.</li>
<li>New option <em>-g</em> to pygmentize, to allow lexer guessing based on
filetext (can be slowish, so file extensions are still checked
first).</li>
<li><tt class="docutils literal">guess_lexer()</tt> now makes its decision much faster due to a cache
of whether data is xml-like (a check which is used in several
versions of <tt class="docutils literal">analyse_text()</tt>. Several lexers also have more
accurate <tt class="docutils literal">analyse_text()</tt> now.</li>
</ul>
</div>
<div class="section" id="version-0-10">
<h3>Version 0.10</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">get_style_defs()</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" id="version-0-9">
<h3>Version 0.9</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">lineanchors</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" id="version-0-8-1">
<h3>Version 0.8.1</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" id="version-0-8">
<h3>Version 0.8</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"><pre></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
".. sourcecode:: language" and ".. code:: language" directive
blocks.</li>
<li>Improved the default style (thanks to Tiberius Teng). The old
default is still available as the "emacs" 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" id="version-0-7-1">
<h3>Version 0.7.1</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" id="version-0-7">
<h3>Version 0.7</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 "state" 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 "fruity" 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" id="version-0-6">
<h3>Version 0.6</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 "full document" 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>@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">encoding</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" id="version-0-5-1">
<h3>Version 0.5.1</h3>
<p>(released Oct 30, 2006)</p>
<ul class="simple">
<li>Fixed traceback in <tt class="docutils literal">pygmentize <span class="pre">-L</span></tt> (thanks to Piotr Ozarowski).</li>
</ul>
</div>
<div class="section" id="version-0-5">
<h3>Version 0.5</h3>
<p>(codename PyKleur, released Oct 30, 2006)</p>
<ul class="simple">
<li>Initial public release.</li>
</ul>
</div>
</div>
</body>
<!-- generated on: 2010-03-01 21:18:21.373497
file id: changelog -->
</html>
|