Browse Source

Added action 'post_content' to the plugin engine and added plugin kodrs for syntax highlighting

pecesama 15 years ago
parent
commit
3c108ae57e
92 changed files with 26967 additions and 17 deletions
  1. 5 2
      index.php
  2. 0 15
      plugins/cinco.php
  3. 136 0
      plugins/geshi/abap.php
  4. 197 0
      plugins/geshi/actionscript.php
  5. 133 0
      plugins/geshi/ada.php
  6. 171 0
      plugins/geshi/apache.php
  7. 134 0
      plugins/geshi/applescript.php
  8. 199 0
      plugins/geshi/asm.php
  9. 153 0
      plugins/geshi/asp.php
  10. 453 0
      plugins/geshi/autoit.php
  11. 205 0
      plugins/geshi/bash.php
  12. 336 0
      plugins/geshi/basic4gl.php
  13. 185 0
      plugins/geshi/blitzbasic.php
  14. 130 0
      plugins/geshi/bnf.php
  15. 143 0
      plugins/geshi/c.php
  16. 175 0
      plugins/geshi/c_mac.php
  17. 125 0
      plugins/geshi/caddcl.php
  18. 185 0
      plugins/geshi/cadlisp.php
  19. 125 0
      plugins/geshi/cfdg.php
  20. 325 0
      plugins/geshi/cfm.php
  21. 267 0
      plugins/geshi/cpp-qt.php
  22. 185 0
      plugins/geshi/cpp.php
  23. 238 0
      plugins/geshi/csharp.php
  24. 0 0
      plugins/geshi/css-gen.cfg
  25. 208 0
      plugins/geshi/css.php
  26. 285 0
      plugins/geshi/d.php
  27. 280 0
      plugins/geshi/delphi.php
  28. 184 0
      plugins/geshi/diff.php
  29. 126 0
      plugins/geshi/div.php
  30. 185 0
      plugins/geshi/dos.php
  31. 158 0
      plugins/geshi/dot.php
  32. 394 0
      plugins/geshi/eiffel.php
  33. 156 0
      plugins/geshi/fortran.php
  34. 137 0
      plugins/geshi/freebasic.php
  35. 464 0
      plugins/geshi/genero.php
  36. 3099 0
      plugins/geshi/geshi.php
  37. 502 0
      plugins/geshi/gml.php
  38. 2117 0
      plugins/geshi/groovy.php
  39. 195 0
      plugins/geshi/haskell.php
  40. 255 0
      plugins/geshi/html4strict.php
  41. 119 0
      plugins/geshi/idl.php
  42. 123 0
      plugins/geshi/ini.php
  43. 213 0
      plugins/geshi/inno.php
  44. 139 0
      plugins/geshi/io.php
  45. 1388 0
      plugins/geshi/java.php
  46. 1021 0
      plugins/geshi/java5.php
  47. 144 0
      plugins/geshi/javascript.php
  48. 203 0
      plugins/geshi/latex.php
  49. 133 0
      plugins/geshi/lisp.php
  50. 134 0
      plugins/geshi/lua.php
  51. 135 0
      plugins/geshi/m68k.php
  52. 867 0
      plugins/geshi/matlab.php
  53. 156 0
      plugins/geshi/mirc.php
  54. 158 0
      plugins/geshi/mpasm.php
  55. 181 0
      plugins/geshi/mysql.php
  56. 352 0
      plugins/geshi/nsis.php
  57. 239 0
      plugins/geshi/objc.php
  58. 112 0
      plugins/geshi/ocaml-brief.php
  59. 161 0
      plugins/geshi/ocaml.php
  60. 130 0
      plugins/geshi/oobas.php
  61. 487 0
      plugins/geshi/oracle8.php
  62. 144 0
      plugins/geshi/pascal.php
  63. 302 0
      plugins/geshi/per.php
  64. 179 0
      plugins/geshi/perl.php
  65. 166 0
      plugins/geshi/php-brief.php
  66. 359 0
      plugins/geshi/php.php
  67. 256 0
      plugins/geshi/plsql.php
  68. 227 0
      plugins/geshi/python.php
  69. 146 0
      plugins/geshi/qbasic.php
  70. 404 0
      plugins/geshi/rails.php
  71. 214 0
      plugins/geshi/reg.php
  72. 98 0
      plugins/geshi/robots.php
  73. 219 0
      plugins/geshi/ruby.php
  74. 357 0
      plugins/geshi/sas.php
  75. 170 0
      plugins/geshi/scheme.php
  76. 161 0
      plugins/geshi/sdlbasic.php
  77. 159 0
      plugins/geshi/smalltalk.php
  78. 172 0
      plugins/geshi/smarty.php
  79. 135 0
      plugins/geshi/sql.php
  80. 181 0
      plugins/geshi/tcl.php
  81. 81 0
      plugins/geshi/text.php
  82. 864 0
      plugins/geshi/thinbasic.php
  83. 382 0
      plugins/geshi/tsql.php
  84. 148 0
      plugins/geshi/vb.php
  85. 197 0
      plugins/geshi/vbnet.php
  86. 138 0
      plugins/geshi/vhdl.php
  87. 442 0
      plugins/geshi/visualfoxpro.php
  88. 367 0
      plugins/geshi/winbatch.php
  89. 146 0
      plugins/geshi/xml.php
  90. 433 0
      plugins/geshi/xpp.php
  91. 136 0
      plugins/geshi/z80.php
  92. 39 0
      plugins/kodrs.php

+ 5 - 2
index.php View File

@@ -18,7 +18,7 @@ require_once('entry.php');
18 18
 global $user, $tumble, $conf;
19 19
 
20 20
 $theme = new themes;
21
-        // Our first approach to MVC... our second? visit http://www.flavorphp.com
21
+        // Our first approach to MVC... our second? visit http://www.flavorphp.com
22 22
 
23 23
         if(isset($_SERVER['PATH_INFO'])) $param_url = explode("/",$_SERVER['PATH_INFO']);
24 24
 
@@ -179,7 +179,8 @@ $theme = new themes;
179 179
 
180 180
 								$rows[] = $row;
181 181
                         }
182
-
182
+						
183
+						$trigger->call('post_content');
183 184
 						$theme->set('rows',$rows);
184 185
 
185 186
                         $p = new pagination;
@@ -308,6 +309,8 @@ $theme = new themes;
308 309
 				}
309 310
 
310 311
 				$rows[] = $row;
312
+				
313
+				$trigger->call('post_content');
311 314
 				$theme->set('rows',$rows);
312 315
         }
313 316
 

+ 0 - 15
plugins/cinco.php View File

@@ -1,15 +0,0 @@
1
-<?php
2
-
3
-class cinco extends plugins {
4
-	
5
-	function cinco() {
6
-		//$this->addAction('gelato_init', 'dameCinco');
7
-	}
8
-	
9
-	function dameCinco() {
10
-		echo "Este es el plugin 5<br />";
11
-	}
12
-	
13
-}
14
-
15
-?>

+ 136 - 0
plugins/geshi/abap.php View File

@@ -0,0 +1,136 @@
1
+<?php
2
+/*************************************************************************************
3
+ * abap.php
4
+ * --------
5
+ * Author: Andres Picazo (andres@andrespicazo.com)
6
+ * Copyright: (c) 2007 Andres Picazo
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/06/04
9
+ *
10
+ * ABAP language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2007/06/27 (1.0.0)
15
+ *   -  First Release
16
+ *
17
+ * TODO
18
+ * ----
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *     This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+$language_data = array (
41
+	'LANG_NAME' => 'ABAP',
42
+    'COMMENT_SINGLE' => array(1 => '"', 2 => '*'),
43
+    'CASE_KEYWORDS' => 0,
44
+	'QUOTEMARKS' => array("'"),
45
+    'ESCAPE_CHAR' => '',
46
+	'KEYWORDS' => array(
47
+		1 => array(
48
+			'if', 'return', 'while', 'case', 'default',
49
+            'do', 'else', 'for', 'endif', 'elseif', 'eq',
50
+            'not', 'and'
51
+			),
52
+		2 => array(
53
+			'data', 'types', 'seletion-screen', 'parameters', 'field-symbols', 'extern', 'inline'
54
+			),
55
+		3 => array(
56
+			'report', 'write', 'append', 'select', 'endselect', 'call method', 'call function',
57
+			'loop', 'endloop', 'raise', 'read table', 'concatenate', 'split', 'shift',
58
+			'condense', 'describe', 'clear', 'endfunction', 'assign', 'create data', 'translate',
59
+			'continue', 'start-of-selection', 'at selection-screen', 'modify', 'call screen',
60
+			'create object', 'perform', 'form', 'endform',
61
+			'reuse_alv_block_list_init', 'zbcialv', 'include'
62
+			),
63
+		4 => array(
64
+			'type ref to', 'type', 'begin of',  'end of', 'like', 'into',
65
+			'from', 'where', 'order by', 'with key', 'into', 'string', 'separated by',
66
+            'exporting', 'importing', 'to upper case', 'to', 'exceptions', 'tables',
67
+            'using', 'changing'
68
+			),
69
+		),
70
+	'SYMBOLS' => array(
71
+		'(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
72
+		),
73
+	'CASE_SENSITIVE' => array(
74
+		GESHI_COMMENTS => true,
75
+		1 => false,
76
+		2 => false,
77
+		3 => false,
78
+		4 => false,
79
+		),
80
+	'STYLES' => array(
81
+		'KEYWORDS' => array(
82
+			1 => 'color: #b1b100;',
83
+			2 => 'color: #000000; font-weight: bold;',
84
+			3 => 'color: #000066;',
85
+			4 => 'color: #993333;'
86
+			),
87
+		'COMMENTS' => array(
88
+			1 => 'color: #808080; font-style: italic;',
89
+			2 => 'color: #339933;',
90
+			'MULTI' => 'color: #808080; font-style: italic;'
91
+			),
92
+		'ESCAPE_CHAR' => array(
93
+			0 => 'color: #000099; font-weight: bold;'
94
+			),
95
+		'BRACKETS' => array(
96
+			0 => 'color: #66cc66;'
97
+			),
98
+		'STRINGS' => array(
99
+			0 => 'color: #ff0000;'
100
+			),
101
+		'NUMBERS' => array(
102
+			0 => 'color: #cc66cc;'
103
+			),
104
+		'METHODS' => array(
105
+			1 => 'color: #202020;',
106
+			2 => 'color: #202020;'
107
+			),
108
+		'SYMBOLS' => array(
109
+			0 => 'color: #66cc66;'
110
+			),
111
+		'REGEXPS' => array(
112
+			),
113
+		'SCRIPT' => array(
114
+			)
115
+		),
116
+	'URLS' => array(
117
+		1 => '',
118
+		2 => '',
119
+		3 => 'http://sap4.com/wiki/index.php?title={FNAME}',
120
+		4 => ''
121
+		),
122
+	'OOLANG' => true,
123
+	'OBJECT_SPLITTERS' => array(
124
+		1 => '.',
125
+		2 => '::'
126
+		),
127
+	'REGEXPS' => array(
128
+		),
129
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
130
+	'SCRIPT_DELIMITERS' => array(
131
+		),
132
+	'HIGHLIGHT_STRICT_BLOCK' => array(
133
+		)
134
+);
135
+
136
+?>

+ 197 - 0
plugins/geshi/actionscript.php View File

@@ -0,0 +1,197 @@
1
+<?php
2
+/*************************************************************************************
3
+ * actionscript.php
4
+ * ----------------
5
+ * Author: Steffen Krause (Steffen.krause@muse.de)
6
+ * Copyright: (c) 2004 Steffen Krause, Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/06/20
9
+ *
10
+ * Actionscript language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2004/11/27 (1.0.1)
15
+ *  -  Added support for multiple object splitters
16
+ * 2004/10/27 (1.0.0)
17
+ *  -  First Release
18
+ *
19
+ * TODO (updated 2004/11/27)
20
+ * -------------------------
21
+ *
22
+ *************************************************************************************
23
+ *
24
+ *     This file is part of GeSHi.
25
+ *
26
+ *   GeSHi is free software; you can redistribute it and/or modify
27
+ *   it under the terms of the GNU General Public License as published by
28
+ *   the Free Software Foundation; either version 2 of the License, or
29
+ *   (at your option) any later version.
30
+ *
31
+ *   GeSHi is distributed in the hope that it will be useful,
32
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
33
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34
+ *   GNU General Public License for more details.
35
+ *
36
+ *   You should have received a copy of the GNU General Public License
37
+ *   along with GeSHi; if not, write to the Free Software
38
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
39
+ *
40
+ ************************************************************************************/
41
+
42
+$language_data = array (
43
+	'LANG_NAME' => 'ActionScript',
44
+	'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
45
+	'COMMENT_MULTI' => array('/*' => '*/'),
46
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
47
+	'QUOTEMARKS' => array("'", '"'),
48
+	'ESCAPE_CHAR' => '\\',
49
+	'KEYWORDS' => array(
50
+		1 => array(
51
+			'#include', 'for', 'foreach', 'if', 'elseif', 'else', 'while', 'do', 'dowhile',
52
+			'endwhile', 'endif', 'switch', 'case', 'endswitch', 'return', 'break', 'continue', 'in'
53
+			),
54
+		2 => array(
55
+			'null', 'false', 'true', 'var',
56
+			'default', 	'function', 'class',
57
+			'new', '_global'
58
+			),
59
+		3 => array(
60
+			'#endinitclip', '#initclip', '__proto__', '_accProps', '_alpha', '_currentframe',
61
+			'_droptarget', '_focusrect', '_framesloaded', '_height', '_highquality', '_lockroot',
62
+			'_name', '_parent', '_quality', '_root', '_rotation', '_soundbuftime', '_target', '_totalframes',
63
+			'_url', '_visible', '_width', '_x', '_xmouse', '_xscale', '_y', '_ymouse', '_yscale', 'abs',
64
+			'Accessibility', 'acos', 'activityLevel', 'add', 'addListener', 'addPage', 'addProperty',
65
+			'addRequestHeader', 'align', 'allowDomain', 'allowInsecureDomain', 'and', 'appendChild',
66
+			'apply', 'Arguments', 'Array', 'asfunction', 'asin', 'atan', 'atan2', 'attachAudio', 'attachMovie',
67
+			'attachSound', 'attachVideo', 'attributes', 'autosize', 'avHardwareDisable', 'background',
68
+			'backgroundColor', 'BACKSPACE', 'bandwidth', 'beginFill', 'beginGradientFill', 'blockIndent',
69
+			'bold', 'Boolean', 'border', 'borderColor', 'bottomScroll', 'bufferLength', 'bufferTime',
70
+			'builtInItems', 'bullet', 'Button', 'bytesLoaded', 'bytesTotal', 'call', 'callee', 'caller',
71
+			'Camera', 'capabilities', 'CAPSLOCK', 'caption', 'catch', 'ceil', 'charAt', 'charCodeAt',
72
+			'childNodes', 'chr', 'clear', 'clearInterval', 'cloneNode', 'close', 'Color', 'concat',
73
+			'connect', 'condenseWhite', 'constructor', 'contentType', 'ContextMenu', 'ContextMenuItem',
74
+			'CONTROL', 'copy', 'cos', 'createElement', 'createEmptyMovieClip', 'createTextField',
75
+			'createTextNode', 'currentFps', 'curveTo', 'CustomActions', 'customItems', 'data', 'Date',
76
+			'deblocking', 'delete', 'DELETEKEY', 'docTypeDecl', 'domain', 'DOWN',
77
+			'duplicateMovieClip', 'duration', 'dynamic', 'E', 'embedFonts', 'enabled',
78
+			'END', 'endFill', 'ENTER', 'eq', 'Error', 'ESCAPE(Konstante)', 'escape(Funktion)', 'eval',
79
+			'exactSettings', 'exp', 'extends', 'finally', 'findText', 'firstChild', 'floor',
80
+			'flush', 'focusEnabled', 'font', 'fps', 'fromCharCode', 'fscommand',
81
+			'gain', 'ge', 'get', 'getAscii', 'getBeginIndex', 'getBounds', 'getBytesLoaded', 'getBytesTotal',
82
+			'getCaretIndex', 'getCode', 'getCount', 'getDate', 'getDay', 'getDepth', 'getEndIndex', 'getFocus',
83
+			'getFontList', 'getFullYear', 'getHours', 'getInstanceAtDepth', 'getLocal', 'getMilliseconds',
84
+			'getMinutes', 'getMonth', 'getNewTextFormat', 'getNextHighestDepth', 'getPan', 'getProgress',
85
+			'getProperty', 'getRGB', 'getSeconds', 'getSelected', 'getSelectedText', 'getSize', 'getStyle',
86
+			'getStyleNames', 'getSWFVersion', 'getText', 'getTextExtent', 'getTextFormat', 'getTextSnapshot',
87
+			'getTime', 'getTimer', 'getTimezoneOffset', 'getTransform', 'getURL', 'getUTCDate', 'getUTCDay',
88
+			'getUTCFullYear', 'getUTCHours', 'getUTCMilliseconds', 'getUTCMinutes', 'getUTCMonth', 'getUTCSeconds',
89
+			'getVersion', 'getVolume', 'getYear', 'globalToLocal', 'goto', 'gotoAndPlay', 'gotoAndStop',
90
+			'hasAccessibility', 'hasAudio', 'hasAudioEncoder', 'hasChildNodes', 'hasEmbeddedVideo', 'hasMP3',
91
+			'hasPrinting', 'hasScreenBroadcast', 'hasScreenPlayback', 'hasStreamingAudio', 'hasStreamingVideo',
92
+			'hasVideoEncoder', 'height', 'hide', 'hideBuiltInItems', 'hitArea', 'hitTest', 'hitTestTextNearPos',
93
+			'HOME', 'hscroll', 'html', 'htmlText', 'ID3', 'ifFrameLoaded', 'ignoreWhite', 'implements',
94
+			'import', 'indent', 'index', 'indexOf', 'Infinity', '-Infinity', 'INSERT', 'insertBefore', 'install',
95
+			'instanceof', 'int', 'interface', 'isActive', 'isDebugger', 'isDown', 'isFinite', 'isNaN', 'isToggled',
96
+			'italic', 'join', 'Key', 'language', 'lastChild', 'lastIndexOf', 'le', 'leading', 'LEFT', 'leftMargin',
97
+			'length', 'level', 'lineStyle', 'lineTo', 'list', 'LN10', 'LN2', 'load', 'loadClip', 'loaded', 'loadMovie',
98
+			'loadMovieNum', 'loadSound', 'loadVariables', 'loadVariablesNum', 'LoadVars', 'LocalConnection',
99
+			'localFileReadDisable', 'localToGlobal', 'log', 'LOG10E', 'LOG2E', 'manufacturer', 'Math', 'max',
100
+			'MAX_VALUE', 'maxChars', 'maxhscroll', 'maxscroll', 'mbchr', 'mblength', 'mbord', 'mbsubstring', 'menu',
101
+			'message', 'Microphone', 'min', 'MIN_VALUE', 'MMExecute', 'motionLevel', 'motionTimeOut', 'Mouse',
102
+			'mouseWheelEnabled', 'moveTo', 'Movieclip', 'MovieClipLoader', 'multiline', 'muted', 'name', 'names', 'NaN',
103
+			'ne', 'NEGATIVE_INFINITY', 'NetConnection', 'NetStream', 'newline', 'nextFrame',
104
+			'nextScene', 'nextSibling', 'nodeName', 'nodeType', 'nodeValue', 'not', 'Number', 'Object',
105
+			'on', 'onActivity', 'onChanged', 'onClipEvent', 'onClose', 'onConnect', 'onData', 'onDragOut',
106
+			'onDragOver', 'onEnterFrame', 'onID3', 'onKeyDown', 'onKeyUp', 'onKillFocus', 'onLoad', 'onLoadComplete',
107
+			'onLoadError', 'onLoadInit', 'onLoadProgress', 'onLoadStart', 'onMouseDown', 'onMouseMove', 'onMouseUp',
108
+			'onMouseWheel', 'onPress', 'onRelease', 'onReleaseOutside', 'onResize', 'onRollOut', 'onRollOver',
109
+			'onScroller', 'onSelect', 'onSetFocus', 'onSoundComplete', 'onStatus', 'onUnload', 'onUpdate', 'onXML',
110
+			'or(logischesOR)', 'ord', 'os', 'parentNode', 'parseCSS', 'parseFloat', 'parseInt', 'parseXML', 'password',
111
+			'pause', 'PGDN', 'PGUP', 'PI', 'pixelAspectRatio', 'play', 'playerType', 'pop', 'position',
112
+			'POSITIVE_INFINITY', 'pow', 'prevFrame', 'previousSibling', 'prevScene', 'print', 'printAsBitmap',
113
+			'printAsBitmapNum', 'PrintJob', 'printNum', 'private', 'prototype', 'public', 'push', 'quality',
114
+			'random', 'rate', 'registerClass', 'removeListener', 'removeMovieClip', 'removeNode', 'removeTextField',
115
+			'replaceSel', 'replaceText', 'resolutionX', 'resolutionY', 'restrict', 'reverse', 'RIGHT',
116
+			'rightMargin', 'round', 'scaleMode', 'screenColor', 'screenDPI', 'screenResolutionX', 'screenResolutionY',
117
+			'scroll', 'seek', 'selectable', 'Selection', 'send', 'sendAndLoad', 'separatorBefore', 'serverString',
118
+			'set', 'setvariable', 'setBufferTime', 'setClipboard', 'setDate', 'setFocus', 'setFullYear', 'setGain',
119
+			'setHours', 'setInterval', 'setMask', 'setMilliseconds', 'setMinutes', 'setMode', 'setMonth',
120
+			'setMotionLevel', 'setNewTextFormat', 'setPan', 'setProperty', 'setQuality', 'setRate', 'setRGB',
121
+			'setSeconds', 'setSelectColor', 'setSelected', 'setSelection', 'setSilenceLevel', 'setStyle',
122
+			'setTextFormat', 'setTime', 'setTransform', 'setUseEchoSuppression', 'setUTCDate', 'setUTCFullYear',
123
+			'setUTCHours', 'setUTCMilliseconds', 'setUTCMinutes', 'setUTCMonth', 'setUTCSeconds', 'setVolume',
124
+			'setYear', 'SharedObject', 'SHIFT(Konstante)', 'shift(Methode)', 'show', 'showMenu', 'showSettings',
125
+			'silenceLevel', 'silenceTimeout', 'sin', 'size', 'slice', 'smoothing', 'sort', 'sortOn', 'Sound', 'SPACE',
126
+			'splice', 'split', 'sqrt', 'SQRT1_2', 'SQRT2', 'Stage', 'start', 'startDrag', 'static', 'status', 'stop',
127
+			'stopAllSounds', 'stopDrag', 'String', 'StyleSheet(Klasse)', 'styleSheet(Eigenschaft)', 'substr',
128
+			'substring', 'super', 'swapDepths', 'System', 'TAB', 'tabChildren', 'tabEnabled', 'tabIndex',
129
+			'tabStops', 'tan', 'target', 'targetPath', 'tellTarget', 'text', 'textColor', 'TextField', 'TextFormat',
130
+			'textHeight', 'TextSnapshot', 'textWidth', 'this', 'throw', 'time', 'toggleHighQuality', 'toLowerCase',
131
+			'toString', 'toUpperCase', 'trace', 'trackAsMenu', 'try', 'type', 'typeof', 'undefined',
132
+			'underline', 'unescape', 'uninstall', 'unloadClip', 'unloadMovie', 'unLoadMovieNum', 'unshift', 'unwatch',
133
+			'UP', 'updateAfterEvent', 'updateProperties', 'url', 'useCodePage', 'useEchoSuppression', 'useHandCursor',
134
+			'UTC', 'valueOf', 'variable', 'version', 'Video', 'visible', 'void', 'watch', 'width',
135
+			'with', 'wordwrap', 'XML', 'xmlDecl', 'XMLNode', 'XMLSocket'
136
+			)
137
+		),
138
+	'SYMBOLS' => array(
139
+		'(', ')', '[', ']', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>'
140
+		),
141
+	'CASE_SENSITIVE' => array(
142
+		GESHI_COMMENTS => false,
143
+		1 => false,
144
+		2 => false,
145
+		3 => false,
146
+		),
147
+	'STYLES' => array(
148
+		'KEYWORDS' => array(
149
+			1 => 'color: #b1b100;',
150
+			2 => 'color: #000000; font-weight: bold;',
151
+			3 => 'color: #0066CC;'
152
+			),
153
+		'COMMENTS' => array(
154
+			1 => 'color: #808080; font-style: italic;',
155
+			2 => 'color: #808080; font-style: italic;',
156
+			'MULTI' => 'color: #808080; font-style: italic;'
157
+			),
158
+		'ESCAPE_CHAR' => array(
159
+			0 => 'color: #000099; font-weight: bold;'
160
+			),
161
+		'BRACKETS' => array(
162
+			0 => 'color: #66cc66;'
163
+			),
164
+		'STRINGS' => array(
165
+			0 => 'color: #ff0000;'
166
+			),
167
+		'NUMBERS' => array(
168
+			0 => 'color: #cc66cc;'
169
+			),
170
+		'METHODS' => array(
171
+			1 => 'color: #006600;'
172
+			),
173
+		'SYMBOLS' => array(
174
+			0 => 'color: #66cc66;'
175
+			),
176
+		'REGEXPS' => array(
177
+			),
178
+		'SCRIPT' => array(
179
+			)
180
+		),
181
+	'URLS' => array(
182
+		1 => '',
183
+		2 => '',
184
+		3 => ''
185
+		),
186
+	'OOLANG' => true,
187
+	'OBJECT_SPLITTERS' => array(
188
+		1 => '.'
189
+		),
190
+	'REGEXPS' => array(
191
+		),
192
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
193
+	'SCRIPT_DELIMITERS' => array(),
194
+	'HIGHLIGHT_STRICT_BLOCK' => array()
195
+);
196
+
197
+?>

+ 133 - 0
plugins/geshi/ada.php View File

@@ -0,0 +1,133 @@
1
+<?php
2
+/*************************************************************************************
3
+ * ada.php
4
+ * -------
5
+ * Author: Tux (tux@inmail.cz)
6
+ * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/07/29
9
+ *
10
+ * Ada language file for GeSHi.
11
+ * Words are from SciTe configuration file
12
+ *
13
+ * CHANGES
14
+ * -------
15
+ * 2004/11/27 (1.0.2)
16
+ *  -  Added support for multiple object splitters
17
+ * 2004/10/27 (1.0.1)
18
+ *   -  Removed apostrophe as string delimiter
19
+ *   -  Added URL support
20
+ * 2004/08/05 (1.0.0)
21
+ *   -  First Release
22
+ *
23
+ * TODO (updated 2004/11/27)
24
+ * -------------------------
25
+ *
26
+ *************************************************************************************
27
+ *
28
+ *     This file is part of GeSHi.
29
+ *
30
+ *   GeSHi is free software; you can redistribute it and/or modify
31
+ *   it under the terms of the GNU General Public License as published by
32
+ *   the Free Software Foundation; either version 2 of the License, or
33
+ *   (at your option) any later version.
34
+ *
35
+ *   GeSHi is distributed in the hope that it will be useful,
36
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
37
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
38
+ *   GNU General Public License for more details.
39
+ *
40
+ *   You should have received a copy of the GNU General Public License
41
+ *   along with GeSHi; if not, write to the Free Software
42
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
43
+ *
44
+ ************************************************************************************/
45
+
46
+$language_data = array (
47
+	'LANG_NAME' => 'Ada',
48
+	'COMMENT_SINGLE' => array(1 => '--'),
49
+	'COMMENT_MULTI' => array('/*' => '*/'),
50
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
51
+	'QUOTEMARKS' => array('"'),
52
+	'ESCAPE_CHAR' => '\\',
53
+	'KEYWORDS' => array(
54
+		1 => array(
55
+			'begin', 'declare', 'do', 'else', 'elsif', 'exception', 'for', 'if',
56
+			'is', 'loop', 'while', 'then', 'is', 'end', 'select', 'case', 'while',  'until',
57
+			'goto', 'return'
58
+			),
59
+		2 => array(
60
+			'abs', 'and', 'mod', 'not', 'or', 'rem', 'xor'
61
+		  	),
62
+		3 => array(
63
+			'abort', 'abstract', 'accept', 'access', 'aliased', 'all', 'array', 'at', 'body',
64
+			'constant', 'delay', 'delta', 'digits', 'entry', 'exit',
65
+			'function', 'generic', 'in', 'limited', 'new', 'null', 'of', 'others', 'out', 'package', 'pragma',
66
+			'private', 'procedure', 'protected', 'raise', 'range', 'record', 'renames', 'requeue', 'reverse',
67
+			'separate', 'subtype', 'tagged', 'task', 'terminate', 'type', 'use', 'when', 'with'
68
+			)
69
+		),
70
+	'SYMBOLS' => array(
71
+		'(', ')'
72
+		),
73
+	'CASE_SENSITIVE' => array(
74
+		GESHI_COMMENTS => true,
75
+		1 => false,
76
+		2 => false,
77
+		3 => false,
78
+		),
79
+	'STYLES' => array(
80
+		'KEYWORDS' => array(
81
+			1 => 'color: #00007f;',
82
+			2 => 'color: #0000ff;',
83
+			3 => 'color: #46aa03; font-weight:bold;',
84
+			),
85
+		'BRACKETS' => array(
86
+			0 => 'color: #66cc66;'
87
+			),
88
+		'COMMENTS' => array(
89
+			1 => 'color: #adadad; font-style: italic;',
90
+			'MULTI' => 'color: #808080; font-style: italic;'
91
+			),
92
+		'ESCAPE_CHAR' => array(
93
+			0 => 'color: #000099; font-weight: bold;'
94
+			),
95
+		'BRACKETS' => array(
96
+			0 => 'color: #66cc66;'
97
+			),
98
+		'STRINGS' => array(
99
+			0 => 'color: #7f007f;'
100
+			),
101
+		'NUMBERS' => array(
102
+			0 => 'color: #ff0000;'
103
+			),
104
+		'METHODS' => array(
105
+			1 => 'color: #202020;'
106
+			),
107
+		'SYMBOLS' => array(
108
+			0 => 'color: #66cc66;'
109
+			),
110
+		'REGEXPS' => array(
111
+			),
112
+		'SCRIPT' => array(
113
+			)
114
+		),
115
+	'URLS' => array(
116
+		1 => '',
117
+		2 => '',
118
+		3 => ''
119
+		),
120
+	'OOLANG' => true,
121
+	'OBJECT_SPLITTERS' => array(
122
+		1 => '.'
123
+		),
124
+	'REGEXPS' => array(
125
+		),
126
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
127
+	'SCRIPT_DELIMITERS' => array(
128
+		),
129
+	'HIGHLIGHT_STRICT_BLOCK' => array(
130
+		)
131
+);
132
+
133
+?>

+ 171 - 0
plugins/geshi/apache.php View File

@@ -0,0 +1,171 @@
1
+<?php
2
+/*************************************************************************************
3
+ * apache.php
4
+ * ----------
5
+ * Author: Tux (tux@inmail.cz)
6
+ * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/29/07
9
+ *
10
+ * Apache language file for GeSHi.
11
+ * Words are from SciTe configuration file
12
+ *
13
+ * CHANGES
14
+ * -------
15
+ * 2004/11/27 (1.0.2)
16
+ *  -  Added support for multiple object splitters
17
+ * 2004/10/27 (1.0.1)
18
+ *   -  Added support for URLs
19
+ * 2004/08/05 (1.0.0)
20
+ *   -  First Release
21
+ *
22
+ * TODO (updated 2004/07/29)
23
+ * -------------------------
24
+ *
25
+ *************************************************************************************
26
+ *
27
+ *     This file is part of GeSHi.
28
+ *
29
+ *   GeSHi is free software; you can redistribute it and/or modify
30
+ *   it under the terms of the GNU General Public License as published by
31
+ *   the Free Software Foundation; either version 2 of the License, or
32
+ *   (at your option) any later version.
33
+ *
34
+ *   GeSHi is distributed in the hope that it will be useful,
35
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
36
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
37
+ *   GNU General Public License for more details.
38
+ *
39
+ *   You should have received a copy of the GNU General Public License
40
+ *   along with GeSHi; if not, write to the Free Software
41
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
42
+ *
43
+ ************************************************************************************/
44
+
45
+$language_data = array (
46
+	'LANG_NAME' => 'Apache Log',
47
+	'COMMENT_SINGLE' => array(1 => '#'),
48
+	'COMMENT_MULTI' => array(),
49
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
50
+	'QUOTEMARKS' => array("'", '"'),
51
+	'ESCAPE_CHAR' => '\\',
52
+	'KEYWORDS' => array(
53
+		/*keywords*/
54
+	        1 => array(
55
+			'accessconfig','accessfilename','action','addalt',
56
+			'addaltbyencoding','addaltbytype','addcharset',
57
+			'adddefaultcharset','adddescription',
58
+			'addencoding','addhandler','addicon','addiconbyencoding',
59
+			'addiconbytype','addlanguage','addmodule','addmoduleinfo',
60
+			'addtype','agentlog','alias','aliasmatch',
61
+			'allow','allowconnect','allowoverride','anonymous',
62
+			'anonymous_authoritative','anonymous_logemail','anonymous_mustgiveemail',
63
+			'anonymous_nouserid','anonymous_verifyemail','authauthoritative',
64
+			'authdbauthoritative','authdbgroupfile','authdbmauthoritative',
65
+			'authdbmgroupfile','authdbmgroupfile','authdbuserfile','authdbmuserfile',
66
+			'authdigestfile','authgroupfile','authname','authtype',
67
+			'authuserfile','bindaddress','browsermatch','browsermatchnocase',
68
+			'bs2000account','cachedefaultexpire','cachedirlength','cachedirlevels',
69
+			'cacheforcecompletion','cachegcinterval','cachelastmodifiedfactor','cachemaxexpire',
70
+			'cachenegotiateddocs','cacheroot','cachesize','checkspelling',
71
+			'clearmodulelist','contentdigest','cookieexpires','cookielog',
72
+			'cookielog','cookietracking','coredumpdirectory','customlog',
73
+			'defaulticon','defaultlanguage','defaulttype','define',
74
+			'deny','directory','directorymatch','directoryindex',
75
+			'documentroot','errordocument','errorlog','example',
76
+			'expiresactive','expiresbytype','expiresdefault','extendedstatus',
77
+			'fancyindexing','files','filesmatch','forcetype',
78
+			'group','header','headername','hostnamelookups',
79
+			'identitycheck','ifdefine','ifmodule','imapbase',
80
+			'imapdefault','imapmenu','include','indexignore',
81
+			'indexoptions','keepalive','keepalivetimeout','languagepriority',
82
+			'limit','limitexcept','limitrequestbody','limitrequestfields',
83
+			'limitrequestfieldsize','limitrequestline','listen','listenbacklog',
84
+			'loadfile','loadmodule','location','locationmatch',
85
+			'lockfile','logformat','loglevel','maxclients',
86
+			'maxkeepaliverequests','maxrequestsperchild','maxspareservers','metadir',
87
+			'metafiles','metasuffix','mimemagicfile','minspareservers',
88
+			'mmapfile','namevirtualhost','nocache','options','order',
89
+			'passenv','pidfile','port','proxyblock','proxydomain',
90
+			'proxypass','proxypassreverse','proxyreceivebuffersize','proxyremote',
91
+			'proxyrequests','proxyvia','qsc','readmename',
92
+			'redirect','redirectmatch','redirectpermanent','redirecttemp',
93
+			'refererignore','refererlog','removehandler','require',
94
+			'resourceconfig','rewritebase','rewritecond','rewriteengine',
95
+			'rewritelock','rewritelog','rewriteloglevel','rewritemap',
96
+			'rewriteoptions','rewriterule','rlimitcpu','rlimitmem',
97
+			'rlimitnproc','satisfy','scoreboardfile','script',
98
+			'scriptalias','scriptaliasmatch','scriptinterpretersource','scriptlog',
99
+			'scriptlogbuffer','scriptloglength','sendbuffersize',
100
+			'serveradmin','serveralias','servername','serverpath',
101
+			'serverroot','serversignature','servertokens','servertype',
102
+			'setenv','setenvif','setenvifnocase','sethandler',
103
+			'singlelisten','startservers','threadsperchild','timeout',
104
+			'transferlog','typesconfig','unsetenv','usecanonicalname',
105
+			'user','userdir','virtualhost','virtualdocumentroot',
106
+			'virtualdocumentrootip','virtualscriptalias','virtualscriptaliasip',
107
+			'xbithack','from','all'
108
+		  ),
109
+		/*keyords 2*/
110
+		2 => array(
111
+			'on','off','standalone','inetd',
112
+			'force-response-1.0','downgrade-1.0','nokeepalive',
113
+			'ndexes','includes','followsymlinks','none',
114
+			'x-compress','x-gzip'
115
+		)
116
+	),
117
+	'SYMBOLS' => array(
118
+		'(', ')'
119
+		),
120
+	'CASE_SENSITIVE' => array(
121
+		GESHI_COMMENTS => true,
122
+		1 => false,
123
+		2 => false,
124
+		),
125
+	'STYLES' => array(
126
+		'KEYWORDS' => array(
127
+			1 => 'color: #00007f;',
128
+			2 => 'color: #0000ff;',
129
+			),
130
+		'COMMENTS' => array(
131
+			1 => 'color: #adadad; font-style: italic;',
132
+			),
133
+		'ESCAPE_CHAR' => array(
134
+			0 => 'color: #000099; font-weight: bold;'
135
+			),
136
+		'BRACKETS' => array(
137
+			0 => 'color: #66cc66;'
138
+			),
139
+		'STRINGS' => array(
140
+			0 => 'color: #7f007f;'
141
+			),
142
+		'NUMBERS' => array(
143
+			0 => 'color: #ff0000;'
144
+			),
145
+		'METHODS' => array(
146
+			),
147
+		'SYMBOLS' => array(
148
+			0 => 'color: #66cc66;'
149
+			),
150
+		'REGEXPS' => array(
151
+			),
152
+		'SCRIPT' => array(
153
+			)
154
+		),
155
+	'URLS' => array(
156
+		1 => '',
157
+		2 => ''
158
+		),
159
+	'OOLANG' => false,
160
+	'OBJECT_SPLITTERS' => array(
161
+		),
162
+	'REGEXPS' => array(
163
+		),
164
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
165
+	'SCRIPT_DELIMITERS' => array(
166
+		),
167
+	'HIGHLIGHT_STRICT_BLOCK' => array(
168
+		)
169
+);
170
+
171
+?>

+ 134 - 0
plugins/geshi/applescript.php View File

@@ -0,0 +1,134 @@
1
+<?php
2
+/*************************************************************************************
3
+ * applescript.php
4
+ * --------
5
+ * Author: Stephan Klimek (http://www.initware.org)
6
+ * Copyright: Stephan Klimek (http://www.initware.org)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/07/20
9
+ *
10
+ * AppleScript language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ *
15
+ * TODO
16
+ * -------------------------
17
+ * URL settings to references
18
+ *
19
+ **************************************************************************************
20
+ *
21
+ *     This file is part of GeSHi.
22
+ *
23
+ *   GeSHi is free software; you can redistribute it and/or modify
24
+ *   it under the terms of the GNU General Public License as published by
25
+ *   the Free Software Foundation; either version 2 of the License, or
26
+ *   (at your option) any later version.
27
+ *
28
+ *   GeSHi is distributed in the hope that it will be useful,
29
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
30
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
31
+ *   GNU General Public License for more details.
32
+ *
33
+ *   You should have received a copy of the GNU General Public License
34
+ *   along with GeSHi; if not, write to the Free Software
35
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
36
+ *
37
+ ************************************************************************************/
38
+
39
+$language_data = array (
40
+	'LANG_NAME' => 'AppleScript',
41
+	'COMMENT_SINGLE' => array(1 => '--'),
42
+	'COMMENT_MULTI' => array( '(*' => '*)'),
43
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
44
+	'QUOTEMARKS' => array('"',"'"),
45
+	'ESCAPE_CHAR' => '\\',
46
+	'KEYWORDS' => array(
47
+		1 => array(
48
+            'script','property','prop','end','copy','to','set','global','local','on','to','of',
49
+            'in','given','with','without','return','continue','tell','if','then','else','repeat',
50
+            'times','while','until','from','exit','try','error','considering','ignoring','timeout',
51
+            'transaction','my','get','put','into','is'
52
+			),
53
+		2 => array(
54
+            'each','some','every','whose','where','id','index','first','second','third','fourth',
55
+            'fifth','sixth','seventh','eighth','ninth','tenth','last','front','back','st','nd',
56
+            'rd','th','middle','named','through','thru','before','after','beginning','the'
57
+			),
58
+		3 => array(
59
+            'close','copy','count','delete','duplicate','exists','launch','make','move','open',
60
+            'print','quit','reopen','run','save','saving',
61
+            'it','me','version','pi','result','space','tab','anything','case','diacriticals','expansion',
62
+            'hyphens','punctuation','bold','condensed','expanded','hidden','italic','outline','plain',
63
+            'shadow','strikethrough','subscript','superscript','underline','ask','no','yes','false',
64
+            'true','weekday','monday','mon','tuesday','tue','wednesday','wed','thursday','thu','friday',
65
+            'fri','saturday','sat','sunday','sun','month','january','jan','february','feb','march',
66
+            'mar','april','apr','may','june','jun','july','jul','august','aug','september',
67
+            'sep','october','oct','november','nov','december','dec','minutes','hours',
68
+            'days','weeks','div','mod','and','not','or','as','contains','equal','equals','isnt'
69
+			)
70
+		),
71
+	'SYMBOLS' => array(
72
+        ')','+','-','^','*','/','&','<','>=','<','<=','=','�'
73
+		),
74
+	'CASE_SENSITIVE' => array(
75
+		GESHI_COMMENTS => true,
76
+		1 => false,
77
+		2 => false,
78
+		3 => false,
79
+		),
80
+	'STYLES' => array(
81
+		'KEYWORDS' => array(
82
+			1 => 'color: #b1b100;',
83
+			2 => 'color: #000000; font-weight: bold;',
84
+			3 => 'color: #000066;'
85
+			),
86
+		'COMMENTS' => array(
87
+			1 => 'color: #808080; font-style: italic;',
88
+			'MULTI' => 'color: #808080; font-style: italic;'
89
+			),
90
+		'ESCAPE_CHAR' => array(
91
+			0 => 'color: #000099; font-weight: bold;'
92
+			),
93
+		'BRACKETS' => array(
94
+			0 => 'color: #66cc66;'
95
+			),
96
+		'STRINGS' => array(
97
+			0 => 'color: #ff0000;'
98
+			),
99
+		'NUMBERS' => array(
100
+			0 => 'color: #cc66cc;'
101
+			),
102
+		'METHODS' => array(
103
+			1 => 'color: #006600;',
104
+			2 => 'color: #006600;'
105
+			),
106
+		'SYMBOLS' => array(
107
+			0 => 'color: #66cc66;'
108
+			),
109
+		'REGEXPS' => array(
110
+			0 => 'color: #0000ff;',
111
+			4 => 'color: #009999;',
112
+			),
113
+		'SCRIPT' => array(
114
+			)
115
+		),
116
+	'URLS' => array(
117
+		3 => ''
118
+		),
119
+	'OOLANG' => true,
120
+	'OBJECT_SPLITTERS' => array(
121
+		1 => ',+-=&lt;&gt;/?^&amp;*'
122
+		),
123
+	'REGEXPS' => array(
124
+		0 => '[\\$%@]+[a-zA-Z_][a-zA-Z0-9_]*',
125
+		4 => '&lt;[a-zA-Z_][a-zA-Z0-9_]*&gt;',
126
+		),
127
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
128
+	'SCRIPT_DELIMITERS' => array(
129
+		),
130
+	'HIGHLIGHT_STRICT_BLOCK' => array(
131
+		)
132
+);
133
+
134
+?>

+ 199 - 0
plugins/geshi/asm.php View File

@@ -0,0 +1,199 @@
1
+<?php
2
+/*************************************************************************************
3
+ * asm.php
4
+ * -------
5
+ * Author: Tux (tux@inmail.cz)
6
+ * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/07/27
9
+ *
10
+ * x86 Assembler language file for GeSHi.
11
+ * Words are from SciTe configuration file (based on NASM syntax)
12
+ *
13
+ * CHANGES
14
+ * -------
15
+ * 2004/11/27 (1.0.2)
16
+ *  -  Added support for multiple object splitters
17
+ * 2004/10/27 (1.0.1)
18
+ *   -  Added support for URLs
19
+ *   -  Added binary and hexadecimal regexps
20
+ * 2004/08/05 (1.0.0)
21
+ *   -  First Release
22
+ *
23
+ * TODO (updated 2004/11/27)
24
+ * -------------------------
25
+ *
26
+ *************************************************************************************
27
+ *
28
+ *     This file is part of GeSHi.
29
+ *
30
+ *   GeSHi is free software; you can redistribute it and/or modify
31
+ *   it under the terms of the GNU General Public License as published by
32
+ *   the Free Software Foundation; either version 2 of the License, or
33
+ *   (at your option) any later version.
34
+ *
35
+ *   GeSHi is distributed in the hope that it will be useful,
36
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
37
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
38
+ *   GNU General Public License for more details.
39
+ *
40
+ *   You should have received a copy of the GNU General Public License
41
+ *   along with GeSHi; if not, write to the Free Software
42
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
43
+ *
44
+ ************************************************************************************/
45
+
46
+$language_data = array (
47
+	'LANG_NAME' => 'ASM',
48
+	'COMMENT_SINGLE' => array(1 => ';'),
49
+	'COMMENT_MULTI' => array(),
50
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
51
+	'QUOTEMARKS' => array("'", '"'),
52
+	'ESCAPE_CHAR' => '',
53
+	'KEYWORDS' => array(
54
+		/*CPU*/
55
+		1 => array(
56
+		       'aaa','aad','aam','aas','adc','add','and','call','cbw','clc','cld','cli','cmc','cmp',
57
+			'cmps','cmpsb','cmpsw','cwd','daa','das','dec','div','esc','hlt','idiv','imul','in','inc',
58
+			'int','into','iret','ja','jae','jb','jbe','jc','jcxz','je','jg','jge','jl','jle','jmp',
59
+			'jna','jnae','jnb','jnbe','jnc','jne','jng','jnge','jnl','jnle','jno','jnp','jns','jnz',
60
+			'jo','jp','jpe','jpo','js','jz','lahf','lds','lea','les','lods','lodsb','lodsw','loop',
61
+			'loope','loopew','loopne','loopnew','loopnz','loopnzw','loopw','loopz','loopzw','mov',
62
+			'movs','movsb','movsw','mul','neg','nop','not','or','out','pop','popf','push','pushf',
63
+			'rcl','rcr','ret','retf','retn','rol','ror','sahf','sal','sar','sbb','scas','scasb','scasw',
64
+			'shl','shr','stc','std','sti','stos','stosb','stosw','sub','test','wait','xchg','xlat',
65
+			'xlatb','xor','bound','enter','ins','insb','insw','leave','outs','outsb','outsw','popa','pusha','pushw',
66
+			'arpl','lar','lsl','sgdt','sidt','sldt','smsw','str','verr','verw','clts','lgdt','lidt','lldt','lmsw','ltr',
67
+			'bsf','bsr','bt','btc','btr','bts','cdq','cmpsd','cwde','insd','iretd','iretdf','iretf',
68
+			'jecxz','lfs','lgs','lodsd','loopd','looped','loopned','loopnzd','loopzd','lss','movsd',
69
+			'movsx','movzx','outsd','popad','popfd','pushad','pushd','pushfd','scasd','seta','setae',
70
+			'setb','setbe','setc','sete','setg','setge','setl','setle','setna','setnae','setnb','setnbe',
71
+			'setnc','setne','setng','setnge','setnl','setnle','setno','setnp','setns','setnz','seto','setp',
72
+			'setpe','setpo','sets','setz','shld','shrd','stosd','bswap','cmpxchg','invd','invlpg','wbinvd','xadd','lock',
73
+			'rep','repe','repne','repnz','repz'
74
+		  ),
75
+		/*FPU*/
76
+		2 => array(
77
+			  'f2xm1','fabs','fadd','faddp','fbld','fbstp','fchs','fclex','fcom','fcomp','fcompp','fdecstp',
78
+			 'fdisi','fdiv','fdivp','fdivr','fdivrp','feni','ffree','fiadd','ficom','ficomp','fidiv',
79
+   			 'fidivr','fild','fimul','fincstp','finit','fist','fistp','fisub','fisubr','fld','fld1',
80
+			 'fldcw','fldenv','fldenvw','fldl2e','fldl2t','fldlg2','fldln2','fldpi','fldz','fmul',
81
+			 'fmulp','fnclex','fndisi','fneni','fninit','fnop','fnsave','fnsavew','fnstcw','fnstenv',
82
+			 'fnstenvw','fnstsw','fpatan','fprem','fptan','frndint','frstor','frstorw','fsave',
83
+			 'fsavew','fscale','fsqrt','fst','fstcw','fstenv','fstenvw','fstp','fstsw','fsub','fsubp',
84
+			 'fsubr','fsubrp','ftst','fwait','fxam','fxch','fxtract','fyl2x','fyl2xp1',
85
+			 'fsetpm','fcos','fldenvd','fnsaved','fnstenvd','fprem1','frstord','fsaved','fsin','fsincos',
86
+			 'fstenvd','fucom','fucomp','fucompp'
87
+		    ),
88
+		/*registers*/
89
+		3 => array(
90
+			'ah','al','ax','bh','bl','bp','bx','ch','cl','cr0','cr2','cr3','cs','cx','dh','di','dl',
91
+			'dr0','dr1','dr2','dr3','dr6','dr7','ds','dx','eax','ebp','ebx','ecx','edi','edx',
92
+			 'es','esi','esp','fs','gs','si','sp','ss','st','tr3','tr4','tr5','tr6','tr7', 'ah', 'bh', 'ch', 'dh'
93
+			),
94
+		/*Directive*/
95
+		4 => array(
96
+			  '186','286','286c','286p','287','386','386c','386p','387','486','486p',
97
+			 '8086','8087','alpha','break','code','const','continue','cref','data','data?',
98
+			'dosseg','else','elseif','endif','endw','err','err1','err2','errb',
99
+			 'errdef','errdif','errdifi','erre','erridn','erridni','errnb','errndef',
100
+			 'errnz','exit','fardata','fardata?','if','lall','lfcond','list','listall',
101
+			 'listif','listmacro','listmacroall',' model','no87','nocref','nolist',
102
+			 'nolistif','nolistmacro','radix','repeat','sall','seq','sfcond','stack',
103
+			  'startup','tfcond','type','until','untilcxz','while','xall','xcref',
104
+			  'xlist','alias','align','assume','catstr','comm','comment','db','dd','df','dosseg','dq',
105
+			  'dt','dup','dw','echo','else','elseif','elseif1','elseif2','elseifb','elseifdef','elseifdif',
106
+			  'elseifdifi','elseife','elseifidn','elseifidni','elseifnb','elseifndef','end',
107
+			  'endif','endm','endp','ends','eq',' equ','even','exitm','extern','externdef','extrn','for',
108
+			  'forc','ge','goto','group','high','highword','if','if1','if2','ifb','ifdef','ifdif',
109
+			  'ifdifi','ife',' ifidn','ifidni','ifnb','ifndef','include','includelib','instr','invoke',
110
+			  'irp','irpc','label','le','length','lengthof','local','low','lowword','lroffset',
111
+			  'macro','mask','mod','msfloat','name','ne','offset','opattr','option','org','%out',
112
+			  'page','popcontext','proc','proto','ptr','public','purge','pushcontext','record',
113
+			  'repeat','rept','seg','segment','short','size','sizeof','sizestr','struc','struct',
114
+			  'substr','subtitle','subttl','textequ','this','title','type','typedef','union','while','width',
115
+			  '.model', '.stack', '.code', '.data'
116
+
117
+		    ),
118
+
119
+		/*Operands*/
120
+		5 => array(
121
+			 '@b','@f','addr','basic','byte','c','carry?','dword',
122
+			 'far','far16','fortran','fword','near','near16','overflow?','parity?','pascal','qword',
123
+			 'real4',' real8','real10','sbyte','sdword','sign?','stdcall','sword','syscall','tbyte',
124
+			 'vararg','word','zero?','flat','near32','far32',
125
+			 'abs','all','assumes','at','casemap','common','compact',
126
+			 'cpu','dotname','emulator','epilogue','error','export','expr16','expr32','farstack','flat',
127
+			 'forceframe','huge','language','large','listing','ljmp','loadds','m510','medium','memory',
128
+			 'nearstack','nodotname','noemulator','nokeyword','noljmp','nom510','none','nonunique',
129
+			 'nooldmacros','nooldstructs','noreadonly','noscoped','nosignextend','nothing',
130
+			 'notpublic','oldmacros','oldstructs','os_dos','para','private','prologue','radix',
131
+			 'readonly','req','scoped','setif2','smallstack','tiny','use16','use32','uses'
132
+			)
133
+		),
134
+	'SYMBOLS' => array(
135
+		'[', ']', '(', ')'
136
+		),
137
+	'CASE_SENSITIVE' => array(
138
+		GESHI_COMMENTS => true,
139
+		1 => false,
140
+		2 => false,
141
+		3 => false,
142
+		4 => false,
143
+		5 => false
144
+		),
145
+	'STYLES' => array(
146
+		'KEYWORDS' => array(
147
+			1 => 'color: #00007f;',
148
+			2 => 'color: #0000ff;',
149
+			3 => 'color: #46aa03; font-weight:bold;',
150
+			4 => 'color: #0000ff;',
151
+			5 => 'color: #0000ff;'
152
+			),
153
+		'COMMENTS' => array(
154
+			1 => 'color: #adadad; font-style: italic;',
155
+			),
156
+		'ESCAPE_CHAR' => array(
157
+			0 => 'color: #000099; font-weight: bold;'
158
+			),
159
+		'BRACKETS' => array(
160
+			0 => 'color: #66cc66;'
161
+			),
162
+		'STRINGS' => array(
163
+			0 => 'color: #7f007f;'
164
+			),
165
+		'NUMBERS' => array(
166
+			0 => 'color: #ff0000;'
167
+			),
168
+		'METHODS' => array(
169
+			),
170
+		'SYMBOLS' => array(
171
+			0 => 'color: #66cc66;'
172
+			),
173
+		'REGEXPS' => array(
174
+			0 => 'color: #ff0000;',
175
+			1 => 'color: #ff0000;'
176
+			),
177
+		'SCRIPT' => array(
178
+			)
179
+		),
180
+	'URLS' => array(
181
+		1 => '',
182
+		2 => ''
183
+		),
184
+	'OOLANG' => false,
185
+	'OBJECT_SPLITTERS' => array(
186
+		),
187
+	'REGEXPS' => array(
188
+		0 => '0[0-9a-fA-F]{1,32}[hH]',
189
+		1 => '[01]{1,64}[bB]'
190
+		),
191
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
192
+	'SCRIPT_DELIMITERS' => array(
193
+		),
194
+	'HIGHLIGHT_STRICT_BLOCK' => array(
195
+        ),
196
+    'TAB_WIDTH' => 8
197
+);
198
+
199
+?>

+ 153 - 0
plugins/geshi/asp.php View File

@@ -0,0 +1,153 @@
1
+<?php
2
+/*************************************************************************************
3
+ * asp.php
4
+ * --------
5
+ * Author: Amit Gupta (http://blog.igeek.info/)
6
+ * Copyright: (c) 2004 Amit Gupta (http://blog.igeek.info/), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/08/13
9
+ *
10
+ * ASP language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/12/30 (1.0.3)
15
+ *   -  Strings only delimited by ", comments by '
16
+ * 2004/11/27 (1.0.2)
17
+ *   -  Added support for multiple object splitters
18
+ * 2004/10/27 (1.0.1)
19
+ *   -  Added support for URLs
20
+ * 2004/08/13 (1.0.0)
21
+ *   -  First Release
22
+ *
23
+ * TODO (updated 2004/11/27)
24
+ * -------------------------
25
+ * * Include all the functions, keywords etc that I have missed
26
+ *
27
+ *************************************************************************************
28
+ *
29
+ *     This file is part of GeSHi.
30
+ *
31
+ *   GeSHi is free software; you can redistribute it and/or modify
32
+ *   it under the terms of the GNU General Public License as published by
33
+ *   the Free Software Foundation; either version 2 of the License, or
34
+ *   (at your option) any later version.
35
+ *
36
+ *   GeSHi is distributed in the hope that it will be useful,
37
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
38
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
39
+ *   GNU General Public License for more details.
40
+ *
41
+ *   You should have received a copy of the GNU General Public License
42
+ *   along with GeSHi; if not, write to the Free Software
43
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
44
+ *
45
+ ************************************************************************************/
46
+
47
+$language_data = array (
48
+	'LANG_NAME' => 'ASP',
49
+	'COMMENT_SINGLE' => array(1 => "'", 2 => '//'),
50
+	'COMMENT_MULTI' => array('/*' => '*/'),
51
+	'CASE_KEYWORDS' => 0,
52
+	'QUOTEMARKS' => array('"'),
53
+	'ESCAPE_CHAR' => '',
54
+	'KEYWORDS' => array(
55
+		1 => array(
56
+			'include', 'file', 'Dim', 'Option', 'Explicit', 'Implicit', 'Set', 'Select', 'ReDim', 'Preserve',
57
+			'ByVal', 'ByRef', 'End', 'Private', 'Public', 'If', 'Then', 'Else', 'ElseIf', 'Case', 'With', 'NOT',
58
+			'While', 'Wend', 'For', 'Loop', 'Do', 'Request', 'Response', 'Server', 'ADODB', 'Session', 'Application',
59
+			'Each', 'In', 'Get', 'Next', 'INT', 'CINT', 'CBOOL', 'CDATE', 'CBYTE', 'CCUR', 'CDBL', 'CLNG', 'CSNG',
60
+			'CSTR', 'Fix', 'Is', 'Sgn', 'String', 'Boolean', 'Currency', 'Me', 'Single', 'Long', 'Integer', 'Byte',
61
+			'Variant', 'Double', 'To', 'Let', 'Xor', 'Resume', 'On', 'Error', 'Imp', 'GoTo', 'Call', 'Global'
62
+			),
63
+		2 => array(
64
+			'Null', 'Nothing', 'And',
65
+			'False', '&lt;%', '%&gt;',
66
+			'&lt;script language=', '&lt;/script&gt;',
67
+			'True', 'var', 'Or', 'BOF', 'EOF',
68
+			'Function', 'Class', 'New', 'Sub'
69
+			),
70
+		3 => array(
71
+			'CreateObject', 'Write', 'Redirect', 'Cookies', 'BinaryRead', 'ClientCertificate', 'Form', 'QueryString',
72
+			'ServerVariables', 'TotalBytes', 'AddHeader', 'AppendToLog', 'BinaryWrite', 'Buffer', 'CacheControl',
73
+			'Charset', 'Clear', 'ContentType', 'End()', 'Expires', 'ExpiresAbsolute', 'Flush()', 'IsClientConnected',
74
+			'PICS', 'Status', 'Connection', 'Recordset', 'Execute', 'Abandon', 'Lock', 'UnLock', 'Command', 'Fields',
75
+			'Properties', 'Property', 'Send', 'Replace', 'InStr', 'TRIM', 'NOW', 'Day', 'Month', 'Hour', 'Minute', 'Second',
76
+			'Year', 'MonthName', 'LCase', 'UCase', 'Abs', 'Array', 'As', 'LEN', 'MoveFirst', 'MoveLast', 'MovePrevious',
77
+			'MoveNext', 'LBound', 'UBound', 'Transfer', 'Open', 'Close', 'MapPath', 'FileExists', 'OpenTextFile', 'ReadAll'
78
+			)
79
+		),
80
+	'CASE_SENSITIVE' => array(
81
+		GESHI_COMMENTS => false,
82
+		1 => false,
83
+		2 => false,
84
+		3 => false,
85
+		),
86
+	'STYLES' => array(
87
+		'KEYWORDS' => array(
88
+			1 => 'color: #990099; font-weight: bold;',
89
+			2 => 'color: #0000ff; font-weight: bold;',
90
+			3 => 'color: #330066;'
91
+			),
92
+		'COMMENTS' => array(
93
+			1 => 'color: #008000;',
94
+			2 => 'color: #ff6600;',
95
+			'MULTI' => 'color: #008000;'
96
+			),
97
+		'ESCAPE_CHAR' => array(
98
+			0 => 'color: #000099; font-weight: bold;'
99
+			),
100
+		'BRACKETS' => array(
101
+			0 => 'color: #006600; font-weight:bold'
102
+			),
103
+		'STRINGS' => array(
104
+			0 => 'color: #cc0000;'
105
+			),
106
+		'NUMBERS' => array(
107
+			0 => 'color: #800000;'
108
+			),
109
+		'METHODS' => array(
110
+			1 => 'color: #9900cc;'
111
+			),
112
+		'SYMBOLS' => array(
113
+			0 => 'color: #006600; font-weight: bold'
114
+			),
115
+		'REGEXPS' => array(
116
+			),
117
+		'SCRIPT' => array(
118
+			0 => '',
119
+			1 => '',
120
+			2 => '',
121
+			)
122
+		),
123
+	'URLS' => array(
124
+		1 => '',
125
+		2 => '',
126
+		3 => ''
127
+		),
128
+	'OOLANG' => true,
129
+	'OBJECT_SPLITTERS' => array(
130
+		1 => '.'
131
+		),
132
+	'REGEXPS' => array(
133
+		),
134
+	'STRICT_MODE_APPLIES' => GESHI_MAYBE,
135
+	'SCRIPT_DELIMITERS' => array(
136
+		0 => array(
137
+			'<%' => '%>'
138
+			),
139
+		1 => array(
140
+			'<script language="vbscript" runat="server">' => '</script>'
141
+			),
142
+		2 => array(
143
+			'<script language="javascript" runat="server">' => '</script>'
144
+			)
145
+		),
146
+	'HIGHLIGHT_STRICT_BLOCK' => array(
147
+		0 => true,
148
+		1 => true,
149
+		2 => true,
150
+		)
151
+);
152
+
153
+?>

+ 453 - 0
plugins/geshi/autoit.php View File

@@ -0,0 +1,453 @@
1
+<?php
2
+/*************************************************************************************
3
+ * autoit.php
4
+ * --------
5
+ * Author: big_daddy (robert.i.anthony@gmail.com)
6
+ * Copyright: (c) 2006 and to GESHi ;)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2006/01/26
9
+ *
10
+ * Current bugs & todo:
11
+ * ----------
12
+ * - dosn't highlight symbols (Please note that in 1.0.X these are not used. Hopefully they will be used in 1.2.X.)
13
+ * - not sure how to get sendkeys to work " {!}, {SPACE} etc... "
14
+ * - jut copyied the regexp for variable from php so this HAVE to be checked and fixed to a better one ;)
15
+ *
16
+ * Reference: http://www.autoitscript.com/autoit3/docs/
17
+ *************************************************************************************
18
+ *
19
+ *     This file is part of GeSHi.
20
+ *
21
+ *   GeSHi is free software; you can redistribute it and/or modify
22
+ *   it under the terms of the GNU General Public License as published by
23
+ *   the Free Software Foundation; either version 2 of the License, or
24
+ *   (at your option) any later version.
25
+ *
26
+ *   GeSHi is distributed in the hope that it will be useful,
27
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
28
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
29
+ *   GNU General Public License for more details.
30
+ *
31
+ *   You should have received a copy of the GNU General Public License
32
+ *   along with GeSHi; if not, write to the Free Software
33
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
34
+ *
35
+ ************************************************************************************/
36
+
37
+$language_data = array (
38
+    'LANG_NAME' => 'AutoIt',
39
+    'COMMENT_SINGLE' => array(';'),
40
+    'COMMENT_MULTI' => array('#comments-start' => '#comments-end', '#cs' => '#ce'),
41
+    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
42
+    'QUOTEMARKS' => array("'", '"'),
43
+    'ESCAPE_CHAR' => '',
44
+    'KEYWORDS' => array(
45
+        1 => array(
46
+            'false', 'and', 'byref', 'case', 'const', 
47
+            'continuecase', 'continueloop', 'default', 'dim', 'do', 
48
+            'else', 'elseif', 'endfunc', 'endif', 'endselect', 
49
+            'endswitch', 'endwith', 'enum', 'exit', 'exitloop', 
50
+            'for', 'func', 'global', 'if', 'in', 
51
+            'local', 'next', 'not', 'or', 'redim', 
52
+            'return', 'select', 'step', 'switch', 'then', 
53
+            'to', 'true', 'until', 'wend', 'while', 
54
+            'with'
55
+            ),
56
+        2 => array(
57
+            '@appdatacommondir', '@appdatadir', '@autoitexe', '@autoitpid', 
58
+            '@autoitversion', '@com_eventobj', '@commonfilesdir', '@compiled', 
59
+            '@computername', '@comspec', '@cr', '@crlf', '@desktopcommondir', 
60
+            '@desktopdepth', '@desktopdir', '@desktopheight', 
61
+            '@desktoprefresh', '@desktopwidth', '@documentscommondir', 
62
+            '@error', '@exitcode', '@exitmethod', '@extended', 
63
+            '@favoritescommondir', '@favoritesdir', '@gui_ctrlhandle', 
64
+            '@gui_ctrlid', '@gui_dragfile', '@gui_dragid', '@gui_dropid', 
65
+            '@gui_winhandle', '@homedrive', '@homepath', '@homeshare', 
66
+            '@hotkeypressed', '@hour', '@inetgetactive', '@inetgetbytesread', 
67
+            '@ipaddress1', '@ipaddress2', '@ipaddress3', '@ipaddress4', 
68
+            '@kblayout', '@lf', '@logondnsdomain', '@logondomain', 
69
+            '@logonserver', '@mday', '@min', '@mon', '@mydocumentsdir', 
70
+            '@numparams', '@osbuild', '@oslang', '@osservicepack', '@ostype', 
71
+            '@osversion', '@processorarch', '@programfilesdir', 
72
+            '@programscommondir', '@programsdir', '@scriptdir', 
73
+            '@scriptfullpath', '@scriptlinenumber', '@scriptname', '@sec', 
74
+            '@startmenucommondir', '@startmenudir', '@startupcommondir', 
75
+            '@startupdir', '@sw_disable', '@sw_enable', '@sw_hide', '@sw_lock', 
76
+            '@sw_maximize', '@sw_minimize', '@sw_restore', '@sw_show', 
77
+            '@sw_showdefault', '@sw_showmaximized', '@sw_showminimized', 
78
+            '@sw_showminnoactive', '@sw_showna', '@sw_shownoactivate', 
79
+            '@sw_shownormal', '@sw_unlock', '@systemdir', '@tab', '@tempdir', 
80
+            '@tray_id', '@trayiconflashing', '@trayiconvisible', '@username', 
81
+            '@userprofiledir', '@wday', '@windowsdir', '@workingdir', '@yday', 
82
+            '@year'
83
+            ),
84
+        3 => array(
85
+            'abs', 'acos', 'adlibdisable', 'adlibenable', 'asc', 'asin', 
86
+            'assign', 'atan', 'autoitsetoption', 'autoitwingettitle', 
87
+            'autoitwinsettitle', 'beep', 'binarystring', 'bitand', 'bitnot', 
88
+            'bitor', 'bitrotate', 'bitshift', 'bitxor', 'blockinput', 'break', 
89
+            'call', 'cdtray', 'ceiling', 'chr', 'clipget', 'clipput', 
90
+            'consoleread', 'consolewrite', 'consolewriteerror', 'controlclick', 
91
+            'controlcommand', 'controldisable', 'controlenable', 
92
+            'controlfocus', 'controlgetfocus', 'controlgethandle', 
93
+            'controlgetpos', 'controlgettext', 'controlhide', 
94
+            'controllistview', 'controlmove', 'controlsend', 'controlsettext', 
95
+            'controlshow', 'cos', 'dec', 'dircopy', 'dircreate', 'dirgetsize', 
96
+            'dirmove', 'dirremove', 'dllcall', 'dllclose', 'dllopen', 
97
+            'dllstructcreate', 'dllstructgetdata', 'dllstructgetptr', 
98
+            'dllstructgetsize', 'dllstructsetdata', 'drivegetdrive', 
99
+            'drivegetfilesystem', 'drivegetlabel', 'drivegetserial', 
100
+            'drivegettype', 'drivemapadd', 'drivemapdel', 'drivemapget', 
101
+            'drivesetlabel', 'drivespacefree', 'drivespacetotal', 
102
+            'drivestatus', 'envget', 'envset', 'envupdate', 'eval', 'execute', 
103
+            'exp', 'filechangedir', 'fileclose', 'filecopy', 
104
+            'filecreatentfslink', 'filecreateshortcut', 'filedelete', 
105
+            'fileexists', 'filefindfirstfile', 'filefindnextfile', 
106
+            'filegetattrib', 'filegetlongname', 'filegetshortcut', 
107
+            'filegetshortname', 'filegetsize', 'filegettime', 'filegetversion', 
108
+            'fileinstall', 'filemove', 'fileopen', 'fileopendialog', 
109
+            'fileread', 'filereadline', 'filerecycle', 'filerecycleempty', 
110
+            'filesavedialog', 'fileselectfolder', 'filesetattrib', 
111
+            'filesettime', 'filewrite', 'filewriteline', 'floor', 
112
+            'ftpsetproxy', 'guicreate', 'guictrlcreateavi', 
113
+            'guictrlcreatebutton', 'guictrlcreatecheckbox', 
114
+            'guictrlcreatecombo', 'guictrlcreatecontextmenu', 
115
+            'guictrlcreatedate', 'guictrlcreatedummy', 'guictrlcreateedit', 
116
+            'guictrlcreategraphic', 'guictrlcreategroup', 'guictrlcreateicon', 
117
+            'guictrlcreateinput', 'guictrlcreatelabel', 'guictrlcreatelist', 
118
+            'guictrlcreatelistview', 'guictrlcreatelistviewitem', 
119
+            'guictrlcreatemenu', 'guictrlcreatemenuitem', 
120
+            'guictrlcreatemonthcal', 'guictrlcreateobj', 'guictrlcreatepic', 
121
+            'guictrlcreateprogress', 'guictrlcreateradio', 
122
+            'guictrlcreateslider', 'guictrlcreatetab', 'guictrlcreatetabitem', 
123
+            'guictrlcreatetreeview', 'guictrlcreatetreeviewitem', 
124
+            'guictrlcreateupdown', 'guictrldelete', 'guictrlgethandle', 
125
+            'guictrlgetstate', 'guictrlread', 'guictrlrecvmsg', 
126
+            'guictrlregisterlistviewsort', 'guictrlsendmsg', 
127
+            'guictrlsendtodummy', 'guictrlsetbkcolor', 'guictrlsetcolor', 
128
+            'guictrlsetcursor', 'guictrlsetdata', 'guictrlsetfont', 
129
+            'guictrlsetgraphic', 'guictrlsetimage', 'guictrlsetlimit', 
130
+            'guictrlsetonevent', 'guictrlsetpos', 'guictrlsetresizing', 
131
+            'guictrlsetstate', 'guictrlsetstyle', 'guictrlsettip', 'guidelete', 
132
+            'guigetcursorinfo', 'guigetmsg', 'guiregistermsg', 'guisetbkcolor', 
133
+            'guisetcoord', 'guisetcursor', 'guisetfont', 'guisethelp', 
134
+            'guiseticon', 'guisetonevent', 'guisetstate', 'guistartgroup', 
135
+            'guiswitch', 'hex', 'hotkeyset', 'httpsetproxy', 'hwnd', 'inetget', 
136
+            'inetgetsize', 'inidelete', 'iniread', 'inireadsection', 
137
+            'inireadsectionnames', 'inirenamesection', 'iniwrite', 
138
+            'iniwritesection', 'inputbox', 'int', 'isadmin', 'isarray', 
139
+            'isbinarystring', 'isbool', 'isdeclared', 'isdllstruct', 'isfloat', 
140
+            'ishwnd', 'isint', 'iskeyword', 'isnumber', 'isobj', 'isstring', 
141
+            'log', 'memgetstats', 'mod', 'mouseclick', 'mouseclickdrag', 
142
+            'mousedown', 'mousegetcursor', 'mousegetpos', 'mousemove', 
143
+            'mouseup', 'mousewheel', 'msgbox', 'number', 'objcreate', 
144
+            'objevent', 'objget', 'objname', 'opt', 'ping', 'pixelchecksum', 
145
+            'pixelgetcolor', 'pixelsearch', 'pluginclose', 'pluginopen', 
146
+            'processclose', 'processexists', 'processlist', 
147
+            'processsetpriority', 'processwait', 'processwaitclose', 
148
+            'progressoff', 'progresson', 'progressset', 'random', 'regdelete', 
149
+            'regenumkey', 'regenumval', 'regread', 'regwrite', 'round', 'run', 
150
+            'runasset', 'runwait', 'send', 'seterror', 'setextended', 
151
+            'shellexecute', 'shellexecutewait', 'shutdown', 'sin', 'sleep', 
152
+            'soundplay', 'soundsetwavevolume', 'splashimageon', 'splashoff', 
153
+            'splashtexton', 'sqrt', 'srandom', 'statusbargettext', 
154
+            'stderrread', 'stdinwrite', 'stdoutread', 'string', 'stringaddcr', 
155
+            'stringformat', 'stringinstr', 'stringisalnum', 'stringisalpha', 
156
+            'stringisascii', 'stringisdigit', 'stringisfloat', 'stringisint', 
157
+            'stringislower', 'stringisspace', 'stringisupper', 
158
+            'stringisxdigit', 'stringleft', 'stringlen', 'stringlower', 
159
+            'stringmid', 'stringregexp', 'stringregexpreplace', 
160
+            'stringreplace', 'stringright', 'stringsplit', 'stringstripcr', 
161
+            'stringstripws', 'stringtrimleft', 'stringtrimright', 
162
+            'stringupper', 'tan', 'tcpaccept', 'tcpclosesocket', 'tcpconnect', 
163
+            'tcplisten', 'tcpnametoip', 'tcprecv', 'tcpsend', 'tcpshutdown', 
164
+            'tcpstartup', 'timerdiff', 'timerinit', 'timerstart', 'timerstop', 
165
+            'tooltip', 'traycreateitem', 'traycreatemenu', 'traygetmsg', 
166
+            'trayitemdelete', 'trayitemgethandle', 'trayitemgetstate', 
167
+            'trayitemgettext', 'trayitemsetonevent', 'trayitemsetstate', 
168
+            'trayitemsettext', 'traysetclick', 'trayseticon', 'traysetonevent', 
169
+            'traysetpauseicon', 'traysetstate', 'traysettooltip', 'traytip', 
170
+            'ubound', 'udpbind', 'udpclosesocket', 'udpopen', 'udprecv', 
171
+            'udpsend', 'winactivate', 'winactive', 'winclose', 'winexists', 
172
+            'winflash', 'wingetcaretpos', 'wingetclasslist', 
173
+            'wingetclientsize', 'wingethandle', 'wingetpos', 'wingetprocess', 
174
+            'wingetstate', 'wingettext', 'wingettitle', 'winkill', 'winlist', 
175
+            'winmenuselectitem', 'winminimizeall', 'winminimizeallundo', 
176
+            'winmove', 'winsetontop', 'winsetstate', 'winsettitle', 
177
+            'winsettrans', 'winshow', 'winwait', 'winwaitactive', 
178
+            'winwaitclose', 'winwaitnotactive'
179
+            ),
180
+        4 => array(
181
+            '_arrayadd', '_arraybinarysearch', '_arraycreate', '_arraydelete', 
182
+            '_arraydisplay', '_arrayinsert', '_arraymax', '_arraymaxindex', 
183
+            '_arraymin', '_arrayminindex', '_arraypop', '_arraypush', 
184
+            '_arrayreverse', '_arraysearch', '_arraysort', '_arrayswap', 
185
+            '_arraytoclip', '_arraytostring', '_arraytrim', '_colorgetblue', 
186
+            '_colorgetgreen', '_colorgetred', '_dateadd', '_datedayofweek', 
187
+            '_datedaysinmonth', '_datediff', '_dateisleapyear', '_dateisvalid', 
188
+            '_datetimeformat', '_datetimesplit', '_datetodayofweek', 
189
+            '_datetodayofweekiso', '_datetodayvalue', '_dayvaluetodate', 
190
+            '_now', '_nowcalc', '_nowcalcdate', '_nowdate', '_nowtime', 
191
+            '_setdate', '_settime', '_tickstotime', '_timetoticks', 
192
+            '_weeknumberiso', '_filecountlines', '_filecreate', 
193
+            '_filelisttoarray', '_fileprint', '_filereadtoarray', 
194
+            '_filewritefromarray', '_filewritelog', '_filewritetoline', 
195
+            '_pathfull', '_pathmake', '_pathsplit', '_replacestringinfile', 
196
+            '_tempfile', '_guictrlcomboadddir', '_guictrlcomboaddstring', 
197
+            '_guictrlcomboautocomplete', '_guictrlcombodeletestring', 
198
+            '_guictrlcombofindstring', '_guictrlcombogetcount', 
199
+            '_guictrlcombogetcursel', '_guictrlcombogetdroppedcontrolrect', 
200
+            '_guictrlcombogetdroppedstate', '_guictrlcombogetdroppedwidth', 
201
+            '_guictrlcombogeteditsel', '_guictrlcombogetextendedui', 
202
+            '_guictrlcombogethorizontalextent', '_guictrlcombogetitemheight', 
203
+            '_guictrlcombogetlbtext', '_guictrlcombogetlbtextlen', 
204
+            '_guictrlcombogetlist', '_guictrlcombogetlocale', 
205
+            '_guictrlcombogetminvisible', '_guictrlcombogettopindex', 
206
+            '_guictrlcomboinitstorage', '_guictrlcomboinsertstring', 
207
+            '_guictrlcombolimittext', '_guictrlcomboresetcontent', 
208
+            '_guictrlcomboselectstring', '_guictrlcombosetcursel', 
209
+            '_guictrlcombosetdroppedwidth', '_guictrlcomboseteditsel', 
210
+            '_guictrlcombosetextendedui', '_guictrlcombosethorizontalextent', 
211
+            '_guictrlcombosetitemheight', '_guictrlcombosetminvisible', 
212
+            '_guictrlcombosettopindex', '_guictrlcomboshowdropdown', 
213
+            '_guictrleditcanundo', '_guictrleditemptyundobuffer', 
214
+            '_guictrleditfind', '_guictrleditgetfirstvisibleline', 
215
+            '_guictrleditgetline', '_guictrleditgetlinecount', 
216
+            '_guictrleditgetmodify', '_guictrleditgetrect', 
217
+            '_guictrleditgetsel', '_guictrleditlinefromchar', 
218
+            '_guictrleditlineindex', '_guictrleditlinelength', 
219
+            '_guictrleditlinescroll', '_guictrleditreplacesel', 
220
+            '_guictrleditscroll', '_guictrleditsetmodify', 
221
+            '_guictrleditsetrect', '_guictrleditsetsel', '_guictrleditundo', 
222
+            '_guictrlipaddressclear', '_guictrlipaddresscreate', 
223
+            '_guictrlipaddressdelete', '_guictrlipaddressget', 
224
+            '_guictrlipaddressisblank', '_guictrlipaddressset', 
225
+            '_guictrlipaddresssetfocus', '_guictrlipaddresssetfont', 
226
+            '_guictrlipaddresssetrange', '_guictrlipaddressshowhide', 
227
+            '_guictrllistadddir', '_guictrllistadditem', '_guictrllistclear', 
228
+            '_guictrllistcount', '_guictrllistdeleteitem', 
229
+            '_guictrllistfindstring', '_guictrllistgetanchorindex', 
230
+            '_guictrllistgetcaretindex', '_guictrllistgethorizontalextent', 
231
+            '_guictrllistgetinfo', '_guictrllistgetitemrect', 
232
+            '_guictrllistgetlocale', '_guictrllistgetselcount', 
233
+            '_guictrllistgetselitems', '_guictrllistgetselitemstext', 
234
+            '_guictrllistgetselstate', '_guictrllistgettext', 
235
+            '_guictrllistgettextlen', '_guictrllistgettopindex', 
236
+            '_guictrllistinsertitem', '_guictrllistreplacestring', 
237
+            '_guictrllistselectedindex', '_guictrllistselectindex', 
238
+            '_guictrllistselectstring', '_guictrllistselitemrange', 
239
+            '_guictrllistselitemrangeex', '_guictrllistsetanchorindex', 
240
+            '_guictrllistsetcaretindex', '_guictrllistsethorizontalextent', 
241
+            '_guictrllistsetlocale', '_guictrllistsetsel', 
242
+            '_guictrllistsettopindex', '_guictrllistsort', 
243
+            '_guictrllistswapstring', '_guictrllistviewcopyitems', 
244
+            '_guictrllistviewdeleteallitems', '_guictrllistviewdeletecolumn', 
245
+            '_guictrllistviewdeleteitem', 
246
+            '_guictrllistviewdeleteitemsselected', 
247
+            '_guictrllistviewensurevisible', '_guictrllistviewfinditem', 
248
+            '_guictrllistviewgetbackcolor', '_guictrllistviewgetcallbackmask', 
249
+            '_guictrllistviewgetcheckedstate', 
250
+            '_guictrllistviewgetcolumnorder', '_guictrllistviewgetcolumnwidth', 
251
+            '_guictrllistviewgetcounterpage', '_guictrllistviewgetcursel', 
252
+            '_guictrllistviewgetextendedlistviewstyle', 
253
+            '_guictrllistviewgetheader', '_guictrllistviewgethotcursor', 
254
+            '_guictrllistviewgethotitem', '_guictrllistviewgethovertime', 
255
+            '_guictrllistviewgetitemcount', '_guictrllistviewgetitemtext', 
256
+            '_guictrllistviewgetitemtextarray', '_guictrllistviewgetnextitem', 
257
+            '_guictrllistviewgetselectedcount', 
258
+            '_guictrllistviewgetselectedindices', 
259
+            '_guictrllistviewgetsubitemscount', '_guictrllistviewgettopindex', 
260
+            '_guictrllistviewgetunicodeformat', '_guictrllistviewhidecolumn', 
261
+            '_guictrllistviewinsertcolumn', '_guictrllistviewinsertitem', 
262
+            '_guictrllistviewjustifycolumn', '_guictrllistviewscroll', 
263
+            '_guictrllistviewsetcheckstate', 
264
+            '_guictrllistviewsetcolumnheadertext', 
265
+            '_guictrllistviewsetcolumnorder', '_guictrllistviewsetcolumnwidth', 
266
+            '_guictrllistviewsethotitem', '_guictrllistviewsethovertime', 
267
+            '_guictrllistviewsetitemcount', '_guictrllistviewsetitemselstate', 
268
+            '_guictrllistviewsetitemtext', '_guictrllistviewsort', 
269
+            '_guictrlmonthcalget1stdow', '_guictrlmonthcalgetcolor', 
270
+            '_guictrlmonthcalgetdelta', '_guictrlmonthcalgetmaxselcount', 
271
+            '_guictrlmonthcalgetmaxtodaywidth', 
272
+            '_guictrlmonthcalgetminreqrect', '_guictrlmonthcalset1stdow', 
273
+            '_guictrlmonthcalsetcolor', '_guictrlmonthcalsetdelta', 
274
+            '_guictrlmonthcalsetmaxselcount', '_guictrlslidercleartics', 
275
+            '_guictrlslidergetlinesize', '_guictrlslidergetnumtics', 
276
+            '_guictrlslidergetpagesize', '_guictrlslidergetpos', 
277
+            '_guictrlslidergetrangemax', '_guictrlslidergetrangemin', 
278
+            '_guictrlslidersetlinesize', '_guictrlslidersetpagesize', 
279
+            '_guictrlslidersetpos', '_guictrlslidersetticfreq', 
280
+            '_guictrlstatusbarcreate', '_guictrlstatusbarcreateprogress', 
281
+            '_guictrlstatusbardelete', '_guictrlstatusbargetborders', 
282
+            '_guictrlstatusbargeticon', '_guictrlstatusbargetparts', 
283
+            '_guictrlstatusbargetrect', '_guictrlstatusbargettext', 
284
+            '_guictrlstatusbargettextlength', '_guictrlstatusbargettip', 
285
+            '_guictrlstatusbargetunicode', '_guictrlstatusbarissimple', 
286
+            '_guictrlstatusbarresize', '_guictrlstatusbarsetbkcolor', 
287
+            '_guictrlstatusbarseticon', '_guictrlstatusbarsetminheight', 
288
+            '_guictrlstatusbarsetparts', '_guictrlstatusbarsetsimple', 
289
+            '_guictrlstatusbarsettext', '_guictrlstatusbarsettip', 
290
+            '_guictrlstatusbarsetunicode', '_guictrlstatusbarshowhide', 
291
+            '_guictrltabdeleteallitems', '_guictrltabdeleteitem', 
292
+            '_guictrltabdeselectall', '_guictrltabgetcurfocus', 
293
+            '_guictrltabgetcursel', '_guictrltabgetextendedstyle', 
294
+            '_guictrltabgetitemcount', '_guictrltabgetitemrect', 
295
+            '_guictrltabgetrowcount', '_guictrltabgetunicodeformat', 
296
+            '_guictrltabhighlightitem', '_guictrltabsetcurfocus', 
297
+            '_guictrltabsetcursel', '_guictrltabsetmintabwidth', 
298
+            '_guictrltabsetunicodeformat', '_guictrltreeviewdeleteallitems', 
299
+            '_guictrltreeviewdeleteitem', '_guictrltreeviewexpand', 
300
+            '_guictrltreeviewgetbkcolor', '_guictrltreeviewgetcount', 
301
+            '_guictrltreeviewgetindent', '_guictrltreeviewgetlinecolor', 
302
+            '_guictrltreeviewgetparenthandle', '_guictrltreeviewgetparentid', 
303
+            '_guictrltreeviewgetstate', '_guictrltreeviewgettext', 
304
+            '_guictrltreeviewgettextcolor', '_guictrltreeviewgettree', 
305
+            '_guictrltreeviewinsertitem', '_guictrltreeviewsetbkcolor', 
306
+            '_guictrltreeviewseticon', '_guictrltreeviewsetindent', 
307
+            '_guictrltreeviewsetlinecolor', '_guictrltreeviewsetstate', 
308
+            '_guictrltreeviewsettext', '_guictrltreeviewsettextcolor', 
309
+            '_guictrltreeviewsort', '_ie_example', '_ie_introduction', 
310
+            '_ie_versioninfo', '_ieaction', '_ieattach', '_iebodyreadhtml', 
311
+            '_iebodyreadtext', '_iebodywritehtml', '_iecreate', 
312
+            '_iecreateembedded', '_iedocgetobj', '_iedocinserthtml', 
313
+            '_iedocinserttext', '_iedocreadhtml', '_iedocwritehtml', 
314
+            '_ieerrorhandlerderegister', '_ieerrorhandlerregister', 
315
+            '_ieerrornotify', '_ieformelementcheckboxselect', 
316
+            '_ieformelementgetcollection', '_ieformelementgetobjbyname', 
317
+            '_ieformelementgetvalue', '_ieformelementoptionselect', 
318
+            '_ieformelementradioselect', '_ieformelementsetvalue', 
319
+            '_ieformgetcollection', '_ieformgetobjbyname', '_ieformimageclick', 
320
+            '_ieformreset', '_ieformsubmit', '_ieframegetcollection', 
321
+            '_ieframegetobjbyname', '_iegetobjbyname', 
322
+            '_ieheadinserteventscript', '_ieimgclick', '_ieimggetcollection', 
323
+            '_ieisframeset', '_ielinkclickbyindex', '_ielinkclickbytext', 
324
+            '_ielinkgetcollection', '_ieloadwait', '_ieloadwaittimeout', 
325
+            '_ienavigate', '_iepropertyget', '_iepropertyset', '_iequit', 
326
+            '_ietablegetcollection', '_ietablewritetoarray', 
327
+            '_ietagnameallgetcollection', '_ietagnamegetcollection', '_getip', 
328
+            '_inetexplorercapable', '_inetgetsource', '_inetmail', 
329
+            '_inetsmtpmail', '_tcpiptoname', '_degree', '_mathcheckdiv', 
330
+            '_max', '_min', '_radian', '_choosecolor', '_choosefont', 
331
+            '_clipputfile', '_iif', '_ispressed', '_mousetrap', '_singleton', 
332
+            '_processgetname', '_processgetpriority', '_rundos', 
333
+            '_sendmessage', '_soundclose', '_soundlength', '_soundopen', 
334
+            '_soundpause', '_soundplay', '_soundpos', '_soundresume', 
335
+            '_soundseek', '_soundstatus', '_soundstop', '_sqlite_changes', 
336
+            '_sqlite_close', '_sqlite_display2dresult', '_sqlite_encode', 
337
+            '_sqlite_errcode', '_sqlite_errmsg', '_sqlite_escape', 
338
+            '_sqlite_exec', '_sqlite_fetchdata', '_sqlite_fetchnames', 
339
+            '_sqlite_gettable', '_sqlite_gettable2d', 
340
+            '_sqlite_lastinsertrowid', '_sqlite_libversion', '_sqlite_open', 
341
+            '_sqlite_query', '_sqlite_queryfinalize', '_sqlite_queryreset', 
342
+            '_sqlite_querysinglerow', '_sqlite_savemode', '_sqlite_settimeout', 
343
+            '_sqlite_shutdown', '_sqlite_sqliteexe', '_sqlite_startup', 
344
+            '_sqlite_totalchanges', '_hextostring', '_stringaddcomma', 
345
+            '_stringbetween', '_stringencrypt', '_stringinsert', 
346
+            '_stringproper', '_stringrepeat', '_stringreverse', '_stringtohex', 
347
+            '_viclose', '_viexeccommand', '_vifindgpib', '_vigpibbusreset', 
348
+            '_vigtl', '_viopen', '_visetattribute', '_visettimeout'
349
+            ),
350
+        5 => array(
351
+            '#include', '#include-once', '#notrayicon'
352
+            ),
353
+        6 => array(
354
+            '#forceref', '#compiler_allow_decompile', '#compiler_au3check_dat', 
355
+            '#compiler_au3check_parameters', 
356
+            '#compiler_au3check_stop_onwarning', '#compiler_aut2exe', 
357
+            '#compiler_autoit3', '#compiler_compression', '#compiler_icon', 
358
+            '#compiler_outfile', '#compiler_outfile_type', 
359
+            '#compiler_passphrase', '#compiler_plugin_funcs', 
360
+            '#compiler_prompt', '#compiler_res_comment', 
361
+            '#compiler_res_description', '#compiler_res_field', 
362
+            '#compiler_res_field1name', '#compiler_res_field1value', 
363
+            '#compiler_res_field2name', '#compiler_res_field2value', 
364
+            '#compiler_res_fileversion', 
365
+            '#compiler_res_fileversion_autoincrement', 
366
+            '#compiler_res_legalcopyright', '#compiler_run_after', 
367
+            '#compiler_run_au3check', '#compiler_run_before', 
368
+            '#compiler_run_cvswrapper', '#compiler_run_tidy', 
369
+            '#compiler_tidy_stop_onerror', '#compiler_useupx', '#endregion', 
370
+            '#region', '#run_debug_mode', '#tidy_parameters'
371
+            )
372
+        ),
373
+    'SYMBOLS' => array(
374
+        '(', ')', '[', ']', '&', '*', '/', '<', '>', '+', '-', '^', '=', '.'
375
+        ),
376
+    'CASE_SENSITIVE' => array(
377
+        GESHI_COMMENTS => false,
378
+        1 => false,
379
+        2 => false,
380
+        3 => false,
381
+        4 => false,
382
+        5 => false,
383
+        6 => false
384
+        ),
385
+    'STYLES' => array(
386
+        'KEYWORDS' => array(
387
+            1 => 'color: #0000FF; font-weight: bold;',
388
+            2 => 'color: #800000; font-weight: bold;',
389
+            3 => 'color: #000080; font-style: italic; font-weight: bold;',
390
+            4 => 'color: #0080FF; font-style: italic; font-weight: bold;',
391
+            5 => 'color: #F000FF; font-style: italic;',
392
+            6 => 'color: #A00FF0; font-style: italic;'
393
+            ),
394
+        'COMMENTS' => array(
395
+            0 => 'font-style: italic; color: #009933;',
396
+            'MULTI' => 'font-style: italic; color: #669900;'
397
+            ),
398
+        'ESCAPE_CHAR' => array(
399
+            0 => ''
400
+            ),
401
+        'BRACKETS' => array(
402
+            0 => 'color: #FF0000; font-weight: bold;'
403
+            ),
404
+        'STRINGS' => array(
405
+            0 => 'font-weight: bold; color: #008080;'
406
+            ),
407
+        'NUMBERS' => array(
408
+            0 => 'color: #AC00A9; font-style: italic; font-weight: bold;'
409
+            ),
410
+        'METHODS' => array(
411
+            1 => 'color: #0000FF; font-style: italic; font-weight: bold;'
412
+            ),
413
+        'SYMBOLS' => array(
414
+            0 => 'color: #FF0000; font-weight: bold;'
415
+            ),
416
+        'REGEXPS' => array(
417
+            0 => 'font-weight: bold; color: #AA0000;'
418
+            ),
419
+        'SCRIPT' => array(
420
+            0 => '',
421
+            1 => '',
422
+            2 => '',
423
+            3 => '',
424
+            4 => '',
425
+            5 => '',
426
+            6 => ''
427
+            )
428
+            ),
429
+    'URLS' => array(
430
+        1 => 'http://www.autoitscript.com/autoit3/docs/keywords.htm',
431
+        2 => 'http://www.autoitscript.com/autoit3/docs/macros.htm',
432
+        3 => 'http://www.autoitscript.com/autoit3/docs/functions/{FNAME}.htm',
433
+        4 => ''
434
+        ),
435
+    'OOLANG' => true,
436
+    'OBJECT_SPLITTERS' => array(
437
+        1 => '.'
438
+        ),
439
+    'REGEXPS' => array(
440
+        0 => '[\\$%@]+[a-zA-Z_][a-zA-Z0-9_]*'
441
+        ),
442
+    'STRICT_MODE_APPLIES' => GESHI_MAYBE,
443
+    'SCRIPT_DELIMITERS' => array(
444
+        ),
445
+    'HIGHLIGHT_STRICT_BLOCK' => array(
446
+        0 => true,
447
+        1 => true,
448
+        2 => true,
449
+        3 => true
450
+        )
451
+);
452
+
453
+?>

+ 205 - 0
plugins/geshi/bash.php View File

@@ -0,0 +1,205 @@
1
+<?php
2
+/*************************************************************************************
3
+ * bash.php
4
+ * --------
5
+ * Author: Andreas Gohr (andi@splitbrain.org)
6
+ * Copyright: (c) 2004 Andreas Gohr, Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/08/20
9
+ *
10
+ * BASH language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2007/09/05 (1.0.7.21)
15
+ *  -  PARSER_CONTROL patch using SF #1788408 (BenBE)
16
+ * 2007/06/11 (1.0.7.20)
17
+ *  -  Added a lot of keywords (BenBE / Jan G)
18
+ * 2004/11/27 (1.0.2)
19
+ *  -  Added support for multiple object splitters
20
+ * 2004/10/27 (1.0.1)
21
+ *   -  Added support for URLs
22
+ * 2004/08/20 (1.0.0)
23
+ *   -  First Release
24
+ *
25
+ * TODO (updated 2004/11/27)
26
+ * -------------------------
27
+ * * Get symbols working
28
+ * * Highlight builtin vars
29
+ *
30
+ *************************************************************************************
31
+ *
32
+ *     This file is part of GeSHi.
33
+ *
34
+ *   GeSHi is free software; you can redistribute it and/or modify
35
+ *   it under the terms of the GNU General Public License as published by
36
+ *   the Free Software Foundation; either version 2 of the License, or
37
+ *   (at your option) any later version.
38
+ *
39
+ *   GeSHi is distributed in the hope that it will be useful,
40
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
41
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
42
+ *   GNU General Public License for more details.
43
+ *
44
+ *   You should have received a copy of the GNU General Public License
45
+ *   along with GeSHi; if not, write to the Free Software
46
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
47
+ *
48
+ ************************************************************************************/
49
+
50
+$language_data = array (
51
+    'LANG_NAME' => 'Bash',
52
+    // Bash DOES have single line comments with # markers. But bash also has
53
+    // the  $# variable, so comments need special handling (see sf.net
54
+    // 1564839)
55
+	'COMMENT_SINGLE' => array('#'),
56
+	'COMMENT_MULTI' => array(),
57
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
58
+	'QUOTEMARKS' => array("'", '"'),
59
+	'ESCAPE_CHAR' => '\\',
60
+	'KEYWORDS' => array(
61
+		1 => array(
62
+			'case', 'do', 'done', 'elif', 'else', 'esac', 'fi', 'for', 'function',
63
+			'if', 'in', 'select', 'set', 'then', 'until', 'while', 'time'
64
+			),
65
+		2 => array(
66
+			'aclocal', 'aconnect', 'aplay', 'apm', 'apmsleep', 'apropos',
67
+			'ar', 'arch', 'arecord', 'as', 'as86', 'autoconf', 'autoheader',
68
+			'automake', 'awk',
69
+			'basename', 'bc', 'bison', 'bunzip2', 'bzip2', 'bzcat',
70
+			'bzcmp', 'bzdiff', 'bzegrep', 'bzegrep', 'bzfgrep', 'bzgrep',
71
+			'bzip2', 'bzip2recover', 'bzless', 'bzmore',
72
+			'c++', 'cal', 'cat', 'chattr', 'cc', 'cdda2wav', 'cdparanoia',
73
+			'cdrdao', 'cd-read', 'cdrecord', 'chfn', 'chgrp', 'chmod',
74
+			'chown', 'chroot', 'chsh', 'chvt', 'clear', 'cmp', 'comm', 'co',
75
+			'col', 'cp', 'cpio', 'cpp', 'cut',
76
+			'date', 'dd', 'dc', 'dcop', 'deallocvt', 'df', 'diff', 'diff3', 'dir',
77
+			'dircolors', 'directomatic', 'dirname', 'dmesg',
78
+			'dnsdomainname', 'domainname', 'du', 'dumpkeys',
79
+			'ed', 'egrep', 'env', 'expr',
80
+			'false', 'fbset', 'fgconsole','fgrep', 'find', 'file', 'flex', 'flex++',
81
+			'fmt', 'free', 'ftp', 'funzip', 'fuser',
82
+			'g++', 'gawk', 'gc','gcc', 'gdb', 'getent', 'getkeycodes',
83
+			'getopt', 'gettext', 'gettextize', 'gimp', 'gimp-remote',
84
+			'gimptool', 'gmake', 'gocr', 'grep', 'groups', 'gs', 'gunzip',
85
+			'gzexe', 'gzip',
86
+			'head', 'hexdump', 'hostname',
87
+			'id', 'igawk', 'install',
88
+			'join',
89
+			'kbd_mode','kbdrate', 'kdialog', 'kfile', 'kill', 'killall',
90
+			'last', 'lastb', 'ld', 'ld86', 'ldd', 'less', 'lex', 'link', 'ln', 'loadkeys',
91
+			'loadunimap', 'locate', 'lockfile', 'login', 'logname',
92
+			'lp', 'lpr', 'ls', 'lsattr', 'lsmod', 'lsmod.old', 'lynx',
93
+			'm4', 'make', 'man', 'mapscrn', 'mesg', 'mkdir', 'mkfifo',
94
+			'mknod', 'mktemp', 'more', 'mount', 'msgfmt', 'mv',
95
+			'namei', 'nano', 'nasm', 'nawk', 'netstat', 'nice',
96
+			'nisdomainname', 'nl', 'nm', 'nm86', 'nmap', 'nohup', 'nop',
97
+			'od', 'openvt',
98
+			'passwd', 'patch', 'pcregrep', 'pcretest', 'perl', 'perror',
99
+			'pgawk', 'pidof', 'ping', 'pr', 'procmail', 'prune', 'ps', 'pstree',
100
+			'ps2ascii', 'ps2epsi', 'ps2frag', 'ps2pdf', 'ps2ps', 'psbook',
101
+			'psmerge', 'psnup', 'psresize', 'psselect', 'pstops',
102
+			'rbash', 'rcs', 'read', 'readlink', 'red', 'resizecons', 'rev', 'rm',
103
+			'rmdir', 'run-parts',
104
+			'sash', 'sed', 'setfont', 'setkeycodes', 'setleds',
105
+			'setmetamode', 'setserial', 'scp', 'seq', 'setterm', 'sh',
106
+			'showkey', 'shred', 'size', 'size86', 'skill', 'sleep', 'slogin',
107
+			'snice', 'sort', 'sox', 'split', 'ssed', 'ssh', 'ssh-add',
108
+			'ssh-agent', 'ssh-keygen', 'ssh-keyscan', 'stat', 'strings',
109
+			'strip', 'stty', 'su', 'sudo', 'suidperl', 'sum', 'sync',
110
+			'tac', 'tail', 'tar', 'tee', 'tempfile', 'touch', 'tr', 'true',
111
+			'umount', 'uname', 'unicode_start', 'unicode_stop', 'uniq',
112
+			'unlink', 'unzip', 'updatedb', 'updmap', 'uptime', 'users',
113
+			'utmpdump', 'uuidgen',
114
+			'vdir', 'vmstat',
115
+			'w', 'wall', 'wc', 'wget', 'whatis', 'whereis', 'which', 'who',
116
+			'whoami', 'write',
117
+			'xargs', 'xhost', 'xmodmap', 'xset',
118
+			'yacc', 'yes', 'ypdomainname',
119
+			'zcat', 'zcmp', 'zdiff', 'zegrep', 'zfgrep', 'zforce', 'zgrep',
120
+			'zip', 'zless', 'zmore', 'znew', 'zsh', ' zsoelim'
121
+			),
122
+		3 => array(
123
+			'alias', 'bg', 'bind', 'break', 'builtin', 'cd', 'command',
124
+			'compgen', 'complete', 'continue', 'declare', 'dirs', 'disown',
125
+			'echo', 'enable', 'eval', 'exec', 'exit', 'export', 'fc',
126
+			'fg', 'getopts', 'hash', 'help', 'history', 'jobs', 'kill', 'let',
127
+			'local', 'logout', 'popd', 'printf', 'pushd', 'pwd', 'readonly',
128
+			'return', 'shift', 'shopt', 'source', 'suspend', 'test', 'times',
129
+			'trap', 'type', 'typeset', 'ulimit', 'umask', 'unalias', 'unset',
130
+			'wait'
131
+			)
132
+		),
133
+	'SYMBOLS' => array(
134
+		'(', ')', '[', ']', '!', '@', '%', '&', '*', '|', '/', '<', '>', ';;'
135
+		),
136
+	'CASE_SENSITIVE' => array(
137
+		GESHI_COMMENTS => false,
138
+		1 => true,
139
+		2 => true,
140
+		3 => true
141
+		),
142
+	'STYLES' => array(
143
+		'KEYWORDS' => array(
144
+			1 => 'color: #000000; font-weight: bold;',
145
+			2 => 'color: #c20cb9; font-weight: bold;',
146
+			3 => 'color: #7a0874; font-weight: bold;'
147
+			),
148
+		'COMMENTS' => array(
149
+			0 => 'color: #808080; font-style: italic;'
150
+			),
151
+		'ESCAPE_CHAR' => array(
152
+			0 => 'color: #000099; font-weight: bold;'
153
+			),
154
+		'BRACKETS' => array(
155
+			0 => 'color: #7a0874; font-weight: bold;'
156
+			),
157
+		'STRINGS' => array(
158
+			0 => 'color: #ff0000;'
159
+			),
160
+		'NUMBERS' => array(
161
+			0 => 'color: #000000;'
162
+			),
163
+		'METHODS' => array(
164
+			),
165
+		'SYMBOLS' => array(
166
+			0 => 'color: #000000; font-weight: bold;'
167
+			),
168
+		'REGEXPS' => array(
169
+			0 => 'color: #007800;',
170
+			1 => 'color: #007800;',
171
+			2 => 'color: #007800;',
172
+//			3 => 'color: #808080; font-style: italic;',
173
+			4 => 'color: #007800;'
174
+			),
175
+		'SCRIPT' => array(
176
+			)
177
+		),
178
+	'URLS' => array(
179
+		1 => '',
180
+		2 => '',
181
+		3 => ''
182
+	),
183
+	'OOLANG' => false,
184
+	'OBJECT_SPLITTERS' => array(
185
+		),
186
+	'REGEXPS' => array(
187
+		0 => "\\$\\{[a-zA-Z_][a-zA-Z0-9_]*?\\}",
188
+		1 => "\\$[a-zA-Z_][a-zA-Z0-9_]*",
189
+		2 => "([a-zA-Z_][a-zA-Z0-9_]*)=",
190
+//		3 => "(?<!\\$)#[^\n]*",
191
+		4 => "\\$[*#\$\\-\\?!]"
192
+		),
193
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
194
+	'SCRIPT_DELIMITERS' => array(
195
+		),
196
+	'HIGHLIGHT_STRICT_BLOCK' => array(
197
+		),
198
+	'PARSER_CONTROL' => array(
199
+	    'COMMENTS' => array(
200
+	       'DISALLOWED_BEFORE' => '$'
201
+        )
202
+    )
203
+);
204
+
205
+?>

+ 336 - 0
plugins/geshi/basic4gl.php View File

@@ -0,0 +1,336 @@
1
+<?php
2
+/*************************************************************************************
3
+ * basic4gl.php
4
+ * ---------------------------------
5
+ * Author: Matthew Webb (bmatthew1@blueyonder.co.uk)
6
+ * Copyright: (c) 2004 Matthew Webb (http://matthew-4gl.wikispaces.com)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2007/09/15
9
+ *
10
+ * Basic4GL language file for GeSHi.
11
+ *
12
+ * You can find the Basic4GL Website at (http://www.basic4gl.net/)
13
+ *
14
+ * CHANGES
15
+ * -------
16
+ * 2007/09/17 (1.0.0)
17
+ *  -  First Release
18
+ *
19
+ * TODO (updated 2007/09/17)
20
+ * -------------------------
21
+ * Make sure all the OpenGL and Basic4GL commands have been added and are complete.
22
+ *
23
+ *************************************************************************************
24
+ *
25
+ *     This file is part of GeSHi.
26
+ *
27
+ *   GeSHi is free software; you can redistribute it and/or modify
28
+ *   it under the terms of the GNU General Public License as published by
29
+ *   the Free Software Foundation; either version 2 of the License, or
30
+ *   (at your option) any later version.
31
+ *
32
+ *   GeSHi is distributed in the hope that it will be useful,
33
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
34
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
35
+ *   GNU General Public License for more details.
36
+ *
37
+ *   You should have received a copy of the GNU General Public License
38
+ *   along with GeSHi; if not, write to the Free Software
39
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
40
+ *
41
+ ************************************************************************************/
42
+
43
+$language_data = array (
44
+	'LANG_NAME' => 'Basic4GL',
45
+    'COMMENT_SINGLE' => array(1 => "'"),
46
+    'COMMENT_MULTI' => array(),
47
+    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
48
+    'QUOTEMARKS' => array('"'),
49
+    'ESCAPE_CHAR' => '',
50
+    'KEYWORDS' => array(
51
+		1 => array(
52
+
53
+			// Navy Blue Bold Keywords
54
+
55
+			'true','rnd_max','m_pi','m_e','false','VK_ZOOM','VK_UP','VK_TAB','VK_SUBTRACT','VK_SPACE','VK_SNAPSHOT',
56
+			'VK_SHIFT','VK_SEPARATOR','VK_SELECT','VK_SCROLL','VK_RWIN','VK_RSHIFT','VK_RMENU','VK_RIGHT','VK_RETURN',
57
+			'VK_RCONTROL','VK_RBUTTON','VK_PROCESSKEY','VK_PRIOR','VK_PRINT','VK_PLAY','VK_PAUSE','VK_NUMPAD9','VK_NUMPAD8',
58
+			'VK_NUMPAD7','VK_NUMPAD6','VK_NUMPAD5','VK_NUMPAD4','VK_NUMPAD3','VK_NUMPAD2','VK_NUMPAD1','VK_NUMPAD0',
59
+			'VK_NUMLOCK','VK_NONCONVERT','VK_NEXT','VK_MULTIPLY','VK_MODECHANGE','VK_MENU','VK_MBUTTON','VK_LWIN',
60
+			'VK_LSHIFT','VK_LMENU','VK_LEFT','VK_LCONTROL','VK_LBUTTON','VK_KANJI','VK_KANA','VK_JUNJA','VK_INSERT',
61
+			'VK_HOME','VK_HELP','VK_HANJA','VK_HANGUL','VK_HANGEUL','VK_FINAL','VK_F9','VK_F8','VK_F7','VK_F6','VK_F5',
62
+			'VK_F4','VK_F3','VK_F24','VK_F23','VK_F22','VK_F21','VK_F20','VK_F2','VK_F19','VK_F18','VK_F17','VK_F16',
63
+			'VK_F15','VK_F14','VK_F13','VK_F12','VK_F11','VK_F10','VK_F1','VK_EXSEL','VK_EXECUTE','VK_ESCAPE','VK_EREOF',
64
+			'VK_END','VK_DOWN','VK_DIVIDE','VK_DELETE','VK_DECIMAL','VK_CRSEL','VK_CONVERT','VK_CONTROL','VK_CLEAR',
65
+			'VK_CAPITAL','VK_CANCEL','VK_BACK','VK_ATTN','VK_APPS','VK_ADD','VK_ACCEPT','TEXT_SIMPLE','TEXT_OVERLAID',
66
+			'TEXT_BUFFERED','SPR_TILEMAP','SPR_SPRITE','SPR_INVALID','MOUSE_RBUTTON','MOUSE_MBUTTON','MOUSE_LBUTTON',
67
+			'GL_ZOOM_Y','GL_ZOOM_X','GL_ZERO','GL_XOR','GL_WIN_swap_hint','GL_WIN_draw_range_elements','GL_VIEWPORT_BIT',
68
+			'GL_VIEWPORT','GL_VERTEX_ARRAY_TYPE_EXT','GL_VERTEX_ARRAY_TYPE','GL_VERTEX_ARRAY_STRIDE_EXT','GL_VERTEX_ARRAY_STRIDE',
69
+			'GL_VERTEX_ARRAY_SIZE_EXT','GL_VERTEX_ARRAY_SIZE','GL_VERTEX_ARRAY_POINTER_EXT','GL_VERTEX_ARRAY_POINTER',
70
+			'GL_VERTEX_ARRAY_EXT','GL_VERTEX_ARRAY_COUNT_EXT','GL_VERTEX_ARRAY','GL_VERSION_1_1','GL_VERSION','GL_VENDOR',
71
+			'GL_V3F','GL_V2F','GL_UNSIGNED_SHORT','GL_UNSIGNED_INT','GL_UNSIGNED_BYTE','GL_UNPACK_SWAP_BYTES','GL_UNPACK_SKIP_ROWS',
72
+			'GL_UNPACK_SKIP_PIXELS','GL_UNPACK_ROW_LENGTH','GL_UNPACK_LSB_FIRST','GL_UNPACK_ALIGNMENT','GL_TRUE','GL_TRIANGLE_STRIP',
73
+			'GL_TRIANGLE_FAN','GL_TRIANGLES','GL_TRANSFORM_BIT','GL_TEXTURE_WRAP_T','GL_TEXTURE_WRAP_S','GL_TEXTURE_WIDTH',
74
+			'GL_TEXTURE_STACK_DEPTH','GL_TEXTURE_RESIDENT','GL_TEXTURE_RED_SIZE','GL_TEXTURE_PRIORITY','GL_TEXTURE_MIN_FILTER',
75
+			'GL_TEXTURE_MATRIX','GL_TEXTURE_MAG_FILTER','GL_TEXTURE_LUMINANCE_SIZE','GL_TEXTURE_INTERNAL_FORMAT','GL_TEXTURE_INTENSITY_SIZE',
76
+			'GL_TEXTURE_HEIGHT','GL_TEXTURE_GREEN_SIZE','GL_TEXTURE_GEN_T','GL_TEXTURE_GEN_S','GL_TEXTURE_GEN_R','GL_TEXTURE_GEN_Q',
77
+			'GL_TEXTURE_GEN_MODE','GL_TEXTURE_ENV_MODE','GL_TEXTURE_ENV_COLOR','GL_TEXTURE_ENV','GL_TEXTURE_COORD_ARRAY_TYPE_EXT',
78
+			'GL_TEXTURE_COORD_ARRAY_TYPE','GL_TEXTURE_COORD_ARRAY_STRIDE_EXT','GL_TEXTURE_COORD_ARRAY_STRIDE','GL_TEXTURE_COORD_ARRAY_SIZE_EXT',
79
+			'GL_TEXTURE_COORD_ARRAY_SIZE','GL_TEXTURE_COORD_ARRAY_POINTER_EXT','GL_TEXTURE_COORD_ARRAY_POINTER','GL_TEXTURE_COORD_ARRAY_EXT',
80
+			'GL_TEXTURE_COORD_ARRAY_COUNT_EXT','GL_TEXTURE_COORD_ARRAY','GL_TEXTURE_COMPONENTS','GL_TEXTURE_BORDER_COLOR','GL_TEXTURE_BORDER',
81
+			'GL_TEXTURE_BLUE_SIZE','GL_TEXTURE_BIT','GL_TEXTURE_BINDING_2D','GL_TEXTURE_BINDING_1D','GL_TEXTURE_ALPHA_SIZE',
82
+			'GL_TEXTURE_2D','GL_TEXTURE_1D','GL_TEXTURE9_ARB','GL_TEXTURE9','GL_TEXTURE8_ARB','GL_TEXTURE8','GL_TEXTURE7_ARB',
83
+			'GL_TEXTURE7','GL_TEXTURE6_ARB','GL_TEXTURE6','GL_TEXTURE5_ARB','GL_TEXTURE5','GL_TEXTURE4_ARB','GL_TEXTURE4',
84
+			'GL_TEXTURE3_ARB','GL_TEXTURE31_ARB','GL_TEXTURE31','GL_TEXTURE30_ARB','GL_TEXTURE30','GL_TEXTURE3','GL_TEXTURE2_ARB',
85
+			'GL_TEXTURE29_ARB','GL_TEXTURE29','GL_TEXTURE28_ARB','GL_TEXTURE28','GL_TEXTURE27_ARB','GL_TEXTURE27','GL_TEXTURE26_ARB',
86
+			'GL_TEXTURE26','GL_TEXTURE25_ARB','GL_TEXTURE25','GL_TEXTURE24_ARB','GL_TEXTURE24','GL_TEXTURE23_ARB','GL_TEXTURE23',
87
+			'GL_TEXTURE22_ARB','GL_TEXTURE22','GL_TEXTURE21_ARB','GL_TEXTURE21','GL_TEXTURE20_ARB','GL_TEXTURE20','GL_TEXTURE2',
88
+			'GL_TEXTURE1_ARB','GL_TEXTURE19_ARB','GL_TEXTURE19','GL_TEXTURE18_ARB','GL_TEXTURE18','GL_TEXTURE17_ARB',
89
+			'GL_TEXTURE17','GL_TEXTURE16_ARB','GL_TEXTURE16','GL_TEXTURE15_ARB','GL_TEXTURE15','GL_TEXTURE14_ARB','GL_TEXTURE14',
90
+			'GL_TEXTURE13_ARB','GL_TEXTURE13','GL_TEXTURE12_ARB','GL_TEXTURE12','GL_TEXTURE11_ARB','GL_TEXTURE11','GL_TEXTURE10_ARB',
91
+			'GL_TEXTURE10','GL_TEXTURE1','GL_TEXTURE0_ARB','GL_TEXTURE0','GL_TEXTURE','GL_T4F_V4F','GL_T4F_C4F_N3F_V4F','GL_T2F_V3F',
92
+			'GL_T2F_N3F_V3F','GL_T2F_C4UB_V3F','GL_T2F_C4F_N3F_V3F','GL_T2F_C3F_V3F','GL_T','GL_SUBPIXEL_BITS','GL_STEREO',
93
+			'GL_STENCIL_WRITEMASK','GL_STENCIL_VALUE_MASK','GL_STENCIL_TEST','GL_STENCIL_REF','GL_STENCIL_PASS_DEPTH_PASS',
94
+			'GL_STENCIL_PASS_DEPTH_FAIL','GL_STENCIL_INDEX','GL_STENCIL_FUNC','GL_STENCIL_FAIL','GL_STENCIL_CLEAR_VALUE',
95
+			'GL_STENCIL_BUFFER_BIT','GL_STENCIL_BITS','GL_STENCIL','GL_STACK_UNDERFLOW','GL_STACK_OVERFLOW','GL_SRC_COLOR',
96
+			'GL_SRC_ALPHA_SATURATE','GL_SRC_ALPHA','GL_SPOT_EXPONENT','GL_SPOT_DIRECTION','GL_SPOT_CUTOFF','GL_SPHERE_MAP',
97
+			'GL_SPECULAR','GL_SOURCE2_RGB_EXT','GL_SOURCE2_RGB','GL_SOURCE2_ALPHA_EXT','GL_SOURCE2_ALPHA','GL_SOURCE1_RGB_EXT',
98
+			'GL_SOURCE1_RGB','GL_SOURCE1_ALPHA_EXT','GL_SOURCE1_ALPHA','GL_SOURCE0_RGB_EXT','GL_SOURCE0_RGB','GL_SOURCE0_ALPHA_EXT',
99
+			'GL_SOURCE0_ALPHA','GL_SMOOTH','GL_SHORT','GL_SHININESS','GL_SHADE_MODEL','GL_SET','GL_SELECTION_BUFFER_SIZE',
100
+			'GL_SELECTION_BUFFER_POINTER','GL_SELECT','GL_SCISSOR_TEST','GL_SCISSOR_BOX','GL_SCISSOR_BIT','GL_S','GL_RIGHT',
101
+			'GL_RGB_SCALE_EXT','GL_RGB_SCALE','GL_RGBA_MODE','GL_RGBA8','GL_RGBA4','GL_RGBA2','GL_RGBA16','GL_RGBA12','GL_RGBA',
102
+			'GL_RGB8','GL_RGB5_A1','GL_RGB5','GL_RGB4','GL_RGB16','GL_RGB12','GL_RGB10_A2','GL_RGB10','GL_RGB','GL_RETURN',
103
+			'GL_REPLACE','GL_REPEAT','GL_RENDER_MODE','GL_RENDERER','GL_RENDER','GL_RED_SCALE','GL_RED_BITS','GL_RED_BIAS',
104
+			'GL_RED','GL_READ_BUFFER','GL_R3_G3_B2','GL_R','GL_QUAD_STRIP','GL_QUADS','GL_QUADRATIC_ATTENUATION','GL_Q',
105
+			'GL_PROXY_TEXTURE_2D','GL_PROXY_TEXTURE_1D','GL_PROJECTION_STACK_DEPTH','GL_PROJECTION_MATRIX','GL_PROJECTION',
106
+			'GL_PRIMARY_COLOR_EXT','GL_PRIMARY_COLOR','GL_PREVIOUS_EXT','GL_PREVIOUS','GL_POSITION','GL_POLYGON_TOKEN',
107
+			'GL_POLYGON_STIPPLE_BIT','GL_POLYGON_STIPPLE','GL_POLYGON_SMOOTH_HINT','GL_POLYGON_SMOOTH','GL_POLYGON_OFFSET_UNITS',
108
+			'GL_POLYGON_OFFSET_POINT','GL_POLYGON_OFFSET_LINE','GL_POLYGON_OFFSET_FILL','GL_POLYGON_OFFSET_FACTOR','GL_POLYGON_MODE',
109
+			'GL_POLYGON_BIT','GL_POLYGON','GL_POINT_TOKEN','GL_POINT_SMOOTH_HINT','GL_POINT_SMOOTH','GL_POINT_SIZE_RANGE',
110
+			'GL_POINT_SIZE_GRANULARITY','GL_POINT_SIZE','GL_POINT_BIT','GL_POINTS','GL_POINT','GL_PIXEL_MODE_BIT',
111
+			'GL_PIXEL_MAP_S_TO_S_SIZE','GL_PIXEL_MAP_S_TO_S','GL_PIXEL_MAP_R_TO_R_SIZE','GL_PIXEL_MAP_R_TO_R','GL_PIXEL_MAP_I_TO_R_SIZE',
112
+			'GL_PIXEL_MAP_I_TO_R','GL_PIXEL_MAP_I_TO_I_SIZE','GL_PIXEL_MAP_I_TO_I','GL_PIXEL_MAP_I_TO_G_SIZE','GL_PIXEL_MAP_I_TO_G',
113
+			'GL_PIXEL_MAP_I_TO_B_SIZE','GL_PIXEL_MAP_I_TO_B','GL_PIXEL_MAP_I_TO_A_SIZE','GL_PIXEL_MAP_I_TO_A','GL_PIXEL_MAP_G_TO_G_SIZE',
114
+			'GL_PIXEL_MAP_G_TO_G','GL_PIXEL_MAP_B_TO_B_SIZE','GL_PIXEL_MAP_B_TO_B','GL_PIXEL_MAP_A_TO_A_SIZE','GL_PIXEL_MAP_A_TO_A',
115
+			'GL_PHONG_WIN','GL_PHONG_HINT_WIN','GL_PERSPECTIVE_CORRECTION_HINT','GL_PASS_THROUGH_TOKEN','GL_PACK_SWAP_BYTES',
116
+			'GL_PACK_SKIP_ROWS','GL_PACK_SKIP_PIXELS','GL_PACK_ROW_LENGTH','GL_PACK_LSB_FIRST','GL_PACK_ALIGNMENT','GL_OUT_OF_MEMORY',
117
+			'GL_OR_REVERSE','GL_OR_INVERTED','GL_ORDER','GL_OR','GL_OPERAND2_RGB_EXT','GL_OPERAND2_RGB','GL_OPERAND2_ALPHA_EXT',
118
+			'GL_OPERAND2_ALPHA','GL_OPERAND1_RGB_EXT','GL_OPERAND1_RGB','GL_OPERAND1_ALPHA_EXT','GL_OPERAND1_ALPHA','GL_OPERAND0_RGB_EXT',
119
+			'GL_OPERAND0_RGB','GL_OPERAND0_ALPHA_EXT','GL_OPERAND0_ALPHA','GL_ONE_MINUS_SRC_COLOR','GL_ONE_MINUS_SRC_ALPHA',
120
+			'GL_ONE_MINUS_DST_COLOR','GL_ONE_MINUS_DST_ALPHA','GL_ONE','GL_OBJECT_PLANE','GL_OBJECT_LINEAR','GL_NO_ERROR',
121
+			'GL_NOTEQUAL','GL_NORMAL_ARRAY_TYPE_EXT','GL_NORMAL_ARRAY_TYPE','GL_NORMAL_ARRAY_STRIDE_EXT','GL_NORMAL_ARRAY_STRIDE',
122
+			'GL_NORMAL_ARRAY_POINTER_EXT','GL_NORMAL_ARRAY_POINTER','GL_NORMAL_ARRAY_EXT','GL_NORMAL_ARRAY_COUNT_EXT',
123
+			'GL_NORMAL_ARRAY','GL_NORMALIZE','GL_NOR','GL_NOOP','GL_NONE','GL_NICEST','GL_NEVER','GL_NEAREST_MIPMAP_NEAREST','GL_NEAREST_MIPMAP_LINEAR',
124
+			'GL_NEAREST','GL_NAND','GL_NAME_STACK_DEPTH','GL_N3F_V3F','GL_MULT','GL_MODULATE','GL_MODELVIEW_STACK_DEPTH','GL_MODELVIEW_MATRIX',
125
+			'GL_MODELVIEW','GL_MAX_VIEWPORT_DIMS','GL_MAX_TEXTURE_UNITS_ARB','GL_MAX_TEXTURE_UNITS','GL_MAX_TEXTURE_STACK_DEPTH',
126
+			'GL_MAX_TEXTURE_SIZE','GL_MAX_PROJECTION_STACK_DEPTH','GL_MAX_PIXEL_MAP_TABLE','GL_MAX_NAME_STACK_DEPTH','GL_MAX_MODELVIEW_STACK_DEPTH',
127
+			'GL_MAX_LIST_NESTING','GL_MAX_LIGHTS','GL_MAX_EVAL_ORDER','GL_MAX_ELEMENTS_VERTICES_WIN','GL_MAX_ELEMENTS_INDICES_WIN',
128
+			'GL_MAX_CLIP_PLANES','GL_MAX_CLIENT_ATTRIB_STACK_DEPTH','GL_MAX_ATTRIB_STACK_DEPTH','GL_MATRIX_MODE','GL_MAP_STENCIL',
129
+			'GL_MAP_COLOR','GL_MAP2_VERTEX_4','GL_MAP2_VERTEX_3','GL_MAP2_TEXTURE_COORD_4','GL_MAP2_TEXTURE_COORD_3','GL_MAP2_TEXTURE_COORD_2',
130
+			'GL_MAP2_TEXTURE_COORD_1','GL_MAP2_NORMAL','GL_MAP2_INDEX','GL_MAP2_GRID_SEGMENTS','GL_MAP2_GRID_DOMAIN','GL_MAP2_COLOR_4',
131
+			'GL_MAP1_VERTEX_4','GL_MAP1_VERTEX_3','GL_MAP1_TEXTURE_COORD_4','GL_MAP1_TEXTURE_COORD_3','GL_MAP1_TEXTURE_COORD_2',
132
+			'GL_MAP1_TEXTURE_COORD_1','GL_MAP1_NORMAL','GL_MAP1_INDEX','GL_MAP1_GRID_SEGMENTS','GL_MAP1_GRID_DOMAIN',
133
+			'GL_MAP1_COLOR_4','GL_LUMINANCE_ALPHA','GL_LUMINANCE8_ALPHA8','GL_LUMINANCE8','GL_LUMINANCE6_ALPHA2','GL_LUMINANCE4_ALPHA4',
134
+			'GL_LUMINANCE4','GL_LUMINANCE16_ALPHA16','GL_LUMINANCE16','GL_LUMINANCE12_ALPHA4','GL_LUMINANCE12_ALPHA12','GL_LUMINANCE12',
135
+			'GL_LUMINANCE','GL_LOGIC_OP_MODE','GL_LOGIC_OP','GL_LOAD','GL_LIST_MODE','GL_LIST_INDEX','GL_LIST_BIT',
136
+			'GL_LIST_BASE','GL_LINE_WIDTH_RANGE','GL_LINE_WIDTH_GRANULARITY','GL_LINE_WIDTH','GL_LINE_TOKEN','GL_LINE_STRIP','GL_LINE_STIPPLE_REPEAT',
137
+			'GL_LINE_STIPPLE_PATTERN','GL_LINE_STIPPLE','GL_LINE_SMOOTH_HINT','GL_LINE_SMOOTH','GL_LINE_RESET_TOKEN','GL_LINE_LOOP',
138
+			'GL_LINE_BIT','GL_LINES','GL_LINEAR_MIPMAP_NEAREST','GL_LINEAR_MIPMAP_LINEAR','GL_LINEAR_ATTENUATION','GL_LINEAR',
139
+			'GL_LINE','GL_LIGHT_MODEL_TWO_SIDE','GL_LIGHT_MODEL_LOCAL_VIEWER','GL_LIGHT_MODEL_AMBIENT','GL_LIGHTING_BIT',
140
+			'GL_LIGHTING','GL_LIGHT7','GL_LIGHT6','GL_LIGHT5','GL_LIGHT4','GL_LIGHT3','GL_LIGHT2','GL_LIGHT1','GL_LIGHT0',
141
+			'GL_LESS','GL_LEQUAL','GL_LEFT','GL_KEEP','GL_INVERT','GL_INVALID_VALUE','GL_INVALID_OPERATION','GL_INVALID_ENUM','GL_INTERPOLATE_EXT',
142
+			'GL_INTERPOLATE','GL_INTENSITY8','GL_INTENSITY4','GL_INTENSITY16','GL_INTENSITY12','GL_INTENSITY','GL_INT',
143
+			'GL_INDEX_WRITEMASK','GL_INDEX_SHIFT','GL_INDEX_OFFSET','GL_INDEX_MODE','GL_INDEX_LOGIC_OP','GL_INDEX_CLEAR_VALUE','GL_INDEX_BITS',
144
+			'GL_INDEX_ARRAY_TYPE_EXT','GL_INDEX_ARRAY_TYPE','GL_INDEX_ARRAY_STRIDE_EXT','GL_INDEX_ARRAY_STRIDE','GL_INDEX_ARRAY_POINTER_EXT',
145
+			'GL_INDEX_ARRAY_POINTER','GL_INDEX_ARRAY_EXT','GL_INDEX_ARRAY_COUNT_EXT','GL_INDEX_ARRAY','GL_INCR','GL_HINT_BIT',
146
+			'GL_GREEN_SCALE','GL_GREEN_BITS','GL_GREEN_BIAS','GL_GREEN','GL_GREATER','GL_GEQUAL','GL_FRONT_RIGHT','GL_FRONT_LEFT',
147
+			'GL_FRONT_FACE','GL_FRONT_AND_BACK','GL_FRONT','GL_FOG_START','GL_FOG_SPECULAR_TEXTURE_WIN','GL_FOG_MODE','GL_FOG_INDEX',
148
+			'GL_FOG_HINT','GL_FOG_END','GL_FOG_DENSITY','GL_FOG_COLOR','GL_FOG_BIT','GL_FOG','GL_FLOAT','GL_FLAT','GL_FILL',
149
+			'GL_FEEDBACK_BUFFER_TYPE','GL_FEEDBACK_BUFFER_SIZE','GL_FEEDBACK_BUFFER_POINTER','GL_FEEDBACK','GL_FASTEST','GL_FALSE',
150
+			'GL_EYE_PLANE','GL_EYE_LINEAR','GL_EXT_vertex_array','GL_EXT_paletted_texture','GL_EXT_bgra','GL_EXTENSIONS','GL_EXP2',
151
+			'GL_EXP','GL_EVAL_BIT','GL_EQUIV','GL_EQUAL','GL_ENABLE_BIT','GL_EMISSION','GL_EDGE_FLAG_ARRAY_STRIDE_EXT','GL_EDGE_FLAG_ARRAY_STRIDE',
152
+			'GL_EDGE_FLAG_ARRAY_POINTER_EXT','GL_EDGE_FLAG_ARRAY_POINTER','GL_EDGE_FLAG_ARRAY_EXT','GL_EDGE_FLAG_ARRAY_COUNT_EXT','GL_EDGE_FLAG_ARRAY',
153
+			'GL_EDGE_FLAG','GL_DST_COLOR','GL_DST_ALPHA','GL_DRAW_PIXEL_TOKEN','GL_DRAW_BUFFER','GL_DOUBLE_EXT','GL_DOUBLEBUFFER',
154
+			'GL_DOUBLE','GL_DONT_CARE','GL_DOMAIN','GL_DITHER','GL_DIFFUSE','GL_DEPTH_WRITEMASK','GL_DEPTH_TEST','GL_DEPTH_SCALE',
155
+			'GL_DEPTH_RANGE','GL_DEPTH_FUNC','GL_DEPTH_COMPONENT','GL_DEPTH_CLEAR_VALUE','GL_DEPTH_BUFFER_BIT','GL_DEPTH_BITS',
156
+			'GL_DEPTH_BIAS','GL_DEPTH','GL_DECR','GL_DECAL','GL_CW','GL_CURRENT_TEXTURE_COORDS','GL_CURRENT_RASTER_TEXTURE_COORDS','GL_CURRENT_RASTER_POSITION_VALID',
157
+			'GL_CURRENT_RASTER_POSITION','GL_CURRENT_RASTER_INDEX','GL_CURRENT_RASTER_DISTANCE','GL_CURRENT_RASTER_COLOR','GL_CURRENT_NORMAL',
158
+			'GL_CURRENT_INDEX','GL_CURRENT_COLOR','GL_CURRENT_BIT','GL_CULL_FACE_MODE','GL_CULL_FACE','GL_COPY_PIXEL_TOKEN',
159
+			'GL_COPY_INVERTED','GL_COPY','GL_CONSTANT_EXT','GL_CONSTANT_ATTENUATION','GL_CONSTANT','GL_COMPILE_AND_EXECUTE','GL_COMPILE','GL_COMBINE_RGB_EXT',
160
+			'GL_COMBINE_RGB','GL_COMBINE_EXT','GL_COMBINE_ALPHA_EXT','GL_COMBINE_ALPHA','GL_COMBINE','GL_COLOR_WRITEMASK',
161
+			'GL_COLOR_TABLE_WIDTH_EXT','GL_COLOR_TABLE_RED_SIZE_EXT','GL_COLOR_TABLE_LUMINANCE_SIZE_EXT','GL_COLOR_TABLE_INTENSITY_SIZE_EXT',
162
+			'GL_COLOR_TABLE_GREEN_SIZE_EXT','GL_COLOR_TABLE_FORMAT_EXT','GL_COLOR_TABLE_BLUE_SIZE_EXT','GL_COLOR_TABLE_ALPHA_SIZE_EXT',
163
+			'GL_COLOR_MATERIAL_PARAMETER','GL_COLOR_MATERIAL_FACE','GL_COLOR_MATERIAL','GL_COLOR_LOGIC_OP','GL_COLOR_INDEXES',
164
+			'GL_COLOR_INDEX8_EXT','GL_COLOR_INDEX4_EXT','GL_COLOR_INDEX2_EXT','GL_COLOR_INDEX1_EXT','GL_COLOR_INDEX16_EXT',
165
+			'GL_COLOR_INDEX12_EXT','GL_COLOR_INDEX','GL_COLOR_CLEAR_VALUE','GL_COLOR_BUFFER_BIT','GL_COLOR_ARRAY_TYPE_EXT',
166
+			'GL_COLOR_ARRAY_TYPE','GL_COLOR_ARRAY_STRIDE_EXT','GL_COLOR_ARRAY_STRIDE','GL_COLOR_ARRAY_SIZE_EXT','GL_COLOR_ARRAY_SIZE',
167
+			'GL_COLOR_ARRAY_POINTER_EXT','GL_COLOR_ARRAY_POINTER','GL_COLOR_ARRAY_EXT','GL_COLOR_ARRAY_COUNT_EXT','GL_COLOR_ARRAY',
168
+			'GL_COLOR','GL_COEFF','GL_CLIP_PLANE5','GL_CLIP_PLANE4','GL_CLIP_PLANE3','GL_CLIP_PLANE2','GL_CLIP_PLANE1','GL_CLIP_PLANE0',
169
+			'GL_CLIENT_VERTEX_ARRAY_BIT','GL_CLIENT_PIXEL_STORE_BIT','GL_CLIENT_ATTRIB_STACK_DEPTH','GL_CLIENT_ALL_ATTRIB_BITS',
170
+			'GL_CLIENT_ACTIVE_TEXTURE_ARB','GL_CLIENT_ACTIVE_TEXTURE','GL_CLEAR','GL_CLAMP','GL_CCW','GL_C4UB_V3F','GL_C4UB_V2F',
171
+			'GL_C4F_N3F_V3F','GL_C3F_V3F','GL_BYTE','GL_BLUE_SCALE','GL_BLUE_BITS','GL_BLUE_BIAS','GL_BLUE','GL_BLEND_SRC','GL_BLEND_DST',
172
+			'GL_BLEND','GL_BITMAP_TOKEN','GL_BITMAP','GL_BGR_EXT','GL_BGRA_EXT','GL_BACK_RIGHT','GL_BACK_LEFT','GL_BACK',
173
+			'GL_AUX_BUFFERS','GL_AUX3','GL_AUX2','GL_AUX1','GL_AUX0','GL_AUTO_NORMAL','GL_ATTRIB_STACK_DEPTH','GL_AND_REVERSE',
174
+			'GL_AND_INVERTED','GL_AND','GL_AMBIENT_AND_DIFFUSE','GL_AMBIENT','GL_ALWAYS','GL_ALPHA_TEST_REF','GL_ALPHA_TEST_FUNC',
175
+			'GL_ALPHA_TEST','GL_ALPHA_SCALE','GL_ALPHA_BITS','GL_ALPHA_BIAS','GL_ALPHA8','GL_ALPHA4','GL_ALPHA16','GL_ALPHA12',
176
+			'GL_ALPHA','GL_ALL_ATTRIB_BITS','GL_ADD_SIGNED_EXT','GL_ADD_SIGNED','GL_ADD','GL_ACTIVE_TEXTURE_ARB','GL_ACTIVE_TEXTURE',
177
+			'GL_ACCUM_RED_BITS','GL_ACCUM_GREEN_BITS','GL_ACCUM_CLEAR_VALUE','GL_ACCUM_BUFFER_BIT','GL_ACCUM_BLUE_BITS','GL_ACCUM_ALPHA_BITS',
178
+			'GL_ACCUM','GL_4_BYTES','GL_4D_COLOR_TEXTURE','GL_3_BYTES','GL_3D_COLOR_TEXTURE','GL_3D_COLOR','GL_3D','GL_2_BYTES',
179
+			'GL_2D','GLU_V_STEP','GLU_VERTEX','GLU_VERSION_1_2','GLU_VERSION_1_1','GLU_VERSION','GLU_U_STEP','GLU_UNKNOWN','GLU_TRUE',
180
+			'GLU_TESS_WINDING_RULE','GLU_TESS_WINDING_POSITIVE','GLU_TESS_WINDING_ODD','GLU_TESS_WINDING_NONZERO','GLU_TESS_WINDING_NEGATIVE',
181
+			'GLU_TESS_WINDING_ABS_GEQ_TWO','GLU_TESS_VERTEX_DATA','GLU_TESS_VERTEX','GLU_TESS_TOLERANCE','GLU_TESS_NEED_COMBINE_CALLBACK','GLU_TESS_MISSING_END_POLYGON',
182
+			'GLU_TESS_MISSING_END_CONTOUR','GLU_TESS_MISSING_BEGIN_POLYGON','GLU_TESS_MISSING_BEGIN_CONTOUR','GLU_TESS_ERROR_DATA',
183
+			'GLU_TESS_ERROR8','GLU_TESS_ERROR7','GLU_TESS_ERROR6','GLU_TESS_ERROR5','GLU_TESS_ERROR4','GLU_TESS_ERROR3','GLU_TESS_ERROR2',
184
+			'GLU_TESS_ERROR1','GLU_TESS_ERROR','GLU_TESS_END_DATA','GLU_TESS_END','GLU_TESS_EDGE_FLAG_DATA','GLU_TESS_EDGE_FLAG',
185
+			'GLU_TESS_COORD_TOO_LARGE','GLU_TESS_COMBINE_DATA','GLU_TESS_COMBINE','GLU_TESS_BOUNDARY_ONLY','GLU_TESS_BEGIN_DATA',
186
+			'GLU_TESS_BEGIN','GLU_SMOOTH','GLU_SILHOUETTE','GLU_SAMPLING_TOLERANCE','GLU_SAMPLING_METHOD','GLU_POINT','GLU_PATH_LENGTH',
187
+			'GLU_PARAMETRIC_TOLERANCE','GLU_PARAMETRIC_ERROR','GLU_OUT_OF_MEMORY','GLU_OUTSIDE','GLU_OUTLINE_POLYGON','GLU_OUTLINE_PATCH',
188
+			'GLU_NURBS_ERROR9','GLU_NURBS_ERROR8','GLU_NURBS_ERROR7','GLU_NURBS_ERROR6','GLU_NURBS_ERROR5','GLU_NURBS_ERROR4',
189
+			'GLU_NURBS_ERROR37','GLU_NURBS_ERROR36','GLU_NURBS_ERROR35','GLU_NURBS_ERROR34','GLU_NURBS_ERROR33','GLU_NURBS_ERROR32',
190
+			'GLU_NURBS_ERROR31','GLU_NURBS_ERROR30','GLU_NURBS_ERROR3','GLU_NURBS_ERROR29','GLU_NURBS_ERROR28','GLU_NURBS_ERROR27','GLU_NURBS_ERROR26',
191
+			'GLU_NURBS_ERROR25','GLU_NURBS_ERROR24','GLU_NURBS_ERROR23','GLU_NURBS_ERROR22','GLU_NURBS_ERROR21','GLU_NURBS_ERROR20',
192
+			'GLU_NURBS_ERROR2','GLU_NURBS_ERROR19','GLU_NURBS_ERROR18','GLU_NURBS_ERROR17','GLU_NURBS_ERROR16','GLU_NURBS_ERROR15','GLU_NURBS_ERROR14',
193
+			'GLU_NURBS_ERROR13','GLU_NURBS_ERROR12','GLU_NURBS_ERROR11','GLU_NURBS_ERROR10','GLU_NURBS_ERROR1','GLU_NONE',
194
+			'GLU_MAP1_TRIM_3','GLU_MAP1_TRIM_2','GLU_LINE','GLU_INVALID_VALUE','GLU_INVALID_ENUM','GLU_INTERIOR','GLU_INSIDE','GLU_INCOMPATIBLE_GL_VERSION',
195
+			'GLU_FLAT','GLU_FILL','GLU_FALSE','GLU_EXTERIOR','GLU_EXTENSIONS','GLU_ERROR','GLU_END','GLU_EDGE_FLAG','GLU_DOMAIN_DISTANCE',
196
+			'GLU_DISPLAY_MODE','GLU_CW','GLU_CULLING','GLU_CCW','GLU_BEGIN','GLU_AUTO_LOAD_MATRIX','CHANNEL_UNORDERED','CHANNEL_ORDERED',
197
+			'CHANNEL_MAX'
198
+			),
199
+		2 => array(
200
+
201
+			// Red Lowercase Keywords
202
+
203
+			'WriteWord','WriteString','WriteReal','WriteLine','WriteInt','WriteFloat','WriteDouble','WriteChar','WriteByte',
204
+			'windowwidth','windowheight','waittimer','Vec4','Vec3','Vec2','val','UpdateJoystick','ucase$','Transpose','tickcount',
205
+			'textscroll','textrows','textmode','textcols','tanh','tand','tan','synctimercatchup','synctimer','swapbuffers',
206
+			'str$','stopsoundvoice','stopsounds','stopmusic','sqrt','sqr','sprzorder','spryvel','sprytiles','sprysize','spryrepeat',
207
+			'spryflip','sprycentre','spry','sprxvel','sprxtiles','sprxsize','sprxrepeat','sprxflip','sprxcentre','sprx',
208
+			'sprvisible','sprvel','sprtype','sprtop','sprspin','sprsolid','sprsetzorder','sprsetyvel','sprsetysize','sprsetyrepeat',
209
+			'sprsetyflip','sprsetycentre','sprsety','sprsetxvel','sprsetxsize','sprsetxrepeat','sprsetxflip','sprsetxcentre',
210
+			'sprsetx','sprsetvisible','sprsetvel','sprsettiles','sprsettextures','sprsettexture','sprsetspin','sprsetsolid',
211
+			'sprsetsize','sprsetscale','sprsetpos','sprsetparallax','sprsetframe','sprsetcolor','sprsetanimspeed','sprsetanimloop',
212
+			'sprsetangle','sprsetalpha','sprscale','sprright','sprpos','sprparallax','sprleft','spriteareawidth','spriteareaheight',
213
+			'sprframe','sprcolor','sprcameraz','sprcameray','sprcamerax','sprcamerasetz','sprcamerasety','sprcamerasetx',
214
+			'sprcamerasetpos','sprcamerasetfov','sprcamerasetangle','sprcamerapos','sprcamerafov','sprcameraangle',
215
+			'sprbottom','spranimspeed','spranimloop','spranimdone','sprangle','spralpha','spraddtextures','spraddtexture',
216
+			'sounderror','sleep','sind','sin','showcursor','sgn','settextscroll','setmusicvolume','SendMessage','Seek',
217
+			'scankeydown','RTInvert','rnd','right$','resizetext','resizespritearea','RejectConnection','ReceiveMessage','ReadWord',
218
+			'ReadText','ReadReal','ReadLine','ReadInt','ReadFloat','ReadDouble','ReadChar','ReadByte','randomize','printr',
219
+			'print','pow','playsound','playmusic','performancecounter','Orthonormalize','OpenFileWrite','OpenFileRead','Normalize',
220
+			'newtilemap','newsprite','NewServer','NewConnection','musicplaying','mouse_yd','mouse_y','mouse_xd','mouse_x',
221
+			'mouse_wheel','mouse_button','mid$','MessageSmoothed','MessageReliable','MessagePending','MessageChannel','maxtextureunits',
222
+			'MatrixZero','MatrixTranslate','MatrixScale','MatrixRotateZ','MatrixRotateY','MatrixRotateX','MatrixRotate','MatrixIdentity',
223
+			'MatrixCrossProduct','MatrixBasis','log','locate','loadtexture','loadsound','loadmipmaptexture','loadmipmapimagestrip',
224
+			'loadimagestrip','loadimage','Length','len','left$','lcase$','keydown','Joy_Y','Joy_X','Joy_Up','Joy_Right','Joy_Left',
225
+			'Joy_Keys','Joy_Down','Joy_Button','Joy_3','Joy_2','Joy_1','Joy_0','int','inscankey','input$','inkey$','inittimer',
226
+			'imagewidth','imagestripframes','imageheight','imageformat','imagedatatype','hidecursor','glViewport','glVertex4sv',
227
+			'glVertex4s','glVertex4iv','glVertex4i','glVertex4fv','glVertex4f','glVertex4dv','glVertex4d','glVertex3sv','glVertex3s',
228
+			'glVertex3iv','glVertex3i','glVertex3fv','glVertex3f','glVertex3dv','glVertex3d','glVertex2sv','glVertex2s','glVertex2iv',
229
+			'glVertex2i','glVertex2fv','glVertex2f','glVertex2dv','glVertex2d','gluPerspective','gluOrtho2D','gluLookAt',
230
+			'glubuild2dmipmaps','glTranslatef','glTranslated','gltexsubimage2d','glTexParameteriv','glTexParameteri',
231
+			'glTexParameterfv','glTexParameterf','glteximage2d','glTexGeniv','glTexGeni','glTexGenfv','glTexGenf','glTexGendv',
232
+			'glTexGend','glTexEnviv','glTexEnvi','glTexEnvfv','glTexEnvf','glTexCoord4sv','glTexCoord4s','glTexCoord4iv','glTexCoord4i',
233
+			'glTexCoord4fv','glTexCoord4f','glTexCoord4dv','glTexCoord4d','glTexCoord3sv','glTexCoord3s','glTexCoord3iv','glTexCoord3i',
234
+			'glTexCoord3fv','glTexCoord3f','glTexCoord3dv','glTexCoord3d','glTexCoord2sv','glTexCoord2s','glTexCoord2iv','glTexCoord2i',
235
+			'glTexCoord2fv','glTexCoord2f','glTexCoord2dv','glTexCoord2d','glTexCoord1sv','glTexCoord1s','glTexCoord1iv','glTexCoord1i','glTexCoord1fv',
236
+			'glTexCoord1f','glTexCoord1dv','glTexCoord1d','glStencilOp','glStencilMask','glStencilFunc','glShadeModel','glSelectBuffer',
237
+			'glScissor','glScalef','glScaled','glRotatef','glRotated','glRenderMode','glRectsv','glRects','glRectiv','glRecti',
238
+			'glRectfv','glRectf','glRectdv','glRectd','glReadBuffer','glRasterPos4sv','glRasterPos4s','glRasterPos4iv',
239
+			'glRasterPos4i','glRasterPos4fv','glRasterPos4f','glRasterPos4dv','glRasterPos4d','glRasterPos3sv','glRasterPos3s',
240
+			'glRasterPos3iv','glRasterPos3i','glRasterPos3fv','glRasterPos3f','glRasterPos3dv','glRasterPos3d','glRasterPos2sv',
241
+			'glRasterPos2s','glRasterPos2iv','glRasterPos2i','glRasterPos2fv','glRasterPos2f','glRasterPos2dv','glRasterPos2d',
242
+			'glPushName','glPushMatrix','glPushClientAttrib','glPushAttrib','glPrioritizeTextures','glPopName','glPopMatrix',
243
+			'glPopClientAttrib','glPopAttrib','glpolygonstipple','glPolygonOffset','glPolygonMode','glPointSize','glPixelZoom',
244
+			'glPixelTransferi','glPixelTransferf','glPixelStorei','glPixelStoref','glPassThrough','glOrtho','glNormal3sv','glNormal3s',
245
+			'glNormal3iv','glNormal3i','glNormal3fv','glNormal3f','glNormal3dv','glNormal3d','glNormal3bv','glNormal3b','glNewList',
246
+			'glMultMatrixf','glMultMatrixd','glmultitexcoord2f','glmultitexcoord2d','glMatrixMode','glMaterialiv','glMateriali',
247
+			'glMaterialfv','glMaterialf','glMapGrid2f','glMapGrid2d','glMapGrid1f','glMapGrid1d','glLogicOp','glLoadName','glLoadMatrixf',
248
+			'glLoadMatrixd','glLoadIdentity','glListBase','glLineWidth','glLineStipple','glLightModeliv','glLightModeli','glLightModelfv',
249
+			'glLightModelf','glLightiv','glLighti','glLightfv','glLightf','glIsTexture','glIsList','glIsEnabled','glInitNames',
250
+			'glIndexubv','glIndexub','glIndexsv','glIndexs','glIndexMask','glIndexiv','glIndexi','glIndexfv','glIndexf','glIndexdv',
251
+			'glIndexd','glHint','glGetTexParameteriv','glGetTexParameterfv','glGetTexLevelParameteriv','glGetTexLevelParameterfv',
252
+			'glGetTexGeniv','glGetTexGenfv','glGetTexGendv','glGetTexEnviv','glGetTexEnvfv','glgetstring','glgetpolygonstipple','glGetPixelMapuiv',
253
+			'glGetMaterialiv','glGetMaterialfv','glGetLightiv','glGetLightfv','glGetIntegerv','glGetIntegerv','glGetFloatv','glGetFloatv',
254
+			'glGetError','glGetDoublev','glGetDoublev','glGetClipPlane','glGetBooleanv','glGetBooleanv','glgentextures','glgentexture',
255
+			'glgenlists','glFrustum','glFrontFace','glFogiv','glFogi','glFogfv','glFogf','glFlush','glFinish','glFeedbackBuffer',
256
+			'glEvalPoint2','glEvalPoint1','glEvalMesh2','glEvalMesh1','glEvalCoord2fv','glEvalCoord2f','glEvalCoord2dv','glEvalCoord2d',
257
+			'glEvalCoord1fv','glEvalCoord1f','glEvalCoord1dv','glEvalCoord1d','glEndList','glEnd','glEnableClientState','glEnable',
258
+			'glEdgeFlagv','glEdgeFlag','glDrawBuffer','glDrawArrays','glDisableClientState','glDisable','glDepthRange','glDepthMask',
259
+			'glDepthFunc','gldeletetextures','gldeletetexture','gldeletelists','glCullFace','glCopyTexSubImage2D','glCopyTexSubImage1D',
260
+			'glCopyTexImage2D','glCopyTexImage1D','glColorMaterial','glColorMask','glColor4usv','glColor4us','glColor4uiv','glColor4ui',
261
+			'glColor4ubv','glColor4ub','glColor4sv','glColor4s','glColor4iv','glColor4i','glColor4fv','glColor4f','glColor4dv',
262
+			'glColor4d','glColor4bv','glColor4b','glColor3usv','glColor3us','glColor3uiv','glColor3ui','glColor3ubv','glColor3ub',
263
+			'glColor3sv','glColor3s','glColor3iv','glColor3i','glColor3fv','glColor3f','glColor3dv','glColor3d','glColor3bv',
264
+			'glColor3b','glClipPlane','glClearStencil','glClearIndex','glClearDepth','glClearColor','glClearAccum','glClear',
265
+			'glcalllists','glCallList','glBlendFunc','glBindTexture','glBegin','glArrayElement','glAreTexturesResident',
266
+			'glAlphaFunc','glactivetexture','glAccum','font','FindNextFile','FindFirstFile','FindClose','FileError',
267
+			'extensionsupported','exp','execute','EndOfFile','drawtext','divbyzero','Determinant','deletesprite','deletesound',
268
+			'DeleteServer','deleteimage','DeleteConnection','defaultfont','CrossProduct','cosd','cos','copysprite','ConnectionPending',
269
+			'ConnectionHandShaking','ConnectionConnected','ConnectionAddress','compilererrorline','compilererrorcol','compilererror',
270
+			'compilefile','compile','color','cls','CloseFile','clearregion','clearline','clearkeys','chr$','charat$','bindsprite',
271
+			'beep','atnd','atn2d','atn2','atn','atand','asc','argcount','arg','animatesprites','AcceptConnection','abs'
272
+			),
273
+		3 => array(
274
+
275
+			// Blue Lowercase Keywords
276
+
277
+			'xor','while','wend','until','type','traditional_print','traditional','to','then','struc','string','step','single',
278
+			'run','return','reset','read','or','null','not','next','lor','loop','language','land','integer','input','if',
279
+			'goto','gosub','for','endstruc','endif','end','elseif','else','double','do','dim','data','const','basic4gl','as',
280
+			'and','alloc'
281
+			)
282
+
283
+		),
284
+	'SYMBOLS' => array(
285
+          '=', '<', '>', '>=', '<=', '+', '-', '*', '/', '%', '(', ')', '{', '}', '[', ']', '&', ';', ':', '$'
286
+          ),
287
+
288
+	'CASE_SENSITIVE' => array(
289
+                GESHI_COMMENTS => false,
290
+                1 => false,
291
+				2 => false,
292
+				3 => false,
293
+                ),
294
+        'STYLES' => array(
295
+                'KEYWORDS' => array(
296
+                        1 => 'color: #000080; font-weight: bold;',
297
+                        2 => 'color: #FF0000;',
298
+                        3 => 'color: #0000FF;'
299
+                        ),
300
+                'COMMENTS' => array(
301
+                        1 => 'color: #657CC4; font-style: italic;'
302
+                        ),
303
+                'BRACKETS' => array(
304
+                        0 => 'color: #000080;'
305
+                        ),
306
+                'STRINGS' => array(
307
+                        0 => 'color: #008000;'
308
+                        ),
309
+                'NUMBERS' => array(
310
+                        0 => 'color: #000080; font-weight: bold;'
311
+                        ),
312
+                'METHODS' => array(
313
+                        ),
314
+                'SYMBOLS' => array(
315
+                        0 => 'color: #0000FF;'
316
+                        ),
317
+                'ESCAPE_CHAR' => array(
318
+                        ),
319
+                'SCRIPT' => array(
320
+                        ),
321
+                'REGEXPS' => array(
322
+                        )
323
+                ),
324
+        'OOLANG' => false,
325
+        'OBJECT_SPLITTERS' => array(
326
+                ),
327
+        'REGEXPS' => array(
328
+                ),
329
+        'STRICT_MODE_APPLIES' => GESHI_NEVER,
330
+        'SCRIPT_DELIMITERS' => array(
331
+                ),
332
+        'HIGHLIGHT_STRICT_BLOCK' => array(
333
+                ),
334
+		'TAB_WIDTH' => 4
335
+);
336
+?>

+ 185 - 0
plugins/geshi/blitzbasic.php View File

@@ -0,0 +1,185 @@
1
+<?php
2
+/*************************************************************************************
3
+ * blitzbasic.php
4
+ * --------------
5
+ * Author: P�draig O`Connel (info@moonsword.info)
6
+ * Copyright: (c) 2005 P�draig O`Connel (http://moonsword.info)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 16.10.2005
9
+ *
10
+ * BlitzBasic language file for GeSHi.
11
+ *
12
+ * It is a simple Basic dialect. Released for Games and Network Connections.
13
+ * In this Language File are all functions included (2D BB and 3D BB)
14
+ *
15
+ *
16
+ * CHANGES
17
+ * -------
18
+ * 2005/12/28 (1.0.1)
19
+ *   -  Remove unnecessary style index for regexps
20
+ * 2005/10/22 (1.0.0)
21
+ *   -  First Release
22
+ *
23
+ * TODO (updated 2005/10/22)
24
+ * -------------------------
25
+ * * Sort out the Basic commands for splitting up.
26
+ * * To set up the right colors.
27
+ *      (the colors are ok, but not the correct ones)
28
+ * * Split to BlitzBasic 2D and BlitzBasic 3D.
29
+ *
30
+ *************************************************************************************
31
+ *
32
+ *     This file is part of GeSHi.
33
+ *
34
+ *   GeSHi is free software; you can redistribute it and/or modify
35
+ *   it under the terms of the GNU General Public License as published by
36
+ *   the Free Software Foundation; either version 2 of the License, or
37
+ *   (at your option) any later version.
38
+ *
39
+ *   GeSHi is distributed in the hope that it will be useful,
40
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
41
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
42
+ *   GNU General Public License for more details.
43
+ *
44
+ *   You should have received a copy of the GNU General Public License
45
+ *   along with GeSHi; if not, write to the Free Software
46
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
47
+ *
48
+ ************************************************************************************/
49
+
50
+ $language_data = array (
51
+  'LANG_NAME' => 'BlitzBasic',
52
+  'COMMENT_SINGLE' => array(1 => ';'),
53
+  'COMMENT_MULTI' => array(),
54
+  'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
55
+  'QUOTEMARKS' => array('"'),
56
+  'ESCAPE_CHAR' => '',
57
+  'KEYWORDS' => array(
58
+    1 => array(
59
+    	'If','EndIf','ElseIf','Else If','Else','While','Wend','Return','Next','Include','End Type','End Select','End If','End Function','End','Select',
60
+    	'Type','Forever','For','Or','And','AppTitle','Case','Goto','Gosub','Step','Stop','Int','Last','False','Then','To','True','Until','Float',
61
+    	'String','Before','Not'
62
+    ),
63
+    2 => array(
64
+
65
+      // All Functions - 2D BB and 3D BB
66
+ 	  	'Xor','WriteString','WriteShort','WritePixelFast','WritePixel','WriteLine','WriteInt','WriteFloat','WriteFile','WriteBytes',
67
+		'WriteByte','Write','WaitTimer','WaitMouse','WaitKey','WaitJoy','VWait','Viewport',
68
+		'Upper','UpdateGamma','UnlockBuffer','UDPTimeouts','UDPStreamPort','UDPStreamIP','UDPMsgPort','UDPMsgIP',
69
+		'Trim','TotalVidMem','TileImage','TileBlock','TFormImage','TFormFilter','Text',
70
+		'TCPTimeouts','TCPStreamPort','TCPStreamIP','Tan','SystemProperty','StringWidth','StringHeight','Str','StopNetGame',
71
+		'StopChannel','StartNetGame','Sqr','SoundVolume','SoundPitch','SoundPan','Sin','Shr',
72
+		'ShowPointer','Shl','Sgn','SetGfxDriver','SetGamma','SetFont','SetEnv','SetBuffer','SendUDPMsg','SendNetMsg',
73
+		'SeekFile','SeedRnd','ScanLine','ScaleImage','SaveImage','SaveBuffer','Sar','RuntimeError','RSet',
74
+		'RotateImage','RndSeed','Rnd','Right','ResumeChannel','Restore','ResizeImage','ResizeBank','Replace',
75
+		'Repeat','RecvUDPMsg','RecvNetMsg','RectsOverlap','Rect','ReadString','ReadShort','ReadPixelFast','ReadPixel','ReadLine',
76
+		'ReadInt','ReadFloat','ReadFile','ReadDir','ReadBytes','ReadByte','ReadAvail','Read','Rand','Print',
77
+		'PokeShort','PokeInt','PokeFloat','PokeByte','Plot','PlaySound','PlayMusic','PlayCDTrack','Pi','PeekShort',
78
+		'PeekInt','PeekFloat','PeekByte','PauseChannel','Oval','Origin','OpenTCPStream','OpenMovie','OpenFile',
79
+		'Null','NextFile','New','NetPlayerName','NetPlayerLocal','NetMsgType','NetMsgTo','NetMsgFrom',
80
+		'NetMsgData','MovieWidth','MoviePlaying','MovieHeight','MoveMouse','MouseZSpeed','MouseZ','MouseYSpeed','MouseY','MouseXSpeed',
81
+		'MouseX','MouseHit','MouseDown','Mod','Millisecs','MidHandle','Mid','MaskImage','LSet','Lower',
82
+		'LoopSound','Log10','Log','LockBuffer','Locate','Local','LoadSound','LoadImage','LoadFont','LoadBuffer',
83
+		'LoadAnimImage','Line','Len','Left','KeyHit','KeyDown','JoyZDir','JoyZ','JoyYDir',
84
+		'JoyYaw','JoyY','JoyXDir','JoyX','JoyVDir','JoyV','JoyUDir','JoyU','JoyType','JoyRoll',
85
+		'JoyPitch','JoyHit','JoyHat','JoyDown','JoinNetGame','Instr','Insert','Input',
86
+		'ImageYHandle','ImageXHandle','ImageWidth','ImagesOverlap','ImagesCollide','ImageRectOverlap','ImageRectCollide','ImageHeight','ImageBuffer','If',
87
+		'HostNetGame','HostIP','HidePointer','Hex','HandleImage','GraphicsWidth','GraphicsHeight','GraphicsDepth','GraphicsBuffer','Graphics',
88
+		'GrabImage','Global','GFXModeWidth','GFXModeHeight','GfxModeExists','GFXModeDepth','GfxDriverName','GetMouse',
89
+		'GetKey','GetJoy','GetEnv','GetColor','GammaRed','GammaGreen','GammaBlue','Function','FrontBuffer','FreeTimer',
90
+		'FreeSound','FreeImage','FreeFont','FreeBank','FontWidth','FontHeight','FlushMouse','FlushKeys',
91
+		'FlushJoy','Floor','Flip','First','FileType','FileSize','FilePos','Field',
92
+		'Exp','Exit','ExecFile','Eof','EndGraphics','Each','DrawMovie','DrawImageRect','DrawImage','DrawBlockRect','DrawBlock',
93
+		'DottedIP','Dim','DeleteNetPlayer','DeleteFile','DeleteDir','Delete','Delay','Default','DebugLog','Data',
94
+		'CurrentTime','CurrentDir','CurrentDate','CreateUDPStream','CreateTimer','CreateTCPServer','CreateNetPlayer','CreateImage','CreateDir','CreateBank',
95
+		'CountHostIPs','CountGFXModes','CountGfxDrivers','Cos','CopyStream','CopyRect','CopyPixelFast','CopyPixel','CopyImage','CopyFile',
96
+		'CopyBank','Const','CommandLine','ColorRed','ColorGreen','ColorBlue','Color','ClsColor','Cls','CloseUDPStream',
97
+		'CloseTCPStream','CloseTCPServer','CloseMovie','CloseFile','CloseDir','Chr','ChannelVolume','ChannelPlaying','ChannelPitch','ChannelPan',
98
+		'ChangeDir','Ceil','CallDLL','Bin','BankSize','BackBuffer','AvailVidMem','AutoMidHandle',
99
+		'ATan2','ATan','ASin','Asc','After','ACos','AcceptTCPStream','Abs',
100
+		// 3D Commands
101
+		'Wireframe','Windowed3D','WBuffer','VertexZ','VertexY',
102
+		'VertexX','VertexW','VertexV','VertexU','VertexTexCoords','VertexRed','VertexNZ','VertexNY','VertexNX','VertexNormal',
103
+		'VertexGreen','VertexCoords','VertexColor','VertexBlue','VertexAlpha','VectorYaw','VectorPitch','UpdateWorld','UpdateNormals','TurnEntity',
104
+		'TrisRendered','TriangleVertex','TranslateEntity','TFormVector','TFormPoint','TFormNormal','TFormedZ','TFormedY','TFormedX','TextureWidth',
105
+		'TextureName','TextureHeight','TextureFilter','TextureCoords','TextureBuffer','TextureBlend','TerrainZ','TerrainY','TerrainX','TerrainSize',
106
+		'TerrainShading','TerrainHeight','TerrainDetail','SpriteViewMode','ShowEntity','SetCubeFace','SetAnimTime','SetAnimKey','ScaleTexture','ScaleSprite',
107
+		'ScaleMesh','ScaleEntity','RotateTexture','RotateSprite','RotateMesh','RotateEntity','ResetEntity','RenderWorld','ProjectedZ','ProjectedY',
108
+		'ProjectedX','PositionTexture','PositionMesh','PositionEntity','PointEntity','PickedZ','PickedY','PickedX','PickedTriangle','PickedTime',
109
+		'PickedSurface','PickedNZ','PickedNY','PickedNX','PickedEntity','PaintSurface','PaintMesh','PaintEntity','NameEntity','MoveEntity',
110
+		'ModifyTerrain','MeshWidth','MeshHeight','MeshesIntersect','MeshDepth','MD2AnimTime','MD2AnimLength','MD2Animating','LoadTexture','LoadTerrain',
111
+		'LoadSprite','LoadMesh','LoadMD2','LoaderMatrix','LoadBSP','LoadBrush','LoadAnimTexture','LoadAnimSeq','LoadAnimMesh','Load3DSound',
112
+		'LinePick','LightRange','LightMesh','LightConeAngles','LightColor','HWMultiTex','HideEntity','HandleSprite','Graphics3D','GfxMode3DExists',
113
+		'GfxMode3D','GfxDriverCaps3D','GfxDriver3D','GetSurfaceBrush','GetSurface','GetParent','GetMatElement','GetEntityType','GetEntityBrush','GetChild',
114
+		'GetBrushTexture','FreeTexture','FreeEntity','FreeBrush','FlipMesh','FitMesh','FindSurface','FindChild','ExtractAnimSeq','EntityZ',
115
+		'EntityYaw','EntityY','EntityX','EntityVisible','EntityType','EntityTexture','EntityShininess','EntityRoll','EntityRadius','EntityPitch',
116
+		'EntityPickMode','EntityPick','EntityParent','EntityOrder','EntityName','EntityInView','EntityFX','EntityDistance','EntityColor','EntityCollided',
117
+		'EntityBox','EntityBlend','EntityAutoFade','EntityAlpha','EmitSound','Dither','DeltaYaw','DeltaPitch','CreateTexture','CreateTerrain',
118
+		'CreateSurface','CreateSprite','CreateSphere','CreatePlane','CreatePivot','CreateMirror','CreateMesh','CreateListener','CreateLight','CreateCylinder',
119
+		'CreateCube','CreateCone','CreateCamera','CreateBrush','CountVertices','CountTriangles','CountSurfaces','CountGfxModes3D','CountCollisions','CountChildren',
120
+		'CopyMesh','CopyEntity','CollisionZ','CollisionY','CollisionX','CollisionTriangle','CollisionTime','CollisionSurface','Collisions','CollisionNZ',
121
+		'CollisionNY','CollisionNX','CollisionEntity','ClearWorld','ClearTextureFilters','ClearSurface','ClearCollisions','CaptureWorld','CameraZoom','CameraViewport',
122
+		'CameraRange','CameraProjMode','CameraProject','CameraPick','CameraFogRange','CameraFogMode','CameraFogColor','CameraClsMode','CameraClsColor','BSPLighting',
123
+		'BSPAmbientLight','BrushTexture','BrushShininess','BrushFX','BrushColor','BrushBlend','BrushAlpha','AntiAlias','AnimTime','AnimSeq',
124
+		'AnimLength','Animating','AnimateMD2','Animate','AmbientLight','AlignToVector','AddVertex','AddTriangle','AddMesh','AddAnimSeq',
125
+      )
126
+    ),
127
+  'SYMBOLS' => array(
128
+  	'(',')'
129
+  	),
130
+  'CASE_SENSITIVE' => array(
131
+    GESHI_COMMENTS => false,
132
+    1 => false,
133
+    2 => false,
134
+    ),
135
+  'STYLES' => array(
136
+    'KEYWORDS' => array(
137
+      1 => 'color: #000066; font-weight: bold;',
138
+       2 => 'color: #0000ff;'
139
+      ),
140
+    'COMMENTS' => array(
141
+      1 => 'color: #D9D100; font-style: italic;',
142
+      ),
143
+    'ESCAPE_CHAR' => array(
144
+      0 => 'color: #000099; font-weight: bold;'
145
+      ),
146
+    'BRACKETS' => array(
147
+      0 => 'color: #000066;'
148
+      ),
149
+    'STRINGS' => array(
150
+      0 => 'color: #009900;'
151
+      ),
152
+    'NUMBERS' => array(
153
+      0 => 'color: #CC0000;'
154
+      ),
155
+    'METHODS' => array(
156
+      1 => 'color: #006600;'
157
+      ),
158
+    'SYMBOLS' => array(
159
+      0 => 'color: #000066;'
160
+      ),
161
+    'REGEXPS' => array(
162
+      ),
163
+    'SCRIPT' => array(
164
+      0 => '',
165
+      1 => '',
166
+      )
167
+    ),
168
+  'URLS' => array(
169
+		1 => ''
170
+  	),
171
+  'OOLANG' => false,
172
+  'OBJECT_SPLITTERS' => array(
173
+  	1 => '\\'
174
+	),
175
+  'REGEXPS' => array(
176
+  ),
177
+  'STRICT_MODE_APPLIES' => GESHI_NEVER,
178
+  'SCRIPT_DELIMITERS' => array(),
179
+  'HIGHLIGHT_STRICT_BLOCK' => array(
180
+    0 => false,
181
+    1 => false
182
+  )
183
+);
184
+
185
+?>

+ 130 - 0
plugins/geshi/bnf.php View File

@@ -0,0 +1,130 @@
1
+<?php
2
+/*************************************************************************************
3
+ * bnf.php
4
+ * --------
5
+ * Author: Rowan Rodrik van der Molen (rowan@bigsmoke.us)
6
+ * Copyright: (c) 2006 Rowan Rodrik van der Molen (http://www.bigsmoke.us/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2006/09/28
9
+ *
10
+ * BNF (Backus-Naur form) language file for GeSHi.
11
+ *
12
+ * See http://en.wikipedia.org/wiki/Backus-Naur_form for more info on BNF.
13
+ *
14
+ * CHANGES
15
+ * -------
16
+ * 2006/09/18 (1.0.0)
17
+ *  -  First Release
18
+ *
19
+ * TODO (updated 2006/09/18)
20
+ * -------------------------
21
+ * * Nothing I can think of
22
+ *
23
+ *************************************************************************************
24
+ *
25
+ *     This file is part of GeSHi.
26
+ *
27
+ *   GeSHi is free software; you can redistribute it and/or modify
28
+ *   it under the terms of the GNU General Public License as published by
29
+ *   the Free Software Foundation; either version 2 of the License, or
30
+ *   (at your option) any later version.
31
+ *
32
+ *   GeSHi is distributed in the hope that it will be useful,
33
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
34
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
35
+ *   GNU General Public License for more details.
36
+ *
37
+ *   You should have received a copy of the GNU General Public License
38
+ *   along with GeSHi; if not, write to the Free Software
39
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
40
+ *
41
+ ************************************************************************************/
42
+
43
+$language_data = array (
44
+    'LANG_NAME' => 'bnf',
45
+    'COMMENT_SINGLE' => array(),
46
+    'COMMENT_MULTI' => array(),
47
+    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
48
+    'QUOTEMARKS' => array('"', "'"),
49
+    'ESCAPE_CHAR' => '',
50
+    'KEYWORDS' => array(),
51
+    'SYMBOLS' => array(
52
+        '<', '>', '::=', '|'
53
+    ),
54
+    'CASE_SENSITIVE' => array(
55
+        //GESHI_COMMENTS => false
56
+    ),
57
+    'STYLES' => array(
58
+        'KEYWORDS' => array(),
59
+        'COMMENTS' => array(
60
+        ),
61
+        'ESCAPE_CHAR' => array(
62
+            0 => ''
63
+        ),
64
+        'BRACKETS' => array(
65
+            0 => ''
66
+        ),
67
+        'STRINGS' => array(
68
+            0 => 'color: #a00;',
69
+            1 => 'color: #a00;'
70
+        ),
71
+        'NUMBERS' => array(
72
+            0 => ''
73
+        ),
74
+        'METHODS' => array(
75
+            0 => ''
76
+        ),
77
+        'SYMBOLS' => array(
78
+            0 => 'color: #000066; font-weight: bold;', // Unused
79
+        ),
80
+        'REGEXPS' => array(
81
+            0 => 'color: #007;',
82
+            1 => 'color: #099;',
83
+            2 => 'color: #060;',
84
+            3 => 'color: #909;'
85
+        ),
86
+        'SCRIPT' => array(
87
+          0 => ''
88
+        )
89
+    ),
90
+    'URLS' => array(),
91
+    'OOLANG' => false,
92
+    'OBJECT_SPLITTERS' => array(),
93
+    'REGEXPS' => array(
94
+        0 => array(
95
+            GESHI_SEARCH => '(&lt;)([^&]+?)(&gt;)',
96
+            GESHI_REPLACE => '\\2',
97
+            GESHI_MODIFIERS => '',
98
+            GESHI_BEFORE => '\\1',
99
+            GESHI_AFTER => '\\3'
100
+        ),
101
+        1 => array(
102
+            GESHI_SEARCH => '(&lt;|&gt;)',
103
+            GESHI_REPLACE => '\\1',
104
+            GESHI_MODIFIERS => '',
105
+            GESHI_BEFORE => '',
106
+            GESHI_AFTER => ''
107
+        ),
108
+        2 => array(
109
+            GESHI_SEARCH => '(::=)',
110
+            GESHI_REPLACE => '\\1',
111
+            GESHI_MODIFIERS => '',
112
+            GESHI_BEFORE => '',
113
+            GESHI_AFTER => ''
114
+        ),
115
+        3 => array(
116
+            GESHI_SEARCH => '([()])',
117
+            GESHI_REPLACE => '\\1',
118
+            GESHI_MODIFIERS => '',
119
+            GESHI_BEFORE => '',
120
+            GESHI_AFTER => ''
121
+        ),
122
+    ),
123
+    'STRICT_MODE_APPLIES' => GESHI_NEVER,
124
+    'SCRIPT_DELIMITERS' => array(
125
+    ),
126
+    'HIGHLIGHT_STRICT_BLOCK' => array(
127
+    )
128
+);
129
+
130
+?>

+ 143 - 0
plugins/geshi/c.php View File

@@ -0,0 +1,143 @@
1
+<?php
2
+/*************************************************************************************
3
+ * c.php
4
+ * -----
5
+ * Author: Nigel McNie (nigel@geshi.org)
6
+ * Contributors:
7
+ *  - Jack Lloyd (lloyd@randombit.net)
8
+ * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
9
+ * Release Version: 1.0.7.21
10
+ * Date Started: 2004/06/04
11
+ *
12
+ * C language file for GeSHi.
13
+ *
14
+ * CHANGES
15
+ * -------
16
+ * 2004/XX/XX (1.0.4)
17
+ *   -  Added a couple of new keywords (Jack Lloyd)
18
+ * 2004/11/27 (1.0.3)
19
+ *   -  Added support for multiple object splitters
20
+ * 2004/10/27 (1.0.2)
21
+ *   -  Added support for URLs
22
+ * 2004/08/05 (1.0.1)
23
+ *   -  Added support for symbols
24
+ * 2004/07/14 (1.0.0)
25
+ *   -  First Release
26
+ *
27
+ * TODO (updated 2004/11/27)
28
+ * -------------------------
29
+ *  -  Get a list of inbuilt functions to add (and explore C more
30
+ *     to complete this rather bare language file
31
+ *
32
+ *************************************************************************************
33
+ *
34
+ *     This file is part of GeSHi.
35
+ *
36
+ *   GeSHi is free software; you can redistribute it and/or modify
37
+ *   it under the terms of the GNU General Public License as published by
38
+ *   the Free Software Foundation; either version 2 of the License, or
39
+ *   (at your option) any later version.
40
+ *
41
+ *   GeSHi is distributed in the hope that it will be useful,
42
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
43
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
44
+ *   GNU General Public License for more details.
45
+ *
46
+ *   You should have received a copy of the GNU General Public License
47
+ *   along with GeSHi; if not, write to the Free Software
48
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
49
+ *
50
+ ************************************************************************************/
51
+
52
+$language_data = array (
53
+	'LANG_NAME' => 'C',
54
+	'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
55
+	'COMMENT_MULTI' => array('/*' => '*/'),
56
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
57
+	'QUOTEMARKS' => array("'", '"'),
58
+	'ESCAPE_CHAR' => '\\',
59
+	'KEYWORDS' => array(
60
+		1 => array(
61
+			'if', 'return', 'while', 'case', 'continue', 'default',
62
+			'do', 'else', 'for', 'switch', 'goto'
63
+			),
64
+		2 => array(
65
+			'null', 'false', 'break', 'true', 'function', 'enum', 'extern', 'inline'
66
+			),
67
+		3 => array(
68
+			'printf', 'cout'
69
+			),
70
+		4 => array(
71
+			'auto', 'char', 'const', 'double',  'float', 'int', 'long',
72
+			'register', 'short', 'signed', 'sizeof', 'static', 'string', 'struct',
73
+			'typedef', 'union', 'unsigned', 'void', 'volatile', 'wchar_t'
74
+			),
75
+		),
76
+	'SYMBOLS' => array(
77
+		'(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
78
+		),
79
+	'CASE_SENSITIVE' => array(
80
+		GESHI_COMMENTS => true,
81
+		1 => false,
82
+		2 => false,
83
+		3 => false,
84
+		4 => false,
85
+		),
86
+	'STYLES' => array(
87
+		'KEYWORDS' => array(
88
+			1 => 'color: #b1b100;',
89
+			2 => 'color: #000000; font-weight: bold;',
90
+			3 => 'color: #000066;',
91
+			4 => 'color: #993333;'
92
+			),
93
+		'COMMENTS' => array(
94
+			1 => 'color: #808080; font-style: italic;',
95
+			2 => 'color: #339933;',
96
+			'MULTI' => 'color: #808080; font-style: italic;'
97
+			),
98
+		'ESCAPE_CHAR' => array(
99
+			0 => 'color: #000099; font-weight: bold;'
100
+			),
101
+		'BRACKETS' => array(
102
+			0 => 'color: #66cc66;'
103
+			),
104
+		'STRINGS' => array(
105
+			0 => 'color: #ff0000;'
106
+			),
107
+		'NUMBERS' => array(
108
+			0 => 'color: #cc66cc;'
109
+			),
110
+		'METHODS' => array(
111
+			1 => 'color: #202020;',
112
+			2 => 'color: #202020;'
113
+			),
114
+		'SYMBOLS' => array(
115
+			0 => 'color: #66cc66;'
116
+			),
117
+		'REGEXPS' => array(
118
+			),
119
+		'SCRIPT' => array(
120
+			)
121
+		),
122
+	'URLS' => array(
123
+		1 => '',
124
+		2 => '',
125
+		3 => 'http://www.opengroup.org/onlinepubs/009695399/functions/{FNAME}.html',
126
+		4 => ''
127
+		),
128
+	'OOLANG' => true,
129
+	'OBJECT_SPLITTERS' => array(
130
+		1 => '.',
131
+		2 => '::'
132
+		),
133
+	'REGEXPS' => array(
134
+		),
135
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
136
+	'SCRIPT_DELIMITERS' => array(
137
+		),
138
+	'HIGHLIGHT_STRICT_BLOCK' => array(
139
+        ),
140
+    'TAB_WIDTH' => 4
141
+);
142
+
143
+?>

+ 175 - 0
plugins/geshi/c_mac.php View File

@@ -0,0 +1,175 @@
1
+<?php
2
+/*************************************************************************************
3
+ * c_mac.php
4
+ * ---------
5
+ * Author: M. Uli Kusterer (witness.of.teachtext@gmx.net)
6
+ * Copyright: (c) 2004 M. Uli Kusterer, Nigel McNie (http://qbnz.com/highlighter/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/06/04
9
+ *
10
+ * C for Macs language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2004/11/27
15
+ *   -  First Release
16
+ *
17
+ * TODO (updated 2004/11/27)
18
+ * -------------------------
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *     This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+$language_data = array (
41
+	'LANG_NAME' => 'C (Mac)',
42
+	'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
43
+	'COMMENT_MULTI' => array('/*' => '*/'),
44
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
45
+	'QUOTEMARKS' => array("'", '"'),
46
+	'ESCAPE_CHAR' => '\\',
47
+	'KEYWORDS' => array(
48
+		1 => array(
49
+			'if', 'return', 'while', 'case', 'continue', 'default',
50
+			'do', 'else', 'for', 'switch', 'goto'
51
+			),
52
+		2 => array(
53
+			'NULL', 'false', 'break', 'true', 'enum', 'errno', 'EDOM',
54
+			'ERANGE', 'FLT_RADIX', 'FLT_ROUNDS', 'FLT_DIG', 'DBL_DIG', 'LDBL_DIG',
55
+			'FLT_EPSILON', 'DBL_EPSILON', 'LDBL_EPSILON', 'FLT_MANT_DIG', 'DBL_MANT_DIG',
56
+			'LDBL_MANT_DIG', 'FLT_MAX', 'DBL_MAX', 'LDBL_MAX', 'FLT_MAX_EXP', 'DBL_MAX_EXP',
57
+			'LDBL_MAX_EXP', 'FLT_MIN', 'DBL_MIN', 'LDBL_MIN', 'FLT_MIN_EXP', 'DBL_MIN_EXP',
58
+			'LDBL_MIN_EXP', 'CHAR_BIT', 'CHAR_MAX', 'CHAR_MIN', 'SCHAR_MAX', 'SCHAR_MIN',
59
+			'UCHAR_MAX', 'SHRT_MAX', 'SHRT_MIN', 'USHRT_MAX', 'INT_MAX', 'INT_MIN',
60
+			'UINT_MAX', 'LONG_MAX', 'LONG_MIN', 'ULONG_MAX', 'HUGE_VAL', 'SIGABRT',
61
+			'SIGFPE', 'SIGILL', 'SIGINT', 'SIGSEGV', 'SIGTERM', 'SIG_DFL', 'SIG_ERR',
62
+			'SIG_IGN', 'BUFSIZ', 'EOF', 'FILENAME_MAX', 'FOPEN_MAX', 'L_tmpnam', 'NULL',
63
+			'SEEK_CUR', 'SEEK_END', 'SEEK_SET', 'TMP_MAX', 'stdin', 'stdout', 'stderr',
64
+			'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC',
65
+			// Mac-specific constants:
66
+			'kCFAllocatorDefault'
67
+			),
68
+		3 => array(
69
+			'printf', 'fprintf', 'snprintf', 'sprintf', 'assert',
70
+			'isalnum', 'isalpha', 'isdigit', 'iscntrl', 'isgraph', 'islower', 'isprint',
71
+			'ispunct', 'isspace', 'ispunct', 'isupper', 'isxdigit', 'tolower', 'toupper',
72
+			'exp', 'log', 'log10', 'pow', 'sqrt', 'ceil', 'floor', 'fabs', 'ldexp',
73
+			'frexp', 'modf', 'fmod', 'sin', 'cos', 'tan', 'asin', 'acos', 'atan', 'atan2',
74
+			'sinh', 'cosh', 'tanh', 'setjmp', 'longjmp', 'asin', 'acos', 'atan', 'atan2',
75
+			'va_start', 'va_arg', 'va_end', 'offsetof', 'sizeof', 'fopen', 'freopen',
76
+			'fflush', 'fclose', 'remove', 'rename', 'tmpfile', 'tmpname', 'setvbuf',
77
+			'setbuf', 'vfprintf', 'vprintf', 'vsprintf', 'fscanf', 'scanf', 'sscanf',
78
+			'fgetc', 'fgets', 'fputc', 'fputs', 'getc', 'getchar', 'gets', 'putc',
79
+			'putchar', 'puts', 'ungetc', 'fread', 'fwrite', 'fseek', 'ftell', 'rewind',
80
+			'fgetpos', 'fsetpos', 'clearerr', 'feof', 'ferror', 'perror', 'abs', 'labs',
81
+			'div', 'ldiv', 'atof', 'atoi', 'atol', 'strtod', 'strtol', 'strtoul', 'calloc',
82
+			'malloc', 'realloc', 'free', 'abort', 'exit', 'atexit', 'system', 'getenv',
83
+			'bsearch', 'qsort', 'rand', 'srand', 'strcpy', 'strncpy', 'strcat', 'strncat',
84
+			'strcmp', 'strncmp', 'strcoll', 'strchr', 'strrchr', 'strspn', 'strcspn',
85
+			'strpbrk', 'strstr', 'strlen', 'strerror', 'strtok', 'strxfrm', 'memcpy',
86
+			'memmove', 'memcmp', 'memchr', 'memset', 'clock', 'time', 'difftime', 'mktime',
87
+			'asctime', 'ctime', 'gmtime', 'localtime', 'strftime'
88
+			),
89
+		4 => array(
90
+			'auto', 'char', 'const', 'double',  'float', 'int', 'long',
91
+			'register', 'short', 'signed', 'sizeof', 'static', 'string', 'struct',
92
+			'typedef', 'union', 'unsigned', 'void', 'volatile', 'extern', 'jmp_buf',
93
+			'signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t', 'FILE', 'fpos_t',
94
+			'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm',
95
+			// Mac-specific types:
96
+			'CFArrayRef', 'CFDictionaryRef', 'CFMutableDictionaryRef', 'CFBundleRef', 'CFSetRef', 'CFStringRef',
97
+			'CFURLRef', 'CFLocaleRef', 'CFDateFormatterRef', 'CFNumberFormatterRef', 'CFPropertyListRef',
98
+			'CFTreeRef', 'CFWriteStreamRef', 'CFCharacterSetRef', 'CFMutableStringRef', 'CFNotificationRef',
99
+			'CFNotificationRef', 'CFReadStreamRef', 'CFNull', 'CFAllocatorRef', 'CFBagRef', 'CFBinaryHeapRef',
100
+			'CFBitVectorRef', 'CFBooleanRef', 'CFDataRef', 'CFDateRef', 'CFMachPortRef', 'CFMessagePortRef',
101
+			'CFMutableArrayRef', 'CFMutableBagRef', 'CFMutableBitVectorRef', 'CFMutableCharacterSetRef',
102
+			'CFMutableDataRef', 'CFMutableSetRef', 'CFNumberRef', 'CFPlugInRef', 'CFPlugInInstanceRef',
103
+			'CFRunLoopRef', 'CFRunLoopObserverRef', 'CFRunLoopSourceRef', 'CFRunLoopTimerRef', 'CFSocketRef',
104
+			'CFTimeZoneRef', 'CFTypeRef', 'CFUserNotificationRef', 'CFUUIDRef', 'CFXMLNodeRef', 'CFXMLParserRef',
105
+			'CFXMLTreeRef'
106
+			),
107
+		),
108
+	'SYMBOLS' => array(
109
+		'(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
110
+		),
111
+	'CASE_SENSITIVE' => array(
112
+		GESHI_COMMENTS => true,
113
+		1 => false,
114
+		2 => false,
115
+		3 => false,
116
+		4 => false,
117
+		),
118
+	'STYLES' => array(
119
+		'KEYWORDS' => array(
120
+			1 => 'color: #0000ff;',
121
+			2 => 'color: #0000ff;',
122
+			3 => 'color: #0000dd;',
123
+			4 => 'color: #0000ff;'
124
+			),
125
+		'COMMENTS' => array(
126
+			1 => 'color: #ff0000;',
127
+			2 => 'color: #339900;',
128
+			'MULTI' => 'color: #ff0000; font-style: italic;'
129
+			),
130
+		'ESCAPE_CHAR' => array(
131
+			0 => 'color: #666666; font-weight: bold;'
132
+			),
133
+		'BRACKETS' => array(
134
+			0 => 'color: #000000;'
135
+			),
136
+		'STRINGS' => array(
137
+			0 => 'color: #666666;'
138
+			),
139
+		'NUMBERS' => array(
140
+			0 => 'color: #0000dd;'
141
+			),
142
+		'METHODS' => array(
143
+			1 => 'color: #00eeff;',
144
+			2 => 'color: #00eeff;'
145
+			),
146
+		'SYMBOLS' => array(
147
+			0 => 'color: #000000;'
148
+			),
149
+		'REGEXPS' => array(
150
+			),
151
+		'SCRIPT' => array(
152
+			)
153
+		),
154
+	'URLS' => array(
155
+		1 => '',
156
+		2 => '',
157
+		3 => 'http://www.opengroup.org/onlinepubs/009695399/functions/{FNAME}.html',
158
+		4 => ''
159
+		),
160
+	'OOLANG' => true,
161
+	'OBJECT_SPLITTERS' => array(
162
+		1 => '.',
163
+		2 => '::'
164
+		),
165
+	'REGEXPS' => array(
166
+		),
167
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
168
+	'SCRIPT_DELIMITERS' => array(
169
+		),
170
+	'HIGHLIGHT_STRICT_BLOCK' => array(
171
+        ),
172
+    'TAB_WIDTH' => 4
173
+);
174
+
175
+?>

+ 125 - 0
plugins/geshi/caddcl.php View File

@@ -0,0 +1,125 @@
1
+<?php
2
+/*************************************************************************************
3
+ * caddcl.php
4
+ * ----------
5
+ * Author: Roberto Rossi (rsoftware@altervista.org)
6
+ * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/08/30
9
+ *
10
+ * CAD DCL (Dialog Control Language) file for GeSHi.
11
+ *
12
+ * DCL for AutoCAD 12 or later and IntelliCAD all versions.
13
+ *
14
+ * CHANGES
15
+ * -------
16
+ * 2004/11/27 (1.0.1)
17
+ *  -  Added support for multiple object splitters
18
+ * 2004/1!/27 (1.0.0)
19
+ *  -  First Release
20
+ *
21
+ * TODO (updated 2004/11/27)
22
+ * -------------------------
23
+ *
24
+ *************************************************************************************
25
+ *
26
+ *     This file is part of GeSHi.
27
+ *
28
+ *   GeSHi is free software; you can redistribute it and/or modify
29
+ *   it under the terms of the GNU General Public License as published by
30
+ *   the Free Software Foundation; either version 2 of the License, or
31
+ *   (at your option) any later version.
32
+ *
33
+ *   GeSHi is distributed in the hope that it will be useful,
34
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
35
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
36
+ *   GNU General Public License for more details.
37
+ *
38
+ *   You should have received a copy of the GNU General Public License
39
+ *   along with GeSHi; if not, write to the Free Software
40
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
41
+ *
42
+ ************************************************************************************/
43
+
44
+$language_data = array (
45
+	'LANG_NAME' => 'CAD DCL',
46
+	'COMMENT_SINGLE' => array(1 => '//'),
47
+	'COMMENT_MULTI' => array('/*' => '*/'),
48
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
49
+	'QUOTEMARKS' => array('"'),
50
+	'ESCAPE_CHAR' => '\\',
51
+	'KEYWORDS' => array(
52
+		1 => array(
53
+			'boxed_column','boxed_radio_column','boxed_radio_row','boxed_row',
54
+			'column','concatenation','button','dialog','edit_box','image','image_button',
55
+			'errtile','list_box','ok_cancel','ok_cancel_help','ok_cancel_help_errtile',
56
+			'ok_cancel_help_info','ok_only','paragraph','popup_list','radio_button',
57
+			'radio_column','radio_row','row','slider','spacer','spacer_0','spacer_1','text',
58
+			'text_part','toggle',
59
+			'action','alignment','allow_accept','aspect_ratio','big_increment',
60
+			'children_alignment','children_fixed_height',
61
+			'children_fixed_width','color',
62
+			'edit_limit','edit_width','fixed_height','fixed_width',
63
+			'height','initial_focus','is_cancel','is_default',
64
+			'is_enabled','is_tab_stop','is-bold','key','label','layout','list',
65
+			'max_value','min_value','mnemonic','multiple_select','password_char',
66
+			'small_increment','tabs','tab_truncate','value','width',
67
+			'false','true','left','right','centered','top','bottom',
68
+			'dialog_line','dialog_foreground','dialog_background',
69
+			'graphics_background','black','red','yellow','green','cyan',
70
+			'blue','magenta','whitegraphics_foreground',
71
+			'horizontal','vertical'
72
+			)
73
+		),
74
+	'SYMBOLS' => array(
75
+		'(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
76
+		),
77
+	'CASE_SENSITIVE' => array(
78
+		GESHI_COMMENTS => true,
79
+		1 => false
80
+		),
81
+	'STYLES' => array(
82
+		'KEYWORDS' => array(
83
+			1 => 'color: #b1b100;'
84
+			),
85
+		'COMMENTS' => array(
86
+			1 => 'color: #808080; font-style: italic;',
87
+			'MULTI' => 'color: #808080; font-style: italic;'
88
+			),
89
+		'ESCAPE_CHAR' => array(
90
+			0 => 'color: #000099; font-weight: bold;'
91
+			),
92
+		'BRACKETS' => array(
93
+			0 => 'color: #66cc66;'
94
+			),
95
+		'STRINGS' => array(
96
+			0 => 'color: #ff0000;'
97
+			),
98
+		'NUMBERS' => array(
99
+			0 => 'color: #cc66cc;'
100
+			),
101
+		'METHODS' => array(
102
+			),
103
+		'SYMBOLS' => array(
104
+			0 => 'color: #66cc66;'
105
+			),
106
+		'REGEXPS' => array(
107
+			),
108
+		'SCRIPT' => array(
109
+			)
110
+		),
111
+	'URLS' => array(
112
+		),
113
+	'OOLANG' => false,
114
+	'OBJECT_SPLITTERS' => array(
115
+		),
116
+	'REGEXPS' => array(
117
+		),
118
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
119
+	'SCRIPT_DELIMITERS' => array(
120
+		),
121
+	'HIGHLIGHT_STRICT_BLOCK' => array(
122
+		)
123
+);
124
+
125
+?>

+ 185 - 0
plugins/geshi/cadlisp.php View File

@@ -0,0 +1,185 @@
1
+<?php
2
+/*************************************************************************************
3
+ * cadlisp.php
4
+ * -----------
5
+ * Author: Roberto Rossi (rsoftware@altervista.org)
6
+ * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/blog)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/08/30
9
+ *
10
+ * AutoCAD/IntelliCAD Lisp language file for GeSHi.
11
+ *
12
+ * For AutoCAD V.12..2005 and IntelliCAD all versions.
13
+ *
14
+ * CHANGES
15
+ * -------
16
+ * 2004/11/27 (1.0.1)
17
+ *  -  Added support for multiple object splitters
18
+ * 2004/10/27 (1.0.0)
19
+ *  -  First Release
20
+ *
21
+ * TODO (updated 2004/11/27)
22
+ * -------------------------
23
+ *
24
+ *************************************************************************************
25
+ *
26
+ *     This file is part of GeSHi.
27
+ *
28
+ *   GeSHi is free software; you can redistribute it and/or modify
29
+ *   it under the terms of the GNU General Public License as published by
30
+ *   the Free Software Foundation; either version 2 of the License, or
31
+ *   (at your option) any later version.
32
+ *
33
+ *   GeSHi is distributed in the hope that it will be useful,
34
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
35
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
36
+ *   GNU General Public License for more details.
37
+ *
38
+ *   You should have received a copy of the GNU General Public License
39
+ *   along with GeSHi; if not, write to the Free Software
40
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
41
+ *
42
+ ************************************************************************************/
43
+
44
+$language_data = array (
45
+	'LANG_NAME' => 'CAD Lisp',
46
+	'COMMENT_SINGLE' => array(1 => ";"),
47
+	'COMMENT_MULTI' => array(";|" => "|;"),
48
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
49
+	'QUOTEMARKS' => array('"'),
50
+	'ESCAPE_CHAR' => '\\',
51
+	'KEYWORDS' => array(
52
+		1 => array(
53
+			'abs','acad_colordlg','acad_helpdlg','acad_strlsort','action_tile',
54
+			'add_list','alert','alloc','and','angle','angtof','angtos','append','apply',
55
+			'arx','arxload','arxunload','ascii','assoc','atan','atof','atoi','atom',
56
+			'atoms-family','autoarxload','autoload','Boole','boundp','caddr',
57
+			'cadr','car','cdr','chr','client_data_tile','close','command','cond',
58
+			'cons','cos','cvunit','defun','defun-q','defun-q-list-ref',
59
+			'defun-q-list-set','dictadd','dictnext','dictremove','dictrename',
60
+			'dictsearch','dimx_tile','dimy_tile','distance','distof','done_dialog',
61
+			'end_image','end_list','entdel','entget','entlast','entmake',
62
+			'entmakex','entmod','entnext','entsel','entupd','eq','equal','eval','exit',
63
+			'exp','expand','expt','fill_image','findfile','fix','float','foreach','function',
64
+			'gc','gcd','get_attr','get_tile','getangle','getcfg','getcname','getcorner',
65
+			'getdist','getenv','getfiled','getint','getkword','getorient','getpoint',
66
+			'getreal','getstring','getvar','graphscr','grclear','grdraw','grread','grtext',
67
+			'grvecs','handent','help','if','initdia','initget','inters','itoa','lambda','last',
68
+			'layoutlist','length','list','listp','load','load_dialog','log','logand','logior',
69
+			'lsh','mapcar','max','mem','member','menucmd','menugroup','min','minusp','mode_tile',
70
+			'namedobjdict','nentsel','nentselp','new_dialog','nil','not','nth','null',
71
+			'numberp','open','or','osnap','polar','prin1','princ','print','progn','prompt',
72
+			'quit','quote','read','read-char','read-line','redraw','regapp','rem','repeat',
73
+			'reverse','rtos','set','set_tile','setcfg','setenv','setfunhelp','setq','setvar',
74
+			'setview','sin','slide_image','snvalid','sqrt','ssadd','ssdel','ssget','ssgetfirst',
75
+			'sslength','ssmemb','ssname','ssnamex','sssetfirst','start_dialog','start_image',
76
+			'start_list','startapp','strcase','strcat','strlen','subst','substr','t','tablet',
77
+			'tblnext','tblobjname','tblsearch','term_dialog','terpri','textbox','textpage',
78
+			'textscr','trace','trans','type','unload_dialog','untrace','vector_image','ver',
79
+			'vports','wcmatch','while','write-char','write-line','xdroom','xdsize','zerop',
80
+			'vl-acad-defun','vl-acad-undefun','vl-arx-import','vlax-3D-point',
81
+			'vlax-add-cmd','vlax-create-object','vlax-curve-getArea',
82
+			'vlax-curve-getClosestPointTo','vlax-curve-getClosestPointToProjection',
83
+			'vlax-curve-getDistAtParam','vlax-curve-getDistAtPoint',
84
+			'vlax-curve-getEndParam','vlax-curve-getEndPoint',
85
+			'vlax-curve-getFirstDeriv','vlax-curve-getParamAtDist',
86
+			'vlax-curve-getParamAtPoint','vlax-curve-getPointAtDist',
87
+			'vlax-curve-getPointAtParam','vlax-curve-getSecondDeriv',
88
+			'vlax-curve-getStartParam','vlax-curve-getStartPoint',
89
+			'vlax-curve-isClosed','vlax-curve-isPeriodic','vlax-curve-isPlanar',
90
+			'vlax-dump-object','vlax-erased-p','vlax-for','vlax-get-acad-object',
91
+			'vlax-get-object','vlax-get-or-create-object','vlax-get-property',
92
+			'vlax-import-type-library','vlax-invoke-method','vlax-ldata-delete',
93
+			'vlax-ldata-get','vlax-ldata-list','vlax-ldata-put','vlax-ldata-test',
94
+			'vlax-make-safearray','vlax-make-variant','vlax-map-collection',
95
+			'vlax-method-applicable-p','vlax-object-released-p','vlax-product-key',
96
+			'vlax-property-available-p','vlax-put-property','vlax-read-enabled-p',
97
+			'vlax-release-object','vlax-remove-cmd','vlax-safearray-fill',
98
+			'vlax-safearray-get-dim','vlax-safearray-get-element',
99
+			'vlax-safearray-get-l-bound','vlax-safearray-get-u-bound',
100
+			'vlax-safearray-put-element','vlax-safearray-type','vlax-tmatrix',
101
+			'vlax-typeinfo-available-p','vlax-variant-change-type',
102
+			'vlax-variant-type','vlax-variant-value','vlax-write-enabled-p',
103
+			'vl-bb-ref','vl-bb-set','vl-catch-all-apply','vl-catch-all-error-message',
104
+			'vl-catch-all-error-p','vl-cmdf','vl-consp','vl-directory-files','vl-doc-export',
105
+			'vl-doc-import','vl-doc-ref','vl-doc-set','vl-every','vl-exit-with-error',
106
+			'vl-exit-with-value','vl-file-copy','vl-file-delete','vl-file-directory-p',
107
+			'vl-filename-base','vl-filename-directory','vl-filename-extension',
108
+			'vl-filename-mktemp','vl-file-rename','vl-file-size','vl-file-systime',
109
+			'vl-get-resource','vlisp-compile','vl-list-exported-functions',
110
+			'vl-list-length','vl-list-loaded-vlx','vl-load-all','vl-load-com',
111
+			'vl-load-reactors','vl-member-if','vl-member-if-not','vl-position',
112
+			'vl-prin1-to-string','vl-princ-to-string','vl-propagate','vlr-acdb-reactor',
113
+			'vlr-add','vlr-added-p','vlr-beep-reaction','vlr-command-reactor',
114
+			'vlr-current-reaction-name','vlr-data','vlr-data-set',
115
+			'vlr-deepclone-reactor','vlr-docmanager-reactor','vlr-dwg-reactor',
116
+			'vlr-dxf-reactor','vlr-editor-reactor','vl-registry-delete',
117
+			'vl-registry-descendents','vl-registry-read','vl-registry-write',
118
+			'vl-remove','vl-remove-if','vl-remove-if-not','vlr-insert-reactor',
119
+			'vlr-linker-reactor','vlr-lisp-reactor','vlr-miscellaneous-reactor',
120
+			'vlr-mouse-reactor','vlr-notification','vlr-object-reactor',
121
+			'vlr-owner-add','vlr-owner-remove','vlr-owners','vlr-pers','vlr-pers-list',
122
+			'vlr-pers-p','vlr-pers-release','vlr-reaction-names','vlr-reactions',
123
+			'vlr-reaction-set','vlr-reactors','vlr-remove','vlr-remove-all',
124
+			'vlr-set-notification','vlr-sysvar-reactor','vlr-toolbar-reactor',
125
+			'vlr-trace-reaction','vlr-type','vlr-types','vlr-undo-reactor',
126
+			'vlr-wblock-reactor','vlr-window-reactor','vlr-xref-reactor',
127
+			'vl-some','vl-sort','vl-sort-i','vl-string-elt','vl-string-left-trim',
128
+			'vl-string-mismatch','vl-string-position','vl-string-right-trim',
129
+			'vl-string-search','vl-string-subst','vl-string-translate','vl-string-trim',
130
+			'vl-symbol-name','vl-symbolp','vl-symbol-value','vl-unload-vlx','vl-vbaload',
131
+			'vl-vbarun','vl-vlx-loaded-p'
132
+			)
133
+		),
134
+	'SYMBOLS' => array(
135
+		'(', ')', '{', '}', '[', ']', '!', '%', '^', '&', '/','+','-','*','=','<','>'
136
+		),
137
+	'CASE_SENSITIVE' => array(
138
+		GESHI_COMMENTS => true,
139
+		1 => false
140
+		),
141
+	'STYLES' => array(
142
+		'KEYWORDS' => array(
143
+			1 => 'color: #b1b100;'
144
+			),
145
+		'COMMENTS' => array(
146
+			1 => 'color: #808080; font-style: italic;',
147
+			'MULTI' => 'color: #808080; font-style: italic;'
148
+			),
149
+		'ESCAPE_CHAR' => array(
150
+			0 => 'color: #000099; font-weight: bold;'
151
+			),
152
+		'BRACKETS' => array(
153
+			0 => 'color: #66cc66;'
154
+			),
155
+		'STRINGS' => array(
156
+			0 => 'color: #ff0000;'
157
+			),
158
+		'NUMBERS' => array(
159
+			0 => 'color: #cc66cc;'
160
+			),
161
+		'METHODS' => array(
162
+			),
163
+		'SYMBOLS' => array(
164
+			0 => 'color: #66cc66;'
165
+			),
166
+		'REGEXPS' => array(
167
+			),
168
+		'SCRIPT' => array(
169
+			)
170
+		),
171
+	'URLS' => array(
172
+		),
173
+	'OOLANG' => false,
174
+	'OBJECT_SPLITTERS' => array(
175
+		),
176
+	'REGEXPS' => array(
177
+		),
178
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
179
+	'SCRIPT_DELIMITERS' => array(
180
+		),
181
+	'HIGHLIGHT_STRICT_BLOCK' => array(
182
+		)
183
+);
184
+
185
+?>

+ 125 - 0
plugins/geshi/cfdg.php View File

@@ -0,0 +1,125 @@
1
+<?php
2
+/*************************************************************************************
3
+ * cfdg.php
4
+ * --------
5
+ * Author: John Horigan <john@glyphic.com>
6
+ * Copyright: (c) 2006 John Horigan http://www.ozonehouse.com/john/
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2006/03/11
9
+ *
10
+ * CFDG language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2006/03/11 (1.0.0)
15
+ *  -  First Release
16
+ *
17
+ * TODO (updated 2006/03/11)
18
+ * -------------------------
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *     This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+$language_data = array (
41
+	'LANG_NAME' => 'CFDG',
42
+	'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
43
+	'COMMENT_MULTI' => array('/*' => '*/'),
44
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
45
+	'QUOTEMARKS' => array("'", '"'),
46
+	'ESCAPE_CHAR' => '',
47
+	'KEYWORDS' => array(
48
+		1 => array(
49
+			'include', 'startshape', 'rule', 'background'
50
+			),
51
+		2 => array(
52
+			'SQUARE', 'CIRCLE', 'TRIANGLE',
53
+			),
54
+		3 => array(
55
+			'b','brightness','h','hue','sat','saturation',
56
+			'a','alpha','x','y','z','s','size',
57
+			'r','rotate','f','flip','skew','xml_set_object'
58
+			)
59
+		),
60
+	'SYMBOLS' => array(
61
+		'[', ']', '{', '}', '*', '|'
62
+		),
63
+	'CASE_SENSITIVE' => array(
64
+		GESHI_COMMENTS => false,
65
+		1 => false,
66
+		2 => false,
67
+		3 => false,
68
+		),
69
+	'STYLES' => array(
70
+		'KEYWORDS' => array(
71
+			1 => 'color: #717100;',
72
+			2 => 'color: #000000; font-weight: bold;',
73
+			3 => 'color: #006666;'
74
+			),
75
+		'COMMENTS' => array(
76
+			1 => 'color: #808080; font-style: italic;',
77
+			2 => 'color: #808080; font-style: italic;',
78
+			'MULTI' => 'color: #808080; font-style: italic;'
79
+			),
80
+		'ESCAPE_CHAR' => array(
81
+			0 => 'color: #000099; font-weight: bold;'
82
+			),
83
+		'BRACKETS' => array(
84
+			0 => 'color: #66cc66;'
85
+			),
86
+		'STRINGS' => array(
87
+			0 => 'color: #ff0000;'
88
+			),
89
+		'NUMBERS' => array(
90
+			0 => 'color: #cc66cc;'
91
+			),
92
+		'METHODS' => array(
93
+			1 => 'color: #006600;',
94
+			2 => 'color: #006600;'
95
+			),
96
+		'SYMBOLS' => array(
97
+			0 => 'color: #66cc66;'
98
+			),
99
+		'REGEXPS' => array(
100
+			),
101
+		'SCRIPT' => array(
102
+			0 => '',
103
+			1 => '',
104
+			2 => '',
105
+			3 => ''
106
+			)
107
+		),
108
+	'URLS' => array(
109
+		1 => '',
110
+		2 => '',
111
+		3 => '',
112
+		4 => ''
113
+		),
114
+	'OOLANG' => false,
115
+	'OBJECT_SPLITTERS' => '',
116
+	'REGEXPS' => array(
117
+		),
118
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
119
+	'SCRIPT_DELIMITERS' => array(
120
+		),
121
+	'HIGHLIGHT_STRICT_BLOCK' => array(
122
+		)
123
+);
124
+
125
+?>

+ 325 - 0
plugins/geshi/cfm.php View File

@@ -0,0 +1,325 @@
1
+<?php
2
+/*************************************************************************************
3
+ * cfm.php
4
+ * -------
5
+ * Author: Diego
6
+ * Copyright: (c) 2006 Diego
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2006/02/25
9
+ *
10
+ * ColdFusion language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2006/02/25 (1.0.0)
15
+ *   -  First Release
16
+ *
17
+ * TODO (updated 2006/02/25)
18
+ * -------------------------
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *     This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+$language_data = array (
41
+	'LANG_NAME' => 'ColdFusion',
42
+	'COMMENT_SINGLE' => array(1 => '//'),
43
+    'COMMENT_MULTI' => array('<!--' => '-->','&lt;!---' => '---&gt;', '/*' => '*/'),
44
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
45
+	'QUOTEMARKS' => array("'", '"'),
46
+	'ESCAPE_CHAR' => '\\',
47
+	'KEYWORDS' => array(
48
+		/* CFM Tags */
49
+		1 => array(
50
+			'&lt;cfabort', '&lt;cfapplet', '&lt;cfapplication', '&lt;cfargument', '&lt;cfassociate', '&lt;&lt;cfbreak&gt;',
51
+			'&lt;cfcache', '&lt;cfcase', '&lt;cfcatch', '&lt;/cfcatch&gt;', '&lt;cfchart', '&lt;/cfchart&gt;', '&lt;cfchartdata',
52
+			'&lt;cfchartseries', '&lt;/cfchartseries&gt;', '&lt;cfcol', '&lt;cfcollection', '&lt;cfcomponent', '&lt;/cfcomponent&gt;',
53
+			'&lt;cfcontent', '&lt;cfcookie', '&lt;/cfdefaultcase&gt;', '&lt;cfdirectory', '&lt;cfdocument', '&lt;/cfdocument&gt;',
54
+			'&lt;cfdocumentitem', '&lt;/cfdocumentitem&gt;', '&lt;cfdocumentsection', '&lt;/cfdocumentsection&gt;', '&lt;cfdump',
55
+			'&lt;cfelse', '&lt;cfelseif', '&lt;cferror', '&lt;cfexecute', '&lt;/cfexecute&gt;', '&lt;cfexit', '&lt;cffile',
56
+			'&lt;cfflush', '&lt;cfform', '&lt;/cfform&gt;', '&lt;cfformgroup', '&lt;/cfformgroup', '&lt;cfformitem',
57
+			'&lt;/cfformitem&gt;', '&lt;cfftp', '&lt;cffunction', '&lt;/cffunction&gt;', '&lt;cfgrid', '&lt;/cfgrid&gt;',
58
+			'&lt;cfgridcolumn', '&lt;cfgridrow', '&lt;cfgridupdate', '&lt;cfheader', '&lt;cfhtmlhead', '&lt;cfhttp',
59
+			'&lt;/cfhttp&gt;', '&lt;cfhttpparam', '&lt;cfif', '&lt;/cfif&gt;', '&lt;cfimport', '&lt;cfinclude', '&lt;cfindex',
60
+			'&lt;cfinput', '&lt;cfinsert', '&lt;cfinvoke', '&lt;cfinvokeargument', '&lt;cfldap', '&lt;cflocation', '&lt;cflock',
61
+			'&lt;/cflock&gt;', '&lt;cflog', '&lt;cflogin', '&lt;/cflogin&gt;', '&lt;cfloginuser', '&lt;cflogout', '&lt;cfloop',
62
+			'&lt;/cfloop&gt;', '&lt;cfmail', '&lt;/cfmail&gt;', '&lt;cfmailparam', '&lt;cfmailpart', '&lt;/cfmailpart&gt;',
63
+			'&lt;cfmodule', '&lt;cfNTauthenticate', '&lt;cfobject', '&lt;cfobjectcache', '&lt;cfoutput&gt;', '&lt;cfoutput', '&lt;/cfoutput&gt;',
64
+			'&lt;cfparam', '&lt;cfpop', '&lt;cfprocessingdirective', '&lt;/cfprocessingdirective&gt;', '&lt;cfprocparam',
65
+			'&lt;cfprocresult', '&lt;cfproperty', '&lt;cfquery', '&lt;/cfquery&gt;', '&lt;cfqueryparam', '&lt;cfregistry',
66
+			'&lt;/cfregistry&gt;', '&lt;cfreport', '&lt;/cfreport&gt;', '&lt;cfreportparam', '&lt;/cfreportparam&gt;',
67
+			'&lt;cfrethrow', '&lt;cfreturn', '&lt;cfsavecontent', '&lt;/cfsavecontent&gt;', '&lt;cfschedule', '&lt;cfscript', '&lt;cfscript&gt;',
68
+			'&lt;/cfscript&gt;', '&lt;cfsearch', '&lt;cfselect', '&lt;/cfselect&gt;', '&lt;cfset', '&lt;cfsetting', '&lt;cfsilent',
69
+			'&lt;/cfsilent&gt;', '&lt;cfstoredproc', '&lt;/cfstoredproc&gt;', '&lt;cfswitch', '&lt;/cfswitch&gt;', '&lt;cftable',
70
+			'&lt;/cftable&gt;', '&lt;cftextarea', '&lt;/cftextarea&gt;', '&lt;cfthrow', '&lt;cftimer', '&lt;/cftimer&gt;',
71
+			'&lt;cftrace', '&lt;/cftrace&gt;', '&lt;cftransaction', '&lt;/cftransaction&gt;', '&lt;cftree', '&lt;/cftree&gt;',
72
+			'&lt;cftreeitem', '&lt;cftry', '&lt;/cftry&gt;', '&lt;cfupdate', '&lt;cfwddx','&lt;','&gt;'
73
+			),
74
+		/* HTML Tags */
75
+		2 => array(
76
+			'&lt;a&gt;', '&lt;abbr&gt;', '&lt;acronym&gt;', '&lt;address&gt;', '&lt;applet&gt;',
77
+			'&lt;a', '&lt;abbr', '&lt;acronym', '&lt;address', '&lt;applet',
78
+			'&lt;/a&gt;', '&lt;/abbr&gt;', '&lt;/acronym&gt;', '&lt;/address&gt;', '&lt;/applet&gt;',
79
+			'&lt;/a', '&lt;/abbr', '&lt;/acronym', '&lt;/address', '&lt;/applet',
80
+
81
+			'&lt;base&gt;', '&lt;basefont&gt;', '&lt;bdo&gt;', '&lt;big&gt;', '&lt;blockquote&gt;', '&lt;body&gt;', '&lt;br&gt;', '&lt;button&gt;', '&lt;b&gt;',
82
+			'&lt;base', '&lt;basefont', '&lt;bdo', '&lt;big', '&lt;blockquote', '&lt;body', '&lt;br', '&lt;button', '&lt;b',
83
+			'&lt;/base&gt;', '&lt;/basefont&gt;', '&lt;/bdo&gt;', '&lt;/big&gt;', '&lt;/blockquote&gt;', '&lt;/body&gt;', '&lt;/br&gt;', '&lt;/button&gt;', '&lt;/b&gt;',
84
+			'&lt;/base', '&lt;/basefont', '&lt;/bdo', '&lt;/big', '&lt;/blockquote', '&lt;/body', '&lt;/br','&lt;br /&gt;', '&lt;/button', '&lt;/b',
85
+
86
+			'&lt;caption&gt;', '&lt;center&gt;', '&lt;cite&gt;', '&lt;code&gt;', '&lt;colgroup&gt;', '&lt;col&gt;',
87
+			'&lt;caption', '&lt;center', '&lt;cite', '&lt;code', '&lt;colgroup', '&lt;col',
88
+			'&lt;/caption&gt;', '&lt;/center&gt;', '&lt;/cite&gt;', '&lt;/code&gt;', '&lt;/colgroup&gt;', '&lt;/col&gt;',
89
+			'&lt;/caption', '&lt;/center', '&lt;/cite', '&lt;/code', '&lt;/colgroup', '&lt;/col',
90
+
91
+			'&lt;dd&gt;', '&lt;del&gt;', '&lt;dfn&gt;', '&lt;dir&gt;', '&lt;div&gt;', '&lt;dl&gt;', '&lt;dt&gt;',
92
+			'&lt;dd', '&lt;del', '&lt;dfn', '&lt;dir', '&lt;div', '&lt;dl', '&lt;dt',
93
+			'&lt;/dd&gt;', '&lt;/del&gt;', '&lt;/dfn&gt;', '&lt;/dir&gt;', '&lt;/div&gt;', '&lt;/dl&gt;', '&lt;/dt&gt;',
94
+			'&lt;/dd', '&lt;/del', '&lt;/dfn', '&lt;/dir', '&lt;/div', '&lt;/dl', '&lt;/dt',
95
+
96
+			'&lt;em&gt;',
97
+			'&lt;em',
98
+			'&lt;/em&gt;',
99
+			'&lt;/em',
100
+
101
+			'&lt;fieldset&gt;', '&lt;font&gt;', '&lt;form&gt;', '&lt;frame&gt;', '&lt;frameset&gt;',
102
+			'&lt;fieldset', '&lt;font', '&lt;form', '&lt;frame', '&lt;frameset',
103
+			'&lt;/fieldset&gt;', '&lt;/font&gt;', '&lt;/form&gt;', '&lt;/frame&gt;', '&lt;/frameset&gt;',
104
+			'&lt;/fieldset', '&lt;/font', '&lt;/form', '&lt;/frame', '&lt;/frameset',
105
+
106
+			'&lt;h1&gt;', '&lt;h2&gt;', '&lt;h3&gt;', '&lt;h4&gt;', '&lt;h5&gt;', '&lt;h6&gt;', '&lt;head&gt;', '&lt;hr&gt;', '&lt;html&gt;',
107
+			'&lt;h1', '&lt;h2', '&lt;h3', '&lt;h4', '&lt;h5', '&lt;h6', '&lt;head', '&lt;hr', '&lt;html',
108
+			'&lt;/h1&gt;', '&lt;/h2&gt;', '&lt;/h3&gt;', '&lt;/h4&gt;', '&lt;/h5&gt;', '&lt;/h6&gt;', '&lt;/head&gt;', '&lt;/hr&gt;', '&lt;/html&gt;',
109
+			'&lt;/h1', '&lt;/h2', '&lt;/h3', '&lt;/h4', '&lt;/h5', '&lt;/h6', '&lt;/head', '&lt;/hr', '&lt;/html',
110
+
111
+			'&lt;iframe&gt;', '&lt;ilayer&gt;', '&lt;img&gt;', '&lt;input&gt;', '&lt;ins&gt;', '&lt;isindex&gt;', '&lt;i&gt;',
112
+			'&lt;iframe', '&lt;ilayer', '&lt;img', '&lt;input', '&lt;ins', '&lt;isindex', '&lt;i',
113
+			'&lt;/iframe&gt;', '&lt;/ilayer&gt;', '&lt;/img&gt;', '&lt;/input&gt;', '&lt;/ins&gt;', '&lt;/isindex&gt;', '&lt;/i&gt;',
114
+			'&lt;/iframe', '&lt;/ilayer', '&lt;/img', '&lt;/input', '&lt;/ins', '&lt;/isindex', '&lt;/i',
115
+
116
+			'&lt;kbd&gt;',
117
+			'&lt;kbd',
118
+			'&t;/kbd&gt;',
119
+			'&lt;/kbd',
120
+
121
+			'&lt;label&gt;', '&lt;legend&gt;', '&lt;link&gt;', '&lt;li&gt;',
122
+			'&lt;label', '&lt;legend', '&lt;link', '&lt;li',
123
+			'&lt;/label&gt;', '&lt;/legend&gt;', '&lt;/link&gt;', '&lt;/li&gt;',
124
+			'&lt;/label', '&lt;/legend', '&lt;/link', '&lt;/li',
125
+
126
+			'&lt;map&gt;', '&lt;meta&gt;',
127
+			'&lt;map', '&lt;meta',
128
+			'&lt;/map&gt;', '&lt;/meta&gt;',
129
+			'&lt;/map', '&lt;/meta',
130
+
131
+			'&lt;noframes&gt;', '&lt;noscript&gt;',
132
+			'&lt;noframes', '&lt;noscript',
133
+			'&lt;/noframes&gt;', '&lt;/noscript&gt;',
134
+			'&lt;/noframes', '&lt;/noscript',
135
+
136
+			'&lt;object&gt;', '&lt;ol&gt;', '&lt;optgroup&gt;', '&lt;option&gt;',
137
+			'&lt;object', '&lt;ol', '&lt;optgroup', '&lt;option',
138
+			'&lt;/object&gt;', '&lt;/ol&gt;', '&lt;/optgroup&gt;', '&lt;/option&gt;',
139
+			'&lt;/object', '&lt;/ol', '&lt;/optgroup', '&lt;/option',
140
+
141
+			'&lt;param&gt;', '&lt;pre&gt;', '&lt;p&gt;',
142
+			'&lt;param', '&lt;pre', '&lt;p',
143
+			'&lt;/param&gt;', '&lt;/pre&gt;', '&lt;/p&gt;',
144
+			'&lt;/param', '&lt;/pre', '&lt;/p',
145
+
146
+			'&lt;q&gt;',
147
+			'&lt;q',
148
+			'&lt;/q&gt;',
149
+			'&lt;/q',
150
+
151
+			'&lt;samp&gt;', '&lt;script&gt;', '&lt;select&gt;', '&lt;small&gt;', '&lt;span&gt;', '&lt;strike&gt;', '&lt;strong&gt;', '&lt;style&gt;', '&lt;sub&gt;', '&lt;sup&gt;', '&lt;s&gt;',
152
+			'&lt;samp', '&lt;script', '&lt;select', '&lt;small', '&lt;span', '&lt;strike', '&lt;strong', '&lt;style', '&lt;sub', '&lt;sup', '&lt;s',
153
+			'&lt;/samp&gt;', '&lt;/script&gt;', '&lt;/select&gt;', '&lt;/small&gt;', '&lt;/span&gt;', '&lt;/strike&gt;', '&lt;/strong&gt;', '&lt;/style&gt;', '&lt;/sub&gt;', '&lt;/sup&gt;', '&lt;/s&gt;',
154
+			'&lt;/samp', '&lt;/script', '&lt;/select', '&lt;/small', '&lt;/span', '&lt;/strike', '&lt;/strong', '&lt;/style', '&lt;/sub', '&lt;/sup', '&lt;/s',
155
+
156
+			'&lt;table&gt;', '&lt;tbody&gt;', '&lt;td&gt;', '&lt;textarea&gt;', '&lt;text&gt;', '&lt;tfoot&gt;', '&lt;thead&gt;', '&lt;th&gt;', '&lt;title&gt;', '&lt;tr&gt;', '&lt;tt&gt;',
157
+			'&lt;table', '&lt;tbody', '&lt;td', '&lt;textarea', '&lt;text', '&lt;tfoot', '&lt;tfoot', '&lt;thead', '&lt;th', '&lt;title', '&lt;tr', '&lt;tt',
158
+			'&lt;/table&gt;', '&lt;/tbody&gt;', '&lt;/td&gt;', '&lt;/textarea&gt;', '&lt;/text&gt;', '&lt;/tfoot&gt;', '&lt;/thead', '&lt;/tfoot', '&lt;/th&gt;', '&lt;/title&gt;', '&lt;/tr&gt;', '&lt;/tt&gt;',
159
+			'&lt;/table', '&lt;/tbody', '&lt;/td', '&lt;/textarea', '&lt;/text', '&lt;/tfoot', '&lt;/tfoot', '&lt;/thead', '&lt;/th', '&lt;/title', '&lt;/tr', '&lt;/tt',
160
+
161
+			'&lt;ul&gt;', '&lt;u&gt;',
162
+			'&lt;ul', '&lt;u',
163
+			'&lt;/ul&gt;', '&lt;/ul&gt;',
164
+			'&lt;/ul', '&lt;/u',
165
+
166
+			'&lt;var&gt;',
167
+			'&lt;var',
168
+			'&lt;/var&gt;',
169
+			'&lt;/var',
170
+
171
+			'&gt;', '&lt;'
172
+			),
173
+		/* HTML attributes */
174
+		3 => array(
175
+			'abbr', 'accept-charset', 'accept', 'accesskey', 'action', 'align', 'alink', 'alt', 'archive', 'axis',
176
+			'background', 'bgcolor', 'border',
177
+			'cellpadding', 'cellspacing', 'char', 'char', 'charoff', 'charset', 'checked', 'cite', 'class', 'classid', 'clear', 'code', 'codebase', 'codetype', 'color', 'cols', 'colspan', 'compact', 'content', 'coords',
178
+			'data', 'datetime', 'declare', 'defer', 'dir', 'disabled',
179
+			'enctype',
180
+			'face', 'for', 'frame', 'frameborder',
181
+			'headers', 'height', 'href', 'hreflang', 'hspace', 'http-equiv',
182
+			'id', 'ismap',
183
+			'label', 'lang', 'language', 'link', 'longdesc',
184
+			'marginheight', 'marginwidth', 'maxlength', 'media', 'method', 'multiple',
185
+			'name', 'nohref', 'noresize', 'noshade', 'nowrap',
186
+			'object', 'onblur', 'onchange', 'onclick', 'ondblclick', 'onfocus', 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onreset', 'onselect', 'onsubmit', 'onunload',
187
+			'profile', 'prompt',
188
+			'readonly', 'rel', 'rev', 'rowspan', 'rows', 'rules',
189
+			'scheme', 'scope', 'scrolling', 'selected', 'shape', 'size', 'span', 'src', 'standby', 'start', 'style', 'summary',
190
+			'tabindex', 'target', 'text', 'title', 'type',
191
+			'usemap',
192
+			'valign', 'value', 'valuetype', 'version', 'vlink', 'vspace',
193
+			'width'
194
+			),
195
+			/* CFM Script delimeters */
196
+		4 => array(
197
+			'var', 'function', 'while', 'if','else'
198
+			),
199
+			/* CFM Functions */
200
+		5 => array(
201
+			'Abs', 'GetFunctionList', 'LSTimeFormat','ACos','GetGatewayHelper','LTrim','AddSOAPRequestHeader','GetHttpRequestData',
202
+			'Max','AddSOAPResponseHeader','GetHttpTimeString','Mid','ArrayAppend','GetLocale','Min','ArrayAvg','GetLocaleDisplayName',
203
+			'Minute','ArrayClear','GetMetaData','Month','ArrayDeleteAt','GetMetricData','MonthAsString','ArrayInsertAt','GetPageContext',
204
+			'Now','ArrayIsEmpty','GetProfileSections','NumberFormat','ArrayLen','GetProfileString','ParagraphFormat','ArrayMax',
205
+			'GetLocalHostIP','ParseDateTime','ArrayMin','GetSOAPRequest','Pi','ArrayNew','GetSOAPRequestHeader','PreserveSingleQuotes',
206
+			'ArrayPrepend','GetSOAPResponse','Quarter','ArrayResize','GetSOAPResponseHeader','QueryAddColumn','ArraySet',
207
+			'GetTempDirectory','QueryAddRow','ArraySort','GetTempDirectory','QueryNew','ArraySum','GetTempFile','QuerySetCell',
208
+			'ArraySwap','GetTickCount','QuotedValueList','ArrayToList','GetTimeZoneInfo','Rand','Asc','GetToken','Randomize',
209
+			'ASin','Hash','RandRange','Atn','Hour','REFind','BinaryDecode','HTMLCodeFormat','REFindNoCase','BinaryEncode',
210
+			'HTMLEditFormat','ReleaseComObject','BitAnd','IIf','RemoveChars','BitMaskClear','IncrementValue','RepeatString',
211
+			'BitMaskRead','InputBaseN','Replace','BitMaskSet','Insert','ReplaceList','BitNot','Int','ReplaceNoCase','BitOr',
212
+			'IsArray','REReplace','BitSHLN','IsBinary','REReplaceNoCase','BitSHRN','IsBoolean','Reverse','BitXor','IsCustomFunction',
213
+			'Right','Ceiling','IsDate','RJustify','CharsetDecode','IsDebugMode','Round','CharsetEncode','IsDefined','RTrim',
214
+			'Chr','IsLeapYear','Second','CJustify','IsLocalHost','SendGatewayMessage','Compare','IsNumeric','SetEncoding',
215
+			'CompareNoCase','IsNumericDate','SetLocale','Cos','IsObject','SetProfileString','CreateDate','IsQuery','SetVariable',
216
+			'CreateDateTime','IsSimpleValue','Sgn','CreateObject','IsSOAPRequest','Sin','CreateODBCDate','IsStruct','SpanExcluding',
217
+			'CreateODBCDateTime','IsUserInRole','SpanIncluding','CreateODBCTime','IsValid','Sqr','CreateTime','IsWDDX','StripCR',
218
+			'CreateTimeSpan','IsXML','StructAppend','CreateUUID','IsXmlAttribute','StructClear','DateAdd','IsXmlDoc','StructCopy',
219
+			'DateCompare','IsXmlElem','StructCount','DateConvert','IsXmlNode','StructDelete','DateDiff','IsXmlRoot','StructFind',
220
+			'DateFormat','JavaCast','StructFindKey','DatePart','JSStringFormat','StructFindValue','Day','LCase','StructGet',
221
+			'DayOfWeek','Left','StructInsert','DayOfWeekAsString','Len','StructIsEmpty','DayOfYear','ListAppend','StructKeyArray',
222
+			'DaysInMonth','ListChangeDelims','StructKeyExists','DaysInYear','ListContains','StructKeyList','DE','ListContainsNoCase',
223
+			'StructNew','DecimalFormat','ListDeleteAt','StructSort','DecrementValue','ListFind','StructUpdate','Decrypt','ListFindNoCase',
224
+			'Tan','DecryptBinary','ListFirst','TimeFormat','DeleteClientVariable','ListGetAt','ToBase64','DirectoryExists',
225
+			'ListInsertAt','ToBinary','DollarFormat','ListLast','ToScript','Duplicate','ListLen','ToString','Encrypt','ListPrepend',
226
+			'Trim','EncryptBinary','ListQualify','UCase','Evaluate','ListRest','URLDecode','Exp','ListSetAt','URLEncodedFormat',
227
+			'ExpandPath','ListSort','URLSessionFormat','FileExists','ListToArray','Val','Find','ListValueCount','ValueList',
228
+			'FindNoCase','ListValueCountNoCase','Week','FindOneOf','LJustify','Wrap','FirstDayOfMonth','Log','WriteOutput',
229
+			'Fix','Log10','XmlChildPos','FormatBaseN','LSCurrencyFormat','XmlElemNew','GetAuthUser','LSDateFormat','XmlFormat',
230
+			'GetBaseTagData','LSEuroCurrencyFormat','XmlGetNodeType','GetBaseTagList','LSIsCurrency','XmlNew','GetBaseTemplatePath',
231
+			'LSIsDate','XmlParse','GetClientVariablesList','LSIsNumeric','XmlSearch','GetCurrentTemplatePath','LSNumberFormat',
232
+			'XmlTransform','GetDirectoryFromPath','LSParseCurrency','XmlValidate','GetEncoding','LSParseDateTime','Year',
233
+			'GetException','LSParseEuroCurrency','YesNoFormat','GetFileFromPath','LSParseNumber'
234
+			),
235
+		/* CFM Attributes */
236
+		6 => array(
237
+			'=','&amp;','name','dbtype','connectstring','datasource','username','password','query','delimeter','description','required','hint','default','access','from','to','list','index'
238
+			)
239
+		),
240
+	'SYMBOLS' => array(
241
+		'/', '=', 'EQ', 'GT', 'LT', 'GTE', 'LTE', 'IS', 'LIKE', '&', '{', '}', '(', ')', '[', ']','gt','lt'
242
+		),
243
+	'CASE_SENSITIVE' => array(
244
+		GESHI_COMMENTS => false,
245
+		1 => false,
246
+		2 => false,
247
+		3 => false,
248
+		4 => false,
249
+        5 => false,
250
+        6 => false
251
+		),
252
+	'STYLES' => array(
253
+		'KEYWORDS' => array(
254
+			1 => 'color: #990000;',
255
+			2 => 'color: #000000; font-weight: bold;',
256
+			3 => 'color: #0000FF;',
257
+			4 => 'color: #000000; font-weight: bold;',
258
+			5 => 'color: #0000FF;',
259
+			6 => 'color: #0000FF'
260
+			),
261
+		'COMMENTS' => array(
262
+			1 => 'color: #808080; font-style: italic;',
263
+			'MULTI' => 'color: #808080; font-style: italic; background-color:#FFFF99;'
264
+			),
265
+		'ESCAPE_CHAR' => array(
266
+			0 => 'color: #000099; font-weight: bold;'
267
+			),
268
+		'BRACKETS' => array(
269
+			0 => 'color: #0000FF;'
270
+			),
271
+		'STRINGS' => array(
272
+			0 => 'color: #009900;'
273
+			),
274
+		'NUMBERS' => array(
275
+			0 => 'color: #FF0000;'
276
+			),
277
+		'METHODS' => array(
278
+			),
279
+		'SYMBOLS' => array(
280
+			0 => 'color: #0000FF;'
281
+			),
282
+		'SCRIPT' => array(
283
+			0 => 'color: #00bbdd;',
284
+			1 => 'color: #0000FF;',
285
+			2 => 'color: #000099;',
286
+			3 => 'color: #333333;'
287
+			),
288
+		'REGEXPS' => array(
289
+			)
290
+		),
291
+	'URLS' => array(
292
+		1 => '',
293
+		2 => '',
294
+		3 => '',
295
+		4 => ''
296
+		),
297
+	'OOLANG' => false,
298
+	'OBJECT_SPLITTERS' => array(
299
+		),
300
+	'REGEXPS' => array(
301
+		),
302
+	'STRICT_MODE_APPLIES' => GESHI_ALWAYS,
303
+	'SCRIPT_DELIMITERS' => array(
304
+		0 => array(
305
+			'<!DOCTYPE' => '>'
306
+			),
307
+		1 => array(
308
+			 '#' => '#'
309
+			),
310
+		2 => array(
311
+			'<cfscript>' => '</cfscript>;'
312
+			),
313
+		3 => array(
314
+			'<' => '>'
315
+			)
316
+	),
317
+	'HIGHLIGHT_STRICT_BLOCK' => array(
318
+		0 => false,
319
+		1 => true,
320
+		2 => true,
321
+		3 => true
322
+		)
323
+);
324
+
325
+?>

+ 267 - 0
plugins/geshi/cpp-qt.php View File

@@ -0,0 +1,267 @@
1
+<?php
2
+/*************************************************************************************
3
+ * cpp.php
4
+ * -------
5
+ * Author: Iulian M
6
+ * Copyright: (c) 2006 Iulian M
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/09/27
9
+ *
10
+ * C++ language file for GeSHi, with QT extensions.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ *
15
+ * TODO
16
+ * ----
17
+ *
18
+ *************************************************************************************
19
+ *
20
+ *     This file is part of GeSHi.
21
+ *
22
+ *   GeSHi is free software; you can redistribute it and/or modify
23
+ *   it under the terms of the GNU General Public License as published by
24
+ *   the Free Software Foundation; either version 2 of the License, or
25
+ *   (at your option) any later version.
26
+ *
27
+ *   GeSHi is distributed in the hope that it will be useful,
28
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
29
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
30
+ *   GNU General Public License for more details.
31
+ *
32
+ *   You should have received a copy of the GNU General Public License
33
+ *   along with GeSHi; if not, write to the Free Software
34
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
35
+ *
36
+ ************************************************************************************/
37
+
38
+$language_data = array (
39
+	'LANG_NAME' => 'C++ (QT)',
40
+	'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
41
+	'COMMENT_MULTI' => array('/*' => '*/'),
42
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
43
+	'QUOTEMARKS' => array("'", '"'),
44
+	'ESCAPE_CHAR' => '\\',
45
+	'KEYWORDS' => array(
46
+		1 => array(
47
+			'case', 'continue', 'default', 'do', 'else', 'for', 'goto', 'if', 'return',
48
+			'switch', 'while'
49
+			),
50
+		2 => array(
51
+			'NULL', 'false', 'break', 'true', 'enum', 'errno', 'EDOM',
52
+			'ERANGE', 'FLT_RADIX', 'FLT_ROUNDS', 'FLT_DIG', 'DBL_DIG', 'LDBL_DIG',
53
+			'FLT_EPSILON', 'DBL_EPSILON', 'LDBL_EPSILON', 'FLT_MANT_DIG', 'DBL_MANT_DIG',
54
+			'LDBL_MANT_DIG', 'FLT_MAX', 'DBL_MAX', 'LDBL_MAX', 'FLT_MAX_EXP', 'DBL_MAX_EXP',
55
+			'LDBL_MAX_EXP', 'FLT_MIN', 'DBL_MIN', 'LDBL_MIN', 'FLT_MIN_EXP', 'DBL_MIN_EXP',
56
+			'LDBL_MIN_EXP', 'CHAR_BIT', 'CHAR_MAX', 'CHAR_MIN', 'SCHAR_MAX', 'SCHAR_MIN',
57
+			'UCHAR_MAX', 'SHRT_MAX', 'SHRT_MIN', 'USHRT_MAX', 'INT_MAX', 'INT_MIN',
58
+			'UINT_MAX', 'LONG_MAX', 'LONG_MIN', 'ULONG_MAX', 'HUGE_VAL', 'SIGABRT',
59
+			'SIGFPE', 'SIGILL', 'SIGINT', 'SIGSEGV', 'SIGTERM', 'SIG_DFL', 'SIG_ERR',
60
+			'SIG_IGN', 'BUFSIZ', 'EOF', 'FILENAME_MAX', 'FOPEN_MAX', 'L_tmpnam', 'NULL',
61
+			'SEEK_CUR', 'SEEK_END', 'SEEK_SET', 'TMP_MAX', 'stdin', 'stdout', 'stderr',
62
+			'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC',
63
+			'virtual', 'public', 'private', 'protected', 'template', 'using', 'namespace',
64
+			'try', 'catch', 'inline', 'dynamic_cast', 'const_cast', 'reinterpret_cast',
65
+			'static_cast', 'explicit', 'friend', 'wchar_t', 'typename', 'typeid', 'class' ,
66
+			'foreach','connect', 'Q_OBJECT' , 'slots' , 'signals'
67
+			),
68
+		3 => array(
69
+			'cin', 'cerr', 'clog', 'cout', 'delete', 'new', 'this',
70
+			'printf', 'fprintf', 'snprintf', 'sprintf', 'assert',
71
+			'isalnum', 'isalpha', 'isdigit', 'iscntrl', 'isgraph', 'islower', 'isprint',
72
+			'ispunct', 'isspace', 'ispunct', 'isupper', 'isxdigit', 'tolower', 'toupper',
73
+			'exp', 'log', 'log10', 'pow', 'sqrt', 'ceil', 'floor', 'fabs', 'ldexp',
74
+			'frexp', 'modf', 'fmod', 'sin', 'cos', 'tan', 'asin', 'acos', 'atan', 'atan2',
75
+			'sinh', 'cosh', 'tanh', 'setjmp', 'longjmp', 'asin', 'acos', 'atan', 'atan2',
76
+			'va_start', 'va_arg', 'va_end', 'offsetof', 'sizeof', 'fopen', 'freopen',
77
+			'fflush', 'fclose', 'remove', 'rename', 'tmpfile', 'tmpname', 'setvbuf',
78
+			'setbuf', 'vfprintf', 'vprintf', 'vsprintf', 'fscanf', 'scanf', 'sscanf',
79
+			'fgetc', 'fgets', 'fputc', 'fputs', 'getc', 'getchar', 'gets', 'putc',
80
+			'putchar', 'puts', 'ungetc', 'fread', 'fwrite', 'fseek', 'ftell', 'rewind',
81
+			'fgetpos', 'fsetpos', 'clearerr', 'feof', 'ferror', 'perror', 'abs', 'labs',
82
+			'div', 'ldiv', 'atof', 'atoi', 'atol', 'strtod', 'strtol', 'strtoul', 'calloc',
83
+			'malloc', 'realloc', 'free', 'abort', 'exit', 'atexit', 'system', 'getenv',
84
+			'bsearch', 'qsort', 'rand', 'srand', 'strcpy', 'strncpy', 'strcat', 'strncat',
85
+			'strcmp', 'strncmp', 'strcoll', 'strchr', 'strrchr', 'strspn', 'strcspn',
86
+			'strpbrk', 'strstr', 'strlen', 'strerror', 'strtok', 'strxfrm', 'memcpy',
87
+			'memmove', 'memcmp', 'memchr', 'memset', 'clock', 'time', 'difftime', 'mktime',
88
+			'asctime', 'ctime', 'gmtime', 'localtime', 'strftime'
89
+			),
90
+		4 => array(
91
+			'auto', 'bool', 'char', 'const', 'double', 'float', 'int', 'long', 'longint',
92
+			'register', 'short', 'shortint', 'signed', 'static', 'struct',
93
+			'typedef', 'union', 'unsigned', 'void', 'volatile', 'extern', 'jmp_buf',
94
+			'signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t', 'FILE', 'fpos_t',
95
+			'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm',
96
+			),
97
+		5 => array(
98
+			'QAbstractButton','QDir','QIntValidator','QRegExpValidator','QTabWidget','QAbstractEventDispatcher',
99
+			'QDirectPainter','QIODevice','QRegion','QTcpServer','QAbstractExtensionFactory','QDirModel',
100
+			'QItemDelegate','QResizeEvent','QTcpSocket','QAbstractExtensionManager','QDockWidget',
101
+			'QItemEditorCreatorBase','QResource','QTemporaryFile','QAbstractFileEngine','QDomAttr',
102
+			'QItemEditorFactory','QRubberBand','QTestEventList','QAbstractFileEngineHandler','QDomCDATASection',
103
+			'QItemSelection','QScreen','QTextBlock','QAbstractFormBuilder','QDomCharacterData','QItemSelectionModel',
104
+			'QScreenCursor','QTextBlockFormat','QAbstractGraphicsShapeItem','QDomComment','QItemSelectionRange',
105
+			'QScreenDriverFactory','QTextBlockGroup','QAbstractItemDelegate','QDomDocument','QKbdDriverFactory',
106
+			'QScreenDriverPlugin','QTextBlockUserData','QAbstractItemModel','QDomDocumentFragment','QKbdDriverPlugin',
107
+			'QScrollArea','QTextBrowser','QAbstractItemView','QDomDocumentType','QKeyEvent','QScrollBar',
108
+			'QTextCharFormat','QAbstractListModel','QDomElement','QKeySequence','QSemaphore','QTextCodec',
109
+			'QAbstractPrintDialog','QDomEntity','QLabel','QSessionManager','QTextCodecPlugin','QAbstractProxyModel',
110
+			'QDomEntityReference','QLatin1Char','QSet','QTextCursor','QAbstractScrollArea','QDomImplementation',
111
+			'QLatin1String','QSetIterator','QTextDecoder','QAbstractSlider','QDomNamedNodeMap','QLayout','QSettings',
112
+			'QTextDocument','QAbstractSocket','QDomNode','QLayoutItem','QSharedData','QTextDocumentFragment',
113
+			'QAbstractSpinBox','QDomNodeList','QLCDNumber','QSharedDataPointer','QTextEdit','QAbstractTableModel',
114
+			'QDomNotation','QLibrary','QShortcut','QTextEncoder','QAbstractTextDocumentLayout',
115
+			'QDomProcessingInstruction','QLibraryInfo','QShortcutEvent','QTextFormat','QAccessible','QDomText',
116
+			'QLine','QShowEvent','QTextFragment','QAccessibleBridge','QDoubleSpinBox','QLinearGradient',
117
+			'QSignalMapper','QTextFrame','QAccessibleBridgePlugin','QDoubleValidator','QLineEdit','QSignalSpy',
118
+			'QTextFrameFormat','QAccessibleEvent','QDrag','QLineF','QSize','QTextImageFormat','QAccessibleInterface',
119
+			'QDragEnterEvent','QLinkedList','QSizeF','QTextInlineObject','QAccessibleObject','QDragLeaveEvent',
120
+			'QLinkedListIterator','QSizeGrip','QTextLayout','QAccessiblePlugin','QDragMoveEvent','QLinuxFbScreen',
121
+			'QSizePolicy','QTextLength','QAccessibleWidget','QDropEvent','QList','QSlider','QTextLine','QAction',
122
+			'QDynamicPropertyChangeEvent','QListIterator','QSocketNotifier','QTextList','QActionEvent','QErrorMessage',
123
+			'QListView','QSortFilterProxyModel','QTextListFormat','QActionGroup','QEvent','QListWidget','QSound',
124
+			'QTextObject','QApplication','QEventLoop','QListWidgetItem','QSpacerItem','QTextOption','QAssistantClient',
125
+			'QExtensionFactory','QLocale','QSpinBox','QTextStream','QAxAggregated','QExtensionManager',
126
+			'QMacPasteboardMime','QSplashScreen','QTextTable','QAxBase','QFile','QMacStyle','QSplitter',
127
+			'QTextTableCell','QAxBindable','QFileDialog','QMainWindow','QSplitterHandle','QTextTableFormat',
128
+			'QAxFactory','QFileIconProvider','QMap','QSqlDatabase','QThread','QAxObject','QFileInfo','QMapIterator',
129
+			'QSqlDriver','QThreadStorage','QAxScript','QFileOpenEvent','QMatrix','QSqlDriverCreator','QTime',
130
+			'QAxScriptEngine','QFileSystemWatcher','QMenu','QSqlDriverCreatorBase','QTimeEdit','QAxScriptManager',
131
+			'QFlag','QMenuBar','QSqlDriverPlugin','QTimeLine','QAxWidget','QFlags','QMessageBox','QSqlError','QTimer',
132
+			'QBasicTimer','QFocusEvent','QMetaClassInfo','QSqlField','QTimerEvent','QBitArray','QFocusFrame',
133
+			'QMetaEnum','QSqlIndex','QToolBar','QBitmap','QFont','QMetaMethod','QSqlQuery','QToolBox','QBoxLayout',
134
+			'QFontComboBox','QMetaObject','QSqlQueryModel','QToolButton','QBrush','QFontDatabase','QMetaProperty',
135
+			'QSqlRecord','QToolTip','QBuffer','QFontDialog','QMetaType','QSqlRelation','QTransformedScreen',
136
+			'QButtonGroup','QFontInfo','QMimeData','QSqlRelationalDelegate','QTranslator','QByteArray','QFontMetrics',
137
+			'QMimeSource','QSqlRelationalTableModel','QTreeView','QByteArrayMatcher','QFontMetricsF','QModelIndex',
138
+			'QSqlResult','QTreeWidget','QCache','QFormBuilder','QMotifStyle','QSqlTableModel','QTreeWidgetItem',
139
+			'QCalendarWidget','QFrame','QMouseDriverFactory','QStack','QTreeWidgetItemIterator','QCDEStyle',
140
+			'QFSFileEngine','QMouseDriverPlugin','QStackedLayout','QUdpSocket','QChar','QFtp','QMouseEvent',
141
+			'QStackedWidget','QUiLoader','QCheckBox','QGenericArgument','QMoveEvent','QStandardItem','QUndoCommand',
142
+			'QChildEvent','QGenericReturnArgument','QMovie','QStandardItemEditorCreator','QUndoGroup',
143
+			'QCleanlooksStyle','QGLColormap','QMultiHash','QStandardItemModel','QUndoStack','QClipboard',
144
+			'QGLContext','QMultiMap','QStatusBar','QUndoView','QCloseEvent','QGLFormat','QMutableHashIterator',
145
+			'QStatusTipEvent','QUrl','QColor','QGLFramebufferObject','QMutableLinkedListIterator','QString',
146
+			'QUrlInfo','QColorDialog','QGLPixelBuffer','QMutableListIterator','QStringList','QUuid','QColormap',
147
+			'QGLWidget','QMutableMapIterator','QStringListModel','QValidator','QComboBox','QGradient',
148
+			'QMutableSetIterator','QStringMatcher','QVariant','QCommonStyle','QGraphicsEllipseItem',
149
+			'QMutableVectorIterator','QStyle','QVarLengthArray','QCompleter','QGraphicsItem','QMutex',
150
+			'QStyleFactory','QVBoxLayout','QConicalGradient','QGraphicsItemAnimation','QMutexLocker',
151
+			'QStyleHintReturn','QVector','QContextMenuEvent','QGraphicsItemGroup','QNetworkAddressEntry',
152
+			'QStyleHintReturnMask','QVectorIterator','QCopChannel','QGraphicsLineItem','QNetworkInterface',
153
+			'QStyleOption','QVFbScreen','QCoreApplication','QGraphicsPathItem','QNetworkProxy','QStyleOptionButton',
154
+			'QVNCScreen','QCursor','QGraphicsPixmapItem','QObject','QStyleOptionComboBox','QWaitCondition',
155
+			'QCustomRasterPaintDevice','QGraphicsPolygonItem','QObjectCleanupHandler','QStyleOptionComplex',
156
+			'QWhatsThis','QDataStream','QGraphicsRectItem','QPageSetupDialog','QStyleOptionDockWidget',
157
+			'QWhatsThisClickedEvent','QDataWidgetMapper','QGraphicsScene','QPaintDevice','QStyleOptionFocusRect',
158
+			'QWheelEvent','QDate','QGraphicsSceneContextMenuEvent','QPaintEngine','QStyleOptionFrame','QWidget',
159
+			'QDateEdit','QGraphicsSceneEvent','QPaintEngineState','QStyleOptionFrameV2','QWidgetAction','QDateTime',
160
+			'QGraphicsSceneHoverEvent','QPainter','QStyleOptionGraphicsItem','QWidgetItem','QDateTimeEdit',
161
+			'QGraphicsSceneMouseEvent','QPainterPath','QStyleOptionGroupBox','QWindowsMime','QDBusAbstractAdaptor',
162
+			'QGraphicsSceneWheelEvent','QPainterPathStroker','QStyleOptionHeader','QWindowsStyle',
163
+			'QDBusAbstractInterface','QGraphicsSimpleTextItem','QPaintEvent','QStyleOptionMenuItem',
164
+			'QWindowStateChangeEvent','QDBusArgument','QGraphicsSvgItem','QPair','QStyleOptionProgressBar',
165
+			'QWindowsXPStyle','QDBusConnection','QGraphicsTextItem','QPalette','QStyleOptionProgressBarV2',
166
+			'QWorkspace','QDBusConnectionInterface','QGraphicsView','QPen','QStyleOptionQ3DockWindow','QWriteLocker',
167
+			'QDBusError','QGridLayout','QPersistentModelIndex','QStyleOptionQ3ListView','QWSCalibratedMouseHandler',
168
+			'QDBusInterface','QGroupBox','QPicture','QStyleOptionQ3ListViewItem','QWSClient','QDBusMessage','QHash',
169
+			'QPictureFormatPlugin','QStyleOptionRubberBand','QWSEmbedWidget','QDBusObjectPath','QHashIterator',
170
+			'QPictureIO','QStyleOptionSizeGrip','QWSEvent','QDBusReply','QHBoxLayout','QPixmap','QStyleOptionSlider',
171
+			'QWSInputMethod','QDBusServer','QHeaderView','QPixmapCache','QStyleOptionSpinBox','QWSKeyboardHandler',
172
+			'QDBusSignature','QHelpEvent','QPlastiqueStyle','QStyleOptionTab','QWSMouseHandler','QDBusVariant',
173
+			'QHideEvent','QPluginLoader','QStyleOptionTabBarBase','QWSPointerCalibrationData','QDecoration',
174
+			'QHostAddress','QPoint','QStyleOptionTabV2','QWSScreenSaver','QDecorationFactory','QHostInfo','QPointer',
175
+			'QStyleOptionTabWidgetFrame','QWSServer','QDecorationPlugin','QHoverEvent','QPointF','QStyleOptionTitleBar',
176
+			'QWSTslibMouseHandler','QDesignerActionEditorInterface','QHttp','QPolygon','QStyleOptionToolBar','QWSWindow',
177
+			'QDesignerContainerExtension','QHttpHeader','QPolygonF','QStyleOptionToolBox','QWSWindowSurface',
178
+			'QDesignerCustomWidgetCollectionInterface','QHttpRequestHeader','QPrintDialog','QStyleOptionToolButton',
179
+			'QX11EmbedContainer','QDesignerCustomWidgetInterface','QHttpResponseHeader','QPrintEngine',
180
+			'QStyleOptionViewItem','QX11EmbedWidget','QDesignerFormEditorInterface','QIcon','QPrinter',
181
+			'QStyleOptionViewItemV2','QX11Info','QDesignerFormWindowCursorInterface','QIconDragEvent','QProcess',
182
+			'QStylePainter','QXmlAttributes','QDesignerFormWindowInterface','QIconEngine','QProgressBar',
183
+			'QStylePlugin','QXmlContentHandler','QDesignerFormWindowManagerInterface','QIconEnginePlugin',
184
+			'QProgressDialog','QSvgRenderer','QXmlDeclHandler','QDesignerMemberSheetExtension','QImage',
185
+			'QProxyModel','QSvgWidget','QXmlDefaultHandler','QDesignerObjectInspectorInterface','QImageIOHandler',
186
+			'QPushButton','QSyntaxHighlighter','QXmlDTDHandler','QDesignerPropertyEditorInterface','QImageIOPlugin',
187
+			'QQueue','QSysInfo','QXmlEntityResolver','QDesignerPropertySheetExtension','QImageReader','QRadialGradient',
188
+			'QSystemLocale','QXmlErrorHandler','QDesignerTaskMenuExtension','QImageWriter','QRadioButton',
189
+			'QSystemTrayIcon','QXmlInputSource','QDesignerWidgetBoxInterface','QInputContext','QRasterPaintEngine',
190
+			'QTabBar','QXmlLexicalHandler','QDesktopServices','QInputContextFactory','QReadLocker','QTabletEvent',
191
+			'QXmlLocator','QDesktopWidget','QInputContextPlugin','QReadWriteLock','QTableView','QXmlNamespaceSupport',
192
+			'QDial','QInputDialog','QRect','QTableWidget','QXmlParseException','QDialog','QInputEvent','QRectF',
193
+			'QTableWidgetItem','QXmlReader','QDialogButtonBox','QInputMethodEvent','QRegExp',
194
+			'QTableWidgetSelectionRange','QXmlSimpleReader'
195
+			)
196
+		),
197
+	'SYMBOLS' => array(
198
+		'(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
199
+		),
200
+	'CASE_SENSITIVE' => array(
201
+		GESHI_COMMENTS => true,
202
+		1 => false,
203
+		2 => false,
204
+		3 => false,
205
+		4 => false,
206
+		5 => true,
207
+		),
208
+	'STYLES' => array(
209
+		'KEYWORDS' => array(
210
+			1 => 'color: #0000ff;',
211
+			2 => 'color: #0000ff;',
212
+			3 => 'color: #0000dd;',
213
+			4 => 'color: #0000ff;',
214
+			5 => 'color: #0000ee;'
215
+			),
216
+		'COMMENTS' => array(
217
+			1 => 'color: #ff0000;',
218
+			2 => 'color: #339900;',
219
+			'MULTI' => 'color: #ff0000; font-style: italic;'
220
+			),
221
+		'ESCAPE_CHAR' => array(
222
+			0 => 'color: #666666; font-weight: bold;'
223
+			),
224
+		'BRACKETS' => array(
225
+			0 => 'color: #000000;'
226
+			),
227
+		'STRINGS' => array(
228
+			0 => 'color: #666666;'
229
+			),
230
+		'NUMBERS' => array(
231
+			0 => 'color: #0000dd;'
232
+			),
233
+		'METHODS' => array(
234
+			1 => 'color: #00eeff;',
235
+			2 => 'color: #00eeff;'
236
+			),
237
+		'SYMBOLS' => array(
238
+			0 => 'color: #000000;'
239
+			),
240
+		'REGEXPS' => array(
241
+			),
242
+		'SCRIPT' => array(
243
+			)
244
+		),
245
+	'URLS' => array(
246
+		1 => '',
247
+		2 => '',
248
+		3 => '',
249
+		4 => '',
250
+		5 => 'http://doc.trolltech.com/4.2/{FNAME}.html'
251
+		),
252
+	'OOLANG' => true,
253
+	'OBJECT_SPLITTERS' => array(
254
+		1 => '.',
255
+		2 => '::'
256
+		),
257
+	'REGEXPS' => array(
258
+		),
259
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
260
+	'SCRIPT_DELIMITERS' => array(
261
+		),
262
+	'HIGHLIGHT_STRICT_BLOCK' => array(
263
+        ),
264
+    'TAB_WIDTH' => 4
265
+);
266
+
267
+?>

+ 185 - 0
plugins/geshi/cpp.php View File

@@ -0,0 +1,185 @@
1
+<?php
2
+/*************************************************************************************
3
+ * cpp.php
4
+ * -------
5
+ * Author: Dennis Bayer (Dennis.Bayer@mnifh-giessen.de)
6
+ * Contributors:
7
+ *  - M. Uli Kusterer (witness.of.teachtext@gmx.net)
8
+ *  - Jack Lloyd (lloyd@randombit.net)
9
+ * Copyright: (c) 2004 Dennis Bayer, Nigel McNie (http://qbnz.com/highlighter)
10
+ * Release Version: 1.0.7.21
11
+ * Date Started: 2004/09/27
12
+ *
13
+ * C++ language file for GeSHi.
14
+ *
15
+ * CHANGES
16
+ * -------
17
+ * 2004/XX/XX (1.0.2)
18
+ *  -  Added several new keywords (Jack Lloyd)
19
+ * 2004/11/27 (1.0.1)
20
+ *  -  Added StdCLib function and constant names, changed color scheme to
21
+ *     a cleaner one. (M. Uli Kusterer)
22
+ *  -  Added support for multiple object splitters
23
+ * 2004/10/27 (1.0.0)
24
+ *  -  First Release
25
+ *
26
+ * TODO (updated 2004/11/27)
27
+ * -------------------------
28
+ *
29
+ *************************************************************************************
30
+ *
31
+ *     This file is part of GeSHi.
32
+ *
33
+ *   GeSHi is free software; you can redistribute it and/or modify
34
+ *   it under the terms of the GNU General Public License as published by
35
+ *   the Free Software Foundation; either version 2 of the License, or
36
+ *   (at your option) any later version.
37
+ *
38
+ *   GeSHi is distributed in the hope that it will be useful,
39
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
40
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
41
+ *   GNU General Public License for more details.
42
+ *
43
+ *   You should have received a copy of the GNU General Public License
44
+ *   along with GeSHi; if not, write to the Free Software
45
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
46
+ *
47
+ ************************************************************************************/
48
+
49
+$language_data = array (
50
+	'LANG_NAME' => 'C++',
51
+	'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
52
+	'COMMENT_MULTI' => array('/*' => '*/'),
53
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
54
+	'QUOTEMARKS' => array("'", '"'),
55
+	'ESCAPE_CHAR' => '\\',
56
+	'KEYWORDS' => array(
57
+		1 => array(
58
+			'break', 'case', 'continue', 'default', 'do', 'else', 'for', 'goto', 'if', 'return',
59
+			'switch', 'throw', 'while'
60
+			),
61
+		2 => array(
62
+			'NULL', 'false', 'true', 'enum', 'errno', 'EDOM',
63
+			'ERANGE', 'FLT_RADIX', 'FLT_ROUNDS', 'FLT_DIG', 'DBL_DIG', 'LDBL_DIG',
64
+			'FLT_EPSILON', 'DBL_EPSILON', 'LDBL_EPSILON', 'FLT_MANT_DIG', 'DBL_MANT_DIG',
65
+			'LDBL_MANT_DIG', 'FLT_MAX', 'DBL_MAX', 'LDBL_MAX', 'FLT_MAX_EXP', 'DBL_MAX_EXP',
66
+			'LDBL_MAX_EXP', 'FLT_MIN', 'DBL_MIN', 'LDBL_MIN', 'FLT_MIN_EXP', 'DBL_MIN_EXP',
67
+			'LDBL_MIN_EXP', 'CHAR_BIT', 'CHAR_MAX', 'CHAR_MIN', 'SCHAR_MAX', 'SCHAR_MIN',
68
+			'UCHAR_MAX', 'SHRT_MAX', 'SHRT_MIN', 'USHRT_MAX', 'INT_MAX', 'INT_MIN',
69
+			'UINT_MAX', 'LONG_MAX', 'LONG_MIN', 'ULONG_MAX', 'HUGE_VAL', 'SIGABRT',
70
+			'SIGFPE', 'SIGILL', 'SIGINT', 'SIGSEGV', 'SIGTERM', 'SIG_DFL', 'SIG_ERR',
71
+			'SIG_IGN', 'BUFSIZ', 'EOF', 'FILENAME_MAX', 'FOPEN_MAX', 'L_tmpnam', 'NULL',
72
+			'SEEK_CUR', 'SEEK_END', 'SEEK_SET', 'TMP_MAX', 'stdin', 'stdout', 'stderr',
73
+			'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC',
74
+			'virtual', 'public', 'private', 'protected', 'template', 'using', 'namespace',
75
+			'try', 'catch', 'inline', 'dynamic_cast', 'const_cast', 'reinterpret_cast',
76
+			'static_cast', 'explicit', 'friend', 'wchar_t', 'typename', 'typeid', 'class'
77
+			),
78
+		3 => array(
79
+			'cin', 'cerr', 'clog', 'cout', 'delete', 'new', 'this',
80
+			'printf', 'fprintf', 'snprintf', 'sprintf', 'assert',
81
+			'isalnum', 'isalpha', 'isdigit', 'iscntrl', 'isgraph', 'islower', 'isprint',
82
+			'ispunct', 'isspace', 'ispunct', 'isupper', 'isxdigit', 'tolower', 'toupper',
83
+			'exp', 'log', 'log10', 'pow', 'sqrt', 'ceil', 'floor', 'fabs', 'ldexp',
84
+			'frexp', 'modf', 'fmod', 'sin', 'cos', 'tan', 'asin', 'acos', 'atan', 'atan2',
85
+			'sinh', 'cosh', 'tanh', 'setjmp', 'longjmp', 'asin', 'acos', 'atan', 'atan2',
86
+			'va_start', 'va_arg', 'va_end', 'offsetof', 'sizeof', 'fopen', 'freopen',
87
+			'fflush', 'fclose', 'remove', 'rename', 'tmpfile', 'tmpname', 'setvbuf',
88
+			'setbuf', 'vfprintf', 'vprintf', 'vsprintf', 'fscanf', 'scanf', 'sscanf',
89
+			'fgetc', 'fgets', 'fputc', 'fputs', 'getc', 'getchar', 'gets', 'putc',
90
+			'putchar', 'puts', 'ungetc', 'fread', 'fwrite', 'fseek', 'ftell', 'rewind',
91
+			'fgetpos', 'fsetpos', 'clearerr', 'feof', 'ferror', 'perror', 'abs', 'labs',
92
+			'div', 'ldiv', 'atof', 'atoi', 'atol', 'strtod', 'strtol', 'strtoul', 'calloc',
93
+			'malloc', 'realloc', 'free', 'abort', 'exit', 'atexit', 'system', 'getenv',
94
+			'bsearch', 'qsort', 'rand', 'srand', 'strcpy', 'strncpy', 'strcat', 'strncat',
95
+			'strcmp', 'strncmp', 'strcoll', 'strchr', 'strrchr', 'strspn', 'strcspn',
96
+			'strpbrk', 'strstr', 'strlen', 'strerror', 'strtok', 'strxfrm', 'memcpy',
97
+			'memmove', 'memcmp', 'memchr', 'memset', 'clock', 'time', 'difftime', 'mktime',
98
+			'asctime', 'ctime', 'gmtime', 'localtime', 'strftime'
99
+			),
100
+		4 => array(
101
+			'auto', 'bool', 'char', 'const', 'double', 'float', 'int', 'long', 'longint',
102
+			'register', 'short', 'shortint', 'signed', 'static', 'struct',
103
+			'typedef', 'union', 'unsigned', 'void', 'volatile', 'extern', 'jmp_buf',
104
+			'signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t', 'FILE', 'fpos_t',
105
+			'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm',
106
+			),
107
+		),
108
+	'SYMBOLS' => array(
109
+		0 => array('(', ')', '{', '}', '[', ']'),
110
+        1 => array('<', '>','='),
111
+        2 => array('+', '-', '*', '/', '%'),
112
+        3 => array('!', '^', '&', '|'),
113
+        4 => array(':')
114
+		),
115
+	'CASE_SENSITIVE' => array(
116
+		GESHI_COMMENTS => true,
117
+		1 => false,
118
+		2 => false,
119
+		3 => false,
120
+		4 => false,
121
+		),
122
+	'STYLES' => array(
123
+		'KEYWORDS' => array(
124
+			1 => 'color: #0000ff;',
125
+			2 => 'color: #0000ff;',
126
+			3 => 'color: #0000dd;',
127
+			4 => 'color: #0000ff;'
128
+			),
129
+		'COMMENTS' => array(
130
+			1 => 'color: #666666;',
131
+			2 => 'color: #339900;',
132
+			'MULTI' => 'color: #ff0000; font-style: italic;'
133
+			),
134
+		'ESCAPE_CHAR' => array(
135
+			0 => 'color: #666666; font-weight: bold;'
136
+			),
137
+		'BRACKETS' => array(
138
+			0 => 'color: #008000;'
139
+			),
140
+		'STRINGS' => array(
141
+			0 => 'color: #FF0000;'
142
+			),
143
+		'NUMBERS' => array(
144
+			0 => 'color: #0000dd;'
145
+			),
146
+		'METHODS' => array(
147
+			1 => 'color: #00eeff;',
148
+			2 => 'color: #00eeff;'
149
+			),
150
+		'SYMBOLS' => array(
151
+			0 => 'color: #008000;',
152
+			1 => 'color: #000080;',
153
+			2 => 'color: #000040;',
154
+			3 => 'color: #000040;',
155
+			4 => 'color: #008080;'
156
+			),
157
+		'REGEXPS' => array(
158
+			),
159
+		'SCRIPT' => array(
160
+			)
161
+		),
162
+	'URLS' => array(
163
+		),
164
+	'OOLANG' => true,
165
+	'OBJECT_SPLITTERS' => array(
166
+		1 => '.',
167
+		2 => '::'
168
+		),
169
+	'REGEXPS' => array(
170
+		),
171
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
172
+	'SCRIPT_DELIMITERS' => array(
173
+		),
174
+	'HIGHLIGHT_STRICT_BLOCK' => array(
175
+        ),
176
+    'TAB_WIDTH' => 4,
177
+	'PARSER_CONTROL' => array(
178
+        'KEYWORDS' => array(
179
+            'DISALLOWED_BEFORE' => "a-zA-Z0-9\$_\|\#>|^",
180
+            'DISALLOWED_AFTER' => "a-zA-Z0-9_<\|%\\-"
181
+        )
182
+	)
183
+);
184
+
185
+?>

+ 238 - 0
plugins/geshi/csharp.php View File

@@ -0,0 +1,238 @@
1
+<?php
2
+/*************************************************************************************
3
+ * csharp.php
4
+ * ----------
5
+ * Author: Alan Juden (alan@judenware.org)
6
+ * Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/06/04
9
+ *
10
+ * C# language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/01/05 (1.0.1)
15
+ *  -  Used hardquote support for @"..." strings (Cliff Stanford)
16
+ * 2004/11/27 (1.0.0)
17
+ *  -  Initial release
18
+ *
19
+ * TODO (updated 2004/11/27)
20
+ * -------------------------
21
+ *
22
+ *************************************************************************************
23
+ *
24
+ *     This file is part of GeSHi.
25
+ *
26
+ *   GeSHi is free software; you can redistribute it and/or modify
27
+ *   it under the terms of the GNU General Public License as published by
28
+ *   the Free Software Foundation; either version 2 of the License, or
29
+ *   (at your option) any later version.
30
+ *
31
+ *   GeSHi is distributed in the hope that it will be useful,
32
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
33
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34
+ *   GNU General Public License for more details.
35
+ *
36
+ *   You should have received a copy of the GNU General Public License
37
+ *   along with GeSHi; if not, write to the Free Software
38
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
39
+ *
40
+ ************************************************************************************/
41
+
42
+ $language_data = array (
43
+	'LANG_NAME' => 'C#',
44
+	'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
45
+	'COMMENT_MULTI' => array('/*' => '*/'),
46
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
47
+	'QUOTEMARKS' => array("'", '"'),
48
+    'HARDQUOTE' => array('@"', '"'),
49
+    'HARDESCAPE' => array('""'),
50
+	'ESCAPE_CHAR' => '\\',
51
+	'KEYWORDS' => array(
52
+		1 => array(
53
+			'as', 'auto', 'base', 'break', 'case', 'catch', 'const', 'continue',
54
+			'default', 'do', 'else', 'event', 'explicit', 'extern', 'false',
55
+			'finally', 'fixed', 'for', 'foreach', 'goto', 'if', 'implicit',
56
+			'in', 'internal', 'lock', 'namespace', 'null', 'operator', 'out',
57
+			'override', 'params', 'private', 'protected', 'public', 'readonly',
58
+			'ref', 'return', 'sealed', 'stackalloc', 'static', 'switch', 'this',
59
+			'throw', 'true', 'try', 'unsafe', 'using', 'virtual', 'void', 'while'
60
+			),
61
+		2 => array(
62
+			'#elif', '#endif', '#endregion', '#else', '#error', '#define', '#if',
63
+			'#line', '#region', '#undef', '#warning'
64
+			),
65
+		3 => array(
66
+			'checked', 'is', 'new', 'sizeof', 'typeof', 'unchecked'
67
+			),
68
+		4 => array(
69
+			'bool', 'byte', 'char', 'class', 'decimal', 'delegate', 'double',
70
+			'enum', 'float', 'int', 'interface', 'long', 'object', 'sbyte',
71
+			'short', 'string', 'struct', 'uint', 'ulong', 'ushort'
72
+			),
73
+		5 => array(
74
+			'Microsoft.Win32',
75
+			'System',
76
+			'System.CodeDOM',
77
+			'System.CodeDOM.Compiler',
78
+			'System.Collections',
79
+			'System.Collections.Bases',
80
+			'System.ComponentModel',
81
+			'System.ComponentModel.Design',
82
+			'System.ComponentModel.Design.CodeModel',
83
+			'System.Configuration',
84
+			'System.Configuration.Assemblies',
85
+			'System.Configuration.Core',
86
+			'System.Configuration.Install',
87
+			'System.Configuration.Interceptors',
88
+			'System.Configuration.Schema',
89
+			'System.Configuration.Web',
90
+			'System.Core',
91
+			'System.Data',
92
+			'System.Data.ADO',
93
+			'System.Data.Design',
94
+			'System.Data.Internal',
95
+			'System.Data.SQL',
96
+			'System.Data.SQLTypes',
97
+			'System.Data.XML',
98
+			'System.Data.XML.DOM',
99
+			'System.Data.XML.XPath',
100
+			'System.Data.XML.XSLT',
101
+			'System.Diagnostics',
102
+			'System.Diagnostics.SymbolStore',
103
+			'System.DirectoryServices',
104
+			'System.Drawing',
105
+			'System.Drawing.Design',
106
+			'System.Drawing.Drawing2D',
107
+			'System.Drawing.Imaging',
108
+			'System.Drawing.Printing',
109
+			'System.Drawing.Text',
110
+			'System.Globalization',
111
+			'System.IO',
112
+			'System.IO.IsolatedStorage',
113
+			'System.Messaging',
114
+			'System.Net',
115
+			'System.Net.Sockets',
116
+			'System.NewXml',
117
+			'System.NewXml.XPath',
118
+			'System.NewXml.Xsl',
119
+			'System.Reflection',
120
+			'System.Reflection.Emit',
121
+			'System.Resources',
122
+			'System.Runtime.InteropServices',
123
+			'System.Runtime.InteropServices.Expando',
124
+			'System.Runtime.Remoting',
125
+			'System.Runtime.Serialization',
126
+			'System.Runtime.Serialization.Formatters',
127
+			'System.Runtime.Serialization.Formatters.Binary',
128
+			'System.Security',
129
+			'System.Security.Cryptography',
130
+			'System.Security.Cryptography.X509Certificates',
131
+			'System.Security.Permissions',
132
+			'System.Security.Policy',
133
+			'System.Security.Principal',
134
+			'System.ServiceProcess',
135
+			'System.Text',
136
+			'System.Text.RegularExpressions',
137
+			'System.Threading',
138
+			'System.Timers',
139
+			'System.Web',
140
+			'System.Web.Caching',
141
+			'System.Web.Configuration',
142
+			'System.Web.Security',
143
+			'System.Web.Services',
144
+			'System.Web.Services.Description',
145
+			'System.Web.Services.Discovery',
146
+			'System.Web.Services.Protocols',
147
+			'System.Web.UI',
148
+			'System.Web.UI.Design',
149
+			'System.Web.UI.Design.WebControls',
150
+			'System.Web.UI.Design.WebControls.ListControls',
151
+			'System.Web.UI.HtmlControls',
152
+			'System.Web.UI.WebControls',
153
+			'System.WinForms',
154
+			'System.WinForms.ComponentModel',
155
+			'System.WinForms.Design',
156
+			'System.Xml',
157
+			'System.Xml.Serialization',
158
+			'System.Xml.Serialization.Code',
159
+			'System.Xml.Serialization.Schema'
160
+			),
161
+		),
162
+	'SYMBOLS' => array(
163
+		'+', '-', '*', '?', '=', '/', '%', '&', '>', '<', '^', '!', '|', ':',
164
+		'(', ')', '{', '}', '[', ']'
165
+		),
166
+	'CASE_SENSITIVE' => array(
167
+		GESHI_COMMENTS => true,
168
+		1 => false,
169
+		2 => false,
170
+		3 => false,
171
+		4 => false,
172
+		5 => false,
173
+		),
174
+	'STYLES' => array(
175
+		'KEYWORDS' => array(
176
+			1 => 'color: #0600FF;',
177
+			2 => 'color: #FF8000; font-weight: bold;',
178
+			3 => 'color: #008000;',
179
+			4 => 'color: #FF0000;',
180
+			5 => 'color: #000000;'
181
+			),
182
+		'COMMENTS' => array(
183
+			1 => 'color: #008080; font-style: italic;',
184
+			2 => 'color: #008080;',
185
+			'MULTI' => 'color: #008080; font-style: italic;'
186
+			),
187
+		'ESCAPE_CHAR' => array(
188
+			0 => 'color: #008080; font-weight: bold;'
189
+			),
190
+		'BRACKETS' => array(
191
+			0 => 'color: #000000;'
192
+			),
193
+		'STRINGS' => array(
194
+			0 => 'color: #808080;'
195
+			),
196
+		'NUMBERS' => array(
197
+			0 => 'color: #FF0000;'
198
+			),
199
+		'METHODS' => array(
200
+			1 => 'color: #0000FF;',
201
+			2 => 'color: #0000FF;'
202
+			),
203
+		'SYMBOLS' => array(
204
+			0 => 'color: #008000;'
205
+			),
206
+		'REGEXPS' => array(
207
+			),
208
+		'SCRIPT' => array(
209
+			)
210
+		),
211
+	'URLS' => array(
212
+		1 => '',
213
+		2 => '',
214
+		3 => 'http://www.google.com/search?q={FNAME}+msdn.microsoft.com',
215
+		4 => ''
216
+		),
217
+	'OOLANG' => true,
218
+	'OBJECT_SPLITTERS' => array(
219
+		1 => '.',
220
+		2 => '::'
221
+		),
222
+	'REGEXPS' => array(
223
+		),
224
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
225
+	'SCRIPT_DELIMITERS' => array(
226
+		),
227
+	'HIGHLIGHT_STRICT_BLOCK' => array(
228
+        ),
229
+    'TAB_WIDTH' => 4,
230
+	'PARSER_CONTROL' => array(
231
+        'KEYWORDS' => array(
232
+            'DISALLOWED_BEFORE' => "a-zA-Z0-9\$_\|\#>|^",
233
+            'DISALLOWED_AFTER' => "a-zA-Z0-9_<\|%\\-"
234
+        )
235
+	)
236
+);
237
+
238
+?>

plugins/dos.php → plugins/geshi/css-gen.cfg View File


+ 208 - 0
plugins/geshi/css.php View File

@@ -0,0 +1,208 @@
1
+<?php
2
+/*************************************************************************************
3
+ * css.php
4
+ * -------
5
+ * Author: Nigel McNie (nigel@geshi.org)
6
+ * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/06/18
9
+ *
10
+ * CSS language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2004/11/27 (1.0.3)
15
+ *  -  Added support for multiple object splitters
16
+ * 2004/10/27 (1.0.2)
17
+ *   -  Changed regexps to catch "-" symbols
18
+ *   -  Added support for URLs
19
+ * 2004/08/05 (1.0.1)
20
+ *   -  Added support for symbols
21
+ * 2004/07/14 (1.0.0)
22
+ *   -  First Release
23
+ *
24
+ * TODO (updated 2004/11/27)
25
+ * -------------------------
26
+ * * Improve or drop regexps for class/id/psuedoclass highlighting
27
+ * * Re-look at keywords - possibly to make several CSS language
28
+ *   files, all with different versions of CSS in them
29
+ *
30
+ *************************************************************************************
31
+ *
32
+ *     This file is part of GeSHi.
33
+ *
34
+ *   GeSHi is free software; you can redistribute it and/or modify
35
+ *   it under the terms of the GNU General Public License as published by
36
+ *   the Free Software Foundation; either version 2 of the License, or
37
+ *   (at your option) any later version.
38
+ *
39
+ *   GeSHi is distributed in the hope that it will be useful,
40
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
41
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
42
+ *   GNU General Public License for more details.
43
+ *
44
+ *   You should have received a copy of the GNU General Public License
45
+ *   along with GeSHi; if not, write to the Free Software
46
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
47
+ *
48
+ ************************************************************************************/
49
+
50
+
51
+$language_data = array (
52
+	'LANG_NAME' => 'CSS',
53
+	'COMMENT_SINGLE' => array(1 => '@'),
54
+	'COMMENT_MULTI' => array('/*' => '*/'),
55
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
56
+	'QUOTEMARKS' => array('"', "'"),
57
+	'ESCAPE_CHAR' => '\\',
58
+	'KEYWORDS' => array(
59
+		1 => array(
60
+            'aqua', 'azimuth', 'background-attachment', 'background-color',
61
+            'background-image', 'background-position', 'background-repeat',
62
+            'background', 'black', 'blue', 'border-bottom-color',
63
+            'border-bottom-style', 'border-bottom-width', 'border-left-color',
64
+            'border-left-style', 'border-left-width', 'border-right',
65
+            'border-right-color', 'border-right-style', 'border-right-width',
66
+            'border-top-color', 'border-top-style',
67
+            'border-top-width','border-bottom', 'border-collapse',
68
+            'border-left', 'border-width', 'border-color', 'border-spacing',
69
+            'border-style', 'border-top', 'border', 'caption-side', 'clear',
70
+            'clip', 'color', 'content', 'counter-increment', 'counter-reset',
71
+            'cue-after', 'cue-before', 'cue', 'cursor', 'direction', 'display',
72
+            'elevation', 'empty-cells', 'float', 'font-family', 'font-size',
73
+            'font-size-adjust', 'font-stretch', 'font-style', 'font-variant',
74
+            'font-weight', 'font', 'line-height', 'letter-spacing',
75
+            'list-style', 'list-style-image', 'list-style-position',
76
+            'list-style-type', 'margin-bottom', 'margin-left', 'margin-right',
77
+            'margin-top', 'margin', 'marker-offset', 'marks', 'max-height',
78
+            'max-width', 'min-height', 'min-width', 'orphans', 'outline',
79
+            'outline-color', 'outline-style', 'outline-width', 'overflow',
80
+            'padding-bottom', 'padding-left', 'padding-right', 'padding-top',
81
+            'padding', 'page', 'page-break-after', 'page-break-before',
82
+            'page-break-inside', 'pause-after', 'pause-before', 'pause',
83
+            'pitch', 'pitch-range', 'play-during', 'position', 'quotes',
84
+            'richness', 'right', 'size', 'speak-header', 'speak-numeral',
85
+            'speak-punctuation', 'speak', 'speech-rate', 'stress',
86
+            'table-layout', 'text-align', 'text-decoration', 'text-indent',
87
+            'text-shadow', 'text-transform', 'top', 'unicode-bidi',
88
+            'vertical-align', 'visibility', 'voice-family', 'volume',
89
+            'white-space', 'widows', 'width', 'word-spacing', 'z-index',
90
+            'bottom', 'left', 'height'
91
+        ),
92
+		2 => array(
93
+             'above', 'absolute', 'always', 'armenian', 'aural', 'auto',
94
+             'avoid', 'baseline', 'behind', 'below', 'bidi-override', 'blink',
95
+             'block', 'bold', 'bolder', 'both', 'capitalize', 'center-left',
96
+             'center-right', 'center', 'circle', 'cjk-ideographic',
97
+             'close-quote', 'collapse', 'condensed', 'continuous', 'crop',
98
+             'crosshair', 'cross', 'cursive', 'dashed', 'decimal-leading-zero',
99
+             'decimal', 'default', 'digits', 'disc', 'dotted', 'double',
100
+             'e-resize', 'embed', 'extra-condensed', 'extra-expanded',
101
+             'expanded', 'fantasy', 'far-left', 'far-right', 'faster', 'fast',
102
+             'fixed', 'fuchsia', 'georgian', 'gray', 'green', 'groove',
103
+             'hebrew', 'help', 'hidden', 'hide', 'higher', 'high',
104
+             'hiragana-iroha', 'hiragana', 'icon', 'inherit', 'inline-table',
105
+             'inline', 'inset', 'inside', 'invert', 'italic', 'justify',
106
+             'katakana-iroha', 'katakana', 'landscape', 'larger', 'large',
107
+             'left-side', 'leftwards', 'level', 'lighter', 'lime',
108
+             'line-through', 'list-item', 'loud', 'lower-alpha', 'lower-greek',
109
+             'lower-roman', 'lowercase', 'ltr', 'lower', 'low', 'maroon',
110
+             'medium', 'message-box', 'middle', 'mix', 'monospace', 'n-resize',
111
+             'narrower', 'navy', 'ne-resize', 'no-close-quote',
112
+             'no-open-quote', 'no-repeat', 'none', 'normal', 'nowrap',
113
+             'nw-resize', 'oblique', 'olive', 'once', 'open-quote', 'outset',
114
+             'outside', 'overline', 'pointer', 'portrait', 'purple', 'px',
115
+             'red', 'relative', 'repeat-x', 'repeat-y', 'repeat', 'rgb',
116
+             'ridge', 'right-side', 'rightwards', 's-resize', 'sans-serif',
117
+             'scroll', 'se-resize', 'semi-condensed', 'semi-expanded',
118
+             'separate', 'serif', 'show', 'silent', 'silver', 'slow', 'slower',
119
+             'small-caps', 'small-caption', 'smaller', 'soft', 'solid',
120
+             'spell-out', 'square', 'static', 'status-bar', 'super',
121
+             'sw-resize', 'table-caption', 'table-cell', 'table-column',
122
+             'table-column-group', 'table-footer-group', 'table-header-group',
123
+             'table-row', 'table-row-group', 'teal', 'text', 'text-bottom',
124
+             'text-top', 'thick', 'thin', 'transparent', 'ultra-condensed',
125
+             'ultra-expanded', 'underline', 'upper-alpha', 'upper-latin',
126
+             'upper-roman', 'uppercase', 'url', 'visible', 'w-resize', 'wait',
127
+             'white', 'wider', 'x-fast', 'x-high', 'x-large', 'x-loud',
128
+             'x-low', 'x-small', 'x-soft', 'xx-large', 'xx-small', 'yellow',
129
+             'yes'
130
+            )
131
+        ),
132
+	'SYMBOLS' => array(
133
+		'(', ')', '{', '}', ':', ';'
134
+		),
135
+	'CASE_SENSITIVE' => array(
136
+		GESHI_COMMENTS => false,
137
+		1 => true,
138
+		2 => true
139
+		),
140
+	'STYLES' => array(
141
+		'KEYWORDS' => array(
142
+			1 => 'color: #000000; font-weight: bold;',
143
+			2 => 'color: #993333;'
144
+			),
145
+		'COMMENTS' => array(
146
+			1 => 'color: #a1a100;',
147
+			'MULTI' => 'color: #808080; font-style: italic;'
148
+			),
149
+		'ESCAPE_CHAR' => array(
150
+			0 => 'color: #000099; font-weight: bold;'
151
+			),
152
+		'BRACKETS' => array(
153
+			0 => 'color: #66cc66;'
154
+			),
155
+		'STRINGS' => array(
156
+			0 => 'color: #ff0000;'
157
+			),
158
+		'NUMBERS' => array(
159
+			0 => 'color: #cc66cc;'
160
+			),
161
+		'METHODS' => array(
162
+			),
163
+		'SYMBOLS' => array(
164
+			0 => 'color: #66cc66;'
165
+			),
166
+		'SCRIPT' => array(
167
+			),
168
+		'REGEXPS' => array(
169
+			0 => 'color: #cc00cc;',
170
+			1 => 'color: #6666ff;',
171
+			2 => 'color: #3333ff;',
172
+            3 => 'color: #933;',
173
+            4 => 'color: #933;',
174
+			)
175
+		),
176
+	'URLS' => array(
177
+		1 => '',
178
+		2 => ''
179
+		),
180
+	'OOLANG' => false,
181
+	'OBJECT_SPLITTERS' => array(
182
+		),
183
+	'REGEXPS' => array(
184
+		0 => '\#[a-zA-Z0-9\-_]+',
185
+		1 => '\.[a-zA-Z0-9\-_]+',
186
+        2 => ':[a-zA-Z0-9\-]+',
187
+        3 => '(\d+|(\d*\.\d+))(em|ex|pt|px|cm|in|%)',
188
+        4 => array(
189
+            GESHI_SEARCH    => '(url\()([^)]+)(\))',
190
+            GESHI_REPLACE   => '\\2',
191
+            GESHI_BEFORE    => '\\1',
192
+            GESHI_AFTER     => '\\3',
193
+            GESHI_MODIFIERS => 'si'
194
+        )
195
+		),
196
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
197
+	'SCRIPT_DELIMITERS' => array(
198
+		),
199
+	'HIGHLIGHT_STRICT_BLOCK' => array(
200
+        ),
201
+    'TAB_WIDTH' => 4
202
+);
203
+
204
+if (isset($this) && is_a($this, 'GeSHi')) {
205
+    $language_data['STYLES']['NUMBERS'][0] = $language_data['STYLES']['REGEXPS'][3];
206
+}
207
+
208
+?>

+ 285 - 0
plugins/geshi/d.php View File

@@ -0,0 +1,285 @@
1
+<?php
2
+/*************************************************************************************
3
+ * d.php
4
+ * -----
5
+ * Author: Thomas Kuehne (thomas@kuehne.cn)
6
+ * Copyright: (c) 2005 Thomas Kuehne (http://thomas.kuehne.cn/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/04/22
9
+ *
10
+ * D language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/04/22 (0.0.2)
15
+ *  -  added _d_* and sizeof/ptrdiff_t
16
+ * 2005/04/20 (0.0.1)
17
+ *  -  First release
18
+ *
19
+ * TODO (updated 2005/04/22)
20
+ * -------------------------
21
+ * * nested comments
22
+ * * correct handling of r"" and ``
23
+ * * correct handling of ... and ..
24
+ *
25
+ *************************************************************************************
26
+ *
27
+ *     This file is part of GeSHi.
28
+ *
29
+ *   GeSHi is free software; you can redistribute it and/or modify
30
+ *   it under the terms of the GNU General Public License as published by
31
+ *   the Free Software Foundation; either version 2 of the License, or
32
+ *   (at your option) any later version.
33
+ *
34
+ *   GeSHi is distributed in the hope that it will be useful,
35
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
36
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
37
+ *   GNU General Public License for more details.
38
+ *
39
+ *   You should have received a copy of the GNU General Public License
40
+ *   along with GeSHi; if not, write to the Free Software
41
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
42
+ *
43
+ ************************************************************************************/
44
+
45
+$language_data = array (
46
+    'LANG_NAME' => 'D',
47
+    'COMMENT_SINGLE' => array(1 => '//'),
48
+    'COMMENT_MULTI' => array('/*' => '*/'),
49
+    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
50
+    'QUOTEMARKS' => array('"', "'", '`'),
51
+    'ESCAPE_CHAR' => '\\',
52
+    'KEYWORDS' => array(
53
+        1 => array(
54
+                'while',
55
+                'switch',
56
+                'if',
57
+                'foreach',
58
+                'for',
59
+                'goto',
60
+                'return',
61
+                'else',
62
+                'do',
63
+                'case',
64
+                'continue',
65
+                'break'
66
+            ),
67
+        2 => array(
68
+                'with',
69
+                'union',
70
+                'typeof',
71
+                'typeid',
72
+                'typedef',
73
+                'try',
74
+                'true',
75
+                'throw',
76
+                'this',
77
+                'super',
78
+                'pragma',
79
+                'out',
80
+                'null',
81
+                'new',
82
+                'module',
83
+                'mixin',
84
+                'is',
85
+                'invariant',
86
+                'interface',
87
+                'inout',
88
+                'in',
89
+                'import',
90
+                'function',
91
+                'finally',
92
+                'false',
93
+                'extern',
94
+                'delete',
95
+                'delegate',
96
+                'default',
97
+                'catch',
98
+                'cast',
99
+                'body',
100
+                'assert',
101
+                'asm',
102
+                'alias'
103
+            ),
104
+        3 => array(
105
+                'TypeInfo',
106
+                'SwitchError',
107
+                'OutOfMemoryException',
108
+                'Object',
109
+                'ModuleInfo',
110
+                'Interface',
111
+                'Exception',
112
+                'Error',
113
+                'ClassInfo',
114
+                'ArrayBoundsError',
115
+                'AssertError',
116
+                '_d_throw',
117
+                '_d_switch_ustring',
118
+                '_d_switch_string',
119
+                '_d_switch_dstring',
120
+                '_d_OutOfMemory',
121
+                '_d_obj_eq',
122
+                '_d_obj_cmp',
123
+                '_d_newclass',
124
+                '_d_newbitarray',
125
+                '_d_newarrayi',
126
+                '_d_new',
127
+                '_d_monitorrelease',
128
+                '_d_monitor_prolog',
129
+                '_d_monitor_handler',
130
+                '_d_monitorexit',
131
+                '_d_monitor_epilog',
132
+                '_d_monitorenter',
133
+                '_d_local_unwind',
134
+                '_d_isbaseof2',
135
+                '_d_isbaseof',
136
+                '_d_invariant',
137
+                '_d_interface_vtbl',
138
+                '_d_interface_cast',
139
+                '_d_framehandler',
140
+                '_d_exception_filter',
141
+                '_d_exception',
142
+                '_d_dynamic_cast',
143
+                '_d_delmemory',
144
+                '_d_delinterface',
145
+                '_d_delclass',
146
+                '_d_delarray',
147
+                '_d_criticalexit',
148
+                '_d_criticalenter',
149
+                '_d_create_exception_object',
150
+                '_d_callfinalizer',
151
+                '_d_arraysetlengthb',
152
+                '_d_arraysetlength',
153
+                '_d_arraysetbit2',
154
+                '_d_arraysetbit',
155
+                '_d_arraycopybit',
156
+                '_d_arraycopy',
157
+                '_d_arraycatn',
158
+                '_d_arraycatb',
159
+                '_d_arraycat',
160
+                '_d_arraycast_frombit',
161
+                '_d_arraycast',
162
+                '_d_arrayappendcb',
163
+                '_d_arrayappendc',
164
+                '_d_arrayappendb',
165
+                '_d_arrayappend',
166
+            ),
167
+        4 => array(
168
+                'wchar',
169
+                'volatile',
170
+                'void',
171
+                'version',
172
+                'ushort',
173
+                'unittest',
174
+                'ulong',
175
+                'uint',
176
+                'ucent',
177
+                'ubyte',
178
+                'template',
179
+                'struct',
180
+                'static',
181
+                'synchronized',
182
+                'size_t',
183
+                'short',
184
+                'real',
185
+                'public',
186
+                'protected',
187
+                'private',
188
+                'ptrdiff_t',
189
+                'package',
190
+                'override',
191
+                'long',
192
+                'int',
193
+                'ireal',
194
+                'ifloat',
195
+                'idouble',
196
+                'float',
197
+                'final',
198
+                'export',
199
+                'enum',
200
+                'double',
201
+                'deprecated',
202
+                'debug',
203
+                'dchar',
204
+                'creal',
205
+                'const',
206
+                'class',
207
+                'char',
208
+                'cfloat',
209
+                'cent',
210
+                'cdouble',
211
+                'byte',
212
+                'bool',
213
+                'bit',
214
+                'auto',
215
+                'align',
216
+                'abstract'
217
+            )
218
+        ),
219
+    'SYMBOLS' => array(
220
+        '(', ')', '[', ']', '{', '}', '?', '!', ';', ':', ',', '...', '..',
221
+        '+', '-', '*', '/', '%', '&', '|', '^', '<', '>', '=', '~',
222
+        ),
223
+    'CASE_SENSITIVE' => array(
224
+        GESHI_COMMENTS => true,
225
+        1 => true,
226
+        2 => true,
227
+        3 => true,
228
+        4 => true
229
+        ),
230
+    'STYLES' => array(
231
+        'KEYWORDS' => array(
232
+            1 => 'color: #b1b100;',
233
+            2 => 'color: #000000; font-weight: bold;',
234
+            3 => 'color: #aaaadd; font-weight: bold;',
235
+            4 => 'color: #993333;'
236
+            ),
237
+        'COMMENTS' => array(
238
+            1=> 'color: #808080; font-style: italic;',
239
+            2=> 'color: #a1a100;',
240
+            'MULTI' => 'color: #808080; font-style: italic;'
241
+            ),
242
+        'ESCAPE_CHAR' => array(
243
+            0 => 'color: #000099; font-weight: bold;'
244
+            ),
245
+        'BRACKETS' => array(
246
+            0 => 'color: #66cc66;'
247
+            ),
248
+        'STRINGS' => array(
249
+            0 => 'color: #ff0000;'
250
+            ),
251
+        'NUMBERS' => array(
252
+            0 => 'color: #cc66cc;'
253
+            ),
254
+        'METHODS' => array(
255
+            1 => 'color: #006600;',
256
+            2 => 'color: #006600;'
257
+            ),
258
+        'SYMBOLS' => array(
259
+            0 => 'color: #66cc66;'
260
+            ),
261
+        'SCRIPT' => array(
262
+            ),
263
+        'REGEXPS' => array(
264
+            )
265
+        ),
266
+    'URLS' => array(
267
+        1 => '',
268
+        2 => '',
269
+        3 => '',
270
+        4 => ''
271
+        ),
272
+    'OOLANG' => true,
273
+    'OBJECT_SPLITTERS' => array(
274
+        1 => '.',
275
+        ),
276
+    'REGEXPS' => array(
277
+        ),
278
+    'STRICT_MODE_APPLIES' => GESHI_NEVER,
279
+    'SCRIPT_DELIMITERS' => array(
280
+        ),
281
+    'HIGHLIGHT_STRICT_BLOCK' => array(
282
+        )
283
+);
284
+
285
+?>

+ 280 - 0
plugins/geshi/delphi.php View File

@@ -0,0 +1,280 @@
1
+<?php
2
+/*************************************************************************************
3
+ * delphi.php
4
+ * ----------
5
+ * Author: Járja Norbert (jnorbi@vipmail.hu), Benny Baumann (BenBE@omorphia.de)
6
+ * Copyright: (c) 2004 Járja Norbert, Benny Baumann (BenBE@omorphia.de), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/07/26
9
+ *
10
+ * Delphi (Object Pascal) language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/11/19 (1.0.3)
15
+ *   -  Updated the very incomplete keyword and type lists
16
+ * 2005/09/03 (1.0.2)
17
+ *   -  Added support for hex numbers and string entities
18
+ * 2004/11/27 (1.0.1)
19
+ *   -  Added support for multiple object splitters
20
+ * 2004/10/27 (1.0.0)
21
+ *   -  First Release
22
+ *
23
+ * TODO (updated 2004/11/27)
24
+ * -------------------------
25
+ *
26
+ *************************************************************************************
27
+ *
28
+ *   This file is part of GeSHi.
29
+ *
30
+ *   GeSHi is free software; you can redistribute it and/or modify
31
+ *   it under the terms of the GNU General Public License as published by
32
+ *   the Free Software Foundation; either version 2 of the License, or
33
+ *   (at your option) any later version.
34
+ *
35
+ *   GeSHi is distributed in the hope that it will be useful,
36
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
37
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
38
+ *   GNU General Public License for more details.
39
+ *
40
+ *   You should have received a copy of the GNU General Public License
41
+ *   along with GeSHi; if not, write to the Free Software
42
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
43
+ *
44
+ ************************************************************************************/
45
+
46
+$language_data = array (
47
+    'LANG_NAME' => 'Delphi',
48
+    'COMMENT_SINGLE' => array(1 => '//'),
49
+    'COMMENT_MULTI' => array('(*' => '*)', '{' => '}'),
50
+    'CASE_KEYWORDS' => 0,
51
+    'QUOTEMARKS' => array("'", '"'),
52
+    'ESCAPE_CHAR' => '',
53
+    'KEYWORDS' => array(
54
+        1 => array(
55
+            'Abstract', 'And', 'Array', 'As', 'Asm', 'At', 'Begin', 'Case', 'Class',
56
+            'Const', 'Constructor', 'Contains', 'Destructor', 'DispInterface', 'Div',
57
+            'Do', 'DownTo', 'Else', 'End', 'Except', 'File', 'Finalization',
58
+            'Finally', 'For', 'Function', 'Goto', 'If', 'Implementation', 'In',
59
+            'Inherited', 'Initialization', 'Inline', 'Interface', 'Is', 'Label',
60
+            'Mod', 'Not', 'Object', 'Of', 'On', 'Or', 'Overload', 'Override',
61
+            'Package', 'Packed', 'Private', 'Procedure', 'Program', 'Property',
62
+            'Protected', 'Public', 'Published', 'Raise', 'Record', 'Repeat',
63
+            'Requires', 'Resourcestring', 'Set', 'Shl', 'Shr', 'Then', 'ThreadVar',
64
+            'To', 'Try', 'Type', 'Unit', 'Until', 'Uses', 'Var', 'Virtual', 'While',
65
+            'With', 'Xor', 'assembler', 'cdecl', 'far', 'near', 'pascal', 'register',
66
+            'safecall', 'stdcall', 'varargs'
67
+            ),
68
+        2 => array(
69
+            'nil', 'false', 'self', 'true', 'var', 'type', 'const'
70
+            ),
71
+        3 => array(
72
+            'Abs', 'AcquireExceptionObject', 'Addr', 'AnsiToUtf8', 'Append', 'ArcTan',
73
+            'Assert', 'AssignFile', 'Assigned', 'BeginThread', 'BlockRead',
74
+            'BlockWrite', 'Break', 'ChDir', 'Chr', 'Close', 'CloseFile',
75
+            'CompToCurrency', 'CompToDouble', 'Concat', 'Continue', 'Copy', 'Cos',
76
+            'Dec', 'Delete', 'Dispose', 'DoubleToComp', 'EndThread', 'EnumModules',
77
+            'EnumResourceModules', 'Eof', 'Eoln', 'Erase', 'ExceptAddr',
78
+            'ExceptObject', 'Exclude', 'Exit', 'Exp', 'FilePos', 'FileSize',
79
+            'FillChar', 'Finalize', 'FindClassHInstance', 'FindHInstance',
80
+            'FindResourceHInstance', 'Flush', 'Frac', 'FreeMem', 'Get8087CW',
81
+            'GetDir', 'GetLastError', 'GetMem', 'GetMemoryManager',
82
+            'GetModuleFileName', 'GetVariantManager', 'Halt', 'Hi', 'High',
83
+            'IOResult', 'Inc', 'Include', 'Initialize', 'Insert', 'Int',
84
+            'IsMemoryManagerSet', 'IsVariantManagerSet', 'Length', 'Ln', 'Lo', 'Low',
85
+            'MkDir', 'Move', 'New', 'Odd', 'OleStrToStrVar', 'OleStrToString', 'Ord',
86
+            'PUCS4Chars', 'ParamCount', 'ParamStr', 'Pi', 'Pos', 'Pred', 'Ptr',
87
+            'Random', 'Randomize', 'Read', 'ReadLn', 'ReallocMem',
88
+            'ReleaseExceptionObject', 'Rename', 'Reset', 'Rewrite', 'RmDir', 'Round',
89
+            'RunError', 'Seek', 'SeekEof', 'SeekEoln', 'Set8087CW', 'SetLength',
90
+            'SetLineBreakStyle', 'SetMemoryManager', 'SetString', 'SetTextBuf',
91
+            'SetVariantManager', 'Sin', 'SizeOf', 'Slice', 'Sqr', 'Sqrt', 'Str',
92
+            'StringOfChar', 'StringToOleStr', 'StringToWideChar', 'Succ', 'Swap',
93
+            'Trunc', 'Truncate', 'TypeInfo', 'UCS4StringToWideString', 'UTF8Decode',
94
+            'UTF8Encode', 'UnicodeToUtf8', 'UniqueString', 'UpCase', 'Utf8ToAnsi',
95
+            'Utf8ToUnicode', 'Val', 'VarArrayRedim', 'VarClear',
96
+            'WideCharLenToStrVar', 'WideCharLenToString', 'WideCharToStrVar',
97
+            'WideCharToString', 'WideStringToUCS4String', 'Write', 'WriteLn',
98
+
99
+            'Abort', 'AddExitProc', 'AddTerminateProc', 'AdjustLineBreaks', 'AllocMem',
100
+            'AnsiCompareFileName', 'AnsiCompareStr', 'AnsiCompareText',
101
+            'AnsiDequotedStr', 'AnsiExtractQuotedStr', 'AnsiLastChar',
102
+            'AnsiLowerCase', 'AnsiLowerCaseFileName', 'AnsiPos', 'AnsiQuotedStr',
103
+            'AnsiSameStr', 'AnsiSameText', 'AnsiStrComp', 'AnsiStrIComp',
104
+            'AnsiStrLComp', 'AnsiStrLIComp', 'AnsiStrLastChar', 'AnsiStrLower',
105
+            'AnsiStrPos', 'AnsiStrRScan', 'AnsiStrScan', 'AnsiStrUpper',
106
+            'AnsiUpperCase', 'AnsiUpperCaseFileName', 'AppendStr', 'AssignStr',
107
+            'Beep', 'BoolToStr', 'ByteToCharIndex', 'ByteToCharLen', 'ByteType',
108
+            'CallTerminateProcs', 'ChangeFileExt', 'CharLength', 'CharToByteIndex',
109
+            'CharToByteLen', 'CompareMem', 'CompareStr', 'CompareText', 'CreateDir',
110
+            'CreateGUID', 'CurrToStr', 'CurrToStrF', 'CurrentYear', 'Date',
111
+            'DateTimeToFileDate', 'DateTimeToStr', 'DateTimeToString',
112
+            'DateTimeToSystemTime', 'DateTimeToTimeStamp', 'DateToStr', 'DayOfWeek',
113
+            'DecodeDate', 'DecodeDateFully', 'DecodeTime', 'DeleteFile',
114
+            'DirectoryExists', 'DiskFree', 'DiskSize', 'DisposeStr', 'EncodeDate',
115
+            'EncodeTime', 'ExceptionErrorMessage', 'ExcludeTrailingBackslash',
116
+            'ExcludeTrailingPathDelimiter', 'ExpandFileName', 'ExpandFileNameCase',
117
+            'ExpandUNCFileName', 'ExtractFileDir', 'ExtractFileDrive',
118
+            'ExtractFileExt', 'ExtractFileName', 'ExtractFilePath',
119
+            'ExtractRelativePath', 'ExtractShortPathName', 'FileAge', 'FileClose',
120
+            'FileCreate', 'FileDateToDateTime', 'FileExists', 'FileGetAttr',
121
+            'FileGetDate', 'FileIsReadOnly', 'FileOpen', 'FileRead', 'FileSearch',
122
+            'FileSeek', 'FileSetAttr', 'FileSetDate', 'FileSetReadOnly', 'FileWrite',
123
+            'FinalizePackage', 'FindClose', 'FindCmdLineSwitch', 'FindFirst',
124
+            'FindNext', 'FloatToCurr', 'FloatToDateTime', 'FloatToDecimal',
125
+            'FloatToStr', 'FloatToStrF', 'FloatToText', 'FloatToTextFmt',
126
+            'FmtLoadStr', 'FmtStr', 'ForceDirectories', 'Format', 'FormatBuf',
127
+            'FormatCurr', 'FormatDateTime', 'FormatFloat', 'FreeAndNil',
128
+            'GUIDToString', 'GetCurrentDir', 'GetEnvironmentVariable',
129
+            'GetFileVersion', 'GetFormatSettings', 'GetLocaleFormatSettings',
130
+            'GetModuleName', 'GetPackageDescription', 'GetPackageInfo', 'GetTime',
131
+            'IncAMonth', 'IncMonth', 'IncludeTrailingBackslash',
132
+            'IncludeTrailingPathDelimiter', 'InitializePackage', 'IntToHex',
133
+            'IntToStr', 'InterlockedDecrement', 'InterlockedExchange',
134
+            'InterlockedExchangeAdd', 'InterlockedIncrement', 'IsDelimiter',
135
+            'IsEqualGUID', 'IsLeapYear', 'IsPathDelimiter', 'IsValidIdent',
136
+            'Languages', 'LastDelimiter', 'LoadPackage', 'LoadStr', 'LowerCase',
137
+            'MSecsToTimeStamp', 'NewStr', 'NextCharIndex', 'Now', 'OutOfMemoryError',
138
+            'QuotedStr', 'RaiseLastOSError', 'RaiseLastWin32Error', 'RemoveDir',
139
+            'RenameFile', 'ReplaceDate', 'ReplaceTime', 'SafeLoadLibrary',
140
+            'SameFileName', 'SameText', 'SetCurrentDir', 'ShowException', 'Sleep',
141
+            'StrAlloc', 'StrBufSize', 'StrByteType', 'StrCat', 'StrCharLength',
142
+            'StrComp', 'StrCopy', 'StrDispose', 'StrECopy', 'StrEnd', 'StrFmt',
143
+            'StrIComp', 'StrLCat', 'StrLComp', 'StrLCopy', 'StrLFmt', 'StrLIComp',
144
+            'StrLen', 'StrLower', 'StrMove', 'StrNew', 'StrNextChar', 'StrPCopy',
145
+            'StrPLCopy', 'StrPas', 'StrPos', 'StrRScan', 'StrScan', 'StrToBool',
146
+            'StrToBoolDef', 'StrToCurr', 'StrToCurrDef', 'StrToDate', 'StrToDateDef',
147
+            'StrToDateTime', 'StrToDateTimeDef', 'StrToFloat', 'StrToFloatDef',
148
+            'StrToInt', 'StrToInt64', 'StrToInt64Def', 'StrToIntDef', 'StrToTime',
149
+            'StrToTimeDef', 'StrUpper', 'StringReplace', 'StringToGUID', 'Supports',
150
+            'SysErrorMessage', 'SystemTimeToDateTime', 'TextToFloat', 'Time',
151
+            'TimeStampToDateTime', 'TimeStampToMSecs', 'TimeToStr', 'Trim',
152
+            'TrimLeft', 'TrimRight', 'TryEncodeDate', 'TryEncodeTime',
153
+            'TryFloatToCurr', 'TryFloatToDateTime', 'TryStrToBool', 'TryStrToCurr',
154
+            'TryStrToDate', 'TryStrToDateTime', 'TryStrToFloat', 'TryStrToInt',
155
+            'TryStrToInt64', 'TryStrToTime', 'UnloadPackage', 'UpperCase',
156
+            'WideCompareStr', 'WideCompareText', 'WideFmtStr', 'WideFormat',
157
+            'WideFormatBuf', 'WideLowerCase', 'WideSameStr', 'WideSameText',
158
+            'WideUpperCase', 'Win32Check', 'WrapText',
159
+
160
+            'ActivateClassGroup', 'AllocateHwnd', 'BinToHex', 'CheckSynchronize',
161
+            'CollectionsEqual', 'CountGenerations', 'DeallocateHwnd', 'EqualRect',
162
+            'ExtractStrings', 'FindClass', 'FindGlobalComponent', 'GetClass',
163
+            'GroupDescendantsWith', 'HexToBin', 'IdentToInt',
164
+            'InitInheritedComponent', 'IntToIdent', 'InvalidPoint',
165
+            'IsUniqueGlobalComponentName', 'LineStart', 'ObjectBinaryToText',
166
+            'ObjectResourceToText', 'ObjectTextToBinary', 'ObjectTextToResource',
167
+            'PointsEqual', 'ReadComponentRes', 'ReadComponentResEx',
168
+            'ReadComponentResFile', 'Rect', 'RegisterClass', 'RegisterClassAlias',
169
+            'RegisterClasses', 'RegisterComponents', 'RegisterIntegerConsts',
170
+            'RegisterNoIcon', 'RegisterNonActiveX', 'SmallPoint', 'StartClassGroup',
171
+            'TestStreamFormat', 'UnregisterClass', 'UnregisterClasses',
172
+            'UnregisterIntegerConsts', 'UnregisterModuleClasses',
173
+            'WriteComponentResFile',
174
+
175
+            'ArcCos', 'ArcCosh', 'ArcCot', 'ArcCotH', 'ArcCsc', 'ArcCscH', 'ArcSec',
176
+            'ArcSecH', 'ArcSin', 'ArcSinh', 'ArcTan2', 'ArcTanh', 'Ceil',
177
+            'CompareValue', 'Cosecant', 'Cosh', 'Cot', 'CotH', 'Cotan', 'Csc', 'CscH',
178
+            'CycleToDeg', 'CycleToGrad', 'CycleToRad', 'DegToCycle', 'DegToGrad',
179
+            'DegToRad', 'DivMod', 'DoubleDecliningBalance', 'EnsureRange', 'Floor',
180
+            'Frexp', 'FutureValue', 'GetExceptionMask', 'GetPrecisionMode',
181
+            'GetRoundMode', 'GradToCycle', 'GradToDeg', 'GradToRad', 'Hypot',
182
+            'InRange', 'IntPower', 'InterestPayment', 'InterestRate',
183
+            'InternalRateOfReturn', 'IsInfinite', 'IsNan', 'IsZero', 'Ldexp', 'LnXP1',
184
+            'Log10', 'Log2', 'LogN', 'Max', 'MaxIntValue', 'MaxValue', 'Mean',
185
+            'MeanAndStdDev', 'Min', 'MinIntValue', 'MinValue', 'MomentSkewKurtosis',
186
+            'NetPresentValue', 'Norm', 'NumberOfPeriods', 'Payment', 'PeriodPayment',
187
+            'Poly', 'PopnStdDev', 'PopnVariance', 'Power', 'PresentValue',
188
+            'RadToCycle', 'RadToDeg', 'RadToGrad', 'RandG', 'RandomRange', 'RoundTo',
189
+            'SLNDepreciation', 'SYDDepreciation', 'SameValue', 'Sec', 'SecH',
190
+            'Secant', 'SetExceptionMask', 'SetPrecisionMode', 'SetRoundMode', 'Sign',
191
+            'SimpleRoundTo', 'SinCos', 'Sinh', 'StdDev', 'Sum', 'SumInt',
192
+            'SumOfSquares', 'SumsAndSquares', 'Tan', 'Tanh', 'TotalVariance',
193
+            'Variance'
194
+            ),
195
+        4 => array(
196
+            'AnsiChar', 'AnsiString', 'Bool', 'Boolean', 'Byte', 'ByteBool', 'Cardinal', 'Char',
197
+            'Comp', 'Currency', 'DWORD', 'Double', 'Extended', 'Int64', 'Integer', 'IUnknown',
198
+            'LongBool', 'LongInt', 'LongWord', 'PAnsiChar', 'PAnsiString', 'PBool', 'PBoolean', 'PByte',
199
+            'PByteArray', 'PCardinal', 'PChar', 'PComp', 'PCurrency', 'PDWORD', 'PDate', 'PDateTime',
200
+            'PDouble', 'PExtended', 'PInt64', 'PInteger', 'PLongInt', 'PLongWord', 'Pointer', 'PPointer',
201
+            'PShortInt', 'PShortString', 'PSingle', 'PSmallInt', 'PString', 'PHandle', 'PVariant', 'PWord',
202
+            'PWordArray', 'PWordBool', 'PWideChar', 'PWideString', 'Real', 'Real48', 'ShortInt', 'ShortString',
203
+            'Single', 'SmallInt', 'String', 'TClass', 'TDate', 'TDateTime', 'TextFile', 'THandle',
204
+            'TObject', 'TTime', 'Variant', 'WideChar', 'WideString', 'Word', 'WordBool'
205
+            ),
206
+        ),
207
+    'CASE_SENSITIVE' => array(
208
+        GESHI_COMMENTS => true,
209
+        1 => false,
210
+        2 => false,
211
+        3 => false,
212
+        4 => false,
213
+        ),
214
+    'SYMBOLS' => array(
215
+        0 => array('(', ')', '[', ']'),
216
+        1 => array('.', ',', ':', ';'),
217
+        2 => array('@', '^'),
218
+        3 => array('=', '+', '-', '*', '/')
219
+        ),
220
+    'STYLES' => array(
221
+        'KEYWORDS' => array(
222
+            1 => 'color: #000000; font-weight: bold;',
223
+            2 => 'color: #000000; font-weight: bold;',
224
+            3 => 'color: #000066;',
225
+            4 => 'color: #993333;'
226
+            ),
227
+        'COMMENTS' => array(
228
+            1 => 'color: #808080; font-style: italic;',
229
+            'MULTI' => 'color: #808080; font-style: italic;'
230
+            ),
231
+        'ESCAPE_CHAR' => array(
232
+            ),
233
+        'BRACKETS' => array(
234
+            0 => 'color: #66cc66;'
235
+            ),
236
+        'STRINGS' => array(
237
+            0 => 'color: #ff0000;'
238
+            ),
239
+        'NUMBERS' => array(
240
+            0 => 'color: #cc66cc;'
241
+            ),
242
+        'METHODS' => array(
243
+            1 => 'color: #006600;'
244
+            ),
245
+        'REGEXPS' => array(
246
+            0 => 'color: #9ac;',
247
+            1 => 'color: #ff0000;'
248
+            ),
249
+        'SYMBOLS' => array(
250
+            0 => 'color: #66cc66;',
251
+            1 => 'color: #66cc66;',
252
+            2 => 'color: #66cc66;',
253
+            3 => 'color: #66cc66;'
254
+            ),
255
+        'SCRIPT' => array(
256
+            )
257
+        ),
258
+    'URLS' => array(
259
+        1 => '',
260
+        2 => '',
261
+        3 => '',
262
+        4 => ''
263
+        ),
264
+    'OOLANG' => true,
265
+    'OBJECT_SPLITTERS' => array(
266
+        1 => '.'
267
+        ),
268
+    'REGEXPS' => array(
269
+        0 => '\$[0-9a-fA-F]+',
270
+        1 => '\#\$?[0-9]{1,3}'
271
+        ),
272
+    'STRICT_MODE_APPLIES' => GESHI_NEVER,
273
+    'SCRIPT_DELIMITERS' => array(
274
+        ),
275
+    'HIGHLIGHT_STRICT_BLOCK' => array(
276
+        ),
277
+    'TAB_WIDTH' => 2
278
+);
279
+
280
+?>

+ 184 - 0
plugins/geshi/diff.php View File

@@ -0,0 +1,184 @@
1
+<?php
2
+/*************************************************************************************
3
+ * diff.php
4
+ * --------
5
+ * Author: Conny Brunnkvist (conny@fuchsia.se), W. Tasin (tasin@fhm.edu)
6
+ * Copyright: (c) 2004 Fuchsia Open Source Solutions (http://www.fuchsia.se/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/12/29
9
+ *
10
+ * Diff-output language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2006/02/27
15
+ *  -  changing language file to use matching of start (^) and end ($) (wt)
16
+ *
17
+ * 2004/12/29 (1.0.0)
18
+ *  -  First Release
19
+ *
20
+ * TODO (updated 2006/02/27)
21
+ * -------------------------
22
+ *
23
+ *
24
+ *************************************************************************************
25
+ *
26
+ *     This file is part of GeSHi.
27
+ *
28
+ *   GeSHi is free software; you can redistribute it and/or modify
29
+ *   it under the terms of the GNU General Public License as published by
30
+ *   the Free Software Foundation; either version 2 of the License, or
31
+ *   (at your option) any later version.
32
+ *
33
+ *   GeSHi is distributed in the hope that it will be useful,
34
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
35
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
36
+ *   GNU General Public License for more details.
37
+ *
38
+ *   You should have received a copy of the GNU General Public License
39
+ *   along with GeSHi; if not, write to the Free Software
40
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
41
+ *
42
+ ************************************************************************************/
43
+
44
+
45
+$language_data = array (
46
+	'LANG_NAME' => 'Diff',
47
+	'COMMENT_SINGLE' => array(),
48
+	'COMMENT_MULTI' => array(),
49
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
50
+	'QUOTEMARKS' => array(),
51
+	'ESCAPE_CHAR' => ' ',
52
+	'KEYWORDS' => array(
53
+			1 => array(
54
+				'\ No newline at end of file'
55
+			),
56
+			2 => array(
57
+				'***************' /* This only seems to works in some cases? */
58
+			),
59
+		),
60
+	'SYMBOLS' => array(
61
+		),
62
+	'CASE_SENSITIVE' => array(
63
+        1 => false,
64
+        2 => false
65
+		),
66
+	'STYLES' => array(
67
+		'KEYWORDS' => array(
68
+			1 => 'color: #aaaaaa; font-style: italic;',
69
+			2 => 'color: #dd6611;',
70
+			),
71
+		'COMMENTS' => array(
72
+            ),
73
+		'ESCAPE_CHAR' => array(
74
+            0 => ''
75
+			),
76
+		'BRACKETS' => array(
77
+            0 => ''
78
+			),
79
+		'STRINGS' => array(
80
+            0 => ''
81
+			),
82
+		'NUMBERS' => array(
83
+            0 => ''
84
+			),
85
+		'METHODS' => array(
86
+            0 => ''
87
+			),
88
+		'SYMBOLS' => array(
89
+            0 => ''
90
+			),
91
+		'SCRIPT' => array(
92
+            0 => ''
93
+			),
94
+        'REGEXPS' => array(
95
+			0 => 'color: #440088;',
96
+			1 => 'color: #991111;',
97
+			2 => 'color: #00b000;',
98
+            3 => 'color: #888822;',
99
+            4 => 'color: #888822;',
100
+            5 => 'color: #0011dd;',
101
+            6 => 'color: #440088;',
102
+			7 => 'color: #991111;',
103
+            8 => 'color: #00b000;',
104
+			9 => 'color: #888822;',
105
+                        ),
106
+		),
107
+	'URLS' => array(
108
+		),
109
+	'OOLANG' => false,
110
+	'OBJECT_SPLITTER' => '',
111
+	'REGEXPS' => array(
112
+			0 => "[0-9,]+[acd][0-9,]+",
113
+			1 => array(
114
+			GESHI_SEARCH => '^\\&lt;.*$',
115
+			GESHI_REPLACE => '\\0',
116
+			GESHI_MODIFIERS => 'm',
117
+			GESHI_BEFORE => '',
118
+			GESHI_AFTER => ''
119
+			),
120
+			2 => array(
121
+			GESHI_SEARCH => '^\\&gt;.*$',
122
+			GESHI_REPLACE => '\\0',
123
+			GESHI_MODIFIERS => 'm',
124
+			GESHI_BEFORE => '',
125
+			GESHI_AFTER => ''
126
+			),
127
+			3 => array(
128
+			GESHI_SEARCH => '^[\\-]{3}\\s.*$',
129
+			GESHI_REPLACE => '\\0',
130
+			GESHI_MODIFIERS => 'm',
131
+			GESHI_BEFORE => '',
132
+			GESHI_AFTER => ''
133
+			),
134
+			4 => array(
135
+			GESHI_SEARCH => '^(\\+){3}\\s.*$',
136
+			GESHI_REPLACE => '\\0',
137
+			GESHI_MODIFIERS => 'm',
138
+			GESHI_BEFORE => '',
139
+			GESHI_AFTER => ''
140
+			),
141
+			5 => array(
142
+			GESHI_SEARCH => '^\\!.*$',
143
+			GESHI_REPLACE => '\\0',
144
+			GESHI_MODIFIERS => 'm',
145
+			GESHI_BEFORE => '',
146
+			GESHI_AFTER => ''
147
+			),
148
+			6 => array(
149
+			GESHI_SEARCH => '^[\\@]{2}.*$',
150
+			GESHI_REPLACE => '\\0',
151
+			GESHI_MODIFIERS => 'm',
152
+			GESHI_BEFORE => '',
153
+			GESHI_AFTER => ''
154
+			),
155
+			7 => array(
156
+			GESHI_SEARCH => '^\\-.*$',
157
+			GESHI_REPLACE => '\\0',
158
+			GESHI_MODIFIERS => 'm',
159
+			GESHI_BEFORE => '',
160
+			GESHI_AFTER => ''
161
+			),
162
+			8 => array(
163
+			GESHI_SEARCH => '^\\+.*$',
164
+			GESHI_REPLACE => '\\0',
165
+			GESHI_MODIFIERS => 'm',
166
+			GESHI_BEFORE => '',
167
+			GESHI_AFTER => ''
168
+			),
169
+			9 => array(
170
+			GESHI_SEARCH => '^(\\*){3}\\s.*$',
171
+			GESHI_REPLACE => '\\0',
172
+			GESHI_MODIFIERS => 'm',
173
+			GESHI_BEFORE => '',
174
+			GESHI_AFTER => ''
175
+			),
176
+	),
177
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
178
+	'SCRIPT_DELIMITERS' => array(
179
+		),
180
+	'HIGHLIGHT_STRICT_BLOCK' => array(
181
+		)
182
+);
183
+
184
+?>

+ 126 - 0
plugins/geshi/div.php View File

@@ -0,0 +1,126 @@
1
+<?php
2
+/*************************************************************************************
3
+ * div.php
4
+ * ---------------------------------
5
+ * Author: Gabriel Lorenzo (ermakina@gmail.com)
6
+ * Copyright: (c) 2005 Gabriel Lorenzo (http://ermakina.gazpachito.net)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/06/19
9
+ *
10
+ * DIV language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/06/22 (1.0.0)
15
+ *  -  First Release, includes "2nd gen" ELSEIF statement
16
+ *
17
+ * TODO (updated 2005/06/22)
18
+ * -------------------------
19
+ *  -  I'm pretty satisfied with this, so nothing for now... :P
20
+ *
21
+ *************************************************************************************
22
+ *
23
+ *     This file is part of GeSHi.
24
+ *
25
+ *   GeSHi is free software; you can redistribute it and/or modify
26
+ *   it under the terms of the GNU General Public License as published by
27
+ *   the Free Software Foundation; either version 2 of the License, or
28
+ *   (at your option) any later version.
29
+ *
30
+ *   GeSHi is distributed in the hope that it will be useful,
31
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
32
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
33
+ *   GNU General Public License for more details.
34
+ *
35
+ *   You should have received a copy of the GNU General Public License
36
+ *   along with GeSHi; if not, write to the Free Software
37
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
38
+ *
39
+ ************************************************************************************/
40
+
41
+$language_data = array (
42
+	'LANG_NAME' => 'DIV',
43
+	'COMMENT_SINGLE' => array(1 => '//'),
44
+	'COMMENT_MULTI' => array('/*' => '*/'),
45
+	'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
46
+	'QUOTEMARKS' => array("'", '"'),
47
+	'ESCAPE_CHAR' => '',
48
+	'KEYWORDS' => array(
49
+		1 => array(
50
+			'while','until','to','switch','step','return','repeat','loop','if','from','frame','for','end','elseif',
51
+			'else','default','debug','continue','clone','case','break','begin'
52
+			),
53
+		2 => array(
54
+			'xor','whoami','type','sizeof','pointer','or','offset','not','neg','mod','id','dup','and','_ne','_lt',
55
+			'_le','_gt','_ge','_eq'
56
+			),
57
+		3 => array(
58
+			'setup_program','program','process','private','local','import','global','function','const',
59
+			'compiler_options'
60
+			),
61
+		4 => array(
62
+			'word','struct','string','int','byte'
63
+			),
64
+		),
65
+	'SYMBOLS' => array(
66
+		'(',')','[',']','=','+','-','*','/','!','%','^','&',':',';',',','<','>'
67
+		),
68
+	'CASE_SENSITIVE' => array(
69
+		GESHI_COMMENTS => false,
70
+		1 => false,
71
+		2 => false,
72
+		3 => false,
73
+		4 => false,
74
+		),
75
+	'STYLES' => array(
76
+		'KEYWORDS' => array(
77
+			1 => 'color: #0040b1;',
78
+			2 => 'color: #000000;',
79
+			3 => 'color: #000066; font-weight: bold;',
80
+			4 => 'color: #993333;'
81
+			),
82
+		'COMMENTS' => array(
83
+			1 => 'color: #808080; font-style: italic;',
84
+			'MULTI' => 'color: #808080; font-style: italic;'
85
+			),
86
+		'ESCAPE_CHAR' => array(
87
+			0 => ''
88
+			),
89
+		'BRACKETS' => array(
90
+			0 => 'color: #44aa44;'
91
+			),
92
+		'STRINGS' => array(
93
+			0 => 'color: #ff0000;'
94
+			),
95
+		'NUMBERS' => array(
96
+			0 => 'color: #cc66cc;'
97
+			),
98
+		'METHODS' => array(
99
+			0 => 'color: #202020;',
100
+			),
101
+		'SYMBOLS' => array(
102
+			0 => 'color: #44aa44;'
103
+			),
104
+		'REGEXPS' => array(
105
+			),
106
+		'SCRIPT' => array(
107
+			)
108
+		),
109
+	'URLS' => array(
110
+		1 => '',
111
+		2 => '',
112
+		3 => '',
113
+		4 => ''
114
+		),
115
+	'OOLANG' => false,
116
+	'OBJECT_SPLITTER' => '',
117
+	'REGEXPS' => array(
118
+		),
119
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
120
+	'SCRIPT_DELIMITERS' => array(
121
+		),
122
+	'HIGHLIGHT_STRICT_BLOCK' => array(
123
+		)
124
+);
125
+
126
+?>

+ 185 - 0
plugins/geshi/dos.php View File

@@ -0,0 +1,185 @@
1
+<?php
2
+/*************************************************************************************
3
+ * dos.php
4
+ * -------
5
+ * Author: Alessandro Staltari (staltari@geocities.com)
6
+ * Copyright: (c) 2005 Alessandro Staltari (http://www.geocities.com/SiliconValley/Vista/8155/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/07/05
9
+ *
10
+ * DOS language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/07/05 (1.0.0)
15
+ *  -  First Release
16
+ *
17
+ * TODO (updated 2005/07/05)
18
+ * -------------------------
19
+ *
20
+ * - Find a way to higlight %*
21
+ * - Highlight pipes and redirection (do we really need this?)
22
+ * - Add missing keywords.
23
+ * - Find a good hyperlink for keywords.
24
+ * - Improve styles.
25
+ *
26
+ * KNOWN ISSUES (updated 2005/07/07)
27
+ * ---------------------------------
28
+ *
29
+ * - Doesn't even try to handle spaces in variables name or labels (I can't
30
+ *   find a reliable way to establish if a sting is a name or not, in some
31
+ *   cases it depends on the contex or enviroment status).
32
+ * - Doesn't handle %%[letter] pseudo variable used inside FOR constructs
33
+ *   (it should be done only into its scope: how to handle variable it?).
34
+ * - Doesn't handle %~[something] pseudo arguments.
35
+ * - If the same keyword is placed at the end of the line and the
36
+ *   beginning of the next, the second occourrence is not highlighted
37
+ *   (this should be a GeSHi bug, not related to the language definition).
38
+ * - I can't avoid to have keyword highlighted even when they are not used
39
+ *   as keywords but, for example, as arguments to the echo command.
40
+ *
41
+ *************************************************************************************
42
+ *
43
+ *     This file is part of GeSHi.
44
+ *
45
+ *   GeSHi is free software; you can redistribute it and/or modify
46
+ *   it under the terms of the GNU General Public License as published by
47
+ *   the Free Software Foundation; either version 2 of the License, or
48
+ *   (at your option) any later version.
49
+ *
50
+ *   GeSHi is distributed in the hope that it will be useful,
51
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
52
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
53
+ *   GNU General Public License for more details.
54
+ *
55
+ *   You should have received a copy of the GNU General Public License
56
+ *   along with GeSHi; if not, write to the Free Software
57
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
58
+ *
59
+ ************************************************************************************/
60
+
61
+$language_data = array (
62
+	'LANG_NAME' => 'DOS',
63
+	'COMMENT_SINGLE' => array(1 =>'REM', 2 => '@REM'),
64
+	'COMMENT_MULTI' => array(),
65
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
66
+	'QUOTEMARKS' => array(),
67
+	'ESCAPE_CHAR' => '',
68
+	'KEYWORDS' => array(
69
+	    /* Flow control keywords */
70
+		1 => array(
71
+			'if', 'else', 'goto',
72
+			'for', 'in', 'do',
73
+			'call', 'exit'
74
+			),
75
+	    /* IF statement keywords */
76
+		2 => array(
77
+			'not', 'exist', 'errorlevel',
78
+			'defined',
79
+			'equ', 'neq', 'lss', 'leq', 'gtr', 'geq'
80
+			),
81
+	    /* Internal commands */
82
+		3 => array(
83
+			'shift',
84
+			'cd', 'dir', 'echo',
85
+			'setlocal', 'endlocal', 'set',
86
+			'pause'
87
+			),
88
+	    /* Special files */
89
+
90
+		4 => array(
91
+			'prn', 'nul', 'lpt3', 'lpt2', 'lpt1', 'con',
92
+			'com4', 'com3', 'com2', 'com1', 'aux'
93
+			)
94
+		),
95
+	'SYMBOLS' => array(
96
+		'(', ')'
97
+		),
98
+	'CASE_SENSITIVE' => array(
99
+		GESHI_COMMENTS => false,
100
+			1 => false,
101
+			2 => false,
102
+			3 => false,
103
+		),
104
+	'STYLES' => array(
105
+		'KEYWORDS' => array(
106
+			1 => 'color: #00b100; font-weight: bold;',
107
+			2 => 'color: #000000; font-weight: bold;',
108
+			3 => 'color: #b1b100; font-weight: bold;',
109
+			4 => 'color: #0000ff; font-weight: bold;'
110
+			),
111
+		'COMMENTS' => array(
112
+			1 => 'color: #808080; font-style: italic;',
113
+			2 => 'color: #808080; font-style: italic;'
114
+			),
115
+		'ESCAPE_CHAR' => array(
116
+			),
117
+		'BRACKETS' => array(
118
+			0 => 'color: #66cc66;'
119
+			),
120
+		'STRINGS' => array(
121
+			0 => 'color: #ff0000;'
122
+			),
123
+		'NUMBERS' => array(
124
+			0 => 'color: #cc66cc;'
125
+			),
126
+		'METHODS' => array(
127
+			),
128
+		'SYMBOLS' => array(
129
+			0 => 'color: #33cc33;',
130
+			1 => 'color: #33cc33;'
131
+			),
132
+		'SCRIPT' => array(
133
+			),
134
+		'REGEXPS' => array(
135
+			0 => 'color: #b100b1; font-weight: bold;',
136
+			1 => 'color: #448844;',
137
+			2 => 'color: #448888;'
138
+			)
139
+		),
140
+	'OOLANG' => false,
141
+	'OBJECT_SPLITTERS' => array(
142
+		),
143
+    'URLS' => array(
144
+         1 => 'http://www.ss64.com/nt/{FNAME}.html',
145
+         2 => 'http://www.ss64.com/nt/{FNAME}.html',
146
+         3 => 'http://www.ss64.com/nt/{FNAME}.html',
147
+         4 => 'http://www.ss64.com/nt/{FNAME}.html'
148
+         ),
149
+	'REGEXPS' => array(
150
+	/* Label */
151
+	    0 => array(
152
+/*		GESHI_SEARCH => '((?si:[@\s]+GOTO\s+|\s+:)[\s]*)((?<!\n)[^\s\n]*)',*/
153
+		GESHI_SEARCH => '((?si:[@\s]+GOTO\s+|\s+:)[\s]*)((?<!\n)[^\n]*)',
154
+		GESHI_REPLACE => '\\2',
155
+		GESHI_MODIFIERS => 'si',
156
+		GESHI_BEFORE => '\\1',
157
+		GESHI_AFTER => ''
158
+		),
159
+	/* Variable assignement */
160
+	    1 => array(
161
+/*		GESHI_SEARCH => '(SET[\s]+(?si:/A[\s]+|/P[\s]+|))([^=\s\n]+)([\s]*=)',*/
162
+		GESHI_SEARCH => '(SET[\s]+(?si:/A[\s]+|/P[\s]+|))([^=\n]+)([\s]*=)',
163
+		GESHI_REPLACE => '\\2',
164
+		GESHI_MODIFIERS => 'si',
165
+		GESHI_BEFORE => '\\1',
166
+		GESHI_AFTER => '\\3'
167
+		),
168
+	/* Arguments or variable evaluation */
169
+	    2 => array(
170
+/*		GESHI_SEARCH => '(%)([\d*]|[^%\s]*(?=%))((?<!%\d)%|)',*/
171
+		GESHI_SEARCH => '(%)([\d*]|[^%]*(?=%))((?<!%\d)%|)',
172
+		GESHI_REPLACE => '\\2',
173
+		GESHI_MODIFIERS => 'si',
174
+		GESHI_BEFORE => '\\1',
175
+		GESHI_AFTER => '\\3'
176
+		)
177
+		),
178
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
179
+	'SCRIPT_DELIMITERS' => array(
180
+		),
181
+	'HIGHLIGHT_STRICT_BLOCK' => array(
182
+		)
183
+);
184
+
185
+?>

+ 158 - 0
plugins/geshi/dot.php View File

@@ -0,0 +1,158 @@
1
+<?php
2
+/*************************************************************************************
3
+ * dot.php
4
+ * ---------------------------------
5
+ * Author: Adrien Friggeri (adrien@friggeri.net)
6
+ * Copyright: (c) 2007 Adrien Friggeri (http://www.friggeri.net)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2007/05/30
9
+ *
10
+ * dot language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2007/05/30 (1.0.0)
15
+ *  -  First Release
16
+ *
17
+ * TODO (updated 2007/05/30)
18
+ * -------------------------
19
+ * Everything
20
+ *
21
+ *************************************************************************************
22
+ *
23
+ *     This file is part of GeSHi.
24
+ *
25
+ *   GeSHi is free software; you can redistribute it and/or modify
26
+ *   it under the terms of the GNU General Public License as published by
27
+ *   the Free Software Foundation; either version 2 of the License, or
28
+ *   (at your option) any later version.
29
+ *
30
+ *   GeSHi is distributed in the hope that it will be useful,
31
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
32
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
33
+ *   GNU General Public License for more details.
34
+ *
35
+ *   You should have received a copy of the GNU General Public License
36
+ *   along with GeSHi; if not, write to the Free Software
37
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
38
+ *
39
+ ************************************************************************************/
40
+
41
+$language_data = array (
42
+    'LANG_NAME' => 'dot',
43
+    'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
44
+    'COMMENT_MULTI' => array('/*' => '*/'),
45
+    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
46
+    'QUOTEMARKS' => array('"'),
47
+    'ESCAPE_CHAR' => '\\',
48
+    'KEYWORDS' => array(
49
+        1 => array('URL', 'arrowhead', 'arrowsize', 'arrowtail', 'bb', 'bgcolor', 'bottomlabel',
50
+          'center', 'clusterrank', 'color', 'comment', 'constraint', 'decorate',
51
+          'dir', 'distortion', 'fillcolor', 'fixedsize', 'fontcolor',
52
+          'fontname', 'fontsize', 'group', 'headclip', 'headlabel', 'headport',
53
+          'height', 'id', 'label', 'labelangle', 'labeldistance', 'labelfontcolor',
54
+          'labelfontname', 'labelfontsize', 'layer', 'layers', 'margin', 'mclimit',
55
+          'minlen', 'nodesep', 'nslimit', 'ordering', 'orientation', 'page',
56
+          'pagedir', 'peripheries', 'port_label_distance', 'quantum', 'rank', 'rankdir',
57
+          'ranksep', 'ratio', 'regular', 'rotate', 'samehead', 'sametail', 'searchsize',
58
+          'shape', 'shapefile', 'showboxes', 'sides', 'size', 'skew', 'style',
59
+          'tailclip', 'taillabel', 'tailport', 'toplabel', 'weight', 'width'
60
+        ),
61
+        2 => array('node', 'graph', 'digraph', 'strict', 'edge', 'subgraph'),
62
+        3 => array('FALSE', 'Mcircle', 'Mdiamond', 'Mrecord', 'Msquare', 'TRUE', 'auto', 'back',
63
+          'bold', 'both', 'box', 'circle', 'compress', 'dashed', 'diamond', 'dot',
64
+          'dotted', 'doublecircle', 'doubleoctagon', 'egg', 'ellipse', 'epsf', 'false',
65
+          'fill', 'filled', 'forward', 'global', 'hexagon', 'house', 'inv', 'invdot',
66
+          'invhouse', 'invis', 'invodot', 'invtrapezium', 'invtriangle', 'local', 'max',
67
+          'min', 'none', 'normal', 'octagon', 'odot', 'out', 'parallelogram', 'plaintext',
68
+          'polygon', 'record', 'same', 'solid', 'trapezium', 'triangle', 'tripleoctagon',
69
+          'true'
70
+        ),
71
+        4 => array('aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'black',
72
+          'blanchedalmond', 'blue', 'blueviolet', 'brown', 'burlywood', 'cadetblue',
73
+          'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson',
74
+          'cyan', 'darkgoldenrod', 'darkgreen', 'darkkhaki', 'darkolivegreen',
75
+          'darkorange', 'darkorchid', 'darksalmon', 'darkseagreen', 'darkslateblue',
76
+          'darkslategray', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue',
77
+          'dimgray', 'dodgerblue', 'firebrick', 'forestgreen', 'gainsboro', 'ghostwhite',
78
+          'gold', 'goldenrod', 'gray', 'green', 'greenyellow', 'honeydew', 'hotpink',
79
+          'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush',
80
+          'lawngreen', 'lemonchiffon', 'lightblue', 'lightcyan', 'lightgoldenrod',
81
+          'lightgoldenrodyellow', 'lightgray', 'lightpink', 'lightsalmon',
82
+          'lightseagreen', 'lightskyblue', 'lightslateblue', 'lightslategray',
83
+          'lightyellow', 'limegreen', 'linen', 'magenta', 'maroon', 'mediumaquamarine',
84
+          'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen',
85
+          'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred',
86
+          'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'navy',
87
+          'navyblue', 'oldlace', 'olivedrab', 'oralwhite', 'orange', 'orangered',
88
+          'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred',
89
+          'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'purple',
90
+          'red', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'salmon2', 'sandybrown',
91
+          'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'snow',
92
+          'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet',
93
+          'violetred', 'wheat', 'white', 'whitesmoke', 'yellow', 'yellowgreen'
94
+        )
95
+      ),
96
+    'SYMBOLS' => array(
97
+        '[', ']', '{', '}', '-', '+', '*', '/', '<', '>', '!', '~', '%', '&', '|', '='
98
+    ),
99
+    'CASE_SENSITIVE' => array(
100
+        GESHI_COMMENTS => false,
101
+        1 => false,
102
+        2 => false,
103
+        3 => false,
104
+        4 => false,
105
+    ),
106
+    'STYLES' => array(
107
+        'KEYWORDS' => array(
108
+            1 => 'color: #000066;',
109
+            2 => 'color: #000000; font-weight: bold;',
110
+            3 => 'color: #993333;',
111
+            4 => 'color: #b1b100;'
112
+        ),
113
+        'COMMENTS' => array(
114
+            1 => 'color: #808080; font-style: italic;',
115
+            2 => 'color: #339933;',
116
+            'MULTI' => 'color: #808080; font-style: italic;'
117
+        ),
118
+        'ESCAPE_CHAR' => array(
119
+            0 => 'color: #af624d; font-weight: bold;'
120
+        ),
121
+        'BRACKETS' => array(
122
+            0 => 'color: #66cc66;'
123
+        ),
124
+        'STRINGS' => array(
125
+            0 => 'color: #ff0000;'
126
+        ),
127
+        'NUMBERS' => array(
128
+            0 => 'color: #cc66cc;'
129
+        ),
130
+        'SYMBOLS' => array(
131
+            0 => 'color: #66cc66;'
132
+        ),
133
+        'METHODS' => array(
134
+            ),
135
+        'SCRIPT' => array(
136
+            ),
137
+        'REGEXPS' => array(
138
+            ),
139
+    ),
140
+    'URLS' => array(
141
+        1 => '',
142
+        2 => '',
143
+        3 => ''
144
+    ),
145
+    'OOLANG' => false,
146
+    'OBJECT_SPLITTER' => '',
147
+    'REGEXPS' => array(),
148
+    'STRICT_MODE_APPLIES' => GESHI_MAYBE,
149
+    'SCRIPT_DELIMITERS' => array(),
150
+    'HIGHLIGHT_STRICT_BLOCK' => array(
151
+        0 => true,
152
+        1 => true,
153
+        2 => true,
154
+        3 => true
155
+    )
156
+);
157
+
158
+?>

+ 394 - 0
plugins/geshi/eiffel.php View File

@@ -0,0 +1,394 @@
1
+<?php
2
+/*************************************************************************************
3
+ * eiffel.php
4
+ * ----------
5
+ * Author: Zoran Simic (zsimic@axarosenberg.com)
6
+ * Copyright: (c) 2005 Zoran Simic
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/06/30
9
+ *
10
+ * Eiffel language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/06/30 (1.0.7)
15
+ *  -  Initial release
16
+ *
17
+ * TODO (updated 2005/06/30)
18
+ * -------------------------
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *     This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+ $language_data = array (
41
+	'LANG_NAME' => 'Eiffel',
42
+	'COMMENT_SINGLE' => array(1 => '--'),
43
+	'COMMENT_MULTI' => array(),
44
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
45
+	'QUOTEMARKS' => array("'", '"'),
46
+	'ESCAPE_CHAR' => '%',
47
+	'KEYWORDS' => array(
48
+		1 => array(
49
+			'separate',
50
+			'invariant',
51
+			'inherit',
52
+			'indexing',
53
+			'feature',
54
+			'expanded',
55
+			'deferred',
56
+			'class'
57
+			),
58
+		2 => array(
59
+			'xor',
60
+			'when',
61
+			'variant',
62
+			'until',
63
+			'unique',
64
+			'undefine',
65
+			'then',
66
+			'strip',
67
+			'select',
68
+			'retry',
69
+			'rescue',
70
+			'require',
71
+			'rename',
72
+			'reference',
73
+			'redefine',
74
+			'prefix',
75
+			'or',
76
+			'once',
77
+			'old',
78
+			'obsolete',
79
+			'not',
80
+			'loop',
81
+			'local',
82
+			'like',
83
+			'is',
84
+			'inspect',
85
+			'infix',
86
+			'include',
87
+			'implies',
88
+			'if',
89
+			'frozen',
90
+			'from',
91
+			'external',
92
+			'export',
93
+			'ensure',
94
+			'end',
95
+			'elseif',
96
+			'else',
97
+			'do',
98
+			'creation',
99
+			'create',
100
+			'check',
101
+			'as',
102
+			'and',
103
+			'alias',
104
+			'agent'
105
+			),
106
+		3 => array(
107
+			'Void',
108
+			'True',
109
+			'Result',
110
+			'Precursor',
111
+			'False',
112
+			'Current'
113
+			),
114
+		4 => array(
115
+			'UNIX_SIGNALS',
116
+			'UNIX_FILE_INFO',
117
+			'UNBOUNDED',
118
+			'TWO_WAY_TREE_CURSOR',
119
+			'TWO_WAY_TREE',
120
+			'TWO_WAY_SORTED_SET',
121
+			'TWO_WAY_LIST',
122
+			'TWO_WAY_CURSOR_TREE',
123
+			'TWO_WAY_CIRCULAR',
124
+			'TWO_WAY_CHAIN_ITERATOR',
125
+			'TUPLE',
126
+			'TREE',
127
+			'TRAVERSABLE',
128
+			'TO_SPECIAL',
129
+			'THREAD_CONTROL',
130
+			'THREAD_ATTRIBUTES',
131
+			'THREAD',
132
+			'TABLE',
133
+			'SUBSET',
134
+			'STRING_HANDLER',
135
+			'STRING',
136
+			'STREAM',
137
+			'STORABLE',
138
+			'STD_FILES',
139
+			'STACK',
140
+			'SPECIAL',
141
+			'SORTED_TWO_WAY_LIST',
142
+			'SORTED_STRUCT',
143
+			'SORTED_LIST',
144
+			'SINGLE_MATH',
145
+			'SET',
146
+			'SEQUENCE',
147
+			'SEQ_STRING',
148
+			'SEMAPHORE',
149
+			'ROUTINE',
150
+			'RESIZABLE',
151
+			'RECURSIVE_TREE_CURSOR',
152
+			'RECURSIVE_CURSOR_TREE',
153
+			'REAL_REF',
154
+			'REAL',
155
+			'RAW_FILE',
156
+			'RANDOM',
157
+			'QUEUE',
158
+			'PROXY',
159
+			'PROFILING_SETTING',
160
+			'PROCEDURE',
161
+			'PRIORITY_QUEUE',
162
+			'PRIMES',
163
+			'PRECOMP',
164
+			'POINTER_REF',
165
+			'POINTER',
166
+			'PLATFORM',
167
+			'PLAIN_TEXT_FILE',
168
+			'PATH_NAME',
169
+			'PART_SORTED_TWO_WAY_LIST',
170
+			'PART_SORTED_SET',
171
+			'PART_SORTED_LIST',
172
+			'PART_COMPARABLE',
173
+			'OPERATING_ENVIRONMENT',
174
+			'ONCE_CONTROL',
175
+			'OBJECT_OWNER',
176
+			'OBJECT_CONTROL',
177
+			'NUMERIC',
178
+			'NONE',
179
+			'MUTEX',
180
+			'MULTI_ARRAY_LIST',
181
+			'MULTAR_LIST_CURSOR',
182
+			'MEMORY',
183
+			'MEM_INFO',
184
+			'MEM_CONST',
185
+			'MATH_CONST',
186
+			'LIST',
187
+			'LINKED_TREE_CURSOR',
188
+			'LINKED_TREE',
189
+			'LINKED_STACK',
190
+			'LINKED_SET',
191
+			'LINKED_QUEUE',
192
+			'LINKED_PRIORITY_QUEUE',
193
+			'LINKED_LIST_CURSOR',
194
+			'LINKED_LIST',
195
+			'LINKED_CURSOR_TREE',
196
+			'LINKED_CIRCULAR',
197
+			'LINKABLE',
198
+			'LINEAR_ITERATOR',
199
+			'LINEAR',
200
+			'ITERATOR',
201
+			'IO_MEDIUM',
202
+			'INTERNAL',
203
+			'INTEGER_REF',
204
+			'INTEGER_INTERVAL',
205
+			'INTEGER',
206
+			'INFINITE',
207
+			'INDEXABLE',
208
+			'IDENTIFIED_CONTROLLER',
209
+			'IDENTIFIED',
210
+			'HIERARCHICAL',
211
+			'HEAP_PRIORITY_QUEUE',
212
+			'HASHABLE',
213
+			'HASH_TABLE_CURSOR',
214
+			'HASH_TABLE',
215
+			'GENERAL',
216
+			'GC_INFO',
217
+			'FUNCTION',
218
+			'FORMAT_INTEGER',
219
+			'FORMAT_DOUBLE',
220
+			'FIXED_TREE',
221
+			'FIXED_LIST',
222
+			'FIXED',
223
+			'FINITE',
224
+			'FILE_NAME',
225
+			'FILE',
226
+			'FIBONACCI',
227
+			'EXECUTION_ENVIRONMENT',
228
+			'EXCEPTIONS',
229
+			'EXCEP_CONST',
230
+			'DYNAMIC_TREE',
231
+			'DYNAMIC_LIST',
232
+			'DYNAMIC_CIRCULAR',
233
+			'DYNAMIC_CHAIN',
234
+			'DOUBLE_REF',
235
+			'DOUBLE_MATH',
236
+			'DOUBLE',
237
+			'DISPENSER',
238
+			'DIRECTORY_NAME',
239
+			'DIRECTORY',
240
+			'DECLARATOR',
241
+			'DEBUG_OUTPUT',
242
+			'CURSOR_TREE_ITERATOR',
243
+			'CURSOR_TREE',
244
+			'CURSOR_STRUCTURE',
245
+			'CURSOR',
246
+			'COUNTABLE_SEQUENCE',
247
+			'COUNTABLE',
248
+			'CONTAINER',
249
+			'CONSOLE',
250
+			'CONDITION_VARIABLE',
251
+			'COMPARABLE_STRUCT',
252
+			'COMPARABLE_SET',
253
+			'COMPARABLE',
254
+			'COMPACT_TREE_CURSOR',
255
+			'COMPACT_CURSOR_TREE',
256
+			'COLLECTION',
257
+			'CIRCULAR_CURSOR',
258
+			'CIRCULAR',
259
+			'CHARACTER_REF',
260
+			'CHARACTER',
261
+			'CHAIN',
262
+			'CELL',
263
+			'BOX',
264
+			'BOUNDED_STACK',
265
+			'BOUNDED_QUEUE',
266
+			'BOUNDED',
267
+			'BOOLEAN_REF',
268
+			'BOOLEAN',
269
+			'BOOL_STRING',
270
+			'BIT_REF',
271
+			'BINARY_TREE',
272
+			'BINARY_SEARCH_TREE_SET',
273
+			'BINARY_SEARCH_TREE',
274
+			'BILINEAR',
275
+			'BI_LINKABLE',
276
+			'BASIC_ROUTINES',
277
+			'BAG',
278
+			'ASCII',
279
+			'ARRAYED_TREE',
280
+			'ARRAYED_STACK',
281
+			'ARRAYED_QUEUE',
282
+			'ARRAYED_LIST_CURSOR',
283
+			'ARRAYED_LIST',
284
+			'ARRAYED_CIRCULAR',
285
+			'ARRAY2',
286
+			'ARRAY',
287
+			'ARGUMENTS',
288
+			'ANY',
289
+			'ACTIVE'
290
+			),
291
+		5 => array(
292
+			'yes',
293
+			'visible',
294
+			'trace',
295
+			'system',
296
+			'root',
297
+			'profile',
298
+			'override_cluster',
299
+			'object',
300
+			'no',
301
+			'multithreaded',
302
+			'msil_generation_type',
303
+			'line_generation',
304
+			'library',
305
+			'inlining_size',
306
+			'inlining',
307
+			'include_path',
308
+			'il_verifiable',
309
+			'exclude',
310
+			'exception_trace',
311
+			'dynamic_runtime',
312
+			'dotnet_naming_convention',
313
+			'disabled_debug',
314
+			'default',
315
+			'debug',
316
+			'dead_code_removal',
317
+			'console_application',
318
+			'cluster',
319
+			'cls_compliant',
320
+			'check_vape',
321
+			'assertion',
322
+			'array_optimization',
323
+			'all',
324
+			'address_expression'
325
+			),
326
+		),
327
+	'SYMBOLS' => array(
328
+		'+', '-', '*', '?', '=', '/', '%', '&', '>', '<', '^', '!', '|', ':',
329
+		'(', ')', '{', '}', '[', ']', '#'
330
+		),
331
+	'CASE_SENSITIVE' => array(
332
+		GESHI_COMMENTS => true,
333
+		1 => false,
334
+		2 => false,
335
+		3 => false,
336
+		4 => true,
337
+		5 => false,
338
+		),
339
+	'STYLES' => array(
340
+		'KEYWORDS' => array(
341
+			1 => 'color: #0600FF; font-weight: bold;',
342
+			2 => 'color: #0600FF; font-weight: bold;',
343
+			3 => 'color: #800080;',
344
+			4 => 'color: #800000',
345
+			5 => 'color: #603000;'
346
+			),
347
+		'COMMENTS' => array(
348
+			1 => 'color: #008000; font-style: italic;',
349
+			'MULTI' => ''
350
+			),
351
+		'ESCAPE_CHAR' => array(
352
+			0 => 'color: #005070; font-weight: bold;'
353
+			),
354
+		'BRACKETS' => array(
355
+			0 => 'color: #FF0000;'
356
+			),
357
+		'STRINGS' => array(
358
+			0 => 'color: #0080A0;'
359
+			),
360
+		'NUMBERS' => array(
361
+			0 => 'color: #FF0000;'
362
+			),
363
+		'METHODS' => array(
364
+			1 => 'color: #000060;',
365
+			2 => 'color: #000050;'
366
+			),
367
+		'SYMBOLS' => array(
368
+			0 => 'color: #600000;'
369
+			),
370
+		'REGEXPS' => array(
371
+			),
372
+		'SCRIPT' => array(
373
+			)
374
+		),
375
+	'URLS' => array(
376
+		1 => '',
377
+		2 => '',
378
+		3 => '',
379
+		4 => 'http://www.google.com/search?q=site%3Ahttp%3A%2F%2Fdocs.eiffel.com%2Feiffelstudio%2Flibraries+{FNAME}&btnI=I%27m+Feeling+Lucky'
380
+		),
381
+	'OOLANG' => true,
382
+	'OBJECT_SPLITTERS' => array(
383
+		1 => '.'
384
+		),
385
+	'REGEXPS' => array(
386
+		),
387
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
388
+	'SCRIPT_DELIMITERS' => array(
389
+		),
390
+	'HIGHLIGHT_STRICT_BLOCK' => array(
391
+		)
392
+);
393
+
394
+?>

+ 156 - 0
plugins/geshi/fortran.php View File

@@ -0,0 +1,156 @@
1
+<?php
2
+/*************************************************************************************
3
+ * fortran.php
4
+ * -----------
5
+ * Author: Cedric Arrabie (cedric.arrabie@univ-pau.fr)
6
+ * Copyright: (C) 2006 Cetric Arrabie
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2006/04/22
9
+ *
10
+ * Fortran language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2006/04/20 (1.0.0)
15
+ *   -  First Release
16
+ *
17
+ * TODO
18
+ * -------------------------
19
+ *  -  Get a list of inbuilt functions to add (and explore fortran more
20
+ *     to complete this rather bare language file)
21
+ *
22
+ *************************************************************************************
23
+ *
24
+ *     This file is part of GeSHi.
25
+ *
26
+ *   GeSHi is free software; you can redistribute it and/or modify
27
+ *   it under the terms of the GNU General Public License as published by
28
+ *   the Free Software Foundation; either version 2 of the License, or
29
+ *   (at your option) any later version.
30
+ *
31
+ *   GeSHi is distributed in the hope that it will be useful,
32
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
33
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34
+ *   GNU General Public License for more details.
35
+ *
36
+ *   You should have received a copy of the GNU General Public License
37
+ *   along with GeSHi; if not, write to the Free Software
38
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
39
+ *
40
+ ************************************************************************************/
41
+
42
+$language_data = array (
43
+	'LANG_NAME'=>'Fortran',
44
+	'COMMENT_SINGLE'=> array(1 =>'!',2=>'Cf2py'),
45
+	'COMMENT_MULTI'=> array(),
46
+	'CASE_KEYWORDS'=> GESHI_CAPS_NO_CHANGE,
47
+	'QUOTEMARKS'=> array("'",'"'),
48
+	'ESCAPE_CHAR'=>'\\',
49
+	'KEYWORDS'=> array(
50
+		1 => array(
51
+			'allocate','block','call','case','contains','continue','cycle','deallocate',
52
+			'default','do','else','elseif','elsewhere','end','enddo','endif','endwhere',
53
+			'entry','exit','function','go','goto','if','interface','module','nullify','only',
54
+			'operator','procedure','program','recursive','return','select','stop',
55
+			'subroutine','then','to','where','while',
56
+            'access','action','advance','blank','blocksize','carriagecontrol',
57
+			'delim','direct','eor','err','exist','file','flen','fmt','form','formatted',
58
+			'iostat','name','named','nextrec','nml','number','opened','pad','position',
59
+			'readwrite','recl','sequential','status','unformatted','unit'
60
+			),
61
+		2 => array(
62
+			'.AND.','.EQ.','.EQV.','.GE.','.GT.','.LE.','.LT.','.NE.','.NEQV.','.NOT.',
63
+			'.OR.','.TRUE.','.FALSE.'
64
+			),
65
+		3 => array(
66
+			'allocatable','character','common','complex','data','dimension','double',
67
+			'equivalence','external','implicit','in','inout','integer','intent','intrinsic',
68
+			'kind','logical','namelist','none','optional','out','parameter','pointer',
69
+			'private','public','real','result','save','sequence','target','type','use'
70
+			),
71
+		4 => array(
72
+			'abs','achar','acos','adjustl','adjustr','aimag','aint','all','allocated',
73
+			'anint','any','asin','atan','atan2','bit_size','break','btest','carg',
74
+			'ceiling','char','cmplx','conjg','cos','cosh','cpu_time','count','cshift',
75
+			'date_and_time','dble','digits','dim','dot_product','dprod dvchk',
76
+			'eoshift','epsilon','error','exp','exponent','floor','flush','fraction',
77
+			'getcl','huge','iachar','iand','ibclr','ibits','ibset','ichar','ieor','index',
78
+			'int','intrup','invalop','ior','iostat_msg','ishft','ishftc','lbound',
79
+			'len','len_trim','lge','lgt','lle','llt','log','log10','matmul','max','maxexponent',
80
+			'maxloc','maxval','merge','min','minexponent','minloc','minval','mod','modulo',
81
+			'mvbits','nbreak','ndperr','ndpexc','nearest','nint','not','offset','ovefl',
82
+			'pack','precfill','precision','present','product','prompt','radix',
83
+			'random_number','random_seed','range','repeat','reshape','rrspacing',
84
+			'scale','scan','segment','selected_int_kind','selected_real_kind',
85
+			'set_exponent','shape','sign','sin','sinh','size','spacing','spread','sqrt',
86
+			'sum system','system_clock','tan','tanh','timer','tiny','transfer','transpose',
87
+			'trim','ubound','undfl','unpack','val','verify'
88
+			),
89
+		),
90
+	'SYMBOLS'=> array(
91
+		'(',')','{','}','[',']','=','+','-','*','/','!','%','^','&',':'
92
+		),
93
+	'CASE_SENSITIVE'=> array(
94
+		GESHI_COMMENTS => true,
95
+		1 => false,
96
+		2 => false,
97
+		3 => false,
98
+		4 => false,
99
+		),
100
+	'STYLES'=> array(
101
+		'KEYWORDS'=> array(
102
+			1 =>'color: #b1b100;',
103
+			2 =>'color: #000000; font-weight: bold;',
104
+			3 =>'color: #000066;',
105
+			4 =>'color: #993333;'
106
+			),
107
+		'COMMENTS'=> array(
108
+			1 =>'color: #808080; font-style: italic;',
109
+			2 =>'color: #339933;',
110
+			'MULTI'=>'color: #808080; font-style: italic;'
111
+			),
112
+		'ESCAPE_CHAR'=> array(
113
+			0 =>'color: #000099; font-weight: bold;'
114
+			),
115
+		'BRACKETS'=> array(
116
+			0 =>'color: #66cc66;'
117
+			),
118
+		'STRINGS'=> array(
119
+			0 =>'color: #ff0000;'
120
+			),
121
+		'NUMBERS'=> array(
122
+			0 =>'color: #cc66cc;'
123
+			),
124
+		'METHODS'=> array(
125
+			1 =>'color: #202020;',
126
+			2 =>'color: #202020;'
127
+			),
128
+		'SYMBOLS'=> array(
129
+			0 =>'color: #66cc66;'
130
+			),
131
+		'REGEXPS'=> array(
132
+			),
133
+		'SCRIPT'=> array(
134
+			)
135
+		),
136
+	'URLS'=> array(
137
+		1 =>'',
138
+		2 =>'',
139
+		3 =>'',
140
+		4 =>''
141
+		),
142
+	'OOLANG'=> true,
143
+	'OBJECT_SPLITTERS'=> array(
144
+		1 =>'.',
145
+		2 =>'::'
146
+		),
147
+	'REGEXPS'=> array(
148
+		),
149
+	'STRICT_MODE_APPLIES'=> GESHI_NEVER,
150
+	'SCRIPT_DELIMITERS'=> array(
151
+		),
152
+	'HIGHLIGHT_STRICT_BLOCK'=> array(
153
+		)
154
+);
155
+
156
+?>

+ 137 - 0
plugins/geshi/freebasic.php View File

@@ -0,0 +1,137 @@
1
+<?php
2
+/*************************************************************************************
3
+ * freebasic.php
4
+ * -------------
5
+ * Author: Roberto Rossi
6
+ * Copyright: (c) 2005 Roberto Rossi (http://rsoftware.altervista.org)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/08/19
9
+ *
10
+ * FreeBasic (http://www.freebasic.net/) language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/08/19 (1.0.0)
15
+ *  -  First Release
16
+ *
17
+ *
18
+ *************************************************************************************
19
+ *
20
+ *     This file is part of GeSHi.
21
+ *
22
+ *   GeSHi is free software; you can redistribute it and/or modify
23
+ *   it under the terms of the GNU General Public License as published by
24
+ *   the Free Software Foundation; either version 2 of the License, or
25
+ *   (at your option) any later version.
26
+ *
27
+ *   GeSHi is distributed in the hope that it will be useful,
28
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
29
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
30
+ *   GNU General Public License for more details.
31
+ *
32
+ *   You should have received a copy of the GNU General Public License
33
+ *   along with GeSHi; if not, write to the Free Software
34
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
35
+ *
36
+ ************************************************************************************/
37
+ $language_data = array (
38
+	'LANG_NAME' => 'FreeBasic',
39
+	'COMMENT_SINGLE' => array(1 => "'", 2 => '#'),
40
+	'COMMENT_MULTI' => array(),
41
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
42
+	'QUOTEMARKS' => array('"'),
43
+	'ESCAPE_CHAR' => '\\',
44
+	'KEYWORDS' => array(
45
+		1 => array(
46
+    "append", "as", "asc", "asin", "asm", "atan2", "atn", "beep", "bin", "binary", "bit",
47
+    "bitreset", "bitset", "bload", "bsave", "byref", "byte", "byval", "call",
48
+    "callocate", "case", "cbyte", "cdbl", "cdecl", "chain", "chdir", "chr", "cint",
49
+    "circle", "clear", "clng", "clngint", "close", "cls", "color", "command",
50
+    "common", "cons", "const", "continue", "cos", "cshort", "csign", "csng",
51
+    "csrlin", "cubyte", "cuint", "culngint", "cunsg", "curdir", "cushort", "custom",
52
+    "cvd", "cvi", "cvl", "cvlongint", "cvs", "cvshort", "data", "date",
53
+    "deallocate", "declare", "defbyte", "defdbl", "defined", "defint", "deflng",
54
+    "deflngint", "defshort", "defsng", "defstr", "defubyte", "defuint",
55
+    "defulngint", "defushort", "dim", "dir", "do", "double", "draw", "dylibload",
56
+    "dylibsymbol", "else", "elseif", "end", "enum", "environ", 'environ$', "eof",
57
+    "eqv", "erase", "err", "error", "exec", "exepath", "exit", "exp", "export",
58
+    "extern", "field", "fix", "flip", "for", "fre", "freefile", "function", "get",
59
+    "getjoystick", "getkey", "getmouse", "gosub", "goto", "hex", "hibyte", "hiword",
60
+    "if", "iif", "imagecreate", "imagedestroy", "imp", "inkey", "inp", "input",
61
+    "instr", "int", "integer", "is", "kill", "lbound", "lcase", "left", "len",
62
+    "let", "lib", "line", "lobyte", "loc", "local", "locate", "lock", "lof", "log",
63
+    "long", "longint", "loop", "loword", "lset", "ltrim", "mid", "mkd", "mkdir",
64
+    "mki", "mkl", "mklongint", "mks", "mkshort", "mod", "multikey", "mutexcreate",
65
+    "mutexdestroy", "mutexlock", "mutexunlock", "name", "next", "not", "oct", "on",
66
+    "once", "open", "option", "or", "out", "output", "overload", "paint", "palette",
67
+    "pascal", "pcopy", "peek", "peeki", "peeks", "pipe", "pmap", "point", "pointer",
68
+    "poke", "pokei", "pokes", "pos", "preserve", "preset", "print", "private",
69
+    "procptr", "pset", "ptr", "public", "put", "random", "randomize", "read",
70
+    "reallocate", "redim", "rem", "reset", "restore", "resume", "resume", "next",
71
+    "return", "rgb", "rgba", "right", "rmdir", "rnd", "rset", "rtrim", "run",
72
+    "sadd", "screen", "screencopy", "screeninfo", "screenlock", "screenptr",
73
+    "screenres", "screenset", "screensync", "screenunlock", "seek", "statement",
74
+    "seek", "function", "selectcase", "setdate", "setenviron", "setmouse",
75
+    "settime", "sgn", "shared", "shell", "shl", "short", "shr", "sin", "single",
76
+    "sizeof", "sleep", "space", "spc", "sqr", "static", "stdcall", "step", "stop",
77
+    "str", "string", "string", "strptr", "sub", "swap", "system", "tab", "tan",
78
+    "then", "threadcreate", "threadwait", "time", "time", "timer", "to", "trans",
79
+    "trim", "type", "ubound", "ubyte", "ucase", "uinteger", "ulongint", "union",
80
+    "unlock", "unsigned", "until", "ushort", "using", "va_arg", "va_first",
81
+    "va_next", "val", "val64", "valint", "varptr", "view", "viewprint", "wait",
82
+    "wend", "while", "width", "window", "windowtitle", "with", "write", "xor",
83
+    "zstring", "explicit", "escape", "true", "false"
84
+      )
85
+		),
86
+	'SYMBOLS' => array(
87
+		'(', ')'
88
+		),
89
+	'CASE_SENSITIVE' => array(
90
+		GESHI_COMMENTS => false,
91
+		1 => false
92
+		),
93
+	'STYLES' => array(
94
+		'KEYWORDS' => array(
95
+			1 => 'color: #b1b100;'
96
+			),
97
+		'COMMENTS' => array(
98
+			1 => 'color: #808080;',
99
+      2 => 'color: #339933;'
100
+			),
101
+		'BRACKETS' => array(
102
+			0 => 'color: #66cc66;'
103
+			),
104
+		'STRINGS' => array(
105
+			0 => 'color: #ff0000;'
106
+			),
107
+		'NUMBERS' => array(
108
+			0 => 'color: #cc66cc;'
109
+			),
110
+		'METHODS' => array(
111
+			0 => 'color: #66cc66;'
112
+			),
113
+		'SYMBOLS' => array(
114
+			0 => 'color: #66cc66;'
115
+			),
116
+		'ESCAPE_CHAR' => array(
117
+			0 => 'color: #000099;'
118
+			),
119
+		'SCRIPT' => array(
120
+			),
121
+		'REGEXPS' => array(
122
+			)
123
+		),
124
+	'OOLANG' => true,
125
+	'OBJECT_SPLITTERS' => array(
126
+		1 => '.'
127
+		),
128
+	'REGEXPS' => array(
129
+		),
130
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
131
+	'SCRIPT_DELIMITERS' => array(
132
+		),
133
+	'HIGHLIGHT_STRICT_BLOCK' => array(
134
+		)
135
+);
136
+
137
+?>

+ 464 - 0
plugins/geshi/genero.php View File

@@ -0,0 +1,464 @@
1
+<?php
2
+/*************************************************************************************
3
+ * genero.php
4
+ * ----------
5
+ * Author: Lars Gersmann (lars.gersmann@gmail.com)
6
+ * Copyright: (c) 2007 Lars Gersmann, Nigel McNie (http://qbnz.com/highlighter/)
7
+ * Release Version: 1.0.7.21
8
+ * CVS Revision Version: $Revision: 1.4 $
9
+ *
10
+ * Genero (FOURJ's Genero 4GL) language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2007/07/01 (1.0.0)
15
+ *  -  Initial release
16
+ *
17
+ *************************************************************************************
18
+ *
19
+ *     This file is part of GeSHi.
20
+ *
21
+ *   GeSHi is free software; you can redistribute it and/or modify
22
+ *   it under the terms of the GNU General Public License as published by
23
+ *   the Free Software Foundation; either version 2 of the License, or
24
+ *   (at your option) any later version.
25
+ *
26
+ *   GeSHi is distributed in the hope that it will be useful,
27
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
28
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
29
+ *   GNU General Public License for more details.
30
+ *
31
+ *   You should have received a copy of the GNU General Public License
32
+ *   along with GeSHi; if not, write to the Free Software
33
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
34
+ *
35
+ ************************************************************************************/
36
+
37
+ $language_data = array (
38
+    'LANG_NAME' => 'genero',
39
+    'COMMENT_SINGLE' => array(1 => '--', 2 => '#'),
40
+    'COMMENT_MULTI' => array('{' => '}'),
41
+    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
42
+    'QUOTEMARKS' => array("'", '"'),
43
+    'ESCAPE_CHAR' => '\\',
44
+    'KEYWORDS' => array(
45
+        1 => array(
46
+          "ABSOLUTE",
47
+            "ACCEPT",
48
+            "ACTION",
49
+            "ADD",
50
+            "AFTER",
51
+            "ALL",
52
+            "ALTER",
53
+            "AND",
54
+            "ANY",
55
+            "APPEND",
56
+            "APPLICATION",
57
+            "AS",
58
+            "AT",
59
+            "ATTRIBUTE",
60
+            "ATTRIBUTES",
61
+            "AUDIT",
62
+            "AVG",
63
+            "BEFORE",
64
+            "BEGIN",
65
+            "BETWEEN",
66
+            "BORDER",
67
+            "BORDER",
68
+            "BOTTOM",
69
+            "BREAKPOINT",
70
+            "BUFFER",
71
+            "BUFFERED",
72
+            "BY",
73
+            "CALL",
74
+            "CANCEL",
75
+            "CASE",
76
+            "CENTURY",
77
+            "CHANGE",
78
+            "CHECK",
79
+            "CLEAR",
80
+            "CLIPPED",
81
+            "CLOSE",
82
+            "CLUSTER",
83
+            "COLUMN",
84
+            "COLUMNS",
85
+            "COMMAND",
86
+            "COMMENT",
87
+            "COMMIT",
88
+            "COMMITTED",
89
+            "CONCURRENT ",
90
+            "CONNECT",
91
+            "CONNECTION",
92
+            "CONSTANT",
93
+            "CONSTRAINED",
94
+            "CONSTRAINT",
95
+            "CONSTRUCT",
96
+            "CONTINUE",
97
+            "CONTROL",
98
+            "COUNT",
99
+            "CREATE",
100
+            "CROSS",
101
+            "CURRENT",
102
+            "DATABASE",
103
+            "DBA",
104
+            "DEC",
105
+            "DECLARE",
106
+            "DEFAULT",
107
+            "DEFAULTS",
108
+            "DEFER",
109
+            "DEFINE",
110
+            "DELETE",
111
+            "DELIMITER",
112
+            "DESCRIBE",
113
+            "DESTINATION",
114
+            "DIM",
115
+            "DIALOG",
116
+            "DIMENSION",
117
+            "DIRTY",
118
+            "DISCONNECT",
119
+            "DISPLAY",
120
+            "DISTINCT",
121
+            "DORMANT",
122
+            "DOWN",
123
+            "DROP",
124
+            "DYNAMIC",
125
+            "ELSE",
126
+            "END",
127
+            "ERROR",
128
+            "ESCAPE",
129
+            "EVERY",
130
+            "EXCLUSIVE",
131
+            "EXECUTE",
132
+            "EXISTS",
133
+            "EXIT",
134
+            "EXPLAIN",
135
+            "EXTEND",
136
+            "EXTENT",
137
+            "EXTERNAL",
138
+            "FETCH",
139
+            "FGL_DRAWBOX",
140
+            "FIELD",
141
+            "FIELD_TOUCHED",
142
+            "FILE",
143
+            "FILL",
144
+            "FINISH",
145
+            "FIRST",
146
+            "FLOAT",
147
+            "FLUSH",
148
+            "FOR",
149
+            "FOREACH",
150
+            "FORM",
151
+            "FORMAT",
152
+            "FOUND",
153
+            "FRACTION",
154
+            "FREE",
155
+            "FROM",
156
+            "FULL",
157
+            "FUNCTION",
158
+            "GET_FLDBUF",
159
+            "GLOBALS",
160
+            "GO",
161
+            "GOTO",
162
+            "GRANT",
163
+            "GROUP",
164
+            "HAVING",
165
+            "HEADER",
166
+            "HELP",
167
+            "HIDE",
168
+            "HOLD",
169
+            "HOUR",
170
+            "IDLE",
171
+            "IF",
172
+            "IMAGE",
173
+            "IMMEDIATE",
174
+            "IN",
175
+            "INDEX",
176
+            "INFIELD",
177
+            "INITIALIZE",
178
+            "INNER",
179
+            "INPUT",
180
+            "INSERT",
181
+            "INTERRUPT",
182
+            "INTERVAL",
183
+            "INTO",
184
+            "INVISIBLE",
185
+            "IS",
186
+            "ISOLATION",
187
+            "JOIN",
188
+            "KEEP",
189
+            "KEY",
190
+            "LABEL",
191
+            "LAST",
192
+            "LEFT",
193
+            "LENGTH",
194
+            "LET",
195
+            "LIKE",
196
+            "LINE",
197
+            "LINENO",
198
+            "LINES",
199
+            "LOAD",
200
+            "LOCATE",
201
+            "LOCK",
202
+            "LOG",
203
+            "LSTR",
204
+            "MAIN",
205
+            "MARGIN",
206
+            "MATCHES",
207
+            "MAX",
208
+            "MAXCOUNT",
209
+            "MDY",
210
+            "MEMORY",
211
+            "MENU",
212
+            "MESSAGE",
213
+            "MIN",
214
+            "MINUTE",
215
+            "MOD",
216
+            "MODE",
217
+            "MODIFY",
218
+            "MONEY",
219
+            "NAME",
220
+            "NEED",
221
+            "NEXT",
222
+            "NO",
223
+            "NORMAL",
224
+            "NOT",
225
+            "NOTFOUND",
226
+            "NULL",
227
+            "NUMERIC",
228
+            "OF",
229
+            "ON",
230
+            "OPEN",
231
+            "OPTION",
232
+            "OPTIONS",
233
+            "OR",
234
+            "ORDER",
235
+            "OTHERWISE",
236
+            "OUTER",
237
+            "OUTPUT",
238
+            "PAGE",
239
+            "PAGENO",
240
+            "PAUSE",
241
+            "PERCENT",
242
+            "PICTURE",
243
+            "PIPE",
244
+            "PRECISION",
245
+            "PREPARE",
246
+            "PREVIOUS",
247
+            "PRINT",
248
+            "PRINTER",
249
+            "PRINTX",
250
+            "PRIOR",
251
+            "PRIVILEGES",
252
+            "PROCEDURE",
253
+            "PROGRAM",
254
+            "PROMPT",
255
+            "PUBLIC",
256
+            "PUT",
257
+            "QUIT",
258
+            "READ",
259
+            "REAL",
260
+            "RECORD",
261
+            "RECOVER",
262
+            "RED ",
263
+            "RELATIVE",
264
+            "RENAME",
265
+            "REOPTIMIZATION",
266
+            "REPEATABLE",
267
+            "REPORT",
268
+            "RESOURCE",
269
+            "RETURN",
270
+            "RETURNING",
271
+            "REVERSE",
272
+            "REVOKE",
273
+            "RIGHT",
274
+            "ROLLBACK",
275
+            "ROLLFORWARD",
276
+            "ROW",
277
+            "ROWS",
278
+            "RUN",
279
+            "SCHEMA",
280
+            "SCREEN",
281
+            "SCROLL",
282
+            "SECOND",
283
+            "SELECT",
284
+            "SERIAL",
285
+            "SET",
286
+            "SFMT",
287
+            "SHARE",
288
+            "SHIFT",
289
+            "SHOW",
290
+            "SIGNAL ",
291
+            "SIZE",
292
+            "SKIP",
293
+            "SLEEP",
294
+            "SOME",
295
+            "SPACE",
296
+            "SPACES",
297
+            "SQL",
298
+            "SQLERRMESSAGE",
299
+            "SQLERROR",
300
+            "SQLSTATE",
301
+            "STABILITY",
302
+            "START",
303
+            "STATISTICS",
304
+            "STEP",
305
+            "STOP",
306
+            "STYLE",
307
+            "SUM",
308
+            "SYNONYM",
309
+            "TABLE",
310
+            "TEMP",
311
+            "TERMINATE",
312
+            "TEXT",
313
+            "THEN",
314
+            "THROUGH",
315
+            "THRU",
316
+            "TO",
317
+            "TODAY",
318
+            "TOP",
319
+            "TRAILER",
320
+            "TRANSACTION ",
321
+            "UNBUFFERED",
322
+            "UNCONSTRAINED",
323
+            "UNDERLINE",
324
+            "UNION",
325
+            "UNIQUE",
326
+            "UNITS",
327
+            "UNLOAD",
328
+            "UNLOCK",
329
+            "UP",
330
+            "UPDATE",
331
+            "USE",
332
+            "USER",
333
+            "USING",
334
+            "VALIDATE",
335
+            "VALUE",
336
+            "VALUES",
337
+            "VARCHAR",
338
+            "VIEW",
339
+            "WAIT",
340
+            "WAITING",
341
+            "WARNING",
342
+            "WHEN",
343
+            "WHENEVER",
344
+            "WHERE",
345
+            "WHILE",
346
+            "WINDOW",
347
+            "WITH",
348
+            "WITHOUT",
349
+            "WORDWRAP",
350
+            "WORK",
351
+            "WRAP"
352
+            ),
353
+        2 => array(
354
+            '&AMP;IFDEF', '&AMP;ENDIF'
355
+            ),
356
+        3 => array(
357
+            "ARRAY",
358
+            "BYTE",
359
+            "CHAR",
360
+            "CHARACTER",
361
+            "CURSOR",
362
+            "DATE",
363
+            "DATETIME",
364
+            "DECIMAL",
365
+            "DOUBLE",
366
+            "FALSE",
367
+            "INT",
368
+            "INTEGER",
369
+            "SMALLFLOAT",
370
+            "SMALLINT",
371
+            "STRING",
372
+            "TIME",
373
+            "TRUE"
374
+            ),
375
+        4 => array(
376
+            "BLACK",
377
+            "BLINK",
378
+            "BLUE",
379
+            "BOLD",
380
+            "ANSI",
381
+            "ASC",
382
+            "ASCENDING",
383
+            "ASCII",
384
+            "CYAN",
385
+            "DESC",
386
+            "DESCENDING",
387
+            "GREEN",
388
+            "MAGENTA",
389
+            "OFF",
390
+            "WHITE",
391
+            "YELLOW",
392
+            "YEAR",
393
+            "DAY",
394
+            "MONTH",
395
+            "WEEKDAY"
396
+            ),
397
+        ),
398
+    'SYMBOLS' => array(
399
+        '+', '-', '*', '?', '=', '/', '%', '>', '<', '^', '!', '|', ':',
400
+        '(', ')', '[', ']'
401
+        ),
402
+    'CASE_SENSITIVE' => array(
403
+        GESHI_COMMENTS => true,
404
+        1 => false,
405
+        2 => false,
406
+        3 => false,
407
+        4 => false,
408
+        ),
409
+    'STYLES' => array(
410
+        'KEYWORDS' => array(
411
+            1 => 'color: #0600FF;',
412
+            2 => 'color: #0000FF; font-weight: bold;',
413
+            3 => 'color: #008000;',
414
+            4 => 'color: #FF0000;',
415
+            ),
416
+        'COMMENTS' => array(
417
+            1 => 'color: #008080; font-style: italic;',
418
+            2 => 'color: #008080;',
419
+            'MULTI' => 'color: #008080; font-style: italic;'
420
+            ),
421
+        'ESCAPE_CHAR' => array(
422
+            0 => 'color: #008080; font-weight: bold;'
423
+            ),
424
+        'BRACKETS' => array(
425
+            0 => 'color: #000000;'
426
+            ),
427
+        'STRINGS' => array(
428
+            0 => 'color: #808080;'
429
+            ),
430
+        'NUMBERS' => array(
431
+            0 => 'color: #FF0000;'
432
+            ),
433
+        'METHODS' => array(
434
+            1 => 'color: #0000FF;',
435
+            2 => 'color: #0000FF;'
436
+            ),
437
+        'SYMBOLS' => array(
438
+            0 => 'color: #008000;'
439
+            ),
440
+        'REGEXPS' => array(
441
+            ),
442
+        'SCRIPT' => array(
443
+            )
444
+        ),
445
+    'URLS' => array(
446
+        1 => '',
447
+        2 => '',
448
+        3 => '',
449
+        4 => ''
450
+        ),
451
+    'OOLANG' => true,
452
+    'OBJECT_SPLITTERS' => array(
453
+        1 => '.'
454
+        ),
455
+    'REGEXPS' => array(
456
+        ),
457
+    'STRICT_MODE_APPLIES' => GESHI_NEVER,
458
+    'SCRIPT_DELIMITERS' => array(
459
+        ),
460
+    'HIGHLIGHT_STRICT_BLOCK' => array(
461
+        )
462
+);
463
+
464
+?>

File diff suppressed because it is too large
+ 3099 - 0
plugins/geshi/geshi.php


+ 502 - 0
plugins/geshi/gml.php View File

@@ -0,0 +1,502 @@
1
+<?php
2
+/*************************************************************************************
3
+ * gml.php
4
+ * --------
5
+ * Author: José Jorge Enríquez (jenriquez@users.sourceforge.net)
6
+ * Copyright: (c) 2005 José Jorge Enríquez Rodríguez (http://www.zonamakers.com)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/06/21
9
+ *
10
+ * GML language file for GeSHi.
11
+ *
12
+ * GML (Game Maker Language) is a script language that is built-in into Game Maker,
13
+ * a game creation program, more info about Game Maker can be found at
14
+ * http://www.gamemaker.nl/
15
+ * All GML keywords were extracted from the Game Maker HTML Help file using a PHP
16
+ * script (one section at a time). I love PHP for saving me that bunch of work :P!.
17
+ * I think all GML functions have been indexed here, but I'm not sure about it, so
18
+ * please let me know of any issue you may find.
19
+ *
20
+ * CHANGES
21
+ * -------
22
+ * 2005/11/11
23
+ *  -  Changed 'CASE_KEYWORDS' fom 'GESHI_CAPS_LOWER' to 'GESHI_CAPS_NO_CHANGE',
24
+ *     so that MCI_command appears correctly (the only GML function using capitals).
25
+ *  -  Changed 'CASE_SENSITIVE' options, 'GESHI_COMMENTS' from true to false and all
26
+ *     of the others from false to true.
27
+ *  -  Deleted repeated entries.
28
+ *  -  div and mod are language keywords, moved (from symbols) to the appropiate section (1).
29
+ *  -  Moved self, other, all, noone and global identifiers to language keywords section 1.
30
+ *  -  Edited this file lines to a maximum width of 100 characters (as stated in
31
+ *     the GeSHi docs). Well, not strictly to 100 but around it.
32
+ *  -  Corrected some minor issues (the vk_f1...vk_f12 keys and similar).
33
+ *  -  Deleted the KEYWORDS=>5 and KEYWORDS=>6 sections (actually, they were empty).
34
+ *     I was planning of using those for the GML functions available only in the
35
+ *     registered version of the program, but not anymore.
36
+ *
37
+ * 2005/06/26 (1.0.3)
38
+ *  -  First Release.
39
+ *
40
+ * TODO (updated 2005/11/11)
41
+ * -------------------------
42
+ *  -  Test it for a while and make the appropiate corrections.
43
+ *
44
+ *************************************************************************************
45
+ *
46
+ *     This file is part of GeSHi.
47
+ *
48
+ *   GeSHi is free software; you can redistribute it and/or modify
49
+ *   it under the terms of the GNU General Public License as published by
50
+ *   the Free Software Foundation; either version 2 of the License, or
51
+ *   (at your option) any later version.
52
+ *
53
+ *   GeSHi is distributed in the hope that it will be useful,
54
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
55
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
56
+ *   GNU General Public License for more details.
57
+ *
58
+ *   You should have received a copy of the GNU General Public License
59
+ *   along with GeSHi; if not, write to the Free Software
60
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
61
+ *
62
+ ************************************************************************************/
63
+
64
+$language_data = array (
65
+	'LANG_NAME' => 'GML',
66
+	'COMMENT_SINGLE' => array(1 => '//'),
67
+	'COMMENT_MULTI' => array('/*' => '*/'),
68
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
69
+	'QUOTEMARKS' => array("'"),
70
+	'ESCAPE_CHAR' => '\\',
71
+	'KEYWORDS' => array(
72
+		// language keywords
73
+		1 => array(
74
+			'break', 'continue', 'do', 'until', 'if', 'else',
75
+			'exit', 'for', 'for', 'repeat', 'return', 'switch',
76
+			'case', 'default', 'var', 'while', 'with', 'div', 'mod',
77
+			// GML Language overview
78
+			'self', 'other', 'all', 'noone', 'global',
79
+			),
80
+		// modifiers and built-in variables
81
+		2 => array(
82
+			// Game play
83
+			'x','y','xprevious','yprevious','xstart','ystart','hspeed','vspeed','direction','speed',
84
+			'friction','gravity','gravity_direction',
85
+			'path_index','path_position','path_positionprevious','path_speed','path_orientation',
86
+			'path_scale','path_endaction',
87
+			'object_index','id','mask_index','solid','persistent','instance_count','instance_id',
88
+			'room_speed','fps','current_time','current_year','current_month','current_day','current_weekday',
89
+			'current_hour','current_minute','current_second','alarm','timeline_index','timeline_position',
90
+			'timeline_speed',
91
+			'room','room_first','room_last','room_width','room_height','room_caption','room_persistent',
92
+			'score','lives','health','show_score','show_lives','show_health','caption_score','caption_lives',
93
+			'caption_health',
94
+			'event_type','event_number','event_object','event_action',
95
+			'error_occurred','error_last',
96
+			// User interaction
97
+			'keyboard_lastkey','keyboard_key','keyboard_lastchar','keyboard_string',
98
+			'mouse_x','mouse_y','mouse_button','mouse_lastbutton',
99
+			// Game Graphics
100
+			'visible','sprite_index','sprite_width','sprite_height','sprite_xoffset','sprite_yoffset',
101
+			'image_number','image_index','image_speed','depth','image_xscale','image_yscale','image_angle',
102
+			'image_alpha','image_blend','bbox_left','bbox_right','bbox_top','bbox_bottom',
103
+			'background_color','background_showcolor','background_visible','background_foreground',
104
+			'background_index','background_x','background_y','background_width','background_height',
105
+			'background_htiled','background_vtiled','background_xscale','background_yscale',
106
+			'background_hspeed','background_vspeed','background_blend','background_alpha',
107
+			'background','left, top, width, height','x,y','depth','visible','xscale, yscale','blend','alpha',
108
+			'view_enabled','view_current','view_visible','view_yview','view_wview','view_hview','view_xport',
109
+			'view_yport','view_wport','view_hport','view_angle','view_hborder','view_vborder','view_hspeed',
110
+			'view_vspeed','view_object',
111
+			'transition_kind',
112
+			// Files, registry and executing programs
113
+			'game_id','working_directory','temp_directory',
114
+			'secure_mode',
115
+			// Creating particles
116
+			'xmin', 'xmax', 'ymin', 'ymax','shape','distribution','particle type','number',
117
+			'x', 'y', 'force','dist','kind','additive', 'friction', 'parttype1', 'parttype2'
118
+			),
119
+		// functions
120
+		3 => array(
121
+			// Computing things
122
+			'random','choose','abs','sign','round','floor','ceil','frac','sqrt','sqr','power','exp','ln',
123
+			'log2','log10','logn','sin','cos','tan','arcsin','arccos','arctan','arctan2','degtorad',
124
+			'radtodeg','min','max','mean','median','point_distance','point_direction','lengthdir_x',
125
+			'lengthdir_y','is_real','is_string',
126
+			'chr','ord','real','string','string_format','string_length','string_pos','string_copy',
127
+			'string_char_at','string_delete','string_insert','string_replace','string_replace_all',
128
+			'string_count','string_lower','string_upper','string_repeat','string_letters','string_digits',
129
+			'string_lettersdigits','clipboard_has_text','clipboard_get_text','clipboard_set_text',
130
+			'date_current_datetime','date_current_date','date_current_time','date_create_datetime',
131
+			'date_create_date','date_create_time','date_valid_datetime','date_valid_date','date_valid_time',
132
+			'date_inc_year','date_inc_month','date_inc_week','date_inc_day','date_inc_hour',
133
+			'date_inc_minute','date_inc_second','date_get_year','date_get_month','date_get_week',
134
+			'date_get_day','date_get_hour', 'date_get_minute','date_get_second','date_get_weekday',
135
+			'date_get_day_of_year','date_get_hour_of_year','date_get_minute_of_year',
136
+			'date_get_second_of_year','date_year_span','date_month_span','date_week_span','date_day_span',
137
+			'date_hour_span','date_minute_span','date_second_span','date_compare_datetime',
138
+			'date_compare_date','date_compare_time','date_date_of','date_time_of','date_datetime_string',
139
+			'date_date_string','date_time_string','date_days_in_month','date_days_in_year','date_leap_year',
140
+			'date_is_today',
141
+			// Game play
142
+			'motion_set','motion_add','place_free','place_empty','place_meeting','place_snapped',
143
+			'move_random','move_snap','move_wrap','move_towards_point','move_bounce_solid','move_bounce_all',
144
+			'move_contact_solid','move_contact_all','move_outside_solid','move_outside_all',
145
+			'distance_to_point','distance_to_object','position_empty','position_meeting',
146
+			'path_start','path_end',
147
+			'mp_linear_step','mp_linear_step_object','mp_potential_step','mp_potential_step_object',
148
+			'mp_potential_settings','mp_linear_path','mp_linear_path_object', 'mp_potential_path',
149
+			'mp_potential_path_object','mp_grid_create','mp_grid_destroy','mp_grid_clear_all',
150
+			'mp_grid_clear_cell','mp_grid_clear_rectangle','mp_grid_add_cell','mp_grid_add_rectangle',
151
+			'mp_grid_add_instances','mp_grid_path','mp_grid_draw',
152
+			'collision_point','collision_rectangle','collision_circle','collision_ellipse','collision_line',
153
+			'instance_find','instance_exists','instance_number','instance_position','instance_nearest',
154
+			'instance_furthest','instance_place','instance_create','instance_copy','instance_destroy',
155
+			'instance_change','position_destroy','position_change',
156
+			'instance_deactivate_all','instance_deactivate_object','instance_deactivate_region',
157
+			'instance_activate_all','instance_activate_object','instance_activate_region',
158
+			'sleep',
159
+			'room_goto','room_goto_previous','room_goto_next','room_restart','room_previous','room_next',
160
+			'game_end','game_restart','game_save','game_load',
161
+			'event_perform', 'event_perform_object','event_user','event_inherited',
162
+			'show_debug_message','variable_global_exists','variable_local_exists','variable_global_get',
163
+			'variable_global_array_get','variable_global_array2_get','variable_local_get',
164
+			'variable_local_array_get','variable_local_array2_get','variable_global_set',
165
+			'variable_global_array_set','variable_global_array2_set','variable_local_set',
166
+			'variable_local_array_set','variable_local_array2_set','set_program_priority',
167
+			// User interaction
168
+			'keyboard_set_map','keyboard_get_map','keyboard_unset_map','keyboard_check',
169
+			'keyboard_check_pressed','keyboard_check_released','keyboard_check_direct',
170
+			'keyboard_get_numlock','keyboard_set_numlock','keyboard_key_press','keyboard_key_release',
171
+			'keyboard_clear','io_clear','io_handle','keyboard_wait',
172
+			'mouse_check_button','mouse_check_button_pressed','mouse_check_button_released','mouse_clear',
173
+			'io_clear','io_handle','mouse_wait',
174
+			'joystick_exists','joystick_name','joystick_axes','joystick_buttons','joystick_has_pov',
175
+			'joystick_direction','joystick_check_button','joystick_xpos','joystick_ypos','joystick_zpos',
176
+			'joystick_rpos','joystick_upos','joystick_vpos','joystick_pov',
177
+			// Game Graphics
178
+			'draw_sprite','draw_sprite_stretched','draw_sprite_tiled','draw_sprite_part','draw_background',
179
+			'draw_background_stretched','draw_background_tiled','draw_background_part','draw_sprite_ext',
180
+			'draw_sprite_stretched_ext','draw_sprite_tiled_ext','draw_sprite_part_ext','draw_sprite_general',
181
+			'draw_background_ext','draw_background_stretched_ext','draw_background_tiled_ext',
182
+			'draw_background_part_ext','draw_background_general',
183
+			'draw_clear','draw_clear_alpha','draw_point','draw_line','draw_rectangle','draw_roundrect',
184
+			'draw_triangle','draw_circle','draw_ellipse','draw_arrow','draw_button','draw_path',
185
+			'draw_healthbar','draw_set_color','draw_set_alpha','draw_get_color','draw_get_alpha',
186
+			'make_color_rgb','make_color_hsv','color_get_red','color_get_green','color_get_blue',
187
+			'color_get_hue','color_get_saturation','color_get_value','merge_color','draw_getpixel',
188
+			'screen_save','screen_save_part',
189
+			'draw_set_font','draw_set_halign','draw_set_valign','draw_text','draw_text_ext','string_width',
190
+			'string_height','string_width_ext','string_height_ext','draw_text_transformed',
191
+			'draw_text_ext_transformed','draw_text_color','draw_text_ext_color',
192
+			'draw_text_transformed_color','draw_text_ext_transformed_color',
193
+			'draw_point_color','draw_line_color','draw_rectangle_color','draw_roundrect_color',
194
+			'draw_triangle_color','draw_circle_color','draw_ellipse_color','draw_primitive_begin',
195
+			'draw_vertex','draw_vertex_color','draw_primitive_end','sprite_get_texture',
196
+			'background_get_texture','texture_preload','texture_set_priority',
197
+			'texture_get_width','texture_get_height','draw_primitive_begin_texture','draw_vertex_texture',
198
+			'draw_vertex_texture_color','draw_primitive_end','texture_set_interpolation',
199
+			'texture_set_blending','texture_set_repeat','draw_set_blend_mode','draw_set_blend_mode_ext',
200
+			'surface_create','surface_free','surface_exists','surface_get_width','surface_get_height',
201
+			'surface_get_texture','surface_set_target','surface_reset_target','surface_getpixel',
202
+			'surface_save','surface_save_part','draw_surface','draw_surface_stretched','draw_surface_tiled',
203
+			'draw_surface_part','draw_surface_ext','draw_surface_stretched_ext','draw_surface_tiled_ext',
204
+			'draw_surface_part_ext','draw_surface_general','surface_copy','surface_copy_part',
205
+			'tile_add','tile_delete','tile_exists','tile_get_x','tile_get_y','tile_get_left','tile_get_top',
206
+			'tile_get_width','tile_get_height','tile_get_depth','tile_get_visible','tile_get_xscale',
207
+			'tile_get_yscale','tile_get_background','tile_get_blend','tile_get_alpha','tile_set_position',
208
+			'tile_set_region','tile_set_background','tile_set_visible','tile_set_depth','tile_set_scale',
209
+			'tile_set_blend','tile_set_alpha','tile_layer_hide','tile_layer_show','tile_layer_delete',
210
+			'tile_layer_shift','tile_layer_find','tile_layer_delete_at','tile_layer_depth',
211
+			'display_get_width','display_get_height','display_get_colordepth','display_get_frequency',
212
+			'display_set_size','display_set_colordepth','display_set_frequency','display_set_all',
213
+			'display_test_all','display_reset','display_mouse_get_x','display_mouse_get_y','display_mouse_set',
214
+			'window_set_visible','window_get_visible','window_set_fullscreen','window_get_fullscreen',
215
+			'window_set_showborder','window_get_showborder','window_set_showicons','window_get_showicons',
216
+			'window_set_stayontop','window_get_stayontop','window_set_sizeable','window_get_sizeable',
217
+			'window_set_caption','window_get_caption','window_set_cursor', 'window_get_cursor',
218
+			'window_set_color','window_get_color','window_set_region_scale','window_get_region_scale',
219
+			'window_set_position','window_set_size','window_set_rectangle','window_center','window_default',
220
+			'window_get_x','window_get_y','window_get_width','window_get_height','window_mouse_get_x',
221
+			'window_mouse_get_y','window_mouse_set',
222
+			'window_set_region_size','window_get_region_width','window_get_region_height',
223
+			'window_view_mouse_get_x','window_view_mouse_get_y','window_view_mouse_set',
224
+			'window_views_mouse_get_x','window_views_mouse_get_y','window_views_mouse_set',
225
+			'screen_redraw','screen_refresh','set_automatic_draw','set_synchronization','screen_wait_vsync',
226
+			// Sound and music)
227
+			'sound_play','sound_loop','sound_stop','sound_stop_all','sound_isplaying','sound_volume',
228
+			'sound_global_volume','sound_fade','sound_pan','sound_background_tempo','sound_set_search_directory',
229
+			'sound_effect_set','sound_effect_chorus','sound_effect_echo',	'sound_effect_flanger',
230
+			'sound_effect_gargle','sound_effect_reverb','sound_effect_compressor','sound_effect_equalizer',
231
+			'sound_3d_set_sound_position','sound_3d_set_sound_velocity','sound_3d_set_sound_distance',
232
+			'sound_3d_set_sound_cone',
233
+			'cd_init','cd_present','cd_number','cd_playing','cd_paused','cd_track','cd_length',
234
+			'cd_track_length','cd_position','cd_track_position','cd_play','cd_stop','cd_pause','cd_resume',
235
+			'cd_set_position','cd_set_track_position','cd_open_door','cd_close_door','MCI_command',
236
+			// Splash screens, highscores, and other pop-ups
237
+			'show_text','show_image','show_video','show_info','load_info',
238
+			'show_message','show_message_ext','show_question','get_integer','get_string',
239
+			'message_background','message_alpha','message_button','message_text_font','message_button_font',
240
+			'message_input_font','message_mouse_color','message_input_color','message_caption',
241
+			'message_position','message_size','show_menu','show_menu_pos','get_color','get_open_filename',
242
+			'get_save_filename','get_directory','get_directory_alt','show_error',
243
+			'highscore_show','highscore_set_background','highscore_set_border','highscore_set_font',
244
+			'highscore_set_colors','highscore_set_strings','highscore_show_ext','highscore_clear',
245
+			'highscore_add','highscore_add_current','highscore_value','highscore_name','draw_highscore',
246
+			// Resources
247
+			'sprite_exists','sprite_get_name','sprite_get_number','sprite_get_width','sprite_get_height',
248
+			'sprite_get_transparent','sprite_get_smooth','sprite_get_preload','sprite_get_xoffset',
249
+			'sprite_get_yoffset','sprite_get_bbox_left','sprite_get_bbox_right','sprite_get_bbox_top',
250
+			'sprite_get_bbox_bottom','sprite_get_bbox_mode','sprite_get_precise',
251
+			'sound_exists','sound_get_name','sound_get_kind','sound_get_preload','sound_discard',
252
+			'sound_restore',
253
+			'background_exists','background_get_name','background_get_width','background_get_height',
254
+			'background_get_transparent','background_get_smooth','background_get_preload',
255
+			'font_exists','font_get_name','font_get_fontname','font_get_bold','font_get_italic',
256
+			'font_get_first','font_get_last',
257
+			'path_exists','path_get_name','path_get_length','path_get_kind','path_get_closed',
258
+			'path_get_precision','path_get_number','path_get_point_x','path_get_point_y',
259
+			'path_get_point_speed','path_get_x','path_get_y','path_get_speed',
260
+			'script_exists','script_get_name','script_get_text',
261
+			'timeline_exists','timeline_get_name',
262
+			'object_exists','object_get_name','object_get_sprite','object_get_solid','object_get_visible',
263
+			'object_get_depth','object_get_persistent','object_get_mask','object_get_parent',
264
+			'object_is_ancestor',
265
+			'room_exists','room_get_name',
266
+			// Changing resources
267
+			'sprite_set_offset','sprite_set_bbox_mode','sprite_set_bbox','sprite_set_precise',
268
+			'sprite_duplicate','sprite_assign','sprite_merge','sprite_add','sprite_replace',
269
+			'sprite_create_from_screen','sprite_add_from_screen','sprite_create_from_surface',
270
+			'sprite_add_from_surface','sprite_delete','sprite_set_alpha_from_sprite',
271
+			'sound_add','sound_replace','sound_delete',
272
+			'background_duplicate','background_assign','background_add','background_replace',
273
+			'background_create_color','background_create_gradient','background_create_from_screen',
274
+			'background_create_from_surface','background_delete','background_set_alpha_from_background',
275
+			'font_add','font_add_sprite','font_replace_sprite','font_delete',
276
+			'path_set_kind','path_set_closed','path_set_precision','path_add','path_delete','path_duplicate',
277
+			'path_assign','path_append','path_add_point','path_insert_point','path_change_point',
278
+			'path_delete_point','path_clear_points','path_reverse','path_mirror','path_flip','path_rotate',
279
+			'path_scale','path_shift',
280
+			'execute_string','execute_file','script_execute',
281
+			'timeline_add','timeline_delete','timeline_moment_add','timeline_moment_clear',
282
+			'object_set_sprite','object_set_solid','object_set_visible','object_set_depth',
283
+			'object_set_persistent','object_set_mask','object_set_parent','object_add','object_delete',
284
+			'object_event_add','object_event_clear',
285
+			'room_set_width','room_set_height','room_set_caption','room_set_persistent','room_set_code',
286
+			'room_set_background_color','room_set_background','room_set_view','room_set_view_enabled',
287
+			'room_add','room_duplicate','room_assign','room_instance_add','room_instance_clear',
288
+			'room_tile_add','room_tile_add_ext','room_tile_clear',
289
+			// Files, registry and executing programs
290
+			'file_text_open_read','file_text_open_write','file_text_open_append','file_text_close',
291
+			'file_text_write_string','file_text_write_real','file_text_writeln','file_text_read_string',
292
+			'file_text_read_real','file_text_readln','file_text_eof','file_exists','file_delete',
293
+			'file_rename','file_copy','directory_exists','directory_create','file_find_first',
294
+			'file_find_next','file_find_close','file_attributes', 'filename_name','filename_path',
295
+			'filename_dir','filename_drive','filename_ext','filename_change_ext','file_bin_open',
296
+			'file_bin_rewrite','file_bin_close','file_bin_size','file_bin_position','file_bin_seek',
297
+			'file_bin_write_byte','file_bin_read_byte','parameter_count','parameter_string',
298
+			'environment_get_variable',
299
+			'registry_write_string','registry_write_real','registry_read_string','registry_read_real',
300
+			'registry_exists','registry_write_string_ext','registry_write_real_ext',
301
+			'registry_read_string_ext','registry_read_real_ext','registry_exists_ext','registry_set_root',
302
+			'ini_open','ini_close','ini_read_string','ini_read_real','ini_write_string','ini_write_real',
303
+			'ini_key_exists','ini_section_exists','ini_key_delete','ini_section_delete',
304
+			'execute_program','execute_shell',
305
+			// Data structures
306
+			'ds_stack_create','ds_stack_destroy','ds_stack_clear','ds_stack_size','ds_stack_empty',
307
+			'ds_stack_push','ds_stack_pop','ds_stack_top',
308
+			'ds_queue_create','ds_queue_destroy','ds_queue_clear','ds_queue_size','ds_queue_empty',
309
+			'ds_queue_enqueue','ds_queue_dequeue','ds_queue_head','ds_queue_tail',
310
+			'ds_list_create','ds_list_destroy','ds_list_clear','ds_list_size','ds_list_empty','ds_list_add',
311
+			'ds_list_insert','ds_list_replace','ds_list_delete','ds_list_find_index','ds_list_find_value',
312
+			'ds_list_sort',
313
+			'ds_map_create','ds_map_destroy','ds_map_clear','ds_map_size','ds_map_empty','ds_map_add',
314
+			'ds_map_replace','ds_map_delete','ds_map_exists','ds_map_find_value','ds_map_find_previous',
315
+			'ds_map_find_next','ds_map_find_first','ds_map_find_last',
316
+			'ds_priority_create','ds_priority_destroy','ds_priority_clear','ds_priority_size',
317
+			'ds_priority_empty','ds_priority_add','ds_priority_change_priority','ds_priority_find_priority',
318
+			'ds_priority_delete_value','ds_priority_delete_min','ds_priority_find_min',
319
+			'ds_priority_delete_max','ds_priority_find_max',
320
+			'ds_grid_create','ds_grid_destroy','ds_grid_resize','ds_grid_width','ds_grid_height',
321
+			'ds_grid_clear','ds_grid_set','ds_grid_add','ds_grid_multiply','ds_grid_set_region',
322
+			'ds_grid_add_region','ds_grid_multiply_region','ds_grid_set_disk','ds_grid_add_disk',
323
+			'ds_grid_multiply_disk','ds_grid_get','ds_grid_get_sum','ds_grid_get_max','ds_grid_get_min',
324
+			'ds_grid_get_mean','ds_grid_get_disk_sum','ds_grid_get_disk_min','ds_grid_get_disk_max',
325
+			'ds_grid_get_disk_mean','ds_grid_value_exists','ds_grid_value_x','ds_grid_value_y',
326
+			'ds_grid_value_disk_exists','ds_grid_value_disk_x','ds_grid_value_disk_y',
327
+			// Creating particles
328
+			'effect_create_below','effect_create_above','effect_clear',
329
+			'part_type_create','part_type_destroy','part_type_exists','part_type_clear','part_type_shape',
330
+			'part_type_sprite','part_type_size','part_type_scale',
331
+			'part_type_orientation','part_type_color1','part_type_color2','part_type_color3',
332
+			'part_type_color_mix','part_type_color_rgb','part_type_color_hsv',
333
+			'part_type_alpha1','part_type_alpha2','part_type_alpha3','part_type_blend','part_type_life',
334
+			'part_type_step','part_type_death','part_type_speed','part_type_direction','part_type_gravity',
335
+			'part_system_create','part_system_destroy','part_system_exists','part_system_clear',
336
+			'part_system_draw_order','part_system_depth','part_system_position',
337
+			'part_system_automatic_update','part_system_automatic_draw','part_system_update',
338
+			'part_system_drawit','part_particles_create','part_particles_create_color',
339
+			'part_particles_clear','part_particles_count',
340
+			'part_emitter_create','part_emitter_destroy','part_emitter_destroy_all','part_emitter_exists',
341
+			'part_emitter_clear','part_emitter_region','part_emitter_burst','part_emitter_stream',
342
+			'part_attractor_create','part_attractor_destroy','part_attractor_destroy_all',
343
+			'part_attractor_exists','part_attractor_clear','part_attractor_position','part_attractor_force',
344
+			'part_destroyer_create','part_destroyer_destroy','part_destroyer_destroy_all',
345
+			'part_destroyer_exists','part_destroyer_clear','part_destroyer_region',
346
+			'part_deflector_create','part_deflector_destroy','part_deflector_destroy_all',
347
+			'part_deflector_exists','part_deflector_clear','part_deflector_region','part_deflector_kind',
348
+			'part_deflector_friction',
349
+			'part_changer_create','part_changer_destroy','part_changer_destroy_all','part_changer_exists',
350
+			'part_changer_clear','part_changer_region','part_changer_types','part_changer_kind',
351
+			// Multiplayer games
352
+			'mplay_init_ipx','mplay_init_tcpip','mplay_init_modem','mplay_init_serial',
353
+			'mplay_connect_status','mplay_end','mplay_ipaddress',
354
+			'mplay_session_create','mplay_session_find','mplay_session_name','mplay_session_join',
355
+			'mplay_session_mode','mplay_session_status','mplay_session_end',
356
+			'mplay_player_find','mplay_player_name','mplay_player_id',
357
+			'mplay_data_write','mplay_data_read','mplay_data_mode',
358
+			'mplay_message_send','mplay_message_send_guaranteed','mplay_message_receive','mplay_message_id',
359
+			'mplay_message_value','mplay_message_player','mplay_message_name','mplay_message_count',
360
+			'mplay_message_clear',
361
+			// Using DLL's
362
+			'external_define','external_call','external_free','execute_string','execute_file','window_handle',
363
+			// 3D Graphics
364
+			'd3d_start','d3d_end','d3d_set_hidden','d3d_set_perspective',
365
+			'd3d_set_depth',
366
+			'd3d_primitive_begin','d3d_vertex','d3d_vertex_color','d3d_primitive_end',
367
+			'd3d_primitive_begin_texture','d3d_vertex_texture','d3d_vertex_texture_color','d3d_set_culling',
368
+			'd3d_draw_block','d3d_draw_cylinder','d3d_draw_cone','d3d_draw_ellipsoid','d3d_draw_wall',
369
+			'd3d_draw_floor',
370
+			'd3d_set_projection','d3d_set_projection_ext','d3d_set_projection_ortho',
371
+			'd3d_set_projection_perspective',
372
+			'd3d_transform_set_identity','d3d_transform_set_translation','d3d_transform_set_scaling',
373
+			'd3d_transform_set_rotation_x','d3d_transform_set_rotation_y','d3d_transform_set_rotation_z',
374
+			'd3d_transform_set_rotation_axis','d3d_transform_add_translation','d3d_transform_add_scaling',
375
+			'd3d_transform_add_rotation_x','d3d_transform_add_rotation_y','d3d_transform_add_rotation_z',
376
+			'd3d_transform_add_rotation_axis','d3d_transform_stack_clear','d3d_transform_stack_empty',
377
+			'd3d_transform_stack_push','d3d_transform_stack_pop','d3d_transform_stack_top',
378
+			'd3d_transform_stack_discard',
379
+			'd3d_set_fog',
380
+			'd3d_set_lighting','d3d_set_shading','d3d_light_define_direction','d3d_light_define_point',
381
+			'd3d_light_enable','d3d_vertex_normal','d3d_vertex_normal_color','d3d_vertex_normal_texture',
382
+			'd3d_vertex_normal_texture_color',
383
+			'd3d_model_create','d3d_model_destroy','d3d_model_clear','d3d_model_save','d3d_model_load',
384
+			'd3d_model_draw','d3d_model_primitive_begin','d3d_model_vertex','d3d_model_vertex_color',
385
+			'd3d_model_vertex_texture','d3d_model_vertex_texture_color','d3d_model_vertex_normal',
386
+			'd3d_model_vertex_normal_color','d3d_model_vertex_normal_texture',
387
+			'd3d_model_vertex_normal_texture_color','d3d_model_primitive_end','d3d_model_block',
388
+			'd3d_model_cylinder','d3d_model_cone','d3d_model_ellipsoid','d3d_model_wall','d3d_model_floor'
389
+			),
390
+		// constants
391
+		4 => array(
392
+			'true', 'false', 'pi',
393
+			'ev_destroy','ev_step','ev_alarm','ev_keyboard','ev_mouse','ev_collision','ev_other','ev_draw',
394
+			'ev_keypress','ev_keyrelease','ev_left_button','ev_right_button','ev_middle_button',
395
+			'ev_no_button','ev_left_press','ev_right_press','ev_middle_press','ev_left_release',
396
+			'ev_right_release','ev_middle_release','ev_mouse_enter','ev_mouse_leave','ev_mouse_wheel_up',
397
+			'ev_mouse_wheel_down','ev_global_left_button','ev_global_right_button','ev_global_middle_button',
398
+			'ev_global_left_press','ev_global_right_press','ev_global_middle_press','ev_global_left_release',
399
+			'ev_global_right_release','ev_global_middle_release','ev_joystick1_left','ev_joystick1_right',
400
+			'ev_joystick1_up','ev_joystick1_down','ev_joystick1_button1','ev_joystick1_button2',
401
+			'ev_joystick1_button3','ev_joystick1_button4','ev_joystick1_button5','ev_joystick1_button6',
402
+			'ev_joystick1_button7','ev_joystick1_button8','ev_joystick2_left','ev_joystick2_right',
403
+			'ev_joystick2_up','ev_joystick2_down','ev_joystick2_button1','ev_joystick2_button2',
404
+			'ev_joystick2_button3','ev_joystick2_button4','ev_joystick2_button5','ev_joystick2_button6',
405
+			'ev_joystick2_button7','ev_joystick2_button8',
406
+			'ev_outside','ev_boundary','ev_game_start','ev_game_end','ev_room_start','ev_room_end',
407
+			'ev_no_more_lives','ev_no_more_health','ev_animation_end','ev_end_of_path','ev_user0','ev_user1',
408
+			'ev_user2','ev_user3','ev_user4','ev_user5','ev_user6','ev_user7','ev_user8','ev_user9',
409
+			'ev_user10','ev_user11','ev_user12','ev_user13','ev_user14','ev_user15','ev_step_normal',
410
+			'ev_step_begin','ev_step_end',
411
+			'vk_nokey','vk_anykey','vk_left','vk_right','vk_up','vk_down','vk_enter','vk_escape','vk_space',
412
+			'vk_shift','vk_control','vk_alt','vk_backspace','vk_tab','vk_home','vk_end','vk_delete',
413
+			'vk_insert','vk_pageup','vk_pagedown','vk_pause','vk_printscreen',
414
+			'vk_f1','vk_f2','vk_f3','vk_f4','vk_f5','vk_f6','vk_f7','vk_f8','vk_f9','vk_f10','vk_f11','vk_f12',
415
+			'vk_numpad0','vk_numpad1','vk_numpad2','vk_numpad3','vk_numpad4','vk_numpad5','vk_numpad6',
416
+			'vk_numpad7','vk_numpad8','vk_numpad9', 'vk_multiply','vk_divide','vk_add','vk_subtract',
417
+			'vk_decimal','vk_lshift','vk_lcontrol','vk_lalt','vk_rshift','vk_rcontrol','vk_ralt',
418
+			'c_aqua','c_black','c_blue','c_dkgray','c_fuchsia','c_gray','c_green','c_lime','c_ltgray',
419
+			'c_maroon','c_navy','c_olive','c_purple','c_red','c_silver','c_teal','c_white','c_yellow',
420
+			'fa_left', 'fa_center','fa_right','fa_top','fa_middle','fa_bottom',
421
+			'pr_pointlist','pr_linelist','pr_linestrip','pr_trianglelist','pr_trianglestrip',
422
+			'pr_trianglefan',
423
+			'cr_none','cr_arrow','cr_cross','cr_beam','cr_size_nesw','cr_size_ns','cr_size_nwse',
424
+			'cr_size_we','cr_uparrow','cr_hourglass','cr_drag','cr_nodrop','cr_hsplit','cr_vsplit',
425
+			'cr_multidrag','cr_sqlwait','cr_no','cr_appstart','cr_help','cr_handpoint','cr_size_all',
426
+			'se_chorus','se_echo','se_flanger','se_gargle','se_reverb','se_compressor','se_equalizer',
427
+			'fa_readonly','fa_hidden','fa_sysfile','fa_volumeid','fa_directory','fa_archive',
428
+			'pt_shape_pixel','pt_shape_disk','pt_shape_square','pt_shape_line','pt_shape_star',
429
+			'pt_shape_circle','pt_shape_ring','pt_shape_sphere','pt_shape_flare','pt_shape_spark',
430
+			'pt_shape_explosion','pt_shape_cloud','pt_shape_smoke','pt_shape_snow',
431
+			'ps_shape_rectangle','ps_shape_ellipse ','ps_shape_diamond','ps_shape_line',
432
+			'ps_distr_linear','ps_distr_gaussian','ps_force_constant','ps_force_linear','ps_force_quadratic',
433
+			'ps_deflect_horizontal', 'ps_deflect_vertical',
434
+			'ps_change_motion','ps_change_shape','ps_change_all'
435
+			),
436
+		),
437
+	'SYMBOLS' => array(
438
+		'(', ')', '{', '}', '[', ']', '&&', '||', '^^', '<', '<=', '==', '!=', '>', '>=',
439
+		'|', '&', '^', '<<', '>>', '+', '-', '*', '/', '!', '-', '~'
440
+		),
441
+	'CASE_SENSITIVE' => array(
442
+		GESHI_COMMENTS => false,
443
+		1 => true,
444
+		2 => true,
445
+		3 => true,
446
+		4 => true,
447
+		),
448
+	'STYLES' => array(
449
+		'KEYWORDS' => array(
450
+			1 => 'font-weight: bold; color: #000000;',
451
+			2 => 'font-weight: bold; color: #000000;',
452
+			3 => 'color: navy;',
453
+			4 => 'color: #663300;',
454
+			),
455
+		'COMMENTS' => array(
456
+			1 => 'font-style: italic; color: green;',
457
+			'MULTI' => 'font-style: italic; color: green;'
458
+			),
459
+		'ESCAPE_CHAR' => array(
460
+			0 => 'color: #000099; font-weight: bold;'
461
+			),
462
+		'BRACKETS' => array(
463
+			0 => 'color: #000000;' //'color: #66cc66;'
464
+			),
465
+		'STRINGS' => array(
466
+			0 => 'color: #ff0000;'
467
+			),
468
+		'NUMBERS' => array(
469
+			0 => 'color: #cc66cc;'
470
+			),
471
+		'METHODS' => array(
472
+			1 => 'color: #202020;'
473
+			),
474
+		'SYMBOLS' => array(
475
+			0 => 'color: #66cc66; font-weight: bold;'
476
+			),
477
+		'REGEXPS' => array(
478
+			),
479
+		'SCRIPT' => array(
480
+			)
481
+		),
482
+	'URLS' => array(
483
+		1 => '',
484
+		2 => '',
485
+		// All GML functions have been indexed, but need some corrections.
486
+		3 => 'http://www.zonamakers.com/gmlreference/{FNAME}.html', // (provisional, could change soon!)
487
+		4 => ''
488
+		),
489
+	'OOLANG' => true,
490
+	'OBJECT_SPLITTERS' => array(
491
+		1 => '.'
492
+		),
493
+	'REGEXPS' => array(
494
+		),
495
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
496
+	'SCRIPT_DELIMITERS' => array(
497
+		),
498
+	'HIGHLIGHT_STRICT_BLOCK' => array(
499
+		)
500
+);
501
+
502
+?>

File diff suppressed because it is too large
+ 2117 - 0
plugins/geshi/groovy.php


+ 195 - 0
plugins/geshi/haskell.php View File

@@ -0,0 +1,195 @@
1
+<?php
2
+/*************************************************************************************
3
+ * haskell.php
4
+ * ----------
5
+ * Author: Jason Dagit (dagit@codersbase.com) based on ocaml.php by Flaie (fireflaie@gmail.com)
6
+ * Copyright: (c) 2005 Flaie, Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/08/27
9
+ *
10
+ * Haskell language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/08/27 (1.0.0)
15
+ *   -  First Release
16
+ *
17
+ * TODO (updated 2005/08/27)
18
+ * -------------------------
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *   This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+$language_data = array (
41
+    'LANG_NAME' => 'Haskell',
42
+    'COMMENT_SINGLE' => array( 1 => '--'),
43
+    'COMMENT_MULTI' => array('{-' => '-}'),
44
+    'CASE_KEYWORDS' => 0,
45
+    'QUOTEMARKS' => array('"'),
46
+    'ESCAPE_CHAR' => "\\",
47
+    'KEYWORDS' => array(
48
+       /* main haskell keywords */
49
+        1 => array(
50
+           'as',
51
+           'case', 'of', 'class', 'data', 'default',
52
+           'deriving', 'do', 'forall', 'hiding', 'if', 'then',
53
+           'else', 'import', 'infix', 'infixl', 'infixr',
54
+           'instance', 'let', 'in', 'module', 'newtype',
55
+           'qualified', 'type', 'where'
56
+            ),
57
+        /* define names of main librarys, so we can link to it */
58
+        2 => array(
59
+           'Foreign', 'Numeric', 'Prelude'
60
+           ),
61
+        /* just link to Prelude functions, cause it's the default opened library when starting Haskell */
62
+        3 => array(
63
+           'not', 'otherwise', 'maybe',
64
+           'either', 'fst', 'snd', 'curry', 'uncurry',
65
+           'compare',
66
+           'max', 'min', 'succ', 'pred', 'toEnum', 'fromEnum',
67
+           'enumFrom', 'enumFromThen', 'enumFromTo',
68
+           'enumFromThenTo', 'minBound', 'maxBound',
69
+           'negate', 'abs', 'signum',
70
+           'fromInteger', 'toRational', 'quot', 'rem',
71
+           'div', 'mod', 'quotRem', 'divMod', 'toInteger',
72
+           'recip', 'fromRational', 'pi', 'exp',
73
+           'log', 'sqrt', 'logBase', 'sin', 'cos',
74
+           'tan', 'asin', 'acos', 'atan', 'sinh', 'cosh',
75
+           'tanh', 'asinh', 'acosh', 'atanh',
76
+           'properFraction', 'truncate', 'round', 'ceiling',
77
+           'floor', 'floatRadix', 'floatDigits', 'floatRange',
78
+           'decodeFloat', 'encodeFloat', 'exponent',
79
+           'significand', 'scaleFloat', 'isNaN', 'isInfinite',
80
+           'isDenomalized', 'isNegativeZero', 'isIEEE',
81
+           'atan2', 'subtract', 'even', 'odd', 'gcd',
82
+           'lcm', 'fromIntegral', 'realToFrac',
83
+           'return', 'fail', 'fmap',
84
+           'mapM', 'mapM_', 'sequence', 'sequence_',
85
+           'id', 'const','flip',
86
+           'until', 'asTypeOf', 'error', 'undefined',
87
+           'seq','map','filter', 'head',
88
+           'last', 'tail', 'init', 'null', 'length',
89
+           'reverse', 'foldl', 'foldl1', 'foldr',
90
+           'foldr1', 'and', 'or', 'any', 'all', 'sum',
91
+           'product', 'concat', 'concatMap', 'maximum',
92
+           'minimum', 'scanl', 'scanl1', 'scanr', 'scanr1',
93
+           'iterate', 'repeat', 'cycle', 'take', 'drop',
94
+           'splitAt', 'teakWhile', 'dropWhile', 'span',
95
+           'break', 'elem', 'notElem', 'lookup', 'zip',
96
+           'zip3', 'zipWith', 'zipWith3', 'unzip', 'unzip3',
97
+           'unzip', 'unzip3', 'lines', 'words', 'unlines',
98
+           'unwords', 'showPrec', 'show', 'showList',
99
+           'shows', 'showChar', 'showString', 'showParen',
100
+           'readsPrec', 'readList', 'reads', 'readParen',
101
+           'read', 'lex', 'putChar', 'putStr', 'putStrLn',
102
+           'print', 'getChar', 'getLine', 'getContents',
103
+           'interact', 'readFile', 'writeFile', 'appendFile',
104
+           'readIO', 'readLn', 'ioError', 'userError', 'catch'
105
+           ),
106
+        /* here Prelude Types */
107
+        4 => array (
108
+            'Bool', 'Maybe', 'Either', 'Ord', 'Ordering',
109
+            'Char', 'String', 'Eq', 'Enum', 'Bounded',
110
+            'Int', 'Integer', 'Float', 'Double', 'Rational',
111
+            'Num', 'Real', 'Integral', 'Fractional',
112
+            'Floating', 'RealFrac', 'RealFloat', 'Monad',
113
+            'Functor', 'Show', 'ShowS', 'Read', 'ReadS',
114
+            'IO'
115
+           ),
116
+        /* finally Prelude Exceptions */
117
+        5 => array (
118
+            'IOError', 'IOException'
119
+            )
120
+        ),
121
+    /* highlighting symbols is really important in Haskell */
122
+    'SYMBOLS' => array(
123
+           '|', '->', '<-', '@', '!', '::', '_', '~', '=',
124
+           '&&', '||', '==', '/=', '<', '<=', '>',
125
+           '>=','+', '-', '*','/',  '**', '^', '^^',
126
+           '>>=', '>>', '=<<',  '$', '.',  '$!',
127
+           '++', '!!'
128
+            ),
129
+    'CASE_SENSITIVE' => array(
130
+        GESHI_COMMENTS => true,
131
+        1 => true,
132
+        2 => true, /* functions name are case seinsitive */
133
+        3 => true, /* types name too */
134
+        4 => true, /* finally exceptions too */
135
+        5 => true
136
+        ),
137
+    'STYLES' => array(
138
+        'KEYWORDS' => array(
139
+            1 => 'color: #06c; font-weight: bold;', /* nice blue */
140
+            2 => 'color: #06c; font-weight: bold;', /* blue as well */
141
+            3 => 'font-weight: bold;', /* make the preduled functions bold */
142
+            4 => 'color: #cccc00; font-weight: bold;', /* give types a different bg */
143
+            5 => 'color: maroon;'
144
+            ),
145
+        'COMMENTS' => array(
146
+            1 => 'color: #5d478b; font-style: italic;',
147
+            'MULTI' => 'color: #5d478b; font-style: italic;' /* light purpHle */
148
+            ),
149
+        'ESCAPE_CHAR' => array(
150
+            ),
151
+        'BRACKETS' => array(
152
+            0 => 'color: green;'
153
+            ),
154
+        'STRINGS' => array(
155
+            0 => 'background-color: #3cb371;' /* nice green */
156
+            ),
157
+        'NUMBERS' => array(
158
+            0 => 'color: red;' /* pink */
159
+            ),
160
+        'METHODS' => array(
161
+            1 => 'color: #060;' /* dark green */
162
+            ),
163
+        'REGEXPS' => array(
164
+            ),
165
+        'SYMBOLS' => array(
166
+            0 => 'color: #66cc66; font-weight: bold;'
167
+            ),
168
+        'SCRIPT' => array(
169
+            )
170
+        ),
171
+    'URLS' => array(
172
+        /* some of keywords are Prelude functions */
173
+        1 => '',
174
+        /* link to the wanted library */
175
+        2 => 'http://haskell.org/ghc/docs/latest/html/libraries/base/{FNAME}.html',
176
+        /* link to Prelude functions */
177
+        3 => 'http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:{FNAME}',
178
+        /* link to Prelude types */
179
+        4 => 'http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#t:{FNAME}',
180
+        /* link to Prelude exceptions */
181
+        5 => 'http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#t:{FNAME}',
182
+        ),
183
+    'OOLANG' => false,
184
+    'OBJECT_SPLITTERS' => array(
185
+        ),
186
+    'REGEXPS' => array(
187
+        ),
188
+    'STRICT_MODE_APPLIES' => GESHI_NEVER,
189
+    'SCRIPT_DELIMITERS' => array(
190
+        ),
191
+    'HIGHLIGHT_STRICT_BLOCK' => array(
192
+        )
193
+);
194
+
195
+?>

+ 255 - 0
plugins/geshi/html4strict.php View File

@@ -0,0 +1,255 @@
1
+<?php
2
+/*************************************************************************************
3
+ * html4strict.php
4
+ * ---------------
5
+ * Author: Nigel McNie (nigel@geshi.org)
6
+ * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/07/10
9
+ *
10
+ * HTML 4.01 strict language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/12/28 (1.0.4)
15
+ *   -  Removed escape character for strings
16
+ * 2004/11/27 (1.0.3)
17
+ *   -  Added support for multiple object splitters
18
+ * 2004/10/27 (1.0.2)
19
+ *   -  Added support for URLs
20
+ * 2004/08/05 (1.0.1)
21
+ *   -  Added INS and DEL
22
+ *   -  Removed the background colour from tags' styles
23
+ * 2004/07/14 (1.0.0)
24
+ *   -  First Release
25
+ *
26
+ * TODO (updated 2004/11/27)
27
+ * -------------------------
28
+ * * Check that only HTML4 strict attributes are highlighted
29
+ * * Eliminate empty tags that aren't allowed in HTML4 strict
30
+ * * Split to several files - html4trans, xhtml1 etc
31
+ *
32
+ *************************************************************************************
33
+ *
34
+ *     This file is part of GeSHi.
35
+ *
36
+ *   GeSHi is free software; you can redistribute it and/or modify
37
+ *   it under the terms of the GNU General Public License as published by
38
+ *   the Free Software Foundation; either version 2 of the License, or
39
+ *   (at your option) any later version.
40
+ *
41
+ *   GeSHi is distributed in the hope that it will be useful,
42
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
43
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
44
+ *   GNU General Public License for more details.
45
+ *
46
+ *   You should have received a copy of the GNU General Public License
47
+ *   along with GeSHi; if not, write to the Free Software
48
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
49
+ *
50
+ ************************************************************************************/
51
+
52
+$language_data = array (
53
+	'LANG_NAME' => 'HTML',
54
+	'COMMENT_SINGLE' => array(),
55
+	'COMMENT_MULTI' => array('<!--' => '-->'),
56
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
57
+	'QUOTEMARKS' => array("'", '"'),
58
+	'ESCAPE_CHAR' => '',
59
+	'KEYWORDS' => array(
60
+		1 => array(
61
+			),
62
+		2 => array(
63
+			'&lt;a&gt;', '&lt;abbr&gt;', '&lt;acronym&gt;', '&lt;address&gt;', '&lt;applet&gt;',
64
+			'&lt;a', '&lt;abbr', '&lt;acronym', '&lt;address', '&lt;applet',
65
+			'&lt;/a&gt;', '&lt;/abbr&gt;', '&lt;/acronym&gt;', '&lt;/address&gt;', '&lt;/applet&gt;',
66
+			'&lt;/a', '&lt;/abbr', '&lt;/acronym', '&lt;/address', '&lt;/applet',
67
+
68
+			'&lt;base&gt;', '&lt;basefont&gt;', '&lt;bdo&gt;', '&lt;big&gt;', '&lt;blockquote&gt;', '&lt;body&gt;', '&lt;br&gt;', '&lt;button&gt;', '&lt;b&gt;',
69
+			'&lt;base', '&lt;basefont', '&lt;bdo', '&lt;big', '&lt;blockquote', '&lt;body', '&lt;br', '&lt;button', '&lt;b',
70
+			'&lt;/base&gt;', '&lt;/basefont&gt;', '&lt;/bdo&gt;', '&lt;/big&gt;', '&lt;/blockquote&gt;', '&lt;/body&gt;', '&lt;/br&gt;', '&lt;/button&gt;', '&lt;/b&gt;',
71
+			'&lt;/base', '&lt;/basefont', '&lt;/bdo', '&lt;/big', '&lt;/blockquote', '&lt;/body', '&lt;/br', '&lt;/button', '&lt;/b',
72
+
73
+			'&lt;caption&gt;', '&lt;center&gt;', '&lt;cite&gt;', '&lt;code&gt;', '&lt;colgroup&gt;', '&lt;col&gt;',
74
+			'&lt;caption', '&lt;center', '&lt;cite', '&lt;code', '&lt;colgroup', '&lt;col',
75
+			'&lt;/caption&gt;', '&lt;/center&gt;', '&lt;/cite&gt;', '&lt;/code&gt;', '&lt;/colgroup&gt;', '&lt;/col&gt;',
76
+			'&lt;/caption', '&lt;/center', '&lt;/cite', '&lt;/code', '&lt;/colgroup', '&lt;/col',
77
+
78
+			'&lt;dd&gt;', '&lt;del&gt;', '&lt;dfn&gt;', '&lt;dir&gt;', '&lt;div&gt;', '&lt;dl&gt;', '&lt;dt&gt;',
79
+			'&lt;dd', '&lt;del', '&lt;dfn', '&lt;dir', '&lt;div', '&lt;dl', '&lt;dt',
80
+			'&lt;/dd&gt;', '&lt;/del&gt;', '&lt;/dfn&gt;', '&lt;/dir&gt;', '&lt;/div&gt;', '&lt;/dl&gt;', '&lt;/dt&gt;',
81
+			'&lt;/dd', '&lt;/del', '&lt;/dfn', '&lt;/dir', '&lt;/div', '&lt;/dl', '&lt;/dt',
82
+
83
+			'&lt;em&gt;',
84
+			'&lt;em',
85
+			'&lt;/em&gt;',
86
+			'&lt;/em',
87
+
88
+			'&lt;fieldset&gt;', '&lt;font&gt;', '&lt;form&gt;', '&lt;frame&gt;', '&lt;frameset&gt;',
89
+			'&lt;fieldset', '&lt;font', '&lt;form', '&lt;frame', '&lt;frameset',
90
+			'&lt;/fieldset&gt;', '&lt;/font&gt;', '&lt;/form&gt;', '&lt;/frame&gt;', '&lt;/frameset&gt;',
91
+			'&lt;/fieldset', '&lt;/font', '&lt;/form', '&lt;/frame', '&lt;/frameset',
92
+
93
+			'&lt;h1&gt;', '&lt;h2&gt;', '&lt;h3&gt;', '&lt;h4&gt;', '&lt;h5&gt;', '&lt;h6&gt;', '&lt;head&gt;', '&lt;hr&gt;', '&lt;html&gt;',
94
+			'&lt;h1', '&lt;h2', '&lt;h3', '&lt;h4', '&lt;h5', '&lt;h6', '&lt;head', '&lt;hr', '&lt;html',
95
+			'&lt;/h1&gt;', '&lt;/h2&gt;', '&lt;/h3&gt;', '&lt;/h4&gt;', '&lt;/h5&gt;', '&lt;/h6&gt;', '&lt;/head&gt;', '&lt;/hr&gt;', '&lt;/html&gt;',
96
+			'&lt;/h1', '&lt;/h2', '&lt;/h3', '&lt;/h4', '&lt;/h5', '&lt;/h6', '&lt;/head', '&lt;/hr', '&lt;/html',
97
+
98
+			'&lt;iframe&gt;', '&lt;ilayer&gt;', '&lt;img&gt;', '&lt;input&gt;', '&lt;ins&gt;', '&lt;isindex&gt;', '&lt;i&gt;',
99
+			'&lt;iframe', '&lt;ilayer', '&lt;img', '&lt;input', '&lt;ins', '&lt;isindex', '&lt;i',
100
+			'&lt;/iframe&gt;', '&lt;/ilayer&gt;', '&lt;/img&gt;', '&lt;/input&gt;', '&lt;/ins&gt;', '&lt;/isindex&gt;', '&lt;/i&gt;',
101
+			'&lt;/iframe', '&lt;/ilayer', '&lt;/img', '&lt;/input', '&lt;/ins', '&lt;/isindex', '&lt;/i',
102
+
103
+			'&lt;kbd&gt;',
104
+			'&lt;kbd',
105
+			'&t;/kbd&gt;',
106
+			'&lt;/kbd',
107
+
108
+			'&lt;label&gt;', '&lt;legend&gt;', '&lt;link&gt;', '&lt;li&gt;',
109
+			'&lt;label', '&lt;legend', '&lt;link', '&lt;li',
110
+			'&lt;/label&gt;', '&lt;/legend&gt;', '&lt;/link&gt;', '&lt;/li&gt;',
111
+			'&lt;/label', '&lt;/legend', '&lt;/link', '&lt;/li',
112
+
113
+			'&lt;map&gt;', '&lt;meta&gt;',
114
+			'&lt;map', '&lt;meta',
115
+			'&lt;/map&gt;', '&lt;/meta&gt;',
116
+			'&lt;/map', '&lt;/meta',
117
+
118
+			'&lt;noframes&gt;', '&lt;noscript&gt;',
119
+			'&lt;noframes', '&lt;noscript',
120
+			'&lt;/noframes&gt;', '&lt;/noscript&gt;',
121
+			'&lt;/noframes', '&lt;/noscript',
122
+
123
+			'&lt;object&gt;', '&lt;ol&gt;', '&lt;optgroup&gt;', '&lt;option&gt;',
124
+			'&lt;object', '&lt;ol', '&lt;optgroup', '&lt;option',
125
+			'&lt;/object&gt;', '&lt;/ol&gt;', '&lt;/optgroup&gt;', '&lt;/option&gt;',
126
+			'&lt;/object', '&lt;/ol', '&lt;/optgroup', '&lt;/option',
127
+
128
+			'&lt;param&gt;', '&lt;pre&gt;', '&lt;p&gt;',
129
+			'&lt;param', '&lt;pre', '&lt;p',
130
+			'&lt;/param&gt;', '&lt;/pre&gt;', '&lt;/p&gt;',
131
+			'&lt;/param', '&lt;/pre', '&lt;/p',
132
+
133
+			'&lt;q&gt;',
134
+			'&lt;q',
135
+			'&lt;/q&gt;',
136
+			'&lt;/q',
137
+
138
+			'&lt;samp&gt;', '&lt;script&gt;', '&lt;select&gt;', '&lt;small&gt;', '&lt;span&gt;', '&lt;strike&gt;', '&lt;strong&gt;', '&lt;style&gt;', '&lt;sub&gt;', '&lt;sup&gt;', '&lt;s&gt;',
139
+			'&lt;samp', '&lt;script', '&lt;select', '&lt;small', '&lt;span', '&lt;strike', '&lt;strong', '&lt;style', '&lt;sub', '&lt;sup', '&lt;s',
140
+			'&lt;/samp&gt;', '&lt;/script&gt;', '&lt;/select&gt;', '&lt;/small&gt;', '&lt;/span&gt;', '&lt;/strike&gt;', '&lt;/strong&gt;', '&lt;/style&gt;', '&lt;/sub&gt;', '&lt;/sup&gt;', '&lt;/s&gt;',
141
+			'&lt;/samp', '&lt;/script', '&lt;/select', '&lt;/small', '&lt;/span', '&lt;/strike', '&lt;/strong', '&lt;/style', '&lt;/sub', '&lt;/sup', '&lt;/s',
142
+
143
+			'&lt;table&gt;', '&lt;tbody&gt;', '&lt;td&gt;', '&lt;textarea&gt;', '&lt;text&gt;', '&lt;tfoot&gt;', '&lt;thead&gt;', '&lt;th&gt;', '&lt;title&gt;', '&lt;tr&gt;', '&lt;tt&gt;',
144
+			'&lt;table', '&lt;tbody', '&lt;td', '&lt;textarea', '&lt;text', '&lt;tfoot', '&lt;tfoot', '&lt;thead', '&lt;th', '&lt;title', '&lt;tr', '&lt;tt',
145
+			'&lt;/table&gt;', '&lt;/tbody&gt;', '&lt;/td&gt;', '&lt;/textarea&gt;', '&lt;/text&gt;', '&lt;/tfoot&gt;', '&lt;/thead', '&lt;/tfoot', '&lt;/th&gt;', '&lt;/title&gt;', '&lt;/tr&gt;', '&lt;/tt&gt;',
146
+			'&lt;/table', '&lt;/tbody', '&lt;/td', '&lt;/textarea', '&lt;/text', '&lt;/tfoot', '&lt;/tfoot', '&lt;/thead', '&lt;/th', '&lt;/title', '&lt;/tr', '&lt;/tt',
147
+
148
+			'&lt;ul&gt;', '&lt;u&gt;',
149
+			'&lt;ul', '&lt;u',
150
+			'&lt;/ul&gt;', '&lt;/ul&gt;',
151
+			'&lt;/ul', '&lt;/u',
152
+
153
+			'&lt;var&gt;',
154
+			'&lt;var',
155
+			'&lt;/var&gt;',
156
+			'&lt;/var',
157
+
158
+			'&gt;', '&lt;'
159
+			),
160
+		3 => array(
161
+			'abbr', 'accept-charset', 'accept', 'accesskey', 'action', 'align', 'alink', 'alt', 'archive', 'axis',
162
+			'background', 'bgcolor', 'border',
163
+			'cellpadding', 'cellspacing', 'char', 'char', 'charoff', 'charset', 'checked', 'cite', 'class', 'classid', 'clear', 'code', 'codebase', 'codetype', 'color', 'cols', 'colspan', 'compact', 'content', 'coords',
164
+			'data', 'datetime', 'declare', 'defer', 'dir', 'disabled',
165
+			'enctype',
166
+			'face', 'for', 'frame', 'frameborder',
167
+			'headers', 'height', 'href', 'hreflang', 'hspace', 'http-equiv',
168
+			'id', 'ismap',
169
+			'label', 'lang', 'language', 'link', 'longdesc',
170
+			'marginheight', 'marginwidth', 'maxlength', 'media', 'method', 'multiple',
171
+			'name', 'nohref', 'noresize', 'noshade', 'nowrap',
172
+			'object', 'onblur', 'onchange', 'onclick', 'ondblclick', 'onfocus', 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onreset', 'onselect', 'onsubmit', 'onunload',
173
+			'profile', 'prompt',
174
+			'readonly', 'rel', 'rev', 'rowspan', 'rows', 'rules',
175
+			'scheme', 'scope', 'scrolling', 'selected', 'shape', 'size', 'span', 'src', 'standby', 'start', 'style', 'summary',
176
+			'tabindex', 'target', 'text', 'title', 'type',
177
+			'usemap',
178
+			'valign', 'value', 'valuetype', 'version', 'vlink', 'vspace',
179
+			'width'
180
+			)
181
+		),
182
+	'SYMBOLS' => array(
183
+		'/', '='
184
+		),
185
+	'CASE_SENSITIVE' => array(
186
+		GESHI_COMMENTS => false,
187
+		1 => false,
188
+		2 => false,
189
+		3 => false,
190
+		),
191
+	'STYLES' => array(
192
+		'KEYWORDS' => array(
193
+			1 => 'color: #b1b100;',
194
+			2 => 'color: #000000; font-weight: bold;',
195
+			3 => 'color: #000066;'
196
+			),
197
+		'COMMENTS' => array(
198
+			'MULTI' => 'color: #808080; font-style: italic;'
199
+			),
200
+		'ESCAPE_CHAR' => array(
201
+			0 => 'color: #000099; font-weight: bold;'
202
+			),
203
+		'BRACKETS' => array(
204
+			0 => 'color: #66cc66;'
205
+			),
206
+		'STRINGS' => array(
207
+			0 => 'color: #ff0000;'
208
+			),
209
+		'NUMBERS' => array(
210
+			0 => 'color: #cc66cc;'
211
+			),
212
+		'METHODS' => array(
213
+			),
214
+		'SYMBOLS' => array(
215
+			0 => 'color: #66cc66;'
216
+			),
217
+		'SCRIPT' => array(
218
+			0 => 'color: #00bbdd;',
219
+			1 => 'color: #ddbb00;',
220
+			2 => 'color: #009900;'
221
+			),
222
+		'REGEXPS' => array(
223
+			)
224
+		),
225
+	'URLS' => array(
226
+		1 => '',
227
+		2 => 'http://december.com/html/4/element/{FNAME}.html',
228
+		3 => ''
229
+		),
230
+	'OOLANG' => false,
231
+	'OBJECT_SPLITTERS' => array(
232
+		),
233
+	'REGEXPS' => array(
234
+		),
235
+	'STRICT_MODE_APPLIES' => GESHI_ALWAYS,
236
+	'SCRIPT_DELIMITERS' => array(
237
+		0 => array(
238
+			'<!DOCTYPE' => '>'
239
+			),
240
+		1 => array(
241
+			'&' => ';'
242
+			),
243
+		2 => array(
244
+			'<' => '>'
245
+			)
246
+	),
247
+	'HIGHLIGHT_STRICT_BLOCK' => array(
248
+		0 => false,
249
+		1 => false,
250
+		2 => true
251
+        ),
252
+    'TAB_WIDTH' => 4
253
+);
254
+
255
+?>

+ 119 - 0
plugins/geshi/idl.php View File

@@ -0,0 +1,119 @@
1
+<?php
2
+/*************************************************************************************
3
+ * idl.php
4
+ * -------
5
+ * Author: Cedric Bosdonnat (cedricbosdo@openoffice.org)
6
+ * Copyright: (c) 2006 Cedric Bosdonnat
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2006/08/20
9
+ *
10
+ * Unoidl language file for GeSHi.
11
+ *
12
+ * 2006/08/20 (1.0.0)
13
+ *  -  First Release
14
+ *
15
+ *************************************************************************************
16
+ *
17
+ *     This file is part of GeSHi.
18
+ *
19
+ *   GeSHi is free software; you can redistribute it and/or modify
20
+ *   it under the terms of the GNU General Public License as published by
21
+ *   the Free Software Foundation; either version 2 of the License, or
22
+ *   (at your option) any later version.
23
+ *
24
+ *   GeSHi is distributed in the hope that it will be useful,
25
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
26
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27
+ *   GNU General Public License for more details.
28
+ *
29
+ *   You should have received a copy of the GNU General Public License
30
+ *   along with GeSHi; if not, write to the Free Software
31
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
32
+ *
33
+ ************************************************************************************/
34
+
35
+
36
+$language_data = array (
37
+	'LANG_NAME' => 'Uno Idl',
38
+	'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
39
+	'COMMENT_MULTI' => array('/*' => '*/'),
40
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
41
+	'QUOTEMARKS' => array("'", '"'),
42
+	'ESCAPE_CHAR' => '\\',
43
+	'KEYWORDS' => array(
44
+		1 => array(
45
+			'published', 'get', 'set', 'service', 'singleton', 'type', 'module', 'interface', 'struct',
46
+			'const', 'constants', 'exception', 'enum', 'raises', 'typedef'
47
+			),
48
+		2 => array(
49
+            'bound', 'maybeambiguous', 'maybedefault', 'maybevoid', 'oneway', 'optional',
50
+            'readonly', 'in', 'out', 'inout', 'attribute', 'transient', 'removable'
51
+          	),
52
+		3 => array(
53
+			'True', 'False', 'TRUE', 'FALSE'
54
+            ),
55
+		4 => array(
56
+		    'string', 'long', 'byte', 'hyper', 'boolean', 'any', 'char', 'double', 'long',
57
+            'void', 'sequence', 'unsigned', '...'
58
+            ),
59
+		),
60
+	'SYMBOLS' => array(
61
+        '(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':', ';'
62
+		),
63
+	'CASE_SENSITIVE' => array(
64
+		GESHI_COMMENTS => true,
65
+		1 => true,
66
+		2 => true,
67
+		3 => true,
68
+		4 => true,
69
+		),
70
+	'STYLES' => array(
71
+		'KEYWORDS' => array(
72
+			1 => 'color: #990078; font-weight: bold',
73
+			2 => 'color: #36dd1c;',
74
+			3 => 'color: #990078; font-weight: bold',
75
+			4 => 'color: #0000ec;'
76
+			),
77
+		'COMMENTS' => array(
78
+			1 => 'color: #3f7f5f;',
79
+			2 => 'color: #808080;',
80
+			'MULTI' => 'color: #4080ff; font-style: italic;'
81
+			),
82
+		'ESCAPE_CHAR' => array(
83
+			0 => 'color: #666666; font-weight: bold;'
84
+			),
85
+		'BRACKETS' => array(
86
+			0 => 'color: #808080;'
87
+			),
88
+		'STRINGS' => array(
89
+			0 => 'color: #ff0000;'
90
+			),
91
+		'NUMBERS' => array(
92
+			0 => 'color: #0000dd;'
93
+			),
94
+		'METHODS' => array(
95
+			),
96
+		'SYMBOLS' => array(
97
+			0 => 'color: #66cc66;'
98
+			),
99
+		'REGEXPS' => array(
100
+			),
101
+		'SCRIPT' => array(
102
+			)
103
+		),
104
+	'URLS' => array(
105
+		),
106
+	'OOLANG' => false,
107
+	'OBJECT_SPLITTERS' => array(
108
+		1 => '::'
109
+		),
110
+	'REGEXPS' => array(
111
+		),
112
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
113
+	'SCRIPT_DELIMITERS' => array(
114
+		),
115
+	'HIGHLIGHT_STRICT_BLOCK' => array(
116
+		)
117
+);
118
+
119
+?>

+ 123 - 0
plugins/geshi/ini.php View File

@@ -0,0 +1,123 @@
1
+<?php
2
+/*************************************************************************************
3
+ * ini.php
4
+ * --------
5
+ * Author: deguix (cevo_deguix@yahoo.com.br)
6
+ * Copyright: (c) 2005 deguix
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/03/27
9
+ *
10
+ * INI language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/12/28 (1.0.1)
15
+ *   -  Removed unnecessary keyword style index
16
+ *   -  Added support for " strings
17
+ * 2005/04/05 (1.0.0)
18
+ *   -  First Release
19
+ *
20
+ * TODO (updated 2005/03/27)
21
+ * -------------------------
22
+ *
23
+ *************************************************************************************
24
+ *
25
+ *     This file is part of GeSHi.
26
+ *
27
+ *   GeSHi is free software; you can redistribute it and/or modify
28
+ *   it under the terms of the GNU General Public License as published by
29
+ *   the Free Software Foundation; either version 2 of the License, or
30
+ *   (at your option) any later version.
31
+ *
32
+ *   GeSHi is distributed in the hope that it will be useful,
33
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
34
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
35
+ *   GNU General Public License for more details.
36
+ *
37
+ *   You should have received a copy of the GNU General Public License
38
+ *   along with GeSHi; if not, write to the Free Software
39
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
40
+ *
41
+ ************************************************************************************/
42
+
43
+$language_data = array (
44
+	'LANG_NAME' => 'INI',
45
+	'COMMENT_SINGLE' => array(0 => ';'),
46
+	'COMMENT_MULTI' => array(),
47
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
48
+	'QUOTEMARKS' => array('"'),
49
+	'ESCAPE_CHAR' => '',
50
+	'KEYWORDS' => array(
51
+		),
52
+	'SYMBOLS' => array(
53
+		'[', ']', '='
54
+		),
55
+	'CASE_SENSITIVE' => array(
56
+		GESHI_COMMENTS => false
57
+		),
58
+	'STYLES' => array(
59
+		'KEYWORDS' => array(
60
+			),
61
+		'COMMENTS' => array(
62
+			0 => 'color: #666666; font-style: italic;'
63
+			),
64
+		'ESCAPE_CHAR' => array(
65
+		    0 => ''
66
+			),
67
+		'BRACKETS' => array(
68
+		    0 => ''
69
+			),
70
+		'STRINGS' => array(
71
+		    0 => 'color: #933;'
72
+			),
73
+		'NUMBERS' => array(
74
+		    0 => ''
75
+			),
76
+		'METHODS' => array(
77
+		    0 => ''
78
+			),
79
+		'SYMBOLS' => array(
80
+			0 => 'color: #000066; font-weight:bold;'
81
+			),
82
+		'REGEXPS' => array(
83
+			0 => 'color: #000066; font-weight:bold;',
84
+			1 => 'color: #000099;',
85
+			2 => 'color: #660066;'
86
+			),
87
+		'SCRIPT' => array(
88
+		    0 => ''
89
+			)
90
+		),
91
+	'URLS' => array(
92
+		),
93
+	'OOLANG' => false,
94
+	'OBJECT_SPLITTERS' => array(
95
+		),
96
+	'REGEXPS' => array(
97
+		0 => '\[.+\]',
98
+		1 => array(
99
+			GESHI_SEARCH => '([a-zA-Z0-9_]+\s*)=(.+)',
100
+			GESHI_REPLACE => '\\1',
101
+			GESHI_MODIFIERS => '',
102
+			GESHI_BEFORE => '',
103
+			GESHI_AFTER => '=\\2'
104
+			),
105
+		2 => array(
106
+            // Evil hackery to get around GeSHi bug: <>" and ; are added so <span>s can be matched
107
+            // Explicit match on variable names because if a comment is before the first < of the span
108
+            // gets chewed up...
109
+			GESHI_SEARCH => '([<>";a-zA-Z0-9_]+\s*)=(.+)',
110
+			GESHI_REPLACE => '\\2',
111
+			GESHI_MODIFIERS => '',
112
+			GESHI_BEFORE => '\\1=',
113
+			GESHI_AFTER => ''
114
+			)
115
+		),
116
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
117
+	'SCRIPT_DELIMITERS' => array(
118
+		),
119
+	'HIGHLIGHT_STRICT_BLOCK' => array(
120
+		)
121
+);
122
+
123
+?>

+ 213 - 0
plugins/geshi/inno.php View File

@@ -0,0 +1,213 @@
1
+<?php
2
+/*************************************************************************************
3
+ * Inno.php
4
+ * ----------
5
+ * Author: Thomas Klingler (hotline@theratech.de) based on delphi.php from Járja Norbert (jnorbi@vipmail.hu)
6
+ * Copyright: (c) 2004 Járja Norbert, Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/07/29
9
+ *
10
+ * Inno Script language inkl. Delphi (Object Pascal) language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/09/03
15
+ *   -  First Release
16
+ *
17
+ * TODO (updated 2005/07/27)
18
+ * -------------------------
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *   This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+$language_data = array (
41
+	'LANG_NAME' => 'Inno',
42
+	'COMMENT_SINGLE' => array(1 => '//'),
43
+	'COMMENT_MULTI' => array('(*' => '*)'),
44
+	'CASE_KEYWORDS' => 0,
45
+	'QUOTEMARKS' => array("'", '"'),
46
+	'ESCAPE_CHAR' => '',
47
+	'KEYWORDS' => array(
48
+		1 => array('Setup','Types','Components','Tasks','Dirs','Files','Icons','INI','InstallDelete','Languages','Messages',
49
+					'CustomMessage','LangOptions','Registry','RUN','UninstallDelete','UninstallRun'
50
+					,'app','win','sys','syswow64','src','sd','pf','pf32','pf64','cf','cf32','cf64','tmp','fonts','dao',
51
+					'group','localappdata','sendto','userappdata','commonappdata','userdesktop','commondesktop','userdocs',
52
+					'commondocs','userfavorites','commonfavorites','userprograms','commonprograms','userstartmenu',
53
+					'commonstartmenu','userstartup','commonstartup','usertemplates','commontemplates'
54
+			),
55
+		2 => array(
56
+			'nil', 'false', 'true', 'var', 'type', 'const','And', 'Array', 'As', 'Begin', 'Case', 'Class', 'Constructor', 'Destructor', 'Div', 'Do', 'DownTo', 'Else',
57
+			'End', 'Except', 'File', 'Finally', 'For', 'Function', 'Goto', 'If', 'Implementation', 'In', 'Inherited', 'Interface',
58
+			'Is', 'Mod', 'Not', 'Object', 'Of', 'On', 'Or', 'Packed', 'Procedure', 'Property', 'Raise', 'Record',
59
+			'Repeat', 'Set', 'Shl', 'Shr', 'Then', 'ThreadVar', 'To', 'Try', 'Unit', 'Until', 'Uses', 'While', 'With', 'Xor',
60
+
61
+			'HKCC','HKCR','HKCU','HKLM','HKU','alwaysoverwrite','alwaysskipifsameorolder','append',
62
+			'binary','classic','closeonexit','comparetimestamp','confirmoverwrite',
63
+			'createkeyifdoesntexist','createonlyiffileexists','createvalueifdoesntexist',
64
+			'deleteafterinstall','deletekey','deletevalue','dirifempty','dontcloseonexit',
65
+			'dontcopy','dontcreatekey','disablenouninstallwarning','dword','exclusive','expandsz',
66
+			'external','files','filesandordirs','fixed','fontisnttruetype','ignoreversion','iscustom','isreadme',
67
+			'modern','multisz','new','noerror','none','normal','nowait','onlyifdestfileexists',
68
+			'onlyifdoesntexist','onlyifnewer','overwrite','overwritereadonly','postinstall',
69
+			'preservestringtype','promptifolder','regserver','regtypelib','restart','restartreplace',
70
+			'runhidden','runmaximized','runminimized','sharedfile','shellexec','showcheckbox',
71
+			'skipifnotsilent','skipifsilent','silent','skipifdoesntexist',
72
+			'skipifsourcedoesntexist','sortfilesbyextension','unchecked','uninsalwaysuninstall',
73
+			'uninsclearvalue','uninsdeleteentry','uninsdeletekey','uninsdeletekeyifempty',
74
+			'uninsdeletesection','uninsdeletesectionifempty','uninsdeletevalue',
75
+			'uninsneveruninstall','useapppaths','verysilent','waituntilidle'
76
+
77
+
78
+			),
79
+		3 => array(
80
+			'Abs', 'Addr', 'AnsiCompareStr', 'AnsiCompareText', 'AnsiContainsStr', 'AnsiEndsStr', 'AnsiIndexStr', 'AnsiLeftStr',
81
+			'AnsiLowerCase', 'AnsiMatchStr', 'AnsiMidStr', 'AnsiPos', 'AnsiReplaceStr', 'AnsiReverseString', 'AnsiRightStr',
82
+			'AnsiStartsStr', 'AnsiUpperCase', 'ArcCos', 'ArcSin', 'ArcTan', 'Assigned', 'BeginThread', 'Bounds', 'CelsiusToFahrenheit',
83
+			'ChangeFileExt', 'Chr', 'CompareStr', 'CompareText', 'Concat', 'Convert', 'Copy', 'Cos', 'CreateDir', 'CurrToStr',
84
+			'CurrToStrF', 'Date', 'DateTimeToFileDate', 'DateTimeToStr', 'DateToStr', 'DayOfTheMonth', 'DayOfTheWeek', 'DayOfTheYear',
85
+			'DayOfWeek', 'DaysBetween', 'DaysInAMonth', 'DaysInAYear', 'DaySpan', 'DegToRad', 'DeleteFile', 'DiskFree', 'DiskSize',
86
+			'DupeString', 'EncodeDate', 'EncodeDateTime', 'EncodeTime', 'EndOfADay', 'EndOfAMonth', 'Eof', 'Eoln', 'Exp', 'ExtractFileDir',
87
+			'ExtractFileDrive', 'ExtractFileExt', 'ExtractFileName', 'ExtractFilePath', 'FahrenheitToCelsius', 'FileAge',
88
+			'FileDateToDateTime', 'FileExists', 'FilePos', 'FileSearch', 'FileSetDate', 'FileSize', 'FindClose', 'FindCmdLineSwitch',
89
+			'FindFirst', 'FindNext', 'FloatToStr', 'FloatToStrF', 'Format', 'FormatCurr', 'FormatDateTime', 'FormatFloat', 'Frac',
90
+			'GetCurrentDir', 'GetLastError', 'GetMem', 'High', 'IncDay', 'IncMinute', 'IncMonth', 'IncYear', 'InputBox',
91
+			'InputQuery', 'Int', 'IntToHex', 'IntToStr', 'IOResult', 'IsInfinite', 'IsLeapYear', 'IsMultiThread', 'IsNaN',
92
+			'LastDelimiter', 'Length', 'Ln', 'Lo', 'Log10', 'Low', 'LowerCase', 'Max', 'Mean', 'MessageDlg', 'MessageDlgPos',
93
+			'MonthOfTheYear', 'Now', 'Odd', 'Ord', 'ParamCount', 'ParamStr', 'Pi', 'Point', 'PointsEqual', 'Pos', 'Pred',
94
+			'Printer', 'PromptForFileName', 'PtInRect', 'RadToDeg', 'Random', 'RandomRange', 'RecodeDate', 'RecodeTime', 'Rect',
95
+			'RemoveDir', 'RenameFile', 'Round', 'SeekEof', 'SeekEoln', 'SelectDirectory', 'SetCurrentDir', 'Sin', 'SizeOf',
96
+			'Slice', 'Sqr', 'Sqrt', 'StringOfChar', 'StringReplace', 'StringToWideChar', 'StrToCurr', 'StrToDate', 'StrToDateTime',
97
+			'StrToFloat', 'StrToInt', 'StrToInt64', 'StrToInt64Def', 'StrToIntDef', 'StrToTime', 'StuffString', 'Succ', 'Sum', 'Tan',
98
+			'Time', 'TimeToStr', 'Tomorrow', 'Trunc', 'UpCase', 'UpperCase', 'VarType', 'WideCharToString', 'WrapText', 'Yesterday',
99
+			'Append', 'AppendStr', 'Assign', 'AssignFile', 'AssignPrn', 'Beep', 'BlockRead', 'BlockWrite', 'Break',
100
+			'ChDir', 'Close', 'CloseFile', 'Continue', 'DateTimeToString', 'Dec', 'DecodeDate', 'DecodeDateTime',
101
+			'DecodeTime', 'Delete', 'Dispose', 'EndThread', 'Erase', 'Exclude', 'Exit', 'FillChar', 'Flush', 'FreeAndNil',
102
+			'FreeMem', 'GetDir', 'GetLocaleFormatSettings', 'Halt', 'Inc', 'Include', 'Insert', 'MkDir', 'Move', 'New',
103
+			'ProcessPath', 'Randomize', 'Read', 'ReadLn', 'ReallocMem', 'Rename', 'ReplaceDate', 'ReplaceTime',
104
+			'Reset', 'ReWrite', 'RmDir', 'RunError', 'Seek', 'SetLength', 'SetString', 'ShowMessage', 'ShowMessageFmt',
105
+			'ShowMessagePos', 'Str', 'Truncate', 'Val', 'Write', 'WriteLn',
106
+
107
+			'AdminPrivilegesRequired','AfterInstall','AllowCancelDuringInstall','AllowNoIcons','AllowRootDirectory','AllowUNCPath','AlwaysRestart','AlwaysShowComponentsList','AlwaysShowDirOnReadyPage','AlwaysShowGroupOnReadyPage ','AlwaysUsePersonalGroup','AppComments','AppContact','AppCopyright','AppendDefaultDirName',
108
+			'AppendDefaultGroupName','AppId','AppModifyPath','AppMutex','AppName','AppPublisher',
109
+			'AppPublisherURL','AppReadmeFile','AppSupportURL','AppUpdatesURL','AppVerName','AppVersion',
110
+			'Attribs','BackColor','BackColor2','BackColorDirection','BackSolid','BeforeInstall',
111
+			'ChangesAssociations','ChangesEnvironment','Check','CodeFile','Comment','Components','Compression','CopyMode',
112
+			'CreateAppDir','CreateUninstallRegKey','DefaultDirName','DefaultGroupName',
113
+			'DefaultUserInfoName','DefaultUserInfoOrg','DefaultUserInfoSerial',
114
+			'Description','DestDir','DestName','DirExistsWarning',
115
+			'DisableDirPage','DisableFinishedPage',
116
+			'DisableProgramGroupPage','DisableReadyMemo','DisableReadyPage',
117
+			'DisableStartupPrompt','DiskClusterSize','DiskSliceSize','DiskSpaceMBLabel',
118
+			'DiskSpanning','DontMergeDuplicateFiles','EnableDirDoesntExistWarning','Encryption',
119
+			'Excludes','ExtraDiskSpaceRequired','Filename','Flags','FlatComponentsList','FontInstall',
120
+			'GroupDescription','HotKey','IconFilename','IconIndex','InfoAfterFile','InfoBeforeFile',
121
+			'InternalCompressLevel','Key','LanguageDetectionMethod','Languages',
122
+			'LicenseFile','MergeDuplicateFiles','MessagesFile','MinVersion','Name',
123
+			'OnlyBelowVersion','OutputBaseFilename','OutputManifestFile','OutputDir',
124
+			'Parameters','Password','Permissions','PrivilegesRequired','ReserveBytes',
125
+			'RestartIfNeededByRun','Root','RunOnceId','Section','SetupIconFile',
126
+			'ShowComponentSizes','ShowLanguageDialog','ShowTasksTreeLines','SlicesPerDisk',
127
+			'SolidCompression','Source','SourceDir','StatusMsg','Subkey','Tasks',
128
+			'TimeStampRounding','TimeStampsInUTC','TouchDate','TouchTime','Type','Types',
129
+			'UninstallDisplayIcon','UninstallDisplayName','UninstallFilesDir','UninstallIconFile',
130
+			'UninstallLogMode','UninstallRestartComputer','UninstallStyle','Uninstallable',
131
+			'UpdateUninstallLogAppName','UsePreviousAppDir','UsePreviousGroup',
132
+			'UsePreviousTasks','UsePreviousSetupType','UsePreviousUserInfo',
133
+			'UserInfoPage','UseSetupLdr','ValueData','ValueName','ValueType',
134
+			'VersionInfoVersion','VersionInfoCompany','VersionInfoDescription','VersionInfoTextVersion',
135
+			'WindowResizable','WindowShowCaption','WindowStartMaximized',
136
+			'WindowVisible','WizardImageBackColor','WizardImageFile','WizardImageStretch','WizardSmallImageBackColor','WizardSmallImageFile','WizardStyle','WorkingDir'
137
+
138
+
139
+			),
140
+		4 => array(
141
+			'AnsiChar', 'AnsiString', 'Boolean', 'Byte', 'Cardinal', 'Char', 'Comp', 'Currency', 'Double', 'Extended',
142
+			'Int64', 'Integer', 'LongInt', 'LongWord', 'PAnsiChar', 'PAnsiString', 'PChar', 'PCurrency', 'PDateTime',
143
+			'PExtended', 'PInt64', 'Pointer', 'PShortString', 'PString', 'PVariant', 'PWideChar', 'PWideString',
144
+			'Real', 'Real48', 'ShortInt', 'ShortString', 'Single', 'SmallInt', 'String', 'TBits', 'TConvType', 'TDateTime',
145
+			'Text', 'TextFile', 'TFloatFormat', 'TFormatSettings', 'TList', 'TObject', 'TOpenDialog', 'TPoint',
146
+			'TPrintDialog', 'TRect', 'TReplaceFlags', 'TSaveDialog', 'TSearchRec', 'TStringList', 'TSysCharSet',
147
+			'TThreadFunc', 'Variant', 'WideChar', 'WideString', 'Word'
148
+			),
149
+		),
150
+	'SYMBOLS' => array(
151
+		'(', ')', '[', ']', '{', '}', '@', '%', '&', '*', '|', '/', '<', '>'
152
+		),
153
+
154
+	'CASE_SENSITIVE' => array(
155
+		GESHI_COMMENTS => true,
156
+		1 => false,
157
+		2 => false,
158
+		3 => false,
159
+		4 => false,
160
+		),
161
+	'STYLES' => array(
162
+		'KEYWORDS' => array(
163
+			1 => 'color: #000000; font-weight: bold;',/*bold Black*/
164
+			2 => 'color: #000000;font-style: italic;',/*Black*/
165
+			3 => 'color: #0000FF;',/*blue*/
166
+			4 => 'color: #CC0000;'/*red*/
167
+			),
168
+		'COMMENTS' => array(
169
+			1 => 'color: #33FF00; font-style: italic;',
170
+			'MULTI' => 'color: #33FF00; font-style: italic;'
171
+			),
172
+		'ESCAPE_CHAR' => array(
173
+			),
174
+		'BRACKETS' => array(
175
+			0 => 'color: #66cc66;'
176
+			),
177
+		'STRINGS' => array(
178
+			0 => 'color: #ff0000;'
179
+			),
180
+		'NUMBERS' => array(
181
+			0 => 'color: #cc66cc;'
182
+			),
183
+		'METHODS' => array(
184
+			1 => 'color: #006600;'
185
+			),
186
+		'REGEXPS' => array(
187
+			),
188
+		'SYMBOLS' => array(
189
+			0 => 'color:  #000000; font-weight: bold;',
190
+			),
191
+		'SCRIPT' => array(
192
+			)
193
+		),
194
+	'URLS' => array(
195
+		1 => '',
196
+		2 => '',
197
+		3 => '',
198
+		4 => ''
199
+		),
200
+	'OOLANG' => true,
201
+	'OBJECT_SPLITTERS' => array(
202
+		1 => '.'
203
+		),
204
+	'REGEXPS' => array(
205
+		),
206
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
207
+	'SCRIPT_DELIMITERS' => array(
208
+		),
209
+	'HIGHLIGHT_STRICT_BLOCK' => array(
210
+		)
211
+);
212
+
213
+?>

+ 139 - 0
plugins/geshi/io.php View File

@@ -0,0 +1,139 @@
1
+<?php
2
+/*************************************************************************************
3
+ * io.php
4
+ * -------
5
+ * Author: Nigel McNie (nigel@geshi.org)
6
+ * Copyright: (c) 2006 Nigel McNie (http://qbnz.com/highlighter/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2006/09/23
9
+ *
10
+ * Io language file for GeSHi. Thanks to Johnathan Wright for the suggestion and help
11
+ * with this language :)
12
+ *
13
+ * CHANGES
14
+ * -------
15
+ * 2006/09/23(1.0.0)
16
+ *  -  First Release
17
+ *
18
+ * TODO
19
+ * -------------------------
20
+ *
21
+ *************************************************************************************
22
+ *
23
+ *     This file is part of GeSHi.
24
+ *
25
+ *   GeSHi is free software; you can redistribute it and/or modify
26
+ *   it under the terms of the GNU General Public License as published by
27
+ *   the Free Software Foundation; either version 2 of the License, or
28
+ *   (at your option) any later version.
29
+ *
30
+ *   GeSHi is distributed in the hope that it will be useful,
31
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
32
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
33
+ *   GNU General Public License for more details.
34
+ *
35
+ *   You should have received a copy of the GNU General Public License
36
+ *   along with GeSHi; if not, write to the Free Software
37
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
38
+ *
39
+ ************************************************************************************/
40
+
41
+$language_data = array (
42
+	'LANG_NAME' => 'Io',
43
+	'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
44
+	'COMMENT_MULTI' => array('/*' => '*/'),
45
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
46
+	'QUOTEMARKS' => array('"'),
47
+	'ESCAPE_CHAR' => '\\',
48
+	'KEYWORDS' => array(
49
+        1 => array(
50
+            'and', 'break', 'else', 'elseif', 'exit', 'for', 'foreach', 'if', 'ifFalse', 'ifNil',
51
+            'ifTrue', 'or', 'pass', 'raise', 'return', 'then', 'try', 'wait', 'while', 'yield'
52
+			),
53
+        2 => array(
54
+            'activate', 'activeCoroCount', 'asString', 'block', 'catch', 'clone', 'collectGarbage',
55
+            'compileString', 'continue', 'do', 'doFile', 'doMessage', 'doString', 'forward',
56
+            'getSlot', 'getenv', 'hasSlot', 'isActive', 'isNil', 'isResumable', 'list', 'message',
57
+            'method', 'parent', 'pause', 'perform', 'performWithArgList', 'print', 'proto',
58
+            'raiseResumable', 'removeSlot', 'resend', 'resume', 'schedulerSleepSeconds', 'self',
59
+            'sender', 'setSchedulerSleepSeconds', 'setSlot', 'shallowCopy', 'slotNames', 'super',
60
+            'system', 'thisBlock', 'thisContext', 'thisMessage', 'type', 'uniqueId', 'updateSlot',
61
+            'write'
62
+			),
63
+        3 => array(
64
+            'Array', 'AudioDevice', 'AudioMixer', 'Block', 'Box', 'Buffer', 'CFunction', 'CGI',
65
+            'Color', 'Curses', 'DBM', 'DNSResolver', 'DOConnection', 'DOProxy', 'DOServer',
66
+            'Date', 'Directory', 'Duration', 'DynLib', 'Error', 'Exception', 'FFT', 'File',
67
+            'Fnmatch', 'Font', 'Future', 'GL', 'GLE', 'GLScissor', 'GLU', 'GLUCylinder',
68
+            'GLUQuadric', 'GLUSphere', 'GLUT', 'Host', 'Image', 'Importer', 'LinkList', 'List',
69
+            'Lobby', 'Locals', 'MD5', 'MP3Decoder', 'MP3Encoder', 'Map', 'Message', 'Movie',
70
+            'NULL', 'Nil', 'Nop', 'Notifiction', 'Number', 'Object', 'OpenGL', 'Point', 'Protos',
71
+            'Regex', 'SGMLTag', 'SQLite', 'Server', 'ShowMessage', 'SleepyCat', 'SleepyCatCursor',
72
+            'Socket', 'SocketManager', 'Sound', 'Soup', 'Store', 'String', 'Tree', 'UDPSender',
73
+            'UDPReceiver', 'URL', 'User', 'Warning', 'WeakLink'
74
+            )
75
+		),
76
+	'SYMBOLS' => array(
77
+		'(', ')', '[', ']', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>'
78
+		),
79
+	'CASE_SENSITIVE' => array(
80
+		GESHI_COMMENTS => false,
81
+		1 => false,
82
+		2 => false,
83
+		3 => false,
84
+		),
85
+	'STYLES' => array(
86
+		'KEYWORDS' => array(
87
+			1 => 'color: #b1b100;',
88
+			2 => 'color: #000000; font-weight: bold;',
89
+			3 => 'color: #000066;'
90
+			),
91
+		'COMMENTS' => array(
92
+			1 => 'color: #808080; font-style: italic;',
93
+			2 => 'color: #808080; font-style: italic;',
94
+			'MULTI' => 'color: #808080; font-style: italic;'
95
+			),
96
+		'ESCAPE_CHAR' => array(
97
+			0 => 'color: #000099; font-weight: bold;'
98
+			),
99
+		'BRACKETS' => array(
100
+			0 => 'color: #66cc66;'
101
+			),
102
+		'STRINGS' => array(
103
+			0 => 'color: #ff0000;'
104
+			),
105
+		'NUMBERS' => array(
106
+			0 => 'color: #cc66cc;'
107
+			),
108
+		'METHODS' => array(
109
+			1 => 'color: #006600;',
110
+			2 => 'color: #006600;'
111
+			),
112
+		'SYMBOLS' => array(
113
+			0 => 'color: #66cc66;'
114
+			),
115
+		'REGEXPS' => array(
116
+			0 => 'color: #0000ff;'
117
+			),
118
+		'SCRIPT' => array(
119
+			0 => ''
120
+			)
121
+		),
122
+	'URLS' => array(
123
+		1 => '',
124
+		2 => '',
125
+		3 => ''
126
+		),
127
+	'OOLANG' => false,
128
+	'OBJECT_SPLITTERS' => array(
129
+		),
130
+	'REGEXPS' => array(
131
+		),
132
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
133
+	'SCRIPT_DELIMITERS' => array(
134
+		),
135
+	'HIGHLIGHT_STRICT_BLOCK' => array(
136
+		)
137
+);
138
+
139
+?>

File diff suppressed because it is too large
+ 1388 - 0
plugins/geshi/java.php


File diff suppressed because it is too large
+ 1021 - 0
plugins/geshi/java5.php


+ 144 - 0
plugins/geshi/javascript.php View File

@@ -0,0 +1,144 @@
1
+<?php
2
+/*************************************************************************************
3
+ * javascript.php
4
+ * --------------
5
+ * Author: Ben Keen (ben.keen@gmail.com)
6
+ * Copyright: (c) 2004 Ben Keen (ben.keen@gmail.com), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/06/20
9
+ *
10
+ * JavaScript language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2004/11/27 (1.0.1)
15
+ *  -  Added support for multiple object splitters
16
+ * 2004/10/27 (1.0.0)
17
+ *  -  First Release
18
+ *
19
+ * TODO (updated 2004/11/27)
20
+ * -------------------------
21
+ *
22
+ *************************************************************************************
23
+ *
24
+ *     This file is part of GeSHi.
25
+ *
26
+ *   GeSHi is free software; you can redistribute it and/or modify
27
+ *   it under the terms of the GNU General Public License as published by
28
+ *   the Free Software Foundation; either version 2 of the License, or
29
+ *   (at your option) any later version.
30
+ *
31
+ *   GeSHi is distributed in the hope that it will be useful,
32
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
33
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34
+ *   GNU General Public License for more details.
35
+ *
36
+ *   You should have received a copy of the GNU General Public License
37
+ *   along with GeSHi; if not, write to the Free Software
38
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
39
+ *
40
+ ************************************************************************************/
41
+
42
+$language_data = array (
43
+  'LANG_NAME' => 'Javascript',
44
+  'COMMENT_SINGLE' => array(1 => '//'),
45
+  'COMMENT_MULTI' => array('/*' => '*/'),
46
+  'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
47
+  'QUOTEMARKS' => array("'", '"'),
48
+  'ESCAPE_CHAR' => '\\',
49
+  'KEYWORDS' => array(
50
+    1 => array(
51
+      'as', 'break', 'case', 'catch', 'continue', 'decodeURI', 'delete', 'do',
52
+      'else', 'encodeURI', 'eval', 'finally', 'for', 'if', 'in', 'is', 'item',
53
+      'instanceof', 'return', 'switch', 'this', 'throw', 'try', 'typeof', 'void',
54
+      'while', 'write', 'with'
55
+      ),
56
+    2 => array(
57
+      'class', 'const', 'default', 'debugger', 'export', 'extends', 'false',
58
+      'function', 'import', 'namespace', 'new', 'null', 'package', 'private',
59
+      'protected', 'public', 'super', 'true', 'use', 'var'
60
+      ),
61
+    3 => array(
62
+
63
+      // common functions for Window object
64
+      'alert', 'back', 'blur', 'close', 'confirm', 'focus', 'forward', 'home',
65
+      'name', 'navigate', 'onblur', 'onerror', 'onfocus', 'onload', 'onmove',
66
+      'onresize', 'onunload', 'open', 'print', 'prompt', 'scroll', 'status',
67
+      'stop',
68
+      )
69
+    ),
70
+  'SYMBOLS' => array(
71
+    '(', ')', '[', ']', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>'
72
+    ),
73
+  'CASE_SENSITIVE' => array(
74
+    GESHI_COMMENTS => false,
75
+    1 => false,
76
+    2 => false,
77
+    3 => false
78
+    ),
79
+  'STYLES' => array(
80
+    'KEYWORDS' => array(
81
+      1 => 'color: #000066; font-weight: bold;',
82
+      2 => 'color: #003366; font-weight: bold;',
83
+      3 => 'color: #000066;'
84
+      ),
85
+    'COMMENTS' => array(
86
+      1 => 'color: #009900; font-style: italic;',
87
+      'MULTI' => 'color: #009900; font-style: italic;'
88
+      ),
89
+    'ESCAPE_CHAR' => array(
90
+      0 => 'color: #000099; font-weight: bold;'
91
+      ),
92
+    'BRACKETS' => array(
93
+      0 => 'color: #66cc66;'
94
+      ),
95
+    'STRINGS' => array(
96
+      0 => 'color: #3366CC;'
97
+      ),
98
+    'NUMBERS' => array(
99
+      0 => 'color: #CC0000;'
100
+      ),
101
+    'METHODS' => array(
102
+      1 => 'color: #006600;'
103
+      ),
104
+    'SYMBOLS' => array(
105
+      0 => 'color: #66cc66;'
106
+      ),
107
+    'REGEXPS' => array(
108
+      0 => 'color: #0066FF;'
109
+      ),
110
+    'SCRIPT' => array(
111
+      0 => '',
112
+      1 => '',
113
+      2 => '',
114
+      3 => ''
115
+      )
116
+    ),
117
+  'URLS' => array(
118
+		1 => '',
119
+		2 => '',
120
+		3 => ''
121
+  	),
122
+  'OOLANG' => true,
123
+  'OBJECT_SPLITTERS' => array(
124
+  	1 => '.'
125
+	),
126
+  'REGEXPS' => array(
127
+    0 => "/.*/([igm]*)?"         // matches js reg exps
128
+    ),
129
+  'STRICT_MODE_APPLIES' => GESHI_MAYBE,
130
+  'SCRIPT_DELIMITERS' => array(
131
+    0 => array(
132
+      '<script type="text/javascript">' => '</script>'
133
+      ),
134
+    1 => array(
135
+      '<script language="javascript">' => '</script>'
136
+      )
137
+    ),
138
+  'HIGHLIGHT_STRICT_BLOCK' => array(
139
+    0 => true,
140
+    1 => true
141
+  )
142
+);
143
+
144
+?>

+ 203 - 0
plugins/geshi/latex.php View File

@@ -0,0 +1,203 @@
1
+<?php
2
+/*************************************************************************************
3
+ * latex.php
4
+ * -----
5
+ * Author: efi, Matthias Pospiech (mail@matthiaspospiech.de)
6
+ * Copyright: (c) 2006 efi, Matthias Pospiech (mail@matthiaspospiech.de), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2006/09/23
9
+ *
10
+ * LaTeX language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2006/09/23 (1.0.0)
15
+ *  -  First Release
16
+ *
17
+ * TODO
18
+ * -------------------------
19
+ * *
20
+ *
21
+ *************************************************************************************
22
+ *
23
+ *   This file is not yet part of GeSHi. (and is not compatible to the 1.1+ branch)
24
+ *
25
+ *   GeSHi is free software; you can redistribute it and/or modify
26
+ *   it under the terms of the GNU General Public License as published by
27
+ *   the Free Software Foundation; either version 2 of the License, or
28
+ *   (at your option) any later version.
29
+ *
30
+ *   GeSHi is distributed in the hope that it will be useful,
31
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
32
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
33
+ *   GNU General Public License for more details.
34
+ *
35
+ *   You should have received a copy of the GNU General Public License
36
+ *   along with GeSHi; if not, write to the Free Software
37
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
38
+ *
39
+ ************************************************************************************/
40
+
41
+if (isset($this) && is_a($this, 'GeSHi')) {
42
+    $this->set_symbols_highlighting(false);
43
+    $this->set_numbers_highlighting(false);
44
+}
45
+
46
+$language_data = array (
47
+    'LANG_NAME' => 'LaTeX',
48
+    'COMMENT_SINGLE' => array(1 => '%'),
49
+    'COMMENT_MULTI' => array(),
50
+    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
51
+    'QUOTEMARKS' => array(),
52
+    'ESCAPE_CHAR' => '',
53
+    'KEYWORDS' => array(
54
+        ),
55
+    'SYMBOLS' => array(
56
+        '.', ',','\\',"~", "{", "}", "[", "]", "$"
57
+        ),
58
+    'CASE_SENSITIVE' => array(
59
+        GESHI_COMMENTS => true,
60
+        1 => false,
61
+        2 => false,
62
+        3 => false,
63
+        4 => false,
64
+        ),
65
+    'STYLES' => array(
66
+        'KEYWORDS' => array(
67
+            ),
68
+        'COMMENTS' => array(
69
+            1 => 'color: #808080; font-style: italic;'
70
+            ),
71
+        'ESCAPE_CHAR' => array(
72
+            ),
73
+        'BRACKETS' => array(
74
+            ),
75
+        'STRINGS' => array(
76
+            ),
77
+        'NUMBERS' => array(
78
+            ),
79
+        'METHODS' => array(
80
+            ),
81
+        'SYMBOLS' => array(
82
+            ),
83
+        'REGEXPS' => array(
84
+            1 => 'color: #00A000; font-weight: bold;',  // Math inner
85
+            2 => 'color: #800000; font-weight: normal;', // \keyword #202020
86
+            3 => 'color: #2222D0; font-weight: normal;', // {...}
87
+            4 => 'color: #2222D0; font-weight: normal;', // [Option]
88
+            5 => 'color: #00A000; font-weight: normal;', // Mathe #CCF020
89
+            6 => 'color: #F00000; font-weight: normal;', // Structure \begin
90
+            7 => 'color: #F00000; font-weight: normal;', // Structure \end
91
+            8 => 'color: #F00000; font-weight: normal;', // Structure: Labels
92
+            //9 => 'color: #F00000; font-weight: normal;',  // Structure
93
+            10 => 'color: #0000D0; font-weight: bold;',  // Environment
94
+            11 => 'color: #0000D0; font-weight: bold;',  // Environment
95
+        ),
96
+        'SCRIPT' => array(
97
+            )
98
+        ),
99
+    'URLS' => array(
100
+        ),
101
+    'OOLANG' => false,
102
+    'OBJECT_SPLITTERS' => array(
103
+        ),
104
+    'REGEXPS' => array(
105
+        // Math inner
106
+        1 => array(
107
+            GESHI_SEARCH => "(\\\\begin\\{)(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|alignat|flalign )(\\})(.*)(\\\\end\\{)(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|alignat|flalign)(\\})",
108
+            GESHI_REPLACE => '\\4',
109
+            GESHI_MODIFIERS => 's',
110
+            GESHI_BEFORE => '\1\2\3',
111
+            GESHI_AFTER => '\5\6\7'
112
+            ),
113
+        //  \keywords
114
+        2 => array(
115
+            GESHI_SEARCH => "(\\\\)([a-zA-Z]+)",
116
+            GESHI_REPLACE => '\1\2',
117
+            GESHI_MODIFIERS => '',
118
+            GESHI_BEFORE => '',
119
+            GESHI_AFTER => ''
120
+            ),
121
+        // {parameters}
122
+        3 => array(
123
+            GESHI_SEARCH => "(\\{)(.*)(\\})",
124
+            GESHI_REPLACE => '\2',
125
+            GESHI_MODIFIERS => 'U',
126
+            GESHI_BEFORE => '\1',
127
+            GESHI_AFTER => '\3'
128
+            ),
129
+        // [Option]
130
+        4 => array(
131
+            GESHI_SEARCH => "(\[)(.+)(\])",
132
+            GESHI_REPLACE => '\2',
133
+            GESHI_MODIFIERS => 'U',
134
+            GESHI_BEFORE => '\1',
135
+            GESHI_AFTER => '\3'
136
+            ),
137
+        // Mathe  mit $ ... $
138
+        5 => array(
139
+            GESHI_SEARCH => "(\\$)(.+)(\\$)",
140
+            GESHI_REPLACE => '\1\2\3',
141
+            GESHI_MODIFIERS => '',
142
+            GESHI_BEFORE => '',
143
+            GESHI_AFTER => ''
144
+            ),
145
+        // Structure begin
146
+        6 => array(
147
+            GESHI_SEARCH => "(\\\\begin)(?=[^a-zA-Z])",
148
+            GESHI_REPLACE => '\\1',
149
+            GESHI_MODIFIERS => '',
150
+            GESHI_BEFORE => '',
151
+            GESHI_AFTER => '\\2'
152
+            ),
153
+        // Structure end
154
+        7 => array(
155
+            GESHI_SEARCH => "(\\\\end)(?=[^a-zA-Z])",
156
+            GESHI_REPLACE => '\\1',
157
+            GESHI_MODIFIERS => '',
158
+            GESHI_BEFORE => '',
159
+            GESHI_AFTER => '\\2'
160
+            ),
161
+        //Structure: Label
162
+        8 => array(
163
+            GESHI_SEARCH => "(\\\\)(label|pageref|ref|cite)(?=[^a-zA-Z])",
164
+            GESHI_REPLACE => '\\1\\2',
165
+            GESHI_MODIFIERS => '',
166
+            GESHI_BEFORE => '',
167
+            GESHI_AFTER => '\\3'
168
+            ),
169
+// Structure: sections
170
+/*9 => array(
171
+            GESHI_SEARCH => "(\\\\)(part|chapter|section|subsection|subsubsection|paragraph|subparagraph)(?=[^a-zA-Z])",
172
+            GESHI_REPLACE => '\1\\2',
173
+            GESHI_MODIFIERS => '',
174
+            GESHI_BEFORE => '',
175
+            GESHI_AFTER => '\\3'
176
+            ),*/
177
+// environment begin
178
+10 => array(
179
+            GESHI_SEARCH => "(\\\\begin)(\\{)(.*)(\\})",
180
+            GESHI_REPLACE => '\\3',
181
+            GESHI_MODIFIERS => '',
182
+            GESHI_BEFORE => '',
183
+            GESHI_AFTER => ''
184
+            ),
185
+// environment end
186
+11 => array(
187
+            GESHI_SEARCH => "(\\\\end)(\\{)(.*)(\\})",
188
+            GESHI_REPLACE => '\\3',
189
+            GESHI_MODIFIERS => '',
190
+            GESHI_BEFORE => '',
191
+            GESHI_AFTER => ''
192
+            ),
193
+
194
+// ---------------------------------------------
195
+        ),
196
+    'STRICT_MODE_APPLIES' => GESHI_NEVER,
197
+    'SCRIPT_DELIMITERS' => array(
198
+        ),
199
+    'HIGHLIGHT_STRICT_BLOCK' => array(
200
+        )
201
+);
202
+
203
+?>

+ 133 - 0
plugins/geshi/lisp.php View File

@@ -0,0 +1,133 @@
1
+<?php
2
+/*************************************************************************************
3
+ * lisp.php
4
+ * --------
5
+ * Author: Roberto Rossi (rsoftware@altervista.org)
6
+ * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/08/30
9
+ *
10
+ * Generic Lisp language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/12/9  (1.0.2)
15
+ *  -  Added support for :keywords and ::access (Denis Mashkevich)
16
+ * 2004/11/27 (1.0.1)
17
+ *  -  Added support for multiple object splitters
18
+ * 2004/08/30 (1.0.0)
19
+ *  -  First Release
20
+ *
21
+ * TODO (updated 2004/11/27)
22
+ * -------------------------
23
+ *
24
+ *************************************************************************************
25
+ *
26
+ *     This file is part of GeSHi.
27
+ *
28
+ *   GeSHi is free software; you can redistribute it and/or modify
29
+ *   it under the terms of the GNU General Public License as published by
30
+ *   the Free Software Foundation; either version 2 of the License, or
31
+ *   (at your option) any later version.
32
+ *
33
+ *   GeSHi is distributed in the hope that it will be useful,
34
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
35
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
36
+ *   GNU General Public License for more details.
37
+ *
38
+ *   You should have received a copy of the GNU General Public License
39
+ *   along with GeSHi; if not, write to the Free Software
40
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
41
+ *
42
+ ************************************************************************************/
43
+
44
+$language_data = array (
45
+	'LANG_NAME' => 'Lisp',
46
+	'COMMENT_SINGLE' => array(1 => ';'),
47
+	'COMMENT_MULTI' => array(';|' => '|;'),
48
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
49
+	'QUOTEMARKS' => array('"'),
50
+	'ESCAPE_CHAR' => '\\',
51
+	'KEYWORDS' => array(
52
+		1 => array(
53
+		  'not','defun','princ',
54
+		  'eval','apply','funcall','quote','identity','function',
55
+		  'complement','backquote','lambda','set','setq','setf',
56
+		  'defun','defmacro','gensym','make','symbol','intern',
57
+		  'symbol','name','symbol','value','symbol','plist','get',
58
+		  'getf','putprop','remprop','hash','make','array','aref',
59
+		  'car','cdr','caar','cadr','cdar','cddr','caaar','caadr','cadar',
60
+		  'caddr','cdaar','cdadr','cddar','cdddr','caaaar','caaadr',
61
+		  'caadar','caaddr','cadaar','cadadr','caddar','cadddr',
62
+		  'cdaaar','cdaadr','cdadar','cdaddr','cddaar','cddadr',
63
+		  'cdddar','cddddr','cons','list','append','reverse','last','nth',
64
+		  'nthcdr','member','assoc','subst','sublis','nsubst',
65
+		  'nsublis','remove','length','list','length',
66
+		  'mapc','mapcar','mapl','maplist','mapcan','mapcon','rplaca',
67
+		  'rplacd','nconc','delete','atom','symbolp','numberp',
68
+		  'boundp','null','listp','consp','minusp','zerop','plusp',
69
+		  'evenp','oddp','eq','eql','equal','cond','case','and','or',
70
+		  'let','l','if','prog','prog1','prog2','progn','go','return',
71
+		  'do','dolist','dotimes','catch','throw','error','cerror','break',
72
+		  'continue','errset','baktrace','evalhook','truncate','float',
73
+		  'rem','min','max','abs','sin','cos','tan','expt','exp','sqrt',
74
+		  'random','logand','logior','logxor','lognot','bignums','logeqv',
75
+		  'lognand','lognor','logorc2','logtest','logbitp','logcount',
76
+		  'integer','length','nil'
77
+			)
78
+		),
79
+	'SYMBOLS' => array(
80
+		'(', ')', '{', '}', '[', ']', '!', '%', '^', '&', '/','+','-','*','=','<','>',';','|'
81
+		),
82
+	'CASE_SENSITIVE' => array(
83
+		GESHI_COMMENTS => true,
84
+		1 => false
85
+		),
86
+	'STYLES' => array(
87
+		'KEYWORDS' => array(
88
+			1 => 'color: #b1b100;'
89
+			),
90
+		'COMMENTS' => array(
91
+			1 => 'color: #808080; font-style: italic;',
92
+			'MULTI' => 'color: #808080; font-style: italic;'
93
+			),
94
+		'ESCAPE_CHAR' => array(
95
+			0 => 'color: #000099; font-weight: bold;'
96
+			),
97
+		'BRACKETS' => array(
98
+			0 => 'color: #66cc66;'
99
+			),
100
+		'STRINGS' => array(
101
+			0 => 'color: #ff0000;'
102
+			),
103
+		'NUMBERS' => array(
104
+			0 => 'color: #cc66cc;'
105
+			),
106
+		'METHODS' => array(
107
+			0 => 'color: #555;',
108
+            1 => 'color: #555;'
109
+			),
110
+		'SYMBOLS' => array(
111
+			0 => 'color: #66cc66;'
112
+			),
113
+		'REGEXPS' => array(
114
+			),
115
+		'SCRIPT' => array(
116
+			)
117
+		),
118
+	'URLS' => array(
119
+		),
120
+	'OOLANG' => true,
121
+	'OBJECT_SPLITTERS' => array(
122
+            '::', ':'
123
+		),
124
+	'REGEXPS' => array(
125
+		),
126
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
127
+	'SCRIPT_DELIMITERS' => array(
128
+		),
129
+	'HIGHLIGHT_STRICT_BLOCK' => array(
130
+		)
131
+);
132
+
133
+?>

+ 134 - 0
plugins/geshi/lua.php View File

@@ -0,0 +1,134 @@
1
+<?php
2
+/*************************************************************************************
3
+ * lua.php
4
+ * -------
5
+ * Author: Roberto Rossi (rsoftware@altervista.org)
6
+ * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/07/10
9
+ *
10
+ * LUA language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/08/26 (1.0.2)
15
+ *  -  Added support for objects and methods
16
+ *  -  Removed unusable keywords
17
+ * 2004/11/27 (1.0.1)
18
+ *  -  Added support for multiple object splitters
19
+ * 2004/10/27 (1.0.0)
20
+ *  -  First Release
21
+ *
22
+ * TODO (updated 2004/11/27)
23
+ * -------------------------
24
+ *
25
+ *************************************************************************************
26
+ *
27
+ *     This file is part of GeSHi.
28
+ *
29
+ *   GeSHi is free software; you can redistribute it and/or modify
30
+ *   it under the terms of the GNU General Public License as published by
31
+ *   the Free Software Foundation; either version 2 of the License, or
32
+ *   (at your option) any later version.
33
+ *
34
+ *   GeSHi is distributed in the hope that it will be useful,
35
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
36
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
37
+ *   GNU General Public License for more details.
38
+ *
39
+ *   You should have received a copy of the GNU General Public License
40
+ *   along with GeSHi; if not, write to the Free Software
41
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
42
+ *
43
+ ************************************************************************************/
44
+
45
+$language_data = array (
46
+	'LANG_NAME' => 'Lua',
47
+	'COMMENT_SINGLE' => array(1 => "--"),
48
+	'COMMENT_MULTI' => array('--[[' => ']]'),
49
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
50
+	'QUOTEMARKS' => array("'", '"'),
51
+	'ESCAPE_CHAR' => '\\',
52
+	'KEYWORDS' => array(
53
+		1 => array(
54
+			'and','break','do','else','elseif','end','false','for','function','if',
55
+			'in','local','nil','not','or','repeat','return','then','true','until','while',
56
+			'_VERSION','assert','collectgarbage','dofile','error','gcinfo','loadfile','loadstring',
57
+			'print','tonumber','tostring','type','unpack',
58
+			'_ALERT','_ERRORMESSAGE','_INPUT','_PROMPT','_OUTPUT',
59
+			'_STDERR','_STDIN','_STDOUT','call','dostring','foreach','foreachi','getn','globals','newtype',
60
+			'rawget','rawset','require','sort','tinsert','tremove',
61
+			'abs','acos','asin','atan','atan2','ceil','cos','deg','exp',
62
+			'floor','format','frexp','gsub','ldexp','log','log10','max','min','mod','rad','random','randomseed',
63
+			'sin','sqrt','strbyte','strchar','strfind','strlen','strlower','strrep','strsub','strupper','tan',
64
+			'openfile','closefile','readfrom','writeto','appendto',
65
+			'remove','rename','flush','seek','tmpfile','tmpname','read','write',
66
+			'clock','date','difftime','execute','exit','getenv','setlocale','time',
67
+			'_G','getfenv','getmetatable','ipairs','loadlib','next','pairs','pcall',
68
+			'rawegal','rawget','rawset','require','setfenv','setmetatable','xpcall',
69
+            'string.byte','string.char','string.dump','string.find','string.len',
70
+            'string.lower','string.rep','string.sub','string.upper','string.format','string.gfind','string.gsub',
71
+            'table.concat','table.foreach','table.foreachi','table.getn','table.sort','table.insert','table.remove','table.setn',
72
+            'math.abs','math.acos','math.asin','math.atan','math.atan2','math.ceil','math.cos','math.deg','math.exp',
73
+            'math.floor','math.frexp','math.ldexp','math.log','math.log10','math.max','math.min','math.mod',
74
+            'math.pi','math.rad','math.random','math.randomseed','math.sin','math.sqrt','math.tan',
75
+            'coroutine.create','coroutine.resume','coroutine.status',
76
+            'coroutine.wrap','coroutine.yield',
77
+            'io.close','io.flush','io.input','io.lines','io.open','io.output','io.read','io.tmpfile','io.type','io.write',
78
+            'io.stdin','io.stdout','io.stderr',
79
+            'os.clock','os.date','os.difftime','os.execute','os.exit','os.getenv','os.remove','os.rename',
80
+            'os.setlocale','os.time','os.tmpname',
81
+			'string','table','math','coroutine','io','os','debug'
82
+			)
83
+		),
84
+	'SYMBOLS' => array(
85
+		'(', ')', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>', '=', ';'
86
+		),
87
+	'CASE_SENSITIVE' => array(
88
+		GESHI_COMMENTS => true,
89
+		1 => true
90
+		),
91
+	'STYLES' => array(
92
+		'KEYWORDS' => array(
93
+			1 => 'color: #b1b100;'
94
+			),
95
+		'COMMENTS' => array(
96
+			1 => 'color: #808080; font-style: italic;',
97
+			'MULTI' => 'color: #808080; font-style: italic;'
98
+			),
99
+		'ESCAPE_CHAR' => array(
100
+			0 => 'color: #000099; font-weight: bold;'
101
+			),
102
+		'BRACKETS' => array(
103
+			0 => 'color: #66cc66;'
104
+			),
105
+		'STRINGS' => array(
106
+			0 => 'color: #ff0000;'
107
+			),
108
+		'NUMBERS' => array(
109
+			0 => 'color: #cc66cc;'
110
+			),
111
+		'METHODS' => array(
112
+      0 => 'color: #b1b100;'
113
+			),
114
+		'SYMBOLS' => array(
115
+			0 => 'color: #66cc66;'
116
+			),
117
+		'REGEXPS' => array(
118
+			),
119
+		'SCRIPT' => array(
120
+			)
121
+		),
122
+	'OOLANG' => false,
123
+	'OBJECT_SPLITTERS' => array(
124
+		),
125
+	'REGEXPS' => array(
126
+		),
127
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
128
+	'SCRIPT_DELIMITERS' => array(
129
+		),
130
+	'HIGHLIGHT_STRICT_BLOCK' => array(
131
+		)
132
+);
133
+
134
+?>

+ 135 - 0
plugins/geshi/m68k.php View File

@@ -0,0 +1,135 @@
1
+<?php
2
+/*************************************************************************************
3
+ * m68k.php
4
+ * --------
5
+ * Author: Benny Baumann (BenBE@omorphia.de)
6
+ * Copyright: (c) 2007 Benny Baumann (http://www.omorphia.de/), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2007/02/06
9
+ *
10
+ * Motorola 68000 Assembler language file for GeSHi.
11
+ *
12
+ * Syntax definition as commonly used by the motorola documentation for the
13
+ * MC68HC908GP32 Microcontroller (and maybe others).
14
+ *
15
+ * CHANGES
16
+ * -------
17
+ * 2007/06/02 (1.0.0)
18
+ *   -  First Release
19
+ *
20
+ * TODO (updated 2007/06/02)
21
+ * -------------------------
22
+ *
23
+ *************************************************************************************
24
+ *
25
+ *     This file is part of GeSHi.
26
+ *
27
+ *   GeSHi is free software; you can redistribute it and/or modify
28
+ *   it under the terms of the GNU General Public License as published by
29
+ *   the Free Software Foundation; either version 2 of the License, or
30
+ *   (at your option) any later version.
31
+ *
32
+ *   GeSHi is distributed in the hope that it will be useful,
33
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
34
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
35
+ *   GNU General Public License for more details.
36
+ *
37
+ *   You should have received a copy of the GNU General Public License
38
+ *   along with GeSHi; if not, write to the Free Software
39
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
40
+ *
41
+ ************************************************************************************/
42
+
43
+$language_data = array (
44
+	'LANG_NAME' => 'Motorola 68000 Assembler',
45
+	'COMMENT_SINGLE' => array(1 => ';'),
46
+	'COMMENT_MULTI' => array(),
47
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
48
+	'QUOTEMARKS' => array("'", '"'),
49
+	'ESCAPE_CHAR' => '',
50
+	'KEYWORDS' => array(
51
+		/*CPU*/
52
+		1 => array(
53
+			'adc','add','ais','aix','and','asl','asr','bcc','bclr','bcs','beq',
54
+			'bge','bgt','bhcc','bhcs','bhi','bhs','bih','bil','bit','ble','blo',
55
+			'bls','blt','bmc','bmi','bms','bne','bpl','bra','brclr','brn',
56
+			'brset','bset','bsr','cbeq','clc','cli','clr','cmp','com','cphx',
57
+			'cpx','daa','dbnz','dec','div','eor','inc','jmp','jsr','lda','ldhx',
58
+			'ldx','lsl','lsr','mov','mul','neg','nop','nsa','ora','psha','pshh',
59
+			'pshx','pula','pulh','pulx','rol','ror','rsp','rti','rts','sbc',
60
+			'sec','sei','sta','sthx','stop','stx','sub','swi','tap','tax','tpa',
61
+			'tst','tsx','txa','txs','wait'
62
+		),
63
+		/*registers*/
64
+		2 => array(
65
+			'a','h','x',
66
+			'hx','sp'
67
+			),
68
+		/*Directive*/
69
+		3 => array(
70
+			'#define','#endif','#else','#ifdef','#ifndef','#include','#undef',
71
+			'.db','.dd','.df','.dq','.dt','.dw','.end','.org','equ'
72
+			),
73
+		),
74
+	'SYMBOLS' => array(
75
+		','
76
+		),
77
+	'CASE_SENSITIVE' => array(
78
+		GESHI_COMMENTS => true,
79
+		1 => false,
80
+		2 => false,
81
+		3 => false,
82
+		),
83
+	'STYLES' => array(
84
+		'KEYWORDS' => array(
85
+			1 => 'color: #0000ff; font-weight:bold;',
86
+			2 => 'color: #0000ff;',
87
+			3 => 'color: #46aa03; font-weight:bold;'
88
+			),
89
+		'COMMENTS' => array(
90
+			1 => 'color: #adadad; font-style: italic;',
91
+			),
92
+		'ESCAPE_CHAR' => array(
93
+			0 => 'color: #000099; font-weight: bold;'
94
+			),
95
+		'BRACKETS' => array(
96
+			0 => 'color: #0000ff;'
97
+			),
98
+		'STRINGS' => array(
99
+			0 => 'color: #7f007f;'
100
+			),
101
+		'NUMBERS' => array(
102
+			0 => 'color: #dd22dd;'
103
+			),
104
+		'METHODS' => array(
105
+			),
106
+		'SYMBOLS' => array(
107
+			0 => 'color: #008000;'
108
+			),
109
+		'REGEXPS' => array(
110
+			0 => 'color: #22bbff;',
111
+			1 => 'color: #22bbff;',
112
+			2 => 'color: #993333;'
113
+			),
114
+		'SCRIPT' => array(
115
+			)
116
+		),
117
+	'URLS' => array(
118
+		),
119
+	'OOLANG' => false,
120
+	'OBJECT_SPLITTERS' => array(
121
+		),
122
+	'REGEXPS' => array(
123
+		0 => '#?0[0-9a-fA-F]{1,32}[hH]',
124
+		1 => '\%[01]{1,64}[bB]',
125
+		2 => '^[_a-zA-Z][_a-zA-Z0-9]{0,50}\:'
126
+		),
127
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
128
+	'SCRIPT_DELIMITERS' => array(
129
+		),
130
+	'HIGHLIGHT_STRICT_BLOCK' => array(
131
+        ),
132
+    'TAB_WIDTH' => 8
133
+);
134
+
135
+?>

+ 867 - 0
plugins/geshi/matlab.php View File

@@ -0,0 +1,867 @@
1
+<?php
2
+/*************************************************************************************
3
+ * matlab.php
4
+ * -----------
5
+ * Author: Florian Knorn (floz@gmx.de)
6
+ * Copyright: (c) 2004 Florian Knorn (http://www.florian-knorn.com)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/02/09
9
+ *
10
+ * Matlab M-file language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2006-03-25
15
+ *   - support for the transpose operator
16
+ *   - many keywords added
17
+ *   - links to the matlab documentation at mathworks
18
+ *      by: Olivier Verdier (olivier.verdier@free.fr)
19
+ * 2005/05/07 (1.0.0)
20
+ *   -  First Release
21
+ *
22
+ *
23
+ *************************************************************************************
24
+ *
25
+ *     This file is part of GeSHi.
26
+ *
27
+ *   GeSHi is free software; you can redistribute it and/or modify
28
+ *   it under the terms of the GNU General Public License as published by
29
+ *   the Free Software Foundation; either version 2 of the License, or
30
+ *   (at your option) any later version.
31
+ *
32
+ *   GeSHi is distributed in the hope that it will be useful,
33
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
34
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
35
+ *   GNU General Public License for more details.
36
+ *
37
+ *   You should have received a copy of the GNU General Public License
38
+ *   along with GeSHi; if not, write to the Free Software
39
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
40
+ *
41
+ ************************************************************************************/
42
+
43
+$language_data = array (
44
+	'LANG_NAME' => 'Matlab M',
45
+	'COMMENT_SINGLE' => array(1 => '%'),
46
+	'COMMENT_MULTI' => array(),
47
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
48
+	'QUOTEMARKS' => array(),
49
+	'ESCAPE_CHAR' => '',
50
+	'KEYWORDS' => array(
51
+		1 => array(
52
+			'break', 'case', 'catch', 'continue', 'elseif', 'else', 'end', 'for',
53
+			'function', 'global', 'if', 'otherwise', 'persistent', 'return',
54
+			'switch', 'try', 'while','...'
55
+			),
56
+        2 => array(
57
+                            'all',
58
+							'any',
59
+							'exist',
60
+							'find',
61
+							'is',
62
+							'isa',
63
+							'logical',
64
+							'mislocked',
65
+
66
+							'builtin',
67
+							'eval',
68
+							'evalc',
69
+							'evalin',
70
+							'feval',
71
+							'function',
72
+							'global',
73
+							'nargchk',
74
+							'persistent',
75
+							'script',
76
+							'break',
77
+							'case',
78
+							'catch',
79
+							'else',
80
+							'elseif',
81
+							'end',
82
+							'error',
83
+							'for',
84
+							'if',
85
+							'otherwise',
86
+							'return',
87
+							'switch',
88
+							'try',
89
+							'warning',
90
+							'while',
91
+							'input',
92
+							'keyboard',
93
+							'menu',
94
+							'pause',
95
+							'class',
96
+							'double',
97
+							'inferiorto',
98
+							'inline',
99
+							'int8',
100
+							'int16',
101
+							'int32',
102
+							'isa',
103
+							'loadobj',
104
+							'saveobj',
105
+							'single',
106
+							'superiorto',
107
+							'uint8',
108
+							'int16',
109
+							'uint32',
110
+							'dbclear',
111
+							'dbcont',
112
+							'dbdown',
113
+							'dbmex',
114
+							'dbquit',
115
+							'dbstack',
116
+							'dbstatus',
117
+							'dbstep',
118
+							'dbstop',
119
+							'dbtype',
120
+							'dbup',
121
+
122
+							'blkdiag',
123
+							'eye',
124
+							'linspace',
125
+							'logspace',
126
+							'ones',
127
+							'rand',
128
+							'randn',
129
+							'zeros',
130
+							'ans',
131
+							'computer',
132
+							'eps',
133
+							'flops',
134
+							'i',
135
+							'Inf',
136
+							'inputname',
137
+							'j',
138
+							'NaN',
139
+							'nargin',
140
+							'nargout',
141
+							'pi',
142
+							'realmax',
143
+							'realmin',
144
+							'varargin',
145
+							'varargout',
146
+							'calendar',
147
+							'clock',
148
+							'cputime',
149
+							'date',
150
+							'datenum',
151
+							'datestr',
152
+							'datevec',
153
+							'eomday',
154
+							'etime',
155
+							'now',
156
+							'tic',
157
+							'toc',
158
+							'weekday',
159
+							'cat',
160
+							'diag',
161
+							'fliplr',
162
+							'flipud',
163
+							'repmat',
164
+							'reshape',
165
+							'rot90',
166
+							'tril',
167
+							'triu',
168
+							'compan',
169
+							'gallery',
170
+							'hadamard',
171
+							'hankel',
172
+							'hilb',
173
+							'invhilb',
174
+							'magic',
175
+							'pascal',
176
+							'toeplitz',
177
+							'wilkinson',
178
+							'abs',
179
+							'acos',
180
+							'acosh',
181
+							'acot',
182
+							'acoth',
183
+							'acsc',
184
+							'acsch',
185
+							'angle',
186
+							'asec',
187
+							'asech',
188
+							'asin',
189
+							'asinh',
190
+							'atan',
191
+							'atanh',
192
+							'atan2',
193
+							'ceil',
194
+							'complex',
195
+							'conj',
196
+							'cos',
197
+							'cosh',
198
+							'cot',
199
+							'coth',
200
+							'csc',
201
+							'csch',
202
+							'exp',
203
+							'fix',
204
+							'floor',
205
+							'gcd',
206
+							'imag',
207
+							'lcm',
208
+							'log',
209
+							'log2',
210
+							'log10',
211
+							'mod',
212
+							'nchoosek',
213
+							'real',
214
+							'rem',
215
+							'round',
216
+							'sec',
217
+							'sech',
218
+							'sign',
219
+							'sin',
220
+							'sinh',
221
+							'sqrt',
222
+							'tan',
223
+							'tanh',
224
+							'airy',
225
+							'besselh',
226
+							'besseli',
227
+							'besselk',
228
+							'besselj',
229
+							'Bessely',
230
+							'beta',
231
+							'betainc',
232
+							'betaln',
233
+							'ellipj',
234
+							'ellipke',
235
+							'erf',
236
+							'erfc',
237
+							'erfcx',
238
+							'erfiny',
239
+							'expint',
240
+							'factorial',
241
+							'gamma',
242
+							'gammainc',
243
+							'gammaln',
244
+							'legendre',
245
+							'pow2',
246
+							'rat',
247
+							'rats',
248
+							'cart2pol',
249
+							'cart2sph',
250
+							'pol2cart',
251
+							'sph2cart',
252
+							'abs',
253
+							'eval',
254
+							'real',
255
+							'strings',
256
+							'deblank',
257
+							'findstr',
258
+							'lower',
259
+							'strcat',
260
+							'strcmp',
261
+							'strcmpi',
262
+							'strjust',
263
+							'strmatch',
264
+							'strncmp',
265
+							'strrep',
266
+							'strtok',
267
+							'strvcat',
268
+							'symvar',
269
+							'texlabel',
270
+							'upper',
271
+							'char',
272
+							'int2str',
273
+							'mat2str',
274
+							'num2str',
275
+							'sprintf',
276
+							'sscanf',
277
+							'str2double',
278
+							'str2num',
279
+							'bin2dec',
280
+							'dec2bin',
281
+							'dec2hex',
282
+							'hex2dec',
283
+							'hex2num',
284
+							'fclose',
285
+							'fopen',
286
+							'fread',
287
+							'fwrite',
288
+							'fgetl',
289
+							'fgets',
290
+							'fprintf',
291
+							'fscanf',
292
+							'feof',
293
+							'ferror',
294
+							'frewind',
295
+							'fseek',
296
+							'ftell',
297
+							'sprintf',
298
+							'sscanf',
299
+							'dlmread',
300
+							'dlmwrite',
301
+							'hdf',
302
+							'imfinfo',
303
+							'imread',
304
+							'imwrite',
305
+							'textread',
306
+							'wk1read',
307
+							'wk1write',
308
+							'bitand',
309
+							'bitcmp',
310
+							'bitor',
311
+							'bitmax',
312
+							'bitset',
313
+							'bitshift',
314
+							'bitget',
315
+							'bitxor',
316
+							'fieldnames',
317
+							'getfield',
318
+							'rmfield',
319
+							'setfield',
320
+							'struct',
321
+							'struct2cell',
322
+							'class',
323
+							'isa',
324
+							'cell',
325
+							'cellfun',
326
+							'cellstr',
327
+							'cell2struct',
328
+							'celldisp',
329
+							'cellplot',
330
+							'num2cell',
331
+							'cat',
332
+							'flipdim',
333
+							'ind2sub',
334
+							'ipermute',
335
+							'ndgrid',
336
+							'ndims',
337
+							'permute',
338
+							'reshape',
339
+							'shiftdim',
340
+							'squeeze',
341
+							'sub2ind',
342
+							'cond',
343
+							'condeig',
344
+							'det',
345
+							'norm',
346
+							'null',
347
+							'orth',
348
+							'rank',
349
+							'rcond',
350
+							'rref',
351
+							'rrefmovie',
352
+							'subspace',
353
+							'trace',
354
+							'chol',
355
+							'inv',
356
+							'lscov',
357
+							'lu',
358
+							'nnls',
359
+							'pinv',
360
+							'qr',
361
+							'balance',
362
+							'cdf2rdf',
363
+							'eig',
364
+							'gsvd',
365
+							'hess',
366
+							'poly',
367
+							'qz',
368
+							'rsf2csf',
369
+							'schur',
370
+							'svd',
371
+							'expm',
372
+							'funm',
373
+							'logm',
374
+							'sqrtm',
375
+							'qrdelete',
376
+							'qrinsert',
377
+							'bar',
378
+							'barh',
379
+							'hist',
380
+							'hold',
381
+							'loglog',
382
+							'pie',
383
+							'plot',
384
+							'polar',
385
+							'semilogx',
386
+							'semilogy',
387
+							'subplot',
388
+							'bar3',
389
+							'bar3h',
390
+							'comet3',
391
+							'cylinder',
392
+							'fill3',
393
+							'plot3',
394
+							'quiver3',
395
+							'slice',
396
+							'sphere',
397
+							'stem3',
398
+							'waterfall',
399
+							'clabel',
400
+							'datetick',
401
+							'grid',
402
+							'gtext',
403
+							'legend',
404
+							'plotyy',
405
+							'title',
406
+							'xlabel',
407
+							'ylabel',
408
+							'zlabel',
409
+							'contour',
410
+							'contourc',
411
+							'contourf',
412
+							'hidden',
413
+							'meshc',
414
+							'mesh',
415
+							'peaks',
416
+							'surf',
417
+							'surface',
418
+							'surfc',
419
+							'surfl',
420
+							'trimesh',
421
+							'trisurf',
422
+							'coneplot',
423
+							'contourslice',
424
+							'isocaps',
425
+							'isonormals',
426
+							'isosurface',
427
+							'reducepatch',
428
+							'reducevolume',
429
+							'shrinkfaces',
430
+							'smooth3',
431
+							'stream2',
432
+							'stream3',
433
+							'streamline',
434
+							'surf2patch',
435
+							'subvolume',
436
+							'griddata',
437
+							'meshgrid',
438
+							'area',
439
+							'box',
440
+							'comet',
441
+							'compass',
442
+							'errorbar',
443
+							'ezcontour',
444
+							'ezcontourf',
445
+							'ezmesh',
446
+							'ezmeshc',
447
+							'ezplot',
448
+							'ezplot3',
449
+							'ezpolar',
450
+							'ezsurf',
451
+							'ezsurfc',
452
+							'feather',
453
+							'fill',
454
+							'fplot',
455
+							'pareto',
456
+							'pie3',
457
+							'plotmatrix',
458
+							'pcolor',
459
+							'rose',
460
+							'quiver',
461
+							'ribbon',
462
+							'stairs',
463
+							'scatter',
464
+							'scatter3',
465
+							'stem',
466
+							'convhull',
467
+							'delaunay',
468
+							'dsearch',
469
+							'inpolygon',
470
+							'polyarea',
471
+							'tsearch',
472
+							'voronoi',
473
+							'camdolly',
474
+							'camlookat',
475
+							'camorbit',
476
+							'campan',
477
+							'campos',
478
+							'camproj',
479
+							'camroll',
480
+							'camtarget',
481
+							'camup',
482
+							'camva',
483
+							'camzoom',
484
+							'daspect',
485
+							'pbaspect',
486
+							'view',
487
+							'viewmtx',
488
+							'xlim',
489
+							'ylim',
490
+							'zlim',
491
+							'camlight',
492
+							'diffuse',
493
+							'lighting',
494
+							'lightingangle',
495
+							'material',
496
+							'specular',
497
+							'brighten',
498
+							'bwcontr',
499
+							'caxis',
500
+							'colorbar',
501
+							'colorcube',
502
+							'colordef',
503
+							'colormap',
504
+							'graymon',
505
+							'hsv2rgb',
506
+							'rgb2hsv',
507
+							'rgbplot',
508
+							'shading',
509
+							'spinmap',
510
+							'surfnorm',
511
+							'whitebg',
512
+							'autumn',
513
+							'bone',
514
+							'contrast',
515
+							'cool',
516
+							'copper',
517
+							'flag',
518
+							'gray',
519
+							'hot',
520
+							'hsv',
521
+							'jet',
522
+							'lines',
523
+							'prism',
524
+							'spring',
525
+							'summer',
526
+							'winter',
527
+							'orient',
528
+							'print',
529
+							'printopt',
530
+							'saveas',
531
+							'copyobj',
532
+							'findobj',
533
+							'gcbo',
534
+							'gco',
535
+							'get',
536
+							'rotate',
537
+							'ishandle',
538
+							'set',
539
+							'axes',
540
+							'figure',
541
+							'image',
542
+							'light',
543
+							'line',
544
+							'patch',
545
+							'rectangle',
546
+							'surface',
547
+							'text Create',
548
+							'uicontext Create',
549
+							'capture',
550
+							'clc',
551
+							'clf',
552
+							'clg',
553
+							'close',
554
+							'gcf',
555
+							'newplot',
556
+							'refresh',
557
+							'saveas',
558
+							'axis',
559
+							'cla',
560
+							'gca',
561
+							'propedit',
562
+							'reset',
563
+							'rotate3d',
564
+							'selectmoveresize',
565
+							'shg',
566
+							'ginput',
567
+							'zoom',
568
+							'dragrect',
569
+							'drawnow',
570
+							'rbbox',
571
+							'dialog',
572
+							'errordlg',
573
+							'helpdlg',
574
+							'inputdlg',
575
+							'listdlg',
576
+							'msgbox',
577
+							'pagedlg',
578
+							'printdlg',
579
+							'questdlg',
580
+							'uigetfile',
581
+							'uiputfile',
582
+							'uisetcolor',
583
+							'uisetfont',
584
+							'warndlg',
585
+							'menu',
586
+							'menuedit',
587
+							'uicontextmenu',
588
+							'uicontrol',
589
+							'uimenu',
590
+							'dragrect',
591
+							'findfigs',
592
+							'gcbo',
593
+							'rbbox',
594
+							'selectmoveresize',
595
+							'textwrap',
596
+							'uiresume',
597
+							'uiwait Used',
598
+							'waitbar',
599
+							'waitforbuttonpress',
600
+							'convhull',
601
+							'cumprod',
602
+							'cumsum',
603
+							'cumtrapz',
604
+							'delaunay',
605
+							'dsearch',
606
+							'factor',
607
+							'inpolygon',
608
+							'max',
609
+							'mean',
610
+							'median',
611
+							'min',
612
+							'perms',
613
+							'polyarea',
614
+							'primes',
615
+							'prod',
616
+							'sort',
617
+							'sortrows',
618
+							'std',
619
+							'sum',
620
+							'trapz',
621
+							'tsearch',
622
+							'var',
623
+							'voronoi',
624
+							'del2',
625
+							'diff',
626
+							'gradient',
627
+							'corrcoef',
628
+							'cov',
629
+							'conv',
630
+							'conv2',
631
+							'deconv',
632
+							'filter',
633
+							'filter2',
634
+							'abs',
635
+							'angle',
636
+							'cplxpair',
637
+							'fft',
638
+							'fft2',
639
+							'fftshift',
640
+							'ifft',
641
+							'ifft2',
642
+							'ifftn',
643
+							'ifftshift',
644
+							'nextpow2',
645
+							'unwrap',
646
+							'cross',
647
+							'intersect',
648
+							'ismember',
649
+							'setdiff',
650
+							'setxor',
651
+							'union',
652
+							'unique',
653
+							'conv',
654
+							'deconv',
655
+							'poly',
656
+							'polyder',
657
+							'polyeig',
658
+							'polyfit',
659
+							'polyval',
660
+							'polyvalm',
661
+							'residue',
662
+							'roots',
663
+							'griddata',
664
+							'interp1',
665
+							'interp2',
666
+							'interp3',
667
+							'interpft',
668
+							'interpn',
669
+							'meshgrid',
670
+							'ndgrid',
671
+							'spline',
672
+							'dblquad',
673
+							'fmin',
674
+							'fmins',
675
+							'fzero',
676
+							'ode45,',
677
+							'ode113,',
678
+							'ode15s,',
679
+							'ode23s,',
680
+							'ode23t,',
681
+							'ode23tb',
682
+							'odefile',
683
+							'odeget',
684
+							'odeset',
685
+							'quad,',
686
+							'vectorize',
687
+							'spdiags',
688
+							'speye',
689
+							'sprand',
690
+							'sprandn',
691
+							'sprandsym',
692
+							'find',
693
+							'full',
694
+							'sparse',
695
+							'spconvert',
696
+							'nnz',
697
+							'nonzeros',
698
+							'nzmax',
699
+							'spalloc',
700
+							'spfun',
701
+							'spones',
702
+							'colmmd',
703
+							'colperm',
704
+							'dmperm',
705
+							'randperm',
706
+							'symmmd',
707
+							'symrcm',
708
+							'condest',
709
+							'normest',
710
+							'bicg',
711
+							'bicgstab',
712
+							'cgs',
713
+							'cholinc',
714
+							'cholupdate',
715
+							'gmres',
716
+							'luinc',
717
+							'pcg',
718
+							'qmr',
719
+							'qr',
720
+							'qrdelete',
721
+							'qrinsert',
722
+							'qrupdate',
723
+							'eigs',
724
+							'svds',
725
+							'spparms',
726
+							'lin2mu',
727
+							'mu2lin',
728
+							'sound',
729
+							'soundsc',
730
+							'auread',
731
+							'auwrite',
732
+							'wavread',
733
+							'wavwrite',
734
+							'[Keywords 6]',
735
+							'addpath',
736
+							'doc',
737
+							'docopt',
738
+							'help',
739
+							'helpdesk',
740
+							'helpwin',
741
+							'lasterr',
742
+							'lastwarn',
743
+							'lookfor',
744
+							'partialpath',
745
+							'path',
746
+							'pathtool',
747
+							'profile',
748
+							'profreport',
749
+							'rmpath',
750
+							'type',
751
+							'ver',
752
+							'version',
753
+							'web',
754
+							'what',
755
+							'whatsnew',
756
+							'which',
757
+							'clear',
758
+							'disp',
759
+							'length',
760
+							'load',
761
+							'mlock',
762
+							'munlock',
763
+							'openvar',
764
+							'pack',
765
+							'save',
766
+							'saveas',
767
+							'size',
768
+							'who',
769
+							'whos',
770
+							'workspace',
771
+							'clc',
772
+							'echo',
773
+							'format',
774
+							'home',
775
+							'more',
776
+							'cd',
777
+							'copyfile',
778
+							'delete',
779
+							'diary',
780
+							'dir',
781
+							'edit',
782
+							'fileparts',
783
+							'fullfile',
784
+							'inmem',
785
+							'ls',
786
+							'matlabroot',
787
+							'mkdir',
788
+							'open',
789
+							'pwd',
790
+							'tempdir',
791
+							'tempname',
792
+							'matlabrc',
793
+							'quit',
794
+)
795
+		),
796
+	'SYMBOLS' => array(
797
+		'...'
798
+		),
799
+	'CASE_SENSITIVE' => array(
800
+		GESHI_COMMENTS => true,
801
+		1 => false,
802
+		2 => false,
803
+		//3 => false,
804
+		//4 => false,
805
+		),
806
+	'STYLES' => array(
807
+		'KEYWORDS' => array(
808
+			1 => 'color: #0000FF;',
809
+            2 => 'color: #0000FF;'
810
+			),
811
+		'COMMENTS' => array(
812
+			1 => 'color: #228B22;',
813
+			),
814
+		'ESCAPE_CHAR' => array(
815
+            0 => ''
816
+			),
817
+		'BRACKETS' => array(
818
+            0 => 'color: #080;'
819
+			),
820
+		'STRINGS' => array(
821
+			//0 => 'color: #A020F0;'
822
+			),
823
+		'NUMBERS' => array(
824
+            0 => 'color: #33f;'
825
+			),
826
+		'METHODS' => array(
827
+            1 => '',
828
+            2 => ''
829
+			),
830
+		'SYMBOLS' => array(
831
+            0 => 'color: #080;'
832
+			),
833
+		'REGEXPS' => array(
834
+            0 => 'color:#A020F0;'
835
+			),
836
+		'SCRIPT' => array(
837
+            0 => ''
838
+			)
839
+		),
840
+	'URLS' => array(
841
+		1 => '',
842
+		2 => 'http://www.mathworks.com/access/helpdesk/help/techdoc/ref/{FNAME}.html',
843
+		3 => '',
844
+		4 => ''
845
+		),
846
+	'OOLANG' => true,
847
+	'OBJECT_SPLITTERS' => array(
848
+		1 => '.',
849
+		2 => '::'
850
+		),
851
+	'REGEXPS' => array(
852
+        0 => array(
853
+            GESHI_SEARCH => "([^\w])'([^\\n\\r']*)'",
854
+            GESHI_REPLACE => '\\2',
855
+            GESHI_MODIFIERS => '',
856
+            GESHI_BEFORE => "\\1'",
857
+            GESHI_AFTER => "'"
858
+		)
859
+		),
860
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
861
+	'SCRIPT_DELIMITERS' => array(
862
+		),
863
+	'HIGHLIGHT_STRICT_BLOCK' => array(
864
+		)
865
+);
866
+
867
+?>

+ 156 - 0
plugins/geshi/mirc.php View File

@@ -0,0 +1,156 @@
1
+<?php
2
+/*************************************************************************************
3
+ * mirc.php
4
+ * -----
5
+ * Author: Alberto 'Birckin' de Areba (Birckin@hotmail.com)
6
+ * Copyright: (c) 2006 Alberto de Areba
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2006/05/29
9
+ *
10
+ * mIRC Scripting language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2006/05/29 (1.0.0)
15
+ *   -  First Release
16
+ *
17
+ *************************************************************************************
18
+ *
19
+ *     This file is part of GeSHi.
20
+ *
21
+ *   GeSHi is free software; you can redistribute it and/or modify
22
+ *   it under the terms of the GNU General Public License as published by
23
+ *   the Free Software Foundation; either version 2 of the License, or
24
+ *   (at your option) any later version.
25
+ *
26
+ *   GeSHi is distributed in the hope that it will be useful,
27
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
28
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
29
+ *   GNU General Public License for more details.
30
+ *
31
+ *   You should have received a copy of the GNU General Public License
32
+ *   along with GeSHi; if not, write to the Free Software
33
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
34
+ *
35
+ ************************************************************************************/
36
+
37
+$language_data = array (
38
+	'LANG_NAME' => 'mIRC Scripting',
39
+	'COMMENT_SINGLE' => array(1 => ';'),
40
+  	'COMMENT_MULTI' => array(),
41
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
42
+	'QUOTEMARKS' => array(),
43
+	'ESCAPE_CHAR' => '',
44
+	'KEYWORDS' => array(
45
+		1 => array(
46
+        	'alias', 'menu', 'dialog',
47
+			),
48
+		2 => array(
49
+			'if', 'elseif', 'else', 'while', 'return', 'goto',
50
+			),
51
+		3 => array(
52
+			'action','ajinvite','alias','amsg','ame','anick','aop','auser',
53
+			'avoice','auto','autojoin','away','background','ban','beep',
54
+			'channel','clear','clearall','clipboard','close','closemsg','color',
55
+			'copy','creq','ctcp','ctcpreply','ctcps','dcc','dde','ddeserver',
56
+			'debug','describe','disable','disconnect','dlevel','dll','dns',
57
+			'dqwindow','ebeeps','echo','editbox','emailaddr','enable','events',
58
+			'exit','filter','findtext','finger','flash','flood','flush',
59
+			'flushini',	'font','fsend','fserve','fullname','ghide','gload',
60
+			'gmove','gopts','gplay','gpoint','gqreq','groups','gshow','gsize',
61
+			'gstop','gtalk','gunload','guser','help','hop','ignore','invite',
62
+			'join','kick','linesep','links','list','load','loadbuf','localinfo',
63
+			'log','me','mdi','mkdir','mnick','mode','msg','names','nick','noop',
64
+			'notice','notify','omsg','onotice','part','partall','pdcc',
65
+			'perform','ping','play','pop','protect','pvoice','qmsg','qme',
66
+			'query','queryrn','quit','raw','remini','remote','remove','rename',
67
+			'enwin','resetidle','rlevel','rmdir','run','ruser','save','savebuf',
68
+			'saveini','say','server','showmirc','sline','sound','speak','splay',
69
+			'sreq','strip','time',
70
+			//'timer[N/name]', //Handled as a regular expression below ...
71
+			'timers','timestamp','titlebar','tnick','tokenize','topic','ulist',
72
+			'unload','updatenl','url','uwho','window','winhelp','write',
73
+			'writeini','who','whois','whowas'
74
+			)
75
+		),
76
+	'SYMBOLS' => array(
77
+		'(', ')', '{', '}', '[', ']',
78
+		),
79
+	'CASE_SENSITIVE' => array(
80
+		GESHI_COMMENTS => true,
81
+		1 => false,
82
+		2 => false,
83
+		3 => false,
84
+		),
85
+	'STYLES' => array(
86
+		'KEYWORDS' => array(
87
+			1 => 'color: #994444;',
88
+			2 => 'color: #000000; font-weight: bold;',
89
+			3 => 'color: #990000; font-weight: bold;',
90
+			),
91
+		'COMMENTS' => array(
92
+			1 => 'color: #808080; font-style: italic;',
93
+			),
94
+		'ESCAPE_CHAR' => array(
95
+			),
96
+		'BRACKETS' => array(
97
+			0 => 'color: #FF0000;',
98
+			),
99
+		'STRINGS' => array(
100
+			),
101
+        'NUMBERS' => array(
102
+            0 => '',
103
+			),
104
+		'METHODS' => array(
105
+			),
106
+		'SYMBOLS' => array(
107
+			0 => 'color: #FF0000;',
108
+			),
109
+		'REGEXPS' => array(
110
+			0 => 'color: #000099;',
111
+			1 => 'color: #990000;',
112
+			2 => 'color: #888800;',
113
+			3 => 'color: #888800;',
114
+			4 => 'color: #000099;',
115
+			5 => 'color: #000099;',
116
+			6 => 'color: #990000; font-weight: bold;',
117
+			),
118
+		'SCRIPT' => array(
119
+			)
120
+		),
121
+	'URLS' => array(
122
+		1 => '',
123
+		2 => '',
124
+		3 => 'http://www.mirc.com/{FNAME}',
125
+		4 => ''
126
+		),
127
+	'OOLANG' => false,
128
+	'OBJECT_SPLITTERS' => array(
129
+		),
130
+	'REGEXPS' => array(
131
+		0 => '\$[a-zA-Z0-9]+',
132
+		1 => '(%|&amp;)[a-zA-Z0-9]+',
133
+		2 => '(#|@)[a-zA-Z0-9]+',
134
+		3 => '-[a-z\d]+',
135
+		4 => '(on|ctcp) (!|@|&amp;)?(\d|\*):[a-zA-Z]+:',
136
+		/*4 => array(
137
+			GESHI_SEARCH => '((on|ctcp) (!|@|&)?(\d|\*):(Action|Active|Agent|AppActive|Ban|Chat|Close|Connect|Ctcp|CtcpReply|DccServer|DeHelp|DeOp|DeVoice|Dialog|Dns|Error|Exit|FileRcvd|FileSent|GetFail|Help|Hotlink|Input|Invite|Join|KeyDown|KeyUp|Kick|Load|Logon|MidiEnd|Mode|Mp3End|Nick|NoSound|Notice|Notify|Op|Open|Part|Ping|Pong|PlayEnd|Quit|Raw|RawMode|SendFail|Serv|ServerMode|ServerOp|Signal|Snotice|Start|Text|Topic|UnBan|Unload|Unotify|User|Mode|Voice|Wallops|WaveEnd):)',
138
+			GESHI_REPLACE => '\\1',
139
+			GESHI_MODIFIERS => 'i',
140
+			GESHI_BEFORE => '',
141
+			GESHI_AFTER => ''
142
+			),*/
143
+        5 => 'raw (\d|\*):',
144
+		6 => '/timer(?!s\b)[0-9a-zA-Z_]+',
145
+		),
146
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
147
+	'SCRIPT_DELIMITERS' => array(
148
+		),
149
+	'HIGHLIGHT_STRICT_BLOCK' => array(
150
+		)
151
+);
152
+
153
+if (isset($this) && is_a($this, 'GeSHi')) {
154
+    $this->set_numbers_highlighting(false);
155
+}
156
+?>

+ 158 - 0
plugins/geshi/mpasm.php View File

@@ -0,0 +1,158 @@
1
+<?php
2
+/*************************************************************************************
3
+ * mpasm.php
4
+ * ---------
5
+ * Author: Bakalex (bakalex@gmail.com)
6
+ * Copyright: (c) 2004 Bakalex, Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/12/6
9
+ *
10
+ * Microchip Assembler language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/01/29 (1.0.0)
15
+ *  - First Release
16
+ *
17
+ * TODO (updated 2005/12/6)
18
+ * -------------------------
19
+ *
20
+ * For the moment, i've only added PIC16C6X registers. We need more (PIC16F/C7x/8x,
21
+ * PIC10, PIC18 and dsPIC registers).
22
+ * Must take a look to dsPIC instructions.
23
+ *
24
+ *************************************************************************************
25
+ *
26
+ *     This file is part of GeSHi.
27
+ *
28
+ *   GeSHi is free software; you can redistribute it and/or modify
29
+ *   it under the terms of the GNU General Public License as published by
30
+ *   the Free Software Foundation; either version 2 of the License, or
31
+ *   (at your option) any later version.
32
+ *
33
+ *   GeSHi is distributed in the hope that it will be useful,
34
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
35
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
36
+ *   GNU General Public License for more details.
37
+ *
38
+ *   You should have received a copy of the GNU General Public License
39
+ *   along with GeSHi; if not, write to the Free Software
40
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
41
+ *
42
+ ************************************************************************************/
43
+
44
+$language_data = array (
45
+	'LANG_NAME' => 'Microchip Assembler',
46
+	'COMMENT_SINGLE' => array(1 => ';'),
47
+	'COMMENT_MULTI' => array(),
48
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
49
+	'QUOTEMARKS' => array("'", '"'),
50
+	'ESCAPE_CHAR' => '',
51
+	'KEYWORDS' => array(
52
+		/*Directive Language*/
53
+		4 => array(
54
+			'CONSTANT', '#DEFINE', 'END', 'EQU', 'ERROR', 'ERROR-LEVEL', '#INCLUDE', 'LIST',
55
+			'MESSG', 'NOLIST', 'ORG', 'PAGE', 'PROCESSOR', 'RADIX', 'SET', 'SPACE', 'SUBTITLE',
56
+			'TITLE', '#UNDEFINE', 'VARIABLE', 'ELSE', 'ENDIF', 'ENDW', 'IF', 'IFDEF', 'IFNDEF',
57
+			'WHILE', '__BADRAM', 'CBLOCK', '__CONFIG', 'DA', 'DATA', 'DB', 'DE', 'DT', 'DW',
58
+			'ENDC', 'FILL', '__IDLOCS', '__MAXRAM', 'RES', 'ENDM', 'EXITM', 'EXPAND', 'LOCAL',
59
+			'MACRO', 'NOEXPAND', 'BANKISEL', 'BANKSEL', 'CODE', 'EXTERN', 'GLOBAL', 'IDATA',
60
+			'PAGESEL', 'UDATA', 'UDATA_ACS', 'UDATA_OVR', 'UDATA_SHR'
61
+		  ),
62
+		/* 12&14-bit Specific Instruction Set*/
63
+		1 => array(
64
+			'andlw', 'call', 'clrwdt', 'goto', 'iorlw', 'movlw', 'option', 'retlw', 'sleep',
65
+			'tris', 'xorlw', 'addwf', 'andwf', 'clrf', 'clrw', 'comf', 'decf', 'decfsz', 'incf',
66
+			'incfsz', 'iorwf', 'movf', 'movwf', 'nop', 'rlf', 'rrf', 'subwf', 'swapf', 'xorwf',
67
+			'bcf', 'bsf', 'btfsc', 'btfss',
68
+			'addlw', 'iorlw', 'retfie', 'return', 'sublw', 'xorlw', 'addcf', 'adddcf', 'b', 'bc', 'bdc',
69
+			'bnc', 'bndc', 'bnz', 'bz', 'clrc', 'clrdc', 'clrz', 'lcall', 'lgoto', 'movfw',
70
+			'negf', 'setc', 'setdc', 'setz', 'skpc', 'skpdc', 'skpnc', 'skpndc', 'skpnz', 'skpz',
71
+			'subcf', 'subdcf', 'tstf'
72
+		    ),
73
+		/* 16-bit Specific Instructiob Set */
74
+		2 => array (
75
+			'movfp', 'movlb', 'movlp', 'movpf', 'movwf', 'tablrd', 'tablwt', 'tlrd', 'tlwt',
76
+			'addwfc', 'daw', 'mullw', 'negw', 'rlcf', 'rlncf', 'rrcf', 'rrncf', 'setf', 'subwfb',
77
+			'btg', 'cpfseq', 'cpfsgt', 'cpfslt', 'dcfsnz', 'infsnz', 'tstfsz', 'lfsr', 'bnn',
78
+			'bnov', 'bra', 'pop', 'push', 'rcall', 'reset'
79
+		    ),
80
+		/* Registers */
81
+		3 => array(
82
+			'INDF', 'TMR0', 'PCL', 'STATUS', 'FSR', 'PORTA', 'PORTB', 'PORTC', 'PORTD', 'PORTE',
83
+			'PCLATH', 'INTCON', 'PIR1', 'PIR2', 'TMR1L', 'TMR1H', 'T1CON', 'TMR2', 'T2CON', 'TMR2L',
84
+			'TMR2H', 'TMR0H', 'TMR0L', 'SSPBUF', 'SSPCON', 'CCPR1L', 'CCPR1H', 'CCP1CON', 'RCSTA',
85
+			'TXREG', 'RCREG', 'CCPR2L', 'CCPR2H', 'CCP2CON', 'OPTION', 'TRISA', 'TRISB', 'TRISC',
86
+			'TRISD', 'TRISE', 'PIE2', 'PIE1', 'PR2', 'SSPADD', 'SSPSTAT', 'TXSTA', 'SPBRG'
87
+		    ),
88
+		/*Operands*/
89
+		5 => array(
90
+			 'high','low'
91
+			)
92
+		),
93
+	'SYMBOLS' => array(
94
+		'[', ']', '(', ')'
95
+		),
96
+	'CASE_SENSITIVE' => array(
97
+		GESHI_COMMENTS => true,
98
+		1 => false,
99
+		2 => false,
100
+		3 => false,
101
+		4 => false,
102
+		5 => false
103
+		),
104
+	'STYLES' => array(
105
+		'KEYWORDS' => array(
106
+			1 => 'color: #00007f;',
107
+			2 => 'color: #0000ff;',
108
+			3 => 'color: #007f00;',
109
+			4 => 'color: #46aa03; font-weight:bold;',
110
+			5 => 'color: #7f0000;',
111
+			6 => 'color: #7f0000;'
112
+			),
113
+		'COMMENTS' => array(
114
+			1 => 'color: #adadad; font-style: italic;',
115
+			),
116
+		'ESCAPE_CHAR' => array(
117
+			0 => 'color: #000099; font-weight: bold;'
118
+			),
119
+		'BRACKETS' => array(
120
+			0 => 'color: #66cc66;'
121
+			),
122
+		'STRINGS' => array(
123
+			0 => 'color: #7f007f;'
124
+			),
125
+		'NUMBERS' => array(
126
+			0 => 'color: #ff0000;'
127
+			),
128
+		'METHODS' => array(
129
+			),
130
+		'SYMBOLS' => array(
131
+			0 => 'color: #66cc66;'
132
+			),
133
+		'REGEXPS' => array(
134
+			0 => 'color: #ff0000;',
135
+			1 => 'color: #ff0000;'
136
+			),
137
+		'SCRIPT' => array(
138
+			)
139
+		),
140
+	'URLS' => array(
141
+		1 => '',
142
+		2 => ''
143
+		),
144
+	'OOLANG' => false,
145
+	'OBJECT_SPLITTERS' => array(
146
+		),
147
+	'REGEXPS' => array(
148
+		0 => '[0-9a-fA-F]{1,32}[hH]',
149
+		1 => '[01]{1,64}[bB]'
150
+		),
151
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
152
+	'SCRIPT_DELIMITERS' => array(
153
+		),
154
+	'HIGHLIGHT_STRICT_BLOCK' => array(
155
+		)
156
+);
157
+
158
+?>

+ 181 - 0
plugins/geshi/mysql.php View File

@@ -0,0 +1,181 @@
1
+<?php
2
+ /*************************************************************************************
3
+ * mysql.php
4
+ * ---------
5
+ * Author: Carl F�rstenberg (azatoth@gmail.com)
6
+ * Copyright: (c) 2005 Carl F�rstenberg, Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/06/04
9
+ *
10
+ * MySQL language file for GeSHi.
11
+ *
12
+ *
13
+ *************************************************************************************
14
+ *
15
+ * This file is part of GeSHi.
16
+ *
17
+ * GeSHi is free software; you can redistribute it and/or modify
18
+ * it under the terms of the GNU General Public License as published by
19
+ * the Free Software Foundation; either version 2 of the License, or
20
+ * (at your option) any later version.
21
+ *
22
+ * GeSHi is distributed in the hope that it will be useful,
23
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
+ * GNU General Public License for more details.
26
+ *
27
+ * You should have received a copy of the GNU General Public License
28
+ * along with GeSHi; if not, write to the Free Software
29
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30
+ *
31
+ ************************************************************************************/
32
+
33
+$language_data = array (
34
+  'LANG_NAME' => 'MySQL',
35
+  'COMMENT_SINGLE' => array(1 =>'--', 2 => '#'),
36
+  'COMMENT_MULTI' => array('/*' => '*/'),
37
+  'CASE_KEYWORDS' => 1,
38
+  'QUOTEMARKS' => array("'", '"', ''),
39
+  'ESCAPE_CHAR' => '\\',
40
+  'KEYWORDS' => array(
41
+  1 => array(
42
+  /* Mix */
43
+  'ALTER DATABASE', 'ALTER TABLE', 'CREATE DATABASE', 'CREATE INDEX', 'CREATE TABLE', 'DROP DATABASE',
44
+  'DROP INDEX', 'DROP TABLE', 'RENAME TABLE', 'DELETE', 'DO', 'HANDLER', 'INSERT', 'LOAD DATA INFILE',
45
+  'REPLACE', 'SELECT', 'TRUNCATE', 'UPDATE', 'DESCRIBE', 'USE', 'START TRANSACTION', 'COMMIT', 'ROLLBACK',
46
+  'SAVEPOINT', 'ROLLBACK TO SAVEPOINT', 'LOCK TABLES', 'UNLOCK_TABLES', 'SET TRANACTIONS', 'SET', 'SHOW',
47
+  'CREATE PROCEDURE', 'CREATE FUNCTION', 'ALTER PROCEDURE', 'ALTER FUNCTION', 'DROP PROCEDURE', 'DROP FUNCTION',
48
+  'SHOW CREATE PROCEDURE', 'SHOW CREATE FUNCTION', 'SHOW PROCEDURE STATUS', 'SHOW FUNCTION STATUS',
49
+  'CALL', 'BEGIN', 'END', 'DECLARE', 'CREATE ROUTINE', 'ALTER ROUTINE', 'CREATE', 'ALTER', 'DROP',
50
+  'PRIMARY KEY', 'VALUES', 'INTO', 'FROM',
51
+  'ANALYZE', 'BDB', 'BERKELEYDB', 'BTREE', 'BY', 'CASCADE', 'CHECK', 'COLUMN', 'COLUMNS', 'CONSTRAINT',
52
+  'CROSS', 'DATABASES', 'DELAYED', 'DISTINCT', 'DISTINCTROW', 'ENCLOSED', 'ERRORS', 'ESCAPED', 'EXISTS',
53
+  'EXPLAIN', 'FALSE', 'FIELDS', 'FORCE', 'FOREIGN', 'FULLTEXT', 'GEOMETRY', 'GRANT', 'GROUP', 'HASH',
54
+  'HAVING', 'HELP', 'HIGH_PRIORITY', 'IGNORE', 'INNER', 'INNODB', 'INTERVAL', 'JOIN', 'KEYS', 'KILL',
55
+  'LINES', 'LOW_PRIORITY', 'MASTER_SERVER_ID', 'MATCH', 'MIDDLEINT', 'MRG_MYISAM', 'NATURAL', 'OPTIMIZE',
56
+  'OPTION', 'OPTIONALLY', 'ORDER', 'OUTER', 'OUTFILE', 'PRIVILEGES', 'PURGE', 'READ', 'REFERENCES',
57
+  'REQUIRE', 'RESTRICT', 'RETURNS', 'REVOKE', 'RLIKE', 'RTREE', 'SOME', 'SONAME', 'SPATIAL', 'SQL_BIG_RESULT',
58
+  'SQL_CALC_FOUND_ROWS', 'SQL_SMALL_RESULT', 'SSL', 'STARTING', 'STRAIGHT_JOIN', 'STRIPED', 'TERMINATED',
59
+  'TRUE', 'TYPES', 'UNION', 'USAGE', 'USER_RESOURCES', 'USING', 'VARCHARACTER', 'WARNINGS', 'WHERE', 'WRITE',
60
+  /* Control Flow Functions */
61
+  'CASE', 'WHEN', 'THEN', 'ELSE', 'END',
62
+  /* String Functions */
63
+  'UNHEX', 'BIN', 'BIT_LENGTH', 'CHAR_LENGTH', 'CHARACTER_LENGTH', 'COMPRESS', 'CONCAT',
64
+  'CONCAT_WS', 'CONV', 'ELT', 'EXPORT_SET', 'FIELD', 'FIND_IN_SET', 'FORMAT', 'HEX',
65
+  'INSERT', 'INSTR', 'LCASE', 'LEFT', 'LENGTH', 'LOAD_FILE', 'LOCATE', 'LOWER', 'LPAD',
66
+  'LTRIM', 'MAKE_SET', 'MID', 'OCT', 'OCTET_LENGTH', 'ORD', 'POSITION', 'QUOTE', 'REPEAT',
67
+  'REPLACE', 'REVERSE', 'RIGHT', 'RPAD', 'RTRIM', 'SOUNDEX', 'SPACE', 'SUBSTRING',
68
+  'SUBSTRING_INDEX', 'TRIM', 'UCASE', 'UPPER', 'UNCOMPRESS', 'UNCOMPRESSD_LENGTH',
69
+  'MD5', 'SHA1',
70
+  /* Numeric Functions */
71
+  'ABS', 'ACOS', 'ASIN', 'ATAN', 'ATAN2', 'CEILING', 'CEIL', 'COS', 'COT', 'CRC32', 'DEGREES',
72
+  'EXP', 'FLOOR', 'LN', 'LOG', 'LOG2', 'LOG10', 'MOD', 'PI', 'POW', 'POWER', 'RADIANS', 'RAND',
73
+  'ROUND', 'SIGN', 'SIN', 'SQRT', 'TAN', 'TRUNCATE',
74
+  /* Date and Time Functions */
75
+  'ADDDATE', 'ADDTIME', 'CONVERT_TZ', 'CURDATE', 'CURRENT_DATE', 'CURTIME', 'CURRENT_TIME',
76
+  'CURRENT_TIMESTAMP', 'DATEDIFF', 'DATE_ADD', 'DATE_SUB', 'DATE_FORMAT', 'DAY',
77
+  'DAYNAME', 'DAYOFMONTH', 'DAYOFWEEK', 'DAYOFYEAR', 'EXTRACT', 'FROM_DAYS', 'FROM_UNIXTIME',
78
+  'GET_FORMAT', 'LAST_DAY', 'LOCALTIME', 'LOCALTIMESTAMP', 'MAKEDATE', 'MAKETIME',
79
+  'MICROSECOND', 'MONTHNAME', 'NOW', 'PERIOD_ADD', 'PERIOD_DIFF', 'QUARTER',
80
+  'SECOND', 'SEC_TO_TIME', 'STR_TO_DATE', 'SUBDATE', 'SUBTIME', 'SYSDATE', 'TIME', 'TIMEDIFF',
81
+  'TIMESTAMP', 'TIMESTAMPADD', 'TIMESTAMPDIFF', 'TIME_FORMAT', 'TIME_TO_SEC', 'TO_DAYS',
82
+  'UNIX_TIMESTAMP', 'UTC_DATE', 'UTC_TIME', 'UTC_TIMESTAMP', 'WEEKDAY', 'WEEKOFYEAR',
83
+  'YEARWEEK',
84
+
85
+   ),
86
+   2 => array(
87
+   'INTEGER', 'SMALLINT', 'DECIMAL', 'NUMERIC', 'FLOAT', 'REAL', 'DOUBLE PRECISION',
88
+   'DOUBLE', 'INT', 'DEC', 'BIT' ,'TINYINT', 'SMALLINT', 'MEDIUMINT', 'BIGINT',
89
+   'DATETIME', 'DATE', 'TIMESTAMP', 'TIME', 'YEAR',
90
+   'CHAR', 'VARCHAR', 'BINARY', 'CHARACTER VARYING', 'VARBINARY', 'TINYBLOB', 'TINYTEXT',
91
+   'BLOB', 'TEXT','MEDIUMBLOB', 'MEDIUMTEXT', 'LONGBLOB', 'LONGTEXT', 'ENUM', 'SET',
92
+   'SERIAL DEFAULT VALUE', 'SERIAL', 'FIXED'
93
+   ),
94
+   3 => array(
95
+   'ZEROFILL', 'NOT NULL', 'UNSIGNED', 'AUTO_INCREMENT', 'UNIQUE', 'NOT', 'NULL', 'CHARACTER SET', 'CHARSET',
96
+   'ASCII', 'UNICODE', 'NATIONAL', 'BOTH', 'LEADING', 'TRAILING','DEFAULT'
97
+   ),
98
+   4 => array(
99
+   'MICROSECOND', 'SECOND', 'MINUTE', 'HOUR', 'DAY', 'WEEK', 'MONTH', 'QUARTER', 'YEAR', 'SECOND_MICROSECOND',
100
+   'MINUTE_MICROSECOND', 'MINUTE_SECOND', 'HOUR_MICROSECOND', 'HOUR_SECOND', 'HOUR_MINUTE', 'DAY_MICROSECOND',
101
+   'DAY_SECOND', 'DAY_MINUTE', 'DAY_HOUR', 'YEAR_MONTH'
102
+   ),
103
+   5 => array(
104
+   'OR', 'XOR', 'AND', 'NOT', 'BETWEEN', 'IS', 'LIKE', 'REGEXP', 'IN', 'DIV',
105
+    'MOD', 'BINARY', 'COLLATE', 'LIMIT', 'OFFSET'
106
+   ),
107
+   ),
108
+   'SYMBOLS' => array(
109
+   ':=',
110
+   '||', 'OR', 'XOR',
111
+   '&&', 'AND',
112
+   'NOT',
113
+   'BETWEEN', 'CASE', 'WHEN', 'THEN', 'ELSE',
114
+   '=', '<=>', '>=', '>', '<=', '<', '<>', '!=', 'IS', 'LIKE', 'REGEXP', 'IN',
115
+   '|',
116
+   '&',
117
+   '<<', '>>',
118
+   '-', '+',
119
+   '*', '/', 'DIV', '%', 'MOD',
120
+   '^',
121
+   '-', '~',
122
+   '!',
123
+   'BINARY', 'COLLATE',
124
+   '(', ')',
125
+   ),
126
+   'CASE_SENSITIVE' => array(
127
+   GESHI_COMMENTS => false,
128
+   1 => false,
129
+   2 => false,
130
+   3 => false,
131
+   4 => false,
132
+   5 => false
133
+   ),
134
+   'STYLES' => array(
135
+   'KEYWORDS' => array(
136
+   1 => 'color: #993333; font-weight: bold;',
137
+   2 => 'color: #aa9933; font-weight: bold;',
138
+   3 => 'color: #aa3399; font-weight: bold;',
139
+   4 => 'color: #33aa99; font-weight: bold;',
140
+   5 => 'color: #993333; font-weight: bold;'
141
+   ),
142
+   'COMMENTS' => array(
143
+   'MULTI' => 'color: #808080; font-style: italic;',
144
+   1 => 'color: #808080; font-style: italic;',
145
+   2 => 'color: #808080; font-style: italic;'
146
+   ),
147
+   'ESCAPE_CHAR' => array(
148
+   0 => 'color: #000099; font-weight: bold;'
149
+   ),
150
+   'BRACKETS' => array(
151
+   0 => 'color: #66cc66;'
152
+   ),
153
+   'STRINGS' => array(
154
+   0 => 'color: #ff0000;'
155
+   ),
156
+   'NUMBERS' => array(
157
+   0 => 'color: #cc66cc;'
158
+   ),
159
+   'METHODS' => array(
160
+   ),
161
+   'SYMBOLS' => array(
162
+   0 => 'color: #66cc66;'
163
+   ),
164
+   'SCRIPT' => array(
165
+   ),
166
+   'REGEXPS' => array(
167
+   )
168
+   ),
169
+   'OOLANG' => false,
170
+   'OBJECT_SPLITTERS' => array(
171
+   ),
172
+   'REGEXPS' => array(
173
+   ),
174
+   'STRICT_MODE_APPLIES' => GESHI_NEVER,
175
+   'SCRIPT_DELIMITERS' => array(
176
+   ),
177
+   'HIGHLIGHT_STRICT_BLOCK' => array(
178
+   )
179
+);
180
+
181
+?>

+ 352 - 0
plugins/geshi/nsis.php View File

@@ -0,0 +1,352 @@
1
+<?php
2
+/*************************************************************************************
3
+ * nsis.php
4
+ * --------
5
+ * Author: deguix (cevo_deguix@yahoo.com.br), Tux (http://tux.a4.cz/)
6
+ * Copyright: (c) 2005 deguix, 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/12/03
9
+ *
10
+ * Nullsoft Scriptable Install System language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/12/03 (2.0.2)
15
+ *   - Updated to NSIS 2.11.
16
+ * 2005/06/17 (2.0.1)
17
+ *   - Updated to NSIS 2.07b0.
18
+ * 2005/04/05 (2.0.0)
19
+ *   - Updated to NSIS 2.06.
20
+ * 2004/11/27 (1.0.2)
21
+ *   - Added support for multiple object splitters
22
+ * 2004/10/27 (1.0.1)
23
+ *   - Added support for URLs
24
+ * 2004/08/05 (1.0.0)
25
+ *   - First Release
26
+ *
27
+ * TODO (updated 2004/11/27)
28
+ * -------------------------
29
+ *
30
+ *************************************************************************************
31
+ *
32
+ *     This file is part of GeSHi.
33
+ *
34
+ *   GeSHi is free software; you can redistribute it and/or modify
35
+ *   it under the terms of the GNU General Public License as published by
36
+ *   the Free Software Foundation; either version 2 of the License, or
37
+ *   (at your option) any later version.
38
+ *
39
+ *   GeSHi is distributed in the hope that it will be useful,
40
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
41
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
42
+ *   GNU General Public License for more details.
43
+ *
44
+ *   You should have received a copy of the GNU General Public License
45
+ *   along with GeSHi; if not, write to the Free Software
46
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
47
+ *
48
+ ************************************************************************************/
49
+
50
+$language_data = array (
51
+	'LANG_NAME' => 'NSIS',
52
+	'COMMENT_SINGLE' => array(1 => ';', 2 => '#'),
53
+	'COMMENT_MULTI' => array('/*' => '*/'),
54
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
55
+	'QUOTEMARKS' => array("'",'"','`'),
56
+	'ESCAPE_CHAR' => '',
57
+	'KEYWORDS' => array(
58
+		1 => array(
59
+			'!appendfile', '!addIncludeDir', '!addplugindir', '!cd', '!define', '!delfile', '!echo', '!else',
60
+			'!endif', '!error', '!execute', '!ifdef', '!ifmacrodef', '!ifmacrondef', '!ifndef', '!include',
61
+			'!insertmacro', '!macro', '!macroend', '!packhdr', '!tempfile', '!system', '!undef', '!verbose',
62
+			'!warning'
63
+		  ),
64
+		2 => array(
65
+			'AddBrandingImage', 'AllowRootDirInstall', 'AutoCloseWindow', 'BGFont',
66
+			'BGGradient', 'BrandingText', 'Caption', 'ChangeUI', 'CheckBitmap', 'CompletedText', 'ComponentText',
67
+			'CRCCheck', 'DetailsButtonText', 'DirShow', 'DirText', 'DirVar', 'DirVerify', 'FileErrorText',
68
+			'Function', 'FunctionEnd', 'Icon', 'InstallButtonText', 'InstallColors', 'InstallDir',
69
+			'InstallDirRegKey', 'InstProgressFlags', 'InstType', 'LangString', 'LangStringUP', 'LicenseBkColor',
70
+			'LicenseData', 'LicenseForceSelection', 'LicenseLangString', 'LicenseText', 'LoadLanguageFile',
71
+			'MiscButtonText', 'Name', 'OutFile', 'Page', 'PageEx', 'PageExEnd', 'Section',
72
+			'SectionEnd', 'SectionGroup', 'SectionGroupEnd', 'SetCompressor', 'SetFont', 'ShowInstDetails',
73
+			'ShowUninstDetails', 'SilentInstall', 'SilentUnInstall', 'SpaceTexts', 'SubCaption', 'SubSection',
74
+			'SubSectionEnd', 'UninstallButtonText', 'UninstallCaption', 'UninstallIcon', 'UninstallSubCaption',
75
+			'UninstallText', 'UninstPage', 'Var', 'VIAddVersionKey', 'VIProductVersion', 'WindowIcon', 'XPStyle'
76
+		  ),
77
+		3 => array(
78
+			'AddSize', 'AllowSkipFiles', 'AutoCloseWindow', 'FileBufSize', 'GetInstDirError', 'PageCallbacks',
79
+			'SectionIn', 'SetCompress', 'SetCompressionLevel', 'SetCompressorDictSize',
80
+			'SetDatablockOptimize', 'SetDateSave', 'SetOverwrite', 'SetPluginUnload'
81
+		  ),
82
+		4 => array(
83
+			'Abort', 'BringToFront', 'Call', 'CallInstDLL', 'ClearErrors', 'CopyFiles','CreateDirectory',
84
+			'CreateFont', 'CreateShortCut', 'Delete', 'DeleteINISec', 'DeleteINIStr', 'DeleteRegKey',
85
+			'DeleteRegValue', 'DetailPrint', 'EnableWindow', 'EnumRegKey', 'EnumRegValue', 'Exch', 'Exec',
86
+			'ExecShell', 'ExecWait', 'ExpandEnvStrings', 'File', 'FileClose', 'FileOpen', 'FileRead',
87
+			'FileReadByte', 'FileSeek', 'FileWrite', 'FileWriteByte', 'FindClose', 'FindFirst', 'FindNext',
88
+			'FindWindow', 'FlushINI', 'GetCurInstType', 'GetCurrentAddress', 'GetDlgItem', 'GetDLLVersion',
89
+			'GetDLLVersionLocal', 'GetErrorLevel', 'GetFileTime', 'GetFileTimeLocal', 'GetFullPathName',
90
+			'GetFunctionAddress', 'GetLabelAddress', 'GetTempFileName', 'GetWindowText', 'Goto', 'HideWindow',
91
+			'IfAbort', 'IfErrors', 'IfFileExists', 'IfRebootFlag', 'IfSilent', 'InitPluginsDir', 'InstTypeGetText',
92
+			'InstTypeSetText', 'IntCmp', 'IntCmpU', 'IntFmt', 'IntOp', 'IsWindow', 'LockWindow', 'LogSet', 'LogText',
93
+			'MessageBox', 'Nop', 'Pop', 'Push', 'Quit', 'ReadEnvStr', 'ReadIniStr', 'ReadRegDWORD', 'ReadRegStr',
94
+			'Reboot', 'RegDLL', 'Rename', 'ReserveFile', 'Return', 'RMDir', 'SearchPath', 'SectionGetFlags',
95
+			'SectionGetInstTypes', 'SectionGetSize', 'SectionGetText', 'SectionSetFlags', 'SectionSetInstTypes',
96
+			'SectionSetSize', 'SectionSetText', 'SendMessage', 'SetAutoClose', 'SetBrandingImage', 'SetCtlColors',
97
+			'SetCurInstType', 'SetDetailsPrint', 'SetDetailsView', 'SetErrorLevel', 'SetErrors', 'SetFileAttributes',
98
+			'SetOutPath', 'SetRebootFlag', 'SetShellVarContext', 'SetSilent', 'ShowWindow', 'Sleep', 'StrCmp',
99
+			'StrCpy', 'StrLen', 'UnRegDLL', 'WriteINIStr', 'WriteRegBin', 'WriteRegDWORD', 'WriteRegExpandStr',
100
+			'WriteRegStr', 'WriteUninstaller'
101
+		  ),
102
+		5 => array(
103
+			'all', 'alwaysoff', 'ARCHIVE', 'auto', 'both', 'bzip2', 'checkbox', 'components', 'current',
104
+			'custom', 'directory', 'false', 'FILE_ATTRIBUTE_ARCHIVE', 'FILE_ATTRIBUTE_HIDDEN', 'FILE_ATTRIBUTE_NORMAL',
105
+			'FILE_ATTRIBUTE_OFFLINE', 'FILE_ATTRIBUTE_READONLY', 'FILE_ATTRIBUTE_SYSTEM,TEMPORARY',
106
+			'FILE_ATTRIBUTE_TEMPORARY', 'force', 'HIDDEN', 'hide', 'HKCC', 'HKCR', 'HKCU', 'HKDD', 'HKEY_CLASSES_ROOT',
107
+			'HKEY_CURRENT_CONFIG', 'HKEY_CURRENT_USER', 'HKEY_DYN_DATA', 'HKEY_LOCAL_MACHINE', 'HKEY_PERFORMANCE_DATA',
108
+			'HKEY_USERS', 'HKLM', 'HKPD', 'HKU', 'IDABORT', 'IDCANCEL', 'IDIGNORE', 'IDNO', 'IDOK', 'IDRETRY', 'IDYES',
109
+			'ifdiff', 'ifnewer', 'instfiles', 'lastused', 'leave', 'license', 'listonly', 'lzma', 'manual',
110
+			'MB_ABORTRETRYIGNORE', 'MB_DEFBUTTON1', 'MB_DEFBUTTON2', 'MB_DEFBUTTON3', 'MB_DEFBUTTON4',
111
+			'MB_ICONEXCLAMATION', 'MB_ICONINFORMATION', 'MB_ICONQUESTION', 'MB_ICONSTOP', 'MB_OK', 'MB_OKCANCEL',
112
+			'MB_RETRYCANCEL', 'MB_RIGHT', 'MB_SETFOREGROUND', 'MB_TOPMOST', 'MB_YESNO', 'MB_YESNOCANCEL', 'nevershow',
113
+			'none', 'normal', 'off', 'OFFLINE', 'on', 'radiobuttons', 'READONLY', 'RO', 'SHCTX', 'SHELL_CONTEXT', 'show',
114
+			'silent', 'silentlog', 'SW_HIDE', 'SW_SHOWMAXIMIZED', 'SW_SHOWMINIMIZED', 'SW_SHOWNORMAL', 'SYSTEM',
115
+			'textonly', 'true', 'try', 'uninstConfirm', 'zlib'
116
+		   ),
117
+		6 => array(
118
+			'/a', '/components', '/COMPONENTSONLYONCUSTOM', '/CUSTOMSTRING', '/e', '/FILESONLY', '/FINAL', '/gray', '/GLOBAL',
119
+			'/ifempty', '/IMGID', '/ITALIC', '/lang', '/NOCUSTOM', '/nonfatal', '/NOUNLOAD', '/oname', '/r', '/REBOOTOK',
120
+			'/RESIZETOFIT', '/SOLID', '/SD', '/SHORT', '/silent', '/SOLID', '/STRIKE', '/TIMEOUT', '/TRIMCENTER', '/TRIMLEFT',
121
+			'/TRIMRIGHT', '/UNDERLINE', '/windows', '/x'
122
+		   ),
123
+		7 => array(
124
+			'.onGUIEnd', '.onGUIInit', '.onInit', '.onInstFailed', '.onInstSuccess', '.onMouseOverSection',
125
+			'.onRebootFailed', '.onSelChange', '.onUserAbort', '.onVerifyInstDir', 'un.onGUIEnd', 'un.onGUIInit',
126
+			'un.onInit', 'un.onRebootFailed', 'un.onUninstFailed', 'un.onUninstSuccess', 'un.onUserAbort'
127
+		   ),
128
+		8 => array(
129
+			'MUI.nsh', '"${NSISDIR}\Contrib\Modern UI\System.nsh"', 'MUI_SYSVERSION', 'MUI_ICON', 'MUI_UNICON',
130
+			'MUI_HEADERIMAGE', 'MUI_HEADERIMAGE_BITMAP', 'MUI_HEADERIMAGE_BITMAP_NOSTRETCH', 'MUI_HEADERIMAGE_BITMAP_RTL',
131
+			'MUI_HEADERIMAGE_BITMAP_RTL_NOSTRETCH', 'MUI_HEADERIMAGE_UNBITMAP', 'MUI_HEADERIMAGE_UNBITMAP_NOSTRETCH',
132
+			'MUI_HEADERIMAGE_UNBITMAP_RTL', 'MUI_HEADERIMAGE_UNBITMAP_RTL_NOSTRETCH', 'MUI_HEADERIMAGE_RIGHT', 'MUI_BGCOLOR',
133
+			'MUI_UI', 'MUI_UI_HEADERIMAGE', 'MUI_UI_HEADERIMAGE_RIGHT', 'MUI_UI_COMPONENTSPAGE_SMALLDESC',
134
+			'MUI_UI_COMPONENTSPAGE_NODESC', 'MUI_WELCOMEFINISHPAGE_BITMAP', 'MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH',
135
+			'MUI_WELCOMEFINISHPAGE_INI', 'MUI_UNWELCOMEFINISHPAGE_BITMAP', 'MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRETCH',
136
+			'MUI_UNWELCOMEFINISHPAGE_INI', 'MUI_LICENSEPAGE_BGCOLOR', 'MUI_COMPONENTSPAGE_CHECKBITMAP',
137
+			'MUI_COMPONENTSPAGE_SMALLDESC', 'MUI_COMPONENTSPAGE_NODESC', 'MUI_INSTFILESPAGE_COLORS',
138
+			'MUI_INSTFILESPAGE_PROGRESSBAR', 'MUI_FINISHPAGE_NOAUTOCLOSE', 'MUI_UNFINISHPAGE_NOAUTOCLOSE',
139
+			'MUI_ABORTWARNING', 'MUI_ABORTWARNING_TEXT', 'MUI_UNABORTWARNING', 'MUI_UNABORTWARNING_TEXT',
140
+			'MUI_PAGE_WELCOME', 'MUI_PAGE_LICENSE', 'MUI_PAGE_COMPONENTS', 'MUI_PAGE_DIRECTORY',
141
+			'MUI_PAGE_STARTMENU', 'MUI_PAGE_INSTFILES', 'MUI_PAGE_FINISH', 'MUI_UNPAGE_WELCOME',
142
+			'MUI_UNPAGE_CONFIRM', 'MUI_UNPAGE_LICENSE', 'MUI_UNPAGE_COMPONENTS', 'MUI_UNPAGE_DIRECTORY',
143
+			'MUI_UNPAGE_INSTFILES', 'MUI_UNPAGE_FINISH', 'MUI_PAGE_HEADER_TEXT', 'MUI_PAGE_HEADER_SUBTEXT',
144
+			'MUI_WELCOMEPAGE_TITLE', 'MUI_WELCOMEPAGE_TITLE_3LINES', 'MUI_WELCOMEPAGE_TEXT',
145
+			'MUI_LICENSEPAGE_TEXT_TOP', 'MUI_LICENSEPAGE_TEXT_BOTTOM', 'MUI_LICENSEPAGE_BUTTON',
146
+			'MUI_LICENSEPAGE_CHECKBOX', 'MUI_LICENSEPAGE_CHECKBOX_TEXT', 'MUI_LICENSEPAGE_RADIOBUTTONS',
147
+			'MUI_LICENSEPAGE_RADIOBUTTONS_TEXT_ACCEPT', 'MUI_LICENSEPAGE_RADIOBUTTONS_TEXT_DECLINE',
148
+			'MUI_COMPONENTSPAGE_TEXT_TOP', 'MUI_COMPONENTSPAGE_TEXT_COMPLIST', 'MUI_COMPONENTSPAGE_TEXT_INSTTYPE',
149
+			'MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_TITLE', 'MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_INFO',
150
+			'MUI_DIRECTORYPAGE_TEXT_TOP', 'MUI_DIRECTORYPAGE_TEXT_DESTINATION', 'MUI_DIRECTORYPAGE_VARIABLE',
151
+			'MUI_DIRECTORYPAGE_VERIFYONLEAVE', 'MUI_STARTMENU_WRITE_BEGIN', 'MUI_STARTMENU_WRITE_END',
152
+			'MUI_STARTMENUPAGE_TEXT_TOP', 'MUI_STARTMENUPAGE_TEXT_CHECKBOX', 'MUI_STARTMENUPAGE_DEFAULTFOLDER',
153
+			'MUI_STARTMENUPAGE_NODISABLE', 'MUI_STARTMENUPAGE_REGISTRY_ROOT', 'MUI_STARTMENUPAGE_REGISTRY_KEY',
154
+			'MUI_STARTMENUPAGE_REGISTRY_VALUENAME', 'MUI_INSTFILESPAGE_FINISHHEADER_TEXT',
155
+			'MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT', 'MUI_INSTFILESPAGE_ABORTHEADER_TEXT',
156
+			'MUI_INSTFILESPAGE_ABORTHEADER_SUBTEXT', 'MUI_FINISHPAGE_TITLE', 'MUI_FINISHPAGE_TITLE_3LINES',
157
+			'MUI_FINISHPAGE_TEXT', 'MUI_FINISHPAGE_TEXT_LARGE', 'MUI_FINISHPAGE_BUTTON',
158
+			'MUI_FINISHPAGE_TEXT_REBOOT', 'MUI_FINISHPAGE_TEXT_REBOOTNOW', 'MUI_FINISHPAGE_TEXT_REBOOTLATER',
159
+			'MUI_FINISHPAGE_RUN', 'MUI_FINISHPAGE_RUN_TEXT', 'MUI_FINISHPAGE_RUN_PARAMETERS',
160
+			'MUI_FINISHPAGE_RUN_NOTCHECKED', 'MUI_FINISHPAGE_RUN_FUNCTION', 'MUI_FINISHPAGE_SHOWREADME',
161
+			'MUI_FINISHPAGE_SHOWREADME_TEXT', 'MUI_FINISHPAGE_SHOWREADME_NOTCHECKED',
162
+			'MUI_FINISHPAGE_SHOWREADME_FUNCTION', 'MUI_FINISHPAGE_LINK', 'MUI_FINISHPAGE_LINK_LOCATION',
163
+			'MUI_FINISHPAGE_LINK_COLOR', 'MUI_FINISHPAGE_NOREBOOTSUPPORT', 'MUI_UNCONFIRMPAGE_TEXT_TOP',
164
+			'MUI_UNCONFIRMPAGE_TEXT_LOCATION', 'MUI_LANGUAGE', 'MUI_LANGDLL_DISPLAY',
165
+			'MUI_LANGDLL_REGISTRY_ROOT', 'MUI_LANGDLL_REGISTRY_KEY', 'MUI_LANGDLL_REGISTRY_VALUENAME',
166
+			'MUI_LANGDLL_WINDOWTITLE', 'MUI_LANGDLL_INFO', 'MUI_LANGDLL_ALWAYSSHOW',
167
+			'MUI_RESERVEFILE_INSTALLOPTIONS', 'MUI_RESERVEFILE_LANGDLL', 'MUI_FUNCTION_DESCRIPTION_BEGIN',
168
+			'MUI_DESCRIPTION_TEXT', 'MUI_FUNCTION_DESCRIPTION_END', 'MUI_INSTALLOPTIONS_EXTRACT',
169
+			'MUI_INSTALLOPTIONS_EXTRACT_AS', 'MUI_HEADER_TEXT', 'MUI_INSTALLOPTIONS_DISPLAY',
170
+			'MUI_INSTALLOPTIONS_INITDIALOG', 'MUI_INSTALLOPTIONS_SHOW',
171
+			'MUI_INSTALLOPTIONS_DISPLAY_RETURN', 'MUI_INSTALLOPTIONS_SHOW_RETURN',
172
+			'MUI_INSTALLOPTIONS_READ', 'MUI_INSTALLOPTIONS_WRITE',
173
+			'MUI_CUSTOMFUNCTION_GUIINIT', 'MUI_CUSTOMFUNCTION_GUIINIT',
174
+			'MUI_CUSTOMFUNCTION_UNGUIINIT', 'MUI_CUSTOMFUNCTION_ABORT', 'MUI_CUSTOMFUNCTION_UNABORT',
175
+			'MUI_PAGE_CUSTOMFUNCTION_PRE', 'MUI_PAGE_CUSTOMFUNCTION_SHOW', 'MUI_PAGE_CUSTOMFUNCTION_LEAVE',
176
+			'MUI_WELCOMEFINISHPAGE_CUSTOMFUNCTION_INIT'
177
+		   ),
178
+		9 => array(
179
+			'LogicLib.nsh', '${LOGICLIB}', 'LOGICLIB_STRCMP', 'LOGICLIB_INT64CMP', 'LOGICLIB_SECTIONCMP', '${If}', '${Unless}',
180
+			'${ElseIf}', '${ElseUnless}', '${Else}', '${EndIf}', '${EndUnless}', '${AndIf}', '${AndUnless}',
181
+			'${OrIf}', '${OrUnless}', '${IfThen}', '${IfCmd}', '${Select}', '${Case2}', '${Case3}',
182
+			'${Case4}', '${Case5}', '${CaseElse}', '${Default}', '${EndSelect}', '${Switch}',
183
+			'${Case}', '${EndSwitch}', '${Do}', '${DoWhile}', '${UntilWhile}', '${Continue}', '${Break}',
184
+			'${Loop}', '${LoopWhile}', '${LoopUntil}', '${While}', '${ExitWhile}', '${EndWhile}', '${For}',
185
+			'${ForEach}', '${ExitFor}', '${Next}', '${Abort}', '${Errors}', '${RebootFlag}', '${Silent}',
186
+			'${FileExists}', '${Cmd}', '${SectionIsSelected}', '${SectionIsSectionGroup}',
187
+			'${SectionIsSectionGroupEnd}', '${SectionIsBold}', '${SectionIsReadOnly}',
188
+			'${SectionIsExpanded}', '${SectionIsPartiallySelected}'
189
+		   ),
190
+		10 => array(
191
+			'StrFunc.nsh', '${STRFUNC}', '${StrCase}', '${StrClb}', '${StrIOToNSIS}', '${StrLoc}', '${StrNSISToIO}', '${StrRep}',
192
+			'${StrSort}', '${StrStr}', '${StrStrAdv}', '${StrTok}', '${StrTrimNewLines}'
193
+		   ),
194
+		11 => array(
195
+			'UpgradeDLL.nsh', 'UPGRADEDLL_INCLUDED', 'UpgradeDLL'
196
+		   ),
197
+		12 => array(
198
+			'Sections.nsh', 'SECTIONS_INCLUDED', '${SF_SELECTED}', '${SF_SECGRP}', '${SF_SUBSEC}', '${SF_SECGRPEND}',
199
+			'${SF_SUBSECEND}', '${SF_BOLD}', '${SF_RO}', '${SF_EXPAND}', '${SF_PSELECTED}', '${SF_TOGGLED}',
200
+			'${SF_NAMECHG}', '${SECTION_OFF}', 'SelectSection', 'UnselectSection', 'ReverseSection',
201
+			'StartRadioButtons', 'RadioButton', 'EndRadioButtons', '${INSTTYPE_1}', '${INSTTYPE_1}', '${INSTTYPE_2}',
202
+			'${INSTTYPE_3}', '${INSTTYPE_4}', '${INSTTYPE_5}', '${INSTTYPE_6}', '${INSTTYPE_7}', '${INSTTYPE_8}',
203
+			'${INSTTYPE_9}', '${INSTTYPE_10}', '${INSTTYPE_11}', '${INSTTYPE_12}', '${INSTTYPE_13}', '${INSTTYPE_14}',
204
+			'${INSTTYPE_15}', '${INSTTYPE_16}', '${INSTTYPE_17}', '${INSTTYPE_18}', '${INSTTYPE_19}', '${INSTTYPE_20}',
205
+			'${INSTTYPE_21}', '${INSTTYPE_22}', '${INSTTYPE_23}', '${INSTTYPE_24}', '${INSTTYPE_25}', '${INSTTYPE_26}',
206
+			'${INSTTYPE_27}', '${INSTTYPE_28}', '${INSTTYPE_29}', '${INSTTYPE_30}', '${INSTTYPE_31}', '${INSTTYPE_32}',
207
+			'SetSectionInInstType', 'ClearSectionInInstType', 'SetSectionFlag', 'ClearSectionFlag', 'SectionFlagIsSet'
208
+		   ),
209
+		13 => array(
210
+			'Colors.nsh', 'WHITE', 'BLACK', 'YELLOW', 'RED', 'GREEN', 'BLUE', 'MAGENTA', 'CYAN', 'rgb2hex'
211
+		   ),
212
+		14 => array(
213
+			'FileFunc.nsh', '${Locate}', '${GetSize}', '${DriveSpace}', '${GetDrives}', '${GetTime}', '${GetFileAttributes}', '${GetFileVersion}', '${GetExeName}', '${GetExePath}', '${GetParameters}', '${GetOptions}', '${GetRoot}', '${GetParent}', '${GetFileName}', '${GetBaseName}', '${GetFileExt}', '${BannerTrimPath}', '${DirState}', '${RefreshShellIcons}'
214
+		   ),
215
+		15 => array(
216
+			'TextFunc.nsh', '${LineFind}', '${LineRead}', '${FileReadFromEnd}', '${LineSum}', '${FileJoin}', '${TextCompare}', '${ConfigRead}', '${ConfigWrite}', '${FileRecode}', '${TrimNewLines}'
217
+		   ),
218
+		16 => array(
219
+			'WordFunc.nsh', '${WordFind}', '${WordFind2X}', '${WordFind3X}', '${WordReplace}', '${WordAdd}', '${WordInsert}', '${StrFilter}', '${VersionCompare}', '${VersionConvert}'
220
+		   )
221
+	),
222
+	'SYMBOLS' => array(
223
+		),
224
+	'CASE_SENSITIVE' => array(
225
+		GESHI_COMMENTS => true,
226
+		1 => false,
227
+		2 => false,
228
+		3 => false,
229
+		4 => false,
230
+		5 => false,
231
+		6 => false,
232
+		7 => false,
233
+		8 => false,
234
+		9 => false,
235
+		10 => false,
236
+		11 => false,
237
+		12 => false,
238
+		13 => false,
239
+		14 => false,
240
+		15 => false,
241
+		16 => false
242
+		),
243
+	'STYLES' => array(
244
+		'KEYWORDS' => array(
245
+			1 => 'color: #000066; font-weight:bold;',
246
+			2 => 'color: #000066;',
247
+			3 => 'color: #003366;',
248
+			4 => 'color: #000099;',
249
+			5 => 'color: #ff6600;',
250
+			6 => 'color: #ff6600;',
251
+			7 => 'color: #006600;',
252
+			8 => 'color: #006600;',
253
+			9 => 'color: #006600;',
254
+			10 => 'color: #006600;',
255
+			11 => 'color: #006600;',
256
+			12 => 'color: #006600;',
257
+			13 => 'color: #006600;',
258
+			14 => 'color: #006600;',
259
+			15 => 'color: #006600;',
260
+			16 => 'color: #006600;'
261
+			),
262
+		'COMMENTS' => array(
263
+			1 => 'color: #666666; font-style: italic;',
264
+			2 => 'color: #666666; font-style: italic;',
265
+			'MULTI' => 'color: #666666; font-style: italic;'
266
+			),
267
+		'ESCAPE_CHAR' => array(
268
+			0 => 'color: #660066; font-weight: bold;'
269
+			),
270
+		'BRACKETS' => array(
271
+			0 => ''
272
+			),
273
+		'STRINGS' => array(
274
+			0 => 'color: #660066;'
275
+			),
276
+		'NUMBERS' => array(
277
+			0 => ''
278
+			),
279
+		'METHODS' => array(
280
+			0 => ''
281
+			),
282
+		'SYMBOLS' => array(
283
+			0 => ''
284
+			),
285
+		'REGEXPS' => array(
286
+			0 => 'color: #660000;',
287
+			1 => 'color: #660000;',
288
+			2 => 'color: #660000;',
289
+			3 => 'color: #660000;',
290
+			4 => 'color: #660000;',
291
+			5 => 'color: #660000;',
292
+			6 => 'color: #660000;',
293
+			7 => 'color: #000099;',
294
+			8 => 'color: #003399;'
295
+			),
296
+		'SCRIPT' => array(
297
+			0 => ''
298
+			)
299
+		),
300
+	'URLS' => array(
301
+		0 => '',
302
+		1 => '',
303
+		2 => '',
304
+		3 => '',
305
+		4 => '',
306
+		5 => '',
307
+		6 => '',
308
+		7 => '',
309
+		8 => '',
310
+		9 => '',
311
+		10 => '',
312
+		11 => '',
313
+		12 => '',
314
+		13 => '',
315
+		14 => '',
316
+		15 => '',
317
+		16 => ''
318
+		),
319
+	'OOLANG' => false,
320
+	'OBJECT_SPLITTERS' => array(
321
+		),
322
+	'REGEXPS' => array(
323
+		0 => '\$\$',
324
+		1 => '\$\\r',
325
+		2 => '\$\\n',
326
+		3 => '\$\\t',
327
+		4 => '\$[a-zA-Z0-9_]+',
328
+		5 => '\$\{.{1,256}\}',
329
+		6 => '\$\\\(.{1,256}\\\)',
330
+		7 => array(
331
+			GESHI_SEARCH => '([^:/\\\*\?\"\<\>\|\s]*?)(::)([^:/\\\*\?\"\<\>\|\s]*?)',
332
+			GESHI_REPLACE => '\\1',
333
+			GESHI_MODIFIERS => '',
334
+			GESHI_BEFORE => '',
335
+			GESHI_AFTER => '\\2\\3'
336
+			),
337
+		8 => array(
338
+			GESHI_SEARCH => '([^:/\\\*\?\"\<\>\|\s]*?)(::)([^:/\\\*\?\"\<\>\|]*?\s)',
339
+			GESHI_REPLACE => '\\3',
340
+			GESHI_MODIFIERS => '',
341
+			GESHI_BEFORE => '\\1\\2',
342
+			GESHI_AFTER => ''
343
+			)
344
+		),
345
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
346
+	'SCRIPT_DELIMITERS' => array(
347
+		),
348
+	'HIGHLIGHT_STRICT_BLOCK' => array(
349
+		)
350
+);
351
+
352
+?>

+ 239 - 0
plugins/geshi/objc.php View File

@@ -0,0 +1,239 @@
1
+<?php
2
+/*************************************************************************************
3
+ * objc.php
4
+ * --------
5
+ * Author: M. Uli Kusterer (witness.of.teachtext@gmx.net)
6
+ * Copyright: (c) 2004 M. Uli Kusterer, Nigel McNie (http://qbnz.com/highlighter/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/06/04
9
+ *
10
+ * Objective C language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2004/11/27 (1.0.0)
15
+ *   -  First Release
16
+ *
17
+ * TODO (updated 2004/11/27)
18
+ * -------------------------
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *     This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+$language_data = array (
41
+	'LANG_NAME' => 'Objective C',
42
+	'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
43
+	'COMMENT_MULTI' => array('/*' => '*/'),
44
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
45
+	'QUOTEMARKS' => array("'", '"'),
46
+	'ESCAPE_CHAR' => '\\',
47
+	'KEYWORDS' => array(
48
+		1 => array(
49
+			'if', 'return', 'while', 'case', 'continue', 'default',
50
+			'do', 'else', 'for', 'switch', 'goto'
51
+			),
52
+		2 => array(
53
+			'NULL', 'false', 'break', 'true', 'enum', 'nil', 'Nil', 'errno', 'EDOM',
54
+			'ERANGE', 'FLT_RADIX', 'FLT_ROUNDS', 'FLT_DIG', 'DBL_DIG', 'LDBL_DIG',
55
+			'FLT_EPSILON', 'DBL_EPSILON', 'LDBL_EPSILON', 'FLT_MANT_DIG', 'DBL_MANT_DIG',
56
+			'LDBL_MANT_DIG', 'FLT_MAX', 'DBL_MAX', 'LDBL_MAX', 'FLT_MAX_EXP', 'DBL_MAX_EXP',
57
+			'LDBL_MAX_EXP', 'FLT_MIN', 'DBL_MIN', 'LDBL_MIN', 'FLT_MIN_EXP', 'DBL_MIN_EXP',
58
+			'LDBL_MIN_EXP', 'CHAR_BIT', 'CHAR_MAX', 'CHAR_MIN', 'SCHAR_MAX', 'SCHAR_MIN',
59
+			'UCHAR_MAX', 'SHRT_MAX', 'SHRT_MIN', 'USHRT_MAX', 'INT_MAX', 'INT_MIN',
60
+			'UINT_MAX', 'LONG_MAX', 'LONG_MIN', 'ULONG_MAX', 'HUGE_VAL', 'SIGABRT',
61
+			'SIGFPE', 'SIGILL', 'SIGINT', 'SIGSEGV', 'SIGTERM', 'SIG_DFL', 'SIG_ERR',
62
+			'SIG_IGN', 'BUFSIZ', 'EOF', 'FILENAME_MAX', 'FOPEN_MAX', 'L_tmpnam', 'NULL',
63
+			'SEEK_CUR', 'SEEK_END', 'SEEK_SET', 'TMP_MAX', 'stdin', 'stdout', 'stderr',
64
+			'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC'
65
+			),
66
+		3 => array(
67
+			'printf', 'fprintf', 'snprintf', 'sprintf', 'assert',
68
+			'isalnum', 'isalpha', 'isdigit', 'iscntrl', 'isgraph', 'islower', 'isprint',
69
+			'ispunct', 'isspace', 'ispunct', 'isupper', 'isxdigit', 'tolower', 'toupper',
70
+			'exp', 'log', 'log10', 'pow', 'sqrt', 'ceil', 'floor', 'fabs', 'ldexp',
71
+			'frexp', 'modf', 'fmod', 'sin', 'cos', 'tan', 'asin', 'acos', 'atan', 'atan2',
72
+			'sinh', 'cosh', 'tanh', 'setjmp', 'longjmp', 'asin', 'acos', 'atan', 'atan2',
73
+			'va_start', 'va_arg', 'va_end', 'offsetof', 'sizeof', 'fopen', 'freopen',
74
+			'fflush', 'fclose', 'remove', 'rename', 'tmpfile', 'tmpname', 'setvbuf',
75
+			'setbuf', 'vfprintf', 'vprintf', 'vsprintf', 'fscanf', 'scanf', 'sscanf',
76
+			'fgetc', 'fgets', 'fputc', 'fputs', 'getc', 'getchar', 'gets', 'putc',
77
+			'putchar', 'puts', 'ungetc', 'fread', 'fwrite', 'fseek', 'ftell', 'rewind',
78
+			'fgetpos', 'fsetpos', 'clearerr', 'feof', 'ferror', 'perror', 'abs', 'labs',
79
+			'div', 'ldiv', 'atof', 'atoi', 'atol', 'strtod', 'strtol', 'strtoul', 'calloc',
80
+			'malloc', 'realloc', 'free', 'abort', 'exit', 'atexit', 'system', 'getenv',
81
+			'bsearch', 'qsort', 'rand', 'srand', 'strcpy', 'strncpy', 'strcat', 'strncat',
82
+			'strcmp', 'strncmp', 'strcoll', 'strchr', 'strrchr', 'strspn', 'strcspn',
83
+			'strpbrk', 'strstr', 'strlen', 'strerror', 'strtok', 'strxfrm', 'memcpy',
84
+			'memmove', 'memcmp', 'memchr', 'memset', 'clock', 'time', 'difftime', 'mktime',
85
+			'asctime', 'ctime', 'gmtime', 'localtime', 'strftime'
86
+			),
87
+		4 => array(   // Data types:
88
+			'auto', 'char', 'const', 'double',  'float', 'int', 'long',
89
+			'register', 'short', 'signed', 'sizeof', 'static', 'string', 'struct',
90
+			'typedef', 'union', 'unsigned', 'void', 'volatile', 'extern', 'jmp_buf',
91
+			'signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t', 'FILE', 'fpos_t',
92
+			'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm',
93
+			// OpenStep/GNUstep/Cocoa:
94
+			'SEL', 'id', 'NSRect', 'NSRange', 'NSPoint', 'NSZone', 'Class', 'IMP', 'BOOL',
95
+			// OpenStep/GNUstep/Cocoa @identifiers
96
+			'@selector', '@class', '@protocol', '@interface', '@implementation', '@end',
97
+			'@private', '@protected', '@public', '@try', '@throw', '@catch', '@finally',
98
+			'@encode', '@defs', '@synchronized'
99
+			),
100
+        5 => array( // OpenStep/GNUstep/Cocoa Foundation
101
+			'NSAppleEventDescriptor', 'NSNetService', 'NSAppleEventManager',
102
+			'NSNetServiceBrowser', 'NSAppleScript', 'NSNotification', 'NSArchiver',
103
+			'NSNotificationCenter', 'NSArray', 'NSNotificationQueue', 'NSAssertionHandler',
104
+			'NSNull', 'NSAttributedString', 'NSNumber', 'NSAutoreleasePool',
105
+			'NSNumberFormatter', 'NSBundle', 'NSObject', 'NSCachedURLResponse',
106
+			'NSOutputStream', 'NSCalendarDate', 'NSPipe', 'NSCharacterSet', 'NSPort',
107
+			'NSClassDescription', 'NSPortCoder', 'NSCloneCommand', 'NSPortMessage',
108
+			'NSCloseCommand', 'NSPortNameServer', 'NSCoder', 'NSPositionalSpecifier',
109
+			'NSConditionLock', 'NSProcessInfo', 'NSConnection', 'NSPropertyListSerialization',
110
+			'NSCountCommand', 'NSPropertySpecifier', 'NSCountedSet', 'NSProtocolChecker',
111
+			'NSCreateCommand', 'NSProxy', 'NSData', 'NSQuitCommand', 'NSDate',
112
+			'NSRandomSpecifier', 'NSDateFormatter', 'NSRangeSpecifier', 'NSDecimalNumber',
113
+			'NSRecursiveLock', 'NSDecimalNumberHandler', 'NSRelativeSpecifier',
114
+			'NSDeleteCommand', 'NSRunLoop', 'NSDeserializer', 'NSScanner', 'NSDictionary',
115
+			'NSScriptClassDescription', 'NSDirectoryEnumerator', 'NSScriptCoercionHandler',
116
+			'NSDistantObject', 'NSScriptCommand', 'NSDistantObjectRequest',
117
+			'NSScriptCommandDescription', 'NSDistributedLock', 'NSScriptExecutionContext',
118
+			'NSDistributedNotificationCenter', 'NSScriptObjectSpecifier', 'NSEnumerator',
119
+			'NSScriptSuiteRegistry', 'NSError', 'NSScriptWhoseTest', 'NSException',
120
+			'NSSerializer', 'NSExistsCommand', 'NSSet', 'NSFileHandle', 'NSSetCommand',
121
+			'NSFileManager', 'NSSocketPort', 'NSFormatter', 'NSSocketPortNameServer',
122
+			'NSGetCommand', 'NSSortDescriptor', 'NSHost', 'NSSpecifierTest', 'NSHTTPCookie',
123
+			'NSSpellServer', 'NSHTTPCookieStorage', 'NSStream', 'NSHTTPURLResponse',
124
+			'NSString', 'NSIndexSet', 'NSTask', 'NSIndexSpecifier', 'NSThread',
125
+			'NSInputStream', 'NSTimer', 'NSInvocation', 'NSTimeZone', 'NSKeyedArchiver',
126
+			'NSUnarchiver', 'NSKeyedUnarchiver', 'NSUndoManager', 'NSLock',
127
+			'NSUniqueIDSpecifier', 'NSLogicalTest', 'NSURL', 'NSMachBootstrapServer',
128
+			'NSURLAuthenticationChallenge', 'NSMachPort', 'NSURLCache', 'NSMessagePort',
129
+			'NSURLConnection', 'NSMessagePortNameServer', 'NSURLCredential',
130
+			'NSMethodSignature', 'NSURLCredentialStorage', 'NSMiddleSpecifier',
131
+			'NSURLDownload', 'NSMoveCommand', 'NSURLHandle', 'NSMutableArray',
132
+			'NSURLProtectionSpace', 'NSMutableAttributedString', 'NSURLProtocol',
133
+			'NSMutableCharacterSet', 'NSURLRequest', 'NSMutableData', 'NSURLResponse',
134
+			'NSMutableDictionary', 'NSUserDefaults', 'NSMutableIndexSet', 'NSValue',
135
+			'NSMutableSet', 'NSValueTransformer', 'NSMutableString', 'NSWhoseSpecifier',
136
+			'NSMutableURLRequest', 'NSXMLParser', 'NSNameSpecifier'
137
+		),
138
+		6 => array( // OpenStep/GNUstep/Cocoa AppKit
139
+			'NSActionCell', 'NSOpenGLPixelFormat', 'NSAffineTransform', 'NSOpenGLView',
140
+			'NSAlert', 'NSOpenPanel', 'NSAppleScript Additions', 'NSOutlineView',
141
+			'NSApplication', 'NSPageLayout', 'NSArrayController', 'NSPanel',
142
+			'NSATSTypesetter', 'NSParagraphStyle', 'NSPasteboard', 'NSBezierPath',
143
+			'NSPDFImageRep', 'NSBitmapImageRep', 'NSPICTImageRep', 'NSBox', 'NSPopUpButton',
144
+			'NSBrowser', 'NSPopUpButtonCell', 'NSBrowserCell', 'NSPrinter', 'NSPrintInfo',
145
+			'NSButton', 'NSPrintOperation', 'NSButtonCell', 'NSPrintPanel', 'NSCachedImageRep',
146
+			'NSProgressIndicator', 'NSCell', 'NSQuickDrawView', 'NSClipView', 'NSResponder',
147
+			'NSRulerMarker', 'NSColor', 'NSRulerView', 'NSColorList', 'NSSavePanel',
148
+			'NSColorPanel', 'NSScreen', 'NSColorPicker', 'NSScroller', 'NSColorWell',
149
+			'NSScrollView', 'NSComboBox', 'NSSearchField', 'NSComboBoxCell',
150
+			'NSSearchFieldCell', 'NSControl', 'NSSecureTextField', 'NSController',
151
+			'NSSecureTextFieldCell', 'NSCursor', 'NSSegmentedCell', 'NSCustomImageRep',
152
+			'NSSegmentedControl', 'NSDocument', 'NSShadow', 'NSDocumentController',
153
+			'NSSimpleHorizontalTypesetter', 'NSDrawer', 'NSSlider', 'NSEPSImageRep',
154
+			'NSSliderCell', 'NSEvent', 'NSSound', 'NSFileWrapper', 'NSSpeechRecognizer',
155
+			'NSFont', 'NSSpeechSynthesizer', 'NSFontDescriptor', 'NSSpellChecker',
156
+			'NSFontManager', 'NSSplitView', 'NSFontPanel', 'NSStatusBar', 'NSForm',
157
+			'NSStatusItem', 'NSFormCell', 'NSStepper', 'NSGlyphGenerator', 'NSStepperCell',
158
+			'NSGlyphInfo', 'NSGraphicsContext', 'NSTableColumn', 'NSHelpManager',
159
+			'NSTableHeaderCell', 'NSImage', 'NSTableHeaderView', 'NSImageCell', 'NSTableView',
160
+			'NSImageRep', 'NSTabView', 'NSImageView', 'NSTabViewItem', 'NSInputManager',
161
+			'NSText', 'NSInputServer', 'NSTextAttachment', 'NSLayoutManager',
162
+			'NSTextAttachmentCell', 'NSMatrix', 'NSTextContainer', 'NSMenu', 'NSTextField',
163
+			'NSMenuItem', 'NSTextFieldCell', 'NSMenuItemCell', 'NSTextStorage', 'NSMenuView',
164
+			'NSTextTab', 'NSMovie', 'NSTextView', 'NSMovieView', 'NSToolbar', 'NSToolbarItem',
165
+			'NSMutableParagraphStyle', 'NSTypesetter', 'NSNib', 'NSNibConnector',
166
+			'NSUserDefaultsController', 'NSNibControlConnector', 'NSView',
167
+			'NSNibOutletConnector', 'NSWindow', 'NSObjectController', 'NSWindowController',
168
+			'NSOpenGLContext', 'NSWorkspace', 'NSOpenGLPixelBuffer'
169
+		)
170
+	),
171
+	'SYMBOLS' => array(
172
+		'(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
173
+		),
174
+	'CASE_SENSITIVE' => array(
175
+		GESHI_COMMENTS => true,
176
+		1 => false,
177
+		2 => false,
178
+		3 => false,
179
+		4 => false,
180
+		5 => false,
181
+		6 => false,
182
+		),
183
+	'STYLES' => array(
184
+		'KEYWORDS' => array(
185
+			1 => 'color: #0000ff;',
186
+			2 => 'color: #0000ff;',
187
+			3 => 'color: #0000dd;',
188
+			4 => 'color: #0000ff;',
189
+			5 => 'color: #0000ff;',
190
+			6 => 'color: #0000ff;'
191
+			),
192
+		'COMMENTS' => array(
193
+			1 => 'color: #ff0000;',
194
+			2 => 'color: #339900;',
195
+			'MULTI' => 'color: #ff0000; font-style: italic;'
196
+			),
197
+		'ESCAPE_CHAR' => array(
198
+			0 => 'color: #666666; font-weight: bold;'
199
+			),
200
+		'BRACKETS' => array(
201
+			0 => 'color: #002200;'
202
+			),
203
+		'STRINGS' => array(
204
+			0 => 'color: #666666;'
205
+			),
206
+		'NUMBERS' => array(
207
+			0 => 'color: #0000dd;'
208
+			),
209
+		'METHODS' => array(
210
+			),
211
+		'SYMBOLS' => array(
212
+			0 => 'color: #002200;'
213
+			),
214
+		'REGEXPS' => array(
215
+			),
216
+		'SCRIPT' => array(
217
+			)
218
+		),
219
+	'URLS' => array(
220
+		1 => '',
221
+		2 => '',
222
+		3 => 'http://www.opengroup.org/onlinepubs/009695399/functions/{FNAME}.html',
223
+		4 => '',
224
+		5 => 'http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/Classes/{FNAME}.html',
225
+		6 => 'http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/ObjC_classic/Classes/{FNAME}.html'
226
+		),
227
+	'OOLANG' => false,
228
+	'OBJECT_SPLITTERS' => array(
229
+		),
230
+	'REGEXPS' => array(
231
+		),
232
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
233
+	'SCRIPT_DELIMITERS' => array(
234
+		),
235
+	'HIGHLIGHT_STRICT_BLOCK' => array(
236
+		)
237
+);
238
+
239
+?>

+ 112 - 0
plugins/geshi/ocaml-brief.php View File

@@ -0,0 +1,112 @@
1
+<?php
2
+/*************************************************************************************
3
+ * ocaml.php
4
+ * ----------
5
+ * Author: Flaie (fireflaie@gmail.com)
6
+ * Copyright: (c) 2005 Flaie, Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/08/27
9
+ *
10
+ * OCaml (Objective Caml) language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/08/27 (1.0.0)
15
+ *   -  First Release
16
+ *
17
+ * TODO (updated 2005/08/27)
18
+ * -------------------------
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *   This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+$language_data = array (
41
+	'LANG_NAME' => 'OCaml',
42
+	'COMMENT_SINGLE' => array(),
43
+	'COMMENT_MULTI' => array('(*' => '*)'),
44
+	'CASE_KEYWORDS' => 0,
45
+	'QUOTEMARKS' => array('"'),
46
+	'ESCAPE_CHAR' => "",
47
+	'KEYWORDS' => array(
48
+	   /* main OCaml keywords */
49
+		1 => array(
50
+			'and', 'As', 'asr', 'begin', 'Class', 'Closed', 'constraint', 'do', 'done', 'downto', 'else',
51
+			'end', 'exception', 'external', 'failwith', 'false', 'flush', 'for', 'fun', 'function', 'functor',
52
+			'if', 'in', 'include', 'inherit',  'incr', 'land', 'let', 'load', 'los', 'lsl', 'lsr', 'lxor',
53
+			'match', 'method', 'mod', 'module', 'mutable', 'new', 'not', 'of', 'open', 'option', 'or', 'parser',
54
+			'private', 'ref', 'rec', 'raise', 'regexp', 'sig', 'struct', 'stdout', 'stdin', 'stderr', 'then',
55
+			'to', 'true', 'try', 'type', 'val', 'virtual', 'when', 'while', 'with'
56
+			)
57
+		),
58
+	/* highlighting symbols is really important in OCaml */
59
+	'SYMBOLS' => array(
60
+			';', '!', ':', '.', '=', '%', '^', '*', '-', '/', '+',
61
+			'>', '<', '(', ')', '[', ']', '&', '|', '#', "'"
62
+			),
63
+	'CASE_SENSITIVE' => array(
64
+		GESHI_COMMENTS => true,
65
+		1 => false,
66
+		),
67
+	'STYLES' => array(
68
+		'KEYWORDS' => array(
69
+			1 => 'color: #06c; font-weight: bold;' /* nice blue */
70
+			),
71
+		'COMMENTS' => array(
72
+			'MULTI' => 'color: #5d478b; font-style: italic;' /* light purple */
73
+			),
74
+		'ESCAPE_CHAR' => array(
75
+			),
76
+		'BRACKETS' => array(
77
+			0 => 'color: #6c6;'
78
+			),
79
+		'STRINGS' => array(
80
+			0 => 'color: #3cb371;' /* nice green */
81
+			),
82
+		'NUMBERS' => array(
83
+			0 => 'color: #c6c;' /* pink */
84
+			),
85
+		'METHODS' => array(
86
+			1 => 'color: #060;' /* dark green */
87
+			),
88
+		'REGEXPS' => array(
89
+			),
90
+		'SYMBOLS' => array(
91
+			0 => 'color: #a52a2a;' /* maroon */
92
+			),
93
+		'SCRIPT' => array(
94
+			)
95
+		),
96
+	'URLS' => array(
97
+		1 => '',
98
+		),
99
+	'OOLANG' => true,
100
+	'OBJECT_SPLITTERS' => array(
101
+		1 => '.'
102
+		),
103
+	'REGEXPS' => array(
104
+		),
105
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
106
+	'SCRIPT_DELIMITERS' => array(
107
+		),
108
+	'HIGHLIGHT_STRICT_BLOCK' => array(
109
+		)
110
+);
111
+
112
+?>

+ 161 - 0
plugins/geshi/ocaml.php View File

@@ -0,0 +1,161 @@
1
+<?php
2
+/*************************************************************************************
3
+ * ocaml.php
4
+ * ----------
5
+ * Author: Flaie (fireflaie@gmail.com)
6
+ * Copyright: (c) 2005 Flaie, Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/08/27
9
+ *
10
+ * OCaml (Objective Caml) language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/08/27 (1.0.0)
15
+ *   -  First Release
16
+ *
17
+ * TODO (updated 2005/08/27)
18
+ * -------------------------
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *   This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+$language_data = array (
41
+	'LANG_NAME' => 'OCaml',
42
+	'COMMENT_SINGLE' => array(),
43
+	'COMMENT_MULTI' => array('(*' => '*)'),
44
+	'CASE_KEYWORDS' => 0,
45
+	'QUOTEMARKS' => array('"'),
46
+	'ESCAPE_CHAR' => "",
47
+	'KEYWORDS' => array(
48
+	   /* main OCaml keywords */
49
+		1 => array(
50
+			'and', 'As', 'asr', 'begin', 'Class', 'Closed', 'constraint', 'do', 'done', 'downto', 'else',
51
+			'end', 'exception', 'external', 'failwith', 'false', 'flush', 'for', 'fun', 'function', 'functor',
52
+			'if', 'in', 'include', 'inherit',  'incr', 'land', 'let', 'load', 'los', 'lsl', 'lsr', 'lxor',
53
+			'match', 'method', 'mod', 'module', 'mutable', 'new', 'not', 'of', 'open', 'option', 'or', 'parser',
54
+			'private', 'ref', 'rec', 'raise', 'regexp', 'sig', 'struct', 'stdout', 'stdin', 'stderr', 'then',
55
+			'to', 'true', 'try', 'type', 'val', 'virtual', 'when', 'while', 'with'
56
+			),
57
+		/* define names of main librarys, so we can link to it */
58
+		2 => array(
59
+			'Arg', 'Arith_status', 'Array', 'ArrayLabels', 'Big_int', 'Bigarray', 'Buffer', 'Callback',
60
+			'CamlinternalOO', 'Char', 'Complex', 'Condition', 'Dbm', 'Digest', 'Dynlink', 'Event',
61
+			'Filename', 'Format', 'Gc', 'Genlex', 'Graphics', 'GraphicsX11', 'Hashtbl', 'Int32', 'Int64',
62
+			'Lazy', 'Lexing', 'List', 'ListLabels', 'Map', 'Marshal', 'MoreLabels', 'Mutex', 'Nativeint',
63
+			'Num', 'Obj', 'Oo', 'Parsing', 'Pervasives', 'Printexc', 'Printf', 'Queue', 'Random', 'Scanf',
64
+			'Set', 'Sort', 'Stack', 'StdLabels', 'Str', 'Stream', 'String', 'StringLabels', 'Sys', 'Thread',
65
+			'ThreadUnix', 'Tk'
66
+		   ),
67
+		/* just link to the Pervasives functions library, cause it's the default opened library when starting OCaml */
68
+		3 => array(
69
+			'raise', 'invalid_arg', 'failwith', 'compare', 'min', 'max', 'succ', 'pred', 'mod', 'abs',
70
+			'max_int', 'min_int', 'sqrt', 'exp', 'log', 'log10', 'cos', 'sin', 'tan', 'acos', 'asin',
71
+			'atan', 'atan2', 'cosh', 'sinh', 'tanh', 'ceil', 'floor', 'abs_float', 'mod_float', 'frexp',
72
+			'ldexp', 'modf', 'float', 'float_of_int', 'truncate', 'int_of_float', 'infinity', 'nan',
73
+			'max_float', 'min_float', 'epsilon_float', 'classify_float', 'int_of_char', 'char_of_int',
74
+			'ignore', 'string_of_bool', 'bool_of_string', 'string_of_int', 'int_of_string',
75
+			'string_of_float', 'float_of_string', 'fst', 'snd', 'stdin', 'stdout', 'stderr', 'print_char',
76
+			'print_string', 'print_int', 'print_float', 'print_endline', 'print_newline', 'prerr_char',
77
+			'prerr_string', 'prerr_int', 'prerr_float', 'prerr_endline', 'prerr_newline', 'read_line',
78
+			'read_int', 'read_float', 'open_out', 'open_out_bin', 'open_out_gen', 'flush', 'flush_all',
79
+			'output_char', 'output_string', 'output', 'output_byte', 'output_binary_int', 'output_value',
80
+			'seek_out', 'pos_out',  'out_channel_length', 'close_out', 'close_out_noerr', 'set_binary_mode_out',
81
+			'open_in', 'open_in_bin', 'open_in_gen', 'input_char', 'input_line', 'input', 'really_input',
82
+			'input_byte', 'input_binary_int', 'input_value', 'seek_in', 'pos_in', 'in_channel_length',
83
+			'close_in', 'close_in_noerr', 'set_binary_mode_in', 'incr', 'decr', 'string_of_format',
84
+			'format_of_string', 'exit', 'at_exit'
85
+		   ),
86
+		/* here Pervasives Types */
87
+		4 => array (
88
+		   'fpclass', 'in_channel', 'out_channel', 'open_flag', 'Sys_error', 'ref', 'format'
89
+		   ),
90
+		/* finally Pervasives Exceptions */
91
+		5 => array (
92
+			'Exit', 'Invalid_Argument', 'Failure', 'Division_by_zero'
93
+		   )
94
+		),
95
+	/* highlighting symbols is really important in OCaml */
96
+	'SYMBOLS' => array(
97
+			';', '!', ':', '.', '=', '%', '^', '*', '-', '/', '+',
98
+			'>', '<', '(', ')', '[', ']', '&', '|', '#', "'"
99
+			),
100
+	'CASE_SENSITIVE' => array(
101
+		GESHI_COMMENTS => true,
102
+		1 => false,
103
+		2 => true, /* functions name are case seinsitive */
104
+		3 => true, /* types name too */
105
+		4 => true  /* finally exceptions too */
106
+		),
107
+	'STYLES' => array(
108
+		'KEYWORDS' => array(
109
+			1 => 'color: #06c; font-weight: bold;' /* nice blue */
110
+			),
111
+		'COMMENTS' => array(
112
+			'MULTI' => 'color: #5d478b; font-style: italic;' /* light purple */
113
+			),
114
+		'ESCAPE_CHAR' => array(
115
+			),
116
+		'BRACKETS' => array(
117
+			0 => 'color: #6c6;'
118
+			),
119
+		'STRINGS' => array(
120
+			0 => 'color: #3cb371;' /* nice green */
121
+			),
122
+		'NUMBERS' => array(
123
+			0 => 'color: #c6c;' /* pink */
124
+			),
125
+		'METHODS' => array(
126
+			1 => 'color: #060;' /* dark green */
127
+			),
128
+		'REGEXPS' => array(
129
+			),
130
+		'SYMBOLS' => array(
131
+			0 => 'color: #a52a2a;' /* maroon */
132
+			),
133
+		'SCRIPT' => array(
134
+			)
135
+		),
136
+	'URLS' => array(
137
+	   /* some of keywords are Pervasives functions (land, lxor, asr, ...) */
138
+		1 => '',
139
+		/* link to the wanted library */
140
+		2 => 'http://caml.inria.fr/pub/docs/manual-ocaml/libref/{FNAME}.html',
141
+		/* link to Pervasives functions */
142
+		3 => 'http://caml.inria.fr/pub/docs/manual-ocaml/libref/Pervasives.html#VAL{FNAME}',
143
+		/* link to Pervasives type */
144
+		4 => 'http://caml.inria.fr/pub/docs/manual-ocaml/libref/Pervasives.html#TYPE{FNAME}',
145
+		/* link to Pervasives exceptions */
146
+		5 => 'http://caml.inria.fr/pub/docs/manual-ocaml/libref/Pervasives.html#EXCEPTION{FNAME}'
147
+		),
148
+	'OOLANG' => true,
149
+	'OBJECT_SPLITTERS' => array(
150
+		1 => '.'
151
+		),
152
+	'REGEXPS' => array(
153
+		),
154
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
155
+	'SCRIPT_DELIMITERS' => array(
156
+		),
157
+	'HIGHLIGHT_STRICT_BLOCK' => array(
158
+		)
159
+);
160
+
161
+?>

+ 130 - 0
plugins/geshi/oobas.php View File

@@ -0,0 +1,130 @@
1
+<?php
2
+/*************************************************************************************
3
+ * oobas.php
4
+ * ---------
5
+ * Author: Roberto Rossi (rsoftware@altervista.org)
6
+ * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/08/30
9
+ *
10
+ * OpenOffice.org Basic language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2004/11/27 (1.0.1)
15
+ *  -  Added support for multiple object splitters
16
+ * 2004/10/27 (1.0.0)
17
+ *  -  First Release
18
+ *
19
+ * TODO (updated 2004/11/27)
20
+ * -------------------------
21
+ *
22
+ *************************************************************************************
23
+ *
24
+ *     This file is part of GeSHi.
25
+ *
26
+ *   GeSHi is free software; you can redistribute it and/or modify
27
+ *   it under the terms of the GNU General Public License as published by
28
+ *   the Free Software Foundation; either version 2 of the License, or
29
+ *   (at your option) any later version.
30
+ *
31
+ *   GeSHi is distributed in the hope that it will be useful,
32
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
33
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34
+ *   GNU General Public License for more details.
35
+ *
36
+ *   You should have received a copy of the GNU General Public License
37
+ *   along with GeSHi; if not, write to the Free Software
38
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
39
+ *
40
+ ************************************************************************************/
41
+
42
+$language_data = array (
43
+	'LANG_NAME' => 'OpenOffice.org Basic',
44
+	'COMMENT_SINGLE' => array(1 => "'"),
45
+	'COMMENT_MULTI' => array(),
46
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
47
+	'QUOTEMARKS' => array('"'),
48
+	'ESCAPE_CHAR' => '',
49
+	'KEYWORDS' => array(
50
+		1 => array(
51
+			'dim','private','public','global','as','if','redim','true','set',
52
+			'byval',
53
+			'false','bool','double','integer','long','object','single','variant',
54
+			'msgbox','print','inputbox','green','blue','red','qbcolor',
55
+			'rgb','open','close','reset','freefile','get','input','line',
56
+			'put','write','loc','seek','eof','lof','chdir','chdrive',
57
+			'curdir','dir','fileattr','filecopy','filedatetime','fileexists',
58
+			'filelen','getattr','kill','mkdir','name','rmdir','setattr',
59
+			'dateserial','datevalue','day','month','weekday','year','cdatetoiso',
60
+			'cdatefromiso','hour','minute','second','timeserial','timevalue',
61
+			'date','now','time','timer','erl','err','error','on','error','goto','resume',
62
+			'and','eqv','imp','not','or','xor','mod','','atn','cos','sin','tan','log',
63
+			'exp','rnd','randomize','sqr','fix','int','abs','sgn','hex','oct',
64
+			'it','then','else','select','case','iif','do','loop','for','next',
65
+			'while','wend','gosub','return','goto','on','goto','call','choose','declare',
66
+			'end','exit','freelibrary','function','rem','stop','sub','switch','with',
67
+			'cbool','cdate','cdbl','cint','clng','const','csng','cstr','defbool',
68
+			'defdate','defdbl','defint','deflng','asc','chr','str','val','cbyte',
69
+			'space','string','format','lcase','left','lset','ltrim','mid','right',
70
+			'rset','rtrim','trim','ucase','split','join','converttourl','convertfromurl',
71
+			'instr','len','strcomp','beep','shell','wait','getsystemticks','environ',
72
+			'getsolarversion','getguitype','twipsperpixelx','twipsperpixely',
73
+			'createunostruct','createunoservice','getprocessservicemanager',
74
+			'createunodialog','createunolistener','createunovalue','thiscomponent',
75
+			'globalscope'
76
+			)
77
+		),
78
+	'SYMBOLS' => array(
79
+		'(', ')', '='
80
+		),
81
+	'CASE_SENSITIVE' => array(
82
+		GESHI_COMMENTS => false,
83
+		1 => false
84
+		),
85
+	'STYLES' => array(
86
+		'KEYWORDS' => array(
87
+			1 => 'color: #b1b100;'
88
+			),
89
+		'COMMENTS' => array(
90
+			1 => 'color: #808080;'
91
+			),
92
+		'BRACKETS' => array(
93
+			0 => 'color: #66cc66;'
94
+			),
95
+		'STRINGS' => array(
96
+			0 => 'color: #ff0000;'
97
+			),
98
+		'NUMBERS' => array(
99
+			0 => 'color: #cc66cc;'
100
+			),
101
+		'METHODS' => array(
102
+			1 => 'color: #006600;'
103
+			),
104
+		'SYMBOLS' => array(
105
+			0 => 'color: #66cc66;'
106
+			),
107
+		'ESCAPE_CHAR' => array(
108
+			0 => 'color: #000099;'
109
+			),
110
+		'SCRIPT' => array(
111
+			),
112
+		'REGEXPS' => array(
113
+			)
114
+		),
115
+	'URLS' => array(
116
+		),
117
+	'OOLANG' => true,
118
+	'OBJECT_SPLITTERS' => array(
119
+		1 => '.'
120
+		),
121
+	'REGEXPS' => array(
122
+		),
123
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
124
+	'SCRIPT_DELIMITERS' => array(
125
+		),
126
+	'HIGHLIGHT_STRICT_BLOCK' => array(
127
+		)
128
+);
129
+
130
+?>

+ 487 - 0
plugins/geshi/oracle8.php View File

@@ -0,0 +1,487 @@
1
+<?php
2
+/*************************************************************************************
3
+ * oracle8.php
4
+ * -----------
5
+ * Author: Guy Wicks (Guy.Wicks@rbs.co.uk)
6
+ * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/06/04
9
+ *
10
+ * Oracle 8 language file for GeSHi
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/01/29 (1.0.0)
15
+ *  -  First Release
16
+ *
17
+ * TODO (updated 2004/11/27)
18
+ * -------------------------
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *     This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+$language_data = array (
41
+	'LANG_NAME' => 'Oracle 8 SQL',
42
+	'COMMENT_SINGLE' => array(1 => '--'),
43
+	'COMMENT_MULTI' => array('/*' => '*/'),
44
+	'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
45
+	'QUOTEMARKS' => array("'", '"', '`'),
46
+	'ESCAPE_CHAR' => '\\',
47
+	'KEYWORDS' => array(
48
+//Put your package names here - e.g. select distinct ''''|| lower(name) || ''',' from user_source;
49
+		6 => array(
50
+			),
51
+
52
+//Put your table names here - e.g. select distinct ''''|| lower(table_name) || ''',' from user_tables;
53
+		5 => array(
54
+			),
55
+
56
+//Put your view names here - e.g. select distinct ''''|| lower(view_name) || ''',' from user_views;
57
+		4 => array(
58
+			),
59
+
60
+//Put your table field names here - e.g. select distinct ''''|| lower(column_name) || ''',' from user_tab_columns;
61
+		3 => array(
62
+			),
63
+//Put ORACLE reserved keywords here (8.1.7).  I like mine uppercase.
64
+		1 => array(
65
+			'ABS',
66
+			'ACCESS',
67
+			'ACOS',
68
+			'ADD',
69
+			'ADD_MONTHS',
70
+			'ALL',
71
+			'ALTER',
72
+			'ANALYZE',
73
+			'AND',
74
+			'ANY',
75
+			'ARRAY',
76
+			'AS',
77
+			'ASC',
78
+			'ASCII',
79
+			'ASIN',
80
+			'ASSOCIATE',
81
+			'AT',
82
+			'ATAN',
83
+			'ATAN2',
84
+			'AUDIT',
85
+			'AUTHID',
86
+			'AVG',
87
+			'BEGIN',
88
+			'BETWEEN',
89
+			'BFILENAME',
90
+			'BINARY_INTEGER',
91
+			'BITAND',
92
+			'BODY',
93
+			'BOOLEAN',
94
+			'BULK',
95
+			'BY',
96
+			'CALL',
97
+			'CASCADE',
98
+			'CASE',
99
+			'CEIL',
100
+			'CHAR',
101
+			'CHAR_BASE',
102
+			'CHARTOROWID',
103
+			'CHECK',
104
+			'CHR',
105
+			'CLOSE',
106
+			'CLUSTER',
107
+			'COALESCE',
108
+			'COLLECT',
109
+			'COLUMN',
110
+			'COMMENT',
111
+			'COMMIT',
112
+			'COMPRESS',
113
+			'CONCAT',
114
+			'CONNECT',
115
+			'CONSTANT',
116
+			'CONSTRAINT',
117
+			'CONSTRAINTS',
118
+			'CONTEXT',
119
+			'CONTROLFILE',
120
+			'CONVERT',
121
+			'CORR',
122
+			'COS',
123
+			'COSH',
124
+			'COST',
125
+			'COUNT',
126
+			'COVAR_POP',
127
+			'COVAR_SAMP',
128
+			'CREATE',
129
+			'CUME_DIST',
130
+			'CURRENT',
131
+			'CURRVAL',
132
+			'CURSOR',
133
+			'DATABASE',
134
+			'DATE',
135
+			'DAY',
136
+			'DECIMAL',
137
+			'DECLARE',
138
+			'DECODE',
139
+			'DEFAULT',
140
+			'DELETE',
141
+			'DENSE_RANK',
142
+			'DEREF',
143
+			'DESC',
144
+			'DIMENSION',
145
+			'DIRECTORY',
146
+			'DISASSOCIATE',
147
+			'DISTINCT',
148
+			'DO',
149
+			'DROP',
150
+			'DUMP',
151
+			'ELSE',
152
+			'ELSIF',
153
+			'EMPTY_BLOB',
154
+			'EMPTY_CLOB',
155
+			'END',
156
+			'EXCEPTION',
157
+			'EXCLUSIVE',
158
+			'EXEC',
159
+			'EXECUTE',
160
+			'EXISTS',
161
+			'EXIT',
162
+			'EXP',
163
+			'EXPLAIN',
164
+			'EXTENDS',
165
+			'EXTRACT',
166
+			'FALSE',
167
+			'FETCH',
168
+			'FILE',
169
+			'FIRST_VALUE',
170
+			'FLOAT',
171
+			'FLOOR',
172
+			'FOR',
173
+			'FORALL',
174
+			'FROM',
175
+			'FUNCTION',
176
+			'GOTO',
177
+			'GRANT',
178
+			'GREATEST',
179
+			'GROUP',
180
+			'GROUPING',
181
+			'HAVING',
182
+			'HEAP',
183
+			'HEXTORAW',
184
+			'HOUR',
185
+			'IDENTIFIED',
186
+			'IF',
187
+			'IMMEDIATE',
188
+			'IN',
189
+			'INCREMENT',
190
+			'INDEX',
191
+			'INDEXTYPE',
192
+			'INDICATOR',
193
+			'INITCAP',
194
+			'INITIAL',
195
+			'INSERT',
196
+			'INSTR',
197
+			'INSTRB',
198
+			'INTEGER',
199
+			'INTERFACE',
200
+			'INTERSECT',
201
+			'INTERVAL',
202
+			'INTO',
203
+			'IS',
204
+			'ISOLATION',
205
+			'JAVA',
206
+			'KEY',
207
+			'LAG',
208
+			'LAST_DAY',
209
+			'LAST_VALUE',
210
+			'LEAD',
211
+			'LEAST',
212
+			'LENGTH',
213
+			'LENGTHB',
214
+			'LEVEL',
215
+			'LIBRARY',
216
+			'LIKE',
217
+			'LIMITED',
218
+			'LINK',
219
+			'LN',
220
+			'LOCK',
221
+			'LOG',
222
+			'LONG',
223
+			'LOOP',
224
+			'LOWER',
225
+			'LPAD',
226
+			'LTRIM',
227
+			'MAKE_REF',
228
+			'MATERIALIZED',
229
+			'MAX',
230
+			'MAXEXTENTS',
231
+			'MIN',
232
+			'MINUS',
233
+			'MINUTE',
234
+			'MLSLABEL',
235
+			'MOD',
236
+			'MODE',
237
+			'MODIFY',
238
+			'MONTH',
239
+			'MONTHS_BETWEEN',
240
+			'NATURAL',
241
+			'NATURALN',
242
+			'NEW',
243
+			'NEW_TIME',
244
+			'NEXT_DAY',
245
+			'NEXTVAL',
246
+			'NLS_CHARSET_DECL_LEN',
247
+			'NLS_CHARSET_ID',
248
+			'NLS_CHARSET_NAME',
249
+			'NLS_INITCAP',
250
+			'NLS_LOWER',
251
+			'NLS_UPPER',
252
+			'NLSSORT',
253
+			'NOAUDIT',
254
+			'NOCOMPRESS',
255
+			'NOCOPY',
256
+			'NOT',
257
+			'NOWAIT',
258
+			'NTILE',
259
+			'NULL',
260
+			'NULLIF',
261
+			'NUMBER',
262
+			'NUMBER_BASE',
263
+			'NUMTODSINTERVAL',
264
+			'NUMTOYMINTERVAL',
265
+			'NVL',
266
+			'NVL2',
267
+			'OCIROWID',
268
+			'OF',
269
+			'OFFLINE',
270
+			'ON',
271
+			'ONLINE',
272
+			'OPAQUE',
273
+			'OPEN',
274
+			'OPERATOR',
275
+			'OPTION',
276
+			'OR',
277
+			'ORDER',
278
+			'ORGANIZATION',
279
+			'OTHERS',
280
+			'OUT',
281
+			'OUTLINE',
282
+			'PACKAGE',
283
+			'PARTITION',
284
+			'PCTFREE',
285
+			'PERCENT_RANK',
286
+			'PLAN',
287
+			'PLS_INTEGER',
288
+			'POSITIVE',
289
+			'POSITIVEN',
290
+			'POWER',
291
+			'PRAGMA',
292
+			'PRIMARY',
293
+			'PRIOR',
294
+			'PRIVATE',
295
+			'PRIVILEGES',
296
+			'PROCEDURE',
297
+			'PROFILE',
298
+			'PUBLIC',
299
+			'RAISE',
300
+			'RANGE',
301
+			'RANK',
302
+			'RATIO_TO_REPORT',
303
+			'RAW',
304
+			'RAWTOHEX',
305
+			'REAL',
306
+			'RECORD',
307
+			'REF',
308
+			'REFTOHEX',
309
+			'REGR_AVGX',
310
+			'REGR_AVGY',
311
+			'REGR_COUNT',
312
+			'REGR_INTERCEPT',
313
+			'REGR_R2',
314
+			'REGR_SLOPE',
315
+			'REGR_SXX',
316
+			'REGR_SXY',
317
+			'REGR_SYY',
318
+			'RELEASE',
319
+			'RENAME',
320
+			'REPLACE',
321
+			'RESOURCE',
322
+			'RETURN',
323
+			'RETURNING',
324
+			'REVERSE',
325
+			'REVOKE',
326
+			'ROLE',
327
+			'ROLLBACK',
328
+			'ROUND',
329
+			'ROW',
330
+			'ROW_NUMBER',
331
+			'ROWID',
332
+			'ROWIDTOCHAR',
333
+			'ROWNUM',
334
+			'ROWS',
335
+			'ROWTYPE',
336
+			'RPAD',
337
+			'RTRIM',
338
+			'SAVEPOINT',
339
+			'SCHEMA',
340
+			'SECOND',
341
+			'SEGMENT',
342
+			'SELECT',
343
+			'SEPERATE',
344
+			'SEQUENCE',
345
+			'SESSION',
346
+			'SET',
347
+			'SHARE',
348
+			'SIGN',
349
+			'SIN',
350
+			'SINH',
351
+			'SIZE',
352
+			'SMALLINT',
353
+			'SOUNDEX',
354
+			'SPACE',
355
+			'SQL',
356
+			'SQLCODE',
357
+			'SQLERRM',
358
+			'SQRT',
359
+			'START',
360
+			'STATISTICS',
361
+			'STDDEV',
362
+			'STDDEV_POP',
363
+			'STDDEV_SAMP',
364
+			'STOP',
365
+			'SUBSTR',
366
+			'SUBSTRB',
367
+			'SUBTYPE',
368
+			'SUCCESSFUL',
369
+			'SUM',
370
+			'SYNONYM',
371
+			'SYS_CONTEXT',
372
+			'SYS_GUID',
373
+			'SYSDATE',
374
+			'SYSTEM',
375
+			'TABLE',
376
+			'TABLESPACE',
377
+			'TAN',
378
+			'TANH',
379
+			'TEMPORARY',
380
+			'THEN',
381
+			'TIME',
382
+			'TIMESTAMP',
383
+			'TIMEZONE_ABBR',
384
+			'TIMEZONE_HOUR',
385
+			'TIMEZONE_MINUTE',
386
+			'TIMEZONE_REGION',
387
+			'TIMING',
388
+			'TO',
389
+			'TO_CHAR',
390
+			'TO_DATE',
391
+			'TO_LOB',
392
+			'TO_MULTI_BYTE',
393
+			'TO_NUMBER',
394
+			'TO_SINGLE_BYTE',
395
+			'TRANSACTION',
396
+			'TRANSLATE',
397
+			'TRIGGER',
398
+			'TRIM',
399
+			'TRUE',
400
+			'TRUNC',
401
+			'TRUNCATE',
402
+			'TYPE',
403
+			'UI',
404
+			'UID',
405
+			'UNION',
406
+			'UNIQUE',
407
+			'UPDATE',
408
+			'UPPER',
409
+			'USE',
410
+			'USER',
411
+			'USERENV',
412
+			'USING',
413
+			'VALIDATE',
414
+			'VALUE',
415
+			'VALUES',
416
+			'VAR_POP',
417
+			'VAR_SAMP',
418
+			'VARCHAR',
419
+			'VARCHAR2',
420
+			'VARIANCE',
421
+			'VIEW',
422
+			'VSIZE',
423
+			'WHEN',
424
+			'WHENEVER',
425
+			'WHERE',
426
+			'WHILE',
427
+			'WITH',
428
+			'WORK',
429
+			'WRITE',
430
+			'YEAR',
431
+			'ZONE'
432
+			)
433
+		),
434
+	'SYMBOLS' => array(
435
+		'(', ')', '=', '<', '>', '|'
436
+		),
437
+	'CASE_SENSITIVE' => array(
438
+		GESHI_COMMENTS => false,
439
+		1 => false
440
+		),
441
+	'STYLES' => array(
442
+		'KEYWORDS' => array(
443
+			1 => 'color: #993333; font-weight: bold; text-transform: uppercase;'
444
+			),
445
+		'COMMENTS' => array(
446
+			1 => 'color: #808080; font-style: italic;',
447
+			2 => 'color: #808080; font-style: italic;'
448
+			),
449
+		'ESCAPE_CHAR' => array(
450
+			0 => 'color: #000099; font-weight: bold;'
451
+			),
452
+		'BRACKETS' => array(
453
+			0 => 'color: #66cc66;'
454
+			),
455
+		'STRINGS' => array(
456
+			0 => 'color: #ff0000;'
457
+			),
458
+		'NUMBERS' => array(
459
+			0 => 'color: #cc66cc;'
460
+			),
461
+		'METHODS' => array(
462
+			1 => 'color: #ff0000;'
463
+			),
464
+		'SYMBOLS' => array(
465
+			0 => 'color: #66cc66;'
466
+			),
467
+		'SCRIPT' => array(
468
+			),
469
+		'REGEXPS' => array(
470
+			)
471
+		),
472
+	'URLS' => array(
473
+		),
474
+
475
+	'OOLANG' => false,
476
+	'OBJECT_SPLITTERS' => array(
477
+		),
478
+	'REGEXPS' => array(
479
+		),
480
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
481
+	'SCRIPT_DELIMITERS' => array(
482
+		),
483
+	'HIGHLIGHT_STRICT_BLOCK' => array(
484
+		)
485
+);
486
+
487
+?>

+ 144 - 0
plugins/geshi/pascal.php View File

@@ -0,0 +1,144 @@
1
+<?php
2
+/*************************************************************************************
3
+ * pascal.php
4
+ * ----------
5
+ * Author: Tux (tux@inamil.cz)
6
+ * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/07/26
9
+ *
10
+ * Pascal language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2004/11/27 (1.0.2)
15
+ *  -  Added support for multiple object splitters
16
+ * 2004/10/27 (1.0.1)
17
+ *   -  Added support for URLs
18
+ * 2004/08/05 (1.0.0)
19
+ *   -  Added support for symbols
20
+ * 2004/07/27 (0.9.1)
21
+ *   -  Pascal is OO language. Some new words.
22
+ * 2004/07/26 (0.9.0)
23
+ *   -  First Release
24
+ *
25
+ * TODO (updated 2004/11/27)
26
+ * -------------------------
27
+ *
28
+ *************************************************************************************
29
+ *
30
+ *     This file is part of GeSHi.
31
+ *
32
+ *   GeSHi is free software; you can redistribute it and/or modify
33
+ *   it under the terms of the GNU General Public License as published by
34
+ *   the Free Software Foundation; either version 2 of the License, or
35
+ *   (at your option) any later version.
36
+ *
37
+ *   GeSHi is distributed in the hope that it will be useful,
38
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
39
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
40
+ *   GNU General Public License for more details.
41
+ *
42
+ *   You should have received a copy of the GNU General Public License
43
+ *   along with GeSHi; if not, write to the Free Software
44
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
45
+ *
46
+ ************************************************************************************/
47
+
48
+$language_data = array (
49
+	'LANG_NAME' => 'Pascal',
50
+	'COMMENT_SINGLE' => array(1 => '//'),
51
+	'COMMENT_MULTI' => array('{' => '}','(*' => '*)'),
52
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
53
+	'QUOTEMARKS' => array("'", '"'),
54
+	'ESCAPE_CHAR' => '\\',
55
+	'KEYWORDS' => array(
56
+		1 => array(
57
+			'if', 'while', 'until', 'repeat', 'default',
58
+			'do', 'else', 'for', 'switch', 'goto','label','asm','begin','end',
59
+			'assembler','case', 'downto', 'to','div','mod','far','forward','in','inherited',
60
+			'inline','interrupt','label','library','not','var','of','then','stdcall',
61
+			'cdecl','end.','raise','try','except','name','finally','resourcestring','override','overload',
62
+			'default','public','protected','private','property','published','stored','catch'
63
+			),
64
+		2 => array(
65
+			'nil', 'false', 'break', 'true', 'function', 'procedure','implementation','interface',
66
+			'unit','program','initialization','finalization','uses'
67
+			),
68
+		3 => array(
69
+			'abs', 'absolute','and','arc','arctan','chr','constructor','destructor',
70
+			'dispose','cos','eof','eoln','exp','get','index','ln','new','xor','write','writeln',
71
+			'shr','sin','sqrt','succ','pred','odd','read','readln','ord','ordinal','blockread','blockwrite'
72
+			),
73
+		4 => array(
74
+			'array', 'char', 'const', 'boolean',  'real', 'integer', 'longint',
75
+			'word', 'shortint', 'record','byte','bytebool','string',
76
+			'type','object','export','exports','external','file','longbool','pointer','set',
77
+			'packed','ansistring','union'
78
+			),
79
+		),
80
+	'SYMBOLS' => array(
81
+		),
82
+	'CASE_SENSITIVE' => array(
83
+		GESHI_COMMENTS => true,
84
+		1 => false,
85
+		2 => false,
86
+		3 => false,
87
+		4 => false,
88
+		),
89
+	'STYLES' => array(
90
+		'KEYWORDS' => array(
91
+			1 => 'color: #b1b100;',
92
+			2 => 'color: #000000; font-weight: bold;',
93
+			3 => '',
94
+			4 => 'color: #993333;'
95
+			),
96
+		'COMMENTS' => array(
97
+			1 => 'color: #808080; font-style: italic;',
98
+			2 => 'color: #339933;',
99
+			'MULTI' => 'color: #808080; font-style: italic;'
100
+			),
101
+		'ESCAPE_CHAR' => array(
102
+			0 => 'color: #000099; font-weight: bold;'
103
+			),
104
+		'BRACKETS' => array(
105
+			0 => 'color: #66cc66;'
106
+			),
107
+		'STRINGS' => array(
108
+			0 => 'color: #ff0000;'
109
+			),
110
+		'NUMBERS' => array(
111
+			0 => 'color: #cc66cc;'
112
+			),
113
+		'METHODS' => array(
114
+			1 => 'color: #202020;'
115
+			),
116
+		'SYMBOLS' => array(
117
+			0 => 'color: #66cc66;'
118
+			),
119
+		'REGEXPS' => array(
120
+			),
121
+		'SCRIPT' => array(
122
+			)
123
+		),
124
+	'URLS' => array(
125
+		1 => '',
126
+		2 => '',
127
+		3 => '',
128
+		4 => ''
129
+		),
130
+	'OOLANG' => true,
131
+	'OBJECT_SPLITTERS' => array(
132
+		1 => '.'
133
+		),
134
+	'REGEXPS' => array(
135
+		),
136
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
137
+	'SCRIPT_DELIMITERS' => array(
138
+		),
139
+	'HIGHLIGHT_STRICT_BLOCK' => array(
140
+        ),
141
+    'TAB_WIDTH' => 4
142
+);
143
+
144
+?>

+ 302 - 0
plugins/geshi/per.php View File

@@ -0,0 +1,302 @@
1
+<?php
2
+/*************************************************************************************
3
+ * per.php
4
+ * --------
5
+ * Author: Lars Gersmann (lars.gersmann@gmail.com)
6
+ * Copyright: (c) 2007 Lars Gersmann
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2007/06/03
9
+ *
10
+ * Per (forms) (FOURJ's Genero 4GL) language file for GeSHi.
11
+ *
12
+ *************************************************************************************
13
+ *
14
+ *     This file is part of GeSHi.
15
+ *
16
+ *   GeSHi is free software; you can redistribute it and/or modify
17
+ *   it under the terms of the GNU General Public License as published by
18
+ *   the Free Software Foundation; either version 2 of the License, or
19
+ *   (at your option) any later version.
20
+ *
21
+ *   GeSHi is distributed in the hope that it will be useful,
22
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
23
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24
+ *   GNU General Public License for more details.
25
+ *
26
+ *   You should have received a copy of the GNU General Public License
27
+ *   along with GeSHi; if not, write to the Free Software
28
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
29
+ *
30
+ ************************************************************************************/
31
+
32
+ $language_data = array (
33
+    'LANG_NAME' => 'per',
34
+    'COMMENT_SINGLE' => array(1 => '--', 2 => '#'),
35
+    'COMMENT_MULTI' => array('{' => '}'),
36
+    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
37
+    'QUOTEMARKS' => array("'", '"'),
38
+    'ESCAPE_CHAR' => '\\',
39
+    'KEYWORDS' => array(
40
+        1 => array(
41
+            "ACCELERATOR",
42
+            "ACCELERATOR2",
43
+            "ACTION",
44
+            "ALT",
45
+            "AND",
46
+            "AUTO",
47
+            "AUTONEXT",
48
+            "AUTOSCALE",
49
+            "BETWEEN",
50
+            "BOTH",
51
+            "BUTTON",
52
+            "BUTTONEDIT",
53
+            "BUTTONTEXTHIDDEN",
54
+            "BY",
55
+            "BYTE",
56
+            "CANVAS",
57
+            "CENTER",
58
+            "CHECKBOX",
59
+            "CLASS",
60
+            "COLOR",
61
+            "COLUMNS",
62
+            "COMBOBOX",
63
+            "COMMAND",
64
+            "COMMENT",
65
+            "COMMENTS",
66
+            "COMPACT",
67
+            "COMPRESS",
68
+            "CONFIG",
69
+            "CONTROL",
70
+            "CURRENT",
71
+            "DATABASE",
72
+            "DATEEDIT",
73
+            "DEC",
74
+            "DEFAULT",
75
+            "DEFAULTS",
76
+            "DELIMITERS",
77
+            "DISPLAY",
78
+            "DISPLAYONLY",
79
+            "DOWNSHIFT",
80
+            "DYNAMIC",
81
+            "EDIT",
82
+            "FIXED",
83
+            "FOLDER",
84
+            "FONTPITCH",
85
+            "FORMAT",
86
+            "FORMONLY",
87
+            "GRID",
88
+            "GRIDCHILDRENINPARENT",
89
+            "GROUP",
90
+            "HBOX",
91
+            "HEIGHT",
92
+            "HIDDEN",
93
+            "HORIZONTAL",
94
+            "INCLUDE",
95
+            "INITIAL",
96
+            "INITIALIZER",
97
+            "INPUT",
98
+            "INSTRUCTIONS",
99
+            "INTERVAL",
100
+            "INVISIBLE",
101
+            "IS",
102
+            "ITEM",
103
+            "ITEMS",
104
+            "JUSTIFY",
105
+            "KEY",
106
+            "KEYS",
107
+            "LABEL",
108
+            "LEFT",
109
+            "LIKE",
110
+            "LINES",
111
+            "MATCHES",
112
+            "NAME",
113
+            "NOENTRY",
114
+            "NONCOMPRESS",
115
+            "NORMAL",
116
+            "NOT",
117
+            "NOUPDATE",
118
+            "OPTIONS",
119
+            "OR",
120
+            "ORIENTATION",
121
+            "PACKED",
122
+            "PAGE",
123
+            "PICTURE",
124
+            "PIXELHEIGHT",
125
+            "PIXELS",
126
+            "PIXELWIDTH",
127
+            "POINTS",
128
+            "PROGRAM",
129
+            "PROGRESSBAR",
130
+            "QUERYCLEAR",
131
+            "QUERYEDITABLE",
132
+            "RADIOGROUP",
133
+            "RECORD",
134
+            "REQUIRED",
135
+            "REVERSE",
136
+            "RIGHT",
137
+            "SAMPLE",
138
+            "SCREEN",
139
+            "SCROLL",
140
+            "SCROLLBARS",
141
+            "SCROLLGRID",
142
+            "SECOND",
143
+            "SEPARATOR",
144
+            "SHIFT",
145
+            "SIZE",
146
+            "SIZEPOLICY",
147
+            "SMALLFLOAT",
148
+            "SMALLINT",
149
+            "SPACING",
150
+            "STRETCH",
151
+            "STYLE",
152
+            "TABINDEX",
153
+            "TABLE",
154
+            "TAG",
155
+            "TEXT",
156
+            "TEXTEDIT",
157
+            "THROUGH",
158
+            "THRU",
159
+            "TITLE",
160
+            "TO",
161
+            "TOOLBAR",
162
+            "TOPMENU",
163
+            "TYPE",
164
+            "UNHIDABLE",
165
+            "UNHIDABLECOLUMNS",
166
+            "UNMOVABLE",
167
+            "UNMOVABLECOLUMNS",
168
+            "UNSIZABLE",
169
+            "UNSIZABLECOLUMNS",
170
+            "UNSORTABLE",
171
+            "UNSORTABLECOLUMNS",
172
+            "UPSHIFT",
173
+            "USER",
174
+            "VALIDATE",
175
+            "VALUECHECKED",
176
+            "VALUEMAX",
177
+            "VALUEMIN",
178
+            "VALUEUNCHECKED",
179
+            "VARCHAR",
180
+            "VARIABLE",
181
+            "VBOX",
182
+            "VERIFY",
183
+            "VERSION",
184
+            "VERTICAL",
185
+            "TIMESTAMP",
186
+            "WANTCOLUMNSANCHORED", /* to be removed! */
187
+            "WANTFIXEDPAGESIZE",
188
+            "WANTNORETURNS",
189
+            "WANTTABS",
190
+            "WHERE",
191
+            "WIDGET",
192
+            "WIDTH",
193
+            "WINDOWSTYLE",
194
+            "WITHOUT",
195
+            "WORDWRAP",
196
+            "X",
197
+            "Y",
198
+            "ZEROFILL",
199
+            "SCHEMA",
200
+            "ATTRIBUTES",
201
+            "TABLES",
202
+            "LAYOUT",
203
+            "END"
204
+            ),
205
+        2 => array(
206
+            "YEAR",
207
+            "BLACK",
208
+            "BLINK",
209
+            "BLUE",
210
+            "YELLOW",
211
+            "WHITE",
212
+            "UNDERLINE",
213
+            "CENTURY",
214
+            "FRACTION",
215
+            "CHAR",
216
+            "CHARACTER",
217
+            "CHARACTERS",
218
+            "CYAN",
219
+            "DATE",
220
+            "DATETIME",
221
+            "DAY",
222
+            "DECIMAL",
223
+            "FALSE",
224
+            "FLOAT",
225
+            "GREEN",
226
+            "HOUR",
227
+            "INT",
228
+            "INTEGER",
229
+            "MAGENTA",
230
+            "MINUTE",
231
+            "MONEY",
232
+            "NONE",
233
+            "NULL",
234
+            "REAL",
235
+            "RED",
236
+            "TRUE",
237
+            "TODAY",
238
+            "MONTH",
239
+            "IMAGE"
240
+            ),
241
+        ),
242
+    'SYMBOLS' => array(
243
+        '+', '-', '*', '?', '=', '/', '%', '>', '<', '^', '!', '|', ':',
244
+        '(', ')', '[', ']'
245
+        ),
246
+    'CASE_SENSITIVE' => array(
247
+        GESHI_COMMENTS => true,
248
+        1 => false,
249
+        2 => false,
250
+        ),
251
+    'STYLES' => array(
252
+        'KEYWORDS' => array(
253
+            1 => 'color: #0600FF;',
254
+            2 => 'color: #0000FF; font-weight: bold;',
255
+            ),
256
+        'COMMENTS' => array(
257
+            1 => 'color: #008080; font-style: italic;',
258
+            2 => 'color: #008080;',
259
+            'MULTI' => 'color: green'
260
+            ),
261
+        'ESCAPE_CHAR' => array(
262
+            0 => 'color: #008080; font-weight: bold;'
263
+            ),
264
+        'BRACKETS' => array(
265
+            0 => 'color: #000000;'
266
+            ),
267
+        'STRINGS' => array(
268
+            0 => 'color: #808080;'
269
+            ),
270
+        'NUMBERS' => array(
271
+            0 => 'color: #FF0000;'
272
+            ),
273
+        'METHODS' => array(
274
+            1 => 'color: #0000FF;',
275
+            2 => 'color: #0000FF;'
276
+            ),
277
+        'SYMBOLS' => array(
278
+            0 => 'color: #008000;'
279
+            ),
280
+        'REGEXPS' => array(
281
+            ),
282
+        'SCRIPT' => array(
283
+            )
284
+        ),
285
+    'URLS' => array(
286
+        1 => '',
287
+        2 => '',
288
+        ),
289
+    'OOLANG' => true,
290
+    'OBJECT_SPLITTERS' => array(
291
+        1 => '.'
292
+        ),
293
+    'REGEXPS' => array(
294
+        ),
295
+    'STRICT_MODE_APPLIES' => GESHI_NEVER,
296
+    'SCRIPT_DELIMITERS' => array(
297
+        ),
298
+    'HIGHLIGHT_STRICT_BLOCK' => array(
299
+        )
300
+);
301
+
302
+?>

+ 179 - 0
plugins/geshi/perl.php View File

@@ -0,0 +1,179 @@
1
+<?php
2
+/*************************************************************************************
3
+ * perl.php
4
+ * --------
5
+ * Author: Andreas Gohr (andi@splitbrain.org), Ben Keen (ben.keen@gmail.com)
6
+ * Copyright: (c) 2004 Andreas Gohr, Ben Keen (http://www.benjaminkeen.org/), Nigel McNie (http://qbnz.com/highlighter/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/08/20
9
+ *
10
+ * Perl language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2008/02/15 (1.003)
15
+ *   -  Fixed SF#1891630 with placebo patch
16
+ * 2006/01/05 (1.0.2)
17
+ *   -  Used hardescape feature for ' strings (Cliff Stanford)
18
+ * 2004/11/27 (1.0.1)
19
+ *   -  Added support for multiple object splitters
20
+ * 2004/08/20 (1.0.0)
21
+ *   -  First Release
22
+ *
23
+ * TODO (updated 2004/11/27)
24
+ * -------------------------
25
+ * * LABEL:
26
+ * * string comparison operators
27
+ *
28
+ *************************************************************************************
29
+ *
30
+ *     This file is part of GeSHi.
31
+ *
32
+ *   GeSHi is free software; you can redistribute it and/or modify
33
+ *   it under the terms of the GNU General Public License as published by
34
+ *   the Free Software Foundation; either version 2 of the License, or
35
+ *   (at your option) any later version.
36
+ *
37
+ *   GeSHi is distributed in the hope that it will be useful,
38
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
39
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
40
+ *   GNU General Public License for more details.
41
+ *
42
+ *   You should have received a copy of the GNU General Public License
43
+ *   along with GeSHi; if not, write to the Free Software
44
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
45
+ *
46
+ ************************************************************************************/
47
+
48
+$language_data = array (
49
+	'LANG_NAME' => 'Perl',
50
+	'COMMENT_SINGLE' => array(1 => '#'),
51
+	'COMMENT_MULTI' => array(
52
+        '=back' => '=cut',
53
+        '=head' => '=cut',
54
+        '=item' => '=cut',
55
+        '=over' => '=cut',
56
+        '=begin' => '=cut',
57
+        '=end' => '=cut',
58
+        '=for' => '=cut',
59
+        '=encoding' => '=cut',
60
+        '=pod' => '=cut'
61
+    ),
62
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
63
+	'QUOTEMARKS' => array('"'),
64
+	'HARDQUOTE' => array("'", "'"),		    // An optional 2-element array defining the beginning and end of a hard-quoted string
65
+	'HARDESCAPE' => array('\\\'', "\\\\"),	    // Things that must still be escaped inside a hard-quoted string
66
+						    // If HARDQUOTE is defined, HARDESCAPE must be defined
67
+						    // This will not work unless the first character of each element is either in the
68
+						    // QUOTEMARKS array or is the ESCAPE_CHAR
69
+	'ESCAPE_CHAR' => '\\',
70
+	'KEYWORDS' => array(
71
+		1 => array(
72
+			'case', 'do', 'else', 'elsif', 'for', 'if', 'then', 'until', 'while', 'foreach', 'my',
73
+			'or', 'and', 'unless', 'next', 'last', 'redo', 'not', 'our',
74
+			'reset', 'continue','and', 'cmp', 'ne'
75
+			),
76
+		2 => array(
77
+			'use', 'sub', 'new', '__END__', '__DATA__', '__DIE__', '__WARN__', 'BEGIN',
78
+			'STDIN', 'STDOUT', 'STDERR'
79
+			),
80
+		3 => array(
81
+			'abs', 'accept', 'alarm', 'atan2', 'bind', 'binmode', 'bless',
82
+			'caller', 'chdir', 'chmod', 'chomp', 'chop', 'chown', 'chr',
83
+			'chroot', 'close', 'closedir', 'connect', 'continue', 'cos',
84
+			'crypt', 'dbmclose', 'dbmopen', 'defined', 'delete', 'die',
85
+			'dump', 'each', 'endgrent', 'endhostent', 'endnetent', 'endprotoent',
86
+			'endpwent', 'endservent', 'eof', 'eval', 'exec', 'exists', 'exit',
87
+			'exp', 'fcntl', 'fileno', 'flock', 'fork', 'format', 'formline',
88
+			'getc', 'getgrent', 'getgrgid', 'getgrnam', 'gethostbyaddr',
89
+			'gethostbyname', 'gethostent', 'getlogin', 'getnetbyaddr', 'getnetbyname',
90
+			'getnetent', 'getpeername', 'getpgrp', 'getppid', 'getpriority',
91
+			'getprotobyname', 'getprotobynumber', 'getprotoent', 'getpwent',
92
+			'getpwnam', 'getpwuid', 'getservbyname', 'getservbyport', 'getservent',
93
+			'getsockname', 'getsockopt', 'glob', 'gmtime', 'goto', 'grep',
94
+			'hex', 'import', 'index', 'int', 'ioctl', 'join', 'keys', 'kill',
95
+			'last', 'lc', 'lcfirst', 'length', 'link', 'listen', 'local',
96
+			'localtime', 'log', 'lstat', 'm', 'map', 'mkdir', 'msgctl', 'msgget',
97
+			'msgrcv', 'msgsnd', 'my', 'next', 'no', 'oct', 'open', 'opendir',
98
+			'ord', 'our', 'pack', 'package', 'pipe', 'pop', 'pos', 'print',
99
+			'printf', 'prototype', 'push', 'qq', 'qr', 'quotemeta', 'qw',
100
+			'qx', 'q', 'rand', 'read', 'readdir', 'readline', 'readlink', 'readpipe',
101
+			'recv', 'redo', 'ref', 'rename', 'require', 'return',
102
+			'reverse', 'rewinddir', 'rindex', 'rmdir', 's', 'scalar', 'seek',
103
+			'seekdir', 'select', 'semctl', 'semget', 'semop', 'send', 'setgrent',
104
+			'sethostent', 'setnetent', 'setpgrp', 'setpriority', 'setprotoent',
105
+			'setpwent', 'setservent', 'setsockopt', 'shift', 'shmctl', 'shmget',
106
+			'shmread', 'shmwrite', 'shutdown', 'sin', 'sleep', 'socket', 'socketpair',
107
+			'sort', 'splice', 'split', 'sprintf', 'sqrt', 'srand', 'stat',
108
+			'study', 'substr', 'symlink', 'syscall', 'sysopen', 'sysread',
109
+			'sysseek', 'system', 'syswrite', 'tell', 'telldir', 'tie', 'tied',
110
+			'time', 'times', 'tr', 'truncate', 'uc', 'ucfirst', 'umask', 'undef',
111
+			'unlink', 'unpack', 'unshift', 'untie', 'utime', 'values',
112
+			'vec', 'wait', 'waitpid', 'wantarray', 'warn', 'write', 'y'
113
+			)
114
+		),
115
+	'SYMBOLS' => array(
116
+		'(', ')', '[', ']', '!', '@', '%', '&', '*', '|', '/', '<', '>'
117
+		),
118
+	'CASE_SENSITIVE' => array(
119
+		GESHI_COMMENTS => true,
120
+		1 => true,
121
+		2 => true,
122
+		3 => true,
123
+		),
124
+	'STYLES' => array(
125
+		'KEYWORDS' => array(
126
+			1 => 'color: #b1b100;',
127
+			2 => 'color: #000000; font-weight: bold;',
128
+			3 => 'color: #000066;'
129
+			),
130
+		'COMMENTS' => array(
131
+			1 => 'color: #808080; font-style: italic;',
132
+			'MULTI' => 'color: #808080; font-style: italic;'
133
+			),
134
+		'ESCAPE_CHAR' => array(
135
+			0 => 'color: #000099; font-weight: bold;'
136
+			),
137
+		'BRACKETS' => array(
138
+			0 => 'color: #66cc66;'
139
+			),
140
+		'STRINGS' => array(
141
+			0 => 'color: #ff0000;'
142
+			),
143
+		'NUMBERS' => array(
144
+			0 => 'color: #cc66cc;'
145
+			),
146
+		'METHODS' => array(
147
+			1 => 'color: #006600;',
148
+			2 => 'color: #006600;'
149
+			),
150
+		'SYMBOLS' => array(
151
+			0 => 'color: #66cc66;'
152
+			),
153
+		'REGEXPS' => array(
154
+			0 => 'color: #0000ff;',
155
+			4 => 'color: #009999;',
156
+			),
157
+		'SCRIPT' => array(
158
+			)
159
+		),
160
+	'URLS' => array(
161
+		3 => 'http://perldoc.perl.org/functions/{FNAME}.html'
162
+		),
163
+	'OOLANG' => true,
164
+	'OBJECT_SPLITTERS' => array(
165
+		1 => '-&gt;',
166
+		2 => '::'
167
+		),
168
+	'REGEXPS' => array(
169
+		0 => '[\\$%@]+[a-zA-Z_][a-zA-Z0-9_]*',
170
+		4 => '&lt;[a-zA-Z_][a-zA-Z0-9_]*&gt;',
171
+		),
172
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
173
+	'SCRIPT_DELIMITERS' => array(
174
+		),
175
+	'HIGHLIGHT_STRICT_BLOCK' => array(
176
+		)
177
+);
178
+
179
+?>

File diff suppressed because it is too large
+ 166 - 0
plugins/geshi/php-brief.php


+ 359 - 0
plugins/geshi/php.php View File

@@ -0,0 +1,359 @@
1
+<?php
2
+/*************************************************************************************
3
+ * php.php
4
+ * --------
5
+ * Author: Nigel McNie (nigel@geshi.org)
6
+ * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/06/20
9
+ *
10
+ * PHP language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2004/11/25 (1.0.3)
15
+ *  -  Added support for multiple object splitters
16
+ *  -  Fixed &new problem
17
+ * 2004/10/27 (1.0.2)
18
+ *  -  Added URL support
19
+ *  -  Added extra constants
20
+ * 2004/08/05 (1.0.1)
21
+ *  -  Added support for symbols
22
+ * 2004/07/14 (1.0.0)
23
+ *  -  First Release
24
+ *
25
+ * TODO (updated 2004/07/14)
26
+ * -------------------------
27
+ * * Make sure the last few function I may have missed
28
+ *   (like eval()) are included for highlighting
29
+ * * Split to several files - php4, php5 etc
30
+ *
31
+ *************************************************************************************
32
+ *
33
+ *     This file is part of GeSHi.
34
+ *
35
+ *   GeSHi is free software; you can redistribute it and/or modify
36
+ *   it under the terms of the GNU General Public License as published by
37
+ *   the Free Software Foundation; either version 2 of the License, or
38
+ *   (at your option) any later version.
39
+ *
40
+ *   GeSHi is distributed in the hope that it will be useful,
41
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
42
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
43
+ *   GNU General Public License for more details.
44
+ *
45
+ *   You should have received a copy of the GNU General Public License
46
+ *   along with GeSHi; if not, write to the Free Software
47
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
48
+ *
49
+ ************************************************************************************/
50
+
51
+$language_data = array (
52
+    'LANG_NAME' => 'PHP',
53
+    'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
54
+    'COMMENT_MULTI' => array('/*' => '*/'),
55
+    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
56
+    'QUOTEMARKS' => array("'", '"'),
57
+    'ESCAPE_CHAR' => '\\',
58
+    'KEYWORDS' => array(
59
+        1 => array(
60
+            'include', 'require', 'include_once', 'require_once',
61
+            'for', 'foreach', 'as', 'if', 'elseif', 'else', 'while', 'do', 'endwhile',
62
+            'endif', 'switch', 'case', 'endswitch', 'endfor', 'endforeach',
63
+            'return', 'break', 'continue'
64
+            ),
65
+        2 => array(
66
+            'null', '__LINE__', '__FILE__',
67
+            'false', '&lt;?php', '?&gt;', '&lt;?',
68
+            '&lt;script language', '&lt;/script&gt;',
69
+            'true', 'var', 'default',
70
+            'function', 'class', 'new', '&amp;new', 'public', 'private', 'interface', 'extends',
71
+            '__FUNCTION__', '__CLASS__', '__METHOD__', 'PHP_VERSION',
72
+            'PHP_OS', 'DEFAULT_INCLUDE_PATH', 'PEAR_INSTALL_DIR', 'PEAR_EXTENSION_DIR',
73
+            'PHP_EXTENSION_DIR', 'PHP_BINDIR', 'PHP_LIBDIR', 'PHP_DATADIR', 'PHP_SYSCONFDIR',
74
+            'PHP_LOCALSTATEDIR', 'PHP_CONFIG_FILE_PATH', 'PHP_OUTPUT_HANDLER_START', 'PHP_OUTPUT_HANDLER_CONT',
75
+            'PHP_OUTPUT_HANDLER_END', 'E_ERROR', 'E_WARNING', 'E_PARSE', 'E_NOTICE',
76
+            'E_CORE_ERROR', 'E_CORE_WARNING', 'E_COMPILE_ERROR', 'E_COMPILE_WARNING', 'E_USER_ERROR',
77
+            'E_USER_WARNING', 'E_USER_NOTICE', 'E_ALL'
78
+            ),
79
+        3 => array(
80
+            'zlib_get_coding_type','zend_version','zend_logo_guid','yp_order','yp_next',
81
+            'yp_match','yp_master','yp_get_default_domain','yp_first','yp_errno','yp_err_string',
82
+            'yp_cat','yp_all','xml_set_unparsed_entity_decl_handler','xml_set_start_namespace_decl_handler','xml_set_processing_instruction_handler','xml_set_object',
83
+            'xml_set_notation_decl_handler','xml_set_external_entity_ref_handler','xml_set_end_namespace_decl_handler','xml_set_element_handler','xml_set_default_handler','xml_set_character_data_handler',
84
+            'xml_parser_set_option','xml_parser_get_option','xml_parser_free','xml_parser_create_ns','xml_parser_create','xml_parse_into_struct',
85
+            'xml_parse','xml_get_error_code','xml_get_current_line_number','xml_get_current_column_number','xml_get_current_byte_index','xml_error_string',
86
+            'wordwrap','wddx_serialize_vars','wddx_serialize_value','wddx_packet_start','wddx_packet_end','wddx_deserialize',
87
+            'wddx_add_vars','vsprintf','vprintf','virtual','version_compare','var_export',
88
+            'var_dump','utf8_encode','utf8_decode','usort','usleep','user_error',
89
+            'urlencode','urldecode','unserialize','unregister_tick_function','unpack','unlink',
90
+            'unixtojd','uniqid','umask','uksort','ucwords','ucfirst',
91
+            'uasort','trim','trigger_error','touch','token_name','token_get_all',
92
+            'tmpfile','time','textdomain','tempnam','tanh','tan',
93
+            'system','syslog','symlink','substr_replace','substr_count','substr',
94
+            'strval','strtr','strtoupper','strtotime','strtolower','strtok',
95
+            'strstr','strspn','strrpos','strrev','strrchr','strpos',
96
+            'strncmp','strncasecmp','strnatcmp','strnatcasecmp','strlen','stristr',
97
+            'stripslashes','stripcslashes','strip_tags','strftime','stream_wrapper_register','stream_set_write_buffer',
98
+            'stream_set_timeout','stream_set_blocking','stream_select','stream_register_wrapper','stream_get_meta_data','stream_filter_prepend',
99
+            'stream_filter_append','stream_context_set_params','stream_context_set_option','stream_context_get_options','stream_context_create','strcspn',
100
+            'strcoll','strcmp','strchr','strcasecmp','str_word_count','str_shuffle',
101
+            'str_rot13','str_replace','str_repeat','str_pad','stat','sscanf',
102
+            'srand','sqrt','sql_regcase','sprintf','spliti','split',
103
+            'soundex','sort','socket_writev','socket_write','socket_strerror','socket_shutdown',
104
+            'socket_setopt','socket_set_timeout','socket_set_option','socket_set_nonblock','socket_set_blocking','socket_set_block',
105
+            'socket_sendto','socket_sendmsg','socket_send','socket_select','socket_recvmsg','socket_recvfrom',
106
+            'socket_recv','socket_readv','socket_read','socket_listen','socket_last_error','socket_iovec_set',
107
+            'socket_iovec_free','socket_iovec_fetch','socket_iovec_delete','socket_iovec_alloc','socket_iovec_add','socket_getsockname',
108
+            'socket_getpeername','socket_getopt','socket_get_status','socket_get_option','socket_create_pair','socket_create_listen',
109
+            'socket_create','socket_connect','socket_close','socket_clear_error','socket_bind','socket_accept',
110
+            'sleep','sizeof','sinh','sin','similar_text','shuffle',
111
+            'show_source','shmop_write','shmop_size','shmop_read','shmop_open','shmop_delete',
112
+            'shmop_close','shm_remove_var','shm_remove','shm_put_var','shm_get_var','shm_detach',
113
+            'shm_attach','shell_exec','sha1_file','sha1','settype','setlocale',
114
+            'setcookie','set_time_limit','set_socket_blocking','set_magic_quotes_runtime','set_include_path','set_file_buffer',
115
+            'set_error_handler','session_write_close','session_unset','session_unregister','session_start','session_set_save_handler',
116
+            'session_set_cookie_params','session_save_path','session_register','session_regenerate_id','session_name','session_module_name',
117
+            'session_is_registered','session_id','session_get_cookie_params','session_encode','session_destroy','session_decode',
118
+            'session_cache_limiter','session_cache_expire','serialize','sem_remove','sem_release','sem_get',
119
+            'sem_acquire','rtrim','rsort','round','rmdir','rewinddir',
120
+            'rewind','restore_include_path','restore_error_handler','reset','rename','register_tick_function',
121
+            'register_shutdown_function','realpath','readlink','readgzfile','readfile','readdir',
122
+            'read_exif_data','rawurlencode','rawurldecode','range','rand','rad2deg',
123
+            'quotemeta','quoted_printable_decode','putenv','proc_open','proc_close','printf',
124
+            'print_r','prev','preg_split','preg_replace_callback','preg_replace','preg_quote',
125
+            'preg_match_all','preg_match','preg_grep','pow','posix_uname','posix_ttyname',
126
+            'posix_times','posix_strerror','posix_setuid','posix_setsid','posix_setpgid','posix_setgid',
127
+            'posix_seteuid','posix_setegid','posix_mkfifo','posix_kill','posix_isatty','posix_getuid',
128
+            'posix_getsid','posix_getrlimit','posix_getpwuid','posix_getpwnam','posix_getppid','posix_getpid',
129
+            'posix_getpgrp','posix_getpgid','posix_getlogin','posix_getgroups','posix_getgrnam','posix_getgrgid',
130
+            'posix_getgid','posix_geteuid','posix_getegid','posix_getcwd','posix_get_last_error','posix_errno',
131
+            'posix_ctermid','pos','popen','pi','phpversion','phpinfo',
132
+            'phpcredits','php_uname','php_sapi_name','php_logo_guid','php_ini_scanned_files','pg_update',
133
+            'pg_untrace','pg_unescape_bytea','pg_tty','pg_trace','pg_setclientencoding','pg_set_client_encoding',
134
+            'pg_send_query','pg_select','pg_result_status','pg_result_seek','pg_result_error','pg_result',
135
+            'pg_query','pg_put_line','pg_port','pg_ping','pg_pconnect','pg_options',
136
+            'pg_numrows','pg_numfields','pg_num_rows','pg_num_fields','pg_meta_data','pg_lowrite',
137
+            'pg_lounlink','pg_loreadall','pg_loread','pg_loopen','pg_loimport','pg_loexport',
138
+            'pg_locreate','pg_loclose','pg_lo_write','pg_lo_unlink','pg_lo_tell','pg_lo_seek',
139
+            'pg_lo_read_all','pg_lo_read','pg_lo_open','pg_lo_import','pg_lo_export','pg_lo_create',
140
+            'pg_lo_close','pg_last_oid','pg_last_notice','pg_last_error','pg_insert','pg_host',
141
+            'pg_getlastoid','pg_get_result','pg_get_pid','pg_get_notify','pg_freeresult','pg_free_result',
142
+            'pg_fieldtype','pg_fieldsize','pg_fieldprtlen','pg_fieldnum','pg_fieldname','pg_fieldisnull',
143
+            'pg_field_type','pg_field_size','pg_field_prtlen','pg_field_num','pg_field_name','pg_field_is_null',
144
+            'pg_fetch_row','pg_fetch_result','pg_fetch_object','pg_fetch_assoc','pg_fetch_array','pg_fetch_all',
145
+            'pg_exec','pg_escape_string','pg_escape_bytea','pg_errormessage','pg_end_copy','pg_delete',
146
+            'pg_dbname','pg_copy_to','pg_copy_from','pg_convert','pg_connection_status','pg_connection_reset',
147
+            'pg_connection_busy','pg_connect','pg_cmdtuples','pg_close','pg_clientencoding','pg_client_encoding',
148
+            'pg_cancel_query','pg_affected_rows','pfsockopen','pclose','pathinfo','passthru',
149
+            'parse_url','parse_str','parse_ini_file','pack','overload','output_reset_rewrite_vars',
150
+            'output_add_rewrite_var','ord','openssl_x509_read','openssl_x509_parse','openssl_x509_free','openssl_x509_export_to_file',
151
+            'openssl_x509_export','openssl_x509_checkpurpose','openssl_x509_check_private_key','openssl_verify','openssl_sign','openssl_seal',
152
+            'openssl_public_encrypt','openssl_public_decrypt','openssl_private_encrypt','openssl_private_decrypt','openssl_pkey_new','openssl_pkey_get_public',
153
+            'openssl_pkey_get_private','openssl_pkey_free','openssl_pkey_export_to_file','openssl_pkey_export','openssl_pkcs7_verify','openssl_pkcs7_sign',
154
+            'openssl_pkcs7_encrypt','openssl_pkcs7_decrypt','openssl_open','openssl_get_publickey','openssl_get_privatekey','openssl_free_key',
155
+            'openssl_error_string','openssl_csr_sign','openssl_csr_new','openssl_csr_export_to_file','openssl_csr_export','openlog',
156
+            'opendir','octdec','ob_start','ob_list_handlers','ob_implicit_flush','ob_iconv_handler',
157
+            'ob_gzhandler','ob_get_status','ob_get_level','ob_get_length','ob_get_flush','ob_get_contents',
158
+            'ob_get_clean','ob_flush','ob_end_flush','ob_end_clean','ob_clean','number_format',
159
+            'nl_langinfo','nl2br','ngettext','next','natsort','natcasesort',
160
+            'mysql_unbuffered_query','mysql_thread_id','mysql_tablename','mysql_table_name','mysql_stat','mysql_selectdb',
161
+            'mysql_select_db','mysql_result','mysql_real_escape_string','mysql_query','mysql_ping','mysql_pconnect',
162
+            'mysql_numrows','mysql_numfields','mysql_num_rows','mysql_num_fields','mysql_listtables','mysql_listfields',
163
+            'mysql_listdbs','mysql_list_tables','mysql_list_processes','mysql_list_fields','mysql_list_dbs','mysql_insert_id',
164
+            'mysql_info','mysql_get_server_info','mysql_get_proto_info','mysql_get_host_info','mysql_get_client_info','mysql_freeresult',
165
+            'mysql_free_result','mysql_fieldtype','mysql_fieldtable','mysql_fieldname','mysql_fieldlen','mysql_fieldflags',
166
+            'mysql_field_type','mysql_field_table','mysql_field_seek','mysql_field_name','mysql_field_len','mysql_field_flags',
167
+            'mysql_fetch_row','mysql_fetch_object','mysql_fetch_lengths','mysql_fetch_field','mysql_fetch_assoc','mysql_fetch_array',
168
+            'mysql_escape_string','mysql_error','mysql_errno','mysql_dropdb','mysql_drop_db','mysql_dbname',
169
+            'mysql_db_query','mysql_db_name','mysql_data_seek','mysql_createdb','mysql_create_db','mysql_connect',
170
+            'mysql_close','mysql_client_encoding','mysql_affected_rows','mysql','mt_srand','mt_rand',
171
+            'mt_getrandmax','move_uploaded_file','money_format','mktime','mkdir','min',
172
+            'microtime','method_exists','metaphone','memory_get_usage','md5_file','md5',
173
+            'mbsubstr','mbstrrpos','mbstrpos','mbstrlen','mbstrcut','mbsplit',
174
+            'mbregex_encoding','mberegi_replace','mberegi','mbereg_search_setpos','mbereg_search_regs','mbereg_search_pos',
175
+            'mbereg_search_init','mbereg_search_getregs','mbereg_search_getpos','mbereg_search','mbereg_replace','mbereg_match',
176
+            'mbereg','mb_substr_count','mb_substr','mb_substitute_character','mb_strwidth','mb_strtoupper',
177
+            'mb_strtolower','mb_strrpos','mb_strpos','mb_strlen','mb_strimwidth','mb_strcut',
178
+            'mb_split','mb_send_mail','mb_regex_set_options','mb_regex_encoding','mb_preferred_mime_name','mb_parse_str',
179
+            'mb_output_handler','mb_language','mb_internal_encoding','mb_http_output','mb_http_input','mb_get_info',
180
+            'mb_eregi_replace','mb_eregi','mb_ereg_search_setpos','mb_ereg_search_regs','mb_ereg_search_pos','mb_ereg_search_init',
181
+            'mb_ereg_search_getregs','mb_ereg_search_getpos','mb_ereg_search','mb_ereg_replace','mb_ereg_match','mb_ereg',
182
+            'mb_encode_numericentity','mb_encode_mimeheader','mb_detect_order','mb_detect_encoding','mb_decode_numericentity','mb_decode_mimeheader',
183
+            'mb_convert_variables','mb_convert_kana','mb_convert_encoding','mb_convert_case','max','mail',
184
+            'magic_quotes_runtime','ltrim','lstat','long2ip','log1p','log10',
185
+            'log','localtime','localeconv','linkinfo','link','levenshtein',
186
+            'lcg_value','ksort','krsort','key_exists','key','juliantojd',
187
+            'join','jewishtojd','jdtounix','jdtojulian','jdtojewish','jdtogregorian',
188
+            'jdtofrench','jdmonthname','jddayofweek','is_writeable','is_writable','is_uploaded_file',
189
+            'is_subclass_of','is_string','is_scalar','is_resource','is_real','is_readable',
190
+            'is_object','is_numeric','is_null','is_nan','is_long','is_link',
191
+            'is_integer','is_int','is_infinite','is_float','is_finite','is_file',
192
+            'is_executable','is_double','is_dir','is_callable','is_bool','is_array',
193
+            'is_a','iptcparse','iptcembed','ip2long','intval','ini_set',
194
+            'ini_restore','ini_get_all','ini_get','ini_alter','in_array','import_request_variables',
195
+            'implode','image_type_to_mime_type','ignore_user_abort','iconv_set_encoding','iconv_get_encoding','iconv',
196
+            'i18n_mime_header_encode','i18n_mime_header_decode','i18n_ja_jp_hantozen','i18n_internal_encoding','i18n_http_output','i18n_http_input',
197
+            'i18n_discover_encoding','i18n_convert','hypot','htmlspecialchars','htmlentities','html_entity_decode',
198
+            'highlight_string','highlight_file','hexdec','hebrevc','hebrev','headers_sent',
199
+            'header','gzwrite','gzuncompress','gztell','gzseek','gzrewind',
200
+            'gzread','gzputs','gzpassthru','gzopen','gzinflate','gzgetss',
201
+            'gzgets','gzgetc','gzfile','gzeof','gzencode','gzdeflate',
202
+            'gzcompress','gzclose','gregoriantojd','gmstrftime','gmmktime','gmdate',
203
+            'glob','gettype','gettimeofday','gettext','getservbyport','getservbyname',
204
+            'getrusage','getrandmax','getprotobynumber','getprotobyname','getopt','getmyuid',
205
+            'getmypid','getmyinode','getmygid','getmxrr','getlastmod','getimagesize',
206
+            'gethostbynamel','gethostbyname','gethostbyaddr','getenv','getdate','getcwd',
207
+            'getallheaders','get_resource_type','get_required_files','get_parent_class','get_object_vars','get_meta_tags',
208
+            'get_magic_quotes_runtime','get_magic_quotes_gpc','get_loaded_extensions','get_included_files','get_include_path','get_html_translation_table',
209
+            'get_extension_funcs','get_defined_vars','get_defined_functions','get_defined_constants','get_declared_classes','get_current_user',
210
+            'get_class_vars','get_class_methods','get_class','get_cfg_var','get_browser','fwrite',
211
+            'function_exists','func_num_args','func_get_args','func_get_arg','ftruncate','ftp_systype',
212
+            'ftp_ssl_connect','ftp_size','ftp_site','ftp_set_option','ftp_rmdir','ftp_rename',
213
+            'ftp_rawlist','ftp_quit','ftp_pwd','ftp_put','ftp_pasv','ftp_nlist',
214
+            'ftp_nb_put','ftp_nb_get','ftp_nb_fput','ftp_nb_fget','ftp_nb_continue','ftp_mkdir',
215
+            'ftp_mdtm','ftp_login','ftp_get_option','ftp_get','ftp_fput','ftp_fget',
216
+            'ftp_exec','ftp_delete','ftp_connect','ftp_close','ftp_chdir','ftp_cdup',
217
+            'ftok','ftell','fstat','fsockopen','fseek','fscanf',
218
+            'frenchtojd','fread','fputs','fpassthru','fopen','fnmatch',
219
+            'fmod','flush','floor','flock','floatval','filetype',
220
+            'filesize','filepro_rowcount','filepro_retrieve','filepro_fieldwidth','filepro_fieldtype','filepro_fieldname',
221
+            'filepro_fieldcount','filepro','fileperms','fileowner','filemtime','fileinode',
222
+            'filegroup','filectime','fileatime','file_get_contents','file_exists','file',
223
+            'fgetss','fgets','fgetcsv','fgetc','fflush','feof',
224
+            'fclose','ezmlm_hash','extract','extension_loaded','expm1','explode',
225
+            'exp','exif_thumbnail','exif_tagname','exif_read_data','exif_imagetype','exec',
226
+            'escapeshellcmd','escapeshellarg','error_reporting','error_log','eregi_replace','eregi',
227
+            'ereg_replace','ereg','end','easter_days','easter_date','each',
228
+            'doubleval','dngettext','dl','diskfreespace','disk_total_space','disk_free_space',
229
+            'dirname','dir','dgettext','deg2rad','defined','define_syslog_variables',
230
+            'define','decoct','dechex','decbin','debug_zval_dump','debug_backtrace',
231
+            'deaggregate','dcngettext','dcgettext','dba_sync','dba_replace','dba_popen',
232
+            'dba_optimize','dba_open','dba_nextkey','dba_list','dba_insert','dba_handlers',
233
+            'dba_firstkey','dba_fetch','dba_exists','dba_delete','dba_close','date',
234
+            'current','ctype_xdigit','ctype_upper','ctype_space','ctype_punct','ctype_print',
235
+            'ctype_lower','ctype_graph','ctype_digit','ctype_cntrl','ctype_alpha','ctype_alnum',
236
+            'crypt','create_function','crc32','count_chars','count','cosh',
237
+            'cos','copy','convert_cyr_string','constant','connection_status','connection_aborted',
238
+            'compact','closelog','closedir','clearstatcache','class_exists','chunk_split',
239
+            'chr','chown','chop','chmod','chgrp','checkdnsrr',
240
+            'checkdate','chdir','ceil','call_user_method_array','call_user_method','call_user_func_array',
241
+            'call_user_func','cal_to_jd','cal_info','cal_from_jd','cal_days_in_month','bzwrite',
242
+            'bzread','bzopen','bzflush','bzerrstr','bzerror','bzerrno',
243
+            'bzdecompress','bzcompress','bzclose','bindtextdomain','bindec','bind_textdomain_codeset',
244
+            'bin2hex','bcsub','bcsqrt','bcscale','bcpow','bcmul',
245
+            'bcmod','bcdiv','bccomp','bcadd','basename','base_convert',
246
+            'base64_encode','base64_decode','atanh','atan2','atan','assert_options',
247
+            'assert','asort','asinh','asin','arsort','array_walk',
248
+            'array_values','array_unshift','array_unique','array_sum','array_splice','array_slice',
249
+            'array_shift','array_search','array_reverse','array_reduce','array_rand','array_push',
250
+            'array_pop','array_pad','array_multisort','array_merge_recursive','array_merge','array_map',
251
+            'array_keys','array_key_exists','array_intersect_assoc','array_intersect','array_flip','array_filter',
252
+            'array_fill','array_diff_assoc','array_diff','array_count_values','array_chunk','array_change_key_case',
253
+            'apache_setenv','apache_response_headers','apache_request_headers','apache_note','apache_lookup_uri','apache_get_version',
254
+            'apache_child_terminate','aggregation_info','aggregate_properties_by_regexp','aggregate_properties_by_list','aggregate_properties','aggregate_methods_by_regexp',
255
+            'aggregate_methods_by_list','aggregate_methods','aggregate','addslashes','addcslashes','acosh',
256
+            'acos','abs','_','echo', 'print', 'global', 'static', 'exit', 'array', 'empty',
257
+            'eval', 'isset', 'unset', 'die', 'list'
258
+            )
259
+        ),
260
+    'SYMBOLS' => array(
261
+        '(', ')', '[', ']', '{', '}',
262
+        '!', '@', '%', '&', '|', '/',
263
+        '<', '>',
264
+        '=', '-', '+', '*',
265
+        '.', ':', ',', ';'
266
+        ),
267
+    'CASE_SENSITIVE' => array(
268
+        GESHI_COMMENTS => false,
269
+        1 => false,
270
+        2 => false,
271
+        3 => false,
272
+        ),
273
+    'STYLES' => array(
274
+        'KEYWORDS' => array(
275
+            1 => 'color: #b1b100;',
276
+            2 => 'color: #000000; font-weight: bold;',
277
+            3 => 'color: #000066;'
278
+            ),
279
+        'COMMENTS' => array(
280
+            1 => 'color: #808080; font-style: italic;',
281
+            2 => 'color: #808080; font-style: italic;',
282
+            'MULTI' => 'color: #808080; font-style: italic;'
283
+            ),
284
+        'ESCAPE_CHAR' => array(
285
+            0 => 'color: #000099; font-weight: bold;'
286
+            ),
287
+        'BRACKETS' => array(
288
+            0 => 'color: #66cc66;'
289
+            ),
290
+        'STRINGS' => array(
291
+            0 => 'color: #ff0000;'
292
+            ),
293
+        'NUMBERS' => array(
294
+            0 => 'color: #cc66cc;'
295
+            ),
296
+        'METHODS' => array(
297
+            1 => 'color: #006600;',
298
+            2 => 'color: #006600;'
299
+            ),
300
+        'SYMBOLS' => array(
301
+            0 => 'color: #66cc66;'
302
+            ),
303
+        'REGEXPS' => array(
304
+            0 => 'color: #0000ff;',
305
+            1 => 'color: #ff0000'
306
+            ),
307
+        'SCRIPT' => array(
308
+            0 => '',
309
+            1 => '',
310
+            2 => '',
311
+            3 => ''
312
+            )
313
+        ),
314
+    'URLS' => array(
315
+        1 => '',
316
+        2 => '',
317
+        3 => 'http://www.php.net/{FNAME}',
318
+        4 => ''
319
+        ),
320
+    'OOLANG' => true,
321
+    'OBJECT_SPLITTERS' => array(
322
+        1 => '-&gt;',
323
+        2 => '::'
324
+        ),
325
+    'REGEXPS' => array(
326
+        0 => array(
327
+            GESHI_SEARCH  => "([a-zA-Z]+)(\\n)(.*?)(\\n)(\\1[^a-zA-Z0-9])",
328
+            GESHI_REPLACE => '\3',
329
+            GESHI_BEFORE => '\1\2',
330
+            GESHI_AFTER => '\4\5',
331
+            GESHI_MODIFIERS => 'siU'
332
+            ),
333
+        1 => "[\\$]{1,2}[a-zA-Z_][a-zA-Z0-9_]*"
334
+        ),
335
+    'STRICT_MODE_APPLIES' => GESHI_MAYBE,
336
+    'SCRIPT_DELIMITERS' => array(
337
+        0 => array(
338
+            '<?php' => '?>'
339
+            ),
340
+        1 => array(
341
+            '<?' => '?>'
342
+            ),
343
+        2 => array(
344
+            '<%' => '%>'
345
+            ),
346
+        3 => array(
347
+            '<script language="php">' => '</script>'
348
+            )
349
+        ),
350
+    'HIGHLIGHT_STRICT_BLOCK' => array(
351
+        0 => true,
352
+        1 => true,
353
+        2 => true,
354
+        3 => true
355
+        ),
356
+    'TAB_WIDTH' => 4
357
+);
358
+
359
+?>

+ 256 - 0
plugins/geshi/plsql.php View File

@@ -0,0 +1,256 @@
1
+<?php
2
+/*************************************************************************************
3
+ * plsql.php
4
+ * -------
5
+ * Author: Victor Engmark <victor.engmark@gmail.com>
6
+ * Copyright: (c) 2006 Victor Engmark (http://l0b0.net/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2006/10/26
9
+ *
10
+ * Oracle 9.2 PL/SQL language file for GeSHi.
11
+ * Formatting is based on the default setup of TOAD 8.6.
12
+ *
13
+ * CHANGES
14
+ * -------
15
+ * 2006/10/27 (1.0.0)
16
+ *	-	First Release
17
+ *
18
+ * TODO (updated 2006/10/27)
19
+ * -------------------------
20
+ * * Add < and > to brackets
21
+ * * Remove symbols which are also comment delimiters / quote marks?
22
+ *
23
+ *************************************************************************************
24
+ *
25
+ *		 This file is part of GeSHi.
26
+ *
27
+ *	 GeSHi is free software; you can redistribute it and/or modify
28
+ *	 it under the terms of the GNU General Public License as published by
29
+ *	 the Free Software Foundation; either version 2 of the License, or
30
+ *	 (at your option) any later version.
31
+ *
32
+ *	 GeSHi is distributed in the hope that it will be useful,
33
+ *	 but WITHOUT ANY WARRANTY; without even the implied warranty of
34
+ *	 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
35
+ *	 GNU General Public License for more details.
36
+ *
37
+ *	 You should have received a copy of the GNU General Public License
38
+ *	 along with GeSHi; if not, write to the Free Software
39
+ *	 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA	02111-1307	USA
40
+ *
41
+ ************************************************************************************/
42
+
43
+$language_data = array (
44
+	'LANG_NAME' => 'PL/SQL',
45
+	'COMMENT_SINGLE' => array(1 =>'--'), //http://download-uk.oracle.com/docs/cd/B10501_01/appdev.920/a96624/02_funds.htm#2930
46
+	'COMMENT_MULTI' => array('/*' => '*/'), //http://download-uk.oracle.com/docs/cd/B10501_01/appdev.920/a96624/02_funds.htm#2950
47
+	'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
48
+	'QUOTEMARKS' => array("'", '"'), //http://download-uk.oracle.com/docs/cd/B10501_01/appdev.920/a96624/02_funds.htm
49
+	'ESCAPE_CHAR' => '\\',
50
+	'KEYWORDS' => array(
51
+		//PL/SQL reserved keywords (http://download-uk.oracle.com/docs/cd/B10501_01/appdev.920/a96624/f_words.htm#LNPLS019)
52
+        1 => array('ZONE', 'YEAR', 'WRITE', 'WORK', 'WITH', 'WHILE', 'WHERE',
53
+        'WHENEVER', 'WHEN', 'VIEW', 'VARCHAR2', 'VARCHAR', 'VALUES',
54
+        'VALIDATE', 'USE', 'UPDATE', 'UNIQUE', 'UNION', 'TYPE', 'TRUE',
55
+        'TRIGGER', 'TO', 'TIMEZONE_REGION', 'TIMEZONE_MINUTE', 'TIMEZONE_HOUR',
56
+        'TIMEZONE_ABBR', 'TIMESTAMP', 'TIME', 'THEN', 'TABLE', 'SYNONYM',
57
+        'SUCCESSFUL', 'SUBTYPE', 'START', 'SQLERRM', 'SQLCODE', 'SQL', 'SPACE',
58
+        'SMALLINT', 'SHARE', 'SET', 'SEPARATE', 'SELECT', 'SECOND',
59
+        'SAVEPOINT', 'ROWTYPE', 'ROWNUM', 'ROWID', 'ROW', 'ROLLBACK',
60
+        'REVERSE', 'RETURN', 'RELEASE', 'RECORD', 'REAL', 'RAW', 'RANGE',
61
+        'RAISE', 'PUBLIC', 'PROCEDURE', 'PRIVATE', 'PRIOR', 'PRAGMA',
62
+        'POSITIVEN', 'POSITIVE', 'PLS_INTEGER', 'PCTFREE', 'PARTITION',
63
+        'PACKAGE', 'OUT', 'OTHERS', 'ORGANIZATION', 'ORDER', 'OR', 'OPTION',
64
+        'OPERATOR', 'OPEN', 'OPAQUE', 'ON', 'OF', 'OCIROWID', 'NUMBER_BASE',
65
+        'NUMBER', 'NULL', 'NOWAIT', 'NOT', 'NOCOPY', 'NEXTVAL', 'NEW',
66
+        'NATURALN', 'NATURAL', 'MONTH', 'MODE', 'MLSLABEL', 'MINUTE', 'MINUS',
67
+        'LOOP', 'LONG', 'LOCK', 'LIMITED', 'LIKE', 'LEVEL', 'JAVA',
68
+        'ISOLATION', 'IS', 'INTO', 'INTERVAL', 'INTERSECT', 'INTERFACE',
69
+        'INTEGER', 'INSERT', 'INDICATOR', 'INDEX', 'IN', 'IMMEDIATE', 'IF',
70
+        'HOUR', 'HEAP', 'HAVING', 'GROUP', 'GOTO', 'FUNCTION', 'FROM',
71
+        'FORALL', 'FOR', 'FLOAT', 'FETCH', 'FALSE', 'EXTENDS', 'EXIT',
72
+        'EXISTS', 'EXECUTE', 'EXCLUSIVE', 'EXCEPTION', 'END', 'ELSIF', 'ELSE',
73
+        'DROP', 'DO', 'DISTINCT', 'DESC', 'DELETE', 'DEFAULT', 'DECLARE',
74
+        'DECIMAL', 'DAY', 'DATE', 'CURSOR', 'CURRVAL', 'CURRENT', 'CREATE',
75
+        'CONSTANT', 'CONNECT', 'COMPRESS', 'COMMIT', 'COMMENT', 'COLLECT',
76
+        'CLUSTER', 'CLOSE', 'CHECK', 'CHAR_BASE', 'CHAR', 'CASE', 'BY', 'BULK',
77
+        'BOOLEAN', 'BODY', 'BINARY_INTEGER', 'BETWEEN', 'BEGIN', 'AUTHID',
78
+        'AT', 'ASC', 'AS', 'ARRAY', 'ANY', 'AND', 'ALTER', 'ALL'),
79
+		//SQL functions (http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96540/toc.htm & http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96540/functions101a.htm#85925)
80
+        2 => array('XMLTRANSFORM', 'XMLSEQUENCE', 'XMLFOREST', 'XMLELEMENT',
81
+        'XMLCONCAT', 'XMLCOLATTVAL', 'XMLAGG', 'WIDTH_BUCKET', 'VSIZE',
82
+        'VARIANCE', 'VAR_SAMP', 'VAR_POP', 'VALUE', 'USERENV', 'USER', 'UPPER',
83
+        'UPDATEXML', 'UNISTR', 'UID', 'TZ_OFFSET', 'TRUNC', 'TRIM', 'TREAT',
84
+        'TRANSLATE', 'TO_YMINTERVAL', 'TO_TIMESTAMP_TZ', 'TO_TIMESTAMP',
85
+        'TO_SINGLE_BYTE', 'TO_NUMBER', 'TO_NCLOB', 'TO_NCHAR', 'TO_MULTI_BYTE',
86
+        'TO_LOB', 'TO_DSINTERVAL', 'TO_DATE', 'TO_CLOB', 'TO_CHAR', 'TANH',
87
+        'TAN', 'SYSTIMESTAMP', 'SYSDATE', 'SYS_XMLGEN', 'SYS_XMLAGG',
88
+        'SYS_TYPEID', 'SYS_GUID', 'SYS_EXTRACT_UTC', 'SYS_DBURIGEN',
89
+        'SYS_CONTEXT', 'SYS_CONNECT_BY_PATH', 'SUM', 'SUBSTR', 'STDDEV_SAMP',
90
+        'STDDEV_POP', 'STDDEV', 'SQRT', 'SOUNDEX', 'SINH', 'SIN', 'SIGN',
91
+        'SESSIONTIMEZONE', 'RTRIM', 'RPAD', 'ROWIDTONCHAR', 'ROWIDTOCHAR',
92
+        'ROW_NUMBER', 'ROUND', 'REPLACE', 'REGR_SYY', 'REGR_SXY', 'REGR_SXX',
93
+        'REGR_SLOPE', 'REGR_R2', 'REGR_INTERCEPT', 'REGR_COUNT', 'REGR_AVGY',
94
+        'REGR_AVGX', 'REFTOHEX', 'REF', 'RAWTONHEX', 'RAWTOHEX',
95
+        'RATIO_TO_REPORT', 'RANK', 'POWER', 'PERCENTILE_DISC',
96
+        'PERCENTILE_CONT', 'PERCENT_RANK', 'PATH', 'NVL2', 'NVL',
97
+        'NUMTOYMINTERVAL', 'NUMTODSINTERVAL', 'NULLIF', 'NTILE', 'NLSSORT',
98
+        'NLS_UPPER', 'NLS_LOWER', 'NLS_INITCAP', 'NLS_CHARSET_NAME',
99
+        'NLS_CHARSET_ID', 'NLS_CHARSET_DECL_LEN', 'NEXT_DAY', 'NEW_TIME',
100
+        'NCHR', 'MONTHS_BETWEEN', 'MOD', 'MIN', 'MAX', 'MAKE_REF', 'LTRIM',
101
+        'LPAD', 'LOWER', 'LOG', 'LOCALTIMESTAMP', 'LN', 'LENGTH', 'LEAST',
102
+        'LEAD', 'LAST_VALUE', 'LAST_DAY', 'LAST', 'LAG', 'INSTR', 'INITCAP',
103
+        'HEXTORAW', 'GROUPING_ID', 'GROUPING', 'GROUP_ID', 'GREATEST',
104
+        'FROM_TZ', 'FLOOR', 'FIRST_VALUE', 'FIRST', 'EXTRACTVALUE', 'EXTRACT',
105
+        'EXP', 'EXISTSNODE', 'EMPTY_CLOB', 'EMPTY_BLOB', 'DUMP', 'DEREF',
106
+        'DEPTH', 'DENSE_RANK', 'DECOMPOSE', 'DECODE', 'DBTIMEZONE',
107
+        'CURRENT_TIMESTAMP', 'CURRENT_DATE', 'CUME_DIST', 'COVAR_SAMP',
108
+        'COVAR_POP', 'COUNT', 'COSH', 'COS', 'CORR', 'CONVERT', 'CONCAT',
109
+        'COMPOSE', 'COALESCE', 'CHR', 'CHARTOROWID', 'CEIL', 'CAST', 'BITAND',
110
+        'BIN_TO_NUM', 'BFILENAME', 'AVG', 'ATAN2', 'ATAN', 'ASIN', 'ASCIISTR',
111
+        'ASCII', 'ADD_MONTHS', 'ACOS', 'ABS'),
112
+		//PL/SQL packages (http://download-uk.oracle.com/docs/cd/B10501_01/appdev.920/a96612/intro2.htm#1025672)
113
+        3 => array('UTL_URL', 'UTL_TCP', 'UTL_SMTP', 'UTL_REF', 'UTL_RAW',
114
+        'UTL_PG', 'UTL_INADDR', 'UTL_HTTP', 'UTL_FILE', 'UTL_ENCODE',
115
+        'UTL_COLL', 'SDO_UTIL', 'SDO_TUNE', 'SDO_MIGRATE', 'SDO_LRS',
116
+        'SDO_GEOM', 'SDO_CS', 'DMBS_XMLQUERY', 'DMBS_FLASHBACK',
117
+        'DMBS_DEFER_SYS', 'DEBUG_EXTPROC', 'DBMS_XSLPROCESSOR', 'DBMS_XPLAN',
118
+        'DBMS_XMLSCHEMA', 'DBMS_XMLSAVE', 'DBMS_XMLPARSER', 'DBMS_XMLGEN',
119
+        'DBMS_XMLDOM', 'DBMS_XDBT', 'DBMS_XDB_VERSION', 'DBMS_XDB', 'DBMS_WM',
120
+        'DBMS_UTILITY', 'DBMS_TYPES', 'DBMS_TTS', 'DBMS_TRANSFORM',
121
+        'DBMS_TRANSACTION', 'DBMS_TRACE', 'DBMS_STRM_A', 'DBMS_STRM',
122
+        'DBMS_STORAGE_MAP', 'DBMS_STATS', 'DBMS_SQL', 'DBMS_SPACE_ADMIN',
123
+        'DBMS_SPACE', 'DBMS_SHARED_POOL', 'DBMS_SESSION', 'DBMS_RULE_ADM',
124
+        'DBMS_RULE', 'DBMS_ROWID', 'DBMS_RLS', 'DBMS_RESUMABLE',
125
+        'DBMS_RESOURCE_MANAGER_PRIVS', 'DBMS_RESOURCE_MANAGER', 'DBMS_REPUTIL',
126
+        'DBMS_REPCAT_RGT', 'DBMS_REPCAT_INSTATIATE', 'DBMS_REPCAT_ADMIN',
127
+        'DBMS_REPCAT', 'DBMS_REPAIR', 'DBMS_REFRESH', 'DBMS_REDEFINITION',
128
+        'DBMS_RECTIFIER_DIFF', 'DBMS_RANDOM', 'DBMS_PROPAGATION_ADM',
129
+        'DBMS_PROFILER', 'DBMS_PIPE', 'DBMS_PCLXUTIL', 'DBMS_OUTPUT',
130
+        'DBMS_OUTLN_EDIT', 'DBMS_OUTLN', 'DBMS_ORACLE_TRACE_USER',
131
+        'DBMS_ORACLE_TRACE_AGENT', 'DBMS_OLAP', 'DBMS_OFFLINE_SNAPSHOT',
132
+        'DBMS_OFFLINE_OG', 'DBMS_ODCI', 'DBMS_OBFUSCATION_TOOLKIT',
133
+        'DBMS_MVIEW', 'DBMS_MGWMSG', 'DBMS_MGWADM', 'DBMS_METADATA',
134
+        'DBMS_LOGSTDBY', 'DBMS_LOGMNR_D', 'DBMS_LOGMNR_CDC_SUBSCRIBE',
135
+        'DBMS_LOGMNR_CDC_PUBLISH', 'DBMS_LOGMNR', 'DBMS_LOCK', 'DBMS_LOB',
136
+        'DBMS_LIBCACHE', 'DBMS_LDAP', 'DBMS_JOB', 'DBMS_IOT',
137
+        'DBMS_HS_PASSTHROUGH', 'DBMS_FGA', 'DBMS_DISTRIBUTED_TRUST_ADMIN',
138
+        'DBMS_DESCRIBE', 'DBMS_DEFER_QUERY', 'DBMS_DEFER', 'DBMS_DEBUG',
139
+        'DBMS_DDL', 'DBMS_CAPTURE_ADM', 'DBMS_AW', 'DBMS_AQELM', 'DBMS_AQADM',
140
+        'DBMS_AQ', 'DBMS_APPLY_ADM', 'DBMS_APPLICATION_INFO', 'DBMS_ALERT',
141
+        'CWM2_OLAP_AW_ACCESS'),
142
+		//PL/SQL predefined exceptions (http://download-uk.oracle.com/docs/cd/B10501_01/appdev.920/a96624/07_errs.htm#784)
143
+        4 => array('ZERO_DIVIDE', 'VALUE_ERROR', 'TOO_MANY_ROWS',
144
+        'TIMEOUT_ON_RESOURCE', 'SYS_INVALID_ROWID', 'SUBSCRIPT_OUTSIDE_LIMIT',
145
+        'SUBSCRIPT_BEYOND_COUNT', 'STORAGE_ERROR', 'SELF_IS_NULL',
146
+        'ROWTYPE_MISMATCH', 'PROGRAM_ERROR', 'NOT_LOGGED_ON', 'NO_DATA_FOUND',
147
+        'LOGIN_DENIED', 'INVALID_NUMBER', 'INVALID_CURSOR', 'DUP_VAL_ON_INDEX',
148
+        'CURSOR_ALREADY_OPEN', 'COLLECTION_IS_NULL', 'CASE_NOT_FOUND',
149
+        'ACCESS_INTO_NULL'),
150
+		//Static data dictionary views (http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96536/ch2.htm)
151
+        5 => array('USER_REPSITES', 'USER_REPSCHEMA',
152
+        'USER_REPRESOLUTION_STATISTICS', 'USER_REPRESOLUTION_METHOD',
153
+        'USER_REPRESOLUTION', 'USER_REPRESOL_STATS_CONTROL', 'USER_REPPROP',
154
+        'USER_REPPRIORITY_GROUP', 'USER_REPPRIORITY',
155
+        'USER_REPPARAMETER_COLUMN', 'USER_REPOBJECT', 'USER_REPKEY_COLUMNS',
156
+        'USER_REPGROUPED_COLUMN', 'USER_REPGROUP_PRIVILEGES', 'USER_REPGROUP',
157
+        'USER_REPGENOBJECTS', 'USER_REPGENERATED', 'USER_REPFLAVORS',
158
+        'USER_REPFLAVOR_OBJECTS', 'USER_REPFLAVOR_COLUMNS', 'USER_REPDDL',
159
+        'USER_REPCONFLICT', 'USER_REPCOLUMN_GROUP', 'USER_REPCOLUMN',
160
+        'USER_REPCATLOG', 'USER_REPCAT_USER_PARM_VALUES',
161
+        'USER_REPCAT_USER_AUTHORIZATIONS', 'USER_REPCAT_TEMPLATE_SITES',
162
+        'USER_REPCAT_TEMPLATE_PARMS', 'USER_REPCAT_TEMPLATE_OBJECTS',
163
+        'USER_REPCAT_REFRESH_TEMPLATES', 'USER_REPCAT', 'USER_REPAUDIT_COLUMN',
164
+        'USER_REPAUDIT_ATTRIBUTE', 'DBA_REPSITES_NEW', 'DBA_REPSITES',
165
+        'DBA_REPSCHEMA', 'DBA_REPRESOLUTION_STATISTICS',
166
+        'DBA_REPRESOLUTION_METHOD', 'DBA_REPRESOLUTION',
167
+        'DBA_REPRESOL_STATS_CONTROL', 'DBA_REPPROP', 'DBA_REPPRIORITY_GROUP',
168
+        'DBA_REPPRIORITY', 'DBA_REPPARAMETER_COLUMN', 'DBA_REPOBJECT',
169
+        'DBA_REPKEY_COLUMNS', 'DBA_REPGROUPED_COLUMN',
170
+        'DBA_REPGROUP_PRIVILEGES', 'DBA_REPGROUP', 'DBA_REPGENOBJECTS',
171
+        'DBA_REPGENERATED', 'DBA_REPFLAVORS', 'DBA_REPFLAVOR_OBJECTS',
172
+        'DBA_REPFLAVOR_COLUMNS', 'DBA_REPEXTENSIONS', 'DBA_REPDDL',
173
+        'DBA_REPCONFLICT', 'DBA_REPCOLUMN_GROUP', 'DBA_REPCOLUMN',
174
+        'DBA_REPCATLOG', 'DBA_REPCAT_USER_PARM_VALUES',
175
+        'DBA_REPCAT_USER_AUTHORIZATIONS', 'DBA_REPCAT_TEMPLATE_SITES',
176
+        'DBA_REPCAT_TEMPLATE_PARMS', 'DBA_REPCAT_TEMPLATE_OBJECTS',
177
+        'DBA_REPCAT_REFRESH_TEMPLATES', 'DBA_REPCAT_EXCEPTIONS', 'DBA_REPCAT',
178
+        'DBA_REPAUDIT_COLUMN', 'DBA_REPAUDIT_ATTRIBUTE', 'ALL_REPSITES',
179
+        'ALL_REPSCHEMA', 'ALL_REPRESOLUTION_STATISTICS',
180
+        'ALL_REPRESOLUTION_METHOD', 'ALL_REPRESOLUTION',
181
+        'ALL_REPRESOL_STATS_CONTROL', 'ALL_REPPROP', 'ALL_REPPRIORITY_GROUP',
182
+        'ALL_REPPRIORITY', 'ALL_REPPARAMETER_COLUMN', 'ALL_REPOBJECT',
183
+        'ALL_REPKEY_COLUMNS', 'ALL_REPGROUPED_COLUMN',
184
+        'ALL_REPGROUP_PRIVILEGES', 'ALL_REPGROUP', 'ALL_REPGENOBJECTS',
185
+        'ALL_REPGENERATED', 'ALL_REPFLAVORS', 'ALL_REPFLAVOR_OBJECTS',
186
+        'ALL_REPFLAVOR_COLUMNS', 'ALL_REPDDL', 'ALL_REPCONFLICT',
187
+        'ALL_REPCOLUMN_GROUP', 'ALL_REPCOLUMN', 'ALL_REPCATLOG',
188
+        'ALL_REPCAT_USER_PARM_VALUES', 'ALL_REPCAT_USER_AUTHORIZATIONS',
189
+        'ALL_REPCAT_TEMPLATE_SITES', 'ALL_REPCAT_TEMPLATE_PARMS',
190
+        'ALL_REPCAT_TEMPLATE_OBJECTS', 'ALL_REPCAT_REFRESH_TEMPLATES',
191
+        'ALL_REPCAT', 'ALL_REPAUDIT_COLUMN', 'ALL_REPAUDIT_ATTRIBUTE')
192
+		),
193
+	'SYMBOLS' => array(
194
+		//PL/SQL delimiters (http://download-uk.oracle.com/docs/cd/B10501_01/appdev.920/a96624/02_funds.htm#2732)
195
+		'+', '%', "'", '.', '/', '(', ')', ':', ',', '*', '"', '=', '<', '>', '@', ';', '-', ':=', '=>', '||', '**', '<<', '>>', '/*', '*/', '..', '<>', '!=', '~=', '^=', '<=', '>='
196
+		),
197
+	'CASE_SENSITIVE' => array(
198
+		GESHI_COMMENTS => false,
199
+		1 => false,
200
+		2 => false,
201
+		3 => false,
202
+		4 => false,
203
+		5 => false
204
+		),
205
+	'STYLES' => array(
206
+		'KEYWORDS' => array(
207
+			1 => 'color: #00F;',
208
+			2 => 'color: #000;',
209
+			3 => 'color: #00F;',
210
+			4 => 'color: #F00;',
211
+			5 => 'color: #800;'
212
+			),
213
+		'COMMENTS' => array(
214
+			1 => 'color: #080; font-style: italic;',
215
+			'MULTI' => 'color: #080; font-style: italic;'
216
+			),
217
+		'ESCAPE_CHAR' => array(
218
+			0 => 'color: #000; font-weight: bold;'
219
+			),
220
+		'BRACKETS' => array(
221
+			0 => 'color: #00F;'
222
+			),
223
+		'STRINGS' => array(
224
+			0 => 'color: #F00;'
225
+			),
226
+		'NUMBERS' => array(
227
+			0 => 'color: #800;'
228
+			),
229
+		'METHODS' => array(
230
+			0 => 'color: #0F0;'
231
+			),
232
+		'SYMBOLS' => array(
233
+			0 => 'color: #00F;'
234
+			),
235
+		'REGEXPS' => array(
236
+			),
237
+		'SCRIPT' => array(
238
+			0 => 'color: #0F0;'
239
+			)
240
+		),
241
+		'URLS' => array(
242
+			1 => 'http://www.oracle.com/pls/db92/db92.drilldown?word={FNAME}',
243
+			2 => 'http://www.oracle.com/pls/db92/db92.drilldown?word={FNAME}',
244
+			3 => 'http://www.oracle.com/pls/db92/db92.drilldown?word={FNAME}',
245
+			4 => 'http://www.oracle.com/pls/db92/db92.drilldown?word={FNAME}',
246
+			5 => 'http://www.oracle.com/pls/db92/db92.drilldown?word={FNAME}'
247
+			),
248
+	'OOLANG' => false,
249
+	'OBJECT_SPLITTERS' => array(),
250
+	'REGEXPS' => array(),
251
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
252
+	'SCRIPT_DELIMITERS' => array(),
253
+	'HIGHLIGHT_STRICT_BLOCK' => array()
254
+);
255
+
256
+?>

+ 227 - 0
plugins/geshi/python.php View File

@@ -0,0 +1,227 @@
1
+<?php
2
+/*************************************************************************************
3
+ * python.php
4
+ * ----------
5
+ * Author: Roberto Rossi (rsoftware@altervista.org)
6
+ * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/08/30
9
+ *
10
+ * Python language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/05/26
15
+ *  -  Modifications by Tim (tim@skreak.com): added more keyword categories, tweaked colors
16
+ * 2004/11/27 (1.0.1)
17
+ *  -  Added support for multiple object splitters
18
+ * 2004/08/30 (1.0.0)
19
+ *  -  First Release
20
+ *
21
+ * TODO (updated 2004/11/27)
22
+ * -------------------------
23
+ *
24
+ *************************************************************************************
25
+ *
26
+ *     This file is part of GeSHi.
27
+ *
28
+ *   GeSHi is free software; you can redistribute it and/or modify
29
+ *   it under the terms of the GNU General Public License as published by
30
+ *   the Free Software Foundation; either version 2 of the License, or
31
+ *   (at your option) any later version.
32
+ *
33
+ *   GeSHi is distributed in the hope that it will be useful,
34
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
35
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
36
+ *   GNU General Public License for more details.
37
+ *
38
+ *   You should have received a copy of the GNU General Public License
39
+ *   along with GeSHi; if not, write to the Free Software
40
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
41
+ *
42
+ ************************************************************************************/
43
+
44
+$language_data = array (
45
+	'LANG_NAME' => 'Python',
46
+	'COMMENT_SINGLE' => array(1 => '#'),
47
+	'COMMENT_MULTI' => array(),
48
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
49
+	'QUOTEMARKS' => array('"', "'", '"""'),
50
+	'ESCAPE_CHAR' => '\\',
51
+	'KEYWORDS' => array(
52
+
53
+		/*
54
+		** Set 1: reserved words
55
+		** http://python.org/doc/current/ref/keywords.html
56
+		*/
57
+		1 => array(
58
+			'and', 'del', 'for', 'is', 'raise', 'assert', 'elif', 'from', 'lambda', 'return', 'break',
59
+			'else', 'global', 'not', 'try', 'class', 'except', 'if', 'or', 'while', 'continue', 'exec',
60
+			'import', 'pass', 'yield', 'def', 'finally', 'in', 'print'
61
+			),
62
+
63
+		/*
64
+		** Set 2: builtins
65
+		** http://python.org/doc/current/lib/built-in-funcs.html
66
+		*/
67
+		2 => array(
68
+			'__import__', 'abs', 'basestring', 'bool', 'callable', 'chr', 'classmethod', 'cmp',
69
+			'compile', 'complex', 'delattr', 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'execfile',
70
+			'file', 'filter', 'float', 'frozenset', 'getattr', 'globals', 'hasattr', 'hash', 'help',
71
+			'hex', 'id', 'input', 'int', 'isinstance', 'issubclass', 'iter', 'len', 'list', 'locals',
72
+			'long', 'map', 'max', 'min', 'object', 'oct', 'open', 'ord', 'pow', 'property', 'range',
73
+			'raw_input', 'reduce', 'reload', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice',
74
+			'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', 'unichr', 'unicode',
75
+			'vars', 'xrange', 'zip',
76
+			// Built-in constants: http://python.org/doc/current/lib/node35.html
77
+			'False', 'True', 'None', 'NotImplemented', 'Ellipsis',
78
+			// Built-in Exceptions: http://python.org/doc/current/lib/module-exceptions.html
79
+			'Exception', 'StandardError', 'ArithmeticError', 'LookupError', 'EnvironmentError',
80
+			'AssertionError', 'AttributeError', 'EOFError', 'FloatingPointError', 'IOError',
81
+			'ImportError', 'IndexError', 'KeyError', 'KeyboardInterrupt', 'MemoryError', 'NameError',
82
+			'NotImplementedError', 'OSError', 'OverflowError', 'ReferenceError', 'RuntimeError',
83
+			'StopIteration', 'SyntaxError', 'SystemError', 'SystemExit', 'TypeError',
84
+			'UnboundlocalError', 'UnicodeError', 'UnicodeEncodeError', 'UnicodeDecodeError',
85
+			'UnicodeTranslateError', 'ValueError', 'WindowsError', 'ZeroDivisionError', 'Warning',
86
+			'UserWarning', 'DeprecationWarning', 'PendingDeprecationWarning', 'SyntaxWarning',
87
+			'RuntimeWarning', 'FutureWarning',
88
+			// self: this is a common python convention (but not a reserved word)
89
+			'self'
90
+			),
91
+
92
+		/*
93
+		** Set 3: standard library
94
+		** http://python.org/doc/current/lib/modindex.html
95
+		*/
96
+		3 => array(
97
+			'__builtin__', '__future__', '__main__', '_winreg', 'aifc', 'AL', 'al', 'anydbm',
98
+			'array', 'asynchat', 'asyncore', 'atexit', 'audioop', 'base64', 'BaseHTTPServer',
99
+			'Bastion', 'binascii', 'binhex', 'bisect', 'bsddb', 'bz2', 'calendar', 'cd', 'cgi',
100
+			'CGIHTTPServer', 'cgitb', 'chunk', 'cmath', 'cmd', 'code', 'codecs', 'codeop',
101
+			'collections', 'colorsys', 'commands', 'compileall', 'compiler', 'compiler',
102
+			'ConfigParser', 'Cookie', 'cookielib', 'copy', 'copy_reg', 'cPickle', 'crypt',
103
+			'cStringIO', 'csv', 'curses', 'datetime', 'dbhash', 'dbm', 'decimal', 'DEVICE',
104
+			'difflib', 'dircache', 'dis', 'distutils', 'dl', 'doctest', 'DocXMLRPCServer', 'dumbdbm',
105
+			'dummy_thread', 'dummy_threading', 'email', 'encodings', 'errno', 'exceptions', 'fcntl',
106
+			'filecmp', 'fileinput', 'FL', 'fl', 'flp', 'fm', 'fnmatch', 'formatter', 'fpectl',
107
+			'fpformat', 'ftplib', 'gc', 'gdbm', 'getopt', 'getpass', 'gettext', 'GL', 'gl', 'glob',
108
+			'gopherlib', 'grp', 'gzip', 'heapq', 'hmac', 'hotshot', 'htmlentitydefs', 'htmllib',
109
+			'HTMLParser', 'httplib', 'imageop', 'imaplib', 'imgfile', 'imghdr', 'imp', 'inspect',
110
+			'itertools', 'jpeg', 'keyword', 'linecache', 'locale', 'logging', 'mailbox', 'mailcap',
111
+			'marshal', 'math', 'md5', 'mhlib', 'mimetools', 'mimetypes', 'MimeWriter', 'mimify',
112
+			'mmap', 'msvcrt', 'multifile', 'mutex', 'netrc', 'new', 'nis', 'nntplib', 'operator',
113
+			'optparse', 'os', 'ossaudiodev', 'parser', 'pdb', 'pickle', 'pickletools', 'pipes',
114
+			'pkgutil', 'platform', 'popen2', 'poplib', 'posix', 'posixfile', 'pprint', 'profile',
115
+			'pstats', 'pty', 'pwd', 'py_compile', 'pyclbr', 'pydoc', 'Queue', 'quopri', 'random',
116
+			're', 'readline', 'repr', 'resource', 'rexec', 'rfc822', 'rgbimg', 'rlcompleter',
117
+			'robotparser', 'sched', 'ScrolledText', 'select', 'sets', 'sgmllib', 'sha', 'shelve',
118
+			'shlex', 'shutil', 'signal', 'SimpleHTTPServer', 'SimpleXMLRPCServer', 'site', 'smtpd',
119
+			'smtplib', 'sndhdr', 'socket', 'SocketServer', 'stat', 'statcache', 'statvfs', 'string',
120
+			'StringIO', 'stringprep', 'struct', 'subprocess', 'sunau', 'SUNAUDIODEV', 'sunaudiodev',
121
+			'symbol', 'sys', 'syslog', 'tabnanny', 'tarfile', 'telnetlib', 'tempfile', 'termios',
122
+			'test', 'textwrap', 'thread', 'threading', 'time', 'timeit', 'Tix', 'Tkinter', 'token',
123
+			'tokenize', 'traceback', 'tty', 'turtle', 'types', 'unicodedata', 'unittest', 'urllib2',
124
+			'urllib', 'urlparse', 'user', 'UserDict', 'UserList', 'UserString', 'uu', 'warnings',
125
+			'wave', 'weakref', 'webbrowser', 'whichdb', 'whrandom', 'winsound', 'xdrlib', 'xml',
126
+			'xmllib', 'xmlrpclib', 'zipfile', 'zipimport', 'zlib'
127
+			),
128
+
129
+		/*
130
+		** Set 4: special methods
131
+		** http://python.org/doc/current/ref/specialnames.html
132
+		*/
133
+		4 => array(
134
+			/*
135
+			// Iterator types: http://python.org/doc/current/lib/typeiter.html
136
+			'__iter__', 'next',
137
+			// String types: http://python.org/doc/current/lib/string-methods.html
138
+			'capitalize', 'center', 'count', 'decode', 'encode', 'endswith', 'expandtabs',
139
+			'find', 'index', 'isalnum', 'isalpha', 'isdigit', 'islower', 'isspace', 'istitle',
140
+			'isupper', 'join', 'ljust', 'lower', 'lstrip', 'replace', 'rfind', 'rindex', 'rjust',
141
+			'rsplit', 'rstrip', 'split', 'splitlines', 'startswith', 'strip', 'swapcase', 'title',
142
+			'translate', 'upper', 'zfill',
143
+			*/
144
+			// Basic customization: http://python.org/doc/current/ref/customization.html
145
+			'__new__', '__init__', '__del__', '__repr__', '__str__',
146
+			'__lt__', '__le__', '__eq__', '__ne__', '__gt__', '__ge__', '__cmp__', '__rcmp__',
147
+			'__hash__', '__nonzero__', '__unicode__', '__dict__',
148
+			// Attribute access: http://python.org/doc/current/ref/attribute-access.html
149
+			'__setattr__', '__delattr__', '__getattr__', '__getattribute__', '__get__', '__set__',
150
+			'__delete__', '__slots__',
151
+			// Class creation, callable objects
152
+			'__metaclass__', '__call__',
153
+			// Container types: http://python.org/doc/current/ref/sequence-types.html
154
+			'__len__', '__getitem__', '__setitem__', '__delitem__', '__iter__', '__contains__',
155
+			'__getslice__', '__setslice__', '__delslice__',
156
+			// Numeric types: http://python.org/doc/current/ref/numeric-types.html
157
+			'__abs__','__add__','__and__','__coerce__','__div__','__divmod__','__float__',
158
+			'__hex__','__iadd__','__isub__','__imod__','__idiv__','__ipow__','__iand__',
159
+			'__ior__','__ixor__', '__ilshift__','__irshift__','__invert__','__int__',
160
+			'__long__','__lshift__',
161
+			'__mod__','__mul__','__neg__','__oct__','__or__','__pos__','__pow__',
162
+			'__radd__','__rdiv__','__rdivmod__','__rmod__','__rpow__','__rlshift__','__rrshift__',
163
+			'__rshift__','__rsub__','__rmul__','__repr__','__rand__','__rxor__','__ror__',
164
+			'__sub__','__xor__'
165
+			)
166
+
167
+		),
168
+	'SYMBOLS' => array(
169
+			'(', ')', '[', ']', '{', '}', '*', '&', '%', '!', ';', '<', '>', '?', '`'
170
+		),
171
+	'CASE_SENSITIVE' => array(
172
+		GESHI_COMMENTS => true,
173
+		1 => true,
174
+        2 => true,
175
+        3 => true,
176
+        4 => true
177
+		),
178
+	'STYLES' => array(
179
+		'KEYWORDS' => array(
180
+			1 => 'color: #ff7700;font-weight:bold;',	// Reserved
181
+			2 => 'color: #008000;',						// Built-ins + self
182
+			3 => 'color: #dc143c;',						// Standard lib
183
+			4 => 'color: #0000cd;'						// Special methods
184
+			),
185
+		'COMMENTS' => array(
186
+			1 => 'color: #808080; font-style: italic;',
187
+			'MULTI' => 'color: #808080; font-style: italic;'
188
+			),
189
+		'ESCAPE_CHAR' => array(
190
+			0 => 'color: #000099; font-weight: bold;'
191
+			),
192
+		'BRACKETS' => array(
193
+			0 => 'color: black;'
194
+			),
195
+		'STRINGS' => array(
196
+			0 => 'color: #483d8b;'
197
+			),
198
+		'NUMBERS' => array(
199
+			0 => 'color: #ff4500;'
200
+			),
201
+		'METHODS' => array(
202
+			1 => 'color: black;'
203
+			),
204
+		'SYMBOLS' => array(
205
+			0 => 'color: #66cc66;'
206
+			),
207
+		'REGEXPS' => array(
208
+			),
209
+		'SCRIPT' => array(
210
+			)
211
+		),
212
+	'URLS' => array(
213
+		),
214
+	'OOLANG' => true,
215
+	'OBJECT_SPLITTERS' => array(
216
+		1 => '.'
217
+		),
218
+	'REGEXPS' => array(
219
+		),
220
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
221
+	'SCRIPT_DELIMITERS' => array(
222
+		),
223
+	'HIGHLIGHT_STRICT_BLOCK' => array(
224
+		)
225
+);
226
+
227
+?>

+ 146 - 0
plugins/geshi/qbasic.php View File

@@ -0,0 +1,146 @@
1
+<?php
2
+/*************************************************************************************
3
+ * qbasic.php
4
+ * ----------
5
+ * Author: Nigel McNie (nigel@geshi.org)
6
+ * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/06/20
9
+ *
10
+ * QBasic/QuickBASIC language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2004/11/27 (1.0.3)
15
+ *  -  Added support for multiple object splitters
16
+ * 2004/10/27 (1.0.2)
17
+ *   -  Added support for URLs
18
+ * 2004/08/05 (1.0.1)
19
+ *   -  Added support for symbols
20
+ *   -  Removed unnessecary slashes from some keywords
21
+ * 2004/07/14 (1.0.0)
22
+ *   -  First Release
23
+ *
24
+ * TODO (updated 2004/11/27)
25
+ * -------------------------
26
+ * * Make sure all possible combinations of keywords with
27
+ *   a space in them (EXIT FOR, END SELECT) are added
28
+ *   to the first keyword group
29
+ * * Update colours, especially for the first keyword group
30
+ *
31
+ *************************************************************************************
32
+ *
33
+ *     This file is part of GeSHi.
34
+ *
35
+ *   GeSHi is free software; you can redistribute it and/or modify
36
+ *   it under the terms of the GNU General Public License as published by
37
+ *   the Free Software Foundation; either version 2 of the License, or
38
+ *   (at your option) any later version.
39
+ *
40
+ *   GeSHi is distributed in the hope that it will be useful,
41
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
42
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
43
+ *   GNU General Public License for more details.
44
+ *
45
+ *   You should have received a copy of the GNU General Public License
46
+ *   along with GeSHi; if not, write to the Free Software
47
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
48
+ *
49
+ ************************************************************************************/
50
+$language_data = array (
51
+	'LANG_NAME' => 'QBasic/QuickBASIC',
52
+	'COMMENT_SINGLE' => array(1 => "'", 2 => ' REM', 3 => "\tREM"),
53
+	'COMMENT_MULTI' => array(),
54
+	'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
55
+	'QUOTEMARKS' => array('"'),
56
+	'ESCAPE_CHAR' => '',
57
+	'KEYWORDS' => array(
58
+		1 => array(
59
+			'DO', 'LOOP', 'WHILE', 'WEND', 'THEN', 'ELSE', 'ELSEIF', 'IF',
60
+			'FOR', 'TO', 'NEXT', 'STEP', 'GOTO', 'GOSUB', 'RETURN', 'RESUME', 'SELECT',
61
+			'CASE', 'UNTIL'
62
+			),
63
+		3 => array(
64
+			'ABS', 'ABSOLUTE', 'ACCESS', 'ALIAS', 'AND', 'ANY', 'APPEND', 'AS', 'ASC', 'ATN',
65
+			'BASE', 'BEEP', 'BINARY', 'BLOAD', 'BSAVE', 'BYVAL', 'CALL', 'CALLS', 'CASE',
66
+			'CDBL', 'CDECL', 'CHAIN', 'CHDIR', 'CHDIR', 'CHR$', 'CINT', 'CIRCLE', 'CLEAR',
67
+			'CLNG', 'CLOSE', 'CLS', 'COM', 'COMMAND$', 'COMMON', 'CONST', 'COS', 'CSNG',
68
+			'CSRLIN', 'CVD', 'CVDMBF', 'CVI', 'CVL', 'CVS', 'CVSMDF', 'DATA', 'DATE$',
69
+			'DECLARE', 'DEF', 'FN', 'SEG', 'DEFDBL', 'DEFINT', 'DEFLNG', 'DEFSNG', 'DEFSTR',
70
+			'DIM', 'DOUBLE', 'DRAW', 'END', 'ENVIRON', 'ENVIRON$', 'EOF', 'EQV', 'ERASE',
71
+			'ERDEV', 'ERDEV$', 'ERL', 'ERR', 'ERROR', 'EXIT', 'EXP', 'FIELD', 'FILEATTR',
72
+			'FILES', 'FIX', 'FRE', 'FREEFILE', 'FUNCTION', 'GET', 'HEX$', 'IMP', 'INKEY$',
73
+			'INP', 'INPUT', 'INPUT$', 'INSTR', 'INT', 'INTEGER', 'IOCTL', 'IOCTL$', 'IS',
74
+			'KEY', 'KILL', 'LBOUND', 'LCASE$', 'LEFT$', 'LEN', 'LET', 'LINE', 'LIST', 'LOC',
75
+			'LOCAL', 'LOCATE', 'LOCK', 'LOF', 'LOG', 'UNLOCK', 'LONG', 'LPOS', 'LPRINT',
76
+			'LSET', 'LTRIM$', 'MID$', 'MKD$', 'MKDIR', 'MKDMBF$', 'MKI$', 'MKL$',
77
+			'MKS$', 'MKSMBF$', 'MOD', 'NAME', 'NOT', 'OCT$', 'OFF', 'ON', 'PEN', 'PLAY',
78
+			'STRIG', 'TIMER', 'UEVENT', 'OPEN', 'OPTION', 'BASE', 'OR', 'OUT', 'OUTPUT',
79
+			'PAINT', 'PALETTE', 'PCOPY', 'PEEK', 'PMAP', 'POINT', 'POKE', 'POS', 'PRESET',
80
+			'PRINT', 'USING', 'PSET', 'PUT', 'RANDOM', 'RANDOMIZE', 'READ', 'REDIM', 'RESET',
81
+			'RESTORE', 'RIGHT$', 'RMDIR', 'RND', 'RSET', 'RTRIM$', 'RUN', 'SADD', 'SCREEN',
82
+			'SEEK', 'SETMEM', 'SGN', 'SHARED', 'SHELL', 'SIGNAL', 'SIN', 'SINGLE', 'SLEEP',
83
+			'SOUND', 'SPACE$', 'SPC', 'SQR', 'STATIC', 'STICK', 'STOP', 'STR$', 'STRIG',
84
+			'STRING', 'STRING$', 'SUB', 'SWAP', 'SYSTEM', 'TAB', 'TAN', 'TIME$', 'TIMER',
85
+			'TROFF', 'TRON', 'TYPE', 'UBOUND', 'UCASE$', 'UEVENT', 'UNLOCK', 'USING', 'VAL',
86
+			'VARPTR', 'VARPTR$', 'VARSEG', 'VIEW', 'WAIT', 'WIDTH', 'WINDOW', 'WRITE', 'XOR'
87
+			)
88
+		),
89
+	'SYMBOLS' => array(
90
+		'(', ')'
91
+		),
92
+	'CASE_SENSITIVE' => array(
93
+		GESHI_COMMENTS => false,
94
+		1 => false,
95
+		3 => false
96
+		),
97
+	'STYLES' => array(
98
+		'KEYWORDS' => array(
99
+			1 => 'color: #a1a100;',
100
+			3 => 'color: #000066;'
101
+			),
102
+		'COMMENTS' => array(
103
+			1 => 'color: #808080;',
104
+			2 => 'color: #808080;',
105
+			3 => 'color: #808080;'
106
+			),
107
+		'BRACKETS' => array(
108
+			0 => 'color: #66cc66;'
109
+			),
110
+		'STRINGS' => array(
111
+			0 => 'color: #ff0000;'
112
+			),
113
+		'NUMBERS' => array(
114
+			0 => 'color: #cc66cc;'
115
+			),
116
+		'METHODS' => array(
117
+			),
118
+		'SYMBOLS' => array(
119
+			0 => 'color: #66cc66;'
120
+			),
121
+		'ESCAPE_CHAR' => array(
122
+			0 => 'color: #000099;'
123
+			),
124
+		'SCRIPT' => array(
125
+			),
126
+		'REGEXPS' => array(
127
+			)
128
+		),
129
+	'URLS' => array(
130
+		1 => '',
131
+		3 => 'http://www.qbasicnews.com/qboho/qck{FNAMEL}.shtml'
132
+		),
133
+	'OOLANG' => false,
134
+	'OBJECT_SPLITTERS' => array(
135
+		),
136
+	'REGEXPS' => array(
137
+		),
138
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
139
+	'SCRIPT_DELIMITERS' => array(
140
+		),
141
+	'HIGHLIGHT_STRICT_BLOCK' => array(
142
+        ),
143
+    'TAB_WIDTH' => 8
144
+);
145
+
146
+?>

+ 404 - 0
plugins/geshi/rails.php View File

@@ -0,0 +1,404 @@
1
+<?php
2
+/*************************************************************************************
3
+ * rails.php
4
+ * ---------
5
+ * Author: Moises Deniz
6
+ * Copyright: (c) 2005 Moises Deniz
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2007/03/21
9
+ *
10
+ * Ruby language and Ruby on Rails Framework file for GeSHi
11
+ *
12
+ *************************************************************************************
13
+ *
14
+ *   This file is part of GeSHi.
15
+ *
16
+ *   GeSHi is free software; you can redistribute it and/or modify
17
+ *   it under the terms of the GNU General Public License as published by
18
+ *   the Free Software Foundation; either version 2 of the License, or
19
+ *   (at your option) any later version.
20
+ *
21
+ *   GeSHi is distributed in the hope that it will be useful,
22
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
23
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24
+ *   GNU General Public License for more details.
25
+ *
26
+ *   You should have received a copy of the GNU General Public License
27
+ *   along with GeSHi; if not, write to the Free Software
28
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
29
+ *
30
+ ************************************************************************************/
31
+
32
+$language_data = array (
33
+    'LANG_NAME' => 'Rails',
34
+    'COMMENT_SINGLE' => array(1 => "#"),
35
+    'COMMENT_MULTI' => array("=begin" => "=end"),
36
+    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
37
+    'QUOTEMARKS' => array('"', '`','\''),
38
+    'ESCAPE_CHAR' => '\\',
39
+    'KEYWORDS' => array(
40
+        1 => array(
41
+                'alias', 'and', 'begin', 'break', 'case', 'class',
42
+                'def', 'defined', 'do', 'else', 'elsif', 'end',
43
+                'ensure', 'for', 'if', 'in', 'module', 'while',
44
+                'next', 'not', 'or', 'redo', 'rescue', 'yield',
45
+                'retry', 'super', 'then', 'undef', 'unless',
46
+                'until', 'when', 'BEGIN', 'END', 'include'
47
+            ),
48
+        2 => array(
49
+                '__FILE__', '__LINE__', 'false', 'nil', 'self', 'true',
50
+                'return'
51
+            ),
52
+        3 => array(
53
+                'Array', 'Float', 'Integer', 'String', 'at_exit',
54
+                'autoload', 'binding', 'caller', 'catch', 'chop', 'chop!',
55
+                'chomp', 'chomp!', 'eval', 'exec', 'exit', 'exit!', 'fail',
56
+                'fork', 'format', 'gets', 'global_variables', 'gsub', 'gsub!',
57
+                'iterator?', 'lambda', 'load', 'local_variables', 'loop',
58
+                'open', 'p', 'print', 'printf', 'proc', 'putc', 'puts',
59
+                'raise', 'rand', 'readline', 'readlines', 'require', 'select',
60
+                'sleep', 'split', 'sprintf', 'srand', 'sub', 'sub!', 'syscall',
61
+                'system', 'trace_var', 'trap', 'untrace_var'
62
+            ),
63
+        4 => array(
64
+                'Abbrev', 'ArgumentError', 'Base64', 'Benchmark',
65
+                'Benchmark::Tms', 'Bignum', 'Binding', 'CGI', 'CGI::Cookie',
66
+                'CGI::HtmlExtension', 'CGI::QueryExtension',
67
+                'CGI::Session', 'CGI::Session::FileStore',
68
+                'CGI::Session::MemoryStore', 'Class', 'Comparable', 'Complex',
69
+                'ConditionVariable', 'Continuation', 'Data',
70
+                'Date', 'DateTime', 'Delegator', 'Dir', 'EOFError', 'ERB',
71
+                'ERB::Util', 'Enumerable', 'Enumerable::Enumerator', 'Errno',
72
+                'Exception', 'FalseClass', 'File',
73
+                'File::Constants', 'File::Stat', 'FileTest', 'FileUtils',
74
+                'FileUtils::DryRun', 'FileUtils::NoWrite',
75
+                'FileUtils::StreamUtils_', 'FileUtils::Verbose', 'Find',
76
+                'Fixnum', 'FloatDomainError', 'Forwardable', 'GC', 'Generator',
77
+                'Hash', 'IO', 'IOError', 'Iconv', 'Iconv::BrokenLibrary',
78
+                'Iconv::Failure', 'Iconv::IllegalSequence',
79
+                'Iconv::InvalidCharacter', 'Iconv::InvalidEncoding',
80
+                'Iconv::OutOfRange', 'IndexError', 'Interrupt', 'Kernel',
81
+                'LoadError', 'LocalJumpError', 'Logger', 'Logger::Application',
82
+                'Logger::Error', 'Logger::Formatter', 'Logger::LogDevice',
83
+                'Logger::LogDevice::LogDeviceMutex', 'Logger::Severity',
84
+                'Logger::ShiftingError', 'Marshal', 'MatchData',
85
+                'Math', 'Matrix', 'Method', 'Module', 'Mutex', 'NameError',
86
+                'NameError::message', 'NilClass', 'NoMemoryError',
87
+                'NoMethodError', 'NotImplementedError', 'Numeric', 'Object',
88
+                'ObjectSpace', 'Observable', 'PStore', 'PStore::Error',
89
+                'Pathname', 'Precision', 'Proc', 'Process', 'Process::GID',
90
+                'Process::Status', 'Process::Sys', 'Process::UID', 'Queue',
91
+                'Range', 'RangeError', 'Rational', 'Regexp', 'RegexpError',
92
+                'RuntimeError', 'ScriptError', 'SecurityError', 'Set',
93
+                'Shellwords', 'Signal', 'SignalException', 'SimpleDelegator',
94
+                'SingleForwardable', 'Singleton', 'SingletonClassMethods',
95
+                'SizedQueue', 'SortedSet', 'StandardError', 'StringIO',
96
+                'StringScanner', 'StringScanner::Error', 'Struct', 'Symbol',
97
+                'SyncEnumerator', 'SyntaxError', 'SystemCallError',
98
+                'SystemExit', 'SystemStackError', 'Tempfile',
99
+                'Test::Unit::TestCase', 'Test::Unit', 'Test', 'Thread',
100
+                'ThreadError', 'ThreadGroup',
101
+                'ThreadsWait', 'Time', 'TrueClass', 'TypeError', 'URI',
102
+                'URI::BadURIError', 'URI::Error', 'URI::Escape', 'URI::FTP',
103
+                'URI::Generic', 'URI::HTTP', 'URI::HTTPS',
104
+                'URI::InvalidComponentError', 'URI::InvalidURIError',
105
+                'URI::LDAP', 'URI::MailTo', 'URI::REGEXP',
106
+                'URI::REGEXP::PATTERN', 'UnboundMethod', 'Vector', 'YAML',
107
+                'ZeroDivisionError', 'Zlib',
108
+                'Zlib::BufError', 'Zlib::DataError', 'Zlib::Deflate',
109
+                'Zlib::Error', 'Zlib::GzipFile', 'Zlib::GzipFile::CRCError',
110
+                'Zlib::GzipFile::Error', 'Zlib::GzipFile::LengthError',
111
+                'Zlib::GzipFile::NoFooter', 'Zlib::GzipReader',
112
+                'Zlib::GzipWriter', 'Zlib::Inflate', 'Zlib::MemError',
113
+                'Zlib::NeedDict', 'Zlib::StreamEnd', 'Zlib::StreamError',
114
+                'Zlib::VersionError',
115
+                'Zlib::ZStream',
116
+                'ActionController::AbstractRequest',
117
+                'ActionController::Assertions::DomAssertions',
118
+                'ActionController::Assertions::ModelAssertions',
119
+                'ActionController::Assertions::ResponseAssertions',
120
+                'ActionController::Assertions::RoutingAssertions',
121
+                'ActionController::Assertions::SelectorAssertions',
122
+                'ActionController::Assertions::TagAssertions',
123
+                'ActionController::Base',
124
+                'ActionController::Benchmarking::ClassMethods',
125
+                'ActionController::Caching',
126
+                'ActionController::Caching::Actions',
127
+                'ActionController::Caching::Actions::ActionCachePath',
128
+                'ActionController::Caching::Fragments',
129
+                'ActionController::Caching::Pages',
130
+                'ActionController::Caching::Pages::ClassMethods',
131
+                'ActionController::Caching::Sweeping',
132
+                'ActionController::Components',
133
+                'ActionController::Components::ClassMethods',
134
+                'ActionController::Components::InstanceMethods',
135
+                'ActionController::Cookies',
136
+                'ActionController::Filters::ClassMethods',
137
+                'ActionController::Flash',
138
+                'ActionController::Flash::FlashHash',
139
+                'ActionController::Helpers::ClassMethods',
140
+                'ActionController::Integration::Session',
141
+                'ActionController::IntegrationTest',
142
+                'ActionController::Layout::ClassMethods',
143
+                'ActionController::Macros',
144
+                'ActionController::Macros::AutoComplete::ClassMethods',
145
+                'ActionController::Macros::InPlaceEditing::ClassMethods',
146
+                'ActionController::MimeResponds::InstanceMethods',
147
+                'ActionController::Pagination',
148
+                'ActionController::Pagination::ClassMethods',
149
+                'ActionController::Pagination::Paginator',
150
+                'ActionController::Pagination::Paginator::Page',
151
+                'ActionController::Pagination::Paginator::Window',
152
+                'ActionController::Rescue', 'ActionController::Resources',
153
+                'ActionController::Routing',
154
+                'ActionController::Scaffolding::ClassMethods',
155
+                'ActionController::SessionManagement::ClassMethods',
156
+                'ActionController::Streaming', 'ActionController::TestProcess',
157
+                'ActionController::TestUploadedFile',
158
+                'ActionController::UrlWriter',
159
+                'ActionController::Verification::ClassMethods',
160
+                'ActionMailer::Base', 'ActionView::Base',
161
+                'ActionView::Helpers::ActiveRecordHelper',
162
+                'ActionView::Helpers::AssetTagHelper',
163
+                'ActionView::Helpers::BenchmarkHelper',
164
+                'ActionView::Helpers::CacheHelper',
165
+                'ActionView::Helpers::CaptureHelper',
166
+                'ActionView::Helpers::DateHelper',
167
+                'ActionView::Helpers::DebugHelper',
168
+                'ActionView::Helpers::FormHelper',
169
+                'ActionView::Helpers::FormOptionsHelper',
170
+                'ActionView::Helpers::FormTagHelper',
171
+                'ActionView::Helpers::JavaScriptHelper',
172
+                'ActionView::Helpers::JavaScriptMacrosHelper',
173
+                'ActionView::Helpers::NumberHelper',
174
+                'ActionView::Helpers::PaginationHelper',
175
+                'ActionView::Helpers::PrototypeHelper',
176
+                'ActionView::Helpers::PrototypeHelper::JavaScriptGenerator::GeneratorMethods',
177
+                'ActionView::Helpers::ScriptaculousHelper',
178
+                'ActionView::Helpers::TagHelper',
179
+                'ActionView::Helpers::TextHelper',
180
+                'ActionView::Helpers::UrlHelper', 'ActionView::Partials',
181
+                'ActionWebService::API::Method', 'ActionWebService::Base',
182
+                'ActionWebService::Client::Soap',
183
+                'ActionWebService::Client::XmlRpc',
184
+                'ActionWebService::Container::ActionController::ClassMethods',
185
+                'ActionWebService::Container::Delegated::ClassMethods',
186
+                'ActionWebService::Container::Direct::ClassMethods',
187
+                'ActionWebService::Invocation::ClassMethods',
188
+                'ActionWebService::Scaffolding::ClassMethods',
189
+                'ActionWebService::SignatureTypes', 'ActionWebService::Struct',
190
+                'ActiveRecord::Acts::List::ClassMethods',
191
+                'ActiveRecord::Acts::List::InstanceMethods',
192
+                'ActiveRecord::Acts::NestedSet::ClassMethods',
193
+                'ActiveRecord::Acts::NestedSet::InstanceMethods',
194
+                'ActiveRecord::Acts::Tree::ClassMethods',
195
+                'ActiveRecord::Acts::Tree::InstanceMethods',
196
+                'ActiveRecord::Aggregations::ClassMethods',
197
+                'ActiveRecord::Associations::ClassMethods',
198
+                'ActiveRecord::AttributeMethods::ClassMethods',
199
+                'ActiveRecord::Base',
200
+                'ActiveRecord::Calculations::ClassMethods',
201
+                'ActiveRecord::Callbacks',
202
+                'ActiveRecord::ConnectionAdapters::AbstractAdapter',
203
+                'ActiveRecord::ConnectionAdapters::Column',
204
+                'ActiveRecord::ConnectionAdapters::DB2Adapter',
205
+                'ActiveRecord::ConnectionAdapters::DatabaseStatements',
206
+                'ActiveRecord::ConnectionAdapters::FirebirdAdapter',
207
+                'ActiveRecord::ConnectionAdapters::FrontBaseAdapter',
208
+                'ActiveRecord::ConnectionAdapters::MysqlAdapter',
209
+                'ActiveRecord::ConnectionAdapters::OpenBaseAdapter',
210
+                'ActiveRecord::ConnectionAdapters::OracleAdapter',
211
+                'ActiveRecord::ConnectionAdapters::PostgreSQLAdapter',
212
+                'ActiveRecord::ConnectionAdapters::Quoting',
213
+                'ActiveRecord::ConnectionAdapters::SQLServerAdapter',
214
+                'ActiveRecord::ConnectionAdapters::SQLiteAdapter',
215
+                'ActiveRecord::ConnectionAdapters::SchemaStatements',
216
+                'ActiveRecord::ConnectionAdapters::SybaseAdapter::ColumnWithIdentity',
217
+                'ActiveRecord::ConnectionAdapters::SybaseAdapterContext',
218
+                'ActiveRecord::ConnectionAdapters::TableDefinition',
219
+                'ActiveRecord::Errors', 'ActiveRecord::Locking',
220
+                'ActiveRecord::Locking::Optimistic',
221
+                'ActiveRecord::Locking::Optimistic::ClassMethods',
222
+                'ActiveRecord::Locking::Pessimistic',
223
+                'ActiveRecord::Migration', 'ActiveRecord::Observer',
224
+                'ActiveRecord::Observing::ClassMethods',
225
+                'ActiveRecord::Reflection::ClassMethods',
226
+                'ActiveRecord::Reflection::MacroReflection',
227
+                'ActiveRecord::Schema', 'ActiveRecord::Timestamp',
228
+                'ActiveRecord::Transactions::ClassMethods',
229
+                'ActiveRecord::Validations',
230
+                'ActiveRecord::Validations::ClassMethods',
231
+                'ActiveRecord::XmlSerialization',
232
+                'ActiveSupport::CachingTools::HashCaching',
233
+                'ActiveSupport::CoreExtensions::Array::Conversions',
234
+                'ActiveSupport::CoreExtensions::Array::Grouping',
235
+                'ActiveSupport::CoreExtensions::Date::Conversions',
236
+                'ActiveSupport::CoreExtensions::Hash::Conversions',
237
+                'ActiveSupport::CoreExtensions::Hash::Conversions::ClassMethods',
238
+                'ActiveSupport::CoreExtensions::Hash::Diff',
239
+                'ActiveSupport::CoreExtensions::Hash::Keys',
240
+                'ActiveSupport::CoreExtensions::Hash::ReverseMerge',
241
+                'ActiveSupport::CoreExtensions::Integer::EvenOdd',
242
+                'ActiveSupport::CoreExtensions::Integer::Inflections',
243
+                'ActiveSupport::CoreExtensions::Numeric::Bytes',
244
+                'ActiveSupport::CoreExtensions::Numeric::Time',
245
+                'ActiveSupport::CoreExtensions::Pathname::CleanWithin',
246
+                'ActiveSupport::CoreExtensions::Range::Conversions',
247
+                'ActiveSupport::CoreExtensions::String::Access',
248
+                'ActiveSupport::CoreExtensions::String::Conversions',
249
+                'ActiveSupport::CoreExtensions::String::Inflections',
250
+                'ActiveSupport::CoreExtensions::String::Iterators',
251
+                'ActiveSupport::CoreExtensions::String::StartsEndsWith',
252
+                'ActiveSupport::CoreExtensions::String::Unicode',
253
+                'ActiveSupport::CoreExtensions::Time::Calculations',
254
+                'ActiveSupport::CoreExtensions::Time::Calculations::ClassMethods',
255
+                'ActiveSupport::CoreExtensions::Time::Conversions',
256
+                'ActiveSupport::Multibyte::Chars',
257
+                'ActiveSupport::Multibyte::Handlers::UTF8Handler', 'Binding',
258
+                'Breakpoint', 'Builder::BlankSlate', 'Builder::XmlMarkup',
259
+                'Enumerable', 'Fixtures',
260
+                'HTML::Selector', 'HashWithIndifferentAccess', 'Inflector',
261
+                'Inflector::Inflections', 'Mime', 'Mime::Type',
262
+                'OCI8AutoRecover', 'Symbol', 'TimeZone', 'XmlSimple'
263
+            ),
264
+        5 => array(
265
+            'image_tag', 'link_to', 'link_to_remote', 'javascript_include_tag',
266
+            'assert_equal', 'assert_not_equal', 'before_filter',
267
+            'after_filter', 'render', 'redirect_to', 'hide_action',
268
+            'render_to_string', 'url_for', 'controller_name',
269
+            'controller_class_name', 'controller_path', 'session',
270
+            'render_component', 'render_component_as_string', 'cookie',
271
+            'layout', 'flash', 'auto_complete_for', 'in_place_editor_for',
272
+            'respond_to', 'paginate', 'current_page', 'each', 'first',
273
+            'first_page', 'last_page', 'last', 'length', 'new', 'page_count',
274
+            'previous', 'next', 'scaffold', 'session', 'send_data',
275
+            'send_file', 'deliver', 'receive', 'error_messages_for',
276
+            'error_message_on', 'form', 'input', 'stylesheet_link_tag',
277
+            'stylesheet_path', 'content_for', 'select_date', 'select', 'ago',
278
+            'month', 'day', 'check_box', 'fields_for', 'file_field',
279
+            'form_for', 'hidden_field', 'text_area', 'password_field',
280
+            'collection_select', 'options_for_select',
281
+            'options_from_collection_for_select', 'file_field_tag',
282
+            'form_for_tag', 'hidden_field_tag', 'text_area_tag',
283
+            'password_field_tag', 'link_to_function', 'javascript_tag',
284
+            'human_size', 'number_to_currency', 'pagination_links',
285
+            'form_remote_tag', 'form_remote_for', 'link_to_remote',
286
+            'submit_to_remote', 'remote_function', 'observe_form',
287
+            'observe_field', 'remote_form_for', 'options_for_ajax', 'alert',
288
+            'call', 'assign', 'show', 'hide', 'insert_html', 'sortable',
289
+            'toggle', 'visual_effect', 'replace', 'replace_html', 'remove',
290
+            'save', 'save!', 'draggable', 'drop_receiving', 'literal',
291
+            'draggable_element', 'drop_receiving_element', 'sortable_element',
292
+            'content_tag', 'tag', 'link_to_image', 'link_to_if',
293
+            'link_to_unless', 'mail_to', 'link_image_to', 'button_to',
294
+            'current_page?', 'act_as_list', 'act_as_nested', 'act_as_tree',
295
+            'has_many', 'has_one', 'belongs_to', 'has_many_and_belogns_to',
296
+            'delete', 'destroy', 'destroy_all', 'clone', 'deep_clone', 'copy',
297
+            'update', 'table_name', 'primary_key', 'sum', 'maximun', 'minimum',
298
+            'count', 'size', 'after_save', 'after_create', 'before_save',
299
+            'before_create', 'add_to_base', 'errors', 'add', 'validate',
300
+            'validate', 'validates_presence_of', 'validates_format_of',
301
+            'validates_numericality_of', 'validates_uniqueness_of',
302
+            'validates_length_of', 'validates_format_of', 'validates_size_of',
303
+            'to_a', 'to_s', 'to_xml', 'to_i'
304
+            )
305
+        ),
306
+    'SYMBOLS' => array(
307
+        '(', ')', '[', ']', '{', '}', '%', '&', '*', '|', '/', '<', '>',
308
+        '+', '-', '=&gt;', '=>', '<<'
309
+        ),
310
+    'CASE_SENSITIVE' => array(
311
+        GESHI_COMMENTS => false,
312
+        1 => true,
313
+        2 => true,
314
+        3 => true,
315
+        4 => true,
316
+        5 => true
317
+        ),
318
+    'STYLES' => array(
319
+        'KEYWORDS' => array(
320
+            1 => 'color:#9966CC; font-weight:bold;',
321
+            2 => 'color:#0000FF; font-weight:bold;',
322
+            3 => 'color:#CC0066; font-weight:bold;',
323
+            4 => 'color:#CC00FF; font-weight:bold;',
324
+            5 => 'color:#5A0A0A; font-weight:bold;'
325
+            ),
326
+        'COMMENTS' => array(
327
+            1 => 'color:#008000; font-style:italic;',
328
+                    'MULTI' => 'color:#000080; font-style:italic;'
329
+            ),
330
+        'ESCAPE_CHAR' => array(
331
+            0 => 'color:#000099;'
332
+            ),
333
+        'BRACKETS' => array(
334
+            0 => 'color:#006600; font-weight:bold;'
335
+            ),
336
+        'STRINGS' => array(
337
+            0 => 'color:#996600;'
338
+            ),
339
+        'NUMBERS' => array(
340
+            0 => 'color:#006666;'
341
+            ),
342
+        'METHODS' => array(
343
+            1 => 'color:#9900CC;'
344
+            ),
345
+        'SYMBOLS' => array(
346
+            0 => 'color:#006600; font-weight:bold;'
347
+            ),
348
+        'REGEXPS' => array(
349
+            0 => 'color:#ff6633; font-weight:bold;',
350
+            1 => 'color:#0066ff; font-weight:bold;',
351
+            2 => 'color:#6666ff; font-weight:bold;',
352
+            3 => 'color:#ff3333; font-weight:bold;'
353
+            ),
354
+        'SCRIPT' => array(
355
+            0 => '',
356
+            1 => '',
357
+            2 => '',
358
+            )
359
+        ),
360
+    'URLS' => array(
361
+        1 => '',
362
+        2 => '',
363
+        3 => ''
364
+        ),
365
+    'OOLANG' => true,
366
+    'OBJECT_SPLITTERS' => array(
367
+        1 => '.'
368
+        ),
369
+    'REGEXPS' => array(
370
+        0 => array(
371
+            GESHI_SEARCH => "([[:space:]])(\\$[a-zA-Z_][a-zA-Z0-9_]*)",
372
+            GESHI_REPLACE => '\\2',
373
+            GESHI_MODIFIERS => '',
374
+            GESHI_BEFORE => '\\1',
375
+            GESHI_AFTER => ''
376
+            ),
377
+        1 => array(
378
+            GESHI_SEARCH => "([[:space:]])(@[a-zA-Z_][a-zA-Z0-9_]*)",
379
+            GESHI_REPLACE => '\\2',
380
+            GESHI_MODIFIERS => '',
381
+            GESHI_BEFORE => '\\1',
382
+            GESHI_AFTER => ''
383
+            ),
384
+        2 => "([A-Z][a-zA-Z0-9_]*::)+[A-Z][a-zA-Z0-9_]*",
385
+        3 => array(
386
+            GESHI_SEARCH => "([[:space:]]|\[|\()(:[a-zA-Z_][a-zA-Z0-9_]*)",
387
+            GESHI_REPLACE => '\\2',
388
+            GESHI_MODIFIERS => '',
389
+            GESHI_BEFORE => '\\1',
390
+            GESHI_AFTER => ''
391
+            )
392
+        ),
393
+    'STRICT_MODE_APPLIES' => GESHI_MAYBE,
394
+    'SCRIPT_DELIMITERS' => array(
395
+        0 => array(
396
+            '<%' => '%>'
397
+            )
398
+        ),
399
+    'HIGHLIGHT_STRICT_BLOCK' => array(
400
+        0 => true,
401
+        )
402
+);
403
+
404
+?>

+ 214 - 0
plugins/geshi/reg.php View File

@@ -0,0 +1,214 @@
1
+<?php
2
+/*************************************************************************************
3
+ * reg.php
4
+ * -------
5
+ * Author: Sean Hanna (smokingrope@gmail.com)
6
+ * Copyright: (c) 2006 Sean Hanna
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 03/15/2006
9
+ *
10
+ * Microsoft Registry Editor Language File.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 03/15/2006 (0.5.0)
15
+ *  -  Syntax File Created
16
+ * 04/27/2006 (0.9.5)
17
+ *  - Syntax Coloring Cleaned Up
18
+ *  - First Release
19
+ * 04/29/2006 (1.0.0)
20
+ *  - Updated a few coloring settings
21
+ *
22
+ * TODO (updated 4/27/2006)
23
+ * -------------------------
24
+ * - Add a verification to the multi-line portion of the hex field regex
25
+ *    for a '\' character on the line preceding the line of the multi-line
26
+ *    hex field.
27
+ *
28
+ * KNOWN ISSUES (updated 4/27/2006)
29
+ * ---------------------------------
30
+ *
31
+ * - There are two regexes for the multiline hex value regex. The regex for
32
+ *		all lines after the first does not verify that the previous line contains
33
+ *		a line continuation character '\'. This regex also does not check for
34
+ *		end of line as it should.
35
+ *
36
+ * - If number_highlighting is enabled during processing of this syntax file
37
+ *    many of the regexps used will appear slightly incorrect.
38
+ *
39
+ *************************************************************************************
40
+ *
41
+ *     This file is part of GeSHi.
42
+ *
43
+ *   GeSHi is free software; you can redistribute it and/or modify
44
+ *   it under the terms of the GNU General Public License as published by
45
+ *   the Free Software Foundation; either version 2 of the License, or
46
+ *   (at your option) any later version.
47
+ *
48
+ *   GeSHi is distributed in the hope that it will be useful,
49
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
50
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
51
+ *   GNU General Public License for more details.
52
+ *
53
+ *   You should have received a copy of the GNU General Public License
54
+ *   along with GeSHi; if not, write to the Free Software
55
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
56
+ *
57
+
58
+ ************************************************************************************/
59
+$language_data = array (
60
+	'LANG_NAME' => 'Microsoft Registry',
61
+	'COMMENT_SINGLE' => array(1 =>';'),
62
+	'COMMENT_MULTI' => array( ),
63
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
64
+	'QUOTEMARKS' => array(),
65
+	'ESCAPE_CHAR' => '',
66
+	'KEYWORDS' => array(
67
+		1 => array(),
68
+		2 => array()
69
+	    /* Registry Key Constants Not Used
70
+		3 => array(
71
+			'HKEY_LOCAL_MACHINE',
72
+			'HKEY_CLASSES_ROOT',
73
+			'HKEY_CURRENT_USER',
74
+			'HKEY_USERS',
75
+			'HKEY_CURRENT_CONFIG',
76
+			'HKEY_DYN_DATA',
77
+			'HKLM', 'HKCR', 'HKCU', 'HKU', 'HKCC', 'HKDD'
78
+			)/***/
79
+		),
80
+	'SYMBOLS' => array( ),
81
+	'CASE_SENSITIVE' => array(
82
+		GESHI_COMMENTS => false,
83
+		1 => false,
84
+		2 => false
85
+		),
86
+	'STYLES' => array(
87
+		'KEYWORDS' => array( 1 => 'color: #00CCFF;',
88
+			 				 2 => 'color: #0000FF;' ),
89
+		'COMMENTS' => array( 1 => 'color: #009900;' ),
90
+		'ESCAPE_CHAR' => array(),
91
+		'BRACKETS' => array(0 => 'color: #000000;'),
92
+		'STRINGS' => array( 0 => 'color: #009900;' ),
93
+		'NUMBERS' => array(),
94
+		'METHODS' => array(),
95
+		'SYMBOLS' => array(0 => 'color: #000000;'),
96
+		'SCRIPT' => array(),
97
+		'REGEXPS' => array(
98
+			0 => '',
99
+			1 => 'color: #0000FF;',
100
+			2 => '',
101
+			3 => '',
102
+			4 => 'color: #0000FF;',
103
+			5 => '',
104
+		 	6 => '',
105
+		 	7 => '',
106
+		 	8 => '',
107
+		 	9 => 'color: #FF6600;',
108
+			)
109
+		),
110
+	'OOLANG' => false,
111
+	'OBJECT_SPLITTERS' => array(
112
+		),
113
+	'REGEXPS' => array(
114
+		// Highlight Key Delimiters
115
+		0 => array(
116
+			GESHI_SEARCH => '((^|\\n)\\s*)(\\\\\\[(.*)\\\\\\])(\\s*(\\n|$))',
117
+			GESHI_REPLACE => '\\3',
118
+			GESHI_MODIFIERS => '',
119
+			GESHI_BEFORE => '\\1',
120
+			GESHI_AFTER => '\\5',
121
+			GESHI_CLASS => 'kw1'
122
+			),
123
+		// Highlight File Format Header Version 5
124
+		1 => array(
125
+			GESHI_SEARCH => '((\\n|^)\\s*)(Windows Registry Editor Version [0-9]+(.)+([0-9]+))((\\n|$)\\s*)',
126
+			GESHI_REPLACE => '\\3',
127
+			GESHI_MODIFIERS => '',
128
+			GESHI_BEFORE => '\\1',
129
+			GESHI_AFTER => '\\6',
130
+			GESHI_CLASS => 'geshi_registry_header'
131
+			),
132
+		// Highlight File Format Header Version 4
133
+		2 => array(
134
+			GESHI_SEARCH => '((\\n|^)\\s*)(REGEDIT [0-9]+)(\\s*(\\n|$))',
135
+			GESHI_REPLACE => '\\3',
136
+			GESHI_MODIFIERS => '',
137
+			GESHI_BEFORE => '\\1',
138
+			GESHI_AFTER => '\\4',
139
+			GESHI_CLASS => 'geshi_registry_header'
140
+			),
141
+		// Highlight dword: 32 bit integer values
142
+		3 => array(
143
+			GESHI_SEARCH => '(=\\s*)(dword:[0-9]{8})(\\s*(\\n|$))',
144
+			GESHI_REPLACE => '\\2',
145
+			GESHI_MODIFIERS => '',
146
+			GESHI_BEFORE => '\\1',
147
+			GESHI_AFTER => '\\3',
148
+			GESHI_CLASS => 'kw2'
149
+			),
150
+		// Highlight variable names
151
+		4 => array(
152
+			GESHI_SEARCH => '((\\n|^)\\s*\\&quot\\;)(.*)(\\&quot\\;\\s*=)',
153
+			GESHI_REPLACE => '\\3',
154
+			GESHI_MODIFIERS => '',
155
+			GESHI_BEFORE => '\\1',
156
+			GESHI_AFTER => '\\4',
157
+			GESHI_CLASS => 'geshi_variable'
158
+			),
159
+		// Highlight String Values
160
+		5 => array(
161
+			GESHI_SEARCH => '(=\\s*)(\\&quot\\;.*\\&quot\\;)(\\s*(\\n|$))',
162
+			GESHI_REPLACE => '\\2',
163
+			GESHI_MODIFIERS => '',
164
+			GESHI_BEFORE => '\\1',
165
+			GESHI_AFTER => '\\3',
166
+			GESHI_CLASS => 'st0'
167
+			),
168
+		// Highlight Hexadecimal Values
169
+		6 => array(
170
+			GESHI_SEARCH => '(=\\s*)(hex((\\\\\\([0-9]{1,2}\\\\\\))|()):(([0-9a-fA-F]{2},)|(\\s))*(([0-9a-fA-F]{2})|(\\\\\\\\)))(\\s*(\\n|$))',
171
+			GESHI_REPLACE => '\\2',
172
+			GESHI_MODIFIERS => '',
173
+			GESHI_BEFORE => '\\1',
174
+			GESHI_AFTER => '\\12',
175
+			GESHI_CLASS => 'kw2'
176
+			),
177
+		// Highlight Hexadecimal Values (Multi-Line)
178
+		7 => array(
179
+			GESHI_SEARCH => '((\\n|^)\\s*)((([0-9a-fA-F]{2},)|(\\s))*(([0-9a-fA-F]{2})|(\\\\\\\\)))',
180
+			GESHI_REPLACE => '\\3',
181
+			GESHI_MODIFIERS => '',
182
+			GESHI_BEFORE => '\\1',
183
+			GESHI_AFTER => '\\10',
184
+			GESHI_CLASS => 'kw2'
185
+			),
186
+		// Highlight Default Variable
187
+		8 => array(
188
+			GESHI_SEARCH => '((\\n|^)\\s*)(@)(\\s*=)',
189
+			GESHI_REPLACE => '\\3',
190
+			GESHI_MODIFIERS => '',
191
+			GESHI_BEFORE => '\\1',
192
+			GESHI_AFTER => '\\4',
193
+			GESHI_CLASS => 'geshi_variable'
194
+			),
195
+		// Highlight GUID's found anywhere.
196
+		9 => array(
197
+			GESHI_SEARCH => '(\\{[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}\\})',
198
+			GESHI_REPLACE => '\\1',
199
+			GESHI_MODIFIERS => '',
200
+			GESHI_BEFORE => '',
201
+			GESHI_AFTER => '',
202
+			GESHI_CLASS => 'geshi_guid'
203
+			)
204
+		),
205
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
206
+	'SCRIPT_DELIMITERS' => array(
207
+		),
208
+	'HIGHLIGHT_STRICT_BLOCK' => array(
209
+		)
210
+);
211
+if (isset($this) && is_a($this, 'GeSHi')) {
212
+    $this->set_numbers_highlighting(false);
213
+}
214
+?>

+ 98 - 0
plugins/geshi/robots.php View File

@@ -0,0 +1,98 @@
1
+<?php
2
+/*************************************************************************************
3
+ * robots.php
4
+ * --------
5
+ * Author: Christian Lescuyer (cl@goelette.net)
6
+ * Copyright: (c) 2006 Christian Lescuyer http://xtian.goelette.info
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2006/02/17
9
+ *
10
+ * robots.txt language file for GeSHi.
11
+ *
12
+ * 2006/02/17 (1.0.0)
13
+ *   -  First Release
14
+ *
15
+ *************************************************************************************
16
+ *
17
+ *     This file is part of GeSHi.
18
+ *
19
+ *   GeSHi is free software; you can redistribute it and/or modify
20
+ *   it under the terms of the GNU General Public License as published by
21
+ *   the Free Software Foundation; either version 2 of the License, or
22
+ *   (at your option) any later version.
23
+ *
24
+ *   GeSHi is distributed in the hope that it will be useful,
25
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
26
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27
+ *   GNU General Public License for more details.
28
+ *
29
+ *   You should have received a copy of the GNU General Public License
30
+ *   along with GeSHi; if not, write to the Free Software
31
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
32
+ *
33
+ ************************************************************************************/
34
+
35
+$language_data = array (
36
+    'LANG_NAME' => 'robots.txt',
37
+    'COMMENT_SINGLE' => array(1 => '#'),
38
+    'COMMENT_MULTI' => array(),
39
+    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
40
+    'QUOTEMARKS' => array(),
41
+    'ESCAPE_CHAR' => '',
42
+    'KEYWORDS' => array(
43
+        1 => array(
44
+            'User-agent', 'Disallow'
45
+            )
46
+        ),
47
+    'SYMBOLS' => array(
48
+        ':'
49
+        ),
50
+    'CASE_SENSITIVE' => array(
51
+        GESHI_COMMENTS => false,
52
+        1 => true
53
+        ),
54
+    'STYLES' => array(
55
+        'KEYWORDS' => array(
56
+            1 => 'color: #b1b100;'
57
+            ),
58
+        'COMMENTS' => array(
59
+            1 => 'color: #808080; font-style: italic;',
60
+            ),
61
+        'ESCAPE_CHAR' => array(
62
+            0 => 'color: #000099; font-weight: bold;'
63
+            ),
64
+        'BRACKETS' => array(
65
+            0 => 'color: #66cc66;'
66
+            ),
67
+        'STRINGS' => array(
68
+            0 => 'color: #ff0000;'
69
+            ),
70
+        'NUMBERS' => array(
71
+            0 => 'color: #cc66cc;'
72
+            ),
73
+        'METHODS' => array(
74
+            ),
75
+        'SYMBOLS' => array(
76
+            0 => 'color: #66cc66;'
77
+            ),
78
+        'REGEXPS' => array(
79
+            ),
80
+        'SCRIPT' => array(
81
+            )
82
+        ),
83
+    'URLS' => array(
84
+        1 => 'http://www.robotstxt.org/wc/norobots.html'
85
+        ),
86
+    'OOLANG' => false,
87
+    'OBJECT_SPLITTERS' => array(
88
+        ),
89
+    'REGEXPS' => array(
90
+        ),
91
+    'STRICT_MODE_APPLIES' => GESHI_NEVER,
92
+    'SCRIPT_DELIMITERS' => array(
93
+        ),
94
+    'HIGHLIGHT_STRICT_BLOCK' => array(
95
+        )
96
+);
97
+
98
+?>

+ 219 - 0
plugins/geshi/ruby.php View File

@@ -0,0 +1,219 @@
1
+<?php
2
+/*************************************************************************************
3
+ * ruby.php
4
+ * --------
5
+ * Author: Moises Deniz
6
+ * Copyright: (c) 2007 Moises Deniz
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2007/03/21
9
+ *
10
+ * Ruby language file for GeSHi
11
+ *
12
+ *************************************************************************************
13
+ *
14
+ *   This file is part of GeSHi.
15
+ *
16
+ *   GeSHi is free software; you can redistribute it and/or modify
17
+ *   it under the terms of the GNU General Public License as published by
18
+ *   the Free Software Foundation; either version 2 of the License, or
19
+ *   (at your option) any later version.
20
+ *
21
+ *   GeSHi is distributed in the hope that it will be useful,
22
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
23
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24
+ *   GNU General Public License for more details.
25
+ *
26
+ *   You should have received a copy of the GNU General Public License
27
+ *   along with GeSHi; if not, write to the Free Software
28
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
29
+ *
30
+ ************************************************************************************/
31
+
32
+$language_data = array (
33
+    'LANG_NAME' => 'Ruby',
34
+    'COMMENT_SINGLE' => array(1 => "#"),
35
+    'COMMENT_MULTI' => array("=begin" => "=end"),
36
+    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
37
+    'QUOTEMARKS' => array('"', '`','\''),
38
+    'ESCAPE_CHAR' => '\\',
39
+    'KEYWORDS' => array(
40
+        1 => array(
41
+                'alias', 'and', 'begin', 'break', 'case', 'class',
42
+                'def', 'defined', 'do', 'else', 'elsif', 'end',
43
+                'ensure', 'for', 'if', 'in', 'module', 'while',
44
+                'next', 'not', 'or', 'redo', 'rescue', 'yield',
45
+                'retry', 'super', 'then', 'undef', 'unless',
46
+                'until', 'when', 'BEGIN', 'END', 'include'
47
+            ),
48
+        2 => array(
49
+                '__FILE__', '__LINE__', 'false', 'nil', 'self', 'true',
50
+                'return'
51
+            ),
52
+        3 => array(
53
+                'Array', 'Float', 'Integer', 'String', 'at_exit',
54
+                'autoload', 'binding', 'caller', 'catch', 'chop', 'chop!',
55
+                'chomp', 'chomp!', 'eval', 'exec', 'exit', 'exit!', 'fail',
56
+                'fork', 'format', 'gets', 'global_variables', 'gsub', 'gsub!',
57
+                'iterator?', 'lambda', 'load', 'local_variables', 'loop',
58
+                'open', 'p', 'print', 'printf', 'proc', 'putc', 'puts',
59
+                'raise', 'rand', 'readline', 'readlines', 'require', 'select',
60
+                'sleep', 'split', 'sprintf', 'srand', 'sub', 'sub!', 'syscall',
61
+                'system', 'trace_var', 'trap', 'untrace_var'
62
+            ),
63
+        4 => array(
64
+                'Abbrev', 'ArgumentError', 'Base64', 'Benchmark',
65
+                'Benchmark::Tms', 'Bignum', 'Binding', 'CGI', 'CGI::Cookie',
66
+                'CGI::HtmlExtension', 'CGI::QueryExtension',
67
+                'CGI::Session', 'CGI::Session::FileStore',
68
+                'CGI::Session::MemoryStore', 'Class', 'Comparable', 'Complex',
69
+                'ConditionVariable', 'Continuation', 'Data',
70
+                'Date', 'DateTime', 'Delegator', 'Dir', 'EOFError', 'ERB',
71
+                'ERB::Util', 'Enumerable', 'Enumerable::Enumerator', 'Errno',
72
+                'Exception', 'FalseClass', 'File',
73
+                'File::Constants', 'File::Stat', 'FileTest', 'FileUtils',
74
+                'FileUtils::DryRun', 'FileUtils::NoWrite',
75
+                'FileUtils::StreamUtils_', 'FileUtils::Verbose', 'Find',
76
+                'Fixnum', 'FloatDomainError', 'Forwardable', 'GC', 'Generator',
77
+                'Hash', 'IO', 'IOError', 'Iconv', 'Iconv::BrokenLibrary',
78
+                'Iconv::Failure', 'Iconv::IllegalSequence',
79
+                'Iconv::InvalidCharacter', 'Iconv::InvalidEncoding',
80
+                'Iconv::OutOfRange', 'IndexError', 'Interrupt', 'Kernel',
81
+                'LoadError', 'LocalJumpError', 'Logger', 'Logger::Application',
82
+                'Logger::Error', 'Logger::Formatter', 'Logger::LogDevice',
83
+                'Logger::LogDevice::LogDeviceMutex', 'Logger::Severity',
84
+                'Logger::ShiftingError', 'Marshal', 'MatchData',
85
+                'Math', 'Matrix', 'Method', 'Module', 'Mutex', 'NameError',
86
+                'NameError::message', 'NilClass', 'NoMemoryError',
87
+                'NoMethodError', 'NotImplementedError', 'Numeric', 'Object',
88
+                'ObjectSpace', 'Observable', 'PStore', 'PStore::Error',
89
+                'Pathname', 'Precision', 'Proc', 'Process', 'Process::GID',
90
+                'Process::Status', 'Process::Sys', 'Process::UID', 'Queue',
91
+                'Range', 'RangeError', 'Rational', 'Regexp', 'RegexpError',
92
+                'RuntimeError', 'ScriptError', 'SecurityError', 'Set',
93
+                'Shellwords', 'Signal', 'SignalException', 'SimpleDelegator',
94
+                'SingleForwardable', 'Singleton', 'SingletonClassMethods',
95
+                'SizedQueue', 'SortedSet', 'StandardError', 'StringIO',
96
+                'StringScanner', 'StringScanner::Error', 'Struct', 'Symbol',
97
+                'SyncEnumerator', 'SyntaxError', 'SystemCallError',
98
+                'SystemExit', 'SystemStackError', 'Tempfile',
99
+                'Test::Unit::TestCase', 'Test::Unit', 'Test', 'Thread',
100
+                'ThreadError', 'ThreadGroup',
101
+                'ThreadsWait', 'Time', 'TrueClass', 'TypeError', 'URI',
102
+                'URI::BadURIError', 'URI::Error', 'URI::Escape', 'URI::FTP',
103
+                'URI::Generic', 'URI::HTTP', 'URI::HTTPS',
104
+                'URI::InvalidComponentError', 'URI::InvalidURIError',
105
+                'URI::LDAP', 'URI::MailTo', 'URI::REGEXP',
106
+                'URI::REGEXP::PATTERN', 'UnboundMethod', 'Vector', 'YAML',
107
+                'ZeroDivisionError', 'Zlib',
108
+                'Zlib::BufError', 'Zlib::DataError', 'Zlib::Deflate',
109
+                'Zlib::Error', 'Zlib::GzipFile', 'Zlib::GzipFile::CRCError',
110
+                'Zlib::GzipFile::Error', 'Zlib::GzipFile::LengthError',
111
+                'Zlib::GzipFile::NoFooter', 'Zlib::GzipReader',
112
+                'Zlib::GzipWriter', 'Zlib::Inflate', 'Zlib::MemError',
113
+                'Zlib::NeedDict', 'Zlib::StreamEnd', 'Zlib::StreamError',
114
+                'Zlib::VersionError',
115
+                'Zlib::ZStream',
116
+                'Enumerable',
117
+                'HTML::Selector', 'HashWithIndifferentAccess', 'Inflector',
118
+                'Inflector::Inflections', 'Mime', 'Mime::Type',
119
+                'OCI8AutoRecover', 'Symbol', 'TimeZone', 'XmlSimple'
120
+            ),
121
+        ),
122
+    'SYMBOLS' => array(
123
+        '(', ')', '[', ']', '{', '}', '%', '&', '*', '|', '/', '<', '>',
124
+        '+', '-', '=&gt;', '=>', '<<'
125
+        ),
126
+    'CASE_SENSITIVE' => array(
127
+        GESHI_COMMENTS => false,
128
+        1 => false,
129
+        2 => false,
130
+        3 => false,
131
+        4 => true,
132
+        ),
133
+    'STYLES' => array(
134
+        'KEYWORDS' => array(
135
+            1 => 'color:#9966CC; font-weight:bold;',
136
+            2 => 'color:#0000FF; font-weight:bold;',
137
+            3 => 'color:#CC0066; font-weight:bold;',
138
+            4 => 'color:#CC00FF; font-weight:bold;',
139
+            ),
140
+        'COMMENTS' => array(
141
+            1 => 'color:#008000; font-style:italic;',
142
+                    'MULTI' => 'color:#000080; font-style:italic;'
143
+            ),
144
+        'ESCAPE_CHAR' => array(
145
+            0 => 'color:#000099;'
146
+            ),
147
+        'BRACKETS' => array(
148
+            0 => 'color:#006600; font-weight:bold;'
149
+            ),
150
+        'STRINGS' => array(
151
+            0 => 'color:#996600;'
152
+            ),
153
+        'NUMBERS' => array(
154
+            0 => 'color:#006666;'
155
+            ),
156
+        'METHODS' => array(
157
+            1 => 'color:#9900CC;'
158
+            ),
159
+        'SYMBOLS' => array(
160
+            0 => 'color:#006600; font-weight:bold;'
161
+            ),
162
+        'REGEXPS' => array(
163
+            0 => 'color:#ff6633; font-weight:bold;',
164
+            1 => 'color:#0066ff; font-weight:bold;',
165
+            2 => 'color:#6666ff; font-weight:bold;',
166
+            3 => 'color:#ff3333; font-weight:bold;'
167
+            ),
168
+        'SCRIPT' => array(
169
+            0 => '',
170
+            1 => '',
171
+            2 => '',
172
+            )
173
+        ),
174
+    'URLS' => array(
175
+        1 => '',
176
+        2 => '',
177
+        3 => ''
178
+        ),
179
+    'OOLANG' => true,
180
+    'OBJECT_SPLITTERS' => array(
181
+        1 => '.'
182
+        ),
183
+    'REGEXPS' => array(
184
+        0 => array(
185
+            GESHI_SEARCH => "([[:space:]])(\\$[a-zA-Z_][a-zA-Z0-9_]*)",
186
+            GESHI_REPLACE => '\\2',
187
+            GESHI_MODIFIERS => '',
188
+            GESHI_BEFORE => '\\1',
189
+            GESHI_AFTER => ''
190
+            ),
191
+        1 => array(
192
+            GESHI_SEARCH => "([[:space:]])(@[a-zA-Z_][a-zA-Z0-9_]*)",
193
+            GESHI_REPLACE => '\\2',
194
+            GESHI_MODIFIERS => '',
195
+            GESHI_BEFORE => '\\1',
196
+            GESHI_AFTER => ''
197
+            ),
198
+        2 => "([A-Z][a-zA-Z0-9_]*::)+[A-Z][a-zA-Z0-9_]*",
199
+        3 => array(
200
+            GESHI_SEARCH => "([[:space:]]|\[|\()(:[a-zA-Z_][a-zA-Z0-9_]*)",
201
+            GESHI_REPLACE => '\\2',
202
+            GESHI_MODIFIERS => '',
203
+            GESHI_BEFORE => '\\1',
204
+            GESHI_AFTER => ''
205
+            )
206
+        ),
207
+    'STRICT_MODE_APPLIES' => GESHI_MAYBE,
208
+    'SCRIPT_DELIMITERS' => array(
209
+        0 => array(
210
+            '<%' => '%>'
211
+            )
212
+        ),
213
+    'HIGHLIGHT_STRICT_BLOCK' => array(
214
+        0 => true,
215
+        ),
216
+    'TAB_WIDTH' => 2
217
+);
218
+
219
+?>

+ 357 - 0
plugins/geshi/sas.php View File

@@ -0,0 +1,357 @@
1
+<?php
2
+/*************************************************************************************
3
+ * sas.php
4
+ * -------
5
+ * Author: Galen Johnson (solitaryr@gmail.com)
6
+ * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/12/27
9
+ *
10
+ * SAS language file for GeSHi. Based on the sas vim file.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/12/27 (1.0.0)
15
+ *   -  First Release
16
+ *
17
+ * TODO (updated 2005/12/27)
18
+ * -------------------------
19
+ *
20
+ * * Check highlighting stuff works
21
+ *
22
+ *************************************************************************************
23
+ *
24
+ *     This file is part of GeSHi.
25
+ *
26
+ *   GeSHi is free software; you can redistribute it and/or modify
27
+ *   it under the terms of the GNU General Public License as published by
28
+ *   the Free Software Foundation; either version 2 of the License, or
29
+ *   (at your option) any later version.
30
+ *
31
+ *   GeSHi is distributed in the hope that it will be useful,
32
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
33
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34
+ *   GNU General Public License for more details.
35
+ *
36
+ *   You should have received a copy of the GNU General Public License
37
+ *   along with GeSHi; if not, write to the Free Software
38
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
39
+ *
40
+ ************************************************************************************/
41
+
42
+$language_data = array (
43
+    'LANG_NAME' => 'SAS',
44
+    'COMMENT_SINGLE' => array(),
45
+    'COMMENT_MULTI' => array('/*' => '*/'),
46
+    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
47
+    'QUOTEMARKS' => array("'", '"'),
48
+    'ESCAPE_CHAR' => '\\',
49
+    'KEYWORDS' => array(
50
+        1 => array(
51
+            '_NULL_', '_INFILE_', '_N_', '_WEBOUT_', '_NUMERIC_', '_CHARACTER_', '_ALL_'
52
+            ),
53
+        2 => array(
54
+            '%BQUOTE', '%NRBQUOTE', '%CMPRES', '%QCMPRES',
55
+
56
+            '%COMPSTOR', '%DATATYP', '%DISPLAY', '%DO',
57
+            '%ELSE', '%END', '%EVAL', '%GLOBAL',
58
+            '%GOTO', '%IF', '%INDEX', '%INPUT',
59
+            '%KEYDEF', '%LABEL', '%LEFT', '%LENGTH',
60
+            '%LET', '%LOCAL', '%LOWCASE', '%MACRO',
61
+            '%MEND', '%NRBQUOTE', '%NRQUOTE', '%NRSTR',
62
+
63
+            '%PUT', '%QCMPRES', '%QLEFT', '%QLOWCASE',
64
+            '%QSCAN', '%QSUBSTR', '%QSYSFUNC', '%QTRIM',
65
+            '%QUOTE', '%QUPCASE', '%SCAN', '%STR',
66
+            '%SUBSTR', '%SUPERQ', '%SYSCALL', '%SYSEVALF',
67
+            '%SYSEXEC', '%SYSFUNC', '%SYSGET', '%SYSLPUT',
68
+            '%SYSPROD', '%SYSRC', '%SYSRPUT', '%THEN',
69
+
70
+            '%TO', '%TRIM', '%UNQUOTE', '%UNTIL',
71
+            '%UPCASE', '%VERIFY', '%WHILE', '%WINDOW'
72
+            ),
73
+        3 => array(
74
+            'ABS', 'ADDR', 'AIRY', 'ARCOS', 'ARSIN', 'ATAN', 'ATTRC', 'ATTRN',
75
+
76
+            'BAND', 'BETAINV', 'BLSHIFT', 'BNOT', 'BOR', 'BRSHIFT', 'BXOR',
77
+            'BYTE', 'CDF', 'CEIL', 'CEXIST', 'CINV', 'CLOSE', 'CNONCT', 'COLLATE',
78
+            'COMPBL', 'COMPOUND', 'COMPRESS', 'COSH', 'COS', 'CSS', 'CUROBS',
79
+            'CV', 'DACCDBSL', 'DACCDB', 'DACCSL', 'DACCSYD', 'DACCTAB',
80
+            'DAIRY', 'DATETIME', 'DATEJUL', 'DATEPART', 'DATE', 'DAY',
81
+            'DCLOSE', 'DEPDBSL', 'DEPDB', 'DEPSL',
82
+
83
+            'DEPSYD', 'DEPSYD', 'DEPTAB', 'DEPTAB', 'DEQUOTE', 'DHMS',
84
+            'DIF', 'DIGAMMA', 'DIM', 'DINFO', 'DNUM', 'DOPEN', 'DOPTNAME',
85
+            'DOPTNUM', 'DREAD', 'DROPNOTE', 'DSNAME', 'ERFC', 'ERF', 'EXIST',
86
+            'EXP', 'FAPPEND', 'FCLOSE', 'FCOL', 'FDELETE', 'FETCHOBS', 'FETCH',
87
+            'FEXIST', 'FGET', 'FILEEXIST', 'FILENAME', 'FILEREF', 'FINFO',
88
+            'FINV', 'FIPNAMEL', 'FIPNAME', 'FIPSTATE', 'FLOOR', 'FNONCT',
89
+
90
+            'FNOTE', 'FOPEN', 'FOPTNAME', 'FOPTNUM', 'FPOINT', 'FPOS',
91
+            'FPUT', 'FREAD', 'FREWIND', 'FRLEN', 'FSEP', 'FUZZ', 'FWRITE',
92
+            'GAMINV', 'GAMMA', 'GETOPTION', 'GETVARC', 'GETVARN', 'HBOUND',
93
+            'HMS', 'HOSTHELP', 'HOUR', 'IBESSEL', 'INDEXW', 'INDEXC',
94
+            'INDEX', 'INPUTN', 'INPUTC', 'INPUT', 'INTRR', 'INTCK', 'INTNX',
95
+            'INT', 'IRR', 'JBESSEL', 'JULDATE', 'KURTOSIS', 'LAG', 'LBOUND',
96
+
97
+            'LEFT', 'LENGTH', 'LGAMMA', 'LIBNAME', 'LIBREF', 'LOG10',
98
+            'LOG2', 'LOGPDF', 'LOGPMF', 'LOGSDF', 'LOG', 'LOWCASE', 'MAX', 'MDY',
99
+            'MEAN', 'MINUTE', 'MIN', 'MOD', 'MONTH', 'MOPEN', 'MORT',
100
+            'NETPV', 'NMISS', 'NORMAL', 'NPV', 'N', 'OPEN', 'ORDINAL',
101
+            'PATHNAME', 'PDF', 'PEEKC', 'PEEK', 'PMF', 'POINT', 'POISSON', 'POKE',
102
+            'PROBBETA', 'PROBBNML', 'PROBCHI', 'PROBF', 'PROBGAM',
103
+
104
+            'PROBHYPR', 'PROBIT', 'PROBNEGB', 'PROBNORM', 'PROBT', 'PUTN',
105
+            'PUTC', 'PUT', 'QTR', 'QUOTE', 'RANBIN', 'RANCAU', 'RANEXP',
106
+            'RANGAM', 'RANGE', 'RANK', 'RANNOR', 'RANPOI', 'RANTBL', 'RANTRI',
107
+            'RANUNI', 'REPEAT', 'RESOLVE', 'REVERSE', 'REWIND', 'RIGHT',
108
+            'ROUND', 'SAVING', 'SCAN', 'SDF', 'SECOND', 'SIGN', 'SINH', 'SIN',
109
+            'SKEWNESS', 'SOUNDEX', 'SPEDIS', 'SQRT', 'STDERR', 'STD', 'STFIPS',
110
+
111
+            'STNAME', 'STNAMEL', 'SUBSTR', 'SUM', 'SYMGET', 'SYSGET', 'SYSMSG',
112
+            'SYSPROD', 'SYSRC', 'SYSTEM', 'TANH', 'TAN', 'TIMEPART', 'TIME',
113
+            'TINV', 'TNONCT', 'TODAY', 'TRANSLATE', 'TRANWRD', 'TRIGAMMA',
114
+            'TRIMN', 'TRIM', 'TRUNC', 'UNIFORM', 'UPCASE', 'USS',
115
+            'VARFMT', 'VARINFMT', 'VARLABEL', 'VARLEN', 'VARNAME',
116
+            'VARNUM', 'VARRAYX', 'VARRAY', 'VARTYPE', 'VAR', 'VERIFY', 'VFORMATX',
117
+
118
+            'VFORMATDX', 'VFORMATD', 'VFORMATNX', 'VFORMATN', 'VFORMATWX',
119
+            'VFORMATW', 'VFORMAT', 'VINARRAYX', 'VINARRAY', 'VINFORMATX',
120
+            'VINFORMATDX', 'VINFORMATD', 'VINFORMATNX', 'VINFORMATN',
121
+            'VINFORMATWX', 'VINFORMATW', 'VINFORMAT', 'VLABELX',
122
+            'VLABEL', 'VLENGTHX', 'VLENGTH', 'VNAMEX', 'VNAME', 'VTYPEX',
123
+            'VTYPE', 'WEEKDAY', 'YEAR', 'YYQ', 'ZIPFIPS', 'ZIPNAME', 'ZIPNAMEL',
124
+
125
+            'ZIPSTATE'
126
+            ),
127
+        4 => array(
128
+            'ABORT', 'ARRAY', 'ATTRIB', 'BY', 'CALL', 'CARDS4', 'CATNAME',
129
+            'CONTINUE', 'DATALINES4', 'DELETE', 'DISPLAY',
130
+
131
+            'DM', 'DROP', 'ENDSAS', 'FILENAME', 'FILE', 'FOOTNOTE',
132
+            'FORMAT', 'GOTO', 'INFILE', 'INFORMAT', 'INPUT', 'KEEP',
133
+            'LABEL', 'LEAVE', 'LENGTH', 'LIBNAME', 'LINK', 'LIST', 'LOSTCARD',
134
+            'MERGE', 'MISSING', 'MODIFY', 'OPTIONS', 'OUTPUT', 'PAGE',
135
+            'PUT', 'REDIRECT', 'REMOVE', 'RENAME', 'REPLACE', 'RETAIN',
136
+            'RETURN', 'SELECT', 'SET', 'SKIP', 'STARTSAS', 'STOP', 'TITLE',
137
+
138
+            'UPDATE', 'WAITSAS', 'WHERE', 'WINDOW', 'X', 'SYSTASK',
139
+            'ADD', 'AND', 'ALTER', 'AS', 'CASCADE', 'CHECK', 'CREATE',
140
+            'DELETE', 'DESCRIBE', 'DISTINCT', 'DROP', 'FOREIGN',
141
+            'FROM', 'GROUP', 'HAVING', 'INDEX', 'INSERT', 'INTO', 'IN',
142
+            'KEY', 'LIKE', 'MESSAGE', 'MODIFY', 'MSGTYPE', 'NOT',
143
+            'NULL', 'ON', 'OR', 'ORDER', 'PRIMARY', 'REFERENCES',
144
+
145
+            'RESET', 'RESTRICT', 'SELECT', 'SET', 'TABLE',
146
+            'UNIQUE', 'UPDATE', 'VALIDATE', 'VIEW', 'WHERE'
147
+            ),
148
+        5 => array(
149
+            'DO', 'ELSE', 'END', 'IF', 'THEN', 'UNTIL', 'WHILE'
150
+
151
+            ),
152
+        6 => array(
153
+            'RUN', 'QUIT', 'DATA'
154
+            ),
155
+        7 => array(
156
+
157
+            'ERROR'
158
+            ),
159
+        8 => array(
160
+            'WARNING'
161
+            ),
162
+
163
+        9 => array(
164
+            'NOTE'
165
+            )
166
+        ),
167
+    'SYMBOLS' => array(
168
+
169
+        ),
170
+    'CASE_SENSITIVE' => array(
171
+        GESHI_COMMENTS => false,
172
+        1 => false,
173
+
174
+        2 => false,
175
+        3 => false,
176
+        4 => false,
177
+        5 => false,
178
+
179
+        6 => false,
180
+        7 => false,
181
+        8 => false,
182
+        9 => false
183
+
184
+        ),
185
+    'STYLES' => array(
186
+        'KEYWORDS' => array(
187
+            1 => 'color: #0000ff;',
188
+
189
+            2 => 'color: #0000ff;',
190
+            3 => 'color: #0000ff;',
191
+            4 => 'color: #0000ff;',
192
+            5 => 'color: #0000ff;',
193
+
194
+            6 => 'color: #000080; font-weight: bold;',
195
+            7 => 'color: #ff0000;',
196
+            8 => 'color: #00ff00;',
197
+            9 => 'color: #0000ff;'
198
+
199
+            ),
200
+        'COMMENTS' => array(
201
+            1 => 'color: #006400; font-style: italic;',
202
+            'MULTI' => 'color: #006400; font-style: italic;'
203
+
204
+            ),
205
+        'ESCAPE_CHAR' => array(
206
+            0 => 'color: #000099; font-weight: bold;'
207
+            ),
208
+        'BRACKETS' => array(
209
+
210
+            0 => 'color: #66cc66;'
211
+            ),
212
+        'STRINGS' => array(
213
+            0 => 'color: #a020f0;'
214
+
215
+            ),
216
+        'NUMBERS' => array(
217
+            0 => 'color: #2e8b57; font-weight: bold;'
218
+            ),
219
+        'METHODS' => array(
220
+
221
+            ),
222
+        'SYMBOLS' => array(
223
+            0 => 'color: #66cc66;'
224
+            ),
225
+        'SCRIPT' => array(
226
+
227
+            0 => '',
228
+            1 => '',
229
+            2 => '',
230
+            3 => ''
231
+
232
+            ),
233
+        'REGEXPS' => array(
234
+            0 => 'color: #0000ff; font-weight: bold;',
235
+            1 => 'color: #000080; font-weight: bold;',
236
+
237
+            2 => 'color: #006400; font-style: italic;',
238
+            3 => 'color: #006400; font-style: italic;',
239
+            4 => 'color: #006400; font-style: italic;',
240
+            5 => 'color: #ff0000; font-weight: bold;',
241
+
242
+            6 => 'color: #00ff00; font-style: italic;',
243
+            7 => 'color: #0000ff; font-style: normal;',
244
+            8 => 'color: #b218b2; font-weight: bold;',
245
+            9 => 'color: #b218b2; font-weight: bold;'
246
+
247
+            )
248
+        ),
249
+    'URLS' => array(
250
+        1 => '',
251
+        2 => '',
252
+
253
+        3 => '',
254
+        4 => '',
255
+        5 => '',
256
+        6 => '',
257
+
258
+        7 => '',
259
+        8 => '',
260
+        9 => ''
261
+        ),
262
+
263
+    'OOLANG' => false,
264
+    'OBJECT_SPLITTERS' => array(
265
+        ),
266
+    'REGEXPS' => array(
267
+
268
+        0 => "&amp;[a-zA-Z_][a-zA-Z0-9_]*",
269
+        1 => array(
270
+            GESHI_SEARCH => '(^\\s*)(PROC \\w+)',
271
+            GESHI_REPLACE => '\\2',
272
+
273
+            GESHI_MODIFIERS => 'im',
274
+            GESHI_BEFORE => '\\1',
275
+            GESHI_AFTER => ''
276
+            ),
277
+
278
+        2 => array(
279
+            GESHI_SEARCH => '(^\\s*)(\\*.*;)',
280
+            GESHI_REPLACE => '\\2',
281
+            GESHI_MODIFIERS => 'im',
282
+
283
+            GESHI_BEFORE => '\\1',
284
+            GESHI_AFTER => ''
285
+            ),
286
+        3 => array(
287
+
288
+            GESHI_SEARCH => '(.*;\\s*)(\\*.*;)',
289
+            GESHI_REPLACE => '\\2',
290
+            GESHI_MODIFIERS => 'im',
291
+            GESHI_BEFORE => '\\1',
292
+
293
+            GESHI_AFTER => ''
294
+            ),
295
+        4 => array(
296
+            GESHI_SEARCH => '(^\\s*)(%\\*.*;)',
297
+
298
+            GESHI_REPLACE => '\\2',
299
+            GESHI_MODIFIERS => 'im',
300
+            GESHI_BEFORE => '\\1',
301
+            GESHI_AFTER => ''
302
+
303
+            ),
304
+        5 => array(
305
+            GESHI_SEARCH => '(^ERROR.*)',
306
+            GESHI_REPLACE => '\\1',
307
+
308
+            GESHI_MODIFIERS => 'im',
309
+            GESHI_BEFORE => '',
310
+            GESHI_AFTER => ''
311
+            ),
312
+
313
+        6 => array(
314
+            GESHI_SEARCH => '(^WARNING.*)',
315
+            GESHI_REPLACE => '\\1',
316
+            GESHI_MODIFIERS => 'im',
317
+
318
+            GESHI_BEFORE => '',
319
+            GESHI_AFTER => ''
320
+            ),
321
+        7 => array(
322
+
323
+            GESHI_SEARCH => '(^NOTE.*)',
324
+            GESHI_REPLACE => '\\1',
325
+            GESHI_MODIFIERS => 'im',
326
+            GESHI_BEFORE => '',
327
+
328
+            GESHI_AFTER => ''
329
+            ),
330
+        8 => array(
331
+            GESHI_SEARCH => '(^\\s*)(CARDS.*)(^\\s*;\\s*$)',
332
+
333
+            GESHI_REPLACE => '\\2',
334
+            GESHI_MODIFIERS => 'sim',
335
+            GESHI_BEFORE => '\\1',
336
+            GESHI_AFTER => '\\3'
337
+
338
+            ),
339
+        9 => array(
340
+            GESHI_SEARCH => '(^\\s*)(DATALINES.*)(^\\s*;\\s*$)',
341
+            GESHI_REPLACE => '\\2',
342
+
343
+            GESHI_MODIFIERS => 'sim',
344
+            GESHI_BEFORE => '\\1',
345
+            GESHI_AFTER => '\\3'
346
+            )
347
+
348
+        ),
349
+    'STRICT_MODE_APPLIES' => GESHI_MAYBE,
350
+    'SCRIPT_DELIMITERS' => array(
351
+        ),
352
+    'HIGHLIGHT_STRICT_BLOCK' => array(
353
+
354
+        )
355
+);
356
+
357
+?>

+ 170 - 0
plugins/geshi/scheme.php View File

@@ -0,0 +1,170 @@
1
+<?php
2
+/*************************************************************************************
3
+ * scheme.php
4
+ * ----------
5
+ * Author: Jon Raphaelson (jonraphaelson@gmail.com)
6
+ * Copyright: (c) 2005 Jon Raphaelson, Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/08/30
9
+ *
10
+ * Scheme language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/09/22 (1.0.0)
15
+ *  -  First Release
16
+ *
17
+ * TODO (updated 2005/09/22)
18
+ * -------------------------
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *     This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+$language_data = array (
41
+	'LANG_NAME' => 'Scheme',
42
+	'COMMENT_SINGLE' => array(1 => ';'),
43
+	'COMMENT_MULTI' => array(';|' => '|;'),
44
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
45
+	'QUOTEMARKS' => array('"'),
46
+	'ESCAPE_CHAR' => '\\',
47
+	'KEYWORDS' => array(
48
+		1 => array(
49
+		  'abs', 'acos', 'and', 'angle', 'append', 'appply', 'approximate',
50
+		  'asin', 'assoc', 'assq', 'assv', 'atan',
51
+
52
+		  'begin', 'boolean?', 'bound-identifier=?',
53
+
54
+		  'caar', 'caddr', 'cadr', 'call-with-current-continuation',
55
+		  'call-with-input-file', 'call-with-output-file', 'call/cc', 'car',
56
+		  'case', 'catch', 'cdddar', 'cddddr', 'cdr', 'ceiling', 'char->integer',
57
+		  'char-alphabetic?', 'char-ci<=?', 'char-ci<?', 'char-ci?', 'char-ci>=?',
58
+		  'char-ci>?', 'char-ci=?', 'char-downcase', 'char-lower-case?',
59
+		  'char-numeric', 'char-ready', 'char-ready?', 'char-upcase',
60
+		  'char-upper-case?', 'char-whitespace?', 'char<=?', 'char<?', 'char=?',
61
+		  'char>=?', 'char>?', 'char?', 'close-input-port', 'close-output-port',
62
+		  'complex?', 'cond', 'cons', 'construct-identifier', 'cos',
63
+		  'current-input-port', 'current-output-port',
64
+
65
+		  'd', 'define', 'define-syntax', 'delay', 'denominator', 'display', 'do',
66
+
67
+		  'e', 'eof-object?', 'eq?', 'equal?', 'eqv?', 'even?', 'exact->inexact',
68
+		  'exact?', 'exp', 'expt', 'else',
69
+
70
+		  'f', 'floor', 'for-each', 'force', 'free-identifer=?',
71
+
72
+		  'gcd', 'gen-counter', 'gen-loser', 'generate-identifier',
73
+
74
+		  'identifier->symbol', 'identifier', 'if', 'imag-part', 'inexact->exact',
75
+		  'inexact?', 'input-port?', 'integer->char', 'integer?', 'integrate-system',
76
+
77
+		  'l', 'lambda', 'last-pair', 'lcm', 'length', 'let', 'let*', 'letrec',
78
+		  'list', 'list->string', 'list->vector', 'list-ref', 'list-tail', 'list?',
79
+		  'load', 'log',
80
+
81
+		  'magnitude', 'make-polar', 'make-promise', 'make-rectangular',
82
+		  'make-string', 'make-vector', 'map', 'map-streams', 'max', 'member',
83
+		  'memq', 'memv', 'min', 'modulo',
84
+
85
+		  'negative', 'newline', 'nil', 'not', 'null?', 'number->string', 'number?',
86
+		  'numerator',
87
+
88
+		  'odd?', 'open-input-file', 'open-output-file', 'or', 'output-port',
89
+
90
+		  'pair?', 'peek-char', 'positive?', 'procedure?',
91
+
92
+		  'quasiquote', 'quote', 'quotient',
93
+
94
+		  'rational', 'rationalize', 'read', 'read-char', 'real-part', 'real?',
95
+		  'remainder', 'return', 'reverse',
96
+
97
+		  's', 'sequence', 'set!', 'set-char!', 'set-cdr!', 'sin', 'sqrt', 'string',
98
+		  'string->list', 'string->number', 'string->symbol', 'string-append',
99
+		  'string-ci<=?', 'string-ci<?', 'string-ci=?', 'string-ci>=?',
100
+		  'string-ci>?', 'string-copy', 'string-fill!', 'string-length',
101
+		  'string-ref', 'string-set!', 'string<=?', 'string<?', 'string=?',
102
+		  'string>=?', 'string>?', 'string?', 'substring', 'symbol->string',
103
+		  'symbol?', 'syntax', 'syntax-rules',
104
+
105
+		  't', 'tan', 'template', 'transcript-off', 'transcript-on', 'truncate',
106
+
107
+		  'unquote', 'unquote-splicing', 'unwrap-syntax',
108
+
109
+		  'vector', 'vector->list', 'vector-fill!', 'vector-length', 'vector-ref',
110
+		  'vector-set!', 'vector?',
111
+
112
+		  'with-input-from-file', 'with-output-to-file', 'write', 'write-char',
113
+
114
+		  'zero?'
115
+
116
+			)
117
+		),
118
+	'SYMBOLS' => array(
119
+		'(', ')', '{', '}', '[', ']', '!', '%', '^', '&', '/','+','-','*','=','<','>',';','|'
120
+		),
121
+	'CASE_SENSITIVE' => array(
122
+		GESHI_COMMENTS => true,
123
+		1 => false
124
+		),
125
+	'STYLES' => array(
126
+		'KEYWORDS' => array(
127
+			1 => 'color: #b1b100;'
128
+			),
129
+		'COMMENTS' => array(
130
+			1 => 'color: #808080; font-style: italic;',
131
+			'MULTI' => 'color: #808080; font-style: italic;'
132
+			),
133
+		'ESCAPE_CHAR' => array(
134
+			0 => 'color: #000099; font-weight: bold;'
135
+			),
136
+		'BRACKETS' => array(
137
+			0 => 'color: #66cc66;'
138
+			),
139
+		'STRINGS' => array(
140
+			0 => 'color: #ff0000;'
141
+			),
142
+		'NUMBERS' => array(
143
+			0 => 'color: #cc66cc;'
144
+			),
145
+		'METHODS' => array(
146
+			0 => 'color: #202020;'
147
+			),
148
+		'SYMBOLS' => array(
149
+			0 => 'color: #66cc66;'
150
+			),
151
+		'REGEXPS' => array(
152
+			),
153
+		'SCRIPT' => array(
154
+			)
155
+		),
156
+	'URLS' => array(
157
+		),
158
+	'OOLANG' => false,
159
+	'OBJECT_SPLITTERS' => array(
160
+		),
161
+	'REGEXPS' => array(
162
+		),
163
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
164
+	'SCRIPT_DELIMITERS' => array(
165
+		),
166
+	'HIGHLIGHT_STRICT_BLOCK' => array(
167
+		)
168
+);
169
+
170
+?>

+ 161 - 0
plugins/geshi/sdlbasic.php View File

@@ -0,0 +1,161 @@
1
+<?php
2
+/*************************************************************************************
3
+ * sdlbasic.php
4
+ * ------------
5
+ * Author: Roberto Rossi
6
+ * Copyright: (c) 2005 Roberto Rossi (http://rsoftware.altervista.org)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/08/19
9
+ *
10
+ * sdlBasic (http://sdlbasic.sf.net) language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/08/19 (1.0.0)
15
+ *  -  First Release
16
+ *
17
+ *************************************************************************************
18
+ *
19
+ *     This file is part of GeSHi.
20
+ *
21
+ *   GeSHi is free software; you can redistribute it and/or modify
22
+ *   it under the terms of the GNU General Public License as published by
23
+ *   the Free Software Foundation; either version 2 of the License, or
24
+ *   (at your option) any later version.
25
+ *
26
+ *   GeSHi is distributed in the hope that it will be useful,
27
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
28
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
29
+ *   GNU General Public License for more details.
30
+ *
31
+ *   You should have received a copy of the GNU General Public License
32
+ *   along with GeSHi; if not, write to the Free Software
33
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
34
+ *
35
+ ************************************************************************************/
36
+ $language_data = array (
37
+	'LANG_NAME' => 'sdlBasic',
38
+	'COMMENT_SINGLE' => array(1 => "'", 2 => "rem", 3 => "!", 4 => "#"),
39
+	'COMMENT_MULTI' => array(),
40
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
41
+	'QUOTEMARKS' => array('"'),
42
+	'ESCAPE_CHAR' => '',
43
+	'KEYWORDS' => array(
44
+		1 => array(
45
+    'const', 'option', 'explicit', 'option', 'qbasic', 'include', 'argc',
46
+    'argv', 'command', 'command$', 'run', 'shell', 'end', 'os', 'declare',
47
+    'sub', 'function', 'return', 'while', 'wend', 'exit', 'while', 'end',
48
+    'while', 'continue', 'if', 'then', 'else', 'elseif', 'end', 'if',
49
+    'select', 'case', 'case', 'else', 'end', 'case', 'for', 'each', 'step',
50
+    'next', 'to', 'continue', 'dim', 'shared', 'common', 'lbound', 'bound',
51
+    'erase', 'asc', 'chr', 'chr$', 'insert', 'insert$', 'instr', 'lcase',
52
+    'lcase$', 'left', 'left$', 'len', 'length', 'ltrim', 'ltrim$', 'mid',
53
+    'mid$', 'replace', 'replace$', 'replacesubstr', 'replacesubstr$',
54
+    'reverse', 'reverse$', 'right', 'right$', 'rinstr', 'rtrim', 'rtrim$',
55
+    'space', 'space$', 'str', 'str$', 'strf', 'strf$', 'string', 'string$',
56
+    'tally', 'trim', 'trim$', 'typeof', 'typeof$', 'ucase', 'ucase$', 'val',
57
+    'abs', 'acos', 'andbit', 'asin', 'atan', 'bitwiseand', 'bitwiseor',
58
+    'bitwisexor', 'cos', 'exp', 'fix', 'floor', 'frac', 'hex', 'hex$', 'int',
59
+    'log', 'min', 'max', 'orbit', 'randomize', 'rnd', 'round', 'sgn', 'sin',
60
+    'sqr', 'tan', 'xorbit', 'open', 'as', 'file', 'input', 'close', 'output',
61
+    'append', 'eof', 'fileexists', 'filecopy', 'filemove', 'filerename',
62
+    'freefile', 'kill', 'loc', 'lof', 'readbyte', 'rename', 'seek',
63
+    'writebyte', 'chdir', 'dir', 'dir$', 'direxists', 'dirfirst', 'dirnext',
64
+    'mkdir', 'rmdir', 'print', 'date', 'date$', 'time', 'time$', 'ticks',
65
+    'data', 'read', 'reservebank', 'freebank', 'copybank', 'loadbank',
66
+    'savebank', 'setbank', 'sizebank', 'poke', 'doke', 'loke', 'peek', 'deek',
67
+    'leek', 'memcopy', 'setdisplay', 'setcaption', 'caption', 'displaywidth',
68
+    'displayheight', 'displaybpp', 'screen', 'directscreen', 'screenopen',
69
+    'screenclose', 'screenclone', 'screencopy', 'screenfade', 'screenfadein',
70
+    'screencrossfade', 'screenalpha', 'screenlock', 'screenunlock',
71
+    'screenrect', 'xscreenrect', 'yscreenrect', 'wscreenrect', 'hscreenrect',
72
+    'flagscreenrect', 'screenwidth', 'screenheight', 'offset', 'xoffset',
73
+    'yoffset', 'cls', 'screenswap', 'autoback', 'setautoback',
74
+    'dualplayfield', 'waitvbl', 'fps', 'rgb', 'enablepalette', 'color',
75
+    'palette', 'colorcycling', 'ink', 'point', 'dot', 'plot', 'line', 'box',
76
+    'bar', 'circle', 'fillcircle', 'ellipse', 'fillellipse', 'paint',
77
+    'loadimage', 'saveimage', 'loadsound', 'savesound', 'loadmusic',
78
+    'hotspot', 'setcolorkey', 'imageexists', 'imagewidth', 'imageheight',
79
+    'deleteimage', 'copyimage', 'setalpha', 'zoomimage', 'rotateimage',
80
+    'rotozoomimage', 'blt', 'pastebob', 'pasteicon', 'grab', 'spriteclip',
81
+    'sprite', 'deletesprite', 'xsprite', 'ysprite', 'spritewidth',
82
+    'spriteheight', 'frsprite', 'livesprite', 'spritehit', 'autoupdatesprite',
83
+    'updatesprite', 'setbob', 'bob', 'deletebob', 'xbob', 'ybob', 'bobwidth',
84
+    'bobheight', 'frbob', 'livebob', 'bobhit', 'autoupdatebob', 'updatebob',
85
+    'text', 'setfont', 'textrender', 'pen', 'paper', 'prints', 'locate',
86
+    'atx', 'aty', 'curson', 'cursoff', 'inputs', 'zoneinputs',
87
+    'isenabledsound', 'soundexists', 'deletesound', 'copysound',
88
+    'musicexists', 'playsound', 'volumesound', 'stopsound', 'pausesound',
89
+    'resumesound', 'vumetersound', 'positionsound', 'soundchannels',
90
+    'playmusic', 'positionmusic', 'stopmusic', 'fademusic', 'pausemusic',
91
+    'resumemusic', 'rewindmusic', 'volumemusic', 'speedmusic', 'numdrivescd',
92
+    'namecd', 'getfreecd', 'opencd', 'indrivecd', 'trackscd', 'curtrackcd',
93
+    'curframecd', 'playcd', 'playtrackscd', 'playtrackscd', 'playtrackscd',
94
+    'pausecd', 'resumecd', 'stopcd', 'ejectcd', 'closecd', 'tracktypecd',
95
+    'tracklengthcd', 'trackoffsetcd', 'key', 'inkey', 'waitkey', 'xmouse',
96
+    'ymouse', 'xmousescreen', 'ymousescreen', 'bmouse', 'changemouse',
97
+    'locatemouse', 'mouseshow', 'mousehide', 'mousezone', 'numjoysticks',
98
+    'namejoystick', 'numaxesjoystick', 'numballsjoystick', 'numhatsjoystick',
99
+    'numbuttonsjoystick', 'getaxisjoystick', 'gethatjoystick',
100
+    'getbuttonjoystick', 'xgetballjoystick', 'ygetballjoystick', 'joy',
101
+    'bjoy', 'wait', 'timer', 'isenabledsock', 'getfreesock', 'opensock',
102
+    'acceptsock', 'isserverready', 'connectsock', 'connectionreadysock',
103
+    'isclientready', 'losesock', 'peeksock', 'readsock', 'readbytesock',
104
+    'readlinesock', 'writesock', 'writebytesock', 'writelinesock',
105
+    'getremoteip', 'getremoteport', 'getlocalip'
106
+      )
107
+		),
108
+	'SYMBOLS' => array(
109
+		'(', ')'
110
+		),
111
+	'CASE_SENSITIVE' => array(
112
+		GESHI_COMMENTS => false,
113
+		1 => false
114
+		),
115
+	'STYLES' => array(
116
+		'KEYWORDS' => array(
117
+			1 => 'color: #b1b100;'
118
+			),
119
+		'COMMENTS' => array(
120
+			1 => 'color: #808080;',
121
+			2 => 'color: #808080;',
122
+			3 => 'color: #808080;',
123
+			4 => 'color: #808080;'
124
+			),
125
+		'BRACKETS' => array(
126
+			0 => 'color: #66cc66;'
127
+			),
128
+		'STRINGS' => array(
129
+			0 => 'color: #ff0000;'
130
+			),
131
+		'NUMBERS' => array(
132
+			0 => 'color: #cc66cc;'
133
+			),
134
+		'METHODS' => array(
135
+			0 => 'color: #66cc66;'
136
+			),
137
+		'SYMBOLS' => array(
138
+			0 => 'color: #66cc66;'
139
+			),
140
+		'ESCAPE_CHAR' => array(
141
+			0 => 'color: #000099;'
142
+			),
143
+		'SCRIPT' => array(
144
+			),
145
+		'REGEXPS' => array(
146
+			)
147
+		),
148
+	'OOLANG' => true,
149
+	'OBJECT_SPLITTERS' => array(
150
+		1 => '.'
151
+		),
152
+	'REGEXPS' => array(
153
+		),
154
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
155
+	'SCRIPT_DELIMITERS' => array(
156
+		),
157
+	'HIGHLIGHT_STRICT_BLOCK' => array(
158
+		)
159
+);
160
+
161
+?>

+ 159 - 0
plugins/geshi/smalltalk.php View File

@@ -0,0 +1,159 @@
1
+<?php
2
+/*************************************************************************************
3
+ * smalltalk.php
4
+ * --------
5
+ * Author: Bananeweizen (Bananeweizen@gmx.de)
6
+ * Copyright: (c) 2005 Bananeweizen (www.bananeweizen.de)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/03/27
9
+ *
10
+ * Smalltalk language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2006-05-24 (1.0.0)
15
+ *   -  First Release
16
+ *
17
+ * TODO
18
+ * -------------------------
19
+ * * recognize nested array symbols correctly
20
+ *
21
+ *************************************************************************************
22
+ *
23
+ *     This file is part of GeSHi.
24
+ *
25
+ *   GeSHi is free software; you can redistribute it and/or modify
26
+ *   it under the terms of the GNU General Public License as published by
27
+ *   the Free Software Foundation; either version 2 of the License, or
28
+ *   (at your option) any later version.
29
+ *
30
+ *   GeSHi is distributed in the hope that it will be useful,
31
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
32
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
33
+ *   GNU General Public License for more details.
34
+ *
35
+ *   You should have received a copy of the GNU General Public License
36
+ *   along with GeSHi; if not, write to the Free Software
37
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
38
+ *
39
+ ************************************************************************************/
40
+
41
+$language_data = array (
42
+	'LANG_NAME' => 'Smalltalk',
43
+	'COMMENT_SINGLE' => array(),
44
+	'COMMENT_MULTI' => array('"' => '"'),
45
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
46
+	'QUOTEMARKS' => array("'"),
47
+	'ESCAPE_CHAR' => '',
48
+	'KEYWORDS' => array(
49
+		1 => array('self','super','true','false','nil')
50
+		),
51
+	'SYMBOLS' => array(
52
+		'[', ']', '=' , ':=', '(', ')', '#'
53
+		),
54
+	'CASE_SENSITIVE' => array(
55
+		GESHI_COMMENTS => false,
56
+		1 => true
57
+		),
58
+	'STYLES' => array(
59
+		'KEYWORDS' => array(
60
+			1 => 'color: #7f007f;'
61
+			),
62
+		'COMMENTS' => array(
63
+			'MULTI' => 'color: #007f00; font-style: italic;'
64
+			),
65
+		'ESCAPE_CHAR' => array(
66
+		    0 => ''
67
+			),
68
+		'BRACKETS' => array(
69
+		    0 => ''
70
+			),
71
+		'STRINGS' => array(
72
+		    0 => 'color: #7f0000;'
73
+			),
74
+		'NUMBERS' => array(
75
+		    0 => 'color: #7f0000;'
76
+			),
77
+		'METHODS' => array(
78
+		    0 => ''
79
+			),
80
+		'SYMBOLS' => array(
81
+			0 => 'color: #000066; font-weight:bold;'
82
+			),
83
+		'REGEXPS' => array(
84
+			0 => 'color: #0000ff;',
85
+			1 => 'color: #7f0000;',
86
+			2 => 'color: #7f0000;',
87
+			3 => 'color: #00007f;',
88
+			4 => 'color: #7f007f;',
89
+			5 => 'color: #00007f;',
90
+			6 => 'color: #00007f;'
91
+			),
92
+		'SCRIPT' => array(
93
+		    0 => ''
94
+			)
95
+		),
96
+	'URLS' => array(
97
+		),
98
+	'OOLANG' => false,
99
+	'OBJECT_SPLITTERS' => array(
100
+		),
101
+	'REGEXPS' => array(
102
+		0 => array(
103
+			GESHI_SEARCH => '([^a-zA-Z0-9_#])([A-Z]+[a-zA-Z0-9_]*)', //class names
104
+			GESHI_REPLACE => '\\2',
105
+			GESHI_MODIFIERS => '',
106
+			GESHI_BEFORE => '\\1',
107
+			GESHI_AFTER => ''
108
+			),
109
+		1 => array(
110
+			GESHI_SEARCH => '(#+)([a-zA-Z0-9_]+)', //symbols
111
+			GESHI_REPLACE => '\\1\\2',
112
+			GESHI_MODIFIERS => '',
113
+			GESHI_BEFORE => '',
114
+			GESHI_AFTER => ''
115
+			),
116
+		2 => array(
117
+			GESHI_SEARCH => '(#\s*\([^)]*\))', //array symbols
118
+			GESHI_REPLACE => '\\1',
119
+			GESHI_MODIFIERS => '',
120
+			GESHI_BEFORE => '',
121
+			GESHI_AFTER => ''
122
+			),
123
+		3 => array(
124
+			GESHI_SEARCH => '\|([a-zA-Z0-9_\s]+)\|', //temporary variables
125
+			GESHI_REPLACE => '\\1',
126
+			GESHI_MODIFIERS => '',
127
+			GESHI_BEFORE => '|',
128
+			GESHI_AFTER => '|'
129
+			),
130
+		4 => array(
131
+			GESHI_SEARCH => '(self|super|true|false|nil)', //keywords again (to avoid matching in next regexp)
132
+			GESHI_REPLACE => '\\1',
133
+			GESHI_MODIFIERS => '',
134
+			GESHI_BEFORE => '',
135
+			GESHI_AFTER => ''
136
+			),
137
+		5 => array(
138
+			GESHI_SEARCH => '([:(,=[.*/+-]\s*)([a-zA-Z0-9_]+)', //message parameters, message receivers
139
+			GESHI_REPLACE => '\\2',
140
+			GESHI_MODIFIERS => 's',
141
+			GESHI_BEFORE => '\\1',
142
+			GESHI_AFTER => ''
143
+			),
144
+		6 => array(
145
+			GESHI_SEARCH => '([a-zA-Z0-9_]+)(\s*:=)', //assignment targets
146
+			GESHI_REPLACE => '\\1',
147
+			GESHI_MODIFIERS => '',
148
+			GESHI_BEFORE => '',
149
+			GESHI_AFTER => '\\2'
150
+			)
151
+		),
152
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
153
+	'SCRIPT_DELIMITERS' => array(
154
+		),
155
+	'HIGHLIGHT_STRICT_BLOCK' => array(
156
+		)
157
+);
158
+
159
+?>

+ 172 - 0
plugins/geshi/smarty.php View File

@@ -0,0 +1,172 @@
1
+<?php
2
+/*************************************************************************************
3
+ * smarty.php
4
+ * ----------
5
+ * Author: Alan Juden (alan@judenware.org)
6
+ * Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/07/10
9
+ *
10
+ * Smarty template language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2004/11/27 (1.0.0)
15
+ *  -  Initial Release
16
+ *
17
+ * TODO
18
+ * ----
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *     This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+$language_data = array (
41
+	'LANG_NAME' => 'Smarty',
42
+	'COMMENT_SINGLE' => array(),
43
+	'COMMENT_MULTI' => array('{*' => '*}'),
44
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
45
+	'QUOTEMARKS' => array("'", '"'),
46
+	'ESCAPE_CHAR' => '\\',
47
+	'KEYWORDS' => array(
48
+		1 => array(
49
+			'$smarty', 'now', 'const', 'capture', 'config', 'section', 'foreach', 'template', 'version', 'ldelim', 'rdelim',
50
+			'config_load', 'foreachelse', 'include', 'include_php', 'insert', 'if', 'elseif', 'else', 'php',
51
+			'sectionelse', 'clear_all_cache', 'clear_cache', 'is_cached',
52
+			),
53
+		2 => array(
54
+			'capitalize', 'count_characters', 'cat', 'count_paragraphs', 'count_sentences', 'count_words', 'date_format',
55
+			'default', 'escape', 'indent', 'lower', 'nl2br', 'regex_replace', 'replace', 'spacify', 'string_format',
56
+			'strip', 'strip_tags', 'truncate', 'upper', 'wordwrap'
57
+			),
58
+		3 => array(
59
+			'assign', 'counter', 'cycle', 'debug', 'eval', 'fetch', 'html_checkboxes', 'html_image', 'html_options',
60
+			'html_radios', 'html_select_date', 'html_select_time', 'html_table', 'math', 'mailto', 'popup_init',
61
+			'popup', 'textformat'
62
+			),
63
+		4 => array(
64
+			'$template_dir', '$compile_dir', '$config_dir', '$plugins_dir', '$debugging', '$debug_tpl',
65
+			'$debugging_ctrl', '$autoload_filters', '$compile_check', '$force_compile', '$caching', '$cache_dir',
66
+			'$cache_lifetime', '$cache_handler_func', '$cache_modified_check', '$config_overwrite',
67
+			'$config_booleanize', '$config_read_hidden', '$config_fix_newlines', '$default_template_handler_func',
68
+			'$php_handling', '$security', '$secure_dir', '$security_settings', '$trusted_dir', '$left_delimiter',
69
+			'$right_delimiter', '$compiler_class', '$request_vars_order', '$request_use_auto_globals',
70
+			'$error_reporting', '$compile_id', '$use_sub_dirs', '$default_modifiers', '$default_resource_type'
71
+			),
72
+		5 => array(
73
+			'append', 'append_by_ref', 'assign', 'assign_by_ref', 'clear_all_assign', 'clear_all_cache',
74
+			'clear_assign', 'clear_cache', 'clear_compiled_tpl', 'clear_config', 'config_load', 'display',
75
+			'fetch', 'get_config_vars', 'get_registered_object', 'get_template_vars', 'is_cached',
76
+			'load_filter', 'register_block', 'register_compiler_function', 'register_function',
77
+			'register_modifier', 'register_object', 'register_outputfilter', 'register_postfilter',
78
+			'register_prefilter', 'register_resource', 'trigger_error', 'template_exists', 'unregister_block',
79
+			'unregister_compiler_function', 'unregister_function', 'unregister_modifier', 'unregister_object',
80
+			'unregister_outputfilter', 'unregister_postfilter', 'unregister_prefilter', 'unregister_resource'
81
+			),
82
+		6 => array(
83
+			'name', 'assign', 'file', 'scope', 'global', 'key', 'once', 'script',
84
+			'loop', 'start', 'step', 'max', 'show', 'values', 'value', 'from', 'item'
85
+			),
86
+		7 => array(
87
+			'eq', 'neq', 'ne', 'lte', 'gte', 'ge', 'le', 'not', 'mod'
88
+			),
89
+		),
90
+	'SYMBOLS' => array(
91
+		'/', '=', '==', '!=', '>', '<', '>=', '<=', '!', '%'
92
+		),
93
+	'CASE_SENSITIVE' => array(
94
+		GESHI_COMMENTS => false,
95
+		1 => false,
96
+		2 => false,
97
+		3 => false,
98
+		4 => false,
99
+		5 => false,
100
+		6 => false,
101
+		7 => false,
102
+		),
103
+	'STYLES' => array(
104
+		'KEYWORDS' => array(
105
+			1 => 'color: #0600FF;',		//Functions
106
+			2 => 'color: #008000;',		//Modifiers
107
+			3 => 'color: #0600FF;',		//Custom Functions
108
+			4 => 'color: #804040;',		//Variables
109
+			5 => 'color: #008000;',		//Methods
110
+			6 => 'color: #6A0A0A;',		//Attributes
111
+			7 => 'color: #D36900;'		//Text-based symbols
112
+			),
113
+		'COMMENTS' => array(
114
+			'MULTI' => 'color: #008080; font-style: italic;'
115
+			),
116
+		'ESCAPE_CHAR' => array(
117
+			0 => 'color: #000099; font-weight: bold;'
118
+			),
119
+		'BRACKETS' => array(
120
+			0 => 'color: #D36900;'
121
+			),
122
+		'STRINGS' => array(
123
+			0 => 'color: #ff0000;'
124
+			),
125
+		'NUMBERS' => array(
126
+			0 => 'color: #cc66cc;'
127
+			),
128
+		'METHODS' => array(
129
+			1 => 'color: #006600;'
130
+			),
131
+		'SYMBOLS' => array(
132
+			0 => 'color: #D36900;'
133
+			),
134
+		'SCRIPT' => array(
135
+            0 => ''
136
+			),
137
+		'REGEXPS' => array(
138
+			)
139
+		),
140
+	'URLS' => array(
141
+		1 => 'http://smarty.php.net/{FNAME}',
142
+		2 => 'http://smarty.php.net/{FNAME}',
143
+		3 => 'http://smarty.php.net/{FNAME}',
144
+		4 => 'http://smarty.php.net/{FNAME}',
145
+		5 => 'http://smarty.php.net/{FNAME}',
146
+		6 => '',
147
+		7 => 'http://smarty.php.net/{FNAME}'
148
+		),
149
+	'OOLANG' => true,
150
+	'OBJECT_SPLITTERS' => array(
151
+		1 => '.'
152
+		),
153
+	'REGEXPS' => array(
154
+		),
155
+	'STRICT_MODE_APPLIES' => GESHI_ALWAYS,
156
+	'SCRIPT_DELIMITERS' => array(
157
+		0 => array(
158
+			'{' => '}'
159
+			)
160
+	),
161
+	'HIGHLIGHT_STRICT_BLOCK' => array(
162
+		0 => true
163
+	),
164
+	'PARSER_CONTROL' => array(
165
+        'KEYWORDS' => array(
166
+            'DISALLOWED_BEFORE' => "a-zA-Z0-9\$_\|\#;>|^",
167
+            'DISALLOWED_AFTER' => "a-zA-Z0-9_<\|%\\-&"
168
+        )
169
+    )
170
+);
171
+
172
+?>

+ 135 - 0
plugins/geshi/sql.php View File

@@ -0,0 +1,135 @@
1
+<?php
2
+/*************************************************************************************
3
+ * sql.php
4
+ * -------
5
+ * Author: Nigel McNie (nigel@geshi.org)
6
+ * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/06/04
9
+ *
10
+ * SQL language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2004/11/27 (1.0.3)
15
+ *  -  Added support for multiple object splitters
16
+ * 2004/10/27 (1.0.2)
17
+ *  -  Added "`" string delimiter
18
+ *  -  Added "#" single comment starter
19
+ * 2004/08/05 (1.0.1)
20
+ *  -  Added support for symbols
21
+ *  -  Added many more keywords (mostly MYSQL keywords)
22
+ * 2004/07/14 (1.0.0)
23
+ *  -  First Release
24
+ *
25
+ * TODO (updated 2004/11/27)
26
+ * -------------------------
27
+ * * Add all keywords
28
+ * * Split this to several sql files - mysql-sql, ansi-sql etc
29
+ *
30
+ *************************************************************************************
31
+ *
32
+ *     This file is part of GeSHi.
33
+ *
34
+ *   GeSHi is free software; you can redistribute it and/or modify
35
+ *   it under the terms of the GNU General Public License as published by
36
+ *   the Free Software Foundation; either version 2 of the License, or
37
+ *   (at your option) any later version.
38
+ *
39
+ *   GeSHi is distributed in the hope that it will be useful,
40
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
41
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
42
+ *   GNU General Public License for more details.
43
+ *
44
+ *   You should have received a copy of the GNU General Public License
45
+ *   along with GeSHi; if not, write to the Free Software
46
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
47
+ *
48
+ ************************************************************************************/
49
+
50
+$language_data = array (
51
+	'LANG_NAME' => 'SQL',
52
+	'COMMENT_SINGLE' => array(1 =>'--', 2 => '#'),
53
+	'COMMENT_MULTI' => array('/*' => '*/'),
54
+	'CASE_KEYWORDS' => 1,
55
+	'QUOTEMARKS' => array("'", '"', '`'),
56
+	'ESCAPE_CHAR' => '\\',
57
+	'KEYWORDS' => array(
58
+		1 => array(
59
+			'ALL', 'ASC', 'AS',  'ALTER', 'AND', 'ADD', 'AUTO_INCREMENT',
60
+			'BETWEEN', 'BINARY', 'BOTH', 'BY', 'BOOLEAN',
61
+			'CHANGE', 'CHECK', 'COLUMNS', 'COLUMN', 'CROSS','CREATE',
62
+			'DATABASES', 'DATABASE', 'DATA', 'DELAYED', 'DESCRIBE', 'DESC',  'DISTINCT', 'DELETE', 'DROP', 'DEFAULT',
63
+			'ENCLOSED', 'ESCAPED', 'EXISTS', 'EXPLAIN',
64
+			'FIELDS', 'FIELD', 'FLUSH', 'FOR', 'FOREIGN', 'FUNCTION', 'FROM',
65
+			'GROUP', 'GRANT',
66
+			'HAVING',
67
+			'IGNORE', 'INDEX', 'INFILE', 'INSERT', 'INNER', 'INTO', 'IDENTIFIED', 'IN', 'IS', 'IF',
68
+			'JOIN',
69
+			'KEYS', 'KILL','KEY',
70
+			'LEADING', 'LIKE', 'LIMIT', 'LINES', 'LOAD', 'LOCAL', 'LOCK', 'LOW_PRIORITY', 'LEFT', 'LANGUAGE',
71
+			'MODIFY',
72
+			'NATURAL', 'NOT', 'NULL', 'NEXTVAL',
73
+			'OPTIMIZE', 'OPTION', 'OPTIONALLY', 'ORDER', 'OUTFILE', 'OR', 'OUTER', 'ON',
74
+			'PROCEEDURE','PROCEDURAL', 'PRIMARY',
75
+			'READ', 'REFERENCES', 'REGEXP', 'RENAME', 'REPLACE', 'RETURN', 'REVOKE', 'RLIKE', 'RIGHT',
76
+			'SHOW', 'SONAME', 'STATUS', 'STRAIGHT_JOIN', 'SELECT', 'SETVAL', 'SET',
77
+			'TABLES', 'TEMINATED', 'TO', 'TRAILING','TRUNCATE', 'TABLE', 'TEMPORARY', 'TRIGGER', 'TRUSTED',
78
+			'UNIQUE', 'UNLOCK', 'USE', 'USING', 'UPDATE', 'UNSIGNED',
79
+			'VALUES', 'VARIABLES', 'VIEW',
80
+			'WITH', 'WRITE', 'WHERE',
81
+			'ZEROFILL',
82
+			'XOR',
83
+			)
84
+		),
85
+	'SYMBOLS' => array(
86
+		'(', ')', '=', '<', '>', '|'
87
+		),
88
+	'CASE_SENSITIVE' => array(
89
+		GESHI_COMMENTS => false,
90
+		1 => false
91
+		),
92
+	'STYLES' => array(
93
+		'KEYWORDS' => array(
94
+			1 => 'color: #993333; font-weight: bold;'
95
+			),
96
+		'COMMENTS' => array(
97
+			1 => 'color: #808080; font-style: italic;',
98
+			2 => 'color: #808080; font-style: italic;',
99
+            'MULTI' => 'color: #808080; font-style: italic;'
100
+			),
101
+		'ESCAPE_CHAR' => array(
102
+			0 => 'color: #000099; font-weight: bold;'
103
+			),
104
+		'BRACKETS' => array(
105
+			0 => 'color: #66cc66;'
106
+			),
107
+		'STRINGS' => array(
108
+			0 => 'color: #ff0000;'
109
+			),
110
+		'NUMBERS' => array(
111
+			0 => 'color: #cc66cc;'
112
+			),
113
+		'METHODS' => array(
114
+			),
115
+		'SYMBOLS' => array(
116
+			0 => 'color: #66cc66;'
117
+			),
118
+		'SCRIPT' => array(
119
+			),
120
+		'REGEXPS' => array(
121
+			)
122
+		),
123
+	'OOLANG' => false,
124
+	'OBJECT_SPLITTERS' => array(
125
+		),
126
+	'REGEXPS' => array(
127
+		),
128
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
129
+	'SCRIPT_DELIMITERS' => array(
130
+		),
131
+	'HIGHLIGHT_STRICT_BLOCK' => array(
132
+		)
133
+);
134
+
135
+?>

+ 181 - 0
plugins/geshi/tcl.php View File

@@ -0,0 +1,181 @@
1
+<?php
2
+/*************************************************************************************
3
+ * tcl.php
4
+ * ---------------------------------
5
+ * Author: Reid van Melle (rvanmelle@gmail.com)
6
+ * Copyright: (c) 2004 Reid van Melle (sorry@nowhere)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2006/05/05
9
+ *
10
+ * TCL/iTCL language file for GeSHi.
11
+ *
12
+ * This was thrown together in about an hour so I don't expect
13
+ * really great things.  However, it is a good start.  I never
14
+ * got a change to try out the iTCL or object-based support but
15
+ * this is not widely used anyway.
16
+ *
17
+ * CHANGES
18
+ * -------
19
+ * 2006/05/05 (1.0.0)
20
+ *  -  First Release
21
+ *
22
+ * TODO (updated 2006/05/05)
23
+ * -------------------------
24
+ * - Get TCL built-in special variables hilighted with a new color..
25
+ *   currently, these are listed in //special variables in the keywords
26
+ *   section, but they get covered by the general REGEXP for symbols
27
+ * - General cleanup, testing, and verification
28
+ *
29
+ *************************************************************************************
30
+ *
31
+ *     This file is part of GeSHi.
32
+ *
33
+ *   GeSHi is free software; you can redistribute it and/or modify
34
+ *   it under the terms of the GNU General Public License as published by
35
+ *   the Free Software Foundation; either version 2 of the License, or
36
+ *   (at your option) any later version.
37
+ *
38
+ *   GeSHi is distributed in the hope that it will be useful,
39
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
40
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
41
+ *   GNU General Public License for more details.
42
+ *
43
+ *   You should have received a copy of the GNU General Public License
44
+ *   along with GeSHi; if not, write to the Free Software
45
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
46
+ *
47
+ ************************************************************************************/
48
+
49
+$language_data = array (
50
+	'LANG_NAME' => 'TCL',
51
+	'COMMENT_SINGLE' => array(1 => '#'),
52
+	'COMMENT_MULTI' => array(),
53
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
54
+	'QUOTEMARKS' => array('"', "'"),
55
+	'ESCAPE_CHAR' => '\\',
56
+	'KEYWORDS' => array(
57
+
58
+		/*
59
+		** Set 1: reserved words
60
+		** http://python.org/doc/current/ref/keywords.html
61
+		*/
62
+		1 => array(
63
+			'proc', 'global', 'upvar', 'if', 'then', 'else', 'elseif', 'for', 'foreach',
64
+			'break', 'continue', 'while', 'set', 'eval', 'case', 'in', 'switch',
65
+			'default', 'exit', 'error', 'proc', 'return', 'uplevel', 'loop',
66
+			'for_array_keys', 'for_recursive_glob', 'for_file', 'unwind_protect',
67
+			'expr', 'catch', 'namespace', 'rename', 'variable',
68
+			// itcl
69
+			'method', 'itcl_class', 'public', 'protected'),
70
+
71
+		/*
72
+		** Set 2: builtins
73
+		** http://asps.activatestate.com/ASPN/docs/ActiveTcl/8.4/tcl/tcl_2_contents.htm
74
+		*/
75
+		2 => array(
76
+			// string handling
77
+			'append', 'binary', 'format', 're_syntax', 'regexp', 'regsub',
78
+			'scan', 'string', 'subst',
79
+			// list handling
80
+			'concat', 'join', 'lappend', 'lindex', 'list', 'llength', 'lrange',
81
+			'lreplace', 'lsearch', 'lset', 'lsort', 'split',
82
+			// math
83
+			'expr',
84
+			// procedures and output
85
+			'incr', 'close', 'eof', 'fblocked', 'fconfigure', 'fcopy', 'file',
86
+			'fileevent', 'flush', 'gets', 'open', 'puts', 'read', 'seek',
87
+			'socket', 'tell',
88
+			// packages and source files
89
+			'load', 'loadTk', 'package', 'pgk::create', 'pgk_mkIndex', 'source',
90
+			// interpreter routines
91
+			'bgerror', 'history', 'info', 'interp', 'memory', 'unknown',
92
+			// library routines
93
+			'enconding', 'http', 'msgcat',
94
+			// system related
95
+			'cd', 'clock', 'exec', 'exit', 'glob', 'pid', 'pwd', 'time',
96
+			// platform specified
97
+			'dde', 'registry', 'resource',
98
+			// special variables
99
+			'$argc', '$argv', '$errorCode', '$errorInfo', '$argv0',
100
+			'$auto_index', '$auto_oldpath', '$auto_path', '$env',
101
+			'$tcl_interactive', '$tcl_libpath', '$tcl_library',
102
+			'$tcl_pkgPath', '$tcl_platform', '$tcl_precision', '$tcl_traceExec',
103
+			),
104
+
105
+		/*
106
+		** Set 3: standard library
107
+		*/
108
+		3 => array(
109
+			'comment', 'dde', 'filename', 'http', 'library', 'memory',
110
+			'packagens', 'registry', 'resource', 'tcltest', 'tclvars',
111
+			),
112
+
113
+		/*
114
+		** Set 4: special methods
115
+		*/
116
+		4 => array(
117
+			)
118
+
119
+		),
120
+	'SYMBOLS' => array(
121
+			'(', ')', '[', ']', '{', '}', '$', '*', '&', '%', '!', ';', '<', '>', '?'
122
+		),
123
+	'CASE_SENSITIVE' => array(
124
+		GESHI_COMMENTS => true,
125
+		1 => true,
126
+        2 => true,
127
+        3 => true,
128
+        4 => true
129
+		),
130
+	'STYLES' => array(
131
+		'KEYWORDS' => array(
132
+			1 => 'color: #ff7700;font-weight:bold;',	// Reserved
133
+			2 => 'color: #008000;',						// Built-ins + self
134
+			3 => 'color: #dc143c;',						// Standard lib
135
+			4 => 'color: #0000cd;'						// Special methods
136
+			),
137
+		'COMMENTS' => array(
138
+			1 => 'color: #808080; font-style: italic;',
139
+			'MULTI' => 'color: #808080; font-style: italic;'
140
+			),
141
+		'ESCAPE_CHAR' => array(
142
+			0 => 'color: #000099; font-weight: bold;'
143
+			),
144
+		'BRACKETS' => array(
145
+			0 => 'color: black;'
146
+			),
147
+		'STRINGS' => array(
148
+			0 => 'color: #483d8b;'
149
+			),
150
+		'NUMBERS' => array(
151
+			0 => 'color: #ff4500;'
152
+			),
153
+		'METHODS' => array(
154
+			1 => 'color: black;'
155
+			),
156
+		'SYMBOLS' => array(
157
+			0 => 'color: #66cc66;'
158
+			),
159
+		'REGEXPS' => array(
160
+            0 => 'color: #ff3333;'
161
+			),
162
+		'SCRIPT' => array(
163
+			)
164
+		),
165
+	'URLS' => array(
166
+		),
167
+	'OOLANG' => true,
168
+	'OBJECT_SPLITTERS' => array(
169
+		1 => '::'
170
+		),
171
+	'REGEXPS' => array(
172
+		0 => '[\\$]+[a-zA-Z_][a-zA-Z0-9_]*',
173
+		),
174
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
175
+	'SCRIPT_DELIMITERS' => array(
176
+		),
177
+	'HIGHLIGHT_STRICT_BLOCK' => array(
178
+		)
179
+);
180
+
181
+?>

+ 81 - 0
plugins/geshi/text.php View File

@@ -0,0 +1,81 @@
1
+<?php
2
+/*************************************************************************************
3
+ * text.php
4
+ * --------
5
+ * Author: Sean Hanna (smokingrope@gmail.com)
6
+ * Copyright: (c) 2006 Sean Hanna
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 04/23/2006
9
+ *
10
+ * Standard Text File (No Syntax Highlighting).
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 04/23/2006 (0.5.0)
15
+ *  -  Syntax File Created
16
+ *
17
+ * 04/27/2006 (1.0.0)
18
+ * - Documentation Cleaned Up
19
+ * - First Release
20
+ *
21
+ * TODO (updated 04/27/2006)
22
+ * -------------------------
23
+ *
24
+ *
25
+ *************************************************************************************
26
+ *
27
+ *     This file is part of GeSHi.
28
+ *
29
+ *   GeSHi is free software; you can redistribute it and/or modify
30
+ *   it under the terms of the GNU General Public License as published by
31
+ *   the Free Software Foundation; either version 2 of the License, or
32
+ *   (at your option) any later version.
33
+ *
34
+ *   GeSHi is distributed in the hope that it will be useful,
35
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
36
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
37
+ *   GNU General Public License for more details.
38
+ *
39
+ *   You should have received a copy of the GNU General Public License
40
+ *   along with GeSHi; if not, write to the Free Software
41
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
42
+ *
43
+
44
+ ************************************************************************************/
45
+$language_data = array (
46
+	'LANG_NAME' => 'Text',
47
+	'COMMENT_SINGLE' => array( ),
48
+	'COMMENT_MULTI' => array( ),
49
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
50
+	'QUOTEMARKS' => array(),
51
+	'ESCAPE_CHAR' => '',
52
+	'KEYWORDS' => array( ),
53
+	'SYMBOLS' => array( ),
54
+	'CASE_SENSITIVE' => array(
55
+		GESHI_COMMENTS => false
56
+		),
57
+	'STYLES' => array(
58
+		'KEYWORDS' => array(),
59
+		'COMMENTS' => array(),
60
+		'ESCAPE_CHAR' => array(),
61
+		'BRACKETS' => array(),
62
+		'STRINGS' => array(),
63
+		'NUMBERS' => array(),
64
+		'METHODS' => array(),
65
+		'SYMBOLS' => array(),
66
+		'SCRIPT' => array(),
67
+		'REGEXPS' => array()
68
+		),
69
+	'OOLANG' => false,
70
+	'OBJECT_SPLITTERS' => array(),
71
+	'REGEXPS' => array(	),
72
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
73
+	'SCRIPT_DELIMITERS' => array( ),
74
+	'HIGHLIGHT_STRICT_BLOCK' => array( )
75
+);
76
+if (isset($this) && is_a($this, 'GeSHi')) {
77
+    $this->set_numbers_highlighting(false);
78
+    $this->set_brackets_highlighting(false);
79
+    $this->disable_highlighting();
80
+}
81
+?>

+ 864 - 0
plugins/geshi/thinbasic.php View File

@@ -0,0 +1,864 @@
1
+<?php
2
+/*************************************************************************************
3
+ * thinbasic.php
4
+ * ------
5
+ * Author: Eros Olmi (eros.olmi@thinbasic.com)
6
+ * Copyright: (c) 2006 Eros Olmi (http://www.thinbasic.com), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2006/05/12
9
+ *
10
+ * thinBasic language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2006/05/12 (1.0.0)
15
+ *  -  First Release
16
+ *
17
+ * TODO (updated 2006/05/12)
18
+ * -------------------------
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *     This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+ $language_data = array (
40
+       'LANG_NAME' => 'thinBasic',
41
+       'COMMENT_SINGLE' => array(1 => "'"),
42
+       'COMMENT_MULTI' => array(),
43
+       'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
44
+       'QUOTEMARKS' => array('"'),
45
+       'ESCAPE_CHAR' => '',
46
+       'KEYWORDS' => array(
47
+               1 => array(
48
+                        'XOR','XML_TREETOSTRING','XML_PARSEFILE','XML_PARSE','XML_PARENT','XML_NODETYPE','XML_NODETOSTRING','XML_NEXTSIBLING',
49
+                        'XML_LASTERROR','XML_GETTAG','XML_FREE','XML_FINDNODE','XML_DECODEPARAM','XML_CHILDDATA','XML_CHILD','XML_ATTRIBVALUE',
50
+                        'XML_ATTRIBNAME','XML_ATTRIBCOUNT','WORD','WITH','WIN_SHOW','WIN_SETTITLE','WIN_SETFOREGROUND','WIN_ISZOOMED',
51
+                        'WIN_ISVISIBLE','WIN_ISICONIC','WIN_GETTITLE','WIN_GETFOREGROUND','WIN_GETCLASS','WIN_GETACTIVE','WIN_FLASH','WIN_FINDBYTITLE',
52
+                        'WIN_FINDBYCLASS','WHILE','WEND','VERIFY','VARPTR','VARIANTVT$','VARIANTVT','VARIANT',
53
+                        'VARIABLE_GETINFO','VARIABLE_EXISTS','VARIABLE_EXIST','VALUE','VAL','USING$','USING','USES',
54
+                        'USER','UNTIL','UNITS','UNION','UNICODE2ASCII','UDP_SEND','UDP_RECV','UDP_OPENSERVER',
55
+                        'UDP_OPEN','UDP_FREEFILE','UDP_CLOSE','UCODE$','UCASE$','UBOUND','TYPE','TRIMFULL$',
56
+                        'TRIM$','TOOLTIP','TOKENIZER_MOVETOEOL','TOKENIZER_KEYSETUSERSTRING','TOKENIZER_KEYSETUSERNUMBER','TOKENIZER_KEYGETUSERSTRING','TOKENIZER_KEYGETUSERNUMBER','TOKENIZER_KEYGETSUBTYPE',
57
+                        'TOKENIZER_KEYGETNAME','TOKENIZER_KEYGETMAINTYPE','TOKENIZER_KEYFIND','TOKENIZER_KEYADD','TOKENIZER_GETNEXTTOKEN','TOKENIZER_DEFAULT_SET','TOKENIZER_DEFAULT_GET','TOKENIZER_DEFAULT_CODE',
58
+                        'TOKENIZER_DEFAULT_CHAR','TO','TIMER','TIME$','THEN','TEXTBOX','TEXT','TCP_SEND',
59
+                        'TCP_RECV','TCP_PRINT','TCP_OPEN','TCP_LINEINPUT','TCP_FREEFILE','TCP_CLOSE','TB_IMGCTX_SETIMAGEADJUSTMENT','TB_IMGCTX_LOADIMAGE',
60
+                        'TB_IMGCTX_GETIMAGEADJUSTMENT','TBGL_VIEWPORT','TBGL_VERTEX','TBGL_USETEXTUREFLAG','TBGL_USETEXTURE','TBGL_USELINESTIPPLEFLAG','TBGL_USELINESTIPPLE','TBGL_USELIGHTSOURCEFLAG',
61
+                        'TBGL_USELIGHTSOURCE','TBGL_USELIGHTINGFLAG','TBGL_USELIGHTING','TBGL_USEFOGFLAG','TBGL_USEFOG','TBGL_USEDEPTHMASK','TBGL_USEDEPTHFLAG','TBGL_USEDEPTH',
62
+                        'TBGL_USECLIPPLANEFLAG','TBGL_USECLIPPLANE','TBGL_USEBLENDFLAG','TBGL_USEBLEND','TBGL_USEALPHATEST','TBGL_TRANSLATE','TBGL_TORUS','TBGL_TEXCOORD2D',
63
+                        'TBGL_SPHERE','TBGL_SHOWWINDOW','TBGL_SHOWCURSOR','TBGL_SETWINDOWTITLE','TBGL_SETUPLIGHTSOURCE','TBGL_SETUPFOG','TBGL_SETUPCLIPPLANE','TBGL_SETPRIMITIVEQUALITY',
64
+                        'TBGL_SETLIGHTPARAMETER','TBGL_SETDRAWDISTANCE','TBGL_SCALE','TBGL_SAVESCREENSHOT','TBGL_ROTATEXYZ','TBGL_ROTATE','TBGL_RESETMATRIX','TBGL_RENDERTOTEXTURE',
65
+                        'TBGL_RENDERMATRIX3D','TBGL_RENDERMATRIX2D','TBGL_PUSHMATRIX','TBGL_PRINTFONT','TBGL_PRINTBMP','TBGL_PRINT','TBGL_POS3DTOPOS2D','TBGL_POPMATRIX',
66
+                        'TBGL_POLYGONLOOK','TBGL_POINTSIZE','TBGL_POINTINSIDE3D','TBGL_NORMAL','TBGL_NEWLIST','TBGL_MOUSEGETWHEELDELTA','TBGL_MOUSEGETRBUTTON','TBGL_MOUSEGETPOSY',
67
+                        'TBGL_MOUSEGETPOSX','TBGL_MOUSEGETMBUTTON','TBGL_MOUSEGETLBUTTON','TBGL_M15SETVERTEXZ','TBGL_M15SETVERTEXY','TBGL_M15SETVERTEXXYZ','TBGL_M15SETVERTEXX','TBGL_M15SETVERTEXTEXY',
68
+                        'TBGL_M15SETVERTEXTEXXY','TBGL_M15SETVERTEXTEXX','TBGL_M15SETVERTEXTEXN','TBGL_M15SETVERTEXRGB','TBGL_M15SETVERTEXR','TBGL_M15SETVERTEXPSTOP','TBGL_M15SETVERTEXPARAM','TBGL_M15SETVERTEXLAYER',
69
+                        'TBGL_M15SETVERTEXG','TBGL_M15SETVERTEXB','TBGL_M15SETMODELVERTEXCOUNT','TBGL_M15SETBONECHILD','TBGL_M15ROTBONEZ','TBGL_M15ROTBONEY','TBGL_M15ROTBONEX','TBGL_M15ROTBONE',
70
+                        'TBGL_M15RESETBONES','TBGL_M15RECALCNORMALS','TBGL_M15LOADMODEL','TBGL_M15INITMODELBUFFERS','TBGL_M15GETVERTEXZ','TBGL_M15GETVERTEXY','TBGL_M15GETVERTEXXYZ','TBGL_M15GETVERTEXX',
71
+                        'TBGL_M15GETVERTEXTEXY','TBGL_M15GETVERTEXTEXXY','TBGL_M15GETVERTEXTEXX','TBGL_M15GETVERTEXTEXN','TBGL_M15GETVERTEXRGB','TBGL_M15GETVERTEXR','TBGL_M15GETVERTEXPSTOP','TBGL_M15GETVERTEXPARAM',
72
+                        'TBGL_M15GETVERTEXLAYER','TBGL_M15GETVERTEXG','TBGL_M15GETVERTEXB','TBGL_M15GETMODELVERTEXCOUNT','TBGL_M15GETMODELPOLYCOUNT','TBGL_M15ERASECHILDBONES','TBGL_M15DRAWMODEL','TBGL_M15DEFBONERESET',
73
+                        'TBGL_M15DEFBONELAYER','TBGL_M15DEFBONEBOX','TBGL_M15DEFBONEANCHOR','TBGL_M15DEFBONEADDVERTEX','TBGL_M15CLEARMODEL','TBGL_M15APPLYBONES','TBGL_M15ADDBONETREEITEM','TBGL_LOADTEXTURE',
74
+                        'TBGL_LOADFONT','TBGL_LOADBMPFONT','TBGL_LINEWIDTH','TBGL_LINESTIPPLE','TBGL_KILLFONT','TBGL_ISWINDOW','TBGL_ISPOINTVISIBLE','TBGL_ISPOINTBEHINDVIEW',
75
+                        'TBGL_GETWINDOWMULTIKEYSTATE','TBGL_GETWINDOWKEYSTATE','TBGL_GETWINDOWKEYONCE','TBGL_GETWINDOWCLIENT','TBGL_GETTEXTURENAME','TBGL_GETTEXTURELIST','TBGL_GETPIXELINFO','TBGL_GETMULTIASYNCKEYSTATE',
76
+                        'TBGL_GETLASTGLERROR','TBGL_GETFRAMERATE','TBGL_GETDESKTOPINFO','TBGL_GETASYNCKEYSTATE','TBGL_ERRORMESSAGES','TBGL_ENDPOLY','TBGL_ENDLIST','TBGL_DRAWFRAME',
77
+                        'TBGL_DESTROYWINDOW','TBGL_DELETELIST','TBGL_CYLINDER','TBGL_CREATEWINDOWEX','TBGL_CREATEWINDOW','TBGL_COLORALPHA','TBGL_COLOR','TBGL_CLEARFRAME',
78
+                        'TBGL_CAMERA','TBGL_CALLLIST','TBGL_BUILDFONT','TBGL_BOX','TBGL_BLENDFUNC','TBGL_BINDTEXTURE','TBGL_BEGINPOLY','TBGL_BACKCOLOR',
79
+                        'TBGL_ALPHAFUNC','TBDI_JOYZ','TBDI_JOYY','TBDI_JOYX','TBDI_JOYSTOPEFFECT','TBDI_JOYSLIDER','TBDI_JOYSETRANGEZ','TBDI_JOYSETRANGEY',
80
+                        'TBDI_JOYSETRANGEXYZ','TBDI_JOYSETRANGEX','TBDI_JOYSETDEADZONEZ','TBDI_JOYSETDEADZONEY','TBDI_JOYSETDEADZONEXYZ','TBDI_JOYSETDEADZONEX','TBDI_JOYSETAUTOCENTER','TBDI_JOYRZ',
81
+                        'TBDI_JOYRY','TBDI_JOYRX','TBDI_JOYPOV','TBDI_JOYPLAYEFFECT','TBDI_JOYLOADEFFECT','TBDI_JOYHASFF','TBDI_JOYHASEFFECT','TBDI_JOYGETEFFECTNAME',
82
+                        'TBDI_JOYGETEFFECTGUID','TBDI_JOYCREATEEFFECT','TBDI_JOYCOUNTPOV','TBDI_JOYCOUNTEFFECTS','TBDI_JOYCOUNTBTN','TBDI_JOYCOUNTAXES','TBDI_JOYBUTTON','TBDI_JOYAVAIL',
83
+                        'TBDI_INIT','TBASS_STREAMFREE','TBASS_STREAMCREATEFILE','TBASS_SETVOLUME','TBASS_SETEAXPRESET','TBASS_SETEAXPARAMETERS','TBASS_SETCONFIG','TBASS_SET3DPOSITION',
84
+                        'TBASS_SET3DFACTORS','TBASS_SAMPLELOAD','TBASS_SAMPLEGETCHANNEL','TBASS_MUSICLOAD','TBASS_MUSICFREE','TBASS_INIT','TBASS_GETVOLUME','TBASS_GETVERSION',
85
+                        'TBASS_GETCONFIG','TBASS_FREE','TBASS_ERRORGETCODE','TBASS_CHANNELSTOP','TBASS_CHANNELSETPOSITION','TBASS_CHANNELSETATTRIBUTES','TBASS_CHANNELSET3DPOSITION','TBASS_CHANNELPLAY',
86
+                        'TBASS_CHANNELPAUSE','TBASS_CHANNELISACTIVE','TBASS_CHANNELGETPOSITION','TBASS_CHANNELGETLENGTH','TBASS_CHANNELGETATTRIBUTES','TBASS_APPLY3D','TANH','TANGENT',
87
+                        'TAN','TALLY','TABCTRL_ONNOTIFY','TABCTRL_INSERTITEM','TABCTRL_GETCURSEL','SWAP','SUB','STRZIP$',
88
+                        'STRUNZIP$','STRREVERSE$','STRPTRLEN','STRPTR','STRINSERT$','STRING$','STRING','STRDELETE$',
89
+                        'STR$','STOP','STEP','STDOUT','STDIN','STAT_SUM','STAT_STDERROR','STAT_STDDEVIATION',
90
+                        'STAT_RANDOM','STAT_PRODUCT','STAT_MIN','STAT_MEDIAN','STAT_MEANHARMONIC','STAT_MEANGEOMETRIC','STAT_MEANARITHMETIC','STAT_MAX',
91
+                        'STAT_INVERSESUM','STAT_HISTOGRAM','STAT_FILLARRAY','STAT_COUNT','STAT_COPYARRAY','STAT_CLONEARRAY','STAT_CHISQUARE','STATIC',
92
+                        'STATE','SQR','SPLIT','SORT','SMTP_STATISTICS','SMTP_SETOPTION','SMTP_SETLOGFILE','SMTP_SENDHTML',
93
+                        'SMTP_SENDEMAIL','SMTP_GETERROR','SMTP_FINISHED','SMTP_DEBUG','SMTP_CONNECT','SMTP_CLOSE','SLEEP','SIZEOF',
94
+                        'SIZE','SINH','SINGLE','SIN','SIGNED','SHOW','SHIFT','SHAPETOBMP',
95
+                        'SGN','SETAT','SET','SENDMESSAGE','SENDKEYSBULK','SENDKEYS','SEND','SELECTEXPRESSION',
96
+                        'SELECT','SECH','SEC','SCAN','SAPI_SPEAK','SAPI_SETVOLUME','SAPI_SETRATE','SAPI_MODULELOADED',
97
+                        'SAPI_GETVOLUME','SAPI_GETRATE','RTRIM$','RTF_SETTEXT','RTF_SETFONTSIZE','RTF_SETFONTNAME','RTF_SETFGCOLOR','RTF_SETEFFECT',
98
+                        'RTF_SETBGCOLOR','RTF_SETALIGN','RTF_SAVETOFILE','RTF_LOADFROMFILE','RTF_GETTEXT','RTF_GETFONTSIZE','RTF_GETFONTNAME','RTF_GETEFFECT',
99
+                        'RTF_GETCLASS','RTF_APPENDTEXT','RSET$','ROUND','RNDF','RND','RIGHT$','RIGHT',
100
+                        'RGB','RESOURCE','RESIZE','RESET','REPLACE$','REPEAT$','REMOVE$','REM',
101
+                        'REGISTRY_SETVALUE','REGISTRY_SETTXTNUM','REGISTRY_SETTXTBOOL','REGISTRY_SETDWORD','REGISTRY_GETVALUE','REGISTRY_GETTXTNUM','REGISTRY_GETTXTBOOL','REGISTRY_GETDWORD',
102
+                        'REGISTRY_GETALLKEYS','REGISTRY_DELVALUE','REGISTRY_DELKEY','REFERENCE','REF','REDRAW','REDIM','RAS_SETPARAMS',
103
+                        'RAS_OPENDIALUPDIALOG','RAS_LOADENTRIES','RAS_HANGUPALL','RAS_HANGUP','RAS_GETENTRY','RAS_BEGINDIAL','RANDOMIZE','RADTODEG',
104
+                        'QUERYPERFORMANCEFREQUENCY','QUERYPERFORMANCECOUNTER','QUAD','PTR','PRESERVE','POST','POPUP','POKE$',
105
+                        'POKE','PIXELS','PI','PERMUTATIONS','PEEKMESSAGE','PEEK$','PEEK','PC_SYSTEMUPFROM',
106
+                        'PC_SUSPENDSTATE','PC_SHUTDOWN','PC_SHOWCARET','PC_SETCARETBLINKTIME','PC_RESTARTDIALOG','PC_PREVENTSHUTDOWN','PC_LOCK','PC_INSERTCD',
107
+                        'PC_HIDECARET','PC_GETSTATEONOFF','PC_GETSCROLLLOCKKEYSTATE','PC_GETNUMLOCKKEYSTATE','PC_GETCARETBLINKTIME','PC_GETCAPSLOCKKEYSTATE','PC_EMPTYBIN','PC_EJECTCD',
108
+                        'PC_DECODECDERROR','PCT','PARSESET$','PARSECOUNT','PARSE$','PARSE','PARAMETERS','OUTSIDE',
109
+                        'OS_WINVERSIONTEXT','OS_WINGETVERSIONTIMELINE','OS_SHELLEXECUTE','OS_SHELLABOUT','OS_SHELL','OS_SETLASTCALLDLLERROR','OS_SERVICESTOP','OS_SERVICESTATUSDESCRIPTION',
110
+                        'OS_SERVICESTARTTYPEDESCRIPTION','OS_SERVICESTART','OS_SERVICESETSTARTTYPE','OS_SERVICEQUERY','OS_SERVICEGETSTARTTYPE','OS_SERVICEGETLIST','OS_PROCESSKILLBYNAME','OS_PROCESSKILLBYID',
111
+                        'OS_PROCESSISRUNNING','OS_PROCESSGETLIST','OS_PROCESSGETID','OS_PROCESSARERUNNING','OS_MESSAGEBEEP','OS_ISWOW64','OS_ISFEATUREPRESENT','OS_IEVERSION',
112
+                        'OS_GETWINDOWSDIR','OS_GETUSERNAME','OS_GETTEMPDIR','OS_GETSYSTEMDIR','OS_GETSPECIALFOLDER','OS_GETLASTCALLDLLSTATUS','OS_GETLASTCALLDLLERROR','OS_GETCURRENTTHREADID',
113
+                        'OS_GETCURRENTPROCESSID','OS_GETCOMPUTERNAME','OS_GETCOMMANDS','OS_GETCOMMAND','OS_FLASHWINDOW','OS_FATALAPPEXIT','OS_ENVIRON','OS_CALLDLL',
114
+                        'OR','OPTIONAL','OPTION','OPT','ONCE','ON','OFF','NUMBER',
115
+                        'NOT','NEXT','NEW','MSGBOX','MOUSEPTR','MODULE','MODELESS','MODAL',
116
+                        'MOD','MKWRD$','MKS$','MKQ$','MKL$','MKI$','MKE$','MKDWD$',
117
+                        'MKD$','MKCUX$','MKCUR$','MKBYT$','MIN$','MIN','MID$','MENU',
118
+                        'MDI_CREATE','MCASE$','MAX$','MAX','MAKWRD','MAKLNG','MAKINT','MAKDWR',
119
+                        'LTRIM$','LSET$','LOWRD','LOOP','LONG','LOINT','LOG_WRITE','LOGB',
120
+                        'LOG2','LOG10','LOG','LOCAL','LOC','LL_UPDATEBYNAME','LL_UPDATE','LL_TOSTRING',
121
+                        'LL_TOFILE','LL_NAME','LL_GETITEM','LL_GETBYNUMBER','LL_FROMFILE','LL_FREE','LL_FINDLAST','LL_FINDBYNAME',
122
+                        'LL_FINDBYDATA','LL_DELETELIKE','LL_DELETEBYNAME','LL_DELETE','LL_DATABYNAME','LL_DATA','LL_COUNT','LL_ADD',
123
+                        'LISTBOX','LINE','LIBRARY_EXISTS','LIB','LEN','LEFT$','LEFT','LCASE$',
124
+                        'LBOUND','LABEL','KILL','JOIN$','ITERATE','ISWINDOW','ISUNICODE','ISTRUE',
125
+                        'ISODD','ISLIKE','ISFALSE','ISEVEN','IP_TOSTRING','IP_ADDR','INTERNALINFO','INTEGER',
126
+                        'INT','INSTR','INSIDE','INPUTBOX$','INI_SETKEY','INI_GETSECTIONSLIST','INI_GETSECTIONKEYLIST','INI_GETKEY',
127
+                        'INET_URLDOWNLOAD','INET_PING','INET_OPENDIALUPDIALOG','INET_GETSTATE','INET_GETREMOTEMACADDRESS','INET_GETIP','INET_GETCONNECTIONMODE','INCR',
128
+                        'IN','IMAGE','IIF$','IIF','IF','ICRYPTO_TESTSHA1','ICRYPTO_TESTMD5','ICRYPTO_TESTCRC32',
129
+                        'ICRYPTO_TESTCRC16','ICRYPTO_STRING2ASCII','ICRYPTO_SHA1','ICRYPTO_MD5','ICRYPTO_ENCRYPTRIJNDAEL','ICRYPTO_ENCRYPTRC4','ICRYPTO_DECRYPTRIJNDAEL','ICRYPTO_DECRYPTRC4',
130
+                        'ICRYPTO_CRC32','ICRYPTO_CRC16','ICRYPTO_BYTEXOR','ICRYPTO_BIN2ASCII','ICRYPTO_ASCII2STRING','ICRYPTO_ASCII2BIN','HOST_ADDR','HOSTNAME_TOIP',
131
+                        'HOSTIP_TONAME','HIWRD','HIINT','HEX$','HASH','HANDLE','GUIDTXT$','GUID$',
132
+                        'GRAPHIC','GLVOID','GLUSHORT','GLUINT','GLUBYTE','GLSIZEI','GLSHORT','GLOBAL',
133
+                        'GLINT','GLFLOAT','GLENUM','GLDOUBLE','GLCLAMPF','GLCLAMPD','GLBYTE','GLBOOLEAN',
134
+                        'GLBITFIELD','GETWINDOWMULTIKEYSTATE','GETWINDOWKEYSTATE','GETTICKCOUNT','GETS','GETMULTIASYNCKEYSTATE','GETMESSAGE','GETCURRENTINSTANCE',
135
+                        'GETAT','GETASYNCKEYSTATE','GET','FUNCTION_NPARAMS','FUNCTION_EXISTS','FUNCTION_CPARAMS','FUNCTION','FTP_SETSTRING',
136
+                        'FTP_SETSERVERDIR','FTP_SETNUMBER','FTP_SETMODE','FTP_SETLOGFILE','FTP_SETLOCALDIR','FTP_QUIT','FTP_PUTFILE','FTP_GETSTRING',
137
+                        'FTP_GETSERVERDIR','FTP_GETNUMBER','FTP_GETLOCALDIR','FTP_GETLIST','FTP_GETFILE','FTP_GETERRORSTRING','FTP_GETERRORNUMBER','FTP_FINISHED',
138
+                        'FTP_EXTRACT','FTP_DELFILE','FTP_CONNECT','FTP_COMMAND','FRAME','FRAC','FORMAT$','FOR',
139
+                        'FONT_LIST','FONT_CREATE','FONT','FOCUS','FLUSH','FIX','FILE_SIZE','FILE_SHELLDELETE',
140
+                        'FILE_SHELLCOPY','FILE_SETDATETIME','FILE_SEEK','FILE_SAVE','FILE_RENAME','FILE_PUT','FILE_PATHSPLIT','FILE_OPEN',
141
+                        'FILE_LOF','FILE_LOAD','FILE_LINEPRINT','FILE_LINEINPUT','FILE_KILL','FILE_GETVERSIONSTRING','FILE_GETVERSION','FILE_GETTIME',
142
+                        'FILE_GETDATETIMESTAMP','FILE_GETDATETIME','FILE_GETDATE','FILE_GET','FILE_EXISTS','FILE_EOF','FILE_COPY','FILE_CLOSE',
143
+                        'FILE_CHANGED','FILE_APPEND','FACTORIAL','EXTRACT$','EXT','EXPORT','EXP2','EXP10',
144
+                        'EXP','EXIT','EVAL_STRING','EVAL_SETSTRING','EVAL_SETNUMBER','EVAL_MATH','EVAL_LINKEXT','EVAL_GETSTRING',
145
+                        'EVAL_GETNUMBER','EVAL_ERRORGETTOKEN','EVAL_ERRORDESCRIPTION','EVAL_ERRORCLEAR','EVAL','ERRCLEAR','ERR','ENGINE_GETCURRENTTOKEN',
146
+                        'ENDIF','END','ENABLE','ELSEIF','ELSE','ECHO','DWORD','DT_YEAR',
147
+                        'DT_TIMETOSEC','DT_TIMESUBSECONDS','DT_TIMEFORMAT','DT_TIMEADDSECONDS','DT_SETTIMESEPARATOR','DT_SETDATESEPARATOR','DT_SETDATECENTURY','DT_SECTOTIME',
148
+                        'DT_SECTODATE','DT_SECOND','DT_MONTH','DT_MINUTE','DT_LASTDAYOFMONTH','DT_ISVALIDDATE','DT_ISLEAPYEAR','DT_HOUR',
149
+                        'DT_GETWEEKDAYNAME','DT_GETWEEKDAY','DT_GETTIMESTAMP','DT_GETTIMESEPARATOR','DT_GETMONTHNAME','DT_GETDATESEPARATOR','DT_GETDATECENTURY','DT_DAY',
150
+                        'DT_DATETOSEC','DT_DATETIMESUBSECONDS','DT_DATETIMEADDSECONDS','DT_DATESUBDAYS','DT_DATEFORMAT','DT_DATEDIFF','DT_DATEADDDAYS','DT_COOKIEDATE',
151
+                        'DRAW','DOUBLE','DOEVENTS','DO','DISABLE','DIR_REMOVE','DIR_MAKEALL','DIR_MAKE',
152
+                        'DIR_LISTARRAY','DIR_LIST','DIR_ISEMPTY','DIR_ISDIR','DIR_GETCURRENT','DIR_EXISTS','DIR_CHANGEDRIVE','DIR_CHANGE',
153
+                        'DIM','DICTIONARY_MEMINFO','DICTIONARY_LISTKEYS','DICTIONARY_FREE','DICTIONARY_FIND','DICTIONARY_EXISTS','DICTIONARY_CREATE','DICTIONARY_COUNT',
154
+                        'DICTIONARY_ADD','DIALOG_STOPEVENTS','DIALOG_SAVEFILE','DIALOG_OPENFILE','DIALOG_GETCONTROL','DIALOG_CHOOSECOLOR','DIALOG_BROWSEFORFOLDER','DIALOG',
155
+                        'DESKTOP','DESCENDING','DESCEND','DELETEOBJECT','DELETE','DEGTORAD','DECR','DECLARE',
156
+                        'DATE$','CVWRD','CVS','CVQ','CVL','CVI','CVE','CVDWD',
157
+                        'CVD','CVCUX','CVCUR','CVBYT','CURRENCY','CUR','CSET$','CSCH',
158
+                        'CSC','CRYPTO_GETPROVIDERTYPESCOUNT','CRYPTO_GETPROVIDERSCOUNT','CRYPTO_GETDEFAULTPROVIDER','CRYPTO_GENRANDOMSTRING','CRYPTO_ENUMPROVIDERTYPES','CRYPTO_ENUMPROVIDERS','CRYPTO_ENCRYPT',
159
+                        'CRYPTO_DECRYPT','CREATEFONT','COTH','COTAN','COSH','COS','CONTROL_SETTEXT','CONTROL_GETTEXT',
160
+                        'CONTROL_GETNUMBER','CONTROL','CONST','CONSOLE_WRITELINE','CONSOLE_WRITE','CONSOLE_WAITKEY','CONSOLE_SHOWWINDOW','CONSOLE_SHOWCURSOR',
161
+                        'CONSOLE_SETTITLE','CONSOLE_SETTEXTATTRIBUTE','CONSOLE_SETSTDHANDLE','CONSOLE_SETSCREENBUFFERSIZE','CONSOLE_SETPROGRESSBARCHAR','CONSOLE_SETOUTPUTMODE','CONSOLE_SETOUTPUTCP','CONSOLE_SETINPUTMODE',
162
+                        'CONSOLE_SETFILEAPISTOOEM','CONSOLE_SETFILEAPISTOANSI','CONSOLE_SETCURSORSIZE','CONSOLE_SETCURSORPOSITION','CONSOLE_SETCP','CONSOLE_SETACTIVESCREENBUFFER','CONSOLE_SCROLLWINDOW','CONSOLE_SCROLLBUFFERONEROW',
163
+                        'CONSOLE_SCROLLBUFFER','CONSOLE_SAVESCREEN','CONSOLE_RESTORESCREEN','CONSOLE_READLINE','CONSOLE_READ','CONSOLE_PROGRESSBAR','CONSOLE_PRINTLINE','CONSOLE_PRINTAT',
164
+                        'CONSOLE_PRINT','CONSOLE_NORMALSCREEN','CONSOLE_LINE','CONSOLE_INKEYB','CONSOLE_INKEY','CONSOLE_HIDECURSOR','CONSOLE_GETTITLE','CONSOLE_GETTEXTATTRIBUTE',
165
+                        'CONSOLE_GETSTDHANDLE','CONSOLE_GETSIZEY','CONSOLE_GETSIZEX','CONSOLE_GETPROGRESSBARCHAR','CONSOLE_GETOUTPUTMODE','CONSOLE_GETOUTPUTCP','CONSOLE_GETNUMBEROFMOUSEBUTTONS','CONSOLE_GETINPUTMODE',
166
+                        'CONSOLE_GETCURSORY','CONSOLE_GETCURSORX','CONSOLE_GETCURSORSIZE','CONSOLE_GETCURRENTFONTINDEX','CONSOLE_GETCP','CONSOLE_GENERATECTRLEVENT','CONSOLE_FULLSCREEN','CONSOLE_FREE',
167
+                        'CONSOLE_FOREGROUNDRGB','CONSOLE_ENABLECTRLC','CONSOLE_DISABLECTRLC','CONSOLE_CREATESCREENBUFFER','CONSOLE_COLORAT','CONSOLE_CLS','CONSOLE_BOX','CONSOLE_BACKGROUNDRGB',
168
+                        'CONSOLE_ATTACH','CONSOLE_AREFILEAPISANSI','CONSOLE_ALLOC','COM_VARIANTINIT','COM_VARIANTCOPY','COM_VARIANTCLEAR','COM_SUCCEEDED','COM_STRINGFROMCLSID',
169
+                        'COM_RELEASE','COM_QUERYINTERFACE','COM_PROGIDFROMCLSID','COM_ISEQUALIID','COM_ISEQUALGUID','COM_ISEQUALCLSID','COM_GETOBJECT','COM_GETENGINEGUID',
170
+                        'COM_EXECUTE','COM_DISPLAYERROR','COM_CREATEOBJECT','COM_CLSIDFROMSTRING','COM_CLSIDFROMPROGID','COM_BUILDVARIANT','COMBOBOX','COMBINATIONS',
171
+                        'COLOR','CLIPBOARD_SETTEXT','CLIPBOARD_GETTEXT','CLIENT','CLEARMESSAGES','CHR$','CHOOSE$','CHOOSE',
172
+                        'CHECKBOX','CHECK3STATE','CHECK','CGI_WRITELOGFILE','CGI_WRITE','CGI_URLDECODESTRING','CGI_UPLOADFILESTIME','CGI_UPLOADFILESNUMBER',
173
+                        'CGI_UPLOADFILESIZE','CGI_STARTSESSION','CGI_SETSESSIONVARIABLE','CGI_RESETDEFAULTSETTINGS','CGI_REMOVESPECIALCHARSPREFIX','CGI_REMOVEQUOTE','CGI_READ','CGI_LOADCONFIGFILE',
174
+                        'CGI_HEADER','CGI_GETSESSIONVARIABLE','CGI_GETREQUESTMETHOD','CGI_GETQUERYVALUE','CGI_GETCURRENTSESSION','CGI_GETCURRENTGUID','CGI_ENVIRON','CGI_CFGSETOPTION',
175
+                        'CGI_CFGGETOPTION','CGI_ADDSPECIALCHARSPREFIX','CGI_ADDQUOTE','CEIL','CASE','CALL','BYVAL','BYTE',
176
+                        'BYREF','BYCMD','BUTTON','BUNDLE_SETSCRIPTPARAMETERS','BUNDLE_SETSCRIPTNAME','BUNDLE_SETFLAGOBFUSCATEMAINSCRIPT','BUNDLE_SETFLAGDELETEAFTERRUN','BUNDLE_SETFLAGCOMPRESSALLFILES',
177
+                        'BUNDLE_SETFLAGASKBEFOREEXTRACT','BUNDLE_SETEXTRACTIONFOLDER','BUNDLE_SETCREATIONFOLDER','BUNDLE_SETBUNDLENAME','BUNDLE_RESET','BUNDLE_MAKE','BUNDLE_BUILDER','BUNDLE_ADDFOLDER',
178
+                        'BUNDLE_ADDFILE','BOUNDCHECK','BIN$','BIFF_WRITETEXT','BIFF_WRITENUMBER','BIFF_WRITEDATE','BIFF_SETROWHEIGHT','BIFF_SETCOLWIDTH',
179
+                        'BIFF_SETBUFFER','BIFF_CREATEFILE','BIFF_CLOSEFILE','BETWEEN','BEEP','BAR','ATTACH','ATN',
180
+                        'AT','ASSIGN','ASCIZ','ASCIIZ','ASCII2UNICODE','ASCENDING','ASCEND','ASC',
181
+                        'AS','ARRAY','ARCTANH','ARCSINH','ARCSIN','ARCSECH','ARCSEC','ARCCSCH',
182
+                        'ARCCSC','ARCCOTH','ARCCOT','ARCCOSH','ARCCOS','APP_TIMER','APP_SOURCEPATH','APP_SOURCENAME',
183
+                        'APP_SOURCEFULLNAME','APP_PATH','APP_NAME','APP_LISTVARIABLES','APP_LISTKEYWORDS','APP_LISTFUNCTIONS','APP_LISTEQUATES','APP_INCLUDEPATH',
184
+                        'APP_GETMODULEFULLPATH','APP_COUNTER','APPEND','ANY','ANIMATE_STOP','ANIMATE_PLAY','ANIMATE_OPEN','AND',
185
+                        'ALIAS','ALERT','ADD','ACODE$','ABS','%DEF','#MINVERSION','#IF',
186
+                        '#ENDIF','#ELSEIF','#ELSE','#DEFAULT','#DEF','SQLWRITEPRIVATEPROFILESTRING','SQLWRITEFILEDSN','SQLWRITEDSNTOINI',
187
+                        'SQLVALIDDSN','SQLTRANSACT','SQLTABLES','SQLTABLEPRIVILEGES','SQLSTATISTICS','SQLSPECIALCOLUMNS','SQLSETSTMTOPTION','SQLSETSTMTATTR',
188
+                        'SQLSETSCROLLOPTIONS','SQLSETPOS','SQLSETPARAM','SQLSETENVATTR','SQLSETDESCREC','SQLSETDESCFIELD','SQLSETCURSORNAME','SQLSETCONNECTOPTION',
189
+                        'SQLSETCONNECTATTR','SQLSETCONFIGMODE','SQLROWCOUNT','SQLREMOVETRANSLATOR','SQLREMOVEDSNFROMINI','SQLREMOVEDRIVERMANAGER','SQLREMOVEDRIVER','SQLREADFILEDSN',
190
+                        'SQLPUTDATA','SQLPROCEDURES','SQLPROCEDURECOLUMNS','SQLPRIMARYKEYS','SQLPREPARE','SQLPOSTINSTALLERERROR','SQLPARAMOPTIONS','SQLPARAMDATA',
191
+                        'SQLNUMRESULTCOLS','SQLNUMPARAMS','SQLNATIVESQL','SQLMORERESULTS','SQLMANAGEDATASOURCES','SQLINSTALLTRANSLATOREX','SQLINSTALLERERROR','SQLINSTALLDRIVERMANAGER',
192
+                        'SQLINSTALLDRIVEREX','SQLGETTYPEINFO','SQLGETTRANSLATOR','SQLGETSTMTOPTION','SQLGETSTMTATTR','SQLGETPRIVATEPROFILESTRING','SQLGETINSTALLEDDRIVERS','SQLGETINFO',
193
+                        'SQLGETFUNCTIONS','SQLGETENVATTR','SQLGETDIAGREC','SQLGETDIAGFIELD','SQLGETDESCREC','SQLGETDESCFIELD','SQLGETDATA','SQLGETCURSORNAME',
194
+                        'SQLGETCONNECTOPTION','SQLGETCONNECTATTR','SQLGETCONFIGMODE','SQLFREESTMT','SQLFREEHANDLE','SQLFREEENV','SQLFREECONNECT','SQLFOREIGNKEYS',
195
+                        'SQLFETCHSCROLL','SQLFETCH','SQLEXTENDEDFETCH','SQLEXECUTE','SQLEXECDIRECT','SQLERROR','SQLENDTRAN','SQLDRIVERS',
196
+                        'SQLDRIVERCONNECT','SQLDISCONNECT','SQLDESCRIBEPARAM','SQLDESCRIBECOL','SQLDATASOURCES','SQLCREATEDATASOURCE','SQLCOPYDESC','SQLCONNECT',
197
+                        'SQLCONFIGDRIVER','SQLCONFIGDATASOURCE','SQLCOLUMNS','SQLCOLUMNPRIVILEGES','SQLCOLATTRIBUTES','SQLCOLATTRIBUTE','SQLCLOSECURSOR','SQLCANCEL',
198
+                        'SQLBULKOPERATIONS','SQLBROWSECONNECT','SQLBINDPARAMETER','SQLBINDPARAM','SQLBINDCOL','SQLALLOCSTMT','SQLALLOCHANDLE','SQLALLOCENV',
199
+                        'SQLALLOCCONNECT','ODBCWRONGDRIVER','ODBCWRITEPRIVATEPROFILESTRING','ODBCWRITEFILEDSN','ODBCWRITEDSNTOINI','ODBCVALIDDSN','ODBCUPDATERECORD','ODBCUPDATEBYBOOKMARK',
200
+                        'ODBCUNLOCKRECORD','ODBCUNBINDCOLUMNS','ODBCUNBINDCOL','ODBCTABLESCOUNT','ODBCTABLES','ODBCTABLEPRIVILEGESCOUNT','ODBCTABLEPRIVILEGES','ODBCSUPPORTS',
201
+                        'ODBCSTATTABLESCHEMANAME','ODBCSTATTABLEPAGES','ODBCSTATTABLECATALOGNAME','ODBCSTATTABLECARDINALITY','ODBCSTATISTICSCOUNT','ODBCSTATISTICS','ODBCSTATINDEXSORTSEQUENCE','ODBCSTATINDEXSCHEMANAME',
202
+                        'ODBCSTATINDEXQUALIFIER','ODBCSTATINDEXPAGES','ODBCSTATINDEXFILTERCONDITION','ODBCSTATINDEXCOLUMNORDINALPOSITION','ODBCSTATINDEXCOLUMNNAME','ODBCSTATINDEXCATALOGNAME','ODBCSTATINDEXCARDINALITY','ODBCSTATINDEXALLOWDUPLICATES',
203
+                        'ODBCSPECIALCOLUMNSCOUNT','ODBCSPECIALCOLUMNS','ODBCSETTXNISOLATION','ODBCSETTRANSLATELIB','ODBCSETTRACEFILE','ODBCSETTRACE','ODBCSETSTMTUSEBOOKMARKS','ODBCSETSTMTSIMULATECURSOR',
204
+                        'ODBCSETSTMTROWSTATUSPTR','ODBCSETSTMTROWSFETCHEDPTR','ODBCSETSTMTROWOPERATIONPTR','ODBCSETSTMTROWBINDTYPE','ODBCSETSTMTROWBINDOFFSETPTR','ODBCSETSTMTROWARRAYSIZE','ODBCSETSTMTRETRIEVEDATA','ODBCSETSTMTQUERYTIMEOUT',
205
+                        'ODBCSETSTMTPARAMSTATUSPTR','ODBCSETSTMTPARAMSPROCESSEDPTR','ODBCSETSTMTPARAMSETSIZE','ODBCSETSTMTPARAMOPERATIONPTR','ODBCSETSTMTPARAMBINDTYPE','ODBCSETSTMTPARAMBINDOFFSETPTR','ODBCSETSTMTNOSCAN','ODBCSETSTMTMETADATAID',
206
+                        'ODBCSETSTMTMAXROWS','ODBCSETSTMTMAXLENGTH','ODBCSETSTMTKEYSETSIZE','ODBCSETSTMTFETCHBOOKMARKPTR','ODBCSETSTMTENABLEAUTOIPD','ODBCSETSTMTCURSORTYPE','ODBCSETSTMTCURSORSENSITIVITY','ODBCSETSTMTCURSORSCROLLABLE',
207
+                        'ODBCSETSTMTCONCURRENCY','ODBCSETSTMTATTR','ODBCSETSTMTASYNCENABLE','ODBCSETSTMTAPPROWDESC','ODBCSETSTMTAPPPARAMDESC','ODBCSETSTATICCURSOR','ODBCSETROWVERCONCURRENCY','ODBCSETRESULT',
208
+                        'ODBCSETRELATIVEPOSITION','ODBCSETREADONLYCONCURRENCY','ODBCSETQUIETMODE','ODBCSETPOSITION','ODBCSETPOS','ODBCSETPACKETMODE','ODBCSETOPTIMISTICCONCURRENCY','ODBCSETODBCCURSORS',
209
+                        'ODBCSETMULTIUSERKEYSETCURSOR','ODBCSETMETADATAID','ODBCSETLOGINTIMEOUT','ODBCSETLOCKCONCURRENCY','ODBCSETKEYSETDRIVENCURSOR','ODBCSETFORWARDONLYCURSOR','ODBCSETENVOUTPUTNTS','ODBCSETENVODBCVERSION',
210
+                        'ODBCSETENVCPMATCH','ODBCSETENVCONNECTIONPOOLING','ODBCSETENVATTR','ODBCSETDYNAMICCURSOR','ODBCSETDESCREC','ODBCSETDESCFIELD','ODBCSETCURSORTYPE','ODBCSETCURSORSENSITIVITY',
211
+                        'ODBCSETCURSORSCROLLABILITY','ODBCSETCURSORNAME','ODBCSETCURSORLOCKTYPE','ODBCSETCURSORKEYSETSIZE','ODBCSETCURSORCONCURRENCY','ODBCSETCURRENTCATALOG','ODBCSETCONNECTIONTIMEOUT','ODBCSETCONNECTATTR',
212
+                        'ODBCSETCONFIGMODE','ODBCSETCONCURVALUESCONCURRENCY','ODBCSETAUTOCOMMITON','ODBCSETAUTOCOMMITOFF','ODBCSETAUTOCOMMIT','ODBCSETASYNCENABLE','ODBCSETACCESSMODE','ODBCSETABSOLUTEPOSITION',
213
+                        'ODBCROWCOUNT','ODBCROLLBACKTRAN','ODBCROLLBACKENVTRAN','ODBCROLLBACKDBCTRAN','ODBCRESULT','ODBCRESETPARAMS','ODBCREMOVETRANSLATOR','ODBCREMOVEDSNFROMINI',
214
+                        'ODBCREMOVEDRIVERMANAGER','ODBCREMOVEDRIVER','ODBCREFRESHRECORD','ODBCRECORDCOUNT','ODBCREADFILEDSN','ODBCQUOTEDIDENTIFIERCASE','ODBCPUTDATA','ODBCPROCEDURESCOUNT',
215
+                        'ODBCPROCEDURES','ODBCPROCEDURECOLUMNSCOUNT','ODBCPROCEDURECOLUMNS','ODBCPRIMARYKEYSCOUNT','ODBCPRIMARYKEYS','ODBCPREPARE','ODBCPOSTINSTALLERERROR','ODBCPARAMDATA',
216
+                        'ODBCOPENSTMT','ODBCOPENCONNECTION','ODBCNUMRESULTCOLS','ODBCNUMPARAMS','ODBCNATIVESQL','ODBCMOVEPREVIOUS','ODBCMOVENEXT','ODBCMOVELAST',
217
+                        'ODBCMOVEFIRST','ODBCMOVE','ODBCMORERESULTS','ODBCMANAGEDATASOURCES','ODBCLOCKRECORD','ODBCINSTALLTRANSLATOREX','ODBCINSTALLERERROR','ODBCINSTALLDRIVERMANAGER',
218
+                        'ODBCINSTALLDRIVEREX','ODBCGETXOPENCLIYEAR','ODBCGETUSERNAME','ODBCGETUNION','ODBCGETTYPEINFOCOUNT','ODBCGETTYPEINFO','ODBCGETTXNISOLATIONOPTION','ODBCGETTXNISOLATION',
219
+                        'ODBCGETTXNCAPABLE','ODBCGETTRANSLATOR','ODBCGETTRANSLATELIB','ODBCGETTRACEFILE','ODBCGETTRACE','ODBCGETTIMEDATEFUNCTIONS','ODBCGETTIMEDATEDIFFINTERVALS','ODBCGETTIMEDATEADDINTERVALS',
220
+                        'ODBCGETTABLETERM','ODBCGETSYSTEMFUNCTIONS','ODBCGETSUBQUERIES','ODBCGETSTRINGFUNCTIONS','ODBCGETSTMTUSEBOOKMARKS','ODBCGETSTMTSQLSTATE','ODBCGETSTMTSIMULATECURSOR','ODBCGETSTMTROWSTATUSPTR',
221
+                        'ODBCGETSTMTROWSFETCHEDPTR','ODBCGETSTMTROWOPERATIONPTR','ODBCGETSTMTROWNUMBER','ODBCGETSTMTROWBINDTYPE','ODBCGETSTMTROWBINDOFFSETPTR','ODBCGETSTMTROWARRAYSIZE','ODBCGETSTMTRETRIEVEDATA','ODBCGETSTMTQUERYTIMEOUT',
222
+                        'ODBCGETSTMTPARAMSTATUSPTR','ODBCGETSTMTPARAMSPROCESSEDPTR','ODBCGETSTMTPARAMSETSIZE','ODBCGETSTMTPARAMOPERATIONPTR','ODBCGETSTMTPARAMBINDTYPE','ODBCGETSTMTPARAMBINDOFFSETPTR','ODBCGETSTMTNOSCAN','ODBCGETSTMTMETADATAID',
223
+                        'ODBCGETSTMTMAXROWS','ODBCGETSTMTMAXLENGTH','ODBCGETSTMTKEYSETSIZE','ODBCGETSTMTIMPROWDESC','ODBCGETSTMTIMPPARAMDESC','ODBCGETSTMTFETCHBOOKMARKPTR','ODBCGETSTMTERRORINFO','ODBCGETSTMTENABLEAUTOIPD',
224
+                        'ODBCGETSTMTCURSORTYPE','ODBCGETSTMTCURSORSENSITIVITY','ODBCGETSTMTCURSORSCROLLABLE','ODBCGETSTMTCONCURRENCY','ODBCGETSTMTATTR','ODBCGETSTMTASYNCENABLE','ODBCGETSTMTAPPROWDESC','ODBCGETSTMTAPPPARAMDESC',
225
+                        'ODBCGETSTATICCURSORATTRIBUTES2','ODBCGETSTATICCURSORATTRIBUTES1','ODBCGETSTATEMENTSQLSTATE','ODBCGETSTATEMENTERRORINFO','ODBCGETSTANDARDCLICONFORMANCE','ODBCGETSQLSTATE','ODBCGETSQLCONFORMANCE','ODBCGETSQL92VALUEEXPRESSIONS',
226
+                        'ODBCGETSQL92STRINGFUNCTIONS','ODBCGETSQL92ROWVALUECONSTRUCTOR','ODBCGETSQL92REVOKE','ODBCGETSQL92RELATIONALJOINOPERATORS','ODBCGETSQL92PREDICATES','ODBCGETSQL92NUMERICVALUEFUNCTIONS','ODBCGETSQL92GRANT','ODBCGETSQL92FOREIGNKEYUPDATERULE',
227
+                        'ODBCGETSQL92FOREIGNKEYDELETERULE','ODBCGETSQL92DATETIMEFUNCTIONS','ODBCGETSPECIALCHARACTERS','ODBCGETSERVERNAME','ODBCGETSEARCHPATTERNESCAPE','ODBCGETSCROLLOPTIONS','ODBCGETSCHEMAUSAGE','ODBCGETSCHEMATERM',
228
+                        'ODBCGETROWUPDATES','ODBCGETQUIETMODE','ODBCGETPROCEDURETERM','ODBCGETPROCEDURESSUPPORT','ODBCGETPRIVATEPROFILESTRING','ODBCGETPOSOPERATIONS','ODBCGETPARAMARRAYSELECTS','ODBCGETPARAMARRAYROWCOUNTS',
229
+                        'ODBCGETPACKETMODE','ODBCGETOUTERJOINS','ODBCGETORDERBYCOLUMNSINSELECT','ODBCGETOJCAPABILITIES','ODBCGETODBCVER','ODBCGETODBCINTERFACECONFORMANCE','ODBCGETODBCCURSORS','ODBCGETNUMERICFUNCTIONS',
230
+                        'ODBCGETNULLCOLLATION','ODBCGETNONNULLABLECOLUMNS','ODBCGETNEEDLONGDATALEN','ODBCGETMULTRESULTSETS','ODBCGETMULTIPLEACTIVETXN','ODBCGETMETADATAID','ODBCGETMAXUSERNAMELEN','ODBCGETMAXTABLESINSELECT',
231
+                        'ODBCGETMAXTABLENAMELEN','ODBCGETMAXSTATEMENTLEN','ODBCGETMAXSCHEMANAMELEN','ODBCGETMAXROWSIZEINCLUDESLONG','ODBCGETMAXROWSIZE','ODBCGETMAXPROCEDURENAMELEN','ODBCGETMAXINDEXSIZE','ODBCGETMAXIDENTIFIERLEN',
232
+                        'ODBCGETMAXDRIVERCONNECTIONS','ODBCGETMAXCURSORNAMELEN','ODBCGETMAXCONCURRENTACTIVITIES','ODBCGETMAXCOLUMNSINTABLE','ODBCGETMAXCOLUMNSINSELECT','ODBCGETMAXCOLUMNSINORDERBY','ODBCGETMAXCOLUMNSININDEX','ODBCGETMAXCOLUMNSINGROUPBY',
233
+                        'ODBCGETMAXCOLUMNNAMELEN','ODBCGETMAXCHARLITERALLEN','ODBCGETMAXCATALOGNAMELEN','ODBCGETMAXBINARYLITERALLEN','ODBCGETMAXASYNCCONCURRENTSTATEMENTS','ODBCGETLONGVARCHARDATABYCOLNAME','ODBCGETLONGVARCHARDATA','ODBCGETLOGINTIMEOUT',
234
+                        'ODBCGETLIKEESCAPECLAUSE','ODBCGETKEYWORDS','ODBCGETKEYSETCURSORATTRIBUTES2','ODBCGETKEYSETCURSORATTRIBUTES1','ODBCGETINTEGRITY','ODBCGETINSTALLERERRORMESSAGE','ODBCGETINSTALLERERRORCODE','ODBCGETINSTALLEDDRIVERS',
235
+                        'ODBCGETINSERTSTATEMENT','ODBCGETINFOSTR','ODBCGETINFOSCHEMAVIEWS','ODBCGETINFOLONG','ODBCGETINFOINT','ODBCGETINFO','ODBCGETINDEXKEYWORDS','ODBCGETIMPROWDESCREC',
236
+                        'ODBCGETIMPROWDESCFIELDTYPE','ODBCGETIMPROWDESCFIELDSCALE','ODBCGETIMPROWDESCFIELDPRECISION','ODBCGETIMPROWDESCFIELDOCTETLENGTH','ODBCGETIMPROWDESCFIELDNULLABLE','ODBCGETIMPROWDESCFIELDNAME','ODBCGETIMPROWDESCFIELD','ODBCGETIMPPARAMDESCREC',
237
+                        'ODBCGETIMPPARAMDESCFIELDTYPE','ODBCGETIMPPARAMDESCFIELDSCALE','ODBCGETIMPPARAMDESCFIELDPRECISION','ODBCGETIMPPARAMDESCFIELDOCTETLENGTH','ODBCGETIMPPARAMDESCFIELDNULLABLE','ODBCGETIMPPARAMDESCFIELDNAME','ODBCGETIMPPARAMDESCFIELD','ODBCGETIDENTIFIERQUOTECHAR',
238
+                        'ODBCGETIDENTIFIERCASE','ODBCGETGROUPBY','ODBCGETFUNCTIONS','ODBCGETFORWARDONLYCURSORATTRIBUTES2','ODBCGETFORWARDONLYCURSORATTRIBUTES1','ODBCGETFILEUSAGE','ODBCGETEXPRESSIONSINORDERBY','ODBCGETERRORINFO',
239
+                        'ODBCGETENVSQLSTATE','ODBCGETENVOUTPUTNTS','ODBCGETENVODBCVERSION','ODBCGETENVIRONMENTSQLSTATE','ODBCGETENVIRONMENTERRORINFO','ODBCGETENVERRORINFO','ODBCGETENVCPMATCH','ODBCGETENVCONNECTIONPOOLING',
240
+                        'ODBCGETENVATTR','ODBCGETDYNAMICCURSORATTRIBUTES2','ODBCGETDYNAMICCURSORATTRIBUTES1','ODBCGETDROPVIEW','ODBCGETDROPTRANSLATION','ODBCGETDROPTABLE','ODBCGETDROPSCHEMA','ODBCGETDROPDOMAIN',
241
+                        'ODBCGETDROPCOLLATION','ODBCGETDROPCHARACTERSET','ODBCGETDROPASSERTION','ODBCGETDRIVERVER','ODBCGETDRIVERODBCVER','ODBCGETDRIVERNAME','ODBCGETDRIVERMANAGERINSTALLPATH','ODBCGETDRIVERHLIB',
242
+                        'ODBCGETDRIVERHENV','ODBCGETDRIVERHDBC','ODBCGETDMVERMINOR','ODBCGETDMVERMAJOR','ODBCGETDMVER','ODBCGETDIAGREC','ODBCGETDIAGFIELD','ODBCGETDESCSQLSTATE',
243
+                        'ODBCGETDESCRIPTORSQLSTATE','ODBCGETDESCRIPTORERRORINFO','ODBCGETDESCRIBEPARAMETER','ODBCGETDESCREC','ODBCGETDESCFIELD','ODBCGETDESCERRORINFO','ODBCGETDEFAULTTXNISOLATION','ODBCGETDDLINDEX',
244
+                        'ODBCGETDBMSVER','ODBCGETDBMSNAME','ODBCGETDBCSQLSTATE','ODBCGETDBCERRORINFO','ODBCGETDATETIMELITERALS','ODBCGETDATASTRINGBYCOLNAME','ODBCGETDATASTRING','ODBCGETDATASOURCEREADONLY',
245
+                        'ODBCGETDATASOURCENAME','ODBCGETDATAEXTENSIONS','ODBCGETDATABASENAME','ODBCGETDATA','ODBCGETCURSORTYPE','ODBCGETCURSORSENSITIVITYSUPPORT','ODBCGETCURSORSENSITIVITY','ODBCGETCURSORSCROLLABILITY',
246
+                        'ODBCGETCURSORROLLBACKBEHAVIOR','ODBCGETCURSORNAME','ODBCGETCURSORLOCKTYPE','ODBCGETCURSORKEYSETSIZE','ODBCGETCURSORCONCURRENCY','ODBCGETCURSORCOMMITBEHAVIOR','ODBCGETCURRENTCATALOG','ODBCGETCREATEVIEW',
247
+                        'ODBCGETCREATETRANSLATION','ODBCGETCREATETABLE','ODBCGETCREATESCHEMA','ODBCGETCREATEDOMAIN','ODBCGETCREATECOLLATION','ODBCGETCREATECHARACTERSET','ODBCGETCREATEASSERTION','ODBCGETCORRELATIONNAME',
248
+                        'ODBCGETCONVERTVARCHAR','ODBCGETCONVERTVARBINARY','ODBCGETCONVERTTINYINT','ODBCGETCONVERTTIMESTAMP','ODBCGETCONVERTTIME','ODBCGETCONVERTSMALLINT','ODBCGETCONVERTREAL','ODBCGETCONVERTNUMERIC',
249
+                        'ODBCGETCONVERTLONGVARCHAR','ODBCGETCONVERTLONGVARBINARY','ODBCGETCONVERTINTERVALYEARMONTH','ODBCGETCONVERTINTERVALDAYTIME','ODBCGETCONVERTINTEGER','ODBCGETCONVERTFUNCTIONS','ODBCGETCONVERTFLOAT','ODBCGETCONVERTDOUBLE',
250
+                        'ODBCGETCONVERTDECIMAL','ODBCGETCONVERTDATE','ODBCGETCONVERTCHAR','ODBCGETCONVERTBIT','ODBCGETCONVERTBINARY','ODBCGETCONVERTBIGINT','ODBCGETCONNECTIONTIMEOUT','ODBCGETCONNECTIONSQLSTATE',
251
+                        'ODBCGETCONNECTIONERRORINFO','ODBCGETCONNECTIONDEAD','ODBCGETCONNECTATTR','ODBCGETCONFIGMODE','ODBCGETCONCATNULLBEHAVIOR','ODBCGETCOLUMNALIAS','ODBCGETCOLLATIONSEQ','ODBCGETCATALOGUSAGE',
252
+                        'ODBCGETCATALOGTERM','ODBCGETCATALOGNAMESEPARATOR','ODBCGETCATALOGNAME','ODBCGETCATALOGLOCATION','ODBCGETBOOKMARKPERSISTENCE','ODBCGETBATCHSUPPORT','ODBCGETBATCHROWCOUNT','ODBCGETAUTOIPD',
253
+                        'ODBCGETAUTOCOMMIT','ODBCGETASYNCMODE','ODBCGETASYNCENABLE','ODBCGETALTERTABLE','ODBCGETALTERDOMAIN','ODBCGETAGGREGATEFUNCTIONS','ODBCGETACTIVEENVIRONMENTS','ODBCGETACCESSMODE',
254
+                        'ODBCGETACCESSIBLETABLES','ODBCGETACCESSIBLEPROCEDURES','ODBCFREESTMT','ODBCFREEHANDLE','ODBCFREEENV','ODBCFREEDESC','ODBCFREEDBC','ODBCFREECONNECT',
255
+                        'ODBCFOREIGNKEYSCOUNT','ODBCFOREIGNKEYS','ODBCFETCHSCROLL','ODBCFETCHBYBOOKMARK','ODBCFETCH','ODBCEXTENDEDFETCH','ODBCEXECUTE','ODBCEXECDIRECT',
256
+                        'ODBCERROR','ODBCEOF','ODBCENDTRAN','ODBCDRIVERSCOUNT','ODBCDRIVERS','ODBCDRIVERCONNECT','ODBCDISCONNECT','ODBCDESCRIBEPARAM',
257
+                        'ODBCDESCRIBECOL','ODBCDELETERECORD','ODBCDELETEBYBOOKMARK','ODBCDATASOURCES','ODBCCREATEDATASOURCE','ODBCCOPYDESC','ODBCCONNECTIONISDEAD','ODBCCONNECTIONISALIVE',
258
+                        'ODBCCONNECT','ODBCCONFIGDRIVER','ODBCCONFIGDATASOURCE','ODBCCOMMITTRAN','ODBCCOMMITENVTRAN','ODBCCOMMITDBCTRAN','ODBCCOLUPDATABLE','ODBCCOLUNSIGNED',
259
+                        'ODBCCOLUNNAMED','ODBCCOLUMNSCOUNT','ODBCCOLUMNS','ODBCCOLUMNPRIVILEGESCOUNT','ODBCCOLUMNPRIVILEGES','ODBCCOLUMN','ODBCCOLTYPENAME','ODBCCOLTYPE',
260
+                        'ODBCCOLTABLENAME','ODBCCOLSEARCHABLE','ODBCCOLSCHEMANAME','ODBCCOLSCALE','ODBCCOLPRECISION','ODBCCOLOCTETLENGTH','ODBCCOLNUMPRECRADIX','ODBCCOLNULLABLE',
261
+                        'ODBCCOLNAME','ODBCCOLLOCALTYPENAME','ODBCCOLLITERALSUFFIX','ODBCCOLLITERALPREFIX','ODBCCOLLENGTH','ODBCCOLLABEL','ODBCCOLISNULL','ODBCCOLFIXEDPRECSCALE',
262
+                        'ODBCCOLDISPLAYSIZE','ODBCCOLCOUNT','ODBCCOLCONCISETYPE','ODBCCOLCATALOGNAME','ODBCCOLCASESENSITIVE','ODBCCOLBASETABLENAME','ODBCCOLBASECOLUMNNAME','ODBCCOLAUTOUNIQUEVALUE',
263
+                        'ODBCCOLATTRIBUTE','ODBCCLOSESTMTCURSOR','ODBCCLOSESTMT','ODBCCLOSECURSOR','ODBCCLOSECONNECTION','ODBCCLEARRESULT','ODBCCANCEL','ODBCBULKOPERATIONS',
264
+                        'ODBCBROWSECONNECT','ODBCBINDPARAMETER','ODBCBINDCOLTOWORD','ODBCBINDCOLTOTIMESTAMP','ODBCBINDCOLTOTIME','ODBCBINDCOLTOSTRING','ODBCBINDCOLTOSINGLE','ODBCBINDCOLTOQUAD',
265
+                        'ODBCBINDCOLTONUMERIC','ODBCBINDCOLTOLONG','ODBCBINDCOLTOINTEGER','ODBCBINDCOLTODWORD','ODBCBINDCOLTODOUBLE','ODBCBINDCOLTODECIMAL','ODBCBINDCOLTODATE','ODBCBINDCOLTOCURRENCY',
266
+                        'ODBCBINDCOLTOBYTE','ODBCBINDCOLTOBIT','ODBCBINDCOLTOBINARY','ODBCBINDCOL','ODBCALLOCSTMT','ODBCALLOCHANDLE','ODBCALLOCENV','ODBCALLOCDESC',
267
+                        'ODBCALLOCDBC','ODBCALLOCCONNECT','ODBCADDRECORD','GLVIEWPORT','GLVERTEXPOINTER','GLVERTEX4SV','GLVERTEX4S','GLVERTEX4IV',
268
+                        'GLVERTEX4I','GLVERTEX4FV','GLVERTEX4F','GLVERTEX4DV','GLVERTEX4D','GLVERTEX3SV','GLVERTEX3S','GLVERTEX3IV',
269
+                        'GLVERTEX3I','GLVERTEX3FV','GLVERTEX3F','GLVERTEX3DV','GLVERTEX3D','GLVERTEX2SV','GLVERTEX2S','GLVERTEX2IV',
270
+                        'GLVERTEX2I','GLVERTEX2FV','GLVERTEX2F','GLVERTEX2DV','GLVERTEX2D','GLUUNPROJECT','GLUTESSVERTEX','GLUTESSPROPERTY',
271
+                        'GLUTESSNORMAL','GLUTESSENDPOLYGON','GLUTESSENDCONTOUR','GLUTESSCALLBACK','GLUTESSBEGINPOLYGON','GLUTESSBEGINCONTOUR','GLUSPHERE','GLUSCALEIMAGE',
272
+                        'GLUQUADRICTEXTURE','GLUQUADRICORIENTATION','GLUQUADRICNORMALS','GLUQUADRICDRAWSTYLE','GLUQUADRICCALLBACK','GLUPWLCURVE','GLUPROJECT','GLUPICKMATRIX',
273
+                        'GLUPERSPECTIVE','GLUPARTIALDISK','GLUORTHO2D','GLUNURBSSURFACE','GLUNURBSPROPERTY','GLUNURBSCURVE','GLUNURBSCALLBACK','GLUNEXTCONTOUR',
274
+                        'GLUNEWTESS','GLUNEWQUADRIC','GLUNEWNURBSRENDERER','GLULOOKAT','GLULOADSAMPLINGMATRICES','GLUGETTESSPROPERTY','GLUGETSTRING','GLUGETNURBSPROPERTY',
275
+                        'GLUERRORSTRING','GLUENDTRIM','GLUENDSURFACE','GLUENDPOLYGON','GLUENDCURVE','GLUDISK','GLUDELETETESS','GLUDELETEQUADRIC',
276
+                        'GLUDELETENURBSRENDERER','GLUCYLINDER','GLUBUILD2DMIPMAPS','GLUBUILD1DMIPMAPS','GLUBEGINTRIM','GLUBEGINSURFACE','GLUBEGINPOLYGON','GLUBEGINCURVE',
277
+                        'GLTRANSLATEF','GLTRANSLATED','GLTEXSUBIMAGE2D','GLTEXSUBIMAGE1D','GLTEXPARAMETERIV','GLTEXPARAMETERI','GLTEXPARAMETERFV','GLTEXPARAMETERF',
278
+                        'GLTEXIMAGE2D','GLTEXIMAGE1D','GLTEXGENIV','GLTEXGENI','GLTEXGENFV','GLTEXGENF','GLTEXGENDV','GLTEXGEND',
279
+                        'GLTEXENVIV','GLTEXENVI','GLTEXENVFV','GLTEXENVF','GLTEXCOORDPOINTER','GLTEXCOORD4SV','GLTEXCOORD4S','GLTEXCOORD4IV',
280
+                        'GLTEXCOORD4I','GLTEXCOORD4FV','GLTEXCOORD4F','GLTEXCOORD4DV','GLTEXCOORD4D','GLTEXCOORD3SV','GLTEXCOORD3S','GLTEXCOORD3IV',
281
+                        'GLTEXCOORD3I','GLTEXCOORD3FV','GLTEXCOORD3F','GLTEXCOORD3DV','GLTEXCOORD3D','GLTEXCOORD2SV','GLTEXCOORD2S','GLTEXCOORD2IV',
282
+                        'GLTEXCOORD2I','GLTEXCOORD2FV','GLTEXCOORD2F','GLTEXCOORD2DV','GLTEXCOORD2D','GLTEXCOORD1SV','GLTEXCOORD1S','GLTEXCOORD1IV',
283
+                        'GLTEXCOORD1I','GLTEXCOORD1FV','GLTEXCOORD1F','GLTEXCOORD1DV','GLTEXCOORD1D','GLSTENCILOP','GLSTENCILMASK','GLSTENCILFUNC',
284
+                        'GLSHADEMODEL','GLSELECTBUFFER','GLSCISSOR','GLSCALEF','GLSCALED','GLROTATEF','GLROTATED','GLRENDERMODE',
285
+                        'GLRECTSV','GLRECTS','GLRECTIV','GLRECTI','GLRECTFV','GLRECTF','GLRECTDV','GLRECTD',
286
+                        'GLREADPIXELS','GLREADBUFFER','GLRASTERPOS4SV','GLRASTERPOS4S','GLRASTERPOS4IV','GLRASTERPOS4I','GLRASTERPOS4FV','GLRASTERPOS4F',
287
+                        'GLRASTERPOS4DV','GLRASTERPOS4D','GLRASTERPOS3SV','GLRASTERPOS3S','GLRASTERPOS3IV','GLRASTERPOS3I','GLRASTERPOS3FV','GLRASTERPOS3F',
288
+                        'GLRASTERPOS3DV','GLRASTERPOS3D','GLRASTERPOS2SV','GLRASTERPOS2S','GLRASTERPOS2IV','GLRASTERPOS2I','GLRASTERPOS2FV','GLRASTERPOS2F',
289
+                        'GLRASTERPOS2DV','GLRASTERPOS2D','GLPUSHNAME','GLPUSHMATRIX','GLPUSHCLIENTATTRIB','GLPUSHATTRIB','GLPRIORITIZETEXTURES','GLPOPNAME',
290
+                        'GLPOPMATRIX','GLPOPCLIENTATTRIB','GLPOPATTRIB','GLPOLYGONSTIPPLE','GLPOLYGONOFFSET','GLPOLYGONMODE','GLPOINTSIZE','GLPIXELZOOM',
291
+                        'GLPIXELTRANSFERI','GLPIXELTRANSFERF','GLPIXELSTOREI','GLPIXELSTOREF','GLPIXELMAPUSV','GLPIXELMAPUIV','GLPIXELMAPFV','GLPASSTHROUGH',
292
+                        'GLORTHO','GLNORMALPOINTER','GLNORMAL3SV','GLNORMAL3S','GLNORMAL3IV','GLNORMAL3I','GLNORMAL3FV','GLNORMAL3F',
293
+                        'GLNORMAL3DV','GLNORMAL3D','GLNORMAL3BV','GLNORMAL3B','GLNEWLIST','GLMULTMATRIXF','GLMULTMATRIXD','GLMATRIXMODE',
294
+                        'GLMATERIALIV','GLMATERIALI','GLMATERIALFV','GLMATERIALF','GLMAPGRID2F','GLMAPGRID2D','GLMAPGRID1F','GLMAPGRID1D',
295
+                        'GLMAP2F','GLMAP2D','GLMAP1F','GLMAP1D','GLLOGICOP','GLLOADNAME','GLLOADMATRIXF','GLLOADMATRIXD',
296
+                        'GLLOADIDENTITY','GLLISTBASE','GLLINEWIDTH','GLLINESTIPPLE','GLLIGHTMODELIV','GLLIGHTMODELI','GLLIGHTMODELFV','GLLIGHTMODELF',
297
+                        'GLLIGHTIV','GLLIGHTI','GLLIGHTFV','GLLIGHTF','GLISTEXTURE','GLISLIST','GLISENABLED','GLINTERLEAVEDARRAYS',
298
+                        'GLINITNAMES','GLINDEXUBV','GLINDEXUB','GLINDEXSV','GLINDEXS','GLINDEXPOINTER','GLINDEXMASK','GLINDEXIV',
299
+                        'GLINDEXI','GLINDEXFV','GLINDEXF','GLINDEXDV','GLINDEXD','GLHINT','GLGETTEXPARAMETERIV','GLGETTEXPARAMETERFV',
300
+                        'GLGETTEXLEVELPARAMETERIV','GLGETTEXLEVELPARAMETERFV','GLGETTEXIMAGE','GLGETTEXGENIV','GLGETTEXGENFV','GLGETTEXGENDV','GLGETTEXENVIV','GLGETTEXENVFV',
301
+                        'GLGETSTRING','GLGETPOLYGONSTIPPLE','GLGETPOINTERV','GLGETPIXELMAPUSV','GLGETPIXELMAPUIV','GLGETPIXELMAPFV','GLGETMATERIALIV','GLGETMATERIALFV',
302
+                        'GLGETMAPIV','GLGETMAPFV','GLGETMAPDV','GLGETLIGHTIV','GLGETLIGHTFV','GLGETINTEGERV','GLGETFLOATV','GLGETERROR',
303
+                        'GLGETDOUBLEV','GLGETCLIPPLANE','GLGETBOOLEANV','GLGENTEXTURES','GLGENLISTS','GLFRUSTUM','GLFRONTFACE','GLFOGIV',
304
+                        'GLFOGI','GLFOGFV','GLFOGF','GLFLUSH','GLFINISH','GLFEEDBACKBUFFER','GLEVALPOINT2','GLEVALPOINT1',
305
+                        'GLEVALMESH2','GLEVALMESH1','GLEVALCOORD2FV','GLEVALCOORD2F','GLEVALCOORD2DV','GLEVALCOORD2D','GLEVALCOORD1FV','GLEVALCOORD1F',
306
+                        'GLEVALCOORD1DV','GLEVALCOORD1D','GLENDLIST','GLEND','GLENABLECLIENTSTATE','GLENABLE','GLEDGEFLAGV','GLEDGEFLAGPOINTER',
307
+                        'GLEDGEFLAG','GLDRAWPIXELS','GLDRAWELEMENTS','GLDRAWBUFFER','GLDRAWARRAYS','GLDISABLECLIENTSTATE','GLDISABLE','GLDEPTHRANGE',
308
+                        'GLDEPTHMASK','GLDEPTHFUNC','GLDELETETEXTURES','GLDELETELISTS','GLCULLFACE','GLCOPYTEXSUBIMAGE2D','GLCOPYTEXSUBIMAGE1D','GLCOPYTEXIMAGE2D',
309
+                        'GLCOPYTEXIMAGE1D','GLCOPYPIXELS','GLCOLORPOINTER','GLCOLORMATERIAL','GLCOLORMASK','GLCOLOR4USV','GLCOLOR4US','GLCOLOR4UIV',
310
+                        'GLCOLOR4UI','GLCOLOR4UBV','GLCOLOR4UB','GLCOLOR4SV','GLCOLOR4S','GLCOLOR4IV','GLCOLOR4I','GLCOLOR4FV',
311
+                        'GLCOLOR4F','GLCOLOR4DV','GLCOLOR4D','GLCOLOR4BV','GLCOLOR4B','GLCOLOR3USV','GLCOLOR3US','GLCOLOR3UIV',
312
+                        'GLCOLOR3UI','GLCOLOR3UBV','GLCOLOR3UB','GLCOLOR3SV','GLCOLOR3S','GLCOLOR3IV','GLCOLOR3I','GLCOLOR3FV',
313
+                        'GLCOLOR3F','GLCOLOR3DV','GLCOLOR3D','GLCOLOR3BV','GLCOLOR3B','GLCLIPPLANE','GLCLEARSTENCIL','GLCLEARINDEX',
314
+                        'GLCLEARDEPTH','GLCLEARCOLOR','GLCLEARACCUM','GLCLEAR','GLCALLLISTS','GLCALLLIST','GLBLENDFUNC','GLBITMAP',
315
+                        'GLBINDTEXTURE','GLBEGIN','GLARRAYELEMENT','GLARETEXTURESRESIDENT','GLALPHAFUNC','GLACCUM'),
316
+                2 => array(
317
+                        '$BEL','$BS','$CR','$CRLF','$DQ','$DT_DATE_SEPARATOR','$DT_LANGUAGE','$DT_TIME_SEPARATOR',
318
+                        '$ESC','$FF','$LF','$NUL','$PC_SD_MY_PC','$SPC','$SQL_OPT_TRACE_FILE_DEFAULT','$SQL_SPEC_STRING',
319
+                        '$TAB','$TRACKBAR_CLASS','$VT','%ACM_OPEN','%ACM_OPENW','%ACM_PLAY','%ACM_STOP','%ACN_START',
320
+                        '%ACN_STOP','%ACS_AUTOPLAY','%ACS_CENTER','%ACS_TIMER','%ACS_TRANSPARENT','%APP_COUNTER_FUNLOOKUP','%APP_COUNTER_KEYLOOKUP','%APP_COUNTER_LOOKUP',
321
+                        '%APP_COUNTER_TESTALPHA','%APP_COUNTER_UDTLOOKUP','%APP_COUNTER_VARLOOKUP','%APP_TIMER_EXECTOTAL','%APP_TIMER_INIT','%APP_TIMER_LOAD','%APP_TIMER_PREPROCESSOR','%AW_ACTIVATE',
322
+                        '%AW_BLEND','%AW_CENTER','%AW_HIDE','%AW_HOR_NEGATIVE','%AW_HOR_POSITIVE','%AW_SLIDE','%AW_VER_NEGATIVE','%AW_VER_POSITIVE',
323
+                        '%BCM_FIRST','%BLACK','%BLUE','%BM_GETCHECK','%BM_SETCHECK','%BST_CHECKED','%BST_UNCHECKED','%BS_AUTOCHECKBOX',
324
+                        '%BS_BOTTOM','%BS_CENTER','%BS_DEFAULT','%BS_DEFPUSHBUTTON','%BS_FLAT','%BS_LEFT','%BS_LEFTTEXT','%BS_MULTILINE',
325
+                        '%BS_NOTIFY','%BS_OWNERDRAW','%BS_PUSHLIKE','%BS_RIGHT','%BS_TOP','%BS_VCENTER','%BUNDLE_BUILDER_CANCELLED','%CBM_FIRST',
326
+                        '%CBN_CLOSEUP','%CBN_DBLCLK','%CBN_DROPDOWN','%CBN_EDITCHANGE','%CBN_EDITUPDATE','%CBN_ERRSPACE','%CBN_KILLFOCUS','%CBN_SELCANCEL',
327
+                        '%CBN_SELCHANGE','%CBN_SELENDCANCEL','%CBN_SELENDOK','%CBN_SETFOCUS','%CBS_AUTOHSCROLL','%CBS_DISABLENOSCROLL','%CBS_DROPDOWN','%CBS_DROPDOWNLIST',
328
+                        '%CBS_HASSTRINGS','%CBS_LOWERCASE','%CBS_NOINTEGRALHEIGHT','%CBS_SIMPLE','%CBS_SORT','%CBS_UPPERCASE','%CB_SELECTSTRING','%CCM_FIRST',
329
+                        '%CC_ANYCOLOR','%CC_ENABLEHOOK','%CC_ENABLETEMPLATE','%CC_ENABLETEMPLATEHANDLE','%CC_FULLOPEN','%CC_PREVENTFULLOPEN','%CC_RGBINIT','%CC_SHOWHELP',
330
+                        '%CC_SOLIDCOLOR','%CFE_BOLD','%CFE_ITALIC','%CFE_LINK','%CFE_PROTECTED','%CFE_STRIKEOUT','%CFE_UNDERLINE','%CFM_ANIMATION',
331
+                        '%CFM_BACKCOLOR','%CFM_BOLD','%CFM_CHARSET','%CFM_COLOR','%CFM_FACE','%CFM_ITALIC','%CFM_KERNING','%CFM_LCID',
332
+                        '%CFM_LINK','%CFM_OFFSET','%CFM_PROTECTED','%CFM_REVAUTHOR','%CFM_SIZE','%CFM_SPACING','%CFM_STRIKEOUT','%CFM_STYLE',
333
+                        '%CFM_UNDERLINE','%CFM_UNDERLINETYPE','%CFM_WEIGHT','%CGI_ACCEPT_FILE_UPLOAD','%CGI_AUTO_ADD_SPECIAL_CHARS_PREFIX','%CGI_AUTO_CREATE_VARS','%CGI_BUFFERIZE_OUTPUT','%CGI_DOUBLE_QUOTE',
334
+                        '%CGI_FILE_UPLOAD_BASEPATH','%CGI_FORCE_SESSION_VALIDATION','%CGI_MAX_BYTE_FROM_STD_IN','%CGI_REQUEST_METHOD_GET','%CGI_REQUEST_METHOD_POST','%CGI_SESSION_FILE_BASEPATH','%CGI_SINGLE_QUOTE','%CGI_SPECIAL_CHARS_PREFIX',
335
+                        '%CGI_TEMPORARY_UPLOAD_PATH','%CGI_UPLOAD_CAN_OVERWRITE','%CGI_WRITE_LOG_FILE','%CGI_WRITE_VARS_INTO_LOG_FILE','%CONOLE_ATTACH_PARENT_PROCESS','%CONSOLE_BACKGROUND_BLUE','%CONSOLE_BACKGROUND_GREEN','%CONSOLE_BACKGROUND_INTENSITY',
336
+                        '%CONSOLE_BACKGROUND_RED','%CONSOLE_BOX_FLAG_3DOFF','%CONSOLE_BOX_FLAG_3DON','%CONSOLE_BOX_FLAG_SHADOW','%CONSOLE_COMMON_LVB_GRID_HORIZONTAL','%CONSOLE_COMMON_LVB_GRID_LVERTICAL','%CONSOLE_COMMON_LVB_GRID_RVERTICAL','%CONSOLE_COMMON_LVB_LEADING_BYTE',
337
+                        '%CONSOLE_COMMON_LVB_REVERSE_VIDEO','%CONSOLE_COMMON_LVB_TRAILING_BYTE','%CONSOLE_COMMON_LVB_UNDERSCORE','%CONSOLE_CTRL_BREAK_EVENT','%CONSOLE_CTRL_C_EVENT','%CONSOLE_DOUBLE_CLICK','%CONSOLE_ENABLE_AUTO_POSITION','%CONSOLE_ENABLE_ECHO_INPUT',
338
+                        '%CONSOLE_ENABLE_EXTENDED_FLAGS','%CONSOLE_ENABLE_INSERT_MODE','%CONSOLE_ENABLE_LINE_INPUT','%CONSOLE_ENABLE_MOUSE_INPUT','%CONSOLE_ENABLE_PROCESSED_INPUT','%CONSOLE_ENABLE_PROCESSED_OUTPUT','%CONSOLE_ENABLE_QUICK_EDIT_MODE','%CONSOLE_ENABLE_WINDOW_INPUT',
339
+                        '%CONSOLE_ENABLE_WRAP_AT_EOL_OUTPUT','%CONSOLE_FOREGROUND_BLUE','%CONSOLE_FOREGROUND_GREEN','%CONSOLE_FOREGROUND_INTENSITY','%CONSOLE_FOREGROUND_RED','%CONSOLE_LBUTTON','%CONSOLE_LINE_HORIZONTAL','%CONSOLE_LINE_VERTICAL',
340
+                        '%CONSOLE_MBUTTON','%CONSOLE_MOUSE_MOVED','%CONSOLE_MOUSE_WHEELED','%CONSOLE_RBUTTON','%CONSOLE_SCROLLBUF_DOWN','%CONSOLE_SCROLLBUF_UP','%CONSOLE_SCROLLWND_ABSOLUTE','%CONSOLE_SCROLLWND_RELATIVE',
341
+                        '%CONSOLE_STD_ERROR_HANDLE','%CONSOLE_STD_INPUT_HANDLE','%CONSOLE_STD_OUTPUT_HANDLE','%CONSOLE_SW_FORCEMINIMIZE','%CONSOLE_SW_HIDE','%CONSOLE_SW_MAXIMIZE','%CONSOLE_SW_MINIMIZE','%CONSOLE_SW_RESTORE',
342
+                        '%CONSOLE_SW_SHOW','%CONSOLE_SW_SHOWDEFAULT','%CONSOLE_SW_SHOWMAXIMIZED','%CONSOLE_SW_SHOWMINIMIZED','%CONSOLE_SW_SHOWMINNOACTIVE','%CONSOLE_SW_SHOWNA','%CONSOLE_SW_SHOWNOACTIVATE','%CONSOLE_SW_SHOWNORMAL',
343
+                        '%CONSOLE_UNAVAILABLE','%CRYPTO_CALG_DES','%CRYPTO_CALG_RC2','%CRYPTO_CALG_RC4','%CRYPTO_PROV_DH_SCHANNEL','%CRYPTO_PROV_DSS','%CRYPTO_PROV_DSS_DH','%CRYPTO_PROV_FORTEZZA',
344
+                        '%CRYPTO_PROV_MS_EXCHANGE','%CRYPTO_PROV_RSA_FULL','%CRYPTO_PROV_RSA_SCHANNEL','%CRYPTO_PROV_RSA_SIG','%CRYPTO_PROV_SSL','%CSIDL_ADMINTOOLS','%CSIDL_ALTSTARTUP','%CSIDL_APPDATA',
345
+                        '%CSIDL_BITBUCKET','%CSIDL_CDBURN_AREA','%CSIDL_COMMON_ADMINTOOLS','%CSIDL_COMMON_ALTSTARTUP','%CSIDL_COMMON_APPDATA','%CSIDL_COMMON_DESKTOPDIRECTORY','%CSIDL_COMMON_DOCUMENTS','%CSIDL_COMMON_FAVORITES',
346
+                        '%CSIDL_COMMON_MUSIC','%CSIDL_COMMON_PICTURES','%CSIDL_COMMON_PROGRAMS','%CSIDL_COMMON_STARTMENU','%CSIDL_COMMON_STARTUP','%CSIDL_COMMON_TEMPLATES','%CSIDL_COMMON_VIDEO','%CSIDL_CONTROLS',
347
+                        '%CSIDL_COOKIES','%CSIDL_DESKTOP','%CSIDL_DESKTOPDIRECTORY','%CSIDL_DRIVES','%CSIDL_FAVORITES','%CSIDL_FLAG_CREATE','%CSIDL_FONTS','%CSIDL_HISTORY',
348
+                        '%CSIDL_INTERNET','%CSIDL_INTERNET_CACHE','%CSIDL_LOCAL_APPDATA','%CSIDL_MYDOCUMENTS','%CSIDL_MYMUSIC','%CSIDL_MYPICTURES','%CSIDL_MYVIDEO','%CSIDL_NETHOOD',
349
+                        '%CSIDL_NETWORK','%CSIDL_PERSONAL','%CSIDL_PRINTERS','%CSIDL_PRINTHOOD','%CSIDL_PROFILE','%CSIDL_PROGRAMS','%CSIDL_PROGRAM_FILES','%CSIDL_PROGRAM_FILES_COMMON',
350
+                        '%CSIDL_RECENT','%CSIDL_SENDTO','%CSIDL_STARTMENU','%CSIDL_STARTUP','%CSIDL_SYSTEM','%CSIDL_TEMPLATES','%CSIDL_WINDOWS','%CW_USEDEFAULT',
351
+                        '%CYAN','%DATE_TIME_FILE_CREATION','%DATE_TIME_LAST_FILE_ACCESS','%DATE_TIME_LAST_FILE_WRITE','%DICTIONARY_MEMINFO_DATA','%DICTIONARY_MEMINFO_KEYS','%DICTIONARY_MEMINFO_TOTAL','%DICTIONARY_SORTDESCENDING',
352
+                        '%DICTIONARY_SORTKEYS','%DSCAPS_CERTIFIED','%DSCAPS_CONTINUOUSRATE','%DSCAPS_EMULDRIVER','%DSCAPS_SECONDARY16BIT','%DSCAPS_SECONDARY8BIT','%DSCAPS_SECONDARYMONO','%DSCAPS_SECONDARYSTEREO',
353
+                        '%DSCCAPS_CERTIFIED','%DSCCAPS_EMULDRIVER','%DS_3DLOOK','%DS_ABSALIGN','%DS_CENTER','%DS_CENTERMOUSE','%DS_CONTEXTHELP','%DS_CONTROL',
354
+                        '%DS_MODALFRAME','%DS_NOFAILCREATE','%DS_SETFONT','%DS_SETFOREGROUND','%DS_SYSMODAL','%DTM_FIRST','%DTM_GETMCCOLOR','%DTM_GETMCFONT',
355
+                        '%DTM_GETMONTHCAL','%DTM_GETRANGE','%DTM_GETSYSTEMTIME','%DTM_SETFORMAT','%DTM_SETFORMATW','%DTM_SETMCCOLOR','%DTM_SETMCFONT','%DTM_SETRANGE',
356
+                        '%DTM_SETSYSTEMTIME','%DTN_CLOSEUP','%DTN_DATETIMECHANGE','%DTN_DROPDOWN','%DTN_FORMAT','%DTN_FORMATQUERY','%DTN_FORMATQUERYW','%DTN_FORMATW',
357
+                        '%DTN_USERSTRING','%DTN_USERSTRINGW','%DTN_WMKEYDOWN','%DTN_WMKEYDOWNW','%DTS_APPCANPARSE','%DTS_LONGDATEFORMAT','%DTS_RIGHTALIGN','%DTS_SHORTDATECENTURYFORMAT',
358
+                        '%DTS_SHORTDATEFORMAT','%DTS_SHOWNONE','%DTS_TIMEFORMAT','%DTS_UPDOWN','%DT_DATE_CENTURY','%DT_DATE_OK','%DT_DAY_IN_YEAR','%DT_DIFF_IN_DAYS',
359
+                        '%DT_DIFF_IN_HOURS','%DT_DIFF_IN_MINUTES','%DT_DIFF_IN_SECONDS','%DT_HOURS_IN_DAY','%DT_MINUTES_IN_HOUR','%DT_SECONDS_IN_DAY','%DT_SECONDS_IN_HOUR','%DT_SECONDS_IN_MINUTE',
360
+                        '%DT_SECONDS_IN_YEAR','%DT_USE_LONG_FORM','%DT_USE_SHORT_FORM','%DT_WRONG_DATE','%DT_WRONG_DAY','%DT_WRONG_MONTH','%ECM_FIRST','%ECOOP_AND',
361
+                        '%ECOOP_OR','%ECOOP_SET','%ECOOP_XOR','%ECO_AUTOHSCROLL','%ECO_AUTOVSCROLL','%ECO_AUTOWORDSELECTION','%ECO_NOHIDESEL','%ECO_READONLY',
362
+                        '%ECO_SELECTIONBAR','%ECO_WANTRETURN','%EM_AUTOURLDETECT','%EM_CANPASTE','%EM_CANREDO','%EM_CANUNDO','%EM_CHARFROMPOS','%EM_DISPLAYBAND',
363
+                        '%EM_EMPTYUNDOBUFFER','%EM_EXGETSEL','%EM_EXLIMITTEXT','%EM_EXLINEFROMCHAR','%EM_EXSETSEL','%EM_FINDTEXT','%EM_FINDTEXTEX','%EM_FINDWORDBREAK',
364
+                        '%EM_FMTLINES','%EM_FORMATRANGE','%EM_GETAUTOURLDETECT','%EM_GETCHARFORMAT','%EM_GETEDITSTYLE','%EM_GETEVENTMASK','%EM_GETFIRSTVISIBLELINE','%EM_GETHANDLE',
365
+                        '%EM_GETIMESTATUS','%EM_GETLIMITTEXT','%EM_GETLINE','%EM_GETLINECOUNT','%EM_GETMARGINS','%EM_GETMODIFY','%EM_GETOLEINTERFACE','%EM_GETOPTIONS',
366
+                        '%EM_GETPARAFORMAT','%EM_GETPASSWORDCHAR','%EM_GETRECT','%EM_GETREDONAME','%EM_GETSCROLLPOS','%EM_GETSEL','%EM_GETSELTEXT','%EM_GETTEXTMODE',
367
+                        '%EM_GETTEXTRANGE','%EM_GETTHUMB','%EM_GETUNDONAME','%EM_GETWORDBREAKPROC','%EM_GETWORDBREAKPROCEX','%EM_HIDESELECTION','%EM_LIMITTEXT','%EM_LINEFROMCHAR',
368
+                        '%EM_LINEINDEX','%EM_LINELENGTH','%EM_LINESCROLL','%EM_PASTESPECIAL','%EM_POSFROMCHAR','%EM_REDO','%EM_REPLACESEL','%EM_REQUESTRESIZE',
369
+                        '%EM_SCROLL','%EM_SCROLLCARET','%EM_SELECTIONTYPE','%EM_SETBKGNDCOLOR','%EM_SETCHARFORMAT','%EM_SETEDITSTYLE','%EM_SETEVENTMASK','%EM_SETHANDLE',
370
+                        '%EM_SETIMESTATUS','%EM_SETLIMITTEXT','%EM_SETMARGINS','%EM_SETMODIFY','%EM_SETOLECALLBACK','%EM_SETOPTIONS','%EM_SETPARAFORMAT','%EM_SETPASSWORDCHAR',
371
+                        '%EM_SETREADONLY','%EM_SETRECT','%EM_SETRECTNP','%EM_SETSCROLLPOS','%EM_SETSEL','%EM_SETTABSTOPS','%EM_SETTARGETDEVICE','%EM_SETTEXTMODE',
372
+                        '%EM_SETUNDOLIMIT','%EM_SETWORDBREAKPROC','%EM_SETWORDBREAKPROCEX','%EM_SETWORDWRAPMODE','%EM_SETZOOM','%EM_STOPGROUPTYPING','%EM_STREAMIN','%EM_STREAMOUT',
373
+                        '%EM_UNDO','%ENM_CHANGE','%ENM_CORRECTTEXT','%ENM_DRAGDROPDONE','%ENM_DROPFILES','%ENM_KEYEVENTS','%ENM_MOUSEEVENTS','%ENM_NONE',
374
+                        '%ENM_PARAGRAPHEXPANDED','%ENM_PROTECTED','%ENM_REQUESTRESIZE','%ENM_SCROLL','%ENM_SCROLLEVENTS','%ENM_SELCHANGE','%ENM_UPDATE','%EN_CHANGE',
375
+                        '%EN_MSGFILTER','%EN_SELCHANGE','%EN_UPDATE','%ES_AUTOHSCROLL','%ES_AUTOVSCROLL','%ES_CENTER','%ES_DISABLENOSCROLL','%ES_EX_NOCALLOLEINIT',
376
+                        '%ES_LEFT','%ES_LOWERCASE','%ES_MULTILINE','%ES_NOHIDESEL','%ES_NOOLEDRAGDROP','%ES_NUMBER','%ES_OEMCONVERT','%ES_PASSWORD',
377
+                        '%ES_READONLY','%ES_RIGHT','%ES_SAVESEL','%ES_SELECTIONBAR','%ES_SUNKEN','%ES_UPPERCASE','%ES_WANTRETURN','%EVAL_EXEC_STRING',
378
+                        '%FALSE','%FILE_ADDPATH','%FILE_ARCHIVE','%FILE_BUILDVERSION','%FILE_HIDDEN','%FILE_MAJORVERSION','%FILE_MINORVERSION','%FILE_NORMAL',
379
+                        '%FILE_READONLY','%FILE_REVISIONVERSION','%FILE_SUBDIR','%FILE_SYSTEM','%FILE_VLABEL','%FTP_GET_CONNECT_STATUS','%FTP_GET_FILE_BYTES_RCVD','%FTP_GET_FILE_BYTES_SENT',
380
+                        '%FTP_GET_LAST_RESPONSE','%FTP_GET_LOCAL_IP','%FTP_GET_SERVER_IP','%FTP_GET_TOTAL_BYTES_RCVD','%FTP_GET_TOTAL_BYTES_SENT','%FTP_LIST_FULLLIST','%FTP_LIST_FULLLISTDIR','%FTP_LIST_FULLLISTFILE',
381
+                        '%FTP_SET_ASYNC','%FTP_SET_CONNECT_WAIT','%FTP_SET_MAX_LISTEN_WAIT','%FTP_SET_MAX_RESPONSE_WAIT','%FTP_SET_PASSIVE','%FTP_SET_SYNC','%FW_BLACK','%FW_BOLD',
382
+                        '%FW_DEMIBOLD','%FW_DONTCARE','%FW_EXTRABOLD','%FW_EXTRALIGHT','%FW_HEAVY','%FW_LIGHT','%FW_MEDIUM','%FW_NORMAL',
383
+                        '%FW_REGULAR','%FW_SEMIBOLD','%FW_THIN','%FW_ULTRABOLD','%FW_ULTRALIGHT','%GDTR_MAX','%GDTR_MIN','%GLU_AUTO_LOAD_MATRIX',
384
+                        '%GLU_BEGIN','%GLU_CCW','%GLU_CULLING','%GLU_CW','%GLU_DISPLAY_MODE','%GLU_DOMAIN_DISTANCE','%GLU_EDGE_FLAG','%GLU_END',
385
+                        '%GLU_ERROR','%GLU_EXTENSIONS','%GLU_EXTERIOR','%GLU_FALSE','%GLU_FILL','%GLU_FLAT','%GLU_INCOMPATIBLE_GL_VERSION','%GLU_INSIDE',
386
+                        '%GLU_INTERIOR','%GLU_INVALID_ENUM','%GLU_INVALID_VALUE','%GLU_LINE','%GLU_MAP1_TRIM_2','%GLU_MAP1_TRIM_3','%GLU_NONE','%GLU_NURBS_ERROR1',
387
+                        '%GLU_NURBS_ERROR10','%GLU_NURBS_ERROR11','%GLU_NURBS_ERROR12','%GLU_NURBS_ERROR13','%GLU_NURBS_ERROR14','%GLU_NURBS_ERROR15','%GLU_NURBS_ERROR16','%GLU_NURBS_ERROR17',
388
+                        '%GLU_NURBS_ERROR18','%GLU_NURBS_ERROR19','%GLU_NURBS_ERROR2','%GLU_NURBS_ERROR20','%GLU_NURBS_ERROR21','%GLU_NURBS_ERROR22','%GLU_NURBS_ERROR23','%GLU_NURBS_ERROR24',
389
+                        '%GLU_NURBS_ERROR25','%GLU_NURBS_ERROR26','%GLU_NURBS_ERROR27','%GLU_NURBS_ERROR28','%GLU_NURBS_ERROR29','%GLU_NURBS_ERROR3','%GLU_NURBS_ERROR30','%GLU_NURBS_ERROR31',
390
+                        '%GLU_NURBS_ERROR32','%GLU_NURBS_ERROR33','%GLU_NURBS_ERROR34','%GLU_NURBS_ERROR35','%GLU_NURBS_ERROR36','%GLU_NURBS_ERROR37','%GLU_NURBS_ERROR4','%GLU_NURBS_ERROR5',
391
+                        '%GLU_NURBS_ERROR6','%GLU_NURBS_ERROR7','%GLU_NURBS_ERROR8','%GLU_NURBS_ERROR9','%GLU_OUTLINE_PATCH','%GLU_OUTLINE_POLYGON','%GLU_OUTSIDE','%GLU_OUT_OF_MEMORY',
392
+                        '%GLU_PARAMETRIC_ERROR','%GLU_PARAMETRIC_TOLERANCE','%GLU_PATH_LENGTH','%GLU_POINT','%GLU_SAMPLING_METHOD','%GLU_SAMPLING_TOLERANCE','%GLU_SILHOUETTE','%GLU_SMOOTH',
393
+                        '%GLU_TESS_BEGIN','%GLU_TESS_BEGIN_DATA','%GLU_TESS_BOUNDARY_ONLY','%GLU_TESS_COMBINE','%GLU_TESS_COMBINE_DATA','%GLU_TESS_COORD_TOO_LARGE','%GLU_TESS_EDGE_FLAG','%GLU_TESS_EDGE_FLAG_DATA',
394
+                        '%GLU_TESS_END','%GLU_TESS_END_DATA','%GLU_TESS_ERROR','%GLU_TESS_ERROR1','%GLU_TESS_ERROR2','%GLU_TESS_ERROR3','%GLU_TESS_ERROR4','%GLU_TESS_ERROR5',
395
+                        '%GLU_TESS_ERROR6','%GLU_TESS_ERROR7','%GLU_TESS_ERROR8','%GLU_TESS_ERROR_DATA','%GLU_TESS_MISSING_BEGIN_CONTOUR','%GLU_TESS_MISSING_BEGIN_POLYGON','%GLU_TESS_MISSING_END_CONTOUR','%GLU_TESS_MISSING_END_POLYGON',
396
+                        '%GLU_TESS_NEED_COMBINE_CALLBACK','%GLU_TESS_TOLERANCE','%GLU_TESS_VERTEX','%GLU_TESS_VERTEX_DATA','%GLU_TESS_WINDING_ABS_GEQ_TWO','%GLU_TESS_WINDING_NEGATIVE','%GLU_TESS_WINDING_NONZERO','%GLU_TESS_WINDING_ODD',
397
+                        '%GLU_TESS_WINDING_POSITIVE','%GLU_TESS_WINDING_RULE','%GLU_TRUE','%GLU_UNKNOWN','%GLU_U_STEP','%GLU_VERSION','%GLU_VERSION_1_1','%GLU_VERSION_1_2',
398
+                        '%GLU_VERTEX','%GLU_V_STEP','%GL_2D','%GL_2_BYTES','%GL_3D','%GL_3D_COLOR','%GL_3D_COLOR_TEXTURE','%GL_3_BYTES',
399
+                        '%GL_4D_COLOR_TEXTURE','%GL_4_BYTES','%GL_ABGR_EXT','%GL_ACCUM','%GL_ACCUM_ALPHA_BITS','%GL_ACCUM_BLUE_BITS','%GL_ACCUM_BUFFER_BIT','%GL_ACCUM_CLEAR_VALUE',
400
+                        '%GL_ACCUM_GREEN_BITS','%GL_ACCUM_RED_BITS','%GL_ADD','%GL_ALL_ATTRIB_BITS','%GL_ALPHA','%GL_ALPHA12','%GL_ALPHA16','%GL_ALPHA4',
401
+                        '%GL_ALPHA8','%GL_ALPHA_BIAS','%GL_ALPHA_BITS','%GL_ALPHA_SCALE','%GL_ALPHA_TEST','%GL_ALPHA_TEST_FUNC','%GL_ALPHA_TEST_REF','%GL_ALWAYS',
402
+                        '%GL_AMBIENT','%GL_AMBIENT_AND_DIFFUSE','%GL_AND','%GL_AND_INVERTED','%GL_AND_REVERSE','%GL_ARRAY_ELEMENT_LOCK_COUNT_EXT','%GL_ARRAY_ELEMENT_LOCK_FIRST_EXT','%GL_ATTRIB_STACK_DEPTH',
403
+                        '%GL_AUTO_NORMAL','%GL_AUX0','%GL_AUX1','%GL_AUX2','%GL_AUX3','%GL_AUX_BUFFERS','%GL_BACK','%GL_BACK_LEFT',
404
+                        '%GL_BACK_RIGHT','%GL_BGRA_EXT','%GL_BGR_EXT','%GL_BITMAP','%GL_BITMAP_TOKEN','%GL_BLEND','%GL_BLEND_COLOR_EXT','%GL_BLEND_DST',
405
+                        '%GL_BLEND_EQUATION_EXT','%GL_BLEND_SRC','%GL_BLUE','%GL_BLUE_BIAS','%GL_BLUE_BITS','%GL_BLUE_SCALE','%GL_BYTE','%GL_C3F_V3F',
406
+                        '%GL_C4F_N3F_V3F','%GL_C4UB_V2F','%GL_C4UB_V3F','%GL_CCW','%GL_CLAMP','%GL_CLEAR','%GL_CLIENT_ALL_ATTRIB_BITS','%GL_CLIENT_ATTRIB_STACK_DEPTH',
407
+                        '%GL_CLIENT_PIXEL_STORE_BIT','%GL_CLIENT_VERTEX_ARRAY_BIT','%GL_CLIP_PLANE0','%GL_CLIP_PLANE1','%GL_CLIP_PLANE2','%GL_CLIP_PLANE3','%GL_CLIP_PLANE4','%GL_CLIP_PLANE5',
408
+                        '%GL_CLIP_VOLUME_CLIPPING_HINT_EXT','%GL_COEFF','%GL_COLOR','%GL_COLOR_ARRAY','%GL_COLOR_ARRAY_COUNT_EXT','%GL_COLOR_ARRAY_EXT','%GL_COLOR_ARRAY_POINTER','%GL_COLOR_ARRAY_POINTER_EXT',
409
+                        '%GL_COLOR_ARRAY_SIZE','%GL_COLOR_ARRAY_SIZE_EXT','%GL_COLOR_ARRAY_STRIDE','%GL_COLOR_ARRAY_STRIDE_EXT','%GL_COLOR_ARRAY_TYPE','%GL_COLOR_ARRAY_TYPE_EXT','%GL_COLOR_BUFFER_BIT','%GL_COLOR_CLEAR_VALUE',
410
+                        '%GL_COLOR_INDEX','%GL_COLOR_INDEX12_EXT','%GL_COLOR_INDEX16_EXT','%GL_COLOR_INDEX1_EXT','%GL_COLOR_INDEX2_EXT','%GL_COLOR_INDEX4_EXT','%GL_COLOR_INDEX8_EXT','%GL_COLOR_INDEXES',
411
+                        '%GL_COLOR_LOGIC_OP','%GL_COLOR_MATERIAL','%GL_COLOR_MATERIAL_FACE','%GL_COLOR_MATERIAL_PARAMETER','%GL_COLOR_SUM_EXT','%GL_COLOR_TABLE_ALPHA_SIZE_EXT','%GL_COLOR_TABLE_BIAS_EXT','%GL_COLOR_TABLE_BLUE_SIZE_EXT',
412
+                        '%GL_COLOR_TABLE_EXT','%GL_COLOR_TABLE_FORMAT_EXT','%GL_COLOR_TABLE_GREEN_SIZE_EXT','%GL_COLOR_TABLE_INTENSITY_SIZE_EXT','%GL_COLOR_TABLE_LUMINANCE_SIZE_EXT','%GL_COLOR_TABLE_RED_SIZE_EXT','%GL_COLOR_TABLE_SCALE_EXT','%GL_COLOR_TABLE_WIDTH_EXT',
413
+                        '%GL_COLOR_WRITEMASK','%GL_COMPILE','%GL_COMPILE_AND_EXECUTE','%GL_CONSTANT_ALPHA_EXT','%GL_CONSTANT_ATTENUATION','%GL_CONSTANT_COLOR_EXT','%GL_CONVOLUTION_1D_EXT','%GL_CONVOLUTION_2D_EXT',
414
+                        '%GL_CONVOLUTION_BORDER_MODE_EXT','%GL_CONVOLUTION_FILTER_BIAS_EXT','%GL_CONVOLUTION_FILTER_SCALE_EXT','%GL_CONVOLUTION_FORMAT_EXT','%GL_CONVOLUTION_HEIGHT_EXT','%GL_CONVOLUTION_WIDTH_EXT','%GL_COPY','%GL_COPY_INVERTED',
415
+                        '%GL_COPY_PIXEL_TOKEN','%GL_CULL_FACE','%GL_CULL_FACE_MODE','%GL_CULL_VERTEX_EXT','%GL_CULL_VERTEX_EYE_POSITION_EXT','%GL_CULL_VERTEX_OBJECT_POSITION_EXT','%GL_CURRENT_BIT','%GL_CURRENT_COLOR',
416
+                        '%GL_CURRENT_INDEX','%GL_CURRENT_NORMAL','%GL_CURRENT_RASTER_COLOR','%GL_CURRENT_RASTER_DISTANCE','%GL_CURRENT_RASTER_INDEX','%GL_CURRENT_RASTER_POSITION','%GL_CURRENT_RASTER_POSITION_VALID','%GL_CURRENT_RASTER_TEXTURE_COORDS',
417
+                        '%GL_CURRENT_SECONDARY_COLOR_EXT','%GL_CURRENT_TEXTURE_COORDS','%GL_CW','%GL_DECAL','%GL_DECR','%GL_DEPTH','%GL_DEPTH_BIAS','%GL_DEPTH_BITS',
418
+                        '%GL_DEPTH_BUFFER_BIT','%GL_DEPTH_CLEAR_VALUE','%GL_DEPTH_COMPONENT','%GL_DEPTH_FUNC','%GL_DEPTH_RANGE','%GL_DEPTH_SCALE','%GL_DEPTH_TEST','%GL_DEPTH_WRITEMASK',
419
+                        '%GL_DIFFUSE','%GL_DITHER','%GL_DOMAIN','%GL_DONT_CARE','%GL_DOUBLE','%GL_DOUBLEBUFFER','%GL_DOUBLE_EXT','%GL_DRAW_BUFFER',
420
+                        '%GL_DRAW_PIXEL_TOKEN','%GL_DST_ALPHA','%GL_DST_COLOR','%GL_EDGE_FLAG','%GL_EDGE_FLAG_ARRAY','%GL_EDGE_FLAG_ARRAY_COUNT_EXT','%GL_EDGE_FLAG_ARRAY_EXT','%GL_EDGE_FLAG_ARRAY_POINTER',
421
+                        '%GL_EDGE_FLAG_ARRAY_POINTER_EXT','%GL_EDGE_FLAG_ARRAY_STRIDE','%GL_EDGE_FLAG_ARRAY_STRIDE_EXT','%GL_EMISSION','%GL_ENABLE_BIT','%GL_EQUAL','%GL_EQUIV','%GL_EVAL_BIT',
422
+                        '%GL_EXP','%GL_EXP2','%GL_EXTENSIONS','%GL_EXT_ABGR','%GL_EXT_BGRA','%GL_EXT_BLEND_COLOR','%GL_EXT_BLEND_MINMAX','%GL_EXT_BLEND_SUBTRACT',
423
+                        '%GL_EXT_CLIP_VOLUME_HINT','%GL_EXT_COLOR_TABLE','%GL_EXT_COMPILED_VERTEX_ARRAY','%GL_EXT_CONVOLUTION','%GL_EXT_CULL_VERTEX','%GL_EXT_HISTOGRAM','%GL_EXT_PACKED_PIXELS','%GL_EXT_PALETTED_TEXTURE',
424
+                        '%GL_EXT_POLYGON_OFFSET','%GL_EXT_SECONDARY_COLOR','%GL_EXT_SEPARATE_SPECULAR_COLOR','%GL_EXT_VERTEX_ARRAY','%GL_EYE_LINEAR','%GL_EYE_PLANE','%GL_FALSE','%GL_FASTEST',
425
+                        '%GL_FEEDBACK','%GL_FEEDBACK_BUFFER_POINTER','%GL_FEEDBACK_BUFFER_SIZE','%GL_FEEDBACK_BUFFER_TYPE','%GL_FILL','%GL_FLAT','%GL_FLOAT','%GL_FOG',
426
+                        '%GL_FOG_BIT','%GL_FOG_COLOR','%GL_FOG_DENSITY','%GL_FOG_END','%GL_FOG_HINT','%GL_FOG_INDEX','%GL_FOG_MODE','%GL_FOG_START',
427
+                        '%GL_FRONT','%GL_FRONT_AND_BACK','%GL_FRONT_FACE','%GL_FRONT_LEFT','%GL_FRONT_RIGHT','%GL_FUNC_ADD_EXT','%GL_FUNC_REVERSE_SUBTRACT_EXT','%GL_FUNC_SUBTRACT_EXT',
428
+                        '%GL_GEQUAL','%GL_GREATER','%GL_GREEN','%GL_GREEN_BIAS','%GL_GREEN_BITS','%GL_GREEN_SCALE','%GL_HINT_BIT','%GL_HISTOGRAM_ALPHA_SIZE_EXT',
429
+                        '%GL_HISTOGRAM_BLUE_SIZE_EXT','%GL_HISTOGRAM_EXT','%GL_HISTOGRAM_FORMAT_EXT','%GL_HISTOGRAM_GREEN_SIZE_EXT','%GL_HISTOGRAM_LUMINANCE_SIZE_EXT','%GL_HISTOGRAM_RED_SIZE_EXT','%GL_HISTOGRAM_SINK_EXT','%GL_HISTOGRAM_WIDTH_EXT',
430
+                        '%GL_INCR','%GL_INDEX_ARRAY','%GL_INDEX_ARRAY_COUNT_EXT','%GL_INDEX_ARRAY_EXT','%GL_INDEX_ARRAY_POINTER','%GL_INDEX_ARRAY_POINTER_EXT','%GL_INDEX_ARRAY_STRIDE','%GL_INDEX_ARRAY_STRIDE_EXT',
431
+                        '%GL_INDEX_ARRAY_TYPE','%GL_INDEX_ARRAY_TYPE_EXT','%GL_INDEX_BITS','%GL_INDEX_CLEAR_VALUE','%GL_INDEX_LOGIC_OP','%GL_INDEX_MODE','%GL_INDEX_OFFSET','%GL_INDEX_SHIFT',
432
+                        '%GL_INDEX_WRITEMASK','%GL_INT','%GL_INTENSITY','%GL_INTENSITY12','%GL_INTENSITY16','%GL_INTENSITY4','%GL_INTENSITY8','%GL_INVALID_ENUM',
433
+                        '%GL_INVALID_OPERATION','%GL_INVALID_VALUE','%GL_INVERT','%GL_KEEP','%GL_LEFT','%GL_LEQUAL','%GL_LESS','%GL_LIGHT0',
434
+                        '%GL_LIGHT1','%GL_LIGHT2','%GL_LIGHT3','%GL_LIGHT4','%GL_LIGHT5','%GL_LIGHT6','%GL_LIGHT7','%GL_LIGHTING',
435
+                        '%GL_LIGHTING_BIT','%GL_LIGHT_MODEL_AMBIENT','%GL_LIGHT_MODEL_COLOR_CONTROL_EXT','%GL_LIGHT_MODEL_LOCAL_VIEWER','%GL_LIGHT_MODEL_TWO_SIDE','%GL_LINE','%GL_LINEAR','%GL_LINEAR_ATTENUATION',
436
+                        '%GL_LINEAR_MIPMAP_LINEAR','%GL_LINEAR_MIPMAP_NEAREST','%GL_LINES','%GL_LINE_BIT','%GL_LINE_LOOP','%GL_LINE_RESET_TOKEN','%GL_LINE_SMOOTH','%GL_LINE_SMOOTH_HINT',
437
+                        '%GL_LINE_STIPPLE','%GL_LINE_STIPPLE_PATTERN','%GL_LINE_STIPPLE_REPEAT','%GL_LINE_STRIP','%GL_LINE_TOKEN','%GL_LINE_WIDTH','%GL_LINE_WIDTH_GRANULARITY','%GL_LINE_WIDTH_RANGE',
438
+                        '%GL_LIST_BASE','%GL_LIST_BIT','%GL_LIST_INDEX','%GL_LIST_MODE','%GL_LOAD','%GL_LOGIC_OP','%GL_LOGIC_OP_MODE','%GL_LUMINANCE',
439
+                        '%GL_LUMINANCE12','%GL_LUMINANCE12_ALPHA12','%GL_LUMINANCE12_ALPHA4','%GL_LUMINANCE16','%GL_LUMINANCE16_ALPHA16','%GL_LUMINANCE4','%GL_LUMINANCE4_ALPHA4','%GL_LUMINANCE6_ALPHA2',
440
+                        '%GL_LUMINANCE8','%GL_LUMINANCE8_ALPHA8','%GL_LUMINANCE_ALPHA','%GL_MAP1_COLOR_4','%GL_MAP1_GRID_DOMAIN','%GL_MAP1_GRID_SEGMENTS','%GL_MAP1_INDEX','%GL_MAP1_NORMAL',
441
+                        '%GL_MAP1_TEXTURE_COORD_1','%GL_MAP1_TEXTURE_COORD_2','%GL_MAP1_TEXTURE_COORD_3','%GL_MAP1_TEXTURE_COORD_4','%GL_MAP1_VERTEX_3','%GL_MAP1_VERTEX_4','%GL_MAP2_COLOR_4','%GL_MAP2_GRID_DOMAIN',
442
+                        '%GL_MAP2_GRID_SEGMENTS','%GL_MAP2_INDEX','%GL_MAP2_NORMAL','%GL_MAP2_TEXTURE_COORD_1','%GL_MAP2_TEXTURE_COORD_2','%GL_MAP2_TEXTURE_COORD_3','%GL_MAP2_TEXTURE_COORD_4','%GL_MAP2_VERTEX_3',
443
+                        '%GL_MAP2_VERTEX_4','%GL_MAP_COLOR','%GL_MAP_STENCIL','%GL_MATRIX_MODE','%GL_MAX_ATTRIB_STACK_DEPTH','%GL_MAX_CLIENT_ATTRIB_STACK_DEPTH','%GL_MAX_CLIP_PLANES','%GL_MAX_CONVOLUTION_HEIGHT_EXT',
444
+                        '%GL_MAX_CONVOLUTION_WIDTH_EXT','%GL_MAX_EVAL_ORDER','%GL_MAX_EXT','%GL_MAX_LIGHTS','%GL_MAX_LIST_NESTING','%GL_MAX_MODELVIEW_STACK_DEPTH','%GL_MAX_NAME_STACK_DEPTH','%GL_MAX_PIXEL_MAP_TABLE',
445
+                        '%GL_MAX_PROJECTION_STACK_DEPTH','%GL_MAX_TEXTURE_SIZE','%GL_MAX_TEXTURE_STACK_DEPTH','%GL_MAX_VIEWPORT_DIMS','%GL_MINMAX_EXT','%GL_MINMAX_FORMAT_EXT','%GL_MINMAX_SINK_EXT','%GL_MIN_EXT',
446
+                        '%GL_MODELVIEW','%GL_MODELVIEW_MATRIX','%GL_MODELVIEW_STACK_DEPTH','%GL_MODULATE','%GL_MULT','%GL_N3F_V3F','%GL_NAME_STACK_DEPTH','%GL_NAND',
447
+                        '%GL_NEAREST','%GL_NEAREST_MIPMAP_LINEAR','%GL_NEAREST_MIPMAP_NEAREST','%GL_NEVER','%GL_NICEST','%GL_NONE','%GL_NOOP','%GL_NOR',
448
+                        '%GL_NORMALIZE','%GL_NORMAL_ARRAY','%GL_NORMAL_ARRAY_COUNT_EXT','%GL_NORMAL_ARRAY_EXT','%GL_NORMAL_ARRAY_POINTER','%GL_NORMAL_ARRAY_POINTER_EXT','%GL_NORMAL_ARRAY_STRIDE','%GL_NORMAL_ARRAY_STRIDE_EXT',
449
+                        '%GL_NORMAL_ARRAY_TYPE','%GL_NORMAL_ARRAY_TYPE_EXT','%GL_NOTEQUAL','%GL_NO_ERROR','%GL_OBJECT_LINEAR','%GL_OBJECT_PLANE','%GL_ONE','%GL_ONE_MINUS_CONSTANT_ALPHA_EXT',
450
+                        '%GL_ONE_MINUS_CONSTANT_COLOR_EXT','%GL_ONE_MINUS_DST_ALPHA','%GL_ONE_MINUS_DST_COLOR','%GL_ONE_MINUS_SRC_ALPHA','%GL_ONE_MINUS_SRC_COLOR','%GL_OR','%GL_ORDER','%GL_OR_INVERTED',
451
+                        '%GL_OR_REVERSE','%GL_OUT_OF_MEMORY','%GL_PACK_ALIGNMENT','%GL_PACK_LSB_FIRST','%GL_PACK_ROW_LENGTH','%GL_PACK_SKIP_PIXELS','%GL_PACK_SKIP_ROWS','%GL_PACK_SWAP_BYTES',
452
+                        '%GL_PASS_THROUGH_TOKEN','%GL_PERSPECTIVE_CORRECTION_HINT','%GL_PIXEL_MAP_A_TO_A','%GL_PIXEL_MAP_A_TO_A_SIZE','%GL_PIXEL_MAP_B_TO_B','%GL_PIXEL_MAP_B_TO_B_SIZE','%GL_PIXEL_MAP_G_TO_G','%GL_PIXEL_MAP_G_TO_G_SIZE',
453
+                        '%GL_PIXEL_MAP_I_TO_A','%GL_PIXEL_MAP_I_TO_A_SIZE','%GL_PIXEL_MAP_I_TO_B','%GL_PIXEL_MAP_I_TO_B_SIZE','%GL_PIXEL_MAP_I_TO_G','%GL_PIXEL_MAP_I_TO_G_SIZE','%GL_PIXEL_MAP_I_TO_I','%GL_PIXEL_MAP_I_TO_I_SIZE',
454
+                        '%GL_PIXEL_MAP_I_TO_R','%GL_PIXEL_MAP_I_TO_R_SIZE','%GL_PIXEL_MAP_R_TO_R','%GL_PIXEL_MAP_R_TO_R_SIZE','%GL_PIXEL_MAP_S_TO_S','%GL_PIXEL_MAP_S_TO_S_SIZE','%GL_PIXEL_MODE_BIT','%GL_POINT',
455
+                        '%GL_POINTS','%GL_POINT_BIT','%GL_POINT_SIZE','%GL_POINT_SIZE_GRANULARITY','%GL_POINT_SIZE_RANGE','%GL_POINT_SMOOTH','%GL_POINT_SMOOTH_HINT','%GL_POINT_TOKEN',
456
+                        '%GL_POLYGON','%GL_POLYGON_BIT','%GL_POLYGON_MODE','%GL_POLYGON_OFFSET_BIAS_EXT','%GL_POLYGON_OFFSET_EXT','%GL_POLYGON_OFFSET_FACTOR','%GL_POLYGON_OFFSET_FACTOR_EXT','%GL_POLYGON_OFFSET_FILL',
457
+                        '%GL_POLYGON_OFFSET_LINE','%GL_POLYGON_OFFSET_POINT','%GL_POLYGON_OFFSET_UNITS','%GL_POLYGON_SMOOTH','%GL_POLYGON_SMOOTH_HINT','%GL_POLYGON_STIPPLE','%GL_POLYGON_STIPPLE_BIT','%GL_POLYGON_TOKEN',
458
+                        '%GL_POSITION','%GL_POST_COLOR_MATRIX_COLOR_TABLE_EXT','%GL_POST_CONVOLUTION_ALPHA_BIAS_EXT','%GL_POST_CONVOLUTION_ALPHA_SCALE_EXT','%GL_POST_CONVOLUTION_BLUE_BIAS_EXT','%GL_POST_CONVOLUTION_BLUE_SCALE_EXT','%GL_POST_CONVOLUTION_COLOR_TABLE_EXT','%GL_POST_CONVOLUTION_GREEN_BIAS_EXT',
459
+                        '%GL_POST_CONVOLUTION_GREEN_SCALE_EXT','%GL_POST_CONVOLUTION_RED_BIAS_EXT','%GL_POST_CONVOLUTION_RED_SCALE_EXT','%GL_PROJECTION','%GL_PROJECTION_MATRIX','%GL_PROJECTION_STACK_DEPTH','%GL_PROXY_COLOR_TABLE_EXT','%GL_PROXY_HISTOGRAM_EXT',
460
+                        '%GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_EXT','%GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_EXT','%GL_PROXY_TEXTURE_1D','%GL_PROXY_TEXTURE_2D','%GL_Q','%GL_QUADRATIC_ATTENUATION','%GL_QUADS','%GL_QUAD_STRIP',
461
+                        '%GL_R','%GL_R3_G3_B2','%GL_READ_BUFFER','%GL_RED','%GL_REDUCE_EXT','%GL_RED_BIAS','%GL_RED_BITS','%GL_RED_SCALE',
462
+                        '%GL_RENDER','%GL_RENDERER','%GL_RENDER_MODE','%GL_REPEAT','%GL_REPLACE','%GL_RETURN','%GL_RGB','%GL_RGB10',
463
+                        '%GL_RGB10_A2','%GL_RGB12','%GL_RGB16','%GL_RGB4','%GL_RGB5','%GL_RGB5_A1','%GL_RGB8','%GL_RGBA',
464
+                        '%GL_RGBA12','%GL_RGBA16','%GL_RGBA2','%GL_RGBA4','%GL_RGBA8','%GL_RGBA_MODE','%GL_RIGHT','%GL_S',
465
+                        '%GL_SCISSOR_BIT','%GL_SCISSOR_BOX','%GL_SCISSOR_TEST','%GL_SECONDARY_COLOR_ARRAY_EXT','%GL_SECONDARY_COLOR_ARRAY_POINTER_EXT','%GL_SECONDARY_COLOR_ARRAY_SIZE_EXT','%GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT','%GL_SECONDARY_COLOR_ARRAY_TYPE_EXT',
466
+                        '%GL_SELECT','%GL_SELECTION_BUFFER_POINTER','%GL_SELECTION_BUFFER_SIZE','%GL_SEPARABLE_2D_EXT','%GL_SEPARATE_SPECULAR_COLOR_EXT','%GL_SET','%GL_SHADE_MODEL','%GL_SHININESS',
467
+                        '%GL_SHORT','%GL_SINGLE_COLOR_EXT','%GL_SMOOTH','%GL_SPECULAR','%GL_SPHERE_MAP','%GL_SPOT_CUTOFF','%GL_SPOT_DIRECTION','%GL_SPOT_EXPONENT',
468
+                        '%GL_SRC_ALPHA','%GL_SRC_ALPHA_SATURATE','%GL_SRC_COLOR','%GL_STACK_OVERFLOW','%GL_STACK_UNDERFLOW','%GL_STENCIL','%GL_STENCIL_BITS','%GL_STENCIL_BUFFER_BIT',
469
+                        '%GL_STENCIL_CLEAR_VALUE','%GL_STENCIL_FAIL','%GL_STENCIL_FUNC','%GL_STENCIL_INDEX','%GL_STENCIL_PASS_DEPTH_FAIL','%GL_STENCIL_PASS_DEPTH_PASS','%GL_STENCIL_REF','%GL_STENCIL_TEST',
470
+                        '%GL_STENCIL_VALUE_MASK','%GL_STENCIL_WRITEMASK','%GL_STEREO','%GL_SUBPIXEL_BITS','%GL_T','%GL_T2F_C3F_V3F','%GL_T2F_C4F_N3F_V3F','%GL_T2F_C4UB_V3F',
471
+                        '%GL_T2F_N3F_V3F','%GL_T2F_V3F','%GL_T4F_C4F_N3F_V4F','%GL_T4F_V4F','%GL_TABLE_TOO_LARGE_EXT','%GL_TEXTURE','%GL_TEXTURE_1D','%GL_TEXTURE_2D',
472
+                        '%GL_TEXTURE_ALPHA_SIZE','%GL_TEXTURE_BINDING_1D','%GL_TEXTURE_BINDING_2D','%GL_TEXTURE_BIT','%GL_TEXTURE_BLUE_SIZE','%GL_TEXTURE_BORDER','%GL_TEXTURE_BORDER_COLOR','%GL_TEXTURE_COMPONENTS',
473
+                        '%GL_TEXTURE_COORD_ARRAY','%GL_TEXTURE_COORD_ARRAY_COUNT_EXT','%GL_TEXTURE_COORD_ARRAY_EXT','%GL_TEXTURE_COORD_ARRAY_POINTER','%GL_TEXTURE_COORD_ARRAY_POINTER_EXT','%GL_TEXTURE_COORD_ARRAY_SIZE','%GL_TEXTURE_COORD_ARRAY_SIZE_EXT','%GL_TEXTURE_COORD_ARRAY_STRIDE',
474
+                        '%GL_TEXTURE_COORD_ARRAY_STRIDE_EXT','%GL_TEXTURE_COORD_ARRAY_TYPE','%GL_TEXTURE_COORD_ARRAY_TYPE_EXT','%GL_TEXTURE_ENV','%GL_TEXTURE_ENV_COLOR','%GL_TEXTURE_ENV_MODE','%GL_TEXTURE_GEN_MODE','%GL_TEXTURE_GEN_Q',
475
+                        '%GL_TEXTURE_GEN_R','%GL_TEXTURE_GEN_S','%GL_TEXTURE_GEN_T','%GL_TEXTURE_GREEN_SIZE','%GL_TEXTURE_HEIGHT','%GL_TEXTURE_INTENSITY_SIZE','%GL_TEXTURE_INTERNAL_FORMAT','%GL_TEXTURE_LUMINANCE_SIZE',
476
+                        '%GL_TEXTURE_MAG_FILTER','%GL_TEXTURE_MATRIX','%GL_TEXTURE_MIN_FILTER','%GL_TEXTURE_PRIORITY','%GL_TEXTURE_RED_SIZE','%GL_TEXTURE_RESIDENT','%GL_TEXTURE_STACK_DEPTH','%GL_TEXTURE_WIDTH',
477
+                        '%GL_TEXTURE_WRAP_S','%GL_TEXTURE_WRAP_T','%GL_TRANSFORM_BIT','%GL_TRIANGLES','%GL_TRIANGLE_FAN','%GL_TRIANGLE_STRIP','%GL_TRUE','%GL_UNPACK_ALIGNMENT',
478
+                        '%GL_UNPACK_LSB_FIRST','%GL_UNPACK_ROW_LENGTH','%GL_UNPACK_SKIP_PIXELS','%GL_UNPACK_SKIP_ROWS','%GL_UNPACK_SWAP_BYTES','%GL_UNSIGNED_BYTE','%GL_UNSIGNED_BYTE_3_3_2_EXT','%GL_UNSIGNED_INT',
479
+                        '%GL_UNSIGNED_INT_10_10_10_2_EXT','%GL_UNSIGNED_INT_8_8_8_8_EXT','%GL_UNSIGNED_SHORT','%GL_UNSIGNED_SHORT_4_4_4_4_EXT','%GL_UNSIGNED_SHORT_5_5_5_1_EXT','%GL_V2F','%GL_V3F','%GL_VENDOR',
480
+                        '%GL_VERSION','%GL_VERSION_1_1','%GL_VERTEX_ARRAY','%GL_VERTEX_ARRAY_COUNT_EXT','%GL_VERTEX_ARRAY_EXT','%GL_VERTEX_ARRAY_POINTER','%GL_VERTEX_ARRAY_POINTER_EXT','%GL_VERTEX_ARRAY_SIZE',
481
+                        '%GL_VERTEX_ARRAY_SIZE_EXT','%GL_VERTEX_ARRAY_STRIDE','%GL_VERTEX_ARRAY_STRIDE_EXT','%GL_VERTEX_ARRAY_TYPE','%GL_VERTEX_ARRAY_TYPE_EXT','%GL_VIEWPORT','%GL_VIEWPORT_BIT','%GL_WIN_SWAP_HINT',
482
+                        '%GL_XOR','%GL_ZERO','%GL_ZOOM_X','%GL_ZOOM_Y','%GRAY','%GREEN','%GWLP_HINSTANCE','%GWLP_HWNDPARENT',
483
+                        '%GWLP_ID','%GWLP_USERDATA','%GWLP_WNDPROC','%GWL_EXSTYLE','%GWL_HINSTANCE','%GWL_HWNDPARENT','%GWL_ID','%GWL_STYLE',
484
+                        '%GWL_USERDATA','%GWL_WNDPROC','%HDM_FIRST','%HTCAPTION','%HWND_BOTTOM','%HWND_DESKTOP','%HWND_MESSAGE','%HWND_NOTOPMOST',
485
+                        '%HWND_TOP','%HWND_TOPMOST','%ICRYPTO_XOR_DECREASE','%ICRYPTO_XOR_INCREASE','%ICRYPTO_XOR_NORMAL','%IDABORT','%IDCANCEL','%IDCONTINUE',
486
+                        '%IDIGNORE','%IDNO','%IDOK','%IDRETRY','%IDTIMEOUT','%IDTRYAGAIN','%IDYES','%INTERNET_CONNECTION_CONFIGURED',
487
+                        '%INTERNET_CONNECTION_LAN','%INTERNET_CONNECTION_MODEM','%INTERNET_CONNECTION_MODEM_BUSY','%INTERNET_CONNECTION_OFFLINE','%INTERNET_CONNECTION_PROXY','%INTERNET_RAS_INSTALLED','%LBN_DBLCLK','%LBN_KILLFOCUS',
488
+                        '%LBN_SELCANCEL','%LBN_SELCHANGE','%LBN_SETFOCUS','%LBS_DISABLENOSCROLL','%LBS_EXTENDEDSEL','%LBS_MULTICOLUMN','%LBS_MULTIPLESEL','%LBS_NOINTEGRALHEIGHT',
489
+                        '%LBS_NOSEL','%LBS_NOTIFY','%LBS_SORT','%LBS_STANDARD','%LBS_USETABSTOPS','%LB_ADDFILE','%LB_ADDSTRING','%LB_DELETESTRING',
490
+                        '%LB_DIR','%LB_FINDSTRING','%LB_FINDSTRINGEXACT','%LB_GETANCHORINDEX','%LB_GETCARETINDEX','%LB_GETCOUNT','%LB_GETCURSEL','%LB_GETHORIZONTALEXTENT',
491
+                        '%LB_GETITEMDATA','%LB_GETITEMHEIGHT','%LB_GETITEMRECT','%LB_GETLISTBOXINFO','%LB_GETLOCALE','%LB_GETSEL','%LB_GETSELCOUNT','%LB_GETSELITEMS',
492
+                        '%LB_GETTEXT','%LB_GETTEXTLEN','%LB_GETTOPINDEX','%LB_INITSTORAGE','%LB_INSERTSTRING','%LB_ITEMFROMPOINT','%LB_MULTIPLEADDSTRING','%LB_RESETCONTENT',
493
+                        '%LB_SELECTSTRING','%LB_SELITEMRANGE','%LB_SELITEMRANGEEX','%LB_SETANCHORINDEX','%LB_SETCARETINDEX','%LB_SETCOLUMNWIDTH','%LB_SETCOUNT','%LB_SETCURSEL',
494
+                        '%LB_SETHORIZONTALEXTENT','%LB_SETITEMDATA','%LB_SETITEMHEIGHT','%LB_SETLOCALE','%LB_SETSEL','%LB_SETTABSTOPS','%LB_SETTOPINDEX','%LF_FACESIZE',
495
+                        '%LTGRAY','%LVM_FIRST','%LWA_ALPHA','%LWA_COLORKEY','%MAGENTA','%MAXBYTE','%MAXCHAR','%MAXDWORD',
496
+                        '%MAXSHORT','%MAXWORD','%MAX_PATH','%MB_ABORTRETRYIGNORE','%MB_APPLMODAL','%MB_CANCELTRYCONTINUE','%MB_DEFBUTTON1','%MB_DEFBUTTON2',
497
+                        '%MB_DEFBUTTON3','%MB_HELP','%MB_ICONASTERISK','%MB_ICONERROR','%MB_ICONEXCLAMATION','%MB_ICONHAND','%MB_ICONINFORMATION','%MB_ICONQUESTION',
498
+                        '%MB_ICONSTOP','%MB_ICONWARNING','%MB_OK','%MB_OKCANCEL','%MB_RETRYCANCEL','%MB_SIMPLE','%MB_SYSTEMMODAL','%MB_TOPMOST',
499
+                        '%MB_YESNO','%MB_YESNOCANCEL','%MF_CHECKED','%MF_DISABLED','%MF_ENABLED','%MF_GRAYED','%MF_SEPARATOR','%MF_UNCHECKED',
500
+                        '%MINCHAR','%MINLONG','%MINSHORT','%NULL','%ODBC352_INC','%ODBCVER','%ODBC_ADD_DSN','%ODBC_ADD_SYS_DSN',
501
+                        '%ODBC_BOTH_DSN','%ODBC_CONFIG_DRIVER','%ODBC_CONFIG_DRIVER_MAX','%ODBC_CONFIG_DSN','%ODBC_CONFIG_SYS_DSN','%ODBC_DRIVER_VERSION','%ODBC_ERROR_COMPONENT_NOT_FOUND','%ODBC_ERROR_CREATE_DSN_FAILED',
502
+                        '%ODBC_ERROR_GENERAL_ERR','%ODBC_ERROR_INVALID_BUFF_LEN','%ODBC_ERROR_INVALID_DSN','%ODBC_ERROR_INVALID_HWND','%ODBC_ERROR_INVALID_INF','%ODBC_ERROR_INVALID_KEYWORD_VALUE','%ODBC_ERROR_INVALID_LOG_FILE','%ODBC_ERROR_INVALID_NAME',
503
+                        '%ODBC_ERROR_INVALID_PARAM_SEQUENCE','%ODBC_ERROR_INVALID_PATH','%ODBC_ERROR_INVALID_REQUEST_TYPE','%ODBC_ERROR_INVALID_STR','%ODBC_ERROR_LOAD_LIB_FAILED','%ODBC_ERROR_OUTPUT_STRING_TRUNCATED','%ODBC_ERROR_OUT_OF_MEM','%ODBC_ERROR_REMOVE_DSN_FAILED',
504
+                        '%ODBC_ERROR_REQUEST_FAILED','%ODBC_ERROR_USAGE_UPDATE_FAILED','%ODBC_ERROR_USER_CANCELED','%ODBC_ERROR_WRITING_SYSINFO_FAILED','%ODBC_INSTALL_COMPLETE','%ODBC_INSTALL_DRIVER','%ODBC_INSTALL_INQUIRY','%ODBC_REMOVE_DEFAULT_DSN',
505
+                        '%ODBC_REMOVE_DRIVER','%ODBC_REMOVE_DSN','%ODBC_REMOVE_SYS_DSN','%ODBC_SYSTEM_DSN','%ODBC_USER_DSN','%OFN_ALLOWMULTISELECT','%OFN_CREATEPROMPT','%OFN_ENABLEHOOK',
506
+                        '%OFN_ENABLEINCLUDENOTIFY','%OFN_ENABLESIZING','%OFN_ENABLETEMPLATE','%OFN_ENABLETEMPLATEHANDLE','%OFN_EXPLORER','%OFN_EXTENSIONDIFFERENT','%OFN_FILEMUSTEXIST','%OFN_HIDEREADONLY',
507
+                        '%OFN_LONGNAMES','%OFN_NOCHANGEDIR','%OFN_NODEREFERENCELINKS','%OFN_NOLONGNAMES','%OFN_NONETWORKBUTTON','%OFN_NOREADONLYRETURN','%OFN_NOTESTFILECREATE','%OFN_NOVALIDATE',
508
+                        '%OFN_OVERWRITEPROMPT','%OFN_PATHMUSTEXIST','%OFN_READONLY','%OFN_SHAREAWARE','%OFN_SHOWHELP','%OS_ERROR_CALLFUNCTION','%OS_ERROR_EMPTYSTRING','%OS_ERROR_LOADLIBRARY',
509
+                        '%OS_ERROR_SUCCESS','%OS_ERROR_WRONGPARAMETER','%OS_SHELL_ASYNC','%OS_SHELL_SYNC','%OS_WINDOWS_2K','%OS_WINDOWS_95','%OS_WINDOWS_95_OSR2','%OS_WINDOWS_98',
510
+                        '%OS_WINDOWS_98_SE','%OS_WINDOWS_ME','%OS_WINDOWS_NT','%OS_WINDOWS_SERVER_2003','%OS_WINDOWS_SERVER_LONGHORN','%OS_WINDOWS_SERVER_LONGHORN_DC','%OS_WINDOWS_VISTA','%OS_WINDOWS_XP',
511
+                        '%OS_WNDSTYLE_HIDE','%OS_WNDSTYLE_MAXIMIZED','%OS_WNDSTYLE_MINIMIZED','%OS_WNDSTYLE_MINIMIZEDNOFOCUS','%OS_WNDSTYLE_NORMAL','%OS_WNDSTYLE_NORMALNOFOCUS','%PATH_EXT','%PATH_FILE',
512
+                        '%PATH_FILEEXT','%PATH_ROOT','%PATH_ROOTPATH','%PATH_ROOTPATHPROG','%PATH_ROOTPATHPROGEXT','%PBM_DELTAPOS','%PBM_GETPOS','%PBM_GETRANGE',
513
+                        '%PBM_SETBARCOLOR','%PBM_SETBKCOLOR','%PBM_SETPOS','%PBM_SETRANGE','%PBM_SETRANGE32','%PBM_SETSTEP','%PBM_STEPIT','%PBS_SMOOTH',
514
+                        '%PBS_VERTICAL','%PC_DISABLEWAKEEVENT_OFF','%PC_DISABLEWAKEEVENT_ON','%PC_EB_NOCONFIRMATION','%PC_EB_NOPROGRESSUI','%PC_EB_NORMAL','%PC_EB_NOSOUND','%PC_FORCECRITICAL_OFF',
515
+                        '%PC_FORCECRITICAL_ON','%PC_HIBERNATE_OFF','%PC_HIBERNATE_ON','%PC_RD_FORCE','%PC_RD_FORCEIFHUNG','%PC_RD_LOGOFF','%PC_RD_POWEROFF','%PC_RD_REBOOT',
516
+                        '%PC_RD_SHUTDOWN','%PC_SD_DONOT_FORCE','%PC_SD_DONOT_REBOOT','%PC_SD_FORCE','%PC_SD_REBOOT','%PFA_CENTER','%PFA_LEFT','%PFA_RIGHT',
517
+                        '%PF_3DNOW_INSTRUCTIONS_AVAILABLE','%PF_CHANNELS_ENABLED','%PF_COMPARE64_EXCHANGE128','%PF_COMPARE_EXCHANGE128','%PF_COMPARE_EXCHANGE_DOUBLE','%PF_FLOATING_POINT_EMULATED','%PF_FLOATING_POINT_PRECISION_ERRATA','%PF_MMX_INSTRUCTIONS_AVAILABLE',
518
+                        '%PF_NX_ENABLED','%PF_PAE_ENABLED','%PF_RDTSC_INSTRUCTION_AVAILABLE','%PF_SSE3_INSTRUCTIONS_AVAILABLE','%PF_XMMI64_INSTRUCTIONS_AVAILABLE','%PF_XMMI_INSTRUCTIONS_AVAILABLE','%PGM_FIRST','%RED',
519
+                        '%RTF_UBB','%SAPI_SVSFDEFAULT','%SAPI_SVSFISFILENAME','%SAPI_SVSFISNOTXML','%SAPI_SVSFISXML','%SAPI_SVSFLAGSASYNC','%SAPI_SVSFNLPMASK','%SAPI_SVSFNLPSPEAKPUNC',
520
+                        '%SAPI_SVSFPERSISTXML','%SAPI_SVSFPURGEBEFORESPEAK','%SAPI_SVSFUNUSEDFLAGS','%SAPI_SVSFVOICEMASK','%SBS_SIZEGRIP','%SB_BOTTOM','%SB_ENDSCROLL','%SB_LEFT',
521
+                        '%SB_LINEDOWN','%SB_LINELEFT','%SB_LINERIGHT','%SB_LINEUP','%SB_PAGEDOWN','%SB_PAGELEFT','%SB_PAGERIGHT','%SB_PAGEUP',
522
+                        '%SB_RIGHT','%SB_SETPARTS','%SB_SETTEXT','%SB_THUMBPOSITION','%SB_THUMBTRACK','%SB_TOP','%SCF_ALL','%SCF_ASSOCIATEFONT',
523
+                        '%SCF_DEFAULT','%SCF_NOKBUPDATE','%SCF_SELECTION','%SCF_USEUIRULES','%SCF_WORD','%SC_CLOSE','%SC_CONTEXTHELP','%SC_HOTKEY',
524
+                        '%SC_HSCROLL','%SC_KEYMENU','%SC_MAXIMIZE','%SC_MINIMIZE','%SC_MONITORPOWER','%SC_MOUSEMENU','%SC_MOVE','%SC_NEXTWINDOW',
525
+                        '%SC_PREVWINDOW','%SC_RESTORE','%SC_SCREENSAVE','%SC_SIZE','%SC_TASKLIST','%SC_VSCROLL','%SERVICE_ACTIVE','%SERVICE_AUTO_START',
526
+                        '%SERVICE_BOOT_START','%SERVICE_CONTINUE_PENDING','%SERVICE_DEMAND_START','%SERVICE_DISABLED','%SERVICE_DRIVER','%SERVICE_INACTIVE','%SERVICE_INFO_DISPLAY_NAME','%SERVICE_INFO_NAME',
527
+                        '%SERVICE_PAUSED','%SERVICE_PAUSE_PENDING','%SERVICE_RUNNING','%SERVICE_START_PENDING','%SERVICE_STATE_ALL','%SERVICE_STOPPED','%SERVICE_STOP_PENDING','%SERVICE_SYSTEM_START',
528
+                        '%SERVICE_TYPE_ALL','%SERVICE_WIN32','%SES_ALLOWBEEPS','%SES_BEEPONMAXTEXT','%SES_BIDI','%SES_EMULATE10','%SES_EMULATESYSEDIT','%SES_EXTENDBACKCOLOR',
529
+                        '%SES_LOWERCASE','%SES_MAPCPS','%SES_NOIME','%SES_NOINPUTSEQUENCECHK','%SES_SCROLLONKILLFOCUS','%SES_UPPERCASE','%SES_USEAIMM','%SES_USECRLF',
530
+                        '%SES_XLTCRCRLFTOCR','%SF_RTF','%SF_TEXT','%SMTP_SET_ATTACH_CONTENT_TYPE','%SMTP_SET_CONTENT_TYPE_PREFIX','%SQL_AA_FALSE','%SQL_AA_TRUE','%SQL_ACCESSIBLE_PROCEDURES',
531
+                        '%SQL_ACCESSIBLE_TABLES','%SQL_ACCESS_MODE','%SQL_ACTIVE_CONNECTIONS','%SQL_ACTIVE_ENVIRONMENTS','%SQL_ACTIVE_STATEMENTS','%SQL_ADD','%SQL_AD_ADD_CONSTRAINT_DEFERRABLE','%SQL_AD_ADD_CONSTRAINT_INITIALLY_DEFERRED',
532
+                        '%SQL_AD_ADD_CONSTRAINT_INITIALLY_IMMEDIATE','%SQL_AD_ADD_CONSTRAINT_NON_DEFERRABLE','%SQL_AD_ADD_DOMAIN_CONSTRAINT','%SQL_AD_ADD_DOMAIN_DEFAULT','%SQL_AD_CONSTRAINT_NAME_DEFINITION','%SQL_AD_DROP_DOMAIN_CONSTRAINT','%SQL_AD_DROP_DOMAIN_DEFAULT','%SQL_AF_ALL',
533
+                        '%SQL_AF_AVG','%SQL_AF_COUNT','%SQL_AF_DISTINCT','%SQL_AF_MAX','%SQL_AF_MIN','%SQL_AF_SUM','%SQL_AGGREGATE_FUNCTIONS','%SQL_ALL_EXCEPT_LIKE',
534
+                        '%SQL_ALL_TYPES','%SQL_ALTER_DOMAIN','%SQL_ALTER_TABLE','%SQL_AM_CONNECTION','%SQL_AM_NONE','%SQL_AM_STATEMENT','%SQL_API_ALL_FUNCTIONS','%SQL_API_LOADBYORDINAL',
535
+                        '%SQL_API_ODBC3_ALL_FUNCTIONS','%SQL_API_ODBC3_ALL_FUNCTIONS_SIZE','%SQL_API_SQLALLOCCONNECT','%SQL_API_SQLALLOCENV','%SQL_API_SQLALLOCHANDLE','%SQL_API_SQLALLOCHANDLESTD','%SQL_API_SQLALLOCSTMT','%SQL_API_SQLBINDCOL',
536
+                        '%SQL_API_SQLBINDPARAM','%SQL_API_SQLBINDPARAMETER','%SQL_API_SQLBROWSECONNECT','%SQL_API_SQLBULKOPERATIONS','%SQL_API_SQLCANCEL','%SQL_API_SQLCLOSECURSOR','%SQL_API_SQLCOLATTRIBUTE','%SQL_API_SQLCOLATTRIBUTES',
537
+                        '%SQL_API_SQLCOLUMNPRIVILEGES','%SQL_API_SQLCOLUMNS','%SQL_API_SQLCONNECT','%SQL_API_SQLCOPYDESC','%SQL_API_SQLDATASOURCES','%SQL_API_SQLDESCRIBECOL','%SQL_API_SQLDESCRIBEPARAM','%SQL_API_SQLDISCONNECT',
538
+                        '%SQL_API_SQLDRIVERCONNECT','%SQL_API_SQLDRIVERS','%SQL_API_SQLENDTRAN','%SQL_API_SQLERROR','%SQL_API_SQLEXECDIRECT','%SQL_API_SQLEXECUTE','%SQL_API_SQLEXTENDEDFETCH','%SQL_API_SQLFETCH',
539
+                        '%SQL_API_SQLFETCHSCROLL','%SQL_API_SQLFOREIGNKEYS','%SQL_API_SQLFREECONNECT','%SQL_API_SQLFREEENV','%SQL_API_SQLFREEHANDLE','%SQL_API_SQLFREESTMT','%SQL_API_SQLGETCONNECTATTR','%SQL_API_SQLGETCONNECTOPTION',
540
+                        '%SQL_API_SQLGETCURSORNAME','%SQL_API_SQLGETDATA','%SQL_API_SQLGETDESCFIELD','%SQL_API_SQLGETDESCREC','%SQL_API_SQLGETDIAGFIELD','%SQL_API_SQLGETDIAGREC','%SQL_API_SQLGETENVATTR','%SQL_API_SQLGETFUNCTIONS',
541
+                        '%SQL_API_SQLGETINFO','%SQL_API_SQLGETSTMTATTR','%SQL_API_SQLGETSTMTOPTION','%SQL_API_SQLGETTYPEINFO','%SQL_API_SQLMORERESULTS','%SQL_API_SQLNATIVESQL','%SQL_API_SQLNUMPARAMS','%SQL_API_SQLNUMRESULTCOLS',
542
+                        '%SQL_API_SQLPARAMDATA','%SQL_API_SQLPARAMOPTIONS','%SQL_API_SQLPREPARE','%SQL_API_SQLPRIMARYKEYS','%SQL_API_SQLPROCEDURECOLUMNS','%SQL_API_SQLPROCEDURES','%SQL_API_SQLPUTDATA','%SQL_API_SQLROWCOUNT',
543
+                        '%SQL_API_SQLSETCONNECTATTR','%SQL_API_SQLSETCONNECTOPTION','%SQL_API_SQLSETCURSORNAME','%SQL_API_SQLSETDESCFIELD','%SQL_API_SQLSETDESCREC','%SQL_API_SQLSETENVATTR','%SQL_API_SQLSETPARAM','%SQL_API_SQLSETPOS',
544
+                        '%SQL_API_SQLSETSCROLLOPTIONS','%SQL_API_SQLSETSTMTATTR','%SQL_API_SQLSETSTMTOPTION','%SQL_API_SQLSPECIALCOLUMNS','%SQL_API_SQLSTATISTICS','%SQL_API_SQLTABLEPRIVILEGES','%SQL_API_SQLTABLES','%SQL_API_SQLTRANSACT',
545
+                        '%SQL_ARD_TYPE','%SQL_ASYNC_ENABLE','%SQL_ASYNC_ENABLE_DEFAULT','%SQL_ASYNC_ENABLE_OFF','%SQL_ASYNC_ENABLE_ON','%SQL_ASYNC_MODE','%SQL_ATTR_ACCESS_MODE','%SQL_ATTR_ANSI_APP',
546
+                        '%SQL_ATTR_APP_PARAM_DESC','%SQL_ATTR_APP_ROW_DESC','%SQL_ATTR_ASYNC_ENABLE','%SQL_ATTR_AUTOCOMMIT','%SQL_ATTR_AUTO_IPD','%SQL_ATTR_CONCURRENCY','%SQL_ATTR_CONNECTION_DEAD','%SQL_ATTR_CONNECTION_POOLING',
547
+                        '%SQL_ATTR_CONNECTION_TIMEOUT','%SQL_ATTR_CP_MATCH','%SQL_ATTR_CURRENT_CATALOG','%SQL_ATTR_CURSOR_SCROLLABLE','%SQL_ATTR_CURSOR_SENSITIVITY','%SQL_ATTR_CURSOR_TYPE','%SQL_ATTR_DISCONNECT_BEHAVIOR','%SQL_ATTR_ENABLE_AUTO_IPD',
548
+                        '%SQL_ATTR_ENLIST_IN_DTC','%SQL_ATTR_ENLIST_IN_XA','%SQL_ATTR_FETCH_BOOKMARK_PTR','%SQL_ATTR_IMP_PARAM_DESC','%SQL_ATTR_IMP_ROW_DESC','%SQL_ATTR_KEYSET_SIZE','%SQL_ATTR_LOGIN_TIMEOUT','%SQL_ATTR_MAX_LENGTH',
549
+                        '%SQL_ATTR_MAX_ROWS','%SQL_ATTR_METADATA_ID','%SQL_ATTR_NOSCAN','%SQL_ATTR_ODBC_CURSORS','%SQL_ATTR_ODBC_VERSION','%SQL_ATTR_OUTPUT_NTS','%SQL_ATTR_PACKET_SIZE','%SQL_ATTR_PARAMSET_SIZE',
550
+                        '%SQL_ATTR_PARAMS_PROCESSED_PTR','%SQL_ATTR_PARAM_BIND_OFFSET_PTR','%SQL_ATTR_PARAM_BIND_TYPE','%SQL_ATTR_PARAM_OPERATION_PTR','%SQL_ATTR_PARAM_STATUS_PTR','%SQL_ATTR_QUERY_TIMEOUT','%SQL_ATTR_QUIET_MODE','%SQL_ATTR_READONLY',
551
+                        '%SQL_ATTR_READWRITE_UNKNOWN','%SQL_ATTR_RETRIEVE_DATA','%SQL_ATTR_ROWS_FETCHED_PTR','%SQL_ATTR_ROW_ARRAY_SIZE','%SQL_ATTR_ROW_BIND_OFFSET_PTR','%SQL_ATTR_ROW_BIND_TYPE','%SQL_ATTR_ROW_NUMBER','%SQL_ATTR_ROW_OPERATION_PTR',
552
+                        '%SQL_ATTR_ROW_STATUS_PTR','%SQL_ATTR_SIMULATE_CURSOR','%SQL_ATTR_TRACE','%SQL_ATTR_TRACEFILE','%SQL_ATTR_TRANSLATE_LIB','%SQL_ATTR_TRANSLATE_OPTION','%SQL_ATTR_TXN_ISOLATION','%SQL_ATTR_USE_BOOKMARKS',
553
+                        '%SQL_ATTR_WRITE','%SQL_AT_ADD_COLUMN','%SQL_AT_ADD_COLUMN_COLLATION','%SQL_AT_ADD_COLUMN_DEFAULT','%SQL_AT_ADD_COLUMN_SINGLE','%SQL_AT_ADD_CONSTRAINT','%SQL_AT_ADD_TABLE_CONSTRAINT','%SQL_AT_CONSTRAINT_DEFERRABLE',
554
+                        '%SQL_AT_CONSTRAINT_INITIALLY_DEFERRED','%SQL_AT_CONSTRAINT_INITIALLY_IMMEDIATE','%SQL_AT_CONSTRAINT_NAME_DEFINITION','%SQL_AT_CONSTRAINT_NON_DEFERRABLE','%SQL_AT_DROP_COLUMN','%SQL_AT_DROP_COLUMN_CASCADE','%SQL_AT_DROP_COLUMN_DEFAULT','%SQL_AT_DROP_COLUMN_RESTRICT',
555
+                        '%SQL_AT_DROP_TABLE_CONSTRAINT_CASCADE','%SQL_AT_DROP_TABLE_CONSTRAINT_RESTRICT','%SQL_AT_SET_COLUMN_DEFAULT','%SQL_AUTOCOMMIT','%SQL_AUTOCOMMIT_DEFAULT','%SQL_AUTOCOMMIT_OFF','%SQL_AUTOCOMMIT_ON','%SQL_BATCH_ROW_COUNT',
556
+                        '%SQL_BATCH_SUPPORT','%SQL_BEST_ROWID','%SQL_BIGINT','%SQL_BINARY','%SQL_BIND_BY_COLUMN','%SQL_BIND_TYPE','%SQL_BIND_TYPE_DEFAULT','%SQL_BIT',
557
+                        '%SQL_BOOKMARK_PERSISTENCE','%SQL_BP_CLOSE','%SQL_BP_DELETE','%SQL_BP_DROP','%SQL_BP_OTHER_HSTMT','%SQL_BP_SCROLL','%SQL_BP_TRANSACTION','%SQL_BP_UPDATE',
558
+                        '%SQL_BRC_EXPLICIT','%SQL_BRC_PROCEDURES','%SQL_BRC_ROLLED_UP','%SQL_BS_ROW_COUNT_EXPLICIT','%SQL_BS_ROW_COUNT_PROC','%SQL_BS_SELECT_EXPLICIT','%SQL_BS_SELECT_PROC','%SQL_CA1_ABSOLUTE',
559
+                        '%SQL_CA1_BOOKMARK','%SQL_CA1_BULK_ADD','%SQL_CA1_BULK_DELETE_BY_BOOKMARK','%SQL_CA1_BULK_FETCH_BY_BOOKMARK','%SQL_CA1_BULK_UPDATE_BY_BOOKMARK','%SQL_CA1_LOCK_EXCLUSIVE','%SQL_CA1_LOCK_NO_CHANGE','%SQL_CA1_LOCK_UNLOCK',
560
+                        '%SQL_CA1_NEXT','%SQL_CA1_POSITIONED_DELETE','%SQL_CA1_POSITIONED_UPDATE','%SQL_CA1_POS_DELETE','%SQL_CA1_POS_POSITION','%SQL_CA1_POS_REFRESH','%SQL_CA1_POS_UPDATE','%SQL_CA1_RELATIVE',
561
+                        '%SQL_CA1_SELECT_FOR_UPDATE','%SQL_CA2_CRC_APPROXIMATE','%SQL_CA2_CRC_EXACT','%SQL_CA2_LOCK_CONCURRENCY','%SQL_CA2_MAX_ROWS_AFFECTS_ALL','%SQL_CA2_MAX_ROWS_CATALOG','%SQL_CA2_MAX_ROWS_DELETE','%SQL_CA2_MAX_ROWS_INSERT',
562
+                        '%SQL_CA2_MAX_ROWS_SELECT','%SQL_CA2_MAX_ROWS_UPDATE','%SQL_CA2_OPT_ROWVER_CONCURRENCY','%SQL_CA2_OPT_VALUES_CONCURRENCY','%SQL_CA2_READ_ONLY_CONCURRENCY','%SQL_CA2_SENSITIVITY_ADDITIONS','%SQL_CA2_SENSITIVITY_DELETIONS','%SQL_CA2_SENSITIVITY_UPDATES',
563
+                        '%SQL_CA2_SIMULATE_NON_UNIQUE','%SQL_CA2_SIMULATE_TRY_UNIQUE','%SQL_CA2_SIMULATE_UNIQUE','%SQL_CASCADE','%SQL_CATALOG_LOCATION','%SQL_CATALOG_NAME','%SQL_CATALOG_NAME_SEPARATOR','%SQL_CATALOG_TERM',
564
+                        '%SQL_CATALOG_USAGE','%SQL_CA_CONSTRAINT_DEFERRABLE','%SQL_CA_CONSTRAINT_INITIALLY_DEFERRED','%SQL_CA_CONSTRAINT_INITIALLY_IMMEDIATE','%SQL_CA_CONSTRAINT_NON_DEFERRABLE','%SQL_CA_CREATE_ASSERTION','%SQL_CB_CLOSE','%SQL_CB_DELETE',
565
+                        '%SQL_CB_NON_NULL','%SQL_CB_NULL','%SQL_CB_PRESERVE','%SQL_CCOL_CREATE_COLLATION','%SQL_CCS_COLLATE_CLAUSE','%SQL_CCS_CREATE_CHARACTER_SET','%SQL_CCS_LIMITED_COLLATION','%SQL_CC_CLOSE',
566
+                        '%SQL_CC_DELETE','%SQL_CC_PRESERVE','%SQL_CDO_COLLATION','%SQL_CDO_CONSTRAINT','%SQL_CDO_CONSTRAINT_DEFERRABLE','%SQL_CDO_CONSTRAINT_INITIALLY_DEFERRED','%SQL_CDO_CONSTRAINT_INITIALLY_IMMEDIATE','%SQL_CDO_CONSTRAINT_NAME_DEFINITION',
567
+                        '%SQL_CDO_CONSTRAINT_NON_DEFERRABLE','%SQL_CDO_CREATE_DOMAIN','%SQL_CDO_DEFAULT','%SQL_CD_FALSE','%SQL_CD_TRUE','%SQL_CHAR','%SQL_CLOSE','%SQL_CL_END',
568
+                        '%SQL_CL_START','%SQL_CN_ANY','%SQL_CN_DIFFERENT','%SQL_CN_NONE','%SQL_CODE_DATE','%SQL_CODE_DAY','%SQL_CODE_DAY_TO_HOUR','%SQL_CODE_DAY_TO_MINUTE',
569
+                        '%SQL_CODE_DAY_TO_SECOND','%SQL_CODE_HOUR','%SQL_CODE_HOUR_TO_MINUTE','%SQL_CODE_HOUR_TO_SECOND','%SQL_CODE_MINUTE','%SQL_CODE_MINUTE_TO_SECOND','%SQL_CODE_MONTH','%SQL_CODE_SECOND',
570
+                        '%SQL_CODE_TIME','%SQL_CODE_TIMESTAMP','%SQL_CODE_YEAR','%SQL_CODE_YEAR_TO_MONTH','%SQL_COLATT_OPT_MAX','%SQL_COLATT_OPT_MIN','%SQL_COLLATION_SEQ','%SQL_COLUMN_ALIAS',
571
+                        '%SQL_COLUMN_AUTO_INCREMENT','%SQL_COLUMN_CASE_SENSITIVE','%SQL_COLUMN_COUNT','%SQL_COLUMN_DISPLAY_SIZE','%SQL_COLUMN_IGNORE','%SQL_COLUMN_LABEL','%SQL_COLUMN_LENGTH','%SQL_COLUMN_MONEY',
572
+                        '%SQL_COLUMN_NAME','%SQL_COLUMN_NULLABLE','%SQL_COLUMN_NUMBER_UNKNOWN','%SQL_COLUMN_OWNER_NAME','%SQL_COLUMN_PRECISION','%SQL_COLUMN_QUALIFIER_NAME','%SQL_COLUMN_SCALE','%SQL_COLUMN_SEARCHABLE',
573
+                        '%SQL_COLUMN_TABLE_NAME','%SQL_COLUMN_TYPE','%SQL_COLUMN_TYPE_NAME','%SQL_COLUMN_UNSIGNED','%SQL_COLUMN_UPDATABLE','%SQL_COL_PRED_BASIC','%SQL_COL_PRED_CHAR','%SQL_COMMIT',
574
+                        '%SQL_CONCAT_NULL_BEHAVIOR','%SQL_CONCURRENCY','%SQL_CONCUR_DEFAULT','%SQL_CONCUR_LOCK','%SQL_CONCUR_READ_ONLY','%SQL_CONCUR_ROWVER','%SQL_CONCUR_TIMESTAMP','%SQL_CONCUR_VALUES',
575
+                        '%SQL_CONVERT_BIGINT','%SQL_CONVERT_BINARY','%SQL_CONVERT_BIT','%SQL_CONVERT_CHAR','%SQL_CONVERT_DATE','%SQL_CONVERT_DECIMAL','%SQL_CONVERT_DOUBLE','%SQL_CONVERT_FLOAT',
576
+                        '%SQL_CONVERT_FUNCTIONS','%SQL_CONVERT_GUID','%SQL_CONVERT_INTEGER','%SQL_CONVERT_INTERVAL_DAY_TIME','%SQL_CONVERT_INTERVAL_YEAR_MONTH','%SQL_CONVERT_LONGVARBINARY','%SQL_CONVERT_LONGVARCHAR','%SQL_CONVERT_NUMERIC',
577
+                        '%SQL_CONVERT_REAL','%SQL_CONVERT_SMALLINT','%SQL_CONVERT_TIME','%SQL_CONVERT_TIMESTAMP','%SQL_CONVERT_TINYINT','%SQL_CONVERT_VARBINARY','%SQL_CONVERT_VARCHAR','%SQL_CONVERT_WCHAR',
578
+                        '%SQL_CONVERT_WLONGVARCHAR','%SQL_CONVERT_WVARCHAR','%SQL_CORRELATION_NAME','%SQL_CP_DEFAULT','%SQL_CP_MATCH_DEFAULT','%SQL_CP_OFF','%SQL_CP_ONE_PER_DRIVER','%SQL_CP_ONE_PER_HENV',
579
+                        '%SQL_CP_RELAXED_MATCH','%SQL_CP_STRICT_MATCH','%SQL_CREATE_ASSERTION','%SQL_CREATE_CHARACTER_SET','%SQL_CREATE_COLLATION','%SQL_CREATE_DOMAIN','%SQL_CREATE_SCHEMA','%SQL_CREATE_TABLE',
580
+                        '%SQL_CREATE_TRANSLATION','%SQL_CREATE_VIEW','%SQL_CR_CLOSE','%SQL_CR_DELETE','%SQL_CR_PRESERVE','%SQL_CS_AUTHORIZATION','%SQL_CS_CREATE_SCHEMA','%SQL_CS_DEFAULT_CHARACTER_SET',
581
+                        '%SQL_CTR_CREATE_TRANSLATION','%SQL_CT_COLUMN_COLLATION','%SQL_CT_COLUMN_CONSTRAINT','%SQL_CT_COLUMN_DEFAULT','%SQL_CT_COMMIT_DELETE','%SQL_CT_COMMIT_PRESERVE','%SQL_CT_CONSTRAINT_DEFERRABLE','%SQL_CT_CONSTRAINT_INITIALLY_DEFERRED',
582
+                        '%SQL_CT_CONSTRAINT_INITIALLY_IMMEDIATE','%SQL_CT_CONSTRAINT_NAME_DEFINITION','%SQL_CT_CONSTRAINT_NON_DEFERRABLE','%SQL_CT_CREATE_TABLE','%SQL_CT_GLOBAL_TEMPORARY','%SQL_CT_LOCAL_TEMPORARY','%SQL_CT_TABLE_CONSTRAINT','%SQL_CURRENT_QUALIFIER',
583
+                        '%SQL_CURSOR_COMMIT_BEHAVIOR','%SQL_CURSOR_DYNAMIC','%SQL_CURSOR_FORWARD_ONLY','%SQL_CURSOR_KEYSET_DRIVEN','%SQL_CURSOR_ROLLBACK_BEHAVIOR','%SQL_CURSOR_SENSITIVITY','%SQL_CURSOR_STATIC','%SQL_CURSOR_TYPE',
584
+                        '%SQL_CURSOR_TYPE_DEFAULT','%SQL_CUR_DEFAULT','%SQL_CUR_USE_DRIVER','%SQL_CUR_USE_IF_NEEDED','%SQL_CUR_USE_ODBC','%SQL_CU_DML_STATEMENTS','%SQL_CU_INDEX_DEFINITION','%SQL_CU_PRIVILEGE_DEFINITION',
585
+                        '%SQL_CU_PROCEDURE_INVOCATION','%SQL_CU_TABLE_DEFINITION','%SQL_CVT_BIGINT','%SQL_CVT_BINARY','%SQL_CVT_BIT','%SQL_CVT_CHAR','%SQL_CVT_DATE','%SQL_CVT_DECIMAL',
586
+                        '%SQL_CVT_DOUBLE','%SQL_CVT_FLOAT','%SQL_CVT_GUID','%SQL_CVT_INTEGER','%SQL_CVT_INTERVAL_DAY_TIME','%SQL_CVT_INTERVAL_YEAR_MONTH','%SQL_CVT_LONGVARBINARY','%SQL_CVT_LONGVARCHAR',
587
+                        '%SQL_CVT_NUMERIC','%SQL_CVT_REAL','%SQL_CVT_SMALLINT','%SQL_CVT_TIME','%SQL_CVT_TIMESTAMP','%SQL_CVT_TINYINT','%SQL_CVT_VARBINARY','%SQL_CVT_VARCHAR',
588
+                        '%SQL_CVT_WCHAR','%SQL_CVT_WLONGVARCHAR','%SQL_CVT_WVARCHAR','%SQL_CV_CASCADED','%SQL_CV_CHECK_OPTION','%SQL_CV_CREATE_VIEW','%SQL_CV_LOCAL','%SQL_C_BINARY',
589
+                        '%SQL_C_BIT','%SQL_C_BOOKMARK','%SQL_C_CHAR','%SQL_C_DATE','%SQL_C_DEFAULT','%SQL_C_DOUBLE','%SQL_C_FLOAT','%SQL_C_GUID',
590
+                        '%SQL_C_INTERVAL_DAY','%SQL_C_INTERVAL_DAY_TO_HOUR','%SQL_C_INTERVAL_DAY_TO_MINUTE','%SQL_C_INTERVAL_DAY_TO_SECOND','%SQL_C_INTERVAL_HOUR','%SQL_C_INTERVAL_HOUR_TO_MINUTE','%SQL_C_INTERVAL_HOUR_TO_SECOND','%SQL_C_INTERVAL_MINUTE',
591
+                        '%SQL_C_INTERVAL_MINUTE_TO_SECOND','%SQL_C_INTERVAL_MONTH','%SQL_C_INTERVAL_SECOND','%SQL_C_INTERVAL_YEAR','%SQL_C_INTERVAL_YEAR_TO_MONTH','%SQL_C_LONG','%SQL_C_NUMERIC','%SQL_C_SBIGINT',
592
+                        '%SQL_C_SHORT','%SQL_C_SLONG','%SQL_C_SSHORT','%SQL_C_STINYINT','%SQL_C_TIME','%SQL_C_TIMESTAMP','%SQL_C_TINYINT','%SQL_C_TYPE_DATE',
593
+                        '%SQL_C_TYPE_TIME','%SQL_C_TYPE_TIMESTAMP','%SQL_C_UBIGINT','%SQL_C_ULONG','%SQL_C_USHORT','%SQL_C_UTINYINT','%SQL_C_VARBOOKMARK','%SQL_DATABASE_NAME',
594
+                        '%SQL_DATA_AT_EXEC','%SQL_DATA_SOURCE_NAME','%SQL_DATA_SOURCE_READ_ONLY','%SQL_DATE','%SQL_DATETIME','%SQL_DATETIME_LITERALS','%SQL_DATE_LEN','%SQL_DAY',
595
+                        '%SQL_DAY_TO_HOUR','%SQL_DAY_TO_MINUTE','%SQL_DAY_TO_SECOND','%SQL_DA_DROP_ASSERTION','%SQL_DBMS_NAME','%SQL_DBMS_VER','%SQL_DB_DEFAULT','%SQL_DB_DISCONNECT',
596
+                        '%SQL_DB_RETURN_TO_POOL','%SQL_DCS_DROP_CHARACTER_SET','%SQL_DC_DROP_COLLATION','%SQL_DDL_INDEX','%SQL_DD_CASCADE','%SQL_DD_DROP_DOMAIN','%SQL_DD_RESTRICT','%SQL_DECIMAL',
597
+                        '%SQL_DEFAULT','%SQL_DEFAULT_PARAM','%SQL_DEFAULT_TXN_ISOLATION','%SQL_DELETE','%SQL_DELETE_BY_BOOKMARK','%SQL_DESCRIBE_PARAMETER','%SQL_DESC_ALLOC_AUTO','%SQL_DESC_ALLOC_TYPE',
598
+                        '%SQL_DESC_ALLOC_USER','%SQL_DESC_ARRAY_SIZE','%SQL_DESC_ARRAY_STATUS_PTR','%SQL_DESC_AUTO_UNIQUE_VALUE','%SQL_DESC_BASE_COLUMN_NAME','%SQL_DESC_BASE_TABLE_NAME','%SQL_DESC_BIND_OFFSET_PTR','%SQL_DESC_BIND_TYPE',
599
+                        '%SQL_DESC_CASE_SENSITIVE','%SQL_DESC_CATALOG_NAME','%SQL_DESC_CONCISE_TYPE','%SQL_DESC_COUNT','%SQL_DESC_DATA_PTR','%SQL_DESC_DATETIME_INTERVAL_CODE','%SQL_DESC_DATETIME_INTERVAL_PRECISION','%SQL_DESC_DISPLAY_SIZE',
600
+                        '%SQL_DESC_FIXED_PREC_SCALE','%SQL_DESC_INDICATOR_PTR','%SQL_DESC_LABEL','%SQL_DESC_LENGTH','%SQL_DESC_LITERAL_PREFIX','%SQL_DESC_LITERAL_SUFFIX','%SQL_DESC_LOCAL_TYPE_NAME','%SQL_DESC_MAXIMUM_SCALE',
601
+                        '%SQL_DESC_MINIMUM_SCALE','%SQL_DESC_NAME','%SQL_DESC_NULLABLE','%SQL_DESC_NUM_PREC_RADIX','%SQL_DESC_OCTET_LENGTH','%SQL_DESC_OCTET_LENGTH_PTR','%SQL_DESC_PARAMETER_TYPE','%SQL_DESC_PRECISION',
602
+                        '%SQL_DESC_ROWS_PROCESSED_PTR','%SQL_DESC_SCALE','%SQL_DESC_SCHEMA_NAME','%SQL_DESC_SEARCHABLE','%SQL_DESC_TABLE_NAME','%SQL_DESC_TYPE','%SQL_DESC_TYPE_NAME','%SQL_DESC_UNNAMED',
603
+                        '%SQL_DESC_UNSIGNED','%SQL_DESC_UPDATABLE','%SQL_DIAG_ALTER_TABLE','%SQL_DIAG_CALL','%SQL_DIAG_CLASS_ORIGIN','%SQL_DIAG_COLUMN_NUMBER','%SQL_DIAG_CONNECTION_NAME','%SQL_DIAG_CREATE_INDEX',
604
+                        '%SQL_DIAG_CREATE_TABLE','%SQL_DIAG_CREATE_VIEW','%SQL_DIAG_CURSOR_ROW_COUNT','%SQL_DIAG_DELETE_WHERE','%SQL_DIAG_DROP_INDEX','%SQL_DIAG_DROP_TABLE','%SQL_DIAG_DROP_VIEW','%SQL_DIAG_DYNAMIC_DELETE_CURSOR',
605
+                        '%SQL_DIAG_DYNAMIC_FUNCTION','%SQL_DIAG_DYNAMIC_FUNCTION_CODE','%SQL_DIAG_DYNAMIC_UPDATE_CURSOR','%SQL_DIAG_GRANT','%SQL_DIAG_INSERT','%SQL_DIAG_MESSAGE_TEXT','%SQL_DIAG_NATIVE','%SQL_DIAG_NUMBER',
606
+                        '%SQL_DIAG_RETURNCODE','%SQL_DIAG_REVOKE','%SQL_DIAG_ROW_COUNT','%SQL_DIAG_ROW_NUMBER','%SQL_DIAG_SELECT_CURSOR','%SQL_DIAG_SERVER_NAME','%SQL_DIAG_SQLSTATE','%SQL_DIAG_SUBCLASS_ORIGIN',
607
+                        '%SQL_DIAG_UNKNOWN_STATEMENT','%SQL_DIAG_UPDATE_WHERE','%SQL_DI_CREATE_INDEX','%SQL_DI_DROP_INDEX','%SQL_DL_SQL92_DATE','%SQL_DL_SQL92_INTERVAL_DAY','%SQL_DL_SQL92_INTERVAL_DAY_TO_HOUR','%SQL_DL_SQL92_INTERVAL_DAY_TO_MINUTE',
608
+                        '%SQL_DL_SQL92_INTERVAL_DAY_TO_SECOND','%SQL_DL_SQL92_INTERVAL_HOUR','%SQL_DL_SQL92_INTERVAL_HOUR_TO_MINUTE','%SQL_DL_SQL92_INTERVAL_HOUR_TO_SECOND','%SQL_DL_SQL92_INTERVAL_MINUTE','%SQL_DL_SQL92_INTERVAL_MINUTE_TO_SECOND','%SQL_DL_SQL92_INTERVAL_MONTH','%SQL_DL_SQL92_INTERVAL_SECOND',
609
+                        '%SQL_DL_SQL92_INTERVAL_YEAR','%SQL_DL_SQL92_INTERVAL_YEAR_TO_MONTH','%SQL_DL_SQL92_TIME','%SQL_DL_SQL92_TIMESTAMP','%SQL_DM_VER','%SQL_DOUBLE','%SQL_DRIVER_COMPLETE','%SQL_DRIVER_COMPLETE_REQUIRED',
610
+                        '%SQL_DRIVER_HDBC','%SQL_DRIVER_HDESC','%SQL_DRIVER_HENV','%SQL_DRIVER_HLIB','%SQL_DRIVER_HSTMT','%SQL_DRIVER_NAME','%SQL_DRIVER_NOPROMPT','%SQL_DRIVER_ODBC_VER',
611
+                        '%SQL_DRIVER_PROMPT','%SQL_DRIVER_VER','%SQL_DROP','%SQL_DROP_ASSERTION','%SQL_DROP_CHARACTER_SET','%SQL_DROP_COLLATION','%SQL_DROP_DOMAIN','%SQL_DROP_SCHEMA',
612
+                        '%SQL_DROP_TABLE','%SQL_DROP_TRANSLATION','%SQL_DROP_VIEW','%SQL_DS_CASCADE','%SQL_DS_DROP_SCHEMA','%SQL_DS_RESTRICT','%SQL_DTC_DONE','%SQL_DTC_ENLIST_EXPENSIVE',
613
+                        '%SQL_DTC_TRANSITION_COST','%SQL_DTC_UNENLIST_EXPENSIVE','%SQL_DTR_DROP_TRANSLATION','%SQL_DT_CASCADE','%SQL_DT_DROP_TABLE','%SQL_DT_RESTRICT','%SQL_DV_CASCADE','%SQL_DV_DROP_VIEW',
614
+                        '%SQL_DV_RESTRICT','%SQL_DYNAMIC_CURSOR_ATTRIBUTES1','%SQL_DYNAMIC_CURSOR_ATTRIBUTES2','%SQL_ENSURE','%SQL_ENTIRE_ROWSET','%SQL_ERROR','%SQL_EXPRESSIONS_IN_ORDERBY','%SQL_FALSE',
615
+                        '%SQL_FD_FETCH_ABSOLUTE','%SQL_FD_FETCH_BOOKMARK','%SQL_FD_FETCH_FIRST','%SQL_FD_FETCH_LAST','%SQL_FD_FETCH_NEXT','%SQL_FD_FETCH_PREV','%SQL_FD_FETCH_PRIOR','%SQL_FD_FETCH_RELATIVE',
616
+                        '%SQL_FETCH_ABSOLUTE','%SQL_FETCH_BOOKMARK','%SQL_FETCH_BY_BOOKMARK','%SQL_FETCH_DIRECTION','%SQL_FETCH_FIRST','%SQL_FETCH_FIRST_SYSTEM','%SQL_FETCH_FIRST_USER','%SQL_FETCH_LAST',
617
+                        '%SQL_FETCH_NEXT','%SQL_FETCH_PREV','%SQL_FETCH_PRIOR','%SQL_FETCH_RELATIVE','%SQL_FILE_CATALOG','%SQL_FILE_NOT_SUPPORTED','%SQL_FILE_QUALIFIER','%SQL_FILE_TABLE',
618
+                        '%SQL_FILE_USAGE','%SQL_FLOAT','%SQL_FN_CVT_CAST','%SQL_FN_CVT_CONVERT','%SQL_FN_NUM_ABS','%SQL_FN_NUM_ACOS','%SQL_FN_NUM_ASIN','%SQL_FN_NUM_ATAN',
619
+                        '%SQL_FN_NUM_ATAN2','%SQL_FN_NUM_CEILING','%SQL_FN_NUM_COS','%SQL_FN_NUM_COT','%SQL_FN_NUM_DEGREES','%SQL_FN_NUM_EXP','%SQL_FN_NUM_FLOOR','%SQL_FN_NUM_LOG',
620
+                        '%SQL_FN_NUM_LOG10','%SQL_FN_NUM_MOD','%SQL_FN_NUM_PI','%SQL_FN_NUM_POWER','%SQL_FN_NUM_RADIANS','%SQL_FN_NUM_RAND','%SQL_FN_NUM_ROUND','%SQL_FN_NUM_SIGN',
621
+                        '%SQL_FN_NUM_SIN','%SQL_FN_NUM_SQRT','%SQL_FN_NUM_TAN','%SQL_FN_NUM_TRUNCATE','%SQL_FN_STR_ASCII','%SQL_FN_STR_BIT_LENGTH','%SQL_FN_STR_CHAR','%SQL_FN_STR_CHARACTER_LENGTH',
622
+                        '%SQL_FN_STR_CHAR_LENGTH','%SQL_FN_STR_CONCAT','%SQL_FN_STR_DIFFERENCE','%SQL_FN_STR_INSERT','%SQL_FN_STR_LCASE','%SQL_FN_STR_LEFT','%SQL_FN_STR_LENGTH','%SQL_FN_STR_LOCATE',
623
+                        '%SQL_FN_STR_LOCATE_2','%SQL_FN_STR_LTRIM','%SQL_FN_STR_OCTET_LENGTH','%SQL_FN_STR_POSITION','%SQL_FN_STR_REPEAT','%SQL_FN_STR_REPLACE','%SQL_FN_STR_RIGHT','%SQL_FN_STR_RTRIM',
624
+                        '%SQL_FN_STR_SOUNDEX','%SQL_FN_STR_SPACE','%SQL_FN_STR_SUBSTRING','%SQL_FN_STR_UCASE','%SQL_FN_SYS_DBNAME','%SQL_FN_SYS_IFNULL','%SQL_FN_SYS_USERNAME','%SQL_FN_TD_CURDATE',
625
+                        '%SQL_FN_TD_CURRENT_DATE','%SQL_FN_TD_CURRENT_TIME','%SQL_FN_TD_CURRENT_TIMESTAMP','%SQL_FN_TD_CURTIME','%SQL_FN_TD_DAYNAME','%SQL_FN_TD_DAYOFMONTH','%SQL_FN_TD_DAYOFWEEK','%SQL_FN_TD_DAYOFYEAR',
626
+                        '%SQL_FN_TD_EXTRACT','%SQL_FN_TD_HOUR','%SQL_FN_TD_MINUTE','%SQL_FN_TD_MONTH','%SQL_FN_TD_MONTHNAME','%SQL_FN_TD_NOW','%SQL_FN_TD_QUARTER','%SQL_FN_TD_SECOND',
627
+                        '%SQL_FN_TD_TIMESTAMPADD','%SQL_FN_TD_TIMESTAMPDIFF','%SQL_FN_TD_WEEK','%SQL_FN_TD_YEAR','%SQL_FN_TSI_DAY','%SQL_FN_TSI_FRAC_SECOND','%SQL_FN_TSI_HOUR','%SQL_FN_TSI_MINUTE',
628
+                        '%SQL_FN_TSI_MONTH','%SQL_FN_TSI_QUARTER','%SQL_FN_TSI_SECOND','%SQL_FN_TSI_WEEK','%SQL_FN_TSI_YEAR','%SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1','%SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2','%SQL_GB_COLLATE',
629
+                        '%SQL_GB_GROUP_BY_CONTAINS_SELECT','%SQL_GB_GROUP_BY_EQUALS_SELECT','%SQL_GB_NOT_SUPPORTED','%SQL_GB_NO_RELATION','%SQL_GD_ANY_COLUMN','%SQL_GD_ANY_ORDER','%SQL_GD_BLOCK','%SQL_GD_BOUND',
630
+                        '%SQL_GETDATA_EXTENSIONS','%SQL_GET_BOOKMARK','%SQL_GROUP_BY','%SQL_GUID','%SQL_HANDLE_DBC','%SQL_HANDLE_DESC','%SQL_HANDLE_ENV','%SQL_HANDLE_SENV',
631
+                        '%SQL_HANDLE_STMT','%SQL_HOUR','%SQL_HOUR_TO_MINUTE','%SQL_HOUR_TO_SECOND','%SQL_IC_LOWER','%SQL_IC_MIXED','%SQL_IC_SENSITIVE','%SQL_IC_UPPER',
632
+                        '%SQL_IDENTIFIER_CASE','%SQL_IDENTIFIER_QUOTE_CHAR','%SQL_IGNORE','%SQL_IK_ALL','%SQL_IK_ASC','%SQL_IK_DESC','%SQL_IK_NONE','%SQL_INDEX_ALL',
633
+                        '%SQL_INDEX_CLUSTERED','%SQL_INDEX_HASHED','%SQL_INDEX_KEYWORDS','%SQL_INDEX_OTHER','%SQL_INDEX_UNIQUE','%SQL_INFO_FIRST','%SQL_INFO_SCHEMA_VIEWS','%SQL_INITIALLY_DEFERRED',
634
+                        '%SQL_INITIALLY_IMMEDIATE','%SQL_INSENSITIVE','%SQL_INSERT_STATEMENT','%SQL_INTEGER','%SQL_INTEGRITY','%SQL_INTERVAL','%SQL_INTERVAL_DAY','%SQL_INTERVAL_DAY_TO_HOUR',
635
+                        '%SQL_INTERVAL_DAY_TO_MINUTE','%SQL_INTERVAL_DAY_TO_SECOND','%SQL_INTERVAL_HOUR','%SQL_INTERVAL_HOUR_TO_MINUTE','%SQL_INTERVAL_HOUR_TO_SECOND','%SQL_INTERVAL_MINUTE','%SQL_INTERVAL_MINUTE_TO_SECOND','%SQL_INTERVAL_MONTH',
636
+                        '%SQL_INTERVAL_SECOND','%SQL_INTERVAL_YEAR','%SQL_INTERVAL_YEAR_TO_MONTH','%SQL_INVALID_HANDLE','%SQL_ISV_ASSERTIONS','%SQL_ISV_CHARACTER_SETS','%SQL_ISV_CHECK_CONSTRAINTS','%SQL_ISV_COLLATIONS',
637
+                        '%SQL_ISV_COLUMNS','%SQL_ISV_COLUMN_DOMAIN_USAGE','%SQL_ISV_COLUMN_PRIVILEGES','%SQL_ISV_CONSTRAINT_COLUMN_USAGE','%SQL_ISV_CONSTRAINT_TABLE_USAGE','%SQL_ISV_DOMAINS','%SQL_ISV_DOMAIN_CONSTRAINTS','%SQL_ISV_KEY_COLUMN_USAGE',
638
+                        '%SQL_ISV_REFERENTIAL_CONSTRAINTS','%SQL_ISV_SCHEMATA','%SQL_ISV_SQL_LANGUAGES','%SQL_ISV_TABLES','%SQL_ISV_TABLE_CONSTRAINTS','%SQL_ISV_TABLE_PRIVILEGES','%SQL_ISV_TRANSLATIONS','%SQL_ISV_USAGE_PRIVILEGES',
639
+                        '%SQL_ISV_VIEWS','%SQL_ISV_VIEW_COLUMN_USAGE','%SQL_ISV_VIEW_TABLE_USAGE','%SQL_IS_DAY','%SQL_IS_DAY_TO_HOUR','%SQL_IS_DAY_TO_MINUTE','%SQL_IS_DAY_TO_SECOND','%SQL_IS_HOUR',
640
+                        '%SQL_IS_HOUR_TO_MINUTE','%SQL_IS_HOUR_TO_SECOND','%SQL_IS_INSERT_LITERALS','%SQL_IS_INSERT_SEARCHED','%SQL_IS_INTEGER','%SQL_IS_MINUTE','%SQL_IS_MINUTE_TO_SECOND','%SQL_IS_MONTH',
641
+                        '%SQL_IS_POINTER','%SQL_IS_SECOND','%SQL_IS_SELECT_INTO','%SQL_IS_SMALLINT','%SQL_IS_UINTEGER','%SQL_IS_USMALLINT','%SQL_IS_YEAR','%SQL_IS_YEAR_TO_MONTH',
642
+                        '%SQL_KEYSET_CURSOR_ATTRIBUTES1','%SQL_KEYSET_CURSOR_ATTRIBUTES2','%SQL_KEYSET_SIZE','%SQL_KEYSET_SIZE_DEFAULT','%SQL_KEYWORDS','%SQL_LCK_EXCLUSIVE','%SQL_LCK_NO_CHANGE','%SQL_LCK_UNLOCK',
643
+                        '%SQL_LEN_BINARY_ATTR_OFFSET','%SQL_LEN_DATA_AT_EXEC_OFFSET','%SQL_LIKE_ESCAPE_CLAUSE','%SQL_LIKE_ONLY','%SQL_LOCK_EXCLUSIVE','%SQL_LOCK_NO_CHANGE','%SQL_LOCK_TYPES','%SQL_LOCK_UNLOCK',
644
+                        '%SQL_LOGIN_TIMEOUT','%SQL_LOGIN_TIMEOUT_DEFAULT','%SQL_LONGVARBINARY','%SQL_LONGVARCHAR','%SQL_MAXIMUM_CATALOG_NAME_LENGTH','%SQL_MAXIMUM_COLUMNS_IN_GROUP_BY','%SQL_MAXIMUM_COLUMNS_IN_INDEX','%SQL_MAXIMUM_COLUMNS_IN_ORDER_BY',
645
+                        '%SQL_MAXIMUM_COLUMNS_IN_SELECT','%SQL_MAXIMUM_COLUMN_NAME_LENGTH','%SQL_MAXIMUM_CONCURRENT_ACTIVITIES','%SQL_MAXIMUM_CURSOR_NAME_LENGTH','%SQL_MAXIMUM_DRIVER_CONNECTIONS','%SQL_MAXIMUM_IDENTIFIER_LENGTH','%SQL_MAXIMUM_INDEX_SIZE','%SQL_MAXIMUM_ROW_SIZE',
646
+                        '%SQL_MAXIMUM_SCHEMA_NAME_LENGTH','%SQL_MAXIMUM_STATEMENT_LENGTH','%SQL_MAXIMUM_TABLES_IN_SELECT','%SQL_MAXIMUM_USER_NAME_LENGTH','%SQL_MAX_ASYNC_CONCURRENT_STATEMENTS','%SQL_MAX_BINARY_LITERAL_LEN','%SQL_MAX_CATALOG_NAME_LEN','%SQL_MAX_CHAR_LITERAL_LEN',
647
+                        '%SQL_MAX_COLUMNS_IN_GROUP_BY','%SQL_MAX_COLUMNS_IN_INDEX','%SQL_MAX_COLUMNS_IN_ORDER_BY','%SQL_MAX_COLUMNS_IN_SELECT','%SQL_MAX_COLUMNS_IN_TABLE','%SQL_MAX_COLUMN_NAME_LEN','%SQL_MAX_CONCURRENT_ACTIVITIES','%SQL_MAX_CURSOR_NAME_LEN',
648
+                        '%SQL_MAX_DRIVER_CONNECTIONS','%SQL_MAX_DSN_LENGTH','%SQL_MAX_IDENTIFIER_LEN','%SQL_MAX_INDEX_SIZE','%SQL_MAX_LENGTH','%SQL_MAX_LENGTH_DEFAULT','%SQL_MAX_MESSAGE_LENGTH','%SQL_MAX_NUMERIC_LEN',
649
+                        '%SQL_MAX_OPTION_STRING_LENGTH','%SQL_MAX_OWNER_NAME_LEN','%SQL_MAX_PROCEDURE_NAME_LEN','%SQL_MAX_QUALIFIER_NAME_LEN','%SQL_MAX_ROWS','%SQL_MAX_ROWS_DEFAULT','%SQL_MAX_ROW_SIZE','%SQL_MAX_ROW_SIZE_INCLUDES_LONG',
650
+                        '%SQL_MAX_SCHEMA_NAME_LEN','%SQL_MAX_STATEMENT_LEN','%SQL_MAX_TABLES_IN_SELECT','%SQL_MAX_TABLE_NAME_LEN','%SQL_MAX_USER_NAME_LEN','%SQL_MINUTE','%SQL_MINUTE_TO_SECOND','%SQL_MODE_DEFAULT',
651
+                        '%SQL_MODE_READ_ONLY','%SQL_MODE_READ_WRITE','%SQL_MONTH','%SQL_MULTIPLE_ACTIVE_TXN','%SQL_MULT_RESULT_SETS','%SQL_NAMED','%SQL_NC_END','%SQL_NC_HIGH',
652
+                        '%SQL_NC_LOW','%SQL_NC_START','%SQL_NEED_DATA','%SQL_NEED_LONG_DATA_LEN','%SQL_NNC_NON_NULL','%SQL_NNC_NULL','%SQL_NONSCROLLABLE','%SQL_NON_NULLABLE_COLUMNS',
653
+                        '%SQL_NOSCAN','%SQL_NOSCAN_DEFAULT','%SQL_NOSCAN_OFF','%SQL_NOSCAN_ON','%SQL_NOT_DEFERRABLE','%SQL_NO_ACTION','%SQL_NO_COLUMN_NUMBER','%SQL_NO_DATA',
654
+                        '%SQL_NO_DATA_FOUND','%SQL_NO_NULLS','%SQL_NO_ROW_NUMBER','%SQL_NO_TOTAL','%SQL_NTS','%SQL_NTSL','%SQL_NULLABLE','%SQL_NULLABLE_UNKNOWN',
655
+                        '%SQL_NULL_COLLATION','%SQL_NULL_DATA','%SQL_NULL_HANDLE','%SQL_NULL_HDBC','%SQL_NULL_HDESC','%SQL_NULL_HENV','%SQL_NULL_HSTMT','%SQL_NUMERIC',
656
+                        '%SQL_NUMERIC_FUNCTIONS','%SQL_OAC_LEVEL1','%SQL_OAC_LEVEL2','%SQL_OAC_NONE','%SQL_ODBC_API_CONFORMANCE','%SQL_ODBC_CURSORS','%SQL_ODBC_INTERFACE_CONFORMANCE','%SQL_ODBC_SAG_CLI_CONFORMANCE',
657
+                        '%SQL_ODBC_SQL_CONFORMANCE','%SQL_ODBC_SQL_OPT_IEF','%SQL_ODBC_VER','%SQL_OIC_CORE','%SQL_OIC_LEVEL1','%SQL_OIC_LEVEL2','%SQL_OJ_ALL_COMPARISON_OPS','%SQL_OJ_CAPABILITIES',
658
+                        '%SQL_OJ_FULL','%SQL_OJ_INNER','%SQL_OJ_LEFT','%SQL_OJ_NESTED','%SQL_OJ_NOT_ORDERED','%SQL_OJ_RIGHT','%SQL_OPT_TRACE','%SQL_OPT_TRACEFILE',
659
+                        '%SQL_OPT_TRACE_DEFAULT','%SQL_OPT_TRACE_OFF','%SQL_OPT_TRACE_ON','%SQL_ORDER_BY_COLUMNS_IN_SELECT','%SQL_OSCC_COMPLIANT','%SQL_OSCC_NOT_COMPLIANT','%SQL_OSC_CORE','%SQL_OSC_EXTENDED',
660
+                        '%SQL_OSC_MINIMUM','%SQL_OUTER_JOINS','%SQL_OUTER_JOIN_CAPABILITIES','%SQL_OU_DML_STATEMENTS','%SQL_OU_INDEX_DEFINITION','%SQL_OU_PRIVILEGE_DEFINITION','%SQL_OU_PROCEDURE_INVOCATION','%SQL_OU_TABLE_DEFINITION',
661
+                        '%SQL_OV_ODBC2','%SQL_OV_ODBC3','%SQL_OWNER_TERM','%SQL_OWNER_USAGE','%SQL_PACKET_SIZE','%SQL_PARAM_ARRAY_ROW_COUNTS','%SQL_PARAM_ARRAY_SELECTS','%SQL_PARAM_BIND_BY_COLUMN',
662
+                        '%SQL_PARAM_BIND_TYPE_DEFAULT','%SQL_PARAM_DIAG_UNAVAILABLE','%SQL_PARAM_ERROR','%SQL_PARAM_IGNORE','%SQL_PARAM_INPUT','%SQL_PARAM_INPUT_OUTPUT','%SQL_PARAM_OUTPUT','%SQL_PARAM_PROCEED',
663
+                        '%SQL_PARAM_SUCCESS','%SQL_PARAM_SUCCESS_WITH_INFO','%SQL_PARAM_TYPE_DEFAULT','%SQL_PARAM_TYPE_UNKNOWN','%SQL_PARAM_UNUSED','%SQL_PARC_BATCH','%SQL_PARC_NO_BATCH','%SQL_PAS_BATCH',
664
+                        '%SQL_PAS_NO_BATCH','%SQL_PAS_NO_SELECT','%SQL_PC_NON_PSEUDO','%SQL_PC_NOT_PSEUDO','%SQL_PC_PSEUDO','%SQL_PC_UNKNOWN','%SQL_POSITION','%SQL_POSITIONED_STATEMENTS',
665
+                        '%SQL_POS_ADD','%SQL_POS_DELETE','%SQL_POS_OPERATIONS','%SQL_POS_POSITION','%SQL_POS_REFRESH','%SQL_POS_UPDATE','%SQL_PRED_BASIC','%SQL_PRED_CHAR',
666
+                        '%SQL_PRED_NONE','%SQL_PRED_SEARCHABLE','%SQL_PROCEDURES','%SQL_PROCEDURE_TERM','%SQL_PS_POSITIONED_DELETE','%SQL_PS_POSITIONED_UPDATE','%SQL_PS_SELECT_FOR_UPDATE','%SQL_PT_FUNCTION',
667
+                        '%SQL_PT_PROCEDURE','%SQL_PT_UNKNOWN','%SQL_QL_END','%SQL_QL_START','%SQL_QUALIFIER_LOCATION','%SQL_QUALIFIER_NAME_SEPARATOR','%SQL_QUALIFIER_TERM','%SQL_QUALIFIER_USAGE',
668
+                        '%SQL_QUERY_TIMEOUT','%SQL_QUERY_TIMEOUT_DEFAULT','%SQL_QUICK','%SQL_QUIET_MODE','%SQL_QUOTED_IDENTIFIER_CASE','%SQL_QU_DML_STATEMENTS','%SQL_QU_INDEX_DEFINITION','%SQL_QU_PRIVILEGE_DEFINITION',
669
+                        '%SQL_QU_PROCEDURE_INVOCATION','%SQL_QU_TABLE_DEFINITION','%SQL_RD_DEFAULT','%SQL_RD_OFF','%SQL_RD_ON','%SQL_REAL','%SQL_REFRESH','%SQL_RESET_PARAMS',
670
+                        '%SQL_RESTRICT','%SQL_RESULT_COL','%SQL_RETRIEVE_DATA','%SQL_RETURN_VALUE','%SQL_ROLLBACK','%SQL_ROWSET_SIZE','%SQL_ROWSET_SIZE_DEFAULT','%SQL_ROWVER',
671
+                        '%SQL_ROW_ADDED','%SQL_ROW_DELETED','%SQL_ROW_ERROR','%SQL_ROW_IDENTIFIER','%SQL_ROW_IGNORE','%SQL_ROW_NOROW','%SQL_ROW_NUMBER','%SQL_ROW_NUMBER_UNKNOWN',
672
+                        '%SQL_ROW_PROCEED','%SQL_ROW_SUCCESS','%SQL_ROW_SUCCESS_WITH_INFO','%SQL_ROW_UPDATED','%SQL_ROW_UPDATES','%SQL_SCCO_LOCK','%SQL_SCCO_OPT_ROWVER','%SQL_SCCO_OPT_TIMESTAMP',
673
+                        '%SQL_SCCO_OPT_VALUES','%SQL_SCCO_READ_ONLY','%SQL_SCC_ISO92_CLI','%SQL_SCC_XOPEN_CLI_VERSION1','%SQL_SCHEMA_TERM','%SQL_SCHEMA_USAGE','%SQL_SCOPE_CURROW','%SQL_SCOPE_SESSION',
674
+                        '%SQL_SCOPE_TRANSACTION','%SQL_SCROLLABLE','%SQL_SCROLL_CONCURRENCY','%SQL_SCROLL_DYNAMIC','%SQL_SCROLL_FORWARD_ONLY','%SQL_SCROLL_KEYSET_DRIVEN','%SQL_SCROLL_OPTIONS','%SQL_SCROLL_STATIC',
675
+                        '%SQL_SC_FIPS127_2_TRANSITIONAL','%SQL_SC_NON_UNIQUE','%SQL_SC_SQL92_ENTRY','%SQL_SC_SQL92_FULL','%SQL_SC_SQL92_INTERMEDIATE','%SQL_SC_TRY_UNIQUE','%SQL_SC_UNIQUE','%SQL_SDF_CURRENT_DATE',
676
+                        '%SQL_SDF_CURRENT_TIME','%SQL_SDF_CURRENT_TIMESTAMP','%SQL_SEARCHABLE','%SQL_SEARCH_PATTERN_ESCAPE','%SQL_SECOND','%SQL_SENSITIVE','%SQL_SERVER_NAME','%SQL_SETPARAM_VALUE_MAX',
677
+                        '%SQL_SETPOS_MAX_LOCK_VALUE','%SQL_SETPOS_MAX_OPTION_VALUE','%SQL_SET_DEFAULT','%SQL_SET_NULL','%SQL_SFKD_CASCADE','%SQL_SFKD_NO_ACTION','%SQL_SFKD_SET_DEFAULT','%SQL_SFKD_SET_NULL',
678
+                        '%SQL_SFKU_CASCADE','%SQL_SFKU_NO_ACTION','%SQL_SFKU_SET_DEFAULT','%SQL_SFKU_SET_NULL','%SQL_SG_DELETE_TABLE','%SQL_SG_INSERT_COLUMN','%SQL_SG_INSERT_TABLE','%SQL_SG_REFERENCES_COLUMN',
679
+                        '%SQL_SG_REFERENCES_TABLE','%SQL_SG_SELECT_TABLE','%SQL_SG_UPDATE_COLUMN','%SQL_SG_UPDATE_TABLE','%SQL_SG_USAGE_ON_CHARACTER_SET','%SQL_SG_USAGE_ON_COLLATION','%SQL_SG_USAGE_ON_DOMAIN','%SQL_SG_USAGE_ON_TRANSLATION',
680
+                        '%SQL_SG_WITH_GRANT_OPTION','%SQL_SIGNED_OFFSET','%SQL_SIMULATE_CURSOR','%SQL_SMALLINT','%SQL_SNVF_BIT_LENGTH','%SQL_SNVF_CHARACTER_LENGTH','%SQL_SNVF_CHAR_LENGTH','%SQL_SNVF_EXTRACT',
681
+                        '%SQL_SNVF_OCTET_LENGTH','%SQL_SNVF_POSITION','%SQL_SO_DYNAMIC','%SQL_SO_FORWARD_ONLY','%SQL_SO_KEYSET_DRIVEN','%SQL_SO_MIXED','%SQL_SO_STATIC','%SQL_SPECIAL_CHARACTERS',
682
+                        '%SQL_SPEC_MAJOR','%SQL_SPEC_MINOR','%SQL_SP_BETWEEN','%SQL_SP_COMPARISON','%SQL_SP_EXISTS','%SQL_SP_IN','%SQL_SP_ISNOTNULL','%SQL_SP_ISNULL',
683
+                        '%SQL_SP_LIKE','%SQL_SP_MATCH_FULL','%SQL_SP_MATCH_PARTIAL','%SQL_SP_MATCH_UNIQUE_FULL','%SQL_SP_MATCH_UNIQUE_PARTIAL','%SQL_SP_OVERLAPS','%SQL_SP_QUANTIFIED_COMPARISON','%SQL_SP_UNIQUE',
684
+                        '%SQL_SQL92_DATETIME_FUNCTIONS','%SQL_SQL92_FOREIGN_KEY_DELETE_RULE','%SQL_SQL92_FOREIGN_KEY_UPDATE_RULE','%SQL_SQL92_GRANT','%SQL_SQL92_NUMERIC_VALUE_FUNCTIONS','%SQL_SQL92_PREDICATES','%SQL_SQL92_RELATIONAL_JOIN_OPERATORS','%SQL_SQL92_REVOKE',
685
+                        '%SQL_SQL92_ROW_VALUE_CONSTRUCTOR','%SQL_SQL92_STRING_FUNCTIONS','%SQL_SQL92_VALUE_EXPRESSIONS','%SQL_SQLSTATE_SIZE','%SQL_SQL_CONFORMANCE','%SQL_SQ_COMPARISON','%SQL_SQ_CORRELATED_SUBQUERIES','%SQL_SQ_EXISTS',
686
+                        '%SQL_SQ_IN','%SQL_SQ_QUANTIFIED','%SQL_SRJO_CORRESPONDING_CLAUSE','%SQL_SRJO_CROSS_JOIN','%SQL_SRJO_EXCEPT_JOIN','%SQL_SRJO_FULL_OUTER_JOIN','%SQL_SRJO_INNER_JOIN','%SQL_SRJO_INTERSECT_JOIN',
687
+                        '%SQL_SRJO_LEFT_OUTER_JOIN','%SQL_SRJO_NATURAL_JOIN','%SQL_SRJO_RIGHT_OUTER_JOIN','%SQL_SRJO_UNION_JOIN','%SQL_SRVC_DEFAULT','%SQL_SRVC_NULL','%SQL_SRVC_ROW_SUBQUERY','%SQL_SRVC_VALUE_EXPRESSION',
688
+                        '%SQL_SR_CASCADE','%SQL_SR_DELETE_TABLE','%SQL_SR_GRANT_OPTION_FOR','%SQL_SR_INSERT_COLUMN','%SQL_SR_INSERT_TABLE','%SQL_SR_REFERENCES_COLUMN','%SQL_SR_REFERENCES_TABLE','%SQL_SR_RESTRICT',
689
+                        '%SQL_SR_SELECT_TABLE','%SQL_SR_UPDATE_COLUMN','%SQL_SR_UPDATE_TABLE','%SQL_SR_USAGE_ON_CHARACTER_SET','%SQL_SR_USAGE_ON_COLLATION','%SQL_SR_USAGE_ON_DOMAIN','%SQL_SR_USAGE_ON_TRANSLATION','%SQL_SSF_CONVERT',
690
+                        '%SQL_SSF_LOWER','%SQL_SSF_SUBSTRING','%SQL_SSF_TRANSLATE','%SQL_SSF_TRIM_BOTH','%SQL_SSF_TRIM_LEADING','%SQL_SSF_TRIM_TRAILING','%SQL_SSF_UPPER','%SQL_SS_ADDITIONS',
691
+                        '%SQL_SS_DELETIONS','%SQL_SS_UPDATES','%SQL_STANDARD_CLI_CONFORMANCE','%SQL_STATIC_CURSOR_ATTRIBUTES1','%SQL_STATIC_CURSOR_ATTRIBUTES2','%SQL_STATIC_SENSITIVITY','%SQL_STILL_EXECUTING','%SQL_STRING_FUNCTIONS',
692
+                        '%SQL_SUBQUERIES','%SQL_SUCCESS','%SQL_SUCCESS_WITH_INFO','%SQL_SU_DML_STATEMENTS','%SQL_SU_INDEX_DEFINITION','%SQL_SU_PRIVILEGE_DEFINITION','%SQL_SU_PROCEDURE_INVOCATION','%SQL_SU_TABLE_DEFINITION',
693
+                        '%SQL_SVE_CASE','%SQL_SVE_CAST','%SQL_SVE_COALESCE','%SQL_SVE_NULLIF','%SQL_SYSTEM_FUNCTIONS','%SQL_TABLE_STAT','%SQL_TABLE_TERM','%SQL_TC_ALL',
694
+                        '%SQL_TC_DDL_COMMIT','%SQL_TC_DDL_IGNORE','%SQL_TC_DML','%SQL_TC_NONE','%SQL_TIME','%SQL_TIMEDATE_ADD_INTERVALS','%SQL_TIMEDATE_DIFF_INTERVALS','%SQL_TIMEDATE_FUNCTIONS',
695
+                        '%SQL_TIMESTAMP','%SQL_TIMESTAMP_LEN','%SQL_TIME_LEN','%SQL_TINYINT','%SQL_TRANSACTION_CAPABLE','%SQL_TRANSACTION_ISOLATION_OPTION','%SQL_TRANSACTION_READ_COMMITTED','%SQL_TRANSACTION_READ_UNCOMMITTED',
696
+                        '%SQL_TRANSACTION_REPEATABLE_READ','%SQL_TRANSACTION_SERIALIZABLE','%SQL_TRANSLATE_DLL','%SQL_TRANSLATE_OPTION','%SQL_TRUE','%SQL_TXN_CAPABLE','%SQL_TXN_ISOLATION','%SQL_TXN_ISOLATION_OPTION',
697
+                        '%SQL_TXN_READ_COMMITTED','%SQL_TXN_READ_UNCOMMITTED','%SQL_TXN_REPEATABLE_READ','%SQL_TXN_SERIALIZABLE','%SQL_TYPE_DATE','%SQL_TYPE_NULL','%SQL_TYPE_TIME','%SQL_TYPE_TIMESTAMP',
698
+                        '%SQL_UB_DEFAULT','%SQL_UB_FIXED','%SQL_UB_OFF','%SQL_UB_ON','%SQL_UB_VARIABLE','%SQL_UNBIND','%SQL_UNICODE','%SQL_UNICODE_CHAR',
699
+                        '%SQL_UNICODE_LONGVARCHAR','%SQL_UNICODE_VARCHAR','%SQL_UNION','%SQL_UNION_STATEMENT','%SQL_UNKNOWN_TYPE','%SQL_UNNAMED','%SQL_UNSEARCHABLE','%SQL_UNSIGNED_OFFSET',
700
+                        '%SQL_UNSPECIFIED','%SQL_UPDATE','%SQL_UPDATE_BY_BOOKMARK','%SQL_USER_NAME','%SQL_USE_BOOKMARKS','%SQL_US_UNION','%SQL_US_UNION_ALL','%SQL_U_UNION',
701
+                        '%SQL_U_UNION_ALL','%SQL_VARBINARY','%SQL_VARCHAR','%SQL_XOPEN_CLI_YEAR','%SQL_YEAR','%SQL_YEAR_TO_MONTH','%SRCCOPY','%SS_BITMAP',
702
+                        '%SS_BLACKFRAME','%SS_BLACKRECT','%SS_CENTER','%SS_CENTERIMAGE','%SS_ENDELLIPSIS','%SS_ETCHEDFRAME','%SS_ETCHEDHORZ','%SS_ETCHEDVERT',
703
+                        '%SS_GRAYFRAME','%SS_GRAYRECT','%SS_LEFT','%SS_NOPREFIX','%SS_NOTIFY','%SS_NOWORDWRAP','%SS_PATHELLIPSIS','%SS_RIGHT',
704
+                        '%SS_RIGHTJUST','%SS_SIMPLE','%SS_SUNKEN','%SS_WHITEFRAME','%SS_WHITERECT','%SS_WORDELLIPSIS','%STAT_FILL_FROM_MEMORY','%STAT_FILL_NATURAL',
705
+                        '%STAT_FILL_NATURAL_ERASTONE','%STAT_FILL_NATURAL_EVEN','%STAT_FILL_NATURAL_FIBONACCI','%STAT_FILL_NATURAL_ODD','%STAT_FILL_WITH_NUMBER','%STAT_MINMAX_INDEX','%STAT_MINMAX_VALUE','%STAT_TYPE_BYTE',
706
+                        '%STAT_TYPE_CURRENCY','%STAT_TYPE_DOUBLE','%STAT_TYPE_DWORD','%STAT_TYPE_EXT','%STAT_TYPE_INTEGER','%STAT_TYPE_LONG','%STAT_TYPE_QUAD','%STAT_TYPE_SINGLE',
707
+                        '%STAT_TYPE_WORD','%SWP_ASYNCWINDOWPOS','%SWP_DEFERERASE','%SWP_DRAWFRAME','%SWP_FRAMECHANGED','%SWP_HIDEWINDOW','%SWP_NOACTIVATE','%SWP_NOCOPYBITS',
708
+                        '%SWP_NOMOVE','%SWP_NOOWNERZORDER','%SWP_NOREDRAW','%SWP_NOREPOSITION','%SWP_NOSENDCHANGING','%SWP_NOSIZE','%SWP_NOZORDER','%SWP_SHOWWINDOW',
709
+                        '%SW_FORCEMINIMIZE','%SW_HIDE','%SW_MAXIMIZE','%SW_MINIMIZE','%SW_NORMAL','%SW_RESTORE','%SW_SHOW','%SW_SHOWDEFAULT',
710
+                        '%SW_SHOWMAXIMIZED','%SW_SHOWMINIMIZED','%SW_SHOWMINNOACTIVE','%SW_SHOWNA','%SW_SHOWNOACTIVATE','%SW_SHOWNORMAL','%TBASS_3DALG_DEFAULT','%TBASS_3DALG_FULL',
711
+                        '%TBASS_3DALG_LIGHT','%TBASS_3DALG_OFF','%TBASS_3DMODE_NORMAL','%TBASS_3DMODE_OFF','%TBASS_3DMODE_RELATIVE','%TBASS_ACTIVE_PAUSED','%TBASS_ACTIVE_PLAYING','%TBASS_ACTIVE_STALLED',
712
+                        '%TBASS_ACTIVE_STOPPED','%TBASS_CONFIG_3DALGORITHM','%TBASS_CONFIG_BUFFER','%TBASS_CONFIG_CURVE_PAN','%TBASS_CONFIG_CURVE_VOL','%TBASS_CONFIG_FLOATDSP','%TBASS_CONFIG_GVOL_MUSIC','%TBASS_CONFIG_GVOL_SAMPLE',
713
+                        '%TBASS_CONFIG_GVOL_STREAM','%TBASS_CONFIG_MAXVOL','%TBASS_CONFIG_MP3_CODEC','%TBASS_CONFIG_NET_AGENT','%TBASS_CONFIG_NET_BUFFER','%TBASS_CONFIG_NET_PASSIVE','%TBASS_CONFIG_NET_PREBUF','%TBASS_CONFIG_NET_PROXY',
714
+                        '%TBASS_CONFIG_NET_TIMEOUT','%TBASS_CONFIG_PAUSE_NOPLAY','%TBASS_CONFIG_UPDATEPERIOD','%TBASS_CTYPE_MUSIC_IT','%TBASS_CTYPE_MUSIC_MO3','%TBASS_CTYPE_MUSIC_MOD','%TBASS_CTYPE_MUSIC_MTM','%TBASS_CTYPE_MUSIC_S3M',
715
+                        '%TBASS_CTYPE_MUSIC_XM','%TBASS_CTYPE_RECORD','%TBASS_CTYPE_SAMPLE','%TBASS_CTYPE_STREAM','%TBASS_CTYPE_STREAM_AIFF','%TBASS_CTYPE_STREAM_MP1','%TBASS_CTYPE_STREAM_MP2','%TBASS_CTYPE_STREAM_MP3',
716
+                        '%TBASS_CTYPE_STREAM_OGG','%TBASS_CTYPE_STREAM_WAV','%TBASS_CTYPE_STREAM_WAV_FLOAT','%TBASS_CTYPE_STREAM_WAV_PCM','%TBASS_DATA_AVAILABLE','%TBASS_DATA_FFT1024','%TBASS_DATA_FFT2048','%TBASS_DATA_FFT4096',
717
+                        '%TBASS_DATA_FFT512','%TBASS_DATA_FFT_INDIVIDUAL','%TBASS_DATA_FFT_NOWINDOW','%TBASS_DATA_FLOAT','%TBASS_DEVICE_3D','%TBASS_DEVICE_8BITS','%TBASS_DEVICE_LATENCY','%TBASS_DEVICE_MONO',
718
+                        '%TBASS_DEVICE_NOSPEAKER','%TBASS_DEVICE_SPEAKERS','%TBASS_EAX_ENVIRONMENT_ALLEY','%TBASS_EAX_ENVIRONMENT_ARENA','%TBASS_EAX_ENVIRONMENT_AUDITORIUM','%TBASS_EAX_ENVIRONMENT_BATHROOM','%TBASS_EAX_ENVIRONMENT_CARPETEDHALLWAY','%TBASS_EAX_ENVIRONMENT_CAVE',
719
+                        '%TBASS_EAX_ENVIRONMENT_CITY','%TBASS_EAX_ENVIRONMENT_CONCERTHALL','%TBASS_EAX_ENVIRONMENT_COUNT','%TBASS_EAX_ENVIRONMENT_DIZZY','%TBASS_EAX_ENVIRONMENT_DRUGGED','%TBASS_EAX_ENVIRONMENT_FOREST','%TBASS_EAX_ENVIRONMENT_GENERIC','%TBASS_EAX_ENVIRONMENT_HALLWAY',
720
+                        '%TBASS_EAX_ENVIRONMENT_HANGAR','%TBASS_EAX_ENVIRONMENT_LIVINGROOM','%TBASS_EAX_ENVIRONMENT_MOUNTAINS','%TBASS_EAX_ENVIRONMENT_PADDEDCELL','%TBASS_EAX_ENVIRONMENT_PARKINGLOT','%TBASS_EAX_ENVIRONMENT_PLAIN','%TBASS_EAX_ENVIRONMENT_PSYCHOTIC','%TBASS_EAX_ENVIRONMENT_QUARRY',
721
+                        '%TBASS_EAX_ENVIRONMENT_ROOM','%TBASS_EAX_ENVIRONMENT_SEWERPIPE','%TBASS_EAX_ENVIRONMENT_STONECORRIDOR','%TBASS_EAX_ENVIRONMENT_STONEROOM','%TBASS_EAX_ENVIRONMENT_UNDERWATER','%TBASS_ERROR_ALREADY','%TBASS_ERROR_BUFLOST','%TBASS_ERROR_CODEC',
722
+                        '%TBASS_ERROR_CREATE','%TBASS_ERROR_DECODE','%TBASS_ERROR_DEVICE','%TBASS_ERROR_DRIVER','%TBASS_ERROR_DX','%TBASS_ERROR_EMPTY','%TBASS_ERROR_FILEFORM','%TBASS_ERROR_FILEOPEN',
723
+                        '%TBASS_ERROR_FORMAT','%TBASS_ERROR_FREQ','%TBASS_ERROR_HANDLE','%TBASS_ERROR_ILLPARAM','%TBASS_ERROR_ILLTYPE','%TBASS_ERROR_INIT','%TBASS_ERROR_MEM','%TBASS_ERROR_NO3D',
724
+                        '%TBASS_ERROR_NOCHAN','%TBASS_ERROR_NOEAX','%TBASS_ERROR_NOFX','%TBASS_ERROR_NOHW','%TBASS_ERROR_NONET','%TBASS_ERROR_NOPAUSE','%TBASS_ERROR_NOPLAY','%TBASS_ERROR_NOTAVAIL',
725
+                        '%TBASS_ERROR_NOTFILE','%TBASS_ERROR_PLAYING','%TBASS_ERROR_POSITION','%TBASS_ERROR_SPEAKER','%TBASS_ERROR_START','%TBASS_ERROR_TIMEOUT','%TBASS_ERROR_UNKNOWN','%TBASS_ERROR_VERSION',
726
+                        '%TBASS_FALSE','%TBASS_FILEPOS_CURRENT','%TBASS_FILEPOS_DECODE','%TBASS_FILEPOS_DOWNLOAD','%TBASS_FILEPOS_END','%TBASS_FILEPOS_START','%TBASS_FILE_CLOSE','%TBASS_FILE_LEN',
727
+                        '%TBASS_FILE_READ','%TBASS_FILE_SEEK','%TBASS_FX_CHORUS','%TBASS_FX_COMPRESSOR','%TBASS_FX_DISTORTION','%TBASS_FX_ECHO','%TBASS_FX_FLANGER','%TBASS_FX_GARGLE',
728
+                        '%TBASS_FX_I3DL2REVERB','%TBASS_FX_PARAMEQ','%TBASS_FX_PHASE_180','%TBASS_FX_PHASE_90','%TBASS_FX_PHASE_NEG_180','%TBASS_FX_PHASE_NEG_90','%TBASS_FX_PHASE_ZERO','%TBASS_FX_REVERB',
729
+                        '%TBASS_INPUT_LEVEL','%TBASS_INPUT_OFF','%TBASS_INPUT_ON','%TBASS_INPUT_TYPE_ANALOG','%TBASS_INPUT_TYPE_AUX','%TBASS_INPUT_TYPE_CD','%TBASS_INPUT_TYPE_DIGITAL','%TBASS_INPUT_TYPE_LINE',
730
+                        '%TBASS_INPUT_TYPE_MASK','%TBASS_INPUT_TYPE_MIC','%TBASS_INPUT_TYPE_PHONE','%TBASS_INPUT_TYPE_SPEAKER','%TBASS_INPUT_TYPE_SYNTH','%TBASS_INPUT_TYPE_UNDEF','%TBASS_INPUT_TYPE_WAVE','%TBASS_MP3_SETPOS',
731
+                        '%TBASS_MUSIC_3D','%TBASS_MUSIC_ATTRIB_AMPLIFY','%TBASS_MUSIC_ATTRIB_BPM','%TBASS_MUSIC_ATTRIB_PANSEP','%TBASS_MUSIC_ATTRIB_PSCALER','%TBASS_MUSIC_ATTRIB_SPEED','%TBASS_MUSIC_ATTRIB_VOL_CHAN','%TBASS_MUSIC_ATTRIB_VOL_GLOBAL',
732
+                        '%TBASS_MUSIC_ATTRIB_VOL_INST','%TBASS_MUSIC_AUTOFREE','%TBASS_MUSIC_CALCLEN','%TBASS_MUSIC_DECODE','%TBASS_MUSIC_FLOAT','%TBASS_MUSIC_FT2MOD','%TBASS_MUSIC_FX','%TBASS_MUSIC_LOOP',
733
+                        '%TBASS_MUSIC_MONO','%TBASS_MUSIC_NONINTER','%TBASS_MUSIC_NOSAMPLE','%TBASS_MUSIC_POSRESET','%TBASS_MUSIC_POSRESETEX','%TBASS_MUSIC_PRESCAN','%TBASS_MUSIC_PT1MOD','%TBASS_MUSIC_RAMP',
734
+                        '%TBASS_MUSIC_RAMPS','%TBASS_MUSIC_STOPBACK','%TBASS_MUSIC_SURROUND','%TBASS_MUSIC_SURROUND2','%TBASS_OBJECT_DS','%TBASS_OBJECT_DS3DL','%TBASS_OK','%TBASS_RECORD_PAUSE',
735
+                        '%TBASS_SAMPLE_3D','%TBASS_SAMPLE_8BITS','%TBASS_SAMPLE_FLOAT','%TBASS_SAMPLE_FX','%TBASS_SAMPLE_LOOP','%TBASS_SAMPLE_MONO','%TBASS_SAMPLE_MUTEMAX','%TBASS_SAMPLE_OVER_DIST',
736
+                        '%TBASS_SAMPLE_OVER_POS','%TBASS_SAMPLE_OVER_VOL','%TBASS_SAMPLE_SOFTWARE','%TBASS_SAMPLE_VAM','%TBASS_SLIDE_FREQ','%TBASS_SLIDE_PAN','%TBASS_SLIDE_VOL','%TBASS_SPEAKER_CENLFE',
737
+                        '%TBASS_SPEAKER_CENTER','%TBASS_SPEAKER_FRONT','%TBASS_SPEAKER_FRONTLEFT','%TBASS_SPEAKER_FRONTRIGHT','%TBASS_SPEAKER_LEFT','%TBASS_SPEAKER_LFE','%TBASS_SPEAKER_REAR','%TBASS_SPEAKER_REAR2',
738
+                        '%TBASS_SPEAKER_REAR2LEFT','%TBASS_SPEAKER_REAR2RIGHT','%TBASS_SPEAKER_REARLEFT','%TBASS_SPEAKER_REARRIGHT','%TBASS_SPEAKER_RIGHT','%TBASS_STREAMPROC_END','%TBASS_STREAM_AUTOFREE','%TBASS_STREAM_BLOCK',
739
+                        '%TBASS_STREAM_DECODE','%TBASS_STREAM_PRESCAN','%TBASS_STREAM_RESTRATE','%TBASS_STREAM_STATUS','%TBASS_SYNC_DOWNLOAD','%TBASS_SYNC_END','%TBASS_SYNC_FREE','%TBASS_SYNC_MESSAGE',
740
+                        '%TBASS_SYNC_META','%TBASS_SYNC_MIXTIME','%TBASS_SYNC_MUSICFX','%TBASS_SYNC_MUSICINST','%TBASS_SYNC_MUSICPOS','%TBASS_SYNC_ONETIME','%TBASS_SYNC_POS','%TBASS_SYNC_SLIDE',
741
+                        '%TBASS_SYNC_STALL','%TBASS_TAG_HTTP','%TBASS_TAG_ICY','%TBASS_TAG_ID3','%TBASS_TAG_ID3V2','%TBASS_TAG_META','%TBASS_TAG_MUSIC_INST','%TBASS_TAG_MUSIC_MESSAGE',
742
+                        '%TBASS_TAG_MUSIC_NAME','%TBASS_TAG_MUSIC_SAMPLE','%TBASS_TAG_OGG','%TBASS_TAG_RIFF_INFO','%TBASS_TAG_VENDOR','%TBASS_TRUE','%TBASS_UNICODE','%TBASS_VAM_HARDWARE',
743
+                        '%TBASS_VAM_SOFTWARE','%TBASS_VAM_TERM_DIST','%TBASS_VAM_TERM_PRIO','%TBASS_VAM_TERM_TIME','%TBASS_VERSION','%TBCD_CHANNEL','%TBCD_THUMB','%TBCD_TICS',
744
+                        '%TBGL_ALIGN_CENTER','%TBGL_ALIGN_CENTER_CENTER','%TBGL_ALIGN_CENTER_DOWN','%TBGL_ALIGN_CENTER_UP','%TBGL_ALIGN_LEFT','%TBGL_ALIGN_LEFT_CENTER','%TBGL_ALIGN_LEFT_DOWN','%TBGL_ALIGN_LEFT_UP',
745
+                        '%TBGL_ALIGN_RIGHT','%TBGL_ALIGN_RIGHT_CENTER','%TBGL_ALIGN_RIGHT_DOWN','%TBGL_ALIGN_RIGHT_UP','%TBGL_ALWAYS','%TBGL_EQUAL','%TBGL_ERROR_FILE','%TBGL_ERROR_MSGBOX',
746
+                        '%TBGL_ERROR_NONE','%TBGL_GEQUAL','%TBGL_GREATER','%TBGL_LEQUAL','%TBGL_LESS','%TBGL_LIGHT_AMBIENT','%TBGL_LIGHT_CONSTANT_ATTENUATION','%TBGL_LIGHT_DIFFUSE',
747
+                        '%TBGL_LIGHT_LINEAR_ATTENUATION','%TBGL_LIGHT_POSITION','%TBGL_LIGHT_QUADRATIC_ATTENUATION','%TBGL_LIGHT_SPECULAR','%TBGL_LIGHT_SPOT_CUTOFF','%TBGL_LIGHT_SPOT_DIRECTION','%TBGL_LIGHT_SPOT_EXPONENT','%TBGL_M15B',
748
+                        '%TBGL_M15G','%TBGL_M15LAYER','%TBGL_M15PSTOP','%TBGL_M15R','%TBGL_M15TEXN','%TBGL_M15TEXX','%TBGL_M15TEXY','%TBGL_M15X',
749
+                        '%TBGL_M15Y','%TBGL_M15Z','%TBGL_NEVER','%TBGL_NORMAL_NONE','%TBGL_NORMAL_PRECISE','%TBGL_NORMAL_SMOOTH','%TBGL_NOTEQUAL','%TBGL_OBJ_CUBE',
750
+                        '%TBGL_OBJ_CUBE3','%TBGL_OBJ_CYLINDER','%TBGL_OBJ_SPHERE','%TBGL_PINFO_RGB','%TBGL_PINFO_XYZ','%TBGL_TEX_LINEAR','%TBGL_TEX_MIPMAP','%TBGL_TEX_NEAREST',
751
+                        '%TBM_CLEARSEL','%TBM_CLEARTICS','%TBM_GETBUDDY','%TBM_GETCHANNELRECT','%TBM_GETLINESIZE','%TBM_GETNUMTICS','%TBM_GETPAGESIZE','%TBM_GETPOS',
752
+                        '%TBM_GETPTICS','%TBM_GETRANGEMAX','%TBM_GETRANGEMIN','%TBM_GETSELEND','%TBM_GETSELSTART','%TBM_GETTHUMBLENGTH','%TBM_GETTHUMBRECT','%TBM_GETTIC',
753
+                        '%TBM_GETTICPOS','%TBM_GETTOOLTIPS','%TBM_GETUNICODEFORMAT','%TBM_SETBUDDY','%TBM_SETLINESIZE','%TBM_SETPAGESIZE','%TBM_SETPOS','%TBM_SETRANGE',
754
+                        '%TBM_SETRANGEMAX','%TBM_SETRANGEMIN','%TBM_SETSEL','%TBM_SETSELEND','%TBM_SETSELSTART','%TBM_SETTHUMBLENGTH','%TBM_SETTIC','%TBM_SETTICFREQ',
755
+                        '%TBM_SETTIPSIDE','%TBM_SETTOOLTIPS','%TBM_SETUNICODEFORMAT','%TBS_AUTOTICKS','%TBS_BOTH','%TBS_BOTTOM','%TBS_DOWNISLEFT','%TBS_ENABLESELRANGE',
756
+                        '%TBS_FIXEDLENGTH','%TBS_HORZ','%TBS_LEFT','%TBS_NOTHUMB','%TBS_NOTICKS','%TBS_REVERSED','%TBS_RIGHT','%TBS_TOOLTIPS',
757
+                        '%TBS_TOP','%TBS_VERT','%TBTS_BOTTOM','%TBTS_LEFT','%TBTS_RIGHT','%TBTS_TOP','%TB_%VT_BSTR','%TB_%VT_CY',
758
+                        '%TB_%VT_DATE','%TB_%VT_EMPTY','%TB_%VT_I2','%TB_%VT_I4','%TB_%VT_NULL','%TB_%VT_R4','%TB_%VT_R8','%TB_BOTTOM',
759
+                        '%TB_CLASS_E_NOAGGREGATION','%TB_CO_E_CLASSSTRING','%TB_DISPATCH_METHOD','%TB_DISPATCH_PROPERTYGET','%TB_DISPATCH_PROPERTYPUT','%TB_DISPATCH_PROPERTYPUTREF','%TB_ENDTRACK','%TB_E_INVALIDARG',
760
+                        '%TB_E_NOINTERFACE','%TB_E_OUTOFMEMORY','%TB_IMGCTX_ACTUALSIZE','%TB_IMGCTX_AUTOSIZE','%TB_IMGCTX_FITTOHEIGHT','%TB_IMGCTX_FITTOWIDTH','%TB_IMGCTX_STRETCH','%TB_LINEDOWN',
761
+                        '%TB_LINEUP','%TB_MK_E_CONNECTMANUALLY','%TB_MK_E_EXCEEDEDDEADLINE','%TB_MK_E_INTERMEDIATEINTERFACENOTSUPPORTED','%TB_MK_E_NOOBJECT','%TB_MK_E_SYNTAX','%TB_PAGEDOWN','%TB_PAGEUP',
762
+                        '%TB_REGDB_E_CLASSNOTREG','%TB_REGDB_E_WRITEREGDB','%TB_SIZEOF_TBVARIANT','%TB_S_FALSE','%TB_S_OK','%TB_THUMBPOSITION','%TB_THUMBTRACK','%TB_TOP',
763
+                        '%TCM_FIRST','%TCM_GETCURSEL','%TCN_FOCUSCHANGE','%TCN_GETOBJECT','%TCN_SELCHANGE','%TCN_SELCHANGING','%TCS_BOTTOM','%TCS_BUTTONS',
764
+                        '%TCS_EX_FLATSEPARATORS','%TCS_EX_REGISTERDROP','%TCS_FIXEDWIDTH','%TCS_FLATBUTTONS','%TCS_FOCUSNEVER','%TCS_FOCUSONBUTTONDOWN','%TCS_FORCEICONLEFT','%TCS_FORCELABELLEFT',
765
+                        '%TCS_HOTTRACK','%TCS_MULTILINE','%TCS_MULTISELECT','%TCS_OWNERDRAWFIXED','%TCS_RAGGEDRIGHT','%TCS_RIGHT','%TCS_RIGHTJUSTIFY','%TCS_SCROLLOPPOSITE',
766
+                        '%TCS_SINGLELINE','%TCS_TABS','%TCS_TOOLTIPS','%TCS_VERTICAL','%TM_PLAINTEXT','%TM_RICHTEXT','%TOKENIZER_DEFAULT_ALPHA','%TOKENIZER_DEFAULT_DELIM',
767
+                        '%TOKENIZER_DEFAULT_DQUOTE','%TOKENIZER_DEFAULT_NEWLINE','%TOKENIZER_DEFAULT_NUMERIC','%TOKENIZER_DEFAULT_SPACE','%TOKENIZER_DELIMITER','%TOKENIZER_EOL','%TOKENIZER_ERROR','%TOKENIZER_FINISHED',
768
+                        '%TOKENIZER_NUMBER','%TOKENIZER_QUOTE','%TOKENIZER_STRING','%TOKENIZER_UNDEFTOK','%TRUE','%TV_FIRST','%UDM_GETACCEL','%UDM_GETBASE',
769
+                        '%UDM_GETBUDDY','%UDM_GETPOS','%UDM_GETPOS32','%UDM_GETRANGE','%UDM_GETRANGE32','%UDM_GETUNICODEFORMAT','%UDM_SETACCEL','%UDM_SETBASE',
770
+                        '%UDM_SETBUDDY','%UDM_SETPOS','%UDM_SETPOS32','%UDM_SETRANGE','%UDM_SETRANGE32','%UDM_SETUNICODEFORMAT','%UDS_ALIGNLEFT','%UDS_ALIGNRIGHT',
771
+                        '%UDS_ARROWKEYS','%UDS_AUTOBUDDY','%UDS_HORZ','%UDS_HOTTRACK','%UDS_NOTHOUSANDS','%UDS_SETBUDDYINT','%UDS_WRAP','%UD_MAXVAL',
772
+                        '%UD_MINVAL','%VK_0','%VK_1','%VK_2','%VK_3','%VK_4','%VK_5','%VK_6',
773
+                        '%VK_7','%VK_8','%VK_9','%VK_A','%VK_ACCEPT','%VK_ADD','%VK_APPS','%VK_B',
774
+                        '%VK_BACK','%VK_C','%VK_CANCEL','%VK_CAPITAL','%VK_CLEAR','%VK_CONTROL','%VK_CONVERT','%VK_D',
775
+                        '%VK_DECIMAL','%VK_DELETE','%VK_DIVIDE','%VK_DOWN','%VK_E','%VK_END','%VK_ESCAPE','%VK_EXECUTE',
776
+                        '%VK_F','%VK_F1','%VK_F10','%VK_F11','%VK_F12','%VK_F13','%VK_F14','%VK_F15',
777
+                        '%VK_F16','%VK_F17','%VK_F18','%VK_F19','%VK_F2','%VK_F20','%VK_F21','%VK_F22',
778
+                        '%VK_F23','%VK_F24','%VK_F3','%VK_F4','%VK_F5','%VK_F6','%VK_F7','%VK_F8',
779
+                        '%VK_F9','%VK_FINAL','%VK_G','%VK_H','%VK_HANGEUL','%VK_HANGUL','%VK_HANJA','%VK_HELP',
780
+                        '%VK_HOME','%VK_I','%VK_INSERT','%VK_J','%VK_JUNJA','%VK_K','%VK_KANA','%VK_KANJI',
781
+                        '%VK_L','%VK_LBUTTON','%VK_LEFT','%VK_LINEFEED','%VK_LWIN','%VK_M','%VK_MBUTTON','%VK_MENU',
782
+                        '%VK_MODECHANGE','%VK_MULTIPLY','%VK_N','%VK_NEXT','%VK_NONCONVERT','%VK_NUMLOCK','%VK_NUMPAD0','%VK_NUMPAD1',
783
+                        '%VK_NUMPAD2','%VK_NUMPAD3','%VK_NUMPAD4','%VK_NUMPAD5','%VK_NUMPAD6','%VK_NUMPAD7','%VK_NUMPAD8','%VK_NUMPAD9',
784
+                        '%VK_O','%VK_P','%VK_PAUSE','%VK_PGDN','%VK_PGUP','%VK_PRINT','%VK_PRIOR','%VK_Q',
785
+                        '%VK_R','%VK_RBUTTON','%VK_RETURN','%VK_RIGHT','%VK_RWIN','%VK_S','%VK_SCROLL','%VK_SELECT',
786
+                        '%VK_SEPARATOR','%VK_SHIFT','%VK_SLEEP','%VK_SNAPSHOT','%VK_SPACE','%VK_SUBTRACT','%VK_T','%VK_TAB',
787
+                        '%VK_U','%VK_UP','%VK_V','%VK_W','%VK_X','%VK_XBUTTON1','%VK_XBUTTON2','%VK_Y',
788
+                        '%VK_Z','%VT_ARRAY','%VT_BLOB','%VT_BLOB_OBJECT','%VT_BOOL','%VT_BSTR','%VT_BYREF','%VT_CARRAY',
789
+                        '%VT_CF','%VT_CLSID','%VT_CY','%VT_DATE','%VT_DISPATCH','%VT_EMPTY','%VT_ERROR','%VT_FILETIME',
790
+                        '%VT_HRESULT','%VT_I1','%VT_I2','%VT_I4','%VT_I8','%VT_INT','%VT_LPSTR','%VT_LPWSTR',
791
+                        '%VT_NULL','%VT_PTR','%VT_R4','%VT_R8','%VT_RECORD','%VT_RESERVED','%VT_SAFEARRAY','%VT_STORAGE',
792
+                        '%VT_STORED_OBJECT','%VT_STREAM','%VT_STREAMED_OBJECT','%VT_UI1','%VT_UI2','%VT_UI4','%VT_UI8','%VT_UINT',
793
+                        '%VT_UNKNOWN','%VT_USERDEFINED','%VT_VARIANT','%VT_VECTOR','%VT_VOID','%WAVE_FORMAT_1M08','%WAVE_FORMAT_1M16','%WAVE_FORMAT_1S08',
794
+                        '%WAVE_FORMAT_1S16','%WAVE_FORMAT_2M08','%WAVE_FORMAT_2M16','%WAVE_FORMAT_2S08','%WAVE_FORMAT_2S16','%WAVE_FORMAT_4M08','%WAVE_FORMAT_4M16','%WAVE_FORMAT_4S08',
795
+                        '%WAVE_FORMAT_4S16','%WBF_CUSTOM','%WBF_LEVEL1','%WBF_LEVEL2','%WBF_OVERFLOW','%WBF_WORDBREAK','%WBF_WORDWRAP','%WHITE',
796
+                        '%WIN_FINDTITLECONTAIN','%WIN_FINDTITLEEND','%WIN_FINDTITLEEQUAL','%WIN_FINDTITLESTART','%WM_ACTIVATE','%WM_ACTIVATEAPP','%WM_CAPTURECHANGED','%WM_CHAR',
797
+                        '%WM_CLOSE','%WM_COMMAND','%WM_DESTROY','%WM_DROPFILES','%WM_ERASEBKGND','%WM_GETTEXTLENGTH','%WM_HOTKEY','%WM_HSCROLL',
798
+                        '%WM_IDLE','%WM_INITDIALOG','%WM_KEYDOWN','%WM_KEYUP','%WM_KILLFOCUS','%WM_LBUTTONDBLCLK','%WM_LBUTTONDOWN','%WM_LBUTTONUP',
799
+                        '%WM_MBUTTONDBLCLK','%WM_MBUTTONDOWN','%WM_MBUTTONUP','%WM_MOUSEFIRST','%WM_MOUSEMOVE','%WM_MOUSEWHEEL','%WM_MOVE','%WM_MOVING',
800
+                        '%WM_NCLBUTTONDOWN','%WM_NCRBUTTONDOWN','%WM_NEXTDLGCTL','%WM_NOTIFY','%WM_PAINT','%WM_QUIT','%WM_RBUTTONDBLCLK','%WM_RBUTTONDOWN',
801
+                        '%WM_RBUTTONUP','%WM_SETFOCUS','%WM_SETFONT','%WM_SETTEXT','%WM_SIZE','%WM_SIZING','%WM_SYSCOMMAND','%WM_TIMER',
802
+                        '%WM_USER','%WM_VSCROLL','%WS_BORDER','%WS_CAPTION','%WS_CHILD','%WS_CLIPCHILDREN','%WS_CLIPSIBLINGS','%WS_DISABLED',
803
+                        '%WS_DLGFRAME','%WS_EX_ACCEPTFILES','%WS_EX_APPWINDOW','%WS_EX_CLIENTEDGE','%WS_EX_CONTEXTHELP','%WS_EX_CONTROLPARENT','%WS_EX_LAYERED','%WS_EX_LEFT',
804
+                        '%WS_EX_LEFTSCROLLBAR','%WS_EX_LTRREADING','%WS_EX_MDICHILD','%WS_EX_NOPARENTNOTIFY','%WS_EX_OVERLAPPEDWINDOW','%WS_EX_PALETTEWINDOW','%WS_EX_RIGHT','%WS_EX_RIGHTSCROLLBAR',
805
+                        '%WS_EX_RTLREADING','%WS_EX_STATICEDGE','%WS_EX_TOOLWINDOW','%WS_EX_TOPMOST','%WS_EX_TRANSPARENT','%WS_EX_WINDOWEDGE','%WS_GROUP','%WS_HSCROLL',
806
+                        '%WS_ICONIC','%WS_MAXIMIZE','%WS_MAXIMIZEBOX','%WS_MINIMIZE','%WS_MINIMIZEBOX','%WS_OVERLAPPEDWINDOW','%WS_POPUP','%WS_POPUPWINDOW',
807
+                        '%WS_SYSMENU','%WS_TABSTOP','%WS_THICKFRAME','%WS_VISIBLE','%WS_VSCROLL','%YELLOW','%ZERO','CRLF',
808
+                        'FALSE','M_E','M_PI','NULL','TAB','TRUE'
809
+                        )
810
+                ),
811
+        'SYMBOLS' => array(
812
+          '(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
813
+          ),
814
+        'CASE_SENSITIVE' => array(
815
+                GESHI_COMMENTS => false,
816
+                1 => false
817
+                ),
818
+        'STYLES' => array(
819
+                'KEYWORDS' => array(
820
+                        1 => 'color: #0000FF; font-weight: bold;',
821
+                        2 => 'color: #993333; font-style: italic; font-weight: bold;',
822
+                        3 => 'color: #000066;',
823
+                        4 => 'color: #993333;'
824
+                        ),
825
+                'COMMENTS' => array(
826
+                        1 => 'color: #008000;'
827
+                        ),
828
+                'BRACKETS' => array(
829
+                        0 => 'color: #333333;'
830
+                        ),
831
+                'STRINGS' => array(
832
+                        0 => 'color: #800080;'
833
+                        ),
834
+                'NUMBERS' => array(
835
+                        0 => 'color: #CC0000;'
836
+                        ),
837
+                'METHODS' => array(
838
+                        1 => 'color: #66cc66;'
839
+                        ),
840
+                'SYMBOLS' => array(
841
+                        0 => 'color: #333333;'
842
+                        ),
843
+                'ESCAPE_CHAR' => array(
844
+                        0 => 'color: #000099;'
845
+                        ),
846
+                'SCRIPT' => array(
847
+                        ),
848
+                'REGEXPS' => array(
849
+                        )
850
+                ),
851
+        'OOLANG' => false,
852
+        'OBJECT_SPLITTERS' => array(
853
+                1 => '_'
854
+                ),
855
+        'REGEXPS' => array(
856
+                ),
857
+        'STRICT_MODE_APPLIES' => GESHI_NEVER,
858
+        'SCRIPT_DELIMITERS' => array(
859
+                ),
860
+        'HIGHLIGHT_STRICT_BLOCK' => array(
861
+                )
862
+);
863
+
864
+?>

+ 382 - 0
plugins/geshi/tsql.php View File

@@ -0,0 +1,382 @@
1
+<?php
2
+/*************************************************************************************
3
+ * tsql.php
4
+ * --------
5
+ * Author: Duncan Lock (dunc@dflock.co.uk)
6
+ * Copyright: (c) 2006 Duncan Lock (http://dflock.co.uk/), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/11/22
9
+ *
10
+ * T-SQL language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2004/01/23 (1.0.0)
15
+ *  -  First Release
16
+ *
17
+ * TODO (updated 2006/01/23)
18
+ * -------------------------
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *     This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+$language_data = array (
41
+	'LANG_NAME' => 'T-SQL',
42
+	'COMMENT_SINGLE' => array(1 => '--'),
43
+	'COMMENT_MULTI' => array('/*' => '*/'),
44
+	'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
45
+	'QUOTEMARKS' => array("'", '"'),
46
+	'ESCAPE_CHAR' => '\\',
47
+	'KEYWORDS' => array(
48
+		1 => array(
49
+			/*
50
+				This will be highlighted in blue
51
+			*/
52
+
53
+			// Datatypes
54
+			'bigint', 'int', 'smallint', 'tinyint', 'bit', 'decimal', 'numeric', 'money',
55
+			'smallmoney', 'float', 'real', 'datetime', 'smalldatetime', 'char', 'varchar',
56
+			'text', 'nchar', 'nvarchar', 'ntext', 'binary', 'varbinary', 'image', 'cursor',
57
+			'sql_variant', 'table', 'timestamp', 'uniqueidentifier',
58
+
59
+			// Keywords
60
+			'ABSOLUTE', 'ACTION', 'ADD', 'ADMIN', 'AFTER', 'AGGREGATE', 'ALIAS', 'ALLOCATE', 'ALTER', 'ARE', 'ARRAY', 'AS',
61
+			'ASC', 'ASSERTION', 'AT', 'AUTHORIZATION', 'BACKUP', 'BEFORE', 'BEGIN', 'BINARY', 'BIT', 'BLOB', 'BOOLEAN', 'BOTH', 'BREADTH',
62
+			'BREAK', 'BROWSE', 'BULK', 'BY', 'CALL', 'CASCADE', 'CASCADED', 'CASE', 'CAST', 'CATALOG', 'CHAR', 'CHARACTER', 'CHECK', 'CHECKPOINT',
63
+			'CLASS', 'CLOB', 'CLOSE', 'CLUSTERED', 'COALESCE', 'COLLATE', 'COLLATION', 'COLUMN', 'COMMIT', 'COMPLETION', 'COMPUTE', 'CONNECT',
64
+			'CONNECTION', 'CONSTRAINT', 'CONSTRAINTS', 'CONSTRUCTOR', 'CONTAINS', 'CONTAINSTABLE', 'CONTINUE', 'CONVERT', 'CORRESPONDING', 'CREATE',
65
+			'CUBE', 'CURRENT', 'CURRENT_DATE', 'CURRENT_PATH', 'CURRENT_ROLE', 'CURRENT_TIME', 'CURRENT_TIMESTAMP', 'CURRENT_USER',
66
+			'CURSOR', 'CYCLE', 'DATA', 'DATABASE', 'DATE', 'DAY', 'DBCC', 'DEALLOCATE', 'DEC', 'DECIMAL', 'DECLARE', 'DEFAULT', 'DEFERRABLE',
67
+			'DEFERRED', 'DELETE', 'DENY', 'DEPTH', 'DEREF', 'DESC', 'DESCRIBE', 'DESCRIPTOR', 'DESTROY', 'DESTRUCTOR', 'DETERMINISTIC',
68
+			'DIAGNOSTICS', 'DICTIONARY', 'DISCONNECT', 'DISK', 'DISTINCT', 'DISTRIBUTED', 'DOMAIN', 'DOUBLE', 'DROP', 'DUMMY', 'DUMP', 'DYNAMIC',
69
+			'EACH', 'ELSE', 'END', 'END-EXEC', 'EQUALS', 'ERRLVL', 'ESCAPE', 'EVERY', 'EXCEPT', 'EXCEPTION', 'EXEC', 'EXECUTE', 'EXIT',
70
+			'EXTERNAL', 'FALSE', 'FETCH', 'FILE', 'FILLFACTOR', 'FIRST', 'FLOAT', 'FOR', 'FOREIGN', 'FOUND', 'FREE', 'FREETEXT', 'FREETEXTTABLE',
71
+			'FROM', 'FULL', 'FUNCTION', 'GENERAL', 'GET', 'GLOBAL', 'GOTO', 'GRANT', 'GROUP', 'GROUPING', 'HAVING', 'HOLDLOCK', 'HOST', 'HOUR',
72
+			'IDENTITY', 'IDENTITY_INSERT', 'IDENTITYCOL', 'IF', 'IGNORE', 'IMMEDIATE', 'INDEX', 'INDICATOR', 'INITIALIZE', 'INITIALLY',
73
+			'INNER', 'INOUT', 'INPUT', 'INSERT', 'INT', 'INTEGER', 'INTERSECT', 'INTERVAL', 'INTO', 'IS', 'ISOLATION', 'ITERATE', 'KEY',
74
+			'KILL', 'LANGUAGE', 'LARGE', 'LAST', 'LATERAL', 'LEADING', 'LEFT', 'LESS', 'LEVEL', 'LIMIT', 'LINENO', 'LOAD', 'LOCAL',
75
+			'LOCALTIME', 'LOCALTIMESTAMP', 'LOCATOR', 'MAP', 'MATCH', 'MINUTE', 'MODIFIES', 'MODIFY', 'MODULE', 'MONTH', 'NAMES', 'NATIONAL',
76
+			'NATURAL', 'NCHAR', 'NCLOB', 'NEW', 'NEXT', 'NO', 'NOCHECK', 'NONCLUSTERED', 'NONE', 'NULLIF', 'NUMERIC', 'OBJECT', 'OF',
77
+			'OFF', 'OFFSETS', 'OLD', 'ON', 'ONLY', 'OPEN', 'OPENDATASOURCE', 'OPENQUERY', 'OPENROWSET', 'OPENXML', 'OPERATION', 'OPTION',
78
+			'ORDER', 'ORDINALITY', 'OUT', 'OUTPUT', 'OVER', 'PAD', 'PARAMETER', 'PARAMETERS', 'PARTIAL', 'PATH', 'PERCENT', 'PLAN',
79
+			'POSTFIX', 'PRECISION', 'PREFIX', 'PREORDER', 'PREPARE', 'PRESERVE', 'PRIMARY', 'PRINT', 'PRIOR', 'PRIVILEGES', 'PROC', 'PROCEDURE',
80
+			'PUBLIC', 'RAISERROR', 'READ', 'READS', 'READTEXT', 'REAL', 'RECONFIGURE', 'RECURSIVE', 'REF', 'REFERENCES', 'REFERENCING', 'RELATIVE',
81
+			'REPLICATION', 'RESTORE', 'RESTRICT', 'RESULT', 'RETURN', 'RETURNS', 'REVOKE', 'RIGHT', 'ROLE', 'ROLLBACK', 'ROLLUP', 'ROUTINE', 'ROW',
82
+			'ROWGUIDCOL', 'ROWS', 'RULE', 'SAVE', 'SAVEPOINT', 'SCHEMA', 'SCOPE', 'SCROLL', 'SEARCH', 'SECOND', 'SECTION', 'SELECT',
83
+			'SEQUENCE', 'SESSION', 'SESSION_USER', 'SET', 'SETS', 'SETUSER', 'SHUTDOWN', 'SIZE', 'SMALLINT', 'SPACE', 'SPECIFIC',
84
+			'SPECIFICTYPE', 'SQL', 'SQLEXCEPTION', 'SQLSTATE', 'SQLWARNING', 'START', 'STATE', 'STATEMENT', 'STATIC', 'STATISTICS', 'STRUCTURE',
85
+			'SYSTEM_USER', 'TABLE', 'TEMPORARY', 'TERMINATE', 'TEXTSIZE', 'THAN', 'THEN', 'TIME', 'TIMESTAMP', 'TIMEZONE_HOUR', 'TIMEZONE_MINUTE',
86
+			'TO', 'TOP', 'TRAILING', 'TRAN', 'TRANSACTION', 'TRANSLATION', 'TREAT', 'TRIGGER', 'TRUE', 'TRUNCATE', 'TSEQUAL', 'UNDER', 'UNION',
87
+			'UNIQUE', 'UNKNOWN', 'UNNEST', 'UPDATE', 'UPDATETEXT', 'USAGE', 'USE', 'USER', 'USING', 'VALUE', 'VALUES', 'VARCHAR', 'VARIABLE',
88
+			'VARYING', 'VIEW', 'WAITFOR', 'WHEN', 'WHENEVER', 'WHERE', 'WHILE', 'WITH', 'WITHOUT', 'WORK', 'WRITE', 'WRITETEXT', 'YEAR', 'ZONE',
89
+			'UNCOMMITTED', 'NOCOUNT',
90
+			),
91
+		2 => array(
92
+			/*
93
+				Built-in functions
94
+				Highlighted in pink.
95
+			*/
96
+
97
+			//Configuration Functions
98
+			'@@DATEFIRST','@@OPTIONS','@@DBTS','@@REMSERVER','@@LANGID','@@SERVERNAME',
99
+			'@@LANGUAGE','@@SERVICENAME','@@LOCK_TIMEOUT','@@SPID','@@MAX_CONNECTIONS','@@TEXTSIZE',
100
+			'@@MAX_PRECISION','@@VERSION','@@NESTLEVEL',
101
+
102
+			//Cursor Functions
103
+			'@@CURSOR_ROWS','@@FETCH_STATUS',
104
+
105
+			//Date and Time Functions
106
+			'DATEADD','DATEDIFF','DATENAME','DATEPART','DAY','GETDATE','GETUTCDATE','MONTH','YEAR',
107
+
108
+			//Mathematical Functions
109
+			'ABS','DEGREES','RAND','ACOS','EXP','ROUND','ASIN','FLOOR','SIGN',
110
+			'ATAN','LOG','SIN','ATN2','LOG10','SQUARE','CEILING','PI','SQRT','COS',
111
+			'POWER','TAN','COT','RADIANS',
112
+
113
+			//Meta Data Functions
114
+			'COL_LENGTH','fn_listextendedproperty','COL_NAME','FULLTEXTCATALOGPROPERTY',
115
+			'COLUMNPROPERTY','FULLTEXTSERVICEPROPERTY','DATABASEPROPERTY','INDEX_COL',
116
+			'DATABASEPROPERTYEX','INDEXKEY_PROPERTY','DB_ID','INDEXPROPERTY','DB_NAME',
117
+			'OBJECT_ID','FILE_ID','OBJECT_NAME','FILE_NAME','OBJECTPROPERTY','FILEGROUP_ID',
118
+			'@@PROCID','FILEGROUP_NAME','SQL_VARIANT_PROPERTY','FILEGROUPPROPERTY',
119
+			'TYPEPROPERTY','FILEPROPERTY',
120
+
121
+			//Security Functions
122
+			'fn_trace_geteventinfo','IS_SRVROLEMEMBER','fn_trace_getfilterinfo','SUSER_SID',
123
+			'fn_trace_getinfo','SUSER_SNAME','fn_trace_gettable','USER_ID','HAS_DBACCESS',
124
+			'IS_MEMBER',
125
+
126
+			//String Functions
127
+			'ASCII','NCHAR','SOUNDEX','CHAR','PATINDEX','SPACE','CHARINDEX',
128
+			'REPLACE','STR','DIFFERENCE','QUOTENAME','STUFF','LEFT','REPLICATE',
129
+			'SUBSTRING','LEN','REVERSE','UNICODE','LOWER','RIGHT','UPPER','LTRIM',
130
+			'RTRIM',
131
+
132
+			//System Functions
133
+			'APP_NAME','COLLATIONPROPERTY','@@ERROR','fn_helpcollations',
134
+			'fn_servershareddrives','fn_virtualfilestats','FORMATMESSAGE',
135
+			'GETANSINULL','HOST_ID','HOST_NAME','IDENT_CURRENT','IDENT_INCR',
136
+			'IDENT_SEED','@@IDENTITY','ISDATE','ISNUMERIC','PARSENAME','PERMISSIONS',
137
+			'@@ROWCOUNT','ROWCOUNT_BIG','SCOPE_IDENTITY','SERVERPROPERTY','SESSIONPROPERTY',
138
+			'STATS_DATE','@@TRANCOUNT','USER_NAME',
139
+
140
+			//System Statistical Functions
141
+			'@@CONNECTIONS','@@PACK_RECEIVED','@@CPU_BUSY','@@PACK_SENT',
142
+			'fn_virtualfilestats','@@TIMETICKS','@@IDLE','@@TOTAL_ERRORS','@@IO_BUSY',
143
+			'@@TOTAL_READ','@@PACKET_ERRORS','@@TOTAL_WRITE',
144
+
145
+			//Text and Image Functions
146
+			'TEXTPTR','TEXTVALID',
147
+
148
+			//Aggregate functions
149
+			'AVG', 'MAX', 'BINARY_CHECKSUM', 'MIN', 'CHECKSUM', 'SUM', 'CHECKSUM_AGG',
150
+			'STDEV', 'COUNT', 'STDEVP', 'COUNT_BIG', 'VAR', 'GROUPING', 'VARP'
151
+			),
152
+		3 => array(
153
+			/*
154
+				System stored procedures
155
+				Higlighted dark brown
156
+			*/
157
+
158
+			//Active Directory Procedures
159
+			'sp_ActiveDirectory_Obj', 'sp_ActiveDirectory_SCP',
160
+
161
+			//Catalog Procedures
162
+			'sp_column_privileges', 'sp_special_columns', 'sp_columns', 'sp_sproc_columns',
163
+			'sp_databases', 'sp_statistics', 'sp_fkeys', 'sp_stored_procedures', 'sp_pkeys',
164
+			'sp_table_privileges', 'sp_server_info', 'sp_tables',
165
+
166
+			//Cursor Procedures
167
+			'sp_cursor_list', 'sp_describe_cursor_columns', 'sp_describe_cursor', 'sp_describe_cursor_tables',
168
+
169
+			//Database Maintenance Plan Procedures
170
+			'sp_add_maintenance_plan', 'sp_delete_maintenance_plan_db', 'sp_add_maintenance_plan_db',
171
+			'sp_delete_maintenance_plan_job', 'sp_add_maintenance_plan_job', 'sp_help_maintenance_plan',
172
+			'sp_delete_maintenance_plan',
173
+
174
+			//Distributed Queries Procedures
175
+			'sp_addlinkedserver', 'sp_indexes', 'sp_addlinkedsrvlogin', 'sp_linkedservers', 'sp_catalogs',
176
+			'sp_primarykeys', 'sp_column_privileges_ex', 'sp_serveroption', 'sp_columns_ex',
177
+			'sp_table_privileges_ex', 'sp_droplinkedsrvlogin', 'sp_tables_ex', 'sp_foreignkeys',
178
+
179
+			//Full-Text Search Procedures
180
+			'sp_fulltext_catalog', 'sp_help_fulltext_catalogs_cursor', 'sp_fulltext_column',
181
+			'sp_help_fulltext_columns', 'sp_fulltext_database', 'sp_help_fulltext_columns_cursor',
182
+			'sp_fulltext_service', 'sp_help_fulltext_tables', 'sp_fulltext_table',
183
+			'sp_help_fulltext_tables_cursor', 'sp_help_fulltext_catalogs',
184
+
185
+			//Log Shipping Procedures
186
+			'sp_add_log_shipping_database', 'sp_delete_log_shipping_database', 'sp_add_log_shipping_plan',
187
+			'sp_delete_log_shipping_plan', 'sp_add_log_shipping_plan_database',
188
+			'sp_delete_log_shipping_plan_database', 'sp_add_log_shipping_primary',
189
+			'sp_delete_log_shipping_primary', 'sp_add_log_shipping_secondary',
190
+			'sp_delete_log_shipping_secondary', 'sp_can_tlog_be_applied', 'sp_get_log_shipping_monitor_info',
191
+			'sp_change_monitor_role', 'sp_remove_log_shipping_monitor', 'sp_change_primary_role',
192
+			'sp_resolve_logins', 'sp_change_secondary_role', 'sp_update_log_shipping_monitor_info',
193
+			'sp_create_log_shipping_monitor_account', 'sp_update_log_shipping_plan',
194
+			'sp_define_log_shipping_monitor', 'sp_update_log_shipping_plan_database',
195
+
196
+			//OLE Automation Extended Stored Procedures
197
+			'sp_OACreate', 'sp_OAMethod', 'sp_OADestroy', 'sp_OASetProperty', 'sp_OAGetErrorInfo',
198
+			'sp_OAStop', 'sp_OAGetProperty',
199
+
200
+			//Replication Procedures
201
+			'sp_add_agent_parameter', 'sp_enableagentoffload', 'sp_add_agent_profile',
202
+			'sp_enumcustomresolvers', 'sp_addarticle', 'sp_enumdsn', 'sp_adddistpublisher',
203
+			'sp_enumfullsubscribers', 'sp_adddistributiondb', 'sp_expired_subscription_cleanup',
204
+			'sp_adddistributor', 'sp_generatefilters', 'sp_addmergealternatepublisher',
205
+			'sp_getagentoffloadinfo', 'sp_addmergearticle', 'sp_getmergedeletetype', 'sp_addmergefilter',
206
+			'sp_get_distributor', 'sp_addmergepublication', 'sp_getqueuedrows', 'sp_addmergepullsubscription',
207
+			'sp_getsubscriptiondtspackagename', 'sp_addmergepullsubscription_agent', 'sp_grant_publication_access',
208
+			'sp_addmergesubscription', 'sp_help_agent_default', 'sp_addpublication', 'sp_help_agent_parameter',
209
+			'sp_addpublication_snapshot', 'sp_help_agent_profile', 'sp_addpublisher70', 'sp_helparticle',
210
+			'sp_addpullsubscription', 'sp_helparticlecolumns', 'sp_addpullsubscription_agent', 'sp_helparticledts',
211
+			'sp_addscriptexec', 'sp_helpdistpublisher', 'sp_addsubscriber', 'sp_helpdistributiondb',
212
+			'sp_addsubscriber_schedule', 'sp_helpdistributor', 'sp_addsubscription', 'sp_helpmergealternatepublisher',
213
+			'sp_addsynctriggers', 'sp_helpmergearticle', 'sp_addtabletocontents', 'sp_helpmergearticlecolumn',
214
+			'sp_adjustpublisheridentityrange', 'sp_helpmergearticleconflicts', 'sp_article_validation',
215
+			'sp_helpmergeconflictrows', 'sp_articlecolumn', 'sp_helpmergedeleteconflictrows', 'sp_articlefilter',
216
+			'sp_helpmergefilter', 'sp_articlesynctranprocs', 'sp_helpmergepublication', 'sp_articleview',
217
+			'sp_helpmergepullsubscription', 'sp_attachsubscription', 'sp_helpmergesubscription', 'sp_browsesnapshotfolder',
218
+			'sp_helppublication', 'sp_browsemergesnapshotfolder', 'sp_help_publication_access', 'sp_browsereplcmds',
219
+			'sp_helppullsubscription', 'sp_change_agent_parameter', 'sp_helpreplfailovermode', 'sp_change_agent_profile',
220
+			'sp_helpreplicationdboption', 'sp_changearticle', 'sp_helpreplicationoption', 'sp_changedistpublisher',
221
+			'sp_helpsubscriberinfo', 'sp_changedistributiondb', 'sp_helpsubscription', 'sp_changedistributor_password',
222
+			'sp_ivindexhasnullcols', 'sp_changedistributor_property', 'sp_helpsubscription_properties', 'sp_changemergearticle',
223
+			'sp_link_publication', 'sp_changemergefilter', 'sp_marksubscriptionvalidation', 'sp_changemergepublication',
224
+			'sp_mergearticlecolumn', 'sp_changemergepullsubscription', 'sp_mergecleanupmetadata', 'sp_changemergesubscription',
225
+			'sp_mergedummyupdate', 'sp_changepublication', 'sp_mergesubscription_cleanup', 'sp_changesubscriber',
226
+			'sp_publication_validation', 'sp_changesubscriber_schedule', 'sp_refreshsubscriptions', 'sp_changesubscriptiondtsinfo',
227
+			'sp_reinitmergepullsubscription', 'sp_changesubstatus', 'sp_reinitmergesubscription', 'sp_change_subscription_properties',
228
+			'sp_reinitpullsubscription', 'sp_check_for_sync_trigger', 'sp_reinitsubscription', 'sp_copymergesnapshot',
229
+			'sp_removedbreplication', 'sp_copysnapshot', 'sp_repladdcolumn', 'sp_copysubscription', 'sp_replcmds',
230
+			'sp_deletemergeconflictrow', 'sp_replcounters', 'sp_disableagentoffload', 'sp_repldone', 'sp_drop_agent_parameter',
231
+			'sp_repldropcolumn', 'sp_drop_agent_profile', 'sp_replflush', 'sp_droparticle', 'sp_replicationdboption',
232
+			'sp_dropanonymouseagent', 'sp_replication_agent_checkup', 'sp_dropdistpublisher', 'sp_replqueuemonitor',
233
+			'sp_dropdistributiondb', 'sp_replsetoriginator', 'sp_dropmergealternatepublisher', 'sp_replshowcmds',
234
+			'sp_dropdistributor', 'sp_repltrans', 'sp_dropmergearticle', 'sp_restoredbreplication', 'sp_dropmergefilter',
235
+			'sp_revoke_publication_access', 'sp_scriptsubconflicttable', 'sp_dropmergepublication', 'sp_script_synctran_commands',
236
+			'sp_dropmergepullsubscription', 'sp_setreplfailovermode', 'sp_showrowreplicainfo', 'sp_dropmergesubscription',
237
+			'sp_subscription_cleanup', 'sp_droppublication', 'sp_table_validation', 'sp_droppullsubscription',
238
+			'sp_update_agent_profile', 'sp_dropsubscriber', 'sp_validatemergepublication', 'sp_dropsubscription',
239
+			'sp_validatemergesubscription', 'sp_dsninfo', 'sp_vupgrade_replication', 'sp_dumpparamcmd',
240
+
241
+			//Security Procedures
242
+			'sp_addalias', 'sp_droprolemember', 'sp_addapprole', 'sp_dropserver', 'sp_addgroup', 'sp_dropsrvrolemember',
243
+			'sp_addlinkedsrvlogin', 'sp_dropuser', 'sp_addlogin', 'sp_grantdbaccess', 'sp_addremotelogin',
244
+			'sp_grantlogin', 'sp_addrole', 'sp_helpdbfixedrole', 'sp_addrolemember', 'sp_helpgroup',
245
+			'sp_addserver', 'sp_helplinkedsrvlogin', 'sp_addsrvrolemember', 'sp_helplogins', 'sp_adduser',
246
+			'sp_helpntgroup', 'sp_approlepassword', 'sp_helpremotelogin', 'sp_changedbowner', 'sp_helprole',
247
+			'sp_changegroup', 'sp_helprolemember', 'sp_changeobjectowner', 'sp_helprotect', 'sp_change_users_login',
248
+			'sp_helpsrvrole', 'sp_dbfixedrolepermission', 'sp_helpsrvrolemember', 'sp_defaultdb', 'sp_helpuser',
249
+			'sp_defaultlanguage', 'sp_MShasdbaccess', 'sp_denylogin', 'sp_password', 'sp_dropalias', 'sp_remoteoption',
250
+			'sp_dropapprole', 'sp_revokedbaccess', 'sp_dropgroup', 'sp_revokelogin', 'sp_droplinkedsrvlogin',
251
+			'sp_setapprole', 'sp_droplogin', 'sp_srvrolepermission', 'sp_dropremotelogin', 'sp_validatelogins', 'sp_droprole',
252
+
253
+			//SQL Mail Procedures
254
+			'sp_processmail', 'xp_sendmail', 'xp_deletemail', 'xp_startmail', 'xp_findnextmsg', 'xp_stopmail', 'xp_readmail',
255
+
256
+			//SQL Profiler Procedures
257
+			'sp_trace_create', 'sp_trace_setfilter', 'sp_trace_generateevent', 'sp_trace_setstatus', 'sp_trace_setevent',
258
+
259
+			//SQL Server Agent Procedures
260
+			'sp_add_alert', 'sp_help_jobhistory', 'sp_add_category', 'sp_help_jobschedule', 'sp_add_job',
261
+			'sp_help_jobserver', 'sp_add_jobschedule', 'sp_help_jobstep', 'sp_add_jobserver', 'sp_help_notification',
262
+			'sp_add_jobstep', 'sp_help_operator', 'sp_add_notification', 'sp_help_targetserver',
263
+			'sp_add_operator', 'sp_help_targetservergroup', 'sp_add_targetservergroup', 'sp_helptask',
264
+			'sp_add_targetsvrgrp_member', 'sp_manage_jobs_by_login', 'sp_addtask', 'sp_msx_defect',
265
+			'sp_apply_job_to_targets', 'sp_msx_enlist', 'sp_delete_alert', 'sp_post_msx_operation',
266
+			'sp_delete_category', 'sp_purgehistory', 'sp_delete_job', 'sp_purge_jobhistory', 'sp_delete_jobschedule',
267
+			'sp_reassigntask', 'sp_delete_jobserver', 'sp_remove_job_from_targets', 'sp_delete_jobstep',
268
+			'sp_resync_targetserver', 'sp_delete_notification', 'sp_start_job', 'sp_delete_operator',
269
+			'sp_stop_job', 'sp_delete_targetserver', 'sp_update_alert', 'sp_delete_targetservergroup',
270
+			'sp_update_category', 'sp_delete_targetsvrgrp_member', 'sp_update_job', 'sp_droptask',
271
+			'sp_update_jobschedule', 'sp_help_alert', 'sp_update_jobstep', 'sp_help_category',
272
+			'sp_update_notification', 'sp_help_downloadlist', 'sp_update_operator', 'sp_helphistory',
273
+			'sp_update_targetservergroup', 'sp_help_job', 'sp_updatetask', 'xp_sqlagent_proxy_account',
274
+
275
+			//System Procedures
276
+			'sp_add_data_file_recover_suspect_db', 'sp_helpconstraint', 'sp_addextendedproc',
277
+			'sp_helpdb', 'sp_addextendedproperty', 'sp_helpdevice', 'sp_add_log_file_recover_suspect_db',
278
+			'sp_helpextendedproc', 'sp_addmessage', 'sp_helpfile', 'sp_addtype', 'sp_helpfilegroup',
279
+			'sp_addumpdevice', 'sp_helpindex', 'sp_altermessage', 'sp_helplanguage', 'sp_autostats',
280
+			'sp_helpserver', 'sp_attach_db', 'sp_helpsort', 'sp_attach_single_file_db', 'sp_helpstats',
281
+			'sp_bindefault', 'sp_helptext', 'sp_bindrule', 'sp_helptrigger', 'sp_bindsession',
282
+			'sp_indexoption', 'sp_certify_removable', 'sp_invalidate_textptr', 'sp_configure',
283
+			'sp_lock', 'sp_create_removable', 'sp_monitor', 'sp_createstats', 'sp_procoption',
284
+			'sp_cycle_errorlog', 'sp_recompile', 'sp_datatype_info', 'sp_refreshview', 'sp_dbcmptlevel',
285
+			'sp_releaseapplock', 'sp_dboption', 'sp_rename', 'sp_dbremove', 'sp_renamedb',
286
+			'sp_delete_backuphistory', 'sp_resetstatus', 'sp_depends', 'sp_serveroption', 'sp_detach_db',
287
+			'sp_setnetname', 'sp_dropdevice', 'sp_settriggerorder', 'sp_dropextendedproc', 'sp_spaceused',
288
+			'sp_dropextendedproperty', 'sp_tableoption', 'sp_dropmessage', 'sp_unbindefault', 'sp_droptype',
289
+			'sp_unbindrule', 'sp_executesql', 'sp_updateextendedproperty', 'sp_getapplock', 'sp_updatestats',
290
+			'sp_getbindtoken', 'sp_validname', 'sp_help', 'sp_who',
291
+
292
+			//Web Assistant Procedures
293
+			'sp_dropwebtask', 'sp_makewebtask', 'sp_enumcodepages', 'sp_runwebtask',
294
+
295
+			//XML Procedures
296
+			'sp_xml_preparedocument', 'sp_xml_removedocument',
297
+
298
+			//General Extended Procedures
299
+			'xp_cmdshellxp_logininfo', 'xp_enumgroups', 'xp_msver', 'xp_findnextmsgxp_revokelogin',
300
+			'xp_grantlogin', 'xp_sprintf', 'xp_logevent', 'xp_sqlmaint', 'xp_loginconfig', 'xp_sscanf',
301
+
302
+			//API System Stored Procedures
303
+			'sp_cursor', 'sp_cursorclose', 'sp_cursorexecute', 'sp_cursorfetch', 'sp_cursoropen',
304
+			'sp_cursoroption', 'sp_cursorprepare', 'sp_cursorunprepare', 'sp_execute', 'sp_prepare', 'sp_unprepare',
305
+
306
+			//Misc
307
+			'sp_createorphan', 'sp_droporphans', 'sp_reset_connection', 'sp_sdidebug'
308
+			),
309
+		4 => array(
310
+			//Function/sp's higlighted brown.
311
+			'fn_helpcollations', 'fn_listextendedproperty ', 'fn_servershareddrives',
312
+			'fn_trace_geteventinfo', 'fn_trace_getfilterinfo', 'fn_trace_getinfo',
313
+			'fn_trace_gettable', 'fn_virtualfilestats',
314
+			),
315
+		),
316
+	'SYMBOLS' => array(
317
+		'!', '!=', '%', '&', '&&', '(', ')', '*', '+', '-', '/', '<', '<<', '<=',
318
+		'<=>', '<>', '=', '>', '>=', '>>', '^', 'ALL', 'AND', 'ANY', 'BETWEEN', 'CROSS',
319
+		'EXISTS', 'IN', 'JOIN', 'LIKE', 'NOT', 'NULL', 'OR', 'OUTER', 'SOME', '|', '||', '~'
320
+		),
321
+	'CASE_SENSITIVE' => array(
322
+		GESHI_COMMENTS => true,
323
+		1 => false,
324
+		2 => false,
325
+		3 => false,
326
+		4 => false,
327
+		),
328
+	'STYLES' => array(
329
+		'KEYWORDS' => array(
330
+			1 => 'color: #0000FF;',
331
+			2 => 'color: #FF00FF;',
332
+			3 => 'color: #AF0000;',
333
+			4 => 'color: #AF0000;'
334
+			),
335
+		'COMMENTS' => array(
336
+			1 => 'color: #008080;',
337
+			'MULTI' => 'color: #008080;'
338
+			),
339
+		'ESCAPE_CHAR' => array(
340
+			0 => 'color: #000099; font-weight: bold;'
341
+			),
342
+		'BRACKETS' => array(
343
+			0 => 'color: #808080;'
344
+			),
345
+		'STRINGS' => array(
346
+			0 => 'color: #FF0000;'
347
+			),
348
+		'NUMBERS' => array(
349
+			0 => 'color: #000;'
350
+			),
351
+		'METHODS' => array(
352
+			1 => 'color: #202020;',
353
+			2 => 'color: #202020;'
354
+			),
355
+		'SYMBOLS' => array(
356
+			0 => 'color: #808080;'
357
+			),
358
+		'REGEXPS' => array(
359
+			),
360
+		'SCRIPT' => array(
361
+			)
362
+		),
363
+	'URLS' => array(
364
+		1 => '',
365
+		2 => '',
366
+		3 => '',
367
+		4 => ''
368
+		),
369
+	'OOLANG' => true,
370
+	'OBJECT_SPLITTERS' => array(
371
+		1 => '.'
372
+		),
373
+	'REGEXPS' => array(
374
+		),
375
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
376
+	'SCRIPT_DELIMITERS' => array(
377
+		),
378
+	'HIGHLIGHT_STRICT_BLOCK' => array(
379
+		)
380
+);
381
+
382
+?>

+ 148 - 0
plugins/geshi/vb.php View File

@@ -0,0 +1,148 @@
1
+<?php
2
+/*************************************************************************************
3
+ * vb.php
4
+ * ------
5
+ * Author: Roberto Rossi (rsoftware@altervista.org)
6
+ * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/08/30
9
+ *
10
+ * Visual Basic language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2004/11/27 (1.0.1)
15
+ *  -  Added support for multiple object splitters
16
+ * 2004/08/30 (1.0.0)
17
+ *  -  First Release
18
+ *
19
+ * TODO (updated 2004/11/27)
20
+ * -------------------------
21
+ *
22
+ *************************************************************************************
23
+ *
24
+ *     This file is part of GeSHi.
25
+ *
26
+ *   GeSHi is free software; you can redistribute it and/or modify
27
+ *   it under the terms of the GNU General Public License as published by
28
+ *   the Free Software Foundation; either version 2 of the License, or
29
+ *   (at your option) any later version.
30
+ *
31
+ *   GeSHi is distributed in the hope that it will be useful,
32
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
33
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34
+ *   GNU General Public License for more details.
35
+ *
36
+ *   You should have received a copy of the GNU General Public License
37
+ *   along with GeSHi; if not, write to the Free Software
38
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
39
+ *
40
+ ************************************************************************************/
41
+ $language_data = array (
42
+	'LANG_NAME' => 'Visual Basic',
43
+	'COMMENT_SINGLE' => array(1 => "'"),
44
+	'COMMENT_MULTI' => array(),
45
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
46
+	'QUOTEMARKS' => array('"'),
47
+	'ESCAPE_CHAR' => '',
48
+	'KEYWORDS' => array(
49
+		1 => array(
50
+			'as', 'err', 'boolean', 'and', 'or', 'recordset', 'unload', 'to',
51
+			'integer','long','single','new','database','nothing','set','close',
52
+			'open','print','split','line','field','querydef','instrrev',
53
+			'abs','array','asc','ascb','ascw','atn','avg','me',
54
+			'cbool','cbyte','ccur','cdate','cdbl','cdec','choose','chr','chrb','chrw','cint','clng',
55
+			'command','cos','count','createobject','csng','cstr','curdir','cvar','cvdate','cverr',
56
+			'date','dateadd','datediff','datepart','dateserial','datevalue','day','ddb','dir','doevents',
57
+			'environ','eof','error','exp',
58
+			'fileattr','filedatetime','filelen','fix','format','freefile','fv',
59
+			'getallstrings','getattr','getautoserversettings','getobject','getsetting',
60
+			'hex','hour','iif','imestatus','input','inputb','inputbox','instr','instb','int','ipmt',
61
+			'isarray','isdate','isempty','iserror','ismissing','isnull','isnumeric','isobject',
62
+			'lbound','lcase','left','leftb','len','lenb','loadpicture','loc','lof','log','ltrim',
63
+			'max','mid','midb','min','minute','mirr','month','msgbox',
64
+			'now','nper','npv','oct','partition','pmt','ppmt','pv','qbcolor',
65
+			'rate','rgb','right','rightb','rnd','rtrim',
66
+			'second','seek','sgn','shell','sin','sln','space','spc','sqr','stdev','stdevp','str',
67
+			'strcomp','strconv','string','switch','sum','syd',
68
+			'tab','tan','time','timer','timeserial','timevalue','trim','typename',
69
+			'ubound','ucase','val','var','varp','vartype','weekday','year',
70
+			'appactivate','base','beep','call','case','chdir','chdrive','const',
71
+			'declare','defbool','defbyte','defcur','defdate','defdbl','defdec','defint',
72
+			'deflng','defobj','defsng','defstr','deftype','defvar','deletesetting','dim','do',
73
+			'else','elseif','end','enum','erase','event','exit','explicit',
74
+			'false','filecopy','for','foreach','friend','function','get','gosub','goto',
75
+			'if','implements','kill','let','lineinput','lock','loop','lset','mkdir','name','next','not',
76
+			'onerror','on','option','private','property','public','put','raiseevent','randomize',
77
+			'redim','rem','reset','resume','return','rmdir','rset',
78
+			'savepicture','savesetting','sendkeys','setattr','static','sub',
79
+			'then','true','type','unlock','wend','while','width','with','write',
80
+			'vbabort','vbabortretryignore','vbapplicationmodal','vbarray',
81
+			'vbbinarycompare','vbblack','vbblue','vbboolean','vbbyte','vbcancel',
82
+			'vbcr','vbcritical','vbcrlf','vbcurrency','vbcyan','vbdataobject',
83
+			'vbdate','vbdecimal','vbdefaultbutton1','vbdefaultbutton2',
84
+			'vbdefaultbutton3','vbdefaultbutton4','vbdouble','vbempty',
85
+			'vberror','vbexclamation','vbfirstfourdays','vbfirstfullweek',
86
+			'vbfirstjan1','vbformfeed','vbfriday','vbgeneraldate','vbgreen',
87
+			'vbignore','vbinformation','vbinteger','vblf','vblong','vblongdate',
88
+			'vblongtime','vbmagenta','vbmonday','vbnewline','vbno','vbnull',
89
+			'vbnullchar','vbnullstring','vbobject','vbobjecterror','vbok','vbokcancel',
90
+			'vbokonly','vbquestion','vbred','vbretry','vbretrycancel','vbsaturday',
91
+			'vbshortdate','vbshorttime','vbsingle','vbstring','vbsunday',
92
+			'vbsystemmodal','vbtab','vbtextcompare','vbthursday','vbtuesday',
93
+			'vbusesystem','vbusesystemdayofweek','vbvariant','vbverticaltab',
94
+			'vbwednesday','vbwhite','vbyellow','vbyes','vbyesno','vbyesnocancel',
95
+			'vbnormal','vbdirectory'
96
+			)
97
+		),
98
+	'SYMBOLS' => array(
99
+		'(', ')'
100
+		),
101
+	'CASE_SENSITIVE' => array(
102
+		GESHI_COMMENTS => false,
103
+		1 => false
104
+		),
105
+	'STYLES' => array(
106
+		'KEYWORDS' => array(
107
+			1 => 'color: #b1b100;'
108
+			),
109
+		'COMMENTS' => array(
110
+			1 => 'color: #808080;'
111
+			),
112
+		'BRACKETS' => array(
113
+			0 => 'color: #66cc66;'
114
+			),
115
+		'STRINGS' => array(
116
+			0 => 'color: #ff0000;'
117
+			),
118
+		'NUMBERS' => array(
119
+			0 => 'color: #cc66cc;'
120
+			),
121
+		'METHODS' => array(
122
+			1 => 'color: #66cc66;'
123
+			),
124
+		'SYMBOLS' => array(
125
+			0 => 'color: #66cc66;'
126
+			),
127
+		'ESCAPE_CHAR' => array(
128
+			0 => 'color: #000099;'
129
+			),
130
+		'SCRIPT' => array(
131
+			),
132
+		'REGEXPS' => array(
133
+			)
134
+		),
135
+	'OOLANG' => true,
136
+	'OBJECT_SPLITTERS' => array(
137
+		1 => '.'
138
+		),
139
+	'REGEXPS' => array(
140
+		),
141
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
142
+	'SCRIPT_DELIMITERS' => array(
143
+		),
144
+	'HIGHLIGHT_STRICT_BLOCK' => array(
145
+		)
146
+);
147
+
148
+?>

+ 197 - 0
plugins/geshi/vbnet.php View File

@@ -0,0 +1,197 @@
1
+<?php
2
+/*************************************************************************************
3
+ * vbnet.php
4
+ * ---------
5
+ * Author: Alan Juden (alan@judenware.org)
6
+ * Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/06/04
9
+ *
10
+ * VB.NET language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2004/11/27 (1.0.0)
15
+ *  -  Initial release
16
+ *
17
+ * TODO (updated 2004/11/27)
18
+ * -------------------------
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *     This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+ $language_data = array (
41
+	'LANG_NAME' => 'vb.net',
42
+	'COMMENT_SINGLE' => array(1 => "'"),
43
+	'COMMENT_MULTI' => array(),
44
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
45
+	'QUOTEMARKS' => array('"'),
46
+	'ESCAPE_CHAR' => '',
47
+	'KEYWORDS' => array(
48
+		1 => array(
49
+			'3DDKSHADOW', '3DHIGHLIGHT', '3DLIGHT', 'ABORT', 'ABORTRETRYIGNORE', 'ACTIVEBORDER',
50
+			'ACTIVETITLEBAR', 'ALIAS', 'APPLICATIONMODAL', 'APPLICATIONWORKSPACE', 'ARCHIVE',
51
+			'BACK', 'BINARYCOMPARE', 'BLACK', 'BLUE', 'BUTTONFACE', 'BUTTONSHADOW', 'BUTTONTEXT',
52
+			'CANCEL', 'CDROM', 'CR', 'CRITICAL', 'CRLF', 'CYAN', 'DEFAULT', 'DEFAULTBUTTON1',
53
+			'DEFAULTBUTTON2', 'DEFAULTBUTTON3', 'DESKTOP', 'DIRECTORY', 'EXCLAMATION', 'FALSE',
54
+			'FIXED', 'FORAPPENDING', 'FORMFEED', 'FORREADING', 'FORWRITING', 'FROMUNICODE',
55
+			'GRAYTEXT', 'GREEN', 'HIDDEN', 'HIDE', 'HIGHLIGHT', 'HIGHLIGHTTEXT', 'HIRAGANA',
56
+			'IGNORE', 'INACTIVEBORDER', 'INACTIVECAPTIONTEXT', 'INACTIVETITLEBAR', 'INFOBACKGROUND',
57
+			'INFORMATION', 'INFOTEXT', 'KATAKANALF', 'LOWERCASE', 'MAGENTA', 'MAXIMIZEDFOCUS',
58
+			'MENUBAR', 'MENUTEXT', 'METHOD', 'MINIMIZEDFOCUS', 'MINIMIZEDNOFOCUS', 'MSGBOXRIGHT',
59
+			'MSGBOXRTLREADING', 'MSGBOXSETFOREGROUND', 'NARROW', 'NEWLINE', 'NO', 'NORMAL',
60
+			'NORMALFOCUS', 'NORMALNOFOCUS', 'NULLSTRING', 'OBJECTERROR', 'OK', 'OKCANCEL', 'OKONLY',
61
+			'PROPERCASE', 'QUESTION', 'RAMDISK', 'READONLY', 'RED', 'REMOTE', 'REMOVABLE', 'RETRY',
62
+			'RETRYCANCEL', 'SCROLLBARS', 'SYSTEMFOLDER', 'SYSTEMMODAL', 'TAB', 'TEMPORARYFOLDER',
63
+			'TEXTCOMPARE', 'TITLEBARTEXT', 'TRUE', 'UNICODE', 'UNKNOWN', 'UPPERCASE', 'VERTICALTAB',
64
+			'VOLUME', 'WHITE', 'WIDE', 'WIN16', 'WIN32', 'WINDOWBACKGROUND', 'WINDOWFRAME',
65
+			'WINDOWSFOLDER', 'WINDOWTEXT', 'YELLOW', 'YES', 'YESNO', 'YESNOCANCEL'
66
+			),
67
+		2 => array(
68
+			'AndAlso', 'As', 'ADDHANDLER', 'ASSEMBLY', 'AUTO', 'Binary', 'ByRef', 'ByVal', 'BEGINEPILOGUE',
69
+			'Else', 'ElseIf', 'Empty', 'Error', 'ENDPROLOGUE', 'EXTERNALSOURCE', 'ENVIRON', 'For',
70
+			'Friend', 'GET', 'HANDLES', 'Input', 'Is', 'IsNot', 'Len', 'Lock', 'Me', 'Mid', 'MUSTINHERIT',
71
+			'MYBASE', 'MYCLASS', 'New', 'Next', 'Nothing', 'Null', 'NOTINHERITABLE',
72
+			'NOTOVERRIDABLE', 'OFF', 'On', 'Option', 'Optional', 'Overloads', 'OVERRIDABLE', 'ParamArray',
73
+			'Print', 'Private', 'Property', 'Public', 'Resume', 'Return', 'Seek', 'Static', 'Step',
74
+			'String', 'SHELL', 'SENDKEYS', 'SET', 'Shared', 'Then', 'Time', 'To', 'THROW', 'WithEvents'
75
+			),
76
+		3 => array(
77
+			'COLLECTION', 'DEBUG', 'DICTIONARY', 'DRIVE', 'DRIVES', 'ERR', 'FILE', 'FILES',
78
+			'FILESYSTEMOBJECT', 'FOLDER', 'FOLDERS', 'TEXTSTREAM'
79
+			),
80
+		4 => array(
81
+			'BOOLEAN', 'BYTE', 'DATE', 'DECIMIAL', 'DOUBLE', 'INTEGER', 'LONG', 'OBJECT',
82
+			'SINGLE STRING'
83
+			),
84
+		5 => array(
85
+			'ADDRESSOF', 'AND', 'BITAND', 'BITNOT', 'BITOR', 'BITXOR',
86
+			'GETTYPE', 'LIKE', 'MOD', 'NOT', 'ORXOR'
87
+			),
88
+		6 => array(
89
+			'APPACTIVATE', 'BEEP', 'CALL', 'CHDIR', 'CHDRIVE', 'CLASS', 'CASE', 'CATCH', 'CONST',
90
+			'DECLARE', 'DELEGATE', 'DELETESETTING', 'DIM', 'DO', 'DOEVENTS', 'END', 'ENUM',
91
+			'EVENT', 'EXIT', 'EACH', 'FUNCTION', 'FINALLY', 'IF', 'IMPORTS', 'INHERITS',
92
+			'INTERFACE', 'IMPLEMENTS', 'KILL', 'LOOP', 'MIDB', 'NAMESPACE', 'OPEN', 'PUT',
93
+			'RAISEEVENT', 'RANDOMIZE', 'REDIM', 'REM', 'RESET', 'SAVESETTING', 'SELECT',
94
+			'SETATTR', 'STOP', 'SUB', 'SYNCLOCK', 'STRUCTURE', 'SHADOWS', 'SWITCH',
95
+			'TIMEOFDAY', 'TODAY', 'TRY', 'WIDTH', 'WITH', 'WRITE', 'WHILE'
96
+			),
97
+		7 => array(
98
+			'ABS', 'ARRAY', 'ASC', 'ASCB', 'ASCW', 'CALLBYNAME', 'CBOOL', 'CBYTE', 'CCHAR',
99
+			'CCHR', 'CDATE', 'CDBL', 'CDEC', 'CHOOSE', 'CHR', 'CHR$', 'CHRB', 'CHRB$', 'CHRW',
100
+			'CINT', 'CLNG', 'CLNG8', 'CLOSE', 'COBJ', 'COMMAND', 'COMMAND$', 'CONVERSION',
101
+			'COS', 'CREATEOBJECT', 'CSHORT', 'CSTR', 'CURDIR', 'CTYPE', 'CVDATE', 'DATEADD',
102
+			'DATEDIFF', 'DATEPART', 'DATESERIAL', 'DATEVALUE', 'DAY', 'DDB', 'DIR', 'DIR$',
103
+			'EOF', 'ERROR$', 'EXP', 'FILEATTR', 'FILECOPY', 'FILEDATATIME', 'FILELEN', 'FILTER',
104
+			'FIX', 'FORMAT', 'FORMAT$', 'FORMATCURRENCY', 'FORMATDATETIME', 'FORMATNUMBER',
105
+			'FORMATPERCENT', 'FREEFILE', 'FV', 'GETALLSETTINGS', 'GETATTRGETOBJECT', 'GETSETTING',
106
+			'HEX', 'HEX$', 'HOUR', 'IIF', 'IMESTATUS', 'INPUT$', 'INPUTB', 'INPUTB$', 'INPUTBOX',
107
+			'INSTR', 'INSTRB', 'INSTRREV', 'INT', 'IPMT', 'IRR', 'ISARRAY', 'ISDATE', 'ISEMPTY',
108
+			'ISERROR', 'ISNULL', 'ISNUMERIC', 'ISOBJECT', 'JOIN', 'LBOUND', 'LCASE', 'LCASE$',
109
+			'LEFT', 'LEFT$', 'LEFTB', 'LEFTB$', 'LENB', 'LINEINPUT', 'LOC', 'LOF', 'LOG', 'LTRIM',
110
+			'LTRIM$', 'MID$', 'MIDB', 'MIDB$', 'MINUTE', 'MIRR', 'MKDIR', 'MONTH', 'MONTHNAME',
111
+			'MSGBOX', 'NOW', 'NPER', 'NPV', 'OCT', 'OCT$', 'PARTITION', 'PMT', 'PPMT', 'PV',
112
+			'RATE', 'REPLACE', 'RIGHT', 'RIGHT$', 'RIGHTB', 'RIGHTB$', 'RMDIR', 'RND', 'RTRIM',
113
+			'RTRIM$', 'SECOND', 'SIN', 'SLN', 'SPACE', 'SPACE$', 'SPC', 'SPLIT', 'SQRT', 'STR', 'STR$',
114
+			'STRCOMP', 'STRCONV', 'STRING$', 'STRREVERSE', 'SYD', 'TAB', 'TAN', 'TIMEOFDAY',
115
+			'TIMER', 'TIMESERIAL', 'TIMEVALUE', 'TODAY', 'TRIM', 'TRIM$', 'TYPENAME', 'UBOUND',
116
+			'UCASE', 'UCASE$', 'VAL', 'WEEKDAY', 'WEEKDAYNAME', 'YEAR'
117
+			),
118
+		8 => array(
119
+			'ANY', 'ATN', 'CALENDAR', 'CIRCLE', 'CURRENCY', 'DEFBOOL', 'DEFBYTE', 'DEFCUR',
120
+			'DEFDATE', 'DEFDBL', 'DEFDEC', 'DEFINT', 'DEFLNG', 'DEFOBJ', 'DEFSNG', 'DEFSTR',
121
+			'DEFVAR', 'EQV', 'GOSUB', 'IMP', 'INITIALIZE', 'ISMISSING', 'LET', 'LINE', 'LSET',
122
+			'RSET', 'SGN', 'SQR', 'TERMINATE', 'VARIANT', 'VARTYPE', 'WEND'
123
+			),
124
+		),
125
+	'SYMBOLS' => array(
126
+		'&', '&=', '*', '*=', '+', '+=', '-', '-=', '//', '/', '/=', '=', '\\', '\\=',
127
+		'^', '^='
128
+		),
129
+	'CASE_SENSITIVE' => array(
130
+		GESHI_COMMENTS => true,
131
+		1 => false,
132
+		2 => false,
133
+		3 => false,
134
+		4 => false,
135
+		5 => false,
136
+		6 => false,
137
+		7 => false,
138
+		8 => false,
139
+		),
140
+	'STYLES' => array(
141
+		'KEYWORDS' => array(
142
+			1 => 'color: #0600FF;',		//Constants
143
+			2 => 'color: #FF8000;',		//Keywords
144
+			3 => 'color: #008000;',		//Data Types
145
+			4 => 'color: #FF0000;',		//Objects
146
+			5 => 'color: #804040;',		//Operators
147
+			6 => 'color: #0600FF;',		//Statements
148
+			7 => 'color: #0600FF;',		//Functions
149
+			8 => 'color: #0600FF;'		//Deprecated
150
+			),
151
+		'COMMENTS' => array(
152
+			1 => 'color: #008080; font-style: italic;',
153
+			'MULTI' => 'color: #008080; font-style: italic;'
154
+			),
155
+		'ESCAPE_CHAR' => array(
156
+			0 => 'color: #008080; font-weight: bold;'
157
+			),
158
+		'BRACKETS' => array(
159
+			0 => 'color: #000000;'
160
+			),
161
+		'STRINGS' => array(
162
+			0 => 'color: #808080;'
163
+			),
164
+		'NUMBERS' => array(
165
+			0 => 'color: #FF0000;'
166
+			),
167
+		'METHODS' => array(
168
+			1 => 'color: #0000FF;'
169
+			),
170
+		'SYMBOLS' => array(
171
+			0 => 'color: #008000;'
172
+			),
173
+		'REGEXPS' => array(
174
+			),
175
+		'SCRIPT' => array(
176
+			)
177
+		),
178
+	'URLS' => array(
179
+		1 => '',
180
+		2 => '',
181
+		3 => 'http://www.google.com/search?q={FNAME}+msdn.microsoft.com',
182
+		4 => ''
183
+		),
184
+	'OOLANG' => true,
185
+	'OBJECT_SPLITTERS' => array(
186
+		1 =>'.'
187
+		),
188
+	'REGEXPS' => array(
189
+		),
190
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
191
+	'SCRIPT_DELIMITERS' => array(
192
+		),
193
+	'HIGHLIGHT_STRICT_BLOCK' => array(
194
+		)
195
+);
196
+
197
+?>

+ 138 - 0
plugins/geshi/vhdl.php View File

@@ -0,0 +1,138 @@
1
+<?php
2
+/*************************************************************************************
3
+ * vhdl.php
4
+ * --------
5
+ * Author: Alexander 'E-Razor' Krause (admin@erazor-zone.de)
6
+ * Copyright: (c) 2005 Alexander Krause
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2005/06/15
9
+ *
10
+ * VHDL (VHSICADL, very high speed integrated circuit HDL) language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2006/06/15 (1.0.0)
15
+ *  -  First Release
16
+ *
17
+ * TODO
18
+ * ----
19
+ *
20
+ *************************************************************************************
21
+ *
22
+ *     This file is part of GeSHi.
23
+ *
24
+ *   GeSHi is free software; you can redistribute it and/or modify
25
+ *   it under the terms of the GNU General Public License as published by
26
+ *   the Free Software Foundation; either version 2 of the License, or
27
+ *   (at your option) any later version.
28
+ *
29
+ *   GeSHi is distributed in the hope that it will be useful,
30
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32
+ *   GNU General Public License for more details.
33
+ *
34
+ *   You should have received a copy of the GNU General Public License
35
+ *   along with GeSHi; if not, write to the Free Software
36
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37
+ *
38
+ ************************************************************************************/
39
+
40
+$language_data = array (
41
+    'LANG_NAME' => 'VHDL',
42
+    'COMMENT_SINGLE' => array(1 => '--'),
43
+    'COMMENT_MULTI' => array(),
44
+    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
45
+    'QUOTEMARKS' => array('"'),
46
+    'ESCAPE_CHAR' => '',
47
+    'KEYWORDS' => array(
48
+        /*keywords*/
49
+        1 => array(
50
+            'access','after','alias','all','assert','architecture','begin',
51
+            'block','body','buffer','bus','case','component','configuration','constant',
52
+            'disconnect','downto','else','elsif','end','entity','exit','file','for',
53
+            'function','generate','generic','group','guarded','if','impure','in',
54
+            'inertial','inout','is','label','library','linkage','literal','loop',
55
+            'map','new','next','null','of','on','open','others','out','package',
56
+            'port','postponed','procedure','process','pure','range','record','register',
57
+            'reject','report','return','select','severity','signal','shared','subtype',
58
+            'then','to','transport','type','unaffected','units','until','use','variable',
59
+            'wait','when','while','with','note','warning','error','failure','and',
60
+            'or','xor','not','nor'
61
+        ),
62
+        /*types*/
63
+        2 => array(
64
+            'bit','bit_vector','character','boolean','integer','real','time','string',
65
+            'severity_level','positive','natural','signed','unsigned','line','text',
66
+            'std_logic','std_logic_vector','std_ulogic','std_ulogic_vector','qsim_state',
67
+            'qsim_state_vector','qsim_12state','qsim_12state_vector','qsim_strength',
68
+            'mux_bit','mux_vector','reg_bit','reg_vector','wor_bit','wor_vector'
69
+        ),
70
+        /*operators*/
71
+        3 => array(
72
+                '=','<=',':=','=>','=='
73
+        )
74
+    ),
75
+    'SYMBOLS' => array(
76
+        '[', ']', '(', ')',';','<','>',':'
77
+    ),
78
+    'CASE_SENSITIVE' => array(
79
+        GESHI_COMMENTS => true,
80
+        1 => false,
81
+        2 => false
82
+        ),
83
+    'STYLES' => array(
84
+        'KEYWORDS' => array(
85
+            1 => 'color: #000000; font-weight: bold;',
86
+            2 => 'color: #aa0000;'
87
+            ),
88
+        'COMMENTS' => array(
89
+            1 => 'color: #adadad; font-style: italic;'
90
+            ),
91
+        'ESCAPE_CHAR' => array(
92
+            0 => 'color: #000099; font-weight: bold;'
93
+            ),
94
+        'BRACKETS' => array(
95
+            0 => 'color: #66cc66;'
96
+            ),
97
+        'STRINGS' => array(
98
+            0 => 'color: #7f007f;'
99
+            ),
100
+        'NUMBERS' => array(
101
+            0 => 'color: #ff0000;'
102
+            ),
103
+        'METHODS' => array(
104
+            ),
105
+        'SYMBOLS' => array(
106
+            0 => 'color: #66cc66;'
107
+            ),
108
+        'REGEXPS' => array(
109
+            0 => 'color: #ff0000;',
110
+            1 => 'color: #ff0000;',
111
+            2 => 'color: #ff0000;',
112
+            3 => 'color: #ff0000;'
113
+            ),
114
+        'SCRIPT' => array(
115
+            )
116
+        ),
117
+    'URLS' => array(
118
+        1 => '',
119
+        2 => ''
120
+    ),
121
+    'OOLANG' => false,
122
+    'OBJECT_SPLITTERS' => array(
123
+        ),
124
+    'REGEXPS' => array(
125
+        0 => '(\b(0x)[0-9a-fA-F]{2,}[hH]?|\b(0x)?[0-9a-fA-F]{2,}[hH])|'.
126
+        '(\b[0-9]{1,}((\.){1}[0-9]{1,}){0,1}(E)[\-]{0,1}[0-9]{1,})|'.
127
+         '(\b(ns))|'.
128
+         "('[0-9a-zA-Z]+)",
129
+         1 => "\b(''[0-9]'')"
130
+        ),
131
+    'STRICT_MODE_APPLIES' => GESHI_NEVER,
132
+    'SCRIPT_DELIMITERS' => array(
133
+        ),
134
+    'HIGHLIGHT_STRICT_BLOCK' => array(
135
+        )
136
+);
137
+
138
+?>

+ 442 - 0
plugins/geshi/visualfoxpro.php View File

@@ -0,0 +1,442 @@
1
+<?php
2
+/*************************************************************************************
3
+ * visualfoxpro.php
4
+ * ----------------
5
+ * Author: Roberto Armellin (r.armellin@tin.it)
6
+ * Copyright: (c) 2004 Roberto Armellin, Nigel McNie (http://qbnz.com/highlighter/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/09/17
9
+ *
10
+ * Visual FoxPro language file for GeSHi.
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2004/11/27 (1.0.1)
15
+ *  -  Added support for multiple object splitters
16
+ * 2004/10/27 (1.0.0)
17
+ *  -  First Release
18
+ *
19
+ * TODO (updated 2004/10/27)
20
+ * -------------------------
21
+ *
22
+ *************************************************************************************
23
+ *
24
+ *     This file is part of GeSHi.
25
+ *
26
+ *   GeSHi is free software; you can redistribute it and/or modify
27
+ *   it under the terms of the GNU General Public License as published by
28
+ *   the Free Software Foundation; either version 2 of the License, or
29
+ *   (at your option) any later version.
30
+ *
31
+ *   GeSHi is distributed in the hope that it will be useful,
32
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
33
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34
+ *   GNU General Public License for more details.
35
+ *
36
+ *   You should have received a copy of the GNU General Public License
37
+ *   along with GeSHi; if not, write to the Free Software
38
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
39
+ *
40
+ ************************************************************************************/
41
+
42
+$language_data = array (
43
+	'LANG_NAME' => 'Visual Fox Pro',
44
+	'COMMENT_SINGLE' => array(1 => "//", 2 => "\n*"),
45
+	'COMMENT_MULTI' => array(),
46
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
47
+	'QUOTEMARKS' => array('"'),
48
+	'ESCAPE_CHAR' => '\\',
49
+	'KEYWORDS' => array(
50
+		1 => array('Case', 'Else', '#Else', 'Then',
51
+			'Endcase', 'Enddefine', 'Enddo', 'Endfor', 'Endfunc', 'Endif', 'Endprintjob',
52
+			'Endproc', 'Endscan', 'Endtext', 'Endwith', '#Endif',
53
+			'#Elif','#Else','#Endif','#Define','#If','#Include',
54
+			'#Itsexpression','#Readclauses','#Region','#Section','#Undef','#Wname',
55
+			'Case','Define','Do','Else','Endcase','Enddefine',
56
+			'Enddo','Endfor','Endfunc','Endif','Endprintjob','Endproc',
57
+			'Endscan','Endtext','Endwith','For','Function','Hidden',
58
+			'If','Local','Lparameter','Lparameters','Next','Otherwise',
59
+			'Parameters','Printjob','Procedure','Protected','Public','Scan',
60
+			'Text','Then','While','With','?','??',
61
+			'???','Abs','Accept','Access','Aclass','Acopy',
62
+			'Acos','Adatabases','Adbobjects','Addbs','Addrelationtoenv','Addtabletoenv',
63
+			'Adel','Adir','Aelement','Aerror','Afields','Afont',
64
+			'Agetclass','Agetfileversion','Ains','Ainstance','Alen','Align',
65
+			'Alines','Alltrim','Alter','Amembers','Amouseobj','Anetresources',
66
+			'Ansitooem','Append','Aprinters','Ascan','Aselobj','Asin',
67
+			'Asort','Assert','Asserts','Assist','Asubscript','Asynchronous',
68
+			'At_c','Atan','Atc','Atcc','Atcline','Atline',
69
+			'Atn2','Aused','Autoform','Autoreport','Avcxclasses','Average',
70
+			'BarCount','BarPrompt','BatchMode','BatchUpdateCount','Begin','BellSound',
71
+			'BinToC','Bintoc','Bitand','Bitclear','Bitlshift','Bitnot',
72
+			'Bitor','Bitrshift','Bitset','Bittest','Bitxor','Bof',
73
+			'Browse','BrowseRefresh','Buffering','BuilderLock','COMArray','COMReturnError',
74
+			'CToBin','Calculate','Call','Capslock','Cd','Cdow',
75
+			'Ceiling','Central','Change','Char','Chdir','Chr',
76
+			'Chrsaw','Chrtran','Chrtranc','Close','Cmonth','Cntbar',
77
+			'Cntpad','Col','Comclassinfo','CommandTargetQuery','Compile','Completed',
78
+			'Compobj','Compute','Concat','ConnectBusy','ConnectHandle','ConnectName',
79
+			'ConnectString','ConnectTimeOut','ContainerReleaseType','Continue','Copy','Cos',
80
+			'Cot','Count','Coverage','Cpconvert','Cpcurrent','Cpdbf',
81
+			'Cpnotrans','Create','CreateBinary','Createobject','Createobjectex','Createoffline',
82
+			'CrsBuffering','CrsFetchMemo','CrsFetchSize','CrsMaxRows','CrsMethodUsed','CrsNumBatch',
83
+			'CrsShareConnection','CrsUseMemoSize','CrsWhereClause','Ctobin','Ctod','Ctot',
84
+			'Curdate','Curdir','CurrLeft','CurrSymbol','CursorGetProp','CursorSetProp',
85
+			'Curtime','Curval','DBGetProp','DBSetProp','DB_BufLockRow','DB_BufLockTable',
86
+			'DB_BufOff','DB_BufOptRow','DB_BufOptTable','DB_Complette','DB_DeleteInsert','DB_KeyAndModified',
87
+			'DB_KeyAndTimestamp','DB_KeyAndUpdatable','DB_LocalSQL','DB_NoPrompt','DB_Prompt','DB_RemoteSQL',
88
+			'DB_TransAuto','DB_TransManual','DB_TransNone','DB_Update','Datetime','Day',
89
+			'Dayname','Dayofmonth','Dayofweek','Dayofyear','Dbalias','Dbused',
90
+			'Ddeaborttrans','Ddeadvise','Ddeenabled','Ddeexecute','Ddeinitiate','Ddelasterror',
91
+			'Ddepoke','Dderequest','Ddesetoption','Ddesetservice','Ddesettopic','Ddeterminate',
92
+			'Debugout','Declare','DefOLELCid','DefaultValue','Defaultext','Degrees',
93
+			'DeleteTrigger','Desc','Description','Difference','Dimension','Dir',
94
+			'Directory','Diskspace','DispLogin','DispWarnings','Display','Dll',
95
+			'Dmy','DoDefault','DoEvents','Doc','Doevents','Dow',
96
+			'Drivetype','Drop','Dropoffline','Dtoc','Dtor','Dtos',
97
+			'Dtot','DynamicInputMask','Each','Edit','Eject','Elif',
98
+			'End','Eof','Erase','Evaluate','Event','Eventtracking',
99
+			'Exclude','Exclusive','Exit','Exp','Export','External',
100
+			'FDate','FTime','Fchsize','Fclose','Fcount','Fcreate',
101
+			'Feof','Ferror','FetchMemo','FetchSize','Fflush','Fgets',
102
+			'Filer','Filetostr','Find','Fklabel','Fkmax','Fldlist',
103
+			'Flock','Floor','Flush','Fontmetric','Fopen','Forceext',
104
+			'Forcepath','FormSetClass','FormSetLib','FormsClass','FormsLib','Found',
105
+			'FoxPro','Foxcode','Foxdoc','Foxgen','Foxgraph','Foxview',
106
+			'Fputs','Fread','French','Fseek','Fsize','Fv',
107
+			'Fwrite','Gather','German','GetPem','Getbar','Getcolor',
108
+			'Getcp','Getdir','Getenv','Getexpr','Getfile','Getfldstate',
109
+			'Getfont','Gethost','Getnextmodified','Getobject','Getpad','Getpict',
110
+			'Getprinter','Go','Gomonth','Goto','Graph','GridHorz',
111
+			'GridShow','GridShowPos','GridSnap','GridVert','Help','HelpOn',
112
+			'HelpTo','HighLightRow','Home','Hour','IMEStatus','IdleTimeOut',
113
+			'Idxcollate','Ifdef','Ifndef','Iif','Import','Include',
114
+			'Indbc','Index','Indexseek','Inkey','Inlist','Input',
115
+			'Insert','InsertTrigger','Insmode','IsBlank','IsFLocked','IsLeadByte',
116
+			'IsMouse','IsNull','IsRLocked','Isalpha','Iscolor','Isdigit',
117
+			'Isexclusive','Isflocked','Ishosted','Islower','Isreadonly','Isrlocked',
118
+			'Isupper','Italian','Japan','Join','Justdrive','Justext',
119
+			'Justfname','Justpath','Juststem','KeyField','KeyFieldList','Keyboard'
120
+			),
121
+		2 => array('Keymatch','LastProject','Lastkey','Lcase','Leftc','Len',
122
+			'Lenc','Length','Likec','Lineno','LoadPicture','Loadpicture',
123
+			'Locate','Locfile','Log','Log10','Logout','Lookup',
124
+			'Loop','Lower','Ltrim','Lupdate','Mail','MaxRecords',
125
+			'Mcol','Md','Mdown','Mdx','Mdy','Memlines',
126
+			'Menu','Messagebox','Minute','Mkdir','Mline','Modify',
127
+			'Month','Monthname','Mouse','Mrkbar','Mrkpad','Mrow',
128
+			'Mtdll','Mton','Mwindow','Native','Ndx','Network',
129
+			'NoFilter','Nodefault','Normalize','Note','Now','Ntom',
130
+			'NullString','Numlock','Nvl','ODBChdbc','ODBChstmt','OLEDropTextInsertion',
131
+			'OLELCid','Objnum','Objref','Objtoclient','Objvar','Occurs',
132
+			'Oemtoansi','Oldval','OlePublic','Olereturnerror','On','Open',
133
+			'Oracle','Order','Os','Outer','PCount','Pack',
134
+			'PacketSize','Padc','Padl','Padr','Payment','Pcol',
135
+			'PemStatus','Pi','Pivot','Play','Pop','Popup',
136
+			'Power','PrimaryKey','Printstatus','Private','Prmbar','Prmpad',
137
+			'ProjectClick','Proper','Prow','Prtinfo','Push','Putfile',
138
+			'Pv','Qpr','Quater','QueryTimeOut','Quit','Radians',
139
+			'Rand','Rat','Ratc','Ratline','Rd','Rdlevel',
140
+			'Read','Readkey','Recall','Reccount','RecentlyUsedFiles','Recno',
141
+			'Recsize','Regional','Reindex','RelatedChild','RelatedTable','RelatedTag',
142
+			'Remove','Rename','Repeat','Replace','Replicate','Report',
143
+			'ResHeight','ResWidth','ResourceOn','ResourceTo','Resources','Restore',
144
+			'Resume','Retry','Return','Revertoffline','Rgbscheme','Rightc',
145
+			'Rlock','Rmdir','Rollback','Round','Rtod','Rtrim',
146
+			'RuleExpression','RuleText','Run','Runscript','Rview','SQLAsynchronous',
147
+			'SQLBatchMode','SQLCancel','SQLColumns','SQLConnect','SQLConnectTimeOut','SQLDisconnect',
148
+			'SQLDispLogin','SQLDispWarnings','SQLExec','SQLGetProp','SQLIdleTimeOut','SQLMoreResults',
149
+			'SQLPrepare','SQLQueryTimeOut','SQLSetProp','SQLTables','SQLTransactions','SQLWaitTime',
150
+			'Save','SavePicture','Savepicture','ScaleUnits','Scatter','Scols',
151
+			'Scroll','Sec','Second','Seek','Select','SendUpdates',
152
+			'Set','SetDefault','Setfldstate','Setup','ShareConnection','ShowOLEControls',
153
+			'ShowOLEInsertable','ShowVCXs','Sign','Sin','Size','SizeBox',
154
+			'Skpbar','Skppad','Sort','Soundex','SourceName','Sqlcommit',
155
+			'Sqll','Sqlrollback','Sqlstringconnect','Sqrt','Srows','StatusBar',
156
+			'Store','Str','Strconv','Strtofile','Strtran','Stuff',
157
+			'Stuffc','Substr','Substrc','Substring','Sum','Suspend',
158
+			'Sys','Sysmetric','TabOrdering','Table','TableRefresh','Tablerevert',
159
+			'Tableupdate','TagCount','TagNo','Tan','Target','This',
160
+			'Thisform','Thisformset','Timestamp','Timestampdiff','Total','Transactions',
161
+			'Transform','Trim','Truncate','Ttoc','Ttod','Txnlevel',
162
+			'Txtwidth','Type','Ucase','Undefine','Unlock','Unpack',
163
+			'Updatable','UpdatableFieldList','Update','UpdateName','UpdateNameList','UpdateTrigger',
164
+			'UpdateType','Updated','Upper','Upsizing','Usa','Use',
165
+			'UseMemoSize','Used','Val','Validate','Varread','Vartype',
166
+			'Version','VersionLanguage','Wait','WaitTime','Wborder','Wchild',
167
+			'Wcols','Week','Wexist','Wfont','WhereType','Windcmd',
168
+			'Windhelp','Windmemo','Windmenu','Windmodify','Windquery','Windscreen',
169
+			'Windsnip','Windstproc','WizardPrompt','Wlast','Wlcol','Wlrow',
170
+			'Wmaximum','Wminimum','Wontop','Woutput','Wparent','Wread',
171
+			'Wrows','Wtitle','Wvisible','Year','Zap','_Alignment',
172
+			'_Asciicols','_Asciirows','_Assist','_Beautify','_Box','_Browser',
173
+			'_Builder','_Calcmem','_Calcvalue','_Cliptext','_Converter','_Coverage',
174
+			'_Curobj','_Dblclick','_Diarydate','_Dos','_Foxdoc','_Foxgraph',
175
+			'_Gallery','_Gengraph','_Genhtml','_Genmenu','_Genpd','_Genscrn',
176
+			'_Genxtab','_Getexpr','_Include','_Indent','_Lmargin','_Mac',
177
+			'_Mbr_appnd','_Mbr_cpart','_Mbr_delet','_Mbr_font','_Mbr_goto','_Mbr_grid',
178
+			'_Mbr_link','_Mbr_mode','_Mbr_mvfld','_Mbr_mvprt','_Mbr_seek','_Mbr_sp100',
179
+			'_Mbr_sp200','_Mbr_szfld','_Mbrowse','_Mda_appnd','_Mda_avg','_Mda_brow',
180
+			'_Mda_calc','_Mda_copy','_Mda_count','_Mda_label','_Mda_pack','_Mda_reprt',
181
+			'_Mda_rindx','_Mda_setup','_Mda_sort','_Mda_sp100','_Mda_sp200','_Mda_sp300',
182
+			'_Mda_sum','_Mda_total','_Mdata','_Mdiary','_Med_clear','_Med_copy',
183
+			'_Med_cut','_Med_cvtst','_Med_find','_Med_finda','_Med_goto','_Med_insob',
184
+			'_Med_link','_Med_obj','_Med_paste','_Med_pref','_Med_pstlk','_Med_redo',
185
+			'_Med_repl','_Med_repla','_Med_slcta','_Med_sp100','_Med_sp200','_Med_sp300',
186
+			'_Med_sp400','_Med_sp500','_Med_undo','_Medit','_Mfi_clall','_Mfi_close',
187
+			'_Mfi_export','_Mfi_import','_Mfi_new','_Mfi_open','_Mfi_pgset','_Mfi_prevu',
188
+			'_Mfi_print','_Mfi_quit','_Mfi_revrt','_Mfi_savas','_Mfi_save','_Mfi_send',
189
+			'_Mfi_setup','_Mfi_sp100','_Mfi_sp200','_Mfi_sp300','_Mfi_sp400','_Mfile',
190
+			'_Mfiler','_Mfirst','_Mlabel','_Mlast','_Mline','_Mmacro',
191
+			'_Mmbldr','_Mpr_beaut','_Mpr_cancl','_Mpr_compl','_Mpr_do','_Mpr_docum',
192
+			'_Mpr_formwz','_Mpr_gener','_Mpr_graph','_Mpr_resum','_Mpr_sp100','_Mpr_sp200',
193
+			'_Mpr_sp300','_Mpr_suspend','_Mprog','_Mproj','_Mrc_appnd','_Mrc_chnge',
194
+			'_Mrc_cont','_Mrc_delet','_Mrc_goto','_Mrc_locat','_Mrc_recal','_Mrc_repl',
195
+			'_Mrc_seek','_Mrc_sp100','_Mrc_sp200','_Mrecord','_Mreport','_Mrqbe',
196
+			'_Mscreen','_Msm_data','_Msm_edit','_Msm_file','_Msm_format','_Msm_prog',
197
+			'_Msm_recrd','_Msm_systm','_Msm_text','_Msm_tools','_Msm_view','_Msm_windo',
198
+			'_Mst_about','_Mst_ascii','_Mst_calcu','_Mst_captr','_Mst_dbase','_Mst_diary',
199
+			'_Mst_filer','_Mst_help','_Mst_hphow','_Mst_hpsch','_Mst_macro','_Mst_office',
200
+			'_Mst_puzzl','_Mst_sp100','_Mst_sp200','_Mst_sp300','_Mst_specl','_Msysmenu',
201
+			'_Msystem','_Mtable','_Mtb_appnd','_Mtb_cpart','_Mtb_delet','_Mtb_delrc',
202
+			'_Mtb_goto','_Mtb_link','_Mtb_mvfld','_Mtb_mvprt','_Mtb_props','_Mtb_recal',
203
+			'_Mtb_sp100','_Mtb_sp200','_Mtb_sp300','_Mtb_sp400','_Mtb_szfld','_Mwi_arran',
204
+			'_Mwi_clear','_Mwi_cmd','_Mwi_color','_Mwi_debug','_Mwi_hide','_Mwi_hidea',
205
+			'_Mwi_min','_Mwi_move','_Mwi_rotat','_Mwi_showa','_Mwi_size','_Mwi_sp100',
206
+			'_Mwi_sp200','_Mwi_toolb','_Mwi_trace','_Mwi_view','_Mwi_zoom','_Mwindow',
207
+			'_Mwizards','_Mwz_all','_Mwz_form','_Mwz_foxdoc','_Mwz_import','_Mwz_label',
208
+			'_Mwz_mail','_Mwz_pivot','_Mwz_query','_Mwz_reprt','_Mwz_setup','_Mwz_table',
209
+			'_Mwz_upsizing','_Netware','_Oracle','_Padvance','_Pageno','_Pbpage',
210
+			'_Pcolno','_Pcopies','_Pdparms','_Pdriver','_Pdsetup','_Pecode',
211
+			'_Peject','_Pepage','_Pform','_Plength','_Plineno','_Ploffset',
212
+			'_Ppitch','_Pquality','_Pretext','_Pscode','_Pspacing','_Pwait',
213
+			'_Rmargin','_Runactivedoc','_Samples','_Screen','_Shell','_Spellchk',
214
+			'_Sqlserver','_Startup','_Tabs','_Tally','_Text','_Throttle',
215
+			'_Transport','_Triggerlevel','_Unix','_WebDevOnly','_WebMenu','_WebMsftHomePage',
216
+			'_WebVFPHomePage','_WebVfpOnlineSupport','_Windows','_Wizard','_Wrap','_scctext',
217
+			'_vfp','Additive','After','Again','Aindent','Alignright',
218
+			'All','Alt','Alternate','And','Ansi','Any',
219
+			'Aplabout','App','Array','As','Asc','Ascending',
220
+			'Ascii','At','Attributes','Automatic','Autosave','Avg',
221
+			'Bar','Before','Bell','Between','Bitmap','Blank',
222
+			'Blink','Blocksize','Border','Bottom','Brstatus','Bucket',
223
+			'Buffers','By','Candidate','Carry','Cascade','Catalog',
224
+			'Cdx','Center','Century','Cga','Character','Check',
225
+			'Classlib','Clock','Cnt','Codepage','Collate','Color',
226
+			'Com1','Com2','Command','Compact','Compatible','Compress',
227
+			'Confirm','Connection','Connections','Connstring','Console','Copies',
228
+			'Cpcompile','Cpdialog','Csv','Currency','Cycle','Databases',
229
+			'Datasource','Date','Db4','Dbc','Dbf','Dbmemo3',
230
+			'Debug','Decimals','Defaultsource','Deletetables','Delimited','Delimiters',
231
+			'Descending','Design','Development','Device','Dif','Disabled',
232
+			'Distinct','Dlls','Dohistory','Dos','Dosmem','Double',
233
+			'Driver','Duplex','Echo','Editwork','Ega25','Ega43',
234
+			'Ems','Ems64','Encrypt','Encryption','Environment','Escape',
235
+			'Events','Exact','Except','Exe','Exists','Expression',
236
+			'Extended','F','Fdow','Fetch','Field','Fields',
237
+			'File','Files','Fill','Fixed','Float','Foldconst',
238
+			'Font','Footer','Force','Foreign','Fox2x','Foxplus',
239
+			'Free','Freeze','From','Fullpath','Fw2','Fweek',
240
+			'Get','Gets','Global','Group','Grow','Halfheight',
241
+			'Having','Heading','Headings','Helpfilter','History','Hmemory',
242
+			'Hours','Id','In','Indexes','Information','Instruct',
243
+			'Int','Integer','Intensity','Intersect','Into','Is',
244
+			'Isometric','Key','Keycolumns','Keycomp','Keyset','Last',
245
+			'Ledit','Level','Library','Like','Linked','Lock',
246
+			'Logerrors','Long','Lpartition','Mac','Macdesktop','Machelp',
247
+			'Mackey','Macros','Mark','Master','Max','Maxmem',
248
+			'Mdi','Memlimit','Memory','Memos','Memowidth','Memvar',
249
+			'Menus','Messages','Middle','Min','Minimize','Minus',
250
+			'Mod','Modal','Module','Mono43','Movers','Multilocks',
251
+			'Mvarsiz','Mvcount','N','Near','Negotiate','Noalias',
252
+			'Noappend','Noclear','Noclose','Noconsole','Nocptrans','Nodata',
253
+			'Nodebug','Nodelete','Nodup','Noedit','Noeject','Noenvironment',
254
+			'Nofloat','Nofollow','Nogrow','Noinit','Nolgrid','Nolink',
255
+			'Nolock','Nomargin','Nomdi','Nomenu','Nominimize','Nomodify'
256
+			),
257
+		3 => array('Nomouse','None','Nooptimize','Nooverwrite','Noprojecthook','Noprompt',
258
+			'Noread','Norefresh','Norequery','Norgrid','Norm','Normal',
259
+			'Nosave','Noshadow','Noshow','Nospace','Not','Notab',
260
+			'Notify','Noupdate','Novalidate','Noverify','Nowait','Nowindow',
261
+			'Nowrap','Nozoom','Npv','Null','Number','Objects',
262
+			'Odometer','Of','Off','Oleobjects','Only','Optimize',
263
+			'Or','Orientation','Output','Outshow','Overlay','Overwrite',
264
+			'Pad','Palette','Paperlength','Papersize','Paperwidth','Password',
265
+			'Path','Pattern','Pause','Pdox','Pdsetup','Pen',
266
+			'Pfs','Pixels','Plain','Popups','Precision','Preference',
267
+			'Preview','Primary','Printer','Printquality','Procedures','Production',
268
+			'Program','Progwork','Project','Prompt','Query','Random',
269
+			'Range','Readborder','Readerror','Record','Recover','Redit',
270
+			'Reference','References','Relative','Remote','Reprocess','Resource',
271
+			'Rest','Restrict','Rgb','Right','Row','Rowset',
272
+			'Rpd','Runtime','Safety','Same','Sample','Say',
273
+			'Scale','Scheme','Scoreboard','Screen','Sdf','Seconds',
274
+			'Selection','Shadows','Shared','Sheet','Shell','Shift',
275
+			'Shutdown','Single','Some','Sortwork','Space','Sql',
276
+			'Standalone','Status','Std','Step','Sticky','String',
277
+			'Structure','Subclass','Summary','Sylk','Sysformats','Sysmenus',
278
+			'System','T','Tab','Tables','Talk','Tedit',
279
+			'Textmerge','Time','Timeout','Titles','Tmpfiles','To',
280
+			'Topic','Transaction','Trap','Trbetween','Trigger','Ttoption',
281
+			'Typeahead','Udfparms','Union','Unique','Userid','Users',
282
+			'Values','Var','Verb','Vga25','Vga50','Views',
283
+			'Volume','Where','Windows','Wk1','Wk3','Wks',
284
+			'Workarea','Wp','Wr1','Wrap','Wrk','Xcmdfile',
285
+			'Xl5','Xl8','Xls','Y','Yresolution','Zoom',
286
+			'Activate','ActivateCell','Add','AddColumn','AddItem','AddListItem',
287
+			'AddObject','AddProperty','AddToSCC','AfterBuild','AfterCloseTables','AfterDock',
288
+			'AfterRowColChange','BeforeBuild','BeforeDock','BeforeOpenTables','BeforeRowColChange','Box',
289
+			'Build','CheckIn','CheckOut','Circle','Clear','ClearData',
290
+			'Cleanup','Click','CloneObject','CloseEditor','CloseTables','Cls',
291
+			'CommandTargetExec','CommandTargetQueryStas','ContainerRelease','DataToClip','DblClick','Deactivate',
292
+			'Delete','DeleteColumn','Deleted','Destroy','DoCmd','Dock',
293
+			'DoScroll','DoVerb','DownClick','Drag','DragDrop','DragOver',
294
+			'DropDown','Draw','EnterFocus','Error','ErrorMessage','Eval',
295
+			'ExitFocus','FormatChange','GetData','GetFormat','GetLatestVersion','GoBack',
296
+			'GotFocus','GoForward','GridHitTest','Hide','HideDoc','IndexToItemId',
297
+			'Init','InteractiveChange','Item','ItemIdToIndex','KeyPress','Line',
298
+			'Load','LostFocus','Message','MiddleClick','MouseDown','MouseMove',
299
+			'MouseUp','MouseWheel','Move','Moved','NavigateTo','Newobject',
300
+			'OLECompleteDrag','OLEDrag','OLEDragDrop','OLEDragOver','OLEGiveFeedback','OLESetData',
301
+			'OLEStartDrag','OpenEditor','OpenTables','Paint','Point','Print',
302
+			'ProgrammaticChange','PSet','QueryAddFile','QueryModifyFile','QueryRemoveFile','QueryRunFile',
303
+			'QueryUnload','RangeHigh','RangeLow','ReadActivate','ReadExpression','ReadDeactivate',
304
+			'ReadMethod','ReadShow','ReadValid','ReadWhen','Refresh','Release',
305
+			'RemoveFromSCC','RemoveItem','RemoveListItem','RemoveObject','Requery','RequestData',
306
+			'Reset','ResetToDefault','Resize','RightClick','SaveAs','SaveAsClass',
307
+			'Scrolled','SetAll','SetData','SetFocus','SetFormat','SetMain',
308
+			'SetVar','SetViewPort','ShowDoc','ShowWhatsThis','TextHeight','TextWidth',
309
+			'Timer','UIEnable','UnDock','UndoCheckOut','Unload','UpClick',
310
+			'Valid','WhatsThisMode','When','WriteExpression','WriteMethod','ZOrder',
311
+			'ATGetColors','ATListColors','Accelerate','ActiveColumn','ActiveControl','ActiveForm',
312
+			'ActiveObjectId','ActivePage','ActiveProject','ActiveRow','AddLineFeeds','Alias',
313
+			'Alignment','AllowAddNew','AllowHeaderSizing','AllowResize','AllowRowSizing','AllowTabs',
314
+			'AlwaysOnTop','Application','AutoActivate','AutoCenter','AutoCloseTables','AutoIncrement',
315
+			'AutoOpenTables','AutoRelease','AutoSize','AutoVerbMenu','AutoYield','AvailNum',
316
+			'BackColor','BackStyle','BaseClass','BorderColor','BorderStyle','BorderWidth',
317
+			'Bound','BoundColumn','BoundTo','BrowseAlignment','BrowseCellMarg','BrowseDestWidth',
318
+			'BufferMode','BufferModeOverride','BuildDateTime','ButtonCount','ButtonIndex','Buttons',
319
+			'CLSID','CanAccelerate','CanGetFocus','CanLoseFocus','Cancel','Caption',
320
+			'ChildAlias','ChildOrder','Class','ClassLibrary','ClipControls','ClipRect',
321
+			'Closable','ColorScheme','ColorSource','ColumnCount','ColumnHeaders','ColumnLines',
322
+			'ColumnOrder','ColumnWidths','Columns','Comment','ContinuousScroll','ControlBox',
323
+			'ControlCount','ControlIndex','ControlSource','Controls','CurrentControl','CurrentX',
324
+			'CurrentY','CursorSource','Curvature','DataSession','DataSessionId','DataSourceObj',
325
+			'DataType','Database','DateFormat','DateMark','DefButton','DefButtonOrig',
326
+			'DefHeight','DefLeft','DefTop','DefWidth','Default','DefaultFilePath',
327
+			'DefineWindows','DeleteMark','Desktop','Dirty','DisabledBackColor','DisabledByEOF',
328
+			'DisabledForeColor','DisabledItemBackColor','DisabledItemForeColor','DisabledPicture','DispPageHeight','DispPageWidth',
329
+			'DisplayCount','DisplayValue','DoCreate','DockPosition','Docked','DocumentFile',
330
+			'DownPicture','DragIcon','DragMode','DragState','DrawMode','DrawStyle',
331
+			'DrawWidth','DynamicAlignment','DynamicBackColor','DynamicCurrentControl','DynamicFontBold','DynamicFontItalic',
332
+			'DynamicFontName','DynamicFontOutline','DynamicFontShadow','DynamicFontSize','DynamicFontStrikethru','DynamicFontUnderline',
333
+			'DynamicForeColor','EditFlags','Enabled','EnabledByReadLock','Encrypted','EnvLevel',
334
+			'ErasePage','FileClass','FileClassLibrary','FillColor','FillStyle','Filter',
335
+			'FirstElement','FontBold','FontItalic','FontName','FontOutline','FontShadow',
336
+			'FontSize','FontStrikethru','FontUnderline','ForceFocus','ForeColor','FormCount',
337
+			'FormIndex','FormPageCount','FormPageIndex','Format','Forms','FoxFont',
338
+			'FullName','GoFirst','GoLast','GridLineColor','GridLineWidth','GridLines'
339
+			),
340
+		4 => array('HPROJ','HWnd','HalfHeightCaption','HasClip','HeaderGap','HeaderHeight',
341
+			'Height','HelpContextID','HideSelection','Highlight','HomeDir','HostName',
342
+			'HotKey','HscrollSmallChange','IMEMode','Icon','IgnoreInsert','InResize',
343
+			'Increment','IncrementalSearch','InitialSelectedAlias','InputMask','Instancing','IntegralHeight',
344
+			'Interval','ItemBackColor','ItemData','ItemForeColor','ItemIDData','ItemTips',
345
+			'JustReadLocked','KeyPreview','KeyboardHighValue','KeyboardLowValue','LastModified','Left',
346
+			'LeftColumn','LineSlant','LinkMaster','List','ListCount','ListIndex',
347
+			'ListItem','ListItemId','LockDataSource','LockScreen','MDIForm','MainClass',
348
+			'MainFile','Margin','MaxButton','MaxHeight','MaxLeft','MaxLength',
349
+			'MaxTop','MaxWidth','MemoWindow','MinButton','MinHeight','MinWidth',
350
+			'MouseIcon','MousePointer','Movable','MoverBars','MultiSelect','Name',
351
+			'NapTime','NewIndex','NewItemId','NoDataOnLoad','NoDefine','NotifyContainer',
352
+			'NullDisplay','NumberOfElements','OLEDragMode','OLEDragPicture','OLEDropEffects','OLEDropHasData',
353
+			'OLEDropMode','OLERequestPendingTimeOut','OLEServerBusyRaiseError','OLEServerBusyTimeOut','OLETypeAllowed','OleClass',
354
+			'OleClassId','OleControlContainer','OleIDispInValue','OleIDispOutValue','OleIDispatchIncoming','OleIDispatchOutgoing',
355
+			'OnResize','OneToMany','OpenViews','OpenWindow','PageCount','PageHeight',
356
+			'PageOrder','PageWidth','Pages','Panel','PanelLink','Parent',
357
+			'ParentAlias','ParentClass','Partition','PasswordChar','Picture','ProcessID',
358
+			'ProgID','ProjectHookClass','ProjectHookLibrary','Projects','ReadColors','ReadCycle',
359
+			'ReadFiller','ReadLock','ReadMouse','ReadOnly','ReadSave','ReadSize',
360
+			'ReadTimeout','RecordMark','RecordSource','RecordSourceType','Rect','RelationalExpr',
361
+			'RelativeColumn','RelativeRow','ReleaseErase','ReleaseType','ReleaseWindows','Resizable',
362
+			'RightToLeft','RowHeight','RowSource','RowSourceType','SCCProvider','SCCStatus',
363
+			'SDIForm','ScaleMode','ScrollBars','SelLength','SelStart','SelText',
364
+			'SelectOnEntry','Selected','SelectedBackColor','SelectedForeColor','SelectedID','SelectedItemBackColor',
365
+			'SelectedItemForeColor','SelfEdit','ServerClass','ServerClassLibrary','ServerHelpFile','ServerName',
366
+			'ServerProject','ShowTips','ShowWindow','Sizable','Size<height>','Size<maxlength>',
367
+			'Size<width>','Skip','SkipForm','Sorted','SourceType','Sparse',
368
+			'SpecialEffect','SpinnerHighValue','SpinnerLowValue','SplitBar','StartMode','StatusBarText',
369
+			'Stretch','StrictDateEntry','Style','SystemRefCount','TabIndex','TabStop',
370
+			'TabStretch','TabStyle','Tabhit','Tabs','Tag','TerminateRead',
371
+			'ThreadID','TitleBar','ToolTipText','Top','TopIndex','TopItemId',
372
+			'TypeLibCLSID','TypeLibDesc','TypeLibName','UnlockDataSource','Value','ValueDirty',
373
+			'VersionComments','VersionCompany','VersionCopyright','VersionDescription','VersionNumber','VersionProduct',
374
+			'VersionTrademarks','View','ViewPortHeight','ViewPortLeft','ViewPortTop','ViewPortWidth',
375
+			'Visible','VscrollSmallChange','WasActive','WasOpen','WhatsThisButton','WhatsThisHelp',
376
+			'WhatsThisHelpID','Width','WindowList','WindowNTIList','WindowState','WindowType',
377
+			'WordWrap','ZOrderSet','ActiveDoc','Checkbox','Column','ComboBox',
378
+			'CommandButton','CommandGroup','Container','Control','Cursor','Custom',
379
+			'DataEnvironment','EditBox','Empty','FontClass','Form','Formset',
380
+			'General','Grid','Header','HyperLink','Image','Label',
381
+			'ListBox','Memo','OleBaseControl','OleBoundControl','OleClassIDispOut','OleControl',
382
+			'OptionButton','OptionGroup','Page','PageFrame','ProjectHook','RectClass',
383
+			'Relation','Session','Shape','Spinner','TextBox' ,'Toolbar'
384
+			),
385
+		),
386
+	'SYMBOLS' => array("!", "@", "$", "%", "(", ")", "-", "+", "=", "/", "{", "}", "[", "]", ":", ";", ",", "	", ".", "*", "&"),
387
+	'CASE_SENSITIVE' => array(
388
+		GESHI_COMMENTS => true,
389
+		1 => false,
390
+		2 => false,
391
+		3 => false,
392
+		4 => false,
393
+		),
394
+	'STYLES' => array(
395
+		'KEYWORDS' => array(
396
+			1 => 'color: blue;',
397
+			2 => 'color: blue;',
398
+			3 => 'color: blue;',
399
+			4 => 'color: blue;'
400
+			),
401
+		'COMMENTS' => array(
402
+			1 => 'color: green; font-style: italic;',
403
+			2 => 'color: green; font-style: italic;',
404
+			'MULTI' => 'color: #808080; font-style: italic;'
405
+			),
406
+		'ESCAPE_CHAR' => array(
407
+			0 => 'color: #000099; font-weight: bold;'
408
+			),
409
+		'BRACKETS' => array(
410
+			0 => 'color: blue;'
411
+			),
412
+		'STRINGS' => array(
413
+			0 => 'color: #ff0000;'
414
+			),
415
+		'NUMBERS' => array(
416
+			0 => 'color: #cc66cc;'
417
+			),
418
+		'METHODS' => array(
419
+			1 => 'color: #006600;'
420
+			),
421
+		'SYMBOLS' => array(
422
+			0 => 'color: blue;'
423
+			),
424
+		'REGEXPS' => array(
425
+			),
426
+		'SCRIPT' => array(
427
+			)
428
+		),
429
+	'OOLANG' => true,
430
+	'OBJECT_SPLITTERS' => array(
431
+		1 => '.'
432
+		),
433
+	'REGEXPS' => array(
434
+		),
435
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
436
+	'SCRIPT_DELIMITERS' => array(
437
+		),
438
+	'HIGHLIGHT_STRICT_BLOCK' => array(
439
+		)
440
+);
441
+
442
+?>

+ 367 - 0
plugins/geshi/winbatch.php View File

@@ -0,0 +1,367 @@
1
+<?php
2
+/*************************************************************************************
3
+ * winbatch.php
4
+ * ------------
5
+ * Author: Craig Storey (storey.craig@gmail.com)
6
+ * Copyright: (c) 2004 Craig Storey (craig.xcottawa.ca)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2006/05/19
9
+ *
10
+ * WinBatch language file for GeSHi.
11
+ *
12
+ * WinBatch is a Windows scripting language - www.winbatch.com.
13
+ * The keywords were pulled from the winbatch/system/WIL.clr file for v2005G.
14
+ * Not all extender functions are added, but a very large set of the most common.
15
+ *
16
+ * CHANGES
17
+ * -------
18
+ * 2006/05/05 (1.0.0)
19
+ *  -  First Release
20
+ *
21
+ * TODO (updated 2004/07/14)
22
+ * -------------------------
23
+ * - Right now any ':Subroutine' is treated as a comment. This highlights the
24
+ *   Subroutine's name, but it's not a perfect fix. I should use a RegEx in
25
+ *   GeSHI_Search&Replace features..
26
+ * - Update the list of extender functions.
27
+ * - Use a regular expression to comment UDFs that start with 'udf_'.
28
+ *
29
+ *************************************************************************************
30
+ *
31
+ *     This file is part of GeSHi.
32
+ *
33
+ *   GeSHi is free software; you can redistribute it and/or modify
34
+ *   it under the terms of the GNU General Public License as published by
35
+ *   the Free Software Foundation; either version 2 of the License, or
36
+ *   (at your option) any later version.
37
+ *
38
+ *   GeSHi is distributed in the hope that it will be useful,
39
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
40
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
41
+ *   GNU General Public License for more details.
42
+ *
43
+ *   You should have received a copy of the GNU General Public License
44
+ *   along with GeSHi; if not, write to the Free Software
45
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
46
+ *
47
+ ************************************************************************************/
48
+
49
+$language_data = array (
50
+	'LANG_NAME' => 'Winbatch',
51
+	'COMMENT_SINGLE' => array(1 => ';', 2 => ':'),
52
+	'COMMENT_MULTI' => array(),
53
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
54
+	'QUOTEMARKS' => array("'", '"', '`'),
55
+	'ESCAPE_CHAR' => '',
56
+	'KEYWORDS' => array(
57
+		1 => array(
58
+			'While', 'To', 'Then', 'Switch', 'Select', 'Return', 'Next', 'IntControl', 'Include', 'In', 'If',
59
+			'Goto', 'GoSub', 'ForEach', 'For', 'Exit', 'Execute', 'ErrorMode', 'EndWhile', 'EndSwitch', '#EndSubRoutine',
60
+			'EndSelect', 'EndIf', '#EEndFunction', 'EndFor', 'End', 'Else', 'DropWild', 'Drop', '#DefineSubRoutine',
61
+			'#DefineFunction', 'Debug', 'Continue', 'Case', 'CallExt', 'Call', 'By', 'BreakPoint', 'Break'
62
+			),
63
+		2 => array(
64
+			'ZOOMED', 'YES', 'WORD4', 'WORD2', 'WORD1', 'WHOLESECTION', 'WAIT', 'UNSORTED', 'UNCHECK', 'TRUE', 'TILE',
65
+			'TAB', 'STRING', 'STACK', 'SPC2NET', 'SORTED', 'SOK', 'SNET2PC', 'SINGLE', 'SHIFT', 'SERVER', 'SERRWINSOCK',
66
+			'SERRVOICE', 'SERRSOCKET', 'SERRSERVICE', 'SERRSELECT', 'SERRPARAM', 'SERROUTOFMEM', 'SERRNOTFOUND', 'SERRNOCONN',
67
+			'SERRNOANSWER', 'SERRMUSTWAIT', 'SERRIPADDR', 'SERRHOSTNAME', 'SERRFAILURE', 'SERRBUSY', 'SCROLLLOCK', 'SCANCEL',
68
+			'SAVE', 'SALREADY', 'ROWS', 'REGUSERS', 'REGROOT', 'REGMACHINE', 'REGCURRENT', 'REGCLASSES', 'RDBLCLICK', 'RCLICK',
69
+			'RBUTTON', 'RAD2DEG', 'QSUCCESSINFO', 'QSUCCESS', 'QSTILLEX', 'QROLLBACK', 'QNULL', 'QNODATA', 'QNEXT', 'QNEEDDATA',
70
+			'QFIRST', 'QCOMMIT', 'QBADHANDLE', 'PRINTER', 'PLANCKJOULES', 'PLANCKERGS', 'PI', 'PARSEONLY', 'PARSEC', 'P3ERRREPLY',
71
+			'OPEN', 'ON', 'OFF', 'NUMLOCK', 'NOWAIT', 'NOTIFY', 'NORMAL', 'NORESIZE', 'NONE', 'NO', 'NCSAFORMAT', 'MULTIPLE',
72
+			'MSFORMAT', 'MPLAYRDBLCK', 'MPLAYRCLK', 'MPLAYRBUTTON', 'MPLAYMDBLCK', 'MPLAYMCLK', 'MPLAYMBUTTON', 'MPLAYLDBLCK',
73
+			'MPLAYLCLK', 'MPLAYLBUTTON', 'MINOR', 'MDBLCLICK', 'MCLICK', 'MBYESNO', 'MBUTTON', 'MBOKCANCEL', 'MAJOR', 'MAGFIELD',
74
+			'LOCALGROUP', 'LIGHTMTPS', 'LIGHTMPS', 'LF', 'LDBLCLICK', 'LCLICK', 'LBUTTON', 'LAFFDBERROR', 'ICON', 'HTTPS', 'HTTP',
75
+			'HNOHEADER', 'HMETHODPOST', 'HMETHODGET', 'HIDDEN', 'HHEADERONLY', 'HHEADER', 'GRAVITATION', 'GOPHER', 'GOLDENRATIO',
76
+			'GMTSEC', 'GLOBALGROUP', 'GFTSEC', 'GETPROCID', 'GETEXITCODE', 'FWDSCAN', 'FTPPASSIVE', 'FTP', 'FLOAT8', 'FARADAY',
77
+			'FALSE', 'EXTENDED', 'EULERS', 'ENABLE', 'ELECTRIC', 'DRIVE', 'DISABLE', 'DESCENDING', 'DEG2RAD', 'DEFAULT', 'CTRL',
78
+			'CRLF', 'CR', 'COMMONFORMAT', 'COLUMNS', 'CHECK', 'CAPSLOCK', 'CANCEL', 'BOLTZMANN', 'BACKSCAN', 'AVOGADRO', 'ATTR_X',
79
+			'ATTR_T', 'ATTR_SY', 'ATTR_SH', 'ATTR_RO', 'ATTR_RI', 'ATTR_P', 'ATTR_IC', 'ATTR_H', 'ATTR_DM', 'ATTR_DI', 'ATTR_DC',
80
+			'ATTR_CI', 'ATTR_A', 'ASCENDING', 'ARRANGE', 'AMC', 'ACC_WRITE', 'ACC_READ_NT', 'ACC_READ_95', 'ACC_READ', 'ACC_PRINT_NT',
81
+			'ACC_PMANG_NT', 'ACC_PFULL_NT', 'ACC_LIST', 'ACC_FULL_NT', 'ACC_FULL_95', 'ACC_DELETE', 'ACC_CREATE', 'ACC_CONTROL',
82
+			'ACC_CHNG_NT', 'ACC_ATTRIB', 'ABOVEICONS'
83
+			),
84
+		3 => array(
85
+			'Yields', 'Yield', 'WinZoom', 'WinWaitExist', 'WinWaitClose', 'WinWaitChild', 'WinVersion', 'WinTitle', 'WinSysInfo',
86
+			'WinState', 'WinShow', 'WinResources', 'WinPositionChild', 'WinPosition', 'WinPlaceSet', 'WinPlaceGet', 'WinPlaceChild',
87
+			'WinPlace', 'WinParmSet', 'WinParmGet', 'WinName', 'WinMetrics', 'WinItemProcId', 'WinItemNameId', 'WinItemizeEx',
88
+			'WinItemize', 'WinItemChild', 'WinIsDos', 'WinIdGet', 'WinIconize', 'WinHide', 'WinHelp', 'WinGetactive', 'WinExistchild',
89
+			'WinExist', 'WinExename', 'WinConfig', 'WinClosenot', 'WinClose', 'WinArrange', 'WinActivechild', 'WinActivchild',
90
+			'WinActivate', 'WebVerifyCard', 'WebSetTimeout', 'WebParamSize', 'WebParamNames', 'WebParamFile', 'WebParamData',
91
+			'WebParamBuf', 'WebOutFile', 'WebOutBinary', 'WebOut', 'WebDumpError', 'WebDatData', 'WebCounter', 'WebConSize', 'WebConData',
92
+			'WebConBuf', 'WebCmdData', 'WebBaseConv', 'Wallpaper', 'WaitForKeyEX', 'WaitForKey', 'VersionDLL', 'Version', 'VarType',
93
+			'TimeYmdHms', 'TimeWait', 'TimeSubtract', 'TimeJulToYmd', 'TimeJulianDay', 'TimeDiffSecs', 'TimeDiffDays', 'TimeDiff', 'TimeDelay',
94
+			'TimeDate', 'TimeAdd', 'TextSelect', 'TextBoxSort', 'TextBox', 'Terminate', 'Tanh', 'Tan', 'SysParamInfo', 'SvcWaitForCmd',
95
+			'SvcSetState', 'SvcSetAccept', 'StrUpper', 'StrTrim', 'StrSubWild', 'StrSub', 'StrScan', 'StrReplace', 'StrLower', 'StrLenWild',
96
+			'StrLen', 'StrIndexWild', 'StrIndexNC', 'StrIndex', 'StriCmp', 'StrFixLeft', 'StrFixCharsL', 'StrFixChars', 'StrFix', 'StrFill',
97
+			'StrCnt', 'StrCmp', 'StrClean', 'StrCharCount', 'StrCat', 'StrByteCount', 'Sqrt', 'SoundVolume', 'Sounds', 'Snapshot', 'Sinh', 'Sin',
98
+			'ShortCutMake', 'ShortCutInfo', 'ShortCutExtra', 'ShortCutEdit', 'ShortCutDir', 'ShellExecute', 'SendMenusToEx', 'SendMenusTo',
99
+			'SendKeysTo', 'SendKeysChild', 'SendKey', 'RunZoomWait', 'RunZoom', 'RunWithLogon', 'RunWait', 'RunShell', 'RunIconWait',
100
+			'RunIcon', 'RunHideWait', 'RunHide', 'RunExit', 'RunEnviron', 'Run', 'RtStatus', 'Reload', 'RegUnloadHive', 'RegSetValue',
101
+			'RegSetQword', 'RegSetMulSz', 'RegSetExpSz', 'RegSetEx', 'RegSetDword', 'RegSetBin', 'RegQueryValue', 'RegQueryStr',
102
+			'RegQueryQword', 'RegQueryMulSz', 'RegQueryKeys', 'RegQueryKeyLastWriteTime', 'RegQueryKey', 'RegQueryItem', 'RegQueryExpSz',
103
+			'RegQueryEx', 'RegQueryDword', 'RegQueryBin', 'RegOpenKeyEx', 'RegOpenKey', 'RegOpenFlags', 'RegLoadHive', 'RegExistValue',
104
+			'RegExistKey', 'RegEntryType', 'RegDelValue', 'RegDeleteKey', 'RegCreateKey', 'RegConnect', 'RegCloseKey', 'RegApp', 'Random',
105
+			'PtrPersistent', 'PtrGlobalDefine', 'PtrGlobal', 'Print', 'PlayWaveform', 'PlayMidi', 'PlayMedia', 'PipeServerWrite', 'PipeServerRead',
106
+			'PipeServerCreate', 'PipeServerClose', 'PipeInfo', 'PipeClientSendRecvData', 'PipeClientOpen', 'PipeClientClose', 'Pause',
107
+			'ParseData', 'ObjectTypeGet', 'ObjectType', 'ObjectOpen', 'ObjectGet', 'ObjectEventRemove', 'objecteventremove', 'ObjectEventAdd',
108
+			'objecteventadd', 'ObjectCreate', 'ObjectConstToArray', 'ObjectConstantsGet', 'ObjectCollectionOpen', 'ObjectCollectionNext',
109
+			'ObjectCollectionClose', 'ObjectClose', 'ObjectAccess', 'Num2Char', 'NetInfo', 'MsgTextGet', 'MousePlay', 'MouseMove', 'MouseInfo',
110
+			'MouseDrag', 'MouseCoords', 'MouseClickBtn', 'MouseClick', 'mod', 'Min', 'Message', 'Max', 'Loge', 'LogDisk', 'Log10', 'LastError',
111
+			'KeyToggleSet', 'KeyToggleGet', 'ItemSortNc', 'ItemSort', 'ItemSelect', 'ItemReplace', 'ItemRemove', 'ItemLocate', 'ItemInsert',
112
+			'ItemExtractCSV', 'ItemExtract', 'ItemCountCSV', 'ItemCount', 'IsNumber', 'IsLicensed', 'IsKeyDown', 'IsInt', 'IsFloat', 'IsDefined',
113
+			'Int', 'InstallFile', 'IniWritePvt', 'IniWrite', 'IniReadPvt', 'IniRead', 'IniItemizePvt', 'IniItemize', 'IniDeletePvt', 'IniDelete',
114
+			'IgnoreInput', 'IconReplace', 'IconInfo', 'IconExtract', 'IconArrange', 'GetTickCount', 'GetObject', 'GetExactTime', 'Floor',
115
+			'FindWindow', 'FileYmdHms', 'FileWrite', 'FileVerInfo', 'FileTimeTouch', 'FileTimeSetEx', 'FileTimeSet', 'FileTimeGetEx',
116
+			'FileTimeGet', 'FileTimeCode', 'FileSizeEx', 'FileSize', 'FileRoot', 'FileRename', 'FileRead', 'FilePutW', 'FilePut', 'FilePath',
117
+			'FileOpen', 'FileNameShort', 'FileNameLong', 'FileNameEval2', 'FileNameEval1', 'FileMoveAttr', 'FileMove', 'FileMapName',
118
+			'FileLocate', 'FileItemPath', 'FileItemize', 'FileInfoToArray', 'FileGetW', 'FileGet', 'FileFullname', 'FileExtension', 'FileExist',
119
+			'FileDelete', 'FileCreateTemp', 'FileCopyAttr', 'FileCopy', 'FileCompare', 'FileClose', 'FileBaseName', 'FileAttrSetEx',
120
+			'FileAttrSet', 'FileAttrGetEx', 'FileAttrGet', 'FileAppend', 'Fabs', 'ExtractAttachedFile', 'Exp', 'ExeTypeInfo', 'Exclusive',
121
+			'EnvItemize', 'EnvironSet', 'Environment', 'EndSession', 'DosVersion', 'DllLoad', 'DllLastError', 'DllHwnd', 'DllHinst',
122
+			'DllFree', 'DllCallCDecl', 'DllCall', 'Display', 'DiskVolinfo', 'DiskSize', 'DiskScan', 'DiskInfo', 'DiskFree', 'DiskExist',
123
+			'DirWindows', 'DirSize', 'DirScript', 'DirRename', 'DirRemove', 'DirMake', 'DirItemize', 'DirInfoToArray', 'DirHome', 'DirGet',
124
+			'DirExist', 'DirChange', 'DirAttrSetEx', 'DirAttrSet', 'DirAttrGetEx', 'DirAttrGet', 'DialogProcOptions', 'DialogObject',
125
+			'DialogControlState', 'DialogControlSet', 'DialogControlGet', 'DialogBox', 'Dialog', 'Delay', 'Decimals', 'DebugTrace',
126
+			'DebugData', 'DDETimeout', 'DDETerminate', 'DDERequest', 'DDEPoke', 'DDEInitiate', 'DDEExecute', 'DateTime', 'CurrFilepath',
127
+			'CurrentPath', 'CurrentFile', 'CreateObject', 'Cosh', 'Cos', 'ClipPut', 'ClipHasFormat', 'ClipGetEx', 'ClipGet', 'ClipAppend',
128
+			'ChrUnicodeToString', 'ChrUnicodeToHex', 'ChrStringToUnicode', 'ChrSetCodepage', 'ChrHexToUnicode', 'ChrGetCodepage',
129
+			'Char2Num', 'Ceiling', 'ButtonNames', 'BoxUpdates', 'BoxTitle', 'BoxTextFont', 'BoxTextColor', 'BoxText', 'BoxShut', 'BoxPen',
130
+			'BoxOpen', 'BoxNew', 'BoxMapmode', 'BoxesUp', 'BoxDrawText', 'BoxDrawRect', 'BoxDrawLine', 'BoxDrawCircle', 'BoxDestroy',
131
+			'BoxDataTag', 'BoxDataClear', 'BoxColor', 'BoxCaption', 'BoxButtonWait', 'BoxButtonStat', 'BoxButtonKill', 'BoxButtonDraw',
132
+			'BoxBitMap', 'BinaryXor', 'BinaryXlate', 'BinaryWriteEx', 'BinaryWrite', 'BinaryTagRepl', 'BinaryTagLen', 'BinaryTagInit',
133
+			'BinaryTagIndex', 'BinaryTagFind', 'BinaryTagExtr', 'BinaryStrCnt', 'BinarySort', 'BinaryReplace', 'BinaryReadEx',
134
+			'BinaryRead', 'BinaryPokeStrW', 'BinaryPokeStr', 'BinaryPokeHex', 'BinaryPokeFlt', 'BinaryPoke4', 'BinaryPoke2', 'BinaryPoke',
135
+			'BinaryPeekStrW', 'BinaryPeekStr', 'BinaryPeekHex', 'BinaryPeekFlt', 'BinaryPeek4', 'BinaryPeek2', 'BinaryPeek', 'BinaryOr',
136
+			'BinaryOleType', 'BinaryIndexNc', 'BinaryIndexEx', 'BinaryIndexBin', 'BinaryIndex', 'BinaryIncrFlt', 'BinaryIncr4',
137
+			'BinaryIncr2', 'BinaryIncr', 'BinaryHashRec', 'BinaryFree', 'BinaryEodSet', 'BinaryEodGet', 'BinaryCopy', 'BinaryConvert',
138
+			'BinaryCompare', 'BinaryClipPut', 'BinaryClipGet', 'BinaryChecksum', 'BinaryBufInfo', 'BinaryAnd', 'BinaryAllocArray',
139
+			'BinaryAlloc', 'Beep', 'Average', 'Atan', 'AskYesNo', 'AskTextbox', 'AskPassword', 'AskLine', 'AskItemlist', 'AskFont',
140
+			'AskFiletext', 'AskFilename', 'AskDirectory', 'AskColor', 'Asin', 'ArrInitialize', 'ArrInfo', 'ArrDimension',
141
+			'Arrayize', 'ArrayFilePutCSV', 'ArrayFilePut', 'ArrayFileGetCSV', 'ArrayFileGet', 'AppWaitClose', 'AppExist', 'AddExtender',
142
+			'Acos', 'Abs', 'About'
143
+			),
144
+		4 => array(
145
+			'zZipFiles', 'zVersionInfo', 'zVersion', 'zUnZipFiles', 'zSetPortBit', 'zRPortShift', 'zPortOut', 'zPortIn', 'zNotPortBit',
146
+			'zLPortShift', 'zGetPortBit', 'zClrPortBit', 'xVerifyCCard', 'xSendMessage', 'xMessageBox', 'xMemCompact', 'xHex', 'xGetElapsed',
147
+			'xGetChildHwnd', 'xExtenderInfo', 'xEnumStreams', 'xEjectMedia', 'xDriveReady', 'xDiskLabelGet', 'xCursorSet', 'xBaseConvert',
148
+			'wxPing', 'wxParmSet', 'wxParmGet', 'wxMsgSetHdr', 'wxMsgGetHdr', 'wxMsgGetBody', 'wxHost2Addr', 'wxGetLastErr', 'wxGetInfo',
149
+			'wxGetErrDesc', 'wxAddr2Host', 'wtsWaitSystemEvent', 'wtsVersion', 'wtsTerminateProcess', 'wtsShutdownSystem', 'wtsSendMessage',
150
+			'wtsQuerySessionInfo', 'wtsProcIdToSessId', 'wtsLogoffSession', 'wtsLastErrMsg', 'wtsIsTSEnabled', 'wtsIsCitrixEnabled',
151
+			'wtsGetActiveConsoleSessId', 'wtsEnumSessions', 'wtsEnumProcesses', 'wtsDisconnectSession', 'wnWrkGroups', 'wnVersion', 'wntWtsUserSet',
152
+			'wntWtsUserGet', 'wntVersion', 'wntUserSidChk', 'wntUserSetDat', 'wntUserRename', 'wntUserProps', 'wntUserList', 'wntUserInfo',
153
+			'wntUserGetDat', 'wntUserFiles', 'wntUserExist', 'wntUserDel', 'wntUserAddDat', 'wntUserAdd', 'wntSvcStatus', 'wntSvcStart',
154
+			'wntSvcList', 'wntSvcDelete', 'wntSvcCreate', 'wntSvcControl', 'wntSvcCfgSet', 'wntSvcCfgGet', 'wntShutdown', 'wntShareUsers',
155
+			'wntShareSet', 'wntShareList', 'wntShareInfo', 'wntShareDel', 'wntShareAdd', 'wntServiceInf', 'wntServiceAt', 'wntServerType',
156
+			'wntServerList', 'wntServerInfo', 'wntSecurityGet', 'wntRunAsUser', 'wntResources2', 'wntResources', 'wntRemoteTime', 'wntRasUserSet',
157
+			'wntRasUserGet', 'wntProfileInfo', 'wntProfileDel', 'wntPrivUsers', 'wntPrivList', 'wntPrivGet', 'wntPrivDel', 'wntPrivAdd',
158
+			'wntOwnerSet', 'wntOwnerGet', 'wntMemberSet', 'wntMemberLst2', 'wntMemberList', 'wntMemberGrps', 'wntMemberGet', 'wntMemberDel',
159
+			'wntLsaPolSet', 'wntLsaPolGet', 'wntListGroups', 'wntLastErrMsg', 'wntGroupRen', 'wntGroupInfo', 'wntGroupEdit', 'wntGroupDel',
160
+			'wntGroupAdd', 'wntGetUser', 'wntGetDrive', 'wntGetDc', 'wntGetCon', 'wntFileUsers', 'wntFilesOpen', 'wntFileClose', 'wntEventWrite',
161
+			'wntEventLog', 'wntDomainSync', 'wntDirDialog', 'wntDfsList', 'wntDfsGetInfo', 'wntCurrUsers', 'wntChgPswd', 'wntCancelCon',
162
+			'wntAuditMod', 'wntAuditList', 'wntAuditGet', 'wntAuditDel', 'wntAuditAdd2', 'wntAuditAdd', 'wntAddPrinter', 'wntAddDrive',
163
+			'wntAcctPolSet', 'wntAcctPolGet', 'wntAcctList', 'wntAcctInfo', 'wntAccessMod', 'wntAccessList', 'wntAccessGet', 'wntAccessDel',
164
+			'wntaccessadd2', 'wntAccessAdd', 'wnShares', 'wnSharePath', 'wnShareName', 'wnShareCnt', 'wnServers', 'wnRestore', 'wnNetNames',
165
+			'wnGetUser', 'wnGetCon', 'wnGetCaps', 'wnDlgShare', 'wnDlgNoShare', 'wnDlgDiscon', 'wnDlgCon4', 'wnDlgCon3', 'wnDlgCon2', 'wnDlgCon',
166
+			'wnDlgBrowse', 'wnDialog', 'wnCmptrInfo', 'wnCancelCon', 'wnAddCon', 'WaitSRQ', 'w9xVersion', 'w9xUserSetDat', 'w9xUserRename',
167
+			'w9xUserprops', 'w9xUserList', 'w9xUserinfo', 'w9xUserGetDat', 'w9xUserExist', 'w9xUserDel', 'w9xUserAddDat', 'w9xUserAdd', 'w9xShareSet',
168
+			'w9xShareInfo', 'w9xShareDel', 'w9xShareAdd', 'w9xServiceAt', 'w9xServerList', 'w9xRemoteTime', 'w9xOwnerGet', 'w9xMemberSet',
169
+			'w9xMemberList', 'w9xMemberGrps', 'w9xMemberGet', 'w9xMemberDel', 'w9xListGroups', 'w9xGroupInfo', 'w9xGroupDel', 'w9xGroupAdd',
170
+			'w9xGetDC', 'w9xFileUsers', 'w9xAccessList', 'w9xAccessGet', 'w9xAccessDel', 'w9xAccessAdd', 'w95Version', 'w95ShareUsers',
171
+			'w95ShareSet', 'w95ShareList', 'w95ShareInfo', 'w95ShareDel', 'w95ShareAdd', 'w95ServiceInf', 'w95ServiceAt', 'w95ServerType',
172
+			'w95ServerInfo', 'w95Resources', 'w95GetUser', 'w95GetDrive', 'w95GetCon', 'w95FileUsers', 'w95FileClose', 'w95DirDialog',
173
+			'w95CancelCon', 'w95AddPrinter', 'w95AddDrive', 'w95AccessDel', 'w95AccessAdd', 'w3Version', 'w3PrtBrowse', 'w3NetGetUser',
174
+			'w3NetDialog', 'w3GetCon', 'w3GetCaps', 'w3DirBrowse', 'w3CancelCon', 'w3AddCon', 'urlGetScheme', 'urlEncode', 'urlDecode',
175
+			'tVersion', 'tSetPriority', 'TriggerList', 'Trigger', 'tRemoteConn', 'tOpenProc', 'tListProc', 'tListMod', 'tKillProc', 'tGetProcInfo',
176
+			'tGetPriority', 'tGetModInfo', 'tGetLastError', 'tGetData', 'TestSys', 'TestSRQ', 'tCountProc', 'tCompatible', 'tCloseProc',
177
+			'tBrowseCntrs', 'sSendString', 'sSendNum', 'sSendLine', 'sSendBinary', 'sRecvNum', 'sRecvLine', 'sRecvBinary', 'SrchVersion',
178
+			'SrchNext', 'SrchInit', 'SrchFree', 'sOpen', 'sOK2Send', 'sOK2Recv', 'smtpSendText', 'smtpSendFile', 'sListen', 'SetRWLS',
179
+			'SendSetup', 'SendLLO', 'SendList', 'SendIFC', 'SendDataBytes', 'SendCmds', 'Send', 'sConnect', 'sClose', 'SByteOrder32',
180
+			'sByteOrder16', 'sAccept', 'rRegVersion', 'rRegSearch', 'ResetSys', 'ReceiveSetup', 'Receive', 'ReadStsByte', 'RcvRespMsg',
181
+			'RasVersion', 'RasTypeSize', 'RasRename', 'RasNumCons', 'RasNameValid', 'RasListActCon', 'RasItemize', 'RasHangUp', 'RasGetLastErr',
182
+			'RasGetConStat', 'RasEntrySet', 'RasEntryInfo', 'RasEntryExist', 'RasEntryDel', 'RasEntryAdd', 'RasDialInfo', 'RasDial',
183
+			'RasCopy', 'RasConStatus', 'qVersionInfo', 'qTransact', 'qTables', 'qSpecial', 'qSetConnOpt', 'qNumRsltCol', 'qNativeSql', 'qLastCode',
184
+			'qGetData', 'qFreeStmt', 'qFreeEnv', 'qFreeConnect', 'qFetch', 'qExecDirect', 'qError', 'qDriverList', 'qDriverCon', 'qDisconnect',
185
+			'qDataSources', 'qConnect', 'qConfigError', 'qConfigData', 'qColumns', 'qBindCol', 'qAllocStmt', 'qAllocEnv', 'qAllocConnect',
186
+			'pWaitFor', 'pVersionInfo', 'pTimeout', 'pSetPublish', 'pSetPrtInfo', 'pSetPrtAttrib', 'pSetDefPrtEx', 'pSetDefPrt', 'pSendFile',
187
+			'pRecvFile', 'pPutString', 'pPutLine', 'pPutChar', 'pPutByte', 'pPutBinary', 'PPollUnconfig', 'PPollConfig', 'PPoll', 'pPeekChar',
188
+			'pPeekByte', 'pPaperSizes', 'pPaperBins', 'pModemSReg', 'pModemParams', 'pModemInit', 'pModemHangUp', 'pModemDial', 'pModemControl',
189
+			'pModemConnect', 'pModemCommand', 'pModemAnsRing', 'pModemAnsCall', 'pMediaTypes', 'pGetString', 'pGetPublish', 'pGetPrtList',
190
+			'pGetPrtInfo', 'pGetPrtAttrib', 'pGetLine', 'pGetLastError', 'pGetErrorMsg', 'pGetErrorCode', 'pGetDefPrtInf', 'pGetChar',
191
+			'pGetByte', 'pGetBinary', 'pDelPrtConn', 'pDelPrinter', 'pComOpen', 'pComModify', 'pComInfo', 'pComControl', 'pComClose',
192
+			'pCheckSum', 'pCheckBinary', 'pCaptureOn', 'pCaptureOff', 'pCaptureLog', 'PassControl', 'pAddPrtConn', 'pAddPrinter', 'p3RecvText',
193
+			'p3RecvFile', 'p3Peek', 'p3Open', 'p3GetReply', 'p3Delete', 'p3Count', 'p3Close', 'nwWhoAmI', 'nwVfyPassword', 'nwVersion',
194
+			'nwSrvShutdown', 'nwSrvNLMMgr', 'nwSrvGenGUID', 'nwSrvExecNCF', 'nwSetVolLimit', 'nwSetSrvParam', 'nwSetSrvInfo', 'nwSetPrimServ',
195
+			'nwSetPassword', 'nwSetOptions', 'nwSetFileInfo', 'nwSetDirLimit', 'nwSetDirInfo', 'nwSetContext', 'nwSetBcastMode', 'nwServerList',
196
+			'nwSendBcastMsg', 'nwSearchObjects', 'nwSearchFilter', 'nwRenameObject', 'nwRemoveObject', 'nwReceiveBcastMsg', 'nwNameConvert',
197
+			'nwMutateObject', 'nwMoveObject', 'nwModifyObject', 'nwMapDelete', 'nwMap', 'nwLogout', 'nwLogin', 'nwListUserGroups',
198
+			'nwListObjects', 'nwListGroupMembers', 'nwLastErrMsg', 'nwIsUserInGroup', 'nwGetVolLimit', 'nwGetSrvStats', 'nwGetSrvParam',
199
+			'nwGetSrvInfo', 'nwGetSrvCfg', 'nwGetOptions', 'nwGetObjValue', 'nwGetObjInfo', 'nwGetNLMInfo', 'nwGetMapped', 'nwGetFileInfo',
200
+			'nwGetDirLimit', 'nwGetDirInfo', 'nwGetContext', 'nwGetConnInfo', 'nwGetCapture', 'nwGetBcastMode', 'nwGetAttrInfo',
201
+			'nwDriveStatus', 'nwDrivePath', 'nwDetachFromServer', 'nwDelUserFromGroup', 'nwDelConnNum', 'nwCompareObject', 'nwClientInfo',
202
+			'nwChgPassword', 'nwAttachToServer', 'nwAddUserToGroup', 'nwAddObject', 'netVersion', 'netResources', 'netGetUser', 'netGetCon',
203
+			'netDirDialog', 'netCancelCon', 'netAddPrinter', 'netAddDrive', 'n4Version', 'n4UserGroups', 'n4UserGroupEx', 'n4SetPrimServ',
204
+			'n4SetOptions', 'n4SetContextG', 'n4SetContext', 'n4ServerList', 'n4ServerInfo', 'n4ObjSearch', 'n4ObjRename', 'n4ObjOptions',
205
+			'n4ObjMove', 'n4ObjGetVal', 'n4ObjectProps', 'n4ObjectList', 'n4ObjectInfo', 'n4ObjDelete', 'n4NameConvert', 'n4MsgsEndAll',
206
+			'n4MsgsEnd', 'n4MemberSet', 'n4MemberGet', 'n4MemberDel', 'n4MapRoot', 'n4MapDir', 'n4MapDelete', 'n4Map', 'n4LogoutTree',
207
+			'n4Logout', 'n4Login', 'n4GetUserName', 'n4GetUserId', 'n4GetUser', 'n4GetNetAddr', 'n4GetMapped', 'n4GetContext',
208
+			'n4GetConnNum', 'n4FileUsers', 'n4FileTimeGet', 'n4FileAttrSet', 'n4FileAttrGet', 'n4DriveStatus', 'n4DrivePath', 'n4DirTimeGet',
209
+			'n4DirAttrSet', 'n4DirAttrGet', 'n4Detach', 'n4ChgPassword', 'n4CapturePrt', 'n4CaptureGet', 'n4CaptureEnd', 'n4Attach',
210
+			'n3Version', 'n3UserGroups', 'n3ServerList', 'n3ServerInfo', 'n3MsgsEndAll', 'n3MsgsEnd', 'n3MemberSet', 'n3MemberGet',
211
+			'n3MemberDel', 'n3Maproot', 'n3Mapdir', 'n3Mapdelete', 'n3Map', 'n3Logout', 'n3GetUserId', 'n3GetUser', 'n3GetNetAddr',
212
+			'n3GetMapped', 'n3GetConnNum', 'n3FileTimeGet', 'n3FileAttrSet', 'n3FileAttrGet', 'n3DriveStatus', 'n3DrivePath',
213
+			'n3DirTimeGet', 'n3DirAttrSet', 'n3DirAttrGet', 'n3Detach', 'n3ChgPassword', 'n3CapturePrt', 'n3CaptureGet',
214
+			'n3CaptureEnd', 'n3Attach', 'mVersion', 'mSyncMail', 'mSendMailEx', 'mSendMail', 'mrecvmail', 'mReadNextMsg', 'mLogOn',
215
+			'mLogOff', 'mFindNext', 'mError', 'mCompatible', 'kVerInfo', 'kStatusInfo', 'kSendText', 'kSendFile', 'kManageImap4',
216
+			'kInit', 'kGetMail', 'kExtra', 'kDest', 'kDeletePop3', 'iWriteDataBuf', 'iWriteData', 'iVersion', 'IUrlOpen', 'iUrlEncode',
217
+			'iUrlDecode', 'iReadDataBuf', 'iReadData', 'ipVersion', 'ipPing', 'iPing', 'ipHost2Addr', 'ipGetLastErr', 'ipGetAddress',
218
+			'iParseURL', 'ipAddr2Host', 'iOptionSet', 'iOptionGet', 'ImgWave', 'ImgVersion', 'ImgUnsharpMask', 'ImgThreshold', 'ImgSwirl',
219
+			'ImgSpread', 'ImgSolarize', 'ImgShear', 'ImgSharpen', 'ImgShade', 'ImgScale', 'ImgSample', 'ImgRotate', 'ImgResize',
220
+			'ImgReduceNoise', 'ImgRaise', 'ImgOilPaint', 'ImgNormalize', 'ImgNegate', 'ImgMotionBlur', 'ImgModulate', 'ImgMinify',
221
+			'ImgMedianFilter', 'ImgMagnify', 'ImgLevel', 'ImgIsValid', 'ImgIsPalette', 'ImgIsMono', 'ImgIsGray', 'ImgInfo', 'ImgImplode',
222
+			'ImgGetImageType', 'ImgGetColorCount', 'ImgGaussianBlur', 'ImgGamma', 'ImgFrame', 'ImgFlop', 'ImgFlip', 'ImgEqualize',
223
+			'ImgEnhance', 'ImgEmboss', 'ImgCrop', 'ImgConvert', 'ImgContrast', 'ImgCompare', 'ImgColorize', 'ImgChop', 'ImgCharcoal',
224
+			'ImgBorder', 'ImgBlur', 'ImgAddNoise', 'iLocFindNext', 'iLocFindInit', 'iHttpOpen', 'iHttpInit', 'iHttpHeaders', 'iHttpAccept',
225
+			'iHostConnect', 'iHost2Addr', 'iGetResponse', 'iGetLastError', 'iGetIEVer', 'iGetConStatEx', 'iGetConState', 'iFtpRename',
226
+			'iFtpPut', 'iFtpOpen', 'iFtpGet', 'iFtpFindNext', 'iFtpFindInit', 'iFtpDirRemove', 'iFtpDirMake', 'iFtpDirGet', 'iFtpDirChange',
227
+			'iFtpDialog', 'iFtpDelete', 'iFtpCmd', 'iErrorDialog', 'iDialItemize', 'iDialHangUp', 'iDial', 'iCookieSet', 'iCookieGet',
228
+			'iContentURL', 'iContentFile', 'iContentData', 'iClose', 'ibWrtf', 'ibWrt', 'ibWait', 'ibVersion', 'ibUnlock', 'ibTrg',
229
+			'ibTmo', 'ibStop', 'ibStatus', 'ibSta', 'ibSre', 'ibSic', 'ibSad', 'ibRsv', 'ibRsp', 'ibRsc', 'ibRpp', 'ibRdf', 'ibRd',
230
+			'ibPpc', 'ibPoke', 'ibPct', 'ibPad', 'ibOnl', 'ibMakeAddr', 'ibLock', 'ibLoc', 'ibLn', 'ibLines', 'ibIst', 'ibInit',
231
+			'ibGts', 'ibGetSad', 'ibGetPad', 'ibFind', 'ibEvent', 'ibErr', 'ibEot', 'ibEos', 'iBegin', 'ibDma', 'ibDev', 'ibConfig',
232
+			'ibCntl', 'ibCnt', 'ibCmda', 'ibCmd', 'ibClr', 'ibCac', 'ibBna', 'ibAsk', 'iAddr2Host', 'huge_Thousands', 'huge_Subtract',
233
+			'huge_SetOptions', 'huge_Multiply', 'huge_GetLastError', 'huge_ExtenderInfo', 'huge_Divide', 'huge_Decimal', 'huge_Add',
234
+			'httpStripHTML', 'httpRecvTextF', 'httpRecvText', 'httpRecvQuery', 'httpRecvQryF', 'httpRecvFile', 'httpGetServer',
235
+			'httpGetQuery', 'httpGetPath', 'httpGetFile', 'httpGetDir', 'httpGetAnchor', 'httpFullPath', 'httpFirewall', 'httpAuth',
236
+			'ftpRename', 'ftpQuote', 'ftpPut', 'ftpOpen', 'ftpList', 'ftpGet', 'ftpFirewall', 'ftpDelete', 'ftpClose', 'ftpChDir',
237
+			'FindRQS', 'FindLstn', 'EnvSetVar', 'EnvPathDel', 'EnvPathChk', 'EnvPathAdd', 'EnvListVars', 'EnvGetVar', 'EnvGetInfo',
238
+			'EnableRemote', 'EnableLocal', 'ehllapiWait', 'ehllapiVersion', 'ehllapiUninit', 'ehllapiStopKeyIntercept', 'ehllapiStopHostNotify',
239
+			'ehllapiStopCloseIntercept', 'ehllapiStartKeyIntercept', 'ehllapiStartHostNotify', 'ehllapiStartCloseIntercept',
240
+			'ehllapiSetWindowStatus', 'ehllapiSetSessionParams', 'ehllapiSetPSWindowName', 'ehllapiSetCursorLoc', 'ehllapiSendKey',
241
+			'ehllapiSendFile', 'ehllapiSearchPS', 'ehllapiSearchField', 'ehllapiRunProfile', 'ehllapiResetSystem', 'ehllapiReserve',
242
+			'ehllapiRelease', 'ehllapiReceiveFile', 'ehllapiQuerySystem', 'ehllapiQueryPSStatus', 'ehllapiQueryHostNotify',
243
+			'ehllapiQueryFieldAttr', 'ehllapiQueryCursorLoc', 'ehllapiQueryCloseIntercept', 'ehllapiPostInterceptStatus',
244
+			'ehllapiPause', 'ehllapiLastErrMsg', 'ehllapiInit', 'ehllapiGetWindowStatus', 'ehllapiGetPSHWND', 'ehllapiGetKey',
245
+			'ehllapiFindFieldPos', 'ehllapiFindFieldLen', 'ehllapiDisconnectPS', 'ehllapiCvtRCToPos', 'ehllapiCvtPosToRC',
246
+			'ehllapiCopyTextToPS', 'ehllapiCopyTextToField', 'ehllapiCopyTextFromPS', 'ehllapiCopyTextFromField', 'ehllapiCopyOIA',
247
+			'ehllapiConnectPS', 'dunItemize', 'dunDisconnect', 'dunConnectEx', 'dunConnect', 'dsTestParam', 'dsSIDtoHexStr', 'dsSetSecProp',
248
+			'dsSetProperty', 'dsSetPassword', 'dsSetObj', 'dsSetCredentX', 'dsSetCredent', 'dsRemFromGrp', 'dsRelSecObj', 'dsMoveObj',
249
+			'dsIsObject', 'dsIsMemberGrp', 'dsIsContainer', 'dsGetUsersGrps', 'dsGetSecProp', 'dsGetPropName', 'dsGetProperty',
250
+			'dsGetPrntPath', 'dsGetPrimGrp', 'dsGetMemGrp', 'dsGetInfo', 'dsGetClass', 'dsGetChldPath', 'dsFindPath', 'dsDeleteObj',
251
+			'dsCreatSecObj', 'dsCreateObj', 'dsCopySecObj', 'dsAddToGrp', 'dsAclRemAce', 'dsAclOrderAce', 'dsAclGetAces', 'dsAclAddAce',
252
+			'DevClearList', 'DevClear', 'dbTest', 'dbSwapColumns', 'dbSort', 'dbSetRecordField', 'dbSetOptions', 'dbSetErrorReporting',
253
+			'dbSetEntireRecord', 'dbSetDelimiter', 'dbSave', 'dbOpen', 'dbNameColumn', 'dbMakeNewItem', 'dbInsertColumn', 'dbGetVersion',
254
+			'dbGetSaveStatus', 'dbGetRecordField', 'dbGetRecordCount', 'dbGetNextItem', 'dbGetLastError', 'dbGetEntireRecord',
255
+			'dbGetColumnType', 'dbGetColumnNumber', 'dbGetColumnName', 'dbGetColumnCount', 'dbFindRecord', 'dbExist', 'dbEasterEgg',
256
+			'dbDeleteRecord', 'dbDeleteColumn', 'dbDebug', 'dbCookDatabases', 'dbClose', 'dbCloneRecord', 'dbBindCol', 'cWndState',
257
+			'cWndinfo', 'cWndGetWndSpecName', 'cWndGetWndSpec', 'cWndexist', 'cWndByWndSpecName', 'cWndByWndSpec', 'cWndbyseq',
258
+			'cWndbyname', 'cWndbyid', 'cWndbyclass', 'cWinIDConvert', 'cVersionInfo', 'cVendorId', 'cSetWndText', 'cSetUpDownPos',
259
+			'cSetTvItem', 'cSetTrackPos', 'cSetTabItem', 'cSetLvItem', 'cSetLbItemEx', 'cSetLbItem', 'cSetIpAddr', 'cSetFocus',
260
+			'cSetEditText', 'cSetDtpDate', 'cSetCbItem', 'cSetCalDate', 'cSendMessage', 'cRadioButton', 'cPostMessage', 'cPostButton',
261
+			'cMemStat', 'cGetWndCursor', 'cGetUpDownPos', 'cGetUpDownMin', 'cGetUpDownMax', 'cGetTVItem', 'cGetTrackPos', 'cGetTrackMin',
262
+			'cGetTrackMax', 'cGetTbText', 'cGetSbText', 'cGetLvText', 'cGetLvSelText', 'cGetLvFocText', 'cGetLvDdtText', 'cGetLvColText',
263
+			'cGetLbText', 'cGetLbSelText', 'cGetLbCount', 'cGetIpAddr', 'cGetInfo', 'cGetHrText', 'cGetFocus', 'cGetEditText', 'cGetDtpDate',
264
+			'cGetControlImageCRC', 'cGetCBText', 'cGetCbCount', 'cGetCalDate', 'cFindByName', 'cFindByClass', 'cEnablestate', 'cDblClickItem',
265
+			'cCpuSupt', 'cCpuSpeed', 'cCpuIdExt', 'cCpuId', 'cCpuFeat', 'cCpuBenchmark', 'cCloneCheck', 'cClickToolbar', 'cClickButton',
266
+			'cClearTvItem', 'cClearLvItem', 'cClearLbAll', 'cCheckbox', 'aVersion', 'aStatusbar', 'aShellFolder', 'aMsgTimeout', 'AllSPoll',
267
+			'aGetLastError', 'aFileRename', 'aFileMove', 'aFileDelete', 'aFileCopy'
268
+			),
269
+		5 => array(
270
+			'wWordRight', 'wWordLeft', 'wWinTile', 'wWinRestore', 'wWinNext', 'wWinMinimize', 'wWinMaximize', 'wWinCloseAll', 'wWinClose',
271
+			'wWinCascade', 'wWinArricons', 'wViewOutput', 'wViewOptions', 'wViewHtml', 'wUpperCase', 'wUpline', 'wUndo', 'wTopOfFile', 'wToggleIns',
272
+			'wTab', 'wStatusMsg', 'wStartSel', 'wSpellcheck', 'wSetProject', 'wSetPrefs', 'wSetColblk', 'wSetBookmark', 'wSelWordRight',
273
+			'wSelWordLeft', 'wSelUp', 'wSelTop', 'wSelRight', 'wSelPgUp', 'wSelPgDn', 'wSelLeft', 'wSelInfo', 'wSelHome', 'wSelEnd', 'wSelectAll',
274
+			'wSelDown', 'wSelBottom', 'wRunRebuild', 'wRunMake', 'wRunExecute', 'wRunDebug', 'wRunConfig', 'wRunCompile', 'wRunCommand', 'wRight',
275
+			'wRepeat', 'wRedo', 'wRecord', 'wProperties', 'wPrintDirect', 'wPrinSetup', 'wPrevError', 'wPaste', 'wPageUp', 'wPageDown', 'wNextError',
276
+			'wNewLine', 'wLowerCase', 'wLineCount', 'wLeft', 'wInvertCase', 'wInsString', 'wInsLine', 'wHome', 'wHelpKeyword', 'wHelpKeybrd',
277
+			'wHelpIndex', 'wHelpHelp', 'wHelpCmds', 'wHelpAbout', 'wGotoLine', 'wGotoCol', 'wGetWrap', 'wGetWord', 'wGetUndo', 'wGetSelstate',
278
+			'wGetRedo', 'wGetOutput', 'wGetModified', 'wGetLineNo', 'wGetIns', 'wGetFilename', 'wGetColNo', 'wGetChar', 'wFtpOpen', 'wFindNext',
279
+			'wFindInFiles', 'wFind', 'wFileSaveAs', 'wFileSave', 'wFileRevert', 'wFilePrint', 'wFilePgSetup', 'wFileOpen', 'wFileNew', 'wFileMerge',
280
+			'wFileList', 'wFileExit', 'wEndSel', 'wEndOfFile', 'wEnd', 'wEdWrap', 'wEdWordRight', 'wEdWordLeft', 'wEdUpLine', 'wEdUndo', 'wEdTopOfFile',
281
+			'wEdToggleIns', 'wEdTab', 'wEdStartSel', 'wEdSetColBlk', 'wEdSelectAll', 'wEdRight', 'wEdRedo', 'wEdPaste', 'wEdPageUp', 'wEdPageDown',
282
+			'wEdNewLine', 'wEdLeft', 'wEdInsString', 'wEdHome', 'wEdGoToLine', 'wEdGoToCol', 'wEdGetWord', 'wEdEndSel', 'wEdEndOfFile', 'wEdEnd',
283
+			'wEdDownLine', 'wEdDelete', 'wEdCutLine', 'wEdCut', 'wEdCopyLine', 'wEdCopy', 'wEdClearSel', 'wEdBackTab', 'wEdBackspace', 'wDownLine',
284
+			'wDelete', 'wDelButton', 'wCutMarked', 'wCutLine', 'wCutAppend', 'wCut', 'wCopyMarked', 'wCopyLine', 'wCopyAppend', 'wCopy', 'wCompile',
285
+			'wClearSel', 'wChange', 'wCallMacro', 'wBackTab', 'wBackspace', 'wAutoIndent', 'wAddButton', 'edWindowTile', 'edWindowRestore',
286
+			'edWindowNext', 'edWindowMinimize', 'edWindowMaximize', 'edWindowCloseall', 'edWindowClose', 'edWindowCascade', 'edWindowArrangeIcons',
287
+			'edStatusMsg', 'edSearchViewOutput', 'edSearchRepeat', 'edSearchPrevError', 'edSearchNextError', 'edSearchFind', 'edSearchChange',
288
+			'edRunRebuild', 'edRunMake', 'edRunExecute', 'edRunDebug', 'edRunConfigure', 'edRunCompile', 'edRunCommand', 'edRecord', 'edHelpProcedures',
289
+			'edHelpKeyword', 'edHelpKeyboard', 'edHelpIndex', 'edHelpHelp', 'edHelpCommands', 'edHelpAbout', 'edGetWordWrapState', 'edGetWindowName',
290
+			'edGetUndoState', 'edGetSelectionState', 'edGetRedoState', 'edGetModifiedStatus', 'edGetLineNumber', 'edGetInsertState', 'edGetColumnNumber',
291
+			'edGetChar', 'edFileSetPreferences', 'edFileSaveAs', 'edFileSave', 'edFilePrinterSetup', 'edFilePrint', 'edFilePageSetup', 'edFileOpen',
292
+			'edFileNew', 'edFileMerge', 'edFileList', 'edFileExit', 'edEditWrap', 'edEditWordRight', 'edEditWordLeft', 'edEditUpLine', 'edEditUndo',
293
+			'edEditToggleIns', 'edEditTab', 'edEditStartSelection', 'edEditSetColumnBlock', 'edEditSetBookmark', 'edEditSelectAll', 'edEditRight',
294
+			'edEditRedo', 'edEditPaste', 'edEditPageUp', 'edEditPageDown', 'edEditLeft', 'edEditInsertString', 'edEditGoToLine', 'edEditGoToColumn',
295
+			'edEditGoToBookmark', 'edEditGetCurrentWord', 'edEditEndSelection', 'edEditEndOfLine', 'edEditEndOfFile', 'edEditDownline', 'edEditDelete',
296
+			'edEditCutline', 'edEditCut', 'edEditCopyline', 'edEditCopy', 'edEditClearSelection', 'edEditBeginningOfLine', 'edEditBeginningOfFile',
297
+			'edEditBackTab', 'edEditBackspace', 'edDeleteButton', 'edAddButton'
298
+			)
299
+		),
300
+	'SYMBOLS' => array(
301
+		'(', ')', '[', ']', '{', '}', '!', '+', '-', '~', '$', '^', '?', '@', '%', '#', '&', '*', '|', '/', '<', '>'
302
+		),
303
+	'CASE_SENSITIVE' => array(
304
+		GESHI_COMMENTS => false,
305
+		1 => false,
306
+		2 => false,
307
+		3 => false,
308
+		4 => false,
309
+		5 => false
310
+		),
311
+	'STYLES' => array(
312
+		'KEYWORDS' => array(
313
+			1 => 'color: #800080;',
314
+			2 => 'color: #0080FF; font-weight: bold;',
315
+			3 => 'color: #0000FF;',
316
+			4 => 'color: #FF00FF;',
317
+			5 => 'color: #008000;'
318
+			),
319
+		'COMMENTS' => array(
320
+			1 => 'color: #008000; font-style: italic;',
321
+			2 => 'color: #FF1010; font-weight: bold;',
322
+			'MULTI' => 'color: #808080; font-style: italic;'
323
+			),
324
+		'ESCAPE_CHAR' => array(
325
+			0 => 'color: #000099; font-weight: bold;'
326
+			),
327
+		'BRACKETS' => array(
328
+			0 => 'color: #66cc66;'
329
+			),
330
+		'STRINGS' => array(
331
+			0 => 'color: #ff0000;'
332
+			),
333
+		'NUMBERS' => array(
334
+			0 => 'color: #cc66cc;'
335
+			),
336
+		'METHODS' => array(
337
+			0 => 'color: #006600;'
338
+			),
339
+		'SYMBOLS' => array(
340
+			0 => 'color: #66cc66;'
341
+			),
342
+		'REGEXPS' => array(
343
+			0 => 'color: #0000ff;'
344
+			),
345
+		'SCRIPT' => array(
346
+			)
347
+		),
348
+	'URLS' => array(
349
+		1 => '',
350
+		2 => '',
351
+		3 => '',
352
+		4 => '',
353
+		5 => ''
354
+		),
355
+	'OOLANG' => false,
356
+	'OBJECT_SPLITTER' => '',
357
+	'REGEXPS' => array(
358
+		0 => "[\\$]{1,2}[a-zA-Z_][a-zA-Z0-9_]*"
359
+		),
360
+	'STRICT_MODE_APPLIES' => GESHI_MAYBE,
361
+	'SCRIPT_DELIMITERS' => array(
362
+		),
363
+	'HIGHLIGHT_STRICT_BLOCK' => array(
364
+		)
365
+);
366
+
367
+?>

+ 146 - 0
plugins/geshi/xml.php View File

@@ -0,0 +1,146 @@
1
+<?php
2
+/*************************************************************************************
3
+ * xml.php
4
+ * -------
5
+ * Author: Nigel McNie (nigel@geshi.org)
6
+ * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2004/09/01
9
+ *
10
+ * XML language file for GeSHi. Based on the idea/file by Christian Weiske
11
+ *
12
+ * CHANGES
13
+ * -------
14
+ * 2005/12/28 (1.0.2)
15
+ *   -  Removed escape character for strings
16
+ * 2004/11/27 (1.0.1)
17
+ *   -  Added support for multiple object splitters
18
+ * 2004/10/27 (1.0.0)
19
+ *   -  First Release
20
+ *
21
+ * TODO (updated 2004/11/27)
22
+ * -------------------------
23
+ * * Check regexps work and correctly highlight XML stuff and nothing else
24
+ *
25
+ *************************************************************************************
26
+ *
27
+ *     This file is part of GeSHi.
28
+ *
29
+ *   GeSHi is free software; you can redistribute it and/or modify
30
+ *   it under the terms of the GNU General Public License as published by
31
+ *   the Free Software Foundation; either version 2 of the License, or
32
+ *   (at your option) any later version.
33
+ *
34
+ *   GeSHi is distributed in the hope that it will be useful,
35
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
36
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
37
+ *   GNU General Public License for more details.
38
+ *
39
+ *   You should have received a copy of the GNU General Public License
40
+ *   along with GeSHi; if not, write to the Free Software
41
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
42
+ *
43
+ ************************************************************************************/
44
+
45
+$language_data = array (
46
+	'LANG_NAME' => 'XML',
47
+	'COMMENT_SINGLE' => array(),
48
+	'COMMENT_MULTI' => array('<!--' => '-->'),
49
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
50
+	'QUOTEMARKS' => array("'", '"'),
51
+	'ESCAPE_CHAR' => '',
52
+	'KEYWORDS' => array(
53
+		),
54
+	'SYMBOLS' => array(
55
+		),
56
+	'CASE_SENSITIVE' => array(
57
+		GESHI_COMMENTS => false,
58
+		),
59
+	'STYLES' => array(
60
+		'KEYWORDS' => array(
61
+			),
62
+		'COMMENTS' => array(
63
+			'MULTI' => 'color: #808080; font-style: italic;'
64
+			),
65
+		'ESCAPE_CHAR' => array(
66
+			0 => 'color: #000099; font-weight: bold;'
67
+			),
68
+		'BRACKETS' => array(
69
+			0 => 'color: #66cc66;'
70
+			),
71
+		'STRINGS' => array(
72
+			0 => 'color: #ff0000;'
73
+			),
74
+		'NUMBERS' => array(
75
+			0 => 'color: #cc66cc;'
76
+			),
77
+		'METHODS' => array(
78
+			),
79
+		'SYMBOLS' => array(
80
+			0 => 'color: #66cc66;'
81
+			),
82
+		'SCRIPT' => array(
83
+			0 => 'color: #00bbdd;',
84
+			1 => 'color: #ddbb00;',
85
+			2 => 'color: #339933;',
86
+			3 => 'color: #009900;'
87
+			),
88
+		'REGEXPS' => array(
89
+			0 => 'color: #000066;',
90
+			1 => 'font-weight: bold; color: black;',
91
+			2 => 'font-weight: bold; color: black;',
92
+			)
93
+		),
94
+	'URLS' => array(
95
+		),
96
+	'OOLANG' => false,
97
+	'OBJECT_SPLITTERS' => array(
98
+		),
99
+	'REGEXPS' => array(
100
+		0 => array(
101
+			GESHI_SEARCH => '([a-z_\-:]+)(=)',
102
+			GESHI_REPLACE => '\\1',
103
+			GESHI_MODIFIERS => 'i',
104
+			GESHI_BEFORE => '',
105
+			GESHI_AFTER => '\\2'
106
+			),
107
+		1 => array(
108
+			GESHI_SEARCH => '(&lt;[/?|(\?xml)]?[a-z0-9_\-:]*(\??&gt;)?)',
109
+			GESHI_REPLACE => '\\1',
110
+			GESHI_MODIFIERS => 'i',
111
+			GESHI_BEFORE => '',
112
+			GESHI_AFTER => ''
113
+			),
114
+		2 => array(
115
+			GESHI_SEARCH => '(([/|\?])?&gt;)',
116
+			GESHI_REPLACE => '\\1',
117
+			GESHI_MODIFIERS => 'i',
118
+			GESHI_BEFORE => '',
119
+			GESHI_AFTER => ''
120
+			)
121
+		),
122
+	'STRICT_MODE_APPLIES' => GESHI_ALWAYS,
123
+	'SCRIPT_DELIMITERS' => array(
124
+		0 => array(
125
+			'<!DOCTYPE' => '>'
126
+			),
127
+		1 => array(
128
+			'&' => ';'
129
+			),
130
+		2 => array(
131
+			'<![CDATA[' => ']]>'
132
+			),
133
+		3 => array(
134
+			'<' => '>'
135
+			)
136
+	),
137
+	'HIGHLIGHT_STRICT_BLOCK' => array(
138
+		0 => false,
139
+		1 => false,
140
+		2 => false,
141
+		3 => true
142
+        ),
143
+    'TAB_WIDTH' => 4
144
+);
145
+
146
+?>

+ 433 - 0
plugins/geshi/xpp.php View File

@@ -0,0 +1,433 @@
1
+<?php
2
+/*************************************************************************************
3
+ * xpp.php
4
+ * -------
5
+ * Author: Simon Butcher (simon@butcher.name)
6
+ * Copyright: (c) 2007 Simon Butcher (http://simon.butcher.name/)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2007/02/27
9
+ *
10
+ * Axapta/Dynamics Ax X++ language file for GeSHi.
11
+ * For details, see <http://msdn.microsoft.com/en-us/library/aa867122.aspx>
12
+ *
13
+ * CHANGES
14
+ * -------
15
+ * 2007/02/28 (1.0.0)
16
+ *  -  First Release
17
+ *
18
+ * TODO (updated 2007/02/27)
19
+ * -------------------------
20
+ *
21
+ *************************************************************************************
22
+ *
23
+ *     This file is part of GeSHi.
24
+ *
25
+ *   GeSHi is free software; you can redistribute it and/or modify
26
+ *   it under the terms of the GNU General Public License as published by
27
+ *   the Free Software Foundation; either version 2 of the License, or
28
+ *   (at your option) any later version.
29
+ *
30
+ *   GeSHi is distributed in the hope that it will be useful,
31
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
32
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
33
+ *   GNU General Public License for more details.
34
+ *
35
+ *   You should have received a copy of the GNU General Public License
36
+ *   along with GeSHi; if not, write to the Free Software
37
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
38
+ *
39
+ ************************************************************************************/
40
+
41
+$language_data = array (
42
+	'LANG_NAME' => 'X++',
43
+	'COMMENT_SINGLE' => array(1 => '//'),
44
+	'COMMENT_MULTI' => array('/*' => '*/'),
45
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
46
+	'QUOTEMARKS' => array("'", '"'),
47
+	'ESCAPE_CHAR' => '\\',
48
+	'KEYWORDS' => array(
49
+		1 => array( // Primitive types
50
+			'void',
51
+			'str',
52
+			'real',
53
+			'int64',
54
+			'int',
55
+			'date',
56
+			'container',
57
+			'boolean',
58
+			'anytype'
59
+			),
60
+		2 => array( // Keywords
61
+			'window',
62
+			'while',
63
+			'try',
64
+			'true',
65
+			'throw',
66
+			'switch',
67
+			'super',
68
+			'static',
69
+			'server',
70
+			'right',
71
+			'return',
72
+			'retry',
73
+			'public',
74
+			'protected',
75
+			'private',
76
+			'print',
77
+			'pause',
78
+			'null',
79
+			'new',
80
+			'mod',
81
+			'left',
82
+			'interface',
83
+			'implements',
84
+			'if',
85
+			'for',
86
+			'final',
87
+			'false',
88
+			'extends',
89
+			'else',
90
+			'edit',
91
+			'do',
92
+			'div',
93
+			'display',
94
+			'default',
95
+			'continue',
96
+			'client',
97
+			'class',
98
+			'changeCompany',
99
+			'case',
100
+			'breakpoint',
101
+			'break',
102
+			'at',
103
+			'abstract'
104
+			),
105
+		3 => array( // Functions within the Axapta kernel
106
+			'year',
107
+			'wkofyr',
108
+			'webwebpartstr',
109
+			'webstaticfilestr',
110
+			'websitetempstr',
111
+			'websitedefstr',
112
+			'webreportstr',
113
+			'webpagedefstr',
114
+			'weboutputcontentitemstr',
115
+			'webmenustr',
116
+			'webletitemstr',
117
+			'webformstr',
118
+			'webdisplaycontentitemstr',
119
+			'webactionitemstr',
120
+			'varstr',
121
+			'utilmoyr',
122
+			'uint2str',
123
+			'typeof',
124
+			'typeid',
125
+			'trunc',
126
+			'today',
127
+			'timenow',
128
+			'time2str',
129
+			'term',
130
+			'tanh',
131
+			'tan',
132
+			'tablestr',
133
+			'tablestaticmethodstr',
134
+			'tablepname',
135
+			'tablenum',
136
+			'tablename2id',
137
+			'tablemethodstr',
138
+			'tableid2pname',
139
+			'tableid2name',
140
+			'tablefieldgroupstr',
141
+			'tablecollectionstr',
142
+			'systemdateset',
143
+			'systemdateget',
144
+			'syd',
145
+			'substr',
146
+			'strupr',
147
+			'strscan',
148
+			'strrtrim',
149
+			'strrep',
150
+			'strrem',
151
+			'strprompt',
152
+			'strpoke',
153
+			'strnfind',
154
+			'strlwr',
155
+			'strltrim',
156
+			'strline',
157
+			'strlen',
158
+			'strkeep',
159
+			'strins',
160
+			'strfmt',
161
+			'strfind',
162
+			'strdel',
163
+			'strcolseq',
164
+			'strcmp',
165
+			'stralpha',
166
+			'str2time',
167
+			'str2num',
168
+			'str2int64',
169
+			'str2int',
170
+			'str2guid',
171
+			'str2enum',
172
+			'str2date',
173
+			'staticmethodstr',
174
+			'sln',
175
+			'sleep',
176
+			'sinh',
177
+			'sin',
178
+			'setprefix',
179
+			'sessionid',
180
+			'securitykeystr',
181
+			'securitykeynum',
182
+			'runbuf',
183
+			'runas',
184
+			'round',
185
+			'resourcestr',
186
+			'reportstr',
187
+			'refprintall',
188
+			'rate',
189
+			'querystr',
190
+			'pv',
191
+			'pt',
192
+			'prmisdefault',
193
+			'primoyr',
194
+			'prevyr',
195
+			'prevqtr',
196
+			'prevmth',
197
+			'power',
198
+			'pmt',
199
+			'num2str',
200
+			'num2date',
201
+			'num2char',
202
+			'nextyr',
203
+			'nextqtr',
204
+			'nextmth',
205
+			'newguid',
206
+			'mthofyr',
207
+			'mthname',
208
+			'mkdate',
209
+			'minint',
210
+			'min',
211
+			'methodstr',
212
+			'menustr',
213
+			'menuitemoutputstr',
214
+			'menuitemdisplaystr',
215
+			'menuitemactionstr',
216
+			'maxint',
217
+			'maxdate',
218
+			'max',
219
+			'match',
220
+			'logn',
221
+			'log10',
222
+			'literalstr',
223
+			'licensecodestr',
224
+			'licensecodenum',
225
+			'intvnorm',
226
+			'intvno',
227
+			'intvname',
228
+			'intvmax',
229
+			'int64str',
230
+			'int64str',
231
+			'indexstr',
232
+			'indexnum',
233
+			'indexname2id',
234
+			'indexid2name',
235
+			'idg',
236
+			'identifierstr',
237
+			'helpfilestr',
238
+			'helpdevstr',
239
+			'helpapplstr',
240
+			'guid2str',
241
+			'getprefix',
242
+			'getCurrentUTCTime',
243
+			'fv',
244
+			'funcname',
245
+			'frac',
246
+			'formstr',
247
+			'fieldstr',
248
+			'fieldpname',
249
+			'fieldnum',
250
+			'fieldname2id',
251
+			'fieldid2pname',
252
+			'fieldid2name',
253
+			'extendedTypeStr',
254
+			'extendedTypeNum',
255
+			'exp10',
256
+			'exp',
257
+			'evalbuf',
258
+			'enumstr',
259
+			'enumnum',
260
+			'enumcnt',
261
+			'enum2str',
262
+			'endmth',
263
+			'dimof',
264
+			'dg',
265
+			'decround',
266
+			'ddb',
267
+			'dayofyr',
268
+			'dayofwk',
269
+			'dayofmth',
270
+			'dayname',
271
+			'date2str',
272
+			'date2num',
273
+			'curuserid',
274
+			'curext',
275
+			'cterm',
276
+			'cosh',
277
+			'cos',
278
+			'corrflagset',
279
+			'corrflagget',
280
+			'convertUTCTimeToLocalTime',
281
+			'convertUTCDateToLocalDate',
282
+			'conpoke',
283
+			'conpeek',
284
+			'connull',
285
+			'conlen',
286
+			'conins',
287
+			'confind',
288
+			'configurationkeystr',
289
+			'configurationkeynum',
290
+			'condel',
291
+			'classstr',
292
+			'classnum',
293
+			'classidget',
294
+			'char2num',
295
+			'beep',
296
+			'atan',
297
+			'asin',
298
+			'ascii2ansi',
299
+			'any2str',
300
+			'any2real',
301
+			'any2int64',
302
+			'any2int',
303
+			'any2guid',
304
+			'any2enum',
305
+			'any2date',
306
+			'ansi2ascii',
307
+			'acos',
308
+			'abs'
309
+			),
310
+		4 => array( // X++ SQL stuff
311
+			'where',
312
+			'update_recordset',
313
+			'ttsCommit',
314
+			'ttsBegin',
315
+			'ttsAbort',
316
+			'sum',
317
+			'setting',
318
+			'select',
319
+			'reverse',
320
+			'pessimisticLock',
321
+			'outer',
322
+			'order by',
323
+			'optimisticLock',
324
+			'notExists',
325
+			'noFetch',
326
+			'next',
327
+			'minof',
328
+			'maxof',
329
+			'like',
330
+			'join',
331
+			'insert_recordset',
332
+			'index hint',
333
+			'index',
334
+			'group by',
335
+			'from',
336
+			'forUpdate',
337
+			'forceSelectOrder',
338
+			'forcePlaceholders',
339
+			'forceNestedLoop',
340
+			'forceLiterals',
341
+			'flush',
342
+			'firstOnly',
343
+			'firstFast',
344
+			'exists',
345
+			'desc',
346
+			'delete_from',
347
+			'count',
348
+			'avg',
349
+			'asc'
350
+			)
351
+		),
352
+	'SYMBOLS' => array( // X++ symbols
353
+		'!',
354
+		'&',
355
+		'(',
356
+		')',
357
+		'*',
358
+		'^',
359
+		'|',
360
+		'~',
361
+		'+',
362
+		',',
363
+		'-',
364
+		'/',
365
+		':',
366
+		'<',
367
+		'=',
368
+		'>',
369
+		'?',
370
+		'[',
371
+		']',
372
+		'{',
373
+		'}'
374
+		),
375
+	'CASE_SENSITIVE' => array(
376
+		GESHI_COMMENTS => true,
377
+		1 => false,
378
+		2 => false,
379
+		3 => false,
380
+		4 => false
381
+		),
382
+	'STYLES' => array(
383
+		'KEYWORDS' => array(
384
+			1 => 'color: #0000ff;',
385
+			2 => 'color: #0000ff;',
386
+			3 => 'color: #0000ff;',
387
+			4 => 'color: #0000ff;'
388
+			),
389
+		'COMMENTS' => array(
390
+			1 => 'color: #007f00;',
391
+			'MULTI' => 'color: #007f00; font-style: italic;'
392
+			),
393
+		'ESCAPE_CHAR' => array(
394
+			0 => 'color: #000000;'
395
+			),
396
+		'BRACKETS' => array(
397
+			0 => 'color: #000000;'
398
+			),
399
+		'STRINGS' => array(
400
+			0 => 'color: #ff0000;'
401
+			),
402
+		'NUMBERS' => array(
403
+			0 => 'color: #000000;'
404
+			),
405
+		'METHODS' => array(
406
+			1 => 'color: #000000;',
407
+			2 => 'color: #000000;'
408
+			),
409
+		'SYMBOLS' => array(
410
+			0 => 'color: #00007f;'
411
+			),
412
+		'REGEXPS' => array(
413
+			),
414
+		'SCRIPT' => array(
415
+			)
416
+		),
417
+	'URLS' => array(
418
+		),
419
+	'OOLANG' => true,
420
+	'OBJECT_SPLITTERS' => array(
421
+		1 => '.',
422
+		2 => '::'
423
+		),
424
+	'REGEXPS' => array(
425
+		),
426
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
427
+	'SCRIPT_DELIMITERS' => array(
428
+		),
429
+	'HIGHLIGHT_STRICT_BLOCK' => array(
430
+		)
431
+);
432
+
433
+?>

+ 136 - 0
plugins/geshi/z80.php View File

@@ -0,0 +1,136 @@
1
+<?php
2
+/*************************************************************************************
3
+ * z80.php
4
+ * -------
5
+ * Author: Benny Baumann (BenBE@omorphia.de)
6
+ * Copyright: (c) 2007-2008 Benny Baumann (http://www.omorphia.de/), Nigel McNie (http://qbnz.com/highlighter)
7
+ * Release Version: 1.0.7.21
8
+ * Date Started: 2007/02/06
9
+ *
10
+ * ZiLOG Z80 Assembler language file for GeSHi.
11
+ * Syntax definition as commonly used with table assembler TASM32
12
+ * This file will contain some undocumented opcodes.
13
+ *
14
+ * CHANGES
15
+ * -------
16
+ * 2007/06/03 (1.0.1)
17
+ *   -  Fixed two typos in the language file
18
+ * 2007/02/06 (1.0.0)
19
+ *   -  First Release
20
+ *
21
+ * TODO (updated 2007/02/06)
22
+ * -------------------------
23
+ *
24
+ *************************************************************************************
25
+ *
26
+ *     This file is part of GeSHi.
27
+ *
28
+ *   GeSHi is free software; you can redistribute it and/or modify
29
+ *   it under the terms of the GNU General Public License as published by
30
+ *   the Free Software Foundation; either version 2 of the License, or
31
+ *   (at your option) any later version.
32
+ *
33
+ *   GeSHi is distributed in the hope that it will be useful,
34
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
35
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
36
+ *   GNU General Public License for more details.
37
+ *
38
+ *   You should have received a copy of the GNU General Public License
39
+ *   along with GeSHi; if not, write to the Free Software
40
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
41
+ *
42
+ ************************************************************************************/
43
+
44
+$language_data = array (
45
+	'LANG_NAME' => 'ZiLOG Z80 Assembler',
46
+	'COMMENT_SINGLE' => array(1 => ';'),
47
+	'COMMENT_MULTI' => array(),
48
+	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
49
+	'QUOTEMARKS' => array("'", '"'),
50
+	'ESCAPE_CHAR' => '',
51
+	'KEYWORDS' => array(
52
+		/*CPU*/
53
+		1 => array(
54
+			'adc','add','and','bit','call','ccf','cp','cpd','cpdr','cpir','cpi',
55
+			'cpl','daa','dec','di','djnz','ei','ex','exx','halt','im','in',
56
+			'in0','inc','ind','indr','inir','ini','jp','jr','ld','ldd','lddr',
57
+			'ldir','ldi','mlt','neg','nop','or','otdm','otdmr','otdr','otim',
58
+			'otimr','otir','out','out0','outd','outi','pop','push','res','ret',
59
+			'reti','retn','rl','rla','rlc','rlca','rld','rr','rra','rrc','rrca',
60
+			'rrd','rst','sbc','scf','set','sla','sl1','sll','slp','sra','srl',
61
+			'sub','tst','tstio','xor'
62
+			),
63
+		/*registers*/
64
+		2 => array(
65
+			'a','b','c','d','e','h','l',
66
+			'af','bc','de','hl','ix','iy','sp',
67
+			'af\'','ixh','ixl','iyh','iyl'
68
+			),
69
+		/*Directive*/
70
+		3 => array(
71
+			'#define','#endif','#else','#ifdef','#ifndef','#include','#undef',
72
+			'.db','.dd','.df','.dq','.dt','.dw','.end','.org','equ'
73
+		    ),
74
+		),
75
+	'SYMBOLS' => array(
76
+		'[', ']', '(', ')', '?', '+', '-', '*', '/', '%', '$'
77
+		),
78
+	'CASE_SENSITIVE' => array(
79
+		GESHI_COMMENTS => true,
80
+		1 => false,
81
+		2 => false,
82
+		3 => false,
83
+		),
84
+	'STYLES' => array(
85
+		'KEYWORDS' => array(
86
+			1 => 'color: #0000ff; font-weight:bold;',
87
+			2 => 'color: #0000ff;',
88
+			3 => 'color: #46aa03; font-weight:bold;'
89
+			),
90
+		'COMMENTS' => array(
91
+			1 => 'color: #adadad; font-style: italic;',
92
+			),
93
+		'ESCAPE_CHAR' => array(
94
+			0 => 'color: #000099; font-weight: bold;'
95
+			),
96
+		'BRACKETS' => array(
97
+			0 => 'color: #0000ff;'
98
+			),
99
+		'STRINGS' => array(
100
+			0 => 'color: #7f007f;'
101
+			),
102
+		'NUMBERS' => array(
103
+			0 => 'color: #dd22dd;'
104
+			),
105
+		'METHODS' => array(
106
+			),
107
+		'SYMBOLS' => array(
108
+			0 => 'color: #008000;'
109
+			),
110
+		'REGEXPS' => array(
111
+			0 => 'color: #22bbff;',
112
+			1 => 'color: #22bbff;',
113
+			2 => 'color: #993333;'
114
+			),
115
+		'SCRIPT' => array(
116
+			)
117
+		),
118
+	'URLS' => array(
119
+		),
120
+	'OOLANG' => false,
121
+	'OBJECT_SPLITTERS' => array(
122
+		),
123
+	'REGEXPS' => array(
124
+		0 => '0[0-9a-fA-F]{1,32}[hH]',
125
+		1 => '\%[01]{1,64}[bB]',
126
+		2 => '^[_a-zA-Z][_a-zA-Z0-9]{0,50}\:'
127
+		),
128
+	'STRICT_MODE_APPLIES' => GESHI_NEVER,
129
+	'SCRIPT_DELIMITERS' => array(
130
+		),
131
+	'HIGHLIGHT_STRICT_BLOCK' => array(
132
+        ),
133
+    'TAB_WIDTH' => 8
134
+);
135
+
136
+?>

+ 39 - 0
plugins/kodrs.php View File

@@ -0,0 +1,39 @@
1
+<?php
2
+/*
3
+Plugin Name: kodrs
4
+Plugin URI: http://plugins.gelatocms.com/kodrs/
5
+Description: Geshify your source codes
6
+Author: Pedro Santana
7
+Author URI: http://www.pecesama.net/
8
+Version: 0.1
9
+*/ 
10
+class kodrs extends plugins {	
11
+	
12
+	function kodrs() {
13
+		if (!defined('GESHI_VERSION')) {
14
+        	require_once("geshi/geshi.php");
15
+		}
16
+		$this->addAction('post_content', 'source_code_beautifier');
17
+	}
18
+
19
+	function source_code_beautifier() {
20
+		global $rows;
21
+
22
+		$text = $rows[0]['Body'];		
23
+		$result = preg_replace_callback("/<code\s+.*lang\s*=\"(.*)\">(.*)<\/code>/siU",
24
+					array('kodrs', 'replace_with_geshi'),
25
+					$text);
26
+		$rows[0]['Body'] = $result;
27
+	}
28
+	
29
+	static function replace_with_geshi($matches) {		
30
+		$lang = strtolower($matches[1])	;		
31
+		$code = trim($matches[2]);
32
+		$geshi = new geshi($code, (isset($lang)) ? $lang : "");    
33
+		$geshi->enable_classes(false);
34
+		$geshi->set_overall_id('geshi_code');
35
+		return @$geshi->parse_code();
36
+	}	
37
+	
38
+}
39
+?>