From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16442 invoked from network); 19 Mar 2021 20:31:25 -0000 Received: from lists.zx2c4.com (165.227.139.114) by inbox.vuxu.org with ESMTPUTF8; 19 Mar 2021 20:31:25 -0000 Received: by lists.zx2c4.com (ZX2C4 Mail Server) with ESMTP id f47e7777; Fri, 19 Mar 2021 20:31:01 +0000 (UTC) Return-Path: Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by lists.zx2c4.com (ZX2C4 Mail Server) with ESMTPS id 1acefd58 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Fri, 19 Mar 2021 20:30:59 +0000 (UTC) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 2075F1F9FC for ; Fri, 19 Mar 2021 20:23:37 +0000 (UTC) From: Eric Wong To: cgit@lists.zx2c4.com Subject: [PATCH (resend) 0/5] improve rendering w/o CSS reliance Date: Fri, 19 Mar 2021 20:23:32 +0000 Message-Id: <20210319202337.21676-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: cgit@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: List for cgit developers and users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cgit-bounces@lists.zx2c4.com Sender: "CGit" Rebased againsg commit bd6f5683f6cde4212364354b3139c1d521f40f39 ("tests: t0107: support older and/or non-GNU tar") 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
 instead of 
for commit-msg. I'm not sure how much of a stable interface the CSS styles are expected to be for this project. Eric Wong (5): ui-shared: improve pageheader display on text-based browsers ui-{commit,tag}: use
 for commit-msg
  ui-log: improve decoration display for browsers without CSS
  ui-diff: preserve spaces w/o CSS on context lines
  ui-{tree,repolist}: improve button spacing for browsers w/o CSS

 cgit.css              |  8 --------
 html.c                | 46 +++++++++++++++++++++++++++++++++++++++++++
 html.h                |  1 +
 tests/t0105-commit.sh |  2 +-
 ui-commit.c           |  4 ++--
 ui-diff.c             |  5 +----
 ui-log.c              |  5 +++++
 ui-repolist.c         |  2 ++
 ui-shared.c           | 15 +++++++++++---
 ui-tag.c              |  4 ++--
 ui-tree.c             | 12 ++++++++---
 11 files changed, 81 insertions(+), 23 deletions(-)