Bill Meier
538dd47d5d
Fix various gcc -Wshadow warnings.
...
svn path=/trunk/; revision=31731
2010-01-29 19:09:01 +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
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
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
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
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
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
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
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
Jörg Mayer
dba7a99e1d
warning: C++ style comments are not allowed in ISO C90
...
svn path=/trunk/; revision=16853
2005-12-18 23:22:47 +00:00
Michael Tüxen
fd7caa4b84
Bug fixes from Irene.
...
svn path=/trunk/; revision=16639
2005-12-01 15:15:42 +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
Jörg Mayer
0edcc8920e
- Declare some functions static
...
- Add plugins_dlg.h
- Include .h files in their respective .c files
- Include .h and remove extern declarations in .c files
- set eol-style and keywords on gui_utils.[hc]
svn path=/trunk/; revision=15471
2005-08-20 14:02:00 +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
5e89412e0c
Fix a bug in counting DATA chunks.
...
svn path=/trunk/; revision=14264
2005-05-02 14:04:25 +00:00
Michael Tüxen
b3f69cada5
Editorial stuff
...
svn path=/trunk/; revision=14255
2005-05-01 13:53:53 +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