- 30 Mar, 2009 1 commit
-
-
* include/mailutils/python.h (mu_py_capture_stdout, mu_py_capture_stderr): New prototypes. * maidag/python.c (python_check_msg): Redirect output.
Wojciech Polak authored
-
- 28 Mar, 2009 2 commits
-
-
* imap4d/copy.c: Set target mailbox permissions. * imap4d/rename.c: Remove useless variable. Add some comments.
Sergey Poznyakoff authored
- 27 Mar, 2009 2 commits
-
-
* libmu_scm/mu_guimb.c: Remove * libmu_scm/mu_dbgport.c: New file. * libmu_scm/Makefile.am: Update. * include/mailutils/guile.h (mu_process_mailbox): Remove. (mu_scm_make_debug_port, mu_scm_debug_port_init): New prototypes. * libmu_scm/mu_scm.c (mu_scm_init): Call mu_scm_debug_port_init. * maidag/guile.c (scheme_check_msg): Redirect error/output to MU port. * mailbox/mutil.c (mu_expand_path_pattern): Expand ~.
Sergey Poznyakoff authored -
-
- 25 Mar, 2009 5 commits
-
-
* mail.local: Remove. * mail.remote: Remove. * Makefile.am, configure.ac: Update. * doc/texinfo/mailutils.texi: Rebuild master menu. * doc/texinfo/programs.texi: Update.
Sergey Poznyakoff authored -
-
-
-
-
- 24 Mar, 2009 4 commits
-
-
* maidag/python.c: New file. * maidag/script.c (script_tab): Add Python. * maidag/maidag.h (python_check_msg): New prototype. * configure.ac: Conditionally define python-related variables.
Wojciech Polak authored -
* include/mailutils/guile.h (mu_guile_init, mu_guile_load) (mu_guile_eval, mu_guile_mailbox_apply, mu_guile_message_apply) (mu_guile_safe_exec, mu_guile_safe_proc_call): New protos. * libmu_scm/Makefile.am: Add mu_guile.c * libmu_scm/mu_guile.c: New file. * libmu_scm/mu_mailbox.c (struct mu_mailbox): Kludge: new member noclose. (mu_scm_mailbox_free): Do not close/destroy mailbox if it is marked noclose. (mu_scm_mailbox_create0): Kludge: new function. * libmu_scm/mu_message.c (mu_scm_message_print): Bugfix. * maidag/Makefile.am: Add guile.c and sieve.c. * maidag/deliver.c (maidag_stdio_delivery) [WITH_GUILE]: Remove block. (deliver_url): Call script_apply, instead of sieve_test. * maidag/maidag.c: Rewrite scripting support in a modular way. Remove options: --sieve, --source (and the corresponding config statements). Add options: --language, --script. Add configure statement: filter (block). * maidag/maidag.h (progfile_pattern, sieve_pattern): Remove. (script_list, sieve_debug_flags, message_id_header, sieve_enable_log): New prototypes. [WITH_GUILE]: Remove. (maidag_script_fun, struct maidag_script): New data type. (script_handler): New extern. (script_lang_handler, script_suffix_handler) (script_register, script_apply): New protos. (scheme_check_msg, sieve_check_msg): New protos. * maidag/script.c: Rewrite. Provide general-purpose serialized script support. * guimb/guimb.h (struct guimb_data): Remove. * guimb/main.c: Rewrite in a cleaner way, using functions from mu_guile.c. * guimb/collect.c (guimb_catch_body, guimb_catch_handler) (guimb_exit): Remove. * guimb/scm/sieve-core.scm (sieve-current-message, sieve-mailbox): Public. (sieve-run-current-message): New public function. (sieve-run): Call sieve-run-current-message for each message. * guimb/scm/sieve.scm.in (sieve-save-program): Change code generation to suit both per-mailbox and per-message invocation. This kicks mail.local out of whack. * maidag/guile.c: New file. * maidag/sieve.c: New file.
Sergey Poznyakoff authored -
* configure.ac (GUIMB): Rename to MU_SCM_BIN_PROGRAMS_BUILD. * guimb/Makefile.am: Likewise.
Sergey Poznyakoff authored -
The proper delimiters are ( and ), listed in RFC as atom_specials. The characters "[]<>." are delimiters for FETCH, and "." is a delimiter for STORE. Fix tokenizer to recognize these only in the corresponding contexts. In particular, it fixes parsing of input atoms containing dots, as foo@bar.baz, which previous versions incorrectly splitted in three. * imap4d/util.c (ISDELIM): Delimiters are only ( and ) * imap4d/imap4d.h (struct imap4d_parsebuf): new data type. (imap4d_parsebuf_t): New data type. (imap4d_parsebuf_exit, imap4d_parsebuf_peek) (imap4d_parsebuf_next, imap4d_parsebuf_token) (imap4d_parsebuf_data, imap4d_with_parsebuf): New prototypes. * imap4d/parsebuf.c: New file. * imap4d/Makefile.am: Add parsebuf.c * imap4d/fetch.c, imap4d/store.c: Rewrite using parsebuf functions.
Sergey Poznyakoff authored
-
- 22 Mar, 2009 2 commits
-
-
* scripts/guile-1.4: Removed. * scripts/guile-1.6/guile-doc-snarf: Move to the parent dir. * scripts/guile-1.6/guile-doc-snarf.awk: Move to the parent dir. * scripts: Rename to mu-aux. All references updated. * am/enable.m4 (MU_ENABLE_SUPPORT): add fourth argument, action-default Translate + to x. * am/guile.m4 (MU_RESULT_ACTIONS): Remove. (MU_CHECK_GUILE): Rewrite. Drop support for versions < 1.8 * am/lib.m4 (MU_CHECK_LIB): Rewrite using a cleaner approach. * bootstrap.conf: Remove build_aux assignement. * configure.ac: Assume a new naming scheme for optional builds: for each subst variable named MU_whatever_BUILD there is a corresponing Makefile.am variable named MU_whatever_LIST, if `whatever' is to be built MU_whatever_BUILD is set to '$(MU_whatever_LIST)' New option --disable-c++. Improve status output. * examples/Makefile.am, examples/cpp/Makefile.am, include/mailutils/Makefile.am, libmu_cpp/Makefile.am, libmu_scm/Makefile.am, libmu_sieve/Makefile.am, libmu_sieve/extensions/Makefile.am, libmu_sieve/load.c, mail.remote/Makefile.am, mail.remote/testsuite/Makefile.am, mailbox/Makefile.am, mh/Makefile.am, mimeview/Makefile.am, mu-aux/Makefile.am, python/mailutils/Makefile.am: Reflect changes to autoconf machinery. * /include/mailutils/guile.h: Drop support for versions < 1.8 * libmu_scm/mu_util.c: Likewise.
Sergey Poznyakoff authored
- 19 Mar, 2009 1 commit
-
-
* mail/util.c (util_do_command): Do not use = as a delimiter. * mail/set.c (mail_set): = is no longer returned as a token. * mail/setenv.c (mail_setenv): Likewise.
Sergey Poznyakoff authored
-
- 18 Mar, 2009 1 commit
- 14 Mar, 2009 1 commit
-
-
* include/mailutils/python.h: New file. * python/c_api: Rename to python/libmu_py.
Wojciech Polak authored
-
- 12 Mar, 2009 1 commit
-
-
* imap4d/bye.c: Discern between input and output errors. * imap4d/imap4d.h (ERR_NO_IFILE): New error code. * imap4d/util.c: Discern between input and output errors. Improve trace output. (imap4d_getline): Signal ERR_NO_IFILE on EOF. * movemail/movemail.c: Fix include statements.
Sergey Poznyakoff authored
-
- 08 Mar, 2009 1 commit
-
-
- 07 Mar, 2009 1 commit
-
-
* libmu_cpp/address.cc, libmu_cpp/envelope.cc, libmu_cpp/header.cc, libmu_cpp/url.cc: Use sget instead of aget. * libmu_cpp/list.cc (mulist_to_stl): New function. (List::to_stl): New method. * include/mailutils/cpp/list.h: Likewise.
Wojciech Polak authored
-
- 05 Mar, 2009 1 commit
- 04 Mar, 2009 3 commits
-
-
* libmu_auth/pam.c (mu_pam_service): Initialize to package name. (mu_pam_conv): Raise PAM_AUTHTOK_RECOVER_ERR, if password is NULL. Fix memory leak on errors. (mu_authenticate_pam): Fix return value. * libmu_auth/ldap.c (mu_ldap_authenticate): Prevent coredump on empty password.
Sergey Poznyakoff authored -
-
* include/mailutils/attribute.h (MU_STATUS_BUF_SIZE): New define. * libproto/mbox/mbox.c: Update use of mu_attribute_to_string. * mailbox/amd.c: Likewise. * mailbox/attribute.c (mu_string_to_flags): Rewrite. (mu_attribute_to_string): Fill the string with flag letters only, without "Status:" prefix and final newline. * NEWS: Update.
Sergey Poznyakoff authored
-
- 03 Mar, 2009 1 commit
-
-
* NEWS: Update. * include/mailutils/mailbox.h (mu_ticket_file): New extern. * include/mailutils/message.h (mu_message_save_to_mailbox): Change proto. * include/mailutils/sieve.h (mu_sieve_get_ticket, mu_sieve_set_ticket): Remove. * libmu_sieve/actions.c (sieve_action_fileinto): Update call to mu_message_save_to_mailbox. * libmu_sieve/sieve-priv.h (struct mu_sieve_machine): Remove ticket. * libmu_sieve/sieve.y (mu_sieve_get_ticket, mu_sieve_set_ticket): Remove. * mailbox/mbx_default.c (mu_mailbox_create_default): Read a wicket file and attach a ticket if mailbox opened successfully. * mailbox/wicket.c: Re-format. * sieve/sieve.c: Remove special wicket-handling code. * libmu_auth/radius.c, movemail/movemail.c: Add missing includes
Sergey Poznyakoff authored
-
- 27 Feb, 2009 1 commit
-
-
* libmu_cpp/filter.cc, include/mailutils/cpp/filter.h, include/mailutils/cpp/stream.h: Split FilterStream. * libmu_cpp/mailbox.cc, include/mailutils/cpp/mailbox.h: Add new methods. * examples/cpp/iconv.cc: Reflect changes in filter.h. * examples/cpp/mimetest.cc: Likewise. * examples/cpp/http.cc: Bugfix.
Wojciech Polak authored
-
- 20 Feb, 2009 2 commits
-
-
* libproto/include/amd.h (new_msg_file_name): Add an argument indicating whether an actual expunsion is going to take place, as opposed to saving message flags. * libproto/maildir/mbox.c (maildir_new_message_name): Sync with above changes. * libproto/mh/mbox.c (_mh_new_message_name): Likewise. * mailbox/amd.c (_amd_message_save): Handle unlink requests (new_msg_file_name returning NULL name). This avoids creating temp files. (amd_expunge): Remove messages that have had MU_ATTRIBUTE_DELETED on mailbox open, if the underlying mailbox implementation allows that.
Sergey Poznyakoff authored -
-
- 19 Feb, 2009 4 commits
-
-
* bootstrap.conf (gnulib_extra_files): Remove. * gnulib.modules (inttostr): Add module. * include/mailutils/io.h: New file. * include/mailutils/Makefile.am: Add io.h * mailbox/inttostr.c, mailbox/inttostr.h: Remove * mailbox/imaxtostr.c, mailbox/offtostr.c, mailbox/umaxtostr.c: Remove * mailbox/intprops.h: Remove * mailbox/asnprintf.c, mailbox/asprintf.c, mailbox/vasnprintf.c: New files. * mailbox/Makefile.am: Update. * mailbox/mu_umaxtostr.c: rename to lib/mu_umaxtostr.c * mailbox/mu_umaxtostr.h: rename to lib/mu_umaxtostr.h * lib/Makefile.am (libmuaux_la_SOURCES): Add mu_umaxtostr.[ch] * libmu_auth/radius.c, libmu_cfg/common.c, libmu_scm/mu_port.c, libproto/imap/folder.c, libproto/imap/mbox.c, libproto/mbox/mbox.c, libproto/mh/mbox.c, libproto/pop/mbox.c, mailbox/acl.c, mailbox/daemon.c, mailbox/mailer.c, mailbox/message.c, mailbox/mutil.c, mailbox/stream.c: Use mu_strerror. Avoid using mu_umaxtostr.
Sergey Poznyakoff authored -
-
- 18 Feb, 2009 5 commits
-
-
-
-
* libproto/imap/folder.c (imap_parse): fix parsing of numeric values after UIDNEXT, UIDVALIDITY and UNSEEN. * NEWS: Sync with configure.ac
Sergey Poznyakoff authored -
* libproto/imap/folder.c (imap_parse): fix parsing of numeric values after UIDNEXT, UIDVALIDITY and UNSEEN.
Sergey Poznyakoff authored
-
- 17 Feb, 2009 1 commit
-
-