From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id FfGQJfYR9GGyBAAAWB0awg (envelope-from ) for ; Fri, 28 Jan 2022 10:55:34 -0500 Received: by simark.ca (Postfix, from userid 112) id 8A6F01F3B7; Fri, 28 Jan 2022 10:55:34 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 117981EDF0 for ; Fri, 28 Jan 2022 10:55:34 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 352AF385C40E for ; Fri, 28 Jan 2022 15:55:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 352AF385C40E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1643385333; bh=avroBoUoiyk+JhhVGTNedBC/xcj8MlPjTr+sc9Ylkd0=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=SoRIPFND/6u7Y3cazNsgM7fqpnDpFP1vsi+OQhDoARMMNiyrFdnalp12nOe77Oq2z JLg+rDIcW64DocJyFm5TzFpRHYm2LAthCQJBhYzEuiiPnE/OTx1u6PPs2uc3bjw8kl VcRLKuoaf7MD7IyEhXZipKiZz5dai8l8aZ1phvDM= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 2D89B385840C for ; Fri, 28 Jan 2022 15:55:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2D89B385840C Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-311-5_0W0BDfNeO0q0vsiwbgmg-1; Fri, 28 Jan 2022 10:55:13 -0500 X-MC-Unique: 5_0W0BDfNeO0q0vsiwbgmg-1 Received: by mail-wr1-f72.google.com with SMTP id c10-20020adfa30a000000b001d79c73b64bso2410494wrb.1 for ; Fri, 28 Jan 2022 07:55:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=avroBoUoiyk+JhhVGTNedBC/xcj8MlPjTr+sc9Ylkd0=; b=EAXMfXC4FbF8tBBbxmoV0a/716atjhoJpg8oqSgkL5jtzSOpV/JO+ZCuQASr4/1SPl 9ddOkEfHZDPDdloyxI5PaPOi7Mjg3xfhXtH8NtVfwgVYw4DK9PVVaOzwUbk5ax0LgLzI a+fId0Cwo9PFWa74cc8HQ7ah5XJ9JBZcORGmGChVTPEsVZpGrV5KVm/QdAGenIMC+jqr /aUPRmrNLkVStaYu8PJtddnA/m69AlFpr7NOKeFCzCzYsXsW0bLt3SV7uAOXCAOSFBeS q68ynDcyapB+Y/8/+xUmTjw78B3RiP+bm+oUsZp8LZHa5nVX4eRglAkFUjFEm2VD02pC YKRA== X-Gm-Message-State: AOAM531dNwNCetj0hEKsPUPX9FzDSabRAQ4F5PLI1LfjEV6m6JHXKP6U JhJhuJnf83uvv3MDfh6WDAA/U7DPki7KO6FtVoYpK7a9vGERy8+JvbGMsWF8Df5kyog38Z+qiMH NIZMLFu6p/q8ODBx0K9+v/vGN8ALgefxEc/dwRHvbSQ/FDumftmrwmjNWc8WNCR9h+ek87WU9kw == X-Received: by 2002:a05:6000:178e:: with SMTP id e14mr7541007wrg.564.1643385312196; Fri, 28 Jan 2022 07:55:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJxThSHj/XpYXrh9vf2ELrpodgPAwdTn7sW683a2T6c2psp6nZAay99wcv4otIlvZTbdLWhZNQ== X-Received: by 2002:a05:6000:178e:: with SMTP id e14mr7540989wrg.564.1643385311932; Fri, 28 Jan 2022 07:55:11 -0800 (PST) Received: from localhost (host86-140-92-93.range86-140.btcentralplus.com. [86.140.92.93]) by smtp.gmail.com with ESMTPSA id n26sm2450931wms.13.2022.01.28.07.55.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jan 2022 07:55:11 -0800 (PST) To: gdb-patches@sourceware.org Subject: [PATCH 0/7] TUI command changes, including new winwidth command Date: Fri, 28 Jan 2022 15:55:01 +0000 Message-Id: X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrew Burgess via Gdb-patches Reply-To: Andrew Burgess Cc: Andrew Burgess Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" I'm working on a patch to improve the TUI's window sizing and resizing behaviour. That's still a work in progress. But, as part of that work I needed to add support for resizing the width of a window. Given that we have horizontal window layout support, I think it makes sense to have this functionality whether or not I finish my bigger window resizing work. The highlights from this series are: 1. Add width information to 'info win' output, 2. Move some commands under the top-level 'tui' command, but add aliases so the old names still work, 3. Add a new 'winwidth' command. --- Andrew Burgess (7): gdb/tui: add window width information to 'info win' output gdb/doc: update docs for 'info win' and 'winheight' commands gdb: move some commands into the tui namespace gdb/tui: rename tui_layout_base::adjust_size to ::set_height gdb/tui: rename tui_layout_split:set_weights_from_heights gdb/testing/tui: add new functionality to tuiterm.exp gdb/tui: add new 'tui window width' command and 'winwidth' alias gdb/NEWS | 25 +++++ gdb/doc/gdb.texinfo | 43 ++++++--- gdb/testsuite/gdb.tui/info-win.exp | 61 ++++++++++++ gdb/testsuite/gdb.tui/winwidth.exp | 62 +++++++++++++ gdb/testsuite/lib/tuiterm.exp | 54 ++++++++++- gdb/tui/tui-layout.c | 50 +++++++--- gdb/tui/tui-layout.h | 115 +++++++++++++++++++++-- gdb/tui/tui-win.c | 143 +++++++++++++++++++++++++---- 8 files changed, 504 insertions(+), 49 deletions(-) create mode 100644 gdb/testsuite/gdb.tui/info-win.exp create mode 100644 gdb/testsuite/gdb.tui/winwidth.exp -- 2.25.4