aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
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
2002-11-10When opening tap windows, we don't need to search the tap_list again. ItOlivier Abad1-9/+4
has been done when processing the -z command line option. svn path=/trunk/; revision=6602
2002-11-10- use gtk1/gtk2 compatibility macros to reduce #ifdefsOlivier Abad1-126/+57
- when processing tap extensions command line options, wait until the main window has been created before opening the tap window, to avoid lots of GTK warnings. svn path=/trunk/; revision=6601
2002-11-10Use gtk1/gtk2 compatibility macros to reduce #ifdefs.Olivier Abad5-467/+161
svn path=/trunk/; revision=6600
2002-11-09Use gtk1/gtk2 compatibility macros to reduce #ifdefs.Olivier Abad2-177/+59
svn path=/trunk/; revision=6597
2002-11-09Helper macros fro gtk1.2/gtk2 compatibility.Olivier Abad4-824/+330
It should reduce the number of #ifdefs in gtk source code. svn path=/trunk/; revision=6596
2002-11-07From Jason House: add the rule to make "ethereal-tap-register.c".Guy Harris1-5/+10
Make that rule work correctly, by making "ETHEREAL_TAP_SRC" refer to the *source* files, making "ETHEREAL_TAP_OBJECTS" be the *object* files (as generated from the list of source files), and adding "ETHEREAL_TAP_OBJECTS" rather than "ETHEREAL_TAP_SRC" to the list of objects to link. svn path=/trunk/; revision=6574
2002-11-07Fix the message printed when making "ethereal-tap-register.c".Guy Harris1-2/+2
svn path=/trunk/; revision=6573
2002-11-06Add "ethereal-tap-register.c" to the gtk ".cvsignore" file, as it's aGuy Harris1-0/+1
generated file. svn path=/trunk/; revision=6571
2002-11-06First step in creating an API to register TAPs for use with ethereal instead ↵Ronnie Sahlberg10-112/+166
of hardcoding them in main.c/menu.c This adds functions to register the command line arguments to use the API in the same way as is done for tethereal. Later it may be extended to also register the GUI/Menu entry point to ethereal using this api but that iwll be later since the changes required to menu.c are not as intrusive as the main.c command line parsing ones were. Some of the latest changes (before this checkin) has made ethereal to produce lots of GTK errors when starting up the extension windows. They were there before this checking but will be investigated. svn path=/trunk/; revision=6566
2002-11-03Merge gtk and gtk2 directories.Olivier Abad38-3387/+8289
svn path=/trunk/; revision=6552
2002-10-25The versions of UCD SNMP that we now support all installGuy Harris1-13/+7
<ucd-snmp/version.h>, so get rid of the stuff to check for its presence and handle its absence. svn path=/trunk/; revision=6503