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
Guy Harris
cf91fdf16b
Have tap listeners specify whether the "packet" routine requires
...
a protocol tree;
the column values.
This includes stats-tree listeners.
Have the routines to build the packet list, and to retap packets, honor
those requirements. This means that cf_retap_packets() no longer needs
an argument to specify whether to construct the column values or not, so
get rid of that argument.
This also means that there's no need for a tap to have a fake filter
to ensure that the protocol tree will be built, so don't set up a fake
"frame" filter.
While we're at it, clean up some cases where "no filter" was represented
as a null string rather than a null pointer.
Have a routine to return an indication of the number of tap listeners
with filters; use that rather than the global num_tap_filters.
Clean up some indentation and some gboolean vs. gint items.
svn path=/trunk/; revision=28645
2009-06-05 22:42:47 +00:00
Stig Bjørlykke
8608c8f1de
Fix some "format not a string literal and no format arguments" warnings.
...
svn path=/trunk/; revision=26641
2008-10-31 09:53:56 +00:00
Stig Bjørlykke
381285f61c
Add filter autocomplete for more places we use filter entries.
...
svn path=/trunk/; revision=26491
2008-10-19 13:40:52 +00:00
Stig Bjørlykke
f9c4288e09
Bring the windows to front when rescanning of packets are done.
...
svn path=/trunk/; revision=26438
2008-10-13 18:37:00 +00:00
Stig Bjørlykke
828f6baa42
Ensure we initialize all colorized filter text entries before we show the
...
widget, so we don't get wrong foreground color when using a dark theme.
svn path=/trunk/; revision=26414
2008-10-11 14:32:46 +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
Anders Broman
b6454e76ac
Fix some of the Errors/warnings detected by checkapi.
...
svn path=/trunk/; revision=25244
2008-05-06 05:50:31 +00:00
Ulf Lamping
644a474c95
sort #includes by directories
...
svn path=/trunk/; revision=24969
2008-04-13 03:32:24 +00:00
Ulf Lamping
55c2be83db
move stock icon code from toolbar.c into specific stock_icons file(s)
...
svn path=/trunk/; revision=24921
2008-04-12 00:49:20 +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
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
Stephen Fisher
464efd95fa
Replace all instances of the SIGNAL_CONNECT_OBJECT() macro with the actual
...
function name.
svn path=/trunk/; revision=24888
2008-04-11 04:45:00 +00:00
Stig Bjørlykke
42fe2398b9
Added missing "svn:keywords Id" and "svn:eol-style native" for some
...
c and h files.
svn path=/trunk/; revision=24290
2008-02-08 09:45:36 +00:00
Stephen Fisher
9d83eb39fc
Fix bug #954 for LDAP SRT stats along with the same problem in all the other
...
SRT code.
svn path=/trunk/; revision=23640
2007-11-28 03:04:09 +00:00
Sebastien Tandel
76729e5d0f
From David Howells :
...
Fix compilation failures when building wireshark-0.99.6-SVN-21916 on an
x86_64-unknown-linux-gnu target with gcc version 4.1.2 20070403 (Red Hat
4.1.2-8).
The failures fall into two categories:
(1) Casts between pointers and 32-bit integers without an intermediary cast
via 'long' or 'unsigned long'. This results in a compiler warning complaining
about casts between a pointer and an integer of a different size.
(2) Passing values to "%lld" or similar printf-style format options that the
compiler thinks are a different size. Such values need to be cast to 'long
long' or 'unsigned long long'.
svn path=/trunk/; revision=21975
2007-05-29 02:43:18 +00:00
Ronnie Sahlberg
3dca5cbed9
break the SCSI SBC commandset out into its own dissector
...
svn path=/trunk/; revision=20000
2006-11-27 11:00:06 +00:00
Ronnie Sahlberg
bd16443f38
add some missing commandsets to the preference for default commandset and to the scsi srt statistics
...
svn path=/trunk/; revision=19973
2006-11-24 08:22:30 +00:00
Ronnie Sahlberg
651ed76925
break the SCSI SSC commandset out into its own dissector
...
svn path=/trunk/; revision=19957
2006-11-22 10:12:59 +00:00
Ronnie Sahlberg
494e873eb0
move the ITL and the ITLQ structure to packet-scsi.h where it belongs
...
svn path=/trunk/; revision=19492
2006-10-11 10:38:59 +00:00
Ronnie Sahlberg
0ed3415d5d
make the scsi statistics dialogs easier to understand for scsi novices
...
explain what the commandsets refer to SBC==disk SSC=tape MMC=cd
svn path=/trunk/; revision=18967
2006-08-21 11:26:34 +00:00
Anders Broman
05448fcc3d
Ethereal->Wireshark
...
svn path=/trunk/; revision=18232
2006-05-28 17:19:08 +00:00
Guy Harris
92552c2d76
Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUI
...
strings, and function names.
svn path=/trunk/; revision=18205
2006-05-22 07:29:40 +00:00
Ronnie Sahlberg
89f022b12b
name change
...
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Ronnie Sahlberg
535731ccec
pass the correct hf filter name for the opcode field when we create the srt table
...
so that the popup menues to generate filters work.
svn path=/trunk/; revision=18118
2006-05-09 20:39:59 +00:00
Ronnie Sahlberg
7521c5a32c
update the itl structure so that it sets the cmdset field to the current command set even for the case where we have not detected it by seeing the inquiry response.
...
Make teh msb of the cmdset variable indicate whether we detected the commandset from the trace or whether we used the default value from preferences.
indicate in the dissection of the packet whether the command set is "known" or whether we are using the default one.
make scsi srt stats work even for when we are using the "default" dommandset. Previously scsi srt would ignore all pdus for itl sessions where the "default" command set was used.
svn path=/trunk/; revision=18098
2006-05-05 22:01:45 +00:00
Ronnie Sahlberg
2f08653337
rename some value_Strings from ..._val to ..._vals
...
svn path=/trunk/; revision=17991
2006-04-25 01:42:35 +00:00
Ronnie Sahlberg
480e7e2db1
remove a debugging printf
...
svn path=/trunk/; revision=17985
2006-04-24 23:24:27 +00:00
Ronnie Sahlberg
c8cc76e2e2
SCSI Service Response Time Staistics
...
svn path=/trunk/; revision=17984
2006-04-24 23:09:34 +00:00