diff options
70 files changed, 791 insertions, 758 deletions
diff --git a/inc/geshi.php b/inc/geshi.php index ee7b94269..4e709fe22 100644 --- a/inc/geshi.php +++ b/inc/geshi.php @@ -2,11 +2,12 @@ /** * GeSHi - Generic Syntax Highlighter * - * The GeSHi class for Generic Syntax Highlighting. Please refer to the documentation - * at http://qbnz.com/highlighter/documentation.php for more information about how to - * use this class. + * The GeSHi class for Generic Syntax Highlighting. Please refer to the + * documentation at http://qbnz.com/highlighter/documentation.php for more + * information about how to use this class. * - * For changes, release notes, TODOs etc, see the relevant files in the docs/ directory + * For changes, release notes, TODOs etc, see the relevant files in the docs/ + * directory. * * This file is part of GeSHi. * @@ -28,7 +29,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.40.2.1 2006/06/21 10:35:33 oracleshinoda Exp $ + * @version $Id: geshi.php,v 1.40.2.5 2006/07/22 11:30:40 oracleshinoda Exp $ * */ @@ -40,7 +41,7 @@ // /** The version of this GeSHi file */ -define('GESHI_VERSION', '1.0.7.11'); +define('GESHI_VERSION', '1.0.7.12'); /** Set the correct directory separator */ define('GESHI_DIR_SEPARATOR', ('WIN' != substr(PHP_OS, 0, 3)) ? '/' : '\\'); @@ -1414,11 +1415,11 @@ class GeSHi return $this->finalise($result); } - // Add spaces for regular expression matching and line numbers - $code = ' ' . $this->source . ' '; // Replace all newlines to a common form. - $code = str_replace("\r\n", "\n", $code); + $code = str_replace("\r\n", "\n", $this->source); $code = str_replace("\r", "\n", $code); + // Add spaces for regular expression matching and line numbers + $code = "\n" . $code . "\n"; // Initialise various stuff $length = strlen($code); @@ -2264,6 +2265,11 @@ class GeSHi $parsed_code = $this->indent($parsed_code); } + // purge some unnecessary stuff + $parsed_code = preg_replace('#<span[^>]+>(\s*)</span>#', '\\1', $parsed_code); + $parsed_code = preg_replace('#<div[^>]+>(\s*)</div>#', '\\1', $parsed_code); + + // If we're using line numbers, we insert <li>s and appropriate // markup to style them (otherwise we don't need to do anything) if ($this->line_numbers != GESHI_NO_LINE_NUMBERS) { @@ -2278,8 +2284,10 @@ class GeSHi $attrs = array(); // Foreach line... - foreach ($code as $line) { - $line = ( $line ) ? $line : ' '; + foreach ($code as $line) {//echo "LINE:|".htmlspecialchars($line)."| ".strlen($line)."<br />\n"; + if ('' == $line || ' ' == $line) { + $line = ' '; + } // If this is a "special line"... if ($this->line_numbers == GESHI_FANCY_LINE_NUMBERS && $i % $this->line_nth_row == ($this->line_nth_row - 1)) { @@ -2342,10 +2350,11 @@ class GeSHi $code = explode("\n", $parsed_code); $parsed_code = ''; $i = 0; - foreach ($code as $line) - { + foreach ($code as $line) { // Make lines have at least one space in them if they're empty - $line = ($line) ? $line : ' '; + if ('' == $line || ' ' == $line) { + $line = ' '; + } if (in_array(++$i, $this->highlight_extra_lines)) { if ($this->use_classes) { $parsed_code .= '<div class="ln-xtra">'; @@ -2359,11 +2368,7 @@ class GeSHi } } } - - // purge some unnecessary stuff - $parsed_code = preg_replace('#<span[^>]+>(\s*)</span>#', '\\1', $parsed_code); - $parsed_code = preg_replace('#<div[^>]+>(\s*)</div>#', '\\1', $parsed_code); - + if ($this->header_type == GESHI_HEADER_PRE) { // enforce line numbers when using pre $parsed_code = str_replace('<li></li>', '<li> </li>', $parsed_code); diff --git a/inc/geshi/actionscript.php b/inc/geshi/actionscript.php index d55b19340..07e9e9d39 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.11 - * CVS Revision Version: $Revision: 1.13 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.3 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:29 $ * * Actionscript language file for GeSHi. * @@ -42,7 +42,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'Actionscript', + 'LANG_NAME' => 'ActionScript', 'COMMENT_SINGLE' => array(1 => '//', 2 => '#'), 'COMMENT_MULTI' => array('/*' => '*/'), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, diff --git a/inc/geshi/ada.php b/inc/geshi/ada.php index 65b87e5ee..0e08593b9 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.11 - * CVS Revision Version: $Revision: 1.14 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.14.2.2 $ * Date Started: 2004/07/29 - * Last Modified: $Date: 2006/05/21 00:06:57 $ + * Last Modified: $Date: 2006/07/22 11:30:32 $ * * Ada language file for GeSHi. * Words are from SciTe configuration file diff --git a/inc/geshi/apache.php b/inc/geshi/apache.php index 176138db5..a11c9c9dd 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.11 - * CVS Revision Version: $Revision: 1.14 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.14.2.3 $ * Date Started: 2004/29/07 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:31 $ * * Apache language file for GeSHi. * Words are from SciTe configuration file @@ -45,7 +45,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'Apache', + 'LANG_NAME' => 'Apache Log', 'COMMENT_SINGLE' => array(1 => '#'), 'COMMENT_MULTI' => array(), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, diff --git a/inc/geshi/applescript.php b/inc/geshi/applescript.php index 8e1d75f2e..d6a72da14 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.11 - * CVS Revision Version: $Revision: 1.12 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.12.2.3 $ * Date Started: 2005/07/20 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:26 $ * * AppleScript language file for GeSHi. * @@ -18,6 +18,24 @@ * ------------------------- * URL settings to references * + ************************************************************************************** + * + * This file is part of GeSHi. + * + * GeSHi is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * GeSHi is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GeSHi; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * ************************************************************************************/ $language_data = array ( @@ -53,7 +71,7 @@ $language_data = array ( ) ), 'SYMBOLS' => array( - ')','+','-','^','*','/','&','<','>=','<','<=','=','' + ')','+','-','^','*','/','&','<','>=','<','<=','=','�' ), 'CASE_SENSITIVE' => array( GESHI_COMMENTS => true, diff --git a/inc/geshi/asm.php b/inc/geshi/asm.php index 0cd5f453e..84462ca8c 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.11 - * CVS Revision Version: $Revision: 1.15 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.15.2.3 $ * Date Started: 2004/07/27 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:31 $ * * x86 Assembler language file for GeSHi. * Words are from SciTe configuration file (based on NASM syntax) @@ -46,7 +46,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'assembler', + 'LANG_NAME' => 'ASM', 'COMMENT_SINGLE' => array(1 => ';'), 'COMMENT_MULTI' => array(), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, diff --git a/inc/geshi/asp.php b/inc/geshi/asp.php index 238045b08..feab11129 100644 --- a/inc/geshi/asp.php +++ b/inc/geshi/asp.php @@ -4,10 +4,10 @@ * --------
* 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.11 - * CVS Revision Version: $Revision: 1.14 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.14.2.2 $
* Date Started: 2004/08/13
- * Last Modified: $Date: 2006/05/21 00:06:56 $
+ * Last Modified: $Date: 2006/07/22 11:30:31 $
*
* ASP language file for GeSHi.
*
diff --git a/inc/geshi/autoit.php b/inc/geshi/autoit.php index 5cd32f491..6bfb9e04c 100644 --- a/inc/geshi/autoit.php +++ b/inc/geshi/autoit.php @@ -4,7 +4,7 @@ * -------- * Author: mastrboy * Copyright: (c) 2006 and to GESHi ;) - * Release Version: 1.0.7.11 + * Release Version: 1.0.7.12 * Date Started: 26.01.2006 * * Current bugs & todo: @@ -36,7 +36,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'AUTOIT', + 'LANG_NAME' => 'AutoIT', 'COMMENT_SINGLE' => array(';'), 'COMMENT_MULTI' => array('#comments-start' => '#comments-end'), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, diff --git a/inc/geshi/bash.php b/inc/geshi/bash.php index b34d75ee9..161f71114 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.11 - * CVS Revision Version: $Revision: 1.13 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.2 $ * Date Started: 2004/08/20 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:23 $ * * BASH language file for GeSHi. * diff --git a/inc/geshi/blitzbasic.php b/inc/geshi/blitzbasic.php index a74feffa9..249881efe 100644 --- a/inc/geshi/blitzbasic.php +++ b/inc/geshi/blitzbasic.php @@ -2,12 +2,12 @@ /*************************************************************************************
* blitzbasic.php
* --------------
- * Author: Pàdraig O`Connel (info@moonsword.info)
- * Copyright: (c) 2005 Pàdraig O`Connel (http://moonsword.info)
- * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.11 $
+ * Author: P�draig O`Connel (info@moonsword.info)
+ * Copyright: (c) 2005 P�draig O`Connel (http://moonsword.info)
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.11.2.3 $
* Date Started: 16.10.2005
- * Last Modified: $Date: 2006/05/21 00:06:56 $
+ * Last Modified: $Date: 2006/07/22 11:30:23 $
*
* BlitzBasic language file for GeSHi.
*
@@ -50,7 +50,7 @@ ************************************************************************************/
$language_data = array (
- 'LANG_NAME' => 'BLITZ BASIC',
+ 'LANG_NAME' => 'BlitzBasic',
'COMMENT_SINGLE' => array(1 => ';'),
'COMMENT_MULTI' => array(),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
diff --git a/inc/geshi/c.php b/inc/geshi/c.php index ad9fad8dd..d7991aa5a 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.11 - * CVS Revision Version: $Revision: 1.13 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.2 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:30 $ * * C language file for GeSHi. * diff --git a/inc/geshi/c_mac.php b/inc/geshi/c_mac.php index 86240ccc1..44580b1f3 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.11 - * CVS Revision Version: $Revision: 1.13 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.3 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2006/05/21 00:06:57 $ + * Last Modified: $Date: 2006/07/22 11:30:32 $ * * C for Macs language file for GeSHi. * @@ -40,7 +40,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'C', + 'LANG_NAME' => 'C (Mac)', 'COMMENT_SINGLE' => array(1 => '//', 2 => '#'), 'COMMENT_MULTI' => array('/*' => '*/'), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, diff --git a/inc/geshi/caddcl.php b/inc/geshi/caddcl.php index 9a7893e93..a83e478ca 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.11 - * CVS Revision Version: $Revision: 1.13 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.3 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:29 $ * * CAD DCL (Dialog Control Language) file for GeSHi. * @@ -44,7 +44,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'CADDCL', + 'LANG_NAME' => 'CAD DCL', 'COMMENT_SINGLE' => array(1 => '//'), 'COMMENT_MULTI' => array('/*' => '*/'), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, diff --git a/inc/geshi/cadlisp.php b/inc/geshi/cadlisp.php index 32923971f..f36276274 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.11 - * CVS Revision Version: $Revision: 1.13 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.3 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:30 $ * * AutoCAD/IntelliCAD Lisp language file for GeSHi. * @@ -44,7 +44,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'CADLISP', + 'LANG_NAME' => 'CAD Lisp', 'COMMENT_SINGLE' => array(1 => ";"), 'COMMENT_MULTI' => array(";|" => "|;"), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, diff --git a/inc/geshi/cfdg.php b/inc/geshi/cfdg.php index e55500f01..029191722 100644 --- a/inc/geshi/cfdg.php +++ b/inc/geshi/cfdg.php @@ -4,10 +4,10 @@ * -------- * Author: John Horigan <john@glyphic.com> * Copyright: (c) 2006 John Horigan http://www.ozonehouse.com/john/ - * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.5.2.2 $ * Date Started: 2006/03/11 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:26 $ * * CFDG language file for GeSHi. * diff --git a/inc/geshi/cfm.php b/inc/geshi/cfm.php index deff65850..70397c099 100644 --- a/inc/geshi/cfm.php +++ b/inc/geshi/cfm.php @@ -4,10 +4,10 @@ * ------- * Author: Diego () * Copyright: (c) 2006 Diego - * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.7 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.7.2.3 $ * Date Started: 2006/02/25 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:27 $ * * ColdFusion language file for GeSHi. * @@ -40,7 +40,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'CFM', + 'LANG_NAME' => 'ColdFusion', 'COMMENT_SINGLE' => array(1 => '//'), 'COMMENT_MULTI' => array('<!--' => '-->','<!---' => '--->'), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, diff --git a/inc/geshi/cpp.php b/inc/geshi/cpp.php index 5953d40c1..10e6a8729 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.11 - * CVS Revision Version: $Revision: 1.15 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.15.2.2 $
* Date Started: 2004/09/27
- * Last Modified: $Date: 2006/05/21 00:06:56 $
+ * Last Modified: $Date: 2006/07/22 11:30:25 $
*
* C++ language file for GeSHi.
*
diff --git a/inc/geshi/csharp.php b/inc/geshi/csharp.php index ca38bced3..0e7c10778 100644 --- a/inc/geshi/csharp.php +++ b/inc/geshi/csharp.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.11 - * CVS Revision Version: $Revision: 1.14 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.14.2.3 $
* Date Started: 2004/06/04
- * Last Modified: $Date: 2006/05/21 00:06:57 $
+ * Last Modified: $Date: 2006/07/22 11:30:32 $
*
* C# language file for GeSHi.
*
@@ -42,7 +42,7 @@ ************************************************************************************/
$language_data = array (
- 'LANG_NAME' => 'CSharp',
+ 'LANG_NAME' => 'C#',
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
'COMMENT_MULTI' => array('/*' => '*/'),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
diff --git a/inc/geshi/css.php b/inc/geshi/css.php index 4c7a67c5f..2164127dc 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.11 - * CVS Revision Version: $Revision: 1.15 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.15.2.2 $ * Date Started: 2004/06/18 - * Last Modified: $Date: 2006/05/21 00:06:57 $ + * Last Modified: $Date: 2006/07/22 11:30:32 $ * * CSS language file for GeSHi. * diff --git a/inc/geshi/d.php b/inc/geshi/d.php index bbfddafd8..b9815225c 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.11 - * CVS Revision Version: $Revision: 1.13 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.2 $ * Date Started: 2005/04/22 - * Last Modified: $Date: 2006/05/21 00:06:57 $ + * Last Modified: $Date: 2006/07/22 11:30:34 $ * * D language file for GeSHi. * diff --git a/inc/geshi/delphi.php b/inc/geshi/delphi.php index a0d8e41c3..4ddefa05b 100644 --- a/inc/geshi/delphi.php +++ b/inc/geshi/delphi.php @@ -4,10 +4,10 @@ * ---------- * Author: Járja Norbert (jnorbi@vipmail.hu) * Copyright: (c) 2004 Járja Norbert, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.17 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.17.2.2 $ * Date Started: 2004/07/26 - * Last Modified: $Date: 2006/05/21 00:06:57 $ + * Last Modified: $Date: 2006/07/22 11:30:32 $ * * Delphi (Object Pascal) language file for GeSHi. * diff --git a/inc/geshi/diff.php b/inc/geshi/diff.php index 70acee5cd..1ae87b945 100644 --- a/inc/geshi/diff.php +++ b/inc/geshi/diff.php @@ -4,10 +4,10 @@ * -------- * Author: Conny Brunnkvist (conny@fuchsia.se), W. Tasin (tasin@fhm.edu) * Copyright: (c) 2004 Fuchsia Open Source Solutions (http://www.fuchsia.se/) - * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.14 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.14.2.2 $ * Date Started: 2004/12/29 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:23 $ * * Diff-output language file for GeSHi. * diff --git a/inc/geshi/div.php b/inc/geshi/div.php index 0ea59977e..8cb419bc4 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.11 - * CVS Revision Version: $Revision: 1.13 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.2 $
* Date Started: 2005/06/19
- * Last Modified: $Date: 2006/05/21 00:06:56 $
+ * Last Modified: $Date: 2006/07/22 11:30:23 $
*
* DIV language file for GeSHi.
*
diff --git a/inc/geshi/dos.php b/inc/geshi/dos.php index 3f7506f4c..e46be6ec2 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.11 - * CVS Revision Version: $Revision: 1.14 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.14.2.2 $ * Date Started: 2005/07/05 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:27 $ * * DOS language file for GeSHi. * diff --git a/inc/geshi/eiffel.php b/inc/geshi/eiffel.php index aab294901..de521831b 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.11 - * CVS Revision Version: $Revision: 1.13 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.2 $
* Date Started: 2005/06/30
- * Last Modified: $Date: 2006/05/21 00:06:56 $
+ * Last Modified: $Date: 2006/07/22 11:30:27 $
*
* Eiffel language file for GeSHi.
*
diff --git a/inc/geshi/fortran.php b/inc/geshi/fortran.php index b6b3a896d..44738af55 100644 --- a/inc/geshi/fortran.php +++ b/inc/geshi/fortran.php @@ -4,10 +4,10 @@ * ----------- * Author: Cedric Arrabie (cedric.arrabie@univ-pau.fr) * Copyright: (C) 2006 Cetric Arrabie - * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.4.2.2 $ * Date Started: 2006/04/22 - * Last Modified: $Date: 2006/05/21 00:06:57 $ + * Last Modified: $Date: 2006/07/22 11:30:32 $ * * Fortran language file for GeSHi. * diff --git a/inc/geshi/freebasic.php b/inc/geshi/freebasic.php index f3731f7ef..36e35454c 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.11 + * Release Version: 1.0.7.12 * 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 171db3adf..8f39778b7 100644 --- a/inc/geshi/gml.php +++ b/inc/geshi/gml.php @@ -1,504 +1,504 @@ -<?php
-/*************************************************************************************
- * gml.php
- * --------
- * 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.11 - * CVS Revision Version: $Revision: 1.15 $
- * Date Started: 2005/06/21
- * Last Modified: $Date: 2006/05/21 00:06:56 $
- *
- * GML language file for GeSHi.
- *
- * GML (Game Maker Language) is a script language that is built-in into Game Maker,
- * a game creation program, more info about Game Maker can be found at
- * http://www.gamemaker.nl/
- * All GML keywords were extracted from the Game Maker HTML Help file using a PHP
- * script (one section at a time). I love PHP for saving me that bunch of work :P!.
- * I think all GML functions have been indexed here, but I'm not sure about it, so
- * please let me know of any issue you may find.
- *
- * CHANGES
- * -------
- * 2005/11/11
- * - Changed 'CASE_KEYWORDS' fom 'GESHI_CAPS_LOWER' to 'GESHI_CAPS_NO_CHANGE',
- * so that MCI_command appears correctly (the only GML function using capitals).
- * - Changed 'CASE_SENSITIVE' options, 'GESHI_COMMENTS' from true to false and all
- * of the others from false to true.
- * - Deleted repeated entries.
- * - div and mod are language keywords, moved (from symbols) to the appropiate section (1).
- * - Moved self, other, all, noone and global identifiers to language keywords section 1.
- * - Edited this file lines to a maximum width of 100 characters (as stated in
- * the GeSHi docs). Well, not strictly to 100 but around it.
- * - Corrected some minor issues (the vk_f1...vk_f12 keys and similar).
- * - Deleted the KEYWORDS=>5 and KEYWORDS=>6 sections (actually, they were empty).
- * I was planning of using those for the GML functions available only in the
- * registered version of the program, but not anymore.
- *
- * 2005/06/26 (1.0.3)
- * - First Release.
- *
- * TODO (updated 2005/11/11)
- * -------------------------
- * - Test it for a while and make the appropiate corrections.
- *
- *************************************************************************************
- *
- * This file is part of GeSHi.
- *
- * GeSHi is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GeSHi is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with GeSHi; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- ************************************************************************************/
-
-$language_data = array (
- 'LANG_NAME' => 'GML',
- 'COMMENT_SINGLE' => array(1 => '//'),
- 'COMMENT_MULTI' => array('/*' => '*/'),
- 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
- 'QUOTEMARKS' => array("'"),
- 'ESCAPE_CHAR' => '\\',
- 'KEYWORDS' => array(
- // language keywords
- 1 => array(
- 'break', 'continue', 'do', 'until', 'if', 'else',
- 'exit', 'for', 'for', 'repeat', 'return', 'switch',
- 'case', 'default', 'var', 'while', 'with', 'div', 'mod',
- // GML Language overview
- 'self', 'other', 'all', 'noone', 'global',
- ),
- // modifiers and built-in variables
- 2 => array(
- // Game play
- 'x','y','xprevious','yprevious','xstart','ystart','hspeed','vspeed','direction','speed',
- 'friction','gravity','gravity_direction',
- 'path_index','path_position','path_positionprevious','path_speed','path_orientation',
- 'path_scale','path_endaction',
- 'object_index','id','mask_index','solid','persistent','instance_count','instance_id',
- 'room_speed','fps','current_time','current_year','current_month','current_day','current_weekday',
- 'current_hour','current_minute','current_second','alarm','timeline_index','timeline_position',
- 'timeline_speed',
- 'room','room_first','room_last','room_width','room_height','room_caption','room_persistent',
- 'score','lives','health','show_score','show_lives','show_health','caption_score','caption_lives',
- 'caption_health',
- 'event_type','event_number','event_object','event_action',
- 'error_occurred','error_last',
- // User interaction
- 'keyboard_lastkey','keyboard_key','keyboard_lastchar','keyboard_string',
- 'mouse_x','mouse_y','mouse_button','mouse_lastbutton',
- // Game Graphics
- 'visible','sprite_index','sprite_width','sprite_height','sprite_xoffset','sprite_yoffset',
- 'image_number','image_index','image_speed','depth','image_xscale','image_yscale','image_angle',
- 'image_alpha','image_blend','bbox_left','bbox_right','bbox_top','bbox_bottom',
- 'background_color','background_showcolor','background_visible','background_foreground',
- 'background_index','background_x','background_y','background_width','background_height',
- 'background_htiled','background_vtiled','background_xscale','background_yscale',
- 'background_hspeed','background_vspeed','background_blend','background_alpha',
- 'background','left, top, width, height','x,y','depth','visible','xscale, yscale','blend','alpha',
- 'view_enabled','view_current','view_visible','view_yview','view_wview','view_hview','view_xport',
- 'view_yport','view_wport','view_hport','view_angle','view_hborder','view_vborder','view_hspeed',
- 'view_vspeed','view_object',
- 'transition_kind',
- // Files, registry and executing programs
- 'game_id','working_directory','temp_directory',
- 'secure_mode',
- // Creating particles
- 'xmin', 'xmax', 'ymin', 'ymax','shape','distribution','particle type','number',
- 'x', 'y', 'force','dist','kind','additive', 'friction', 'parttype1', 'parttype2'
- ),
- // functions
- 3 => array(
- // Computing things
- 'random','choose','abs','sign','round','floor','ceil','frac','sqrt','sqr','power','exp','ln',
- 'log2','log10','logn','sin','cos','tan','arcsin','arccos','arctan','arctan2','degtorad',
- 'radtodeg','min','max','mean','median','point_distance','point_direction','lengthdir_x',
- 'lengthdir_y','is_real','is_string',
- 'chr','ord','real','string','string_format','string_length','string_pos','string_copy',
- 'string_char_at','string_delete','string_insert','string_replace','string_replace_all',
- 'string_count','string_lower','string_upper','string_repeat','string_letters','string_digits',
- 'string_lettersdigits','clipboard_has_text','clipboard_get_text','clipboard_set_text',
- 'date_current_datetime','date_current_date','date_current_time','date_create_datetime',
- 'date_create_date','date_create_time','date_valid_datetime','date_valid_date','date_valid_time',
- 'date_inc_year','date_inc_month','date_inc_week','date_inc_day','date_inc_hour',
- 'date_inc_minute','date_inc_second','date_get_year','date_get_month','date_get_week',
- 'date_get_day','date_get_hour', 'date_get_minute','date_get_second','date_get_weekday',
- 'date_get_day_of_year','date_get_hour_of_year','date_get_minute_of_year',
- 'date_get_second_of_year','date_year_span','date_month_span','date_week_span','date_day_span',
- 'date_hour_span','date_minute_span','date_second_span','date_compare_datetime',
- 'date_compare_date','date_compare_time','date_date_of','date_time_of','date_datetime_string',
- 'date_date_string','date_time_string','date_days_in_month','date_days_in_year','date_leap_year',
- 'date_is_today',
- // Game play
- 'motion_set','motion_add','place_free','place_empty','place_meeting','place_snapped',
- 'move_random','move_snap','move_wrap','move_towards_point','move_bounce_solid','move_bounce_all',
- 'move_contact_solid','move_contact_all','move_outside_solid','move_outside_all',
- 'distance_to_point','distance_to_object','position_empty','position_meeting',
- 'path_start','path_end',
- 'mp_linear_step','mp_linear_step_object','mp_potential_step','mp_potential_step_object',
- 'mp_potential_settings','mp_linear_path','mp_linear_path_object', 'mp_potential_path',
- 'mp_potential_path_object','mp_grid_create','mp_grid_destroy','mp_grid_clear_all',
- 'mp_grid_clear_cell','mp_grid_clear_rectangle','mp_grid_add_cell','mp_grid_add_rectangle',
- 'mp_grid_add_instances','mp_grid_path','mp_grid_draw',
- 'collision_point','collision_rectangle','collision_circle','collision_ellipse','collision_line',
- 'instance_find','instance_exists','instance_number','instance_position','instance_nearest',
- 'instance_furthest','instance_place','instance_create','instance_copy','instance_destroy',
- 'instance_change','position_destroy','position_change',
- 'instance_deactivate_all','instance_deactivate_object','instance_deactivate_region',
- 'instance_activate_all','instance_activate_object','instance_activate_region',
- 'sleep',
- 'room_goto','room_goto_previous','room_goto_next','room_restart','room_previous','room_next',
- 'game_end','game_restart','game_save','game_load',
- 'event_perform', 'event_perform_object','event_user','event_inherited',
- 'show_debug_message','variable_global_exists','variable_local_exists','variable_global_get',
- 'variable_global_array_get','variable_global_array2_get','variable_local_get',
- 'variable_local_array_get','variable_local_array2_get','variable_global_set',
- 'variable_global_array_set','variable_global_array2_set','variable_local_set',
- 'variable_local_array_set','variable_local_array2_set','set_program_priority',
- // User interaction
- 'keyboard_set_map','keyboard_get_map','keyboard_unset_map','keyboard_check',
- 'keyboard_check_pressed','keyboard_check_released','keyboard_check_direct',
- 'keyboard_get_numlock','keyboard_set_numlock','keyboard_key_press','keyboard_key_release',
- 'keyboard_clear','io_clear','io_handle','keyboard_wait',
- 'mouse_check_button','mouse_check_button_pressed','mouse_check_button_released','mouse_clear',
- 'io_clear','io_handle','mouse_wait',
- 'joystick_exists','joystick_name','joystick_axes','joystick_buttons','joystick_has_pov',
- 'joystick_direction','joystick_check_button','joystick_xpos','joystick_ypos','joystick_zpos',
- 'joystick_rpos','joystick_upos','joystick_vpos','joystick_pov',
- // Game Graphics
- 'draw_sprite','draw_sprite_stretched','draw_sprite_tiled','draw_sprite_part','draw_background',
- 'draw_background_stretched','draw_background_tiled','draw_background_part','draw_sprite_ext',
- 'draw_sprite_stretched_ext','draw_sprite_tiled_ext','draw_sprite_part_ext','draw_sprite_general',
- 'draw_background_ext','draw_background_stretched_ext','draw_background_tiled_ext',
- 'draw_background_part_ext','draw_background_general',
- 'draw_clear','draw_clear_alpha','draw_point','draw_line','draw_rectangle','draw_roundrect',
- 'draw_triangle','draw_circle','draw_ellipse','draw_arrow','draw_button','draw_path',
- 'draw_healthbar','draw_set_color','draw_set_alpha','draw_get_color','draw_get_alpha',
- 'make_color_rgb','make_color_hsv','color_get_red','color_get_green','color_get_blue',
- 'color_get_hue','color_get_saturation','color_get_value','merge_color','draw_getpixel',
- 'screen_save','screen_save_part',
- 'draw_set_font','draw_set_halign','draw_set_valign','draw_text','draw_text_ext','string_width',
- 'string_height','string_width_ext','string_height_ext','draw_text_transformed',
- 'draw_text_ext_transformed','draw_text_color','draw_text_ext_color',
- 'draw_text_transformed_color','draw_text_ext_transformed_color',
- 'draw_point_color','draw_line_color','draw_rectangle_color','draw_roundrect_color',
- 'draw_triangle_color','draw_circle_color','draw_ellipse_color','draw_primitive_begin',
- 'draw_vertex','draw_vertex_color','draw_primitive_end','sprite_get_texture',
- 'background_get_texture','texture_preload','texture_set_priority',
- 'texture_get_width','texture_get_height','draw_primitive_begin_texture','draw_vertex_texture',
- 'draw_vertex_texture_color','draw_primitive_end','texture_set_interpolation',
- 'texture_set_blending','texture_set_repeat','draw_set_blend_mode','draw_set_blend_mode_ext',
- 'surface_create','surface_free','surface_exists','surface_get_width','surface_get_height',
- 'surface_get_texture','surface_set_target','surface_reset_target','surface_getpixel',
- 'surface_save','surface_save_part','draw_surface','draw_surface_stretched','draw_surface_tiled',
- 'draw_surface_part','draw_surface_ext','draw_surface_stretched_ext','draw_surface_tiled_ext',
- 'draw_surface_part_ext','draw_surface_general','surface_copy','surface_copy_part',
- 'tile_add','tile_delete','tile_exists','tile_get_x','tile_get_y','tile_get_left','tile_get_top',
- 'tile_get_width','tile_get_height','tile_get_depth','tile_get_visible','tile_get_xscale',
- 'tile_get_yscale','tile_get_background','tile_get_blend','tile_get_alpha','tile_set_position',
- 'tile_set_region','tile_set_background','tile_set_visible','tile_set_depth','tile_set_scale',
- 'tile_set_blend','tile_set_alpha','tile_layer_hide','tile_layer_show','tile_layer_delete',
- 'tile_layer_shift','tile_layer_find','tile_layer_delete_at','tile_layer_depth',
- 'display_get_width','display_get_height','display_get_colordepth','display_get_frequency',
- 'display_set_size','display_set_colordepth','display_set_frequency','display_set_all',
- 'display_test_all','display_reset','display_mouse_get_x','display_mouse_get_y','display_mouse_set',
- 'window_set_visible','window_get_visible','window_set_fullscreen','window_get_fullscreen',
- 'window_set_showborder','window_get_showborder','window_set_showicons','window_get_showicons',
- 'window_set_stayontop','window_get_stayontop','window_set_sizeable','window_get_sizeable',
- 'window_set_caption','window_get_caption','window_set_cursor', 'window_get_cursor',
- 'window_set_color','window_get_color','window_set_region_scale','window_get_region_scale',
- 'window_set_position','window_set_size','window_set_rectangle','window_center','window_default',
- 'window_get_x','window_get_y','window_get_width','window_get_height','window_mouse_get_x',
- 'window_mouse_get_y','window_mouse_set',
- 'window_set_region_size','window_get_region_width','window_get_region_height',
- 'window_view_mouse_get_x','window_view_mouse_get_y','window_view_mouse_set',
- 'window_views_mouse_get_x','window_views_mouse_get_y','window_views_mouse_set',
- 'screen_redraw','screen_refresh','set_automatic_draw','set_synchronization','screen_wait_vsync',
- // Sound and music)
- 'sound_play','sound_loop','sound_stop','sound_stop_all','sound_isplaying','sound_volume',
- 'sound_global_volume','sound_fade','sound_pan','sound_background_tempo','sound_set_search_directory',
- 'sound_effect_set','sound_effect_chorus','sound_effect_echo', 'sound_effect_flanger',
- 'sound_effect_gargle','sound_effect_reverb','sound_effect_compressor','sound_effect_equalizer',
- 'sound_3d_set_sound_position','sound_3d_set_sound_velocity','sound_3d_set_sound_distance',
- 'sound_3d_set_sound_cone',
- 'cd_init','cd_present','cd_number','cd_playing','cd_paused','cd_track','cd_length',
- 'cd_track_length','cd_position','cd_track_position','cd_play','cd_stop','cd_pause','cd_resume',
- 'cd_set_position','cd_set_track_position','cd_open_door','cd_close_door','MCI_command',
- // Splash screens, highscores, and other pop-ups
- 'show_text','show_image','show_video','show_info','load_info',
- 'show_message','show_message_ext','show_question','get_integer','get_string',
- 'message_background','message_alpha','message_button','message_text_font','message_button_font',
- 'message_input_font','message_mouse_color','message_input_color','message_caption',
- 'message_position','message_size','show_menu','show_menu_pos','get_color','get_open_filename',
- 'get_save_filename','get_directory','get_directory_alt','show_error',
- 'highscore_show','highscore_set_background','highscore_set_border','highscore_set_font',
- 'highscore_set_colors','highscore_set_strings','highscore_show_ext','highscore_clear',
- 'highscore_add','highscore_add_current','highscore_value','highscore_name','draw_highscore',
- // Resources
- 'sprite_exists','sprite_get_name','sprite_get_number','sprite_get_width','sprite_get_height',
- 'sprite_get_transparent','sprite_get_smooth','sprite_get_preload','sprite_get_xoffset',
- 'sprite_get_yoffset','sprite_get_bbox_left','sprite_get_bbox_right','sprite_get_bbox_top',
- 'sprite_get_bbox_bottom','sprite_get_bbox_mode','sprite_get_precise',
- 'sound_exists','sound_get_name','sound_get_kind','sound_get_preload','sound_discard',
- 'sound_restore',
- 'background_exists','background_get_name','background_get_width','background_get_height',
- 'background_get_transparent','background_get_smooth','background_get_preload',
- 'font_exists','font_get_name','font_get_fontname','font_get_bold','font_get_italic',
- 'font_get_first','font_get_last',
- 'path_exists','path_get_name','path_get_length','path_get_kind','path_get_closed',
- 'path_get_precision','path_get_number','path_get_point_x','path_get_point_y',
- 'path_get_point_speed','path_get_x','path_get_y','path_get_speed',
- 'script_exists','script_get_name','script_get_text',
- 'timeline_exists','timeline_get_name',
- 'object_exists','object_get_name','object_get_sprite','object_get_solid','object_get_visible',
- 'object_get_depth','object_get_persistent','object_get_mask','object_get_parent',
- 'object_is_ancestor',
- 'room_exists','room_get_name',
- // Changing resources
- 'sprite_set_offset','sprite_set_bbox_mode','sprite_set_bbox','sprite_set_precise',
- 'sprite_duplicate','sprite_assign','sprite_merge','sprite_add','sprite_replace',
- 'sprite_create_from_screen','sprite_add_from_screen','sprite_create_from_surface',
- 'sprite_add_from_surface','sprite_delete','sprite_set_alpha_from_sprite',
- 'sound_add','sound_replace','sound_delete',
- 'background_duplicate','background_assign','background_add','background_replace',
- 'background_create_color','background_create_gradient','background_create_from_screen',
- 'background_create_from_surface','background_delete','background_set_alpha_from_background',
- 'font_add','font_add_sprite','font_replace_sprite','font_delete',
- 'path_set_kind','path_set_closed','path_set_precision','path_add','path_delete','path_duplicate',
- 'path_assign','path_append','path_add_point','path_insert_point','path_change_point',
- 'path_delete_point','path_clear_points','path_reverse','path_mirror','path_flip','path_rotate',
- 'path_scale','path_shift',
- 'execute_string','execute_file','script_execute',
- 'timeline_add','timeline_delete','timeline_moment_add','timeline_moment_clear',
- 'object_set_sprite','object_set_solid','object_set_visible','object_set_depth',
- 'object_set_persistent','object_set_mask','object_set_parent','object_add','object_delete',
- 'object_event_add','object_event_clear',
- 'room_set_width','room_set_height','room_set_caption','room_set_persistent','room_set_code',
- 'room_set_background_color','room_set_background','room_set_view','room_set_view_enabled',
- 'room_add','room_duplicate','room_assign','room_instance_add','room_instance_clear',
- 'room_tile_add','room_tile_add_ext','room_tile_clear',
- // Files, registry and executing programs
- 'file_text_open_read','file_text_open_write','file_text_open_append','file_text_close',
- 'file_text_write_string','file_text_write_real','file_text_writeln','file_text_read_string',
- 'file_text_read_real','file_text_readln','file_text_eof','file_exists','file_delete',
- 'file_rename','file_copy','directory_exists','directory_create','file_find_first',
- 'file_find_next','file_find_close','file_attributes', 'filename_name','filename_path',
- 'filename_dir','filename_drive','filename_ext','filename_change_ext','file_bin_open',
- 'file_bin_rewrite','file_bin_close','file_bin_size','file_bin_position','file_bin_seek',
- 'file_bin_write_byte','file_bin_read_byte','parameter_count','parameter_string',
- 'environment_get_variable',
- 'registry_write_string','registry_write_real','registry_read_string','registry_read_real',
- 'registry_exists','registry_write_string_ext','registry_write_real_ext',
- 'registry_read_string_ext','registry_read_real_ext','registry_exists_ext','registry_set_root',
- 'ini_open','ini_close','ini_read_string','ini_read_real','ini_write_string','ini_write_real',
- 'ini_key_exists','ini_section_exists','ini_key_delete','ini_section_delete',
- 'execute_program','execute_shell',
- // Data structures
- 'ds_stack_create','ds_stack_destroy','ds_stack_clear','ds_stack_size','ds_stack_empty',
- 'ds_stack_push','ds_stack_pop','ds_stack_top',
- 'ds_queue_create','ds_queue_destroy','ds_queue_clear','ds_queue_size','ds_queue_empty',
- 'ds_queue_enqueue','ds_queue_dequeue','ds_queue_head','ds_queue_tail',
- 'ds_list_create','ds_list_destroy','ds_list_clear','ds_list_size','ds_list_empty','ds_list_add',
- 'ds_list_insert','ds_list_replace','ds_list_delete','ds_list_find_index','ds_list_find_value',
- 'ds_list_sort',
- 'ds_map_create','ds_map_destroy','ds_map_clear','ds_map_size','ds_map_empty','ds_map_add',
- 'ds_map_replace','ds_map_delete','ds_map_exists','ds_map_find_value','ds_map_find_previous',
- 'ds_map_find_next','ds_map_find_first','ds_map_find_last',
- 'ds_priority_create','ds_priority_destroy','ds_priority_clear','ds_priority_size',
- 'ds_priority_empty','ds_priority_add','ds_priority_change_priority','ds_priority_find_priority',
- 'ds_priority_delete_value','ds_priority_delete_min','ds_priority_find_min',
- 'ds_priority_delete_max','ds_priority_find_max',
- 'ds_grid_create','ds_grid_destroy','ds_grid_resize','ds_grid_width','ds_grid_height',
- 'ds_grid_clear','ds_grid_set','ds_grid_add','ds_grid_multiply','ds_grid_set_region',
- 'ds_grid_add_region','ds_grid_multiply_region','ds_grid_set_disk','ds_grid_add_disk',
- 'ds_grid_multiply_disk','ds_grid_get','ds_grid_get_sum','ds_grid_get_max','ds_grid_get_min',
- 'ds_grid_get_mean','ds_grid_get_disk_sum','ds_grid_get_disk_min','ds_grid_get_disk_max',
- 'ds_grid_get_disk_mean','ds_grid_value_exists','ds_grid_value_x','ds_grid_value_y',
- 'ds_grid_value_disk_exists','ds_grid_value_disk_x','ds_grid_value_disk_y',
- // Creating particles
- 'effect_create_below','effect_create_above','effect_clear',
- 'part_type_create','part_type_destroy','part_type_exists','part_type_clear','part_type_shape',
- 'part_type_sprite','part_type_size','part_type_scale',
- 'part_type_orientation','part_type_color1','part_type_color2','part_type_color3',
- 'part_type_color_mix','part_type_color_rgb','part_type_color_hsv',
- 'part_type_alpha1','part_type_alpha2','part_type_alpha3','part_type_blend','part_type_life',
- 'part_type_step','part_type_death','part_type_speed','part_type_direction','part_type_gravity',
- 'part_system_create','part_system_destroy','part_system_exists','part_system_clear',
- 'part_system_draw_order','part_system_depth','part_system_position',
- 'part_system_automatic_update','part_system_automatic_draw','part_system_update',
- 'part_system_drawit','part_particles_create','part_particles_create_color',
- 'part_particles_clear','part_particles_count',
- 'part_emitter_create','part_emitter_destroy','part_emitter_destroy_all','part_emitter_exists',
- 'part_emitter_clear','part_emitter_region','part_emitter_burst','part_emitter_stream',
- 'part_attractor_create','part_attractor_destroy','part_attractor_destroy_all',
- 'part_attractor_exists','part_attractor_clear','part_attractor_position','part_attractor_force',
- 'part_destroyer_create','part_destroyer_destroy','part_destroyer_destroy_all',
- 'part_destroyer_exists','part_destroyer_clear','part_destroyer_region',
- 'part_deflector_create','part_deflector_destroy','part_deflector_destroy_all',
- 'part_deflector_exists','part_deflector_clear','part_deflector_region','part_deflector_kind',
- 'part_deflector_friction',
- 'part_changer_create','part_changer_destroy','part_changer_destroy_all','part_changer_exists',
- 'part_changer_clear','part_changer_region','part_changer_types','part_changer_kind',
- // Multiplayer games
- 'mplay_init_ipx','mplay_init_tcpip','mplay_init_modem','mplay_init_serial',
- 'mplay_connect_status','mplay_end','mplay_ipaddress',
- 'mplay_session_create','mplay_session_find','mplay_session_name','mplay_session_join',
- 'mplay_session_mode','mplay_session_status','mplay_session_end',
- 'mplay_player_find','mplay_player_name','mplay_player_id',
- 'mplay_data_write','mplay_data_read','mplay_data_mode',
- 'mplay_message_send','mplay_message_send_guaranteed','mplay_message_receive','mplay_message_id',
- 'mplay_message_value','mplay_message_player','mplay_message_name','mplay_message_count',
- 'mplay_message_clear',
- // Using DLL's
- 'external_define','external_call','external_free','execute_string','execute_file','window_handle',
- // 3D Graphics
- 'd3d_start','d3d_end','d3d_set_hidden','d3d_set_perspective',
- 'd3d_set_depth',
- 'd3d_primitive_begin','d3d_vertex','d3d_vertex_color','d3d_primitive_end',
- 'd3d_primitive_begin_texture','d3d_vertex_texture','d3d_vertex_texture_color','d3d_set_culling',
- 'd3d_draw_block','d3d_draw_cylinder','d3d_draw_cone','d3d_draw_ellipsoid','d3d_draw_wall',
- 'd3d_draw_floor',
- 'd3d_set_projection','d3d_set_projection_ext','d3d_set_projection_ortho',
- 'd3d_set_projection_perspective',
- 'd3d_transform_set_identity','d3d_transform_set_translation','d3d_transform_set_scaling',
- 'd3d_transform_set_rotation_x','d3d_transform_set_rotation_y','d3d_transform_set_rotation_z',
- 'd3d_transform_set_rotation_axis','d3d_transform_add_translation','d3d_transform_add_scaling',
- 'd3d_transform_add_rotation_x','d3d_transform_add_rotation_y','d3d_transform_add_rotation_z',
- 'd3d_transform_add_rotation_axis','d3d_transform_stack_clear','d3d_transform_stack_empty',
- 'd3d_transform_stack_push','d3d_transform_stack_pop','d3d_transform_stack_top',
- 'd3d_transform_stack_discard',
- 'd3d_set_fog',
- 'd3d_set_lighting','d3d_set_shading','d3d_light_define_direction','d3d_light_define_point',
- 'd3d_light_enable','d3d_vertex_normal','d3d_vertex_normal_color','d3d_vertex_normal_texture',
- 'd3d_vertex_normal_texture_color',
- 'd3d_model_create','d3d_model_destroy','d3d_model_clear','d3d_model_save','d3d_model_load',
- 'd3d_model_draw','d3d_model_primitive_begin','d3d_model_vertex','d3d_model_vertex_color',
- 'd3d_model_vertex_texture','d3d_model_vertex_texture_color','d3d_model_vertex_normal',
- 'd3d_model_vertex_normal_color','d3d_model_vertex_normal_texture',
- 'd3d_model_vertex_normal_texture_color','d3d_model_primitive_end','d3d_model_block',
- 'd3d_model_cylinder','d3d_model_cone','d3d_model_ellipsoid','d3d_model_wall','d3d_model_floor'
- ),
- // constants
- 4 => array(
- 'true', 'false', 'pi',
- 'ev_destroy','ev_step','ev_alarm','ev_keyboard','ev_mouse','ev_collision','ev_other','ev_draw',
- 'ev_keypress','ev_keyrelease','ev_left_button','ev_right_button','ev_middle_button',
- 'ev_no_button','ev_left_press','ev_right_press','ev_middle_press','ev_left_release',
- 'ev_right_release','ev_middle_release','ev_mouse_enter','ev_mouse_leave','ev_mouse_wheel_up',
- 'ev_mouse_wheel_down','ev_global_left_button','ev_global_right_button','ev_global_middle_button',
- 'ev_global_left_press','ev_global_right_press','ev_global_middle_press','ev_global_left_release',
- 'ev_global_right_release','ev_global_middle_release','ev_joystick1_left','ev_joystick1_right',
- 'ev_joystick1_up','ev_joystick1_down','ev_joystick1_button1','ev_joystick1_button2',
- 'ev_joystick1_button3','ev_joystick1_button4','ev_joystick1_button5','ev_joystick1_button6',
- 'ev_joystick1_button7','ev_joystick1_button8','ev_joystick2_left','ev_joystick2_right',
- 'ev_joystick2_up','ev_joystick2_down','ev_joystick2_button1','ev_joystick2_button2',
- 'ev_joystick2_button3','ev_joystick2_button4','ev_joystick2_button5','ev_joystick2_button6',
- 'ev_joystick2_button7','ev_joystick2_button8',
- 'ev_outside','ev_boundary','ev_game_start','ev_game_end','ev_room_start','ev_room_end',
- 'ev_no_more_lives','ev_no_more_health','ev_animation_end','ev_end_of_path','ev_user0','ev_user1',
- 'ev_user2','ev_user3','ev_user4','ev_user5','ev_user6','ev_user7','ev_user8','ev_user9',
- 'ev_user10','ev_user11','ev_user12','ev_user13','ev_user14','ev_user15','ev_step_normal',
- 'ev_step_begin','ev_step_end',
- 'vk_nokey','vk_anykey','vk_left','vk_right','vk_up','vk_down','vk_enter','vk_escape','vk_space',
- 'vk_shift','vk_control','vk_alt','vk_backspace','vk_tab','vk_home','vk_end','vk_delete',
- 'vk_insert','vk_pageup','vk_pagedown','vk_pause','vk_printscreen',
- 'vk_f1','vk_f2','vk_f3','vk_f4','vk_f5','vk_f6','vk_f7','vk_f8','vk_f9','vk_f10','vk_f11','vk_f12',
- 'vk_numpad0','vk_numpad1','vk_numpad2','vk_numpad3','vk_numpad4','vk_numpad5','vk_numpad6',
- 'vk_numpad7','vk_numpad8','vk_numpad9', 'vk_multiply','vk_divide','vk_add','vk_subtract',
- 'vk_decimal','vk_lshift','vk_lcontrol','vk_lalt','vk_rshift','vk_rcontrol','vk_ralt',
- 'c_aqua','c_black','c_blue','c_dkgray','c_fuchsia','c_gray','c_green','c_lime','c_ltgray',
- 'c_maroon','c_navy','c_olive','c_purple','c_red','c_silver','c_teal','c_white','c_yellow',
- 'fa_left', 'fa_center','fa_right','fa_top','fa_middle','fa_bottom',
- 'pr_pointlist','pr_linelist','pr_linestrip','pr_trianglelist','pr_trianglestrip',
- 'pr_trianglefan',
- 'cr_none','cr_arrow','cr_cross','cr_beam','cr_size_nesw','cr_size_ns','cr_size_nwse',
- 'cr_size_we','cr_uparrow','cr_hourglass','cr_drag','cr_nodrop','cr_hsplit','cr_vsplit',
- 'cr_multidrag','cr_sqlwait','cr_no','cr_appstart','cr_help','cr_handpoint','cr_size_all',
- 'se_chorus','se_echo','se_flanger','se_gargle','se_reverb','se_compressor','se_equalizer',
- 'fa_readonly','fa_hidden','fa_sysfile','fa_volumeid','fa_directory','fa_archive',
- 'pt_shape_pixel','pt_shape_disk','pt_shape_square','pt_shape_line','pt_shape_star',
- 'pt_shape_circle','pt_shape_ring','pt_shape_sphere','pt_shape_flare','pt_shape_spark',
- 'pt_shape_explosion','pt_shape_cloud','pt_shape_smoke','pt_shape_snow',
- 'ps_shape_rectangle','ps_shape_ellipse ','ps_shape_diamond','ps_shape_line',
- 'ps_distr_linear','ps_distr_gaussian','ps_force_constant','ps_force_linear','ps_force_quadratic',
- 'ps_deflect_horizontal', 'ps_deflect_vertical',
- 'ps_change_motion','ps_change_shape','ps_change_all'
- ),
- ),
- 'SYMBOLS' => array(
- '(', ')', '{', '}', '[', ']', '&&', '||', '^^', '<', '<=', '==', '!=', '>', '>=',
- '|', '&', '^', '<<', '>>', '+', '-', '*', '/', '!', '-', '~'
- ),
- 'CASE_SENSITIVE' => array(
- GESHI_COMMENTS => false,
- 1 => true,
- 2 => true,
- 3 => true,
- 4 => true,
- ),
- 'STYLES' => array(
- 'KEYWORDS' => array(
- 1 => 'font-weight: bold; color: #000000;',
- 2 => 'font-weight: bold; color: #000000;',
- 3 => 'color: navy;',
- 4 => 'color: brown',
- ),
- 'COMMENTS' => array(
- 1 => 'font-style: italic; color: green;',
- 'MULTI' => 'font-style: italic; color: green;'
- ),
- 'ESCAPE_CHAR' => array(
- 0 => 'color: #000099; font-weight: bold;'
- ),
- 'BRACKETS' => array(
- 0 => 'color: #000000;' //'color: #66cc66;'
- ),
- 'STRINGS' => array(
- 0 => 'color: #ff0000;'
- ),
- 'NUMBERS' => array(
- 0 => 'color: #cc66cc;'
- ),
- 'METHODS' => array(
- 1 => 'color: #202020;'
- ),
- 'SYMBOLS' => array(
- 0 => 'color: #66cc66; font-weight: bold;'
- ),
- 'REGEXPS' => array(
- ),
- 'SCRIPT' => array(
- )
- ),
- 'URLS' => array(
- 1 => '',
- 2 => '',
- // All GML functions have been indexed, but need some corrections.
- 3 => 'http://www.zonamakers.com/gmlreference/{FNAME}.html', // (provisional, could change soon!)
- 4 => ''
- ),
- 'OOLANG' => true,
- 'OBJECT_SPLITTERS' => array(
- 1 => '.'
- ),
- 'REGEXPS' => array(
- ),
- 'STRICT_MODE_APPLIES' => GESHI_NEVER,
- 'SCRIPT_DELIMITERS' => array(
- ),
- 'HIGHLIGHT_STRICT_BLOCK' => array(
- )
-);
-
-?>
+<?php +/************************************************************************************* + * gml.php + * -------- + * 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.12 + * CVS Revision Version: $Revision: 1.15.2.3 $ + * Date Started: 2005/06/21 + * Last Modified: $Date: 2006/07/22 11:30:31 $ + * + * GML language file for GeSHi. + * + * GML (Game Maker Language) is a script language that is built-in into Game Maker, + * a game creation program, more info about Game Maker can be found at + * http://www.gamemaker.nl/ + * All GML keywords were extracted from the Game Maker HTML Help file using a PHP + * script (one section at a time). I love PHP for saving me that bunch of work :P!. + * I think all GML functions have been indexed here, but I'm not sure about it, so + * please let me know of any issue you may find. + * + * CHANGES + * ------- + * 2005/11/11 + * - Changed 'CASE_KEYWORDS' fom 'GESHI_CAPS_LOWER' to 'GESHI_CAPS_NO_CHANGE', + * so that MCI_command appears correctly (the only GML function using capitals). + * - Changed 'CASE_SENSITIVE' options, 'GESHI_COMMENTS' from true to false and all + * of the others from false to true. + * - Deleted repeated entries. + * - div and mod are language keywords, moved (from symbols) to the appropiate section (1). + * - Moved self, other, all, noone and global identifiers to language keywords section 1. + * - Edited this file lines to a maximum width of 100 characters (as stated in + * the GeSHi docs). Well, not strictly to 100 but around it. + * - Corrected some minor issues (the vk_f1...vk_f12 keys and similar). + * - Deleted the KEYWORDS=>5 and KEYWORDS=>6 sections (actually, they were empty). + * I was planning of using those for the GML functions available only in the + * registered version of the program, but not anymore. + * + * 2005/06/26 (1.0.3) + * - First Release. + * + * TODO (updated 2005/11/11) + * ------------------------- + * - Test it for a while and make the appropiate corrections. + * + ************************************************************************************* + * + * This file is part of GeSHi. + * + * GeSHi is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * GeSHi is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GeSHi; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + ************************************************************************************/ + +$language_data = array ( + 'LANG_NAME' => 'GML', + 'COMMENT_SINGLE' => array(1 => '//'), + 'COMMENT_MULTI' => array('/*' => '*/'), + 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, + 'QUOTEMARKS' => array("'"), + 'ESCAPE_CHAR' => '\\', + 'KEYWORDS' => array( + // language keywords + 1 => array( + 'break', 'continue', 'do', 'until', 'if', 'else', + 'exit', 'for', 'for', 'repeat', 'return', 'switch', + 'case', 'default', 'var', 'while', 'with', 'div', 'mod', + // GML Language overview + 'self', 'other', 'all', 'noone', 'global', + ), + // modifiers and built-in variables + 2 => array( + // Game play + 'x','y','xprevious','yprevious','xstart','ystart','hspeed','vspeed','direction','speed', + 'friction','gravity','gravity_direction', + 'path_index','path_position','path_positionprevious','path_speed','path_orientation', + 'path_scale','path_endaction', + 'object_index','id','mask_index','solid','persistent','instance_count','instance_id', + 'room_speed','fps','current_time','current_year','current_month','current_day','current_weekday', + 'current_hour','current_minute','current_second','alarm','timeline_index','timeline_position', + 'timeline_speed', + 'room','room_first','room_last','room_width','room_height','room_caption','room_persistent', + 'score','lives','health','show_score','show_lives','show_health','caption_score','caption_lives', + 'caption_health', + 'event_type','event_number','event_object','event_action', + 'error_occurred','error_last', + // User interaction + 'keyboard_lastkey','keyboard_key','keyboard_lastchar','keyboard_string', + 'mouse_x','mouse_y','mouse_button','mouse_lastbutton', + // Game Graphics + 'visible','sprite_index','sprite_width','sprite_height','sprite_xoffset','sprite_yoffset', + 'image_number','image_index','image_speed','depth','image_xscale','image_yscale','image_angle', + 'image_alpha','image_blend','bbox_left','bbox_right','bbox_top','bbox_bottom', + 'background_color','background_showcolor','background_visible','background_foreground', + 'background_index','background_x','background_y','background_width','background_height', + 'background_htiled','background_vtiled','background_xscale','background_yscale', + 'background_hspeed','background_vspeed','background_blend','background_alpha', + 'background','left, top, width, height','x,y','depth','visible','xscale, yscale','blend','alpha', + 'view_enabled','view_current','view_visible','view_yview','view_wview','view_hview','view_xport', + 'view_yport','view_wport','view_hport','view_angle','view_hborder','view_vborder','view_hspeed', + 'view_vspeed','view_object', + 'transition_kind', + // Files, registry and executing programs + 'game_id','working_directory','temp_directory', + 'secure_mode', + // Creating particles + 'xmin', 'xmax', 'ymin', 'ymax','shape','distribution','particle type','number', + 'x', 'y', 'force','dist','kind','additive', 'friction', 'parttype1', 'parttype2' + ), + // functions + 3 => array( + // Computing things + 'random','choose','abs','sign','round','floor','ceil','frac','sqrt','sqr','power','exp','ln', + 'log2','log10','logn','sin','cos','tan','arcsin','arccos','arctan','arctan2','degtorad', + 'radtodeg','min','max','mean','median','point_distance','point_direction','lengthdir_x', + 'lengthdir_y','is_real','is_string', + 'chr','ord','real','string','string_format','string_length','string_pos','string_copy', + 'string_char_at','string_delete','string_insert','string_replace','string_replace_all', + 'string_count','string_lower','string_upper','string_repeat','string_letters','string_digits', + 'string_lettersdigits','clipboard_has_text','clipboard_get_text','clipboard_set_text', + 'date_current_datetime','date_current_date','date_current_time','date_create_datetime', + 'date_create_date','date_create_time','date_valid_datetime','date_valid_date','date_valid_time', + 'date_inc_year','date_inc_month','date_inc_week','date_inc_day','date_inc_hour', + 'date_inc_minute','date_inc_second','date_get_year','date_get_month','date_get_week', + 'date_get_day','date_get_hour', 'date_get_minute','date_get_second','date_get_weekday', + 'date_get_day_of_year','date_get_hour_of_year','date_get_minute_of_year', + 'date_get_second_of_year','date_year_span','date_month_span','date_week_span','date_day_span', + 'date_hour_span','date_minute_span','date_second_span','date_compare_datetime', + 'date_compare_date','date_compare_time','date_date_of','date_time_of','date_datetime_string', + 'date_date_string','date_time_string','date_days_in_month','date_days_in_year','date_leap_year', + 'date_is_today', + // Game play + 'motion_set','motion_add','place_free','place_empty','place_meeting','place_snapped', + 'move_random','move_snap','move_wrap','move_towards_point','move_bounce_solid','move_bounce_all', + 'move_contact_solid','move_contact_all','move_outside_solid','move_outside_all', + 'distance_to_point','distance_to_object','position_empty','position_meeting', + 'path_start','path_end', + 'mp_linear_step','mp_linear_step_object','mp_potential_step','mp_potential_step_object', + 'mp_potential_settings','mp_linear_path','mp_linear_path_object', 'mp_potential_path', + 'mp_potential_path_object','mp_grid_create','mp_grid_destroy','mp_grid_clear_all', + 'mp_grid_clear_cell','mp_grid_clear_rectangle','mp_grid_add_cell','mp_grid_add_rectangle', + 'mp_grid_add_instances','mp_grid_path','mp_grid_draw', + 'collision_point','collision_rectangle','collision_circle','collision_ellipse','collision_line', + 'instance_find','instance_exists','instance_number','instance_position','instance_nearest', + 'instance_furthest','instance_place','instance_create','instance_copy','instance_destroy', + 'instance_change','position_destroy','position_change', + 'instance_deactivate_all','instance_deactivate_object','instance_deactivate_region', + 'instance_activate_all','instance_activate_object','instance_activate_region', + 'sleep', + 'room_goto','room_goto_previous','room_goto_next','room_restart','room_previous','room_next', + 'game_end','game_restart','game_save','game_load', + 'event_perform', 'event_perform_object','event_user','event_inherited', + 'show_debug_message','variable_global_exists','variable_local_exists','variable_global_get', + 'variable_global_array_get','variable_global_array2_get','variable_local_get', + 'variable_local_array_get','variable_local_array2_get','variable_global_set', + 'variable_global_array_set','variable_global_array2_set','variable_local_set', + 'variable_local_array_set','variable_local_array2_set','set_program_priority', + // User interaction + 'keyboard_set_map','keyboard_get_map','keyboard_unset_map','keyboard_check', + 'keyboard_check_pressed','keyboard_check_released','keyboard_check_direct', + 'keyboard_get_numlock','keyboard_set_numlock','keyboard_key_press','keyboard_key_release', + 'keyboard_clear','io_clear','io_handle','keyboard_wait', + 'mouse_check_button','mouse_check_button_pressed','mouse_check_button_released','mouse_clear', + 'io_clear','io_handle','mouse_wait', + 'joystick_exists','joystick_name','joystick_axes','joystick_buttons','joystick_has_pov', + 'joystick_direction','joystick_check_button','joystick_xpos','joystick_ypos','joystick_zpos', + 'joystick_rpos','joystick_upos','joystick_vpos','joystick_pov', + // Game Graphics + 'draw_sprite','draw_sprite_stretched','draw_sprite_tiled','draw_sprite_part','draw_background', + 'draw_background_stretched','draw_background_tiled','draw_background_part','draw_sprite_ext', + 'draw_sprite_stretched_ext','draw_sprite_tiled_ext','draw_sprite_part_ext','draw_sprite_general', + 'draw_background_ext','draw_background_stretched_ext','draw_background_tiled_ext', + 'draw_background_part_ext','draw_background_general', + 'draw_clear','draw_clear_alpha','draw_point','draw_line','draw_rectangle','draw_roundrect', + 'draw_triangle','draw_circle','draw_ellipse','draw_arrow','draw_button','draw_path', + 'draw_healthbar','draw_set_color','draw_set_alpha','draw_get_color','draw_get_alpha', + 'make_color_rgb','make_color_hsv','color_get_red','color_get_green','color_get_blue', + 'color_get_hue','color_get_saturation','color_get_value','merge_color','draw_getpixel', + 'screen_save','screen_save_part', + 'draw_set_font','draw_set_halign','draw_set_valign','draw_text','draw_text_ext','string_width', + 'string_height','string_width_ext','string_height_ext','draw_text_transformed', + 'draw_text_ext_transformed','draw_text_color','draw_text_ext_color', + 'draw_text_transformed_color','draw_text_ext_transformed_color', + 'draw_point_color','draw_line_color','draw_rectangle_color','draw_roundrect_color', + 'draw_triangle_color','draw_circle_color','draw_ellipse_color','draw_primitive_begin', + 'draw_vertex','draw_vertex_color','draw_primitive_end','sprite_get_texture', + 'background_get_texture','texture_preload','texture_set_priority', + 'texture_get_width','texture_get_height','draw_primitive_begin_texture','draw_vertex_texture', + 'draw_vertex_texture_color','draw_primitive_end','texture_set_interpolation', + 'texture_set_blending','texture_set_repeat','draw_set_blend_mode','draw_set_blend_mode_ext', + 'surface_create','surface_free','surface_exists','surface_get_width','surface_get_height', + 'surface_get_texture','surface_set_target','surface_reset_target','surface_getpixel', + 'surface_save','surface_save_part','draw_surface','draw_surface_stretched','draw_surface_tiled', + 'draw_surface_part','draw_surface_ext','draw_surface_stretched_ext','draw_surface_tiled_ext', + 'draw_surface_part_ext','draw_surface_general','surface_copy','surface_copy_part', + 'tile_add','tile_delete','tile_exists','tile_get_x','tile_get_y','tile_get_left','tile_get_top', + 'tile_get_width','tile_get_height','tile_get_depth','tile_get_visible','tile_get_xscale', + 'tile_get_yscale','tile_get_background','tile_get_blend','tile_get_alpha','tile_set_position', + 'tile_set_region','tile_set_background','tile_set_visible','tile_set_depth','tile_set_scale', + 'tile_set_blend','tile_set_alpha','tile_layer_hide','tile_layer_show','tile_layer_delete', + 'tile_layer_shift','tile_layer_find','tile_layer_delete_at','tile_layer_depth', + 'display_get_width','display_get_height','display_get_colordepth','display_get_frequency', + 'display_set_size','display_set_colordepth','display_set_frequency','display_set_all', + 'display_test_all','display_reset','display_mouse_get_x','display_mouse_get_y','display_mouse_set', + 'window_set_visible','window_get_visible','window_set_fullscreen','window_get_fullscreen', + 'window_set_showborder','window_get_showborder','window_set_showicons','window_get_showicons', + 'window_set_stayontop','window_get_stayontop','window_set_sizeable','window_get_sizeable', + 'window_set_caption','window_get_caption','window_set_cursor', 'window_get_cursor', + 'window_set_color','window_get_color','window_set_region_scale','window_get_region_scale', + 'window_set_position','window_set_size','window_set_rectangle','window_center','window_default', + 'window_get_x','window_get_y','window_get_width','window_get_height','window_mouse_get_x', + 'window_mouse_get_y','window_mouse_set', + 'window_set_region_size','window_get_region_width','window_get_region_height', + 'window_view_mouse_get_x','window_view_mouse_get_y','window_view_mouse_set', + 'window_views_mouse_get_x','window_views_mouse_get_y','window_views_mouse_set', + 'screen_redraw','screen_refresh','set_automatic_draw','set_synchronization','screen_wait_vsync', + // Sound and music) + 'sound_play','sound_loop','sound_stop','sound_stop_all','sound_isplaying','sound_volume', + 'sound_global_volume','sound_fade','sound_pan','sound_background_tempo','sound_set_search_directory', + 'sound_effect_set','sound_effect_chorus','sound_effect_echo', 'sound_effect_flanger', + 'sound_effect_gargle','sound_effect_reverb','sound_effect_compressor','sound_effect_equalizer', + 'sound_3d_set_sound_position','sound_3d_set_sound_velocity','sound_3d_set_sound_distance', + 'sound_3d_set_sound_cone', + 'cd_init','cd_present','cd_number','cd_playing','cd_paused','cd_track','cd_length', + 'cd_track_length','cd_position','cd_track_position','cd_play','cd_stop','cd_pause','cd_resume', + 'cd_set_position','cd_set_track_position','cd_open_door','cd_close_door','MCI_command', + // Splash screens, highscores, and other pop-ups + 'show_text','show_image','show_video','show_info','load_info', + 'show_message','show_message_ext','show_question','get_integer','get_string', + 'message_background','message_alpha','message_button','message_text_font','message_button_font', + 'message_input_font','message_mouse_color','message_input_color','message_caption', + 'message_position','message_size','show_menu','show_menu_pos','get_color','get_open_filename', + 'get_save_filename','get_directory','get_directory_alt','show_error', + 'highscore_show','highscore_set_background','highscore_set_border','highscore_set_font', + 'highscore_set_colors','highscore_set_strings','highscore_show_ext','highscore_clear', + 'highscore_add','highscore_add_current','highscore_value','highscore_name','draw_highscore', + // Resources + 'sprite_exists','sprite_get_name','sprite_get_number','sprite_get_width','sprite_get_height', + 'sprite_get_transparent','sprite_get_smooth','sprite_get_preload','sprite_get_xoffset', + 'sprite_get_yoffset','sprite_get_bbox_left','sprite_get_bbox_right','sprite_get_bbox_top', + 'sprite_get_bbox_bottom','sprite_get_bbox_mode','sprite_get_precise', + 'sound_exists','sound_get_name','sound_get_kind','sound_get_preload','sound_discard', + 'sound_restore', + 'background_exists','background_get_name','background_get_width','background_get_height', + 'background_get_transparent','background_get_smooth','background_get_preload', + 'font_exists','font_get_name','font_get_fontname','font_get_bold','font_get_italic', + 'font_get_first','font_get_last', + 'path_exists','path_get_name','path_get_length','path_get_kind','path_get_closed', + 'path_get_precision','path_get_number','path_get_point_x','path_get_point_y', + 'path_get_point_speed','path_get_x','path_get_y','path_get_speed', + 'script_exists','script_get_name','script_get_text', + 'timeline_exists','timeline_get_name', + 'object_exists','object_get_name','object_get_sprite','object_get_solid','object_get_visible', + 'object_get_depth','object_get_persistent','object_get_mask','object_get_parent', + 'object_is_ancestor', + 'room_exists','room_get_name', + // Changing resources + 'sprite_set_offset','sprite_set_bbox_mode','sprite_set_bbox','sprite_set_precise', + 'sprite_duplicate','sprite_assign','sprite_merge','sprite_add','sprite_replace', + 'sprite_create_from_screen','sprite_add_from_screen','sprite_create_from_surface', + 'sprite_add_from_surface','sprite_delete','sprite_set_alpha_from_sprite', + 'sound_add','sound_replace','sound_delete', + 'background_duplicate','background_assign','background_add','background_replace', + 'background_create_color','background_create_gradient','background_create_from_screen', + 'background_create_from_surface','background_delete','background_set_alpha_from_background', + 'font_add','font_add_sprite','font_replace_sprite','font_delete', + 'path_set_kind','path_set_closed','path_set_precision','path_add','path_delete','path_duplicate', + 'path_assign','path_append','path_add_point','path_insert_point','path_change_point', + 'path_delete_point','path_clear_points','path_reverse','path_mirror','path_flip','path_rotate', + 'path_scale','path_shift', + 'execute_string','execute_file','script_execute', + 'timeline_add','timeline_delete','timeline_moment_add','timeline_moment_clear', + 'object_set_sprite','object_set_solid','object_set_visible','object_set_depth', + 'object_set_persistent','object_set_mask','object_set_parent','object_add','object_delete', + 'object_event_add','object_event_clear', + 'room_set_width','room_set_height','room_set_caption','room_set_persistent','room_set_code', + 'room_set_background_color','room_set_background','room_set_view','room_set_view_enabled', + 'room_add','room_duplicate','room_assign','room_instance_add','room_instance_clear', + 'room_tile_add','room_tile_add_ext','room_tile_clear', + // Files, registry and executing programs + 'file_text_open_read','file_text_open_write','file_text_open_append','file_text_close', + 'file_text_write_string','file_text_write_real','file_text_writeln','file_text_read_string', + 'file_text_read_real','file_text_readln','file_text_eof','file_exists','file_delete', + 'file_rename','file_copy','directory_exists','directory_create','file_find_first', + 'file_find_next','file_find_close','file_attributes', 'filename_name','filename_path', + 'filename_dir','filename_drive','filename_ext','filename_change_ext','file_bin_open', + 'file_bin_rewrite','file_bin_close','file_bin_size','file_bin_position','file_bin_seek', + 'file_bin_write_byte','file_bin_read_byte','parameter_count','parameter_string', + 'environment_get_variable', + 'registry_write_string','registry_write_real','registry_read_string','registry_read_real', + 'registry_exists','registry_write_string_ext','registry_write_real_ext', + 'registry_read_string_ext','registry_read_real_ext','registry_exists_ext','registry_set_root', + 'ini_open','ini_close','ini_read_string','ini_read_real','ini_write_string','ini_write_real', + 'ini_key_exists','ini_section_exists','ini_key_delete','ini_section_delete', + 'execute_program','execute_shell', + // Data structures + 'ds_stack_create','ds_stack_destroy','ds_stack_clear','ds_stack_size','ds_stack_empty', + 'ds_stack_push','ds_stack_pop','ds_stack_top', + 'ds_queue_create','ds_queue_destroy','ds_queue_clear','ds_queue_size','ds_queue_empty', + 'ds_queue_enqueue','ds_queue_dequeue','ds_queue_head','ds_queue_tail', + 'ds_list_create','ds_list_destroy','ds_list_clear','ds_list_size','ds_list_empty','ds_list_add', + 'ds_list_insert','ds_list_replace','ds_list_delete','ds_list_find_index','ds_list_find_value', + 'ds_list_sort', + 'ds_map_create','ds_map_destroy','ds_map_clear','ds_map_size','ds_map_empty','ds_map_add', + 'ds_map_replace','ds_map_delete','ds_map_exists','ds_map_find_value','ds_map_find_previous', + 'ds_map_find_next','ds_map_find_first','ds_map_find_last', + 'ds_priority_create','ds_priority_destroy','ds_priority_clear','ds_priority_size', + 'ds_priority_empty','ds_priority_add','ds_priority_change_priority','ds_priority_find_priority', + 'ds_priority_delete_value','ds_priority_delete_min','ds_priority_find_min', + 'ds_priority_delete_max','ds_priority_find_max', + 'ds_grid_create','ds_grid_destroy','ds_grid_resize','ds_grid_width','ds_grid_height', + 'ds_grid_clear','ds_grid_set','ds_grid_add','ds_grid_multiply','ds_grid_set_region', + 'ds_grid_add_region','ds_grid_multiply_region','ds_grid_set_disk','ds_grid_add_disk', + 'ds_grid_multiply_disk','ds_grid_get','ds_grid_get_sum','ds_grid_get_max','ds_grid_get_min', + 'ds_grid_get_mean','ds_grid_get_disk_sum','ds_grid_get_disk_min','ds_grid_get_disk_max', + 'ds_grid_get_disk_mean','ds_grid_value_exists','ds_grid_value_x','ds_grid_value_y', + 'ds_grid_value_disk_exists','ds_grid_value_disk_x','ds_grid_value_disk_y', + // Creating particles + 'effect_create_below','effect_create_above','effect_clear', + 'part_type_create','part_type_destroy','part_type_exists','part_type_clear','part_type_shape', + 'part_type_sprite','part_type_size','part_type_scale', + 'part_type_orientation','part_type_color1','part_type_color2','part_type_color3', + 'part_type_color_mix','part_type_color_rgb','part_type_color_hsv', + 'part_type_alpha1','part_type_alpha2','part_type_alpha3','part_type_blend','part_type_life', + 'part_type_step','part_type_death','part_type_speed','part_type_direction','part_type_gravity', + 'part_system_create','part_system_destroy','part_system_exists','part_system_clear', + 'part_system_draw_order','part_system_depth','part_system_position', + 'part_system_automatic_update','part_system_automatic_draw','part_system_update', + 'part_system_drawit','part_particles_create','part_particles_create_color', + 'part_particles_clear','part_particles_count', + 'part_emitter_create','part_emitter_destroy','part_emitter_destroy_all','part_emitter_exists', + 'part_emitter_clear','part_emitter_region','part_emitter_burst','part_emitter_stream', + 'part_attractor_create','part_attractor_destroy','part_attractor_destroy_all', + 'part_attractor_exists','part_attractor_clear','part_attractor_position','part_attractor_force', + 'part_destroyer_create','part_destroyer_destroy','part_destroyer_destroy_all', + 'part_destroyer_exists','part_destroyer_clear','part_destroyer_region', + 'part_deflector_create','part_deflector_destroy','part_deflector_destroy_all', + 'part_deflector_exists','part_deflector_clear','part_deflector_region','part_deflector_kind', + 'part_deflector_friction', + 'part_changer_create','part_changer_destroy','part_changer_destroy_all','part_changer_exists', + 'part_changer_clear','part_changer_region','part_changer_types','part_changer_kind', + // Multiplayer games + 'mplay_init_ipx','mplay_init_tcpip','mplay_init_modem','mplay_init_serial', + 'mplay_connect_status','mplay_end','mplay_ipaddress', + 'mplay_session_create','mplay_session_find','mplay_session_name','mplay_session_join', + 'mplay_session_mode','mplay_session_status','mplay_session_end', + 'mplay_player_find','mplay_player_name','mplay_player_id', + 'mplay_data_write','mplay_data_read','mplay_data_mode', + 'mplay_message_send','mplay_message_send_guaranteed','mplay_message_receive','mplay_message_id', + 'mplay_message_value','mplay_message_player','mplay_message_name','mplay_message_count', + 'mplay_message_clear', + // Using DLL's + 'external_define','external_call','external_free','execute_string','execute_file','window_handle', + // 3D Graphics + 'd3d_start','d3d_end','d3d_set_hidden','d3d_set_perspective', + 'd3d_set_depth', + 'd3d_primitive_begin','d3d_vertex','d3d_vertex_color','d3d_primitive_end', + 'd3d_primitive_begin_texture','d3d_vertex_texture','d3d_vertex_texture_color','d3d_set_culling', + 'd3d_draw_block','d3d_draw_cylinder','d3d_draw_cone','d3d_draw_ellipsoid','d3d_draw_wall', + 'd3d_draw_floor', + 'd3d_set_projection','d3d_set_projection_ext','d3d_set_projection_ortho', + 'd3d_set_projection_perspective', + 'd3d_transform_set_identity','d3d_transform_set_translation','d3d_transform_set_scaling', + 'd3d_transform_set_rotation_x','d3d_transform_set_rotation_y','d3d_transform_set_rotation_z', + 'd3d_transform_set_rotation_axis','d3d_transform_add_translation','d3d_transform_add_scaling', + 'd3d_transform_add_rotation_x','d3d_transform_add_rotation_y','d3d_transform_add_rotation_z', + 'd3d_transform_add_rotation_axis','d3d_transform_stack_clear','d3d_transform_stack_empty', + 'd3d_transform_stack_push','d3d_transform_stack_pop','d3d_transform_stack_top', + 'd3d_transform_stack_discard', + 'd3d_set_fog', + 'd3d_set_lighting','d3d_set_shading','d3d_light_define_direction','d3d_light_define_point', + 'd3d_light_enable','d3d_vertex_normal','d3d_vertex_normal_color','d3d_vertex_normal_texture', + 'd3d_vertex_normal_texture_color', + 'd3d_model_create','d3d_model_destroy','d3d_model_clear','d3d_model_save','d3d_model_load', + 'd3d_model_draw','d3d_model_primitive_begin','d3d_model_vertex','d3d_model_vertex_color', + 'd3d_model_vertex_texture','d3d_model_vertex_texture_color','d3d_model_vertex_normal', + 'd3d_model_vertex_normal_color','d3d_model_vertex_normal_texture', + 'd3d_model_vertex_normal_texture_color','d3d_model_primitive_end','d3d_model_block', + 'd3d_model_cylinder','d3d_model_cone','d3d_model_ellipsoid','d3d_model_wall','d3d_model_floor' + ), + // constants + 4 => array( + 'true', 'false', 'pi', + 'ev_destroy','ev_step','ev_alarm','ev_keyboard','ev_mouse','ev_collision','ev_other','ev_draw', + 'ev_keypress','ev_keyrelease','ev_left_button','ev_right_button','ev_middle_button', + 'ev_no_button','ev_left_press','ev_right_press','ev_middle_press','ev_left_release', + 'ev_right_release','ev_middle_release','ev_mouse_enter','ev_mouse_leave','ev_mouse_wheel_up', + 'ev_mouse_wheel_down','ev_global_left_button','ev_global_right_button','ev_global_middle_button', + 'ev_global_left_press','ev_global_right_press','ev_global_middle_press','ev_global_left_release', + 'ev_global_right_release','ev_global_middle_release','ev_joystick1_left','ev_joystick1_right', + 'ev_joystick1_up','ev_joystick1_down','ev_joystick1_button1','ev_joystick1_button2', + 'ev_joystick1_button3','ev_joystick1_button4','ev_joystick1_button5','ev_joystick1_button6', + 'ev_joystick1_button7','ev_joystick1_button8','ev_joystick2_left','ev_joystick2_right', + 'ev_joystick2_up','ev_joystick2_down','ev_joystick2_button1','ev_joystick2_button2', + 'ev_joystick2_button3','ev_joystick2_button4','ev_joystick2_button5','ev_joystick2_button6', + 'ev_joystick2_button7','ev_joystick2_button8', + 'ev_outside','ev_boundary','ev_game_start','ev_game_end','ev_room_start','ev_room_end', + 'ev_no_more_lives','ev_no_more_health','ev_animation_end','ev_end_of_path','ev_user0','ev_user1', + 'ev_user2','ev_user3','ev_user4','ev_user5','ev_user6','ev_user7','ev_user8','ev_user9', + 'ev_user10','ev_user11','ev_user12','ev_user13','ev_user14','ev_user15','ev_step_normal', + 'ev_step_begin','ev_step_end', + 'vk_nokey','vk_anykey','vk_left','vk_right','vk_up','vk_down','vk_enter','vk_escape','vk_space', + 'vk_shift','vk_control','vk_alt','vk_backspace','vk_tab','vk_home','vk_end','vk_delete', + 'vk_insert','vk_pageup','vk_pagedown','vk_pause','vk_printscreen', + 'vk_f1','vk_f2','vk_f3','vk_f4','vk_f5','vk_f6','vk_f7','vk_f8','vk_f9','vk_f10','vk_f11','vk_f12', + 'vk_numpad0','vk_numpad1','vk_numpad2','vk_numpad3','vk_numpad4','vk_numpad5','vk_numpad6', + 'vk_numpad7','vk_numpad8','vk_numpad9', 'vk_multiply','vk_divide','vk_add','vk_subtract', + 'vk_decimal','vk_lshift','vk_lcontrol','vk_lalt','vk_rshift','vk_rcontrol','vk_ralt', + 'c_aqua','c_black','c_blue','c_dkgray','c_fuchsia','c_gray','c_green','c_lime','c_ltgray', + 'c_maroon','c_navy','c_olive','c_purple','c_red','c_silver','c_teal','c_white','c_yellow', + 'fa_left', 'fa_center','fa_right','fa_top','fa_middle','fa_bottom', + 'pr_pointlist','pr_linelist','pr_linestrip','pr_trianglelist','pr_trianglestrip', + 'pr_trianglefan', + 'cr_none','cr_arrow','cr_cross','cr_beam','cr_size_nesw','cr_size_ns','cr_size_nwse', + 'cr_size_we','cr_uparrow','cr_hourglass','cr_drag','cr_nodrop','cr_hsplit','cr_vsplit', + 'cr_multidrag','cr_sqlwait','cr_no','cr_appstart','cr_help','cr_handpoint','cr_size_all', + 'se_chorus','se_echo','se_flanger','se_gargle','se_reverb','se_compressor','se_equalizer', + 'fa_readonly','fa_hidden','fa_sysfile','fa_volumeid','fa_directory','fa_archive', + 'pt_shape_pixel','pt_shape_disk','pt_shape_square','pt_shape_line','pt_shape_star', + 'pt_shape_circle','pt_shape_ring','pt_shape_sphere','pt_shape_flare','pt_shape_spark', + 'pt_shape_explosion','pt_shape_cloud','pt_shape_smoke','pt_shape_snow', + 'ps_shape_rectangle','ps_shape_ellipse ','ps_shape_diamond','ps_shape_line', + 'ps_distr_linear','ps_distr_gaussian','ps_force_constant','ps_force_linear','ps_force_quadratic', + 'ps_deflect_horizontal', 'ps_deflect_vertical', + 'ps_change_motion','ps_change_shape','ps_change_all' + ), + ), + 'SYMBOLS' => array( + '(', ')', '{', '}', '[', ']', '&&', '||', '^^', '<', '<=', '==', '!=', '>', '>=', + '|', '&', '^', '<<', '>>', '+', '-', '*', '/', '!', '-', '~' + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => false, + 1 => true, + 2 => true, + 3 => true, + 4 => true, + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'font-weight: bold; color: #000000;', + 2 => 'font-weight: bold; color: #000000;', + 3 => 'color: navy;', + 4 => 'color: brown', + ), + 'COMMENTS' => array( + 1 => 'font-style: italic; color: green;', + 'MULTI' => 'font-style: italic; color: green;' + ), + 'ESCAPE_CHAR' => array( + 0 => 'color: #000099; font-weight: bold;' + ), + 'BRACKETS' => array( + 0 => 'color: #000000;' //'color: #66cc66;' + ), + 'STRINGS' => array( + 0 => 'color: #ff0000;' + ), + 'NUMBERS' => array( + 0 => 'color: #cc66cc;' + ), + 'METHODS' => array( + 1 => 'color: #202020;' + ), + 'SYMBOLS' => array( + 0 => 'color: #66cc66; font-weight: bold;' + ), + 'REGEXPS' => array( + ), + 'SCRIPT' => array( + ) + ), + 'URLS' => array( + 1 => '', + 2 => '', + // All GML functions have been indexed, but need some corrections. + 3 => 'http://www.zonamakers.com/gmlreference/{FNAME}.html', // (provisional, could change soon!) + 4 => '' + ), + 'OOLANG' => true, + 'OBJECT_SPLITTERS' => array( + 1 => '.' + ), + 'REGEXPS' => array( + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array( + ), + 'HIGHLIGHT_STRICT_BLOCK' => array( + ) +); + +?> diff --git a/inc/geshi/groovy.php b/inc/geshi/groovy.php index c7902471f..42bcf49c5 100644 --- a/inc/geshi/groovy.php +++ b/inc/geshi/groovy.php @@ -4,10 +4,10 @@ * ---------- * Author: Ivan F. Villanueva B. (geshi_groovy@artificialidea.com) * Copyright: (c) 2006 Ivan F. Villanueva B.(http://www.artificialidea.com) - * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.2.2.2 $ * Date Started: 2006/04/29 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:27 $ * * Groovy language file for GeSHi. * diff --git a/inc/geshi/html4strict.php b/inc/geshi/html4strict.php index 77076d433..16a3c9cda 100644 --- a/inc/geshi/html4strict.php +++ b/inc/geshi/html4strict.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.11 - * CVS Revision Version: $Revision: 1.15 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.15.2.2 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:29 $ * * HTML 4.01 strict language file for GeSHi. * diff --git a/inc/geshi/ini.php b/inc/geshi/ini.php index 44f71f4e5..8ceffcdf7 100644 --- a/inc/geshi/ini.php +++ b/inc/geshi/ini.php @@ -4,10 +4,10 @@ * --------
* Author: deguix (cevo_deguix@yahoo.com.br)
* Copyright: (c) 2005 deguix
- * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.14 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.14.2.3 $
* Date Started: 2005/03/27
- * Last Modified: $Date: 2006/05/21 00:06:56 $
+ * Last Modified: $Date: 2006/07/22 11:30:31 $
*
* INI language file for GeSHi.
*
@@ -43,7 +43,7 @@ ************************************************************************************/
$language_data = array (
- 'LANG_NAME' => 'ini',
+ 'LANG_NAME' => 'INI',
'COMMENT_SINGLE' => array(0 => ';'),
'COMMENT_MULTI' => array(),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
diff --git a/inc/geshi/inno.php b/inc/geshi/inno.php index 0f1e24844..a343e7403 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.11 - * CVS Revision Version: $Revision: 1.12 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.12.2.2 $
* Date Started: 2005/07/29
- * Last Modified: $Date: 2006/05/21 00:06:56 $
+ * Last Modified: $Date: 2006/07/22 11:30:29 $
*
* Inno Script language inkl. Delphi (Object Pascal) language file for GeSHi.
*
diff --git a/inc/geshi/java.php b/inc/geshi/java.php index d613abb17..cb0836a48 100644 --- a/inc/geshi/java.php +++ b/inc/geshi/java.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.11 - * CVS Revision Version: $Revision: 1.19 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.19.2.3 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:26 $ * * Java language file for GeSHi. * @@ -1371,7 +1371,7 @@ $language_data = array ( 'URLS' => array( 1 => '', 2 => '', - 3 => 'http://www.google.com/search?q=allinurl%3A{FNAME}+java.sun.com&bntl=1', + 3 => 'http://www.google.com/search?hl=en&q=allinurl%3A{FNAME}+java.sun.com&bntI=I%27m%20Feeling%20Lucky', 4 => '' ), 'OOLANG' => true, @@ -1387,4 +1387,4 @@ $language_data = array ( ) ); -?>
\ No newline at end of file +?> diff --git a/inc/geshi/java5.php b/inc/geshi/java5.php index a873c206f..1741f2cb5 100644 --- a/inc/geshi/java5.php +++ b/inc/geshi/java5.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.11 - * CVS Revision Version: $Revision: 1.8 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.8.2.2 $
* Date Started: 2004/07/10
- * Last Modified: $Date: 2006/05/21 00:06:57 $
+ * Last Modified: $Date: 2006/07/22 11:30:32 $
*
* Java language file for GeSHi.
*
diff --git a/inc/geshi/javascript.php b/inc/geshi/javascript.php index 12cb36b0f..32e6ff2cb 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.11 - * CVS Revision Version: $Revision: 1.13 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.3 $
* Date Started: 2004/06/20
- * Last Modified: $Date: 2006/05/21 00:06:56 $
+ * Last Modified: $Date: 2006/07/22 11:30:23 $
*
* JavaScript language file for GeSHi.
*
@@ -42,7 +42,7 @@ ************************************************************************************/
$language_data = array (
- 'LANG_NAME' => 'JAVASCRIPT',
+ 'LANG_NAME' => 'Javascript',
'COMMENT_SINGLE' => array(1 => '//'),
'COMMENT_MULTI' => array('/*' => '*/'),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
diff --git a/inc/geshi/lisp.php b/inc/geshi/lisp.php index e31f02a5c..121ced6ca 100644 --- a/inc/geshi/lisp.php +++ b/inc/geshi/lisp.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.11 - * CVS Revision Version: $Revision: 1.14 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.14.2.3 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:27 $ * * Generic Lisp language file for GeSHi. * @@ -44,7 +44,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'LISP', + 'LANG_NAME' => 'Lisp', 'COMMENT_SINGLE' => array(1 => ';'), 'COMMENT_MULTI' => array(';|' => '|;'), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, diff --git a/inc/geshi/lua.php b/inc/geshi/lua.php index 3c51fdc26..da668ad22 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.11 - * CVS Revision Version: $Revision: 1.15 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.15.2.3 $
* Date Started: 2004/07/10
- * Last Modified: $Date: 2006/05/21 00:06:57 $
+ * Last Modified: $Date: 2006/07/22 11:30:32 $
*
* LUA language file for GeSHi.
*
@@ -45,7 +45,7 @@ ************************************************************************************/
$language_data = array (
- 'LANG_NAME' => 'LUA',
+ 'LANG_NAME' => 'Lua',
'COMMENT_SINGLE' => array(1 => "--"),
'COMMENT_MULTI' => array('--[[' => ']]'),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
diff --git a/inc/geshi/matlab.php b/inc/geshi/matlab.php index 5ca2d4261..eeba0b92e 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.11 - * CVS Revision Version: $Revision: 1.15 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.15.2.2 $
* Date Started: 2005/02/09
- * Last Modified: $Date: 2006/06/08 22:58:11 $
+ * Last Modified: $Date: 2006/07/22 11:30:25 $
*
* Matlab M-file language file for GeSHi.
*
diff --git a/inc/geshi/mpasm.php b/inc/geshi/mpasm.php index ca5b3a5bb..0eab86528 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.11 - * CVS Revision Version: $Revision: 1.13 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.2 $ * Date Started: 2004/12/6 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:27 $ * * Microchip Assembler language file for GeSHi. * diff --git a/inc/geshi/mysql.php b/inc/geshi/mysql.php index 2c819c205..12b976c0a 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.11 - * CVS Revision Version: $Revision: 1.12 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.12.2.4 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:29 $ * * MySQL language file for GeSHi. * @@ -100,9 +100,13 @@ $language_data = array ( 4 => array( 'MICROSECOND', 'SECOND', 'MINUTE', 'HOUR', 'DAY', 'WEEK', 'MONTH', 'QUARTER', 'YEAR', 'SECOND_MICROSECOND', 'MINUTE_MICROSECOND', 'MINUTE_SECOND', 'HOUR_MICROSECOND', 'HOUR_SECOND', 'HOUR_MINUTE', 'DAY_MICROSECOND', - 'DAY_SECOND', 'DAY_MINUTE', 'DAY_HOUR', 'YEAR_MONTH', - ), + 'DAY_SECOND', 'DAY_MINUTE', 'DAY_HOUR', 'YEAR_MONTH' + ), + 5 => array( + 'OR', 'XOR', 'AND', 'NOT', 'BETWEEN', 'IS', 'LIKE', 'REGEXP', 'IN', 'DIV', + 'MOD', 'BINARY', 'COLLATE', 'LIMIT', 'OFFSET' ), + ), 'SYMBOLS' => array( ':=', '||', 'OR', 'XOR', @@ -127,15 +131,18 @@ $language_data = array ( 2 => false, 3 => false, 4 => false, + 5 => false ), 'STYLES' => array( 'KEYWORDS' => array( 1 => 'color: #993333; font-weight: bold;', 2 => 'color: #aa9933; font-weight: bold;', 3 => 'color: #aa3399; font-weight: bold;', - 4 => 'color: #33aa99; font-weight: bold;', + 4 => 'color: #33aa99; font-weight: bold;', + 5 => 'color: #993333; font-weight: bold;' ), 'COMMENTS' => array( + 'MULTI' => 'color: #808080; font-style: italic;', 1 => 'color: #808080; font-style: italic;', 2 => 'color: #808080; font-style: italic;' ), diff --git a/inc/geshi/nsis.php b/inc/geshi/nsis.php index a15ce8a87..872b10ace 100644 --- a/inc/geshi/nsis.php +++ b/inc/geshi/nsis.php @@ -4,10 +4,10 @@ * --------
* 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.11 - * CVS Revision Version: $Revision: 1.15 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.15.2.3 $
* Date Started: 2005/12/03
- * Last Modified: $Date: 2006/05/21 00:06:56 $
+ * Last Modified: $Date: 2006/07/22 11:30:28 $
*
* Nullsoft Scriptable Install System language file for GeSHi.
*
@@ -50,7 +50,7 @@ ************************************************************************************/
$language_data = array (
- 'LANG_NAME' => 'nsis',
+ 'LANG_NAME' => 'NSIS',
'COMMENT_SINGLE' => array(1 => ';', 2 => '#'),
'COMMENT_MULTI' => array('/*' => '*/'),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
diff --git a/inc/geshi/objc.php b/inc/geshi/objc.php index d0cd9d396..b52fd7d0d 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.11 - * CVS Revision Version: $Revision: 1.13 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.2 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:29 $ * * Objective C language file for GeSHi. * diff --git a/inc/geshi/ocaml-brief.php b/inc/geshi/ocaml-brief.php index 06564d5a1..9fcdf113d 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.11 - * CVS Revision Version: $Revision: 1.11 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.11.2.2 $
* Date Started: 2005/08/27
- * Last Modified: $Date: 2006/05/21 00:06:57 $
+ * Last Modified: $Date: 2006/07/22 11:30:32 $
*
* OCaml (Objective Caml) language file for GeSHi.
*
diff --git a/inc/geshi/ocaml.php b/inc/geshi/ocaml.php index 7738ea963..9949df704 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.11 - * CVS Revision Version: $Revision: 1.11 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.11.2.2 $
* Date Started: 2005/08/27
- * Last Modified: $Date: 2006/05/21 00:06:56 $
+ * Last Modified: $Date: 2006/07/22 11:30:24 $
*
* OCaml (Objective Caml) language file for GeSHi.
*
diff --git a/inc/geshi/oobas.php b/inc/geshi/oobas.php index 092127cf7..97b03b722 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.11 - * CVS Revision Version: $Revision: 1.13 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.2 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:27 $ * * OpenOffice.org Basic language file for GeSHi. * diff --git a/inc/geshi/oracle8.php b/inc/geshi/oracle8.php index ed034de33..35312cd34 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.11 - * CVS Revision Version: $Revision: 1.13 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.3 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2006/05/21 00:06:57 $ + * Last Modified: $Date: 2006/07/22 11:30:32 $ * * Oracle 8 language file for GeSHi * @@ -40,7 +40,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'Oracle 8', + 'LANG_NAME' => 'Oracle 8 SQL', 'COMMENT_SINGLE' => array(1 => '--'), 'COMMENT_MULTI' => array('/*' => '*/'), 'CASE_KEYWORDS' => GESHI_CAPS_UPPER, diff --git a/inc/geshi/pascal.php b/inc/geshi/pascal.php index eec6a2fe1..39ae53b98 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.11 - * CVS Revision Version: $Revision: 1.13 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.2 $ * Date Started: 2004/07/26 - * Last Modified: $Date: 2006/05/21 00:06:57 $ + * Last Modified: $Date: 2006/07/22 11:30:32 $ * * Pascal language file for GeSHi. * diff --git a/inc/geshi/perl.php b/inc/geshi/perl.php index c1d9568d9..722ed224f 100644 --- a/inc/geshi/perl.php +++ b/inc/geshi/perl.php @@ -4,10 +4,10 @@ * -------- * 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.11 - * CVS Revision Version: $Revision: 1.14 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.14.2.2 $ * Date Started: 2004/08/20 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:26 $ * * Perl language file for GeSHi. * diff --git a/inc/geshi/php-brief.php b/inc/geshi/php-brief.php index 55bde6f55..4c77b1324 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.11 - * CVS Revision Version: $Revision: 1.13 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.3 $ * Date Started: 2004/06/02 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:24 $ * * PHP language file for GeSHi (brief version). * @@ -64,7 +64,7 @@ $language_data = array ( 'null', '__LINE__', '__FILE__', 'false', '<?php', '?>', 'true', 'var', 'default', - 'function', 'class', 'new', '&new' + 'function', 'class', 'new', '&new', 'public', 'private', 'interface', 'extends', ), 3 => array( 'func_num_args', 'func_get_arg', 'func_get_args', 'strlen', 'strcmp', 'strncmp', 'strcasecmp', 'strncasecmp', 'each', 'error_reporting', 'define', 'defined', diff --git a/inc/geshi/php.php b/inc/geshi/php.php index ef5ee33fb..ff493b758 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.11 - * CVS Revision Version: $Revision: 1.14 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.14.2.3 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:29 $ * * PHP language file for GeSHi. * @@ -69,7 +69,7 @@ $language_data = array ( 'false', '<?php', '?>', '<?', '<script language', '</script>', 'true', 'var', 'default', - 'function', 'class', 'new', '&new', + 'function', 'class', 'new', '&new', 'public', 'private', 'interface', 'extends', '__FUNCTION__', '__CLASS__', '__METHOD__', 'PHP_VERSION', 'PHP_OS', 'DEFAULT_INCLUDE_PATH', 'PEAR_INSTALL_DIR', 'PEAR_EXTENSION_DIR', 'PHP_EXTENSION_DIR', 'PHP_BINDIR', 'PHP_LIBDIR', 'PHP_DATADIR', 'PHP_SYSCONFDIR', diff --git a/inc/geshi/python.php b/inc/geshi/python.php index 2bcfdbb78..070817501 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.11 - * CVS Revision Version: $Revision: 1.14 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.14.2.3 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/23 01:48:36 $ * * Python language file for GeSHi. * @@ -172,7 +172,10 @@ $language_data = array ( ), 'CASE_SENSITIVE' => array( GESHI_COMMENTS => true, - 1 => true + 1 => true, + 2 => true, + 3 => true, + 4 => true ), 'STYLES' => array( 'KEYWORDS' => array( diff --git a/inc/geshi/qbasic.php b/inc/geshi/qbasic.php index a0b911495..82a0f1d7d 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.11 - * CVS Revision Version: $Revision: 1.14 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.14.2.2 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:25 $ * * QBasic/QuickBASIC language file for GeSHi. * diff --git a/inc/geshi/reg.php b/inc/geshi/reg.php index 4ab5f8780..6992f77f2 100644 --- a/inc/geshi/reg.php +++ b/inc/geshi/reg.php @@ -4,10 +4,10 @@ * ------- * Author: Sean Hanna (smokingrope@gmail.com) * Copyright: (c) 2006 Sean Hanna - * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.2.2.3 $ * Date Started: 03/15/2006 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:25 $ * * Microsoft Registry Editor Language File. * @@ -59,7 +59,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'REG', + 'LANG_NAME' => 'Microsoft Registry', 'COMMENT_SINGLE' => array(1 =>';'), 'COMMENT_MULTI' => array( ), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, diff --git a/inc/geshi/robots.php b/inc/geshi/robots.php index b9de43d53..c30c79b83 100644 --- a/inc/geshi/robots.php +++ b/inc/geshi/robots.php @@ -4,10 +4,10 @@ * -------- * Author: Christian Lescuyer (cl@goelette.net) * Copyright: (c) 2006 Christian Lescuyer http://xtian.goelette.info - * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.7 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.7.2.3 $ * Date Started: 2006/02/17 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:25 $ * * robots.txt language file for GeSHi. * @@ -35,7 +35,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'Robots', + 'LANG_NAME' => 'robots.txt', 'COMMENT_SINGLE' => array(1 => '#'), 'COMMENT_MULTI' => array(), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, diff --git a/inc/geshi/ruby.php b/inc/geshi/ruby.php index 21c710f6b..adbf2fd04 100644 --- a/inc/geshi/ruby.php +++ b/inc/geshi/ruby.php @@ -4,10 +4,10 @@ * -------- * Author: Amit Gupta (http://blog.igeek.info/) * Copyright: (c) 2005 Amit Gupta (http://blog.igeek.info/) - * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.13 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.2 $ * Date Started: 2005/09/05 - * Last Modified: $Date: 2006/05/21 00:06:57 $ + * Last Modified: $Date: 2006/07/22 11:30:32 $ * * Ruby language file for GeSHi * diff --git a/inc/geshi/sas.php b/inc/geshi/sas.php index b1e7723d0..38f5ae035 100644 --- a/inc/geshi/sas.php +++ b/inc/geshi/sas.php @@ -4,10 +4,10 @@ * ------- * Author: Galen Johnson (solitaryr@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.5.2.2 $ * Date Started: 2005/12/27 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:28 $ * * SAS language file for GeSHi. Based on the sas vim file. * diff --git a/inc/geshi/scheme.php b/inc/geshi/scheme.php index 60fa2bb26..f54225e22 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.11 - * CVS Revision Version: $Revision: 1.11 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.11.2.2 $
* Date Started: 2004/08/30
- * Last Modified: $Date: 2006/05/21 00:06:56 $
+ * Last Modified: $Date: 2006/07/22 11:30:27 $
*
* Scheme language file for GeSHi.
*
diff --git a/inc/geshi/sdlbasic.php b/inc/geshi/sdlbasic.php index 7e4f54fd4..d4b0c6a68 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.11 - * CVS Revision Version: $Revision: 1.12 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.12.2.3 $ * Date Started: 2005/08/19 - * Date Modified: $Date: 2006/05/21 00:06:56 $ + * Date Modified: $Date: 2006/07/22 11:30:25 $ * * sdlBasic (http://sdlbasic.sf.net) language file for GeSHi. * @@ -36,7 +36,7 @@ * ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'Visual Basic', + 'LANG_NAME' => 'sdlBasic', 'COMMENT_SINGLE' => array(1 => "'", 2 => "rem", 3 => "!", 4 => "#"), 'COMMENT_MULTI' => array(), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, diff --git a/inc/geshi/smalltalk.php b/inc/geshi/smalltalk.php index 640a048bc..b2911736b 100644 --- a/inc/geshi/smalltalk.php +++ b/inc/geshi/smalltalk.php @@ -4,10 +4,10 @@ * --------
* Author: Bananeweizen (Bananeweizen@gmx.de)
* Copyright: (c) 2005 Bananeweizen (www.bananeweizen.de)
- * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.1.2.1 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.1.2.3 $
* Date Started: 2005/03/27
- * Last Modified: $Date: 2006/06/17 07:22:51 $
+ * Last Modified: $Date: 2006/07/22 11:30:33 $
*
* Smalltalk language file for GeSHi.
*
diff --git a/inc/geshi/smarty.php b/inc/geshi/smarty.php index 9f660f17f..e3e494fdc 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.11 - * CVS Revision Version: $Revision: 1.15.2.1 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.15.2.3 $
* Date Started: 2004/07/10
- * Last Modified: $Date: 2006/06/21 10:22:51 $
+ * Last Modified: $Date: 2006/07/22 11:30:31 $
*
* Smarty template language file for GeSHi.
*
diff --git a/inc/geshi/sql.php b/inc/geshi/sql.php index a34ddb76a..ca86712e8 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.11 - * CVS Revision Version: $Revision: 1.15 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.15.2.2 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:28 $ * * SQL language file for GeSHi. * diff --git a/inc/geshi/tcl.php b/inc/geshi/tcl.php index c7af4af03..804fb59bb 100644 --- a/inc/geshi/tcl.php +++ b/inc/geshi/tcl.php @@ -4,10 +4,10 @@ * --------------------------------- * Author: Reid van Melle (rvanmelle@gmail.com) * Copyright: (c) 2004 Reid van Melle (sorry@nowhere) - * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.2.2.2 $ * Date Started: 2006/05/05 - * Last Modified: $Date: 2006/05/21 00:06:57 $ + * Last Modified: $Date: 2006/07/22 11:30:32 $ * * TCL/iTCL language file for GeSHi. * diff --git a/inc/geshi/text.php b/inc/geshi/text.php index 0d16c8c5d..d8e8fd9b9 100644 --- a/inc/geshi/text.php +++ b/inc/geshi/text.php @@ -4,10 +4,10 @@ * -------- * Author: Sean Hanna (smokingrope@gmail.com) * Copyright: (c) 2006 Sean Hanna - * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.2.2.3 $ * Date Started: 04/23/2006 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:23 $ * * Standard Text File (No Syntax Highlighting). * @@ -45,7 +45,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'TEXT', + 'LANG_NAME' => 'Text', 'COMMENT_SINGLE' => array( ), 'COMMENT_MULTI' => array( ), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, diff --git a/inc/geshi/tsql.php b/inc/geshi/tsql.php index 8cda1a139..7abb6afe6 100644 --- a/inc/geshi/tsql.php +++ b/inc/geshi/tsql.php @@ -4,10 +4,10 @@ * -------- * Author: Duncan Lock (dunc@dflock.co.uk) * Copyright: (c) 2006 Duncan Lock (http://dflock.co.uk/), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.8 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.8.2.3 $ * Date Started: 2005/11/22 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:25 $ * * T-SQL language file for GeSHi. * @@ -40,7 +40,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'TSQL', + 'LANG_NAME' => 'T-SQL', 'COMMENT_SINGLE' => array(1 => '--'), 'COMMENT_MULTI' => array('/*' => '*/'), 'CASE_KEYWORDS' => GESHI_CAPS_UPPER, diff --git a/inc/geshi/vb.php b/inc/geshi/vb.php index c2a5ca65b..8ebc7d45f 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.11 - * CVS Revision Version: $Revision: 1.14 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.14.2.2 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:24 $ * * Visual Basic language file for GeSHi. * diff --git a/inc/geshi/vbnet.php b/inc/geshi/vbnet.php index 7baf7fc60..a1afe2c7e 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.11 - * CVS Revision Version: $Revision: 1.15 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.15.2.2 $
* Date Started: 2004/06/04
- * Last Modified: $Date: 2006/05/21 00:06:56 $
+ * Last Modified: $Date: 2006/07/22 11:30:31 $
*
* VB.NET language file for GeSHi.
*
diff --git a/inc/geshi/vhdl.php b/inc/geshi/vhdl.php index 7513785c1..df9c3f13f 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.11 - * CVS Revision Version: $Revision: 1.13 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.3 $ * Date Started: 2005/06/15 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:23 $ * * VHDL (VHSICADL, very high speed integrated circuit HDL) language file for GeSHi. * @@ -40,7 +40,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'vhdl', + 'LANG_NAME' => 'VHDL', 'COMMENT_SINGLE' => array(1 => '--'), 'COMMENT_MULTI' => array(), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, diff --git a/inc/geshi/visualfoxpro.php b/inc/geshi/visualfoxpro.php index 1ef336d3e..f884086a5 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.11 - * CVS Revision Version: $Revision: 1.13 $
+ * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.13.2.3 $
* Date Started: 2004/09/17
* Last Modified: 2004/09/18
*
@@ -42,7 +42,7 @@ ************************************************************************************/
$language_data = array (
- 'LANG_NAME' => 'VFP',
+ 'LANG_NAME' => 'Visual Fox Pro',
'COMMENT_SINGLE' => array(1 => "//", 2 => "\n*"),
'COMMENT_MULTI' => array(),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
diff --git a/inc/geshi/winbatch.php b/inc/geshi/winbatch.php index bb91d17e6..3b555fa53 100644 --- a/inc/geshi/winbatch.php +++ b/inc/geshi/winbatch.php @@ -4,10 +4,10 @@ * ------------ * Author: Craig Storey (storey.craig@gmail.com) * Copyright: (c) 2004 Craig Storey (craig.xcottawa.ca) - * Release Version: 1.0.7.11 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.2.2.3 $ * Date Started: 2006/05/19 - * Last Modified: $Date: 2006/05/21 00:06:57 $ + * Last Modified: $Date: 2006/07/22 11:30:32 $ * * WinBatch language file for GeSHi. * @@ -49,7 +49,7 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'WINBATCH', + 'LANG_NAME' => 'Winbatch', 'COMMENT_SINGLE' => array(1 => ';', 2 => ':'), 'COMMENT_MULTI' => array(), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, diff --git a/inc/geshi/xml.php b/inc/geshi/xml.php index 77c9a2de1..40e66d7d0 100644 --- a/inc/geshi/xml.php +++ b/inc/geshi/xml.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.11 - * CVS Revision Version: $Revision: 1.18 $ + * Release Version: 1.0.7.12 + * CVS Revision Version: $Revision: 1.18.2.3 $ * Date Started: 2004/09/01 - * Last Modified: $Date: 2006/05/21 00:06:56 $ + * Last Modified: $Date: 2006/07/22 11:30:28 $ * * XML language file for GeSHi. Based on the idea/file by Christian Weiske * @@ -107,7 +107,7 @@ $language_data = array ( GESHI_AFTER => '\\4' ), 1 => array( - GESHI_SEARCH => '(<[/?|(\?xml)]?[a-z0-9_]*(\??>)?)', + GESHI_SEARCH => '(<[/?|(\?xml)]?[a-z0-9_\-]*(\??>)?)', GESHI_REPLACE => '\\1', GESHI_MODIFIERS => 'i', GESHI_BEFORE => '', |