Commit Graph

1076 Commits

Author SHA1 Message Date
Guy Harris 39f5418dc0 From Lars Roland:
use the common display filter dialog infrastructure in the MGCP
	service response time tap;

	add common infrastructure for updating the titles of tap dialogs
	when the capture file name changes.

svn path=/trunk/; revision=9366
2003-12-19 23:41:55 +00:00
Richard Sharpe 0023dcd0e1 A small patch from Kai Krueger <kai@kruegernetz.de> to ensure that we
keep the file name around long enough to use it when saving highlighted
data etc.

svn path=/trunk/; revision=9348
2003-12-18 20:36:45 +00:00
Ulf Lamping 1a2ecc19c3 removed some more MSVC warnings (type casting), GTK2 specific
svn path=/trunk/; revision=9333
2003-12-17 23:41:10 +00:00
Guy Harris ac48df79f2 From Lars Roland: have common code to handle display filter dialogs in
taps, and use that in the H.225 taps.

svn path=/trunk/; revision=9327
2003-12-17 22:13:08 +00:00
Ulf Lamping 1f97bdc27a removed some more MSVC warnings (type casting)
svn path=/trunk/; revision=9326
2003-12-17 22:11:43 +00:00
Ulf Lamping 55e4a8112f removed some MSVC warnings (casting gdouble to gint, which is ok)
svn path=/trunk/; revision=9319
2003-12-17 20:28:49 +00:00
Guy Harris 5b58448744 From Albert Chin: get rid of C++ comments.
svn path=/trunk/; revision=9305
2003-12-17 00:50:22 +00:00
Olivier Abad abb4aec1fe Use gtk compatibility macros (from compat_macros.h) instead of some gtk+
v1.2 functions which are deprecated in gtk+ v2.

Update OBJECT_SET_DATA macros to cast "data" to (gpointer).

svn path=/trunk/; revision=9296
2003-12-16 18:43:35 +00:00
Guy Harris b8eae38ada From Ronnie Sahlberg: when the user selects a filter from the popup
dialog, make the main window come to the front.

svn path=/trunk/; revision=9292
2003-12-16 05:04:11 +00:00
Guy Harris 573fed2ea8 DCE RPC version numbers are unsigned - print them with "%u".
Do the same checks for negative and >255 version numbers in the
Tethereal DCE RPC statistics tap that are done in the Ethereal tap.

In the Ethereal tap, do those checks before looking up the protocol name.

svn path=/trunk/; revision=9290
2003-12-15 20:15:03 +00:00
Ulf Lamping 5321986b03 if user clicks recent capture file item, and this file no longer exists,
remove the menu item

svn path=/trunk/; revision=9289
2003-12-15 06:38:48 +00:00
Guy Harris 524203fddf From Lars Roland: export the value_string tables from packet-h225.c and
use them in the H.225 taps.

svn path=/trunk/; revision=9287
2003-12-15 04:23:55 +00:00
Guy Harris 4f5d2ddcda From Ronnie Sahlberg: fix a crash on Win32 when we resort a column in
the conversation list and then create/apply a filter from the
conversation list popup.

svn path=/trunk/; revision=9284
2003-12-14 10:28:20 +00:00
Guy Harris fbcaaa19f2 From Ronnie Sahlberg: support iostat graphs with 1ms resolution.
svn path=/trunk/; revision=9283
2003-12-14 10:24:24 +00:00
Guy Harris e91d15ac8c Put back "menu.h" - it's needed to declare "register_tap_menu_item()".
svn path=/trunk/; revision=9279
2003-12-13 22:23:18 +00:00
Guy Harris 7cae9249aa Squelch some compiler warnings.
Clean up white space.

svn path=/trunk/; revision=9278
2003-12-13 22:05:08 +00:00
Ulf Lamping 156be8aa9f added "most recently used" lists for
"opened capture files" and "display filter used",
the settings will be saved in the file "recent" in the users config path

