CHANGES.html (6084B)
1 <html> 2 <head> 3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4 <title>Change Log</title> 5 </head> 6 <body bgcolor="white"> 7 <a style="float:right" href="README.html">README</a> 8 9 <h1>Known Issues</h1> 10 <ul> 11 <li>Perl formatting is really crappy. Partly because the author is lazy and 12 partly because Perl is 13 <a href="http://www.perlmonks.org/?node_id=663393">hard</a> to parse. 14 <li>On some browsers, <code><code></code> elements with newlines in the text 15 which use CSS to specify <code>white-space:pre</code> will have the newlines 16 improperly stripped if the element is not attached to the document at the time 17 the stripping is done. Also, on IE 6, all newlines will be stripped from 18 <code><code></code> elements because of the way IE6 produces 19 <code>innerHTML</code>. Workaround: use <code><pre></code> for code with 20 newlines. 21 </ul> 22 23 <h1>Change Log</h1> 24 <h2>29 March 2007</h2> 25 <ul> 26 <li>Added <a href="tests/prettify_test.html#PHP">tests</a> for PHP support 27 to address 28 <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=3" 29 >issue 3</a>. 30 <li>Fixed 31 <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=6" 32 >bug</a>: <code>prettyPrintOne</code> was not halting. This was not 33 reachable through the normal entry point. 34 <li>Fixed 35 <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=4" 36 >bug</a>: recursing into a script block or PHP tag that was not properly 37 closed would not silently drop the content. 38 (<a href="tests/prettify_test.html#issue4">test</a>) 39 <li>Fixed 40 <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=8" 41 >bug</a>: was eating tabs 42 (<a href="tests/prettify_test.html#issue8">test</a>) 43 <li>Fixed entity handling so that the caveat 44 <blockquote> 45 <p>Caveats: please properly escape less-thans. <tt>x&lt;y</tt> 46 instead of <tt>x<y</tt>, and use <tt>"</tt> instead of 47 <tt>&quot;</tt> for string delimiters.</p> 48 </blockquote> 49 is no longer applicable. 50 <li>Added noisefree's C# 51 <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=4" 52 >patch</a> 53 <li>Added a <a href="http://google-code-prettify.googlecode.com/files/prettify-small.zip">distribution</a> that has comments and 54 whitespace removed to reduce download size from 45.5kB to 12.8kB. 55 </ul> 56 <h2>4 Jul 2008</h2> 57 <ul> 58 <li>Added <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=17">language specific formatters</a> that are triggered by the presence 59 of a <code>lang-<language-file-extension></code></li> 60 <li>Fixed <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=29">bug</a>: python handling of <code>'''string'''</code> 61 <li>Fixed bug: <code>/</code> in regex <code>[charsets] should not end regex</code> 62 </ul> 63 <h2>5 Jul 2008</h2> 64 <ul> 65 <li>Defined language extensions for Lisp and Lua</code> 66 </ul> 67 <h2>14 Jul 2008</h2> 68 <ul> 69 <li>Language handlers for F#, OCAML, SQL</code> 70 <li>Support for <code>nocode</code> spans to allow embedding of line 71 numbers and code annotations which should not be styled or otherwise 72 affect the tokenization of prettified code. 73 See the issue 22 74 <a href="tests/prettify_test.html#issue22">testcase</a>.</code> 75 </ul> 76 <h2>6 Jan 2009</h2> 77 <ul> 78 <li>Language handlers for Visual Basic, Haskell, CSS, and WikiText</li> 79 <li>Added <tt>.mxml</tt> extension to the markup style handler for 80 Flex <a href="http://en.wikipedia.org/wiki/MXML">MXML files</a>. See 81 <a 82 href="http://code.google.com/p/google-code-prettify/issues/detail?id=37" 83 >issue 37</a>. 84 <li>Added <tt>.m</tt> extension to the C style handler so that Objective 85 C source files properly highlight. See 86 <a 87 href="http://code.google.com/p/google-code-prettify/issues/detail?id=58" 88 >issue 58</a>. 89 <li>Changed HTML lexer to use the same embedded source mechanism as the 90 wiki language handler, and changed to use the registered 91 CSS handler for STYLE element content. 92 </ul> 93 <h2>21 May 2009</h2> 94 <ul> 95 <li>Rewrote to improve performance on large files. 96 See <a href="http://mikesamuel.blogspot.com/2009/05/efficient-parsing-in-javascript.html">benchmarks</a>.</li> 97 <li>Fixed bugs with highlighting of Haskell line comments, Lisp 98 number literals, Lua strings, C preprocessor directives, 99 newlines in Wiki code on Windows, and newlines in IE6.</li> 100 </ul> 101 <h2>14 August 2009</h2> 102 <ul> 103 <li>Fixed prettifying of <code><code></code> blocks with embedded newlines. 104 </ul> 105 <h2>3 October 2009</h2> 106 <ul> 107 <li>Fixed prettifying of XML/HTML tags that contain uppercase letters. 108 </ul> 109 <h2>19 July 2010</h2> 110 <ul> 111 <li>Added support for line numbers. Bug 112 <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=22" 113 >22</a></li> 114 <li>Added YAML support. Bug 115 <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=123" 116 >123</a></li> 117 <li>Added VHDL support courtesy Le Poussin.</li> 118 <li>IE performance improvements. Bug 119 <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=102" 120 >102</a> courtesy jacobly.</li> 121 <li>A variety of markup formatting fixes courtesy smain and thezbyg.</li> 122 <li>Fixed copy and paste in IE[678]. 123 <li>Changed output to use <code>&#160;</code> instead of 124 <code>&nbsp;</code> so that the output works when embedded in XML. 125 Bug 126 <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=108" 127 >108</a>.</li> 128 </ul> 129 </body> 130 </html>