aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2003-01-22New files for the SMB RTT statistics featureRonnie Sahlberg2-0/+531
svn path=/trunk/; revision=6967
2003-01-22SMB RTT statistics for tethereal and ethereal.Ronnie Sahlberg3-5/+13
SMB RTT statistics are similar to the RTT statistics already supported by ONC-RPC and DCE-RPC. It will present a table with all seen SMB commands and present the Min/Max and Avg response time in ms. Transaction2 and NT-Transaction commands are broken out and presented in its own subtables. tethereal feature is activated with -z smb,rtt switch and in ethereal it is activated either through -0z smb,rtt switch or through the Menu. svn path=/trunk/; revision=6966
2003-01-15Move the code that associates buttons with filter dialogs, and viceGuy Harris3-35/+21
versa, into "filter_dialog_new()", rather than replicating it in a couple of routines. The return value of "display_filter_construct_cb()" isn't used for anything, it's ignored by most callers and stored but subsequently ignored by io_stat.c; get rid of the return value, and don't bother storing it in io_stat.c. Before destroying a filter dialog box associated with a button being destroyed, break the association. Get rid of an unused variable in io_stat.c. svn path=/trunk/; revision=6931
2003-01-15Add a new routine "filter_button_destroy_cb()", and make it theGuy Harris6-95/+60
"destroy" signal handler for any button that pops up a filter; if the button has a filter dialog box associated with it, it destroys that dialog box. Have the routines that create filter dialog boxes asociate the dialog box with the button that created it, so that if the button is destroyed the filter dialog box can be destroyed as well, and associate the button with the dialog box. This means that if a dialog box has a button to create a filter, we no longer have to have the destroy handler for the dialog box destroy any filters - that'll happen when the button in the dialog box is destroyed as part of the process of destroying the dialog box. Don't make the "Filter" buttons in the io_stat dialog box insensitive if there's already a filter dialog box open - we can have more than one open per dialog box. svn path=/trunk/; revision=6930
2003-01-11From Ronald Henderson, when closing IO-Stat window, also close any open ↵Ronnie Sahlberg3-25/+81
Filter dialogs svn path=/trunk/; revision=6916
2003-01-08Replace :Olivier Abad1-2/+2
popup_menu_object = gtk_widget_new(GTK_TYPE_WIDGET, NULL); with popup_menu_object = gtk_menu_new(); so that ethereal runs with Gtk+ v2.2 svn path=/trunk/; revision=6879
2003-01-08Add some checks to make sure "gdk_color_parse()" andGuy Harris1-12/+78
"gdk_colormap_alloc_color()" succeed. (We drive on anyway, but at least we let the user know.) svn path=/trunk/; revision=6874
2003-01-08Sort the filenames a bit more.Guy Harris1-3/+3
svn path=/trunk/; revision=6873
2003-01-08Separate the routines to allocate colors from the routines to handleGuy Harris8-247/+324
color filters. svn path=/trunk/; revision=6872
2002-12-31Update a comment to indicate why there's a problem with printable-but-Guy Harris1-15/+8
not-ASCII characters in GTK+. svn path=/trunk/; revision=6831
2002-12-27Make last modifications work with gtk2.Olivier Abad1-3/+7
svn path=/trunk/; revision=6817
2002-12-20Support putting preferences into arbitrary places in a tree, which isGuy Harris1-66/+109
used to construct the "Edit->Preferences" dialog box; this includes the ability to register a "subtree" for preferences. Instead of special-casing protocol preferences, have a subtree "Protocols" for protocol preferences. svn path=/trunk/; revision=6808
2002-12-19Rename "Go To Specified Frame" to "Go To Corresponding Frame" (I'm notGuy Harris1-8/+21
sure there *is* a good name for it). Put it in the "Tools" menu as well (although I'm not sure what top-level menu it belongs in, or if it should get a new one). Make those items sensitive only if there's an FT_FRAMENUM item selected in the protocol tree pane. Clean up some menu paths in "set_menu_sensitivity()" (not that it matters, as only the last component, and the first component if it's a menu factory name, are used). svn path=/trunk/; revision=6803
2002-12-19Add a new field type FT_FRAMENUM; an FT_FRAMENUM is a 32-bit unsignedGuy Harris3-4/+26
frame number, which is always decimal. If you select an FT_FRAMENUM field, there are menu items that let you go to the frame whose frame number appears in that field. Add FT_FRAMENUM fields for the ONC RPC "matching request is in this frame" and "matching reply is in this frame" protocol tree items. svn path=/trunk/; revision=6802
2002-12-18Just use "packet_list_set_selected_row()" to select a given row in theGuy Harris1-15/+6
packet list (doing so makes the row visible as well). svn path=/trunk/; revision=6801
2002-12-18Don't assume that the time stamp of the last frame is the largest timeGuy Harris1-5/+10
stamp in the packet; bugs in the OS kernel or the WinPcap driver, or just forcibly setting the system time backwards, can cause time stamps in packet traces not to monotonously increase. That can cause infinite loops when picking the scale for the graph. svn path=/trunk/; revision=6800
2002-12-16From Andreas Trauer: dissect the L2TP AVPs Initial Received LCP CONFREQ,Guy Harris1-2/+30
Last Received LCP CONFREQ, Last Sent LCP CONFREQ, and correct some AVP names. svn path=/trunk/; revision=6789
2002-12-16Cosmetic fix for io_stat. make sure that the graph always starts with a ↵Ronnie Sahlberg1-1/+15
line at zero level even if there is no data seen at the beginning of the window. svn path=/trunk/; revision=6788
2002-12-16Prettify RPC_PROGRAMS table when reading new capture or when closing and ↵Ronnie Sahlberg1-9/+20
opening it again. svn path=/trunk/; revision=6787
2002-12-16From Ronald Henderson: support for colored graphs in io_stat also for the ↵Ronnie Sahlberg1-3/+24
Gtk1 version. svn path=/trunk/; revision=6786
2002-12-05Fix two compiler warningsRonnie Sahlberg1-13/+3
svn path=/trunk/; revision=6748
2002-12-03Add compat_macros.h to the tarballJörg Mayer1-1/+2
svn path=/trunk/; revision=6732
2002-12-02From Jason House: MSVC++ doesn't like cases with no statements, so addGuy Harris1-1/+5
break statements. svn path=/trunk/; revision=6716
2002-12-02Put back the "width" local variable in proto_cb() which is used only byOlivier Abad1-2/+4
the GTK1.2 UI. svn path=/trunk/; revision=6715
2002-12-02Make the new protocol list work with GTK2. The "status" column uses aOlivier Abad1-17/+48
toggle button instead of a text. svn path=/trunk/; revision=6714
2002-12-02Remove gtk_tree_view_set_search_column() which is not needed.Olivier Abad1-2/+1
svn path=/trunk/; revision=6712
2002-12-02Allow keyboard-only navigation of the Protocols dialog. Protocols canGerald Combs1-3/+18
be enabled or disabled using the space bar. Update the documentation accordingly. svn path=/trunk/; revision=6711
2002-12-01Enable/disable protocols with a single click. Fix the behavior ofGerald Combs1-13/+16
cancelling the Protocols dialog, which my previous checkin broke. svn path=/trunk/; revision=6710
2002-12-01Update some text in the help dialog.Gerald Combs2-140/+229
Replace the large matrix of protocol togglebuttons with a GtkCList. The CList displays three columns: the enabled/disabled state, the protocol's abbreviated name and the protocol's full name. Protocols can be enabled or disabled by double-clicking on them. The enable all, disable all, and invert buttons were left intact. I made a half-assed attempt at Gtk2 support by copying code from plugins_dlg.c. It's incomplete, and probably won't compile. Using check boxes in the first column instead of the word "Disabled" would have been nice. GtkCLists don't let you embed anything besides text and pixmaps unfortunately. Update the man page accordingly. We still need a way to save a list of disabled protocols. svn path=/trunk/; revision=6707
2002-11-29Updte for io-stat to make it more powerful.Ronnie Sahlberg1-57/+465
There is not a third option Advanced... in addition to frames/tick and bytes/tick. See ethereal man page for description and how one can use this to graph how NFS response time MAX/MIN/AVG changes over time. svn path=/trunk/; revision=6703
2002-11-28That was the wrong cast, d00d....Guy Harris1-3/+3
svn path=/trunk/; revision=6686
2002-11-28Constify some pointers to avoid converting const pointers to non-constGuy Harris3-11/+13
pointers. svn path=/trunk/; revision=6685
2002-11-19put nice io-stat title on the io-stat windowRonnie Sahlberg1-1/+2
svn path=/trunk/; revision=6661
2002-11-17update for gui version of io-statRonnie Sahlberg2-16/+76
the graph now has a scrollbar one can use to scroll the graph window svn path=/trunk/; revision=6652
2002-11-16If you include "gtk/gtkglobals.h" before including <ctype.h>, at leastGuy Harris1-1/+4
on Windows in my build environment, the definition of "isprint" in "gtk/gtkglobals.h" causes problems when processing the definition of "isprint" in <ctype.h>, and, somehow, <ctype.h> appears to get included, at least in Windows in my build environment, after we include "gtk/gtkglobals.h" even though we don't include it explicitly. Include it explicitly, before we include "gtk/gtkglobals.h", so that it compiles. svn path=/trunk/; revision=6650
2002-11-16 io-stat. Previously io-stat was hardcoded to calculate the statistics ↵Ronnie Sahlberg1-26/+116
over 1 second intervals. Now there is a menu to control the length of ther measurement intervals from 10ms to 1 sec. svn path=/trunk/; revision=6646
2002-11-15New gtk1/gtk2 compatibility macros used for menu entries.Olivier Abad2-312/+257
svn path=/trunk/; revision=6641
2002-11-15In gtk2 code :Olivier Abad3-35/+67
gdk_font_from_description() may return NULL if no GdkFont matching a PangoFontDescription can be loaded. Replace primitives using GdkFonts (gdk_string_width, gdk_draw_string) with their pango equivalent (pango_layout_get_pixel_size, gdk_draw_layout). svn path=/trunk/; revision=6639
2002-11-15Clean up the GTK+ 1.2[.x] menu items. (This really calls for anotherGuy Harris1-9/+9
"compat_macros.h" macro....) Add some comments on #else's and #endif's to make it a bit easier to follow the twisty maze. svn path=/trunk/; revision=6637
2002-11-15Gtk1 version of io-statRonnie Sahlberg2-33/+40
svn path=/trunk/; revision=6636
2002-11-14Feature for Gtk2: GUI version of IO-STAT. Looks reasonable with one graph. ↵Ronnie Sahlberg5-4/+1020
Looks "sub-optimal" with multiple graphs overwriting eachothers. We can just delete it later if it cant be improved visually. svn path=/trunk/; revision=6629
2002-11-14Make "tethereal-tap-register.c" and "ethereal-tap-register.c" depend onGuy Harris1-2/+2
the script that builds them. svn path=/trunk/; revision=6627
2002-11-14From Didier Gautheron: make the rule to build "ethereal-tap-register.c"Guy Harris1-3/+3
work when a build is done outside the source tree, and make "ethereal-tap-register.c" depend on the script that builds it. svn path=/trunk/; revision=6626
2002-11-11Use gtk1/gtk2 compatibility macros.Olivier Abad3-32/+23
svn path=/trunk/; revision=6616
2002-11-11In the gtk2 port, make double click in the tree view expand or collapseOlivier Abad2-38/+58
a row. svn path=/trunk/; revision=6615
2002-11-11"gtk_quit_add_destroy()" takes a "GtkObject *" as its second argument inGuy Harris1-2/+2
both GTK+ 1.2[.x] and 2.x, so put the "GTK_OBJECT()" cast back in to squelch a compiler warning. svn path=/trunk/; revision=6612
2002-11-11Put in some missing macros needed for recent changes.Guy Harris1-4/+22
svn path=/trunk/; revision=6611
2002-11-11Use gtk1/gtk2 compatibility macros to reduce #ifdefs.Olivier Abad24-1381/+582
svn path=/trunk/; revision=6610
2002-11-11Replace gtk_rpcprogs_init with gtk_rpcprogs_cb in the gtk2 menu entry.Olivier Abad1-2/+2
svn path=/trunk/; revision=6609
2002-11-10Add tethereal's tap objects to Makefile.nmake's "clean" target.Gerald Combs1-19/+1
Instead of setting MIBDIRS in tethereal.c and gtk/main.c, set it in packet-snmp.c. svn path=/trunk/; revision=6606