updated GeSHi to v1.0.8.17

This commit is contained in:
Andreas Gohr 2016-04-15 15:38:49 +02:00
parent 38c55182b8
commit 22694784c6
228 changed files with 65 additions and 204 deletions

10
composer.lock generated
View file

@ -8,16 +8,16 @@
"packages": [
{
"name": "easybook/geshi",
"version": "v1.0.8.15",
"version": "v1.0.8.17",
"source": {
"type": "git",
"url": "https://github.com/easybook/geshi.git",
"reference": "54387de80bc7ee50397ffae39234626a48d2d45f"
"reference": "0fced4f530c0a1726588651f04c2bf2a3073c9c0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/easybook/geshi/zipball/54387de80bc7ee50397ffae39234626a48d2d45f",
"reference": "54387de80bc7ee50397ffae39234626a48d2d45f",
"url": "https://api.github.com/repos/easybook/geshi/zipball/0fced4f530c0a1726588651f04c2bf2a3073c9c0",
"reference": "0fced4f530c0a1726588651f04c2bf2a3073c9c0",
"shasum": ""
},
"require": {
@ -50,7 +50,7 @@
"highlighter",
"syntax"
],
"time": "2015-06-18 14:56:28"
"time": "2016-03-29 13:15:17"
},
{
"name": "splitbrain/php-archive",

View file

@ -351,7 +351,7 @@ class ClassLoader
foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
if (0 === strpos($class, $prefix)) {
foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
if (is_file($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
return $file;
}
}
@ -361,7 +361,7 @@ class ClassLoader
// PSR-4 fallback dirs
foreach ($this->fallbackDirsPsr4 as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
if (is_file($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
return $file;
}
}
@ -380,7 +380,7 @@ class ClassLoader
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
if (0 === strpos($class, $prefix)) {
foreach ($dirs as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
if (is_file($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}
@ -390,7 +390,7 @@ class ClassLoader
// PSR-0 fallback dirs
foreach ($this->fallbackDirsPsr0 as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
if (is_file($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}

View file

@ -1,52 +1,4 @@
[
{
"name": "easybook/geshi",
"version": "v1.0.8.15",
"version_normalized": "1.0.8.15",
"source": {
"type": "git",
"url": "https://github.com/easybook/geshi.git",
"reference": "54387de80bc7ee50397ffae39234626a48d2d45f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/easybook/geshi/zipball/54387de80bc7ee50397ffae39234626a48d2d45f",
"reference": "54387de80bc7ee50397ffae39234626a48d2d45f",
"shasum": ""
},
"require": {
"php": ">4.3.0"
},
"time": "2015-06-18 14:56:28",
"type": "library",
"installation-source": "dist",
"autoload": {
"classmap": [
"./"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0"
],
"authors": [
{
"name": "Nigel McNie",
"email": "nigel@geshi.org"
},
{
"name": "Benny Baumann",
"email": "BenBE@geshi.org"
}
],
"description": "GeSHi - Generic Syntax Highlighter. This is an unmodified port of GeSHi project code found on SourceForge.",
"homepage": "http://qbnz.com/highlighter",
"keywords": [
"highlight",
"highlighter",
"syntax"
]
},
{
"name": "splitbrain/php-archive",
"version": "1.0.7",
@ -95,5 +47,53 @@
"unzip",
"zip"
]
},
{
"name": "easybook/geshi",
"version": "v1.0.8.17",
"version_normalized": "1.0.8.17",
"source": {
"type": "git",
"url": "https://github.com/easybook/geshi.git",
"reference": "0fced4f530c0a1726588651f04c2bf2a3073c9c0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/easybook/geshi/zipball/0fced4f530c0a1726588651f04c2bf2a3073c9c0",
"reference": "0fced4f530c0a1726588651f04c2bf2a3073c9c0",
"shasum": ""
},
"require": {
"php": ">4.3.0"
},
"time": "2016-03-29 13:15:17",
"type": "library",
"installation-source": "dist",
"autoload": {
"classmap": [
"./"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0"
],
"authors": [
{
"name": "Nigel McNie",
"email": "nigel@geshi.org"
},
{
"name": "Benny Baumann",
"email": "BenBE@geshi.org"
}
],
"description": "GeSHi - Generic Syntax Highlighter. This is an unmodified port of GeSHi project code found on SourceForge.",
"homepage": "http://qbnz.com/highlighter",
"keywords": [
"highlight",
"highlighter",
"syntax"
]
}
]

View file

@ -6,5 +6,6 @@ http://sourceforge.net/projects/geshi/
Differences from the official SourceForge repository:
* 3/mar/2016: removed the closing `?>` tag from PHP files.
* 11/may/2014: added `sass.php` file to highlight Sass stylesheets.
* 28/sep/2012: added `twig.php` file to highlight Twig templates.

3
vendor/easybook/geshi/geshi.php vendored Executable file → Normal file
View file

@ -594,7 +594,7 @@ class GeSHi {
* {@link GeSHi->set_language_path()}
* @since 1.0.0
*/
function GeSHi($source = '', $language = '', $path = '') {
function __construct($source = '', $language = '', $path = '') {
if (!empty($source)) {
$this->set_source($source);
}
@ -4772,4 +4772,3 @@ if (!function_exists('geshi_highlight')) {
}
}
?>

0
vendor/easybook/geshi/geshi/4cs.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/6502acme.php vendored Executable file → Normal file
View file

@ -227,4 +227,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/6502kickass.php vendored Executable file → Normal file
View file

@ -238,4 +238,3 @@ $language_data = array (
),
);
?>

1
vendor/easybook/geshi/geshi/6502tasm.php vendored Executable file → Normal file
View file

@ -186,4 +186,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/68000devpac.php vendored Executable file → Normal file
View file

@ -165,4 +165,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/abap.php vendored Executable file → Normal file
View file

@ -1406,4 +1406,3 @@ $language_data = array(
'TAB_WIDTH' => 4
);
?>

1
vendor/easybook/geshi/geshi/actionscript.php vendored Executable file → Normal file
View file

@ -194,4 +194,3 @@ $language_data = array (
'HIGHLIGHT_STRICT_BLOCK' => array()
);
?>

1
vendor/easybook/geshi/geshi/actionscript3.php vendored Executable file → Normal file
View file

@ -470,4 +470,3 @@ $language_data = array (
'HIGHLIGHT_STRICT_BLOCK' => array()
);
?>

1
vendor/easybook/geshi/geshi/ada.php vendored Executable file → Normal file
View file

@ -132,4 +132,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/algol68.php vendored Executable file → Normal file
View file

@ -326,4 +326,3 @@ $language_data = array(
);
unset($a68);
?>

1
vendor/easybook/geshi/geshi/apache.php vendored Executable file → Normal file
View file

@ -480,4 +480,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/applescript.php vendored Executable file → Normal file
View file

@ -154,4 +154,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/apt_sources.php vendored Executable file → Normal file
View file

@ -152,4 +152,3 @@ $language_data = array (
'TAB_WIDTH' => 4
);
?>

1
vendor/easybook/geshi/geshi/arm.php vendored Executable file → Normal file
View file

@ -3315,4 +3315,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/asm.php vendored Executable file → Normal file
View file

@ -600,4 +600,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/asp.php vendored Executable file → Normal file
View file

@ -161,4 +161,3 @@ $language_data = array (
)
);
?>

0
vendor/easybook/geshi/geshi/asymptote.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/autoconf.php vendored Executable file → Normal file
View file

@ -509,4 +509,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/autohotkey.php vendored Executable file → Normal file
View file

@ -370,4 +370,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/autoit.php vendored Executable file → Normal file
View file

@ -1172,4 +1172,3 @@ $language_data = array (
)
);
?>

2
vendor/easybook/geshi/geshi/avisynth.php vendored Executable file → Normal file
View file

@ -191,4 +191,4 @@ $language_data = array (
),
'TAB_WIDTH' => 4
);
?>

0
vendor/easybook/geshi/geshi/awk.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/bascomavr.php vendored Executable file → Normal file
View file

@ -182,4 +182,3 @@ $language_data = array (
'TAB_WIDTH' => 4
);
?>

1
vendor/easybook/geshi/geshi/bash.php vendored Executable file → Normal file
View file

@ -471,4 +471,3 @@ $language_data = array (
)
);
?>

0
vendor/easybook/geshi/geshi/basic4gl.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/bf.php vendored Executable file → Normal file
View file

@ -112,4 +112,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/bibtex.php vendored Executable file → Normal file
View file

@ -180,4 +180,3 @@ $language_data = array (
)
);
?>

0
vendor/easybook/geshi/geshi/blitzbasic.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/bnf.php vendored Executable file → Normal file
View file

@ -116,4 +116,3 @@ $language_data = array (
)
);
?>

0
vendor/easybook/geshi/geshi/boo.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/c.php vendored Executable file → Normal file
View file

@ -278,4 +278,3 @@ $language_data = array (
'TAB_WIDTH' => 4
);
?>

1
vendor/easybook/geshi/geshi/c_loadrunner.php vendored Executable file → Normal file
View file

@ -320,4 +320,3 @@ $language_data = array (
'TAB_WIDTH' => 4
);
?>

1
vendor/easybook/geshi/geshi/c_mac.php vendored Executable file → Normal file
View file

@ -224,4 +224,3 @@ $language_data = array (
'TAB_WIDTH' => 4
);
?>

0
vendor/easybook/geshi/geshi/caddcl.php vendored Executable file → Normal file
View file

0
vendor/easybook/geshi/geshi/cadlisp.php vendored Executable file → Normal file
View file

0
vendor/easybook/geshi/geshi/cfdg.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/cfm.php vendored Executable file → Normal file
View file

@ -296,4 +296,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/chaiscript.php vendored Executable file → Normal file
View file

@ -137,4 +137,3 @@ $language_data = array (
)
);
?>

0
vendor/easybook/geshi/geshi/cil.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/clojure.php vendored Executable file → Normal file
View file

@ -131,4 +131,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/cmake.php vendored Executable file → Normal file
View file

@ -178,4 +178,3 @@ $language_data = array (
)
);
?>

0
vendor/easybook/geshi/geshi/cobol.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/coffeescript.php vendored Executable file → Normal file
View file

@ -143,4 +143,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/cpp-qt.php vendored Executable file → Normal file
View file

@ -567,4 +567,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/cpp.php vendored Executable file → Normal file
View file

@ -243,4 +243,3 @@ $language_data = array (
)
);
?>

2
vendor/easybook/geshi/geshi/csharp.php vendored Executable file → Normal file
View file

@ -256,4 +256,4 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/css.php vendored Executable file → Normal file
View file

@ -223,4 +223,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/cuesheet.php vendored Executable file → Normal file
View file

@ -135,4 +135,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/d.php vendored Executable file → Normal file
View file

@ -249,4 +249,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/dcl.php vendored Executable file → Normal file
View file

@ -189,4 +189,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/dcpu16.php vendored Executable file → Normal file
View file

@ -128,4 +128,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/dcs.php vendored Executable file → Normal file
View file

@ -179,4 +179,3 @@ $language_data = array (
'TAB_WIDTH' => 4
);
?>

0
vendor/easybook/geshi/geshi/delphi.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/diff.php vendored Executable file → Normal file
View file

@ -193,4 +193,3 @@ $language_data = array (
)
);
?>

0
vendor/easybook/geshi/geshi/div.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/dos.php vendored Executable file → Normal file
View file

@ -224,4 +224,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/dot.php vendored Executable file → Normal file
View file

@ -161,4 +161,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/e.php vendored Executable file → Normal file
View file

@ -205,4 +205,3 @@ $language_data = array(
'HIGHLIGHT_STRICT_BLOCK' => array()
);
?>

1
vendor/easybook/geshi/geshi/ecmascript.php vendored Executable file → Normal file
View file

@ -207,4 +207,3 @@ $language_data = array (
'TAB_WIDTH' => 4
);
?>

0
vendor/easybook/geshi/geshi/eiffel.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/email.php vendored Executable file → Normal file
View file

@ -219,4 +219,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/epc.php vendored Executable file → Normal file
View file

@ -151,4 +151,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/erlang.php vendored Executable file → Normal file
View file

@ -438,4 +438,3 @@ $language_data = array(
),
);
?>

