<!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: #333333 } /* 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: #666666 } /* 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-6rc1">Version 1.6rc1</a></li> <li><a href="#version-1-5">Version 1.5</a></li> <li><a href="#version-1-4">Version 1.4</a></li> <li><a href="#version-1-3-1">Version 1.3.1</a></li> <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://bitbucket.org/birkenfeld/pygments-main/issues">http://bitbucket.org/birkenfeld/pygments-main/issues</a>>, pull request numbers to the requests at <<a class="reference external" href="http://bitbucket.org/birkenfeld/pygments-main/pull-requests/merged">http://bitbucket.org/birkenfeld/pygments-main/pull-requests/merged</a>>.</p> <div class="section" id="version-1-6rc1"> <h3>Version 1.6rc1</h3> <p>(released Jan 9, 2013)</p> <ul class="simple"> <li>Lexers added:<ul> <li>AspectJ (PR#90)</li> <li>AutoIt (PR#122)</li> <li>BUGS-like languages (PR#89)</li> <li>Ceylon (PR#86)</li> <li>Croc (new name for MiniD)</li> <li>CUDA (PR#75)</li> <li>Dg (PR#116)</li> <li>IDL (PR#115)</li> <li>Jags (PR#89)</li> <li>Julia (PR#61)</li> <li>Kconfig (#711)</li> <li>Lasso (PR#95, PR#113)</li> <li>LiveScript (PR#84)</li> <li>Monkey (PR#117)</li> <li>Mscgen (PR#80)</li> <li>NSIS scripts (PR#136)</li> <li>OpenCOBOL (PR#72)</li> <li>QML (PR#123)</li> <li>Puppet (PR#133)</li> <li>Racket (PR#94)</li> <li>Rdoc (PR#99)</li> <li>Robot Framework (PR#137)</li> <li>RPM spec files (PR#124)</li> <li>Rust (PR#67)</li> <li>Smali (Dalvik assembly)</li> <li>SourcePawn (PR#39)</li> <li>Stan (PR#89)</li> <li>Treetop (PR#125)</li> <li>TypeScript (PR#114)</li> <li>VGL (PR#12)</li> <li>Visual FoxPro (#762)</li> <li>Windows Registry (#819)</li> <li>Xtend (PR#68)</li> </ul> </li> <li>The HTML formatter now supports linking to tags using CTags files, when the python-ctags package is installed (PR#87).</li> <li>The HTML formatter now has a "linespans" option that wraps every line in a <span> tag with a specific id (PR#82).</li> <li>When deriving a lexer from another lexer with token definitions, definitions for states not in the child lexer are now inherited. If you override a state in the child lexer, an "inherit" keyword has been added to insert the base state at that position (PR#141).</li> <li>The C family lexers now inherit token definitions from a common base class, removing code duplication (PR#141).</li> <li>Use "colorama" on Windows for console color output (PR#142).</li> <li>Fix Template Haskell highlighting (PR#63).</li> <li>Fix some S/R lexer errors (PR#91).</li> <li>Fix a bug in the Prolog lexer with names that start with 'is' (#810).</li> <li>Rewrite Dylan lexer, add Dylan LID lexer (PR#147).</li> <li>Add a Java quickstart document (PR#146).</li> <li>Add a "external/autopygmentize" file that can be used as .lessfilter (#802).</li> </ul> </div> <div class="section" id="version-1-5"> <h3>Version 1.5</h3> <p>(codename Zeitdilatation, released Mar 10, 2012)</p> <ul class="simple"> <li>Lexers added:<ul> <li>Awk (#630)</li> <li>Fancy (#633)</li> <li>PyPy Log</li> <li>eC</li> <li>Nimrod</li> <li>Nemerle (#667)</li> <li>F# (#353)</li> <li>Groovy (#501)</li> <li>PostgreSQL (#660)</li> <li>DTD</li> <li>Gosu (#634)</li> <li>Octave (PR#22)</li> <li>Standard ML (PR#14)</li> <li>CFengine3 (#601)</li> <li>Opa (PR#37)</li> <li>HTTP sessions (PR#42)</li> <li>JSON (PR#31)</li> <li>SNOBOL (PR#30)</li> <li>MoonScript (PR#43)</li> <li>ECL (PR#29)</li> <li>Urbiscript (PR#17)</li> <li>OpenEdge ABL (PR#27)</li> <li>SystemVerilog (PR#35)</li> <li>Coq (#734)</li> <li>PowerShell (#654)</li> <li>Dart (#715)</li> <li>Fantom (PR#36)</li> <li>Bro (PR#5)</li> <li>NewLISP (PR#26)</li> <li>VHDL (PR#45)</li> <li>Scilab (#740)</li> <li>Elixir (PR#57)</li> <li>Tea (PR#56)</li> <li>Kotlin (PR#58)</li> </ul> </li> <li>Fix Python 3 terminal highlighting with pygmentize (#691).</li> <li>In the LaTeX formatter, escape special &, < and > chars (#648).</li> <li>In the LaTeX formatter, fix display problems for styles with token background colors (#670).</li> <li>Enhancements to the Squid conf lexer (#664).</li> <li>Several fixes to the reStructuredText lexer (#636).</li> <li>Recognize methods in the ObjC lexer (#638).</li> <li>Fix Lua "class" highlighting: it does not have classes (#665).</li> <li>Fix degenerate regex in Scala lexer (#671) and highlighting bugs (#713, 708).</li> <li>Fix number pattern order in Ocaml lexer (#647).</li> <li>Fix generic type highlighting in ActionScript 3 (#666).</li> <li>Fixes to the Clojure lexer (PR#9).</li> <li>Fix degenerate regex in Nemerle lexer (#706).</li> <li>Fix infinite looping in CoffeeScript lexer (#729).</li> <li>Fix crashes and analysis with ObjectiveC lexer (#693, #696).</li> <li>Add some Fortran 2003 keywords.</li> <li>Fix Boo string regexes (#679).</li> <li>Add "rrt" style (#727).</li> <li>Fix infinite looping in Darcs Patch lexer.</li> <li>Lots of misc fixes to character-eating bugs and ordering problems in many different lexers.</li> </ul> </div> <div class="section" id="version-1-4"> <h3>Version 1.4</h3> <p>(codename Unschärfe, released Jan 03, 2011)</p> <ul class="simple"> <li>Lexers added:<ul> <li>Factor (#520)</li> <li>PostScript (#486)</li> <li>Verilog (#491)</li> <li>BlitzMax Basic (#478)</li> <li>Ioke (#465)</li> <li>Java properties, split out of the INI lexer (#445)</li> <li>Scss (#509)</li> <li>Duel/JBST</li> <li>XQuery (#617)</li> <li>Mason (#615)</li> <li>GoodData (#609)</li> <li>SSP (#473)</li> <li>Autohotkey (#417)</li> <li>Google Protocol Buffers</li> <li>Hybris (#506)</li> </ul> </li> <li>Do not fail in analyse_text methods (#618).</li> <li>Performance improvements in the HTML formatter (#523).</li> <li>With the <tt class="docutils literal">noclasses</tt> option in the HTML formatter, some styles present in the stylesheet were not added as inline styles.</li> <li>Four fixes to the Lua lexer (#480, #481, #482, #497).</li> <li>More context-sensitive Gherkin lexer with support for more i18n translations.</li> <li>Support new OO keywords in Matlab lexer (#521).</li> <li>Small fix in the CoffeeScript lexer (#519).</li> <li>A bugfix for backslashes in ocaml strings (#499).</li> <li>Fix unicode/raw docstrings in the Python lexer (#489).</li> <li>Allow PIL to work without PIL.pth (#502).</li> <li>Allow seconds as a unit in CSS (#496).</li> <li>Support <tt class="docutils literal">application/javascript</tt> as a JavaScript mime type (#504).</li> <li>Support <a class="reference external" href="http://offload.codeplay.com">Offload</a> C++ Extensions as keywords in the C++ lexer (#484).</li> <li>Escape more characters in LaTeX output (#505).</li> <li>Update Haml/Sass lexers to version 3 (#509).</li> <li>Small PHP lexer string escaping fix (#515).</li> <li>Support comments before preprocessor directives, and unsigned/ long long literals in C/C++ (#613, #616).</li> <li>Support line continuations in the INI lexer (#494).</li> <li>Fix lexing of Dylan string and char literals (#628).</li> <li>Fix class/procedure name highlighting in VB.NET lexer (#624).</li> </ul> </div> <div class="section" id="version-1-3-1"> <h3>Version 1.3.1</h3> <p>(bugfix release, released Mar 05, 2010)</p> <ul class="simple"> <li>The <tt class="docutils literal">pygmentize</tt> script was missing from the distribution.</li> </ul> </div> <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: 2013-01-09 17:48:44.022954 file id: changelog --> </html>