svn path=/trunk/; revision=9275
2003-12-13 18:01:30 +00:00
Ulf Lamping 3914b812b0 removed unused #include "menu.h" from the stats.c files
svn path=/trunk/; revision=9273
2003-12-13 17:10:21 +00:00
Ulf Lamping 8e43886258 mention the GPL license in the Help->About dialog
svn path=/trunk/; revision=9272
2003-12-13 16:30:10 +00:00
Ulf Lamping 16ca6bebf6 set link layer type sensitive only,
if the user has to choose between at least two choices

svn path=/trunk/; revision=9270
2003-12-13 11:00:04 +00:00
Guy Harris 6a91088ed0 Put in a comment about some issues with the way we do "Update list of
packets in real time" captures.

svn path=/trunk/; revision=9269
2003-12-13 03:36:17 +00:00
Guy Harris 399591ce24 Add some sanity checking of arguments.
svn path=/trunk/; revision=9268
2003-12-13 03:30:07 +00:00
Ulf Lamping 776e388c14 sensitivity of packet range options fine tuning:
don't let the user choose "selected packets", when no packets displayed

svn path=/trunk/; revision=9265
2003-12-13 02:42:09 +00:00
Guy Harris ba9290fe08 From Michael Lum:
Fix point code display.

	Add taps for ANSI MAP and ISUP statistics.

svn path=/trunk/; revision=9247
2003-12-12 19:55:28 +00:00
Gerald Combs 9ed6beff38 In "dlg_window_new()" check to see if "top_level" has been initialized,
as is the case for the spawned capture process.

svn path=/trunk/; revision=9245
2003-12-12 02:50:04 +00:00
Ulf Lamping 10e3320115 prevent MSVC warning:
"warning C4761: Gr��enkonflikt im Argument. Konvertierung vorgenommen"
-> size conflict in argument, conversion done

svn path=/trunk/; revision=9244
2003-12-11 21:23:37 +00:00
Guy Harris d9c27dc211 Oops, I checked the wrong tap into CVS somehow.
svn path=/trunk/; revision=9234
2003-12-10 21:21:16 +00:00
Olivier Biot e42f094023 Mark parameter data as unused in callback_create_help().
svn path=/trunk/; revision=9226
2003-12-09 23:45:34 +00:00
Ulf Lamping 4b890b83fd print system enhanced, more print ranges and expanded states
svn path=/trunk/; revision=9223
2003-12-09 22:41:07 +00:00
Ulf Lamping 892700e893 print system enhanced, more print ranges and expanded states
svn path=/trunk/; revision=9222
2003-12-09 22:27:28 +00:00
Guy Harris 15f863dc3c From Michael Lum:
new taps for GSM A-interface;

	fixes for ANSI A-interface taps.

svn path=/trunk/; revision=9220
2003-12-09 18:49:32 +00:00
Guy Harris 11d8817da0 Don't automatically size the columns - that's expensive in large
captures, as it has to compute the width of an auto-resizing column in
every row.  Just pick fixed widths for the columns (and tune the width
of the "Protocol" column so that it's not narrower than the column
title).

svn path=/trunk/; revision=9219
2003-12-09 06:48:40 +00:00
Ulf Lamping 26ac41f3dd moved "File->Save Highlighted Data" to "File->Export->Raw Packet Data"
svn path=/trunk/; revision=9199
2003-12-08 19:25:01 +00:00
Ulf Lamping 32d83ab647 removed seperator between the two print menuitems
svn path=/trunk/; revision=9197
2003-12-08 17:49:20 +00:00
Olivier Abad 96acd9f8bf Update various set_menu_object_data() calls to reflect recent menu
hierarchy changes. This avoids a crash when selecting "Folow TCP stream"
from the "Analyze" menu.

svn path=/trunk/; revision=9193
2003-12-07 09:43:53 +00:00
Guy Harris 33b25ac15e From Jeff Morriss: avoid at least some N^2 behavior when changing the
time stamp format.

