From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess 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-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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: , X-List-Received-Date: Fri, 28 Jan 2022 15:55:16 -0000 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