Commit Graph

9754 Commits

Author SHA1 Message Date
Olivier Biot 8db6fb47cd Nice rendering of the CVS version as "(cvs 200401181200003000)".
The make-version.pl script only defines CVSVERSION if this was a build
from CVS.

svn path=/trunk/; revision=9701
2004-01-18 01:41:14 +00:00
Jörg Mayer be6e7afc4e Update to Jan 16th
svn path=/trunk/; revision=9700
2004-01-18 01:33:52 +00:00
Ulf Lamping 0c34d1105a make the column preferences page look a bit more like the color rules dialog
svn path=/trunk/; revision=9699
2004-01-18 00:53:57 +00:00
Ulf Lamping 59125a7304 no more differences, wether display filter dialog is called from
menu "Analyze->Display Filter" or statusbar "Filter:" button.

svn path=/trunk/; revision=9698
2004-01-18 00:40:39 +00:00
Ulf Lamping 993b096e21 complete redesign of color dialog
svn path=/trunk/; revision=9697
2004-01-18 00:33:03 +00:00
Olivier Biot 5f9158dea0 From Chris Wilson:
Support for dissection of concatenated SMPP PDUs.

Also:

	Add more information to the protocol tree summary.
	Clean up the white space so it's in-line with the conventions
	of the original author (8-space tabs, 4-space indentations).

svn path=/trunk/; revision=9696
2004-01-18 00:07:03 +00:00
Ulf Lamping c8598a3057 cvsversion.h: added distclean target and dependencies
svn path=/trunk/; revision=9695
2004-01-17 18:52:07 +00:00
Jörg Mayer 1ae6e43f5d Integrate the "find . -name Entries" into make-version.pl, to make this
work with nmake too.

svn path=/trunk/; revision=9694
2004-01-17 13:09:00 +00:00
Ulf Lamping 8020cdf176 splitted some of the preferences texts into more than one line,
to reduce the size of the preferences dialog.
This becoming necessary, as some of the texts were huge

svn path=/trunk/; revision=9693
2004-01-17 12:51:00 +00:00
Ulf Lamping 116bb3c25e Select first row in column list by default,
fixed sensitivity of option_menu

svn path=/trunk/; revision=9692
2004-01-17 12:12:57 +00:00
Ulf Lamping 74dc0a97b5 First attempt to make a description of the capturing things
svn path=/trunk/; revision=9691
2004-01-17 11:10:59 +00:00
Ulf Lamping 31530d92ba precompiled wpdpack.zip file is now at the website
svn path=/trunk/; revision=9690
2004-01-17 11:05:35 +00:00
Guy Harris ae92ea0b12 Clean up some compiler warnings.
Clean up white space.

Have "font_fetch()" return a Boolean indicating whether it succeeded or
not.  If it failed, don't use "new_font_name", as it hasn't been set.

svn path=/trunk/; revision=9689
2004-01-17 03:09:24 +00:00
Olivier Biot b0ff80f9e7 PDUs with a content-type header may contain data that can be handed off
to subdissectors.  This means that we need to parse the MMS headers for
those PDUs.

Fix also indentation (8-space tabs, 4-space soft tabs).

svn path=/trunk/; revision=9688
2004-01-17 00:45:02 +00:00
Jörg Mayer c66bbb0019 Try to genereate cvsversion.h
Note: I don't know anything about the limitations of nmake, so I don't know
whether the `find ...` will work and I can't test it, as I don't have a
Windows system with anything even remotely resembling a compiler on it.

svn path=/trunk/; revision=9687
2004-01-17 00:26:30 +00:00
Ulf Lamping af78977df5 new "Font" preferences page instead of a font dialog in "User Interface"
svn path=/trunk/; revision=9686
2004-01-17 00:26:22 +00:00
Guy Harris 55765c7c61 Passing a double as the value argument to "proto_tree_add_uint()" or
"proto_tree_add_uint_format()" truncates it to a guint32; that might be
what you'd want if it has no fractional part, but it's probably not what
you want if it has a fractional part.  Make the validity time and hello
emission interval values be FT_DOUBLE - and make the variables storing
them doubles so that we don't get whinging from some compilers about
stuffing doubles into floats.

Use hex, not decimal, for bitmasks.

svn path=/trunk/; revision=9685
2004-01-16 22:31:54 +00:00
Guy Harris 8180f5a3dc Constify some pointers to which pointers-to-const are assigned.
svn path=/trunk/; revision=9684
2004-01-16 22:22:31 +00:00
Guy Harris a6e40c7817 Add cvsversion.h to the list of files to be ignored by CVS, as it's a
generated file.

svn path=/trunk/; revision=9683
2004-01-16 22:19:52 +00:00
Guy Harris 8e296c16ea CVS isn't letting me check in the icons file, so back the Makefile.am
change out for now.

svn path=/trunk/; revision=9682
2004-01-16 22:18:59 +00:00
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