aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/dcerpc_stat.c
AgeCommit message (Collapse)AuthorFilesLines
2004-09-29Move the tap infrastructure to the epan directory.Guy Harris1-1/+1
svn path=/trunk/; revision=12128
2004-07-19renamed filter_prefs to filter_dlg, as the filter settings are (well, for a ↵Ulf Lamping1-1/+1
long time) no longer part of the preferences dialog. svn path=/trunk/; revision=11436
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-1/+1
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-06-02move "extern GtkWidget *main_display_filter_widget" fromUlf Lamping1-3/+2
various stats files to gtkglobals.h svn path=/trunk/; revision=11073
2004-05-27use gtk_window_set_default_size() instead of WIDGET_SET_SIZE() for the dialogs,Ulf Lamping1-2/+2
as WIDGET_SET_SIZE() will prevent the user from shrinking the dialog, and gtk_window_set_default_size() will not svn path=/trunk/; revision=11021
2004-05-23use new functions in window API (ui_util.h),Ulf Lamping1-25/+15
use window_new instead of dlg_window_new for the statistics windows (as these are no dialog windows) do some code cleanup svn path=/trunk/; revision=10979
2004-05-07replace info field "gboolean request" by "guint8 ptype",Ulf Lamping1-2/+2
so the packet type can be better detected svn path=/trunk/; revision=10812
2004-04-12added a close button to the dialogs,Ulf Lamping1-8/+19
use the dlg_window_new function for all dialogs svn path=/trunk/; revision=10584
2004-03-13replaced sprintf / snprintf by g_snprintf,Ulf Lamping1-5/+5
various other string related changes svn path=/trunk/; revision=10373
2004-02-27added dfilter string syntax check to various placesUlf Lamping1-2/+2
svn path=/trunk/; revision=10252
2004-02-23statistics menu redesigned, now looking more like the former menu,Ulf Lamping1-2/+2
items now again grouped by function, not by ISO layer svn path=/trunk/; revision=10202
2004-02-22Redesigned the menu structure of the former statistics stuff,Ulf Lamping1-6/+2
now sorted by ISO-layer, than alphabetically (now longer by functionality). Seperated the tap registering from the actual menu making stuff, so the seperate step of registering the tap and the menu is no longer needed. Removed all things related to this double registering. svn path=/trunk/; revision=10180
2004-02-13Add a "window_new()" routine that creates a window of a given type, setsGuy Harris1-6/+8
the title, and arranges to set the icon for it. Use that instead of "gtk_window_new()" and separate calls to set the title and arrange to set the icon. Regularize #includes a bit. Clean up white space. svn path=/trunk/; revision=10054
2004-02-11Most taps that now include "tap_menu.h" no longer need to includeGuy Harris1-2/+1
<stdio.h> to define FILE; get rid of the include. svn path=/trunk/; revision=10034
2004-02-11Move the declaration of "register_tap_menu_item()" into a newGuy Harris1-2/+2
"tap_menu.h" file, and have the Ethereal taps include that rather than "menu.h", so we don't have to worry about making sure we've included <stdio.h> to define FILE, etc. just because some "menu.h" functions require it. svn path=/trunk/; revision=10031
2004-01-31Pass ESD_BTN_OK rather than NULL as a second argument toGuy Harris1-2/+2
"simple_dialog()"; NULL might be #defined to be a pointer expression on some platforms, causing compiler warnings (and, on platforms where a null pointer doesn't have all its bits 0, possibly causing misbehavior, although I don't think there are any such platforms on which Ethereal runs). Don't allow 0 as button mask argument to "simple_dialog()". Squelch a compiler warning. Report fatal problems as errors, not warnings. Report file I/O errors with "file_open_error_message()". Report file write errors (including those reported by "close()", e.g. some errors writing to an NFS server) when saving raw packet data to a file. svn path=/trunk/; revision=9915
2004-01-25fix some filter dialog thingsUlf Lamping1-6/+4
svn path=/trunk/; revision=9848
2004-01-21implemented dlg_button_row_new to get a standard function forUlf Lamping1-15/+6
layouting the dialog buttons, and use it where appropriate. This will help us with the GTK1/2 conflict on button layouts and will also result in a more consistent look of the dialogs at all. svn path=/trunk/; revision=9771
2004-01-21use stock buttons whereever possible,Ulf Lamping1-5/+5
added some ethereal specific stock icons svn path=/trunk/; revision=9763
2004-01-19DCE RPC statistics are maintained only by major version, not by majorGuy Harris1-11/+22
and minor version. svn path=/trunk/; revision=9743
2004-01-19Make the signatures of "dcerpcstat_reset()", "dcerpcstat_packet()", andGuy Harris1-4/+11
"dcerpcstat_draw()" match what "register_tap_listener()" expects, to squelch warnings. svn path=/trunk/; revision=9739
2004-01-19Trivial signed/unsigned warning fixesJörg Mayer1-3/+3
svn path=/trunk/; revision=9732
2004-01-13Use "retap_packets()" rather than "redissect_packets()".Guy Harris1-2/+2
svn path=/trunk/; revision=9660
2004-01-10using button compatibility macrosUlf Lamping1-6/+2
svn path=/trunk/; revision=9636
2004-01-03Make Analyze/Statistics have an accelerator of Alt+A S and moveRichard Sharpe1-2/+2
Analyze/Summary to Alt+A Y. svn path=/trunk/; revision=9537
2003-12-17From Lars Roland: have common code to handle display filter dialogs inGuy Harris1-2/+2
taps, and use that in the H.225 taps. svn path=/trunk/; revision=9327
2003-12-16Use gtk compatibility macros (from compat_macros.h) instead of some gtk+Olivier Abad1-3/+3
v1.2 functions which are deprecated in gtk+ v2. Update OBJECT_SET_DATA macros to cast "data" to (gpointer). svn path=/trunk/; revision=9296
2003-12-15DCE RPC version numbers are unsigned - print them with "%u".Guy Harris1-12/+19
Do the same checks for negative and >255 version numbers in the Tethereal DCE RPC statistics tap that are done in the Ethereal tap. In the Ethereal tap, do those checks before looking up the protocol name. svn path=/trunk/; revision=9290
2003-12-13Put back "menu.h" - it's needed to declare "register_tap_menu_item()".Guy Harris1-2/+5
svn path=/trunk/; revision=9279
2003-12-13removed unused #include "menu.h" from the stats.c filesUlf Lamping1-2/+1
svn path=/trunk/; revision=9273
2003-12-13Add some sanity checking of arguments.Guy Harris1-3/+6
svn path=/trunk/; revision=9268
2003-12-11prevent MSVC warning:Ulf Lamping1-4/+4
"warning C4761: Gr��enkonflikt im Argument. Konvertierung vorgenommen" -> size conflict in argument, conversion done svn path=/trunk/; revision=9244
2003-12-04In GTK+ 2.x, "gtk_entry_get_text()" returns a "const gchar *"; assignGuy Harris1-2/+2
its value to pointer-to-const variables. svn path=/trunk/; revision=9161
2003-11-10Not all LDAP PDUs are aligned to the start of a TCP segment.Ronnie Sahlberg1-2/+41
If we failed to dissect the GSS-SPNEGO blob it probably means that the segment is somewhere in the middle of an LDAP PDU. Just bail out and stop dissecting the PDU instead of aborting ethereal completely using g_assert() since this is not really a pathological error, its just something that can and will happen normally. svn path=/trunk/; revision=8925
2003-10-27Add filter button support to FibreChannel stats and DCERPC stats.Richard Sharpe1-5/+17
svn path=/trunk/; revision=8785
2003-10-10Fix a bug for the DCERPC stats window where it forgot to print the title ↵Ronnie Sahlberg1-4/+14
inside the window as it were supposed to. svn path=/trunk/; revision=8668
2003-10-10Updated the DCERPC service response time to also offer the menu toRonnie Sahlberg1-2/+8
Filter, Find and Colorize selected procedures in the same way as SMB and ONC-RPC already does. svn path=/trunk/; revision=8667
2003-09-26Assorted GUI cleanups.Guy Harris1-37/+55
svn path=/trunk/; revision=8544
2003-09-24Pass a pointer to a "capture_file" structure toGuy Harris1-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
2003-09-19Provide a mechanism by which a tap can arrange to have its menu enabledGuy Harris1-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
2003-09-17Have "register_tap_menu_item()" put the item under Tools, notGuy Harris1-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
2003-09-15Add a routine to return the display name for a "capture_file" structure,Guy Harris1-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
2003-09-15Keep a "display name" as part of a capture_file structure; for liveGuy Harris1-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
2003-09-15From Graeme Hewson:Guy Harris1-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
2003-09-05Include <string.h> to get "strcmp()" declared.Guy Harris1-1/+2
svn path=/trunk/; revision=8393
2003-09-05Add a popup to the ServicveResponseTime tables where the user can selectRonnie Sahlberg1-2/+2
Prepare/Match/FindFrame similar to chat the ConversationList has. Only enabled for SMB and ONC-RPC at this point svn path=/trunk/; revision=8391
2003-09-05Update DCERPCSTAT, change the program menu to show the programs sorted in ↵Ronnie Sahlberg1-10/+73
alphabetical order svn path=/trunk/; revision=8380
2003-09-02When putting the filename in the titlebarRonnie Sahlberg1-3/+4
just put the filename there and not the full path to the file. svn path=/trunk/; revision=8329
2003-08-25Update to IO-Stat to put the capture filename on the titlebarRonnie Sahlberg1-3/+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