Commit cb831f86 cb831f8669bd8da23720e7134e313c5c0441f0bc by Sergey Poznyakoff

Update

1 parent 0afad559
1 2006-04-22 Sergey Poznyakoff <gray@gnu.org.ua>
2
3 * configure.ac: Minor change
4 * guimb/scm/Makefile.am (sieve.scm): Use auxiliary sed script to
5 create.
6 (pkgdata_DATA): Rename to sievemod_DATA
7 * guimb/scm/redirect.scm: Use handle-exception where necessary
8 * guimb/scm/reject.scm: Likewise.
9 * guimb/scm/vacation.scm: Likewise.
10
11 * guimb/scm/sieve-core.scm: Rewrite as module. Change
12 initialization of the syntax tables.
13 (handle-exception,sieve-verbose-print): New macro
14 (action-fileinto,action-keep,action-stop,action-discard): Produce
15 verbose diagnostics if required.
16 (sieve-run): Take thunk as an argument. Report implicit keep if it
17 returns #t and the verbose mode is on.
18 (sieve-main): Take thunk as an argument.
19 * guimb/scm/sieve.scm.in: Load sieve-core as a module.
20 Do not use make-shared-substring. Change
21 initialization of the syntax tables. Construct the code so, that
22 it returns #t if implicit keep is performed, pass the code as an
23 argument to sieve-main.
24 Fix handling of command line arguments when executing the compiled
25 code (call without -o option).
26 (lex-error,syntax-error): Rewritten
27 (sieve-preprocess-arguments): Correctly handle #:comparator
28 tags
29 (sieve-parse-arguments): Fix handling of keywords (did not work with
30 Guile 1.6.x)
31 (sieve-parse-test): Bugfix 1: Some tests are not procedures.
32 Bugfix 2: Do not ignore last test in allof, anyof constructs
33 (sieve-save-program): Rewrite using with-output-to-file
34 (grammar): New option --verbose.
35
36 * include/mailutils/guile.h: Update
37 * libmu_scm/Makefile.am (pkgdata_DATA): Rename to site_DATA
38 * libmu_scm/mailutils.scm.in: Change module definition
39
40 * libmu_scm/mu_message.c: Throw exceptions on errors.
41 * libmu_scm/mu_scm.c (mu-strerror): New function
42 * libmu_scm/mu_scm.h: Include mailutils/errno.h
43 * m4/guile.m4: New option --with-guiledir. AC_SUBST all GUILE_.*
44 variables. Use $GUILE_CONFIG instead of guile-config.
45
1 2006-04-20 Sergey Poznyakoff <gray@gnu.org.ua> 46 2006-04-20 Sergey Poznyakoff <gray@gnu.org.ua>
2 47
3 * guimb/scm/sieve-core.scm: Always load mailutils module 48 * guimb/scm/sieve-core.scm: Always load mailutils module
......
...@@ -54,8 +54,7 @@ extern SCM scm_long2num (long val); ...@@ -54,8 +54,7 @@ extern SCM scm_long2num (long val);
54 # define scm_from_locale_symbol(s) scm_str2symbol(s) 54 # define scm_from_locale_symbol(s) scm_str2symbol(s)
55 55
56 # define scm_from_int SCM_MAKINUM 56 # define scm_from_int SCM_MAKINUM
57 57 # define scm_from_size_t mu_scm_makenum
58 //# define scm_i_string_chars SCM_STRING_CHARS
59 58
60 # define scm_gc_malloc scm_must_malloc 59 # define scm_gc_malloc scm_must_malloc
61 60
......