Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk filter_prefs.c filter_prefs.h main.c men

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 28 Jan 2001 03:13:11 -0600 (CST)
guy         2001/01/28 03:13:11 CST

  Modified files:
    gtk                  filter_prefs.c filter_prefs.h main.c 
                         menu.c 
  Log:
  Have separate capture and display filter lists; some filter dialog boxes
  use the capture filter lists, and others use the display filter list, as
  appropriate.
  
  Have separate menu items for editing the capture and display filter
  lists.
  
  Have separate "~/.ethereal/cfilters" and "~/.ethereal/dfilters" files
  for the two lists; if either of those files isn't found, we try
  "~/.ethereal/filters", which means that you will start out with two
  identical lists holding all your filters - if certain filters belong
  only in one list, you'll have to delete them by hand from the other
  list.
  
  Do I/O error checking when reading and writing filter lists; when
  writing a filter list, write it to a new file, and then rename the new
  file on top of the old file, so that you don't lose your old filter list
  if, for example, you run out of disk space or disk quota.
  
  Revision  Changes    Path
  1.26      +217 -79   ethereal/gtk/filter_prefs.c
  1.10      +3 -2      ethereal/gtk/filter_prefs.h
  1.175     +28 -5     ethereal/gtk/main.c
  1.47      +6 -5      ethereal/gtk/menu.c