aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2000-08-13Add the "Edit:Protocols..." feature which currently only implementsLaurent Deniel1-1/+3
the following: It is now possible to enable/disable a particular protocol decoding (i.e. the protocol dissector is void or not). When a protocol is disabled, it is displayed as Data and of course, all linked sub-protocols are disabled as well. Disabling a protocol could be interesting: - in case of buggy dissectors - in case of wrong heuristics - for performance reasons - to decode the data as another protocol (TODO) Currently (if I am not wrong), all dissectors but NFS can be disabled (and dissectors that do not register protocols :-) I do not like the way the RPC sub-dissectors are disabled (in the sub-dissectors) since this could be done in the RPC dissector itself, knowing the sub-protocol hfinfo entry (this is why, I've not modified the NFS one yet). Two functions are added in proto.c : gboolean proto_is_protocol_enabled(int n); void proto_set_decoding(int n, gboolean enabled); and two MACROs which can be used in dissectors: OLD_CHECK_DISPLAY_AS_DATA(index, pd, offset, fd, tree) CHECK_DISPLAY_AS_DATA(index, tvb, pinfo, tree) See also the XXX in proto_dlg.c and proto.c around the new functions. svn path=/trunk/; revision=2267
2000-08-08Add a Help window that contains:Laurent Deniel1-1/+3
- short overview - list of known protocols - list of display filters - short capture filter help The display filter help can be extended in the future when we will have a GUI for filter construction. But this is better than nothing ;-) And cut & paste from the text help window and the filter input field works... svn path=/trunk/; revision=2227
2000-08-03Add a "Save As" feature to the TCP Follow dialogue, to save the streamGilbert Ramirez1-1/+3
file to a user-specified file. Move the file-copy routine in save_cap_file() to an indepenent function in file.c (copy_binary_file()) so that follow_dlg.c can use it. Remove #include "follow.h" from the C files that don't need it. svn path=/trunk/; revision=2200
2000-07-03Remove the progress bar from the status line, and, instead, for anyGuy Harris1-1/+2
potentially long-running operation that has a progress indicator, pop up a modal dialog box with an indication of what is being done; a progress bar; a "Cancel" button to stop the operation. This: leaves more room on the status line for a filter expression; provides a mechanism to allow the user to cancel long-running operations (although the way we do so may not back out of them as nicely as the user might like, if it's not obvious what the "right" way is or if the "right" way is difficult to implement or involves doing as much work as letting the operation continue); means that, because the dialog box is modal, we don't have to worry about the user performing arbitrary UI operations out from under the operation and changing arbitrary bits of state being used by that operation. svn path=/trunk/; revision=2103
2000-05-02Add some utilities to:Guy Harris1-1/+3
set the "activate" signal for a widget to call a routine to activate the "OK" button for a dialog box; set the "key_press_event" signal for a top-level dialog window to call a routine to activate the "Cancel" button for a dialog box if the key being pressed is the <Esc> key; to make it easier to drive dialog boxes entirely from the keyboard. Make the "Find Frame" and "Go To Frame" dialog boxes use those utilities. svn path=/trunk/; revision=1903
2000-02-29Jeff Foster's changes, with my additions, to allow the user to pop up aGuy Harris1-1/+3
window showing the protocol tree and hex/ASCII data for the currently selected packet. svn path=/trunk/; revision=1670
2000-02-12Split the color manipulation stuff into "color_dlg.[ch]", containing theGuy Harris1-1/+3
dialog boxes for editing color filtes, and "colors.[ch]", containing the toolkit-dependent code to manipulate colors. svn path=/trunk/; revision=1622
2000-02-12The color stuff is almost completely toolkit-dependent (this isn't justGuy Harris1-1/+3
the color-selection and color-filter-editing GUI stuff; different toolkits, and different windows systems, have their own notions of color objects - they may have nothing in common other than the notion that colors have red, green, and blue values); move it all to the "gtk" subdirectory for now, and, as we discover stuff stuff that can be made platform-independent, drag it up to the top-level directory. svn path=/trunk/; revision=1621
2000-02-12Move the declarations of the routines in "gtk/file_dlg.c" out ofGuy Harris1-1/+2
"gtk/main.h" and into a new "gtk/file_dlg.h" file. svn path=/trunk/; revision=1620
2000-01-17Add Makefile.nmake to list of deliverables. I had sent Thomas ParvaisGilbert Ramirez1-1/+3
a tarball from the current CVS image using "make dist". That's why he sent an e-mail today saying that the gtk/Makefile.namek was not in CVS. It's in CVS, but it wasn't in the tarball I sent him. svn path=/trunk/; revision=1501
2000-01-15Remove libltdl from the build. The directory is still in CVS, but it isGilbert Ramirez1-3/+1
not used in the build. I'll wait a few days to remove the libltdl directory, just in case. svn path=/trunk/; revision=1490
2000-01-10Move the code in "column.c" that implements the column preferences tabGuy Harris1-1/+3
into "gtk/column_prefs.c". Get rid of "get_column_width()" - instead, export "get_column_longest_string()", and have "get_column_width()"'s callers make the GDK call to get the width of that string, so that "column.c" contains no GTK+/GDK code. svn path=/trunk/; revision=1447
2000-01-03Take the "simple_dialog()" stuff out of "ui_util.h" and "gtk/ui_util.c",Guy Harris1-1/+2
and move it to "simple_dialog.h" and "gtk/simple_dialog.c". svn path=/trunk/; revision=1414
1999-12-26Integrate libtool/libltdl with the plugin code. Add libtool and libltdlGerald Combs1-1/+4
to the distribution. svn path=/trunk/; revision=1379
1999-12-16Add a new page to the Preferences notebook: a GUI page. The soleGilbert Ramirez1-1/+3
option right now is the placement of the vertical scrollbars in the 3 panes. (it's one decision; you can't have the placement of the vertical scrollbar in the packet list pane different than the placement in the protocol tree pane, for example). I did this because I find it convenient to have the vertical scrollbars on the *left* side of the text. My mouse cursor is usually expanding and collapsing the protocol tree widgets, and once the protocol tree changes size, I usually have to scroll. I'd rather move my mouse cursor just a few pixels over to find the vertical scrollbar. svn path=/trunk/; revision=1351
1999-12-10Move GTK code out of summary.c and into gtk/summary_dlg.cGilbert Ramirez1-1/+3
summary.c now provides a struct of info (see summary.h) Changed the name of the summary dialogue callback (hence the change in menu.c), and added a close button to the dialogue. Moved #include <gtk/gtk.h> out of print.c and into prefs.h where it was needed for GdkColor. svn path=/trunk/; revision=1273
1999-12-09plugins support (i.e. Dynamically loadable dissectors)Olivier Abad1-1/+2
depends on dlopen() being available on the target platform svn path=/trunk/; revision=1263
1999-12-09Move the GTK+ implementations of various UI utilities out of "util.c"Guy Harris1-2/+3
into "gtk/ui_util.c", and move the declarations of those UI utilities out of "util.h" into "ui_util.h". (The header file is in the top-level directory, rather than the "gtk" directory, because it declares window-system-independent interfaces to routines with window-system-dependent implementations.) Add to "gtk/ui_util.c" a routine to set the window and icon title. Use that routine to make the title of an Ethereal top-level window be {filename} - Ethereal if there's a capture open, and have "{filename}" be "<capture>" if it's a temporary capture file. svn path=/trunk/; revision=1255
1999-12-07Remove 3 GTK+ header files and have our gtkclist.c useGilbert Ramirez1-4/+1
the the system version of the gtk header files. svn path=/trunk/; revision=1238
1999-12-02Add stream window color preferences. We don't (yet) use cmaps, so thisGerald Combs1-2/+4
may not work with pseudocolor systems. svn path=/trunk/; revision=1179
1999-11-08Add a "Go To Frame" menu item, which lets you go to a frame by frameGuy Harris1-1/+3
number. svn path=/trunk/; revision=989
1999-11-06Add a "Find Frame" menu item under "Display"; it lets you use a displayGuy Harris1-1/+3
filter to search forward or backward in the list of displayed frames for a matching frame. When filtering the display, readjust the display to show the "current" frame if it passed the display filter. When a file is read in, the first frame becomes the "current" frame; when a frame is selected, it becomes the "current" frame, and remains so *even if you unselect it*, until another frame is selected. Select the first frame when a file is read in. Disable most of the "Display" and "Tools" menu items if there's no current capture file, and enable the relevant ones if there is. svn path=/trunk/; revision=982
1999-10-20And add the new file to the list of gtk/libui.a sources, for distribution.Gilbert Ramirez1-1/+2
svn path=/trunk/; revision=898
1999-10-18Move display.[ch] --> gtk/display_opts.[ch]Gilbert Ramirez1-1/+3
svn path=/trunk/; revision=883
1999-09-09Put in an RCS ID (and a copyright notice and GPL notice; unfortunately,Guy Harris1-0/+24
this causes "Makefile.in" to have two GPL notices - "Makefile.in" and the "Makefile" generated from it are generated files, so maybe that's OK). svn path=/trunk/; revision=639
1999-09-09More shuffling of GTK-related routines to gtk subdirectory.Gilbert Ramirez1-0/+6
svn path=/trunk/; revision=636
1999-09-09More shuffling of GTK-related files to gtk subdirectory.Gilbert Ramirez1-1/+5
svn path=/trunk/; revision=635
1999-09-01Moved GTK-dependent routines for file dialogues, print dialogues, printGilbert Ramirez1-1/+8
preferences, and menus to gtk subdirectory. svn path=/trunk/; revision=623
1999-08-31Changed gtk subdirectory to use only Makefile.am, and not have a configureGilbert Ramirez1-1/+4
script. The configuration is faster this way. Also, moved version to 0.7.3. svn path=/trunk/; revision=614
1999-08-27Added gtk subdirectory, with patched gtkclist.c in it. We can use thisGilbert Ramirez1-0/+9
optimized gtkclist until Guy's changes appear in the offical GTK+. svn path=/trunk/; revision=593