1
vendor/easybook/geshi/geshi/euphoria.php vendored Executable file → Normal file
View file

@ -137,4 +137,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/f1.php vendored Executable file → Normal file
View file

@ -148,4 +148,3 @@ $language_data = array(
'TAB_WIDTH' => 4
);
?>

1
vendor/easybook/geshi/geshi/falcon.php vendored Executable file → Normal file
View file

@ -215,4 +215,3 @@ $language_data = array (
'.'
)
);
?>

1
vendor/easybook/geshi/geshi/fo.php vendored Executable file → Normal file
View file

@ -324,4 +324,3 @@ $language_data = array (
'HIGHLIGHT_STRICT_BLOCK' => array(
)
);
?>

0
vendor/easybook/geshi/geshi/fortran.php vendored Executable file → Normal file
View file

0
vendor/easybook/geshi/geshi/freebasic.php vendored Executable file → Normal file
View file

0
vendor/easybook/geshi/geshi/freeswitch.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/fsharp.php vendored Executable file → Normal file
View file

@ -210,4 +210,3 @@ $language_data = array(
)
);
?>

1
vendor/easybook/geshi/geshi/gambas.php vendored Executable file → Normal file
View file

@ -211,4 +211,3 @@ $language_data = array (
)
);
?>

0
vendor/easybook/geshi/geshi/gdb.php vendored Executable file → Normal file
View file

