Commit Graph

9684 Commits

Author SHA1 Message Date
Guy Harris a2bb1cdbbe Add a Mac OS X icon file, for possible future use.
svn path=/trunk/; revision=9681
2004-01-16 22:11:36 +00:00
Ulf Lamping 3f37d207e7 column preferences page now looks similar to the color dialog layout,
as it's doing the same thing

svn path=/trunk/; revision=9680
2004-01-16 21:25:21 +00:00
Jörg Mayer 0ac74ed036 In case of CVS sources, add the date of the last change to the version
number.

2do: Add support to Makefile.nmake
     Enforce the generation of cvsversion.h on each run of make

svn path=/trunk/; revision=9679
2004-01-16 20:04:21 +00:00
Guy Harris 8f89f05a86 From Thomas Anders: fix a typo.
Update the list of contributors in the man page.

svn path=/trunk/; revision=9678
2004-01-16 19:52:36 +00:00
Guy Harris 58ee0d5b69 Reset the tap listeners in "retap_packets()" before rerunning the taps.
svn path=/trunk/; revision=9677
2004-01-16 19:35:32 +00:00
Guy Harris 04ac43b255 From Tomas Kukosa: there are 3, not 4, bits of codeset in an IE.
That means that the codeset number cannot be bigger than the number of
elements in "q931_info_element_vals[]", so we can get rid of the checks
for the codeset value; we also make NUM_INFO_ELEMENT_VALS equal to
(Q931_IE_SHIFT_CODESET+1), to make this clearer.

svn path=/trunk/; revision=9676
2004-01-16 18:28:09 +00:00
Gerald Combs daa52919e3 From Aaron Woo (via Jeff Weston): Optimized Link State Routing Protocol
(OLSR) support.

svn path=/trunk/; revision=9675
2004-01-16 14:08:34 +00:00
Ulf Lamping 87f4ff7354 bugfix: use correct size of global value
svn path=/trunk/; revision=9674
2004-01-16 11:53:40 +00:00
Gerald Combs ba6b321e63 From Aaron Woo (via Jeff Weston): Optimized Link State Routing Protocol
(OLSR) support.

svn path=/trunk/; revision=9673
2004-01-16 04:37:54 +00:00
Gerald Combs baa2cb115f GLib versions prior to 2.0 don't have g_ascii_strdown(). Use g_strdown()
instead.

svn path=/trunk/; revision=9672
2004-01-16 04:32:30 +00:00
Olivier Biot 36d97f3963 Fix a typo in protocol tree.
svn path=/trunk/; revision=9671
2004-01-16 01:49:37 +00:00
Olivier Biot 55f9271c3b Add support for MIME multipart dissection.
svn path=/trunk/; revision=9670
2004-01-16 01:32:20 +00:00
Guy Harris 39d69e48f9 Put in a space where it belongs.
svn path=/trunk/; revision=9669
2004-01-15 02:29:43 +00:00
Guy Harris 4495c27aa5 From Anders Broman: dissect access transport, user teleservice info,
user service infor prime, and echo control information parameters.

svn path=/trunk/; revision=9668
2004-01-15 02:23:18 +00:00
Ulf Lamping 065edac68b move "marked packet color" setting from gui_prefs to Colors page.
remove the Color dialog from gui_prefs.c

svn path=/trunk/; revision=9667
2004-01-15 01:13:51 +00:00
Ulf Lamping d0efc49be5 Change labels from "TCP Streams" to "Colors", to add other color values later
Later, file has to be renamed to color_prefs.dlg (function renaming similar)

svn path=/trunk/; revision=9666
2004-01-14 23:32:48 +00:00
Ulf Lamping 4676bb5bac destroy the "save as" dialog only, if it's existing
svn path=/trunk/; revision=9665
2004-01-14 14:28:25 +00:00
Guy Harris 3605cc723f From Martin Mathieson: handle up to 4 RTP channels in an SDP packet.
svn path=/trunk/; revision=9664
2004-01-13 23:18:13 +00:00
Guy Harris 78ff1a1ff8 From Anders Broman: dissect message compatibility information parameter.
svn path=/trunk/; revision=9663
2004-01-13 23:11:19 +00:00
Guy Harris 56d34898b9 In at least one capture, the User teleservices parameter length is 2,
not 3; change the value, and use the length of the parameter tvbuff when
constructing an item for that parameter.

