Changeset 89426ab


Ignore:
Timestamp:
Feb 18, 2003, 1:24:43 AM (22 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
060b3b4
Parents:
160ea47
Message:
In filters 'true' and 'false' are now valid tokens.
The 'all' filter has been redefinied to be 'true' and there is a
  'none' filter defined as 'false'
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rf2f9314 r89426ab  
    1515        Added some defenses against resize crashes, and put in debug
    1616          messages if they're encountered
     17        In filters 'true' and 'false' are now valid tokens.
     18        The 'all' filter has been redefinied to be 'true' and there is a
     19          'none' filter defined as 'false'
    1720
    18211.2.8
  • filter.c

    r65fc0900 r89426ab  
    4949    } else if (!strcasecmp(argv[i], "not")) {
    5050      owl_filterelement_create_not(fe);
     51    } else if (!strcasecmp(argv[i], "true")) {
     52      owl_filterelement_create_true(fe);
     53    } else if (!strcasecmp(argv[i], "false")) {
     54      owl_filterelement_create_false(fe);
    5155     
    5256    } else if (i==argc-1) {
  • owl.c

    r8f44c6b r89426ab  
    163163
    164164  f=malloc(sizeof(owl_filter));
    165   owl_filter_init_fromstring(f, "all", "class .*");
     165  owl_filter_init_fromstring(f, "none", "false");
     166  owl_list_append_element(owl_global_get_filterlist(&g), f);
     167
     168  f=malloc(sizeof(owl_filter));
     169  owl_filter_init_fromstring(f, "all", "true");
    166170  owl_list_append_element(owl_global_get_filterlist(&g), f);
    167171
Note: See TracChangeset for help on using the changeset viewer.