Bill Meier
2e4f755e13
Define some vars & fcns as static;
...
Also: do some minor reformmating and cleanup of whitespace.
svn path=/trunk/; revision=34492
2010-10-12 19:26:07 +00:00
Bill Meier
538dd47d5d
Fix various gcc -Wshadow warnings.
...
svn path=/trunk/; revision=31731
2010-01-29 19:09:01 +00:00
Michael Tüxen
798b1ecdb2
Cleanup whitespaces.
...
svn path=/trunk/; revision=29698
2009-09-04 13:23:51 +00:00
Michael Tüxen
471111ffc6
Fix handling of multiple duplicate TSNs.
...
svn path=/trunk/; revision=29697
2009-09-04 13:10:59 +00:00
Michael Tüxen
648bdb564b
Fix compilation.
...
svn path=/trunk/; revision=29696
2009-09-04 12:52:28 +00:00
Michael Tüxen
56366dcb59
From Irene Ruengeler: Show duplicate TSNs in SACKs.
...
svn path=/trunk/; revision=29695
2009-09-04 12:42:22 +00:00
Michael Tüxen
cc11620041
From Irene Ruengeler: Fix two bugs regarding plotted TSNs reported by
...
Christian Constantin.
svn path=/trunk/; revision=29498
2009-08-21 20:10:51 +00:00
Anders Broman
485fc6805b
Change window_new() to dlg_window_new() and destroy the window with the top level window.
...
svn path=/trunk/; revision=28810
2009-06-22 15:22:37 +00:00
Jörg Mayer
c321f29518
Trivial warning fixes:
...
- Might be used uninitialized
- not a prototype
- comma at end of enum
svn path=/trunk/; revision=28730
2009-06-15 02:34:53 +00:00
Michael Tüxen
2f5d2bb8a3
* Fix name of Irene in AUTHORS.
...
* Add Varun Notibala to AUTHORS.
* Add support for NR-SACK and fix stability problems.
svn path=/trunk/; revision=28642
2009-06-05 13:33:18 +00:00
Bill Meier
27024a1d5a
As suggested by Jakub Zawadzki: actually use sizeof(...) rather than a numeric constant in various places;
...
svn path=/trunk/; revision=27800
2009-03-19 17:49:11 +00:00
Bill Meier
d3fc3b6c3e
Fix some simple cases of GTK2 deprecated API usage by using a renamed or equivalent API
...
gtk_button_box_set_spacing() ==> gtk_box_set_spacing()
svn path=/trunk/; revision=25673
2008-07-08 02:43:40 +00:00
Bill Meier
56206e0002
Fix some simple cases of GTK2 deprecated API usage by using a renamed or equivalent API
...
gtk_container_border_width() ==> gtk_container_set_border_width()
gtk_container_children() ==> gtk_container_get_children()
gtk_entry_new_with_max_length() ==> gtk_entry_new(); gtk_entry_set_max_length()
gtk_menu_append() ==> gtk_menu_shell_append()
gtk_menu_prepend() ==> gtk_menu_shell_prepend()
gtk_notebook_set_page() ==> gtk_notebook_set_current_page()
gtk_paned_gutter_size() ==> gtk_paned_set_gutter_size()
gtk_radio_button_group() ==> gtk_radio_button_get_group()
gtk_signal_connect() ==> g_signal_connect()
gtk_signal_disconnect() ==> g_signal_handler_disconnect()
gtk_signal_emit_by_name() ==> g_signal_emit_by_name()
gtk_signal_handler_block_by_data() ==> g_signal_handlers_block_matched()
gtk_signal_handler_block_by_func() ==> g_signal_handlers_block_by_func()
gtk_signal_handler_unblock_by_data() ==> g_signal-handlers_unblock_matched()
gtk_signal_handler_unblock_by_func() ==> g_signal-handlers_unblock_by_func()
gtk_spin_button_get_value_as_float() ==> gtk_spin_button_get_value()
gtk_toggle_button_set_state() ==> gtk_toggle_button_set_active()
svn path=/trunk/; revision=25634
2008-06-29 15:51:43 +00:00
Ulf Lamping
644a474c95
sort #includes by directories
...
svn path=/trunk/; revision=24969
2008-04-13 03:32:24 +00:00
Ulf Lamping
d4ccf577a8
where it's not necessary, remove #include "compat_macros.h"
...
svn path=/trunk/; revision=24922
2008-04-12 01:02:59 +00:00
Ulf Lamping
8e58ec7085
last round to replace SIGNAL_CONNECT with g_signal_connect
...
svn path=/trunk/; revision=24918
2008-04-11 23:16:06 +00:00
Ulf Lamping
c6d13dc2c8
replace WIDGET_SET_SIZE with gtk_widget_set_size_request
...
svn path=/trunk/; revision=24910
2008-04-11 20:31:05 +00:00
Ulf Lamping
ae5f841083
replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's gtk_button_new_from_stock
...
svn path=/trunk/; revision=24904
2008-04-11 18:58:19 +00:00
Bill Meier
77b615b79f
OBJECT_..._DATA --> g_object_..._data
...
svn path=/trunk/; revision=24896
2008-04-11 16:55:44 +00:00
Michael Tüxen
52518e3e9e
Cleanup whitespaces.
...
svn path=/trunk/; revision=24831
2008-04-07 05:53:02 +00:00
Ulf Lamping
3b7fe5fc6c
remove GTK1 code
...
svn path=/trunk/; revision=24823
2008-04-07 00:42:04 +00:00
Michael Tüxen
4306c7037d
Include epan/strutil.h for gtk-1.2 builds.
...
svn path=/trunk/; revision=24513
2008-03-01 10:23:57 +00:00
Stig Bjørlykke
7deec480ff
Next attempt to cleanup some string functions, including:
...
strncpy -> g_strlcpy, strncat -> g_strlcat
svn path=/trunk/; revision=24504
2008-02-29 13:33:37 +00:00
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