[468] in BarnOwl Developers
[D-O-H] r597 - / trunk trunk/owl
daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:06:30 2009
Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
Date: Sat, 10 Feb 2007 23:45:12 -0500
To: dirty-owl-hackers@mit.edu
From: nelhage@MIT.EDU
Reply-To: dirty-owl-hackers@MIT.EDU
Author: nelhage
Date: 2007-02-10 23:45:11 -0500 (Sat, 10 Feb 2007)
New Revision: 597
Modified:
/
trunk/
trunk/owl/filter.c
trunk/owl/global.c
trunk/owl/owl.c
trunk/owl/owl.h
trunk/owl/regex.c
Log:
r15900@phanatique: nelhage | 2006-12-25 21:04:15 -0500
Merging in filter regression tests from my local branch.
Property changes on:
___________________________________________________________________
Name: svk:merge
- 6122c8b4-0e12-0410-9533-8bcd7c66c992:/local/dirty-owl-hacks:24493
6aa88b72-b502-0410-8cb4-a5dd0230fb79:/owl-local:1356
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h:15891
+ 6122c8b4-0e12-0410-9533-8bcd7c66c992:/local/dirty-owl-hacks:24493
6aa88b72-b502-0410-8cb4-a5dd0230fb79:/owl-local:1356
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h:15900
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- bb873fd7-8e23-0410-944a-99ec44c633eb:/branches/owl/filter-rewrite:15925
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h/trunk:18566
+ bb873fd7-8e23-0410-944a-99ec44c633eb:/branches/owl/filter-rewrite:15925
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h/trunk:18566
fe09232e-8620-0410-8e36-e6b4839e121d:/trunk:442
Modified: trunk/owl/filter.c
===================================================================
--- trunk/owl/filter.c 2007-02-11 03:36:55 UTC (rev 596)
+++ trunk/owl/filter.c 2007-02-11 04:45:11 UTC (rev 597)
@@ -5,6 +5,17 @@
#define OWL_FILTER_MAXRECURSE 20
+static owl_filterelement fe_true;
+static owl_filterelement fe_false;
+static owl_filterelement fe_null;
+
+void owl_filterengine_init()
+{
+ owl_filterelement_create_true(&fe_true);
+ owl_filterelement_create_false(&fe_false);
+ owl_filterelement_create_null(&fe_null);
+}
+
int owl_filter_init_fromstring(owl_filter *f, char *name, char *string)
{
char **argv;
Modified: trunk/owl/global.c
===================================================================
Modified: trunk/owl/owl.c
===================================================================
Modified: trunk/owl/owl.h
===================================================================
Modified: trunk/owl/regex.c
===================================================================