0
vendor/easybook/geshi/geshi/genero.php vendored Executable file → Normal file
View file

0
vendor/easybook/geshi/geshi/genie.php vendored Executable file → Normal file
View file

0
vendor/easybook/geshi/geshi/gettext.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/glsl.php vendored Executable file → Normal file
View file

@ -202,4 +202,3 @@ $language_data = array (
)
);
?>

0
vendor/easybook/geshi/geshi/gml.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/gnuplot.php vendored Executable file → Normal file
View file

@ -293,4 +293,3 @@ $language_data = array (
'TAB_WIDTH' => 4
);
?>

1
vendor/easybook/geshi/geshi/go.php vendored Executable file → Normal file
View file

@ -372,4 +372,3 @@ $language_data = array(
)
);
?>

1
vendor/easybook/geshi/geshi/groovy.php vendored Executable file → Normal file
View file

@ -1008,4 +1008,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/gwbasic.php vendored Executable file → Normal file
View file

@ -150,4 +150,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/haskell.php vendored Executable file → Normal file
View file

@ -199,4 +199,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/haxe.php vendored Executable file → Normal file
View file

@ -158,4 +158,3 @@ $language_data = array (
),
);
?>

1
vendor/easybook/geshi/geshi/hicest.php vendored Executable file → Normal file
View file

@ -105,4 +105,3 @@ $language_data = array(
'HIGHLIGHT_STRICT_BLOCK' => array()
);
?>

0
vendor/easybook/geshi/geshi/hq9plus.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/html4strict.php vendored Executable file → Normal file
View file

@ -187,4 +187,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/html5.php vendored Executable file → Normal file
View file

@ -209,4 +209,3 @@ $language_data = array (
)
);
?>

1
vendor/easybook/geshi/geshi/icon.php vendored Executable file → Normal file
View file

@ -209,4 +209,3 @@ $language_data = array(
)
);
?>

0
vendor/easybook/geshi/geshi/idl.php vendored Executable file → Normal file
View file

0
vendor/easybook/geshi/geshi/ini.php vendored Executable file → Normal file
View file

0
vendor/easybook/geshi/geshi/inno.php vendored Executable file → Normal file
View file

1
vendor/easybook/geshi/geshi/intercal.php vendored Executable file → Normal file
View file

@ -119,4 +119,3 @@ $language_data = array (
)
);
?>

0
vendor/easybook/geshi/geshi/io.php vendored Executable file → Normal file
View file

0
vendor/easybook/geshi/geshi/j.php vendored Executable file → Normal file
View file

Some files were not shown because too many files have changed in this diff Show more