Changeset cb769bb for owl.h


Ignore:
Timestamp:
Dec 26, 2006, 1:05:26 AM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
446aa2b
Parents:
20eb22c
Message:
 r15874@phanatique:  nelhage | 2006-12-24 18:25:33 -0500
 Don't quit if we can't contact the hostmaster. 
 r15884@phanatique:  nelhage | 2006-12-24 18:56:03 -0500
 Respect the displayoutgoing variable
 r15885@phanatique:  nelhage | 2006-12-24 20:10:44 -0500
 You can now write filters based off arbitrary message attributes
 r15887@phanatique:  nelhage | 2006-12-24 22:59:39 -0500
  r15886@phanatique (orig r476):  nelhage | 2006-12-24 22:59:10 -0500
   r24493@heretique:  nelhage | 2006-12-24 22:59:02 -0500
   Moving zephyr initialization later, so that zephyr works again
  
 
 r15891@phanatique:  nelhage | 2006-12-25 14:40:08 -0500
 * perl messages hashes use `private', not `isprivate'
 * get rid of a perl warning if login fails
 r15900@phanatique:  nelhage | 2006-12-25 21:04:15 -0500
 Merging in filter regression tests from my local branch.
 r15926@phanatique:  nelhage | 2006-12-26 00:57:07 -0500
  r15901@phanatique:  nelhage | 2006-12-25 21:08:47 -0500
  Base framework for the filter rewrite system. Only understands regexes and true/false so far.
 
 r15927@phanatique:  nelhage | 2006-12-26 00:57:08 -0500
  r15902@phanatique:  nelhage | 2006-12-25 23:03:33 -0500
  support for negation and parentheses
 
 r15928@phanatique:  nelhage | 2006-12-26 00:57:08 -0500
  r15924@phanatique:  nelhage | 2006-12-26 00:16:30 -0500
  Now passing all tests except for recursion detection
 
 r15929@phanatique:  nelhage | 2006-12-26 00:57:08 -0500
  r15925@phanatique:  nelhage | 2006-12-26 00:52:09 -0500
  Checking for filter recursion loops
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    r1b6b2f3 rcb769bb  
    400400
    401401typedef struct _owl_filterelement {
    402   int type;
     402  int (*match_message)(struct _owl_filterelement *fe, owl_message *m);
     403  /* Append a string representation of the filterelement onto buf*/
     404  void (*print_elt)(struct _owl_filterelement *fe, char * buf);
     405  /* Operands for and,or,not*/
     406  struct _owl_filterelement *left, *right;
     407  /* For regex filters*/
     408  owl_regex re;
     409  /* Used by regexes, filter references, and perl */
    403410  char *field;
    404   owl_regex re;
    405   char *filtername;  /* for maching on another filter */
    406411} owl_filterelement;
    407412
     
    409414  char *name;
    410415  int polarity;
    411   owl_list fes; /* filterelements */
     416  owl_filterelement * root;
    412417  int color;
    413418  int cachedmsgid;  /* cached msgid: should move into view eventually */
     
    555560  int malloced, freed;
    556561  char *searchstring;
    557   owl_filterelement fe_true;
    558   owl_filterelement fe_false;
    559   owl_filterelement fe_null;
    560562  aim_session_t aimsess;
    561563  aim_conn_t bosconn;
Note: See TracChangeset for help on using the changeset viewer.