[PATCHv2 0/2] gitweb: Syntax highlighting support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]