Commit graph

1432 commits

Author SHA1 Message Date
Ulf Lamping
f59f209d4f save the position of the main window panes in the recent file,
and restore their position when program is started again (GTK2 only)

svn path=/trunk/; revision=10706
2004-04-25 23:45:12 +00:00
Ulf Lamping
0d74ec909c removed some labels
svn path=/trunk/; revision=10705
2004-04-25 22:34:06 +00:00
Ulf Lamping
d40c7940f0 changed the export dialog menu item names (added some descriptions)
svn path=/trunk/; revision=10702
2004-04-25 22:14:17 +00:00
Guy Harris
047c8af10a Squelch a compiler warning.
svn path=/trunk/; revision=10700
2004-04-25 21:46:19 +00:00
Ulf Lamping
014052caf9 created new "export" dialogs for the current export file formats
svn path=/trunk/; revision=10694
2004-04-25 16:04:13 +00:00
Ulf Lamping
895375603d put all required data into the print_args,
instead of confusing seperation of data

svn path=/trunk/; revision=10692
2004-04-25 12:04:08 +00:00
Ulf Lamping
afecdb8461 changed the print dialog, so it will keep the user settings after reopening the dialog
and some code cleanup

svn path=/trunk/; revision=10685
2004-04-25 08:01:06 +00:00
Ulf Lamping
1531315c18 some code cleanup of the printing system
svn path=/trunk/; revision=10682
2004-04-24 23:13:46 +00:00
Ulf Lamping
018535b82f added a progress dialog box, while processing packet details,
activating packet details notebook pages, to avoid desegmenting GUI confusion

svn path=/trunk/; revision=10674
2004-04-23 19:43:06 +00:00
Guy Harris
0566f389ae Mark some parameters as unused (the GTK+ signal calling sequence
requires that they be present).

svn path=/trunk/; revision=10671
2004-04-23 05:16:21 +00:00
Guy Harris
8774b55cbb Get rid of static forward declaration of "toggle_captured_cb()", as it's
no longer defined here.

svn path=/trunk/; revision=10669
2004-04-23 03:22:10 +00:00
Gerald Combs
0ef83dcfa5 Add gsm_map_stat.h and mtp3_stat.h to the distribution.
svn path=/trunk/; revision=10667
2004-04-23 02:00:13 +00:00
Ulf Lamping
50533286e2 oops, forgotten to test with GTK1...
svn path=/trunk/; revision=10666
2004-04-22 21:40:48 +00:00
Ulf Lamping
3b86a98d53 seperated common packet range code from the save and the print dialog,
and put it into new range_utils files. This will avoid:
a) duplicate code in save and print dialog and
b) yet another code duplication for future dialogs (export, ...)

svn path=/trunk/; revision=10665
2004-04-22 21:31:09 +00:00
Anders Broman
44907a0d53 From Martin Mathieson
add 2 hidden display filters for SIP - namely:
(1)  sip.error (for all responses with code >= 300)
(2)  sip.resend (for all packets that appear to have been retransmitted). A
field showing a count of these is shown in the SIP stats window.

svn path=/trunk/; revision=10662
2004-04-22 20:09:41 +00:00
Ulf Lamping
51f987e04f added some options and enhancements to the print output:
-ps: added formatting hints for ghostscript, so pdf conversion will be much better
-ps: print a thin line at the top and bottom of each page
-ps/text: add an option to start a new page for every packet (formfeed)

svn path=/trunk/; revision=10660
2004-04-22 17:03:21 +00:00
Guy Harris
086e2c3548 From Michael Lum:
ANSI and GSM MAP stats enhancements and cleanups;

	enhanced parameter dissection related to SS for GSM A-interface
	and MAP;

	minor GSM SMS fix;

	GSM SS enhancements for parameter dissection;

	MTP3 statistics tap.

svn path=/trunk/; revision=10657
2004-04-21 17:57:31 +00:00
Guy Harris
c6aeb05249 From Michael Lum:
ANSI and GSM MAP stats enhancements and cleanups;

	enhanced parameter dissection related to SS for GSM A-interface
	and MAP;

	minor GSM SMS fix;

	GSM SS enhancements for parameter dissection;

	MTP3 statistics tap.

