From 79da1d61e8f3a897b8fc7638bbba3a0f594bead7 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 22 Oct 2005 11:20:32 +0200 Subject: GeSHi update to 1.0.7.4 darcs-hash:20051022092032-7ad00-5d8683d48f0c5e3030ba02cf46d6c549b4e3a2e9.gz --- inc/geshi/actionscript-french.php | 6 +- inc/geshi/actionscript.php | 6 +- inc/geshi/ada.php | 6 +- inc/geshi/apache.php | 6 +- inc/geshi/applescript.php | 6 +- inc/geshi/asm.php | 6 +- inc/geshi/asp.php | 6 +- inc/geshi/bash.php | 6 +- inc/geshi/blitzbasic.php | 187 ++++++++++++++++++++++++++++++++++++++ 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 | 8 +- inc/geshi/csharp.php | 6 +- inc/geshi/css.php | 6 +- inc/geshi/d.php | 6 +- inc/geshi/delphi.php | 6 +- inc/geshi/diff.php | 6 +- inc/geshi/div.php | 6 +- inc/geshi/dos.php | 6 +- inc/geshi/eiffel.php | 6 +- inc/geshi/freebasic.php | 2 +- inc/geshi/gml.php | 6 +- inc/geshi/html4strict.php | 6 +- inc/geshi/ini.php | 6 +- inc/geshi/inno.php | 6 +- inc/geshi/java.php | 6 +- inc/geshi/javascript.php | 6 +- inc/geshi/lisp.php | 6 +- inc/geshi/lua.php | 22 ++++- inc/geshi/matlab.php | 6 +- inc/geshi/mpasm.php | 6 +- inc/geshi/mysql.php | 175 +++++++++++++++++++++++++++++++++++ inc/geshi/nsis.php | 6 +- inc/geshi/objc.php | 6 +- inc/geshi/ocaml-brief.php | 6 +- inc/geshi/ocaml.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 | 6 +- inc/geshi/ruby.php | 6 +- inc/geshi/scheme.php | 6 +- inc/geshi/sdlbasic.php | 6 +- inc/geshi/smarty.php | 6 +- inc/geshi/sql.php | 6 +- inc/geshi/vb.php | 6 +- inc/geshi/vbnet.php | 6 +- inc/geshi/vhdl.php | 6 +- inc/geshi/visualfoxpro.php | 4 +- inc/geshi/xml.php | 6 +- 56 files changed, 536 insertions(+), 162 deletions(-) create mode 100644 inc/geshi/blitzbasic.php create mode 100644 inc/geshi/mysql.php (limited to 'inc/geshi') diff --git a/inc/geshi/actionscript-french.php b/inc/geshi/actionscript-french.php index 50bfb5a1f..6f17b3531 100644 --- a/inc/geshi/actionscript-french.php +++ b/inc/geshi/actionscript-french.php @@ -4,10 +4,10 @@ * ---------------- * Author: Steffen Krause (Steffen.krause@muse.de) * Copyright: (c) 2004 Steffen Krause, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.3 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/09/22 01:30:09 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Actionscript language file for GeSHi. * diff --git a/inc/geshi/actionscript.php b/inc/geshi/actionscript.php index d34bb5daf..89dbddf9d 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/09/22 01:30:09 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Actionscript language file for GeSHi. * diff --git a/inc/geshi/ada.php b/inc/geshi/ada.php index 5a2ed40eb..6b3300c47 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.3 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/07/29 - * Last Modified: $Date: 2005/09/22 01:30:09 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Ada language file for GeSHi. * Words are from SciTe configuration file diff --git a/inc/geshi/apache.php b/inc/geshi/apache.php index 2a2cd2a48..93428d6d5 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.3 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/29/07 - * Last Modified: $Date: 2005/09/22 01:30:09 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Apache language file for GeSHi. * Words are from SciTe configuration file diff --git a/inc/geshi/applescript.php b/inc/geshi/applescript.php index 6e3db71f4..1cf07274e 100644 --- a/inc/geshi/applescript.php +++ b/inc/geshi/applescript.php @@ -4,10 +4,10 @@ * -------- * Author: Stephan Klimek (http://www.initware.org) * Copyright: Stephan Klimek (http://www.initware.org) - * Release Version: 1.0.7.3 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2005/07/20 - * Last Modified: $Date: 2005/09/22 01:30:09 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * AppleScript language file for GeSHi. * diff --git a/inc/geshi/asm.php b/inc/geshi/asm.php index d1ac9f507..cad5d06be 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/07/27 - * Last Modified: $Date: 2005/09/22 01:30:09 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * 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 d444043bd..6b2b4cede 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/08/13 - * Last Modified: $Date: 2005/09/22 01:30:09 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * ASP language file for GeSHi. * diff --git a/inc/geshi/bash.php b/inc/geshi/bash.php index c46e4ee99..260d6e589 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/08/20 - * Last Modified: $Date: 2005/09/22 01:30:09 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * BASH language file for GeSHi. * diff --git a/inc/geshi/blitzbasic.php b/inc/geshi/blitzbasic.php new file mode 100644 index 000000000..d8a2ab08f --- /dev/null +++ b/inc/geshi/blitzbasic.php @@ -0,0 +1,187 @@ + 'BLITZ BASIC', + 'COMMENT_SINGLE' => array(1 => ';'), + 'COMMENT_MULTI' => array(), + 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, + 'QUOTEMARKS' => array('"'), + 'ESCAPE_CHAR' => '', + 'KEYWORDS' => array( + 1 => array( + 'If','EndIf','ElseIf','Else If','Else','While','Wend','Return','Next','Include','End Type','End Select','End If','End Function','End','Select', + 'Type','Forever','For','Or','And','AppTitle','Case','Goto','Gosub','Step','Stop','Int','Last','False','Then','To','True','Until','Float', + 'String','Before','Not' + ), + 2 => array( + + // All Functions - 2D BB and 3D BB + 'Xor','WriteString','WriteShort','WritePixelFast','WritePixel','WriteLine','WriteInt','WriteFloat','WriteFile','WriteBytes', + 'WriteByte','Write','WaitTimer','WaitMouse','WaitKey','WaitJoy','VWait','Viewport', + 'Upper','UpdateGamma','UnlockBuffer','UDPTimeouts','UDPStreamPort','UDPStreamIP','UDPMsgPort','UDPMsgIP', + 'Trim','TotalVidMem','TileImage','TileBlock','TFormImage','TFormFilter','Text', + 'TCPTimeouts','TCPStreamPort','TCPStreamIP','Tan','SystemProperty','StringWidth','StringHeight','Str','StopNetGame', + 'StopChannel','StartNetGame','Sqr','SoundVolume','SoundPitch','SoundPan','Sin','Shr', + 'ShowPointer','Shl','Sgn','SetGfxDriver','SetGamma','SetFont','SetEnv','SetBuffer','SendUDPMsg','SendNetMsg', + 'SeekFile','SeedRnd','ScanLine','ScaleImage','SaveImage','SaveBuffer','Sar','RuntimeError','RSet', + 'RotateImage','RndSeed','Rnd','Right','ResumeChannel','Restore','ResizeImage','ResizeBank','Replace', + 'Repeat','RecvUDPMsg','RecvNetMsg','RectsOverlap','Rect','ReadString','ReadShort','ReadPixelFast','ReadPixel','ReadLine', + 'ReadInt','ReadFloat','ReadFile','ReadDir','ReadBytes','ReadByte','ReadAvail','Read','Rand','Print', + 'PokeShort','PokeInt','PokeFloat','PokeByte','Plot','PlaySound','PlayMusic','PlayCDTrack','Pi','PeekShort', + 'PeekInt','PeekFloat','PeekByte','PauseChannel','Oval','Origin','OpenTCPStream','OpenMovie','OpenFile', + 'Null','NextFile','New','NetPlayerName','NetPlayerLocal','NetMsgType','NetMsgTo','NetMsgFrom', + 'NetMsgData','MovieWidth','MoviePlaying','MovieHeight','MoveMouse','MouseZSpeed','MouseZ','MouseYSpeed','MouseY','MouseXSpeed', + 'MouseX','MouseHit','MouseDown','Mod','Millisecs','MidHandle','Mid','MaskImage','LSet','Lower', + 'LoopSound','Log10','Log','LockBuffer','Locate','Local','LoadSound','LoadImage','LoadFont','LoadBuffer', + 'LoadAnimImage','Line','Len','Left','KeyHit','KeyDown','JoyZDir','JoyZ','JoyYDir', + 'JoyYaw','JoyY','JoyXDir','JoyX','JoyVDir','JoyV','JoyUDir','JoyU','JoyType','JoyRoll', + 'JoyPitch','JoyHit','JoyHat','JoyDown','JoinNetGame','Instr','Insert','Input', + 'ImageYHandle','ImageXHandle','ImageWidth','ImagesOverlap','ImagesCollide','ImageRectOverlap','ImageRectCollide','ImageHeight','ImageBuffer','If', + 'HostNetGame','HostIP','HidePointer','Hex','HandleImage','GraphicsWidth','GraphicsHeight','GraphicsDepth','GraphicsBuffer','Graphics', + 'GrabImage','Global','GFXModeWidth','GFXModeHeight','GfxModeExists','GFXModeDepth','GfxDriverName','GetMouse', + 'GetKey','GetJoy','GetEnv','GetColor','GammaRed','GammaGreen','GammaBlue','Function','FrontBuffer','FreeTimer', + 'FreeSound','FreeImage','FreeFont','FreeBank','FontWidth','FontHeight','FlushMouse','FlushKeys', + 'FlushJoy','Floor','Flip','First','FileType','FileSize','FilePos','Field', + 'Exp','Exit','ExecFile','Eof','EndGraphics','Each','DrawMovie','DrawImageRect','DrawImage','DrawBlockRect','DrawBlock', + 'DottedIP','Dim','DeleteNetPlayer','DeleteFile','DeleteDir','Delete','Delay','Default','DebugLog','Data', + 'CurrentTime','CurrentDir','CurrentDate','CreateUDPStream','CreateTimer','CreateTCPServer','CreateNetPlayer','CreateImage','CreateDir','CreateBank', + 'CountHostIPs','CountGFXModes','CountGfxDrivers','Cos','CopyStream','CopyRect','CopyPixelFast','CopyPixel','CopyImage','CopyFile', + 'CopyBank','Const','CommandLine','ColorRed','ColorGreen','ColorBlue','Color','ClsColor','Cls','CloseUDPStream', + 'CloseTCPStream','CloseTCPServer','CloseMovie','CloseFile','CloseDir','Chr','ChannelVolume','ChannelPlaying','ChannelPitch','ChannelPan', + 'ChangeDir','Ceil','CallDLL','Bin','BankSize','BackBuffer','AvailVidMem','AutoMidHandle', + 'ATan2','ATan','ASin','Asc','After','ACos','AcceptTCPStream','Abs', + // 3D Commands + 'Wireframe','Windowed3D','WBuffer','VertexZ','VertexY', + 'VertexX','VertexW','VertexV','VertexU','VertexTexCoords','VertexRed','VertexNZ','VertexNY','VertexNX','VertexNormal', + 'VertexGreen','VertexCoords','VertexColor','VertexBlue','VertexAlpha','VectorYaw','VectorPitch','UpdateWorld','UpdateNormals','TurnEntity', + 'TrisRendered','TriangleVertex','TranslateEntity','TFormVector','TFormPoint','TFormNormal','TFormedZ','TFormedY','TFormedX','TextureWidth', + 'TextureName','TextureHeight','TextureFilter','TextureCoords','TextureBuffer','TextureBlend','TerrainZ','TerrainY','TerrainX','TerrainSize', + 'TerrainShading','TerrainHeight','TerrainDetail','SpriteViewMode','ShowEntity','SetCubeFace','SetAnimTime','SetAnimKey','ScaleTexture','ScaleSprite', + 'ScaleMesh','ScaleEntity','RotateTexture','RotateSprite','RotateMesh','RotateEntity','ResetEntity','RenderWorld','ProjectedZ','ProjectedY', + 'ProjectedX','PositionTexture','PositionMesh','PositionEntity','PointEntity','PickedZ','PickedY','PickedX','PickedTriangle','PickedTime', + 'PickedSurface','PickedNZ','PickedNY','PickedNX','PickedEntity','PaintSurface','PaintMesh','PaintEntity','NameEntity','MoveEntity', + 'ModifyTerrain','MeshWidth','MeshHeight','MeshesIntersect','MeshDepth','MD2AnimTime','MD2AnimLength','MD2Animating','LoadTexture','LoadTerrain', + 'LoadSprite','LoadMesh','LoadMD2','LoaderMatrix','LoadBSP','LoadBrush','LoadAnimTexture','LoadAnimSeq','LoadAnimMesh','Load3DSound', + 'LinePick','LightRange','LightMesh','LightConeAngles','LightColor','HWMultiTex','HideEntity','HandleSprite','Graphics3D','GfxMode3DExists', + 'GfxMode3D','GfxDriverCaps3D','GfxDriver3D','GetSurfaceBrush','GetSurface','GetParent','GetMatElement','GetEntityType','GetEntityBrush','GetChild', + 'GetBrushTexture','FreeTexture','FreeEntity','FreeBrush','FlipMesh','FitMesh','FindSurface','FindChild','ExtractAnimSeq','EntityZ', + 'EntityYaw','EntityY','EntityX','EntityVisible','EntityType','EntityTexture','EntityShininess','EntityRoll','EntityRadius','EntityPitch', + 'EntityPickMode','EntityPick','EntityParent','EntityOrder','EntityName','EntityInView','EntityFX','EntityDistance','EntityColor','EntityCollided', + 'EntityBox','EntityBlend','EntityAutoFade','EntityAlpha','EmitSound','Dither','DeltaYaw','DeltaPitch','CreateTexture','CreateTerrain', + 'CreateSurface','CreateSprite','CreateSphere','CreatePlane','CreatePivot','CreateMirror','CreateMesh','CreateListener','CreateLight','CreateCylinder', + 'CreateCube','CreateCone','CreateCamera','CreateBrush','CountVertices','CountTriangles','CountSurfaces','CountGfxModes3D','CountCollisions','CountChildren', + 'CopyMesh','CopyEntity','CollisionZ','CollisionY','CollisionX','CollisionTriangle','CollisionTime','CollisionSurface','Collisions','CollisionNZ', + 'CollisionNY','CollisionNX','CollisionEntity','ClearWorld','ClearTextureFilters','ClearSurface','ClearCollisions','CaptureWorld','CameraZoom','CameraViewport', + 'CameraRange','CameraProjMode','CameraProject','CameraPick','CameraFogRange','CameraFogMode','CameraFogColor','CameraClsMode','CameraClsColor','BSPLighting', + 'BSPAmbientLight','BrushTexture','BrushShininess','BrushFX','BrushColor','BrushBlend','BrushAlpha','AntiAlias','AnimTime','AnimSeq', + 'AnimLength','Animating','AnimateMD2','Animate','AmbientLight','AlignToVector','AddVertex','AddTriangle','AddMesh','AddAnimSeq', + ) + ), + 'SYMBOLS' => array( + '(',')' + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => false, + 1 => false, + 2 => false, + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #000066; font-weight: bold;', + 2 => 'color: #0000ff;' + ), + 'COMMENTS' => array( + 1 => 'color: #D9D100; font-style: italic;', + ), + 'ESCAPE_CHAR' => array( + 0 => 'color: #000099; font-weight: bold;' + ), + 'BRACKETS' => array( + 0 => 'color: #000066;' + ), + 'STRINGS' => array( + 0 => 'color: #009900;' + ), + 'NUMBERS' => array( + 0 => 'color: #CC0000;' + ), + 'METHODS' => array( + 1 => 'color: #006600;' + ), + 'SYMBOLS' => array( + 0 => 'color: #000066;' + ), + 'REGEXPS' => array( + 0 => 'font-weight: bold;' + ), + 'SCRIPT' => array( + 0 => '', + 1 => '', + ) + ), + 'URLS' => array( + 1 => '' + ), + 'OOLANG' => false, + 'OBJECT_SPLITTERS' => array( + 1 => '\\' + ), + 'REGEXPS' => array( + + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array(), + 'HIGHLIGHT_STRICT_BLOCK' => array( + 0 => false, + 1 => false + ) +); + +?> \ No newline at end of file diff --git a/inc/geshi/c.php b/inc/geshi/c.php index 582e0bb9b..234e46ec9 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/09/22 01:30:09 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * C language file for GeSHi. * diff --git a/inc/geshi/c_mac.php b/inc/geshi/c_mac.php index 787dceeda..2478946f8 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/09/22 01:30:09 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * C for Macs language file for GeSHi. * diff --git a/inc/geshi/caddcl.php b/inc/geshi/caddcl.php index 455df9ddc..004443eee 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/09/22 01:30:09 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * CAD DCL (Dialog Control Language) file for GeSHi. * diff --git a/inc/geshi/cadlisp.php b/inc/geshi/cadlisp.php index 5e1cb32de..91cb0878a 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/09/22 01:30:09 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * AutoCAD/IntelliCAD Lisp language file for GeSHi. * diff --git a/inc/geshi/cpp.php b/inc/geshi/cpp.php index 50475e535..a92f5624d 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.3 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/09/27 - * Last Modified: $Date: 2005/09/22 01:30:09 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * C++ language file for GeSHi. * @@ -75,7 +75,7 @@ $language_data = array ( 'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC', 'virtual', 'public', 'private', 'protected', 'template', 'using', 'namespace', 'try', 'catch', 'inline', 'dynamic_cast', 'const_cast', 'reinterpret_cast', - 'static_cast', 'explicit', 'friend', 'wchar_t', 'typename', 'typeid' + 'static_cast', 'explicit', 'friend', 'wchar_t', 'typename', 'typeid', 'class' ), 3 => array( 'cin', 'cerr', 'clog', 'cout', 'delete', 'new', 'this', diff --git a/inc/geshi/csharp.php b/inc/geshi/csharp.php index 0b00140ad..8c4112ab3 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/09/22 01:30:09 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * C# language file for GeSHi. * diff --git a/inc/geshi/css.php b/inc/geshi/css.php index 433efb794..807b14bb2 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.3 - * CVS Revision Version: $Revision: 1.6 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/06/18 - * Last Modified: $Date: 2005/09/22 01:30:09 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * CSS language file for GeSHi. * diff --git a/inc/geshi/d.php b/inc/geshi/d.php index bb67c2806..e8f9c6d6e 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2005/04/22 - * Last Modified: $Date: 2005/09/22 01:32:47 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * D language file for GeSHi. * diff --git a/inc/geshi/delphi.php b/inc/geshi/delphi.php index 71d64c841..d94a97647 100644 --- a/inc/geshi/delphi.php +++ b/inc/geshi/delphi.php @@ -4,10 +4,10 @@ * ---------- * Author: Járja Norbert (jnorbi@vipmail.hu) * Copyright: (c) 2004 Járja Norbert, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.3 - * CVS Revision Version: $Revision: 1.6 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/07/26 - * Last Modified: $Date: 2005/09/22 01:32:47 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Delphi (Object Pascal) language file for GeSHi. * diff --git a/inc/geshi/diff.php b/inc/geshi/diff.php index 475883eb6..ce14c3861 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/12/29 - * Last Modified: $Date: 2005/09/22 01:32:47 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Diff-output language file for GeSHi. * diff --git a/inc/geshi/div.php b/inc/geshi/div.php index 02d1f3760..f4859eeee 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2005/06/19 - * Last Modified: $Date: 2005/09/22 01:32:47 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * DIV language file for GeSHi. * diff --git a/inc/geshi/dos.php b/inc/geshi/dos.php index 1af1ebcf5..4817c395a 100644 --- a/inc/geshi/dos.php +++ b/inc/geshi/dos.php @@ -4,10 +4,10 @@ * ------- * Author: Alessandro Staltari (staltari@geocities.com) * Copyright: (c) 2005 Alessandro Staltari (http://www.geocities.com/SiliconValley/Vista/8155/) - * Release Version: 1.0.7.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2005/07/05 - * Last Modified: $Date: 2005/09/22 01:32:47 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * DOS language file for GeSHi. * diff --git a/inc/geshi/eiffel.php b/inc/geshi/eiffel.php index 04f553f18..3411d3168 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2005/06/30 - * Last Modified: $Date: 2005/09/22 01:32:47 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Eiffel language file for GeSHi. * diff --git a/inc/geshi/freebasic.php b/inc/geshi/freebasic.php index e9b43a950..9853b76c3 100644 --- a/inc/geshi/freebasic.php +++ b/inc/geshi/freebasic.php @@ -4,7 +4,7 @@ * ------------- * Author: Roberto Rossi * Copyright: (c) 2005 Roberto Rossi (http://rsoftware.altervista.org) - * Release Version: 1.0.7.3 + * Release Version: 1.0.7.4 * Date Started: 2005/08/19 * * FreeBasic (http://www.freebasic.net/) language file for GeSHi. diff --git a/inc/geshi/gml.php b/inc/geshi/gml.php index 367344de7..027cd84da 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2005/06/21 - * Last Modified: $Date: 2005/09/22 01:32:47 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * GML language file for GeSHi. * diff --git a/inc/geshi/html4strict.php b/inc/geshi/html4strict.php index 15b644afe..772dba8c8 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2005/09/22 01:32:47 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * HTML 4.01 strict language file for GeSHi. * diff --git a/inc/geshi/ini.php b/inc/geshi/ini.php index e79603e89..670164366 100644 --- a/inc/geshi/ini.php +++ b/inc/geshi/ini.php @@ -4,10 +4,10 @@ * -------- * Author: deguix (cevo_deguix@yahoo.com.br) * Copyright: (c) 2005 deguix - * Release Version: 1.0.7.3 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2005/03/27 - * Last Modified: $Date: 2005/09/22 01:32:47 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * INI language file for GeSHi. * diff --git a/inc/geshi/inno.php b/inc/geshi/inno.php index 698ad9fb9..6acc8a9ae 100644 --- a/inc/geshi/inno.php +++ b/inc/geshi/inno.php @@ -4,10 +4,10 @@ * ---------- * Author: Thomas Klingler (hotline@theratech.de) based on delphi.php from Járja Norbert (jnorbi@vipmail.hu) * Copyright: (c) 2004 Járja Norbert, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.3 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2005/07/29 - * Last Modified: $Date: 2005/09/22 01:35:22 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Inno Script language inkl. Delphi (Object Pascal) language file for GeSHi. * diff --git a/inc/geshi/java.php b/inc/geshi/java.php index dc67d62eb..d059912bc 100644 --- a/inc/geshi/java.php +++ b/inc/geshi/java.php @@ -4,10 +4,10 @@ * -------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.3 - * CVS Revision Version: $Revision: 1.7 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.8 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2005/09/22 01:35:22 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Java language file for GeSHi. * diff --git a/inc/geshi/javascript.php b/inc/geshi/javascript.php index a5b9a0426..722020b35 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/09/22 01:35:22 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * JavaScript language file for GeSHi. * diff --git a/inc/geshi/lisp.php b/inc/geshi/lisp.php index 75af7ef54..14bf68bb4 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/09/22 01:35:22 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Generic Lisp language file for GeSHi. * diff --git a/inc/geshi/lua.php b/inc/geshi/lua.php index 224f81b06..741641b7b 100644 --- a/inc/geshi/lua.php +++ b/inc/geshi/lua.php @@ -4,10 +4,10 @@ * ------- * Author: Roberto Rossi (rsoftware@altervista.org) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.3 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2005/09/22 01:35:22 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * LUA language file for GeSHi. * @@ -68,6 +68,18 @@ $language_data = array ( 'clock','date','difftime','execute','exit','getenv','setlocale','time', '_G','getfenv','getmetatable','ipairs','loadlib','next','pairs','pcall', 'rawegal','rawget','rawset','require','setfenv','setmetatable','xpcall', + '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', 'string','table','math','coroutine','io','os','debug' ) ), @@ -109,8 +121,8 @@ $language_data = array ( 'SCRIPT' => array( ) ), - 'OOLANG' => true, - 'OBJECT_SPLITTERS' => array('.' + 'OOLANG' => false, + 'OBJECT_SPLITTERS' => array( ), 'REGEXPS' => array( ), diff --git a/inc/geshi/matlab.php b/inc/geshi/matlab.php index 9ece11cf9..b4a71c87b 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2005/02/09 - * Last Modified: $Date: 2005/09/22 01:35:22 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Matlab M-file language file for GeSHi. * diff --git a/inc/geshi/mpasm.php b/inc/geshi/mpasm.php index 1ce563f66..f43219d2a 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/12/6 - * Last Modified: $Date: 2005/09/22 01:35:22 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Microchip Assembler language file for GeSHi. * diff --git a/inc/geshi/mysql.php b/inc/geshi/mysql.php new file mode 100644 index 000000000..2baf8ef90 --- /dev/null +++ b/inc/geshi/mysql.php @@ -0,0 +1,175 @@ + 'MySQL', + 'COMMENT_SINGLE' => array(1 =>'--', 2 => '#'), + 'COMMENT_MULTI' => array('/*' => '*/'), + 'CASE_KEYWORDS' => 1, + 'QUOTEMARKS' => array("'", '"', ''), + 'ESCAPE_CHAR' => '\\', + 'KEYWORDS' => array( + 1 => array( + /* Mix */ + 'ALTER DATABASE', 'ALTER TABLE', 'CREATE DATABASE', 'CREATE INDEX', 'CREATE TABLE', 'DROP DATABASE', + 'DROP INDEX', 'DROP TABLE', 'RENAME TABLE', 'DELETE', 'DO', 'HANDLER', 'INSERT', 'LOAD DATA INFILE', + 'REPLACE', 'SELECT', 'TRUNCATE', 'UPDATE', 'DESCRIBE', 'USE', 'START TRANSACTION', 'COMMIT', 'ROLLBACK', + 'SAVEPOINT', 'ROLLBACK TO SAVEPOINT', 'LOCK TABLES', 'UNLOCK_TABLES', 'SET TRANACTIONS', 'SET', 'SHOW', + 'CREATE PROCEDURE', 'CREATE FUNCTION', 'ALTER PROCEDURE', 'ALTER FUNCTION', 'DROP PROCEDURE', 'DROP FUNCTION', + 'SHOW CREATE PROCEDURE', 'SHOW CREATE FUNCTION', 'SHOW PROCEDURE STATUS', 'SHOW FUNCTION STATUS', + 'CALL', 'BEGIN', 'END', 'DECLARE', 'CREATE ROUTINE', 'ALTER ROUTINE', 'CREATE', 'ALTER', 'DROP', + 'PRIMARY KEY', 'VALUES', 'INTO', 'FROM', + 'ANALYZE', 'BDB', 'BERKELEYDB', 'BTREE', 'BY', 'CASCADE', 'CHECK', 'COLUMN', 'COLUMNS', 'CONSTRAINT', + 'CROSS', 'DATABASES', 'DELAYED', 'DISTINCT', 'DISTINCTROW', 'ENCLOSED', 'ERRORS', 'ESCAPED', 'EXISTS', + 'EXPLAIN', 'FALSE', 'FIELDS', 'FORCE', 'FOREIGN', 'FULLTEXT', 'GEOMETRY', 'GRANT', 'GROUP', 'HASH', + 'HAVING', 'HELP', 'HIGH_PRIORITY', 'IGNORE', 'INNER', 'INNODB', 'INTERVAL', 'JOIN', 'KEYS', 'KILL', + 'LINES', 'LOW_PRIORITY', 'MASTER_SERVER_ID', 'MATCH', 'MIDDLEINT', 'MRG_MYISAM', 'NATURAL', 'OPTIMIZE', + 'OPTION', 'OPTIONALLY', 'ORDER', 'OUTER', 'OUTFILE', 'PRIVILEGES', 'PURGE', 'READ', 'REFERENCES', + 'REQUIRE', 'RESTRICT', 'RETURNS', 'REVOKE', 'RLIKE', 'RTREE', 'SOME', 'SONAME', 'SPATIAL', 'SQL_BIG_RESULT', + 'SQL_CALC_FOUND_ROWS', 'SQL_SMALL_RESULT', 'SSL', 'STARTING', 'STRAIGHT_JOIN', 'STRIPED', 'TERMINATED', + 'TRUE', 'TYPES', 'UNION', 'USAGE', 'USER_RESOURCES', 'USING', 'VARCHARACTER', 'WARNINGS', 'WHERE', 'WRITE', + /* Control Flow Functions */ + 'CASE', 'WHEN', 'THEN', 'ELSE', 'END', + /* String Functions */ + 'BIN', 'BIT_LENGTH', 'CHAR_LENGTH', 'CHARACTER_LENGTH', 'COMPRESS', 'CONCAT', + 'CONCAT_WS', 'CONV', 'ELT', 'EXPORT_SET', 'FIELD', 'FIND_IN_SET', 'FORMAT', 'HEX', + 'INSERT', 'INSTR', 'LCASE', 'LEFT', 'LENGTH', 'LOAD_FILE', 'LOCATE', 'LOWER', 'LPAD', + 'LTRIM', 'MAKE_SET', 'MID', 'OCT', 'OCTET_LENGTH', 'ORD', 'POSITION', 'QUOTE', 'REPEAT', + 'REPLACE', 'REVERSE', 'RIGHT', 'RPAD', 'RTRIM', 'SOUNDEX', 'SPACE', 'SUBSTRING', + 'SUBSTRING_INDEX', 'TRIM', 'UCASE', 'UPPER', 'UNCOMPRESS', 'UNCOMPRESSD_LENGTH', 'UNHEX', + /* Numeric Functions */ + 'ABS', 'ACOS', 'ASIN', 'ATAN', 'ATAN2', 'CEILING', 'CEIL', 'COS', 'COT', 'CRC32', 'DEGREES', + 'EXP', 'FLOOR', 'LN', 'LOG', 'LOG2', 'LOG10', 'MOD', 'PI', 'POW', 'POWER', 'RADIANS', 'RAND', + 'ROUND', 'SIGN', 'SIN', 'SQRT', 'TAN', 'TRUNCATE', + /* Date and Time Functions */ + 'ADDDATE', 'ADDTIME', 'CONVERT_TZ', 'CURDATE', 'CURRENT_DATE', 'CURTIME', 'CURRENT_TIME', + 'CURRENT_TIMESTAMP', 'DATEDIFF', 'DATE_ADD', 'DATE_SUB', 'DATE_FORMAT', 'DAY', + 'DAYNAME', 'DAYOFMONTH', 'DAYOFWEEK', 'DAYOFYEAR', 'EXTRACT', 'FROM_DAYS', 'FROM_UNIXTIME', + 'GET_FORMAT', 'LAST_DAY', 'LOCALTIME', 'LOCALTIMESTAMP', 'MAKEDATE', 'MAKETIME', + 'MICROSECOND', 'MONTHNAME', 'NOW', 'PERIOD_ADD', 'PERIOD_DIFF', 'QUARTER', + 'SECOND', 'SEC_TO_TIME', 'STR_TO_DATE', 'SUBDATE', 'SUBTIME', 'SYSDATE', 'TIME', 'TIMEDIFF', + 'TIMESTAMP', 'TIMESTAMPADD', 'TIMESTAMPDIFF', 'TIME_FORMAT', 'TIME_TO_SEC', 'TO_DAYS', + 'UNIX_TIMESTAMP', 'UTC_DATE', 'UTC_TIME', 'UTC_TIMESTAMP', 'WEEKDAY', 'WEEKOFYEAR', + 'YEARWEEK', + + ), + 2 => array( + 'INTEGER', 'SMALLINT', 'DECIMAL', 'NUMERIC', 'FLOAT', 'REAL', 'DOUBLE PRECISION', + 'DOUBLE', 'INT', 'DEC', 'BIT' ,'TINYINT', 'SMALLINT', 'MEDIUMINT', 'BIGINT', + 'DATETIME', 'DATE', 'TIMESTAMP', 'TIME', 'YEAR', + 'CHAR', 'VARCHAR', 'BINARY', 'CHARACTER VARYING', 'VARBINARY', 'TINYBLOB', 'TINYTEXT', + 'BLOB', 'TEXT','MEDIUMBLOB', 'MEDIUMTEXT', 'LONGBLOB', 'LONGTEXT', 'ENUM', 'SET', + 'SERIAL DEFAULT VALUE', 'SERIAL', 'FIXED' + ), + 3 => array( + 'ZEROFILL', 'NOT NULL', 'UNSIGNED', 'AUTO_INCREMENT', 'UNIQUE', 'NOT', 'NULL', 'CHARACTER SET', 'CHARSET', + 'ASCII', 'UNICODE', 'NATIONAL', 'BOTH', 'LEADING', 'TRAILING','DEFAULT' + ), + 4 => array( + 'MICROSECOND', 'SECOND', 'MINUTE', 'HOUR', 'DAY', 'WEEK', 'MONTH', 'QUARTER', 'YEAR', 'SECOND_MICROSECOND', + 'MINUTE_MICROSECOND', 'MINUTE_SECOND', 'HOUR_MICROSECOND', 'HOUR_SECOND', 'HOUR_MINUTE', 'DAY_MICROSECOND', + 'DAY_SECOND', 'DAY_MINUTE', 'DAY_HOUR', 'YEAR_MONTH', + ), + ), + 'SYMBOLS' => array( + ':=', + '||', 'OR', 'XOR', + '&&', 'AND', + 'NOT', + 'BETWEEN', 'CASE', 'WHEN', 'THEN', 'ELSE', + '=', '<=>', '>=', '>', '<=', '<', '<>', '!=', 'IS', 'LIKE', 'REGEXP', 'IN', + '|', + '&', + '<<', '>>', + '-', '+', + '*', '/', 'DIV', '%', 'MOD', + '^', + '-', '~', + '!', + 'BINARY', 'COLLATE', + '(', ')', + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => false, + 1 => false, + 2 => false, + 3 => false, + 4 => false, + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #993333; font-weight: bold;', + 2 => 'color: #aa9933; font-weight: bold;', + 3 => 'color: #aa3399; font-weight: bold;', + 4 => 'color: #33aa99; font-weight: bold;', + ), + 'COMMENTS' => array( + 1 => 'color: #808080; font-style: italic;', + 2 => '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;' + ), + 'SCRIPT' => array( + ), + 'REGEXPS' => array( + ) + ), + 'OOLANG' => false, + 'OBJECT_SPLITTERS' => array( + ), + 'REGEXPS' => array( + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array( + ), + 'HIGHLIGHT_STRICT_BLOCK' => array( + ) +); + +?> diff --git a/inc/geshi/nsis.php b/inc/geshi/nsis.php index 1a70278f7..2237e3c62 100644 --- a/inc/geshi/nsis.php +++ b/inc/geshi/nsis.php @@ -4,10 +4,10 @@ * -------- * Author: deguix (cevo_deguix@yahoo.com.br), Tux (http://tux.a4.cz/) * Copyright: (c) 2005 deguix, 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.3 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2005/06/17 - * Last Modified: $Date: 2005/09/22 01:35:22 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Nullsoft Scriptable Install System language file for GeSHi. * diff --git a/inc/geshi/objc.php b/inc/geshi/objc.php index 379de37fe..a36b5f7ac 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/09/22 01:35:22 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Objective C language file for GeSHi. * diff --git a/inc/geshi/ocaml-brief.php b/inc/geshi/ocaml-brief.php index 704cca88e..70814ea4b 100644 --- a/inc/geshi/ocaml-brief.php +++ b/inc/geshi/ocaml-brief.php @@ -4,10 +4,10 @@ * ---------- * Author: Flaie (fireflaie@gmail.com) * Copyright: (c) 2005 Flaie, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.3 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2005/08/27 - * Last Modified: $Date: 2005/09/22 01:35:22 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * OCaml (Objective Caml) language file for GeSHi. * diff --git a/inc/geshi/ocaml.php b/inc/geshi/ocaml.php index 2f773e4d2..7be360c82 100644 --- a/inc/geshi/ocaml.php +++ b/inc/geshi/ocaml.php @@ -4,10 +4,10 @@ * ---------- * Author: Flaie (fireflaie@gmail.com) * Copyright: (c) 2005 Flaie, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.3 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2005/08/27 - * Last Modified: $Date: 2005/09/22 01:35:22 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * OCaml (Objective Caml) language file for GeSHi. * diff --git a/inc/geshi/oobas.php b/inc/geshi/oobas.php index 3e5959ad4..26b79a775 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/09/22 01:35:22 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * OpenOffice.org Basic language file for GeSHi. * diff --git a/inc/geshi/oracle8.php b/inc/geshi/oracle8.php index 897ee52d6..015bdf323 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/09/22 01:35:22 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Oracle 8 language file for GeSHi * diff --git a/inc/geshi/pascal.php b/inc/geshi/pascal.php index 5640de9c4..00547f8c8 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/07/26 - * Last Modified: $Date: 2005/09/22 01:35:22 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Pascal language file for GeSHi. * diff --git a/inc/geshi/perl.php b/inc/geshi/perl.php index 4c26955f4..1367844c5 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/08/20 - * Last Modified: $Date: 2005/09/22 01:35:22 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Perl language file for GeSHi. * diff --git a/inc/geshi/php-brief.php b/inc/geshi/php-brief.php index f9f02b208..88bb7ef9e 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/06/02 - * Last Modified: $Date: 2005/09/22 01:41:46 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * PHP language file for GeSHi (brief version). * diff --git a/inc/geshi/php.php b/inc/geshi/php.php index 4466074f9..476a36f2b 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.3 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/09/22 01:41:46 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * PHP language file for GeSHi. * diff --git a/inc/geshi/python.php b/inc/geshi/python.php index 25da8f631..a24bb7d3f 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.3 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/09/22 01:41:46 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Python language file for GeSHi. * diff --git a/inc/geshi/qbasic.php b/inc/geshi/qbasic.php index 942cf48e4..3435e3624 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.3 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/06/20 - * Last Modified: $Date: 2005/09/22 01:41:46 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * QBasic/QuickBASIC language file for GeSHi. * diff --git a/inc/geshi/ruby.php b/inc/geshi/ruby.php index 7530550ae..cd6133006 100644 --- a/inc/geshi/ruby.php +++ b/inc/geshi/ruby.php @@ -4,10 +4,10 @@ * -------- * Author: Amit Gupta (http://blog.igeek.info/) * Copyright: (c) 2005 Amit Gupta (http://blog.igeek.info/) - * Release Version: 1.0.7.3 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2005/09/05 - * Last Modified: $Date: 2005/09/22 01:41:46 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Ruby language file for GeSHi * diff --git a/inc/geshi/scheme.php b/inc/geshi/scheme.php index d62ba4a60..d89283c34 100644 --- a/inc/geshi/scheme.php +++ b/inc/geshi/scheme.php @@ -4,10 +4,10 @@ * ---------- * Author: Jon Raphaelson (jonraphaelson@gmail.com) * Copyright: (c) 2005 Jon Raphaelson, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.3 - * CVS Revision Version: $Revision: 1.2 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/09/22 01:41:46 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Scheme language file for GeSHi. * diff --git a/inc/geshi/sdlbasic.php b/inc/geshi/sdlbasic.php index 660252641..357960a8c 100644 --- a/inc/geshi/sdlbasic.php +++ b/inc/geshi/sdlbasic.php @@ -4,10 +4,10 @@ * ------------ * Author: Roberto Rossi * Copyright: (c) 2005 Roberto Rossi (http://rsoftware.altervista.org) - * Release Version: 1.0.7.3 - * CVS Revision Version: $Revision: 1.3 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.4 $ * Date Started: 2005/08/19 - * Date Modified: $Date: 2005/09/22 01:41:46 $ + * Date Modified: $Date: 2005/10/22 07:52:59 $ * * sdlBasic (http://sdlbasic.sf.net) language file for GeSHi. * diff --git a/inc/geshi/smarty.php b/inc/geshi/smarty.php index 7ab510e85..6d47662d3 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.3 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/07/10 - * Last Modified: $Date: 2005/09/22 01:41:46 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Smarty template language file for GeSHi. * diff --git a/inc/geshi/sql.php b/inc/geshi/sql.php index 39652ee8a..89649622d 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.3 - * CVS Revision Version: $Revision: 1.5 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.6 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/09/22 01:41:46 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * SQL language file for GeSHi. * diff --git a/inc/geshi/vb.php b/inc/geshi/vb.php index 1dc5ef799..83c71341b 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/08/30 - * Last Modified: $Date: 2005/09/22 01:41:46 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * Visual Basic language file for GeSHi. * diff --git a/inc/geshi/vbnet.php b/inc/geshi/vbnet.php index 0217ffca2..05d1d6295 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.3 - * CVS Revision Version: $Revision: 1.6 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/06/04 - * Last Modified: $Date: 2005/09/22 01:41:46 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * VB.NET language file for GeSHi. * diff --git a/inc/geshi/vhdl.php b/inc/geshi/vhdl.php index e41a2cf00..34e1fb976 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2005/06/15 - * Last Modified: $Date: 2005/09/22 01:41:46 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * 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 bb093e18b..dd278bc7e 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.3 - * CVS Revision Version: $Revision: 1.4 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.5 $ * Date Started: 2004/09/17 * Last Modified: 2004/09/18 * diff --git a/inc/geshi/xml.php b/inc/geshi/xml.php index 70175a99e..957379bb6 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.3 - * CVS Revision Version: $Revision: 1.6 $ + * Release Version: 1.0.7.4 + * CVS Revision Version: $Revision: 1.7 $ * Date Started: 2004/09/01 - * Last Modified: $Date: 2005/09/22 01:41:46 $ + * Last Modified: $Date: 2005/10/22 07:52:59 $ * * XML language file for GeSHi. Based on the idea/file by Christian Weiske * -- cgit v1.2.3