Commit graph

9673 commits

Author SHA1 Message Date
Ulf Lamping
d4b591b7dd display_opts.c / .h no longer needed, all items moved to menuitems
svn path=/trunk/; revision=9770
2004-01-21 19:21:28 +00:00
Olivier Abad
7728b2c563 gtk_font_selection_set_font_name doesn't work when run before appending
the font selection widget to the notebook (at least in GTK2).

svn path=/trunk/; revision=9769
2004-01-21 12:19:19 +00:00
Guy Harris
e338b18e4f Don't include some xpm's when built with GTK+ 1.2[.x] - the icons they
define aren't used with 1.2[.x].

svn path=/trunk/; revision=9768
2004-01-21 09:02:09 +00:00
Guy Harris
9c9fd17906 Squelch some compiler warnings.
"font_point_size_l" is a "long", so use "strtol()" to set it (note that
even "strtoul()", for some not-entirely-obvious reason, accepts numbers
starting with a "-" as input - ANSI C requires it!).

svn path=/trunk/; revision=9767
2004-01-21 09:00:48 +00:00
Guy Harris
d9f4723e48 From Taisuke Sasaki: convert the ident field in the fragment header to
host byte order.

svn path=/trunk/; revision=9766
2004-01-21 08:39:29 +00:00
Ulf Lamping
1584a12114 moved remaining display options dialog settings to menuitems,
to get rid of the options dialog completely
still need to think, how the whole thing should work with these settings

svn path=/trunk/; revision=9765
2004-01-21 06:41:03 +00:00
Ulf Lamping
514f438bc7 redesign of capture/display filter dialog.
didn't change the behaviour of the edit buttons,
although they should be changed

svn path=/trunk/; revision=9764
2004-01-21 05:35:42 +00:00
Ulf Lamping
e3dd2f5472 use stock buttons whereever possible,
added some ethereal specific stock icons

svn path=/trunk/; revision=9763
2004-01-21 03:54:32 +00:00
Ulf Lamping
76910636e0 don't try to set font size <= 0
svn path=/trunk/; revision=9762
2004-01-21 03:02:19 +00:00
Guy Harris
0e88c900ff Fix a check.
svn path=/trunk/; revision=9761
2004-01-21 01:10:20 +00:00
Guy Harris
fe71c130e7 "Go To {First,Last} Packet" don't pop up dialog boxes, they Just Do It -
don't give their menu items a "...", as that's for menu items that pop
up dialog boxes to ask you for more information.

Give them menu accelerators that don't clash with other accelerators.

svn path=/trunk/; revision=9760
2004-01-20 21:20:29 +00:00
Guy Harris
f85630766d The offset argument to a "get_pdu_len" function is an "int", not a
"guint".

svn path=/trunk/; revision=9759
2004-01-20 20:32:25 +00:00
Guy Harris
a02794c549 From Jan Kiszka: compress the summary line display.
svn path=/trunk/; revision=9758
2004-01-20 20:27:11 +00:00
Ulf Lamping
2ac6b59111 missing icons for recent GUI additions
svn path=/trunk/; revision=9757
2004-01-20 20:06:57 +00:00
Ulf Lamping
b21d225252 prevented GTK-warning, as the column index was too high
svn path=/trunk/; revision=9756
2004-01-20 19:33:23 +00:00
Ulf Lamping
1108d88e29 commented out refresh_bt, as it's currently unused
svn path=/trunk/; revision=9755
2004-01-20 19:31:46 +00:00
Jörg Mayer
ccacfeebeb signed/unsigned warning fixes
svn path=/trunk/; revision=9754
2004-01-20 19:24:42 +00:00
Ulf Lamping
ef57df088f a.) saving GTK1 and GTK2 fontnames in different preference setting, to prevent problems when switching between GTK1 and GTK2 ethereal versions
b.) added new feature "Edit->Go To First Packet" "Edit->Go To Last Packet" with corresponding menu and toolbar items
c.) added new feature "View->Zoom In" / "View->Zoom Out" / View->Normal Size" with corresponding menu and toolbar items
This feature will act as a "size offset" to the current fontsize, so that the packet list/tree view/... will have a larger/smaller font size.
The value is stored inside the recent file.
d.) Win32 only: Try to get the win32 system font and fontsize at program startup and show the menus/dialogs and such with the same font and fontsize like other win32 windows.
This makes the program make a *lot* more feel like a normal win32 program.

