** See bug #42636.
2003-08-05 Not Zed <NotZed@Ximian.com> ** See bug #42636. * vfoldertypes.xml: Fix some of the subject rules, they were missing matching ')'s. 2003-08-01 Not Zed <NotZed@Ximian.com> ** See bug #47208. * filter-code.c (build_code): wrap the expression in a match-all so boolean expressions work properly for folder searches. svn path=/trunk/; revision=22090
This commit is contained in:
@ -1,3 +1,17 @@
|
||||
2003-08-05 Not Zed <NotZed@Ximian.com>
|
||||
|
||||
** See bug #42636.
|
||||
|
||||
* vfoldertypes.xml: Fix some of the subject rules, they were
|
||||
missing matching ')'s.
|
||||
|
||||
2003-08-01 Not Zed <NotZed@Ximian.com>
|
||||
|
||||
** See bug #47208.
|
||||
|
||||
* filter-code.c (build_code): wrap the expression in a match-all
|
||||
so boolean expressions work properly for folder searches.
|
||||
|
||||
2003-07-23 Dan Winship <danw@ximian.com>
|
||||
|
||||
* Makefile.am: Use EVO_MARSHAL_RULE
|
||||
|
||||
@ -109,12 +109,14 @@ build_code (FilterElement *fe, GString *out, struct _FilterPart *ff)
|
||||
{
|
||||
GList *l;
|
||||
FilterInput *fi = (FilterInput *)fe;
|
||||
|
||||
|
||||
g_string_append(out, "(match-all ");
|
||||
l = fi->values;
|
||||
while (l) {
|
||||
g_string_append(out, (char *)l->data);
|
||||
l = g_list_next(l);
|
||||
}
|
||||
g_string_append(out, ")");
|
||||
}
|
||||
|
||||
/* and we have no value */
|
||||
|
||||
@ -139,7 +139,7 @@
|
||||
<option value="is not">
|
||||
<title>is not</title>
|
||||
<code>
|
||||
(match-all (not (header-matches "Subject" ${subject}))
|
||||
(match-all (not (header-matches "Subject" ${subject})))
|
||||
</code>
|
||||
</option>
|
||||
<option value="starts with">
|
||||
@ -151,7 +151,7 @@
|
||||
<option value="not starts with">
|
||||
<title>does not start with</title>
|
||||
<code>
|
||||
(match-all (not (header-starts-with "Subject" ${subject}))
|
||||
(match-all (not (header-starts-with "Subject" ${subject})))
|
||||
</code>
|
||||
</option>
|
||||
<option value="ends with">
|
||||
@ -163,7 +163,7 @@
|
||||
<option value="not ends with">
|
||||
<title>does not end with</title>
|
||||
<code>
|
||||
(match-all (not (header-ends-with "Subject" ${subject}))
|
||||
(match-all (not (header-ends-with "Subject" ${subject})))
|
||||
</code>
|
||||
</option>
|
||||
</input>
|
||||
|
||||
Reference in New Issue
Block a user