From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 601C31F453 for ; Sun, 27 Jan 2019 11:48:17 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] viewvcs: wire up highlight to solver Date: Sun, 27 Jan 2019 11:48:13 +0000 Message-Id: <20190127114817.14486-1-e@80x24.org> List-Id: Since we go through the trouble of recreating blobs with solver; show them with syntax-highlighting. Fortunately, Debian systems have "libhighlight-perl" SWIG bindings packaged. Going to hammer-away on it with check-www-inbox.perl before deploying Eric Wong (4): wwwhighlight: read_in_full returns undef on errors t/hl_mod: extra check to ensure we escape HTML hlmod: disable enclosing
 tag
  viewvcs: wire up syntax-highlighting for blobs

 contrib/css/216dark.css         | 20 ++++++++++++++++++++
 lib/PublicInbox/HlMod.pm        |  1 -
 lib/PublicInbox/UserContent.pm  | 20 ++++++++++++++++++++
 lib/PublicInbox/ViewVCS.pm      | 15 ++++++++++++++-
 lib/PublicInbox/WwwHighlight.pm |  1 +
 t/hl_mod.t                      |  3 ++-
 6 files changed, 57 insertions(+), 3 deletions(-)

-- 
EW