Commit Graph

10991 Commits

Author SHA1 Message Date
Ulf Lamping 95f1ce8d4b directly use the file selection dialog instead of using an additional custom dialog
svn path=/trunk/; revision=11042
2004-05-31 12:06:28 +00:00
Ulf Lamping eb60b3e063 some more dialog redesign and code cleanup
svn path=/trunk/; revision=11041
2004-05-31 11:22:58 +00:00
Guy Harris c8c2bab1b9 Add a routine that indicates where there are any tap listeners
registered (not whether there are any tap *filters* registered).

Do dissection in Tethereal iff:

	we're printing information about each packet;

	we're using a read filter on the packets;

	there are any tap listeners registered (even if there are no tap
	filters registered - not all taps use filters).

svn path=/trunk/; revision=11040
2004-05-31 09:53:21 +00:00
Ulf Lamping 3804c8ae9a interface options preference dialog: remove confusing second interface clist,
fix a bug making garbage of user supplied interface description

svn path=/trunk/; revision=11039
2004-05-31 09:23:14 +00:00
Guy Harris 0d1fb8c108 Make "-q" suppress packet printing when you're reading a capture file
and not writing to another capture file, for use with "-z" options.

Note that "-z proto" *doesn't* print statistics at the end - it modifies
the packet summary output.

Note that on at least some BSDs the "status" character is set to "off"
by default, so you have to set it explicitly in order to be able to ^T
an application such as Tethereal.

svn path=/trunk/; revision=11038
2004-05-31 08:41:32 +00:00
Guy Harris 8a429808e7 Move the packet counting, dissecting, and filtering out of the "write
packet" and "print packet" callbacks into a common routine, so that we
don't count packets twice if we're counting and dissecting.

Print the packet count with ^T iff we're not updating a displayed packet
count as packets arrive, regardless of whether we're printing packet
information, saving packets to a file, or both (tcpdump prints it
regardless of whether it's printing packet information or saving packets
to a file).

svn path=/trunk/; revision=11037
2004-05-31 07:52:27 +00:00
Guy Harris d6d7816485 The "key" argument to "write_recent_geom()" is required (as it's called
through a pointer), but isn't used - mark it as unused.

svn path=/trunk/; revision=11036
2004-05-31 02:42:39 +00:00
Olivier Biot 0bcada8dc8 Add support for Exif decoding (initial framework).
Still lots of work to do here :)

svn path=/trunk/; revision=11035
2004-05-31 01:24:03 +00:00
Ulf Lamping 4e983558da sort saved preference settings by appearance in dialog
svn path=/trunk/; revision=11034
2004-05-30 18:27:52 +00:00
Anders Broman 5f9eb1d737 From Thomas Anders patch adds sub parameter dissection to the MGCP plugin
(plugins/mgcp/packet-mgcp.c), initially for the ConnectionParameters(P),
and updates/adds some specification references.

This patch makes the sub parameter values filterable as numbers and
may allow for improved MGCP statistics in the future.

svn path=/trunk/; revision=11033
2004-05-30 17:58:35 +00:00
Ulf Lamping 68c730e54d save window position/size/maximized state into recent file
(only help dialog for now)

svn path=/trunk/; revision=11032
2004-05-30 11:54:37 +00:00
Guy Harris 4384e31a4f When we create a tvbuff for a security blob, set its reported length to
the reported length of the blob, not the amount of data available from
the blob.

Use "tvb_strneql()" when checking for strings, so that we don't throw an
exception if there's less data in the tvbuff than there are bytes in the
string, we just say "not equal".

svn path=/trunk/; revision=11031
2004-05-29 06:55:52 +00:00
Guy Harris 12279386df From Nathan Alger: update the VSA attributes for Juniper and
Juniper/Unisphere routers.

svn path=/trunk/; revision=11030
2004-05-29 04:41:25 +00:00
Guy Harris bf4be0e814 Squelch a compiler warning by removing a "/*" from the middle of a
comment.

svn path=/trunk/; revision=11029
2004-05-29 04:34:51 +00:00
Ronnie Sahlberg 7b81f32fa1 check in Thomas Anders patch to SNMP to allow ethereal to dissect
properly COUNTER64 objects that are not spanning a full 64 bit on the wire

