From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Cc: Johannes Schindelin <johannes.schindelin@gmx.de>,
Jakub Narebski <jnareb@gmail.com>, Petr Baudis <pasky@suse.cz>
Subject: [PATCHv2 0/2] gitweb: Syntax highlighting support
Date: Tue, 27 Apr 2010 21:34:43 +0200 [thread overview]
Message-ID: <1272396885-30609-1-git-send-email-jnareb@gmail.com> (raw)
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
next reply other threads:[~2010-04-27 19:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-27 19:34 Jakub Narebski [this message]
2010-04-27 19:34 ` [PATCHv1 1/2] gitweb: Syntax highlighting support 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1272396885-30609-1-git-send-email-jnareb@gmail.com \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.org \
--cc=johannes.schindelin@gmx.de \
--cc=pasky@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).