Skip to content

Commit

Permalink
updated GeSHi to 1.0.8.10
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Apr 29, 2011
1 parent bb82221 commit ef8bb07
Show file tree
Hide file tree
Showing 201 changed files with 3,770 additions and 547 deletions.
8 changes: 4 additions & 4 deletions lib/geshi.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
//

/** The version of this GeSHi file */
define('GESHI_VERSION', '1.0.8.9');
define('GESHI_VERSION', '1.0.8.10');

// Define the root directory for the GeSHi code tree
if (!defined('GESHI_ROOT')) {
Expand Down Expand Up @@ -3339,7 +3339,7 @@ function parse_non_string_part($stuff_to_parse) {
$stuff_to_parse = ' ' . $this->hsc($stuff_to_parse);

// Highlight keywords
$disallowed_before = "(?<![a-zA-Z0-9\$_\|\#;>|^&";
$disallowed_before = "(?<![a-zA-Z0-9\$_\|\#|^&";
$disallowed_after = "(?![a-zA-Z0-9_\|%\\-&;";
if ($this->lexic_permissions['STRINGS']) {
$quotemarks = preg_quote(implode($this->language_data['QUOTEMARKS']), '/');
Expand Down Expand Up @@ -3397,7 +3397,7 @@ function parse_non_string_part($stuff_to_parse) {
// Basically, we don't put the styles in yet because then the styles themselves will
// get highlighted if the language has a CSS keyword in it (like CSS, for example ;))
$stuff_to_parse = preg_replace_callback(
"/$disallowed_before_local({$keywordset})(?!\<DOT\>(?:htm|php))$disallowed_after_local/$modifiers",
"/$disallowed_before_local({$keywordset})(?!\<DOT\>(?:htm|php|aspx?))$disallowed_after_local/$modifiers",
array($this, 'handle_keyword_replace'),
$stuff_to_parse
);
Expand Down Expand Up @@ -4564,7 +4564,7 @@ function get_line_style($line) {
* @access private
*/
function optimize_regexp_list($list, $regexp_delimiter = '/') {
$regex_chars = array('.', '\\', '+', '*', '?', '[', '^', ']', '$',
$regex_chars = array('.', '\\', '+', '-', '*', '?', '[', '^', ']', '$',
'(', ')', '{', '}', '=', '!', '<', '>', '|', ':', $regexp_delimiter);
sort($list);
$regexp_list = array('');
Expand Down
2 changes: 1 addition & 1 deletion lib/geshi/4cs.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* ------
* Author: Jason Curl ([email protected])
* Copyright: (c) 2009 Jason Curl
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2009/09/05
*
* 4CS language file for GeSHi.
Expand Down
2 changes: 1 addition & 1 deletion lib/geshi/6502acme.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* -------
* Author: Warren Willmey
* Copyright: (c) 2010 Warren Willmey.
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2010/05/26
*
* MOS 6502 (more specifically 6510) ACME Cross Assembler 0.93 by Marco Baye language file for GeSHi.
Expand Down
2 changes: 1 addition & 1 deletion lib/geshi/6502kickass.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* -------
* Author: Warren Willmey
* Copyright: (c) 2010 Warren Willmey.
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2010/06/07
*
* MOS 6502 (6510) Kick Assembler 3.13 language file for GeSHi.
Expand Down
2 changes: 1 addition & 1 deletion lib/geshi/6502tasm.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* -------
* Author: Warren Willmey
* Copyright: (c) 2010 Warren Willmey.
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2010/06/02
*
* MOS 6502 (6510) TASM/64TASS (64TASS being the super set of TASM) language file for GeSHi.
Expand Down
2 changes: 1 addition & 1 deletion lib/geshi/68000devpac.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* -------
* Author: Warren Willmey
* Copyright: (c) 2010 Warren Willmey.
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2010/06/09
*
* Motorola 68000 - HiSoft Devpac ST 2 Assembler language file for GeSHi.
Expand Down
2 changes: 1 addition & 1 deletion lib/geshi/abap.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* - Sandra Rossi ([email protected])
* - Jacob Laursen ([email protected])
* Copyright: (c) 2007 Andres Picazo
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2004/06/04
*
* ABAP language file for GeSHi.
Expand Down
2 changes: 1 addition & 1 deletion lib/geshi/actionscript.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* ----------------
* Author: Steffen Krause ([email protected])
* Copyright: (c) 2004 Steffen Krause, Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2004/06/20
*
* Actionscript language file for GeSHi.
Expand Down
4 changes: 2 additions & 2 deletions lib/geshi/actionscript3.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* ----------------
* Author: Jordi Boggiano ([email protected])
* Copyright: (c) 2007 Jordi Boggiano (http://www.seld.be/), Benny Baumann (http://qbnz.com/highlighter)
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2007/11/26
*
* ActionScript3 language file for GeSHi.
Expand Down Expand Up @@ -60,7 +60,7 @@
'COMMENT_MULTI' => array('/*' => '*/'),
'COMMENT_REGEXP' => array(
//Regular expressions
2 => "/(?<=[\\s^])(s|tr|y)\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/(?:\\\\.|(?!\n)[^\\/\\\\])*\\/[msixpogcde]*(?=[\\s$\\.\\;])|(?<=[\\s^(=])(m|q[qrwx]?)?\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/[msixpogc]*(?=[\\s$\\.\\,\\;\\)])/iU",
2 => "/(?<=[\\s^])(s|tr|y)\\/(?!\s)(?:\\\\.|(?!\n)[^\\/\\\\])+(?<!\s)\\/(?!\s)(?:\\\\.|(?!\n)[^\\/\\\\])*(?<!\s)\\/[msixpogcde]*(?=[\\s$\\.\\;])|(?<=[\\s^(=])(m|q[qrwx]?)?\\/(?!\s)(?:\\\\.|(?!\n)[^\\/\\\\])+(?<!\s)\\/[msixpogc]*(?=[\\s$\\.\\,\\;\\)])/iU",
),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array("'", '"'),
Expand Down
2 changes: 1 addition & 1 deletion lib/geshi/ada.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* -------
* Author: Tux ([email protected])
* Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2004/07/29
*
* Ada language file for GeSHi.
Expand Down
287 changes: 195 additions & 92 deletions lib/geshi/algol68.php

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion lib/geshi/apache.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* ----------
* Author: Tux ([email protected])
* Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2004/29/07
*
* Apache language file for GeSHi.
Expand Down Expand Up @@ -344,6 +344,9 @@

//mod_unique_id.c

//mod_upload_progress
'ReportUploads', 'TrackUploads', 'UploadProgressSharedMemorySize',

//mod_userdir.c
'UserDir',

Expand Down
2 changes: 1 addition & 1 deletion lib/geshi/applescript.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* --------
* Author: Stephan Klimek (http://www.initware.org)
* Copyright: Stephan Klimek (http://www.initware.org)
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2005/07/20
*
* AppleScript language file for GeSHi.
Expand Down
12 changes: 8 additions & 4 deletions lib/geshi/apt_sources.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* ----------
* Author: Milian Wolff ([email protected])
* Copyright: (c) 2008 Milian Wolff (http://milianw.de)
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2008/06/17
*
* Apt sources.list language file for GeSHi.
Expand Down Expand Up @@ -55,7 +55,7 @@
'stable/updates',
//Debian
'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato', 'woody', 'sarge',
'etch', 'lenny', 'sid',
'etch', 'lenny', 'wheezy', 'sid',
//Ubuntu
'warty', 'warty-updates', 'warty-security', 'warty-proposed', 'warty-backports',
'hoary', 'hoary-updates', 'hoary-security', 'hoary-proposed', 'hoary-backports',
Expand All @@ -65,7 +65,11 @@
'feisty', 'feisty-updates', 'feisty-security', 'feisty-proposed', 'feisty-backports',
'gutsy', 'gutsy-updates', 'gutsy-security', 'gutsy-proposed', 'gutsy-backports',
'hardy', 'hardy-updates', 'hardy-security', 'hardy-proposed', 'hardy-backports',
'intrepid', 'intrepid-updates', 'intrepid-security', 'intrepid-proposed', 'intrepid-backports'
'intrepid', 'intrepid-updates', 'intrepid-security', 'intrepid-proposed', 'intrepid-backports',
'jaunty', 'jaunty-updates', 'jaunty-security', 'jaunty-proposed', 'jaunty-backports',
'karmic', 'karmic-updates', 'karmic-security', 'karmic-proposed', 'karmic-backports',
'lucid', 'lucid-updates', 'lucid-security', 'lucid-proposed', 'lucid-backports',
'maverick', 'maverick-updates', 'maverick-security', 'maverick-proposed', 'maverick-backports'
),
3 => array(
'main', 'restricted', 'preview', 'contrib', 'non-free',
Expand Down Expand Up @@ -141,4 +145,4 @@
'TAB_WIDTH' => 4
);

?>
?>
10 changes: 5 additions & 5 deletions lib/geshi/asm.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* -------
* Author: Tux ([email protected])
* Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2004/07/27
*
* x86 Assembler language file for GeSHi.
Expand Down Expand Up @@ -99,9 +99,9 @@
4 => array(
'186','286','286c','286p','287','386','386c','386p','387','486','486p',
'8086','8087','alpha','break','code','const','continue','cref','data','data?',
'dosseg','else','elseif','endif','endw','err','err1','err2','errb',
'dosseg','else','elseif','endif','endw','equ','err','err1','err2','errb',
'errdef','errdif','errdifi','erre','erridn','erridni','errnb','errndef',
'errnz','exit','fardata','fardata?','if','lall','lfcond','list','listall',
'errnz','exit','fardata','fardata?','global','if','lall','lfcond','list','listall',
'listif','listmacro','listmacroall',' model','no87','nocref','nolist',
'nolistif','nolistmacro','radix','repeat','sall','seq','sfcond','stack',
'startup','tfcond','type','until','untilcxz','while','xall','xcref',
Expand All @@ -114,7 +114,7 @@
'irp','irpc','label','le','length','lengthof','local','low','lowword','lroffset',
'macro','mask','mod','msfloat','name','ne','offset','opattr','option','org','%out',
'page','popcontext','private','proc','proto','ptr','public','purge','pushcontext','record',
'rept','seg','segment','short','size','sizeof','sizestr','struc','struct',
'resb','resd','resw','rept','section','seg','segment','short','size','sizeof','sizestr','struc','struct',
'substr','subtitle','subttl','textequ','this','title','typedef','union','width',
'.model', '.stack', '.code', '.data'
),
Expand Down Expand Up @@ -222,4 +222,4 @@
)
);

?>
?>
2 changes: 1 addition & 1 deletion lib/geshi/asp.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* --------
* 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.8.9
* Release Version: 1.0.8.10
* Date Started: 2004/08/13
*
* ASP language file for GeSHi.
Expand Down
2 changes: 1 addition & 1 deletion lib/geshi/autoconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* -----
* Author: Mihai Vasilian ([email protected])
* Copyright: (c) 2010 Mihai Vasilian
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2010/01/25
*
* autoconf language file for GeSHi.
Expand Down
2 changes: 1 addition & 1 deletion lib/geshi/autohotkey.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* --------
* Author: Naveen Garg ([email protected])
* Copyright: (c) 2009 Naveen Garg and GeSHi
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2009/06/11
*
* Autohotkey language file for GeSHi.
Expand Down
2 changes: 1 addition & 1 deletion lib/geshi/autoit.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* --------
* Author: big_daddy ([email protected])
* Copyright: (c) 2006 and to GESHi ;)
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2006/01/26
*
* AutoIT language file for GeSHi.
Expand Down
2 changes: 1 addition & 1 deletion lib/geshi/avisynth.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* --------
* Author: Ryan Jones ([email protected])
* Copyright: (c) 2008 Ryan Jones
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2008/10/08
*
* AviSynth language file for GeSHi.
Expand Down
2 changes: 1 addition & 1 deletion lib/geshi/awk.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* -------
* Author: George Pollard ([email protected])
* Copyright: (c) 2009 George Pollard
* Release Version: 1.0.8.9
* Release Version: 1.0.8.10
* Date Started: 2009/01/28
*
* Awk language file for GeSHi.
Expand Down
Loading

0 comments on commit ef8bb07

Please sign in to comment.