svn path=/trunk/; revision=9662
2004-01-13 23:03:25 +00:00
Guy Harris 4cdffbe850 From Anders Broman:
handle the case where the address presentation restricted
	indicator in a location number parameter indicates the address
	isn't available;

	register as "application/isup", not "application/ISUP", as
	dissectors that use the media_type dissector table convert the
	media type to lower case, under the assumption that dissectors
	register all-lower-case media types, to make the match
	case-insensitive.

svn path=/trunk/; revision=9661
2004-01-13 22:58:04 +00:00
Guy Harris a093c75b59 Use "retap_packets()" rather than "redissect_packets()".
svn path=/trunk/; revision=9660
2004-01-13 22:49:15 +00:00
Guy Harris 4dd10c6687 Add a routine "retap_packet()" that runs through all packets, dissecting
them and running all taps on them, but not reconstructing the packet
list.  Use that in the IO-stat tap rather than "redissect_packet()"; the
latter does more work and redraws the display, neither of which are
necessary.

Call the filter callback when the Calc field is changed, to redraw the
graphs; that change also fixes things so that it's called when the
Filter field is changed.

Rename the "filter_button" member of an io_stat_graph_t to
"filter_field", as it's not the "Filter:" button, it's the text field
containing the filter expression.

svn path=/trunk/; revision=9659
2004-01-13 22:34:10 +00:00
Guy Harris 6c01a97497 You can't rely on "proto_tree_add_item()" returning a non-null pointer,
so you can't rely on getting the length of an FT_UINT_STRING item by
calling "proto_tree_add_item()" and fetching the item length from the
item.  Get the length of the string explicitly, and advance the offset
by the length of the string plus the length of the length field.

svn path=/trunk/; revision=9658
2004-01-13 21:49:52 +00:00
Guy Harris 053ec89a5d "dfilter_compile()" supplies a null dfilter pointer for an empty filter
expression; don't assume it always supplies a non-null pointer.

svn path=/trunk/; revision=9657
2004-01-13 21:10:38 +00:00
Guy Harris 982a4976c7 Add a routine "io_stat_reset()" to reset an io_stat_t; have
"gtk_iostat_reset()" call it, and have calls to
"gtk_iostat_reset(&io->graphs[0])" just call "io_stat_reset(io)".

Add a routine "io_stat_draw()" to draw an io_stat_t; have
"gtk_iostat_draw()" call it, and have calls to
"gtk_iostat_draw(&io->graphs[0])" just call "io_stat_draw(io)".

Add a routine "io_stat_redraw()" to set the "needs_redraw" flag on an
io_stat_t and call "io_stat_draw()" on it, in order to force a redraw.
Use that in place of set flag/io_stat_draw pairs.

Add a routine "enable_graph()" to set an io_stat_graph_t's display flag
to TRUE and register a tap listener for it, and add a routine
"disable_graph()" to, if an io_stat_graph_t's display flag is set, clear
it, remove its tap listener, and turn its display button off.  Use
"disable_graph()" to disable graphs, rather than just turning the
display flag off, so that we ensure that the invariant "tap listener
present iff graph enabled" is preserved - the code to destroy an io-stat
window only removes tap listeners for enabled graphs, so it depends on
that invariant being preserved.

Check the validity of a display filter by compiling it, not by going
through the whole sequence of registering a tap listener.

svn path=/trunk/; revision=9656
2004-01-13 21:04:52 +00:00
Olivier Biot 251a2ce0c1 Fix the MIBenum mapping for HZ-GB-2312 (MIBenum = 2085).
Add "*" value (MIBenum = 0).
Add the IANA character set registry URL in a comment.

svn path=/trunk/; revision=9655
2004-01-13 20:59:37 +00:00
Guy Harris d3ee83c0a0 Make the variable into which values from
"gtk_spin_button_get_value_as_float()" be doubles rather than floats -
GTK+ 2.x's "gtk_spin_button_get_value_as_float()" actually returns
doubles.

svn path=/trunk/; revision=9654
2004-01-13 08:25:00 +00:00
Guy Harris 9490a9322c Get rid of CRs.
Note that we have to deal with the character set of the text.

svn path=/trunk/; revision=9653
2004-01-13 07:55:24 +00:00
Guy Harris e73638642a From Anders Broman: dissect media type application/ISUP as ISUP.
svn path=/trunk/; revision=9652
2004-01-13 03:35:18 +00:00
Guy Harris 9027f02a1d From Joost Yervante Damad:
add 3 new vendors;

	add 3 non-encapsulated Merit vendor-specific attributes;

	display the authenticator in the protocol tree.

