From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 9B04D3858C2C for ; Mon, 8 May 2023 14:10:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9B04D3858C2C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id D08B41FF40; Mon, 8 May 2023 14:10:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683555038; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=XxHRD0MZMiEf7+DhwU8vpQCFR0VQo0mF4YxCZ1TCdEU=; b=eNDDiO5fKUt407s2ktDd8XRQTyeeL2irxHxIU7IX30QEeWdSvJBY2m627mY62a1Ekc7Kl8 hIA8b5zqYJDayg62Wa8AWvA2uI2BsC8j198otSvWjx0alQc0dProL2W6olsZBiZKQGwhVU BsuGvoJOkeGAiWosx+iCzoP58yVhcS4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683555038; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=XxHRD0MZMiEf7+DhwU8vpQCFR0VQo0mF4YxCZ1TCdEU=; b=0P6saufymp53eCm6A+aEBrPQWsLb11j9j+ngTQq/zO3IW9i0RmRNoX4/BnL0SdmpmCpv3y jMGlUI1I1t9A4fAA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 819491346B; Mon, 8 May 2023 14:10:38 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id IUlNG94CWWSpAwAAMHmgww (envelope-from ); Mon, 08 May 2023 14:10:38 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 0/3] [gdb/tui] Add tui border-kind active-ascii Date: Mon, 8 May 2023 16:10:33 +0200 Message-Id: <20230508141036.22723-1-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_SHORT,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: I wrote a patch that adds a new tui border-kind: active-ascii. That patch makes changes in function tui_update_variables, and I ended up writing a patch that simplifies it by factoring out some functions, to make subsequent changes in the function easier. While factoring out one of the functions, I noticed a pre-existing buglet in one of them, so I wrote a separate patch to fix this. Tested on x86_64-linux, by rebuilding and running test-cases gdb.tui/*.exp and gdb.python/tui*.exp for each patch. Tom de Vries (3): [gdb/tui] Make tui_update_variables more readable [gdb/tui] Fix buglet in set_border_kind_item [gdb/tui] Add tui border-kind active-ascii gdb/doc/gdb.texinfo | 4 + gdb/testsuite/gdb.tui/tui-focus.exp | 7 +- gdb/testsuite/lib/tuiterm.exp | 49 +++++----- gdb/tui/tui-win.c | 139 +++++++++++++++++++++------- gdb/tui/tui-win.h | 6 ++ gdb/tui/tui-wingeneral.c | 17 +++- 6 files changed, 163 insertions(+), 59 deletions(-) base-commit: c239019c9f649867c686204d1ac8947a963784d8 -- 2.35.3