Guy Harris
d177c7d731
Nothing in "range.c" is GTK+-specific, so move it to the top-level
...
directory.
svn path=/trunk/; revision=9487
2003-12-29 22:43:33 +00:00
Jörg Mayer
db3f81b8db
range.h moved from gtk to .
...
svn path=/trunk/; revision=9484
2003-12-29 21:18:12 +00:00
Ulf Lamping
bb2245d366
removed a GTK2 warning
...
svn path=/trunk/; revision=9483
2003-12-29 21:04:47 +00:00
Guy Harris
8124ea2886
Get rid of an unused variable.
...
svn path=/trunk/; revision=9480
2003-12-29 20:41:37 +00:00
Guy Harris
4c1c3d4591
Add an RCS ID.
...
Include <ctype.h> to declare "isdigit()".
svn path=/trunk/; revision=9478
2003-12-29 20:40:02 +00:00
Ulf Lamping
14e2a790f9
From Dick Gooris (and me :-)
...
more ways to choose which packets can be saved,
in the save(as) dialog box
svn path=/trunk/; revision=9476
2003-12-29 20:05:59 +00:00
Guy Harris
4b37928246
Make the "max count of recently-visited files" preference unsigned.
...
Get rid of an unused variable.
Fix up whitespace.
svn path=/trunk/; revision=9475
2003-12-29 19:59:05 +00:00
Richard Sharpe
930410872f
OK, now I have added the preference for recent_files_count_max, and we can
...
set the value and so on. We put the value in the text field before it is
displayed, and so on ...
svn path=/trunk/; revision=9470
2003-12-29 00:48:56 +00:00
Richard Sharpe
015681b24e
Connect the recent_file_count_max variable to the prefs.gui_recent_file_count_max variable entry, and fix a small spelling/grammar mistake.
...
Now all we need is some enterprising individual to write the small amount of
preferences code to actually allow it to be changed etc, but I have to go to
Costco, so, later...
svn path=/trunk/; revision=9463
2003-12-28 21:10:26 +00:00
Ulf Lamping
0f2765c1f8
removed some MSVC warnings (warning level 2)
...
svn path=/trunk/; revision=9460
2003-12-28 12:50:42 +00:00
Ulf Lamping
cb2658031d
removed some MSVC warnings (warning level 2)
...
svn path=/trunk/; revision=9459
2003-12-28 12:43:40 +00:00
Guy Harris
f941ab7b7d
Do the "isprint()" hack for GTK+ 2.x or 1.3[.x], whether on UNIX or
...
Windows - the problem is that GTK+ 1.3[.x] and later assume strings
handed to them are UTF-8 strings, not, for example, ISO 8859/x strings.
In packet-radius.c, re-define "isprint()" rather than #ifdeffing its use
(the old code was also incorrectly treating 0x7f as a printable).
svn path=/trunk/; revision=9436
2003-12-24 01:21:32 +00:00
Guy Harris
b136fc7512
Base the count of selected packets on whether there's a
...
currently-selected packet.
Use "cfile.count" as the total number of packets in the capture.
Use "plurality" to display "packet" vs. "packets".
svn path=/trunk/; revision=9423
2003-12-23 00:32:45 +00:00
Ulf Lamping
467c05b3ea
removed some MSVC warnings (conversions between double/float and int)
...
svn path=/trunk/; revision=9422
2003-12-23 00:16:46 +00:00
Guy Harris
9c89878b2e
Have a "toc" file in the help directory, which gives a list of help
...
topic titles and help file names.
svn path=/trunk/; revision=9416
2003-12-22 21:52:41 +00:00
Ulf Lamping
57b6b53548
Patch from Guy: using distributed help text files,
...
instead of "#include" built in texts
(and some other minor changes)
svn path=/trunk/; revision=9407
2003-12-22 08:01:01 +00:00
Guy Harris
5c7fd0723c
If we don't have any packets, or don't have any filtered packets, don't
...
even show the averages over the empty sets in question.
svn path=/trunk/; revision=9400
2003-12-21 22:32:07 +00:00
Guy Harris
a97af4919b
Arrays indexed by a 1-octet unsigned value, if we don't know which
...
values are permitted, must have 256 elements, not 255 elements.
svn path=/trunk/; revision=9399
2003-12-21 22:24:41 +00:00
Guy Harris
ecbfe2fb77
"sizeof(array)" is the size of the array in bytes, not the number of
...
elements in the array.
svn path=/trunk/; revision=9398
2003-12-21 22:21:45 +00:00
Ulf Lamping
3b77bfee59
removed some MSVC warnings (moved pcap.h before glib.h)
...
svn path=/trunk/; revision=9393
2003-12-21 12:19:39 +00:00
Jörg Mayer
3f020f582e
Compiling with -pedantic:
...
warning: comma at end of enumerator list
svn path=/trunk/; revision=9383
2003-12-21 04:31:58 +00:00
Olivier Biot
44ea0de58f
Move display filter into filtered packets frame.
...
Fix NaN when a capture and/or a filter don't have any matching packets
so the average packet size is obtained by dividing by zero.
svn path=/trunk/; revision=9369
2003-12-20 12:03:35 +00:00
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