From: Jakub Narebski Date: Tue, 27 Apr 2010 19:34:43 GMT Subject: [PATCHv2 0/2] gitweb: Syntax highlighting support Message-ID: <1272396885-30609-1-git-send-email-jnareb@gmail.com> This series of patches is based originally on on Daniel Svensson's and Sham Chukoury's work in gitweb-xmms2.git Currently only 'highlight' standalone syntax highlighter from http://www.andre-simon.de/ is supported. Second patch in the series reorganizes syntax highlighting code to make it easier to add (in the future) support for other syntax highlighters, like source-highlight from http://www.gnu.org/software/src-highlite, or some syntax higlighting Perl module from CPAN like Text::Highlight or Syntax::Highlight::* modules. Unfortunately the name of syntax to be used as parameter to syntax highlighter (syntax highlighting engine) depends on highlighter, which would complicate code a bit. The list of currently supported file types do not cover all types that 'highlight' supports, but it is selected a bit, with syntax highlight for git.git taking precedence. Table of contents: ~~~~~~~~~~~~~~~~~~ [PATCH 1/2] gitweb: Syntax highlighting support [PATCH 2/2] gitweb: Refactor syntax highlighting support Shortlog: ~~~~~~~~~ Jakub Narebski (1): gitweb: Refactor syntax highlighting support Johannes Schindelin (1): gitweb: Syntax highlighting support Diffstat: ~~~~~~~~~ gitweb/gitweb.css | 18 +++++++ gitweb/gitweb.perl | 79 ++++++++++++++++++++++++++++++- t/t9500-gitweb-standalone-no-errors.sh | 29 ++++++++++++ 3 files changed, 123 insertions(+), 3 deletions(-) -- Jakub Narebski