From 9d3444e96c3ed59767ef9ba1d21a945134785682 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 28 Jan 2006 22:28:21 +0000 Subject: [PATCH] Updating GeSHi to latest version, 1.0.7.6 --- includes/geshi/geshi.php | 121 ++++--- includes/geshi/geshi/actionscript-french.php | 6 +- includes/geshi/geshi/actionscript.php | 6 +- includes/geshi/geshi/ada.php | 6 +- includes/geshi/geshi/apache.php | 6 +- includes/geshi/geshi/applescript.php | 6 +- includes/geshi/geshi/asm.php | 6 +- includes/geshi/geshi/asp.php | 12 +- includes/geshi/geshi/bash.php | 6 +- includes/geshi/geshi/blitzbasic.php | 12 +- includes/geshi/geshi/c.php | 6 +- includes/geshi/geshi/c_mac.php | 6 +- includes/geshi/geshi/caddcl.php | 6 +- includes/geshi/geshi/cadlisp.php | 6 +- includes/geshi/geshi/cpp.php | 6 +- includes/geshi/geshi/csharp.php | 10 +- includes/geshi/geshi/css.php | 6 +- includes/geshi/geshi/d.php | 6 +- includes/geshi/geshi/delphi.php | 337 ++++++++++++------- includes/geshi/geshi/diff.php | 6 +- includes/geshi/geshi/div.php | 6 +- includes/geshi/geshi/dos.php | 6 +- includes/geshi/geshi/eiffel.php | 6 +- includes/geshi/geshi/freebasic.php | 2 +- includes/geshi/geshi/gml.php | 6 +- includes/geshi/geshi/html4strict.php | 12 +- includes/geshi/geshi/ini.php | 14 +- includes/geshi/geshi/inno.php | 6 +- includes/geshi/geshi/java.php | 10 +- includes/geshi/geshi/javascript.php | 6 +- includes/geshi/geshi/lisp.php | 14 +- includes/geshi/geshi/lua.php | 6 +- includes/geshi/geshi/matlab.php | 6 +- includes/geshi/geshi/mpasm.php | 6 +- includes/geshi/geshi/mysql.php | 6 +- includes/geshi/geshi/nsis.php | 58 +++- includes/geshi/geshi/objc.php | 6 +- includes/geshi/geshi/ocaml-brief.php | 6 +- includes/geshi/geshi/ocaml.php | 6 +- includes/geshi/geshi/oobas.php | 6 +- includes/geshi/geshi/oracle8.php | 6 +- includes/geshi/geshi/pascal.php | 6 +- includes/geshi/geshi/perl.php | 17 +- includes/geshi/geshi/php-brief.php | 6 +- includes/geshi/geshi/php.php | 6 +- includes/geshi/geshi/python.php | 6 +- includes/geshi/geshi/qbasic.php | 6 +- includes/geshi/geshi/ruby.php | 18 +- includes/geshi/geshi/scheme.php | 6 +- includes/geshi/geshi/sdlbasic.php | 6 +- includes/geshi/geshi/smarty.php | 6 +- includes/geshi/geshi/sql.php | 6 +- includes/geshi/geshi/vb.php | 6 +- includes/geshi/geshi/vbnet.php | 6 +- includes/geshi/geshi/vhdl.php | 6 +- includes/geshi/geshi/visualfoxpro.php | 4 +- includes/geshi/geshi/xml.php | 10 +- 57 files changed, 552 insertions(+), 351 deletions(-) diff --git a/includes/geshi/geshi.php b/includes/geshi/geshi.php index 4319afa..6f54077 100644 --- a/includes/geshi/geshi.php +++ b/includes/geshi/geshi.php @@ -28,7 +28,7 @@ * @author Nigel McNie * @copyright Copyright © 2004, 2005, Nigel McNie * @license http://gnu.org/copyleft/gpl.html GNU GPL - * @version $Id: geshi.php,v 1.23 2005/11/19 02:23:37 oracleshinoda Exp $ + * @version $Id: geshi.php,v 1.28 2006/01/21 23:31:39 oracleshinoda Exp $ * */ @@ -40,10 +40,7 @@ // /** The version of this GeSHi file */ -define('GESHI_VERSION', '1.0.7.5'); - -/** For the future (though this may never be realised) */ -define('GESHI_OUTPUT_HTML', 0); +define('GESHI_VERSION', '1.0.7.6'); /** Set the correct directory separator */ define('GESHI_DIR_SEPARATOR', ('WIN' != substr(PHP_OS, 0, 3)) ? '/' : '\\'); @@ -131,7 +128,9 @@ define('GESHI_AFTER', 4); define('GESHI_COMMENTS', 0); // Error detection - use these to analyse faults -/** No sourcecode to highlight was specified */ +/** No sourcecode to highlight was specified + * @deprecated + */ define('GESHI_ERROR_NO_INPUT', 1); /** The language specified does not exist */ define('GESHI_ERROR_NO_SUCH_LANG', 2); @@ -196,7 +195,7 @@ class GeSHi * @var array */ var $error_messages = array( - GESHI_ERROR_NO_INPUT => 'No source code inputted', + //GESHI_ERROR_NO_INPUT => 'No source code inputted', GESHI_ERROR_NO_SUCH_LANG => 'GeSHi could not find the language {LANGUAGE} (using path {PATH})', GESHI_ERROR_FILE_NOT_READABLE => 'The file specified for load_from_file was not readable', GESHI_ERROR_INVALID_HEADER_TYPE => 'The header type specified is invalid', @@ -224,6 +223,7 @@ class GeSHi * a <pre> HTML element. *
  • GESHI_HEADER_DIV: Source is outputted in * a <div> HTML element.
  • + *
  • GESHI_HEADER_NONE: No header is outputted.
  • * * * @var int @@ -391,12 +391,6 @@ class GeSHi */ var $encoding = 'ISO-8859-1'; - /** - * Unused (planned for future) - * @var int - */ - var $output_format = GESHI_OUTPUT_HTML; - /**#@-*/ /** @@ -415,7 +409,7 @@ class GeSHi */ function GeSHi ($source, $language, $path = '') { - $this->set_source($source); + $this->set_source($source); $this->set_language_path($path); $this->set_language($language); } @@ -466,9 +460,6 @@ class GeSHi */ function set_source ($source) { - if ('' == trim($source)) { - $this->error = GESHI_ERROR_NO_INPUT; - } $this->source = $source; } @@ -510,7 +501,8 @@ class GeSHi function set_language_path ($path) { if ($path) { - $this->language_path = ('/' == substr($path, strlen($path) - 1, 1)) ? $path : $path . '/'; + $this->language_path = ('/' == substr($path, strlen($path) - 1, 1)) ? $path : $path . '/'; + $this->set_language($this->language); // otherwise set_language_path has no effect } } @@ -1406,15 +1398,10 @@ class GeSHi // Firstly, if there is an error, we won't highlight if ($this->error) { - $result = $this->header(); - if ($this->header_type != GESHI_HEADER_PRE) { - $result .= $this->indent(@htmlspecialchars($this->source, ENT_COMPAT, $this->encoding)); - } else { - $result .= @htmlspecialchars($this->source, ENT_COMPAT, $this->encoding); - } - // Stop Timing - $this->set_time($start_time, microtime()); - return $result . $this->footer(); + $result = @htmlspecialchars($this->source, ENT_COMPAT, $this->encoding); + // Timing is irrelevant + $this->set_time($start_time, $start_time); + return $this->finalise($result); } // Add spaces for regular expression matching and line numbers @@ -1433,6 +1420,7 @@ class GeSHi $HIGHLIGHTING_ON = ( !$this->strict_mode ) ? true : ''; // Whether to highlight inside a block of code $HIGHLIGHT_INSIDE_STRICT = false; + $HARDQUOTE_OPEN = false; $stuff_to_parse = ''; $result = ''; @@ -1541,6 +1529,7 @@ class GeSHi for ($i = 0; $i < $length; $i++) { // Get the next char $char = substr($part, $i, 1); + $hq = isset($this->language_data['HARDQUOTE']) ? $this->language_data['HARDQUOTE'][0] : false; // Is this char the newline and line numbers being used? if (($this->line_numbers != GESHI_NO_LINE_NUMBERS || count($this->highlight_extra_lines) > 0) @@ -1564,10 +1553,27 @@ class GeSHi ($this->lexic_permissions['STRINGS'] && !$ESCAPE_CHAR_OPEN)) { $char .= ''; } + $escape_me = false; + if ($HARDQUOTE_OPEN) + { + if ($ESCAPE_CHAR_OPEN) + $escape_me = true; + else { + foreach ($this->language_data['HARDESCAPE'] as $hardesc) + if (substr($part, $i, strlen($hardesc)) == $hardesc) + { + $escape_me = true; + break; + } + } + } if (!$ESCAPE_CHAR_OPEN) { $STRING_OPEN = ''; $CLOSE_STRING = true; } + if (!$escape_me) { + $HARDQUOTE_OPEN = false; + } $ESCAPE_CHAR_OPEN = false; } elseif (in_array($char, $this->language_data['QUOTEMARKS']) && ($STRING_OPEN == '') && $this->lexic_permissions['STRINGS']) { @@ -1582,11 +1588,39 @@ class GeSHi $result .= $this->parse_non_string_part( $stuff_to_parse ); $stuff_to_parse = ''; - } elseif (($char == $this->language_data['ESCAPE_CHAR']) && ($STRING_OPEN != '')) { + } elseif ( + $hq && + substr($part, $i, strlen($hq)) == $hq && + ($STRING_OPEN == '') && $this->lexic_permissions['STRINGS'] + ) + { + // The start of a hard quoted string + $STRING_OPEN = $this->language_data['HARDQUOTE'][1]; + if (!$this->use_classes) { + $attributes = ' style="' . $this->language_data['STYLES']['STRINGS'][0] . '"'; + } else { + $attributes = ' class="st0"'; + } + $char = "" . $hq; + $i += strlen($hq) - 1; + $HARDQUOTE_OPEN = true; + $result .= $this->parse_non_string_part( $stuff_to_parse ); + $stuff_to_parse = ''; + } elseif ($char == $this->language_data['ESCAPE_CHAR'] && $STRING_OPEN != '') + { // An escape character if (!$ESCAPE_CHAR_OPEN) { + $ESCAPE_CHAR_OPEN = !$HARDQUOTE_OPEN; // true unless $HARDQUOTE_OPEN + if ($HARDQUOTE_OPEN) + foreach ($this->language_data['HARDESCAPE'] as $hard) + { + if (substr($part, $i, strlen($hard)) == $hard) + { $ESCAPE_CHAR_OPEN = true; - if ($this->lexic_permissions['ESCAPE_CHAR']) { + break; + } + } + if ($ESCAPE_CHAR_OPEN && $this->lexic_permissions['ESCAPE_CHAR']) { if (!$this->use_classes) { $attributes = ' style="' . $this->language_data['STYLES']['ESCAPE_CHAR'][0] . '"'; } else { @@ -1912,14 +1946,23 @@ class GeSHi // There is a base group for this keyword if ($start_or_end == 'BEGIN') { // HTML workaround... not good form (tm) but should work for 1.0.X - $keyword = ( substr($keyword, 0, 4) == '<' ) ? substr($keyword, 4) : $keyword; - $keyword = ( substr($keyword, -4) == '>' ) ? substr($keyword, 0, strlen($keyword) - 4) : $keyword; if ($keyword != '') { - $keyword = ( $this->language_data['CASE_SENSITIVE'][$group] ) ? $keyword : strtolower($keyword); + // Old system: strtolower + //$keyword = ( $this->language_data['CASE_SENSITIVE'][$group] ) ? $keyword : strtolower($keyword); + // New system: get keyword from language file to get correct case + foreach ($this->language_data['KEYWORDS'][$group] as $word) { + if (strtolower($word) == strtolower($keyword)) { + break; + } + } + $word = ( substr($word, 0, 4) == '<' ) ? substr($word, 4) : $word; + $word = ( substr($word, -4) == '>' ) ? substr($word, 0, strlen($word) - 4) : $word; + if (!$word) return ''; + return '<|UR1|"' . str_replace( array('{FNAME}', '.'), - array(@htmlspecialchars($keyword, ENT_COMPAT, $this->encoding), ''), + array(@htmlspecialchars($word, ENT_COMPAT, $this->encoding), ''), $this->language_data['URLS'][$group] ) . '">'; } @@ -1974,8 +2017,8 @@ class GeSHi // Put /NUM!/ in for the styles, which gets replaced at the end. // if ($this->lexic_permissions['NUMBERS'] && preg_match('#[0-9]#', $stuff_to_parse )) { - $stuff_to_parse = preg_replace('#([^a-zA-Z0-9\#])([0-9]+)([^a-zA-Z0-9])#', "\\1<|/NUM!/>\\2|>\\3", $stuff_to_parse); - $stuff_to_parse = preg_replace('#([^a-zA-Z0-9\#>])([0-9]+)([^a-zA-Z0-9])#', "\\1<|/NUM!/>\\2|>\\3", $stuff_to_parse); + $stuff_to_parse = preg_replace('#([^a-zA-Z0-9_\#])([0-9]+)([^a-zA-Z0-9])#', "\\1<|/NUM!/>\\2|>\\3", $stuff_to_parse); + $stuff_to_parse = preg_replace('#([^a-zA-Z0-9_\#>])([0-9]+)([^a-zA-Z0-9])#', "\\1<|/NUM!/>\\2|>\\3", $stuff_to_parse); } // Highlight keywords @@ -2000,15 +2043,15 @@ class GeSHi $keyword = quotemeta($keyword); if ($this->language_data['CASE_SENSITIVE'][$k]) { $stuff_to_parse = preg_replace( - "#([^a-zA-Z0-9\$_\|\#;>])($keyword)([^a-zA-Z0-9_<\|%\-&])#e", - "'\\1' . $func2('\\2', '$k', 'BEGIN') . '<|$styles>' . $func('\\2') . '|>' . $func2('\\2', '$k', 'END') . '\\3'", + "#([^a-zA-Z0-9\$_\|\#;>])($keyword)(?=[^a-zA-Z0-9_<\|%\-&])#e", + "'\\1' . $func2('\\2', '$k', 'BEGIN') . '<|$styles>' . $func('\\2') . '|>' . $func2('\\2', '$k', 'END')", $stuff_to_parse ); } else { // Change the case of the word. $stuff_to_parse = preg_replace( - "#([^a-zA-Z0-9\$_\|\#;>])($keyword)([^a-zA-Z0-9_<\|%\-&])#ie", - "'\\1' . $func2('\\2', '$k', 'BEGIN') . '<|$styles>' . $func('\\2') . '|>' . $func2('\\2', '$k', 'END') . '\\3'", + "#([^a-zA-Z0-9\$_\|\#;>])($keyword)(?=[^a-zA-Z0-9_<\|%\-&])#ie", + "'\\1' . $func2('\\2', '$k', 'BEGIN') . '<|$styles>' . $func('\\2') . '|>' . $func2('\\2', '$k', 'END')", $stuff_to_parse ); } diff --git a/includes/geshi/geshi/actionscript-french.php b/includes/geshi/geshi/actionscript-french.php index c1bdd69..df1507d 100644 --- a/includes/geshi/geshi/actionscript-french.php +++ b/includes/geshi/geshi/actionscript-french.php @@ -4,10 +4,10 @@ * ---------------- * Author: Steffen Krause (Steffen.krause@muse.de) * Copyright: (c) 2004 Steffen Krause, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Actionscript language file for GeSHi. * diff --git a/includes/geshi/geshi/actionscript.php b/includes/geshi/geshi/actionscript.php index ff3717d..d8d6df8 100644 --- a/includes/geshi/geshi/actionscript.php +++ b/includes/geshi/geshi/actionscript.php @@ -4,10 +4,10 @@ * ---------------- * Author: Steffen Krause (Steffen.krause@muse.de) * Copyright: (c) 2004 Steffen Krause, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Actionscript language file for GeSHi. * diff --git a/includes/geshi/geshi/ada.php b/includes/geshi/geshi/ada.php index ca319aa..cab3207 100644 --- a/includes/geshi/geshi/ada.php +++ b/includes/geshi/geshi/ada.php @@ -4,10 +4,10 @@ * ------- * Author: Tux (tux@inmail.cz) * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.6 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/07/29 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Ada language file for GeSHi. * Words are from SciTe configuration file diff --git a/includes/geshi/geshi/apache.php b/includes/geshi/geshi/apache.php index d81acc5..5a3a670 100644 --- a/includes/geshi/geshi/apache.php +++ b/includes/geshi/geshi/apache.php @@ -4,10 +4,10 @@ * ---------- * Author: Tux (tux@inmail.cz) * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.6 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/29/07 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Apache language file for GeSHi. * Words are from SciTe configuration file diff --git a/includes/geshi/geshi/applescript.php b/includes/geshi/geshi/applescript.php index 9912cf4..6b640cb 100644 --- a/includes/geshi/geshi/applescript.php +++ b/includes/geshi/geshi/applescript.php @@ -4,10 +4,10 @@ * -------- * Author: Stephan Klimek (http://www.initware.org) * Copyright: Stephan Klimek (http://www.initware.org) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2005/07/20 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * AppleScript language file for GeSHi. * diff --git a/includes/geshi/geshi/asm.php b/includes/geshi/geshi/asm.php index 95046d6..c5c87dd 100644 --- a/includes/geshi/geshi/asm.php +++ b/includes/geshi/geshi/asm.php @@ -4,10 +4,10 @@ * ------- * Author: Tux (tux@inmail.cz) * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.6 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/07/27 - * Last Modified: $Date: 2005/11/19 02:26:32 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * x86 Assembler language file for GeSHi. * Words are from SciTe configuration file (based on NASM syntax) diff --git a/includes/geshi/geshi/asp.php b/includes/geshi/geshi/asp.php index 7e77d91..fee66a7 100644 --- a/includes/geshi/geshi/asp.php +++ b/includes/geshi/geshi/asp.php @@ -4,17 +4,19 @@ * -------- * Author: Amit Gupta (http://blog.igeek.info/) * Copyright: (c) 2004 Amit Gupta (http://blog.igeek.info/), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/08/13 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/12/30 04:48:03 $ * * ASP language file for GeSHi. * * CHANGES * ------- + * 2005/12/30 (1.0.3) + * - Strings only delimited by ", comments by ' * 2004/11/27 (1.0.2) - * - Added support for multiple object splitters + * - Added support for multiple object splitters * 2004/10/27 (1.0.1) * - Added support for URLs * 2004/08/13 (1.0.0) @@ -49,7 +51,7 @@ $language_data = array ( 'COMMENT_SINGLE' => array(1 => "'", 2 => '//'), 'COMMENT_MULTI' => array('/*' => '*/'), 'CASE_KEYWORDS' => 0, - 'QUOTEMARKS' => array("'", '"'), + 'QUOTEMARKS' => array('"'), 'ESCAPE_CHAR' => '\\', 'KEYWORDS' => array( 1 => array( diff --git a/includes/geshi/geshi/bash.php b/includes/geshi/geshi/bash.php index 2f1728b..8f3bd08 100644 --- a/includes/geshi/geshi/bash.php +++ b/includes/geshi/geshi/bash.php @@ -4,10 +4,10 @@ * -------- * Author: Andreas Gohr (andi@splitbrain.org) * Copyright: (c) 2004 Andreas Gohr, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/08/20 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * BASH language file for GeSHi. * diff --git a/includes/geshi/geshi/blitzbasic.php b/includes/geshi/geshi/blitzbasic.php index c1ad6b3..c7a7a2d 100644 --- a/includes/geshi/geshi/blitzbasic.php +++ b/includes/geshi/geshi/blitzbasic.php @@ -4,10 +4,10 @@ * -------------- * Author: Pàdraig O`Connel (info@moonsword.info) * Copyright: (c) 2005 Pàdraig O`Connel (http://moonsword.info) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 16.10.2005 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/12/30 04:50:56 $ * * BlitzBasic language file for GeSHi. * @@ -17,8 +17,10 @@ * * CHANGES * ------- + * 2005/12/28 (1.0.1) + * - Remove unnecessary style index for regexps * 2005/10/22 (1.0.0) - * - First Release + * - First Release * * TODO (updated 2005/10/22) * ------------------------- @@ -159,7 +161,6 @@ 0 => 'color: #000066;' ), 'REGEXPS' => array( - 0 => 'font-weight: bold;' ), 'SCRIPT' => array( 0 => '', @@ -174,7 +175,6 @@ 1 => '\\' ), 'REGEXPS' => array( - ), 'STRICT_MODE_APPLIES' => GESHI_NEVER, 'SCRIPT_DELIMITERS' => array(), diff --git a/includes/geshi/geshi/c.php b/includes/geshi/geshi/c.php index c624cf1..582fef7 100644 --- a/includes/geshi/geshi/c.php +++ b/includes/geshi/geshi/c.php @@ -6,10 +6,10 @@ * Contributors: * - Jack Lloyd (lloyd@randombit.net) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * C language file for GeSHi. * diff --git a/includes/geshi/geshi/c_mac.php b/includes/geshi/geshi/c_mac.php index faeffdf..0001ed8 100644 --- a/includes/geshi/geshi/c_mac.php +++ b/includes/geshi/geshi/c_mac.php @@ -4,10 +4,10 @@ * --------- * Author: M. Uli Kusterer (witness.of.teachtext@gmx.net) * Copyright: (c) 2004 M. Uli Kusterer, Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * C for Macs language file for GeSHi. * diff --git a/includes/geshi/geshi/caddcl.php b/includes/geshi/geshi/caddcl.php index 957119f..65b76ad 100644 --- a/includes/geshi/geshi/caddcl.php +++ b/includes/geshi/geshi/caddcl.php @@ -4,10 +4,10 @@ * ---------- * Author: Roberto Rossi (rsoftware@altervista.org) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * CAD DCL (Dialog Control Language) file for GeSHi. * diff --git a/includes/geshi/geshi/cadlisp.php b/includes/geshi/geshi/cadlisp.php index f7b548b..c4fab24 100644 --- a/includes/geshi/geshi/cadlisp.php +++ b/includes/geshi/geshi/cadlisp.php @@ -4,10 +4,10 @@ * ----------- * Author: Roberto Rossi (rsoftware@altervista.org) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/blog) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * AutoCAD/IntelliCAD Lisp language file for GeSHi. * diff --git a/includes/geshi/geshi/cpp.php b/includes/geshi/geshi/cpp.php index a5208cb..397688f 100644 --- a/includes/geshi/geshi/cpp.php +++ b/includes/geshi/geshi/cpp.php @@ -7,10 +7,10 @@ * - M. Uli Kusterer (witness.of.teachtext@gmx.net) * - Jack Lloyd (lloyd@randombit.net) * Copyright: (c) 2004 Dennis Bayer, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.7 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.8 $ * Date Started: 2004/09/27 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * C++ language file for GeSHi. * diff --git a/includes/geshi/geshi/csharp.php b/includes/geshi/geshi/csharp.php index e2bf570..aba83a0 100644 --- a/includes/geshi/geshi/csharp.php +++ b/includes/geshi/geshi/csharp.php @@ -4,15 +4,17 @@ * ---------- * Author: Alan Juden (alan@judenware.org) * Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2006/01/05 07:20:52 $ * * C# language file for GeSHi. * * CHANGES * ------- + * 2005/01/05 (1.0.1) + * - Used hardquote support for @"..." strings (Cliff Stanford) * 2004/11/27 (1.0.0) * - Initial release * @@ -45,6 +47,8 @@ 'COMMENT_MULTI' => array('/*' => '*/'), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'QUOTEMARKS' => array("'", '"'), + 'HARDQUOTE' => array('@"', '"'), + 'HARDESCAPE' => array('""'), 'ESCAPE_CHAR' => '\\', 'KEYWORDS' => array( 1 => array( diff --git a/includes/geshi/geshi/css.php b/includes/geshi/geshi/css.php index 28e4bf1..bc30ab0 100644 --- a/includes/geshi/geshi/css.php +++ b/includes/geshi/geshi/css.php @@ -4,10 +4,10 @@ * ------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.7 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.8 $ * Date Started: 2004/06/18 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * CSS language file for GeSHi. * diff --git a/includes/geshi/geshi/d.php b/includes/geshi/geshi/d.php index 9c73561..001a896 100644 --- a/includes/geshi/geshi/d.php +++ b/includes/geshi/geshi/d.php @@ -4,10 +4,10 @@ * ----- * Author: Thomas Kuehne (thomas@kuehne.cn) * Copyright: (c) 2005 Thomas Kuehne (http://thomas.kuehne.cn/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2005/04/22 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * D language file for GeSHi. * diff --git a/includes/geshi/geshi/delphi.php b/includes/geshi/geshi/delphi.php index 2372d04..6f7e837 100644 --- a/includes/geshi/geshi/delphi.php +++ b/includes/geshi/geshi/delphi.php @@ -4,15 +4,17 @@ * ---------- * Author: Járja Norbert (jnorbi@vipmail.hu) * Copyright: (c) 2004 Járja Norbert, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.7 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.9 $ * Date Started: 2004/07/26 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2006/01/21 23:36:08 $ * * Delphi (Object Pascal) language file for GeSHi. * * CHANGES * ------- + * 2005/11/19 (1.0.3) + * - Updated the very incomplete keyword and type lists * 2005/09/03 (1.0.2) * - Added support for hex numbers and string entities * 2004/11/27 (1.0.1) @@ -44,122 +46,227 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'Delphi', - 'COMMENT_SINGLE' => array(1 => '//'), - 'COMMENT_MULTI' => array('(*' => '*)', '{' => '}'), - 'CASE_KEYWORDS' => 0, - 'QUOTEMARKS' => array("'", '"'), - 'ESCAPE_CHAR' => '', - 'KEYWORDS' => array( - 1 => array( - 'And', 'Array', 'As', 'Begin', 'Case', 'Class', 'Constructor', 'Destructor', 'Div', 'Do', 'DownTo', 'Else', - 'End', 'Except', 'File', 'Finally', 'For', 'Function', 'Goto', 'If', 'Implementation', 'In', 'Inherited', 'Interface', - 'Is', 'Mod', 'Not', 'Object', 'Of', 'On', 'Or', 'Packed', 'Procedure', 'Program', 'Property', 'Raise', 'Record', - 'Repeat', 'Set', 'Shl', 'Shr', 'Then', 'ThreadVar', 'To', 'Try', 'Unit', 'Until', 'Uses', 'While', 'With', 'Xor' - ), - 2 => array( - 'nil', 'false', 'true', 'var', 'type', 'const' - ), - 3 => array( - 'Abs', 'Addr', 'AnsiCompareStr', 'AnsiCompareText', 'AnsiContainsStr', 'AnsiEndsStr', 'AnsiIndexStr', 'AnsiLeftStr', - 'AnsiLowerCase', 'AnsiMatchStr', 'AnsiMidStr', 'AnsiPos', 'AnsiReplaceStr', 'AnsiReverseString', 'AnsiRightStr', - 'AnsiStartsStr', 'AnsiUpperCase', 'ArcCos', 'ArcSin', 'ArcTan', 'Assigned', 'BeginThread', 'Bounds', 'CelsiusToFahrenheit', - 'ChangeFileExt', 'Chr', 'CompareStr', 'CompareText', 'Concat', 'Convert', 'Copy', 'Cos', 'CreateDir', 'CurrToStr', - 'CurrToStrF', 'Date', 'DateTimeToFileDate', 'DateTimeToStr', 'DateToStr', 'DayOfTheMonth', 'DayOfTheWeek', 'DayOfTheYear', - 'DayOfWeek', 'DaysBetween', 'DaysInAMonth', 'DaysInAYear', 'DaySpan', 'DegToRad', 'DeleteFile', 'DiskFree', 'DiskSize', - 'DupeString', 'EncodeDate', 'EncodeDateTime', 'EncodeTime', 'EndOfADay', 'EndOfAMonth', 'Eof', 'Eoln', 'Exp', 'ExtractFileDir', - 'ExtractFileDrive', 'ExtractFileExt', 'ExtractFileName', 'ExtractFilePath', 'FahrenheitToCelsius', 'FileAge', - 'FileDateToDateTime', 'FileExists', 'FilePos', 'FileSearch', 'FileSetDate', 'FileSize', 'FindClose', 'FindCmdLineSwitch', - 'FindFirst', 'FindNext', 'FloatToStr', 'FloatToStrF', 'Format', 'FormatCurr', 'FormatDateTime', 'FormatFloat', 'Frac', - 'GetCurrentDir', 'GetLastError', 'GetMem', 'High', 'IncDay', 'IncMinute', 'IncMonth', 'IncYear', 'InputBox', - 'InputQuery', 'Int', 'IntToHex', 'IntToStr', 'IOResult', 'IsInfinite', 'IsLeapYear', 'IsMultiThread', 'IsNaN', - 'LastDelimiter', 'Length', 'Ln', 'Lo', 'Log10', 'Low', 'LowerCase', 'Max', 'Mean', 'MessageDlg', 'MessageDlgPos', - 'MonthOfTheYear', 'Now', 'Odd', 'Ord', 'ParamCount', 'ParamStr', 'Pi', 'Point', 'PointsEqual', 'Pos', 'Pred', - 'Printer', 'PromptForFileName', 'PtInRect', 'RadToDeg', 'Random', 'RandomRange', 'RecodeDate', 'RecodeTime', 'Rect', - 'RemoveDir', 'RenameFile', 'Round', 'SeekEof', 'SeekEoln', 'SelectDirectory', 'SetCurrentDir', 'Sin', 'SizeOf', - 'Slice', 'Sqr', 'Sqrt', 'StringOfChar', 'StringReplace', 'StringToWideChar', 'StrToCurr', 'StrToDate', 'StrToDateTime', - 'StrToFloat', 'StrToInt', 'StrToInt64', 'StrToInt64Def', 'StrToIntDef', 'StrToTime', 'StuffString', 'Succ', 'Sum', 'Tan', - 'Time', 'TimeToStr', 'Tomorrow', 'Trunc', 'UpCase', 'UpperCase', 'VarType', 'WideCharToString', 'WrapText', 'Yesterday', + 'LANG_NAME' => 'Delphi', + 'COMMENT_SINGLE' => array(1 => '//'), + 'COMMENT_MULTI' => array('(*' => '*)', '{' => '}'), + 'CASE_KEYWORDS' => 0, + 'QUOTEMARKS' => array("'", '"'), + 'ESCAPE_CHAR' => '', + 'KEYWORDS' => array( + 1 => array( + 'Abstract', 'And', 'Array', 'As', 'Asm', 'At', 'Begin', 'Case', 'Class', + 'Const', 'Constructor', 'Contains', 'Destructor', 'DispInterface', 'Div', + 'Do', 'DownTo', 'Else', 'End', 'Except', 'File', 'Finalization', + 'Finally', 'For', 'Function', 'Goto', 'If', 'Implementation', 'In', + 'Inherited', 'Initialization', 'Inline', 'Interface', 'Is', 'Label', + 'Mod', 'Not', 'Object', 'Of', 'On', 'Or', 'Overload', 'Override', + 'Package', 'Packed', 'Private', 'Procedure', 'Program', 'Property', + 'Protected', 'Public', 'Published', 'Raise', 'Record', 'Repeat', + 'Requires', 'Resourcestring', 'Set', 'Shl', 'Shr', 'Then', 'ThreadVar', + 'To', 'Try', 'Type', 'Unit', 'Until', 'Uses', 'Var', 'Virtual', 'While', + 'With', 'Xor', 'assembler', 'cdecl', 'far', 'near', 'pascal', 'register', + 'safecall', 'stdcall', 'varargs' + ), + 2 => array( + 'nil', 'false', 'self', 'true', 'var', 'type', 'const' + ), + 3 => array( + 'Abs', 'AcquireExceptionObject', 'Addr', 'AnsiToUtf8', 'Append', 'ArcTan', + 'Assert', 'AssignFile', 'Assigned', 'BeginThread', 'BlockRead', + 'BlockWrite', 'Break', 'ChDir', 'Chr', 'Close', 'CloseFile', + 'CompToCurrency', 'CompToDouble', 'Concat', 'Continue', 'Copy', 'Cos', + 'Dec', 'Delete', 'Dispose', 'DoubleToComp', 'EndThread', 'EnumModules', + 'EnumResourceModules', 'Eof', 'Eoln', 'Erase', 'ExceptAddr', + 'ExceptObject', 'Exclude', 'Exit', 'Exp', 'FilePos', 'FileSize', + 'FillChar', 'Finalize', 'FindClassHInstance', 'FindHInstance', + 'FindResourceHInstance', 'Flush', 'Frac', 'FreeMem', 'Get8087CW', + 'GetDir', 'GetLastError', 'GetMem', 'GetMemoryManager', + 'GetModuleFileName', 'GetVariantManager', 'Halt', 'Hi', 'High', + 'IOResult', 'Inc', 'Include', 'Initialize', 'Insert', 'Int', + 'IsMemoryManagerSet', 'IsVariantManagerSet', 'Length', 'Ln', 'Lo', 'Low', + 'MkDir', 'Move', 'New', 'Odd', 'OleStrToStrVar', 'OleStrToString', 'Ord', + 'PUCS4Chars', 'ParamCount', 'ParamStr', 'Pi', 'Pos', 'Pred', 'Ptr', + 'Random', 'Randomize', 'Read', 'ReadLn', 'ReallocMem', + 'ReleaseExceptionObject', 'Rename', 'Reset', 'Rewrite', 'RmDir', 'Round', + 'RunError', 'Seek', 'SeekEof', 'SeekEoln', 'Set8087CW', 'SetLength', + 'SetLineBreakStyle', 'SetMemoryManager', 'SetString', 'SetTextBuf', + 'SetVariantManager', 'Sin', 'SizeOf', 'Slice', 'Sqr', 'Sqrt', 'Str', + 'StringOfChar', 'StringToOleStr', 'StringToWideChar', 'Succ', 'Swap', + 'Trunc', 'Truncate', 'TypeInfo', 'UCS4StringToWideString', 'UTF8Decode', + 'UTF8Encode', 'UnicodeToUtf8', 'UniqueString', 'UpCase', 'Utf8ToAnsi', + 'Utf8ToUnicode', 'Val', 'VarArrayRedim', 'VarClear', + 'WideCharLenToStrVar', 'WideCharLenToString', 'WideCharToStrVar', + 'WideCharToString', 'WideStringToUCS4String', 'Write', 'WriteLn', - 'Append', 'AppendStr', 'Assign', 'AssignFile', 'AssignPrn', 'Beep', 'BlockRead', 'BlockWrite', 'Break', - 'ChDir', 'Close', 'CloseFile', 'Continue', 'DateTimeToString', 'Dec', 'DecodeDate', 'DecodeDateTime', - 'DecodeTime', 'Delete', 'Dispose', 'EndThread', 'Erase', 'Exclude', 'Exit', 'FillChar', 'Flush', 'FreeAndNil', - 'FreeMem', 'GetDir', 'GetLocaleFormatSettings', 'Halt', 'Inc', 'Include', 'Insert', 'MkDir', 'Move', 'New', - 'ProcessPath', 'Randomize', 'Read', 'ReadLn', 'ReallocMem', 'Rename', 'ReplaceDate', 'ReplaceTime', - 'Reset', 'ReWrite', 'RmDir', 'RunError', 'Seek', 'SetLength', 'SetString', 'ShowMessage', 'ShowMessageFmt', - 'ShowMessagePos', 'Str', 'Truncate', 'Val', 'Write', 'WriteLn' - ), - 4 => array( - 'AnsiChar', 'AnsiString', 'Boolean', 'Byte', 'Cardinal', 'Char', 'Comp', 'Currency', 'Double', 'Extended', - 'Int64', 'Integer', 'LongInt', 'LongWord', 'PAnsiChar', 'PAnsiString', 'PChar', 'PCurrency', 'PDateTime', - 'PExtended', 'PInt64', 'Pointer', 'PShortString', 'PString', 'PVariant', 'PWideChar', 'PWideString', - 'Real', 'Real48', 'ShortInt', 'ShortString', 'Single', 'SmallInt', 'String', 'TBits', 'TConvType', 'TDateTime', - 'Text', 'TextFile', 'TFloatFormat', 'TFormatSettings', 'TList', 'TObject', 'TOpenDialog', 'TPoint', - 'TPrintDialog', 'TRect', 'TReplaceFlags', 'TSaveDialog', 'TSearchRec', 'TStringList', 'TSysCharSet', - 'TThreadFunc', 'Variant', 'WideChar', 'WideString', 'Word' - ), - ), - 'CASE_SENSITIVE' => array( - GESHI_COMMENTS => true, - 1 => false, - 2 => false, - 3 => false, - 4 => false, - ), - 'STYLES' => array( - 'KEYWORDS' => array( - 1 => 'color: #000000; font-weight: bold;', - 2 => 'color: #000000; font-weight: bold;', - 3 => 'color: #000066;', - 4 => 'color: #993333;' - ), - 'COMMENTS' => array( - 1 => 'color: #808080; font-style: italic;', - 'MULTI' => 'color: #808080; font-style: italic;' - ), - 'ESCAPE_CHAR' => array( - ), - 'BRACKETS' => array( - 0 => 'color: #66cc66;' - ), - 'STRINGS' => array( - 0 => 'color: #ff0000;' - ), - 'NUMBERS' => array( - 0 => 'color: #cc66cc;' - ), - 'METHODS' => array( - 1 => 'color: #006600;' - ), - 'REGEXPS' => array( + 'Abort', 'AddExitProc', 'AddTerminateProc', 'AdjustLineBreaks', 'AllocMem', + 'AnsiCompareFileName', 'AnsiCompareStr', 'AnsiCompareText', + 'AnsiDequotedStr', 'AnsiExtractQuotedStr', 'AnsiLastChar', + 'AnsiLowerCase', 'AnsiLowerCaseFileName', 'AnsiPos', 'AnsiQuotedStr', + 'AnsiSameStr', 'AnsiSameText', 'AnsiStrComp', 'AnsiStrIComp', + 'AnsiStrLComp', 'AnsiStrLIComp', 'AnsiStrLastChar', 'AnsiStrLower', + 'AnsiStrPos', 'AnsiStrRScan', 'AnsiStrScan', 'AnsiStrUpper', + 'AnsiUpperCase', 'AnsiUpperCaseFileName', 'AppendStr', 'AssignStr', + 'Beep', 'BoolToStr', 'ByteToCharIndex', 'ByteToCharLen', 'ByteType', + 'CallTerminateProcs', 'ChangeFileExt', 'CharLength', 'CharToByteIndex', + 'CharToByteLen', 'CompareMem', 'CompareStr', 'CompareText', 'CreateDir', + 'CreateGUID', 'CurrToStr', 'CurrToStrF', 'CurrentYear', 'Date', + 'DateTimeToFileDate', 'DateTimeToStr', 'DateTimeToString', + 'DateTimeToSystemTime', 'DateTimeToTimeStamp', 'DateToStr', 'DayOfWeek', + 'DecodeDate', 'DecodeDateFully', 'DecodeTime', 'DeleteFile', + 'DirectoryExists', 'DiskFree', 'DiskSize', 'DisposeStr', 'EncodeDate', + 'EncodeTime', 'ExceptionErrorMessage', 'ExcludeTrailingBackslash', + 'ExcludeTrailingPathDelimiter', 'ExpandFileName', 'ExpandFileNameCase', + 'ExpandUNCFileName', 'ExtractFileDir', 'ExtractFileDrive', + 'ExtractFileExt', 'ExtractFileName', 'ExtractFilePath', + 'ExtractRelativePath', 'ExtractShortPathName', 'FileAge', 'FileClose', + 'FileCreate', 'FileDateToDateTime', 'FileExists', 'FileGetAttr', + 'FileGetDate', 'FileIsReadOnly', 'FileOpen', 'FileRead', 'FileSearch', + 'FileSeek', 'FileSetAttr', 'FileSetDate', 'FileSetReadOnly', 'FileWrite', + 'FinalizePackage', 'FindClose', 'FindCmdLineSwitch', 'FindFirst', + 'FindNext', 'FloatToCurr', 'FloatToDateTime', 'FloatToDecimal', + 'FloatToStr', 'FloatToStrF', 'FloatToText', 'FloatToTextFmt', + 'FmtLoadStr', 'FmtStr', 'ForceDirectories', 'Format', 'FormatBuf', + 'FormatCurr', 'FormatDateTime', 'FormatFloat', 'FreeAndNil', + 'GUIDToString', 'GetCurrentDir', 'GetEnvironmentVariable', + 'GetFileVersion', 'GetFormatSettings', 'GetLocaleFormatSettings', + 'GetModuleName', 'GetPackageDescription', 'GetPackageInfo', 'GetTime', + 'IncAMonth', 'IncMonth', 'IncludeTrailingBackslash', + 'IncludeTrailingPathDelimiter', 'InitializePackage', 'IntToHex', + 'IntToStr', 'InterlockedDecrement', 'InterlockedExchange', + 'InterlockedExchangeAdd', 'InterlockedIncrement', 'IsDelimiter', + 'IsEqualGUID', 'IsLeapYear', 'IsPathDelimiter', 'IsValidIdent', + 'Languages', 'LastDelimiter', 'LoadPackage', 'LoadStr', 'LowerCase', + 'MSecsToTimeStamp', 'NewStr', 'NextCharIndex', 'Now', 'OutOfMemoryError', + 'QuotedStr', 'RaiseLastOSError', 'RaiseLastWin32Error', 'RemoveDir', + 'RenameFile', 'ReplaceDate', 'ReplaceTime', 'SafeLoadLibrary', + 'SameFileName', 'SameText', 'SetCurrentDir', 'ShowException', 'Sleep', + 'StrAlloc', 'StrBufSize', 'StrByteType', 'StrCat', 'StrCharLength', + 'StrComp', 'StrCopy', 'StrDispose', 'StrECopy', 'StrEnd', 'StrFmt', + 'StrIComp', 'StrLCat', 'StrLComp', 'StrLCopy', 'StrLFmt', 'StrLIComp', + 'StrLen', 'StrLower', 'StrMove', 'StrNew', 'StrNextChar', 'StrPCopy', + 'StrPLCopy', 'StrPas', 'StrPos', 'StrRScan', 'StrScan', 'StrToBool', + 'StrToBoolDef', 'StrToCurr', 'StrToCurrDef', 'StrToDate', 'StrToDateDef', + 'StrToDateTime', 'StrToDateTimeDef', 'StrToFloat', 'StrToFloatDef', + 'StrToInt', 'StrToInt64', 'StrToInt64Def', 'StrToIntDef', 'StrToTime', + 'StrToTimeDef', 'StrUpper', 'StringReplace', 'StringToGUID', 'Supports', + 'SysErrorMessage', 'SystemTimeToDateTime', 'TextToFloat', 'Time', + 'TimeStampToDateTime', 'TimeStampToMSecs', 'TimeToStr', 'Trim', + 'TrimLeft', 'TrimRight', 'TryEncodeDate', 'TryEncodeTime', + 'TryFloatToCurr', 'TryFloatToDateTime', 'TryStrToBool', 'TryStrToCurr', + 'TryStrToDate', 'TryStrToDateTime', 'TryStrToFloat', 'TryStrToInt', + 'TryStrToInt64', 'TryStrToTime', 'UnloadPackage', 'UpperCase', + 'WideCompareStr', 'WideCompareText', 'WideFmtStr', 'WideFormat', + 'WideFormatBuf', 'WideLowerCase', 'WideSameStr', 'WideSameText', + 'WideUpperCase', 'Win32Check', 'WrapText', + + 'ActivateClassGroup', 'AllocateHwnd', 'BinToHex', 'CheckSynchronize', + 'CollectionsEqual', 'CountGenerations', 'DeallocateHwnd', 'EqualRect', + 'ExtractStrings', 'FindClass', 'FindGlobalComponent', 'GetClass', + 'GroupDescendantsWith', 'HexToBin', 'IdentToInt', + 'InitInheritedComponent', 'IntToIdent', 'InvalidPoint', + 'IsUniqueGlobalComponentName', 'LineStart', 'ObjectBinaryToText', + 'ObjectResourceToText', 'ObjectTextToBinary', 'ObjectTextToResource', + 'PointsEqual', 'ReadComponentRes', 'ReadComponentResEx', + 'ReadComponentResFile', 'Rect', 'RegisterClass', 'RegisterClassAlias', + 'RegisterClasses', 'RegisterComponents', 'RegisterIntegerConsts', + 'RegisterNoIcon', 'RegisterNonActiveX', 'SmallPoint', 'StartClassGroup', + 'TestStreamFormat', 'UnregisterClass', 'UnregisterClasses', + 'UnregisterIntegerConsts', 'UnregisterModuleClasses', + 'WriteComponentResFile', + + 'ArcCos', 'ArcCosh', 'ArcCot', 'ArcCotH', 'ArcCsc', 'ArcCscH', 'ArcSec', + 'ArcSecH', 'ArcSin', 'ArcSinh', 'ArcTan2', 'ArcTanh', 'Ceil', + 'CompareValue', 'Cosecant', 'Cosh', 'Cot', 'CotH', 'Cotan', 'Csc', 'CscH', + 'CycleToDeg', 'CycleToGrad', 'CycleToRad', 'DegToCycle', 'DegToGrad', + 'DegToRad', 'DivMod', 'DoubleDecliningBalance', 'EnsureRange', 'Floor', + 'Frexp', 'FutureValue', 'GetExceptionMask', 'GetPrecisionMode', + 'GetRoundMode', 'GradToCycle', 'GradToDeg', 'GradToRad', 'Hypot', + 'InRange', 'IntPower', 'InterestPayment', 'InterestRate', + 'InternalRateOfReturn', 'IsInfinite', 'IsNan', 'IsZero', 'Ldexp', 'LnXP1', + 'Log10', 'Log2', 'LogN', 'Max', 'MaxIntValue', 'MaxValue', 'Mean', + 'MeanAndStdDev', 'Min', 'MinIntValue', 'MinValue', 'MomentSkewKurtosis', + 'NetPresentValue', 'Norm', 'NumberOfPeriods', 'Payment', 'PeriodPayment', + 'Poly', 'PopnStdDev', 'PopnVariance', 'Power', 'PresentValue', + 'RadToCycle', 'RadToDeg', 'RadToGrad', 'RandG', 'RandomRange', 'RoundTo', + 'SLNDepreciation', 'SYDDepreciation', 'SameValue', 'Sec', 'SecH', + 'Secant', 'SetExceptionMask', 'SetPrecisionMode', 'SetRoundMode', 'Sign', + 'SimpleRoundTo', 'SinCos', 'Sinh', 'StdDev', 'Sum', 'SumInt', + 'SumOfSquares', 'SumsAndSquares', 'Tan', 'Tanh', 'TotalVariance', + 'Variance' + ), + 4 => array( + 'AnsiChar', 'AnsiString', 'Bool', 'Boolean', 'Byte', 'ByteBool', 'Cardinal', 'Char', + 'Comp', 'Currency', 'DWORD', 'Double', 'Extended', 'Int64', 'Integer', 'IUnknown', + 'LongBool', 'LongInt', 'LongWord', 'PAnsiChar', 'PAnsiString', 'PBool', 'PBoolean', 'PByte', + 'PByteArray', 'PCardinal', 'PChar', 'PComp', 'PCurrency', 'PDWORD', 'PDate', 'PDateTime', + 'PDouble', 'PExtended', 'PInt64', 'PInteger', 'PLongInt', 'PLongWord', 'Pointer', 'PPointer', + 'PShortInt', 'PShortString', 'PSingle', 'PSmallInt', 'PString', 'PHandle', 'PVariant', 'PWord', + 'PWordArray', 'PWordBool', 'PWideChar', 'PWideString', 'Real', 'Real48', 'ShortInt', 'ShortString', + 'Single', 'SmallInt', 'String', 'TClass', 'TDate', 'TDateTime', 'TextFile', 'THandle', + 'TObject', 'TTime', 'Variant', 'WideChar', 'WideString', 'Word', 'WordBool' + ), + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => true, + 1 => false, + 2 => false, + 3 => false, + 4 => false, + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #000000; font-weight: bold;', + 2 => 'color: #000000; font-weight: bold;', + 3 => 'color: #000066;', + 4 => 'color: #993333;' + ), + 'COMMENTS' => array( + 1 => 'color: #808080; font-style: italic;', + 'MULTI' => 'color: #808080; font-style: italic;' + ), + 'ESCAPE_CHAR' => array( + ), + 'BRACKETS' => array( + 0 => 'color: #66cc66;' + ), + 'STRINGS' => array( + 0 => 'color: #ff0000;' + ), + 'NUMBERS' => array( + 0 => 'color: #cc66cc;' + ), + 'METHODS' => array( + 1 => 'color: #006600;' + ), + 'REGEXPS' => array( 0 => 'color: #9ac;', 1 => 'color: #ff0000;' - ), - 'SYMBOLS' => array( - 0 => 'color: #66cc66;' - ), - 'SCRIPT' => array( - ) - ), - 'URLS' => array( - 1 => '', - 2 => '', - 3 => '', - 4 => '' - ), - 'OOLANG' => true, - 'OBJECT_SPLITTERS' => array( - 1 => '.' - ), - 'REGEXPS' => array( + ), + 'SYMBOLS' => array( + 0 => 'color: #66cc66;' + ), + 'SCRIPT' => array( + ) + ), + 'URLS' => array( + 1 => '', + 2 => '', + 3 => '', + 4 => '' + ), + 'OOLANG' => true, + 'OBJECT_SPLITTERS' => array( + 1 => '.' + ), + 'REGEXPS' => array( 0 => '\$[0-9a-fA-F]+', 1 => '\#\$?[0-9]{1,3}' - ), - 'STRICT_MODE_APPLIES' => GESHI_NEVER, - 'SCRIPT_DELIMITERS' => array( - ), - 'HIGHLIGHT_STRICT_BLOCK' => array( - ) + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array( + ), + 'HIGHLIGHT_STRICT_BLOCK' => array( + ) ); -?> \ No newline at end of file +?> diff --git a/includes/geshi/geshi/diff.php b/includes/geshi/geshi/diff.php index 22ac09c..eb0f56c 100644 --- a/includes/geshi/geshi/diff.php +++ b/includes/geshi/geshi/diff.php @@ -4,10 +4,10 @@ * -------- * Author: Conny Brunnkvist (conny@fuchsia.se) * Copyright: (c) 2004 Fuchsia Open Source Solutions (http://www.fuchsia.se/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/12/29 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Diff-output language file for GeSHi. * diff --git a/includes/geshi/geshi/div.php b/includes/geshi/geshi/div.php index 5d45110..70be0df 100644 --- a/includes/geshi/geshi/div.php +++ b/includes/geshi/geshi/div.php @@ -4,10 +4,10 @@ * --------------------------------- * Author: Gabriel Lorenzo (ermakina@gmail.com) * Copyright: (c) 2005 Gabriel Lorenzo (http://ermakina.gazpachito.net) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2005/06/19 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * DIV language file for GeSHi. * diff --git a/includes/geshi/geshi/dos.php b/includes/geshi/geshi/dos.php index 6130bad..5532ba9 100644 --- a/includes/geshi/geshi/dos.php +++ b/includes/geshi/geshi/dos.php @@ -4,10 +4,10 @@ * ------- * Author: Alessandro Staltari (staltari@geocities.com) * Copyright: (c) 2005 Alessandro Staltari (http://www.geocities.com/SiliconValley/Vista/8155/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2005/07/05 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * DOS language file for GeSHi. * diff --git a/includes/geshi/geshi/eiffel.php b/includes/geshi/geshi/eiffel.php index e0a67b4..d06477b 100644 --- a/includes/geshi/geshi/eiffel.php +++ b/includes/geshi/geshi/eiffel.php @@ -4,10 +4,10 @@ * ---------- * Author: Zoran Simic (zsimic@axarosenberg.com) * Copyright: (c) 2005 Zoran Simic - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2005/06/30 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Eiffel language file for GeSHi. * diff --git a/includes/geshi/geshi/freebasic.php b/includes/geshi/geshi/freebasic.php index 34488ed..8e23586 100644 --- a/includes/geshi/geshi/freebasic.php +++ b/includes/geshi/geshi/freebasic.php @@ -4,7 +4,7 @@ * ------------- * Author: Roberto Rossi * Copyright: (c) 2005 Roberto Rossi (http://rsoftware.altervista.org) - * Release Version: 1.0.7.5 + * Release Version: 1.0.7.6 * Date Started: 2005/08/19 * * FreeBasic (http://www.freebasic.net/) language file for GeSHi. diff --git a/includes/geshi/geshi/gml.php b/includes/geshi/geshi/gml.php index 12d19a0..b3a2370 100644 --- a/includes/geshi/geshi/gml.php +++ b/includes/geshi/geshi/gml.php @@ -4,10 +4,10 @@ * -------- * Author: José Jorge Enríquez (jenriquez@users.sourceforge.net) * Copyright: (c) 2005 José Jorge Enríquez Rodríguez (http://www.zonamakers.com) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.6 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2005/06/21 - * Last Modified: $Date: 2005/11/13 04:58:24 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * GML language file for GeSHi. * diff --git a/includes/geshi/geshi/html4strict.php b/includes/geshi/geshi/html4strict.php index e5683b8..48c6e0e 100644 --- a/includes/geshi/geshi/html4strict.php +++ b/includes/geshi/geshi/html4strict.php @@ -4,17 +4,19 @@ * --------------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.8 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/12/30 04:52:10 $ * * HTML 4.01 strict language file for GeSHi. * * CHANGES * ------- + * 2005/12/28 (1.0.4) + * - Removed escape character for strings * 2004/11/27 (1.0.3) - * - Added support for multiple object splitters + * - Added support for multiple object splitters * 2004/10/27 (1.0.2) * - Added support for URLs * 2004/08/05 (1.0.1) @@ -55,7 +57,7 @@ $language_data = array ( 'COMMENT_MULTI' => array(''), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'QUOTEMARKS' => array("'", '"'), - 'ESCAPE_CHAR' => '\\', + 'ESCAPE_CHAR' => '', 'KEYWORDS' => array( 1 => array( ), diff --git a/includes/geshi/geshi/ini.php b/includes/geshi/geshi/ini.php index 2184f37..3634f53 100644 --- a/includes/geshi/geshi/ini.php +++ b/includes/geshi/geshi/ini.php @@ -4,15 +4,18 @@ * -------- * Author: deguix (cevo_deguix@yahoo.com.br) * Copyright: (c) 2005 deguix - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2005/03/27 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2006/01/05 07:19:45 $ * * INI language file for GeSHi. * * CHANGES * ------- + * 2005/12/28 (1.0.1) + * - Removed unnecessary keyword style index + * - Added support for " strings * 2005/04/05 (1.0.0) * - First Release * @@ -44,7 +47,7 @@ $language_data = array ( 'COMMENT_SINGLE' => array(0 => ';'), 'COMMENT_MULTI' => array(), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, - 'QUOTEMARKS' => array(), + 'QUOTEMARKS' => array('"'), 'ESCAPE_CHAR' => '', 'KEYWORDS' => array( ), @@ -56,7 +59,6 @@ $language_data = array ( ), 'STYLES' => array( 'KEYWORDS' => array( - 0 => '' ), 'COMMENTS' => array( 0 => 'color: #666666; font-style: italic;' @@ -68,7 +70,7 @@ $language_data = array ( 0 => '' ), 'STRINGS' => array( - 0 => '' + 0 => 'color: #933;' ), 'NUMBERS' => array( 0 => '' diff --git a/includes/geshi/geshi/inno.php b/includes/geshi/geshi/inno.php index 49dbfba..dc8e263 100644 --- a/includes/geshi/geshi/inno.php +++ b/includes/geshi/geshi/inno.php @@ -4,10 +4,10 @@ * ---------- * Author: Thomas Klingler (hotline@theratech.de) based on delphi.php from Járja Norbert (jnorbi@vipmail.hu) * Copyright: (c) 2004 Járja Norbert, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2005/07/29 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Inno Script language inkl. Delphi (Object Pascal) language file for GeSHi. * diff --git a/includes/geshi/geshi/java.php b/includes/geshi/geshi/java.php index b3f8679..f198456 100644 --- a/includes/geshi/geshi/java.php +++ b/includes/geshi/geshi/java.php @@ -4,15 +4,17 @@ * -------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.8 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.11 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/12/30 04:52:10 $ * * Java language file for GeSHi. * * CHANGES * ------- + * 2005/12/28 (1.0.4) + * - Added instanceof keyword * 2004/11/27 (1.0.3) * - Added support for multiple object splitters * 2004/08/05 (1.0.2) @@ -66,7 +68,7 @@ $language_data = array ( 'private', 'protected', 'extends', 'break', 'class', 'new', 'try', 'catch', 'throws', 'finally', 'implements', 'interface', 'throw', 'native', 'synchronized', 'this', - 'abstract', 'transient' + 'abstract', 'transient', 'instanceof' ), 3 => array( 'AbstractAction', 'AbstractBorder', 'AbstractButton', 'AbstractCellEditor', diff --git a/includes/geshi/geshi/javascript.php b/includes/geshi/geshi/javascript.php index 1a17e1e..6075ffd 100644 --- a/includes/geshi/geshi/javascript.php +++ b/includes/geshi/geshi/javascript.php @@ -4,10 +4,10 @@ * -------------- * Author: Ben Keen (ben.keen@gmail.com) * Copyright: (c) 2004 Ben Keen (ben.keen@gmail.com), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * JavaScript language file for GeSHi. * diff --git a/includes/geshi/geshi/lisp.php b/includes/geshi/geshi/lisp.php index f48ed41..095f260 100644 --- a/includes/geshi/geshi/lisp.php +++ b/includes/geshi/geshi/lisp.php @@ -4,15 +4,17 @@ * -------- * Author: Roberto Rossi (rsoftware@altervista.org) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/12/09 05:33:18 $ * * Generic Lisp language file for GeSHi. * * CHANGES * ------- + * 2005/12/9 (1.0.2) + * - Added support for :keywords and ::access (Denis Mashkevich) * 2004/11/27 (1.0.1) * - Added support for multiple object splitters * 2004/08/30 (1.0.0) @@ -104,7 +106,8 @@ $language_data = array ( 0 => 'color: #cc66cc;' ), 'METHODS' => array( - 0 => 'color: #202020;' + 0 => 'color: #555;', + 1 => 'color: #555;' ), 'SYMBOLS' => array( 0 => 'color: #66cc66;' @@ -116,8 +119,9 @@ $language_data = array ( ), 'URLS' => array( ), - 'OOLANG' => false, + 'OOLANG' => true, 'OBJECT_SPLITTERS' => array( + '::', ':' ), 'REGEXPS' => array( ), diff --git a/includes/geshi/geshi/lua.php b/includes/geshi/geshi/lua.php index 3c9bef4..1ed0133 100644 --- a/includes/geshi/geshi/lua.php +++ b/includes/geshi/geshi/lua.php @@ -4,10 +4,10 @@ * ------- * Author: Roberto Rossi (rsoftware@altervista.org) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.7 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.8 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * LUA language file for GeSHi. * diff --git a/includes/geshi/geshi/matlab.php b/includes/geshi/geshi/matlab.php index 6bac6a4..ce4f1c3 100644 --- a/includes/geshi/geshi/matlab.php +++ b/includes/geshi/geshi/matlab.php @@ -4,10 +4,10 @@ * ----------- * Author: Florian Knorn (floz@gmx.de) * Copyright: (c) 2004 Florian Knorn (http://www.florian-knorn.com) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2005/02/09 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Matlab M-file language file for GeSHi. * diff --git a/includes/geshi/geshi/mpasm.php b/includes/geshi/geshi/mpasm.php index 7e1451d..079a0b0 100644 --- a/includes/geshi/geshi/mpasm.php +++ b/includes/geshi/geshi/mpasm.php @@ -4,10 +4,10 @@ * --------- * Author: Bakalex (bakalex@gmail.com) * Copyright: (c) 2004 Bakalex, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/12/6 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Microchip Assembler language file for GeSHi. * diff --git a/includes/geshi/geshi/mysql.php b/includes/geshi/geshi/mysql.php index b6d248c..91a4f89 100644 --- a/includes/geshi/geshi/mysql.php +++ b/includes/geshi/geshi/mysql.php @@ -4,10 +4,10 @@ * --------- * Author: Carl Fürstenberg (azatoth@gmail.com) * Copyright: (c) 2005 Carl Fürstenberg, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * MySQL language file for GeSHi. * diff --git a/includes/geshi/geshi/nsis.php b/includes/geshi/geshi/nsis.php index 5c4fd62..4377530 100644 --- a/includes/geshi/geshi/nsis.php +++ b/includes/geshi/geshi/nsis.php @@ -4,15 +4,17 @@ * -------- * Author: deguix (cevo_deguix@yahoo.com.br), Tux (http://tux.a4.cz/) * Copyright: (c) 2005 deguix, 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.6 $ - * Date Started: 2005/06/17 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.8 $ + * Date Started: 2005/12/03 + * Last Modified: $Date: 2006/01/21 23:36:49 $ * * Nullsoft Scriptable Install System language file for GeSHi. * * CHANGES * ------- + * 2005/12/03 (2.0.2) + * - Updated to NSIS 2.11. * 2005/06/17 (2.0.1) * - Updated to NSIS 2.07b0. * 2005/04/05 (2.0.0) @@ -56,9 +58,10 @@ $language_data = array ( 'ESCAPE_CHAR' => '', 'KEYWORDS' => array( 1 => array( - '!addIncludeDir', '!addplugindir', '!cd', '!define', '!echo', '!else', '!endif', '!error', '!execute', '!ifdef', - '!ifmacrodef', '!ifmacrondef', '!ifndef', '!include', '!insertmacro', '!macro', '!macroend', '!packhdr', - '!system', '!undef', '!verbose', '!warning' + '!appendfile', '!addIncludeDir', '!addplugindir', '!cd', '!define', '!delfile', '!echo', '!else', + '!endif', '!error', '!execute', '!ifdef', '!ifmacrodef', '!ifmacrondef', '!ifndef', '!include', + '!insertmacro', '!macro', '!macroend', '!packhdr', '!tempfile', '!system', '!undef', '!verbose', + '!warning' ), 2 => array( 'AddBrandingImage', 'AllowRootDirInstall', 'AutoCloseWindow', 'BGFont', @@ -109,15 +112,15 @@ $language_data = array ( 'MB_ABORTRETRYIGNORE', 'MB_DEFBUTTON1', 'MB_DEFBUTTON2', 'MB_DEFBUTTON3', 'MB_DEFBUTTON4', 'MB_ICONEXCLAMATION', 'MB_ICONINFORMATION', 'MB_ICONQUESTION', 'MB_ICONSTOP', 'MB_OK', 'MB_OKCANCEL', 'MB_RETRYCANCEL', 'MB_RIGHT', 'MB_SETFOREGROUND', 'MB_TOPMOST', 'MB_YESNO', 'MB_YESNOCANCEL', 'nevershow', - 'none', 'normal', 'off', 'OFFLINE', 'on', 'radiobuttons', 'READONLY', 'RO', 'show', 'silent', 'silentlog', - 'SW_HIDE', 'SW_SHOWMAXIMIZED', 'SW_SHOWMINIMIZED', 'SW_SHOWNORMAL', 'SYSTEM', 'textonly', 'true', 'try', - 'uninstConfirm', 'zlib' + 'none', 'normal', 'off', 'OFFLINE', 'on', 'radiobuttons', 'READONLY', 'RO', 'SHCTX', 'SHELL_CONTEXT', 'show', + 'silent', 'silentlog', 'SW_HIDE', 'SW_SHOWMAXIMIZED', 'SW_SHOWMINIMIZED', 'SW_SHOWNORMAL', 'SYSTEM', + 'textonly', 'true', 'try', 'uninstConfirm', 'zlib' ), 6 => array( - '/a', '/components', '/COMPONENTSONLYONCUSTOM', '/CUSTOMSTRING', '/e', '/FILESONLY', '/gray', '/ifempty', '/IMGID', - '/ITALIC', '/lang', '/NOCUSTOM', '/nonfatal', '/NOUNLOAD', '/oname', '/r', '/REBOOTOK', '/RESIZETOFIT', '/SOLID', - '/SD', '/SHORT', '/silent', '/SOLID', '/STRIKE', '/TIMEOUT', '/TRIMCENTER', '/TRIMLEFT', '/TRIMRIGHT', '/UNDERLINE', - '/windows', '/x' + '/a', '/components', '/COMPONENTSONLYONCUSTOM', '/CUSTOMSTRING', '/e', '/FILESONLY', '/FINAL', '/gray', '/GLOBAL', + '/ifempty', '/IMGID', '/ITALIC', '/lang', '/NOCUSTOM', '/nonfatal', '/NOUNLOAD', '/oname', '/r', '/REBOOTOK', + '/RESIZETOFIT', '/SOLID', '/SD', '/SHORT', '/silent', '/SOLID', '/STRIKE', '/TIMEOUT', '/TRIMCENTER', '/TRIMLEFT', + '/TRIMRIGHT', '/UNDERLINE', '/windows', '/x' ), 7 => array( '.onGUIEnd', '.onGUIInit', '.onInit', '.onInstFailed', '.onInstSuccess', '.onMouseOverSection', @@ -207,6 +210,15 @@ $language_data = array ( ), 13 => array( 'Colors.nsh', 'WHITE', 'BLACK', 'YELLOW', 'RED', 'GREEN', 'BLUE', 'MAGENTA', 'CYAN', 'rgb2hex' + ), + 14 => array( + 'FileFunc.nsh', '${Locate}', '${GetSize}', '${DriveSpace}', '${GetDrives}', '${GetTime}', '${GetFileAttributes}', '${GetFileVersion}', '${GetExeName}', '${GetExePath}', '${GetParameters}', '${GetOptions}', '${GetRoot}', '${GetParent}', '${GetFileName}', '${GetBaseName}', '${GetFileExt}', '${BannerTrimPath}', '${DirState}', '${RefreshShellIcons}' + ), + 15 => array( + 'TextFunc.nsh', '${LineFind}', '${LineRead}', '${FileReadFromEnd}', '${LineSum}', '${FileJoin}', '${TextCompare}', '${ConfigRead}', '${ConfigWrite}', '${FileRecode}', '${TrimNewLines}' + ), + 16 => array( + 'WordFunc.nsh', '${WordFind}', '${WordFind2X}', '${WordFind3X}', '${WordReplace}', '${WordAdd}', '${WordInsert}', '${StrFilter}', '${VersionCompare}', '${VersionConvert}' ) ), 'SYMBOLS' => array( @@ -225,7 +237,10 @@ $language_data = array ( 10 => false, 11 => false, 12 => false, - 13 => false + 13 => false, + 14 => false, + 15 => false, + 16 => false ), 'STYLES' => array( 'KEYWORDS' => array( @@ -241,7 +256,10 @@ $language_data = array ( 10 => 'color: #006600;', 11 => 'color: #006600;', 12 => 'color: #006600;', - 13 => 'color: #006600;' + 13 => 'color: #006600;', + 14 => 'color: #006600;', + 15 => 'color: #006600;', + 16 => 'color: #006600;' ), 'COMMENTS' => array( 1 => 'color: #666666; font-style: italic;', @@ -295,6 +313,10 @@ $language_data = array ( 10 => '', 11 => '', 12 => '', + 13 => '', + 14 => '', + 15 => '', + 16 => '' ), 'OOLANG' => false, 'OBJECT_SPLITTERS' => array( @@ -308,14 +330,14 @@ $language_data = array ( 5 => '\$\{.{1,256}\}', 6 => '\$\\\(.{1,256}\\\)', 7 => array( - GESHI_SEARCH => '([a-zA-Z0-9_]*?)(::)([a-zA-Z0-9_]*?)', + GESHI_SEARCH => '([^:/\\\*\?\"\<\>\|\s]*?)(::)([^:/\\\*\?\"\<\>\|\s]*?)', GESHI_REPLACE => '\\1', GESHI_MODIFIERS => '', GESHI_BEFORE => '', GESHI_AFTER => '\\2\\3' ), 8 => array( - GESHI_SEARCH => '([a-zA-Z0-9_]*?)(::)([a-zA-Z0-9_]*?\s)', + GESHI_SEARCH => '([^:/\\\*\?\"\<\>\|\s]*?)(::)([^:/\\\*\?\"\<\>\|]*?\s)', GESHI_REPLACE => '\\3', GESHI_MODIFIERS => '', GESHI_BEFORE => '\\1\\2', diff --git a/includes/geshi/geshi/objc.php b/includes/geshi/geshi/objc.php index 635f31d..f6a4ecb 100644 --- a/includes/geshi/geshi/objc.php +++ b/includes/geshi/geshi/objc.php @@ -4,10 +4,10 @@ * -------- * Author: M. Uli Kusterer (witness.of.teachtext@gmx.net) * Copyright: (c) 2004 M. Uli Kusterer, Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Objective C language file for GeSHi. * diff --git a/includes/geshi/geshi/ocaml-brief.php b/includes/geshi/geshi/ocaml-brief.php index 433f95d..19bc0d5 100644 --- a/includes/geshi/geshi/ocaml-brief.php +++ b/includes/geshi/geshi/ocaml-brief.php @@ -4,10 +4,10 @@ * ---------- * Author: Flaie (fireflaie@gmail.com) * Copyright: (c) 2005 Flaie, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2005/08/27 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * OCaml (Objective Caml) language file for GeSHi. * diff --git a/includes/geshi/geshi/ocaml.php b/includes/geshi/geshi/ocaml.php index 07a3136..b002fa7 100644 --- a/includes/geshi/geshi/ocaml.php +++ b/includes/geshi/geshi/ocaml.php @@ -4,10 +4,10 @@ * ---------- * Author: Flaie (fireflaie@gmail.com) * Copyright: (c) 2005 Flaie, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2005/08/27 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * OCaml (Objective Caml) language file for GeSHi. * diff --git a/includes/geshi/geshi/oobas.php b/includes/geshi/geshi/oobas.php index 406bb37..0f89de6 100644 --- a/includes/geshi/geshi/oobas.php +++ b/includes/geshi/geshi/oobas.php @@ -4,10 +4,10 @@ * --------- * Author: Roberto Rossi (rsoftware@altervista.org) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * OpenOffice.org Basic language file for GeSHi. * diff --git a/includes/geshi/geshi/oracle8.php b/includes/geshi/geshi/oracle8.php index b8b8296..4bb949b 100644 --- a/includes/geshi/geshi/oracle8.php +++ b/includes/geshi/geshi/oracle8.php @@ -4,10 +4,10 @@ * ----------- * Author: Guy Wicks (Guy.Wicks@rbs.co.uk) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Oracle 8 language file for GeSHi * diff --git a/includes/geshi/geshi/pascal.php b/includes/geshi/geshi/pascal.php index bc3edc0..8cdffa6 100644 --- a/includes/geshi/geshi/pascal.php +++ b/includes/geshi/geshi/pascal.php @@ -4,10 +4,10 @@ * ---------- * Author: Tux (tux@inamil.cz) * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/07/26 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Pascal language file for GeSHi. * diff --git a/includes/geshi/geshi/perl.php b/includes/geshi/geshi/perl.php index 17d6eac..d5564c4 100644 --- a/includes/geshi/geshi/perl.php +++ b/includes/geshi/geshi/perl.php @@ -4,17 +4,19 @@ * -------- * Author: Andreas Gohr (andi@splitbrain.org), Ben Keen (ben.keen@gmail.com) * Copyright: (c) 2004 Andreas Gohr, Ben Keen (http://www.benjaminkeen.org/), Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/08/20 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2006/01/05 07:20:16 $ * * Perl language file for GeSHi. * * CHANGES * ------- + * 2006/01/05 (1.0.2) + * - Used hardescape feature for ' strings (Cliff Stanford) * 2004/11/27 (1.0.1) - * - Added support for multiple object splitters + * - Added support for multiple object splitters * 2004/08/20 (1.0.0) * - First Release * @@ -48,7 +50,12 @@ $language_data = array ( 'COMMENT_SINGLE' => array(1 => '#'), 'COMMENT_MULTI' => array( '=pod' => '=cut'), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, - 'QUOTEMARKS' => array("'", '"'), + 'QUOTEMARKS' => array('"'), + 'HARDQUOTE' => array("'", "'"), // An optional 2-element array defining the beginning and end of a hard-quoted string + 'HARDESCAPE' => array('\\\'', "\\\\"), // Things that must still be escaped inside a hard-quoted string + // If HARDQUOTE is defined, HARDESCAPE must be defined + // This will not work unless the first character of each element is either in the + // QUOTEMARKS array or is the ESCAPE_CHAR 'ESCAPE_CHAR' => '\\', 'KEYWORDS' => array( 1 => array( diff --git a/includes/geshi/geshi/php-brief.php b/includes/geshi/geshi/php-brief.php index 6f1614a..3a3e8b8 100644 --- a/includes/geshi/geshi/php-brief.php +++ b/includes/geshi/geshi/php-brief.php @@ -4,10 +4,10 @@ * ------------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/06/02 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * PHP language file for GeSHi (brief version). * diff --git a/includes/geshi/geshi/php.php b/includes/geshi/geshi/php.php index e78ec47..07a2e71 100644 --- a/includes/geshi/geshi/php.php +++ b/includes/geshi/geshi/php.php @@ -4,10 +4,10 @@ * -------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.6 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * PHP language file for GeSHi. * diff --git a/includes/geshi/geshi/python.php b/includes/geshi/geshi/python.php index 44c5672..fa0d515 100644 --- a/includes/geshi/geshi/python.php +++ b/includes/geshi/geshi/python.php @@ -4,10 +4,10 @@ * ---------- * Author: Roberto Rossi (rsoftware@altervista.org) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.6 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Python language file for GeSHi. * diff --git a/includes/geshi/geshi/qbasic.php b/includes/geshi/geshi/qbasic.php index 0d628b6..96bdbbb 100644 --- a/includes/geshi/geshi/qbasic.php +++ b/includes/geshi/geshi/qbasic.php @@ -4,10 +4,10 @@ * ---------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.6 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * QBasic/QuickBASIC language file for GeSHi. * diff --git a/includes/geshi/geshi/ruby.php b/includes/geshi/geshi/ruby.php index 059f4f7..f0b6f13 100644 --- a/includes/geshi/geshi/ruby.php +++ b/includes/geshi/geshi/ruby.php @@ -4,15 +4,18 @@ * -------- * Author: Amit Gupta (http://blog.igeek.info/) * Copyright: (c) 2005 Amit Gupta (http://blog.igeek.info/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2005/09/05 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2006/01/05 06:36:24 $ * * Ruby language file for GeSHi * * CHANGES * ------- + * 2006/01/05 (1.0.1) + * - Add =begin multiline comments (Juan J. Martínez) + * - Add ` string (Juan J. Martínez) * 2005/09/05 (1.0.0) * - First Release * @@ -44,9 +47,9 @@ $language_data = array ( 'LANG_NAME' => 'Ruby', 'COMMENT_SINGLE' => array(1 => "#"), - 'COMMENT_MULTI' => array(), - 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, - 'QUOTEMARKS' => array('"'), + 'COMMENT_MULTI' => array( "=begin" => "=end"), + 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, + 'QUOTEMARKS' => array('"', '`'), 'ESCAPE_CHAR' => '\\', 'KEYWORDS' => array( 1 => array( @@ -90,7 +93,8 @@ $language_data = array ( 3 => 'color:#CC0066; font-weight:bold;' ), 'COMMENTS' => array( - 1 => 'color:#008000; font-style:italic;' + 1 => 'color:#008000; font-style:italic;', + 'MULTI' => 'color:#000080; font-style:italic;' ), 'ESCAPE_CHAR' => array( 0 => 'color:#000099;' diff --git a/includes/geshi/geshi/scheme.php b/includes/geshi/geshi/scheme.php index 08714ba..7be329b 100644 --- a/includes/geshi/geshi/scheme.php +++ b/includes/geshi/geshi/scheme.php @@ -4,10 +4,10 @@ * ---------- * Author: Jon Raphaelson (jonraphaelson@gmail.com) * Copyright: (c) 2005 Jon Raphaelson, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Scheme language file for GeSHi. * diff --git a/includes/geshi/geshi/sdlbasic.php b/includes/geshi/geshi/sdlbasic.php index ab80832..bdf6589 100644 --- a/includes/geshi/geshi/sdlbasic.php +++ b/includes/geshi/geshi/sdlbasic.php @@ -4,10 +4,10 @@ * ------------ * Author: Roberto Rossi * Copyright: (c) 2005 Roberto Rossi (http://rsoftware.altervista.org) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2005/08/19 - * Date Modified: $Date: 2005/10/22 07:52:59 $ + * Date Modified: $Date: 2005/11/20 07:47:40 $ * * sdlBasic (http://sdlbasic.sf.net) language file for GeSHi. * diff --git a/includes/geshi/geshi/smarty.php b/includes/geshi/geshi/smarty.php index 2cb39b9..2a9559b 100644 --- a/includes/geshi/geshi/smarty.php +++ b/includes/geshi/geshi/smarty.php @@ -4,10 +4,10 @@ * ---------- * Author: Alan Juden (alan@judenware.org) * Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.6 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Smarty template language file for GeSHi. * diff --git a/includes/geshi/geshi/sql.php b/includes/geshi/geshi/sql.php index 2c254df..9837abe 100644 --- a/includes/geshi/geshi/sql.php +++ b/includes/geshi/geshi/sql.php @@ -4,10 +4,10 @@ * ------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.7 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.8 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/11/02 22:10:52 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * SQL language file for GeSHi. * diff --git a/includes/geshi/geshi/vb.php b/includes/geshi/geshi/vb.php index e8338f4..3adaf4e 100644 --- a/includes/geshi/geshi/vb.php +++ b/includes/geshi/geshi/vb.php @@ -4,10 +4,10 @@ * ------ * Author: Roberto Rossi (rsoftware@altervista.org) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.6 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/10/31 22:18:28 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * Visual Basic language file for GeSHi. * diff --git a/includes/geshi/geshi/vbnet.php b/includes/geshi/geshi/vbnet.php index a71b3bf..b5ee16a 100644 --- a/includes/geshi/geshi/vbnet.php +++ b/includes/geshi/geshi/vbnet.php @@ -4,10 +4,10 @@ * --------- * Author: Alan Juden (alan@judenware.org) * Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.7 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.8 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * VB.NET language file for GeSHi. * diff --git a/includes/geshi/geshi/vhdl.php b/includes/geshi/geshi/vhdl.php index 4da81de..187ab4a 100644 --- a/includes/geshi/geshi/vhdl.php +++ b/includes/geshi/geshi/vhdl.php @@ -4,10 +4,10 @@ * -------- * Author: Alexander 'E-Razor' Krause (admin@erazor-zone.de) * Copyright: (c) 2005 Alexander Krause - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2005/06/15 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/11/20 07:47:40 $ * * VHDL (VHSICADL, very high speed integrated circuit HDL) language file for GeSHi. * diff --git a/includes/geshi/geshi/visualfoxpro.php b/includes/geshi/geshi/visualfoxpro.php index 064e5f0..8be1f82 100644 --- a/includes/geshi/geshi/visualfoxpro.php +++ b/includes/geshi/geshi/visualfoxpro.php @@ -4,8 +4,8 @@ * ---------------- * Author: Roberto Armellin (r.armellin@tin.it) * Copyright: (c) 2004 Roberto Armellin, Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/09/17 * Last Modified: 2004/09/18 * diff --git a/includes/geshi/geshi/xml.php b/includes/geshi/geshi/xml.php index 682ca3d..0222750 100644 --- a/includes/geshi/geshi/xml.php +++ b/includes/geshi/geshi/xml.php @@ -4,15 +4,17 @@ * ------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.5 - * CVS Revision Version: $Revision: 1.7 $ + * Release Version: 1.0.7.6 + * CVS Revision Version: $Revision: 1.10 $ * Date Started: 2004/09/01 - * Last Modified: $Date: 2005/10/22 07:52:59 $ + * Last Modified: $Date: 2005/12/30 04:52:10 $ * * XML language file for GeSHi. Based on the idea/file by Christian Weiske * * CHANGES * ------- + * 2005/12/28 (1.0.2) + * - Removed escape character for strings * 2004/11/27 (1.0.1) * - Added support for multiple object splitters * 2004/10/27 (1.0.0) @@ -48,7 +50,7 @@ $language_data = array ( 'COMMENT_MULTI' => array(''), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'QUOTEMARKS' => array("'", '"'), - 'ESCAPE_CHAR' => '\\', + 'ESCAPE_CHAR' => '', 'KEYWORDS' => array( ), 'SYMBOLS' => array( -- 2.22.5