aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/follow_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2000-11-21Add a "color.h" file that declares a nominally-toolkit-independentGuy Harris1-7/+12
"color_t" structure to store color values (although currently it has all the same fields that a GdkColor has; its currently advantage is that you don't have to include any GTK/GDK stuff to declare it). Add routines in the "gtk" directory to convert between "color_t" and GdkColor values. Define, in "prefs.h", all colors as "color_t" values rather than GdkColor values. "prefs.h" now no longer needs to include <gtk/gtk.h>, so don't include it. svn path=/trunk/; revision=2692
2000-09-12Include <unistd.h> to declare "close()" and "unlink()".Guy Harris1-1/+5
svn path=/trunk/; revision=2419
2000-09-08Redraw:Guy Harris1-1/+34
the text in all "Follow TCP Stream" windows; the text in the help window if we have one up; all hex dump windows; when GUI preference changes are to be applied, so that font changes and "Follow TCP Stream" color changes show up. Update both the Roman and bold font when the font is changed. Don't decrement the reference counts on the old Roman and bold fonts until that's all done. svn path=/trunk/; revision=2401
2000-08-21Put an indentation in hexdump display of a TCP streamLaurent Deniel1-2/+3
only if both directions are displayed. svn path=/trunk/; revision=2321
2000-08-17It was silly of me to require that "forget_scrolled_window()" be calledGuy Harris1-10/+2
explicitly; the right thing to do was to have "remember_scrolled_window()" catch the "destroy" signal on the scrolled window widget, and have the handler for that signal forget the scrolled window. Doing that obviates the need to have creators of scrolled windows keep track of the windows they have and forget them when they're destroyed. The signal for a "the window manager has requested that this window go away" event is "delete_event", not "delete-event"; fix the "gtk_signal_connect()" calls that were using "delete-event". svn path=/trunk/; revision=2284
2000-08-16Fix a long standing bug in the scrolled window handling in follow TCP streamLaurent Deniel1-2/+10
which make ethereal aborts if the preferences were modified (or cancel) after the TCP window was closed. Fix the same bug in the other scrolled window handling (help & protocols). (forget_scrolled_window() was not called at the window closure). svn path=/trunk/; revision=2283
2000-08-11- add ipv6.addr for the source and destination addresses (like ipv4)Laurent Deniel1-8/+27
- implement the TCP follow feature for TCP over IPv6 svn path=/trunk/; revision=2258
2000-08-11Miscellaneous code cleaningLaurent Deniel1-6/+7
- add <stdarg.h> or <varargs.h> in snprintf.h and remove those inclusions in the other #ifdef NEED_SNPRINTF_H codes - remove the check of multiple inclusions in source (.c) code (there is a bit loss of _cpp_ performance, but I prefer the gain of code reading and maintenance; and nowadays, disk caches and VM are correctly optimized ;-). - protect all (well almost) header files against multiple inclusions - add header (i.e. GPL license) in some include files - reorganize a bit the way header files are included: First: #include <system_include_files> #include <external_package_include_files (e.g. gtk, glib etc.)> Then #include "ethereal_include_files" with the correct HAVE_XXX or NEED_XXX protections. - add some HAVE_XXX checks before including some system header files - add the same HAVE_XXX in wiretap as in ethereal Please forgive me, if I break something (I've only compiled and regression tested on Linux). svn path=/trunk/; revision=2254
2000-08-09Small fix for initialization of new follow_info struct.Gilbert Ramirez1-1/+2
svn path=/trunk/; revision=2233
2000-08-09In TCP Follow window, allow the optional showing of:Gilbert Ramirez1-415/+561
Entire Conversation Client -> Server packets Server -> Client packets Have "Save As" button work as a "Print to File" button; it asks for a filename and uses the same routine that "Print" uses to save the file. What you see in the window is what you get in the file. So, you can get any of the above conversations/soliloquies combined with: ASCII EBCDIC Hex Dump svn path=/trunk/; revision=2232
2000-08-03Add a "Save As" feature to the TCP Follow dialogue, to save the streamGilbert Ramirez1-0/+551
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