wireshark/doc
Guy Harris dc548e7458 Allow the user to save either all of the current capture, or only the
packets that are currently being displayed from that capture.

Centralize the code to control whether "File:Save" and "File:Save As"
are enabled (and *always* have "File:Save As" enabled if you have a
capture; "File:Save" is enabled only if you have a live capture you've
not yet saved, although it does the same thing as "File:Save As").

Have the "save_file" member of a "capture_file" structure represent
*only* the file currently being *written* to by a capture, and, if there
is no capture currently in progress, have it be NULL; the name of the
file currently being *displayed" is in the "filename" member, and an
"is_tempfile" member indicates whether it's a temporary file for a live
capture or not.

Have "close_cap_file()" delete the current capture file if it's a
temporary capture file that hasn't been saved (in its entirety - saving
selected frames doesn't count).  Do the same (if there *is* a current
capture file) when exiting.

The "Ready to load or capture" message is the only statusbar message in
the "main" context; "close_cap_file()" should never pop it, it should
only pop whatever message exists in the "file" context, and thus has no
need to take, as an argument, the context for the message it should pop.

Update the man page to reflect the new behavior of "File:Save" and
"File:Save As", and to reflect recent changes to "Display:Match Selected".

svn path=/trunk/; revision=1170
1999-11-30 20:50:15 +00:00
..
.cvsignore Added ethereal, randpkt, and intermediate programs (dfilter2pod, rdps) to 1999-10-15 20:54:39 +00:00
dfilter2pod.in Enable filtering on the existence of an FT_STRING variable, even though 1999-10-19 05:45:56 +00:00
ethereal.pod.template Allow the user to save either all of the current capture, or only the 1999-11-30 20:50:15 +00:00
Makefile.am Have Ethereal check for a first command-line argument of "-G", rather 1999-10-21 21:47:08 +00:00
proto_tree Make the field indices in the sample code for registering fields static. 1999-11-30 05:49:14 +00:00
randpkt.txt Fixed randpkt so it isn't linked to X11 libs. Removed randpkt from default 1999-09-17 04:38:23 +00:00