1 |
|
2003-02-26 Sergey Poznyakoff |
2 |
|
|
3 |
|
Changed the message processing algorithm to process a |
4 |
|
message as a whole. The rcfile grammar is changed |
5 |
|
accordingly. The previous sources (with linie-by-line |
6 |
|
message processing) are tagged 'ver-3-with-per-line-proc'. |
7 |
|
TODO: remailer support. |
8 |
|
|
9 |
|
* src/list.c: New files. |
10 |
|
* src/list.h: New files. |
11 |
|
* src/Makefile.am: Added new files |
12 |
|
* src/extern.h (struct line, struct message_struct) |
13 |
|
(struct gpg_struct): Removed. |
14 |
|
(struct session_struct): Removed unused members. |
15 |
|
(gpg, mopt): Removed |
16 |
|
* src/headers.h (BODY,X_ANUBIS_RULE_HEADER): New define. |
17 |
|
Removed M_.* defines |
18 |
|
(ASSOC, MESSAGE): New aggregate types. |
19 |
|
(new_element,destroy_list): Removed. |
20 |
|
(rcfile_process_cond): Removed. |
21 |
|
(destroy_assoc_list, destroy_string_list): New functions. |
22 |
|
(rcfile_process_section): Changed declaration. |
23 |
|
* src/main.h (gpg, mopt): Removed. |
24 |
|
* src/map.c (parse_transmap): Updated call to |
25 |
|
rcfile_process_section. |
26 |
|
(translate_parser): Changed declaration |
27 |
|
* src/files.c (check_all_files): Removed. |
28 |
|
(message_append_text_file) |
29 |
|
(message_append_signature_file): New functions. |
30 |
|
* src/gpg.c (gpg_encrypt_to_remailer, check_gpg): Removed. |
31 |
|
(gpg_proc): New function. |
32 |
|
(gpg_parser): Rewritten. |
33 |
|
* src/guile.c (guile_rewrite_line): Temporarly removed. |
34 |
|
(guile_to_anubis,anubis_to_guile): Rewritten. |
35 |
|
(guile_process_proc): Rewritten. |
36 |
|
(guile_process_list,guile_postprocess_list) |
37 |
|
(guile_postprocess_list,guile_proclist_empty): Removed. |
38 |
|
(guile_parser): Rewritten. |
39 |
|
* src/misc.c (new_element): Removed. |
40 |
|
(destroy_string_list, destroy_assoc_list): New functions. |
41 |
|
(header_assoc, assoc_to_header): New functions. |
42 |
|
* src/quit.c (free_mem): Updated. |
43 |
|
* src/rc.c (control_parser,tls_parser,rule_parser): Rewritten. |
44 |
|
(all_parser): Removed. |
45 |
|
(rule_section_init,rc_system_init): Removed ALL section. |
46 |
|
(rcfile_process_cond): Removed. |
47 |
|
(rcfile_process_section): Changed declaration. |
48 |
|
* src/rcfile.h (RC_EXPR): New data type. |
49 |
|
(enum rc_node_type): Replaced rc_node_re with rc_node_expr. |
50 |
|
(struct rc_node): Likewise. |
51 |
|
(struct rc_expr): New data type. |
52 |
|
(struct rc_cond): Removed method member. |
53 |
|
(rc_kw_parser_t): Changed declaration. |
54 |
|
(rc_run_section): Likewise. |
55 |
|
* src/rcfile.l: Added "NOT" token. |
56 |
|
* src/rcfile.y: Grammar rewritten. The support for old compatibility |
57 |
|
syntax (if header =^Subject) has been removed. The new syntax |
58 |
|
is |
59 |
|
if header[Subject] "regexp" |
60 |
|
Multiple conditions are allowed: |
61 |
|
|
62 |
|
if header[Subject] "Re: .*" and body ".*found.*" |
63 |
|
* src/tunnel.c: Rewritten. |
64 |
|
|
65 |
|
* testsuite/etc/gpg.in: Updated to new syntax. |
66 |
|
* testsuite/etc/std.in: Likewise. |
67 |
|
* testsuite/etc/simple.in: Likewise. |
68 |
|
* testsuite/etc/std.pat: Likewise. |
69 |
|
|
70 |
2003-02-20 Wojciech Polak |
2003-02-20 Wojciech Polak |
71 |
|
|
72 |
* configure.ac: Removed unused variables. |
* configure.ac: Removed unused variables. |