svn path=/trunk/; revision=9753
2004-01-20 18:47:25 +00:00
Olivier Biot
3172f21ea5 From Anders Broman:
Append "/ISUP(ITU)" to the protocol column.

svn path=/trunk/; revision=9752
2004-01-20 18:30:25 +00:00
Olivier Biot
ddd040d989 From Chris Wilson:
Use tcp_dissect_pdus() for SMPP dissection over TCP.

Also:

	Get rid of the (broken) loop in dissect_smpp() which is called
	dissect_smpp_pdu() now.
	Add a preference to enable reassembly of SMPP over TCP.

NOTE:

	The SMPP dissector currently uses a global variable static to
	packet-smpp.c for distinguishing between the first PDU and subsequent
	PDUs so the summary line can be set correctly.

svn path=/trunk/; revision=9751
2004-01-20 17:58:37 +00:00
Guy Harris
618c0e5e8b Get rid of declaration of no-longer-extant routine.
svn path=/trunk/; revision=9750
2004-01-20 02:36:04 +00:00
Guy Harris
290edaadd4 Put in missing GTK_STOCK_STOP #define for GTK+ 1.2[.x].
svn path=/trunk/; revision=9749
2004-01-20 02:35:31 +00:00
Ulf Lamping
1b852172e2 minor tooltip changes
svn path=/trunk/; revision=9748
2004-01-20 02:26:00 +00:00
Ulf Lamping
ef9d4ada2d code cleanup and added some more
application specific stock items in toolbar.c,
use them where appropriate

svn path=/trunk/; revision=9747
2004-01-20 02:21:17 +00:00
Guy Harris
c33dd9c7a4 From David Fort: use the checksum algorithm when computing the key ID
for all algorithms other than RSAMD5.

Make "compute_key_id()" return a "guint16", as the key IDs are 16-bit
and as it can no longer return -1 meaning "I don't know how to compute
the key ID for that algorithm".

svn path=/trunk/; revision=9746
2004-01-20 00:11:59 +00:00
Guy Harris
956837bd3e From Yaniv Kaul: add Shoutcast's ICY as a response(?).
svn path=/trunk/; revision=9745
2004-01-19 23:57:11 +00:00
Guy Harris
fc7bbdd8d5 Free "media_type_str" once we've made the lower-cased copy - and refer
only to the lower-cased copy in subsequent code.

svn path=/trunk/; revision=9744
2004-01-19 23:48:05 +00:00
Guy Harris
e28a53d402 DCE RPC statistics are maintained only by major version, not by major
and minor version.

svn path=/trunk/; revision=9743
2004-01-19 23:43:29 +00:00
Olivier Biot
bc8d20be32 From Lars Ruoff: temporarily comment out the code for the "refresh" button;
register and unregister the tap listener in a thread-safe manner.

svn path=/trunk/; revision=9742
2004-01-19 23:35:32 +00:00
Olivier Biot
5eb042b862 Fix a double free bug introduced by the previous patch.
svn path=/trunk/; revision=9741
2004-01-19 23:08:02 +00:00
Guy Harris
d4ab584f0f Move "ts_type_text" out of "epan/timestamp.h into "gtk/recent.c", as
it's only used in the latter; that avoids lots of warnings about
"ts_type_text" being defined but not used in other source files that
include "epan/timestamp.h".  (If it's going to be used in more than one
file, make it non-static and declare it "extern" in "epan/timestamp.h".)

Define TS_NOT_SET as ((ts_type)-1), and use that when initializing
"timestamp_type" in Ethereal and when checking to see whether
"timestamp_type" was set, to avoid signed vs. unsigned comparison
warnings.

Clean up indentation.

svn path=/trunk/; revision=9740
2004-01-19 23:03:20 +00:00
Guy Harris
439159f73d Make the signatures of "dcerpcstat_reset()", "dcerpcstat_packet()", and
"dcerpcstat_draw()" match what "register_tap_listener()" expects, to
squelch warnings.

svn path=/trunk/; revision=9739
2004-01-19 23:00:12 +00:00
Guy Harris
b70ed7093e Before checking for SASL security stuff, make sure the bytes you're
going to check exist.

