public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: "Martin M. Hunt" <hunt@redhat.com>
To: "insight@sources.redhat.com" <insight@sources.redhat.com>
Subject: new function browser
Date: Mon, 10 Feb 2003 10:00:00 -0000	[thread overview]
Message-ID: <1044871155.1935.10.camel@Dragon> (raw)

The recent upgrade to the latest iwidgets broke the function browser due
to several different reasons.  I fixed those, and while I was at it
added an alternative layout for the frames, made everything resizable,
made the source view always displayed (although can be resized to
nothing) and fixed a few bugs.  The new file is only 3/4 of the size of
the original, which just shows you how much space bugs take up in your
code. :^)  I also wrote a new help file.

There is a small bug fix in libgui/library/balloon.tcl that I have also
checked in. Without this you won't always see the popup menu in the
function browser.

Here's the ChangeLog.  I won't append the huge patch.  You'll have to
check out the files or wait for the nightly snapshot.  NOTE THAT THE
CURRENT CVS SOURCES HAVE BEEN BROKEN FOR INSIGHT SINCE LAST WEDNESDAY.
So just update the gdbtk subdirectory (and libgui).

2003-02-10  Martin M. Hunt  <hunt@redhat.com>

	* library/prefs.tcl (pref_set_defaults): Remove prefs
	gdb/browser/width, gdb/browser/top_height, gdb/browser/view_height,
	gdb/browser/view_is_open. Add gdb/browser/layout.

	* library/browserwin.ith: Update declarations to match 
	changes in browserwin.itb.

	* library/browserwin.itb (constructor): Don't set toplevel
	bindings. Set _layout from prefs.
	(destructor): Don't check $resize_after. Don't save view_is_open.
	(_build_win): Create a popup menu and bind to button 3.
	Split the rest into 4 functions; _build_file_frame, 
	_build_filter_frame, _build_function_frame, and _build_view_frame.
	Pack these 4 frames according to $_layout.
	(_toggle_more): Deleted.
	(_bind_toplevel): Deleted.
	(_do_resize): Deleted.
	(_resize): Deleted.
	(_fill_source): Always fill because source is always visible.
	(_fill_funcs_combo): Limit width of combo to 40 chars.
	(_build_filter_frame): New function.
	(_build_file_frame): New function.
	(_build_function_frame): New function.
	(_build_view_frame): New function.
	(_switch_layout): New function. Toggle between layouts.

	* library/tclIndex: Rebuilt.
	
	* library/help/browser.html: Rewrite.

                 reply	other threads:[~2003-02-10 10:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1044871155.1935.10.camel@Dragon \
    --to=hunt@redhat.com \
    --cc=insight@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).