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: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id C08D41F852 for ; Sun, 23 Jan 2022 21:37:53 +0000 (UTC) Received: from localhost ([::1]:55820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nBkYa-0006yq-Ry for e@80x24.org; Sun, 23 Jan 2022 16:37:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBkYY-0006vz-PR for dtas-all@nongnu.org; Sun, 23 Jan 2022 16:37:50 -0500 Received: from dcvr.yhbt.net ([64.71.152.64]:39664) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBkYX-00006V-4m for dtas-all@nongnu.org; Sun, 23 Jan 2022 16:37:50 -0500 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 6B87D1F852 for ; Sun, 23 Jan 2022 21:37:46 +0000 (UTC) From: Eric Wong To: dtas-all@nongnu.org Subject: [PATCH 0/9] various cuts for memory savings Date: Sun, 23 Jan 2022 21:37:37 +0000 Message-Id: <20220123213746.21085-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.71.152.64; envelope-from=e@80x24.org; helo=dcvr.yhbt.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: dtas-all@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: duct tape audio suite List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dtas-all-bounces+e=80x24.org@nongnu.org Sender: "dtas-all" "dtas-tl prune" can simplify life a bit for users who frequently replace/rename tracks on their FS (I do it while editing audio with dtas-splitfx). Moving to Ruby 2.3 lets us depend on a bunch of newer APIs and compatibility code can be dropped, since YARV instructions for old versions still remain. The overall difference isn't very noticeable, but the diffstat showing deleted lines is nice. Eric Wong (9): deduplicate and freeze pathnames + metadata player: remove omap conversion dtas: drop unnecessary "require 'yaml'" statements dtas-tl prune: cull missing files from tracklist dtas-tl: drop encoding hacks, use binary stdout+stderr use IO#wait_readable consistently get rid of DTAS::Nonblock wrapper for Ruby <= 2.0 unix_accepted: drop Ruby < 2.3 support code do not check IO#closed? before calling IO#close Documentation/dtas-tl.pod | 4 ++- bin/dtas-console | 1 - bin/dtas-msinkctl | 1 - bin/dtas-player | 3 +- bin/dtas-readahead | 26 ++++----------- bin/dtas-splitfx | 1 - bin/dtas-tl | 55 +++++++++++++++++--------------- lib/dtas/buffer.rb | 4 +-- lib/dtas/buffer/read_write.rb | 3 +- lib/dtas/edit_client.rb | 5 ++- lib/dtas/mcache.rb | 4 +-- lib/dtas/nonblock.rb | 24 -------------- lib/dtas/pipe.rb | 5 ++- lib/dtas/player.rb | 14 +++----- lib/dtas/process.rb | 5 ++- lib/dtas/sigevent/fiddle_efd.rb | 7 ++-- lib/dtas/sigevent/pipe.rb | 5 ++- lib/dtas/sink.rb | 3 +- lib/dtas/source/sox.rb | 2 +- lib/dtas/source/splitfx.rb | 1 - lib/dtas/track.rb | 2 +- lib/dtas/unix_accepted.rb | 49 +++++++--------------------- lib/dtas/unix_client.rb | 4 +-- lib/dtas/unix_server.rb | 16 ++-------- lib/dtas/watchable.rb | 3 +- lib/dtas/watchable/fiddle_ino.rb | 2 +- test/player_integration.rb | 3 +- test/test_buffer.rb | 2 +- test/test_encoding.rb | 1 - test/test_splitfx.rb | 1 - test/test_tfx.rb | 1 - test/test_unixserver.rb | 2 +- 32 files changed, 84 insertions(+), 175 deletions(-) delete mode 100644 lib/dtas/nonblock.rb