Doing so arranges that "tvb_reported_length_remaining(tvb, offset) is >=
5 (unless the reported length is less than the data length, but that
"shouldn't happen").  Instead of comparing "tvb_get_ntohl(tvb, offset) -
4" against "tvb_reported_length_remaining(tvb, offset)", which runs the
risk of giving a bogus answer if "tvb_get_ntohl(tvb, offset)" is < 4,
compare "tvb_get_ntohl(tvb, offset) against
"tvb_reported_length_remaining(tvb, offset)-4", as the latter is
guaranteed to be > 0 (and cast the latter expression to get rid of the
signed/unsigned comparison warning that caused me to notice this issue
in the first place).

svn path=/trunk/; revision=9738
2004-01-19 22:58:59 +00:00
Guy Harris
109c9f6f5e Put $(srcdir) in front of "make-version.pl", as is done for other
scripts.

svn path=/trunk/; revision=9737
2004-01-19 22:26:37 +00:00
Guy Harris
6757c92acc We need "cvsversion.h" in order to build stuff in the "gtk" directory.
svn path=/trunk/; revision=9736
2004-01-19 21:00:13 +00:00
Jörg Mayer
3e2633a0f4 char *drep -> guint8 *drep
svn path=/trunk/; revision=9735
2004-01-19 20:10:37 +00:00
Jörg Mayer
6f6fc13e5b Trivial signed/unsigned warning fixes
svn path=/trunk/; revision=9734
2004-01-19 18:36:32 +00:00
Jörg Mayer
193ed36457 Trivial warning fixes: func(void), not func()
svn path=/trunk/; revision=9733
2004-01-19 18:28:14 +00:00
Jörg Mayer
db29a705cb Trivial signed/unsigned warning fixes
svn path=/trunk/; revision=9732
2004-01-19 18:23:01 +00:00
Jörg Mayer
da5f6f9472 The current year is 2004
svn path=/trunk/; revision=9731
2004-01-19 18:21:18 +00:00
Ronnie Sahlberg
c270a9a035 Update to CLDAP
dissect the CLDAP netlogon rpc call

svn path=/trunk/; revision=9730
2004-01-19 10:54:06 +00:00
Ulf Lamping
0353c5823f move timestamp format options from "View->Options" dialog into
menuitems under "View->Time Display Format".
renamed timestamp enum items e.g. from ABSOLUTE to TS_ABSOLUTE,
to prevent conflicting definitions with MSVC

svn path=/trunk/; revision=9729
2004-01-19 03:46:43 +00:00
Guy Harris
c19c7677fb It appears that, for ISDN captures, the rules for whether there's 4
bytes of extra stuff at the end of the packet or not are the same as for
Ethernet and 802.11.

svn path=/trunk/; revision=9728
2004-01-19 02:23:18 +00:00
Guy Harris
7909c22d49 Include <string.h> to declare "strcasecmp()".
svn path=/trunk/; revision=9727
2004-01-19 01:00:58 +00:00
Ulf Lamping
453309c0c6 added some menuitems "View->Show" including show/hide of all main widgets,
saving the states in the recent file

svn path=/trunk/; revision=9726
2004-01-19 00:42:12 +00:00
Olivier Biot
d2a8b3d2cc From Anders Broman:
Convert content type to lowercase, and save pinfo->prvate_data before
	handing off to a subdissector.

svn path=/trunk/; revision=9725
2004-01-18 23:21:20 +00:00
Gerald Combs
0d2b82ba7c Note that Jeff Weston is now the maintainer.
svn path=/trunk/; revision=9724
2004-01-18 16:48:24 +00:00
Jörg Mayer
40b837c98d Add -Wstrict-prototypes to extra-gcc-checks
svn path=/trunk/; revision=9723
2004-01-18 16:24:58 +00:00
Jörg Mayer
e68ca30d10 Fix warnings found by -Wstrict-prototypes
svn path=/trunk/; revision=9722
2004-01-18 16:21:12 +00:00
Jörg Mayer
aa411b1861 Fix warnings found by -Wstrict-prototypes
svn path=/trunk/; revision=9721
2004-01-18 15:57:47 +00:00