From a9cd1c6aa3775e9e863af253b3a00a66a9036a83 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Thu, 22 Sep 2005 18:04:31 +0200 Subject: geshi updated to 1.0.7.3 darcs-hash:20050922160431-7ad00-4bbcdc2804d46745cb763524c05fdb73f13186f1.gz --- inc/geshi/actionscript-french.php | 8 +- inc/geshi/actionscript.php | 8 +- inc/geshi/ada.php | 6 +- inc/geshi/apache.php | 6 +- inc/geshi/applescript.php | 6 +- inc/geshi/asm.php | 6 +- inc/geshi/asp.php | 6 +- inc/geshi/bash.php | 6 +- inc/geshi/c.php | 6 +- inc/geshi/c_mac.php | 6 +- inc/geshi/caddcl.php | 6 +- inc/geshi/cadlisp.php | 6 +- inc/geshi/cpp.php | 6 +- inc/geshi/csharp.php | 6 +- inc/geshi/css-gen.cfg | 0 inc/geshi/css.php | 6 +- inc/geshi/d.php | 6 +- inc/geshi/delphi.php | 6 +- inc/geshi/diff.php | 6 +- inc/geshi/div.php | 6 +- inc/geshi/dos.php | 8 +- inc/geshi/eiffel.php | 6 +- inc/geshi/freebasic.php | 2 +- inc/geshi/gml.php | 6 +- inc/geshi/html4strict.php | 6 +- inc/geshi/ini.php | 6 +- inc/geshi/inno.php | 6 +- inc/geshi/java.php | 8 +- inc/geshi/javascript.php | 6 +- inc/geshi/lisp.php | 6 +- inc/geshi/lua.php | 6 +- inc/geshi/matlab.php | 6 +- inc/geshi/mpasm.php | 6 +- inc/geshi/nsis.php | 6 +- inc/geshi/objc.php | 6 +- inc/geshi/ocaml-brief.php | 114 +++++++++++++++++++++++++ inc/geshi/ocaml.php | 163 ++++++++++++++++++++++++++++++++++++ inc/geshi/oobas.php | 6 +- inc/geshi/oracle8.php | 6 +- inc/geshi/pascal.php | 6 +- inc/geshi/perl.php | 6 +- inc/geshi/php-brief.php | 6 +- inc/geshi/php.php | 6 +- inc/geshi/python.php | 6 +- inc/geshi/qbasic.php | 6 +- inc/geshi/ruby.php | 145 ++++++++++++++++++++++++++++++++ inc/geshi/scheme.php | 172 ++++++++++++++++++++++++++++++++++++++ inc/geshi/sdlbasic.php | 6 +- inc/geshi/smarty.php | 6 +- inc/geshi/sql.php | 6 +- inc/geshi/vb.php | 6 +- inc/geshi/vbnet.php | 6 +- inc/geshi/vhdl.php | 6 +- inc/geshi/visualfoxpro.php | 4 +- inc/geshi/xml.php | 6 +- 55 files changed, 746 insertions(+), 150 deletions(-) create mode 100644 inc/geshi/css-gen.cfg create mode 100644 inc/geshi/ocaml-brief.php create mode 100644 inc/geshi/ocaml.php create mode 100644 inc/geshi/ruby.php create mode 100644 inc/geshi/scheme.php (limited to 'inc/geshi') diff --git a/inc/geshi/actionscript-french.php b/inc/geshi/actionscript-french.php index 101a32850..50bfb5a1f 100644 --- a/inc/geshi/actionscript-french.php +++ b/inc/geshi/actionscript-french.php @@ -4,10 +4,10 @@ * ---------------- * Author: Steffen Krause (Steffen.krause@muse.de) * Copyright: (c) 2004 Steffen Krause, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.2 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:30:09 $ * * Actionscript language file for GeSHi. * @@ -954,4 +954,4 @@ $language_data = array ( 'HIGHLIGHT_STRICT_BLOCK' => array() ); -?> \ No newline at end of file +?> diff --git a/inc/geshi/actionscript.php b/inc/geshi/actionscript.php index e6d2726bb..d34bb5daf 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:30:09 $ * * Actionscript language file for GeSHi. * @@ -196,4 +196,4 @@ $language_data = array ( 'HIGHLIGHT_STRICT_BLOCK' => array() ); -?> \ No newline at end of file +?> diff --git a/inc/geshi/ada.php b/inc/geshi/ada.php index bb859635c..5a2ed40eb 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.2 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/07/29 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:30:09 $ * * Ada language file for GeSHi. * Words are from SciTe configuration file diff --git a/inc/geshi/apache.php b/inc/geshi/apache.php index aab57952b..2a2cd2a48 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.2 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/29/07 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:30:09 $ * * Apache language file for GeSHi. * Words are from SciTe configuration file diff --git a/inc/geshi/applescript.php b/inc/geshi/applescript.php index 3925ab37e..6e3db71f4 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.2 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2005/07/20 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:30:09 $ * * AppleScript language file for GeSHi. * diff --git a/inc/geshi/asm.php b/inc/geshi/asm.php index 51db6384d..d1ac9f507 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/07/27 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:30:09 $ * * x86 Assembler language file for GeSHi. * Words are from SciTe configuration file (based on NASM syntax) diff --git a/inc/geshi/asp.php b/inc/geshi/asp.php index b5b169566..d444043bd 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/08/13 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:30:09 $ * * ASP language file for GeSHi. * diff --git a/inc/geshi/bash.php b/inc/geshi/bash.php index 487756413..c46e4ee99 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/08/20 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:30:09 $ * * BASH language file for GeSHi. * diff --git a/inc/geshi/c.php b/inc/geshi/c.php index f03ed9113..582e0bb9b 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:30:09 $ * * C language file for GeSHi. * diff --git a/inc/geshi/c_mac.php b/inc/geshi/c_mac.php index 9302a4071..787dceeda 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:30:09 $ * * C for Macs language file for GeSHi. * diff --git a/inc/geshi/caddcl.php b/inc/geshi/caddcl.php index d062cac41..455df9ddc 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:30:09 $ * * CAD DCL (Dialog Control Language) file for GeSHi. * diff --git a/inc/geshi/cadlisp.php b/inc/geshi/cadlisp.php index e05d4b6fd..5e1cb32de 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:30:09 $ * * AutoCAD/IntelliCAD Lisp language file for GeSHi. * diff --git a/inc/geshi/cpp.php b/inc/geshi/cpp.php index 03d5abcf5..50475e535 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.2 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/09/27 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:30:09 $ * * C++ language file for GeSHi. * diff --git a/inc/geshi/csharp.php b/inc/geshi/csharp.php index 6cbd0110e..0b00140ad 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:30:09 $ * * C# language file for GeSHi. * diff --git a/inc/geshi/css-gen.cfg b/inc/geshi/css-gen.cfg new file mode 100644 index 000000000..e69de29bb diff --git a/inc/geshi/css.php b/inc/geshi/css.php index 152deaaa4..433efb794 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.2 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/06/18 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:30:09 $ * * CSS language file for GeSHi. * diff --git a/inc/geshi/d.php b/inc/geshi/d.php index 8c489d600..bb67c2806 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2005/04/22 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:32:47 $ * * D language file for GeSHi. * diff --git a/inc/geshi/delphi.php b/inc/geshi/delphi.php index 66da2fce4..71d64c841 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.2 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/07/26 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:32:47 $ * * Delphi (Object Pascal) language file for GeSHi. * diff --git a/inc/geshi/diff.php b/inc/geshi/diff.php index 1ac1a84cc..475883eb6 100644 --- a/inc/geshi/diff.php +++ b/inc/geshi/diff.php @@ -4,10 +4,10 @@ * -------- * Author: Conny Brunnkvist (conny@fuchsia.se) * Copyright: (c) 2004 Fuchsia Open Source Solutions (http://www.fuchsia.se/) - * Release Version: 1.0.7.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/12/29 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:32:47 $ * * Diff-output language file for GeSHi. * diff --git a/inc/geshi/div.php b/inc/geshi/div.php index 6202eccf7..02d1f3760 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2005/06/19 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:32:47 $ * * DIV language file for GeSHi. * diff --git a/inc/geshi/dos.php b/inc/geshi/dos.php index ec9d413ff..1af1ebcf5 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.2 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2005/07/05 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:32:47 $ * * DOS language file for GeSHi. * @@ -64,7 +64,7 @@ $language_data = array ( 'LANG_NAME' => 'DOS', 'COMMENT_SINGLE' => array(1 =>'REM', 2 => '@REM'), 'COMMENT_MULTI' => array(), - 'CASE_KEYWORDS' => GESHI_CAP_NO_CHANGE, + 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'QUOTEMARKS' => array(), 'ESCAPE_CHAR' => '', 'KEYWORDS' => array( diff --git a/inc/geshi/eiffel.php b/inc/geshi/eiffel.php index 671004d57..04f553f18 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2005/06/30 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:32:47 $ * * Eiffel language file for GeSHi. * diff --git a/inc/geshi/freebasic.php b/inc/geshi/freebasic.php index a4f11226d..e9b43a950 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.2 + * Release Version: 1.0.7.3 * 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 c0390102c..367344de7 100644 --- a/inc/geshi/gml.php +++ b/inc/geshi/gml.php @@ -4,10 +4,10 @@ * -------- * Author: José Jorge Enríquez Rodríguez (aka Geo) (josejorge@gmail.com) * Copyright: (c) 2004 José Jorge Enríquez Rodríguez (http://www.zonamakers.com) - * Release Version: 1.0.7.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2005/06/21 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:32:47 $ * * GML language file for GeSHi. * diff --git a/inc/geshi/html4strict.php b/inc/geshi/html4strict.php index eb48f67ab..15b644afe 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:32:47 $ * * HTML 4.01 strict language file for GeSHi. * diff --git a/inc/geshi/ini.php b/inc/geshi/ini.php index a735a82d8..e79603e89 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.2 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2005/03/27 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:32:47 $ * * INI language file for GeSHi. * diff --git a/inc/geshi/inno.php b/inc/geshi/inno.php index f237a59a9..698ad9fb9 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.2 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2005/07/29 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:35:22 $ * * Inno Script language inkl. Delphi (Object Pascal) language file for GeSHi. * diff --git a/inc/geshi/java.php b/inc/geshi/java.php index 1727ec2ef..dc67d62eb 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.2 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:35:22 $ * * Java language file for GeSHi. * @@ -1367,7 +1367,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?q=allinurl%3A{FNAME}+java.sun.com&bntl=1', 4 => '' ), 'OOLANG' => true, diff --git a/inc/geshi/javascript.php b/inc/geshi/javascript.php index 3672272a2..a5b9a0426 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:35:22 $ * * JavaScript language file for GeSHi. * diff --git a/inc/geshi/lisp.php b/inc/geshi/lisp.php index 57b24c95d..75af7ef54 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:35:22 $ * * Generic Lisp language file for GeSHi. * diff --git a/inc/geshi/lua.php b/inc/geshi/lua.php index e446d1b77..224f81b06 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.2 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:35:22 $ * * LUA language file for GeSHi. * diff --git a/inc/geshi/matlab.php b/inc/geshi/matlab.php index c98ad06fd..9ece11cf9 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2005/02/09 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:35:22 $ * * Matlab M-file language file for GeSHi. * diff --git a/inc/geshi/mpasm.php b/inc/geshi/mpasm.php index d19238fd3..1ce563f66 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/12/6 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:35:22 $ * * Microchip Assembler language file for GeSHi. * diff --git a/inc/geshi/nsis.php b/inc/geshi/nsis.php index d9b075763..1a70278f7 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.2 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2005/06/17 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:35:22 $ * * Nullsoft Scriptable Install System language file for GeSHi. * diff --git a/inc/geshi/objc.php b/inc/geshi/objc.php index a2b050297..379de37fe 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:35:22 $ * * Objective C language file for GeSHi. * diff --git a/inc/geshi/ocaml-brief.php b/inc/geshi/ocaml-brief.php new file mode 100644 index 000000000..704cca88e --- /dev/null +++ b/inc/geshi/ocaml-brief.php @@ -0,0 +1,114 @@ + 'OCaml', + 'COMMENT_SINGLE' => array(), + 'COMMENT_MULTI' => array('(*' => '*)'), + 'CASE_KEYWORDS' => 0, + 'QUOTEMARKS' => array('"'), + 'ESCAPE_CHAR' => "", + 'KEYWORDS' => array( + /* main OCaml keywords */ + 1 => array( + 'and', 'As', 'asr', 'begin', 'Class', 'Closed', 'constraint', 'do', 'done', 'downto', 'else', + 'end', 'exception', 'external', 'failwith', 'false', 'flush', 'for', 'fun', 'function', 'functor', + 'if', 'in', 'include', 'inherit', 'incr', 'land', 'let', 'load', 'los', 'lsl', 'lsr', 'lxor', + 'match', 'method', 'mod', 'module', 'mutable', 'new', 'not', 'of', 'open', 'option', 'or', 'parser', + 'private', 'ref', 'rec', 'raise', 'regexp', 'sig', 'struct', 'stdout', 'stdin', 'stderr', 'then', + 'to', 'true', 'try', 'type', 'val', 'virtual', 'when', 'while', 'with' + ) + ), + /* highlighting symbols is really important in OCaml */ + 'SYMBOLS' => array( + ';', '!', ':', '.', '=', '%', '^', '*', '-', '/', '+', + '>', '<', '(', ')', '[', ']', '&', '|', '#', "'" + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => true, + 1 => false, + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #06c; font-weight: bold;' /* nice blue */ + ), + 'COMMENTS' => array( + 'MULTI' => 'color: #5d478b; font-style: italic;' /* light purple */ + ), + 'ESCAPE_CHAR' => array( + ), + 'BRACKETS' => array( + 0 => 'color: #6c6;' + ), + 'STRINGS' => array( + 0 => 'color: #3cb371;' /* nice green */ + ), + 'NUMBERS' => array( + 0 => 'color: #c6c;' /* pink */ + ), + 'METHODS' => array( + 1 => 'color: #060;' /* dark green */ + ), + 'REGEXPS' => array( + ), + 'SYMBOLS' => array( + 0 => 'color: #a52a2a;' /* maroon */ + ), + 'SCRIPT' => array( + ) + ), + 'URLS' => array( + 1 => '', + ), + '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/ocaml.php b/inc/geshi/ocaml.php new file mode 100644 index 000000000..2f773e4d2 --- /dev/null +++ b/inc/geshi/ocaml.php @@ -0,0 +1,163 @@ + 'OCaml', + 'COMMENT_SINGLE' => array(), + 'COMMENT_MULTI' => array('(*' => '*)'), + 'CASE_KEYWORDS' => 0, + 'QUOTEMARKS' => array('"'), + 'ESCAPE_CHAR' => "", + 'KEYWORDS' => array( + /* main OCaml keywords */ + 1 => array( + 'and', 'As', 'asr', 'begin', 'Class', 'Closed', 'constraint', 'do', 'done', 'downto', 'else', + 'end', 'exception', 'external', 'failwith', 'false', 'flush', 'for', 'fun', 'function', 'functor', + 'if', 'in', 'include', 'inherit', 'incr', 'land', 'let', 'load', 'los', 'lsl', 'lsr', 'lxor', + 'match', 'method', 'mod', 'module', 'mutable', 'new', 'not', 'of', 'open', 'option', 'or', 'parser', + 'private', 'ref', 'rec', 'raise', 'regexp', 'sig', 'struct', 'stdout', 'stdin', 'stderr', 'then', + 'to', 'true', 'try', 'type', 'val', 'virtual', 'when', 'while', 'with' + ), + /* define names of main librarys, so we can link to it */ + 2 => array( + 'Arg', 'Arith_status', 'Array', 'ArrayLabels', 'Big_int', 'Bigarray', 'Buffer', 'Callback', + 'CamlinternalOO', 'Char', 'Complex', 'Condition', 'Dbm', 'Digest', 'Dynlink', 'Event', + 'Filename', 'Format', 'Gc', 'Genlex', 'Graphics', 'GraphicsX11', 'Hashtbl', 'Int32', 'Int64', + 'Lazy', 'Lexing', 'List', 'ListLabels', 'Map', 'Marshal', 'MoreLabels', 'Mutex', 'Nativeint', + 'Num', 'Obj', 'Oo', 'Parsing', 'Pervasives', 'Printexc', 'Printf', 'Queue', 'Random', 'Scanf', + 'Set', 'Sort', 'Stack', 'StdLabels', 'Str', 'Stream', 'String', 'StringLabels', 'Sys', 'Thread', + 'ThreadUnix', 'Tk' + ), + /* just link to the Pervasives functions library, cause it's the default opened library when starting OCaml */ + 3 => array( + 'raise', 'invalid_arg', 'failwith', 'compare', 'min', 'max', 'succ', 'pred', 'mod', 'abs', + 'max_int', 'min_int', 'sqrt', 'exp', 'log', 'log10', 'cos', 'sin', 'tan', 'acos', 'asin', + 'atan', 'atan2', 'cosh', 'sinh', 'tanh', 'ceil', 'floor', 'abs_float', 'mod_float', 'frexp', + 'ldexp', 'modf', 'float', 'float_of_int', 'truncate', 'int_of_float', 'infinity', 'nan', + 'max_float', 'min_float', 'epsilon_float', 'classify_float', 'int_of_char', 'char_of_int', + 'ignore', 'string_of_bool', 'bool_of_string', 'string_of_int', 'int_of_string', + 'string_of_float', 'float_of_string', 'fst', 'snd', 'stdin', 'stdout', 'stderr', 'print_char', + 'print_string', 'print_int', 'print_float', 'print_endline', 'print_newline', 'prerr_char', + 'prerr_string', 'prerr_int', 'prerr_float', 'prerr_endline', 'prerr_newline', 'read_line', + 'read_int', 'read_float', 'open_out', 'open_out_bin', 'open_out_gen', 'flush', 'flush_all', + 'output_char', 'output_string', 'output', 'output_byte', 'output_binary_int', 'output_value', + 'seek_out', 'pos_out', 'out_channel_length', 'close_out', 'close_out_noerr', 'set_binary_mode_out', + 'open_in', 'open_in_bin', 'open_in_gen', 'input_char', 'input_line', 'input', 'really_input', + 'input_byte', 'input_binary_int', 'input_value', 'seek_in', 'pos_in', 'in_channel_length', + 'close_in', 'close_in_noerr', 'set_binary_mode_in', 'incr', 'decr', 'string_of_format', + 'format_of_string', 'exit', 'at_exit' + ), + /* here Pervasives Types */ + 4 => array ( + 'fpclass', 'in_channel', 'out_channel', 'open_flag', 'Sys_error', 'ref', 'format' + ), + /* finally Pervasives Exceptions */ + 5 => array ( + 'Exit', 'Invalid_Argument', 'Failure', 'Division_by_zero' + ) + ), + /* highlighting symbols is really important in OCaml */ + 'SYMBOLS' => array( + ';', '!', ':', '.', '=', '%', '^', '*', '-', '/', '+', + '>', '<', '(', ')', '[', ']', '&', '|', '#', "'" + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => true, + 1 => false, + 2 => true, /* functions name are case seinsitive */ + 3 => true, /* types name too */ + 4 => true /* finally exceptions too */ + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #06c; font-weight: bold;' /* nice blue */ + ), + 'COMMENTS' => array( + 'MULTI' => 'color: #5d478b; font-style: italic;' /* light purple */ + ), + 'ESCAPE_CHAR' => array( + ), + 'BRACKETS' => array( + 0 => 'color: #6c6;' + ), + 'STRINGS' => array( + 0 => 'color: #3cb371;' /* nice green */ + ), + 'NUMBERS' => array( + 0 => 'color: #c6c;' /* pink */ + ), + 'METHODS' => array( + 1 => 'color: #060;' /* dark green */ + ), + 'REGEXPS' => array( + ), + 'SYMBOLS' => array( + 0 => 'color: #a52a2a;' /* maroon */ + ), + 'SCRIPT' => array( + ) + ), + 'URLS' => array( + /* some of keywords are Pervasives functions (land, lxor, asr, ...) */ + 1 => '', + /* link to the wanted library */ + 2 => 'http://caml.inria.fr/pub/docs/manual-ocaml/libref/{FNAME}.html', + /* link to Pervasives functions */ + 3 => 'http://caml.inria.fr/pub/docs/manual-ocaml/libref/Pervasives.html#VAL{FNAME}', + /* link to Pervasives type */ + 4 => 'http://caml.inria.fr/pub/docs/manual-ocaml/libref/Pervasives.html#TYPE{FNAME}', + /* link to Pervasives exceptions */ + 5 => 'http://caml.inria.fr/pub/docs/manual-ocaml/libref/Pervasives.html#EXCEPTION{FNAME}' + ), + '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/oobas.php b/inc/geshi/oobas.php index 2d0370438..3e5959ad4 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:35:22 $ * * OpenOffice.org Basic language file for GeSHi. * diff --git a/inc/geshi/oracle8.php b/inc/geshi/oracle8.php index 97b705679..897ee52d6 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:35:22 $ * * Oracle 8 language file for GeSHi * diff --git a/inc/geshi/pascal.php b/inc/geshi/pascal.php index 8205c2785..5640de9c4 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/07/26 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:35:22 $ * * Pascal language file for GeSHi. * diff --git a/inc/geshi/perl.php b/inc/geshi/perl.php index b889a71e2..4c26955f4 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/08/20 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:35:22 $ * * Perl language file for GeSHi. * diff --git a/inc/geshi/php-brief.php b/inc/geshi/php-brief.php index 41016824e..f9f02b208 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/06/02 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:41:46 $ * * PHP language file for GeSHi (brief version). * diff --git a/inc/geshi/php.php b/inc/geshi/php.php index 0876b0e26..4466074f9 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.2 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:41:46 $ * * PHP language file for GeSHi. * diff --git a/inc/geshi/python.php b/inc/geshi/python.php index 4dc2c0039..25da8f631 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.2 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:41:46 $ * * Python language file for GeSHi. * diff --git a/inc/geshi/qbasic.php b/inc/geshi/qbasic.php index 2fb06eb57..942cf48e4 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.2 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:41:46 $ * * QBasic/QuickBASIC language file for GeSHi. * diff --git a/inc/geshi/ruby.php b/inc/geshi/ruby.php new file mode 100644 index 000000000..7530550ae --- /dev/null +++ b/inc/geshi/ruby.php @@ -0,0 +1,145 @@ + 'Ruby', + 'COMMENT_SINGLE' => array(1 => "#"), + 'COMMENT_MULTI' => array(), + 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, + 'QUOTEMARKS' => array('"'), + 'ESCAPE_CHAR' => '\\', + 'KEYWORDS' => array( + 1 => array( + 'alias', 'and', 'begin', 'break', 'case', 'class', + 'def', 'defined', 'do', 'else', 'elsif', 'end', + 'ensure', 'for', 'if', 'in', 'module', 'while', + 'next', 'not', 'or', 'redo', 'rescue', 'yield', + 'retry', 'super', 'then', 'undef', 'unless', + 'until', 'when', 'BEGIN', 'END', 'include' + + ), + 2 => array( + '__FILE__', '__LINE__', 'false', 'nil', 'self', 'true', 'return' + ), + 3 => array( + 'Array', 'Float', 'Integer', 'String', 'at_exit', + 'autoload', 'binding', 'caller', 'catch', 'chop', 'chop!', + 'chomp', 'chomp!', 'eval', 'exec', 'exit', 'exit!', 'fail', + 'fork', 'format', 'gets', 'global_variables', 'gsub', 'gsub!', + 'iterator?', 'lambda', 'load', 'local_variables', 'loop', 'open', + 'p', 'print', 'printf', 'proc', 'putc', 'puts', 'raise', + 'rand', 'readline', 'readlines', 'require', 'select', 'sleep', + 'split', 'sprintf', 'srand', 'sub', 'sub!', 'syscall', + 'system', 'test', 'trace_var', 'trap', 'untrace_var' + ) + ), + 'SYMBOLS' => array( + '(', ')', '[', ']', '{', '}', '@', '%', '&', '*', '|', '/', '<', '>', + '+', '-', '=>', '=>' + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => false, + 1 => false, + 2 => false, + 3 => false, + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color:#9966CC; font-weight:bold;', + 2 => 'color:#0000FF; font-weight:bold;', + 3 => 'color:#CC0066; font-weight:bold;' + ), + 'COMMENTS' => array( + 1 => 'color:#008000; font-style:italic;' + ), + 'ESCAPE_CHAR' => array( + 0 => 'color:#000099;' + ), + 'BRACKETS' => array( + 0 => 'color:#006600; font-weight:bold;' + ), + 'STRINGS' => array( + 0 => 'color:#996600;' + ), + 'NUMBERS' => array( + 0 => 'color:#006666;' + ), + 'METHODS' => array( + 1 => 'color:#9900CC;' + ), + 'SYMBOLS' => array( + 0 => 'color:#006600; font-weight:bold;' + ), + 'REGEXPS' => array( + ), + 'SCRIPT' => array( + 0 => '', + 1 => '', + 2 => '', + ) + ), + 'URLS' => array( + 1 => '', + 2 => '', + 3 => '' + ), + 'OOLANG' => true, + 'OBJECT_SPLITTERS' => array( + 1 => '.' + ), + 'REGEXPS' => array( + ), + 'STRICT_MODE_APPLIES' => GESHI_MAYBE, + 'SCRIPT_DELIMITERS' => array( + 0 => array( + '<%' => '%>' + ) + ), + 'HIGHLIGHT_STRICT_BLOCK' => array( + 0 => true, + 1 => true, + 2 => true, + ) +); + +?> diff --git a/inc/geshi/scheme.php b/inc/geshi/scheme.php new file mode 100644 index 000000000..d62ba4a60 --- /dev/null +++ b/inc/geshi/scheme.php @@ -0,0 +1,172 @@ + 'Scheme', + 'COMMENT_SINGLE' => array(1 => ';'), + 'COMMENT_MULTI' => array(';|' => '|;'), + 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, + 'QUOTEMARKS' => array('"'), + 'ESCAPE_CHAR' => '\\', + 'KEYWORDS' => array( + 1 => array( + 'abs', 'acos', 'and', 'angle', 'append', 'appply', 'approximate', + 'asin', 'assoc', 'assq', 'assv', 'atan', + + 'begin', 'boolean?', 'bound-identifier=?', + + 'caar', 'caddr', 'cadr', 'call-with-current-continuation', + 'call-with-input-file', 'call-with-output-file', 'call/cc', 'car', + 'case', 'catch', 'cdddar', 'cddddr', 'cdr', 'ceiling', 'char->integer', + 'char-alphabetic?', 'char-ci<=?', 'char-ci=?', + 'char-ci>?', 'char-ci=?', 'char-downcase', 'char-lower-case?', + 'char-numeric', 'char-ready', 'char-ready?', 'char-upcase', + 'char-upper-case?', 'char-whitespace?', 'char<=?', 'char=?', 'char>?', 'char?', 'close-input-port', 'close-output-port', + 'complex?', 'cond', 'cons', 'construct-identifier', 'cos', + 'current-input-port', 'current-output-port', + + 'd', 'define', 'define-syntax', 'delay', 'denominator', 'display', 'do', + + 'e', 'eof-object?', 'eq?', 'equal?', 'eqv?', 'even?', 'exact->inexact', + 'exact?', 'exp', 'expt', 'else', + + 'f', 'floor', 'for-each', 'force', 'free-identifer=?', + + 'gcd', 'gen-counter', 'gen-loser', 'generate-identifier', + + 'identifier->symbol', 'identifier', 'if', 'imag-part', 'inexact->exact', + 'inexact?', 'input-port?', 'integer->char', 'integer?', 'integrate-system', + + 'l', 'lambda', 'last-pair', 'lcm', 'length', 'let', 'let*', 'letrec', + 'list', 'list->string', 'list->vector', 'list-ref', 'list-tail', 'list?', + 'load', 'log', + + 'magnitude', 'make-polar', 'make-promise', 'make-rectangular', + 'make-string', 'make-vector', 'map', 'map-streams', 'max', 'member', + 'memq', 'memv', 'min', 'modulo', + + 'negative', 'newline', 'nil', 'not', 'null?', 'number->string', 'number?', + 'numerator', + + 'odd?', 'open-input-file', 'open-output-file', 'or', 'output-port', + + 'pair?', 'peek-char', 'positive?', 'procedure?', + + 'quasiquote', 'quote', 'quotient', + + 'rational', 'rationalize', 'read', 'read-char', 'real-part', 'real?', + 'remainder', 'return', 'reverse', + + 's', 'sequence', 'set!', 'set-char!', 'set-cdr!', 'sin', 'sqrt', 'string', + 'string->list', 'string->number', 'string->symbol', 'string-append', + 'string-ci<=?', 'string-ci=?', + 'string-ci>?', 'string-copy', 'string-fill!', 'string-length', + 'string-ref', 'string-set!', 'string<=?', 'string=?', 'string>?', 'string?', 'substring', 'symbol->string', + 'symbol?', 'syntax', 'syntax-rules', + + 't', 'tan', 'template', 'transcript-off', 'transcript-on', 'truncate', + + 'unquote', 'unquote-splicing', 'unwrap-syntax', + + 'vector', 'vector->list', 'vector-fill!', 'vector-length', 'vector-ref', + 'vector-set!', 'vector?', + + 'with-input-from-file', 'with-output-to-file', 'write', 'write-char', + + 'zero?' + + ) + ), + 'SYMBOLS' => array( + '(', ')', '{', '}', '[', ']', '!', '%', '^', '&', '/','+','-','*','=','<','>',';','|' + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => true, + 1 => false + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #b1b100;' + ), + 'COMMENTS' => array( + 1 => 'color: #808080; font-style: italic;', + 'MULTI' => 'color: #808080; font-style: italic;' + ), + 'ESCAPE_CHAR' => array( + 0 => 'color: #000099; font-weight: bold;' + ), + 'BRACKETS' => array( + 0 => 'color: #66cc66;' + ), + 'STRINGS' => array( + 0 => 'color: #ff0000;' + ), + 'NUMBERS' => array( + 0 => 'color: #cc66cc;' + ), + 'METHODS' => array( + 0 => 'color: #202020;' + ), + 'SYMBOLS' => array( + 0 => 'color: #66cc66;' + ), + 'REGEXPS' => array( + ), + 'SCRIPT' => array( + ) + ), + 'URLS' => array( + ), + 'OOLANG' => false, + 'OBJECT_SPLITTERS' => array( + ), + 'REGEXPS' => array( + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array( + ), + 'HIGHLIGHT_STRICT_BLOCK' => array( + ) +); + +?> diff --git a/inc/geshi/sdlbasic.php b/inc/geshi/sdlbasic.php index 15f51461d..660252641 100644 --- a/inc/geshi/sdlbasic.php +++ b/inc/geshi/sdlbasic.php @@ -4,8 +4,10 @@ * ------------ * Author: Roberto Rossi * Copyright: (c) 2005 Roberto Rossi (http://rsoftware.altervista.org) - * Release Version: 1.0.7.2 + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2005/08/19 + * Date Modified: $Date: 2005/09/22 01:41:46 $ * * sdlBasic (http://sdlbasic.sf.net) language file for GeSHi. * @@ -158,4 +160,4 @@ ) ); -?> \ No newline at end of file +?> diff --git a/inc/geshi/smarty.php b/inc/geshi/smarty.php index e39a62d98..7ab510e85 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.2 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:41:46 $ * * Smarty template language file for GeSHi. * diff --git a/inc/geshi/sql.php b/inc/geshi/sql.php index 5dd5bb5b4..39652ee8a 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.2 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:41:46 $ * * SQL language file for GeSHi. * diff --git a/inc/geshi/vb.php b/inc/geshi/vb.php index 94d71e2eb..1dc5ef799 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:41:46 $ * * Visual Basic language file for GeSHi. * diff --git a/inc/geshi/vbnet.php b/inc/geshi/vbnet.php index 1cc82200d..0217ffca2 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.2 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:41:46 $ * * VB.NET language file for GeSHi. * diff --git a/inc/geshi/vhdl.php b/inc/geshi/vhdl.php index 3115def4d..e41a2cf00 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2005/06/15 - * Last Modified: $Date: 2005/09/03 12:36:42 $ + * Last Modified: $Date: 2005/09/22 01:41:46 $ * * VHDL (VHSICADL, very high speed integrated circuit HDL) language file for GeSHi. * diff --git a/inc/geshi/visualfoxpro.php b/inc/geshi/visualfoxpro.php index 4c1901f48..bb093e18b 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.2 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/09/17 * Last Modified: 2004/09/18 * diff --git a/inc/geshi/xml.php b/inc/geshi/xml.php index 98cb6fea5..70175a99e 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.2 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.3 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/09/01 - * Last Modified: $Date: 2005/09/03 12:36:41 $ + * Last Modified: $Date: 2005/09/22 01:41:46 $ * * XML language file for GeSHi. Based on the idea/file by Christian Weiske * -- cgit v1.2.3