Donate Share

GeSHi - Generic Syntax Highlighter

File Release Notes and Changelog

Release Name: GeSHi 1.1.2alpha1

Notes:
New features in this release include much improved support for PHP highlighting -
constants, function names and calls, and PHPDoc highlighting have all been either
added or improved. Also there is support in the C language for highlighting correctly
even when backslash-newlines occur in the source. There are a couple of minor
improvements to other languages as well.

Changes: 2006-06-17 19:38 oracleshinoda * class.geshi.php: Updated version for 1.1.2alpha1 release. 2006-06-17 00:45 oracleshinoda * geshi/languages/c/class.geshiccodeparser.php: Make C use the new source preprocessing feature to remember/remove "\\\n" where it occurs, and then put them back in when parseToken() is being called, with the net result that escaped newlines do not affect parsing. 2006-06-17 00:44 oracleshinoda * geshi/classes/class.geshicodeparser.php: Added sourcePreProcess API method for code parsers. A child code parser can implement this to gather information about the source before it's parsed. 2006-06-17 00:42 oracleshinoda * class.geshi.php: Allow the code parser to look at the source before any highlighting occurs so it can gather information. C is using this to remember/remove "\\\n" where it occurs, and then put them back in when parseToken() is being called, with the net result that escaped newlines do not affect parsing. 2006-06-14 21:54 oracleshinoda * geshi/themes/: default/php/php.php, default/php/php4.php, default/php/php5.php, phpsyntax/php/php.php: Added colours for the new features for PHP, e.g. the start of variables, phpdoc stuff, function names and calls etc. 2006-06-14 21:53 oracleshinoda * geshi/themes/default/css/css.php: Darkened the colours for css classes and IDs so they're more readable. 2006-06-14 21:52 oracleshinoda * geshi/languages/php/common.php: Added support for highlighting the $ in variables differently. Changed highlighting of /** ... */ to be native to PHP instead of hooking in doxygen, which allows much more configurability. 2006-06-14 21:50 oracleshinoda * geshi/languages/php/class.geshiphpcodeparser.php: Added support in the PHP code parser for detecting: * Class names in the source (fully unlike currently), including static class names that are not defined in the source * User-defined constants (e.g. define('FOO', 1); and then references to FOO in the file). This doesn't handle wierd cases like define($foo, 1); * Function/method names * PHPDoc tags to a much greater level than for doxygen * Function calls 2006-06-14 21:47 oracleshinoda * geshi/languages/java/class.geshijavacodeparser.php: Moved java code parser over to using the new generic stack. Also added some notes about stuff to remove for 1.1.2 and cleaned up the file to meet coding standards a little better. 2006-06-14 21:46 oracleshinoda * geshi/languages/doxygen/doxygen.php: Made a much better starter-detection regex for doxygen tags using a lookbehind. 2006-06-14 21:45 oracleshinoda * geshi/languages/delphi/class.geshidelphicodeparser.php: Moved delphi code parser over to using the generic code parser stack. 2006-06-14 21:44 oracleshinoda * geshi/languages/css/common.php: Made the . and # in css classes/IDs respectively be symbols instead of part of the identifier. 2006-06-14 21:43 oracleshinoda * geshi/languages/c/class.geshiccodeparser.php: Removed unnecessary constructor. 2006-06-14 21:43 oracleshinoda * geshi/classes/renderers/class.geshirendererhtml.php: HTML escape the URL when rendering HTML. 2006-06-14 21:41 oracleshinoda * geshi/classes/class.geshicodeparser.php: Moved stack stuff for the code parsers into the parent class. It's use is completely optional, but at least now it is standardised. 2006-06-14 21:40 oracleshinoda * geshi/classes/class.geshicodecontext.php: Removed some cruft. 2006-06-14 21:39 oracleshinoda * class.geshi.php: Code parsers now get the styler using geshi_styler so there's no reason to pass it here.