aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/smb_stat.c
Commit message (Collapse)AuthorAgeFilesLines
* Make Analyze/Statistics have an accelerator of Alt+A S and moveRichard Sharpe2004-01-031-2/+2
| | | | | | Analyze/Summary to Alt+A Y. svn path=/trunk/; revision=9537
* From Lars Roland: have common code to handle display filter dialogs inGuy Harris2003-12-171-2/+2
| | | | | | taps, and use that in the H.225 taps. svn path=/trunk/; revision=9327
* Use gtk compatibility macros (from compat_macros.h) instead of some gtk+Olivier Abad2003-12-161-2/+2
| | | | | | | | v1.2 functions which are deprecated in gtk+ v2. Update OBJECT_SET_DATA macros to cast "data" to (gpointer). svn path=/trunk/; revision=9296
* In GTK+ 2.x, "gtk_entry_get_text()" returns a "const gchar *"; assignGuy Harris2003-12-041-2/+2
| | | | | | its value to pointer-to-const variables. svn path=/trunk/; revision=9161
* Add Filter Button support for onc-rpc as well ...Richard Sharpe2003-10-271-2/+2
| | | | svn path=/trunk/; revision=8784
* Make sure that Clicking OK in the filter creation dialog box does not actRichard Sharpe2003-10-271-2/+2
| | | | | | as an OK to the dialog box it is called from. svn path=/trunk/; revision=8783
* This changes the Filter: label in the SMB Service Response Time dialog box toRichard Sharpe2003-10-271-6/+18
| | | | | | | | | | a button that brings up the Create Filter dialog box. While it works, the problem is that it also acts as an Enter keypress as far as the start_stat button is concerned. Probably needs a small fix. svn path=/trunk/; revision=8782
* Update to SMB service response time stats.Ronnie Sahlberg2003-09-281-3/+7
| | | | | | | | | For short packets, we might not have enough of the payload to decode the transaction info levels and thus that data structure is NULL. check the pointer to this struct first before we try to dereference it. svn path=/trunk/; revision=8558
* Assorted GUI cleanups.Guy Harris2003-09-261-27/+75
| | | | svn path=/trunk/; revision=8544
* Pass a pointer to a "capture_file" structure toGuy Harris2003-09-241-2/+3
| | | | | | | | | | | | | | | | "set_menus_for_selected_packet()" and "set_menus_for_selected_tree_row()", and have them decide whether to enable or disable menu items based on whether that structure indicates that a packet or field is selected and, if one is, on its properties. Pass to the "selected packet enabled" routine for a menu item the "frame_data" and "edt" members of the "capture_file" structure, and pass to the "selected tree row enabled" routine the "field_info" member of that structure. Clear "cf->current_frame" if no packet is selected. svn path=/trunk/; revision=8525
* Provide a mechanism by which a tap can arrange to have its menu enabledGuy Harris2003-09-191-2/+3
| | | | | | | | | | | | or disabled based on a currently-selected packet (or lack of same) or a currently-selected protocol tree item (or lack of same). Not currently used, but necessary if we ever make the TCP graph stuff a tap. API is tentative and subject to change. Also, enable and disable taps based on whether we have any packets to process. svn path=/trunk/; revision=8498
* Have "register_tap_menu_item()" put the item under Tools, notGuy Harris2003-09-171-2/+2
| | | | | | | Tools/Statistics; change the taps to put things under Statistics themselves. That allows taps to go elsewhere if appropriate. svn path=/trunk/; revision=8488
* Add a routine to return the display name for a "capture_file" structure,Guy Harris2003-09-151-10/+3
| | | | | | | rather than constructing that name when a capture file is opened and putting a pointer to it in that structure. svn path=/trunk/; revision=8476
* Keep a "display name" as part of a capture_file structure; for liveGuy Harris2003-09-151-5/+5
| | | | | | | | capture temporary files, it's "<capture", and for saved capture files, it's the last component of the pathname of the file. Use that in various places when displaying the file name. svn path=/trunk/; revision=8474
* From Graeme Hewson:Guy Harris2003-09-151-3/+9
| | | | | | | | | | | | Don't crash if "-z" is used on the command line when a live capture is being done (e.g., with "-k -S" - in that case, "cfile.filename" is null when the window is created), just don't display the file name in the title. Don't set the title of a non-existent window - create the window first. svn path=/trunk/; revision=8472
* Add a popup to the ServicveResponseTime tables where the user can selectRonnie Sahlberg2003-09-051-4/+4
| | | | | | | | Prepare/Match/FindFrame similar to chat the ConversationList has. Only enabled for SMB and ONC-RPC at this point svn path=/trunk/; revision=8391
* When putting the filename in the titlebarRonnie Sahlberg2003-09-021-3/+4
| | | | | | just put the filename there and not the full path to the file. svn path=/trunk/; revision=8329
* Update to IO-Stat to put the capture filename on the titlebarRonnie Sahlberg2003-08-251-2/+7
| | | | | | | | | | | | | to make it easier to navigate when having multiple instances of ethereal and io-stat open at the same time. Updates to all endpoint talkers and service response time windows to do this as well. Bonus, when the user opens a new capture file when having these windows open, the title bar will be updated to reflect the name of the new capture file. svn path=/trunk/; revision=8251
* Update to the Response Time Statistics taps.Ronnie Sahlberg2003-08-191-1/+9
| | | | | | | | | | | | SMB/FC/ONC-RPC/DCE-RPC now all use the default tap filter string as the same filter string as is used in the main window instead of using a default NULL filter string. The idea is that if you have applied a certain filter to your main window, it is likely that if you want to invoke the response time statistics feature you probably want to do the response time statistics over the same set of packets, i.e. the ones you see in the main window. svn path=/trunk/; revision=8192
* From Lars Roland: Fix the service response time functions to work with GTK2.Gerald Combs2003-06-221-1/+5
| | | | svn path=/trunk/; revision=7911
* "gtk_window_set_default_size()" takes a GtkWindow *, not a GtkWidget *,Guy Harris2003-06-211-2/+2
| | | | | | as its first argument. svn path=/trunk/; revision=7909
* Update SMB statistics tap to use the new CList helper routines.Ronnie Sahlberg2003-06-211-285/+62
| | | | svn path=/trunk/; revision=7907
* From Lars Roland:Guy Harris2003-04-251-79/+22
| | | | | | | | | | Filter dialog for the MGCP statistics tap. Routines for building GUI table displays for statistics taps. Use the timestats.c routines in the SMB statistics tap. svn path=/trunk/; revision=7561
* Make "register_tap_listener()" return NULL on success and a "GString *"Guy Harris2003-04-231-6/+6
| | | | | | | | | | | | | | | | | | | referring to a GString containing an error message on failure, and don't have it print anything on failure. If it fails, have its Tethereal-tap callers print an error message before exiting, and have its Ethereal callers pop up a dialog box with the error (except in cases where the failure is guaranteed not to be the user's fault, and where we exit, in which case we just print an error message before we exit). In all cases, the error message includes the text of the GString. Fix a scanf format string in the DCE RPC statistics Ethereal tap, so that it properly skips the comma before the filter string. Fix some Ethereal error messages not to say "tethereal". svn path=/trunk/; revision=7542
* Have "register_tap_menu_item()" create submenus as necessary for a menuGuy Harris2003-04-231-9/+15
| | | | | | | | | item. Convert all Ethereal (GUI) taps to use "register_tap_menu_item()" rather than having hardcoded menu items in "gtk/menu.c". svn path=/trunk/; revision=7541
* Allow taps to have menu item registration routines; the menu itemGuy Harris2003-04-231-2/+2
| | | | | | | | | | | | | | | | | | | | | registration routines, for taps with menu items (taps that can be run from the "Tools->Statistics" menu), create the menu item for the tap. "make-tapreg-dotc" constructs a "register_all_tap_menus()" function that calls all the tap menu item registration routines it finds, and Ethereal calls that routine after the main window has been constructed (so that the main menu exists, as the menu items are added to it). (Tethereal doesn't call it.) Get rid of the "menu" and "menu_init" arguments to "register_ethereal_tap"; the menu item is registered in the tap's menu item registration routine, not in its main registration routine. Have the RTP GUI tap register its menu item that way, rather than by having it compiled into "gtk/menu.c". (We're not ready yet to have taps whose menu items are under a submenu register themselves in that fashion, as "register_tap_menu_item()" can't yet create submenus.) svn path=/trunk/; revision=7540
* Update to smb rtt stat for ethereal so that we can provide a filter for whichRonnie Sahlberg2003-04-221-3/+66
| | | | | | | | | | | packets we have data. Similar to oncrpc rtt stats smb rtt stats will also open a small window where a filter string can be specified. Only those packets matching the filter will be considered in calculating the rtt statistics. svn path=/trunk/; revision=7528
* New files for the SMB RTT statistics featureRonnie Sahlberg2003-01-221-0/+501
svn path=/trunk/; revision=6967