user/dev discussion of public-inbox itself
 help / color / mirror / Atom feed
* [PATCH 0/4] viewvcs: wire up highlight to solver
@ 2019-01-27 11:48 Eric Wong
  2019-01-27 11:48 ` [PATCH 1/4] wwwhighlight: read_in_full returns undef on errors Eric Wong
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Eric Wong @ 2019-01-27 11:48 UTC (permalink / raw)
  To: meta

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 <pre> 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


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

end of thread, other threads:[~2019-01-27 11:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-27 11:48 [PATCH 0/4] viewvcs: wire up highlight to solver Eric Wong
2019-01-27 11:48 ` [PATCH 1/4] wwwhighlight: read_in_full returns undef on errors Eric Wong
2019-01-27 11:48 ` [PATCH 2/4] t/hl_mod: extra check to ensure we escape HTML Eric Wong
2019-01-27 11:48 ` [PATCH 3/4] hlmod: disable enclosing <pre> tag Eric Wong
2019-01-27 11:48 ` [PATCH 4/4] viewvcs: wire up syntax-highlighting for blobs Eric Wong

user/dev discussion of public-inbox itself

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://public-inbox.org/meta
	git clone --mirror http://czquwvybam4bgbro.onion/meta
	git clone --mirror http://hjrcffqmbrq6wope.onion/meta
	git clone --mirror http://ou63pmih66umazou.onion/meta

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 meta meta/ https://public-inbox.org/meta \
		meta@public-inbox.org
	public-inbox-index meta

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.mail.public-inbox.meta
	nntp://ou63pmih66umazou.onion/inbox.comp.mail.public-inbox.meta
	nntp://czquwvybam4bgbro.onion/inbox.comp.mail.public-inbox.meta
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.mail.public-inbox.meta
	nntp://news.gmane.io/gmane.mail.public-inbox.general
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for the project(s) associated with this inbox:

	https://80x24.org/public-inbox.git

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git