2 CHANGES - Changelog for GeSHi (geshi.php only)
4 Changes to the code are listed under the version they occured in, with who suggested
5 it by each one (if there's nobody listed as suggesting it I dreamed it up :)). Users
6 who suggested an idea often also provided the code that was used as a basis for the
7 changes - thanks to all who suggested these ideas and gave me the code to show me how!
9 Language files listed under each version were made by the author beside them, and then
10 modified by me for consistency/bug fixing.
12 Please send any bug reports to BenBE@omorphia.de, or use the bug report tracker
13 at sourceforge (http://sourceforge.net/tracker/?group_id=114997&atid=670231)
16 - Added language files
17 * DCS (Stelio Passaris)
18 * Locomotive Basic (Nacho Cabanes)
19 * LSL2 (Linden Scripting Language) (William Fry)
20 * Modula-3 (Martin Bishop)
22 * Rebol (Lecanu Guillaume)
23 - Fixed a problem where HardEscapes weren't working when no escape char was given (BenBE)
24 - Added a PARSER_CONTROL setting to treat whitespace inside of keywords in
25 the language file as "any whitespace" in the source (i.e. "CREATE TABLE"
26 in SQL will match "CREATE\s+TABLE" instead of literally matching) (BenBE)
27 - Added a possibility to allow setting the style for escape characters (BenBE)
28 - Improvements to language files (BenBE)
29 * Added some missing Perl keywords and obscure default variables (BenBE)
30 * Allow for escaped colons to appear in CSS names (BenBE, simon)
31 * Added multiline continuation suppoert of preprocessor defines for
32 C, C for Mac, C++ and CC++ with Qt support (BenBE)
33 * keywords for C-based languages are case-sensitive (BenBE)
34 * Broken AutoIt highlighting (BenBE)
35 * Problem with escaped backslash in PHP and D (BenBE)
36 * Added some more functions for PHP (BenBE)
37 * Some changes for AppleScript (Stefan Klieme)
38 * Forbid highlighting keywords followed by / in bash (BenBE)
39 * Updated the LaTeX file to link some keywords (BenBE)
40 * Additional text rendered when matching special variables for PowerShell (BenBE)
41 * Added some more keywords for ABAP (BenBE, Sandra Rossi, Jacob Laursen)
43 - Added language files
44 * Brainfuck \ Brainfork (Benny Baumann)
45 * HQ9+ (Benny Baumann)
46 * INTERCAL (Benny Baumann)
47 * LOLcode (Benny Baumann)
48 * LScript (Beau McGuigan)
49 * Pixel Bender (Richard Olsson)
50 * ProvideX (Jeff Wilder)
51 * VIM Script (Swaroop C H)
52 * Visual Prolog (Thomas Linder Puls)
53 * Whitespace (Benny Baumann)
54 - Changed priority for COMMENT_REGEXP compared to String highlighting (BenBE)
55 - Fixed correct escaping of spaces inside of URLs (BenBE)
56 - Updated the list of common file extensions (BenBE)
57 - Updated the language file check script in contrib/ (BenBE)
58 - Fixed a problem with link targets resulting in unclickable links (SF#2379120, BenBE)
59 - Fixed an undefined variable issue in langcheck.php (BenBE)
60 - Improvements to language files (BenBE)
61 * eMail Header highlighting now uses the correct delimiters for keywords (BenBE)
62 * eMail (RFC822\mbox) highlighting now highlights IPs, MIME types and
63 subfield assignments correctly (BenBE)
64 * Minor style changes in COBOL to improve loading performance (BenBE)
65 * Added some missing keywords for D (BenBE)
66 * Removed duplicate keywords from Progres, SAS and TSQL (BenBE)
67 * Fixed Heredoc Syntax for Bash (SF#2185319, BenBE)
68 * Moved symbol-lookalike sequences from keyword groups to separate symbol group
69 for languages asp, klonec, klonecpp, php, php-brief (BenBE)
70 * Fixed a lot of duplicate keyword warnings (BenBE)
71 * Added missing keywords to the Python language file,
72 introducing support for Python 3.0. (SF#2441839, milian)
73 * Updated documentation links for TypoScript (SF#2014276, BenBE)
74 * Fixed a problem with tag and attribute names in XML highlighting (SF#2276119, BenBE)
75 * Improved MySQL language file (BenBE, JavaWoman)
76 * Some commentss accidentially mistaken for DocComments (SF#2454897, BenBE)
77 * Added improved Escape Char handling for c, c_mac, cpp and cpp_qt (SF#2458743, BenBE)
79 - Added language files
80 * AviSynth (Ryan Jones)
81 * eMail \ mbox (Benny Baumann)
82 * GNU Make (Neil Bird)
83 * Oracle 11i support (Simon Redhead)
84 * Prolog (Benny Baumann)
85 * SciLab (Christophe David)
86 * TeraTerm macro language (Boris Maisuradze)
87 - Added support for Escape Regular Expressions (BenBE)
88 * Implemented C-style Escapes in PHP (BenBE)
89 * Introduced support for \xAB and \007 style Char Escapes in PHP (BenBE)
90 * Implemented Variable Highlighting in PHP (BenBE)
91 * Implemented Variable Highlighting in Bash (milian)
92 - Fixed a problem with PCRE patterns for Keyword matching sometimes producing
93 very large strings, that could not be handled by some versions of PCRE lib,
94 causing broken highlighting an Regexp Compile errors (BenBE, milian)
95 - Fixed broken highlighting of bash commands like `dbus-send --dest=org.....`,
96 i.e. the dest was highlighted as variable declaration (milian)
97 - Fixed broken highlighting of some symbols in their escaped form (BenBE)
98 (<SEMI> and <PIPE> were accidentially filtered even though they are valid)
99 - Fixed a "memory leak" in the *_regexp_caches (milian)
100 - Fixed broken Escape chars if classes were disabled
101 - start_line_numbers_at() was ignored when GESHI_HEADER_PRE_TABLE was set (revulo)
102 - Fixed a problem allowing Remote Code Inclusion under certain circumstances (BenBE)
103 - Changes to default CSS in order to make the GESHI_HEADER_PRE_TABLE align properly,
104 even on Windows / Mac systems with strange fonts (milian, revulo, ^RT)
105 - Minor style changes to the following languages:
109 - Improvements to language files (BenBE, milian)
110 * Added MinSpareThread\MaxSpareThreads to Apache highlighter (BenBE)
111 * Added new Keyword group for APT sources.list highlighter (BenBE)
112 * Fixed highlighting in LaTeX for \begin{} and \end{}, i.e. the stuff inside
113 the curly braces. (milian, thanks for the report go to Matthias Pospiech)
114 * Improved String support for D (BenBE)
115 * MySQL was seriously broken (BenBE)
116 * Reworked Keyword groups for MySQL to allow for more configuration (BenBE)
117 * Improved Mirc script language file (milian)
118 * Improved C++ Qt language file (milian)
119 * Minor bug with Transpose Operator in Matlab (BenBE, Daniele de Rigo)
120 * Highlighting of Batch Files for Windows (BenBE)
121 * Updated AutoIt to include latest changes for AutoIt v3.2.12.1 (BenBE, Thierry)
122 * Fixed duplicate keyword warnings for Perl, Tcl and Typoscript (BenBE)
123 * Fixed Doc-URL getting reparsed by highlighted keywords of other groups (BenBE, Jordi Boggiano)
125 - Added language files
126 * APT sources.list (milian)
128 * CIL (Common Intermediate Language, .NET Assembly) (Marcus Griep)
129 * COBOL (Benny Baumann)
131 * KLoneC (Mickael Auger)
132 * KLoneC++ (Mickael Auger)
133 * PIC16xxx assembler (Phil Mattison)
134 * POV-Ray (Carl Fürstenberg)
135 * PowerShell (Frode Aarebrot)
136 * Progress (Marco Aurelio de Pasqual)
137 * TypoScript (Jan-Philipp Halle)
138 * Xorg configuration (milian)
139 - Make GeSHi's constructor arguments optional, so something like `$foo = new GeSHi;` is possible. (milian)
140 - Added an optimizer for lists to regular expressions. Using these cached lists results in a speedup of approx. 50%.
141 The slightly increased memory consumption (~150KB for PHP language file) is more than worth it! (milian)
142 - Some more memory & speed optimizations all over GeSHi (milian)
143 * Reduced memory overhead when highlighting keywords (BenBE)
144 * Keyword Linking now uses considerably less strtolower calls (milian)
145 * Cache Symbol Search Regexp and make Symbol Highlighting faster (milian)
146 * Use more native functions like substr_replace and strcasecmp to speed things up (milian)
147 * Use considerably less strlen() calls on various points by caching the results (milian)
148 * Properly set comments to be case insensitive where appropriate to increase performance (milian)
149 * Improve the performance of the strict mode tokenizer, making highlighting of languages like
150 HTML, ColdFusion or XML faster (milian)
151 * Setup caches for parsing on demand to make stylesheet generators fast (milian)
152 - Various improvements to Strict Block Handling (BenBE, milian)
153 * Added support for RegExp-based Strict Blocks (BenBE)
154 * Fixed highlighting incorrectly stopping at ?> in PHP (SF#1330968, BenBE)
155 * Languages with STRICT_MODE_APPLIES = GESHI_MAYBE default to strict mode now. When no highlightable
156 code is found in this mode, we fallback to the same setting as if GESHI_NEVER was set. That way it
157 should not be needed to call enable_strictmode() manually. (milian)
158 - Added new GESHI_HEADER_PRE_VALID type which uses the following markup: (milian)
159 * With line numbers: <div>header<ol><li><pre>...</pre></li>...</ol></div>
160 * Without line numbers: <pre>header...CODE...</pre>
161 => valid HTML and no need for indentation
162 - Added new GESHI_HEADER_PRE_TABLE type which can be used to prevent linenumber-selection in Firefox
163 on copy'n'paste. (milian)
164 - set_language will not reset any language settings by default anymore.
165 * Added $force_reset param for to force full reload of a language. (milian)
166 * Make sure strict_mode is set properly when doing repeated set_language calls (milian)
167 - Fixed some problems with old PHP versions (SF#1975625, milian, BenBE)
168 - Fixed broken use with Suhosin Patch when /e modifier was disabled (SF#2021800, BenBE)
169 - Added support for external style information files to override language defaults without modifying language files (BenBE)
170 - The overall_class is now up to the user, and the language-code is _always_ added as a class (milian)
171 - Fixed Economy Mode for GeSHi::get_stylesheet() - now it just makes so much more sense! (milian)
172 - Fixed Economy Mode when COMMENT_REGEXP are used (BenBE)
173 - Changed the default encoding to use UTF-8, due to SF#2037598, BenBE)
174 - Improved overall string support:
175 * Added support for multichar string delimiters (SF#1932083, BenBE)
176 * Fixed problems of unfinished strings and comments producing invalid XHTML (SF#1996353, BenBE)
177 * Multichar Quotemarks sometimes had inconsistent behaviour (BenBE)
178 * Support for multiple styles of strings depending on the starter (BenBE)
179 * Properly handle escapes in strings, i.e. '\\' was not working properly before (milian)
180 * Fixed escape char support when an escape char is followed by multi-byte chars (SF#2037598, BenBE)
181 - Improved flexibility in language files (BenBE, milian)
182 * Added PARSER_CONTROL for OOLANG method highlighting (SF#1923060, BenBE)
183 * Added possibility to define strict blocks using an Regexp (BenBE)
184 * Removed explicit escaping of / in Regular Expressions (BenBE)
185 * Ignoring empty keyword groups when highlighting (milian)
186 * Make language_permissions configurable in language files via ['PARSER_CONTROL']['ENABLE_FLAGS']
187 this makes is_a calls unneeded and thus prevents PHP notices in PHP 5.x (milian)
188 * Extended support for number formats now covering the most common formats (SF#1923058, BenBE)
189 * Lifted a limitation that keywords had to have at least 2 subsequent letters (BenBE)
190 * Changed behaviour of PARSER_CONTROL now allowing to provide the full Lookahead and Lookbehind
191 expressions used as delimiters inside keywords instead of a simple char group (BenBE)
192 * Fixed improper handling of newlines in REGEXPS so this does not produce invalid html anylonger (milian)
193 - Some typos and mistakes in the documentation (BenBE)
194 - Added a script to contrib/ to verify language files are correct (BenBE)
195 - Fixed loads of compliancy warnings detected with that automated compliance testing script (BenBE)
196 - Many other improvements to various language files (BenBE, milian)
197 * Reduce strict errors & notices for language files (milian)
198 * Fixed symbol highlighting with C++ sometimes missing keywords after ; and comments (BenBE)
199 * Improved comment handling with TCL (Lars Hellström, BenBE)
200 * Fixed broken handling with XML comments (BenBE, SF#1849233)
201 * Fixed HTML comments spawning multiple lines producing invalid XHTML output (SF#1738173, BenBE)
202 * Added support for parameters beginning with dash in BASH language (BenBE)
203 * Support Apache's configuration sections, see http://httpd.apache.org/docs/2.2/sections.html (milian)
204 * Minor issue with PHP Heredoc and Nowdoc syntax sometimes not getting highlighted (BenBE)
205 * Updated Objective-C language file (SF#2013961, Quinn Taylor, BenBE)
206 * Added some keywords for VHDL (beshig, BenBE)
207 * Fixed severly broken ColdFusion language file (milian)
208 * Fixed some incorrectly highlighted things with the CSS language file (milian, BenBE)
209 * Improved Smarty language file (milian)
210 * Improved CSS language file (milian)
211 * Improved Pascal language file (milian)
212 * Improved LaTeX language file (Андрей Парамонов, BenBE)
213 * Fixed a regular expression in mIRC language file that caused a warning message to be issued (BenBE)
214 * Removed <, > and / from HTML names, now only containing the real tag names (BenBE)
215 * Use spaces instead of tabs for indendation in language files to have a consistent
216 coding standard accross geshi files (milian)
217 * Added some comment styles, keywords and added index highlighting (Chusslove Illich, Часлав Илић)
218 - Removed some private methods which were only called at exactly one place (milian)
219 * format_header_content
220 * format_footer_content
222 - Second part of default style changes. Affected in this release:
228 - Added language files
230 * KiXtart (Riley McArdle)
231 * Lotus Notes @Formulas (Richard Civil)
232 * LotusScript (Richard Civil)
234 * Scala (Franco Lombardo)
235 * ActionScript 3 (Jordi Boggiano)
236 * GNU Gettext .po/.pot (Milian Wolff)
237 * Verilog (Günter Dannoritzer)
238 - Fixed a problem not yet addressed in 1.0.7.21 regarding highlighting of
239 symbols that caused some extra characters to be added in the output or
240 broke highlighting and standard compliance due to missing escaping of
241 internally used characters (SF#192320 and SF#1926259, BenBE)
242 - Fixed missing style information for ocaml language file (The_PHP_Jedi)
243 - Fixed a bug causing masses of warnings in rendered output if language file
244 miss style information (The_PHP_Jedi, BenBE)
245 - Missing tab width information could lead to warnings (BenBE)
246 - Missing symbol information for ASP (SF#1952038, nfsupport, BenBE)
247 - Empty delimiter message with OOoBasic (BenBE, Ccornell)
248 - Escaping of comments in LaTeX ignored (SF#1749806, BenBE)
249 - Modified Math environment $$ in LaTeX to be non-greedy (BenBE)
250 - Added possibility to match a regexp as comment (SF#1914640, SF#1945301, SF#1934832, BenBE)
251 - Introduced C-Style multiline continuation comments (SF#1914640, SF#1945301, BenBE)
252 - Introduced Fortran Comments (SF#1914640, SF#1934832, BenBE)
253 - Implemented Heredoc and Nowdoc Syntax for PHP and Perl (SF#1914640, BenBE)
254 - Implemented Compiler Directives for Delphi (SF#1914640, BenBE)
255 - Implemented minimalistic support for JavaScript \ Perl Regular Expressions (SF#1786665, SF#1754333, SF#1956631, BenBE)
256 - Fixed Strings in Matlab to be handled as comments instead of regexps, to prevent keywords being linked (BenBE)
257 - Applied PARSER_CONTROL fix of CPP for CPP-QT-Derivative (BenBE)
258 - Fixed incorrect treatment of unequally long multiline comment separators (related to SF #1891630, BenBE)
259 - Added PARSER_CONTROL settings for keywords in ASM language file (SF#1835148, BenBE)
260 - Fixed missing CASSE_SENSITIVE entry for DOS language file (SF#1956314, BenBE)
261 - Fixed accidential highlighting of keywords in argument names (SF#1956456, Milian Wolff, BenBE)
262 - Fixed yet again some #-related bash problem (SF#1956459, Milian Wolff, BenBE)
263 - Added backticks as symbols (Milian Wolff)
264 - Example script remembers selections and source submitted (Milian Wolff)
265 - Example script allows remembered source and preselected language to be cleared (Milian Wolff)
266 - Example script now properly includes geshi and doesn't suppress error messages anylonger. (Milian Wolff)
267 - Code cleanup by using direct string indexing instead of substr with length 1 (Milian Wolff)
268 - Optimized generation of code parts in strict mode (Milian Wolff)
269 - Optimized COMMENT_REGEXP by using an incremental regexp cache (Milian Wolff, BenBE)
270 - Fixed a problem that rarely skipped highlighting of escaped chars which usually should have gotten highlighted (BenBE)
271 - Optimized generation of highlighted strings to use fast skip forward while highlighting them (Milian Wolff, BenBE)
272 - Optimization using basic rework of indent function improving tab expansion performance (BenBE)
273 - Lots of other minor optimizations based on coding style improvements (Milian Wolff)
274 - Implemented setting to force spans to be closed before newlines, see SF#1727398 (Milian Wolff)
275 - Added missing credits for D language file to THANKS file (SF#1720899, BenBE)
276 - Optimization to prevent loading the current language file twice (Milian Wolff)
277 - Optimization: Use file_get_contents() to load sourcecode from files.
278 Even if GeSHi worked with PHP 4.1 before, it doesn't now. (Milian Wolff)
279 - Added description of extra language features (SF#1970248, BenBE)
280 - Added support for highlighting the C# using and namespace directives (SF #1395677, BenBE)
281 - Added support for highlighting the Java import and package directives (SF #1395677, BenBE)
282 - Fixed minor problem in Haskell cuasing accidential start of comment (SF#1987221, BenBE)
283 - Fixed minor issue causing loads of warnings if a language files defines no symbols (BenBE)
284 - Updated some aspects of the documentation and included further hints (BenBE)
285 - First of series of color scheme changes. Affected languages (sofar):
296 * OpenOffice.org Basic
301 - Added language files
302 * Basic4GL (Matthew Webb)
303 - Fixed problem with mIRC language highlighting spaces only (BenBE)
304 - Language files can now specify a function to be called to decide the
305 colour of a regular expression match
306 - Added single quote to Lua (Darrin Roenfanz)
307 - Compare comments case insensitively (fixes AutoIT comments somewhat)
309 - Fixed symbols not being highlighted at all (SF #1767953, BenBE)
310 - Fixed brackets not correctly managed (SF #1767954, BenBE)
311 - Changed default languages for some extensions
312 - Included color and character information for symbol highlighting in some languages (BenBE)
313 - Fixed a problem with extension detection if default was used (BenBE)
314 - Fixed a highlighting problem with the LaTeX language (SF #1776182, BenBE)
315 - Added a new parameter for enable_highlighting to reduce source duplication (SF #1786104, BenBE)
316 - Updated doxygen documentation to include since tags and some missing parameters
317 - Disabled symbol highlighting by default (doesn't affect brackets, cf. documentation) (BenBE)
318 - Added a check for set_case_keywords for the given param to be supported (BenBE)
319 - Minor rework of the HTML documentation layout \ W3C compliance (BenBE)
320 - Fixed highlighting error in bash language avoiding keywords in comments (SF #1786314, SF #1564839, BenBE)
321 - Fixed template params for C++ and C# not being highlighted (SF #1772919, BenBE)
322 - Fixed more reported problems about mirc highlighting
323 - Added some missing keywords for VB.NET
324 - Fixed some warnings in DOS language file (Florian Angehrn)
325 - Add possibility to handle more than one extra line style (SF #1698255, German Rumm, BenBE)
326 - Fixed handling of URLs when output case differs from URL case (SF #1815504, Tom Samstag, BenBE)
327 - Fixed POD (Plain Old Documentation) format problems breaking highlighting of Perl (SF #1891630, Shannon Wynter, BenBE)
328 - Fixed a problem with mIRC when & was used for identifiers (SF #1875552, BenBE)
330 - Added language files
331 * Genero (logic) and Per (forms) (FOURJ's Genero 4GL) (Lars Gersmann)
333 * ABAP (Andres Picazo)
334 * Motorola 68k Assembler (for MC68HC908GP32 Microcontroller) (BenBE)
335 * Dot (Adrien Friggeri)
336 - Fixed java documentation search for keywords to actually go to the
337 documentation (spaze)
338 - Applied fix for bug 1688864 (bad regexes) (Tim Starling)
339 - Fixed comment CSS rule in visualfoxpro
340 - ThinBASIC language update (Eros Olmi)
341 - mIRC language update (BenBE)
342 - Fixed outdated documentation URL of Perl language file (RuralMoon by BenBE)
343 - Fixed tab replacement code not generating the correct number of spaces in
344 some cases (Guillermo Calvo)
345 - Fixed two typos in Z80 language file
346 - Applied fix for bug 1730168 (Daniel Naber)
347 - Applied fix for bug 1705482 (Jason Frame)
348 * Configurable line endings (Replace \n by custom string)
349 * per-language tab-widths (Adjustable for width>=1)
350 * Included defaults for ASM (x86, m68k, z80), C, C (Mac), C++, C++ (QT), C#,
351 Delphi, CSS,, HTML, PHP, PHP (Brief), QBasic, Ruby, XML
352 - Added a possibility to force generation of a surrounding tag around
353 the highlighted source
354 - Applied fix for additional keywords for the bash language
355 (cf. http://bash.thefreebizhost.com/bash_geshi.php, BenBE / Jan G)
356 - Fix bad colour definition in GML language (Andreas Gohr)
357 - Fixed phpdoc comments not being indented one space if they should be (Andy
360 - Added language files
361 * X++ (Simon Butcher)
362 * Rails (Moises Deniz)
363 - Fixed invalid HTML being generated and doctypes not being highlighted over
364 multiple lines properly when line numbers are on (Validome)
365 - Improved the ruby syntax highlighting by basing it off the Rails file
366 - Changed some regular expressions to possibly help with badly performing
367 regex support in PHP (Tim Starling)
368 - Allow {TIME}, {LANGUAGE} and {VERSION} to be used in the header as well as
369 the normal <TIME>/<LANGUAGE>/<VERSION> (AthanD)
370 - Changed comment regex in bash to prevent malformed XHTML (rv1971)
372 - Added language files
373 * ZiLOG Z80 Assembly (BenBE)
374 - Fixed incorrect highlighting when the starter of a multiline comment is
375 longer than the ender (Robert Anthony).
376 - Fixed "</span" generated if a multiline comment is the last thing in the
377 source (related to the above).
378 - Added #cs => #ce comment markers to AutoIT (Robert Anthony)
379 - Fixed spelling mistake for keyword in Python (wd3)
380 - Added a method to enable/disable keyword linking (Ian McKellar)
381 - Improved empty line detection for HTML output (BenBE)
382 - Changed code style of geshi.php, and removed tabs
384 - Fixed up ends of files having too many newlines (binarygroop)
385 - Removed background colour on keyword group in eiffel (Julian Tschannen)
386 - Removed GESHI_DIR_SEPARATOR constant usage, it's unnecessary (Aleksey Zapparov)
387 - Added /* ... */ comments to coldfusion (Jeff Howden)
389 - Added language files
390 * ActionScript (Steffen Krause)
392 * PL/SQL (Victor Engmark)
393 - Fixed up my e-mail address everywhere
394 - Fixed notice with "error" property (IZIU Zielona Góra)
395 - Added some entries to the get_language_name_from_extension table
396 (Stebastian Schuberth)
398 - Added language files
399 * BNF (Rowan Rodrik van der Molen)
400 * IO (me, thanks to Johnathan Wright)
401 * mIRC (Alberto de Areba Sánchez)
402 - Fixed use of colon in XML (Grigory Rubtsov)
403 - Fixed notices in text.php, reg.php and latex.php when $this is not
404 available (Clemens Weiß)
405 - Made third parameter of geshi_highlight optional (Gaetano Giunta)
406 - Fix incorrect highlighting of the $# variable in bash (Michael Knight)
407 - Fixed single line comment mistake in thinbasic.php (Eros Olmi)
409 - Added language files
410 * thinBasic (Eros Olmi)
411 * LaTeX (Matthais Pospiech)
412 - Removed extra newlines at the end of some files
413 - Fixed SF bug 1556404 - check before using $this in language files
416 - Added language files
417 * Uno IDL (Cedric Bosdonnat)
418 - Fixed add_ids causing odd XHTML (RyanJ)
419 - Fixed extra newline being added to end of result (Andreas Gohr)
421 - Fixed lines being collapsed when they contain just a space (artlover)
422 - Allowed matching for regexes using start/end matchers at the start/end
424 - Added (dubious) fix for google "I'm feeling lucky" search for java keywords
425 (dubious in that it doesn't work for me)
426 - mysql - Made the symbols into their own keyword group as the symbol group
427 isn't used. Added a style for multiline comments.
428 - Added a couple of php5 keywords to the php language files.
429 - Allow XML tags to have dashes.
430 - Changed LANG_NAME for many languages to be more sensible/correct case
432 - Added case-sensitivity indices to python
434 - Added language files
435 * Smalltalk (Bananeweizen)
436 - Minor style improvements to matlab
437 - Moved a couple of functions to the correct group in smarty (arwan)
439 - Added language files
440 * TCL (Reid van Melle)
441 * Winbatch (Craig Storey)
442 * Groovy (Ivan F. Villanueva B.)
445 - Removed \ as an escape character in T-SQL (Dave Jackson)
446 - Reset extra lines to highlight if source is changed (Diogo Resende)
447 - Allow setting of lexic permissions in language files (SmokingRope)
448 - Allow regexes to set a CSS class name (SmokingRope)
449 - Added URL support to DOS language (mastrboy)
451 - Added language files
452 * Fortran (Cedric Arrabie)
453 * SAS (Galen Johnson)
454 * CFDG (John Horigan)
455 - Fixed & in URL in java5 (Clemens Weiß)
456 - Added MD5 and SHA1 to mysql keywords (polarina)
457 - Fixes for highlight_lines_extra with line numbers (ithcy)
458 - Fixed backslash characters being removed (ArTourter)
460 - Fixed blank at start of MySQL file (W. Tasin)
461 - Fixed smarty functions being broken (ultrabob)
462 - Changed keyword and regexp detection and parsing
463 slightly to allow more "meta characters" (like #) in
465 - Minor fixes for XML and GML
467 - Added language files
468 * T-SQL (Duncan Lock)
469 * Robots.txt (Christian Lescuyer)
471 * Java 5 (Clemens Bruckmann)
473 - A few keyword changes in java, removed :: object splitter (amphi)
474 - Now using a simpler regular expression for numbers (Brice Bernard)
475 - Fixed ah, bh etc. regs being highlighted as numbers (Unknown)
477 - Fix backtick-string highlighting in ruby (Juan J. Martínez)
478 - Add =begin multiline comments in ruby (Juan J. Martínez)
479 - Added support for :keywords and ::access in lisp (Denis Mashkevich)
480 - Prevented number highlighting if they are just after underscores (Joce)
481 - Removed escape characters for strings in XML and HTML (floele)
482 - Added instanceof keyword to java (jgottschling)
483 - Fixed comments in ASP (SBD)
484 - Removed unnecessary keyword style index from ini
485 - Added support for " strings in ini
486 - Removed unnecessary regex style index from blitzbasic
487 - Keyword case of URL-ed keywords should be defined by language file (Benny Baumann)
488 - Added "Hardquote" feature, provides more accurate string highlighting (Cliff Stanford)
489 - Used hardquote support for @"..." strings in C# (Cliff Stanford)
490 - Used hardquote support for ' strings in perl (Cliff Stanford)
491 - Fixed setting of language path (Cliff Stanford)
492 - Display source correctly formatted with line numbers (if requested) if an error
493 has occured (several people)
494 - Having no source to highlight is not an error condition anymore
495 - Delphi language updated to include more keywords and types (BenBE)
496 - Updated NSIS to version 2.11 (deguix)
498 - Fix for using escape characters to escape newlines breaking XHTML compliance (Yves Goergen)
499 - Fixed method highlighting in VB (Matt Beale)
500 - Fixed multiline comment highlighting in SQL (MrBaseball34)
501 - Fixed two ">" symbols being outputted when using a footer but not CSS classes (MrBaseball34)
502 - Marked important block stuff as deprecated
503 - Some documentation tidyup
504 - Updated GML language file (Jos? Jorge Enr?quez Rodr?guez)
505 - THANKS file tidied up
506 - Fixed double </a> for elements in HTML (Yves Goergen)
507 - Added some keywords for ASM (Dreuzzo)
509 - Added language files
510 * MySQL (Carl Fürstenberg)
511 * BlitzBasic (Pàdraig O`Connel)
512 - Fixed up geshi_highlight function: it now correctly uses <code> instead of <div> (Remi Faure)
513 - When using GESHI_HEADER_NONE, remove the <ol> if line numbering is not enabled
514 - Commented example.php so people can use it as a guide better
515 - Fixed extra newline being generated if a comment is at the end
516 of the source (many people, including Yves Goergen)
517 - Fixed up some documentation issues
518 - Some minor language file fixes (C++, Lua) (Lua fixes by chromix)
519 - Fixed up no </span> in XML and other strict languages (regression from 1.0.7.3 fix: removed
520 unnecessary </span> when using strict mode) (Daniel Ecer, drskrud),
522 - Added language files
523 * Scheme (Jon Raphaelson)
524 * Ocaml and Ocaml-brief (Flaie)
526 - Make urls generated for java highlighting XHTML compliant (Tim Van Wassenhove)
527 - Removed unnecessary </span> when using strict mode (Tim Van Wassenhove)
528 - Fixed warning in dos.php about undefined constant (Tim Van Wassenhove)
529 - Fixed security hole in contrib/example.php - able to view any file if source
530 not set and language is set to wierd value (Maksymilian Arciemowicz)
532 - Added language files
533 * Inno (Thomas Klinger)
535 * DOS (Batchfile) (Alessandro Staltali)
536 * Applescript (Stephan Klimek)
537 * Freebasic (Roberto Rossi)
538 * SDLBasic (Roberto Rossi)
539 * ActionScript (links to French documentation) (NikO)
540 - NSIS language file updated (deguix)
541 - Lua language file updated (Roberto Rossi)
542 - Bugfix: Styles incorrectly overriding default styles instead of being merged
543 in set_*_styles methods (Stebastian Werner)
544 - Added GESHI_HEADER_NONE as valid header type. This still allows header content.
546 - Added language files:
547 * Div (Gabriel Lorenzo)
548 * GML (José Jorge Enríquez Rodríguez)
549 * Eiffel (Zoran Simic)
550 - Minor change to rules regarding when keywords can appear - now dots (.) are
551 allowed before keywords. (NikO)
552 - Bugfix: the line style for non-fancy lines when fancy highlighting is enabled
553 is now applied (Amit Gupta)
555 - Added language files:
556 * Diff (Conny Brunnkvist)
557 * VHDL (Alexander Krause)
559 * Matlab (Florian Knorn)
560 - Python highlighting improved (thither, Federico Quagliata)
561 - Changed file comments to use phpdoc syntax, and changed code style to be more
563 - Fixed bug in set_code_style: Second parameter is now optional
564 - The $_GESHI_ERRORS array is gone, error messages are internal to the GeSHi class
565 - Changed name of XML language to XML from HTML
566 - Removed min and max tab width checks
567 - Backported GeSHi 1.1.X's automatic language file path detection so you no longer
568 need to use the third parameter of the constructor or set_language_path except for
569 special circumstances.
570 - Source is checked to make sure it is not empty else an error occurs
571 - Removed excess characters after ?> in ada.php, apache.php and cpp.php that caused
572 http headers to be sent (psichron)
573 - Removed second "foreach" keyword for smarty language file that was causing
575 - Added underscore to allowed characters in match for XML tags (anonymous)
576 - Added some missing java keywords like "abstract" and "transient"
577 - Added "list" and "continue" PHP keywords
578 - set_language resets error status and strict mode (Andrew Black)
579 - Removed margin:0 declaration from cssgen.php (Andrzej Kubaszek)
580 - Fixed multiline comment selector in cssgen.php (Andrzej Kubaszek)
582 - Added support for smart tabs - tabs that behave just like normal tabs when in
583 GESHI_HEADER_DIV mode.
584 - Partial patch for UTF-8 encoding applied (doesn't quite work however...)
586 - Added language files:
588 * Oracle 8 (Guy Wicks)
589 - Fixed bug where not using an encoding type would sometime result in warnings (although
590 there still seems to be issues with encoding in general that I'm trying to gather more
591 data on) (Alexander Spennemann)
592 - Removed "margin: 0" from <ol> in an attempt to make line numbers visible in IE again
593 by default (untested, but I don't really care if it works... get firefox! ;))
594 - Added note on php5 support (Karim Scheik)
595 - Added two new methods: load_from_file and get_language_name_from_extension, that can
596 help automate file highlighting (though the extension array at this time is quite bare)
597 (David Gartner, Brian Cheesman)
599 - Fixed many version-reporting bugs (Jack Lloyd)
600 - Fixed bug where methods were not having the correct CSS generated for them
601 by get_stylesheet() (Jack Lloyd)
602 - Added new keywords to C and C++ files (Jack Lloyd)
603 - Added section on case sensitivity to documentation that wasn't in the other versions
605 - Added language files:
606 * Smarty (Alan Juden)
608 * VB.NET (Alan Juden)
609 * C for Macs (M. Uli Kusterer)
610 * Objective C (M. Uli Kusterer)
611 - Links can have a target attribute (Andreas Gohr)
612 - Fixed multiline string bug if not using classes
613 - Added method set_encoding that allows you to set the character
614 set used by calls to htmlentities() in GeSHi
615 - You can now specify an array of object splitters, and each
616 type of method separated by each object splitter can be highlighted
618 - If a language uses a case sensitive keyword group and that group
619 has a URL associated with it, the keyword will not be lowercased
620 in the URL (M. Uli Kusterer)
622 - Added language files:
623 * Actionscript (Steffen Krause)
625 * Bash (Andreas Gohr)
626 * CADDCL (Roberto Rossi)
627 * CadLisp (Roberto Rossi)
629 * Delphi (Járja Norbert)
630 * Javascript (Ben Keen)
631 * Lisp (Roberto Rossi)
632 * OpenOffice.org BASIC (Roberto Rossi)
633 * Perl (Andreas Gohr and Ben Keen)
634 * Python (Roberto Rossi)
635 * VisualFoxPro (Roberto Armellin)
636 * XML (Nigel McNie, from an idea/file by Christian Weiske)
637 - Added contrib/ directory with script to create one external stylesheet
638 from many languages(base script by Andreas Gohr, modified by Nigel McNie),
639 and an example script (needs lotsa work...)
640 - Code lines can have their own unique ID (for use with javascript)
641 (suggested by Andreas von Oettingen)
642 - Certain rows can be specified to be highlighted differently (suggested by
643 Andreas von Oettingen)
644 - Getter available for human-readable language name (suggested by Simon Patterson)
645 - Line numbers aren't highlighted when a user selects the code
646 - Contextual highlighting with <BEGIN GeSHi> ... <END GeSHi> in the code (which
648 - Functions can be made into URLs to appropriate documentation (suggested
649 by cybot_tm). Also thanks to Marcin Gryszkalis for the links for C, Java
651 - Code can have a header and footer
652 - Time taken to parse the code is recorded and made available with the get_time()
654 - error() now returns a human-readable error message
655 - Function geshi_highlight added to make it even easier to highlight on the fly
656 - Advanced regular expression handling
657 - Bug fixes to lexic_permission handling
659 - Added methods set_symbols_style() and set_symbols_highlighting(). These should be used
660 instead of set_brackets_style and set_brackets_highlighting respectively.
661 - Added a new field - language_path - that can be set either when the constructor is
662 called, or by the new method set_language_path(), that specifies a path to the directory
663 containing the language files (bug reported by bbspliff)
664 - Added a new method set_case_keywords(), that allows the auto-casing feature to be
665 changed on the fly instead of simply being specified in the language file
666 - If there is an error the source that is outputted is now handled much better
667 - Lines are broken in the source only by \n now, not by \r\n (to save on output source)
668 - Indentation moved into its own method
669 - Method header() modified to allow the user to choose whether the code is surrounded in
670 a <div> or a <pre> (see documentation for benefits of both). Method footer() likewise
672 - Method get_stylesheet() modified so that a smaller comment is outputted in economy mode,
673 and bugs with when line number classes are outputted in economy mode have been fixed
674 - Bug where spans had two quotes at the end of the attributes fixed (ie. <span style=".."">)
675 - Added language files:
677 * Apache log file (Tux)