1. 24 Oct, 2008 1 commit
    • * configure.ac: Enable/disable prog mailer support.
      * include/mailutils/progmailer.h: New file.
      * include/mailutils/Makefile.am (pkginclude_HEADERS): Add
      progmailer.h
      * include/mailutils/mailutils.h: Include progmailer.h
      * include/mailutils/registrar.h (MU_PROG_PRIO): New define.
      (mu_prog_record): New extern.
      (mu_register_all_mailer_formats): Register mu_prog_record.
      * include/mailutils/types.hin (mu_progmailer_t): New typedef.
      * libproto/include/registrar0.h (MU_PROG_SCHEME)
      (MU_PROG_SCHEME_LEN): New defines.
      * libproto/mailer/prog.c: New file.
      * libproto/mailer/Makefile.am (libmu_mailer_la_SOURCES): Add
      prog.c
      * libproto/mailer/sendmail.c: Rewrite using mu_progmailer_t
      * libproto/remote/folder.c (_remote_is_scheme): Remove unused
      variable.
      * mailbox/progmailer.c: New file
      * mailbox/Makefile.am (libmailutils_la_SOURCES): Add progmailer.c
      
      * mailbox/acl.c (_expand_aclno): Add a fixme.
      * mail/send.c (msg_to_pipe): Bugfix: use pclose, instead of fclose.
      * examples/config/mailutils.schema: Update.
      Sergey Poznyakoff authored
  2. 05 Oct, 2008 1 commit
    • * libproto/remote/folder.c (remote_url_init): Remove.
      (_remote_is_scheme): New function.
      (_remote_mbox_record): Add _is_scheme method.
      * libproto/remote/mbox.c (remote_mbox_init): Remove useless
      check.
      * mailbox/assoc.c (mu_assoc_clear): Return immediately if assoc
      tab is NULL.
      * mailbox/mailbox.c (_create_mailbox0): Do not enforce exact record
      scheme match if the scheme ends with a plus sign.
      Sergey Poznyakoff authored
  3. 19 Dec, 2007 1 commit
    • * configure.ac (MU_LIB_REMOTE): New substitution variable.
      (AC_CONFIG_FILES): Add libproto/remote/Makefile.
      * imap4d/copy.c, imap4d/create.c, imap4d/delete.c, imap4d/fetch.c,
      imap4d/imap4d.c, imap4d/list.c, imap4d/lsub.c, imap4d/rename.c,
      imap4d/subscribe.c, imap4d/unsubscribe.c, imap4d/util.c: Spelling
      fixes.
      * include/mailutils/cfg.h (mu_cfg_error_count): New variable.
      * include/mailutils/gocs.h (struct mu_gocs_mailbox):  New member
      mailbox_pattern
      * include/mailutils/libargp.h (mu_rcfile_lint): New variable.
      * include/mailutils/mailbox.h (mu_set_mailbox_pattern): New
      function.
      (mu_mail_directory): Removed.
      (mu_mailbox_url): New function.
      * include/mailutils/mutil.h (mu_normalize_mailbox_url): Remove.
      * include/mailutils/registrar.h (mu_0_6_registrar_lookup): Remove.
      
      * libargp/common.c: New options --rcfile-lint and
      --mailbox-pattern.
      * libargp/muinit.c: Handle --rcfile-lint.
      * libcfg/common.c: New statement mailbox-pattern
      * libmu_scm/mu_mailbox.c (mu-mail-directory): Deprecated.
      (mu-user-mailbox-url): New function.
      
      * libproto/remote: New directory.
      * libproto/remote/folder.c: New file.
      * libproto/remote/mbox.c: New file.
      * libproto/remote/.cvsignore: New file.
      
      * libproto/Makefile.am (SUBDIRS): Add remote
      * libproto/mbox/folder.c, libproto/mbox/url.c: Indentation and
      spelling fixes.
      * maidag/Makefile.am (maidag_LDADD): Add MU_LIB_REMOTE.
      * maidag/maidag.c: Register mu_remote_mbox_record.
      * mailbox/cfg_parser.y (mu_cfg_error_count): New variable.
      (mu_cfg_format_error,_mu_cfg_vperror): Increment
      mu_cfg_error_count.
      * mailbox/debug.c (mu_debug_check_level): Do not mask out
      inheritance bit.
      * mailbox/gocs.c (mu_gocs_mailbox_init): Set mailbox pattern.
      * mailbox/mailbox.c (_create_mailbox): Bugfix.
      * mailbox/mbx_default.c (mu_set_mailbox_pattern): New finction.
      (mu_set_mail_directory): Rewrite.
      (user_mailbox_name): Rewrite.
      * mailbox/mutil.c (mu_normalize_mailbox_url): Remove.
      * mailbox/registrar.c (mu_0_6_registrar_lookup): Remove.
      * guimb/scm/sieve-core.scm (sieve-main): Use mu-user-mailbox-url.
      Sergey Poznyakoff authored