wireshark/gtk
Guy Harris 252d55d80f For each column, have both a buffer into which strings for that column
can be put, and a pointer to the string for the column, which might or
might not point to that buffer.

Add a routine "col_set_str()", which sets the string for the column to
the string passed to it as an argument; it should only be handed a
static string (a string constant would be ideal).  It doesn't do any
copying, so it's faster than "col_add_str()".

Make the routines that append to columns check whether the pointer to
the string for the column points to the buffer for the column and, if
not, copy the string for the column to the buffer for the column so that
you can append to it (so you can use "col_set_str()" and then use
"col_append_str()" or "col_append_fstr()").

Convert a bunch of "col_add_str()" calls that take a string constant as
an argument to "col_set_str()" calls.

Convert some "col_add_fstr()" calls that take a string constant as the
only argument - i.e., the format string doesn't have any "%" slots into
which to put strings for subsequent arguments to "col_set_str()" calls
(those calls are just like "col_add_str()" calls).

Replace an END_OF_FRAME reference in a tvbuffified dissector with a
"tvb_length(tvb)" call.

svn path=/trunk/; revision=2670
2000-11-19 08:54:37 +00:00
..
.cvsignore Updated to ignore Win32 detritus 2000-09-13 22:03:52 +00:00
Makefile.am Add the "Edit:Protocols..." feature which currently only implements 2000-08-13 14:09:15 +00:00
Makefile.nmake Fix it to build on Windows. 2000-10-11 07:35:02 +00:00
capture_dlg.c Move the declaration of "g_resolving_actif" from the top-level 2000-10-19 22:59:24 +00:00
capture_dlg.h Santeri Paavolainen's patch to add a "Capture->Stop" menu item to let 2000-10-11 06:01:16 +00:00
color_dlg.c Add some dlg_set_cancel(). 2000-08-24 13:21:29 +00:00
color_dlg.h Split the color manipulation stuff into "color_dlg.[ch]", containing the 2000-02-12 08:31:49 +00:00
colors.c More EPAN-related code movements. Get rid of usage of #include "globals.h" 2000-09-28 03:16:29 +00:00
colors.h Miscellaneous code cleaning 2000-08-11 13:37:21 +00:00
column_prefs.c Add #include <string.h>, to get prototypes for mem* and str* functions. 2000-11-17 21:00:40 +00:00
column_prefs.h Instead of each set of built-in preferences having "ok", "save", 2000-08-21 08:09:17 +00:00
display_opts.c Add a fourth choice of time format in the packet list display, which 2000-11-01 08:31:36 +00:00
display_opts.h Move display.[ch] --> gtk/display_opts.[ch] 1999-10-18 12:48:14 +00:00
dlg_utils.c Bleah. What was I thinking? "dlg_window_new()" should take the title 2000-08-23 06:56:31 +00:00
dlg_utils.h Bleah. What was I thinking? "dlg_window_new()" should take the title 2000-08-23 06:56:31 +00:00
file_dlg.c Move the declaration of "g_resolving_actif" from the top-level 2000-10-19 22:59:24 +00:00
file_dlg.h Move the declarations of the routines in "gtk/file_dlg.c" out of 2000-02-12 06:58:42 +00:00
filter_prefs.c This patch adds two things: 2000-10-25 16:06:50 +00:00
filter_prefs.h Arrange that filter dialog boxes have an "Apply" button only if one can 2000-08-05 07:02:28 +00:00
find_dlg.c Bleah. What was I thinking? "dlg_window_new()" should take the title 2000-08-23 06:56:31 +00:00
find_dlg.h Add a "Find Frame" menu item under "Display"; it lets you use a display 1999-11-06 06:28:07 +00:00
follow_dlg.c Include <unistd.h> to declare "close()" and "unlink()". 2000-09-12 06:28:02 +00:00
follow_dlg.h Redraw: 2000-09-08 10:59:21 +00:00
goto_dlg.c Bleah. What was I thinking? "dlg_window_new()" should take the title 2000-08-23 06:56:31 +00:00
goto_dlg.h Add a "Go To Frame" menu item, which lets you go to a frame by frame 1999-11-08 01:03:40 +00:00
gtkclist.c Incorporate the GTK+ 1.2.8 version of "gtkclist.c" (which includes all 2000-05-26 07:47:47 +00:00
gtkclist.h Incorporate the GTK+ 1.2.8 version of "gtkclist.c" (which includes all 2000-05-26 07:47:47 +00:00
gtkglobals.h Instead of each set of built-in preferences having "ok", "save", 2000-08-21 08:09:17 +00:00
gui_prefs.c Fix a number of problems that caused compiles to fail if 2000-11-18 21:41:40 +00:00
gui_prefs.h Instead of each set of built-in preferences having "ok", "save", 2000-08-21 08:09:17 +00:00
help_dlg.c Small changes in help windows: 2000-09-09 15:00:36 +00:00
help_dlg.h Redraw: 2000-09-08 10:59:21 +00:00
keys.h Add a popup menu for the hexdump window. For now, it has only the 2000-08-20 21:55:58 +00:00
main.c For each column, have both a buffer into which strings for that column 2000-11-19 08:54:37 +00:00
main.h Redraw: 2000-09-08 10:59:21 +00:00
menu.c Move the declaration of "g_resolving_actif" from the top-level 2000-10-19 22:59:24 +00:00
menu.h Make work better the (hexdump) popup menus. 2000-08-21 12:33:22 +00:00
packet_win.c Implement epan_dissect_new() and epan_dissect_free(). These are the 2000-10-06 10:11:40 +00:00
packet_win.h Redraw: 2000-09-08 10:59:21 +00:00
plugins_dlg.c Corrected wrong function call in plugins_enable_cb 2000-11-18 09:59:04 +00:00
prefs_dlg.c Fix a number of problems that caused compiles to fail if 2000-11-18 21:41:40 +00:00
prefs_dlg.h Implements the "Properties" menu item which displays the preferences window 2000-08-15 20:46:17 +00:00
print_dlg.c Bleah. What was I thinking? "dlg_window_new()" should take the title 2000-08-23 06:56:31 +00:00
print_prefs.c Remove #include "gtk/colors.h" from file.h, which keep the GTK+ header 2000-10-20 04:26:40 +00:00
print_prefs.h Instead of each set of built-in preferences having "ok", "save", 2000-08-21 08:09:17 +00:00
progress_dlg.c Bleah. What was I thinking? "dlg_window_new()" should take the title 2000-08-23 06:56:31 +00:00
proto_dlg.c Bleah. What was I thinking? "dlg_window_new()" should take the title 2000-08-23 06:56:31 +00:00
proto_dlg.h Add the "Edit:Protocols..." feature which currently only implements 2000-08-13 14:09:15 +00:00
proto_draw.c Remove #include "gtk/colors.h" from file.h, which keep the GTK+ header 2000-10-20 04:26:40 +00:00
proto_draw.h "redraw_hex_dump()" can't use "cfile.pd" or "cfile.current_frame", as it 2000-09-09 10:26:58 +00:00
simple_dialog.c Add support for modal message boxes ("simple dialog"). 2000-10-09 06:38:36 +00:00
stream_prefs.c Remove #include "gtk/colors.h" from file.h, which keep the GTK+ header 2000-10-20 04:26:40 +00:00
stream_prefs.h Instead of each set of built-in preferences having "ok", "save", 2000-08-21 08:09:17 +00:00
summary_dlg.c Add the number of marked packets in the summary window. 2000-08-21 18:20:19 +00:00
summary_dlg.h No work need be done when a summary dialog box is destroyed, or when the 2000-04-01 09:16:49 +00:00
ui_util.c Take the "simple_dialog()" stuff out of "ui_util.h" and "gtk/ui_util.c", 2000-01-03 06:59:25 +00:00