svn path=/trunk/; revision=11028
2004-05-29 01:00:59 +00:00
Ulf Lamping 8295862b9e connectionless cancel PDU's don't have a dg_server_accepting_cancels field
svn path=/trunk/; revision=11027
2004-05-28 20:59:56 +00:00
Ulf Lamping 504edf02ec enable postcript printing if selected in prefs,
correctly remove temporary file on close dialog

svn path=/trunk/; revision=11026
2004-05-27 23:09:09 +00:00
Ulf Lamping e57142b214 bugfixes: fixed printing on win32,
and convert none printable characters, so printing will work on binary output as well
(like in the GUI output)

svn path=/trunk/; revision=11025
2004-05-27 21:55:59 +00:00
Ulf Lamping 778158c965 win_printer is gboolean, not an int
svn path=/trunk/; revision=11024
2004-05-27 21:52:07 +00:00
Ulf Lamping 76af137169 added a small comment
svn path=/trunk/; revision=11023
2004-05-27 21:48:10 +00:00
Guy Harris 257f4b8c80 Tag the "has_child" argument to "prefs_tree_page_add()" as unused when
building with GTK+ 2.x or later, as it's only needed and only used for
1.2[.x].

svn path=/trunk/; revision=11022
2004-05-27 21:42:54 +00:00
Ulf Lamping 8d121bfb92 use gtk_window_set_default_size() instead of WIDGET_SET_SIZE() for the dialogs,
as WIDGET_SET_SIZE() will prevent the user from shrinking the dialog,
and gtk_window_set_default_size() will not

svn path=/trunk/; revision=11021
2004-05-27 19:59:50 +00:00
Guy Harris 6f8e9eeafe Get rid of an unused variable.
Mark as unused a required argument that's unused.

svn path=/trunk/; revision=11020
2004-05-27 18:12:58 +00:00
Ulf Lamping b7efb77688 added a small comment
svn path=/trunk/; revision=11019
2004-05-27 17:26:46 +00:00
Ulf Lamping 071d9bcef0 bugfix: don't try to destroy a window, when it's already being destroyed
svn path=/trunk/; revision=11018
2004-05-27 17:08:50 +00:00
Ulf Lamping 54fe7e9e93 a lot of code cleanup
svn path=/trunk/; revision=11017
2004-05-27 16:50:16 +00:00
Ulf Lamping e22528662a bugfix: don't try to destroy a window, when it's already being destroyed
svn path=/trunk/; revision=11016
2004-05-27 16:48:36 +00:00
Ulf Lamping 7bc663239f added some tooltips
svn path=/trunk/; revision=11015
2004-05-27 16:43:01 +00:00
Ulf Lamping f69aa84636 Don't point to the manpage for the list of authors, it's in the about dialog now
svn path=/trunk/; revision=11014
2004-05-27 16:41:33 +00:00
Ronnie Sahlberg bca8b528db the isns timestamp is in fact a 64 bit integer and not a 32 bit integer.
declaring it properly will make ethereal dissect it properly as well
instead of crashing

svn path=/trunk/; revision=11013
2004-05-27 08:33:22 +00:00
Ronnie Sahlberg 581724041a make KRB_SAFE more consistent with the other PDUs by removing the SAFE expansion.
cosmetic: Put the application type on the kerberos subtree

svn path=/trunk/; revision=11012
2004-05-27 08:22:04 +00:00
Guy Harris bf55bfd7eb Don't compile in "follow_save_as_destroy_cb()" for GTK+ 2.4 and later,
as it's not used.

svn path=/trunk/; revision=11011
2004-05-26 21:23:20 +00:00
Jörg Mayer ab9783d60e Make gtk2 the default. Use --disable-gtk2 to use glib1/gtk1 instead
svn path=/trunk/; revision=11010
2004-05-26 12:08:15 +00:00
Jörg Mayer 1822ad1e78 Change C++ style comments
svn path=/trunk/; revision=11009
2004-05-26 11:37:36 +00:00
Ronnie Sahlberg d5f9c8aa92 in dissect_ber_bitstring32()
It is not neccessary that the encoded bitstring is actually encoded as 4 bytes.

