Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Codebase changes:

- Reorganized the folder structure to look more like an application project.
- Binaries (e.g. `chef`) are now in `/bin`.
- Main script (`piecrust.php`) is now in the root.
- External libraries are now handled with `composer`.
- Removed PHPUnit from the codebase.

--HG--
rename : _piecrust/chef => bin/chef
rename : _piecrust/chef.cmd => bin/chef.cmd
rename : _piecrust/chef.php => bin/chef.php
rename : _kitchen/generate_messages.cmd => build/generate_messages.cmd
rename : _kitchen/generate_messages.sh => build/generate_messages.sh
rename : _kitchen/messages/_content/config.yml => build/messages/_content/config.yml
rename : _kitchen/messages/_content/pages/404.html => build/messages/_content/pages/404.html
rename : _kitchen/messages/_content/pages/_index.html => build/messages/_content/pages/_index.html
rename : _kitchen/messages/_content/pages/critical.html => build/messages/_content/pages/critical.html
rename : _kitchen/messages/_content/pages/error.html => build/messages/_content/pages/error.html
rename : _kitchen/messages/_content/pages/requirements.html => build/messages/_content/pages/requirements.html
rename : _kitchen/messages/_content/pages/welcome.html => build/messages/_content/pages/welcome.html
rename : _kitchen/messages/_content/templates/default.html => build/messages/_content/templates/default.html
rename : _kitchen/messages/_content/templates/error.html => build/messages/_content/templates/error.html
rename : _piecrust/libs/StupidHttp/StupidHttp_ConsoleLog.php => libs/bolt80/stupidhttp/lib/StupidHttp/ConsoleLog.php
rename : _piecrust/libs/StupidHttp/StupidHttp_HandlerContext.php => libs/bolt80/stupidhttp/lib/StupidHttp/HandlerContext.php
rename : _piecrust/libs/StupidHttp/StupidHttp_Log.php => libs/bolt80/stupidhttp/lib/StupidHttp/Log.php
rename : _piecrust/libs/StupidHttp/StupidHttp_MultiLog.php => libs/bolt80/stupidhttp/lib/StupidHttp/MultiLog.php
rename : _piecrust/libs/StupidHttp/StupidHttp_PearLog.php => libs/bolt80/stupidhttp/lib/StupidHttp/PearLog.php
rename : _piecrust/libs/StupidHttp/StupidHttp_WebException.php => libs/bolt80/stupidhttp/lib/StupidHttp/WebException.php
rename : _piecrust/libs/StupidHttp/StupidHttp_WebRequest.php => libs/bolt80/stupidhttp/lib/StupidHttp/WebRequest.php
rename : _piecrust/libs/StupidHttp/StupidHttp_WebRequestHandler.php => libs/bolt80/stupidhttp/lib/StupidHttp/WebRequestHandler.php
rename : _piecrust/libs/StupidHttp/StupidHttp_WebResponse.php => libs/bolt80/stupidhttp/lib/StupidHttp/WebResponse.php
rename : _piecrust/libs/StupidHttp/StupidHttp_WebServer.php => libs/bolt80/stupidhttp/lib/StupidHttp/WebServer.php
rename : _piecrust/libs/StupidHttp/directory-listing.html => libs/bolt80/stupidhttp/lib/StupidHttp/directory-listing.html
rename : _piecrust/libs/StupidHttp/mime.types => libs/bolt80/stupidhttp/lib/StupidHttp/mime.types
rename : _piecrust/libs/Geshi/contrib/aliased.php => libs/geshi/geshi/contrib/aliased.php
rename : _piecrust/libs/Geshi/contrib/cssgen.php => libs/geshi/geshi/contrib/cssgen.php
rename : _piecrust/libs/Geshi/contrib/cssgen2.php => libs/geshi/geshi/contrib/cssgen2.php
rename : _piecrust/libs/Geshi/contrib/example.php => libs/geshi/geshi/contrib/example.php
rename : _piecrust/libs/Geshi/contrib/langcheck.php => libs/geshi/geshi/contrib/langcheck.php
rename : _piecrust/libs/Geshi/geshi.php => libs/geshi/geshi/geshi.php
rename : _piecrust/libs/Geshi/geshi/4cs.php => libs/geshi/geshi/geshi/4cs.php
rename : _piecrust/libs/Geshi/geshi/6502acme.php => libs/geshi/geshi/geshi/6502acme.php
rename : _piecrust/libs/Geshi/geshi/6502kickass.php => libs/geshi/geshi/geshi/6502kickass.php
rename : _piecrust/libs/Geshi/geshi/6502tasm.php => libs/geshi/geshi/geshi/6502tasm.php
rename : _piecrust/libs/Geshi/geshi/68000devpac.php => libs/geshi/geshi/geshi/68000devpac.php
rename : _piecrust/libs/Geshi/geshi/abap.php => libs/geshi/geshi/geshi/abap.php
rename : _piecrust/libs/Geshi/geshi/actionscript.php => libs/geshi/geshi/geshi/actionscript.php
rename : _piecrust/libs/Geshi/geshi/actionscript3.php => libs/geshi/geshi/geshi/actionscript3.php
rename : _piecrust/libs/Geshi/geshi/ada.php => libs/geshi/geshi/geshi/ada.php
rename : _piecrust/libs/Geshi/geshi/apache.php => libs/geshi/geshi/geshi/apache.php
rename : _piecrust/libs/Geshi/geshi/applescript.php => libs/geshi/geshi/geshi/applescript.php
rename : _piecrust/libs/Geshi/geshi/apt_sources.php => libs/geshi/geshi/geshi/apt_sources.php
rename : _piecrust/libs/Geshi/geshi/asm.php => libs/geshi/geshi/geshi/asm.php
rename : _piecrust/libs/Geshi/geshi/asp.php => libs/geshi/geshi/geshi/asp.php
rename : _piecrust/libs/Geshi/geshi/autoconf.php => libs/geshi/geshi/geshi/autoconf.php
rename : _piecrust/libs/Geshi/geshi/autohotkey.php => libs/geshi/geshi/geshi/autohotkey.php
rename : _piecrust/libs/Geshi/geshi/autoit.php => libs/geshi/geshi/geshi/autoit.php
rename : _piecrust/libs/Geshi/geshi/avisynth.php => libs/geshi/geshi/geshi/avisynth.php
rename : _piecrust/libs/Geshi/geshi/awk.php => libs/geshi/geshi/geshi/awk.php
rename : _piecrust/libs/Geshi/geshi/bash.php => libs/geshi/geshi/geshi/bash.php
rename : _piecrust/libs/Geshi/geshi/basic4gl.php => libs/geshi/geshi/geshi/basic4gl.php
rename : _piecrust/libs/Geshi/geshi/bf.php => libs/geshi/geshi/geshi/bf.php
rename : _piecrust/libs/Geshi/geshi/bibtex.php => libs/geshi/geshi/geshi/bibtex.php
rename : _piecrust/libs/Geshi/geshi/blitzbasic.php => libs/geshi/geshi/geshi/blitzbasic.php
rename : _piecrust/libs/Geshi/geshi/bnf.php => libs/geshi/geshi/geshi/bnf.php
rename : _piecrust/libs/Geshi/geshi/boo.php => libs/geshi/geshi/geshi/boo.php
rename : _piecrust/libs/Geshi/geshi/c.php => libs/geshi/geshi/geshi/c.php
rename : _piecrust/libs/Geshi/geshi/c_mac.php => libs/geshi/geshi/geshi/c_mac.php
rename : _piecrust/libs/Geshi/geshi/caddcl.php => libs/geshi/geshi/geshi/caddcl.php
rename : _piecrust/libs/Geshi/geshi/cadlisp.php => libs/geshi/geshi/geshi/cadlisp.php
rename : _piecrust/libs/Geshi/geshi/cfdg.php => libs/geshi/geshi/geshi/cfdg.php
rename : _piecrust/libs/Geshi/geshi/cfm.php => libs/geshi/geshi/geshi/cfm.php
rename : _piecrust/libs/Geshi/geshi/chaiscript.php => libs/geshi/geshi/geshi/chaiscript.php
rename : _piecrust/libs/Geshi/geshi/cil.php => libs/geshi/geshi/geshi/cil.php
rename : _piecrust/libs/Geshi/geshi/clojure.php => libs/geshi/geshi/geshi/clojure.php
rename : _piecrust/libs/Geshi/geshi/cmake.php => libs/geshi/geshi/geshi/cmake.php
rename : _piecrust/libs/Geshi/geshi/cobol.php => libs/geshi/geshi/geshi/cobol.php
rename : _piecrust/libs/Geshi/geshi/cpp-qt.php => libs/geshi/geshi/geshi/cpp-qt.php
rename : _piecrust/libs/Geshi/geshi/cpp.php => libs/geshi/geshi/geshi/cpp.php
rename : _piecrust/libs/Geshi/geshi/csharp.php => libs/geshi/geshi/geshi/csharp.php
rename : _piecrust/libs/Geshi/geshi/css.php => libs/geshi/geshi/geshi/css.php
rename : _piecrust/libs/Geshi/geshi/cuesheet.php => libs/geshi/geshi/geshi/cuesheet.php
rename : _piecrust/libs/Geshi/geshi/d.php => libs/geshi/geshi/geshi/d.php
rename : _piecrust/libs/Geshi/geshi/dcs.php => libs/geshi/geshi/geshi/dcs.php
rename : _piecrust/libs/Geshi/geshi/delphi.php => libs/geshi/geshi/geshi/delphi.php
rename : _piecrust/libs/Geshi/geshi/diff.php => libs/geshi/geshi/geshi/diff.php
rename : _piecrust/libs/Geshi/geshi/div.php => libs/geshi/geshi/geshi/div.php
rename : _piecrust/libs/Geshi/geshi/dos.php => libs/geshi/geshi/geshi/dos.php
rename : _piecrust/libs/Geshi/geshi/dot.php => libs/geshi/geshi/geshi/dot.php
rename : _piecrust/libs/Geshi/geshi/e.php => libs/geshi/geshi/geshi/e.php
rename : _piecrust/libs/Geshi/geshi/ecmascript.php => libs/geshi/geshi/geshi/ecmascript.php
rename : _piecrust/libs/Geshi/geshi/eiffel.php => libs/geshi/geshi/geshi/eiffel.php
rename : _piecrust/libs/Geshi/geshi/email.php => libs/geshi/geshi/geshi/email.php
rename : _piecrust/libs/Geshi/geshi/erlang.php => libs/geshi/geshi/geshi/erlang.php
rename : _piecrust/libs/Geshi/geshi/f1.php => libs/geshi/geshi/geshi/f1.php
rename : _piecrust/libs/Geshi/geshi/fo.php => libs/geshi/geshi/geshi/fo.php
rename : _piecrust/libs/Geshi/geshi/fortran.php => libs/geshi/geshi/geshi/fortran.php
rename : _piecrust/libs/Geshi/geshi/freebasic.php => libs/geshi/geshi/geshi/freebasic.php
rename : _piecrust/libs/Geshi/geshi/fsharp.php => libs/geshi/geshi/geshi/fsharp.php
rename : _piecrust/libs/Geshi/geshi/gambas.php => libs/geshi/geshi/geshi/gambas.php
rename : _piecrust/libs/Geshi/geshi/gdb.php => libs/geshi/geshi/geshi/gdb.php
rename : _piecrust/libs/Geshi/geshi/genero.php => libs/geshi/geshi/geshi/genero.php
rename : _piecrust/libs/Geshi/geshi/genie.php => libs/geshi/geshi/geshi/genie.php
rename : _piecrust/libs/Geshi/geshi/gettext.php => libs/geshi/geshi/geshi/gettext.php
rename : _piecrust/libs/Geshi/geshi/glsl.php => libs/geshi/geshi/geshi/glsl.php
rename : _piecrust/libs/Geshi/geshi/gml.php => libs/geshi/geshi/geshi/gml.php
rename : _piecrust/libs/Geshi/geshi/gnuplot.php => libs/geshi/geshi/geshi/gnuplot.php
rename : _piecrust/libs/Geshi/geshi/go.php => libs/geshi/geshi/geshi/go.php
rename : _piecrust/libs/Geshi/geshi/groovy.php => libs/geshi/geshi/geshi/groovy.php
rename : _piecrust/libs/Geshi/geshi/gwbasic.php => libs/geshi/geshi/geshi/gwbasic.php
rename : _piecrust/libs/Geshi/geshi/haskell.php => libs/geshi/geshi/geshi/haskell.php
rename : _piecrust/libs/Geshi/geshi/hicest.php => libs/geshi/geshi/geshi/hicest.php
rename : _piecrust/libs/Geshi/geshi/hq9plus.php => libs/geshi/geshi/geshi/hq9plus.php
rename : _piecrust/libs/Geshi/geshi/html4strict.php => libs/geshi/geshi/geshi/html4strict.php
rename : _piecrust/libs/Geshi/geshi/icon.php => libs/geshi/geshi/geshi/icon.php
rename : _piecrust/libs/Geshi/geshi/idl.php => libs/geshi/geshi/geshi/idl.php
rename : _piecrust/libs/Geshi/geshi/ini.php => libs/geshi/geshi/geshi/ini.php
rename : _piecrust/libs/Geshi/geshi/inno.php => libs/geshi/geshi/geshi/inno.php
rename : _piecrust/libs/Geshi/geshi/intercal.php => libs/geshi/geshi/geshi/intercal.php
rename : _piecrust/libs/Geshi/geshi/io.php => libs/geshi/geshi/geshi/io.php
rename : _piecrust/libs/Geshi/geshi/j.php => libs/geshi/geshi/geshi/j.php
rename : _piecrust/libs/Geshi/geshi/java.php => libs/geshi/geshi/geshi/java.php
rename : _piecrust/libs/Geshi/geshi/java5.php => libs/geshi/geshi/geshi/java5.php
rename : _piecrust/libs/Geshi/geshi/javascript.php => libs/geshi/geshi/geshi/javascript.php
rename : _piecrust/libs/Geshi/geshi/jquery.php => libs/geshi/geshi/geshi/jquery.php
rename : _piecrust/libs/Geshi/geshi/kixtart.php => libs/geshi/geshi/geshi/kixtart.php
rename : _piecrust/libs/Geshi/geshi/klonec.php => libs/geshi/geshi/geshi/klonec.php
rename : _piecrust/libs/Geshi/geshi/klonecpp.php => libs/geshi/geshi/geshi/klonecpp.php
rename : _piecrust/libs/Geshi/geshi/latex.php => libs/geshi/geshi/geshi/latex.php
rename : _piecrust/libs/Geshi/geshi/lb.php => libs/geshi/geshi/geshi/lb.php
rename : _piecrust/libs/Geshi/geshi/lisp.php => libs/geshi/geshi/geshi/lisp.php
rename : _piecrust/libs/Geshi/geshi/locobasic.php => libs/geshi/geshi/geshi/locobasic.php
rename : _piecrust/libs/Geshi/geshi/logtalk.php => libs/geshi/geshi/geshi/logtalk.php
rename : _piecrust/libs/Geshi/geshi/lolcode.php => libs/geshi/geshi/geshi/lolcode.php
rename : _piecrust/libs/Geshi/geshi/lotusformulas.php => libs/geshi/geshi/geshi/lotusformulas.php
rename : _piecrust/libs/Geshi/geshi/lotusscript.php => libs/geshi/geshi/geshi/lotusscript.php
rename : _piecrust/libs/Geshi/geshi/lscript.php => libs/geshi/geshi/geshi/lscript.php
rename : _piecrust/libs/Geshi/geshi/lsl2.php => libs/geshi/geshi/geshi/lsl2.php
rename : _piecrust/libs/Geshi/geshi/lua.php => libs/geshi/geshi/geshi/lua.php
rename : _piecrust/libs/Geshi/geshi/m68k.php => libs/geshi/geshi/geshi/m68k.php
rename : _piecrust/libs/Geshi/geshi/magiksf.php => libs/geshi/geshi/geshi/magiksf.php
rename : _piecrust/libs/Geshi/geshi/make.php => libs/geshi/geshi/geshi/make.php
rename : _piecrust/libs/Geshi/geshi/mapbasic.php => libs/geshi/geshi/geshi/mapbasic.php
rename : _piecrust/libs/Geshi/geshi/matlab.php => libs/geshi/geshi/geshi/matlab.php
rename : _piecrust/libs/Geshi/geshi/mirc.php => libs/geshi/geshi/geshi/mirc.php
rename : _piecrust/libs/Geshi/geshi/mmix.php => libs/geshi/geshi/geshi/mmix.php
rename : _piecrust/libs/Geshi/geshi/modula2.php => libs/geshi/geshi/geshi/modula2.php
rename : _piecrust/libs/Geshi/geshi/modula3.php => libs/geshi/geshi/geshi/modula3.php
rename : _piecrust/libs/Geshi/geshi/mpasm.php => libs/geshi/geshi/geshi/mpasm.php
rename : _piecrust/libs/Geshi/geshi/mxml.php => libs/geshi/geshi/geshi/mxml.php
rename : _piecrust/libs/Geshi/geshi/mysql.php => libs/geshi/geshi/geshi/mysql.php
rename : _piecrust/libs/Geshi/geshi/newlisp.php => libs/geshi/geshi/geshi/newlisp.php
rename : _piecrust/libs/Geshi/geshi/nsis.php => libs/geshi/geshi/geshi/nsis.php
rename : _piecrust/libs/Geshi/geshi/oberon2.php => libs/geshi/geshi/geshi/oberon2.php
rename : _piecrust/libs/Geshi/geshi/objc.php => libs/geshi/geshi/geshi/objc.php
rename : _piecrust/libs/Geshi/geshi/objeck.php => libs/geshi/geshi/geshi/objeck.php
rename : _piecrust/libs/Geshi/geshi/ocaml-brief.php => libs/geshi/geshi/geshi/ocaml-brief.php
rename : _piecrust/libs/Geshi/geshi/ocaml.php => libs/geshi/geshi/geshi/ocaml.php
rename : _piecrust/libs/Geshi/geshi/oobas.php => libs/geshi/geshi/geshi/oobas.php
rename : _piecrust/libs/Geshi/geshi/oracle11.php => libs/geshi/geshi/geshi/oracle11.php
rename : _piecrust/libs/Geshi/geshi/oracle8.php => libs/geshi/geshi/geshi/oracle8.php
rename : _piecrust/libs/Geshi/geshi/oxygene.php => libs/geshi/geshi/geshi/oxygene.php
rename : _piecrust/libs/Geshi/geshi/oz.php => libs/geshi/geshi/geshi/oz.php
rename : _piecrust/libs/Geshi/geshi/pascal.php => libs/geshi/geshi/geshi/pascal.php
rename : _piecrust/libs/Geshi/geshi/pcre.php => libs/geshi/geshi/geshi/pcre.php
rename : _piecrust/libs/Geshi/geshi/per.php => libs/geshi/geshi/geshi/per.php
rename : _piecrust/libs/Geshi/geshi/perl.php => libs/geshi/geshi/geshi/perl.php
rename : _piecrust/libs/Geshi/geshi/perl6.php => libs/geshi/geshi/geshi/perl6.php
rename : _piecrust/libs/Geshi/geshi/pf.php => libs/geshi/geshi/geshi/pf.php
rename : _piecrust/libs/Geshi/geshi/php-brief.php => libs/geshi/geshi/geshi/php-brief.php
rename : _piecrust/libs/Geshi/geshi/php.php => libs/geshi/geshi/geshi/php.php
rename : _piecrust/libs/Geshi/geshi/pic16.php => libs/geshi/geshi/geshi/pic16.php
rename : _piecrust/libs/Geshi/geshi/pike.php => libs/geshi/geshi/geshi/pike.php
rename : _piecrust/libs/Geshi/geshi/pixelbender.php => libs/geshi/geshi/geshi/pixelbender.php
rename : _piecrust/libs/Geshi/geshi/plsql.php => libs/geshi/geshi/geshi/plsql.php
rename : _piecrust/libs/Geshi/geshi/postgresql.php => libs/geshi/geshi/geshi/postgresql.php
rename : _piecrust/libs/Geshi/geshi/povray.php => libs/geshi/geshi/geshi/povray.php
rename : _piecrust/libs/Geshi/geshi/powerbuilder.php => libs/geshi/geshi/geshi/powerbuilder.php
rename : _piecrust/libs/Geshi/geshi/powershell.php => libs/geshi/geshi/geshi/powershell.php
rename : _piecrust/libs/Geshi/geshi/progress.php => libs/geshi/geshi/geshi/progress.php
rename : _piecrust/libs/Geshi/geshi/prolog.php => libs/geshi/geshi/geshi/prolog.php
rename : _piecrust/libs/Geshi/geshi/properties.php => libs/geshi/geshi/geshi/properties.php
rename : _piecrust/libs/Geshi/geshi/providex.php => libs/geshi/geshi/geshi/providex.php
rename : _piecrust/libs/Geshi/geshi/purebasic.php => libs/geshi/geshi/geshi/purebasic.php
rename : _piecrust/libs/Geshi/geshi/python.php => libs/geshi/geshi/geshi/python.php
rename : _piecrust/libs/Geshi/geshi/q.php => libs/geshi/geshi/geshi/q.php
rename : _piecrust/libs/Geshi/geshi/qbasic.php => libs/geshi/geshi/geshi/qbasic.php
rename : _piecrust/libs/Geshi/geshi/rails.php => libs/geshi/geshi/geshi/rails.php
rename : _piecrust/libs/Geshi/geshi/rebol.php => libs/geshi/geshi/geshi/rebol.php
rename : _piecrust/libs/Geshi/geshi/reg.php => libs/geshi/geshi/geshi/reg.php
rename : _piecrust/libs/Geshi/geshi/robots.php => libs/geshi/geshi/geshi/robots.php
rename : _piecrust/libs/Geshi/geshi/rpmspec.php => libs/geshi/geshi/geshi/rpmspec.php
rename : _piecrust/libs/Geshi/geshi/rsplus.php => libs/geshi/geshi/geshi/rsplus.php
rename : _piecrust/libs/Geshi/geshi/ruby.php => libs/geshi/geshi/geshi/ruby.php
rename : _piecrust/libs/Geshi/geshi/sas.php => libs/geshi/geshi/geshi/sas.php
rename : _piecrust/libs/Geshi/geshi/scala.php => libs/geshi/geshi/geshi/scala.php
rename : _piecrust/libs/Geshi/geshi/scheme.php => libs/geshi/geshi/geshi/scheme.php
rename : _piecrust/libs/Geshi/geshi/scilab.php => libs/geshi/geshi/geshi/scilab.php
rename : _piecrust/libs/Geshi/geshi/sdlbasic.php => libs/geshi/geshi/geshi/sdlbasic.php
rename : _piecrust/libs/Geshi/geshi/smalltalk.php => libs/geshi/geshi/geshi/smalltalk.php
rename : _piecrust/libs/Geshi/geshi/smarty.php => libs/geshi/geshi/geshi/smarty.php
rename : _piecrust/libs/Geshi/geshi/sql.php => libs/geshi/geshi/geshi/sql.php
rename : _piecrust/libs/Geshi/geshi/systemverilog.php => libs/geshi/geshi/geshi/systemverilog.php
rename : _piecrust/libs/Geshi/geshi/tcl.php => libs/geshi/geshi/geshi/tcl.php
rename : _piecrust/libs/Geshi/geshi/teraterm.php => libs/geshi/geshi/geshi/teraterm.php
rename : _piecrust/libs/Geshi/geshi/text.php => libs/geshi/geshi/geshi/text.php
rename : _piecrust/libs/Geshi/geshi/thinbasic.php => libs/geshi/geshi/geshi/thinbasic.php
rename : _piecrust/libs/Geshi/geshi/tsql.php => libs/geshi/geshi/geshi/tsql.php
rename : _piecrust/libs/Geshi/geshi/typoscript.php => libs/geshi/geshi/geshi/typoscript.php
rename : _piecrust/libs/Geshi/geshi/unicon.php => libs/geshi/geshi/geshi/unicon.php
rename : _piecrust/libs/Geshi/geshi/vala.php => libs/geshi/geshi/geshi/vala.php
rename : _piecrust/libs/Geshi/geshi/vb.php => libs/geshi/geshi/geshi/vb.php
rename : _piecrust/libs/Geshi/geshi/vbnet.php => libs/geshi/geshi/geshi/vbnet.php
rename : _piecrust/libs/Geshi/geshi/verilog.php => libs/geshi/geshi/geshi/verilog.php
rename : _piecrust/libs/Geshi/geshi/vhdl.php => libs/geshi/geshi/geshi/vhdl.php
rename : _piecrust/libs/Geshi/geshi/vim.php => libs/geshi/geshi/geshi/vim.php
rename : _piecrust/libs/Geshi/geshi/visualfoxpro.php => libs/geshi/geshi/geshi/visualfoxpro.php
rename : _piecrust/libs/Geshi/geshi/visualprolog.php => libs/geshi/geshi/geshi/visualprolog.php
rename : _piecrust/libs/Geshi/geshi/whitespace.php => libs/geshi/geshi/geshi/whitespace.php
rename : _piecrust/libs/Geshi/geshi/whois.php => libs/geshi/geshi/geshi/whois.php
rename : _piecrust/libs/Geshi/geshi/winbatch.php => libs/geshi/geshi/geshi/winbatch.php
rename : _piecrust/libs/Geshi/geshi/xbasic.php => libs/geshi/geshi/geshi/xbasic.php
rename : _piecrust/libs/Geshi/geshi/xml.php => libs/geshi/geshi/geshi/xml.php
rename : _piecrust/libs/Geshi/geshi/xorg_conf.php => libs/geshi/geshi/geshi/xorg_conf.php
rename : _piecrust/libs/Geshi/geshi/xpp.php => libs/geshi/geshi/geshi/xpp.php
rename : _piecrust/libs/Geshi/geshi/z80.php => libs/geshi/geshi/geshi/z80.php
rename : _piecrust/libs/Geshi/geshi/zxbasic.php => libs/geshi/geshi/geshi/zxbasic.php
rename : _piecrust/libs/LessPhp/LICENSE => libs/lessphp/lessphp/LICENSE
rename : _piecrust/libs/LessPhp/README.md => libs/lessphp/lessphp/README.md
rename : _piecrust/libs/LessPhp/lessc.inc.php => libs/lessphp/lessphp/lessc.inc.php
rename : _piecrust/libs/LessPhp/lessify => libs/lessphp/lessphp/lessify
rename : _piecrust/libs/LessPhp/lessify.inc.php => libs/lessphp/lessphp/lessify.inc.php
rename : _piecrust/libs/LessPhp/plessc => libs/lessphp/lessphp/plessc
rename : _piecrust/libs/MarkdownExtra/License.text => libs/markdown/markdown-extra/License.text
rename : _piecrust/libs/MarkdownExtra/PHP Markdown Extra Readme.text => libs/markdown/markdown-extra/PHP Markdown Extra Readme.text
rename : _piecrust/libs/MarkdownExtra/markdown.php => libs/markdown/markdown-extra/markdown.php
rename : _piecrust/libs/Markdown/License.text => libs/markdown/markdown/License.text
rename : _piecrust/libs/Markdown/PHP Markdown Readme.text => libs/markdown/markdown/PHP Markdown Readme.text
rename : _piecrust/libs/Markdown/markdown.php => libs/markdown/markdown/markdown.php
rename : _piecrust/libs/Mustache/LICENSE => libs/mustache/mustache/LICENSE
rename : _piecrust/libs/Mustache/Mustache.php => libs/mustache/mustache/Mustache.php
rename : _piecrust/libs/Console/CommandLine.php => libs/pear/Console/CommandLine.php
rename : _piecrust/libs/Console/CommandLine/Action.php => libs/pear/Console/CommandLine/Action.php
rename : _piecrust/libs/Console/CommandLine/Action/Callback.php => libs/pear/Console/CommandLine/Action/Callback.php
rename : _piecrust/libs/Console/CommandLine/Action/Counter.php => libs/pear/Console/CommandLine/Action/Counter.php
rename : _piecrust/libs/Console/CommandLine/Action/Help.php => libs/pear/Console/CommandLine/Action/Help.php
rename : _piecrust/libs/Console/CommandLine/Action/List.php => libs/pear/Console/CommandLine/Action/List.php
rename : _piecrust/libs/Console/CommandLine/Action/Password.php => libs/pear/Console/CommandLine/Action/Password.php
rename : _piecrust/libs/Console/CommandLine/Action/StoreArray.php => libs/pear/Console/CommandLine/Action/StoreArray.php
rename : _piecrust/libs/Console/CommandLine/Action/StoreFalse.php => libs/pear/Console/CommandLine/Action/StoreFalse.php
rename : _piecrust/libs/Console/CommandLine/Action/StoreFloat.php => libs/pear/Console/CommandLine/Action/StoreFloat.php
rename : _piecrust/libs/Console/CommandLine/Action/StoreInt.php => libs/pear/Console/CommandLine/Action/StoreInt.php
rename : _piecrust/libs/Console/CommandLine/Action/StoreString.php => libs/pear/Console/CommandLine/Action/StoreString.php
rename : _piecrust/libs/Console/CommandLine/Action/StoreTrue.php => libs/pear/Console/CommandLine/Action/StoreTrue.php
rename : _piecrust/libs/Console/CommandLine/Action/Version.php => libs/pear/Console/CommandLine/Action/Version.php
rename : _piecrust/libs/Console/CommandLine/Argument.php => libs/pear/Console/CommandLine/Argument.php
rename : _piecrust/libs/Console/CommandLine/Command.php => libs/pear/Console/CommandLine/Command.php
rename : _piecrust/libs/Console/CommandLine/CustomMessageProvider.php => libs/pear/Console/CommandLine/CustomMessageProvider.php
rename : _piecrust/libs/Console/CommandLine/Element.php => libs/pear/Console/CommandLine/Element.php
rename : _piecrust/libs/Console/CommandLine/Exception.php => libs/pear/Console/CommandLine/Exception.php
rename : _piecrust/libs/Console/CommandLine/MessageProvider.php => libs/pear/Console/CommandLine/MessageProvider.php
rename : _piecrust/libs/Console/CommandLine/MessageProvider/Default.php => libs/pear/Console/CommandLine/MessageProvider/Default.php
rename : _piecrust/libs/Console/CommandLine/Option.php => libs/pear/Console/CommandLine/Option.php
rename : _piecrust/libs/Console/CommandLine/Outputter.php => libs/pear/Console/CommandLine/Outputter.php
rename : _piecrust/libs/Console/CommandLine/Outputter/Default.php => libs/pear/Console/CommandLine/Outputter/Default.php
rename : _piecrust/libs/Console/CommandLine/Renderer.php => libs/pear/Console/CommandLine/Renderer.php
rename : _piecrust/libs/Console/CommandLine/Renderer/Default.php => libs/pear/Console/CommandLine/Renderer/Default.php
rename : _piecrust/libs/Console/CommandLine/Result.php => libs/pear/Console/CommandLine/Result.php
rename : _piecrust/libs/Console/CommandLine/XmlParser.php => libs/pear/Console/CommandLine/XmlParser.php
rename : _piecrust/libs/Console/Getopt.php => libs/pear/Console/Getopt.php
rename : _piecrust/libs/Log.php => libs/pear/Log.php
rename : _piecrust/libs/Log/composite.php => libs/pear/Log/composite.php
rename : _piecrust/libs/Log/console.php => libs/pear/Log/console.php
rename : _piecrust/libs/Log/daemon.php => libs/pear/Log/daemon.php
rename : _piecrust/libs/Log/display.php => libs/pear/Log/display.php
rename : _piecrust/libs/Log/error_log.php => libs/pear/Log/error_log.php
rename : _piecrust/libs/Log/file.php => libs/pear/Log/file.php
rename : _piecrust/libs/Log/firebug.php => libs/pear/Log/firebug.php
rename : _piecrust/libs/Log/mail.php => libs/pear/Log/mail.php
rename : _piecrust/libs/Log/mcal.php => libs/pear/Log/mcal.php
rename : _piecrust/libs/Log/mdb2.php => libs/pear/Log/mdb2.php
rename : _piecrust/libs/Log/null.php => libs/pear/Log/null.php
rename : _piecrust/libs/Log/observer.php => libs/pear/Log/observer.php
rename : _piecrust/libs/Log/sql.php => libs/pear/Log/sql.php
rename : _piecrust/libs/Log/sqlite.php => libs/pear/Log/sqlite.php
rename : _piecrust/libs/Log/syslog.php => libs/pear/Log/syslog.php
rename : _piecrust/libs/Log/win.php => libs/pear/Log/win.php
rename : _piecrust/libs/PEAR.php => libs/pear/PEAR.php
rename : _piecrust/libs/PEAR5.php => libs/pear/PEAR5.php
rename : _piecrust/libs/System.php => libs/pear/System.php
rename : _piecrust/libs/SmartypantsTypographer/License.text => libs/smartypants/smartypants-typographer/License.text
rename : _piecrust/libs/SmartypantsTypographer/PHP SmartyPants Readme.txt => libs/smartypants/smartypants-typographer/PHP SmartyPants Readme.txt
rename : _piecrust/libs/SmartypantsTypographer/smartypants.php => libs/smartypants/smartypants-typographer/smartypants.php
rename : _piecrust/libs/SmartypantsTypographer/License.text => libs/smartypants/smartypants/License.text
rename : _piecrust/libs/Smartypants/PHP SmartyPants Readme.txt => libs/smartypants/smartypants/PHP SmartyPants Readme.txt
rename : _piecrust/libs/Twig/AUTHORS => libs/twig/twig/AUTHORS
rename : _piecrust/libs/Twig/CHANGELOG => libs/twig/twig/CHANGELOG
rename : _piecrust/libs/Twig/LICENSE => libs/twig/twig/LICENSE
rename : _piecrust/libs/Twig/README.markdown => libs/twig/twig/README.markdown
rename : _piecrust/libs/Twig/lib/Twig/Autoloader.php => libs/twig/twig/lib/Twig/Autoloader.php
rename : _piecrust/libs/Twig/lib/Twig/Compiler.php => libs/twig/twig/lib/Twig/Compiler.php
rename : _piecrust/libs/Twig/lib/Twig/CompilerInterface.php => libs/twig/twig/lib/Twig/CompilerInterface.php
rename : _piecrust/libs/Twig/lib/Twig/Environment.php => libs/twig/twig/lib/Twig/Environment.php
rename : _piecrust/libs/Twig/lib/Twig/Error.php => libs/twig/twig/lib/Twig/Error.php
rename : _piecrust/libs/Twig/lib/Twig/Error/Loader.php => libs/twig/twig/lib/Twig/Error/Loader.php
rename : _piecrust/libs/Twig/lib/Twig/Error/Runtime.php => libs/twig/twig/lib/Twig/Error/Runtime.php
rename : _piecrust/libs/Twig/lib/Twig/Error/Syntax.php => libs/twig/twig/lib/Twig/Error/Syntax.php
rename : _piecrust/libs/Twig/lib/Twig/ExpressionParser.php => libs/twig/twig/lib/Twig/ExpressionParser.php
rename : _piecrust/libs/Twig/lib/Twig/Extension.php => libs/twig/twig/lib/Twig/Extension.php
rename : _piecrust/libs/Twig/lib/Twig/Extension/Core.php => libs/twig/twig/lib/Twig/Extension/Core.php
rename : _piecrust/libs/Twig/lib/Twig/Extension/Debug.php => libs/twig/twig/lib/Twig/Extension/Debug.php
rename : _piecrust/libs/Twig/lib/Twig/Extension/Escaper.php => libs/twig/twig/lib/Twig/Extension/Escaper.php
rename : _piecrust/libs/Twig/lib/Twig/Extension/Optimizer.php => libs/twig/twig/lib/Twig/Extension/Optimizer.php
rename : _piecrust/libs/Twig/lib/Twig/Extension/Sandbox.php => libs/twig/twig/lib/Twig/Extension/Sandbox.php
rename : _piecrust/libs/Twig/lib/Twig/ExtensionInterface.php => libs/twig/twig/lib/Twig/ExtensionInterface.php
rename : _piecrust/libs/Twig/lib/Twig/Filter.php => libs/twig/twig/lib/Twig/Filter.php
rename : _piecrust/libs/Twig/lib/Twig/Filter/Function.php => libs/twig/twig/lib/Twig/Filter/Function.php
rename : _piecrust/libs/Twig/lib/Twig/Filter/Method.php => libs/twig/twig/lib/Twig/Filter/Method.php
rename : _piecrust/libs/Twig/lib/Twig/Filter/Node.php => libs/twig/twig/lib/Twig/Filter/Node.php
rename : _piecrust/libs/Twig/lib/Twig/FilterInterface.php => libs/twig/twig/lib/Twig/FilterInterface.php
rename : _piecrust/libs/Twig/lib/Twig/Function.php => libs/twig/twig/lib/Twig/Function.php
rename : _piecrust/libs/Twig/lib/Twig/Function/Function.php => libs/twig/twig/lib/Twig/Function/Function.php
rename : _piecrust/libs/Twig/lib/Twig/Function/Method.php => libs/twig/twig/lib/Twig/Function/Method.php
rename : _piecrust/libs/Twig/lib/Twig/Function/Node.php => libs/twig/twig/lib/Twig/Function/Node.php
rename : _piecrust/libs/Twig/lib/Twig/FunctionInterface.php => libs/twig/twig/lib/Twig/FunctionInterface.php
rename : _piecrust/libs/Twig/lib/Twig/Lexer.php => libs/twig/twig/lib/Twig/Lexer.php
rename : _piecrust/libs/Twig/lib/Twig/LexerInterface.php => libs/twig/twig/lib/Twig/LexerInterface.php
rename : _piecrust/libs/Twig/lib/Twig/Loader/Array.php => libs/twig/twig/lib/Twig/Loader/Array.php
rename : _piecrust/libs/Twig/lib/Twig/Loader/Chain.php => libs/twig/twig/lib/Twig/Loader/Chain.php
rename : _piecrust/libs/Twig/lib/Twig/Loader/Filesystem.php => libs/twig/twig/lib/Twig/Loader/Filesystem.php
rename : _piecrust/libs/Twig/lib/Twig/Loader/String.php => libs/twig/twig/lib/Twig/Loader/String.php
rename : _piecrust/libs/Twig/lib/Twig/LoaderInterface.php => libs/twig/twig/lib/Twig/LoaderInterface.php
rename : _piecrust/libs/Twig/lib/Twig/Markup.php => libs/twig/twig/lib/Twig/Markup.php
rename : _piecrust/libs/Twig/lib/Twig/Node.php => libs/twig/twig/lib/Twig/Node.php
rename : _piecrust/libs/Twig/lib/Twig/Node/AutoEscape.php => libs/twig/twig/lib/Twig/Node/AutoEscape.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Block.php => libs/twig/twig/lib/Twig/Node/Block.php
rename : _piecrust/libs/Twig/lib/Twig/Node/BlockReference.php => libs/twig/twig/lib/Twig/Node/BlockReference.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Body.php => libs/twig/twig/lib/Twig/Node/Body.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Do.php => libs/twig/twig/lib/Twig/Node/Do.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression.php => libs/twig/twig/lib/Twig/Node/Expression.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Array.php => libs/twig/twig/lib/Twig/Node/Expression/Array.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/AssignName.php => libs/twig/twig/lib/Twig/Node/Expression/AssignName.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary.php => libs/twig/twig/lib/Twig/Node/Expression/Binary.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/Add.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/Add.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/And.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/And.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/BitwiseAnd.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/BitwiseAnd.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/BitwiseOr.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/BitwiseOr.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/BitwiseXor.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/BitwiseXor.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/Concat.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/Concat.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/Div.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/Div.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/Equal.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/Equal.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/FloorDiv.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/FloorDiv.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/Greater.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/Greater.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/GreaterEqual.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/GreaterEqual.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/In.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/In.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/Less.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/Less.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/LessEqual.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/LessEqual.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/Mod.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/Mod.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/Mul.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/Mul.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/NotEqual.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/NotEqual.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/NotIn.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/NotIn.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/Or.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/Or.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/Power.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/Power.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/Range.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/Range.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Binary/Sub.php => libs/twig/twig/lib/Twig/Node/Expression/Binary/Sub.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/BlockReference.php => libs/twig/twig/lib/Twig/Node/Expression/BlockReference.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Conditional.php => libs/twig/twig/lib/Twig/Node/Expression/Conditional.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Constant.php => libs/twig/twig/lib/Twig/Node/Expression/Constant.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/ExtensionReference.php => libs/twig/twig/lib/Twig/Node/Expression/ExtensionReference.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Filter.php => libs/twig/twig/lib/Twig/Node/Expression/Filter.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Filter/Default.php => libs/twig/twig/lib/Twig/Node/Expression/Filter/Default.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Function.php => libs/twig/twig/lib/Twig/Node/Expression/Function.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/GetAttr.php => libs/twig/twig/lib/Twig/Node/Expression/GetAttr.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/MethodCall.php => libs/twig/twig/lib/Twig/Node/Expression/MethodCall.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Name.php => libs/twig/twig/lib/Twig/Node/Expression/Name.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Parent.php => libs/twig/twig/lib/Twig/Node/Expression/Parent.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/TempName.php => libs/twig/twig/lib/Twig/Node/Expression/TempName.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Test.php => libs/twig/twig/lib/Twig/Node/Expression/Test.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Test/Constant.php => libs/twig/twig/lib/Twig/Node/Expression/Test/Constant.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Test/Defined.php => libs/twig/twig/lib/Twig/Node/Expression/Test/Defined.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Test/Divisibleby.php => libs/twig/twig/lib/Twig/Node/Expression/Test/Divisibleby.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Test/Even.php => libs/twig/twig/lib/Twig/Node/Expression/Test/Even.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Test/Null.php => libs/twig/twig/lib/Twig/Node/Expression/Test/Null.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Test/Odd.php => libs/twig/twig/lib/Twig/Node/Expression/Test/Odd.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Test/Sameas.php => libs/twig/twig/lib/Twig/Node/Expression/Test/Sameas.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Unary.php => libs/twig/twig/lib/Twig/Node/Expression/Unary.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Unary/Neg.php => libs/twig/twig/lib/Twig/Node/Expression/Unary/Neg.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Unary/Not.php => libs/twig/twig/lib/Twig/Node/Expression/Unary/Not.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Expression/Unary/Pos.php => libs/twig/twig/lib/Twig/Node/Expression/Unary/Pos.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Flush.php => libs/twig/twig/lib/Twig/Node/Flush.php
rename : _piecrust/libs/Twig/lib/Twig/Node/For.php => libs/twig/twig/lib/Twig/Node/For.php
rename : _piecrust/libs/Twig/lib/Twig/Node/ForLoop.php => libs/twig/twig/lib/Twig/Node/ForLoop.php
rename : _piecrust/libs/Twig/lib/Twig/Node/If.php => libs/twig/twig/lib/Twig/Node/If.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Import.php => libs/twig/twig/lib/Twig/Node/Import.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Include.php => libs/twig/twig/lib/Twig/Node/Include.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Macro.php => libs/twig/twig/lib/Twig/Node/Macro.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Module.php => libs/twig/twig/lib/Twig/Node/Module.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Print.php => libs/twig/twig/lib/Twig/Node/Print.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Sandbox.php => libs/twig/twig/lib/Twig/Node/Sandbox.php
rename : _piecrust/libs/Twig/lib/Twig/Node/SandboxedModule.php => libs/twig/twig/lib/Twig/Node/SandboxedModule.php
rename : _piecrust/libs/Twig/lib/Twig/Node/SandboxedPrint.php => libs/twig/twig/lib/Twig/Node/SandboxedPrint.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Set.php => libs/twig/twig/lib/Twig/Node/Set.php
rename : _piecrust/libs/Twig/lib/Twig/Node/SetTemp.php => libs/twig/twig/lib/Twig/Node/SetTemp.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Spaceless.php => libs/twig/twig/lib/Twig/Node/Spaceless.php
rename : _piecrust/libs/Twig/lib/Twig/Node/Text.php => libs/twig/twig/lib/Twig/Node/Text.php
rename : _piecrust/libs/Twig/lib/Twig/NodeInterface.php => libs/twig/twig/lib/Twig/NodeInterface.php
rename : _piecrust/libs/Twig/lib/Twig/NodeOutputInterface.php => libs/twig/twig/lib/Twig/NodeOutputInterface.php
rename : _piecrust/libs/Twig/lib/Twig/NodeTraverser.php => libs/twig/twig/lib/Twig/NodeTraverser.php
rename : _piecrust/libs/Twig/lib/Twig/NodeVisitor/Escaper.php => libs/twig/twig/lib/Twig/NodeVisitor/Escaper.php
rename : _piecrust/libs/Twig/lib/Twig/NodeVisitor/Optimizer.php => libs/twig/twig/lib/Twig/NodeVisitor/Optimizer.php
rename : _piecrust/libs/Twig/lib/Twig/NodeVisitor/SafeAnalysis.php => libs/twig/twig/lib/Twig/NodeVisitor/SafeAnalysis.php
rename : _piecrust/libs/Twig/lib/Twig/NodeVisitor/Sandbox.php => libs/twig/twig/lib/Twig/NodeVisitor/Sandbox.php
rename : _piecrust/libs/Twig/lib/Twig/NodeVisitorInterface.php => libs/twig/twig/lib/Twig/NodeVisitorInterface.php
rename : _piecrust/libs/Twig/lib/Twig/Parser.php => libs/twig/twig/lib/Twig/Parser.php
rename : _piecrust/libs/Twig/lib/Twig/ParserInterface.php => libs/twig/twig/lib/Twig/ParserInterface.php
rename : _piecrust/libs/Twig/lib/Twig/Sandbox/SecurityError.php => libs/twig/twig/lib/Twig/Sandbox/SecurityError.php
rename : _piecrust/libs/Twig/lib/Twig/Sandbox/SecurityPolicy.php => libs/twig/twig/lib/Twig/Sandbox/SecurityPolicy.php
rename : _piecrust/libs/Twig/lib/Twig/Sandbox/SecurityPolicyInterface.php => libs/twig/twig/lib/Twig/Sandbox/SecurityPolicyInterface.php
rename : _piecrust/libs/Twig/lib/Twig/Template.php => libs/twig/twig/lib/Twig/Template.php
rename : _piecrust/libs/Twig/lib/Twig/TemplateInterface.php => libs/twig/twig/lib/Twig/TemplateInterface.php
rename : _piecrust/libs/Twig/lib/Twig/Test/Function.php => libs/twig/twig/lib/Twig/Test/Function.php
rename : _piecrust/libs/Twig/lib/Twig/Test/Method.php => libs/twig/twig/lib/Twig/Test/Method.php
rename : _piecrust/libs/Twig/lib/Twig/Test/Node.php => libs/twig/twig/lib/Twig/Test/Node.php
rename : _piecrust/libs/Twig/lib/Twig/TestInterface.php => libs/twig/twig/lib/Twig/TestInterface.php
rename : _piecrust/libs/Twig/lib/Twig/Token.php => libs/twig/twig/lib/Twig/Token.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser.php => libs/twig/twig/lib/Twig/TokenParser.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/AutoEscape.php => libs/twig/twig/lib/Twig/TokenParser/AutoEscape.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/Block.php => libs/twig/twig/lib/Twig/TokenParser/Block.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/Do.php => libs/twig/twig/lib/Twig/TokenParser/Do.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/Extends.php => libs/twig/twig/lib/Twig/TokenParser/Extends.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/Filter.php => libs/twig/twig/lib/Twig/TokenParser/Filter.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/Flush.php => libs/twig/twig/lib/Twig/TokenParser/Flush.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/For.php => libs/twig/twig/lib/Twig/TokenParser/For.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/From.php => libs/twig/twig/lib/Twig/TokenParser/From.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/If.php => libs/twig/twig/lib/Twig/TokenParser/If.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/Import.php => libs/twig/twig/lib/Twig/TokenParser/Import.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/Include.php => libs/twig/twig/lib/Twig/TokenParser/Include.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/Macro.php => libs/twig/twig/lib/Twig/TokenParser/Macro.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/Sandbox.php => libs/twig/twig/lib/Twig/TokenParser/Sandbox.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/Set.php => libs/twig/twig/lib/Twig/TokenParser/Set.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/Spaceless.php => libs/twig/twig/lib/Twig/TokenParser/Spaceless.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParser/Use.php => libs/twig/twig/lib/Twig/TokenParser/Use.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParserBroker.php => libs/twig/twig/lib/Twig/TokenParserBroker.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParserBrokerInterface.php => libs/twig/twig/lib/Twig/TokenParserBrokerInterface.php
rename : _piecrust/libs/Twig/lib/Twig/TokenParserInterface.php => libs/twig/twig/lib/Twig/TokenParserInterface.php
rename : _piecrust/libs/Twig/lib/Twig/TokenStream.php => libs/twig/twig/lib/Twig/TokenStream.php
rename : _piecrust/piecrust.php => piecrust.php
rename : _piecrust/resources/messages/404.html => res/messages/404.html
rename : _piecrust/resources/messages/critical.html => res/messages/critical.html
rename : _piecrust/resources/messages/error.html => res/messages/error.html
rename : _piecrust/resources/messages/requirements.html => res/messages/requirements.html
rename : _piecrust/resources/messages/welcome.html => res/messages/welcome.html
rename : _piecrust/resources/webinit/default_index.html => res/webinit/default_index.html
rename : _piecrust/resources/webinit/default_template.html => res/webinit/default_template.html
rename : _piecrust/resources/webinit/htaccess => res/webinit/htaccess
rename : _piecrust/resources/webinit/web.config => res/webinit/web.config
rename : _piecrust/src/PieCrust/Baker/BakeRecord.php => src/PieCrust/Baker/BakeRecord.php
rename : _piecrust/src/PieCrust/Baker/DirectoryBaker.php => src/PieCrust/Baker/DirectoryBaker.php
rename : _piecrust/src/PieCrust/Baker/PageBaker.php => src/PieCrust/Baker/PageBaker.php
rename : _piecrust/src/PieCrust/Baker/PieCrustBaker.php => src/PieCrust/Baker/PieCrustBaker.php
rename : _piecrust/src/PieCrust/Baker/ProcessingTreeBuilder.php => src/PieCrust/Baker/ProcessingTreeBuilder.php
rename : _piecrust/src/PieCrust/Baker/ProcessingTreeNode.php => src/PieCrust/Baker/ProcessingTreeNode.php
rename : _piecrust/src/PieCrust/Baker/Processors/CopyFileProcessor.php => src/PieCrust/Baker/Processors/CopyFileProcessor.php
rename : _piecrust/src/PieCrust/Baker/Processors/IProcessor.php => src/PieCrust/Baker/Processors/IProcessor.php
rename : _piecrust/src/PieCrust/Baker/Processors/LessProcessor.php => src/PieCrust/Baker/Processors/LessProcessor.php
rename : _piecrust/src/PieCrust/Baker/Processors/SimpleFileProcessor.php => src/PieCrust/Baker/Processors/SimpleFileProcessor.php
rename : _piecrust/src/PieCrust/Baker/Processors/SitemapProcessor.php => src/PieCrust/Baker/Processors/SitemapProcessor.php
rename : _piecrust/src/PieCrust/Chef/Chef.php => src/PieCrust/Chef/Chef.php
rename : _piecrust/src/PieCrust/Chef/ChefContext.php => src/PieCrust/Chef/ChefContext.php
rename : _piecrust/src/PieCrust/Chef/Commands/BakeCommand.php => src/PieCrust/Chef/Commands/BakeCommand.php
rename : _piecrust/src/PieCrust/Chef/Commands/CategoriesCommand.php => src/PieCrust/Chef/Commands/CategoriesCommand.php
rename : _piecrust/src/PieCrust/Chef/Commands/ChefCommand.php => src/PieCrust/Chef/Commands/ChefCommand.php
rename : _piecrust/src/PieCrust/Chef/Commands/FindCommand.php => src/PieCrust/Chef/Commands/FindCommand.php
rename : _piecrust/src/PieCrust/Chef/Commands/HelpCommand.php => src/PieCrust/Chef/Commands/HelpCommand.php
rename : _piecrust/src/PieCrust/Chef/Commands/ImportCommand.php => src/PieCrust/Chef/Commands/ImportCommand.php
rename : _piecrust/src/PieCrust/Chef/Commands/InitCommand.php => src/PieCrust/Chef/Commands/InitCommand.php
rename : _piecrust/src/PieCrust/Chef/Commands/PluginsCommand.php => src/PieCrust/Chef/Commands/PluginsCommand.php
rename : _piecrust/src/PieCrust/Chef/Commands/PrepareCommand.php => src/PieCrust/Chef/Commands/PrepareCommand.php
rename : _piecrust/src/PieCrust/Chef/Commands/PurgeCommand.php => src/PieCrust/Chef/Commands/PurgeCommand.php
rename : _piecrust/src/PieCrust/Chef/Commands/RootCommand.php => src/PieCrust/Chef/Commands/RootCommand.php
rename : _piecrust/src/PieCrust/Chef/Commands/ServeCommand.php => src/PieCrust/Chef/Commands/ServeCommand.php
rename : _piecrust/src/PieCrust/Chef/Commands/ShowConfigCommand.php => src/PieCrust/Chef/Commands/ShowConfigCommand.php
rename : _piecrust/src/PieCrust/Chef/Commands/StatsCommand.php => src/PieCrust/Chef/Commands/StatsCommand.php
rename : _piecrust/src/PieCrust/Chef/Commands/TagsCommand.php => src/PieCrust/Chef/Commands/TagsCommand.php
rename : _piecrust/src/PieCrust/Chef/Commands/UploadCommand.php => src/PieCrust/Chef/Commands/UploadCommand.php
rename : _piecrust/src/PieCrust/Chef/NullPieCrust.php => src/PieCrust/Chef/NullPieCrust.php
rename : _piecrust/src/PieCrust/Data/BlogData.php => src/PieCrust/Data/BlogData.php
rename : _piecrust/src/PieCrust/Data/DataBuilder.php => src/PieCrust/Data/DataBuilder.php
rename : _piecrust/src/PieCrust/Data/DataFormatter.php => src/PieCrust/Data/DataFormatter.php
rename : _piecrust/src/PieCrust/Data/DataStyles.php => src/PieCrust/Data/DataStyles.php
rename : _piecrust/src/PieCrust/Data/PagePropertyArrayData.php => src/PieCrust/Data/PagePropertyArrayData.php
rename : _piecrust/src/PieCrust/Data/PagePropertyData.php => src/PieCrust/Data/PagePropertyData.php
rename : _piecrust/src/PieCrust/Data/PageTimeData.php => src/PieCrust/Data/PageTimeData.php
rename : _piecrust/src/PieCrust/Data/PaginationData.php => src/PieCrust/Data/PaginationData.php
rename : _piecrust/src/PieCrust/Data/PieCrustData.php => src/PieCrust/Data/PieCrustData.php
rename : _piecrust/src/PieCrust/Environment/CachedEnvironment.php => src/PieCrust/Environment/CachedEnvironment.php
rename : _piecrust/src/PieCrust/Environment/Environment.php => src/PieCrust/Environment/Environment.php
rename : _piecrust/src/PieCrust/Environment/LinkCollector.php => src/PieCrust/Environment/LinkCollector.php
rename : _piecrust/src/PieCrust/Environment/PageRepository.php => src/PieCrust/Environment/PageRepository.php
rename : _piecrust/src/PieCrust/Formatters/IFormatter.php => src/PieCrust/Formatters/IFormatter.php
rename : _piecrust/src/PieCrust/Formatters/MarkdownFormatter.php => src/PieCrust/Formatters/MarkdownFormatter.php
rename : _piecrust/src/PieCrust/Formatters/PassThroughFormatter.php => src/PieCrust/Formatters/PassThroughFormatter.php
rename : _piecrust/src/PieCrust/Formatters/SmartyPantsFormatter.php => src/PieCrust/Formatters/SmartyPantsFormatter.php
rename : _piecrust/src/PieCrust/Formatters/TextileFormatter.php => src/PieCrust/Formatters/TextileFormatter.php
rename : _piecrust/src/PieCrust/IO/Cache.php => src/PieCrust/IO/Cache.php
rename : _piecrust/src/PieCrust/IO/FileSystem.php => src/PieCrust/IO/FileSystem.php
rename : _piecrust/src/PieCrust/IO/FlatFileSystem.php => src/PieCrust/IO/FlatFileSystem.php
rename : _piecrust/src/PieCrust/IO/HierarchicalFileSystem.php => src/PieCrust/IO/HierarchicalFileSystem.php
rename : _piecrust/src/PieCrust/IO/ShallowFileSystem.php => src/PieCrust/IO/ShallowFileSystem.php
rename : _piecrust/src/PieCrust/IPage.php => src/PieCrust/IPage.php
rename : _piecrust/src/PieCrust/IPieCrust.php => src/PieCrust/IPieCrust.php
rename : _piecrust/src/PieCrust/Interop/Importers/IImporter.php => src/PieCrust/Interop/Importers/IImporter.php
rename : _piecrust/src/PieCrust/Interop/Importers/ImporterBase.php => src/PieCrust/Interop/Importers/ImporterBase.php
rename : _piecrust/src/PieCrust/Interop/Importers/JekyllImporter.php => src/PieCrust/Interop/Importers/JekyllImporter.php
rename : _piecrust/src/PieCrust/Interop/Importers/JoomlaImporter.php => src/PieCrust/Interop/Importers/JoomlaImporter.php
rename : _piecrust/src/PieCrust/Interop/Importers/WordpressImporter.php => src/PieCrust/Interop/Importers/WordpressImporter.php
rename : _piecrust/src/PieCrust/Interop/PieCrustImporter.php => src/PieCrust/Interop/PieCrustImporter.php
rename : _piecrust/src/PieCrust/Page/Assetor.php => src/PieCrust/Page/Assetor.php
rename : _piecrust/src/PieCrust/Page/Filtering/AndBooleanClause.php => src/PieCrust/Page/Filtering/AndBooleanClause.php
rename : _piecrust/src/PieCrust/Page/Filtering/BooleanClause.php => src/PieCrust/Page/Filtering/BooleanClause.php
rename : _piecrust/src/PieCrust/Page/Filtering/FilterClause.php => src/PieCrust/Page/Filtering/FilterClause.php
rename : _piecrust/src/PieCrust/Page/Filtering/HasFilterClause.php => src/PieCrust/Page/Filtering/HasFilterClause.php
rename : _piecrust/src/PieCrust/Page/Filtering/IClause.php => src/PieCrust/Page/Filtering/IClause.php
rename : _piecrust/src/PieCrust/Page/Filtering/IsFilterClause.php => src/PieCrust/Page/Filtering/IsFilterClause.php
rename : _piecrust/src/PieCrust/Page/Filtering/NotClause.php => src/PieCrust/Page/Filtering/NotClause.php
rename : _piecrust/src/PieCrust/Page/Filtering/OrBooleanClause.php => src/PieCrust/Page/Filtering/OrBooleanClause.php
rename : _piecrust/src/PieCrust/Page/Filtering/PaginationFilter.php => src/PieCrust/Page/Filtering/PaginationFilter.php
rename : _piecrust/src/PieCrust/Page/Linker.php => src/PieCrust/Page/Linker.php
rename : _piecrust/src/PieCrust/Page/Page.php => src/PieCrust/Page/Page.php
rename : _piecrust/src/PieCrust/Page/PageConfiguration.php => src/PieCrust/Page/PageConfiguration.php
rename : _piecrust/src/PieCrust/Page/PageLoader.php => src/PieCrust/Page/PageLoader.php
rename : _piecrust/src/PieCrust/Page/PageRenderer.php => src/PieCrust/Page/PageRenderer.php
rename : _piecrust/src/PieCrust/Page/PaginationIterator.php => src/PieCrust/Page/PaginationIterator.php
rename : _piecrust/src/PieCrust/Page/Paginator.php => src/PieCrust/Page/Paginator.php
rename : _piecrust/src/PieCrust/Page/TemplateLoader.php => src/PieCrust/Page/TemplateLoader.php
rename : _piecrust/src/PieCrust/PieCrust.php => src/PieCrust/PieCrust.php
rename : _piecrust/src/PieCrust/PieCrustCacheInfo.php => src/PieCrust/PieCrustCacheInfo.php
rename : _piecrust/src/PieCrust/PieCrustConfiguration.php => src/PieCrust/PieCrustConfiguration.php
rename : _piecrust/src/PieCrust/PieCrustDefaults.php => src/PieCrust/PieCrustDefaults.php
rename : _piecrust/src/PieCrust/PieCrustException.php => src/PieCrust/PieCrustException.php
rename : _piecrust/src/PieCrust/PieCrustPlugin.php => src/PieCrust/PieCrustPlugin.php
rename : _piecrust/src/PieCrust/Plugins/BuiltinPlugin.php => src/PieCrust/Plugins/BuiltinPlugin.php
rename : _piecrust/src/PieCrust/Plugins/PluginLoader.php => src/PieCrust/Plugins/PluginLoader.php
rename : _piecrust/src/PieCrust/Plugins/Twig/ExtendedFilesystem.php => src/PieCrust/Plugins/Twig/ExtendedFilesystem.php
rename : _piecrust/src/PieCrust/Plugins/Twig/GeshiExtension.php => src/PieCrust/Plugins/Twig/GeshiExtension.php
rename : _piecrust/src/PieCrust/Plugins/Twig/GeshiNode.php => src/PieCrust/Plugins/Twig/GeshiNode.php
rename : _piecrust/src/PieCrust/Plugins/Twig/GeshiTokenParser.php => src/PieCrust/Plugins/Twig/GeshiTokenParser.php
rename : _piecrust/src/PieCrust/Plugins/Twig/PieCrustExtension.php => src/PieCrust/Plugins/Twig/PieCrustExtension.php
rename : _piecrust/src/PieCrust/Plugins/Twig/PieCrustFormatterNode.php => src/PieCrust/Plugins/Twig/PieCrustFormatterNode.php
rename : _piecrust/src/PieCrust/Plugins/Twig/PieCrustFormatterTokenParser.php => src/PieCrust/Plugins/Twig/PieCrustFormatterTokenParser.php
rename : _piecrust/src/PieCrust/Repositories/BitBucketRepository.php => src/PieCrust/Repositories/BitBucketRepository.php
rename : _piecrust/src/PieCrust/Repositories/IRepository.php => src/PieCrust/Repositories/IRepository.php
rename : _piecrust/src/PieCrust/Repositories/InstallContext.php => src/PieCrust/Repositories/InstallContext.php
rename : _piecrust/src/PieCrust/Repositories/PluginInstallContext.php => src/PieCrust/Repositories/PluginInstallContext.php
rename : _piecrust/src/PieCrust/Runner/PieCrustErrorHandler.php => src/PieCrust/Runner/PieCrustErrorHandler.php
rename : _piecrust/src/PieCrust/Runner/PieCrustRunner.php => src/PieCrust/Runner/PieCrustRunner.php
rename : _piecrust/src/PieCrust/Server/PieCrustServer.php => src/PieCrust/Server/PieCrustServer.php
rename : _piecrust/src/PieCrust/TemplateEngines/ITemplateEngine.php => src/PieCrust/TemplateEngines/ITemplateEngine.php
rename : _piecrust/src/PieCrust/TemplateEngines/MustacheTemplateEngine.php => src/PieCrust/TemplateEngines/MustacheTemplateEngine.php
rename : _piecrust/src/PieCrust/TemplateEngines/PassThroughTemplateEngine.php => src/PieCrust/TemplateEngines/PassThroughTemplateEngine.php
rename : _piecrust/src/PieCrust/TemplateEngines/TwigTemplateEngine.php => src/PieCrust/TemplateEngines/TwigTemplateEngine.php
rename : _piecrust/src/PieCrust/Util/ArchiveHelper.php => src/PieCrust/Util/ArchiveHelper.php
rename : _piecrust/src/PieCrust/Util/Configuration.php => src/PieCrust/Util/Configuration.php
rename : _piecrust/src/PieCrust/Util/HttpHeaderHelper.php => src/PieCrust/Util/HttpHeaderHelper.php
rename : _piecrust/src/PieCrust/Util/PageConfigWrapper.php => src/PieCrust/Util/PageConfigWrapper.php
rename : _piecrust/src/PieCrust/Util/PageHelper.php => src/PieCrust/Util/PageHelper.php
rename : _piecrust/src/PieCrust/Util/PathHelper.php => src/PieCrust/Util/PathHelper.php
rename : _piecrust/src/PieCrust/Util/PieCrustHelper.php => src/PieCrust/Util/PieCrustHelper.php
rename : _piecrust/src/PieCrust/Util/ServerHelper.php => src/PieCrust/Util/ServerHelper.php
rename : _piecrust/src/PieCrust/Util/UriBuilder.php => src/PieCrust/Util/UriBuilder.php
rename : _piecrust/src/PieCrust/Util/UriParser.php => src/PieCrust/Util/UriParser.php
rename : tests/libs/vfsStream/vfsStream.php => tests/libs/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStream.php
rename : tests/libs/vfsStream/vfsStreamAbstractContent.php => tests/libs/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamAbstractContent.php
rename : tests/libs/vfsStream/vfsStreamContainer.php => tests/libs/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamContainer.php
rename : tests/libs/vfsStream/vfsStreamContainerIterator.php => tests/libs/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamContainerIterator.php
rename : tests/libs/vfsStream/vfsStreamContent.php => tests/libs/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamContent.php
rename : tests/libs/vfsStream/vfsStreamDirectory.php => tests/libs/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamDirectory.php
rename : tests/libs/vfsStream/vfsStreamFile.php => tests/libs/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamFile.php
rename : tests/libs/vfsStream/vfsStreamWrapper.php => tests/libs/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamWrapper.php
rename : tests/libs/vfsStream/visitor/vfsStreamAbstractVisitor.php => tests/libs/mikey179/vfsStream/src/main/php/org/bovigo/vfs/visitor/vfsStreamAbstractVisitor.php
rename : tests/libs/vfsStream/visitor/vfsStreamPrintVisitor.php => tests/libs/mikey179/vfsStream/src/main/php/org/bovigo/vfs/visitor/vfsStreamPrintVisitor.php
rename : tests/libs/vfsStream/visitor/vfsStreamStructureVisitor.php => tests/libs/mikey179/vfsStream/src/main/php/org/bovigo/vfs/visitor/vfsStreamStructureVisitor.php
rename : tests/libs/vfsStream/visitor/vfsStreamVisitor.php => tests/libs/mikey179/vfsStream/src/main/php/org/bovigo/vfs/visitor/vfsStreamVisitor.php
  • Loading branch information...
