Updated
Showing
1 changed file
with
48 additions
and
0 deletions
1 | 2002-08-07 Sergey Poznyakoff | ||
2 | |||
3 | * mail/mail.h (struct mail_env_entry): Reorganized. Added | ||
4 | type member and changed "value" to be a union. | ||
5 | (environment functions): Changed prototypes. | ||
6 | (util_folder_path): New prototype. | ||
7 | * mail/util.c: Rewritten internal environment functions. | ||
8 | Environment variables are now typed, so setting "set folder=1" | ||
9 | won't cause coredumps anymore. The function util_getenv() is | ||
10 | used to retrieve a variable of given data type. util_find_env() | ||
11 | takes second argument specifying whether it should create a | ||
12 | missing variable. This function is used only in util.c and | ||
13 | var.c. | ||
14 | * mail/set.c: Use util_setenv(). | ||
15 | |||
16 | * mail/alt.c: Use util_getenv(). | ||
17 | * mail/copy.c: Use util_getenv(). Honour outfolder variable, when | ||
18 | set. | ||
19 | * mail/decode.c: Use util_getenv(). | ||
20 | * mail/delete.c: Likewise. | ||
21 | * mail/file.c (mail_expand_name): Use util_getenv() and | ||
22 | util_folder_path(). | ||
23 | * mail/folders.c: Use util_getenv(). | ||
24 | * mail/if.c: Likewise. | ||
25 | * mail/mail.c: Likewise. Provide default for "regexp" internal | ||
26 | variable. | ||
27 | * mail/msgset.y: Likewise. | ||
28 | * mail/pipe.c: Likewise. | ||
29 | * mail/print.c: Likewise. | ||
30 | * mail/quit.c: Likewise. | ||
31 | * mail/send.c: Likewise. | ||
32 | * mail/top.c: Likewise. | ||
33 | * mail/var.c: Likewise. | ||
34 | * mail/mailline.c: Likewise. | ||
35 | |||
36 | * mail/write.c: Honour "outfolder" variable. If called without | ||
37 | arguments, deduce output file name from the number of current | ||
38 | message. | ||
39 | |||
40 | * mail/testsuite/makespool: Bugfix. | ||
41 | * mail/testsuite/lib/mail.exp (mail_start): New flag -reuse-spool. | ||
42 | (default_mail_test): If command is empty do not send anything. | ||
43 | (mail_test_file): New function. Test the contents of an | ||
44 | arbitrary file. | ||
45 | * mail/testsuite/mail/write.exp: New file. Tests for message | ||
46 | saving and disposing commands: delete, mbox, [sS]ave, [wW]rite | ||
47 | * mail/testsuite/mail/DISTFILES: Added write.exp | ||
48 | |||
1 | 2002-08-06 Sergey Poznyakoff | 49 | 2002-08-06 Sergey Poznyakoff |
2 | 50 | ||
3 | * Makefile.am: Removed distcheck kludge. Testsuite doesn't | 51 | * Makefile.am: Removed distcheck kludge. Testsuite doesn't | ... | ... |
-
Please register or sign in to post a comment