Make sure, that if the bistring is encoded in less than 4 bytes that we
still do the right thing.

svn path=/trunk/; revision=11008
2004-05-26 11:25:20 +00:00
Ronnie Sahlberg c7bf0b4211 remove the SAFE_BODY expansion to make KRB5_MSG_SAFE look more consistent
with the other application dissectors.

svn path=/trunk/; revision=11007
2004-05-26 11:04:15 +00:00
Jörg Mayer e7e37d473c Run libtoolize after aclocal.m4 has been generated
svn path=/trunk/; revision=11006
2004-05-26 10:41:14 +00:00
Ronnie Sahlberg 8451fe82d0 implementation of the KRB_SAFE application
svn path=/trunk/; revision=11005
2004-05-26 08:53:45 +00:00
Guy Harris 9b6feaee20 Get rid of some declarations of routines that no longer exist.
Fix up some declarations of other routines to match the definitions of
those routines.

svn path=/trunk/; revision=11004
2004-05-26 04:21:49 +00:00
Ulf Lamping 7d37fc9d23 more code cleanup from dialog things:
changed window_xy (dialog) function calling in a lot of gtk files
cleanup of file selection code
cleanup in dlg_utils/file_dlg/ui_util
Please report any problems!!!

svn path=/trunk/; revision=11003
2004-05-26 03:49:24 +00:00
Guy Harris 3aaf65db46 Don't capitalize "Filter" in "Display Filter" in the "Find" dialog box,
just as we don't capitalize "value" in "Hex value" in the same set of
radio buttons.

svn path=/trunk/; revision=11002
2004-05-26 02:33:37 +00:00
Guy Harris 8d492fc7e1 The function pointer in a "per_choice_t" or a "per_sequence_t" is to a
function that returns "int", not "guint32"; declare one such function as
such, and note that the function it calls should perhaps also use "int"
for packet-offset arguments and return values (or, rather, that the code
that generated it should generate functions that do so).

svn path=/trunk/; revision=11001
2004-05-25 21:27:02 +00:00
Guy Harris f6b81fdc12 The function pointer in a "per_choice_t" or a "per_sequence_t" is to a
function that returns "int", not "guint32"; re-generate "packet-h235.c",
from the new "asn2eth.py", to define those functions to return "int".

svn path=/trunk/; revision=11000
2004-05-25 21:24:03 +00:00
Guy Harris 40ecde2765 The function pointer in a "per_choice_t" or a "per_sequence_t" is to a
function that returns "int", not "guint32"; define those functions to
return "int".

svn path=/trunk/; revision=10999
2004-05-25 21:23:09 +00:00
Guy Harris 3a0e53c866 Declare the "value_string" tables as "extern", to avoid problems when
building a shared libethereal on some platforms.

svn path=/trunk/; revision=10998
2004-05-25 21:08:33 +00:00
Guy Harris ba6a79257a "NOT_DECODED_YET()" was replaced by "PER_NOT_DECODED_YET()" and
"BER_NOT_DECODED_YET()"; use the right one.

svn path=/trunk/; revision=10997
2004-05-25 21:07:43 +00:00
Guy Harris 3858062c2f Replace some Windows dash/hyphen character with a "-" in some comments.
Make the header files declare the "value_string" arrays as "extern", so
as to prevent problems on some platforms when building a shared
libethereal.

Note that, at least currently, we have separate "PER_NOT_DECODED_YET()"
and "BER_NOT_DECODED_YET()" macros, rather than a common
"NOT_DECODED_YET()" macro.

svn path=/trunk/; revision=10996
2004-05-25 21:06:54 +00:00
Ronnie Sahlberg faf49756f1 fix the timestamp problem in h225
svn path=/trunk/; revision=10995
2004-05-25 19:48:40 +00:00
Ronnie Sahlberg a0b06a20ef get rid of some compiler warnings
svn path=/trunk/; revision=10994
2004-05-25 10:17:34 +00:00
Ronnie Sahlberg 98e3ae148c H.235 dissector from Tomas compiler script.
This should make H.235 semicomplete and make a lot more H.225 packets dissect properly.

Please test.

svn path=/trunk/; revision=10993
2004-05-25 10:09:04 +00:00