ThirdParty/Pygments/pygments/CHANGES

changeset 0
de9c2efb9d02
child 12
1d8dd9706f46
equal deleted inserted replaced
-1:000000000000 0:de9c2efb9d02
1 Pygments changelog
2 ==================
3
4 Issue numbers refer to the tracker at http://dev.pocoo.org/projects/pygments/.
5
6 Version 1.1
7 -----------
8 (codename Brillouin, released Sep 11, 2009)
9
10 - Ported Pygments to Python 3. This needed a few changes in the way
11 encodings are handled; they may affect corner cases when used with
12 Python 2 as well.
13
14 - Lexers added:
15
16 * Antlr/Ragel, thanks to Ana Nelson
17 * (Ba)sh shell
18 * Erlang shell
19 * GLSL
20 * Prolog
21 * Evoque
22 * Modelica
23 * Rebol
24 * MXML
25 * Cython
26 * ABAP
27 * ASP.net (VB/C#)
28 * Vala
29 * Newspeak
30
31 - Fixed the LaTeX formatter's output so that output generated for one style
32 can be used with the style definitions of another (#384).
33
34 - Added "anchorlinenos" and "noclobber_cssfile" (#396) options to HTML
35 formatter.
36
37 - Support multiline strings in Lua lexer.
38
39 - Rewrite of the JavaScript lexer by Pumbaa80 to better support regular
40 expression literals (#403).
41
42 - When pygmentize is asked to highlight a file for which multiple lexers
43 match the filename, use the analyse_text guessing engine to determine the
44 winner (#355).
45
46 - Fixed minor bugs in the JavaScript lexer (#383), the Matlab lexer (#378),
47 the Scala lexer (#392), the INI lexer (#391), the Clojure lexer (#387)
48 and the AS3 lexer (#389).
49
50 - Fixed three Perl heredoc lexing bugs (#379, #400, #422).
51
52 - Fixed a bug in the image formatter which misdetected lines (#380).
53
54 - Fixed bugs lexing extended Ruby strings and regexes.
55
56 - Fixed a bug when lexing git diffs.
57
58 - Fixed a bug lexing the empty commit in the PHP lexer (#405).
59
60 - Fixed a bug causing Python numbers to be mishighlighted as floats (#397).
61
62 - Fixed a bug when backslashes are used in odd locations in Python (#395).
63
64 - Fixed various bugs in Matlab and S-Plus lexers, thanks to Winston Chang (#410,
65 #411, #413, #414) and fmarc (#419).
66
67 - Fixed a bug in Haskell single-line comment detection (#426).
68
69 - Added new-style reStructuredText directive for docutils 0.5+ (#428).
70
71
72 Version 1.0
73 -----------
74 (codename Dreiundzwanzig, released Nov 23, 2008)
75
76 - Don't use join(splitlines()) when converting newlines to ``\n``,
77 because that doesn't keep all newlines at the end when the
78 ``stripnl`` lexer option is False.
79
80 - Add ``-N`` option to command-line interface to get a lexer name
81 for a given filename.
82
83 - Add Tango style, written by Andre Roberge for the Crunchy project.
84
85 - Add Python3TracebackLexer and ``python3`` option to
86 PythonConsoleLexer.
87
88 - Fix a few bugs in the Haskell lexer.
89
90 - Fix PythonTracebackLexer to be able to recognize SyntaxError and
91 KeyboardInterrupt (#360).
92
93 - Provide one formatter class per image format, so that surprises like::
94
95 pygmentize -f gif -o foo.gif foo.py
96
97 creating a PNG file are avoided.
98
99 - Actually use the `font_size` option of the image formatter.
100
101 - Fixed numpy lexer that it doesn't listen for `*.py` any longer.
102
103 - Fixed HTML formatter so that text options can be Unicode
104 strings (#371).
105
106 - Unified Diff lexer supports the "udiff" alias now.
107
108 - Fix a few issues in Scala lexer (#367).
109
110 - RubyConsoleLexer now supports simple prompt mode (#363).
111
112 - JavascriptLexer is smarter about what constitutes a regex (#356).
113
114 - Add Applescript lexer, thanks to Andreas Amann (#330).
115
116 - Make the codetags more strict about matching words (#368).
117
118 - NginxConfLexer is a little more accurate on mimetypes and
119 variables (#370).
120
121
122 Version 0.11.1
123 --------------
124 (released Aug 24, 2008)
125
126 - Fix a Jython compatibility issue in pygments.unistring (#358).
127
128
129 Version 0.11
130 ------------
131 (codename Straußenei, released Aug 23, 2008)
132
133 Many thanks go to Tim Hatch for writing or integrating most of the bug
134 fixes and new features.
135
136 - Lexers added:
137
138 * Nasm-style assembly language, thanks to delroth
139 * YAML, thanks to Kirill Simonov
140 * ActionScript 3, thanks to Pierre Bourdon
141 * Cheetah/Spitfire templates, thanks to Matt Good
142 * Lighttpd config files
143 * Nginx config files
144 * Gnuplot plotting scripts
145 * Clojure
146 * POV-Ray scene files
147 * Sqlite3 interactive console sessions
148 * Scala source files, thanks to Krzysiek Goj
149
150 - Lexers improved:
151
152 * C lexer highlights standard library functions now and supports C99
153 types.
154 * Bash lexer now correctly highlights heredocs without preceding
155 whitespace.
156 * Vim lexer now highlights hex colors properly and knows a couple
157 more keywords.
158 * Irc logs lexer now handles xchat's default time format (#340) and
159 correctly highlights lines ending in ``>``.
160 * Support more delimiters for perl regular expressions (#258).
161 * ObjectiveC lexer now supports 2.0 features.
162
163 - Added "Visual Studio" style.
164
165 - Updated markdown processor to Markdown 1.7.
166
167 - Support roman/sans/mono style defs and use them in the LaTeX
168 formatter.
169
170 - The RawTokenFormatter is no longer registered to ``*.raw`` and it's
171 documented that tokenization with this lexer may raise exceptions.
172
173 - New option ``hl_lines`` to HTML formatter, to highlight certain
174 lines.
175
176 - New option ``prestyles`` to HTML formatter.
177
178 - New option *-g* to pygmentize, to allow lexer guessing based on
179 filetext (can be slowish, so file extensions are still checked
180 first).
181
182 - ``guess_lexer()`` now makes its decision much faster due to a cache
183 of whether data is xml-like (a check which is used in several
184 versions of ``analyse_text()``. Several lexers also have more
185 accurate ``analyse_text()`` now.
186
187
188 Version 0.10
189 ------------
190 (codename Malzeug, released May 06, 2008)
191
192 - Lexers added:
193
194 * Io
195 * Smalltalk
196 * Darcs patches
197 * Tcl
198 * Matlab
199 * Matlab sessions
200 * FORTRAN
201 * XSLT
202 * tcsh
203 * NumPy
204 * Python 3
205 * S, S-plus, R statistics languages
206 * Logtalk
207
208 - In the LatexFormatter, the *commandprefix* option is now by default
209 'PY' instead of 'C', since the latter resulted in several collisions
210 with other packages. Also, the special meaning of the *arg*
211 argument to ``get_style_defs()`` was removed.
212
213 - Added ImageFormatter, to format code as PNG, JPG, GIF or BMP.
214 (Needs the Python Imaging Library.)
215
216 - Support doc comments in the PHP lexer.
217
218 - Handle format specifications in the Perl lexer.
219
220 - Fix comment handling in the Batch lexer.
221
222 - Add more file name extensions for the C++, INI and XML lexers.
223
224 - Fixes in the IRC and MuPad lexers.
225
226 - Fix function and interface name highlighting in the Java lexer.
227
228 - Fix at-rule handling in the CSS lexer.
229
230 - Handle KeyboardInterrupts gracefully in pygmentize.
231
232 - Added BlackWhiteStyle.
233
234 - Bash lexer now correctly highlights math, does not require
235 whitespace after semicolons, and correctly highlights boolean
236 operators.
237
238 - Makefile lexer is now capable of handling BSD and GNU make syntax.
239
240
241 Version 0.9
242 -----------
243 (codename Herbstzeitlose, released Oct 14, 2007)
244
245 - Lexers added:
246
247 * Erlang
248 * ActionScript
249 * Literate Haskell
250 * Common Lisp
251 * Various assembly languages
252 * Gettext catalogs
253 * Squid configuration
254 * Debian control files
255 * MySQL-style SQL
256 * MOOCode
257
258 - Lexers improved:
259
260 * Greatly improved the Haskell and OCaml lexers.
261 * Improved the Bash lexer's handling of nested constructs.
262 * The C# and Java lexers exhibited abysmal performance with some
263 input code; this should now be fixed.
264 * The IRC logs lexer is now able to colorize weechat logs too.
265 * The Lua lexer now recognizes multi-line comments.
266 * Fixed bugs in the D and MiniD lexer.
267
268 - The encoding handling of the command line mode (pygmentize) was
269 enhanced. You shouldn't get UnicodeErrors from it anymore if you
270 don't give an encoding option.
271
272 - Added a ``-P`` option to the command line mode which can be used to
273 give options whose values contain commas or equals signs.
274
275 - Added 256-color terminal formatter.
276
277 - Added an experimental SVG formatter.
278
279 - Added the ``lineanchors`` option to the HTML formatter, thanks to
280 Ian Charnas for the idea.
281
282 - Gave the line numbers table a CSS class in the HTML formatter.
283
284 - Added a Vim 7-like style.
285
286
287 Version 0.8.1
288 -------------
289 (released Jun 27, 2007)
290
291 - Fixed POD highlighting in the Ruby lexer.
292
293 - Fixed Unicode class and namespace name highlighting in the C# lexer.
294
295 - Fixed Unicode string prefix highlighting in the Python lexer.
296
297 - Fixed a bug in the D and MiniD lexers.
298
299 - Fixed the included MoinMoin parser.
300
301
302 Version 0.8
303 -----------
304 (codename Maikäfer, released May 30, 2007)
305
306 - Lexers added:
307
308 * Haskell, thanks to Adam Blinkinsop
309 * Redcode, thanks to Adam Blinkinsop
310 * D, thanks to Kirk McDonald
311 * MuPad, thanks to Christopher Creutzig
312 * MiniD, thanks to Jarrett Billingsley
313 * Vim Script, by Tim Hatch
314
315 - The HTML formatter now has a second line-numbers mode in which it
316 will just integrate the numbers in the same ``<pre>`` tag as the
317 code.
318
319 - The `CSharpLexer` now is Unicode-aware, which means that it has an
320 option that can be set so that it correctly lexes Unicode
321 identifiers allowed by the C# specs.
322
323 - Added a `RaiseOnErrorTokenFilter` that raises an exception when the
324 lexer generates an error token, and a `VisibleWhitespaceFilter` that
325 converts whitespace (spaces, tabs, newlines) into visible
326 characters.
327
328 - Fixed the `do_insertions()` helper function to yield correct
329 indices.
330
331 - The ReST lexer now automatically highlights source code blocks in
332 ".. sourcecode:: language" and ".. code:: language" directive
333 blocks.
334
335 - Improved the default style (thanks to Tiberius Teng). The old
336 default is still available as the "emacs" style (which was an alias
337 before).
338
339 - The `get_style_defs` method of HTML formatters now uses the
340 `cssclass` option as the default selector if it was given.
341
342 - Improved the ReST and Bash lexers a bit.
343
344 - Fixed a few bugs in the Makefile and Bash lexers, thanks to Tim
345 Hatch.
346
347 - Fixed a bug in the command line code that disallowed ``-O`` options
348 when using the ``-S`` option.
349
350 - Fixed a bug in the `RawTokenFormatter`.
351
352
353 Version 0.7.1
354 -------------
355 (released Feb 15, 2007)
356
357 - Fixed little highlighting bugs in the Python, Java, Scheme and
358 Apache Config lexers.
359
360 - Updated the included manpage.
361
362 - Included a built version of the documentation in the source tarball.
363
364
365 Version 0.7
366 -----------
367 (codename Faschingskrapfn, released Feb 14, 2007)
368
369 - Added a MoinMoin parser that uses Pygments. With it, you get
370 Pygments highlighting in Moin Wiki pages.
371
372 - Changed the exception raised if no suitable lexer, formatter etc. is
373 found in one of the `get_*_by_*` functions to a custom exception,
374 `pygments.util.ClassNotFound`. It is, however, a subclass of
375 `ValueError` in order to retain backwards compatibility.
376
377 - Added a `-H` command line option which can be used to get the
378 docstring of a lexer, formatter or filter.
379
380 - Made the handling of lexers and formatters more consistent. The
381 aliases and filename patterns of formatters are now attributes on
382 them.
383
384 - Added an OCaml lexer, thanks to Adam Blinkinsop.
385
386 - Made the HTML formatter more flexible, and easily subclassable in
387 order to make it easy to implement custom wrappers, e.g. alternate
388 line number markup. See the documentation.
389
390 - Added an `outencoding` option to all formatters, making it possible
391 to override the `encoding` (which is used by lexers and formatters)
392 when using the command line interface. Also, if using the terminal
393 formatter and the output file is a terminal and has an encoding
394 attribute, use it if no encoding is given.
395
396 - Made it possible to just drop style modules into the `styles`
397 subpackage of the Pygments installation.
398
399 - Added a "state" keyword argument to the `using` helper.
400
401 - Added a `commandprefix` option to the `LatexFormatter` which allows
402 to control how the command names are constructed.
403
404 - Added quite a few new lexers, thanks to Tim Hatch:
405
406 * Java Server Pages
407 * Windows batch files
408 * Trac Wiki markup
409 * Python tracebacks
410 * ReStructuredText
411 * Dylan
412 * and the Befunge esoteric programming language (yay!)
413
414 - Added Mako lexers by Ben Bangert.
415
416 - Added "fruity" style, another dark background originally vim-based
417 theme.
418
419 - Added sources.list lexer by Dennis Kaarsemaker.
420
421 - Added token stream filters, and a pygmentize option to use them.
422
423 - Changed behavior of `in` Operator for tokens.
424
425 - Added mimetypes for all lexers.
426
427 - Fixed some problems lexing Python strings.
428
429 - Fixed tickets: #167, #178, #179, #180, #185, #201.
430
431
432 Version 0.6
433 -----------
434 (codename Zimtstern, released Dec 20, 2006)
435
436 - Added option for the HTML formatter to write the CSS to an external
437 file in "full document" mode.
438
439 - Added RTF formatter.
440
441 - Added Bash and Apache configuration lexers (thanks to Tim Hatch).
442
443 - Improved guessing methods for various lexers.
444
445 - Added `@media` support to CSS lexer (thanks to Tim Hatch).
446
447 - Added a Groff lexer (thanks to Tim Hatch).
448
449 - License change to BSD.
450
451 - Added lexers for the Myghty template language.
452
453 - Added a Scheme lexer (thanks to Marek Kubica).
454
455 - Added some functions to iterate over existing lexers, formatters and
456 lexers.
457
458 - The HtmlFormatter's `get_style_defs()` can now take a list as an
459 argument to generate CSS with multiple prefixes.
460
461 - Support for guessing input encoding added.
462
463 - Encoding support added: all processing is now done with Unicode
464 strings, input and output are converted from and optionally to byte
465 strings (see the ``encoding`` option of lexers and formatters).
466
467 - Some improvements in the C(++) lexers handling comments and line
468 continuations.
469
470
471 Version 0.5.1
472 -------------
473 (released Oct 30, 2006)
474
475 - Fixed traceback in ``pygmentize -L`` (thanks to Piotr Ozarowski).
476
477
478 Version 0.5
479 -----------
480 (codename PyKleur, released Oct 30, 2006)
481
482 - Initial public release.

eric ide

mercurial