commit 8cf54140ca15e79930da60d993e7c39955f3a9bc 1 parent 3431058
@ludovicchabant authored
Showing with 43 additions and 27,570 deletions.
  1. +25 −29 .hgignore
  2. +6 −0 CHANGELOG.markdown
  3. +5 −4 README.markdown
  4. +0 −11 _kitchen/generate_messages.cmd
  5. +0 −9 _kitchen/generate_messages.sh
  6. +3 −13 _piecrust/chef
  7. +4 −28 _piecrust/chef.cmd
  8. +0 −6 _piecrust/chef.php
  9. +0 −305 _piecrust/libs/Console/CommandLine/XmlParser.php
  10. +0 −124 _piecrust/libs/Geshi/contrib/aliased.php
  11. +0 −217 _piecrust/libs/Geshi/contrib/example.php
  12. +0 −766 _piecrust/libs/Geshi/contrib/langcheck.php
  13. +0 −4,755 _piecrust/libs/Geshi/geshi.php
  14. +0 −139 _piecrust/libs/Geshi/geshi/4cs.php
  15. +0 −230 _piecrust/libs/Geshi/geshi/6502acme.php
  16. +0 −241 _piecrust/libs/Geshi/geshi/6502kickass.php
  17. +0 −189 _piecrust/libs/Geshi/geshi/6502tasm.php
  18. +0 −168 _piecrust/libs/Geshi/geshi/68000devpac.php
  19. +0 −1,409 _piecrust/libs/Geshi/geshi/abap.php
  20. +0 −197 _piecrust/libs/Geshi/geshi/actionscript.php
  21. +0 −473 _piecrust/libs/Geshi/geshi/actionscript3.php
  22. +0 −135 _piecrust/libs/Geshi/geshi/ada.php
  23. +0 −226 _piecrust/libs/Geshi/geshi/algol68.php
  24. +0 −480 _piecrust/libs/Geshi/geshi/apache.php
  25. +0 −157 _piecrust/libs/Geshi/geshi/applescript.php
  26. +0 −144 _piecrust/libs/Geshi/geshi/apt_sources.php
  27. +0 −225 _piecrust/libs/Geshi/geshi/asm.php
  28. +0 −164 _piecrust/libs/Geshi/geshi/asp.php
  29. +0 −512 _piecrust/libs/Geshi/geshi/autoconf.php
  30. +0 −373 _piecrust/libs/Geshi/geshi/autohotkey.php
  31. +0 −1,175 _piecrust/libs/Geshi/geshi/autoit.php
  32. +0 −194 _piecrust/libs/Geshi/geshi/avisynth.php
  33. +0 −158 _piecrust/libs/Geshi/geshi/awk.php
  34. +0 −327 _piecrust/libs/Geshi/geshi/bash.php
  35. +0 −341 _piecrust/libs/Geshi/geshi/basic4gl.php
  36. +0 −114 _piecrust/libs/Geshi/geshi/bf.php
  37. +0 −183 _piecrust/libs/Geshi/geshi/bibtex.php
  38. +0 −185 _piecrust/libs/Geshi/geshi/blitzbasic.php
  39. +0 −119 _piecrust/libs/Geshi/geshi/bnf.php
  40. +0 −217 _piecrust/libs/Geshi/geshi/boo.php
  41. +0 −202 _piecrust/libs/Geshi/geshi/c.php
  42. +0 −227 _piecrust/libs/Geshi/geshi/c_mac.php
  43. +0 −126 _piecrust/libs/Geshi/geshi/caddcl.php
  44. +0 −186 _piecrust/libs/Geshi/geshi/cadlisp.php
  45. +0 −124 _piecrust/libs/Geshi/geshi/cfdg.php
  46. +0 −299 _piecrust/libs/Geshi/geshi/cfm.php
  47. +0 −140 _piecrust/libs/Geshi/geshi/chaiscript.php
  48. +0 −196 _piecrust/libs/Geshi/geshi/cil.php
  49. +0 −134 _piecrust/libs/Geshi/geshi/clojure.php
  50. +0 −181 _piecrust/libs/Geshi/geshi/cmake.php
  51. +0 −244 _piecrust/libs/Geshi/geshi/cobol.php
  52. +0 −564 _piecrust/libs/Geshi/geshi/cpp-qt.php
  53. +0 −240 _piecrust/libs/Geshi/geshi/cpp.php
  54. +0 −253 _piecrust/libs/Geshi/geshi/csharp.php
  55. +0 −212 _piecrust/libs/Geshi/geshi/css.php
  56. +0 −138 _piecrust/libs/Geshi/geshi/cuesheet.php
  57. +0 −272 _piecrust/libs/Geshi/geshi/d.php
  58. +0 −182 _piecrust/libs/Geshi/geshi/dcs.php
  59. +0 −289 _piecrust/libs/Geshi/geshi/delphi.php
  60. +0 −196 _piecrust/libs/Geshi/geshi/diff.php
  61. +0 −126 _piecrust/libs/Geshi/geshi/div.php
  62. +0 −227 _piecrust/libs/Geshi/geshi/dos.php
  63. +0 −164 _piecrust/libs/Geshi/geshi/dot.php
  64. +0 −208 _piecrust/libs/Geshi/geshi/e.php
  65. +0 −210 _piecrust/libs/Geshi/geshi/ecmascript.php
  66. +0 −395 _piecrust/libs/Geshi/geshi/eiffel.php
  67. +0 −210 _piecrust/libs/Geshi/geshi/email.php
  68. +0 −441 _piecrust/libs/Geshi/geshi/erlang.php
  69. +0 −151 _piecrust/libs/Geshi/geshi/f1.php
  70. +0 −327 _piecrust/libs/Geshi/geshi/fo.php
  71. +0 −160 _piecrust/libs/Geshi/geshi/fortran.php
  72. +0 −141 _piecrust/libs/Geshi/geshi/freebasic.php
  73. +0 −211 _piecrust/libs/Geshi/geshi/fsharp.php
  74. +0 −214 _piecrust/libs/Geshi/geshi/gambas.php
  75. +0 −175 _piecrust/libs/Geshi/geshi/gdb.php
  76. +0 −463 _piecrust/libs/Geshi/geshi/genero.php
  77. +0 −157 _piecrust/libs/Geshi/geshi/genie.php
  78. +0 −97 _piecrust/libs/Geshi/geshi/gettext.php
  79. +0 −205 _piecrust/libs/Geshi/geshi/glsl.php
  80. +0 −506 _piecrust/libs/Geshi/geshi/gml.php
  81. +0 −296 _piecrust/libs/Geshi/geshi/gnuplot.php
  82. +0 −396 _piecrust/libs/Geshi/geshi/go.php
  83. +0 −1,011 _piecrust/libs/Geshi/geshi/groovy.php
  84. +0 −153 _piecrust/libs/Geshi/geshi/gwbasic.php
  85. +0 −202 _piecrust/libs/Geshi/geshi/haskell.php
  86. +0 −108 _piecrust/libs/Geshi/geshi/hicest.php
  87. +0 −104 _piecrust/libs/Geshi/geshi/hq9plus.php
  88. +0 −203 _piecrust/libs/Geshi/geshi/html4strict.php
  89. +0 −212 _piecrust/libs/Geshi/geshi/icon.php
  90. +0 −123 _piecrust/libs/Geshi/geshi/idl.php
  91. +0 −128 _piecrust/libs/Geshi/geshi/ini.php
  92. +0 −212 _piecrust/libs/Geshi/geshi/inno.php
  93. +0 −122 _piecrust/libs/Geshi/geshi/intercal.php
  94. +0 −138 _piecrust/libs/Geshi/geshi/io.php
  95. +0 −227 _piecrust/libs/Geshi/geshi/j.php
