From 760b3d08880b29386281ecf3576c5738265bc2b9 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 5 Sep 2005 20:03:42 +0200 Subject: GeSHi updated to 1.0.7.2 darcs-hash:20050905180342-7ad00-5613c2958acb498c62addc497ea4780880a06b95.gz --- inc/geshi/actionscript-french.php | 957 ++++++++++++++++++++++++++++++++++++++ inc/geshi/actionscript.php | 6 +- inc/geshi/ada.php | 6 +- inc/geshi/apache.php | 6 +- inc/geshi/applescript.php | 118 +++++ inc/geshi/asm.php | 6 +- inc/geshi/asp.php | 6 +- inc/geshi/bash.php | 6 +- inc/geshi/c.php | 6 +- inc/geshi/c_mac.php | 6 +- inc/geshi/caddcl.php | 6 +- inc/geshi/cadlisp.php | 6 +- inc/geshi/cpp.php | 6 +- inc/geshi/csharp.php | 6 +- inc/geshi/css.php | 6 +- inc/geshi/d.php | 6 +- inc/geshi/delphi.php | 14 +- inc/geshi/diff.php | 6 +- inc/geshi/div.php | 6 +- inc/geshi/dos.php | 179 +++++++ inc/geshi/eiffel.php | 6 +- inc/geshi/freebasic.php | 137 ++++++ inc/geshi/gml.php | 6 +- inc/geshi/html4strict.php | 6 +- inc/geshi/ini.php | 123 +++++ inc/geshi/inno.php | 215 +++++++++ inc/geshi/java.php | 8 +- inc/geshi/javascript.php | 6 +- inc/geshi/lisp.php | 6 +- inc/geshi/lua.php | 257 +++++----- inc/geshi/matlab.php | 6 +- inc/geshi/mpasm.php | 6 +- inc/geshi/nsis.php | 496 +++++++++++++------- inc/geshi/objc.php | 6 +- inc/geshi/oobas.php | 6 +- inc/geshi/oracle8.php | 6 +- inc/geshi/pascal.php | 6 +- inc/geshi/perl.php | 6 +- inc/geshi/php-brief.php | 6 +- inc/geshi/php.php | 6 +- inc/geshi/python.php | 6 +- inc/geshi/qbasic.php | 11 +- inc/geshi/sdlbasic.php | 161 +++++++ inc/geshi/smarty.php | 6 +- inc/geshi/sql.php | 6 +- inc/geshi/vb.php | 6 +- inc/geshi/vbnet.php | 6 +- inc/geshi/vhdl.php | 6 +- inc/geshi/visualfoxpro.php | 4 +- inc/geshi/xml.php | 6 +- 50 files changed, 2480 insertions(+), 422 deletions(-) create mode 100644 inc/geshi/actionscript-french.php create mode 100644 inc/geshi/applescript.php create mode 100644 inc/geshi/dos.php create mode 100644 inc/geshi/freebasic.php create mode 100644 inc/geshi/ini.php create mode 100644 inc/geshi/inno.php create mode 100644 inc/geshi/sdlbasic.php (limited to 'inc/geshi') diff --git a/inc/geshi/actionscript-french.php b/inc/geshi/actionscript-french.php new file mode 100644 index 000000000..101a32850 --- /dev/null +++ b/inc/geshi/actionscript-french.php @@ -0,0 +1,957 @@ + 'Actionscript', + 'COMMENT_SINGLE' => array(1 => '//', 2 => '#'), + 'COMMENT_MULTI' => array('/*' => '*/'), + 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, + 'QUOTEMARKS' => array("'", '"'), + 'ESCAPE_CHAR' => '\\', + 'KEYWORDS' => array( + 1 => array( + '#include', + 'for', + 'foreach', + 'if', + 'elseif', + 'else', + 'while', + 'do', + 'dowhile', + 'endwhile', + 'endif', + 'switch', + 'case', + 'endswitch', + 'break', + 'continue', + 'in', + 'null', + 'false', + 'true', + 'var', + 'default', + 'new', + '_global', + 'undefined', + 'super' + ), + 2 => array( + 'static', + 'private', + 'public', + 'class', + 'extends', + 'implements', + 'import', + 'return', + 'trace', + '_quality', + '_root', + 'set', + 'setInterval', + 'setProperty', + 'stopAllSounds', + 'targetPath', + 'this', + 'typeof', + 'unescape', + 'updateAfterEvent' + ), + 3 => array ( + 'Accessibility', + 'Array', + 'Boolean', + 'Button', + 'Camera', + 'Color', + 'ContextMenuItem', + 'ContextMenu', + 'Cookie', + 'Date', + 'Error', + 'function', + 'FWEndCommand', + 'FWJavascript', + 'Key', + 'LoadMovieNum', + 'LoadMovie', + 'LoadVariablesNum', + 'LoadVariables', + 'LoadVars', + 'LocalConnection', + 'Math', + 'Microphone', + 'MMExecute', + 'MMEndCommand', + 'MMSave', + 'Mouse', + 'MovieClipLoader', + 'MovieClip', + 'NetConnexion', + 'NetStream', + 'Number', + 'Object', + 'printAsBitmapNum', + 'printNum', + 'printAsBitmap', + 'printJob', + 'print', + 'Selection', + 'SharedObject', + 'Sound', + 'Stage', + 'String', + 'System', + 'TextField', + 'TextFormat', + 'Tween', + 'Video', + 'XMLUI', + 'XMLNode', + 'XMLSocket', + 'XML' + ), + 4 => array ( + 'isactive', + 'updateProperties' + ), + 5 => array ( + 'callee', + 'caller', + ), + 6 => array ( + 'concat', + 'join', + 'pop', + 'push', + 'reverse', + 'shift', + 'slice', + 'sort', + 'sortOn', + 'splice', + 'toString', + 'unshift' + ), + 7 => array ( + 'valueOf' + ), + 8 => array ( + 'onDragOut', + 'onDragOver', + 'onKeyUp', + 'onKillFocus', + 'onPress', + 'onRelease', + 'onReleaseOutside', + 'onRollOut', + 'onRollOver', + 'onSetFocus' + ), + 9 => array ( + 'setMode', + 'setMotionLevel', + 'setQuality', + 'activityLevel', + 'bandwidth', + 'currentFps', + 'fps', + 'index', + 'motionLevel', + 'motionTimeOut', + 'muted', + 'names', + 'quality', + 'onActivity', + 'onStatus' + ), + 10 => array ( + 'getRGB', + 'setRGB', + 'getTransform', + 'setTransform' + ), + 11 => array ( + 'caption', + 'enabled', + 'separatorBefore', + 'visible', + 'onSelect' + ), + 12 => array ( + 'setCookie', + 'getcookie' + ), + 13 => array ( + 'hideBuiltInItems', + 'builtInItems', + 'customItems', + 'onSelect' + ), + 14 => array ( + 'CustomActions.get', + 'CustomActions.install', + 'CustomActions.list', + 'CustomActions.uninstall', + ), + 15 => array ( + 'getDate', + 'getDay', + 'getFullYear', + 'getHours', + 'getMilliseconds', + 'getMinutes', + 'getMonth', + 'getSeconds', + 'getTime', + 'getTimezoneOffset', + 'getUTCDate', + 'getUTCDay', + 'getUTCFullYear', + 'getUTCHours', + 'getUTCMinutes', + 'getUTCMilliseconds', + 'getUTCMonth', + 'getUTCSeconds', + 'getYear', + 'setDate', + 'setFullYear', + 'setHours', + 'setMilliseconds', + 'setMinutes', + 'setMonth', + 'setSeconds', + 'setTime', + 'setUTCDate', + 'setUTCDay', + 'setUTCFullYear', + 'setUTCHours', + 'setUTCMinutes', + 'setUTCMilliseconds', + 'setUTCMonth', + 'setUTCSeconds', + 'setYear', + 'UTC' + ), + 16 => array ( + 'message', + 'name', + 'throw', + 'try', + 'catch', + 'finally' + ), + 17 => array ( + 'apply', + 'call' + ), + 18 => array ( + 'BACKSPACE', + 'CAPSLOCK', + 'CONTROL', + 'DELETEKEY', + 'DOWN', + 'END', + 'ENTER', + 'ESCAPE', + 'getAscii', + 'getCode', + 'HOME', + 'INSERT', + 'isDown', + 'isToggled', + 'LEFT', + 'onKeyDown', + 'onKeyUp', + 'PGDN', + 'PGUP', + 'RIGHT', + 'SPACE', + 'TAB', + 'UP' + ), + 19 => array ( + 'addRequestHeader', + 'contentType', + 'decode' + ), + 20 => array ( + 'allowDomain', + 'allowInsecureDomain', + 'close', + 'domain' + ), + 21 => array ( + 'abs', + 'acos', + 'asin', + 'atan', + 'atan2', + 'ceil', + 'cos', + 'exp', + 'floor', + 'log', + 'LN2', + 'LN10', + 'LOG2E', + 'LOG10E', + 'max', + 'min', + 'PI', + 'pow', + 'random', + 'sin', + 'SQRT1_2', + 'sqrt', + 'tan', + 'round', + 'SQRT2' + ), + 22 => array ( + 'activityLevel', + 'muted', + 'names', + 'onActivity', + 'onStatus', + 'setRate', + 'setGain', + 'gain', + 'rate', + 'setSilenceLevel', + 'setUseEchoSuppression', + 'silenceLevel', + 'silenceTimeOut', + 'useEchoSuppression' + ), + 23 => array ( + 'hide', + 'onMouseDown', + 'onMouseMove', + 'onMouseUp', + 'onMouseWeel', + 'show' + ), + 24 => array ( + '_alpha', + 'attachAudio', + 'attachMovie', + 'beginFill', + 'beginGradientFill', + 'clear', + 'createEmptyMovieClip', + 'createTextField', + '_current', + 'curveTo', + '_dropTarget', + 'duplicateMovieClip', + 'endFill', + 'focusEnabled', + 'enabled', + '_focusrec', + '_framesLoaded', + 'getBounds', + 'getBytesLoaded', + 'getBytesTotal', + 'getDepth', + 'getInstanceAtDepth', + 'getNextHighestDepth', + 'getSWFVersion', + 'getTextSnapshot', + 'getURL', + 'globalToLocal', + 'gotoAndPlay', + 'gotoAndStop', + '_height', + 'hitArea', + 'hitTest', + 'lineStyle', + 'lineTo', + 'localToGlobal', + '_lockroot', + 'menu', + 'onUnload', + '_parent', + 'play', + 'prevFrame', + '_quality', + 'removeMovieClip', + '_rotation', + 'setMask', + '_soundbuftime', + 'startDrag', + 'stopDrag', + 'stop', + 'swapDepths', + 'tabChildren', + '_target', + '_totalFrames', + 'trackAsMenu', + 'unloadMovie', + 'useHandCursor', + '_visible', + '_width', + '_xmouse', + '_xscale', + '_x', + '_ymouse', + '_yscale', + '_y' + ), + 25 => array ( + 'getProgress', + 'loadClip', + 'onLoadComplete', + 'onLoadError', + 'onLoadInit', + 'onLoadProgress', + 'onLoadStart' + ), + 26 => array ( + 'bufferLength', + 'currentFps', + 'seek', + 'setBufferTime', + 'bufferTime', + 'time', + 'pause' + ), + 27 => array ( + 'MAX_VALUE', + 'MIN_VALUE', + 'NEGATIVE_INFINITY', + 'POSITIVE_INFINITY' + ), + 28 => array ( + 'addProperty', + 'constructor', + '__proto__', + 'registerClass', + '__resolve', + 'unwatch', + 'watch', + 'onUpDate' + ), + 29 => array ( + 'addPage' + ), + 30 => array ( + 'getBeginIndex', + 'getCaretIndex', + 'getEndIndex', + 'setSelection' + ), + 31 => array ( + 'flush', + 'getLocal', + 'getSize' + ), + 32 => array ( + 'attachSound', + 'duration', + 'getPan', + 'getVolume', + 'onID3', + 'loadSound', + 'id3', + 'onSoundComplete', + 'position', + 'setPan', + 'setVolume' + ), + 33 => array ( + 'getBeginIndex', + 'getCaretIndex', + 'getEndIndex', + 'setSelection' + ), + 34 => array ( + 'getEndIndex', + ), + 35 => array ( + 'align', + 'height', + 'width', + 'onResize', + 'scaleMode', + 'showMenu' + ), + 36 => array ( + 'charAt', + 'charCodeAt', + 'concat', + 'fromCharCode', + 'indexOf', + 'lastIndexOf', + 'substr', + 'substring', + 'toLowerCase', + 'toUpperCase' + ), + 37 => array ( + 'avHardwareDisable', + 'hasAccessibility', + 'hasAudioEncoder', + 'hasAudio', + 'hasEmbeddedVideo', + 'hasMP3', + 'hasPrinting', + 'hasScreenBroadcast', + 'hasScreenPlayback', + 'hasStreamingAudio', + 'hasStreamingVideo', + 'hasVideoEncoder', + 'isDebugger', + 'language', + 'localFileReadDisable', + 'manufacturer', + 'os', + 'pixelAspectRatio', + 'playerType', + 'screenColor', + 'screenDPI', + 'screenResolutionX', + 'screenResolutionY', + 'serverString', + 'version' + ), + 38 => array ( + 'allowDomain', + 'allowInsecureDomain', + 'loadPolicyFile' + ), + 39 => array ( + 'exactSettings', + 'setClipboard', + 'showSettings', + 'useCodepage' + ), + 40 => array ( + 'getStyle', + 'getStyleNames', + 'parseCSS', + 'setStyle', + 'transform' + ), + 41 => array ( + 'autoSize', + 'background', + 'backgroundColor', + 'border', + 'borderColor', + 'bottomScroll', + 'condenseWhite', + 'embedFonts', + 'getFontList', + 'getNewTextFormat', + 'getTextFormat', + 'hscroll', + 'htmlText', + 'html', + 'maxChars', + 'maxhscroll', + 'maxscroll', + 'mouseWheelEnabled', + 'multiline', + 'onScroller', + 'password', + 'removeTextField', + 'replaceSel', + 'replaceText', + 'restrict', + 'scroll', + 'selectable', + 'setNewTextFormat', + 'setTextFormat', + 'styleSheet', + 'tabEnabled', + 'tabIndex', + 'textColor', + 'textHeight', + 'textWidth', + 'text', + 'type', + '_url', + 'variable', + 'wordWrap' + ), + 42 => array ( + 'blockIndent', + 'bold', + 'bullet', + 'font', + 'getTextExtent', + 'indent', + 'italic', + 'leading', + 'leftMargin', + 'rightMargin', + 'size', + 'tabStops', + 'underline' + ), + 43 => array ( + 'findText', + 'getCount', + 'getSelected', + 'getSelectedText', + 'getText', + 'hitTestTextNearPos', + 'setSelectColor', + 'setSelected' + ), + 44 => array ( + 'begin', + 'change', + 'continueTo', + 'fforward', + 'finish', + 'func', + 'FPS', + 'getPosition', + 'isPlaying', + 'looping', + 'obj', + 'onMotionChanged', + 'onMotionFinished', + 'onMotionLooped', + 'onMotionStarted', + 'onMotionResumed', + 'onMotionStopped', + 'prop', + 'rewind', + 'resume', + 'setPosition', + 'time', + 'userSeconds', + 'yoyo' + ), + 45 => array ( + 'attachVideo', + 'deblocking', + 'smoothing' + ), + 46 => array ( + 'addRequestHeader', + 'appendChild', + 'attributes', + 'childNodes', + 'cloneNode', + 'contentType', + 'createElement', + 'createTextNode', + 'docTypeDecl', + 'firstChild', + 'hasChildNodes', + 'ignoreWhite', + 'insertBefore', + 'lastChild', + 'nextSibling', + 'nodeName', + 'nodeType', + 'nodeValue', + 'parentNode', + 'parseXML', + 'previousSibling', + 'removeNode', + 'xmlDecl' + ), + 47 => array ( + 'onClose', + 'onXML' + ), + 48 => array ( + 'add', + 'and', + '_highquality', + 'chr', + 'eq', + 'ge', + 'ifFrameLoaded', + 'int', + 'le', + 'it', + 'mbchr', + 'mblength', + 'mbord', + 'ne', + 'not', + 'or', + 'ord', + 'tellTarget', + 'toggleHighQuality' + ), + 49 => array ( + 'ASSetPropFlags', + 'ASnative', + 'ASconstructor', + 'AsSetupError', + 'FWEndCommand', + 'FWJavascript', + 'MMEndCommand', + 'MMSave', + 'XMLUI' + ), + 50 => array ( + 'System.capabilities' + ), + 51 => array ( + 'System.security' + ), + 52 => array ( + 'TextField.StyleSheet' + ) + ), + 'SYMBOLS' => array( + '(', ')', '[', ']', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>','=' + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => false, + 1 => true, + 2 => true, + 3 => true, + 4 => true, + 5 => true, + 6 => true, + 7 => true, + 8 => true, + 9 => true, + 10 => true, + 11 => true, + 12 => true, + 13 => true, + 14 => true, + 15 => true, + 16 => true, + 17 => true, + 18 => true, + 19 => true, + 20 => true, + 21 => true, + 22 => true, + 23 => true, + 24 => true, + 25 => true, + 26 => true, + 27 => true, + 28 => true, + 29 => true, + 30 => true, + 31 => true, + 32 => true, + 33 => true, + 34 => true, + 35 => true, + 36 => true, + 37 => true, + 38 => true, + 39 => true, + 40 => true, + 41 => true, + 42 => true, + 43 => true, + 44 => true, + 45 => true, + 46 => true, + 47 => true, + 48 => true, + 49 => true, + 50 => true, + 51 => true, + 52 => true + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #0000ff;', + 2 => 'color: #006600;', + 3 => 'color: #000080;', + 4 => 'color: #006600;', + 5 => 'color: #006600;', + 6 => 'color: #006600;', + 7 => 'color: #006600;', + 8 => 'color: #006600;', + 9 => 'color: #006600;', + 10 => 'color: #006600;', + 11 => 'color: #006600;', + 12 => 'color: #006600;', + 13 => 'color: #006600;', + 14 => 'color: #006600;', + 15 => 'color: #006600;', + 16 => 'color: #006600;', + 17 => 'color: #006600;', + 18 => 'color: #006600;', + 19 => 'color: #006600;', + 20 => 'color: #006600;', + 21 => 'color: #006600;', + 22 => 'color: #006600;', + 23 => 'color: #006600;', + 24 => 'color: #006600;', + 25 => 'color: #006600;', + 26 => 'color: #006600;', + 27 => 'color: #006600;', + 28 => 'color: #006600;', + 29 => 'color: #006600;', + 30 => 'color: #006600;', + 31 => 'color: #006600;', + 32 => 'color: #006600;', + 33 => 'color: #006600;', + 34 => 'color: #006600;', + 35 => 'color: #006600;', + 36 => 'color: #006600;', + 37 => 'color: #006600;', + 38 => 'color: #006600;', + 39 => 'color: #006600;', + 40 => 'color: #006600;', + 41 => 'color: #006600;', + 42 => 'color: #006600;', + 43 => 'color: #006600;', + 44 => 'color: #006600;', + 45 => 'color: #006600;', + 46 => 'color: #006600;', + 47 => 'color: #006600;', + 48 => 'color: #CC0000;', + 49 => 'color: #5700d1;', + 50 => 'color: #006600;', + 51 => 'color: #006600;', + 52 => 'color: #CC0000;' + ), + 'COMMENTS' => array( + 1 => 'color: #ff8000; font-style: italic;', + 2 => 'color: #ff8000; font-style: italic;', + 'MULTI' => 'color: #ff8000; font-style: italic;' + ), + 'ESCAPE_CHAR' => array( + 0 => 'color: #000099; font-weight: bold;' + ), + 'BRACKETS' => array( + 0 => 'color: #333333;' + ), + 'STRINGS' => array( + 0 => 'color: #333333; background-color: #eeeeee;' + ), + 'NUMBERS' => array( + 0 => 'color: #c50000;' + ), + + 'SYMBOLS' => array( + 0 => 'color: #000000;' + ), + 'METHODS' => array( + 1 => 'color: #006600;' + ), + 'REGEXPS' => array( + ), + 'SCRIPT' => array( + ) + ), + 'URLS' => array( + 1 => 'http://wiki.media-box.net/documentation/flash/{FNAME}', + 2 => 'http://wiki.media-box.net/documentation/flash/{FNAME}', + 3 => 'http://wiki.media-box.net/documentation/flash/{FNAME}', + 4 => 'http://wiki.media-box.net/documentation/flash/accessibility/{FNAME}', + 5 => 'http://wiki.media-box.net/documentation/flash/arguments/{FNAME}', + 6 => 'http://wiki.media-box.net/documentation/flash/array/{FNAME}', + 7 => 'http://wiki.media-box.net/documentation/flash/boolean/{FNAME}', + 8 => 'http://wiki.media-box.net/documentation/flash/button/{FNAME}', + 9 => 'http://wiki.media-box.net/documentation/flash/camera/{FNAME}', + 10 => 'http://wiki.media-box.net/documentation/flash/color/{FNAME}', + 11 => 'http://wiki.media-box.net/documentation/flash/contextmenuitem/{FNAME}', + 12 => 'http://wiki.media-box.net/documentation/flash/contextmenu/{FNAME}', + 13 => 'http://wiki.media-box.net/documentation/flash/cookie/{FNAME}', + 14 => 'http://wiki.media-box.net/documentation/flash/customactions/{FNAME}', + 15 => 'http://wiki.media-box.net/documentation/flash/date/{FNAME}', + 16 => 'http://wiki.media-box.net/documentation/flash/error/{FNAME}', + 17 => 'http://wiki.media-box.net/documentation/flash/function/{FNAME}', + 18 => 'http://wiki.media-box.net/documentation/flash/key/{FNAME}', + 19 => 'http://wiki.media-box.net/documentation/flash/loadvars/{FNAME}', + 20 => 'http://wiki.media-box.net/documentation/flash/localconnection/{FNAME}', + 21 => 'http://wiki.media-box.net/documentation/flash/math/{FNAME}', + 22 => 'http://wiki.media-box.net/documentation/flash/microphone/{FNAME}', + 23 => 'http://wiki.media-box.net/documentation/flash/mouse/{FNAME}', + 24 => 'http://wiki.media-box.net/documentation/flash/movieclip/{FNAME}', + 25 => 'http://wiki.media-box.net/documentation/flash/moviecliploader/{FNAME}', + 26 => 'http://wiki.media-box.net/documentation/flash/netstream/{FNAME}', + 27 => 'http://wiki.media-box.net/documentation/flash/number/{FNAME}', + 28 => 'http://wiki.media-box.net/documentation/flash/object/{FNAME}', + 29 => 'http://wiki.media-box.net/documentation/flash/printJob/{FNAME}', + 30 => 'http://wiki.media-box.net/documentation/flash/selection/{FNAME}', + 31 => 'http://wiki.media-box.net/documentation/flash/sharedobject/{FNAME}', + 32 => 'http://wiki.media-box.net/documentation/flash/sound/{FNAME}', + 33 => 'http://wiki.media-box.net/documentation/flash/selection/{FNAME}', + 34 => 'http://wiki.media-box.net/documentation/flash/sharedobject/{FNAME}', + 35 => 'http://wiki.media-box.net/documentation/flash/stage/{FNAME}', + 36 => 'http://wiki.media-box.net/documentation/flash/string/{FNAME}', + 37 => 'http://wiki.media-box.net/documentation/flash/system/capabilities/{FNAME}', + 38 => 'http://wiki.media-box.net/documentation/flash/system/security/{FNAME}', + 39 => 'http://wiki.media-box.net/documentation/flash/system/{FNAME}', + 40 => 'http://wiki.media-box.net/documentation/flash/textfield/stylesheet/{FNAME}', + 41 => 'http://wiki.media-box.net/documentation/flash/textfield/{FNAME}', + 42 => 'http://wiki.media-box.net/documentation/flash/textformat/{FNAME}', + 43 => 'http://wiki.media-box.net/documentation/flash/textsnapshot/{FNAME}', + 44 => 'http://wiki.media-box.net/documentation/flash/tween/{FNAME}', + 45 => 'http://wiki.media-box.net/documentation/flash/video/{FNAME}', + 46 => 'http://wiki.media-box.net/documentation/flash/xml/{FNAME}', + 47 => 'http://wiki.media-box.net/documentation/flash/xmlsocket/{FNAME}', + 48 => 'http://wiki.media-box.net/documentation/flash/{FNAME}', + 49 => 'http://wiki.media-box.net/documentation/flash/{FNAME}', + 50 => 'http://wiki.media-box.net/documentation/flash/system/capabilities', + 51 => 'http://wiki.media-box.net/documentation/flash/system/security', + 52 => 'http://wiki.media-box.net/documentation/flash/textfield/stylesheet' + ), + 'OOLANG' => true, + 'OBJECT_SPLITTERS' => array( + 1 => '.' + ), + 'REGEXPS' => array( + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array(), + 'HIGHLIGHT_STRICT_BLOCK' => array() +); + +?> \ No newline at end of file diff --git a/inc/geshi/actionscript.php b/inc/geshi/actionscript.php index 5032f98a1..e6d2726bb 100644 --- a/inc/geshi/actionscript.php +++ b/inc/geshi/actionscript.php @@ -4,10 +4,10 @@ * ---------------- * Author: Steffen Krause (Steffen.krause@muse.de) * Copyright: (c) 2004 Steffen Krause, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * Actionscript language file for GeSHi. * diff --git a/inc/geshi/ada.php b/inc/geshi/ada.php index f0cf602e0..bb859635c 100644 --- a/inc/geshi/ada.php +++ b/inc/geshi/ada.php @@ -4,10 +4,10 @@ * ------- * Author: Tux (tux@inmail.cz) * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/07/29 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * Ada language file for GeSHi. * Words are from SciTe configuration file diff --git a/inc/geshi/apache.php b/inc/geshi/apache.php index c9eb55c8e..aab57952b 100644 --- a/inc/geshi/apache.php +++ b/inc/geshi/apache.php @@ -4,10 +4,10 @@ * ---------- * Author: Tux (tux@inmail.cz) * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/29/07 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * Apache language file for GeSHi. * Words are from SciTe configuration file diff --git a/inc/geshi/applescript.php b/inc/geshi/applescript.php new file mode 100644 index 000000000..3925ab37e --- /dev/null +++ b/inc/geshi/applescript.php @@ -0,0 +1,118 @@ + 'AppleScript', + 'COMMENT_SINGLE' => array(1 => '--'), + 'COMMENT_MULTI' => array( '(*' => '*)'), + 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, + 'QUOTEMARKS' => array('"',"'"), + 'ESCAPE_CHAR' => '\\', + 'KEYWORDS' => array( + 1 => array( + 'script','property','prop','end','copy','to','set','global','local','on','to','of', + 'in','given','with','without','return','continue','tell','if','then','else','repeat', + 'times','while','until','from','exit','try','error','considering','ignoring','timeout', + 'transaction','my','get','put','into','is' + ), + 2 => array( + 'each','some','every','whose','where','id','index','first','second','third','fourth', + 'fifth','sixth','seventh','eighth','ninth','tenth','last','front','back','st','nd', + 'rd','th','middle','named','through','thru','before','after','beginning','the' + ), + 3 => array( + 'close','copy','count','delete','duplicate','exists','launch','make','move','open', + 'print','quit','reopen','run','save','saving', + 'it','me','version','pi','result','space','tab','anything','case','diacriticals','expansion', + 'hyphens','punctuation','bold','condensed','expanded','hidden','italic','outline','plain', + 'shadow','strikethrough','subscript','superscript','underline','ask','no','yes','false', + 'true','weekday','monday','mon','tuesday','tue','wednesday','wed','thursday','thu','friday', + 'fri','saturday','sat','sunday','sun','month','january','jan','february','feb','march', + 'mar','april','apr','may','june','jun','july','jul','august','aug','september', + 'sep','october','oct','november','nov','december','dec','minutes','hours', + 'days','weeks','div','mod','and','not','or','as','contains','equal','equals','isnt' + ) + ), + 'SYMBOLS' => array( + ')','+','-','^','*','/','&','<','>=','<','<=','=','­' + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => true, + 1 => false, + 2 => false, + 3 => false, + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #b1b100;', + 2 => 'color: #000000; font-weight: bold;', + 3 => 'color: #000066;' + ), + 'COMMENTS' => array( + 1 => 'color: #808080; font-style: italic;', + 'MULTI' => 'color: #808080; font-style: italic;' + ), + 'ESCAPE_CHAR' => array( + 0 => 'color: #000099; font-weight: bold;' + ), + 'BRACKETS' => array( + 0 => 'color: #66cc66;' + ), + 'STRINGS' => array( + 0 => 'color: #ff0000;' + ), + 'NUMBERS' => array( + 0 => 'color: #cc66cc;' + ), + 'METHODS' => array( + 1 => 'color: #006600;', + 2 => 'color: #006600;' + ), + 'SYMBOLS' => array( + 0 => 'color: #66cc66;' + ), + 'REGEXPS' => array( + 0 => 'color: #0000ff;', + 4 => 'color: #009999;', + ), + 'SCRIPT' => array( + ) + ), + 'URLS' => array( + 3 => '' + ), + 'OOLANG' => true, + 'OBJECT_SPLITTERS' => array( + 1 => ',+-=<>/?^&*' + ), + 'REGEXPS' => array( + 0 => '[\\$%@]+[a-zA-Z_][a-zA-Z0-9_]*', + 4 => '<[a-zA-Z_][a-zA-Z0-9_]*>', + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array( + ), + 'HIGHLIGHT_STRICT_BLOCK' => array( + ) +); + +?> diff --git a/inc/geshi/asm.php b/inc/geshi/asm.php index eb7edf5ac..51db6384d 100644 --- a/inc/geshi/asm.php +++ b/inc/geshi/asm.php @@ -4,10 +4,10 @@ * ------- * Author: Tux (tux@inmail.cz) * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/07/27 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * x86 Assembler language file for GeSHi. * Words are from SciTe configuration file (based on NASM syntax) diff --git a/inc/geshi/asp.php b/inc/geshi/asp.php index 9004bd8c4..b5b169566 100644 --- a/inc/geshi/asp.php +++ b/inc/geshi/asp.php @@ -4,10 +4,10 @@ * -------- * Author: Amit Gupta (http://blog.igeek.info/) * Copyright: (c) 2004 Amit Gupta (http://blog.igeek.info/), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/08/13 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * ASP language file for GeSHi. * diff --git a/inc/geshi/bash.php b/inc/geshi/bash.php index fad24f0da..487756413 100644 --- a/inc/geshi/bash.php +++ b/inc/geshi/bash.php @@ -4,10 +4,10 @@ * -------- * Author: Andreas Gohr (andi@splitbrain.org) * Copyright: (c) 2004 Andreas Gohr, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/08/20 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * BASH language file for GeSHi. * diff --git a/inc/geshi/c.php b/inc/geshi/c.php index ebdaed9da..f03ed9113 100644 --- a/inc/geshi/c.php +++ b/inc/geshi/c.php @@ -6,10 +6,10 @@ * Contributors: * - Jack Lloyd (lloyd@randombit.net) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * C language file for GeSHi. * diff --git a/inc/geshi/c_mac.php b/inc/geshi/c_mac.php index b020c74f5..9302a4071 100644 --- a/inc/geshi/c_mac.php +++ b/inc/geshi/c_mac.php @@ -4,10 +4,10 @@ * --------- * Author: M. Uli Kusterer (witness.of.teachtext@gmx.net) * Copyright: (c) 2004 M. Uli Kusterer, Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * C for Macs language file for GeSHi. * diff --git a/inc/geshi/caddcl.php b/inc/geshi/caddcl.php index d942d9e5e..d062cac41 100644 --- a/inc/geshi/caddcl.php +++ b/inc/geshi/caddcl.php @@ -4,10 +4,10 @@ * ---------- * Author: Roberto Rossi (rsoftware@altervista.org) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * CAD DCL (Dialog Control Language) file for GeSHi. * diff --git a/inc/geshi/cadlisp.php b/inc/geshi/cadlisp.php index c432c7f29..e05d4b6fd 100644 --- a/inc/geshi/cadlisp.php +++ b/inc/geshi/cadlisp.php @@ -4,10 +4,10 @@ * ----------- * Author: Roberto Rossi (rsoftware@altervista.org) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/blog) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * AutoCAD/IntelliCAD Lisp language file for GeSHi. * diff --git a/inc/geshi/cpp.php b/inc/geshi/cpp.php index 9c85ad0cd..03d5abcf5 100644 --- a/inc/geshi/cpp.php +++ b/inc/geshi/cpp.php @@ -7,10 +7,10 @@ * - M. Uli Kusterer (witness.of.teachtext@gmx.net) * - Jack Lloyd (lloyd@randombit.net) * Copyright: (c) 2004 Dennis Bayer, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/09/27 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * C++ language file for GeSHi. * diff --git a/inc/geshi/csharp.php b/inc/geshi/csharp.php index 2d3b29681..6cbd0110e 100644 --- a/inc/geshi/csharp.php +++ b/inc/geshi/csharp.php @@ -4,10 +4,10 @@ * ---------- * Author: Alan Juden (alan@judenware.org) * Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * C# language file for GeSHi. * diff --git a/inc/geshi/css.php b/inc/geshi/css.php index a06e47af8..152deaaa4 100644 --- a/inc/geshi/css.php +++ b/inc/geshi/css.php @@ -4,10 +4,10 @@ * ------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/06/18 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * CSS language file for GeSHi. * diff --git a/inc/geshi/d.php b/inc/geshi/d.php index bad539efb..8c489d600 100644 --- a/inc/geshi/d.php +++ b/inc/geshi/d.php @@ -4,10 +4,10 @@ * ----- * Author: Thomas Kuehne (thomas@kuehne.cn) * Copyright: (c) 2005 Thomas Kuehne (http://thomas.kuehne.cn/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2005/04/22 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * D language file for GeSHi. * diff --git a/inc/geshi/delphi.php b/inc/geshi/delphi.php index 5a31e328d..66da2fce4 100644 --- a/inc/geshi/delphi.php +++ b/inc/geshi/delphi.php @@ -4,17 +4,19 @@ * ---------- * Author: Járja Norbert (jnorbi@vipmail.hu) * Copyright: (c) 2004 Járja Norbert, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/07/26 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * Delphi (Object Pascal) language file for GeSHi. * * CHANGES * ------- + * 2005/09/03 (1.0.2) + * - Added support for hex numbers and string entities * 2004/11/27 (1.0.1) - * - Added support for multiple object splitters + * - Added support for multiple object splitters * 2004/10/27 (1.0.0) * - First Release * @@ -130,6 +132,8 @@ $language_data = array ( 1 => 'color: #006600;' ), 'REGEXPS' => array( + 0 => 'color: #9ac;', + 1 => 'color: #ff0000;' ), 'SYMBOLS' => array( 0 => 'color: #66cc66;' @@ -148,6 +152,8 @@ $language_data = array ( 1 => '.' ), 'REGEXPS' => array( + 0 => '\$[0-9a-fA-F]+', + 1 => '\#\$?[0-9]{1,3}' ), 'STRICT_MODE_APPLIES' => GESHI_NEVER, 'SCRIPT_DELIMITERS' => array( diff --git a/inc/geshi/diff.php b/inc/geshi/diff.php index eacd4d5e0..1ac1a84cc 100644 --- a/inc/geshi/diff.php +++ b/inc/geshi/diff.php @@ -4,10 +4,10 @@ * -------- * Author: Conny Brunnkvist (conny@fuchsia.se) * Copyright: (c) 2004 Fuchsia Open Source Solutions (http://www.fuchsia.se/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/12/29 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * Diff-output language file for GeSHi. * diff --git a/inc/geshi/div.php b/inc/geshi/div.php index 4c8426e02..6202eccf7 100644 --- a/inc/geshi/div.php +++ b/inc/geshi/div.php @@ -4,10 +4,10 @@ * --------------------------------- * Author: Gabriel Lorenzo (ermakina@gmail.com) * Copyright: (c) 2005 Gabriel Lorenzo (http://ermakina.gazpachito.net) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2005/06/19 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * DIV language file for GeSHi. * diff --git a/inc/geshi/dos.php b/inc/geshi/dos.php new file mode 100644 index 000000000..ec9d413ff --- /dev/null +++ b/inc/geshi/dos.php @@ -0,0 +1,179 @@ + 'DOS', + 'COMMENT_SINGLE' => array(1 =>'REM', 2 => '@REM'), + 'COMMENT_MULTI' => array(), + 'CASE_KEYWORDS' => GESHI_CAP_NO_CHANGE, + 'QUOTEMARKS' => array(), + 'ESCAPE_CHAR' => '', + 'KEYWORDS' => array( + /* Flow control keywords */ + 1 => array( + 'IF', 'ELSE', 'GOTO', + 'FOR', 'IN', 'DO', + 'CALL', 'EXIT' + ), + /* IF statement keywords */ + 2 => array( + 'NOT', 'EXIST', 'ERRORLEVEL', + 'DEFINED', + 'EQU', 'NEQ', 'LSS', 'LEQ', 'GTR', 'GEQ' + ), + /* Internal commands */ + 3 => array( + 'SHIFT', + 'CD', 'DIR', 'ECHO', + 'SETLOCAL', 'ENDLOCAL', 'SET', + 'PAUSE' + ), + /* Special files */ + + 4 => array( + 'PRN', 'NUL', 'LPT3', 'LPT2', 'LPT1', 'CON', + 'COM4', 'COM3', 'COM2', 'COM1', 'AUX' + ) + ), + 'SYMBOLS' => array( + '(', ')' + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => false, + 1 => false + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #00b100; font-weight: bold;', + 2 => 'color: #000000; font-weight: bold;', + 3 => 'color: #b1b100; font-weight: bold;', + 4 => 'color: #0000ff; font-weight: bold;' + ), + 'COMMENTS' => array( + 1 => 'color: #808080; font-style: italic;', + 2 => 'color: #808080; font-style: italic;' + ), + 'ESCAPE_CHAR' => array( + ), + 'BRACKETS' => array( + 0 => 'color: #66cc66;' + ), + 'STRINGS' => array( + 0 => 'color: #ff0000;' + ), + 'NUMBERS' => array( +/* 0 => 'color: #cc66cc;' */ + ), + 'METHODS' => array( + ), + 'SYMBOLS' => array( + 0 => 'color: #33cc33;', + 1 => 'color: #33cc33;' + ), + 'SCRIPT' => array( + ), + 'REGEXPS' => array( + 0 => 'color: #b100b1; font-weight: bold;', + 1 => 'color: #448844;', + 2 => 'color: #448888;' + ) + ), + 'OOLANG' => false, + 'OBJECT_SPLITTERS' => array( + ), + 'REGEXPS' => array( + /* Label */ + 0 => array( +/* GESHI_SEARCH => '((?si:[@\s]+GOTO\s+|\s+:)[\s]*)((? '((?si:[@\s]+GOTO\s+|\s+:)[\s]*)((? '\\2', + GESHI_MODIFIERS => 'si', + GESHI_BEFORE => '\\1', + GESHI_AFTER => '' + ), + /* Variable assignement */ + 1 => array( +/* GESHI_SEARCH => '(SET[\s]+(?si:/A[\s]+|/P[\s]+|))([^=\s\n]+)([\s]*=)',*/ + GESHI_SEARCH => '(SET[\s]+(?si:/A[\s]+|/P[\s]+|))([^=\n]+)([\s]*=)', + GESHI_REPLACE => '\\2', + GESHI_MODIFIERS => 'si', + GESHI_BEFORE => '\\1', + GESHI_AFTER => '\\3' + ), + /* Arguments or variable evaluation */ + 2 => array( +/* GESHI_SEARCH => '(%)([\d*]|[^%\s]*(?=%))((? '(%)([\d*]|[^%]*(?=%))((? '\\2', + GESHI_MODIFIERS => 'si', + GESHI_BEFORE => '\\1', + GESHI_AFTER => '\\3' + ) + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array( + ), + 'HIGHLIGHT_STRICT_BLOCK' => array( + ) +); + +?> diff --git a/inc/geshi/eiffel.php b/inc/geshi/eiffel.php index d28aadcee..671004d57 100644 --- a/inc/geshi/eiffel.php +++ b/inc/geshi/eiffel.php @@ -4,10 +4,10 @@ * ---------- * Author: Zoran Simic (zsimic@axarosenberg.com) * Copyright: (c) 2005 Zoran Simic - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2005/06/30 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * Eiffel language file for GeSHi. * diff --git a/inc/geshi/freebasic.php b/inc/geshi/freebasic.php new file mode 100644 index 000000000..a4f11226d --- /dev/null +++ b/inc/geshi/freebasic.php @@ -0,0 +1,137 @@ + 'FreeBasic', + 'COMMENT_SINGLE' => array(1 => "'", 2 => '#'), + 'COMMENT_MULTI' => array(), + 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, + 'QUOTEMARKS' => array('"'), + 'ESCAPE_CHAR' => '\\', + 'KEYWORDS' => array( + 1 => array( + "append", "as", "asc", "asin", "asm", "atan2", "atn", "beep", "bin", "binary", "bit", + "bitreset", "bitset", "bload", "bsave", "byref", "byte", "byval", "call", + "callocate", "case", "cbyte", "cdbl", "cdecl", "chain", "chdir", "chr", "cint", + "circle", "clear", "clng", "clngint", "close", "cls", "color", "command", + "common", "cons", "const", "continue", "cos", "cshort", "csign", "csng", + "csrlin", "cubyte", "cuint", "culngint", "cunsg", "curdir", "cushort", "custom", + "cvd", "cvi", "cvl", "cvlongint", "cvs", "cvshort", "data", "date", + "deallocate", "declare", "defbyte", "defdbl", "defined", "defint", "deflng", + "deflngint", "defshort", "defsng", "defstr", "defubyte", "defuint", + "defulngint", "defushort", "dim", "dir", "do", "double", "draw", "dylibload", + "dylibsymbol", "else", "elseif", "end", "enum", "environ", 'environ$', "eof", + "eqv", "erase", "err", "error", "exec", "exepath", "exit", "exp", "export", + "extern", "field", "fix", "flip", "for", "fre", "freefile", "function", "get", + "getjoystick", "getkey", "getmouse", "gosub", "goto", "hex", "hibyte", "hiword", + "if", "iif", "imagecreate", "imagedestroy", "imp", "inkey", "inp", "input", + "instr", "int", "integer", "is", "kill", "lbound", "lcase", "left", "len", + "let", "lib", "line", "lobyte", "loc", "local", "locate", "lock", "lof", "log", + "long", "longint", "loop", "loword", "lset", "ltrim", "mid", "mkd", "mkdir", + "mki", "mkl", "mklongint", "mks", "mkshort", "mod", "multikey", "mutexcreate", + "mutexdestroy", "mutexlock", "mutexunlock", "name", "next", "not", "oct", "on", + "once", "open", "option", "or", "out", "output", "overload", "paint", "palette", + "pascal", "pcopy", "peek", "peeki", "peeks", "pipe", "pmap", "point", "pointer", + "poke", "pokei", "pokes", "pos", "preserve", "preset", "print", "private", + "procptr", "pset", "ptr", "public", "put", "random", "randomize", "read", + "reallocate", "redim", "rem", "reset", "restore", "resume", "resume", "next", + "return", "rgb", "rgba", "right", "rmdir", "rnd", "rset", "rtrim", "run", + "sadd", "screen", "screencopy", "screeninfo", "screenlock", "screenptr", + "screenres", "screenset", "screensync", "screenunlock", "seek", "statement", + "seek", "function", "selectcase", "setdate", "setenviron", "setmouse", + "settime", "sgn", "shared", "shell", "shl", "short", "shr", "sin", "single", + "sizeof", "sleep", "space", "spc", "sqr", "static", "stdcall", "step", "stop", + "str", "string", "string", "strptr", "sub", "swap", "system", "tab", "tan", + "then", "threadcreate", "threadwait", "time", "time", "timer", "to", "trans", + "trim", "type", "ubound", "ubyte", "ucase", "uinteger", "ulongint", "union", + "unlock", "unsigned", "until", "ushort", "using", "va_arg", "va_first", + "va_next", "val", "val64", "valint", "varptr", "view", "viewprint", "wait", + "wend", "while", "width", "window", "windowtitle", "with", "write", "xor", + "zstring", "explicit", "escape", "true", "false" + ) + ), + 'SYMBOLS' => array( + '(', ')' + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => false, + 1 => false + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #b1b100;' + ), + 'COMMENTS' => array( + 1 => 'color: #808080;', + 2 => 'color: #339933;' + ), + 'BRACKETS' => array( + 0 => 'color: #66cc66;' + ), + 'STRINGS' => array( + 0 => 'color: #ff0000;' + ), + 'NUMBERS' => array( + 0 => 'color: #cc66cc;' + ), + 'METHODS' => array( + 0 => 'color: #66cc66;' + ), + 'SYMBOLS' => array( + 0 => 'color: #66cc66;' + ), + 'ESCAPE_CHAR' => array( + 0 => 'color: #000099;' + ), + 'SCRIPT' => array( + ), + 'REGEXPS' => array( + ) + ), + 'OOLANG' => true, + 'OBJECT_SPLITTERS' => array( + 1 => '.' + ), + 'REGEXPS' => array( + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array( + ), + 'HIGHLIGHT_STRICT_BLOCK' => array( + ) +); + +?> \ No newline at end of file diff --git a/inc/geshi/gml.php b/inc/geshi/gml.php index 86e93def1..c0390102c 100644 --- a/inc/geshi/gml.php +++ b/inc/geshi/gml.php @@ -4,10 +4,10 @@ * -------- * Author: José Jorge Enríquez Rodríguez (aka Geo) (josejorge@gmail.com) * Copyright: (c) 2004 José Jorge Enríquez Rodríguez (http://www.zonamakers.com) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2005/06/21 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * GML language file for GeSHi. * diff --git a/inc/geshi/html4strict.php b/inc/geshi/html4strict.php index 8807f4082..eb48f67ab 100644 --- a/inc/geshi/html4strict.php +++ b/inc/geshi/html4strict.php @@ -4,10 +4,10 @@ * --------------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * HTML 4.01 strict language file for GeSHi. * diff --git a/inc/geshi/ini.php b/inc/geshi/ini.php new file mode 100644 index 000000000..a735a82d8 --- /dev/null +++ b/inc/geshi/ini.php @@ -0,0 +1,123 @@ + 'ini', + 'COMMENT_SINGLE' => array(0 => ';'), + 'COMMENT_MULTI' => array(), + 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, + 'QUOTEMARKS' => array(), + 'ESCAPE_CHAR' => '', + 'KEYWORDS' => array( + ), + 'SYMBOLS' => array( + '[', ']', '=' + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => false + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 0 => '' + ), + 'COMMENTS' => array( + 0 => 'color: #666666; font-style: italic;' + ), + 'ESCAPE_CHAR' => array( + 0 => '' + ), + 'BRACKETS' => array( + 0 => '' + ), + 'STRINGS' => array( + 0 => '' + ), + 'NUMBERS' => array( + 0 => '' + ), + 'METHODS' => array( + 0 => '' + ), + 'SYMBOLS' => array( + 0 => 'color: #000066; font-weight:bold;' + ), + 'REGEXPS' => array( + 0 => 'color: #000066; font-weight:bold;', + 1 => 'color: #000099;', + 2 => 'color: #660066;' + ), + 'SCRIPT' => array( + 0 => '' + ) + ), + 'URLS' => array( + ), + 'OOLANG' => false, + 'OBJECT_SPLITTERS' => array( + ), + 'REGEXPS' => array( + 0 => '\[.+\]', + 1 => array( + GESHI_SEARCH => '([a-zA-Z0-9_]+\s*)=(.+)', + GESHI_REPLACE => '\\1', + GESHI_MODIFIERS => '', + GESHI_BEFORE => '', + GESHI_AFTER => '=\\2' + ), + 2 => array( + // Evil hackery to get around GeSHi bug: <>" and ; are added so s can be matched + // Explicit match on variable names because if a comment is before the first < of the span + // gets chewed up... + GESHI_SEARCH => '([<>";a-zA-Z0-9_]+\s*)=(.+)', + GESHI_REPLACE => '\\2', + GESHI_MODIFIERS => '', + GESHI_BEFORE => '\\1=', + GESHI_AFTER => '' + ) + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array( + ), + 'HIGHLIGHT_STRICT_BLOCK' => array( + ) +); + +?> \ No newline at end of file diff --git a/inc/geshi/inno.php b/inc/geshi/inno.php new file mode 100644 index 000000000..f237a59a9 --- /dev/null +++ b/inc/geshi/inno.php @@ -0,0 +1,215 @@ + 'Inno', + 'COMMENT_SINGLE' => array(1 => '//'), + 'COMMENT_MULTI' => array('(*' => '*)'), + 'CASE_KEYWORDS' => 0, + 'QUOTEMARKS' => array("'", '"'), + 'ESCAPE_CHAR' => '', + 'KEYWORDS' => array( + 1 => array('Setup','Types','Components','Tasks','Dirs','Files','Icons','INI','InstallDelete','Languages','Messages', + 'CustomMessage','LangOptions','Registry','RUN','UninstallDelete','UninstallRun' + ,'app','win','sys','syswow64','src','sd','pf','pf32','pf64','cf','cf32','cf64','tmp','fonts','dao', + 'group','localappdata','sendto','userappdata','commonappdata','userdesktop','commondesktop','userdocs', + 'commondocs','userfavorites','commonfavorites','userprograms','commonprograms','userstartmenu', + 'commonstartmenu','userstartup','commonstartup','usertemplates','commontemplates' + ), + 2 => array( + 'nil', 'false', 'true', 'var', 'type', 'const','And', 'Array', 'As', 'Begin', 'Case', 'Class', 'Constructor', 'Destructor', 'Div', 'Do', 'DownTo', 'Else', + 'End', 'Except', 'File', 'Finally', 'For', 'Function', 'Goto', 'If', 'Implementation', 'In', 'Inherited', 'Interface', + 'Is', 'Mod', 'Not', 'Object', 'Of', 'On', 'Or', 'Packed', 'Procedure', 'Property', 'Raise', 'Record', + 'Repeat', 'Set', 'Shl', 'Shr', 'Then', 'ThreadVar', 'To', 'Try', 'Unit', 'Until', 'Uses', 'While', 'With', 'Xor', + + 'HKCC','HKCR','HKCU','HKLM','HKU','alwaysoverwrite','alwaysskipifsameorolder','append', + 'binary','classic','closeonexit','comparetimestamp','confirmoverwrite', + 'createkeyifdoesntexist','createonlyiffileexists','createvalueifdoesntexist', + 'deleteafterinstall','deletekey','deletevalue','dirifempty','dontcloseonexit', + 'dontcopy','dontcreatekey','disablenouninstallwarning','dword','exclusive','expandsz', + 'external','files','filesandordirs','fixed','fontisnttruetype','ignoreversion','iscustom','isreadme', + 'modern','multisz','new','noerror','none','normal','nowait','onlyifdestfileexists', + 'onlyifdoesntexist','onlyifnewer','overwrite','overwritereadonly','postinstall', + 'preservestringtype','promptifolder','regserver','regtypelib','restart','restartreplace', + 'runhidden','runmaximized','runminimized','sharedfile','shellexec','showcheckbox', + 'skipifnotsilent','skipifsilent','silent','skipifdoesntexist', + 'skipifsourcedoesntexist','sortfilesbyextension','unchecked','uninsalwaysuninstall', + 'uninsclearvalue','uninsdeleteentry','uninsdeletekey','uninsdeletekeyifempty', + 'uninsdeletesection','uninsdeletesectionifempty','uninsdeletevalue', + 'uninsneveruninstall','useapppaths','verysilent','waituntilidle' + + + ), + 3 => array( + 'Abs', 'Addr', 'AnsiCompareStr', 'AnsiCompareText', 'AnsiContainsStr', 'AnsiEndsStr', 'AnsiIndexStr', 'AnsiLeftStr', + 'AnsiLowerCase', 'AnsiMatchStr', 'AnsiMidStr', 'AnsiPos', 'AnsiReplaceStr', 'AnsiReverseString', 'AnsiRightStr', + 'AnsiStartsStr', 'AnsiUpperCase', 'ArcCos', 'ArcSin', 'ArcTan', 'Assigned', 'BeginThread', 'Bounds', 'CelsiusToFahrenheit', + 'ChangeFileExt', 'Chr', 'CompareStr', 'CompareText', 'Concat', 'Convert', 'Copy', 'Cos', 'CreateDir', 'CurrToStr', + 'CurrToStrF', 'Date', 'DateTimeToFileDate', 'DateTimeToStr', 'DateToStr', 'DayOfTheMonth', 'DayOfTheWeek', 'DayOfTheYear', + 'DayOfWeek', 'DaysBetween', 'DaysInAMonth', 'DaysInAYear', 'DaySpan', 'DegToRad', 'DeleteFile', 'DiskFree', 'DiskSize', + 'DupeString', 'EncodeDate', 'EncodeDateTime', 'EncodeTime', 'EndOfADay', 'EndOfAMonth', 'Eof', 'Eoln', 'Exp', 'ExtractFileDir', + 'ExtractFileDrive', 'ExtractFileExt', 'ExtractFileName', 'ExtractFilePath', 'FahrenheitToCelsius', 'FileAge', + 'FileDateToDateTime', 'FileExists', 'FilePos', 'FileSearch', 'FileSetDate', 'FileSize', 'FindClose', 'FindCmdLineSwitch', + 'FindFirst', 'FindNext', 'FloatToStr', 'FloatToStrF', 'Format', 'FormatCurr', 'FormatDateTime', 'FormatFloat', 'Frac', + 'GetCurrentDir', 'GetLastError', 'GetMem', 'High', 'IncDay', 'IncMinute', 'IncMonth', 'IncYear', 'InputBox', + 'InputQuery', 'Int', 'IntToHex', 'IntToStr', 'IOResult', 'IsInfinite', 'IsLeapYear', 'IsMultiThread', 'IsNaN', + 'LastDelimiter', 'Length', 'Ln', 'Lo', 'Log10', 'Low', 'LowerCase', 'Max', 'Mean', 'MessageDlg', 'MessageDlgPos', + 'MonthOfTheYear', 'Now', 'Odd', 'Ord', 'ParamCount', 'ParamStr', 'Pi', 'Point', 'PointsEqual', 'Pos', 'Pred', + 'Printer', 'PromptForFileName', 'PtInRect', 'RadToDeg', 'Random', 'RandomRange', 'RecodeDate', 'RecodeTime', 'Rect', + 'RemoveDir', 'RenameFile', 'Round', 'SeekEof', 'SeekEoln', 'SelectDirectory', 'SetCurrentDir', 'Sin', 'SizeOf', + 'Slice', 'Sqr', 'Sqrt', 'StringOfChar', 'StringReplace', 'StringToWideChar', 'StrToCurr', 'StrToDate', 'StrToDateTime', + 'StrToFloat', 'StrToInt', 'StrToInt64', 'StrToInt64Def', 'StrToIntDef', 'StrToTime', 'StuffString', 'Succ', 'Sum', 'Tan', + 'Time', 'TimeToStr', 'Tomorrow', 'Trunc', 'UpCase', 'UpperCase', 'VarType', 'WideCharToString', 'WrapText', 'Yesterday', + 'Append', 'AppendStr', 'Assign', 'AssignFile', 'AssignPrn', 'Beep', 'BlockRead', 'BlockWrite', 'Break', + 'ChDir', 'Close', 'CloseFile', 'Continue', 'DateTimeToString', 'Dec', 'DecodeDate', 'DecodeDateTime', + 'DecodeTime', 'Delete', 'Dispose', 'EndThread', 'Erase', 'Exclude', 'Exit', 'FillChar', 'Flush', 'FreeAndNil', + 'FreeMem', 'GetDir', 'GetLocaleFormatSettings', 'Halt', 'Inc', 'Include', 'Insert', 'MkDir', 'Move', 'New', + 'ProcessPath', 'Randomize', 'Read', 'ReadLn', 'ReallocMem', 'Rename', 'ReplaceDate', 'ReplaceTime', + 'Reset', 'ReWrite', 'RmDir', 'RunError', 'Seek', 'SetLength', 'SetString', 'ShowMessage', 'ShowMessageFmt', + 'ShowMessagePos', 'Str', 'Truncate', 'Val', 'Write', 'WriteLn', + + 'AdminPrivilegesRequired','AfterInstall','AllowCancelDuringInstall','AllowNoIcons','AllowRootDirectory','AllowUNCPath','AlwaysRestart','AlwaysShowComponentsList','AlwaysShowDirOnReadyPage','AlwaysShowGroupOnReadyPage ','AlwaysUsePersonalGroup','AppComments','AppContact','AppCopyright','AppendDefaultDirName', + 'AppendDefaultGroupName','AppId','AppModifyPath','AppMutex','AppName','AppPublisher', + 'AppPublisherURL','AppReadmeFile','AppSupportURL','AppUpdatesURL','AppVerName','AppVersion', + 'Attribs','BackColor','BackColor2','BackColorDirection','BackSolid','BeforeInstall', + 'ChangesAssociations','ChangesEnvironment','Check','CodeFile','Comment','Components','Compression','CopyMode', + 'CreateAppDir','CreateUninstallRegKey','DefaultDirName','DefaultGroupName', + 'DefaultUserInfoName','DefaultUserInfoOrg','DefaultUserInfoSerial', + 'Description','DestDir','DestName','DirExistsWarning', + 'DisableDirPage','DisableFinishedPage', + 'DisableProgramGroupPage','DisableReadyMemo','DisableReadyPage', + 'DisableStartupPrompt','DiskClusterSize','DiskSliceSize','DiskSpaceMBLabel', + 'DiskSpanning','DontMergeDuplicateFiles','EnableDirDoesntExistWarning','Encryption', + 'Excludes','ExtraDiskSpaceRequired','Filename','Flags','FlatComponentsList','FontInstall', + 'GroupDescription','HotKey','IconFilename','IconIndex','InfoAfterFile','InfoBeforeFile', + 'InternalCompressLevel','Key','LanguageDetectionMethod','Languages', + 'LicenseFile','MergeDuplicateFiles','MessagesFile','MinVersion','Name', + 'OnlyBelowVersion','OutputBaseFilename','OutputManifestFile','OutputDir', + 'Parameters','Password','Permissions','PrivilegesRequired','ReserveBytes', + 'RestartIfNeededByRun','Root','RunOnceId','Section','SetupIconFile', + 'ShowComponentSizes','ShowLanguageDialog','ShowTasksTreeLines','SlicesPerDisk', + 'SolidCompression','Source','SourceDir','StatusMsg','Subkey','Tasks', + 'TimeStampRounding','TimeStampsInUTC','TouchDate','TouchTime','Type','Types', + 'UninstallDisplayIcon','UninstallDisplayName','UninstallFilesDir','UninstallIconFile', + 'UninstallLogMode','UninstallRestartComputer','UninstallStyle','Uninstallable', + 'UpdateUninstallLogAppName','UsePreviousAppDir','UsePreviousGroup', + 'UsePreviousTasks','UsePreviousSetupType','UsePreviousUserInfo', + 'UserInfoPage','UseSetupLdr','ValueData','ValueName','ValueType', + 'VersionInfoVersion','VersionInfoCompany','VersionInfoDescription','VersionInfoTextVersion', + 'WindowResizable','WindowShowCaption','WindowStartMaximized', + 'WindowVisible','WizardImageBackColor','WizardImageFile','WizardImageStretch','WizardSmallImageBackColor','WizardSmallImageFile','WizardStyle','WorkingDir' + + + ), + 4 => array( + 'AnsiChar', 'AnsiString', 'Boolean', 'Byte', 'Cardinal', 'Char', 'Comp', 'Currency', 'Double', 'Extended', + 'Int64', 'Integer', 'LongInt', 'LongWord', 'PAnsiChar', 'PAnsiString', 'PChar', 'PCurrency', 'PDateTime', + 'PExtended', 'PInt64', 'Pointer', 'PShortString', 'PString', 'PVariant', 'PWideChar', 'PWideString', + 'Real', 'Real48', 'ShortInt', 'ShortString', 'Single', 'SmallInt', 'String', 'TBits', 'TConvType', 'TDateTime', + 'Text', 'TextFile', 'TFloatFormat', 'TFormatSettings', 'TList', 'TObject', 'TOpenDialog', 'TPoint', + 'TPrintDialog', 'TRect', 'TReplaceFlags', 'TSaveDialog', 'TSearchRec', 'TStringList', 'TSysCharSet', + 'TThreadFunc', 'Variant', 'WideChar', 'WideString', 'Word' + ), + ), + 'SYMBOLS' => array( + '(', ')', '[', ']', '{', '}', '@', '%', '&', '*', '|', '/', '<', '>' + ), + + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => true, + 1 => false, + 2 => false, + 3 => false, + 4 => false, + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #000000; font-weight: bold;',/*bold Black*/ + 2 => 'color: #000000;font-style: italic;',/*Black*/ + 3 => 'color: #0000FF;',/*blue*/ + 4 => 'color: #CC0000;'/*red*/ + ), + 'COMMENTS' => array( + 1 => 'color: #33FF00; font-style: italic;', + 'MULTI' => 'color: #33FF00; font-style: italic;' + ), + 'ESCAPE_CHAR' => array( + ), + 'BRACKETS' => array( + 0 => 'color: #66cc66;' + ), + 'STRINGS' => array( + 0 => 'color: #ff0000;' + ), + 'NUMBERS' => array( + 0 => 'color: #cc66cc;' + ), + 'METHODS' => array( + 1 => 'color: #006600;' + ), + 'REGEXPS' => array( + ), + 'SYMBOLS' => array( + 0 => 'color: #000000; font-weight: bold;', + ), + 'SCRIPT' => array( + ) + ), + 'URLS' => array( + 1 => '', + 2 => '', + 3 => '', + 4 => '' + ), + 'OOLANG' => true, + 'OBJECT_SPLITTERS' => array( + 1 => '.' + ), + 'REGEXPS' => array( + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array( + ), + 'HIGHLIGHT_STRICT_BLOCK' => array( + ) +); + +?> diff --git a/inc/geshi/java.php b/inc/geshi/java.php index 27d50e592..1727ec2ef 100644 --- a/inc/geshi/java.php +++ b/inc/geshi/java.php @@ -4,17 +4,17 @@ * -------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * Java language file for GeSHi. * * CHANGES * ------- * 2004/11/27 (1.0.3) - * - Added support for multiple object splitters + * - Added support for multiple object splitters * 2004/08/05 (1.0.2) * - Added URL support * - Added keyword "this", as bugs in GeSHi class ironed out diff --git a/inc/geshi/javascript.php b/inc/geshi/javascript.php index 5c7753cdb..3672272a2 100644 --- a/inc/geshi/javascript.php +++ b/inc/geshi/javascript.php @@ -4,10 +4,10 @@ * -------------- * Author: Ben Keen (ben.keen@gmail.com) * Copyright: (c) 2004 Ben Keen (ben.keen@gmail.com), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * JavaScript language file for GeSHi. * diff --git a/inc/geshi/lisp.php b/inc/geshi/lisp.php index 04cd027ab..57b24c95d 100644 --- a/inc/geshi/lisp.php +++ b/inc/geshi/lisp.php @@ -4,10 +4,10 @@ * -------- * Author: Roberto Rossi (rsoftware@altervista.org) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * Generic Lisp language file for GeSHi. * diff --git a/inc/geshi/lua.php b/inc/geshi/lua.php index 1c4d08746..e446d1b77 100644 --- a/inc/geshi/lua.php +++ b/inc/geshi/lua.php @@ -1,132 +1,125 @@ - 'LUA', - 'COMMENT_SINGLE' => array(1 => "--"), - 'COMMENT_MULTI' => array('--[[' => ']]'), - 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, - 'QUOTEMARKS' => array('"'), - 'ESCAPE_CHAR' => '\\', - 'KEYWORDS' => array( - 1 => array( - 'and','break','do','else','elseif','end','false','for','function','if', - 'in','local','nil','not','or','repeat','return','then','true','until','while', - '_VERSION','assert','collectgarbage','dofile','error','gcinfo','loadfile','loadstring', - 'print','tonumber','tostring','type','unpack', - '_ALERT','_ERRORMESSAGE','_INPUT','_PROMPT','_OUTPUT', - '_STDERR','_STDIN','_STDOUT','call','dostring','foreach','foreachi','getn','globals','newtype', - 'rawget','rawset','require','sort','tinsert','tremove', - 'abs','acos','asin','atan','atan2','ceil','cos','deg','exp', - 'floor','format','frexp','gsub','ldexp','log','log10','max','min','mod','rad','random','randomseed', - 'sin','sqrt','strbyte','strchar','strfind','strlen','strlower','strrep','strsub','strupper','tan', - 'openfile','closefile','readfrom','writeto','appendto', - 'remove','rename','flush','seek','tmpfile','tmpname','read','write', - 'clock','date','difftime','execute','exit','getenv','setlocale','time', - '_G','getfenv','getmetatable','ipairs','loadlib','next','pairs','pcall', - 'rawegal','rawget','rawset','require','setfenv','setmetatable','xpcall', - 'string','table','math','coroutine','io','os','debug', - 'string.byte','string.char','string.dump','string.find','string.len', - 'string.lower','string.rep','string.sub','string.upper','string.format','string.gfind','string.gsub', - 'table.concat','table.foreach','table.foreachi','table.getn','table.sort','table.insert','table.remove','table.setn', - 'math.abs','math.acos','math.asin','math.atan','math.atan2','math.ceil','math.cos','math.deg','math.exp', - 'math.floor','math.frexp','math.ldexp','math.log','math.log10','math.max','math.min','math.mod', - 'math.pi','math.rad','math.random','math.randomseed','math.sin','math.sqrt','math.tan', - 'coroutine.create','coroutine.resume','coroutine.status', - 'coroutine.wrap','coroutine.yield', - 'io.close','io.flush','io.input','io.lines','io.open','io.output','io.read','io.tmpfile','io.type','io.write', - 'io.stdin','io.stdout','io.stderr', - 'os.clock','os.date','os.difftime','os.execute','os.exit','os.getenv','os.remove','os.rename', - 'os.setlocale','os.time','os.tmpname' - ) - ), - 'SYMBOLS' => array( - '(', ')', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>', '=', ';' - ), - 'CASE_SENSITIVE' => array( - GESHI_COMMENTS => true, - 1 => true - ), - 'STYLES' => array( - 'KEYWORDS' => array( - 1 => 'color: #b1b100;' - ), - 'COMMENTS' => array( - 1 => 'color: #808080; font-style: italic;', - 'MULTI' => 'color: #808080; font-style: italic;' - ), - 'ESCAPE_CHAR' => array( - 0 => 'color: #000099; font-weight: bold;' - ), - 'BRACKETS' => array( - 0 => 'color: #66cc66;' - ), - 'STRINGS' => array( - 0 => 'color: #ff0000;' - ), - 'NUMBERS' => array( - 0 => 'color: #cc66cc;' - ), - 'METHODS' => array( - ), - 'SYMBOLS' => array( - 0 => 'color: #66cc66;' - ), - 'REGEXPS' => array( - ), - 'SCRIPT' => array( - ) - ), - 'OOLANG' => false, - 'OBJECT_SPLITTERS' => array( - ), - 'REGEXPS' => array( - ), - 'STRICT_MODE_APPLIES' => GESHI_NEVER, - 'SCRIPT_DELIMITERS' => array( - ), - 'HIGHLIGHT_STRICT_BLOCK' => array( - ) -); - -?> \ No newline at end of file + 'LUA', + 'COMMENT_SINGLE' => array(1 => "--"), + 'COMMENT_MULTI' => array('--[[' => ']]'), + 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, + 'QUOTEMARKS' => array('"'), + 'ESCAPE_CHAR' => '\\', + 'KEYWORDS' => array( + 1 => array( + 'and','break','do','else','elseif','end','false','for','function','if', + 'in','local','nil','not','or','repeat','return','then','true','until','while', + '_VERSION','assert','collectgarbage','dofile','error','gcinfo','loadfile','loadstring', + 'print','tonumber','tostring','type','unpack', + '_ALERT','_ERRORMESSAGE','_INPUT','_PROMPT','_OUTPUT', + '_STDERR','_STDIN','_STDOUT','call','dostring','foreach','foreachi','getn','globals','newtype', + 'rawget','rawset','require','sort','tinsert','tremove', + 'abs','acos','asin','atan','atan2','ceil','cos','deg','exp', + 'floor','format','frexp','gsub','ldexp','log','log10','max','min','mod','rad','random','randomseed', + 'sin','sqrt','strbyte','strchar','strfind','strlen','strlower','strrep','strsub','strupper','tan', + 'openfile','closefile','readfrom','writeto','appendto', + 'remove','rename','flush','seek','tmpfile','tmpname','read','write', + 'clock','date','difftime','execute','exit','getenv','setlocale','time', + '_G','getfenv','getmetatable','ipairs','loadlib','next','pairs','pcall', + 'rawegal','rawget','rawset','require','setfenv','setmetatable','xpcall', + 'string','table','math','coroutine','io','os','debug' + ) + ), + 'SYMBOLS' => array( + '(', ')', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>', '=', ';' + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => true, + 1 => true + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #b1b100;' + ), + 'COMMENTS' => array( + 1 => 'color: #808080; font-style: italic;', + 'MULTI' => 'color: #808080; font-style: italic;' + ), + 'ESCAPE_CHAR' => array( + 0 => 'color: #000099; font-weight: bold;' + ), + 'BRACKETS' => array( + 0 => 'color: #66cc66;' + ), + 'STRINGS' => array( + 0 => 'color: #ff0000;' + ), + 'NUMBERS' => array( + 0 => 'color: #cc66cc;' + ), + 'METHODS' => array( + 0 => 'color: #b1b100;' + ), + 'SYMBOLS' => array( + 0 => 'color: #66cc66;' + ), + 'REGEXPS' => array( + ), + 'SCRIPT' => array( + ) + ), + 'OOLANG' => true, + 'OBJECT_SPLITTERS' => array('.' + ), + 'REGEXPS' => array( + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array( + ), + 'HIGHLIGHT_STRICT_BLOCK' => array( + ) +); + +?> + diff --git a/inc/geshi/matlab.php b/inc/geshi/matlab.php index 5e07c5782..c98ad06fd 100644 --- a/inc/geshi/matlab.php +++ b/inc/geshi/matlab.php @@ -4,10 +4,10 @@ * ----------- * Author: Florian Knorn (floz@gmx.de) * Copyright: (c) 2004 Florian Knorn (http://www.florian-knorn.com) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2005/02/09 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * Matlab M-file language file for GeSHi. * diff --git a/inc/geshi/mpasm.php b/inc/geshi/mpasm.php index 4dc0341a7..d19238fd3 100644 --- a/inc/geshi/mpasm.php +++ b/inc/geshi/mpasm.php @@ -4,10 +4,10 @@ * --------- * Author: Bakalex (bakalex@gmail.com) * Copyright: (c) 2004 Bakalex, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/12/6 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * Microchip Assembler language file for GeSHi. * diff --git a/inc/geshi/nsis.php b/inc/geshi/nsis.php index f5de478b2..d9b075763 100644 --- a/inc/geshi/nsis.php +++ b/inc/geshi/nsis.php @@ -1,164 +1,332 @@ - 'nsis', - 'COMMENT_SINGLE' => array(1 => ';'), - 'COMMENT_MULTI' => array(), - 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, - 'QUOTEMARKS' => array("'",'"'), - 'ESCAPE_CHAR' => '', - 'KEYWORDS' => array( - 1 => array( - 'What','Abort','AddSize','AllowRootDirInstall','AutoCloseWindow', - 'BGGradient','BrandingText','BringToFront','CRCCheck','Call','CallInstDLL','Caption','ClearErrors', - 'CompletedText','ComponentText','CopyFiles','CreateDirectory','CreateShortCut','Delete', - 'DeleteINISec','DeleteINIStr','DeleteRegKey','DeleteRegValue','DetailPrint','DetailsButtonText', - 'DirShow','DirText','DisabledBitmap','EnabledBitmap','EnumRegKey','EnumRegValue','Exch','Exec', - 'ExecShell','ExecWait','ExpandEnvStrings','File','FileClose','FileErrorText','FileOpen','FileRead', - 'FileReadByte','FileSeek','FileWrite','FileWriteByte','FindClose','FindFirst','FindNext','FindWindow', - 'Function','FunctionEnd','GetCurrentAddress','GetDLLVersionLocal','GetDllVersion','GetFileTime', - 'GetFileTimeLocal','GetFullPathName','GetFunctionAddress','GetLabelAddress','GetTempFileName', - 'Goto','HideWindow','Icon','IfErrors','IfFileExists','IfRebootFlag','InstProgressFlags','InstType', - 'InstallButtonText','InstallColors','InstallDir','InstallDirRegKey','IntCmp','IntCmpU','IntFmt','IntOp', - 'IsWindow','LicenseData','LicenseText','MessageBox','MiscButtonText','Name','OutFile','Pop','Push', - 'Quit','RMDir','ReadEnvStr','ReadINIStr','ReadRegDword','ReadRegStr','Reboot','RegDLL','Rename', - 'Return','SearchPath','Section','SectionDivider','SectionEnd','SectionIn','SendMessage','SetAutoClose', - 'SetCompress','SetCompressor','SetDatablockOptimize','SetDateSave','SetDetailsPrint','SetDetailsView','SetErrors', - 'SetFileAttributes','SetOutPath','SetOverwrite','SetRebootFlag','ShowInstDetails','ShowUninstDetails', - 'SilentInstall','SilentUnInstall','Sleep','SpaceTexts','StrCmp','StrCpy','StrLen','SubCaption','UnRegDLL', - 'UninstallButtonText','UninstallCaption','UninstallEXEName','UninstallIcon','UninstallSubCaption', - 'UninstallText','WindowIcon','WriteINIStr','WriteRegBin','WriteRegDword','WriteRegDWORD','WriteRegExpandStr', - 'WriteRegStr','WriteUninstaller','SectionGetFlags','SectionSetFlags','SectionSetText','SectionGetText', - 'LogText','LogSet','CreateFont','SetShellVarContext','SetStaticBkColor','SetBrandingImage','PluginDir', - 'SubSectionEnd','SubSection','CheckBitmap','ChangeUI','SetFont','AddBrandingImage','XPStyle','Var', - 'LangString','!define','!undef','!ifdef','!ifndef','!endif','!else','!macro','!echo','!warning','!error','!verbose', - '!macroend','!insertmacro','!system','!include','!cd','!packhdr','!addplugindir' - ), - 2 => array( - '$0','$1','$2','$3','$4','$5','$6','$7','$8','$9', - '$R0','$R1','$R2','$R3','$R4','$R5','$R6','$R7','$R8','$R9','$CMDLINE','$DESKTOP', - '$EXEDIR','$HWNDPARENT','$INSTDIR','$OUTDIR','$PROGRAMFILES','${NSISDIR}', - '$QUICKLAUNCH','$SMPROGRAMS','$SMSTARTUP','$STARTMENU','$SYSDIR','$TEMP','$WINDIR' - ), - 3 => array( - 'ARCHIVE','FILE_ATTRIBUTE_ARCHIVE','FILE_ATTRIBUTE_HIDDEN', - 'FILE_ATTRIBUTE_NORMAL','FILE_ATTRIBUTE_OFFLINE','FILE_ATTRIBUTE_READONLY', - 'FILE_ATTRIBUTE_SYSTEM','FILE_ATTRIBUTE_TEMPORARY','HIDDEN','HKCC','HKCR','HKCU', - 'HKDD','HKEY_CLASSES_ROOT','HKEY_CURRENT_CONFIG','HKEY_CURRENT_USER','HKEY_DYN_DATA', - 'HKEY_LOCAL_MACHINE','HKEY_PERFORMANCE_DATA','HKEY_USERS','HKLM','HKPD','HKU','IDABORT', - 'IDCANCEL','IDIGNORE','IDNO','IDOK','IDRETRY','IDYES','MB_ABORTRETRYIGNORE','MB_DEFBUTTON1', - 'MB_DEFBUTTON2','MB_DEFBUTTON3','MB_DEFBUTTON4','MB_ICONEXCLAMATION', - 'MB_ICONINFORMATION','MB_ICONQUESTION','MB_ICONSTOP','MB_OK','MB_OKCANCEL', - 'MB_RETRYCANCEL','MB_RIGHT','MB_SETFOREGROUND','MB_TOPMOST','MB_YESNO','MB_YESNOCANCEL', - 'NORMAL','OFFLINE','READONLY','SW_SHOWMAXIMIZED','SW_SHOWMINIMIZED','SW_SHOWNORMAL', - 'SYSTEM','TEMPORARY','auto','colored','false','force','hide','ifnewer','nevershow','normal', - 'off','on','show','silent','silentlog','smooth','true','try' - ), - 4 => array( - 'MyFunction','MySomethingElse' - ) - ), - 'SYMBOLS' => array( - ), - 'CASE_SENSITIVE' => array( - GESHI_COMMENTS => true, - 1 => false, - 2 => false, - 3 => false, - 4 => false, - ), - 'STYLES' => array( - 'KEYWORDS' => array( - 1 => 'color: #00007f;', - 2 => 'color: #0000ff;', - 3 => 'color: #46aa03; font-weight:bold;', - 4 => 'color: #0000ff;', - ), - 'COMMENTS' => array( - 1 => 'color: #adadad; font-style: italic;', - ), - 'ESCAPE_CHAR' => array( - 0 => 'color: #000099; font-weight: bold;' - ), - 'BRACKETS' => array( - 0 => 'color: #66cc66;' - ), - 'STRINGS' => array( - 0 => 'color: #7f007f;' - ), - 'NUMBERS' => array( - 0 => 'color: #ff0000;' - ), - 'METHODS' => array( - ), - 'SYMBOLS' => array( - 0 => 'color: #66cc66;' - ), - 'REGEXPS' => array( - ), - 'SCRIPT' => array( - ) - ), - 'URLS' => array( - 1 => '', - 2 => '', - 3 => '', - 4 => '' - ), - 'OOLANG' => false, - 'OBJECT_SPLITTERS' => array( - ), - 'REGEXPS' => array( - ), - 'STRICT_MODE_APPLIES' => GESHI_NEVER, - 'SCRIPT_DELIMITERS' => array( - ), - 'HIGHLIGHT_STRICT_BLOCK' => array( - ) -); - -?> + 'nsis', + 'COMMENT_SINGLE' => array(1 => ';', 2 => '#'), + 'COMMENT_MULTI' => array('/*' => '*/'), + 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, + 'QUOTEMARKS' => array("'",'"','`'), + 'ESCAPE_CHAR' => '', + 'KEYWORDS' => array( + 1 => array( + '!addIncludeDir', '!addplugindir', '!cd', '!define', '!echo', '!else', '!endif', '!error', '!execute', '!ifdef', + '!ifmacrodef', '!ifmacrondef', '!ifndef', '!include', '!insertmacro', '!macro', '!macroend', '!packhdr', + '!system', '!undef', '!verbose', '!warning' + ), + 2 => array( + 'AddBrandingImage', 'AllowRootDirInstall', 'AutoCloseWindow', 'BGFont', + 'BGGradient', 'BrandingText', 'Caption', 'ChangeUI', 'CheckBitmap', 'CompletedText', 'ComponentText', + 'CRCCheck', 'DetailsButtonText', 'DirShow', 'DirText', 'DirVar', 'DirVerify', 'FileErrorText', + 'Function', 'FunctionEnd', 'Icon', 'InstallButtonText', 'InstallColors', 'InstallDir', + 'InstallDirRegKey', 'InstProgressFlags', 'InstType', 'LangString', 'LangStringUP', 'LicenseBkColor', + 'LicenseData', 'LicenseForceSelection', 'LicenseLangString', 'LicenseText', 'LoadLanguageFile', + 'MiscButtonText', 'Name', 'OutFile', 'Page', 'PageEx', 'PageExEnd', 'Section', + 'SectionEnd', 'SectionGroup', 'SectionGroupEnd', 'SetCompressor', 'SetFont', 'ShowInstDetails', + 'ShowUninstDetails', 'SilentInstall', 'SilentUnInstall', 'SpaceTexts', 'SubCaption', 'SubSection', + 'SubSectionEnd', 'UninstallButtonText', 'UninstallCaption', 'UninstallIcon', 'UninstallSubCaption', + 'UninstallText', 'UninstPage', 'Var', 'VIAddVersionKey', 'VIProductVersion', 'WindowIcon', 'XPStyle' + ), + 3 => array( + 'AddSize', 'AllowSkipFiles', 'AutoCloseWindow', 'FileBufSize', 'GetInstDirError', 'PageCallbacks', + 'SectionIn', 'SetCompress', 'SetCompressionLevel', 'SetCompressorDictSize', + 'SetDatablockOptimize', 'SetDateSave', 'SetOverwrite', 'SetPluginUnload' + ), + 4 => array( + 'Abort', 'BringToFront', 'Call', 'CallInstDLL', 'ClearErrors', 'CopyFiles','CreateDirectory', + 'CreateFont', 'CreateShortCut', 'Delete', 'DeleteINISec', 'DeleteINIStr', 'DeleteRegKey', + 'DeleteRegValue', 'DetailPrint', 'EnableWindow', 'EnumRegKey', 'EnumRegValue', 'Exch', 'Exec', + 'ExecShell', 'ExecWait', 'ExpandEnvStrings', 'File', 'FileClose', 'FileOpen', 'FileRead', + 'FileReadByte', 'FileSeek', 'FileWrite', 'FileWriteByte', 'FindClose', 'FindFirst', 'FindNext', + 'FindWindow', 'FlushINI', 'GetCurInstType', 'GetCurrentAddress', 'GetDlgItem', 'GetDLLVersion', + 'GetDLLVersionLocal', 'GetErrorLevel', 'GetFileTime', 'GetFileTimeLocal', 'GetFullPathName', + 'GetFunctionAddress', 'GetLabelAddress', 'GetTempFileName', 'GetWindowText', 'Goto', 'HideWindow', + 'IfAbort', 'IfErrors', 'IfFileExists', 'IfRebootFlag', 'IfSilent', 'InitPluginsDir', 'InstTypeGetText', + 'InstTypeSetText', 'IntCmp', 'IntCmpU', 'IntFmt', 'IntOp', 'IsWindow', 'LockWindow', 'LogSet', 'LogText', + 'MessageBox', 'Nop', 'Pop', 'Push', 'Quit', 'ReadEnvStr', 'ReadIniStr', 'ReadRegDWORD', 'ReadRegStr', + 'Reboot', 'RegDLL', 'Rename', 'ReserveFile', 'Return', 'RMDir', 'SearchPath', 'SectionGetFlags', + 'SectionGetInstTypes', 'SectionGetSize', 'SectionGetText', 'SectionSetFlags', 'SectionSetInstTypes', + 'SectionSetSize', 'SectionSetText', 'SendMessage', 'SetAutoClose', 'SetBrandingImage', 'SetCtlColors', + 'SetCurInstType', 'SetDetailsPrint', 'SetDetailsView', 'SetErrorLevel', 'SetErrors', 'SetFileAttributes', + 'SetOutPath', 'SetRebootFlag', 'SetShellVarContext', 'SetSilent', 'ShowWindow', 'Sleep', 'StrCmp', + 'StrCpy', 'StrLen', 'UnRegDLL', 'WriteINIStr', 'WriteRegBin', 'WriteRegDWORD', 'WriteRegExpandStr', + 'WriteRegStr', 'WriteUninstaller' + ), + 5 => array( + 'all', 'alwaysoff', 'ARCHIVE', 'auto', 'both', 'bzip2', 'checkbox', 'components', 'current', + 'custom', 'directory', 'false', 'FILE_ATTRIBUTE_ARCHIVE', 'FILE_ATTRIBUTE_HIDDEN', 'FILE_ATTRIBUTE_NORMAL', + 'FILE_ATTRIBUTE_OFFLINE', 'FILE_ATTRIBUTE_READONLY', 'FILE_ATTRIBUTE_SYSTEM,TEMPORARY', + 'FILE_ATTRIBUTE_TEMPORARY', 'force', 'HIDDEN', 'hide', 'HKCC', 'HKCR', 'HKCU', 'HKDD', 'HKEY_CLASSES_ROOT', + 'HKEY_CURRENT_CONFIG', 'HKEY_CURRENT_USER', 'HKEY_DYN_DATA', 'HKEY_LOCAL_MACHINE', 'HKEY_PERFORMANCE_DATA', + 'HKEY_USERS', 'HKLM', 'HKPD', 'HKU', 'IDABORT', 'IDCANCEL', 'IDIGNORE', 'IDNO', 'IDOK', 'IDRETRY', 'IDYES', + 'ifdiff', 'ifnewer', 'instfiles', 'lastused', 'leave', 'license', 'listonly', 'lzma', 'manual', + 'MB_ABORTRETRYIGNORE', 'MB_DEFBUTTON1', 'MB_DEFBUTTON2', 'MB_DEFBUTTON3', 'MB_DEFBUTTON4', + 'MB_ICONEXCLAMATION', 'MB_ICONINFORMATION', 'MB_ICONQUESTION', 'MB_ICONSTOP', 'MB_OK', 'MB_OKCANCEL', + 'MB_RETRYCANCEL', 'MB_RIGHT', 'MB_SETFOREGROUND', 'MB_TOPMOST', 'MB_YESNO', 'MB_YESNOCANCEL', 'nevershow', + 'none', 'normal', 'off', 'OFFLINE', 'on', 'radiobuttons', 'READONLY', 'RO', 'show', 'silent', 'silentlog', + 'SW_HIDE', 'SW_SHOWMAXIMIZED', 'SW_SHOWMINIMIZED', 'SW_SHOWNORMAL', 'SYSTEM', 'textonly', 'true', 'try', + 'uninstConfirm', 'zlib' + ), + 6 => array( + '/a', '/components', '/COMPONENTSONLYONCUSTOM', '/CUSTOMSTRING', '/e', '/FILESONLY', '/gray', '/ifempty', '/IMGID', + '/ITALIC', '/lang', '/NOCUSTOM', '/nonfatal', '/NOUNLOAD', '/oname', '/r', '/REBOOTOK', '/RESIZETOFIT', '/SOLID', + '/SD', '/SHORT', '/silent', '/SOLID', '/STRIKE', '/TIMEOUT', '/TRIMCENTER', '/TRIMLEFT', '/TRIMRIGHT', '/UNDERLINE', + '/windows', '/x' + ), + 7 => array( + '.onGUIEnd', '.onGUIInit', '.onInit', '.onInstFailed', '.onInstSuccess', '.onMouseOverSection', + '.onRebootFailed', '.onSelChange', '.onUserAbort', '.onVerifyInstDir', 'un.onGUIEnd', 'un.onGUIInit', + 'un.onInit', 'un.onRebootFailed', 'un.onUninstFailed', 'un.onUninstSuccess', 'un.onUserAbort' + ), + 8 => array( + 'MUI.nsh', '"${NSISDIR}\Contrib\Modern UI\System.nsh"', 'MUI_SYSVERSION', 'MUI_ICON', 'MUI_UNICON', + 'MUI_HEADERIMAGE', 'MUI_HEADERIMAGE_BITMAP', 'MUI_HEADERIMAGE_BITMAP_NOSTRETCH', 'MUI_HEADERIMAGE_BITMAP_RTL', + 'MUI_HEADERIMAGE_BITMAP_RTL_NOSTRETCH', 'MUI_HEADERIMAGE_UNBITMAP', 'MUI_HEADERIMAGE_UNBITMAP_NOSTRETCH', + 'MUI_HEADERIMAGE_UNBITMAP_RTL', 'MUI_HEADERIMAGE_UNBITMAP_RTL_NOSTRETCH', 'MUI_HEADERIMAGE_RIGHT', 'MUI_BGCOLOR', + 'MUI_UI', 'MUI_UI_HEADERIMAGE', 'MUI_UI_HEADERIMAGE_RIGHT', 'MUI_UI_COMPONENTSPAGE_SMALLDESC', + 'MUI_UI_COMPONENTSPAGE_NODESC', 'MUI_WELCOMEFINISHPAGE_BITMAP', 'MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH', + 'MUI_WELCOMEFINISHPAGE_INI', 'MUI_UNWELCOMEFINISHPAGE_BITMAP', 'MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRETCH', + 'MUI_UNWELCOMEFINISHPAGE_INI', 'MUI_LICENSEPAGE_BGCOLOR', 'MUI_COMPONENTSPAGE_CHECKBITMAP', + 'MUI_COMPONENTSPAGE_SMALLDESC', 'MUI_COMPONENTSPAGE_NODESC', 'MUI_INSTFILESPAGE_COLORS', + 'MUI_INSTFILESPAGE_PROGRESSBAR', 'MUI_FINISHPAGE_NOAUTOCLOSE', 'MUI_UNFINISHPAGE_NOAUTOCLOSE', + 'MUI_ABORTWARNING', 'MUI_ABORTWARNING_TEXT', 'MUI_UNABORTWARNING', 'MUI_UNABORTWARNING_TEXT', + 'MUI_PAGE_WELCOME', 'MUI_PAGE_LICENSE', 'MUI_PAGE_COMPONENTS', 'MUI_PAGE_DIRECTORY', + 'MUI_PAGE_STARTMENU', 'MUI_PAGE_INSTFILES', 'MUI_PAGE_FINISH', 'MUI_UNPAGE_WELCOME', + 'MUI_UNPAGE_CONFIRM', 'MUI_UNPAGE_LICENSE', 'MUI_UNPAGE_COMPONENTS', 'MUI_UNPAGE_DIRECTORY', + 'MUI_UNPAGE_INSTFILES', 'MUI_UNPAGE_FINISH', 'MUI_PAGE_HEADER_TEXT', 'MUI_PAGE_HEADER_SUBTEXT', + 'MUI_WELCOMEPAGE_TITLE', 'MUI_WELCOMEPAGE_TITLE_3LINES', 'MUI_WELCOMEPAGE_TEXT', + 'MUI_LICENSEPAGE_TEXT_TOP', 'MUI_LICENSEPAGE_TEXT_BOTTOM', 'MUI_LICENSEPAGE_BUTTON', + 'MUI_LICENSEPAGE_CHECKBOX', 'MUI_LICENSEPAGE_CHECKBOX_TEXT', 'MUI_LICENSEPAGE_RADIOBUTTONS', + 'MUI_LICENSEPAGE_RADIOBUTTONS_TEXT_ACCEPT', 'MUI_LICENSEPAGE_RADIOBUTTONS_TEXT_DECLINE', + 'MUI_COMPONENTSPAGE_TEXT_TOP', 'MUI_COMPONENTSPAGE_TEXT_COMPLIST', 'MUI_COMPONENTSPAGE_TEXT_INSTTYPE', + 'MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_TITLE', 'MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_INFO', + 'MUI_DIRECTORYPAGE_TEXT_TOP', 'MUI_DIRECTORYPAGE_TEXT_DESTINATION', 'MUI_DIRECTORYPAGE_VARIABLE', + 'MUI_DIRECTORYPAGE_VERIFYONLEAVE', 'MUI_STARTMENU_WRITE_BEGIN', 'MUI_STARTMENU_WRITE_END', + 'MUI_STARTMENUPAGE_TEXT_TOP', 'MUI_STARTMENUPAGE_TEXT_CHECKBOX', 'MUI_STARTMENUPAGE_DEFAULTFOLDER', + 'MUI_STARTMENUPAGE_NODISABLE', 'MUI_STARTMENUPAGE_REGISTRY_ROOT', 'MUI_STARTMENUPAGE_REGISTRY_KEY', + 'MUI_STARTMENUPAGE_REGISTRY_VALUENAME', 'MUI_INSTFILESPAGE_FINISHHEADER_TEXT', + 'MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT', 'MUI_INSTFILESPAGE_ABORTHEADER_TEXT', + 'MUI_INSTFILESPAGE_ABORTHEADER_SUBTEXT', 'MUI_FINISHPAGE_TITLE', 'MUI_FINISHPAGE_TITLE_3LINES', + 'MUI_FINISHPAGE_TEXT', 'MUI_FINISHPAGE_TEXT_LARGE', 'MUI_FINISHPAGE_BUTTON', + 'MUI_FINISHPAGE_TEXT_REBOOT', 'MUI_FINISHPAGE_TEXT_REBOOTNOW', 'MUI_FINISHPAGE_TEXT_REBOOTLATER', + 'MUI_FINISHPAGE_RUN', 'MUI_FINISHPAGE_RUN_TEXT', 'MUI_FINISHPAGE_RUN_PARAMETERS', + 'MUI_FINISHPAGE_RUN_NOTCHECKED', 'MUI_FINISHPAGE_RUN_FUNCTION', 'MUI_FINISHPAGE_SHOWREADME', + 'MUI_FINISHPAGE_SHOWREADME_TEXT', 'MUI_FINISHPAGE_SHOWREADME_NOTCHECKED', + 'MUI_FINISHPAGE_SHOWREADME_FUNCTION', 'MUI_FINISHPAGE_LINK', 'MUI_FINISHPAGE_LINK_LOCATION', + 'MUI_FINISHPAGE_LINK_COLOR', 'MUI_FINISHPAGE_NOREBOOTSUPPORT', 'MUI_UNCONFIRMPAGE_TEXT_TOP', + 'MUI_UNCONFIRMPAGE_TEXT_LOCATION', 'MUI_LANGUAGE', 'MUI_LANGDLL_DISPLAY', + 'MUI_LANGDLL_REGISTRY_ROOT', 'MUI_LANGDLL_REGISTRY_KEY', 'MUI_LANGDLL_REGISTRY_VALUENAME', + 'MUI_LANGDLL_WINDOWTITLE', 'MUI_LANGDLL_INFO', 'MUI_LANGDLL_ALWAYSSHOW', + 'MUI_RESERVEFILE_INSTALLOPTIONS', 'MUI_RESERVEFILE_LANGDLL', 'MUI_FUNCTION_DESCRIPTION_BEGIN', + 'MUI_DESCRIPTION_TEXT', 'MUI_FUNCTION_DESCRIPTION_END', 'MUI_INSTALLOPTIONS_EXTRACT', + 'MUI_INSTALLOPTIONS_EXTRACT_AS', 'MUI_HEADER_TEXT', 'MUI_INSTALLOPTIONS_DISPLAY', + 'MUI_INSTALLOPTIONS_INITDIALOG', 'MUI_INSTALLOPTIONS_SHOW', + 'MUI_INSTALLOPTIONS_DISPLAY_RETURN', 'MUI_INSTALLOPTIONS_SHOW_RETURN', + 'MUI_INSTALLOPTIONS_READ', 'MUI_INSTALLOPTIONS_WRITE', + 'MUI_CUSTOMFUNCTION_GUIINIT', 'MUI_CUSTOMFUNCTION_GUIINIT', + 'MUI_CUSTOMFUNCTION_UNGUIINIT', 'MUI_CUSTOMFUNCTION_ABORT', 'MUI_CUSTOMFUNCTION_UNABORT', + 'MUI_PAGE_CUSTOMFUNCTION_PRE', 'MUI_PAGE_CUSTOMFUNCTION_SHOW', 'MUI_PAGE_CUSTOMFUNCTION_LEAVE', + 'MUI_WELCOMEFINISHPAGE_CUSTOMFUNCTION_INIT' + ), + 9 => array( + 'LogicLib.nsh', '${LOGICLIB}', 'LOGICLIB_STRCMP', 'LOGICLIB_INT64CMP', 'LOGICLIB_SECTIONCMP', '${If}', '${Unless}', + '${ElseIf}', '${ElseUnless}', '${Else}', '${EndIf}', '${EndUnless}', '${AndIf}', '${AndUnless}', + '${OrIf}', '${OrUnless}', '${IfThen}', '${IfCmd}', '${Select}', '${Case2}', '${Case3}', + '${Case4}', '${Case5}', '${CaseElse}', '${Default}', '${EndSelect}', '${Switch}', + '${Case}', '${EndSwitch}', '${Do}', '${DoWhile}', '${UntilWhile}', '${Continue}', '${Break}', + '${Loop}', '${LoopWhile}', '${LoopUntil}', '${While}', '${ExitWhile}', '${EndWhile}', '${For}', + '${ForEach}', '${ExitFor}', '${Next}', '${Abort}', '${Errors}', '${RebootFlag}', '${Silent}', + '${FileExists}', '${Cmd}', '${SectionIsSelected}', '${SectionIsSectionGroup}', + '${SectionIsSectionGroupEnd}', '${SectionIsBold}', '${SectionIsReadOnly}', + '${SectionIsExpanded}', '${SectionIsPartiallySelected}' + ), + 10 => array( + 'StrFunc.nsh', '${STRFUNC}', '${StrCase}', '${StrClb}', '${StrIOToNSIS}', '${StrLoc}', '${StrNSISToIO}', '${StrRep}', + '${StrSort}', '${StrStr}', '${StrStrAdv}', '${StrTok}', '${StrTrimNewLines}' + ), + 11 => array( + 'UpgradeDLL.nsh', 'UPGRADEDLL_INCLUDED', 'UpgradeDLL' + ), + 12 => array( + 'Sections.nsh', 'SECTIONS_INCLUDED', '${SF_SELECTED}', '${SF_SECGRP}', '${SF_SUBSEC}', '${SF_SECGRPEND}', + '${SF_SUBSECEND}', '${SF_BOLD}', '${SF_RO}', '${SF_EXPAND}', '${SF_PSELECTED}', '${SF_TOGGLED}', + '${SF_NAMECHG}', '${SECTION_OFF}', 'SelectSection', 'UnselectSection', 'ReverseSection', + 'StartRadioButtons', 'RadioButton', 'EndRadioButtons', '${INSTTYPE_1}', '${INSTTYPE_1}', '${INSTTYPE_2}', + '${INSTTYPE_3}', '${INSTTYPE_4}', '${INSTTYPE_5}', '${INSTTYPE_6}', '${INSTTYPE_7}', '${INSTTYPE_8}', + '${INSTTYPE_9}', '${INSTTYPE_10}', '${INSTTYPE_11}', '${INSTTYPE_12}', '${INSTTYPE_13}', '${INSTTYPE_14}', + '${INSTTYPE_15}', '${INSTTYPE_16}', '${INSTTYPE_17}', '${INSTTYPE_18}', '${INSTTYPE_19}', '${INSTTYPE_20}', + '${INSTTYPE_21}', '${INSTTYPE_22}', '${INSTTYPE_23}', '${INSTTYPE_24}', '${INSTTYPE_25}', '${INSTTYPE_26}', + '${INSTTYPE_27}', '${INSTTYPE_28}', '${INSTTYPE_29}', '${INSTTYPE_30}', '${INSTTYPE_31}', '${INSTTYPE_32}', + 'SetSectionInInstType', 'ClearSectionInInstType', 'SetSectionFlag', 'ClearSectionFlag', 'SectionFlagIsSet' + ), + 13 => array( + 'Colors.nsh', 'WHITE', 'BLACK', 'YELLOW', 'RED', 'GREEN', 'BLUE', 'MAGENTA', 'CYAN', 'rgb2hex' + ) + ), + 'SYMBOLS' => array( + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => true, + 1 => false, + 2 => false, + 3 => false, + 4 => false, + 5 => false, + 6 => false, + 7 => false, + 8 => false, + 9 => false, + 10 => false, + 11 => false, + 12 => false, + 13 => false + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #000066; font-weight:bold;', + 2 => 'color: #000066;', + 3 => 'color: #003366;', + 4 => 'color: #000099;', + 5 => 'color: #ff6600;', + 6 => 'color: #ff6600;', + 7 => 'color: #006600;', + 8 => 'color: #006600;', + 9 => 'color: #006600;', + 10 => 'color: #006600;', + 11 => 'color: #006600;', + 12 => 'color: #006600;', + 13 => 'color: #006600;' + ), + 'COMMENTS' => array( + 1 => 'color: #666666; font-style: italic;', + 2 => 'color: #666666; font-style: italic;', + 'MULTI' => 'color: #666666; font-style: italic;' + ), + 'ESCAPE_CHAR' => array( + 0 => 'color: #660066; font-weight: bold;' + ), + 'BRACKETS' => array( + 0 => '' + ), + 'STRINGS' => array( + 0 => 'color: #660066;' + ), + 'NUMBERS' => array( + 0 => '' + ), + 'METHODS' => array( + 0 => '' + ), + 'SYMBOLS' => array( + 0 => '' + ), + 'REGEXPS' => array( + 0 => 'color: #660000;', + 1 => 'color: #660000;', + 2 => 'color: #660000;', + 3 => 'color: #660000;', + 4 => 'color: #660000;', + 5 => 'color: #660000;', + 6 => 'color: #660000;', + 7 => 'color: #000099;', + 8 => 'color: #003399;' + ), + 'SCRIPT' => array( + 0 => '' + ) + ), + 'URLS' => array( + 0 => '', + 1 => '', + 2 => '', + 3 => '', + 4 => '', + 5 => '', + 6 => '', + 7 => '', + 8 => '', + 9 => '', + 10 => '', + 11 => '', + 12 => '', + ), + 'OOLANG' => false, + 'OBJECT_SPLITTERS' => array( + ), + 'REGEXPS' => array( + 0 => '\$\$', + 1 => '\$\\r', + 2 => '\$\\n', + 3 => '\$\\t', + 4 => '\$[a-zA-Z0-9_]+', + 5 => '\$\{.{1,256}\}', + 6 => '\$\\\(.{1,256}\\\)', + 7 => array( + GESHI_SEARCH => '([a-zA-Z0-9_]*?)(::)([a-zA-Z0-9_]*?)', + GESHI_REPLACE => '\\1', + GESHI_MODIFIERS => '', + GESHI_BEFORE => '', + GESHI_AFTER => '\\2\\3' + ), + 8 => array( + GESHI_SEARCH => '([a-zA-Z0-9_]*?)(::)([a-zA-Z0-9_]*?\s)', + GESHI_REPLACE => '\\3', + GESHI_MODIFIERS => '', + GESHI_BEFORE => '\\1\\2', + GESHI_AFTER => '' + ) + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array( + ), + 'HIGHLIGHT_STRICT_BLOCK' => array( + ) +); + +?> diff --git a/inc/geshi/objc.php b/inc/geshi/objc.php index 0cbd2cf4d..a2b050297 100644 --- a/inc/geshi/objc.php +++ b/inc/geshi/objc.php @@ -4,10 +4,10 @@ * -------- * Author: M. Uli Kusterer (witness.of.teachtext@gmx.net) * Copyright: (c) 2004 M. Uli Kusterer, Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * Objective C language file for GeSHi. * diff --git a/inc/geshi/oobas.php b/inc/geshi/oobas.php index 9a96b9791..2d0370438 100644 --- a/inc/geshi/oobas.php +++ b/inc/geshi/oobas.php @@ -4,10 +4,10 @@ * --------- * Author: Roberto Rossi (rsoftware@altervista.org) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * OpenOffice.org Basic language file for GeSHi. * diff --git a/inc/geshi/oracle8.php b/inc/geshi/oracle8.php index 456a06eb0..97b705679 100644 --- a/inc/geshi/oracle8.php +++ b/inc/geshi/oracle8.php @@ -4,10 +4,10 @@ * ----------- * Author: Guy Wicks (Guy.Wicks@rbs.co.uk) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * Oracle 8 language file for GeSHi * diff --git a/inc/geshi/pascal.php b/inc/geshi/pascal.php index d168fa078..8205c2785 100644 --- a/inc/geshi/pascal.php +++ b/inc/geshi/pascal.php @@ -4,10 +4,10 @@ * ---------- * Author: Tux (tux@inamil.cz) * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/07/26 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * Pascal language file for GeSHi. * diff --git a/inc/geshi/perl.php b/inc/geshi/perl.php index 9b996853b..b889a71e2 100644 --- a/inc/geshi/perl.php +++ b/inc/geshi/perl.php @@ -4,10 +4,10 @@ * -------- * Author: Andreas Gohr (andi@splitbrain.org), Ben Keen (ben.keen@gmail.com) * Copyright: (c) 2004 Andreas Gohr, Ben Keen (http://www.benjaminkeen.org/), Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/08/20 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * Perl language file for GeSHi. * diff --git a/inc/geshi/php-brief.php b/inc/geshi/php-brief.php index 78cb59384..41016824e 100644 --- a/inc/geshi/php-brief.php +++ b/inc/geshi/php-brief.php @@ -4,10 +4,10 @@ * ------------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/06/02 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * PHP language file for GeSHi (brief version). * diff --git a/inc/geshi/php.php b/inc/geshi/php.php index 5ada4fc79..0876b0e26 100644 --- a/inc/geshi/php.php +++ b/inc/geshi/php.php @@ -4,10 +4,10 @@ * -------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * PHP language file for GeSHi. * diff --git a/inc/geshi/python.php b/inc/geshi/python.php index 8738c2211..4dc2c0039 100644 --- a/inc/geshi/python.php +++ b/inc/geshi/python.php @@ -4,10 +4,10 @@ * ---------- * Author: Roberto Rossi (rsoftware@altervista.org) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * Python language file for GeSHi. * diff --git a/inc/geshi/qbasic.php b/inc/geshi/qbasic.php index 4af1276e6..2fb06eb57 100644 --- a/inc/geshi/qbasic.php +++ b/inc/geshi/qbasic.php @@ -4,10 +4,10 @@ * ---------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * QBasic/QuickBASIC language file for GeSHi. * @@ -51,7 +51,7 @@ ************************************************************************************/ $language_data = array ( 'LANG_NAME' => 'QBasic/QuickBASIC', - 'COMMENT_SINGLE' => array(1 => "'", 2 => 'REM'), + 'COMMENT_SINGLE' => array(1 => "'", 2 => ' REM', 3 => "\tREM"), 'COMMENT_MULTI' => array(), 'CASE_KEYWORDS' => GESHI_CAPS_UPPER, 'QUOTEMARKS' => array('"'), @@ -103,7 +103,8 @@ $language_data = array ( ), 'COMMENTS' => array( 1 => 'color: #808080;', - 2 => 'color: #808080;' + 2 => 'color: #808080;', + 3 => 'color: #808080;' ), 'BRACKETS' => array( 0 => 'color: #66cc66;' diff --git a/inc/geshi/sdlbasic.php b/inc/geshi/sdlbasic.php new file mode 100644 index 000000000..15f51461d --- /dev/null +++ b/inc/geshi/sdlbasic.php @@ -0,0 +1,161 @@ + 'Visual Basic', + 'COMMENT_SINGLE' => array(1 => "'", 2 => "rem", 3 => "!", 4 => "#"), + 'COMMENT_MULTI' => array(), + 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, + 'QUOTEMARKS' => array('"'), + 'ESCAPE_CHAR' => '', + 'KEYWORDS' => array( + 1 => array( + 'const', 'option', 'explicit', 'option', 'qbasic', 'include', 'argc', + 'argv', 'command', 'command$', 'run', 'shell', 'end', 'os', 'declare', + 'sub', 'function', 'return', 'while', 'wend', 'exit', 'while', 'end', + 'while', 'continue', 'if', 'then', 'else', 'elseif', 'end', 'if', + 'select', 'case', 'case', 'else', 'end', 'case', 'for', 'each', 'step', + 'next', 'to', 'continue', 'dim', 'shared', 'common', 'lbound', 'bound', + 'erase', 'asc', 'chr', 'chr$', 'insert', 'insert$', 'instr', 'lcase', + 'lcase$', 'left', 'left$', 'len', 'length', 'ltrim', 'ltrim$', 'mid', + 'mid$', 'replace', 'replace$', 'replacesubstr', 'replacesubstr$', + 'reverse', 'reverse$', 'right', 'right$', 'rinstr', 'rtrim', 'rtrim$', + 'space', 'space$', 'str', 'str$', 'strf', 'strf$', 'string', 'string$', + 'tally', 'trim', 'trim$', 'typeof', 'typeof$', 'ucase', 'ucase$', 'val', + 'abs', 'acos', 'andbit', 'asin', 'atan', 'bitwiseand', 'bitwiseor', + 'bitwisexor', 'cos', 'exp', 'fix', 'floor', 'frac', 'hex', 'hex$', 'int', + 'log', 'min', 'max', 'orbit', 'randomize', 'rnd', 'round', 'sgn', 'sin', + 'sqr', 'tan', 'xorbit', 'open', 'as', 'file', 'input', 'close', 'output', + 'append', 'eof', 'fileexists', 'filecopy', 'filemove', 'filerename', + 'freefile', 'kill', 'loc', 'lof', 'readbyte', 'rename', 'seek', + 'writebyte', 'chdir', 'dir', 'dir$', 'direxists', 'dirfirst', 'dirnext', + 'mkdir', 'rmdir', 'print', 'date', 'date$', 'time', 'time$', 'ticks', + 'data', 'read', 'reservebank', 'freebank', 'copybank', 'loadbank', + 'savebank', 'setbank', 'sizebank', 'poke', 'doke', 'loke', 'peek', 'deek', + 'leek', 'memcopy', 'setdisplay', 'setcaption', 'caption', 'displaywidth', + 'displayheight', 'displaybpp', 'screen', 'directscreen', 'screenopen', + 'screenclose', 'screenclone', 'screencopy', 'screenfade', 'screenfadein', + 'screencrossfade', 'screenalpha', 'screenlock', 'screenunlock', + 'screenrect', 'xscreenrect', 'yscreenrect', 'wscreenrect', 'hscreenrect', + 'flagscreenrect', 'screenwidth', 'screenheight', 'offset', 'xoffset', + 'yoffset', 'cls', 'screenswap', 'autoback', 'setautoback', + 'dualplayfield', 'waitvbl', 'fps', 'rgb', 'enablepalette', 'color', + 'palette', 'colorcycling', 'ink', 'point', 'dot', 'plot', 'line', 'box', + 'bar', 'circle', 'fillcircle', 'ellipse', 'fillellipse', 'paint', + 'loadimage', 'saveimage', 'loadsound', 'savesound', 'loadmusic', + 'hotspot', 'setcolorkey', 'imageexists', 'imagewidth', 'imageheight', + 'deleteimage', 'copyimage', 'setalpha', 'zoomimage', 'rotateimage', + 'rotozoomimage', 'blt', 'pastebob', 'pasteicon', 'grab', 'spriteclip', + 'sprite', 'deletesprite', 'xsprite', 'ysprite', 'spritewidth', + 'spriteheight', 'frsprite', 'livesprite', 'spritehit', 'autoupdatesprite', + 'updatesprite', 'setbob', 'bob', 'deletebob', 'xbob', 'ybob', 'bobwidth', + 'bobheight', 'frbob', 'livebob', 'bobhit', 'autoupdatebob', 'updatebob', + 'text', 'setfont', 'textrender', 'pen', 'paper', 'prints', 'locate', + 'atx', 'aty', 'curson', 'cursoff', 'inputs', 'zoneinputs', + 'isenabledsound', 'soundexists', 'deletesound', 'copysound', + 'musicexists', 'playsound', 'volumesound', 'stopsound', 'pausesound', + 'resumesound', 'vumetersound', 'positionsound', 'soundchannels', + 'playmusic', 'positionmusic', 'stopmusic', 'fademusic', 'pausemusic', + 'resumemusic', 'rewindmusic', 'volumemusic', 'speedmusic', 'numdrivescd', + 'namecd', 'getfreecd', 'opencd', 'indrivecd', 'trackscd', 'curtrackcd', + 'curframecd', 'playcd', 'playtrackscd', 'playtrackscd', 'playtrackscd', + 'pausecd', 'resumecd', 'stopcd', 'ejectcd', 'closecd', 'tracktypecd', + 'tracklengthcd', 'trackoffsetcd', 'key', 'inkey', 'waitkey', 'xmouse', + 'ymouse', 'xmousescreen', 'ymousescreen', 'bmouse', 'changemouse', + 'locatemouse', 'mouseshow', 'mousehide', 'mousezone', 'numjoysticks', + 'namejoystick', 'numaxesjoystick', 'numballsjoystick', 'numhatsjoystick', + 'numbuttonsjoystick', 'getaxisjoystick', 'gethatjoystick', + 'getbuttonjoystick', 'xgetballjoystick', 'ygetballjoystick', 'joy', + 'bjoy', 'wait', 'timer', 'isenabledsock', 'getfreesock', 'opensock', + 'acceptsock', 'isserverready', 'connectsock', 'connectionreadysock', + 'isclientready', 'losesock', 'peeksock', 'readsock', 'readbytesock', + 'readlinesock', 'writesock', 'writebytesock', 'writelinesock', + 'getremoteip', 'getremoteport', 'getlocalip' + ) + ), + 'SYMBOLS' => array( + '(', ')' + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => false, + 1 => false + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #b1b100;' + ), + 'COMMENTS' => array( + 1 => 'color: #808080;', + 2 => 'color: #808080;', + 3 => 'color: #808080;', + 4 => 'color: #808080;' + ), + 'BRACKETS' => array( + 0 => 'color: #66cc66;' + ), + 'STRINGS' => array( + 0 => 'color: #ff0000;' + ), + 'NUMBERS' => array( + 0 => 'color: #cc66cc;' + ), + 'METHODS' => array( + 0 => 'color: #66cc66;' + ), + 'SYMBOLS' => array( + 0 => 'color: #66cc66;' + ), + 'ESCAPE_CHAR' => array( + 0 => 'color: #000099;' + ), + 'SCRIPT' => array( + ), + 'REGEXPS' => array( + ) + ), + 'OOLANG' => true, + 'OBJECT_SPLITTERS' => array( + 1 => '.' + ), + 'REGEXPS' => array( + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array( + ), + 'HIGHLIGHT_STRICT_BLOCK' => array( + ) +); + +?> \ No newline at end of file diff --git a/inc/geshi/smarty.php b/inc/geshi/smarty.php index 083e41293..e39a62d98 100644 --- a/inc/geshi/smarty.php +++ b/inc/geshi/smarty.php @@ -4,10 +4,10 @@ * ---------- * Author: Alan Juden (alan@judenware.org) * Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * Smarty template language file for GeSHi. * diff --git a/inc/geshi/sql.php b/inc/geshi/sql.php index 205ce37c0..5dd5bb5b4 100644 --- a/inc/geshi/sql.php +++ b/inc/geshi/sql.php @@ -4,10 +4,10 @@ * ------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * SQL language file for GeSHi. * diff --git a/inc/geshi/vb.php b/inc/geshi/vb.php index 59bd92223..94d71e2eb 100644 --- a/inc/geshi/vb.php +++ b/inc/geshi/vb.php @@ -4,10 +4,10 @@ * ------ * Author: Roberto Rossi (rsoftware@altervista.org) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * Visual Basic language file for GeSHi. * diff --git a/inc/geshi/vbnet.php b/inc/geshi/vbnet.php index d1adbb635..1cc82200d 100644 --- a/inc/geshi/vbnet.php +++ b/inc/geshi/vbnet.php @@ -4,10 +4,10 @@ * --------- * Author: Alan Juden (alan@judenware.org) * Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * VB.NET language file for GeSHi. * diff --git a/inc/geshi/vhdl.php b/inc/geshi/vhdl.php index 9e1eb4e53..3115def4d 100644 --- a/inc/geshi/vhdl.php +++ b/inc/geshi/vhdl.php @@ -4,10 +4,10 @@ * -------- * Author: Alexander 'E-Razor' Krause (admin@erazor-zone.de) * Copyright: (c) 2005 Alexander Krause - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2005/06/15 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:42 $ * * VHDL (VHSICADL, very high speed integrated circuit HDL) language file for GeSHi. * diff --git a/inc/geshi/visualfoxpro.php b/inc/geshi/visualfoxpro.php index bdf80d8ab..4c1901f48 100644 --- a/inc/geshi/visualfoxpro.php +++ b/inc/geshi/visualfoxpro.php @@ -4,8 +4,8 @@ * ---------------- * Author: Roberto Armellin (r.armellin@tin.it) * Copyright: (c) 2004 Roberto Armellin, Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/09/17 * Last Modified: 2004/09/18 * diff --git a/inc/geshi/xml.php b/inc/geshi/xml.php index b8b3cb661..98cb6fea5 100644 --- a/inc/geshi/xml.php +++ b/inc/geshi/xml.php @@ -4,10 +4,10 @@ * ------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.1 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.2 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/09/01 - * Last Modified: $Date: 2005/07/26 05:23:30 $ + * Last Modified: $Date: 2005/09/03 12:36:41 $ * * XML language file for GeSHi. Based on the idea/file by Christian Weiske * -- cgit v1.2.3