svn path=/trunk/; revision=9179
2003-12-06 04:05:02 +00:00
Guy Harris f0b9d12b6a Don't use GNodes for the protocol tree, put the sibling pointer, and
pointers to the first *and* last child, in the "proto_node" structure
itself.  That saves us one level of indirection and memory allocation,
and lets us append to a tree by appending to the last child directly,
rather than having to scan through the list of siblings of the first
child to find the end of that list.

svn path=/trunk/; revision=9171
2003-12-04 10:59:34 +00:00
Guy Harris 64bc566ea8 In GTK+ 2.x, "gtk_entry_get_text()" returns a "const gchar *"; assign
its value to pointer-to-const variables.

svn path=/trunk/; revision=9161
2003-12-04 00:45:39 +00:00
Guy Harris 56c65fa63b From Michael Lum: Ethereal tap for ANSI A-interface.
Tweak some Makefile.nmake whitespace.

svn path=/trunk/; revision=9159
2003-12-03 23:46:23 +00:00
Guy Harris 95ea8dbdec From Greg Morris: the "File->Save Highlighted" menu item has no icon, so
don't use "ITEM_FACTORY_STOCK_ENTRY()" for it.

svn path=/trunk/; revision=9155
2003-12-03 19:59:28 +00:00
Guy Harris dcd98ae8d3 The "ptr_u" unions no longer have a "next" pointer - they now just have
one member - or have one that's not used, so get rid of those unions.

svn path=/trunk/; revision=9151
2003-12-03 09:28:26 +00:00
Guy Harris 0c84e1c329 From Didier Gautheron: for each column format type, save the first and
last columns, if any, with that format, and use that to speed up
processing of columns with a particular format and checking whether
we're displaying a column with a particular format.

svn path=/trunk/; revision=9147
2003-12-02 23:14:32 +00:00
Guy Harris bd9f96738c From Didier Gautheron: put an "fvalue_t" structure into a "field_info"
structure, rather than separately allocating "fvalue_t"s and having the
"field_info" structure point to them - this appears to speed up protocol
tree construction a bit.

svn path=/trunk/; revision=9146
2003-12-02 21:15:49 +00:00
Guy Harris bb0eb4879f "select_file_cb()" only needs a title, not a "construct_args_t" -
"construct_args_t" is for use with filter dialogs, and the members other
than the title apply only to filter dialogs.

Have "select_file_cb()" actually use the title supplied to it.

svn path=/trunk/; revision=9125
2003-12-01 02:01:56 +00:00
Richard Sharpe a168545845 Fix the accelerator issue ...
svn path=/trunk/; revision=9124
2003-12-01 01:57:14 +00:00
Guy Harris 971d7e3816 Not all platforms have <unistd.h> - in particular, Windows doesn't.
If you're using "open()", "close()", "read()", "write()", etc., you
should include <io.h> on Windows.

svn path=/trunk/; revision=9123
2003-11-30 23:05:45 +00:00
Richard Sharpe fc6c270c4b Fix some warnings in proto_draw.c
svn path=/trunk/; revision=9122
2003-11-30 18:01:20 +00:00
Richard Sharpe 45f226fc2c Rename that to Save Highlighted with Ctl-H as the accellerator.
svn path=/trunk/; revision=9121
2003-11-30 04:40:19 +00:00
Richard Sharpe d9cb6a9d64 Add Save Selected as a menu item in the File Menu.
This still has a way to go, though, because the menu item should be greyed out
until something is Highlighted.

svn path=/trunk/; revision=9120
2003-11-30 04:37:50 +00:00
Richard Sharpe 114c52bf0b Move print_file_cb out of gtk/print_dlg.c and into gtk/file_dlg.c and
rename it to select_file_cb to reflect its function.

While this cleans things up a bit, I am still not happy because now
filter_prefs.h must be included before file_dlg.h just to get
construct_args_t.

svn path=/trunk/; revision=9119
2003-11-30 04:21:55 +00:00