From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS55 158.130.0.0/16 X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00,RCVD_IN_MSPIKE_BL, RCVD_IN_MSPIKE_ZBI,RCVD_IN_XBL,SPF_FAIL,SPF_HELO_FAIL shortcircuit=no autolearn=no autolearn_force=no version=3.4.0 Received: from 80x24.org (tor-exit-node.seas.upenn.edu [158.130.0.242]) by dcvr.yhbt.net (Postfix) with ESMTP id 404A91FEB3 for ; Sat, 7 Jan 2017 01:44:59 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/9] misc cleanups and trimming Date: Sat, 7 Jan 2017 01:44:43 +0000 Message-Id: <20170107014452.9657-1-e@80x24.org> List-Id: Weak reference dependencies are entirely gone. This should simplify the internal object structures of Perl a bit and hopefully make the data structures easier to reason about. While we're at it, there's several search-related cleanups to eliminate some dead code. 9 changes: qspawn: prepare to support runtime reloading of Limiter config: always use namespaced "publicinboxlimiter" config: remove unused get() method inbox: describe the full key name inbox: eliminate weaken usage entirely config: allow per-inbox nntpserver remove incorrect comment about strftime + locales searchmsg: favor direct hash access over accessor methods search: remove subject_summary lib/PublicInbox/Config.pm | 14 ++------ lib/PublicInbox/Inbox.pm | 73 ++++++++++++++++++---------------------- lib/PublicInbox/Qspawn.pm | 11 ++++-- lib/PublicInbox/Search.pm | 29 ++-------------- lib/PublicInbox/SearchIdx.pm | 4 +-- lib/PublicInbox/SearchMsg.pm | 36 +++----------------- lib/PublicInbox/WwwAtomStream.pm | 1 - t/config.t | 25 ++++++++++++-- t/config_limiter.t | 11 +++--- t/search.t | 17 ---------- 10 files changed, 78 insertions(+), 143 deletions(-)