Commit Graph

1396 Commits

Author SHA1 Message Date
Ulf Lamping 05aade5c91 added missing #include from my latest checkin
svn path=/trunk/; revision=10585
2004-04-12 08:59:41 +00:00
Ulf Lamping a7c964355b added a close button to the dialogs,
use the dlg_window_new function for all dialogs

svn path=/trunk/; revision=10584
2004-04-12 08:53:02 +00:00
Ulf Lamping 1717eed35f added a close button to the dialogs
svn path=/trunk/; revision=10583
2004-04-12 07:10:11 +00:00
Gerald Combs dba256262a Make the hex dump byte counter a guint32, so that we don't wrap prematurely.
svn path=/trunk/; revision=10578
2004-04-09 19:44:27 +00:00
Ulf Lamping 9ebddd2d71 catch the enter key from the interface drop-down list,
so pressing enter will really start a capture

svn path=/trunk/; revision=10566
2004-04-08 19:07:43 +00:00
Guy Harris 5d48b1f124 On Windows, when looking for the ":" that separates the interface
description from the interface name, don't count ":" followed by "//",
as it might be part of "rpcap://".

svn path=/trunk/; revision=10562
2004-04-08 08:05:20 +00:00
Ronnie Sahlberg 55aab5b071 make service response time statistics work for "unknown" rpc programs.
all proicedures will however get "interesting" names such as "proc-1" etc
except procedure 0 which is ALWAYS "NULL"

svn path=/trunk/; revision=10557
2004-04-07 04:31:32 +00:00
Ulf Lamping cbcacf7e48 from Thomas Palmer: add a preference setting for filter toolbar placement
svn path=/trunk/; revision=10555
2004-04-06 19:02:18 +00:00
Gerald Combs 38f778743a Remove an extraneous 'break'.
svn path=/trunk/; revision=10554
2004-04-06 16:08:56 +00:00
Guy Harris 3db0b315b7 From Lars Roland: Tethereal version of SIP statistics tap, and fixes to
the Ethereal version.

svn path=/trunk/; revision=10522
2004-03-30 18:55:47 +00:00
Guy Harris 9348381d23 It *appears* that if you don't explicitly request that a file chooser
dialog be centered on its parent, it still gets so centered; we remove
the call to do so from the GTK+ >= 2.4 file selection dialog creation
code.

svn path=/trunk/; revision=10514
2004-03-29 23:14:43 +00:00
Guy Harris e4544c4f87 In a "save" dialog, the "yes" button should be a "Save" button, not an
"Open" button.

svn path=/trunk/; revision=10513
2004-03-29 23:03:01 +00:00
Guy Harris f76d50c881 Add another wrapper routine, "file_selection_set_extra_widget()", to set
the "extra options" portion of a file selection dialog, and use it
rather than #if'ed code.

svn path=/trunk/; revision=10512
2004-03-29 22:55:13 +00:00
Guy Harris 29c644691b Make "file_selection_new()" take as its second argument an
Ethereal-defined indication of the action (open vs. save), regardless of
whether we're building for GTK+ >= 2.4 or not; we just ignore the
argument in pre-2.4 GTK+.

Use "file_selection_new()" rather than #if'ed code to use it or
"gtk_file_chooser_dialog_new()"  for GTK+ >= 2.4 and
"gtk_file_selection_new()" or it for pre-2.4 GTK+.

Add a "file_selection_set_current_folder()" routine that does the
appropriate thing depending on whether we're GTK+ >= 2.4 or not, and use
that rather than #if'ed code to use
"gtk_file_chooser_set_current_folder()" or
"gtk_file_selection_set_filename()".

svn path=/trunk/; revision=10511
2004-03-29 22:40:58 +00:00
Ulf Lamping 6af5992f02 minor code cleanup, including removed MSVC warnings
svn path=/trunk/; revision=10509
2004-03-27 12:18:40 +00:00
Olivier Abad cd19c5baf8 Use the new GtkFileChooserDialog when built with gtk+ 2.4
svn path=/trunk/; revision=10502
2004-03-27 11:16:58 +00:00
Guy Harris e85f05b0ec From Lars Roland: use the generic filter dialog for the SIP, HTTP, WSP,
and BOOTP taps.

