Commit Graph

9684 Commits

Author SHA1 Message Date
Guy Harris 89e496d1ab Fix a typo.
svn path=/trunk/; revision=9781
2004-01-22 20:33:21 +00:00
Guy Harris cfdb7ee9c6 Move the list of headers to "Makefile.am" (it's not used by
"Makefile.nmake"), and rename it to "noinst_HEADERS", as that's what
automake requires.

svn path=/trunk/; revision=9780
2004-01-22 20:31:44 +00:00
Ulf Lamping cd85423556 epan don't need GTK_CFLAGS as GTK isn't used,
GLIB_CFLAGS are just enough

svn path=/trunk/; revision=9779
2004-01-22 19:27:59 +00:00
Ulf Lamping cf57056f70 bugfix: wrong parameter name
svn path=/trunk/; revision=9778
2004-01-22 19:25:36 +00:00
Ulf Lamping a0f78e3b8f moved GTK specific parts from capture.c to ui_util.c,
implemented Win32 "Capture Stop" when using
"update list of packets in realtime" while capturing

svn path=/trunk/; revision=9777
2004-01-22 18:13:57 +00:00
Ulf Lamping f799c98aa5 added new Makefile.common just like in root,
including sources common in Makefile.am and Makefile.nmake

svn path=/trunk/; revision=9776
2004-01-22 18:08:58 +00:00
Olivier Biot ab9c640274 Add RCS ID with "$Id: $" (colon was missing).
svn path=/trunk/; revision=9775
2004-01-22 07:14:36 +00:00
Ulf Lamping 503a830e48 The progressbar had a parameter to specify the text of the Cancel/Stop button.
As this will always be a Cancel of a running operation, this parameter was removed.
This makes us also able to use a stock button for this.

svn path=/trunk/; revision=9774
2004-01-21 22:00:28 +00:00
Ulf Lamping 76d25fca7d this dialog isn't used any longer.
All setting moved to direct menuitems under View

svn path=/trunk/; revision=9773
2004-01-21 21:56:12 +00:00
Jörg Mayer 5abba20365 Move the list of dissectors (DISSECTOR_SRC) out of Makefile.am and
Makefile.nmake into a shared file named Makefile.common

svn path=/trunk/; revision=9772
2004-01-21 21:46:59 +00:00
Ulf Lamping 8e2a930023 implemented dlg_button_row_new to get a standard function for
layouting the dialog buttons, and use it where appropriate.
This will help us with the GTK1/2 conflict on button layouts and
will also result in a more consistent look of the dialogs at all.

svn path=/trunk/; revision=9771
2004-01-21 21:19:34 +00:00
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