Sorry, we could not display the entire diff because too many files (1,707) changed.
View
54 .hgignore
@@ -1,35 +1,31 @@
+syntax:glob
+
# Temp files from Windows/MacOSX/etc.
-.*~$
-\.DS_Store
-Thumbs\.db
+*~
+*.swp
+.DS_Store
+Thumbs.db
-# App cache files.
-_cache/(?!\.empty)
-^tests/tmp/(?!\.empty)
-bakeinfo\.json
+# Caches and temp folders.
+_cache/
+_counter/
+tests/tmp/
# Libs files we don't need.
-.gitignore
-.gitmodules
-^_piecrust/libs/Geshi/docs/
-^_piecrust/libs/sfYaml/doc/
-^_piecrust/libs/sfYaml/test/
-^_piecrust/libs/Twig/bin/
-^_piecrust/libs/Twig/doc/
-^_piecrust/libs/Twig/test/
-^_piecrust/libs/Twig/phpunit\.xml
-^_piecrust/libs/LessPhp/docs/
-^_piecrust/libs/LessPhp/tests/
-^_piecrust/libs/Mustache/examples/
-^_piecrust/libs/Mustache/test/
-^_piecrust/libs/Log/docs/
-^_piecrust/libs/Log/examples/
-^_piecrust/libs/Log/misc/
-^_piecrust/libs/Log/tests/
+libs/.composer
+libs/*/*/.hg*
+libs/*/*/.git*
+libs/*/*/.travis.yml
+libs/*/*/bin/
+libs/*/*/ext/
+libs/*/*/doc/
+libs/*/*/docs/
+libs/*/*/example/
+libs/*/*/examples/
+libs/*/*/test/
+libs/*/*/tests/
+libs/*/*/phpunit*
-syntax:glob
-# Log files
-*.log
+# Very specific stuff we don't need.
+libs/mikey179/vfsStream/src/test
-# Baked sample website.
-website/_counter
View
6 CHANGELOG.markdown
@@ -15,6 +15,12 @@ development branch (the development branch is ahead of the stable branch).
Fresh changes
-------------
+* CHANGES: The folder structure has been changed to make it look more like an
+ application project. For users, this means the `chef` executable has been
+ moved to the `/bin` folder (although, for backwards compatibility, a copy is
+ still available in `/_piecrust/chef`, but it prints a warning message and will
+ be removed after version 0.9).
+
Frozen changes
--------------
View
9 README.markdown
@@ -12,13 +12,14 @@ Quickstart
If you want to quickly give it a spin:
- _piecrust/chef serve --root website
+ cd website
+ ../bin/chef serve
It should start your default browser and show you the sample website. You can
then edit files and see what changes.
-When you're happy, run `_piecrust/chef bake --root website` to generate the
-final static website, which you'll find in `website/_counter`.
+When you're happy, run `../bin/chef bake` to generate the final static website,
+which you'll find in `website/_counter`.
Branches
@@ -26,7 +27,7 @@ Branches
There are 2 branches:
-* `default` (in `mercurial`) or `master` (in `git): that's the development
+* `default` (in `mercurial`) or `master` (in `git`): that's the development
branch. Everything in there is the very latest stuff, which means it may be
broken, it may have backwards incompatible changes, and probably has secret
undocumented features.
View
11 _kitchen/generate_messages.cmd
@@ -1,11 +0,0 @@
-@echo off
-setlocal
-
-set CUR_DIR=%~dp0
-set CHEF=%CUR_DIR%..\_piecrust\chef
-set OUT_DIR=%CUR_DIR%..\_piecrust\resources\messages
-set ROOT_DIR=%CUR_DIR%messages
-
-%CHEF% bake -o %OUT_DIR% %ROOT_DIR%
-del %OUT_DIR%\index.html
-
View
9 _kitchen/generate_messages.sh
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-CUR_DIR="$( cd "$( dirname "$0" )" && pwd )"
-CHEF=${CUR_DIR}/../_piecrust/chef
-OUT_DIR=${CUR_DIR}/../_piecrust/resources/messages
-ROOT_DIR=${CUR_DIR}/messages
-
-$CHEF bake -o $OUT_DIR $ROOT_DIR
-rm ${OUT_DIR}/index.html
View
0  _kitchen/messages/_content/config.yml
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _kitchen/messages/_content/pages/404.html
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _kitchen/messages/_content/pages/_index.html
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _kitchen/messages/_content/pages/critical.html
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _kitchen/messages/_content/pages/error.html
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _kitchen/messages/_content/pages/requirements.html
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _kitchen/messages/_content/pages/welcome.html
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _kitchen/messages/_content/templates/default.html
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _kitchen/messages/_content/templates/error.html
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
16 _piecrust/chef
@@ -1,17 +1,5 @@
#!/bin/sh
-POSSIBLES="/usr/bin/php-5.3 /usr/local/bin/php-5.3 /usr/bin/php /usr/local/bin/php"
-for CUR in $POSSIBLES; do
- if [ -x $CUR ]; then
- PHP=$CUR
- break
- fi
-done
-if [ -z "$PHP" ]; then
- echo "Couldn't find PHP in any of the known locations."
- exit 1
-fi
-
CHEF_DIR=`dirname $0`
if `hash readlink 2>&-`; then
LINKED_EXE=`readlink $0`
@@ -19,4 +7,6 @@ if `hash readlink 2>&-`; then
CHEF_DIR=`dirname $LINKED_EXE`
fi
fi
-$PHP $CHEF_DIR/chef.php $@
+ROOT_DIR=`dirname $CHEF_DIR`
+echo "'$CHEF_DIR/chef' is deprecated. Please use '$ROOT_DIR/bin/chef' instead."
+$ROOT_DIR/bin/chef $@
View
32 _piecrust/chef.cmd
@@ -1,31 +1,7 @@
@echo off
setlocal
-if defined PHPEXE goto RunChef
-
-if defined PHPRC (
- set PHPEXE="%PHPRC%php.exe"
- goto RunChef
-)
-
-if defined PHP_PEAR_BIN_DIR (
- set PHPEXE="%PHP_PEAR_BIN_DIR%\php.exe"
- goto RunChef
-)
-
-for %%i in (php.exe) do (
- if not "%%~dp$PATH:i"=="" (
- set PHPEXE="%%~dp$PATH:i\php.exe"
- goto RunChef
- )
-)
-
-
-echo Can't find the PHP executable. Is it installed somewhere?
-echo (if you're using a portable version, please define a PHPEXE environment
-echo variable pointing to it)
-exit /b 1
-goto :eof
-
-:RunChef
-%PHPEXE% %~dp0chef.php %*
+set CHEF_DIR=%~dp0
+for %%F in ("%CHEF_DIR%..\") do set ROOT_DIR=%%~fF
+echo '%CHEF_DIR%chef.cmd' is deprecated. Please use '%ROOT_DIR%bin\chef.cmd' instead.
+%ROOT_DIR%bin\chef.cmd %*
View
6 _piecrust/chef.php
@@ -1,6 +0,0 @@
-#!/usr/bin/php
-<?php
-
-require_once 'version_check.php';
-require_once 'piecrust.php';
-piecrust_chef();
View
0  _piecrust/libs/Console/CommandLine.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Action.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Action/Callback.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Action/Counter.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Action/Help.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Action/List.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Action/Password.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Action/StoreArray.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Action/StoreFalse.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Action/StoreFloat.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Action/StoreInt.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Action/StoreString.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Action/StoreTrue.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Action/Version.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Argument.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Command.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/CustomMessageProvider.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Element.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Exception.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/MessageProvider.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/MessageProvider/Default.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Option.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Outputter.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Outputter/Default.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Renderer.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Renderer/Default.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Console/CommandLine/Result.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
305 _piecrust/libs/Console/CommandLine/XmlParser.php
@@ -1,305 +0,0 @@
-<?php
-
-/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
-
-/**
- * This file is part of the PEAR Console_CommandLine package.
- *
- * PHP version 5
- *
- * LICENSE: This source file is subject to the MIT license that is available
- * through the world-wide-web at the following URI:
- * http://opensource.org/licenses/mit-license.php
- *
- * @category Console
- * @package Console_CommandLine
- * @author David JEAN LOUIS <izimobil@gmail.com>
- * @copyright 2007 David JEAN LOUIS
- * @license http://opensource.org/licenses/mit-license.php MIT License
- * @version CVS: $Id: XmlParser.php 282427 2009-06-19 10:22:48Z izi $
- * @link http://pear.php.net/package/Console_CommandLine
- * @since File available since release 0.1.0
- * @filesource
- */
-
-/**
- * Required file
- */
-require_once 'Console/CommandLine.php';
-
-/**
- * Parser for command line xml definitions.
- *
- * @category Console
- * @package Console_CommandLine
- * @author David JEAN LOUIS <izimobil@gmail.com>
- * @copyright 2007 David JEAN LOUIS
- * @license http://opensource.org/licenses/mit-license.php MIT License
- * @version Release: 1.1.3
- * @link http://pear.php.net/package/Console_CommandLine
- * @since Class available since release 0.1.0
- */
-class Console_CommandLine_XmlParser
-{
- // parse() {{{
-
- /**
- * Parses the given xml definition file and returns a
- * Console_CommandLine instance constructed with the xml data.
- *
- * @param string $xmlfile The xml file to parse
- *
- * @return Console_CommandLine A parser instance
- */
- public static function parse($xmlfile)
- {
- if (!is_readable($xmlfile)) {
- Console_CommandLine::triggerError('invalid_xml_file',
- E_USER_ERROR, array('{$file}' => $xmlfile));
- }
- $doc = new DomDocument();
- $doc->load($xmlfile);
- self::validate($doc);
- $nodes = $doc->getElementsByTagName('command');
- $root = $nodes->item(0);
- return self::_parseCommandNode($root, true);
- }
-
- // }}}
- // parseString() {{{
-
- /**
- * Parses the given xml definition string and returns a
- * Console_CommandLine instance constructed with the xml data.
- *
- * @param string $xmlstr The xml string to parse
- *
- * @return Console_CommandLine A parser instance
- */
- public static function parseString($xmlstr)
- {
- $doc = new DomDocument();
- $doc->loadXml($xmlstr);
- self::validate($doc);
- $nodes = $doc->getElementsByTagName('command');
- $root = $nodes->item(0);
- return self::_parseCommandNode($root, true);
- }
-
- // }}}
- // validate() {{{
-
- /**
- * Validates the xml definition using Relax NG.
- *
- * @param DomDocument $doc The document to validate
- *
- * @return boolean Whether the xml data is valid or not.
- * @throws Console_CommandLine_Exception
- * @todo use exceptions
- */
- public static function validate($doc)
- {
- if (is_dir('c:\Program Files (x86)\PHP\v5.3\data' . DIRECTORY_SEPARATOR . 'Console_CommandLine')) {
- $rngfile = 'c:\Program Files (x86)\PHP\v5.3\data' . DIRECTORY_SEPARATOR
- . 'Console_CommandLine' . DIRECTORY_SEPARATOR . 'data'
- . DIRECTORY_SEPARATOR . 'xmlschema.rng';
- } else {
- $rngfile = dirname(__FILE__) . DIRECTORY_SEPARATOR . '..'
- . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'data'
- . DIRECTORY_SEPARATOR . 'xmlschema.rng';
- }
- if (!is_readable($rngfile)) {
- Console_CommandLine::triggerError('invalid_xml_file',
- E_USER_ERROR, array('{$file}' => $rngfile));
- }
- return $doc->relaxNGValidate($rngfile);
- }
-
- // }}}
- // _parseCommandNode() {{{
-
- /**
- * Parses the root command node or a command node and returns the
- * constructed Console_CommandLine or Console_CommandLine_Command instance.
- *
- * @param DomDocumentNode $node The node to parse
- * @param bool $isRootNode Whether it is a root node or not
- *
- * @return mixed Console_CommandLine or Console_CommandLine_Command
- */
- private static function _parseCommandNode($node, $isRootNode = false)
- {
- if ($isRootNode) {
- $obj = new Console_CommandLine();
- } else {
- include_once 'Console/CommandLine/Command.php';
- $obj = new Console_CommandLine_Command();
- }
- foreach ($node->childNodes as $cNode) {
- $cNodeName = $cNode->nodeName;
- switch ($cNodeName) {
- case 'name':
- case 'description':
- case 'version':
- $obj->$cNodeName = trim($cNode->nodeValue);
- break;
- case 'add_help_option':
- case 'add_version_option':
- case 'force_posix':
- $obj->$cNodeName = self::_bool(trim($cNode->nodeValue));
- break;
- case 'option':
- $obj->addOption(self::_parseOptionNode($cNode));
- break;
- case 'argument':
- $obj->addArgument(self::_parseArgumentNode($cNode));
- break;
- case 'command':
- $obj->addCommand(self::_parseCommandNode($cNode));
- break;
- case 'aliases':
- if (!$isRootNode) {
- foreach ($cNode->childNodes as $subChildNode) {
- if ($subChildNode->nodeName == 'alias') {
- $obj->aliases[] = trim($subChildNode->nodeValue);
- }
- }
- }
- break;
- case 'messages':
- $obj->messages = self::_messages($cNode);
- break;
- default:
- break;
- }
- }
- return $obj;
- }
-
- // }}}
- // _parseOptionNode() {{{
-
- /**
- * Parses an option node and returns the constructed
- * Console_CommandLine_Option instance.
- *
- * @param DomDocumentNode $node The node to parse
- *
- * @return Console_CommandLine_Option The built option
- */
- private static function _parseOptionNode($node)
- {
- include_once 'Console/CommandLine/Option.php';
- $obj = new Console_CommandLine_Option($node->getAttribute('name'));
- foreach ($node->childNodes as $cNode) {
- $cNodeName = $cNode->nodeName;
- switch ($cNodeName) {
- case 'choices':
- foreach ($cNode->childNodes as $subChildNode) {
- if ($subChildNode->nodeName == 'choice') {
- $obj->choices[] = trim($subChildNode->nodeValue);
- }
- }
- break;
- case 'messages':
- $obj->messages = self::_messages($cNode);
- break;
- default:
- if (property_exists($obj, $cNodeName)) {
- $obj->$cNodeName = trim($cNode->nodeValue);
- }
- break;
- }
- }
- if ($obj->action == 'Password') {
- $obj->argument_optional = true;
- }
- return $obj;
- }
-
- // }}}
- // _parseArgumentNode() {{{
-
- /**
- * Parses an argument node and returns the constructed
- * Console_CommandLine_Argument instance.
- *
- * @param DomDocumentNode $node The node to parse
- *
- * @return Console_CommandLine_Argument The built argument
- */
- private static function _parseArgumentNode($node)
- {
- include_once 'Console/CommandLine/Argument.php';
- $obj = new Console_CommandLine_Argument($node->getAttribute('name'));
- foreach ($node->childNodes as $cNode) {
- $cNodeName = $cNode->nodeName;
- switch ($cNodeName) {
- case 'description':
- case 'help_name':
- case 'default':
- $obj->$cNodeName = trim($cNode->nodeValue);
- break;
- case 'multiple':
- $obj->multiple = self::_bool(trim($cNode->nodeValue));
- break;
- case 'optional':
- $obj->optional = self::_bool(trim($cNode->nodeValue));
- break;
- case 'messages':
- $obj->messages = self::_messages($cNode);
- break;
- default:
- break;
- }
- }
- return $obj;
- }
-
- // }}}
- // _bool() {{{
-
- /**
- * Returns a boolean according to true/false possible strings.
- *
- * @param string $str The string to process
- *
- * @return boolean
- */
- private static function _bool($str)
- {
- return in_array((string)$str, array('true', '1', 'on', 'yes'));
- }
-
- // }}}
- // _messages() {{{
-
- /**
- * Returns an array of custom messages for the element
- *
- * @param DOMNode $node The messages node to process
- *
- * @return array an array of messages
- *
- * @see Console_CommandLine::$messages
- * @see Console_CommandLine_Element::$messages
- */
- private static function _messages(DOMNode $node)
- {
- $messages = array();
-
- foreach ($node->childNodes as $cNode) {
- if ($cNode->nodeType == XML_ELEMENT_NODE) {
- $name = $cNode->getAttribute('name');
- $value = trim($cNode->nodeValue);
-
- $messages[$name] = $value;
- }
- }
-
- return $messages;
- }
-
- // }}}
-}
View
0  _piecrust/libs/Console/Getopt.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
124 _piecrust/libs/Geshi/contrib/aliased.php
@@ -1,124 +0,0 @@
-<?php
-
-/**
- * Another GeSHi example script
- *
- * Configure your Apache server with 'AcceptPathInfo true' and something like
- * 'Alias /viewmysource /var/www/geshi/contrib/aliased.php'. Don't forget
- * to protect this alias as necessary.
- *
- * Usage - visit /viewmysource/file.name.ext to see that file with syntax
- * highlighting, where "viewmysource" is the name of the alias you set up.
- * You can use this without an alias too, just by visiting
- * aliased.php/file.name.ext.
- *
- * @author Ross Golder <ross@golder.org>
- * @version $Id: aliased.php 785 2006-07-19 10:09:45Z oracleshinoda $
- */
-
-// Your config here
-define("SOURCE_ROOT", "/var/www/your/source/root/");
-
-// Assume you've put geshi in the include_path already
-require_once("geshi.php");
-
-// Get path info
-$path = SOURCE_ROOT.$_SERVER['PATH_INFO'];
-
-// Check for dickheads trying to use '../' to get to sensitive areas
-$base_path_len = strlen(SOURCE_ROOT);
-$real_path = realpath($path);
-if(strncmp($real_path, SOURCE_ROOT, $base_path_len)) {
- exit("Stop that.");
-}
-
-// Check file exists
-if(!file_exists($path)) {
- exit("File not found ($path).");
-}
-
-// Gather contents
-$contents = file_get_contents($path);
-
-// Prepare GeSHi instance
-$geshi =& new GeSHi($contents, "PHP");
-$geshi->set_header_type(GESHI_HEADER_PRE);
-$geshi->enable_classes();
-$geshi->enable_line_numbers(GESHI_FANCY_LINE_NUMBERS, 10);
-$geshi->set_overall_style('color: #000066; border: 1px solid #d0d0d0; background-color: #f0f0f0;', true);
-$geshi->set_line_style('font: normal normal 95% \'Courier New\', Courier, monospace; color: #003030;', 'font-weight: bold; color: #006060;', true);
-$geshi->set_code_style('color: #000020;', 'color: #000020;');
-$geshi->set_link_styles(GESHI_LINK, 'color: #000060;');
-$geshi->set_link_styles(GESHI_HOVER, 'background-color: #f0f000;');
-$geshi->set_header_content('Source code viewer');
-$geshi->set_header_content_style('font-family: Verdana, Arial, sans-serif; color: #808080; font-size: 70%; font-weight: bold; background-color: #f0f0ff; border-bottom: 1px solid #d0d0d0; padding: 2px;');
-$geshi->set_footer_content('Parsed in <TIME> seconds, using GeSHi <VERSION>');
-$geshi->set_footer_content_style('font-family: Verdana, Arial, sans-serif; color: #808080; font-size: 70%; font-weight: bold; background-color: #f0f0ff; border-top: 1px solid #d0d0d0; padding: 2px;');
-
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>Source code viewer - <?php echo $path; ?></title>
- <style type="text/css">
- <!--
- <?php
- // Output the stylesheet. Note it doesn't output the <style> tag
- echo $geshi->get_stylesheet();
- ?>
- html {
- background-color: #f0f0f0;
- }
- body {
- font-family: Verdana, Arial, sans-serif;
- margin: 10px;
- border: 2px solid #e0e0e0;
- background-color: #fcfcfc;
- padding: 5px;
- }
- h2 {
- margin: .1em 0 .2em .5em;
- border-bottom: 1px solid #b0b0b0;
- color: #b0b0b0;
- font-weight: normal;
- font-size: 150%;
- }
- h3 {
- margin: .1em 0 .2em .5em;
- color: #b0b0b0;
- font-weight: normal;
- font-size: 120%;
- }
- #footer {
- text-align: center;
- font-size: 80%;
- color: #a9a9a9;
- }
- #footer a {
- color: #9999ff;
- }
- textarea {
- border: 1px solid #b0b0b0;
- font-size: 90%;
- color: #333;
- margin-left: 20px;
- }
- select, input {
- margin-left: 20px;
- }
- p {
- font-size: 90%;
- margin-left: .5em;
- }
- -->
- </style>
-</head>
-<body>
-<?php
-// The fun part :)
-echo $geshi->parse_code();
-?>
-<hr/>
-</body>
-</html>
View
0  _piecrust/libs/Geshi/contrib/cssgen.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0  _piecrust/libs/Geshi/contrib/cssgen2.php
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
217 _piecrust/libs/Geshi/contrib/example.php
@@ -1,217 +0,0 @@
-<?php
-/**
- * GeSHi example script
- *
- * Just point your browser at this script (with geshi.php in the parent directory,
- * and the language files in subdirectory "../geshi/")
- *
- * @author Nigel McNie
- * @version $Id: example.php 1512 2008-07-21 21:05:40Z benbe $
- */
-header('Content-Type: text/html; charset=utf-8');
-
-error_reporting(E_ALL);
-
-// Rudimentary checking of where GeSHi is. In a default install it will be in ../, but
-// it could be in the current directory if the include_path is set. There's nowhere else
-// we can reasonably guess.
-if (is_readable('../geshi.php')) {
- $path = '../';
-} elseif (is_readable('geshi.php')) {
- $path = './';
-} else {
- die('Could not find geshi.php - make sure it is in your include path!');
-}
-require $path . 'geshi.php';
-
-$fill_source = false;
-if (isset($_POST['submit'])) {
- if (get_magic_quotes_gpc()) {
- $_POST['source'] = stripslashes($_POST['source']);
- }
- if (!strlen(trim($_POST['source']))) {
- $_POST['language'] = preg_replace('#[^a-zA-Z0-9\-_]#', '', $_POST['language']);
- $_POST['source'] = implode('', @file($path . 'geshi/' . $_POST['language'] . '.php'));
- $_POST['language'] = 'php';
- } else {
- $fill_source = true;
- }
-
- // Here's a free demo of how GeSHi works.
-
- // First the initialisation: source code to highlight and the language to use. Make sure
- // you sanitise correctly if you use $_POST of course - this very script has had a security
- // advisory against it in the past because of this. Please try not to use this script on a
- // live site.
- $geshi = new GeSHi($_POST['source'], $_POST['language']);
-
- // Use the PRE_VALID header. This means less output source since we don't have to output &nbsp;
- // everywhere. Of course it also means you can't set the tab width.
- // HEADER_PRE_VALID puts the <pre> tag inside the list items (<li>) thus producing valid HTML markup.
- // HEADER_PRE puts the <pre> tag around the list (<ol>) which is invalid in HTML 4 and XHTML 1
- // HEADER_DIV puts a <div> tag arount the list (valid!) but needs to replace whitespaces with &nbsp
- // thus producing much larger overhead. You can set the tab width though.
- $geshi->set_header_type(GESHI_HEADER_PRE_VALID);
-
- // Enable CSS classes. You can use get_stylesheet() to output a stylesheet for your code. Using
- // CSS classes results in much less output source.
- $geshi->enable_classes();
-
- // Enable line numbers. We want fancy line numbers, and we want every 5th line number to be fancy
- $geshi->enable_line_numbers(GESHI_FANCY_LINE_NUMBERS, 5);
-
- // Set the style for the PRE around the code. The line numbers are contained within this box (not
- // XHTML compliant btw, but if you are liberally minded about these things then you'll appreciate
- // the reduced source output).
- $geshi->set_overall_style('font: normal normal 90% monospace; color: #000066; border: 1px solid #d0d0d0; background-color: #f0f0f0;', false);
-
- // Set the style for line numbers. In order to get style for line numbers working, the <li> element
- // is being styled. This means that the code on the line will also be styled, and most of the time
- // you don't want this. So the set_code_style reverts styles for the line (by using a <div> on the line).
- // So the source output looks like this:
- //
- // <pre style="[set_overall_style styles]"><ol>
- // <li style="[set_line_style styles]"><div style="[set_code_style styles]>...</div></li>
- // ...
- // </ol></pre>
- $geshi->set_line_style('color: #003030;', 'font-weight: bold; color: #006060;', true);
- $geshi->set_code_style('color: #000020;', true);
-
- // Styles for hyperlinks in the code. GESHI_LINK for default styles, GESHI_HOVER for hover style etc...
- // note that classes must be enabled for this to work.
- $geshi->set_link_styles(GESHI_LINK, 'color: #000060;');
- $geshi->set_link_styles(GESHI_HOVER, 'background-color: #f0f000;');
-
- // Use the header/footer functionality. This puts a div with content within the PRE element, so it is
- // affected by the styles set by set_overall_style. So if the PRE has a border then the header/footer will
- // appear inside it.
- $geshi->set_header_content('<SPEED> <TIME> GeSHi &copy; 2004-2007, Nigel McNie, 2007-2008 Benny Baumann. View source of example.php for example of using GeSHi');
- $geshi->set_header_content_style('font-family: sans-serif; color: #808080; font-size: 70%; font-weight: bold; background-color: #f0f0ff; border-bottom: 1px solid #d0d0d0; padding: 2px;');
-
- // You can use <TIME> and <VERSION> as placeholders
- $geshi->set_footer_content('Parsed in <TIME> seconds at <SPEED>, using GeSHi <VERSION>');
- $geshi->set_footer_content_style('font-family: sans-serif; color: #808080; font-size: 70%; font-weight: bold; background-color: #f0f0ff; border-top: 1px solid #d0d0d0; padding: 2px;');
-} else {
- // make sure we don't preselect any language
- $_POST['language'] = null;
-}
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>GeSHi examples</title>
- <style type="text/css">
- <!--
- <?php
- if (isset($_POST['submit'])) {
- // Output the stylesheet. Note it doesn't output the <style> tag
- echo $geshi->get_stylesheet(true);
- }
- ?>
- html {
- background-color: #f0f0f0;
- }
- body {
- font-family: Verdana, Arial, sans-serif;
- margin: 10px;
- border: 2px solid #e0e0e0;
- background-color: #fcfcfc;
- padding: 5px;
- }
- h2 {
- margin: .1em 0 .2em .5em;
- border-bottom: 1px solid #b0b0b0;
- color: #b0b0b0;
- font-weight: normal;
- font-size: 150%;
- }
- h3 {
- margin: .1em 0 .2em .5em;
- color: #b0b0b0;
- font-weight: normal;
- font-size: 120%;
- }
- #footer {
- text-align: center;
- font-size: 80%;
- color: #a9a9a9;
- }
- #footer a {
- color: #9999ff;
- }
- textarea {
- border: 1px solid #b0b0b0;
- font-size: 90%;
- color: #333;
- margin-left: 20px;
- }
- select, input {
- margin-left: 20px;
- }
- p {
- font-size: 90%;
- margin-left: .5em;
- }
- -->
- </style>
-</head>
-<body>
-<h2>GeSHi Example Script</h2>
-<p>To use this script, make sure that <strong>geshi.php</strong> is in the parent directory or in your
-include_path, and that the language files are in a subdirectory of GeSHi's directory called <strong>geshi/</strong>.</p>
-<p>Enter your source and a language to highlight the source in and submit, or just choose a language to
-have that language file highlighted in PHP.</p>
-<?php
-if (isset($_POST['submit'])) {
- // The fun part :)
- echo $geshi->parse_code();
- echo '<hr />';
-}
-?>
-<form action="<?php echo basename($_SERVER['PHP_SELF']); ?>" method="post">
-<h3>Source to highlight</h3>
-<p>
-<textarea rows="10" cols="60" name="source" id="source"><?php echo $fill_source ? htmlspecialchars($_POST['source']) : '' ?></textarea>
-</p>
-<h3>Choose a language</h3>
-<p>
-<select name="language" id="language">
-<?php
-if (!($dir = @opendir(dirname(__FILE__) . '/geshi'))) {
- if (!($dir = @opendir(dirname(__FILE__) . '/../geshi'))) {
- echo '<option>No languages available!</option>';
- }
-}
-$languages = array();
-while ($file = readdir($dir)) {
- if ( $file[0] == '.' || strpos($file, '.', 1) === false) {
- continue;
- }
- $lang = substr($file, 0, strpos($file, '.'));
- $languages[] = $lang;
-}
-closedir($dir);
-sort($languages);
-foreach ($languages as $lang) {
- if (isset($_POST['language']) && $_POST['language'] == $lang) {
- $selected = 'selected="selected"';
- } else {
- $selected = '';
- }
- echo '<option value="' . $lang . '" '. $selected .'>' . $lang . "</option>\n";
-}
-
-?>
-</select>
-</p>
-<p>
-<input type="submit" name="submit" value="Highlight Source" />
-<input type="submit" name="clear" onclick="document.getElementById('source').value='';document.getElementById('language').value='';return false" value="clear" />
-</p>
-</form>
-<div id="footer">GeSHi &copy; Nigel McNie, 2004, released under the GNU GPL<br />
-For a better demonstration, check out the <a href="http://qbnz.com/highlighter/demo.php">online demo</a>
-</div>
-</body>
-</html>
View
766 _piecrust/libs/Geshi/contrib/langcheck.php
@@ -1,766 +0,0 @@
-<?php
-/**
- * GeSHi language file validation script
- *
- * Just point your browser at this script (with geshi.php in the parent directory)
- * and the language files in subdirectory "../geshi/" are being validated
- *
- * CLI mode is supported
- *
- * @author Benny Baumann
- * @version $Id: langcheck.php 2174 2009-09-10 09:17:40Z benbe $
- */
-header('Content-Type: text/html; charset=utf-8');
-
-set_time_limit(0);
-error_reporting(E_ALL);
-$time_start = explode(' ', microtime());
-
-function colorize($level, $string) {
- static $colors, $end;
- if ( !isset($colors) ) {
- if ( PHP_SAPI != 'cli' ) {
- $end = '</span>';
- $colors = array(
- TYPE_NOTICE => '<span style="color:#080;font-weight:bold;">',
- TYPE_WARNING => '<span style="color:#CC0; font-weight: bold;">',
- TYPE_ERROR => '<span style="color:#F00; font-weight: bold;">',
- TYPE_OK => '<span style="color: #080; font-weight: bold;">'
- );
- } else {
- $end = chr(27).'[0m';
- $colors = array(
- TYPE_NOTICE => chr(27).'[1m',
- TYPE_WARNING => chr(27).'[1;33m',
- TYPE_ERROR => chr(27).'[1;31m',
- TYPE_OK => chr(27).'[1;32m'
- );
- }
- }
-
- if ( !isset($colors[$level]) ) {
- trigger_error("no colors for level $level", E_USER_ERROR);
- }
-
- return $colors[$level].$string.$end;
-}
-
-define ('TYPE_NOTICE', 0);
-define ('TYPE_WARNING', 1);
-define ('TYPE_ERROR', 2);
-define ('TYPE_OK', 3);
-
-$error_abort = false;
-$error_cache = array();
-function output_error_cache(){
- global $error_cache, $error_abort;
-
- if(count($error_cache)) {
- echo colorize(TYPE_ERROR, "Failed");
- if ( PHP_SAPI == 'cli' ) {
- echo "\n\n";
- } else {
- echo "<br /><ol>\n";
- }
- foreach($error_cache as $error_msg) {
- if ( PHP_SAPI == 'cli' ) {
- echo "\n";
- } else {
- echo "<li>";
- }
- switch($error_msg['t']) {
- case TYPE_NOTICE:
- $msg = 'NOTICE';
- break;
- case TYPE_WARNING:
- $msg = 'WARNING';
- break;
- case TYPE_ERROR:
- $msg = 'ERROR';
- break;
- }
- echo colorize($error_msg['t'], $msg);
- if ( PHP_SAPI == 'cli' ) {
- echo "\t" . $error_msg['m'];
- } else {
- echo " " . $error_msg['m'] . "</li>";
- }
- }
- if ( PHP_SAPI == 'cli' ) {
- echo "\n";
- } else {
- echo "</ol>\n";
- }
- } else {
- echo colorize(TYPE_OK, "OK");
- if ( PHP_SAPI == 'cli' ) {
- echo "\n";
- } else {
- echo "\n<br />";
- }
- }
- echo "\n";
-
- $error_cache = array();
-}
-
-function report_error($type, $message) {
- global $error_cache, $error_abort;
-
- $error_cache[] = array('t' => $type, 'm' => $message);
- if(TYPE_ERROR == $type) {
- $error_abort = true;
- }
-}
-
-function dupfind_strtolower(&$value){
- $value = strtolower($value);
-}
-
-if ( PHP_SAPI != 'cli' ) { ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>GeSHi Language File Validation Script</title>
- <style type="text/css">
- <!--
- html {
- background-color: #f0f0f0;
- }
- body {
- font-family: Verdana, Arial, sans-serif;
- margin: 10px;
- border: 2px solid #e0e0e0;
- background-color: #fcfcfc;
- padding: 5px;
- font-size: 10pt;
- }
- h2 {
- margin: .1em 0 .2em .5em;
- border-bottom: 1px solid #b0b0b0;
- color: #b0b0b0;
- font-weight: normal;
- font-size: 150%;
- }
- h3 {
- margin: .1em 0 .2em .5em;
- color: #b0b0b0;
- font-weight: normal;
- font-size: 120%;
- }
- #footer {
- text-align: center;
- font-size: 80%;
- color: #a9a9a9;
- }
- #footer a {
- color: #9999ff;
- }
- textarea {
- border: 1px solid #b0b0b0;
- font-size: 90%;
- color: #333;
- margin-left: 20px;
- }
- select, input {
- margin-left: 20px;
- }
- p {
- font-size: 90%;
- margin-left: .5em;
- }
- -->
- </style>
-</head>
-<body>
-<h2>GeSHi Language File Validation Script</h2>
-<p>To use this script, make sure that <strong>geshi.php</strong> is in the
-parent directory or in your include_path, and that the language files are in a
-subdirectory of GeSHi's directory called <strong>geshi/</strong>.</p>
-<p>Everything else will be done by this script automatically. After the script
-finished you should see messages of what could cause trouble with GeSHi or where
-your language files can be improved. Please be patient, as this might take some time.</p>
-
-<ol>
-<li>Checking where to find GeSHi installation ...<?php
-} else { ?>
-<?php echo colorize(TYPE_NOTICE, "#### GeSHi Language File Validation Script ####") ?>
-
-
-To use this script, make sure that <?php echo colorize(TYPE_NOTICE, "geshi.php"); ?> is in the
-parent directory or in your include_path, and that the language files are in a
-subdirectory of GeSHi's directory called <?php echo colorize(TYPE_NOTICE, "geshi/"); ?>.
-
-Everything else will be done by this script automatically. After the script
-finished you should see messages of what could cause trouble with GeSHi or where
-your language files can be improved. Please be patient, as this might take some time.
-
-
-Checking where to find GeSHi installation ...<?php echo "\t";
-}
-
-// Rudimentary checking of where GeSHi is. In a default install it will be in ../, but
-// it could be in the current directory if the include_path is set. There's nowhere else
-// we can reasonably guess.
-if (is_readable('../geshi.php')) {
- $path = '../';
-} elseif (is_readable('geshi.php')) {
- $path = './';
-} else {
- report_error(TYPE_ERROR, 'Could not find geshi.php - make sure it is in your include path!');
-}
-
-if(!$error_abort) {
- require $path . 'geshi.php';
-
- if(!class_exists('GeSHi')) {
- report_error(TYPE_ERROR, 'The GeSHi class was not found, although it seemed we loaded the correct file!');
- }
-}
-
-if(!$error_abort) {
- if(!defined('GESHI_LANG_ROOT')) {
- report_error(TYPE_ERROR, 'There\'s no information present on where to find the language files!');
- } else if(!is_dir(GESHI_LANG_ROOT)) {
- report_error(TYPE_ERROR, 'The path "'.GESHI_LANG_ROOT.'" given, does not ressemble a directory!');
- } else if(!is_readable(GESHI_LANG_ROOT)) {
- report_error(TYPE_ERROR, 'The path "'.GESHI_LANG_ROOT.'" is not readable to this script!');
- }
-}
-
-output_error_cache();
-
-if(!$error_abort) {
- if ( PHP_SAPI == 'cli' ) {
- echo "Listing available language files ...\t\t";
- } else {
- echo "</li>\n<li>Listing available language files ... ";
- }
-
- if (!($dir = @opendir(GESHI_LANG_ROOT))) {
- report_error(TYPE_ERROR, 'Error requesting listing for available language files!');
- }
-
- $languages = array();
-
- if(!$error_abort) {
- while ($file = readdir($dir)) {
- if (!$file || $file[0] == '.' || strpos($file, '.') === false) {
- continue;
- }
- $lang = substr($file, 0, strpos($file, '.'));
- $languages[] = $lang;
- }
- closedir($dir);
- }
-
- $languages = array_unique($languages);
- sort($languages);
-
- if(!count($languages)) {
- report_error(TYPE_WARNING, 'Unable to locate any usable language files in "'.GESHI_LANG_ROOT.'"!');
- }
-
- output_error_cache();
-}
-
-if ( PHP_SAPI == 'cli' ) {
- if (isset($_SERVER['argv'][1]) && in_array($_SERVER['argv'][1], $languages)) {
- $languages = array($_SERVER['argv'][1]);
- }
-} else {
- if (isset($_REQUEST['show']) && in_array($_REQUEST['show'], $languages)) {
- $languages = array($_REQUEST['show']);
- }
-}
-
-if(!$error_abort) {
- foreach ($languages as $lang) {
-
- if ( PHP_SAPI == 'cli' ) {
- echo "Validating language file for '$lang' ...\t\t";
- } else {
- echo "</li>\n<li>Validating language file for '$lang' ... ";
- }
-
- $langfile = GESHI_LANG_ROOT . $lang . '.php';
-
- $language_data = array();
-
- if(!is_file($langfile)) {
- report_error(TYPE_ERROR, 'The path "' .$langfile. '" does not ressemble a regular file!');
- } else if(!is_readable($langfile)) {
- report_error(TYPE_ERROR, 'Cannot read file "' .$langfile. '"!');
- } else {
- $langfile_content = file_get_contents($langfile);
- if(preg_match("/\?>(?:\r?\n|\r(?!\n)){2,}\Z/", $langfile_content)) {
- report_error(TYPE_ERROR, 'Language file contains trailing empty lines at EOF!');
- }
- if(!preg_match("/\?>(?:\r?\n|\r(?!\n))?\Z/", $langfile_content)) {
- report_error(TYPE_ERROR, 'Language file contains no PHP end marker at EOF!');
- }
- if(preg_match("/\t/", $langfile_content)) {
- report_error(TYPE_NOTICE, 'Language file contains unescaped tabulator chars (probably for indentation)!');
- }
- if(preg_match('/^(?: )*(?! )(?! \*) /m', $langfile_content)) {
- report_error(TYPE_NOTICE, 'Language file contains irregular indentation (other than 4 spaces per indentation level)!');
- }
-
- if(!preg_match("/\/\*\*((?!\*\/).)*?Author:((?!\*\/).)*?\*\//s", $langfile_content)) {
- report_error(TYPE_WARNING, 'Language file does not contain a specification of an author!');
- }
- if(!preg_match("/\/\*\*((?!\*\/).)*?Copyright:((?!\*\/).)*?\*\//s", $langfile_content)) {
- report_error(TYPE_WARNING, 'Language file does not contain a specification of the copyright!');
- }
- if(!preg_match("/\/\*\*((?!\*\/).)*?Release Version:((?!\*\/).)*?\*\//s", $langfile_content)) {
- report_error(TYPE_WARNING, 'Language file does not contain a specification of the release version!');
- }
- if(!preg_match("/\/\*\*((?!\*\/).)*?Date Started:((?!\*\/).)*?\*\//s", $langfile_content)) {
- report_error(TYPE_WARNING, 'Language file does not contain a specification of the date it was started!');
- }
- if(!preg_match("/\/\*\*((?!\*\/).)*?This file is part of GeSHi\.((?!\*\/).)*?\*\//s", $langfile_content)) {
- report_error(TYPE_WARNING, 'Language file does not state that it belongs to GeSHi!');
- }
- if(!preg_match("/\/\*\*((?!\*\/).)*?language file for GeSHi\.((?!\*\/).)*?\*\//s", $langfile_content)) {
- report_error(TYPE_WARNING, 'Language file does not state that it is a language file for GeSHi!');
- }
- if(!preg_match("/\/\*\*((?!\*\/).)*?GNU General Public License((?!\*\/).)*?\*\//s", $langfile_content)) {
- report_error(TYPE_WARNING, 'Language file does not state that it is provided under the terms of the GNU GPL!');
- }
-
- unset($langfile_content);
-
- include $langfile;
-
- if(!isset($language_data)) {
- report_error(TYPE_ERROR, 'Language file does not contain a $language_data structure to check!');
- } else if (!is_array($language_data)) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data structure which is not an array!');
- }
- }
-
- if(!$error_abort) {
- if(!isset($language_data['LANG_NAME'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'LANG_NAME\'] specification!');
- } else if (!is_string($language_data['LANG_NAME'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'LANG_NAME\'] specification which is not a string!');
- }
-
- if(!isset($language_data['COMMENT_SINGLE'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'COMMENT_SIGNLE\'] structure to check!');
- } else if (!is_array($language_data['COMMENT_SINGLE'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'COMMENT_SINGLE\'] structure which is not an array!');
- }
-
- if(!isset($language_data['COMMENT_MULTI'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'COMMENT_MULTI\'] structure to check!');
- } else if (!is_array($language_data['COMMENT_MULTI'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'COMMENT_MULTI\'] structure which is not an array!');
- }
-
- if(isset($language_data['COMMENT_REGEXP'])) {
- if (!is_array($language_data['COMMENT_REGEXP'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'COMMENT_REGEXP\'] structure which is not an array!');
- }
- }
-
- if(!isset($language_data['QUOTEMARKS'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'QUOTEMARKS\'] structure to check!');
- } else if (!is_array($language_data['QUOTEMARKS'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'QUOTEMARKS\'] structure which is not an array!');
- }
-
- if(isset($language_data['HARDQUOTE'])) {
- if (!is_array($language_data['HARDQUOTE'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'HARDQUOTE\'] structure which is not an array!');
- }
- }
-
- if(!isset($language_data['ESCAPE_CHAR'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'ESCAPE_CHAR\'] specification to check!');
- } else if (!is_string($language_data['ESCAPE_CHAR'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'ESCAPE_CHAR\'] specification which is not a string!');
- } else if (1 < strlen($language_data['ESCAPE_CHAR'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'ESCAPE_CHAR\'] specification is not empty or exactly one char!');
- }
-
- if(!isset($language_data['CASE_KEYWORDS'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'CASE_KEYWORDS\'] specification!');
- } else if (!is_int($language_data['CASE_KEYWORDS'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'CASE_KEYWORDS\'] specification which is not an integer!');
- } else if (GESHI_CAPS_NO_CHANGE != $language_data['CASE_KEYWORDS'] &&
- GESHI_CAPS_LOWER != $language_data['CASE_KEYWORDS'] &&
- GESHI_CAPS_UPPER != $language_data['CASE_KEYWORDS']) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'CASE_KEYWORDS\'] specification which is neither of GESHI_CAPS_NO_CHANGE, GESHI_CAPS_LOWER nor GESHI_CAPS_UPPER!');
- }
-
- if(!isset($language_data['KEYWORDS'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'KEYWORDS\'] structure to check!');
- } else if (!is_array($language_data['KEYWORDS'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'KEYWORDS\'] structure which is not an array!');
- } else {
- foreach($language_data['KEYWORDS'] as $kw_key => $kw_value) {
- if(!is_integer($kw_key)) {
- report_error(TYPE_WARNING, "Language file contains an key '$kw_key' in \$language_data['KEYWORDS'] that is not integer!");
- } else if (!is_array($kw_value)) {
- report_error(TYPE_ERROR, "Language file contains a \$language_data['CASE_SENSITIVE']['$kw_value'] structure which is not an array!");
- }
- }
- }
-
- if(!isset($language_data['SYMBOLS'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'SYMBOLS\'] structure to check!');
- } else if (!is_array($language_data['SYMBOLS'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'SYMBOLS\'] structure which is not an array!');
- }
-
- if(!isset($language_data['CASE_SENSITIVE'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'CASE_SENSITIVE\'] structure to check!');
- } else if (!is_array($language_data['CASE_SENSITIVE'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'CASE_SENSITIVE\'] structure which is not an array!');
- } else {
- foreach($language_data['CASE_SENSITIVE'] as $cs_key => $cs_value) {
- if(!is_integer($cs_key)) {
- report_error(TYPE_WARNING, "Language file contains an key '$cs_key' in \$language_data['CASE_SENSITIVE'] that is not integer!");
- } else if (!is_bool($cs_value)) {
- report_error(TYPE_ERROR, "Language file contains a Case Sensitivity specification for \$language_data['CASE_SENSITIVE']['$cs_value'] which is not a boolean!");
- }
- }
- }
-
- if(!isset($language_data['URLS'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'URLS\'] structure to check!');
- } else if (!is_array($language_data['URLS'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'URLS\'] structure which is not an array!');
- } else {
- foreach($language_data['URLS'] as $url_key => $url_value) {
- if(!is_integer($url_key)) {
- report_error(TYPE_WARNING, "Language file contains an key '$url_key' in \$language_data['URLS'] that is not integer!");
- } else if (!is_string($url_value)) {
- report_error(TYPE_ERROR, "Language file contains a Documentation URL specification for \$language_data['URLS']['$url_value'] which is not a string!");
- } else if (preg_match('#&([^;]*(=|$))#U', $url_value)) {
- report_error(TYPE_ERROR, "Language file contains unescaped ampersands (&amp;) in \$language_data['URLS']!");
- }
- }
- }
-
- if(!isset($language_data['OOLANG'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'OOLANG\'] specification!');
- } else if (!is_int($language_data['OOLANG']) && !is_bool($language_data['OOLANG'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'OOLANG\'] specification which is neither boolean nor integer!');
- } else if (false !== $language_data['OOLANG'] &&
- true !== $language_data['OOLANG'] &&
- 2 !== $language_data['OOLANG']) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'OOLANG\'] specification which is neither of false, true or 2!');
- }
-
- if(!isset($language_data['OBJECT_SPLITTERS'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'OBJECT_SPLITTERS\'] structure to check!');
- } else if (!is_array($language_data['OBJECT_SPLITTERS'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'OBJECT_SPLITTERS\'] structure which is not an array!');
- }
-
- if(!isset($language_data['REGEXPS'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'REGEXPS\'] structure to check!');
- } else if (!is_array($language_data['REGEXPS'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'REGEXPS\'] structure which is not an array!');
- }
-
- if(!isset($language_data['STRICT_MODE_APPLIES'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'STRICT_MODE_APPLIES\'] specification!');
- } else if (!is_int($language_data['STRICT_MODE_APPLIES'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'STRICT_MODE_APPLIES\'] specification which is not an integer!');
- } else if (GESHI_MAYBE != $language_data['STRICT_MODE_APPLIES'] &&
- GESHI_ALWAYS != $language_data['STRICT_MODE_APPLIES'] &&
- GESHI_NEVER != $language_data['STRICT_MODE_APPLIES']) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'STRICT_MODE_APPLIES\'] specification which is neither of GESHI_MAYBE, GESHI_ALWAYS nor GESHI_NEVER!');
- }
-
- if(!isset($language_data['SCRIPT_DELIMITERS'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'SCRIPT_DELIMITERS\'] structure to check!');
- } else if (!is_array($language_data['SCRIPT_DELIMITERS'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'SCRIPT_DELIMITERS\'] structure which is not an array!');
- }
-
- if(!isset($language_data['HIGHLIGHT_STRICT_BLOCK'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'HIGHLIGHT_STRICT_BLOCK\'] structure to check!');
- } else if (!is_array($language_data['HIGHLIGHT_STRICT_BLOCK'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'HIGHLIGHT_STRICT_BLOCK\'] structure which is not an array!');
- }
-
- if(isset($language_data['TAB_WIDTH'])) {
- if (!is_int($language_data['TAB_WIDTH'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'TAB_WIDTH\'] specification which is not an integer!');
- } else if (1 > $language_data['TAB_WIDTH']) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'TAB_WIDTH\'] specification which is less than 1!');
- }
- }
-
- if(isset($language_data['PARSER_CONTROL'])) {
- if (!is_array($language_data['PARSER_CONTROL'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'PARSER_CONTROL\'] structure which is not an array!');
- }
- }
-
- if(!isset($language_data['STYLES'])) {
- report_error(TYPE_ERROR, 'Language file contains no $language_data[\'STYLES\'] structure to check!');
- } else if (!is_array($language_data['STYLES'])) {
- report_error(TYPE_ERROR, 'Language file contains a $language_data[\'STYLES\'] structure which is not an array!');
- } else {
- $style_arrays = array('KEYWORDS', 'COMMENTS', 'ESCAPE_CHAR',
- 'BRACKETS', 'STRINGS', 'NUMBERS', 'METHODS', 'SYMBOLS',
- 'REGEXPS', 'SCRIPT');
- foreach($style_arrays as $style_kind) {
- if(!isset($language_data['STYLES'][$style_kind])) {
- report_error(TYPE_ERROR, "Language file contains no \$language_data['STYLES']['$style_kind'] structure to check!");
- } else if (!is_array($language_data['STYLES'][$style_kind])) {
- report_error(TYPE_ERROR, "Language file contains a \$language_data['STYLES\']['$style_kind'] structure which is not an array!");
- } else {
- foreach($language_data['STYLES'][$style_kind] as $sk_key => $sk_value) {
- if(!is_int($sk_key) && ('COMMENTS' != $style_kind && 'MULTI' != $sk_key)
- && !(('STRINGS' == $style_kind || 'ESCAPE_CHAR' == $style_kind) && 'HARD' == $sk_key)) {
- report_error(TYPE_WARNING, "Language file contains an key '$sk_key' in \$language_data['STYLES']['$style_kind'] that is not integer!");
- } else if (!is_string($sk_value)) {
- report_error(TYPE_WARNING, "Language file contains a CSS specification for \$language_data['STYLES']['$style_kind'][$key] which is not a string!");
- }
- }
- }
- }
-
- unset($style_arrays);
- }
- }
-
- if(!$error_abort) {
- //Initial sanity checks survived? --> Let's dig deeper!
- foreach($language_data['KEYWORDS'] as $key => $keywords) {
- if(!isset($language_data['CASE_SENSITIVE'][$key])) {
- report_error(TYPE_ERROR, "Language file contains no \$language_data['CASE_SENSITIVE'] specification for keyword group $key!");
- }
- if(!isset($language_data['URLS'][$key])) {
- report_error(TYPE_ERROR, "Language file contains no \$language_data['URLS'] specification for keyword group $key!");
- }
- if(empty($keywords)) {
- report_error(TYPE_WARNING, "Language file contains an empty keyword list in \$language_data['KEYWORDS'] for group $key!");
- }
- foreach($keywords as $id => $kw) {
- if(!is_string($kw)) {
- report_error(TYPE_WARNING, "Language file contains an non-string entry at \$language_data['KEYWORDS'][$key][$id]!");
- } else if (!strlen($kw)) {
- report_error(TYPE_ERROR, "Language file contains an empty string entry at \$language_data['KEYWORDS'][$key][$id]!");
- } else if (preg_match('/^([\(\)\{\}\[\]\^=.,:;\-+\*\/%\$\"\'\?]|&[\w#]\w*;)+$/i', $kw)) {
- report_error(TYPE_NOTICE, "Language file contains an keyword ('$kw') at \$language_data['KEYWORDS'][$key][$id] which seems to be better suited for the symbols section!");
- }
- }
- if(isset($language_data['CASE_SENSITIVE'][$key]) && !$language_data['CASE_SENSITIVE'][$key]) {
- array_walk($keywords, 'dupfind_strtolower');
- }
- if(count($keywords) != count(array_unique($keywords))) {
- $kw_diffs = array_count_values($keywords);
- foreach($kw_diffs as $kw => $kw_count) {
- if($kw_count > 1) {
- report_error(TYPE_WARNING, "Language file contains per-group duplicate keyword '$kw' in \$language_data['KEYWORDS'][$key]!");
- }
- }
- }
- }
-
- $disallowed_before = "(?<![a-zA-Z0-9\$_\|\#;>|^&";
- $disallowed_after = "(?![a-zA-Z0-9_\|%\\-&;";
-
- foreach($language_data['KEYWORDS'] as $key => $keywords) {
- foreach($language_data['KEYWORDS'] as $key2 => $keywords2) {
- if($key2 <= $key) {
- continue;
- }
- $kw_diffs = array_intersect($keywords, $keywords2);
- foreach($kw_diffs as $kw) {
- if(isset($language_data['PARSER_CONTROL']['KEYWORDS'])) {
- //Check the precondition\post-cindition for the involved keyword groups
- $g1_pre = $disallowed_before;
- $g2_pre = $disallowed_before;
- $g1_post = $disallowed_after;
- $g2_post = $disallowed_after;
- if(isset($language_data['PARSER_CONTROL']['KEYWORDS']['DISALLOWED_BEFORE'])) {
- $g1_pre = $language_data['PARSER_CONTROL']['KEYWORDS']['DISALLOWED_BEFORE'];
- $g2_pre = $language_data['PARSER_CONTROL']['KEYWORDS']['DISALLOWED_BEFORE'];
- }
- if(isset($language_data['PARSER_CONTROL']['KEYWORDS']['DISALLOWED_AFTER'])) {
- $g1_post = $language_data['PARSER_CONTROL']['KEYWORDS']['DISALLOWED_AFTER'];
- $g2_post = $language_data['PARSER_CONTROL']['KEYWORDS']['DISALLOWED_AFTER'];
- }
-
- if(isset($language_data['PARSER_CONTROL']['KEYWORDS'][$key]['DISALLOWED_BEFORE'])) {
- $g1_pre = $language_data['PARSER_CONTROL']['KEYWORDS'][$key]['DISALLOWED_BEFORE'];
- }
- if(isset($language_data['PARSER_CONTROL']['KEYWORDS'][$key]['DISALLOWED_AFTER'])) {
- $g1_post = $language_data['PARSER_CONTROL']['KEYWORDS'][$key]['DISALLOWED_AFTER'];
- }
-
- if(isset($language_data['PARSER_CONTROL']['KEYWORDS'][$key2]['DISALLOWED_BEFORE'])) {
- $g2_pre = $language_data['PARSER_CONTROL']['KEYWORDS'][$key2]['DISALLOWED_BEFORE'];
- }
- if(isset($language_data['PARSER_CONTROL']['KEYWORDS'][$key2]['DISALLOWED_AFTER'])) {
- $g2_post = $language_data['PARSER_CONTROL']['KEYWORDS'][$key2]['DISALLOWED_AFTER'];
- }
-
- if($g1_pre != $g2_pre || $g1_post != $g2_post) {
- continue;
- }
- }
- report_error(TYPE_WARNING, "Language file contains cross-group duplicate keyword '$kw' in \$language_data['KEYWORDS'][$key] and \$language_data['KEYWORDS'][$key2]!");
- }
- }
- }
- foreach($language_data['CASE_SENSITIVE'] as $key => $keywords) {
- if(!isset($language_data['KEYWORDS'][$key]) && $key != GESHI_COMMENTS) {
- report_error(TYPE_WARNING, "Language file contains an superfluous \$language_data['CASE_SENSITIVE'] specification for non-existing keyword group $key!");
- }
- }
- foreach($language_data['URLS'] as $key => $keywords) {
- if(!isset($language_data['KEYWORDS'][$key])) {
- report_error(TYPE_WARNING, "Language file contains an superfluous \$language_data['URLS'] specification for non-existing keyword group $key!");
- }
- }
- foreach($language_data['STYLES']['KEYWORDS'] as $key => $keywords) {
- if(!isset($language_data['KEYWORDS'][$key])) {
- report_error(TYPE_WARNING, "Language file contains an superfluous \$language_data['STYLES']['KEYWORDS'] specification for non-existing keyword group $key!");
- }
- }
-
- foreach($language_data['COMMENT_SINGLE'] as $ck => $cv) {
- if(!is_int($ck)) {
- report_error(TYPE_WARNING, "Language file contains an key '$ck' in \$language_data['COMMENT_SINGLE'] that is not integer!");
- }
- if(!is_string($cv)) {
- report_error(TYPE_WARNING, "Language file contains an non-string entry at \$language_data['COMMENT_SINGLE'][$ck]!");
- }
- if(!isset($language_data['STYLES']['COMMENTS'][$ck])) {
- report_error(TYPE_WARNING, "Language file contains no \$language_data['STYLES']['COMMENTS'] specification for comment group $ck!");
- }
- }
- if(isset($language_data['COMMENT_REGEXP'])) {
- foreach($language_data['COMMENT_REGEXP'] as $ck => $cv) {
- if(!is_int($ck)) {
- report_error(TYPE_WARNING, "Language file contains an key '$ck' in \$language_data['COMMENT_REGEXP'] that is not integer!");
- }
- if(!is_string($cv)) {
- report_error(TYPE_WARNING, "Language file contains an non-string entry at \$language_data['COMMENT_REGEXP'][$ck]!");
- }
- if(!isset($language_data['STYLES']['COMMENTS'][$ck])) {
- report_error(TYPE_WARNING, "Language file contains no \$language_data['STYLES']['COMMENTS'] specification for comment group $ck!");
- }
- }
- }
- foreach($language_data['STYLES']['COMMENTS'] as $ck => $cv) {
- if($ck != 'MULTI' && !isset($language_data['COMMENT_SINGLE'][$ck]) &&
- !isset($language_data['COMMENT_REGEXP'][$ck])) {
- report_error(TYPE_NOTICE, "Language file contains an superfluous \$language_data['STYLES']['COMMENTS'] specification for Single Line or Regular-Expression Comment key $ck!");
- }
- }
- if (isset($language_data['STYLES']['STRINGS']['HARD'])) {
- if (empty($language_data['HARDQUOTE'])) {
- report_error(TYPE_NOTICE, "Language file contains superfluous \$language_data['STYLES']['STRINGS'] specification for key 'HARD', but no 'HARDQUOTE's are defined!");
- }
- unset($language_data['STYLES']['STRINGS']['HARD']);
- }
- foreach($language_data['STYLES']['STRINGS'] as $sk => $sv) {
- if($sk && !isset($language_data['QUOTEMARKS'][$sk])) {
- report_error(TYPE_NOTICE, "Language file contains an superfluous \$language_data['STYLES']['STRINGS'] specification for non-existing quotemark key $sk!");
- }
- }
-
- foreach($language_data['REGEXPS'] as $rk => $rv) {
- if(!is_int($rk)) {
- report_error(TYPE_WARNING, "Language file contains an key '$rk' in \$language_data['REGEXPS'] that is not integer!");
- }
- if(is_string($rv)) {
- //Check for unmasked / in regular expressions ...
- if(empty($rv)) {
- report_error(TYPE_WARNING, "Language file contains an empty regular expression at \$language_data['REGEXPS'][$rk]!");
- } else {
- if(preg_match("/(?<!\\\\)\//s", $rv)) {
- report_error(TYPE_WARNING, "Language file contains a regular expression with an unmasked / character at \$language_data['REGEXPS'][$rk]!");
- } elseif (preg_match("/(?<!<)(\\\\\\\\)*\\\\\|(?!>)/s", $rv)) {
- report_error(TYPE_WARNING, "Language file contains a regular expression with an unescaped match for a pipe character '|' which needs escaping as '&lt;PIPE&gt;' instead at \$language_data['REGEXPS'][$rk]!");
- }
- }
- } elseif(is_array($rv)) {
- if(!isset($rv[GESHI_SEARCH])) {
- report_error(TYPE_ERROR, "Language file contains no GESHI_SEARCH entry in extended regular expression at \$language_data['REGEXPS'][$rk]!");
- } elseif(!is_string($rv[GESHI_SEARCH])) {
- report_error(TYPE_ERROR, "Language file contains a GESHI_SEARCH entry in extended regular expression at \$language_data['REGEXPS'][$rk] which is not a string!");
- } else {
- if(preg_match("/(?<!\\\\)\//s", $rv[GESHI_SEARCH])) {
- report_error(TYPE_WARNING, "Language file contains a regular expression with an unmasked / character at \$language_data['REGEXPS'][$rk]!");
- } elseif (preg_match("/(?<!<)(\\\\\\\\)*\\\\\|(?!>)/s", $rv[GESHI_SEARCH])) {
- report_error(TYPE_WARNING, "Language file contains a regular expression with an unescaped match for a pipe character '|' which needs escaping as '&lt;PIPE&gt;' instead at \$language_data['REGEXPS'][$rk]!");
- }
- }
- if(!isset($rv[GESHI_REPLACE])) {
- report_error(TYPE_WARNING, "Language file contains no GESHI_REPLACE entry in extended regular expression at \$language_data['REGEXPS'][$rk]!");
- } elseif(!is_string($rv[GESHI_REPLACE])) {
- report_error(TYPE_ERROR, "Language file contains a GESHI_REPLACE entry in extended regular expression at \$language_data['REGEXPS'][$rk] which is not a string!");
- }
- if(!isset($rv[GESHI_MODIFIERS])) {
- report_error(TYPE_WARNING, "Language file contains no GESHI_MODIFIERS entry in extended regular expression at \$language_data['REGEXPS'][$rk]!");
- } elseif(!is_string($rv[GESHI_MODIFIERS])) {
- report_error(TYPE_ERROR, "Language file contains a GESHI_MODIFIERS entry in extended regular expression at \$language_data['REGEXPS'][$rk] which is not a string!");
- }
- if(!isset($rv[GESHI_BEFORE])) {
- report_error(TYPE_WARNING, "Language file contains no GESHI_BEFORE entry in extended regular expression at \$language_data['REGEXPS'][$rk]!");
- } elseif(!is_string($rv[GESHI_BEFORE])) {
- report_error(TYPE_ERROR, "Language file contains a GESHI_BEFORE entry in extended regular expression at \$language_data['REGEXPS'][$rk] which is not a string!");
- }
- if(!isset($rv[GESHI_AFTER])) {
- report_error(TYPE_WARNING, "Language file contains no GESHI_AFTER entry in extended regular expression at \$language_data['REGEXPS'][$rk]!");
- } elseif(!is_string($rv[GESHI_AFTER])) {
- report_error(TYPE_ERROR, "Language file contains a GESHI_AFTER entry in extended regular expression at \$language_data['REGEXPS'][$rk] which is not a string!");
- }
- } else {
- report_error(TYPE_WARNING, "Language file contains an non-string and non-array entry at \$language_data['REGEXPS'][$rk]!");
- }
- if(!isset($language_data['STYLES']['REGEXPS'][$rk])) {
- report_error(TYPE_WARNING, "Language file contains no \$language_data['STYLES']['REGEXPS'] specification for regexp group $rk!");
- }
- }
- foreach($language_data['STYLES']['REGEXPS'] as $rk => $rv) {
- if(!isset($language_data['REGEXPS'][$rk])) {
- report_error(TYPE_NOTICE, "Language file contains an superfluous \$language_data['STYLES']['REGEXPS'] specification for regexp key $rk!");
- }
- }
-
-
- }
-
- output_error_cache();
-
- flush();
-
- if($error_abort) {
- break;
- }
- }
-}
-
-$time_end = explode(' ', microtime());
-$time_diff = $time_end[0] + $time_end[1] - $time_start[0] - $time_start[1];
-
-if ( PHP_SAPI != 'cli' ) {
-?></li>
-</ol>
-
-<p>Validation process completed in <? printf("%.2f", $time_diff); ?> seconds.</p>
-
-<div id="footer">GeSHi &copy; 2004-2007 Nigel McNie, 2007-2008 Benny Baumann, released under the GNU GPL</div>
-</body>
-</html>
-
-<?php } else { ?>
-
-Validation process completed in <? printf("%.2f", $time_diff); ?> seconds.
-
-GeSHi &copy; 2004-2007 Nigel McNie, 2007-2008 Benny Baumann, released under the GNU GPL
-
-<?php } ?>
View
4,755 _piecrust/libs/Geshi/geshi.php
0 additions, 4,755 deletions not shown
View
139 _piecrust/libs/Geshi/geshi/4cs.php
@@ -1,139 +0,0 @@
-<?php
-/*************************************************************************************
- * 4cs.php
- * ------
- * Author: Jason Curl (jason.curl@continental-corporation.com)
- * Copyright: (c) 2009 Jason Curl
- * Release Version: 1.0.8.9
- * Date Started: 2009/09/05
- *
- * 4CS language file for GeSHi.
- *
- * CHANGES
- * -------
- * 2009/09/05
- * - First Release
- *
- * TODO (updated 2009/09/01)
- * -------------------------
- *
- *************************************************************************************
- *
- * This file is part of GeSHi.
- *
- * GeSHi is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GeSHi is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with GeSHi; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- ************************************************************************************/
-
-$language_data = array (
- 'LANG_NAME' => 'GADV 4CS',
- 'COMMENT_SINGLE' => array(1 => "//"),
- 'COMMENT_MULTI' => array(),
- 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
- 'QUOTEMARKS' => array('"'),
- 'ESCAPE_CHAR' => '',
- 'KEYWORDS' => array(
- 1 => array(
- 'All', 'AllMatches', 'And', 'And_Filters', 'As', 'Asc', 'BasedOn',
- 'BestMatch', 'Block', 'Buffer', 'ByRef', 'ByVal', 'Call', 'Channel',
- 'Chr', 'Clear', 'Close', 'Confirm', 'Const', 'Continue', 'Cos',
- 'Critical', 'Declare', 'Default', 'DefaultChannel', 'DefaultDelayTime',
- 'DefaultReceiveMode', 'DefaultResponseTime', '#Define', 'DelayTime',
- 'Delete', 'Div', 'Else', '#Else', 'ElseIf', '#ElseIf', 'End', 'EndCritical',
- 'EndInlineC', 'EndFunction', 'EndIf', '#EndIf', 'EndInputList',
- 'EndLocalChannel', 'EndScenario', 'EndSub', 'EndWhile', 'Error',