diff options
57 files changed, 552 insertions, 351 deletions
diff --git a/inc/geshi.php b/inc/geshi.php index 4319afa02..6f54077cd 100644 --- a/inc/geshi.php +++ b/inc/geshi.php @@ -28,7 +28,7 @@ * @author Nigel McNie <nigel@geshi.org> * @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.</li> * <li><b>GESHI_HEADER_DIV</b>: Source is outputted in * a <div> HTML element.</li> + * <li><b>GESHI_HEADER_NONE</b>: No header is outputted.</li> * </ul> * * @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 .= '</span>'; } + $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 = "<span$attributes>" . $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), '<DOT>'), + array(@htmlspecialchars($word, ENT_COMPAT, $this->encoding), '<DOT>'), $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/inc/geshi/actionscript-french.php b/inc/geshi/actionscript-french.php index c1bdd6949..df1507d07 100644 --- a/inc/geshi/actionscript-french.php +++ b/inc/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/inc/geshi/actionscript.php b/inc/geshi/actionscript.php index ff3717d1c..d8d6df874 100644 --- a/inc/geshi/actionscript.php +++ b/inc/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/inc/geshi/ada.php b/inc/geshi/ada.php index ca319aa74..cab3207a9 100644 --- a/inc/geshi/ada.php +++ b/inc/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/inc/geshi/apache.php b/inc/geshi/apache.php index d81acc570..5a3a67027 100644 --- a/inc/geshi/apache.php +++ b/inc/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/inc/geshi/applescript.php b/inc/geshi/applescript.php index 9912cf455..6b640cbb6 100644 --- a/inc/geshi/applescript.php +++ b/inc/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/inc/geshi/asm.php b/inc/geshi/asm.php index 95046d64b..c5c87dd9f 100644 --- a/inc/geshi/asm.php +++ b/inc/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/inc/geshi/asp.php b/inc/geshi/asp.php index 7e77d912f..fee66a7a3 100644 --- a/inc/geshi/asp.php +++ b/inc/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/inc/geshi/bash.php b/inc/geshi/bash.php index 2f1728b62..8f3bd0857 100644 --- a/inc/geshi/bash.php +++ b/inc/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/inc/geshi/blitzbasic.php b/inc/geshi/blitzbasic.php index c1ad6b376..c7a7a2dc0 100644 --- a/inc/geshi/blitzbasic.php +++ b/inc/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/inc/geshi/c.php b/inc/geshi/c.php index c624cf1f4..582fef7a8 100644 --- a/inc/geshi/c.php +++ b/inc/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/inc/geshi/c_mac.php b/inc/geshi/c_mac.php index faeffdf33..0001ed8c7 100644 --- a/inc/geshi/c_mac.php +++ b/inc/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/inc/geshi/caddcl.php b/inc/geshi/caddcl.php index 957119f5c..65b76adba 100644 --- a/inc/geshi/caddcl.php +++ b/inc/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/inc/geshi/cadlisp.php b/inc/geshi/cadlisp.php index f7b548b39..c4fab242d 100644 --- a/inc/geshi/cadlisp.php +++ b/inc/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/inc/geshi/cpp.php b/inc/geshi/cpp.php index a5208cb6c..397688f10 100644 --- a/inc/geshi/cpp.php +++ b/inc/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/inc/geshi/csharp.php b/inc/geshi/csharp.php index e2bf570e6..aba83a008 100644 --- a/inc/geshi/csharp.php +++ b/inc/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/inc/geshi/css.php b/inc/geshi/css.php index 28e4bf181..bc30ab058 100644 --- a/inc/geshi/css.php +++ b/inc/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/inc/geshi/d.php b/inc/geshi/d.php index 9c7356156..001a896b6 100644 --- a/inc/geshi/d.php +++ b/inc/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/inc/geshi/delphi.php b/inc/geshi/delphi.php index 2372d046a..6f7e837f7 100644 --- a/inc/geshi/delphi.php +++ b/inc/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/inc/geshi/diff.php b/inc/geshi/diff.php index 22ac09c24..eb0f56ce6 100644 --- a/inc/geshi/diff.php +++ b/inc/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/inc/geshi/div.php b/inc/geshi/div.php index 5d451107c..70be0dfb5 100644 --- a/inc/geshi/div.php +++ b/inc/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/inc/geshi/dos.php b/inc/geshi/dos.php index 6130badc6..5532ba976 100644 --- a/inc/geshi/dos.php +++ b/inc/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/inc/geshi/eiffel.php b/inc/geshi/eiffel.php index e0a67b439..d06477b50 100644 --- a/inc/geshi/eiffel.php +++ b/inc/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/inc/geshi/freebasic.php b/inc/geshi/freebasic.php index 34488ed6e..8e2358662 100644 --- a/inc/geshi/freebasic.php +++ b/inc/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/inc/geshi/gml.php b/inc/geshi/gml.php index 12d19a0af..b3a237022 100644 --- a/inc/geshi/gml.php +++ b/inc/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/inc/geshi/html4strict.php b/inc/geshi/html4strict.php index e5683b8ce..48c6e0e11 100644 --- a/inc/geshi/html4strict.php +++ b/inc/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/inc/geshi/ini.php b/inc/geshi/ini.php index 2184f3764..3634f53d6 100644 --- a/inc/geshi/ini.php +++ b/inc/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/inc/geshi/inno.php b/inc/geshi/inno.php index 49dbfba9c..dc8e26302 100644 --- a/inc/geshi/inno.php +++ b/inc/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/inc/geshi/java.php b/inc/geshi/java.php index b3f8679ad..f198456c4 100644 --- a/inc/geshi/java.php +++ b/inc/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/inc/geshi/javascript.php b/inc/geshi/javascript.php index 1a17e1e75..6075ffd26 100644 --- a/inc/geshi/javascript.php +++ b/inc/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/inc/geshi/lisp.php b/inc/geshi/lisp.php index f48ed416a..095f260e9 100644 --- a/inc/geshi/lisp.php +++ b/inc/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/inc/geshi/lua.php b/inc/geshi/lua.php index 3c9bef422..1ed0133fd 100644 --- a/inc/geshi/lua.php +++ b/inc/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/inc/geshi/matlab.php b/inc/geshi/matlab.php index 6bac6a457..ce4f1c3b6 100644 --- a/inc/geshi/matlab.php +++ b/inc/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/inc/geshi/mpasm.php b/inc/geshi/mpasm.php index 7e1451da7..079a0b0b5 100644 --- a/inc/geshi/mpasm.php +++ b/inc/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/inc/geshi/mysql.php b/inc/geshi/mysql.php index b6d248cfc..91a4f899c 100644 --- a/inc/geshi/mysql.php +++ b/inc/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/inc/geshi/nsis.php b/inc/geshi/nsis.php index 5c4fd62e5..43775308e 100644 --- a/inc/geshi/nsis.php +++ b/inc/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/inc/geshi/objc.php b/inc/geshi/objc.php index 635f31dce..f6a4ecb6a 100644 --- a/inc/geshi/objc.php +++ b/inc/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/inc/geshi/ocaml-brief.php b/inc/geshi/ocaml-brief.php index 433f95d98..19bc0d516 100644 --- a/inc/geshi/ocaml-brief.php +++ b/inc/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/inc/geshi/ocaml.php b/inc/geshi/ocaml.php index 07a3136da..b002fa7e5 100644 --- a/inc/geshi/ocaml.php +++ b/inc/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/inc/geshi/oobas.php b/inc/geshi/oobas.php index 406bb376b..0f89de67e 100644 --- a/inc/geshi/oobas.php +++ b/inc/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/inc/geshi/oracle8.php b/inc/geshi/oracle8.php index b8b829613..4bb949b9a 100644 --- a/inc/geshi/oracle8.php +++ b/inc/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/inc/geshi/pascal.php b/inc/geshi/pascal.php index bc3edc087..8cdffa6c5 100644 --- a/inc/geshi/pascal.php +++ b/inc/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/inc/geshi/perl.php b/inc/geshi/perl.php index 17d6eac27..d5564c4ba 100644 --- a/inc/geshi/perl.php +++ b/inc/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/inc/geshi/php-brief.php b/inc/geshi/php-brief.php index 6f1614a4e..3a3e8b8bc 100644 --- a/inc/geshi/php-brief.php +++ b/inc/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/inc/geshi/php.php b/inc/geshi/php.php index e78ec47c4..07a2e7132 100644 --- a/inc/geshi/php.php +++ b/inc/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/inc/geshi/python.php b/inc/geshi/python.php index 44c56723c..fa0d51542 100644 --- a/inc/geshi/python.php +++ b/inc/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/inc/geshi/qbasic.php b/inc/geshi/qbasic.php index 0d628b619..96bdbbb8f 100644 --- a/inc/geshi/qbasic.php +++ b/inc/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/inc/geshi/ruby.php b/inc/geshi/ruby.php index 059f4f798..f0b6f1357 100644 --- a/inc/geshi/ruby.php +++ b/inc/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/inc/geshi/scheme.php b/inc/geshi/scheme.php index 08714ba69..7be329b77 100644 --- a/inc/geshi/scheme.php +++ b/inc/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/inc/geshi/sdlbasic.php b/inc/geshi/sdlbasic.php index ab8083285..bdf65898c 100644 --- a/inc/geshi/sdlbasic.php +++ b/inc/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/inc/geshi/smarty.php b/inc/geshi/smarty.php index 2cb39b98f..2a9559b1d 100644 --- a/inc/geshi/smarty.php +++ b/inc/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/inc/geshi/sql.php b/inc/geshi/sql.php index 2c254df80..9837abe26 100644 --- a/inc/geshi/sql.php +++ b/inc/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/inc/geshi/vb.php b/inc/geshi/vb.php index e8338f4ba..3adaf4e5f 100644 --- a/inc/geshi/vb.php +++ b/inc/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/inc/geshi/vbnet.php b/inc/geshi/vbnet.php index a71b3bffc..b5ee16ad4 100644 --- a/inc/geshi/vbnet.php +++ b/inc/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/inc/geshi/vhdl.php b/inc/geshi/vhdl.php index 4da81dea9..187ab4a15 100644 --- a/inc/geshi/vhdl.php +++ b/inc/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/inc/geshi/visualfoxpro.php b/inc/geshi/visualfoxpro.php index 064e5f048..8be1f8237 100644 --- a/inc/geshi/visualfoxpro.php +++ b/inc/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/inc/geshi/xml.php b/inc/geshi/xml.php index 682ca3dbe..022275062 100644 --- a/inc/geshi/xml.php +++ b/inc/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( |