Get rid of the "dlg" variable in some of those taps - it's never set, so
it's always null, and nothing useful is done with it if it's null.

Make static some variables and functions not used outside the source
file in which they're defined.

svn path=/trunk/; revision=10500
2004-03-27 11:13:03 +00:00
Guy Harris 2c7f109fae From Martin Mathieson: SIP statistics tap.
svn path=/trunk/; revision=10493
2004-03-26 00:28:39 +00:00
Guy Harris 121f06fab7 Make "epan_init()" take, as additional arguments, pointers to routines
that dissectors should call to report file open and read errors, and
have "report_open_failure()" and "report_read_failure()" call through
those pointers, rather than being defined and exported by the
application using libethereal - instead, the application would define
those functions and pass pointers to them to 'epan_init()".

Move "report_err.h" to the epan directory, as the functions it declares
are now part of the libethereal API.

svn path=/trunk/; revision=10470
2004-03-23 21:19:58 +00:00
Guy Harris 5706ced7d4 From Tomas Kukosa: don't change the state of the "Expand Tree" menu
items if we're changing whether there's a packet currently selected.

svn path=/trunk/; revision=10455
2004-03-23 07:57:48 +00:00
Guy Harris ddc5a1773a From Tomas Kukosa:
add Expand Tree to the View menu;

	make the Expand Tree context menu active iff the
	currently-selected item has a subtree;

	fix the GTK2 code for Expand Tree.

svn path=/trunk/; revision=10415
2004-03-20 06:34:09 +00:00
Guy Harris e59b9abbb4 From Tomas Kukosa: add a new "Expand Tree" context menu item, which
expands the selected item and all items below it.

svn path=/trunk/; revision=10407
2004-03-19 06:23:38 +00:00
Olivier Biot 11f9232336 From Lars Roland: Move timestamp_type into libethereal and provide accessor
methods for getting and setting the timestamp type.

This is a move towards a real libethereal shared library.

svn path=/trunk/; revision=10402
2004-03-18 19:04:33 +00:00
Laurent Deniel 50a00153ea * Protocol Hierarchy Statistics:
- store times of first and last packets in ph_stats_t

- add bandwidth columns in GUI

- miscellaneous code cleaning

svn path=/trunk/; revision=10398
2004-03-17 21:48:15 +00:00
Guy Harris 1f845901ef Use "g_ntohs()" rather than "ntohs()".
svn path=/trunk/; revision=10390
2004-03-17 09:00:16 +00:00
Guy Harris aaa184c98d Cast a "char" to "guchar" before passing it to the ctype macros, so that
it doesn't get sign-extended.

svn path=/trunk/; revision=10389
2004-03-17 08:59:28 +00:00
Laurent Deniel 1dc46c91aa * Color filters:
Read of color filters rewritten to remove possibility of buffer overflow
in read_filters_file() and to fix comment & blank line handling.
This removes any limitation (and stack overflow) on the lengths of color
filter name and filter expression which are now dynamically allocated.

Fix removal/deletion of color filters (avoid segmentation fault when
some color filter is deleted and then the list cleared for instance).
The use of g_slist_remove() within an iterator is simply unsafe if the
code is not prepared to handle this.

Fix a small memory leak in revert_filters().

Remove inappropriate comments in read_filters().

Miscellaneous code cleaning.

svn path=/trunk/; revision=10380
2004-03-14 23:55:53 +00:00
Laurent Deniel 9bbcdb258d Fix incorrect number of arguments for format and compilation warnings.
svn path=/trunk/; revision=10379
2004-03-14 14:04:39 +00:00
Ulf Lamping 6c9a1dc093 experimental: make usage of pcap_setbuff to increase the kernel buffer size
svn path=/trunk/; revision=10377
2004-03-13 22:49:30 +00:00
Ulf Lamping aa28f45ea6 using a stock icon for the open recent "clear list" item
svn path=/trunk/; revision=10375
2004-03-13 17:50:23 +00:00
Ulf Lamping 54d49536cf replaced vsnprintf by g_vsnprintf
svn path=/trunk/; revision=10374
2004-03-13 15:30:08 +00:00
Ulf Lamping 7b62a629e8 replaced sprintf / snprintf by g_snprintf,
various other string related changes

