wireshark/epan
Guy Harris 2851b7ef76 Enable "Match Selected" only if there's a field selected *and* we can do
a "Match Selected" on it - we can't do a "Match Selected" if the field
has no value (e.g., FT_NULL) and has a length of 0.

If we unselect the current packet, we don't have a protocol tree, so we
don't have a currently selected field - clear the "Match Selected" menu
item and the display in the status line of information about the
currently selected field.

Move the low-level statusbar manipulation into "gtk/main.c", in routines
whose API doesn't expose anything GTK+-ish.

"close_cap_file()" calls one of those routines to clear out the status
bar, so it doesn't need to take a pointer to the statusbar widget as an
argument.

"clear_tree_and_hex_views()" is purely a display-manipulating routine;
move it to "gtk/proto_draw.c".

Extract from "tree_view_unselect_row_cb()" an "unselect_field()" routine
to do all the work that needs to be done if the currently selected
protocol tree row is unselected, and call it if the currently selected
packet list row is unselected (if it's unselected, there *is* no
protocol tree, so no row can be selected), as well as from
"tree_view_unselect_row_cb()".

Before pushing a new field-description message onto the statusbar, pop
the old one off.

Get rid of an unused variable (set, but not used).

svn path=/trunk/; revision=3513
2001-06-05 07:39:31 +00:00
..
dfilter The Win32 build builds wiretap as a DLL and requires WinPcap 2.1. 2001-03-23 02:05:29 +00:00
ftypes Windows and the MSVC++ 6.0 library don't have "strptime()", so pull in 2001-06-02 06:21:14 +00:00
.cvsignore Add some win32-specific targets in .cvsignore's. 2001-03-06 13:08:13 +00:00
AUTHORS Give libethereal its own configuration file, and have that configuration 2000-10-16 23:18:05 +00:00
ChangeLog Give libethereal its own configuration file, and have that configuration 2000-10-16 23:18:05 +00:00
Makefile.am Moved the the remaining column related routines out of packet.{c,h} 2001-04-01 07:32:35 +00:00
Makefile.nmake Improvement of 'make clean' targets. 2001-04-12 18:07:22 +00:00
NEWS Give libethereal its own configuration file, and have that configuration 2000-10-16 23:18:05 +00:00
README Give libethereal its own configuration file, and have that configuration 2000-10-16 23:18:05 +00:00
acconfig.h Give libethereal its own configuration file, and have that configuration 2000-10-16 23:18:05 +00:00
atalk-utils.c Move appletalk- and sna-related address routines out of the dissectors 2001-03-22 16:24:16 +00:00
atalk-utils.h Move appletalk- and sna-related address routines out of the dissectors 2001-03-22 16:24:16 +00:00
bitswap.c Move the table of bit-swapped byte values to "epan/bitswap.c", and 2000-11-15 09:37:53 +00:00
bitswap.h Move the table of bit-swapped byte values to "epan/bitswap.c", and 2000-11-15 09:37:53 +00:00
column-utils.c Don't use "u_int" for IPv4 addresses in "column-utils.c", as that'll 2001-04-02 10:38:26 +00:00
column-utils.h Moved the the remaining column related routines out of packet.{c,h} 2001-04-01 07:32:35 +00:00
column_info.h Moved the column_info structure and related enum from packet.{c,h} to 2001-04-01 03:42:00 +00:00
config.h.win32 Base HAVE_PLUGINS on whether "g_module_supported()" returns TRUE, not on 2001-05-01 02:44:52 +00:00
configure.in Update files for release 8.18 2001-05-16 16:17:52 +00:00
conversation.c Define a "COPY_ADDRESS()" macro, which copies the data in one address to 2001-06-04 07:27:50 +00:00
conversation.h Nobody calls "old_try_conversation_dissector()" or 2000-11-18 11:47:21 +00:00
epan.c Added two new arguments to epan_init() and proto_init() to 2001-04-02 00:38:36 +00:00
epan.h Added two new arguments to epan_init() and proto_init() to 2001-04-02 00:38:36 +00:00
except.c First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
except.h First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
exceptions.h Create a more modular type system for the FT_* types. Put them 2001-02-01 20:21:25 +00:00
filesystem.c "get_home_dir()", in "epan/filesystem.c", uses 2001-04-02 09:53:46 +00:00
filesystem.h "get_home_dir()", in "epan/filesystem.c", uses 2001-04-02 09:53:46 +00:00
frame_data.c Moved the frame_data structures and functions from packet.{h,c} to 2001-04-01 04:11:51 +00:00
frame_data.h Moved the frame_data structures and functions from packet.{h,c} to 2001-04-01 04:11:51 +00:00
gdebug.h Grumble, grumble. I forgot to add the license comment at the top 2001-02-01 20:31:21 +00:00
inet_aton.c Move inet_*.[ch] files to epan. 2000-10-14 04:31:26 +00:00
inet_aton.h Move inet_*.[ch] files to epan. 2000-10-14 04:31:26 +00:00
inet_ntop.c Move inet_*.[ch] files to epan. 2000-10-14 04:31:26 +00:00
inet_pton.c Move inet_*.[ch] files to epan. 2000-10-14 04:31:26 +00:00
inet_v6defs.h Move inet_*.[ch] files to epan. 2000-10-14 04:31:26 +00:00
ipv4.c Simple code movement. 2000-09-28 03:52:12 +00:00
ipv4.h Create a more modular type system for the FT_* types. Put them 2001-02-01 20:21:25 +00:00
ipv6-utils.h Moved some ipv6 definitions from packet-ipv6.h to epan/ipv6-utils.h. 2001-04-01 07:06:24 +00:00
osi-utils.c Stop depending on the order in which operations are performed by 2001-05-15 18:58:15 +00:00
osi-utils.h Don't use "u_int" and "u_char", as they're not defined in <sys/types.h> 2001-04-02 10:41:19 +00:00
packet.c "old_dissector_delete()" is no longer used; remove it. 2001-06-02 08:23:10 +00:00
packet.h "old_dissector_delete()" is no longer used; remove it. 2001-06-02 08:23:10 +00:00
packet_info.c Moved the packet_info structure and supporting functions out of 2001-04-01 04:50:42 +00:00
packet_info.h Define a "COPY_ADDRESS()" macro, which copies the data in one address to 2001-06-04 07:27:50 +00:00
pint.h Get rid of the definitions of LITTLE_ENDIAN and BIG_ENDIAN in 2000-11-11 10:23:43 +00:00
plugins.c Get rid of support for non-tvbuffified plugin dissectors. 2001-04-25 08:41:22 +00:00
plugins.h removed #include "prefs.h" from epan/plugins.h 2001-03-31 22:36:21 +00:00
proto.c Enable "Match Selected" only if there's a field selected *and* we can do 2001-06-05 07:39:31 +00:00
proto.h Enable "Match Selected" only if there's a field selected *and* we can do 2001-06-05 07:39:31 +00:00
resolv.c Support for "-N" flag enabling selected forms of name resolution, from 2001-05-31 08:36:46 +00:00
resolv.h There's no "enable name resolution in captures" preference in Ethereal, 2001-04-15 03:37:16 +00:00
sna-utils.c Moved some ipv6 definitions from packet-ipv6.h to epan/ipv6-utils.h. 2001-04-01 07:06:24 +00:00
sna-utils.h Moved some ipv6 definitions from packet-ipv6.h to epan/ipv6-utils.h. 2001-04-01 07:06:24 +00:00
strutil.c Enable FT_BYTES dfiltering, from Ed Warnicke. 2000-12-22 12:05:38 +00:00
strutil.h Enable FT_BYTES dfiltering, from Ed Warnicke. 2000-12-22 12:05:38 +00:00
timestamp.h Moved timestamp.h into epan. 2001-04-01 06:11:25 +00:00
to_str.c Display all the digits of the microsecond field of an absolute time 2001-05-31 06:48:00 +00:00
to_str.h Moved vines_addr_to_str() from packet-vines.{h,c} to epan/to_str.{c,h}. 2001-04-01 06:32:10 +00:00
tvbtest.c First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
tvbuff.c Fix a comment, and update Gerald's e-mail address. 2001-05-27 21:34:05 +00:00
tvbuff.h Fix a comment, and update Gerald's e-mail address. 2001-05-27 21:34:05 +00:00
value_string.c Include <sys/time.h> as well as <time.h> in "column-utils.c" and 2001-04-02 02:30:06 +00:00
value_string.h Moved the value_string structures and function from packet.{c,h} into 2001-04-01 03:18:41 +00:00

README

$Id: README,v 1.1 2000/10/16 23:17:39 guy Exp $

XXX - put something here