Stig Bjørlykke
10a8f59e03
Rewrote some prohibited APIs in gtk/ (sprintf, strcpy, strcat).
...
If we get some truncated strings we probably overwrote some buffers...
svn path=/trunk/; revision=24239
2008-02-01 01:07:58 +00:00
Bill Meier
addba66749
Use glib equivalent of ntohs
...
svn path=/trunk/; revision=24056
2008-01-10 14:42:55 +00:00
Guy Harris
f33ec96669
Use the same workaround for the absence of rint() in MSVC++ that's used
...
by the TCP graph code.
svn path=/trunk/; revision=21915
2007-05-24 02:10:49 +00:00
Anders Broman
52346caa9c
Put in some more, hopfully correct casts.
...
svn path=/trunk/; revision=21903
2007-05-23 05:27:17 +00:00
Guy Harris
f28467c325
Put back some more missing casts.
...
svn path=/trunk/; revision=21901
2007-05-23 00:28:59 +00:00
Guy Harris
ee3d6b43d5
Put back some casts, and don't use rint() on Windows, in the hopes of
...
clearing up at least some buildbot errors on Windows.
svn path=/trunk/; revision=21900
2007-05-22 23:56:52 +00:00
Michael Tüxen
ab125d0d43
From Irene Ruengeler: Fix TSN handling in graphs.
...
svn path=/trunk/; revision=21894
2007-05-22 21:16:30 +00:00
Bill Meier
f48fd4700d
Restore the casts from svn 21080 (presumably) inadvertantly removed in svn 21495.
...
so windows build doesn't get warnings.
svn path=/trunk/; revision=21517
2007-04-23 00:31:57 +00:00
Guy Harris
82583f9697
"struct sack_chunk_header" is presumably just a SACK chunk header
...
followed by zero or more gap start/end pairs; fix up the previous fix to
handle that correctly.
svn path=/trunk/; revision=21510
2007-04-22 20:43:01 +00:00
Guy Harris
a346e923b7
Don't play type-punning games - they cause compiler warnings (not that
...
anybody appears to ever *set* sack_header->gaps).
svn path=/trunk/; revision=21509
2007-04-22 20:29:31 +00:00
Michael Tüxen
18c6fbb379
From Irene Ruengeler: Fix a bug regading the handling of ABORT chunks.
...
svn path=/trunk/; revision=21495
2007-04-22 10:25:26 +00:00
Stephen Fisher
6625e7503f
Fix warnings on Linux/gcc 4.1.1
...
svn path=/trunk/; revision=21330
2007-04-03 21:17:13 +00:00
Ulf Lamping
407d0aeab0
fix all warnings in gtk dir & set the "treat all warnings as errors" MSVC flag
...
svn path=/trunk/; revision=21080
2007-03-21 03:26:26 +00:00
Michael Tüxen
7e8098c520
A fix from Irene Ruengeler to keep assocs selected when
...
setting/applying filters.
Remove some warnings.
svn path=/trunk/; revision=20759
2007-02-09 21:05:43 +00:00
Jaap Keuter
5f955a0fcc
From Albert Chin:
...
Patch attached to convert usage of ntohl() -> g_ntohl(). On HP-UX,
ntohl() isn't available unless you -D_XOPEN_SOURCE_EXTENDED but there
are other uses of g_ntohl().
svn path=/trunk/; revision=19844
2006-11-07 07:39:16 +00:00
Michael Tüxen
7bc853b62b
Fixes the handling of long term captures from a simulation tool.
...
svn path=/trunk/; revision=18267
2006-05-31 15:26:41 +00:00
Ronnie Sahlberg
89f022b12b
name change
...
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Michael Tüxen
e17636a3bf
From Irene: Fix wrong display of SACKs.
...
svn path=/trunk/; revision=18114
2006-05-09 10:23:56 +00:00
Michael Tüxen
3df55b78f6
From Irene: Fix problems with off screen drawings
...
Make rectangle clickable.
svn path=/trunk/; revision=17778
2006-03-30 22:17:42 +00:00
Gerald Combs
172556500d
Remove MIN and MAX defines, which GLib provides.
...
svn path=/trunk/; revision=17551
2006-03-09 16:00:33 +00:00
Michael Tüxen
0431fa4355
From Irene Ruengler:
...
Fix bug regarding the lower left edge and the handling of points outside the displayed region.
svn path=/trunk/; revision=17373
2006-02-22 17:27:23 +00:00
Anders Broman
3aa3b4d8b3
Replace round() with floor(), I don't know if it's the right thing to do but at least it compiles on Windows again.
...
svn path=/trunk/; revision=17094
2006-01-24 20:20:33 +00:00
Michael Tüxen
d3a9893196
From Irene: Add support for showing TSN and time in the graphical analysis.
...
svn path=/trunk/; revision=17082
2006-01-23 11:56:49 +00:00
Guy Harris
a0e68da918
Add a "register_dfilter_stat()", to register stats that take a display
...
filter as an argument on the command line and have a dialog box to enter
the display filter through the GUI. Use it for all stats using
"gtk_tap_dfilter_dlg_cb()".
Add a top-level "stat_menu.h" file to declare "REGISTER_STAT_GROUP_E"
for the benefit of the declaration of "register_dfilter_stat()" in the
top-level "tap_dfilter_dlg.h". Rename the "stat_menu.h" in the gtk
directory to "gtk_stat_menu.h", so as not to have two headers with the
same name.
Get rid of headers not declaring any functions not being used in the
module.
svn path=/trunk/; revision=15493
2005-08-21 09:48:27 +00:00
Ulf Lamping
eafbbbcabb
renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical named ui_util.h in / dir
...
svn path=/trunk/; revision=15465
2005-08-20 12:09:48 +00:00
Guy Harris
b2807e2ab6
Move the APIs for registering and processing "-z" command-line arguments
...
and "Statistics" menu items into "stat.h" and "stat.c", to separate them
from the core tapping APIs. A tap could conceivably not register as a
"-z" command-line argument or "Statistics" menu item, and a stat could
conceivably not be implemented as a tap, and dissectors that implement
tapping points don't need the UI-related stuff from "stat.h", they just
want the tap-related stuff in <epan/tap.h>.
svn path=/trunk/; revision=15427
2005-08-19 09:29:41 +00:00
Michael Tüxen
1962844317
From Irene Ruengeler: Handle multiple gap reports correctly and use correct name of a button.
...
svn path=/trunk/; revision=14908
2005-07-12 21:04:05 +00:00
Michael Tüxen
3d4375731a
Fix a crash reported by Jeff Morris.
...
svn path=/trunk/; revision=14876
2005-07-08 11:47:59 +00:00
Ulf Lamping
da12395ac6
sctp_graph_dlg.c(383) : warning C4244: '=' : conversion from 'unsigned int ' to 'float ', possible loss of data
...
svn path=/trunk/; revision=14765
2005-06-26 10:26:47 +00:00
Ronnie Sahlberg
9ad2f9d11c
avoid a div-by-0
...
svn path=/trunk/; revision=14347
2005-05-11 12:37:20 +00:00
Michael Tüxen
db8ff6d946
Editorial cleanups
...
svn path=/trunk/; revision=14252
2005-05-01 13:51:07 +00:00
Michael Tüxen
ab64f95039
From Irene Ruengeler: Bugfixes and support of chunk statistics per end point.
...
Some cleanups of the code.
svn path=/trunk/; revision=13858
2005-03-22 10:25:07 +00:00
Jörg Mayer
33145f026d
Warning fix: ISO C forbids zero-size array ‘tsns
...
svn path=/trunk/; revision=13692
2005-03-10 12:49:05 +00:00
Michael Tüxen
b608b5e406
Update to versions compiling on and working on Windows and Unix.
...
svn path=/trunk/; revision=13295
2005-02-04 22:45:15 +00:00
Guy Harris
bebb2b7705
Get rid of C++/C99-style comments - not all C compilers accept them.
...
Fix some indentation.
svn path=/trunk/; revision=12710
2004-12-10 11:20:48 +00:00
Guy Harris
9e8d653b21
Set svn:eol-style to native to keep line endings canonicalized.
...
Set svn:keywords to Id to expand RCS IDs.
svn path=/trunk/; revision=11931
2004-09-07 20:07:08 +00:00
Michael Tüxen
870cb0e20a
Added graphical SCTP analysis implemented by Irene Ruengeler.
...
svn path=/trunk/; revision=11920
2004-09-07 07:54:50 +00:00