svn path=/trunk/; revision=10655
2004-04-21 05:53:59 +00:00
Olivier Biot
f1c30d72c8 Part 2 of Ulf's print update.
svn path=/trunk/; revision=10654
2004-04-21 00:48:22 +00:00
Ulf Lamping
f4564cf6aa added PSML output to the printing dialog
svn path=/trunk/; revision=10628
2004-04-17 11:50:14 +00:00
Guy Harris
e6f2831d43 Confirmation dialogs should be marked as such.
svn path=/trunk/; revision=10622
2004-04-17 01:12:47 +00:00
Guy Harris
d4bb41b15d Failure to get the list of interfaces should be reported as an error.
svn path=/trunk/; revision=10621
2004-04-17 01:10:09 +00:00
Guy Harris
5fe1168180 Report problems due to the user specifying something we can't handle as
errors, not warnings.

svn path=/trunk/; revision=10618
2004-04-17 01:01:22 +00:00
Guy Harris
5d9b301783 Report errors in opening various configuration files at the time the
failure occurs; now that "simple_dialog()" queues up messages if we
don't yet have the main window, those messages will be queued up until
then.

Move the point at which we pop up those queued messages after the
"process all pending GUI events" is done, so that those messages are
properly displayed on top of the main window.

svn path=/trunk/; revision=10617
2004-04-16 23:57:54 +00:00
Guy Harris
d209115ba3 Add a "report_failure()" routine to allow dissectors to report arbitrary
errors to the user.  Use that, rather than "g_warning()", in the
Diameter dissector to report errors reading the dictionary.

Make the format argument to "simple_dialog()" a "const" pointer.

Fix up the read-error message in Tethereal to end with a newline.

If a simple dialog is requested before the main window or the
capture-control window is popped up, queue it up and pop the queued
messages up once the main or capture-control window is displayed.

svn path=/trunk/; revision=10616
2004-04-16 23:17:13 +00:00
Guy Harris
00a057b79f Make "new_color_filter()" take the background and foreground colors, as
GdkColors, as arguments.

svn path=/trunk/; revision=10613
2004-04-16 19:36:36 +00:00
Guy Harris
e20b794c0e You have to initialize a GtkColor structure before passing it to
"get_color()" - otherwise, GDK will allocate a color from the colormap
to match whatever random values happen to be there.

svn path=/trunk/; revision=10612
2004-04-16 19:05:05 +00:00
Ulf Lamping
8c42aa51f7 make print dialog "Packet Format" options somewhat similar to the
Ethereal panes, thus better understandable

svn path=/trunk/; revision=10611
2004-04-16 18:17:48 +00:00
Ulf Lamping
24275c3736 bugfix: make the "no dissections" radiobutton insensitive,
if packet details isn't selected

svn path=/trunk/; revision=10610
2004-04-16 05:30:39 +00:00
Guy Harris
e5f2451735 Rename a bunch of variables and routines that pertain to string search
with "string" rather than "ascii", to make it clearer what they're
involved with.

Use "gtk_toggle_button_set_active()", not
"gtk_toggle_button_set_state()" (the latter is a deprecated alias for
the former, probably dating back to GTK+ 1.0[.x] - 1.2[.x] and later
have "gtk_toggle_button_set_active()").

Do *NOT* change the radio buttons for the type of string search to do
based on whether we're doing a string search or not - doing so means we
don't correctly remember the type of string search.

Get rid of code to fetch some values that we don't subsequently use.

svn path=/trunk/; revision=10609
2004-04-15 23:28:11 +00:00
Ulf Lamping
d9fcc8e05a added print output option, to suppress dissection completely
(for raw packet hexdump)

svn path=/trunk/; revision=10607
2004-04-15 19:56:15 +00:00
Ulf Lamping
77f9354bf7 added print output of PDML format
svn path=/trunk/; revision=10606
2004-04-15 19:07:13 +00:00
Ulf Lamping
27ca219d2b two memory leaks removed
svn path=/trunk/; revision=10599
2004-04-14 05:46:34 +00:00
Michael Tüxen
254aba8282 From Jon Oberheide: Add interface name to the capture and ethereal window
while capturing.

svn path=/trunk/; revision=10594
2004-04-13 18:01:40 +00:00
Ulf Lamping
6bcd3f6c84 ESC key presses Close button
svn path=/trunk/; revision=10587
2004-04-12 18:01:27 +00:00
Ulf Lamping
d4f93b305f added a close button to the dialogs,
use the dlg_window_new function for all dialogs

svn path=/trunk/; revision=10586
2004-04-12 09:48:19 +00:00
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