git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/2] gitweb: Syntax highlighting support
@ 2010-04-27 19:34 Jakub Narebski
  2010-04-27 19:34 ` [PATCHv1 1/2] " Jakub Narebski
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jakub Narebski @ 2010-04-27 19:34 UTC (permalink / raw)
  To: git; +Cc: Johannes Schindelin, Jakub Narebski, Petr Baudis

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-27 20:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-27 19:34 [PATCHv2 0/2] gitweb: Syntax highlighting support Jakub Narebski
2010-04-27 19:34 ` [PATCHv1 1/2] " Jakub Narebski
2010-04-27 19:34 ` [PATCHv2 2/2] gitweb: Refactor syntax " Jakub Narebski
2010-04-27 20:32 ` [PATCHv2 0/2] gitweb: Syntax " Petr Baudis
2010-04-27 20:49   ` Jakub Narebski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).