svn path=/trunk/; revision=9651
2004-01-13 03:30:15 +00:00
Guy Harris 9dac6d42d5 From Matthijs Melchior: allow an absent or empty file name to mean "no
type table".

svn path=/trunk/; revision=9650
2004-01-13 02:36:51 +00:00
Guy Harris c66241700a From Yuriy Sidelnikov: ISO 8823 Presentation Protocol support.
svn path=/trunk/; revision=9649
2004-01-13 02:10:25 +00:00
Guy Harris c7ff72f53e From Yuriy Sidelnikov: fix a bug caused by incorrect by-hand application
of an earlier one of his patches.

svn path=/trunk/; revision=9648
2004-01-13 01:55:36 +00:00
Guy Harris b4b3582314 From Yuriy Sidelnikov: remove an incorrect "&".
svn path=/trunk/; revision=9647
2004-01-13 01:52:09 +00:00
Guy Harris 58f30e366e Fix a source file name that got added to the list of object files.
svn path=/trunk/; revision=9646
2004-01-12 08:55:38 +00:00
Guy Harris b97626862e Rename DISSECTOR_HELPER_{SRC,OBJECTS} to
DISSECTOR_SUPPORT_{SRC,OBJECTS}.

Add some additional files, required by dissectors, to those lists.

Extract the stuff to get version information strings for libraries and
the OS, which is *not* needed by dissectors, from "util.c", which
contains routines that *are* needed by dissectors, and put it into a
separate file.

Make "dftest" link only with the dissector support stuff, not with all
of the Ethereal common files.

svn path=/trunk/; revision=9645
2004-01-11 22:17:43 +00:00
Jörg Mayer 8e6ece35e6 #if 0 out test that causes an always false warning
svn path=/trunk/; revision=9644
2004-01-11 10:02:39 +00:00
Olivier Biot 40a74b1ff5 Replace guchar * with gchar * and get rid of many signedness warnings.
svn path=/trunk/; revision=9643
2004-01-10 17:31:40 +00:00
Ulf Lamping a6ff7799a2 close the Save (As) dialog, when the capture file is closed
svn path=/trunk/; revision=9642
2004-01-10 17:29:26 +00:00
Ulf Lamping a25df4f95f add a "Save As" button to the toolbar,
changed some tooltips

svn path=/trunk/; revision=9641
2004-01-10 17:10:06 +00:00
Ulf Lamping d25f981cdf add a "Save As" button to the toolbar
svn path=/trunk/; revision=9640
2004-01-10 16:58:13 +00:00
Olivier Biot 2857dfc114 Add -Wbad-function-cast to extra gcc flags.
svn path=/trunk/; revision=9639
2004-01-10 16:51:07 +00:00
Ulf Lamping 685a68e597 using button compatibility macros
svn path=/trunk/; revision=9638
2004-01-10 16:35:10 +00:00
Olivier Biot 1744b9d820 Get rid of rdps in CLEAN target for cygwin (EXEEXT = ".exe").
svn path=/trunk/; revision=9637
2004-01-10 16:34:27 +00:00
Ulf Lamping 949f1f2d07 using button compatibility macros
svn path=/trunk/; revision=9636
2004-01-10 16:27:43 +00:00
Olivier Biot 4222fa7509 Get rid of 290 warnings (-pedantic). The only warnigs that remain, are
braces in expressions, which should be no harm however.

NOTE: Is there a means of disabling this type of warning in gcc?

svn path=/trunk/; revision=9635
2004-01-10 15:33:51 +00:00
Olivier Biot 806e106573 Pointed out by Joerg Mayer:
The LDP dissector uses a pointer-to-func for the translation of addresses
to text. Replace the void * and obscure type casts with a storage class
definition for such a function, and type cast its argument in the cases
where it is not a const guint8 * anymore (e.g., IPv6 address).

Add a default type-casting function for unhandled cases.

Fix signedness complaint of the TCP and UDP port preferences for LDP.

svn path=/trunk/; revision=9634
2004-01-10 14:57:36 +00:00
Ulf Lamping b9cde84cac using button compatibility macros
svn path=/trunk/; revision=9633
2004-01-10 14:11:58 +00:00
Ulf Lamping 02d575db13 added various button compatibility macros,
to be used in the dialogs and elsewhere

svn path=/trunk/; revision=9632
2004-01-10 14:10:43 +00:00