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.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE 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 056A81F54E for ; Sat, 20 Aug 2022 08:01:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1660982496; bh=XS/U0cmtTGHcZrnQDYErZKZI0cPH5eccNdb7+WBO4zE=; h=From:To:Subject:Date:From; b=p8lgSOPxhzS+ycSuIWWwc7HPnGsuTEyd7Ts/5rh92s7iUk+Og4ZYNz/UvLenvMANj KNv+N6qOVUGW+SvBsddv5gzLB8M7KJhLvcCxkAxiPXykeS0bf30cZmYfd+L1YF3gGF Ogr22VsXevkFhlkdsa1d/9ora3tZOhM+PKk12ero= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/5] various minor annoyance fixups Date: Sat, 20 Aug 2022 08:01:30 +0000 Message-Id: <20220820080135.58439-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Some things I noticed while reading the code, some things I noticed while looking at WWW in w3m. There were more cleanups related to {base_url} and redundancies in WWW that I could probably get rid of, but some had unintended side-effects :x or required more refactoring/cleanups. Eric Wong (5): import: take advantage of some Perl 5.10.x features imap: remove some intermediate arrays view: do not show pagination footer for small inboxes www: use absolute URLs for coderepo URLs www: mbox* drop unneeded {base_url} memoizations lib/PublicInbox/ExtSearch.pm | 4 +++- lib/PublicInbox/IMAP.pm | 4 ++-- lib/PublicInbox/Import.pm | 23 ++++++++++------------- lib/PublicInbox/Inbox.pm | 2 ++ lib/PublicInbox/Mbox.pm | 3 +-- lib/PublicInbox/MboxGz.pm | 3 +-- lib/PublicInbox/View.pm | 9 +++------ lib/PublicInbox/WwwStream.pm | 16 ++++++++-------- lib/PublicInbox/WwwText.pm | 12 ++---------- 9 files changed, 32 insertions(+), 44 deletions(-)