Commit f04d9731 f04d9731d3eca3497c29ed77d9e5b71ee3685c28 by Sergey Poznyakoff

Updated

1 parent 977661a0
Showing 1 changed file with 51 additions and 0 deletions
1 2002-11-20 Sergey Poznyakoff
2
3 * mailbox/mailer.c: Fixed indentation.
4
5 * include/mailutils/libsieve.h (sieve_test_lookup)
6 (sieve_action_lookup,sieve_register_test)
7 (sieve_register_action,sieve_register_comparator)
8 (sieve_comparator_lookup,sieve_require_comparator)
9 (sieve_get_comparator): Accept the pointer to
10 sieve machine as first argument.
11 * libsieve/sieve.h (struct sieve_machine): New members
12 test_list, action_list and comp_list provide independent
13 symbol space for this particular instance of sieve.
14 * libsieve/actions.c (build_mime,sieve_action_redirect): Removed
15 unused argument.
16 (sieve_register_standard_actions): Changed declaration.
17 * libsieve/comparator.c (sieve_register_comparator)
18 (sieve_require_comparator,sieve_comparator_lookup)
19 (sieve_get_comparator)
20 (sieve_register_standard_comparators): Accept the pointer
21 to sieve machine as first argument.
22 * libsieve/register.c (sieve_test_lookup,sieve_action_lookup)
23 (sieve_register_test,sieve_register_action): Accept the pointer
24 to sieve machine as first argument.
25 * libsieve/require.c: Adjust for above changes.
26 * libsieve/sieve.y: Likewise.
27 * libsieve/tests.c: Likewise.
28 (sieve_test_header): New tag :mime. Directs header to test
29 headers in all parts of a multipart message, not only main
30 message headers.
31 * libsieve/util.c (sieve_tag_lookup): New function.
32
33 * sieve/sieve.c: Added "mailer" capability. Removed spurious
34 --mailer-url command line switch.
35 (main): Do not create mailer. sieve_message() will do it
36 if necessary.
37 * sieve/testsuite/scripts/header-mime.sv: New file. Test script
38 for 'header :mime' extension.
39 * sieve/testsuite/scripts/DISTFILES: Added header-mime.sv
40 * sieve/testsuite/sieve/header.exp: Test :mime tag.
41
42 * mail.local/mail.local.h (mda): Changed prototype.
43 (struct mda_data): Replaced FILE *fp with message_t msg.
44 * mail.local/script.c: Adjust for above changes.
45 * mail.local/main.c (make_tmp): Create a message instead
46 of returning file pointer.
47 (argp_capa): Added "mailer" capability.
48 (sieve_test): Second argument.
49 (mda,deliver): Take message_t as first argument, instead of
50 FILE*.
51
1 2002-11-19 Sergey Poznyakoff 52 2002-11-19 Sergey Poznyakoff
2 53
3 * libsieve/comparator.c (i_ascii_casemap_contains): Fixed 54 * libsieve/comparator.c (i_ascii_casemap_contains): Fixed
......