[PATCH 0/4] improve rendering w/o CSS reliance

Eric Wong e at 80x24.org
Tue Jan 1 12:44:49 CET 2019


Here are a few changes to improve rendering for people with
low-end machines using text-based browsers (w3m, lynx) or
lightweight GUI browsers such as dillo, which has incomplete CSS
support.

The only incompatible (with existing CSS customisations) change
might be the one to use <pre> instead of <div> for commit-msg.
I'm not sure how much of a stable interface the CSS styles are
expected to be for this project.

All my recent changes (including the 32-bit fix) are also
available at at my git/cgit repository:

  https://80x24.org/cgit.git

(I also use a custom CSS there which forces monospace and
 uniform font-size all around to make it easier for people
 who need to use gigantic fonts).

Eric Wong (4):
  ui-shared: improve pageheader display on text-based browsers
  ui-{commit,tag}: use <pre> for commit-msg
  ui-log: improve decoration display for browsers without CSS
  ui-diff: preserve spaces w/o CSS on context lines

 cgit.css              |  7 -------
 html.c                | 46 +++++++++++++++++++++++++++++++++++++++++++
 html.h                |  1 +
 tests/t0105-commit.sh |  2 +-
 ui-commit.c           |  4 ++--
 ui-diff.c             |  5 +----
 ui-log.c              |  5 +++++
 ui-shared.c           | 15 +++++++++++---
 ui-tag.c              |  4 ++--
 9 files changed, 70 insertions(+), 19 deletions(-)

-- 
EW


More information about the CGit mailing list