svn path=/trunk/; revision=10373
2004-03-13 15:15:26 +00:00
Ulf Lamping 47b176f983 various string related changes
svn path=/trunk/; revision=10372
2004-03-13 14:07:14 +00:00
Ulf Lamping 92b92f632a various string related changes, mainly replace sprintf/snprintf by g_snprintf
svn path=/trunk/; revision=10371
2004-03-13 12:09:27 +00:00
Ulf Lamping df77a41690 replaced snprintf by g_snprintf and removed #include "snprintf.h"
svn path=/trunk/; revision=10370
2004-03-13 11:47:08 +00:00
Ulf Lamping ede637bd2c replaced gtk_widget_show() by a single gtk_widget_show_all(),
changed a printf thing

svn path=/trunk/; revision=10369
2004-03-13 11:43:21 +00:00
Gerald Combs 7df5992344 Make the color preferences popup menu shrink to its natural size instead
of filling in its entire table cell.

svn path=/trunk/; revision=10359
2004-03-11 00:22:41 +00:00
Guy Harris 9feb374670 Don't refer to "auto_scroll_live" if HAVE_LIBPCAP isn't defined - and
put the definition of it back under HAVE_LIBPCAP and don't add an extra
declaration in "file.h", as there's no longer code that needs to refer
to it if HAVE_LIBPCAP isn't defined.

svn path=/trunk/; revision=10350
2004-03-08 23:45:25 +00:00
Ronnie Sahlberg aaedc080ea update to iostat make it automagically make sure the field is part of the filter string
svn path=/trunk/; revision=10342
2004-03-08 07:47:14 +00:00
Ulf Lamping 1d2c14be66 fixed a bug GTK_WIDGET_VISIBLE -> GTK_WIDGET_SENSITIVE,
added some (not yet finished) work

svn path=/trunk/; revision=10340
2004-03-07 18:18:43 +00:00
Ulf Lamping b3dc79413e some code cleanup
svn path=/trunk/; revision=10335
2004-03-06 15:55:18 +00:00
Ulf Lamping dcadae3583 replaced show/hide by sensitive/insensitive to see all fields everytime
svn path=/trunk/; revision=10334
2004-03-06 11:16:19 +00:00
Ulf Lamping 787205836c using a table for layout of stop capture fields,
added limitations corresponding to the maximum filesize (2GB)

svn path=/trunk/; revision=10333
2004-03-06 11:10:14 +00:00
Ulf Lamping e39aff29f9 using a table for layout of multi files fields, do some code cleanup
svn path=/trunk/; revision=10328
2004-03-06 06:50:34 +00:00
Ulf Lamping 6c04a837fc using a gtk_table instead of hbox'es for "multiple files" fields
svn path=/trunk/; revision=10306
2004-03-04 22:24:47 +00:00
Ulf Lamping 672ec45f9e capture dialog limits now with units.
no gint "wrap around" tests implemented yet

svn path=/trunk/; revision=10304
2004-03-04 21:27:55 +00:00
Ulf Lamping cb5a386901 fixed differences between capture GUI frontend and backend
svn path=/trunk/; revision=10303
2004-03-04 19:31:21 +00:00
Ulf Lamping ecf2665992 implemented capture dialog 3rd (+x) proposal
svn path=/trunk/; revision=10279
2004-03-02 22:07:23 +00:00
Ulf Lamping 6a977f13d9 replaced all seperate gtk_widget_show() by a single gtk_widget_show_all() call
svn path=/trunk/; revision=10278
2004-03-02 19:13:33 +00:00
Ulf Lamping 38f076a301 improved resizability
svn path=/trunk/; revision=10267
2004-02-29 10:41:03 +00:00