1. 06 Dec, 2010 1 commit
    • The mu_stream_ioctl function gets two argument that identify the ioctl
      in question: "family", which identifies a family of ioctls in question,
      and "opcode", which indicates the requested operation within that family.
      
      * include/mailutils/stream.h: Define ioctl families and opcodes.
      (mu_stream_ioctl): Change signature.
      * include/mailutils/sys/stream.h (_mu_stream)<ctl>: Change signature.
      
      * include/mailutils/log.h (mu_severity_from_string)
      (mu_severity_to_string): New protos.
      
      * libmailutils/stream/stream.c (mu_stream_ioctl): Change signature.
      
      * libmailutils/filter/filter_iconv.c: Rewrite ioctl support.
      * libmailutils/stream/file_stream.c: Likewise.
      * libmailutils/stream/fltstream.c: Likewise.
      * libmailutils/stream/iostream.c: Likewise.
      * libmailutils/stream/logstream.c: Likewise.
      * libmailutils/stream/mapfile_stream.c: Likewise.
      * libmailutils/stream/memory_stream.c: Likewise.
      * libmailutils/stream/nullstream.c: Likewise.
      * libmailutils/stream/prog_stream.c: Likewise.
      * libmailutils/stream/rdcache_stream.c: Likewise.
      * libmailutils/stream/streamref.c: Likewise.
      * libmailutils/stream/syslogstream.c: Likewise.
      * libmailutils/stream/tcp.c: Likewise.
      * libmailutils/stream/xscript-stream.c: Likewise.
      * libmu_auth/tls.c: Likewise.
      
      * comsat/action.c: Change calls to mu_stream_ioctl.
      * imap4d/auth_gsasl.c: Likewise.
      * imap4d/io.c: Likewise.
      * imap4d/util.c: Likewise.
      * libmailutils/base/getpass.c: Likewise.
      * libmailutils/cfg/parser.y: Likewise.
      * libmailutils/mailbox/body.c: Likewise.
      * libmailutils/mime/mime.c: Likewise.
      * libmailutils/stdstream/dbgstream.c: Likewise.
      * libmailutils/stdstream/strerr.c: Likewise.
      * libmu_sieve/runtime.c: Likewise.
      * libmu_sieve/sieve.y: Likewise.
      * libmu_sieve/util.c: Likewise.
      * libproto/imap/trace.c: Likewise.
      * libproto/mailer/smtp_data.c: Likewise.
      * libproto/mailer/smtp_starttls.c: Likewise.
      * libproto/mailer/smtp_trace.c: Likewise.
      * libproto/pop/pop3_stls.c: Likewise.
      * libproto/pop/pop3_stream.c: Likewise.
      * libproto/pop/pop3_trace.c: Likewise.
      * maidag/lmtp.c: Likewise.
      * mail/source.c: Likewise.
      * mu/logger.c: Likewise.
      * pop3d/extra.c: Likewise.
      * pop3d/retr.c: Likewise.
      
      * TODO: Update.
      * doc/texinfo/nullstream.texi: Update.
      Sergey Poznyakoff authored
  2. 23 Nov, 2010 1 commit
    • * include/mailutils/sys/amd.h (_amd_data) <delete_msg>: New method.
      * libmailutils/base/amd.c (amd_expunge): If delete_msg is defined,
      use it.
      * libproto/mh/mbox.c (_mh_msg_delete): New method.
      (_mailbox_mh_init): Set delete_msg if "rmmproc" component is
      defined.
      
      * mh/tests/movemsg: New file.
      * mh/tests/Makefile.am (EXTRA_DIST): Add movemsg.
      * mh/tests/rmm.at: Test rmmproc effects.
      * mh/tests/rmf.at (MH_KEYWORDS): Fix copy-n-paste error.
      
      * doc/texinfo/mu-mh.texi: Document rmmproc.
      * mh/TODO: Update.
      Sergey Poznyakoff authored
  3. 18 Nov, 2010 1 commit
    • * configure.ac (MU_COND_READLINE): New cond.
      * mh/prompter.c: New file.
      * mh/prompter-rl.c: New file.
      * mh/prompter-tty.c: New file.
      * mh/prompter.h: New file.
      * mh/TODO: Update.
      * mh/Makefile.am: Build prompter.
      
      * doc/texinfo/mu-mh.texi: Document prompter
      * po/POTFILES.in: Update.
      Sergey Poznyakoff authored
  4. 14 Nov, 2010 1 commit
    • The traditional component matching syntax, `--COMP STRING', is
      accepted, provided at least one of the following conditions is met:
      
      1. The word `COMP' contains at least one capital letter;
      2. The word `COMP' ends with a colon;
      3. Standard input is not connected to a terminal.
      
      * mh/mh_getopt.c (mh_help_hook): New global variable.
      (mh_help): Call mh_help_hook, if set.
      * mh/mh_getopt.h (mh_help_hook): New extern.
      * mh/pick.c (doc): Update.
      (opt_handler): Remove ARGP_KEY_ERROR case.
      (pick_help_hook): New function.
      (main): Convert any instance of `--comp string' to
      `--component=comp --pattern=string', if comp contains a
      capital letter or ends with a colon, or fd 0 is not connected
      to terminal.
      * doc/texinfo/mu-mh.texi: Document changes to pick.
      Sergey Poznyakoff authored
  5. 11 Nov, 2010 3 commits
    • * doc/texinfo/nullstream.texi: New file.
      
      * mh/mh_init.c (mh_real_install): Use mu_stream_t instead of
      FILE.
      * mh/mh_whatnow.c (_whatnow): Likewise.
      Sergey Poznyakoff authored
    • * mh/mh_init.c (mh_init): Make sure stdin is open.
      * mh/anno.c (main): Use mu_stream_t to read the answer from stdin.
      Do not display prompt if stdin is not connected to a tty.
      * mh/tests/anno.at: New testcase.
      * mh/tests/Makefile.am (TESTSUITE_AT): Add anno.at
      * mh/tests/testsuite.at: Include anno.at.
      
      * doc/texinfo/mu-mh.texi: Document the changes in the behavior of anno.
      Sergey Poznyakoff authored
    • Mhl now accepts the traditional use of "ignores=", i.e. as a single
      statement on a line and without double-quotes around the argument.
      
      Additional quotes around variable values are not needed in most
      cases.
      
      The name of a component is not printed if that component is not
      present.
      
      The offset variable works as in MH and nmh.
      
      * mh/mh_list.c (parse_variable): Accept traditional use of
      "ignores=", as a single statement on a line, without double-quotes around
      the argument.
      (mhl_format_compile): Use mu_streams instead of FILE.
      Fix line counting.
      (header_is_printed, want_header): Last argument is const char *.
      (ovf_print): Move to the specified offset no matter what the value
      of prefix is.
      (print_component_name): New function.
      (eval_component): Call print_component_name and newline, if necessary
      (eval_body): Likewise.
      (eval_extras): Likewise.
      (eval_comp): Do not print component name, leave that to the called
      function.  Ditto for the trailing newline.
      * mh/mhl.c: Ignore empty moreproc value.
      * mh/mhl.format: Remove extra double-quotes.
      
      * mh/tests/mhl.at: New testcase.
      * mh/tests/Makefile.am (TESTSUITE_AT): Add mhl.at
      * mh/tests/testsuite.at: Include mhl.at
      
      * libmailutils/string/wordsplit.c (scan_qstring): Force _WSNF_EMPTYOK.
      (mu_wordsplit_len): Make sure the tail element is not joinable
      * libmailutils/tests/wordsplit.at: Test these changes.
      
      * doc/texinfo/mu-mh.texi: Update the description of mhl.
      Sergey Poznyakoff authored
  6. 10 Nov, 2010 1 commit
    • * mh/mhn.c (_get_hdr_value): Remove.  All callers modified to use
      mu_header_aget_value_unfold instead.
      (mhn_message_size): Type of 2nd arg is mu_off_t *.
      Use null stream & stream stats in realsize mode.
      (list_handler): Fix rounding of the message size.
      (copy_header): Use mu_header_sget* to avoid unnecessary
      memory allocations.
      Sergey Poznyakoff authored
  7. 26 Oct, 2010 1 commit
    • The purpose is to make it modular and flexible.  URLs are
      parsed out as they are created.  Missing URL parts can be
      supplied via a "URL hint" at creation time (similar to
      the approach used in creating mu_address_t).  Ports
      can be specified either as numbers or as service names.
      Original port string representation can be retrieved from
      the URL, as well as its numeric value.
      
      * libmailutils/url/accessor.h: New file.
      * libmailutils/url/copy.c: New file.
      * libmailutils/url/create.c: New file.
      * libmailutils/url/decode.c: New file.
      * libmailutils/url/destroy.c: New file.
      * libmailutils/url/dup.c: New file.
      * libmailutils/url/expand.c: New file.
      * libmailutils/url/flag.c: New file.
      * libmailutils/url/get-auth.c: New file.
      * libmailutils/url/get-host.c: New file.
      * libmailutils/url/get-param.c: New file.
      * libmailutils/url/get-path.c: New file.
      * libmailutils/url/get-portstr.c: New file.
      * libmailutils/url/get-query.c: New file.
      * libmailutils/url/get-scheme.c: New file.
      * libmailutils/url/get-secret.c: New file.
      * libmailutils/url/get-user.c: New file.
      * libmailutils/url/match.c: New file.
      * libmailutils/url/port.c: New file.
      * libmailutils/url/scheme.c: New file.
      * libmailutils/url/uplevel.c: New file.
      * libmailutils/url/urlstr.c: New file.
      
      * configure.ac (AC_CONFIG_FILES): Add libmailutils/url/Makefile
      * libmailutils/Makefile.am (SUBDIRS): Add url.
      (libmailutils_la_LIBADD): Link with liburl.
      * libmailutils/base/Makefile.am (libbase_la_SOURCES): Remove url.c
      * libmailutils/base/url.c: Remove.
      
      * libmailutils/string/Makefile.am (libstring_la_SOURCES): Add xdecode.c
      * libmailutils/string/xdecode.c: New file.
      
      * include/mailutils/sys/url.h (_mu_url): Change type to short.
      <_get_port>: Change second argument to unsigned.
      <_get_portstr>: New method.
      * include/mailutils/url.h (MU_URL_SCHEME): New flag.
      (MU_URL_PARSE_HEXCODE, MU_URL_PARSE_HIDEPASS)
      (MU_URL_PARSE_PORTSRV, MU_URL_PARSE_PORTWC)
      (MU_URL_PARSE_PIPE, MU_URL_PARSE_SLASH): New flags.
      (mu_url_create_hint, mu_url_copy_hints): New prototypes.
      (mu_url_parse): Remove.
      (mu_url_get_port): Change second argument to unsigned.
      (mu_url_decode_len,mu_url_decode): Remove.
      (mu_url_decode): New proto.
      (mu_url_sget_portstr, mu_url_aget_portstr)
      (mu_url_get_portstr): New protos.
      
      * include/mailutils/util.h (mu_str_url_decode)
      (mu_str_url_decode_inline): New protos.
      * libproto/pop/mbox.c (pop_open): Port is unsigned.
      
      * libproto/imap/folder.c: Use MU_URL_SCHEME in url_may_have.
      * libproto/maildir/folder.c: Likewise.
      * libproto/mailer/prog.c: Likewise.
      * libproto/mailer/remote.c: Likewise.
      * libproto/mailer/sendmail.c: Likewise.
      * libproto/mailer/smtp.c: Likewise.
      * libproto/mbox/folder.c: Likewise.
      * libproto/mh/folder.c: Likewise.
      * libproto/nntp/folder.c: Likewise.
      * libproto/pop/folder.c: Likewise.
      
      * imap4d/imap4d.c: Remove calls to mu_url_parse.
      * libmailutils/base/registrar.c: Likewise.
      * libmailutils/base/wicket.c: Likewise.
      * libmailutils/mailbox/folder.c: Likewise.
      * libmailutils/mailbox/mailbox.c: Likewise.
      * libmailutils/mailer/mailer.c: Likewise.
      * libmailutils/tests/url-parse.c: Likewise.
      * libmailutils/tests/wicket.c: Likewise.
      * libproto/mailer/smtp_auth.c: Likewise.
      * maidag/deliver.c: Likewise.
      * mu/wicket.c: Likewise.
      
      * libmailutils/mime/mimehdr.c (mu_mimehdr_decode_param): Use
      mu_str_url_decode, instead of mu_url_decode.
      * libmailutils/stream/tcp.c (_tcp_instance)<port>: Change type
      to unsigned short. All uses updated.
      (mu_tcp_stream_create_with_source_ip)
      (mu_tcp_stream_create_with_source_host)
      (mu_tcp_stream_create): Port is unsigned.
      * include/mailutils/stream.h (mu_tcp_stream_create_with_source_ip)
      (mu_tcp_stream_create_with_source_host)
      (mu_tcp_stream_create): Port is unsigned.
      * include/mailutils/cpp/url.h (get_port): Return unsigned.
      * libmu_cpp/url.cc (get_port): Return unsigned.
      (parse): Empty function. Schedule for removal.
      * python/libmu_py/url.c (api_url_parse): Empty function.
      Schedule for removal.
      (api_url_get_port): Port is unsigned.
      
      * libmailutils/base/wicket.c (mu_wicket_file_match_url)
      (mu_wicket_file_match_url): New parameter: parse_flags.
      * mu/wicket.c (wicket_match): Use parse_flags to control
      whether or not to show the plaintext password.
      
      * doc/texinfo/url.texi: Update.
      Sergey Poznyakoff authored
  8. 09 Oct, 2010 1 commit
  9. 17 Sep, 2010 1 commit
  10. 20 May, 2010 1 commit
    • * movemail/movemail.c: New options: --ignore-errors and --program-id.
      (_compare_msgno): Remove now unneded static.
      (main): Handle --ignore-errors and --program-id settings.
      Optimize the main loop for the case when --uidls is given.
      Return 1 on errors.
      * doc/texinfo/programs.texi: Document new features.
      Sergey Poznyakoff authored
  11. 05 Jan, 2010 1 commit
  12. 31 Oct, 2009 1 commit
  13. 26 Aug, 2009 1 commit
  14. 20 Aug, 2009 1 commit
  15. 14 Aug, 2009 1 commit
    • * mail/from.c: Rewrite using format string.
      * mail/mail.c (default_setup): Set default value for `headline'.
      (main): Fix call to util_do_command.
      * mail/mail.h [HAVE_STDARG_H]: Remove conditions.
      (mail_compile_headline): New proto.
      * mail/mailvar.c (mailvar_tab): New variable "headline".
      * mail/util.c: Minor fixes.
      * NEWS, doc/programs.texi: Update.
      Sergey Poznyakoff authored
  16. 09 Aug, 2009 1 commit
  17. 13 Jul, 2009 1 commit
    • * NEWS, doc/texinfo/programs.texi: Document struct command.
      * mail/struct.c: New file.
      * mail/Makefile.am (mail_SOURCES): Add struct.c
      * mail/decode.c (fprint_msgset, mime_descend): New functions.
      Rewrite the rest using mime_descend.
      * mail/mail.h (mail_struct): New function.
      (MDHINT_SELECTED_HEADERS): New define.
      (struct mime_descend_closure, mime_descend_fn): New types.
      (mime_descend): New proto.
      (util_get_content_type): Get two arguments.
      * mail/table.c (mail_command_table): Add st[ruct].
      * mail/util.c (util_get_content_type): Get two arguments.
      All callers updated.
      (util_get_hdr_value): use mu_header_aget_value_unfold and
      mu_rtrim_class.
      Sergey Poznyakoff authored
  18. 12 Jul, 2009 2 commits
  19. 11 Jul, 2009 1 commit
    • * NEWS: Update.
      * doc/texinfo/programs.texi: Document new variables and commands.
      * mail/envelope.c: New file.
      * mail/mailvar.c: New file.
      * mail/Makefile.am (mail_SOURCES): Add envelope.c and mailvar.c.
      
      * mail/mail.h (EF_HIDDEN): New constant
      (mail_env_data_t, mail_env_entry, mail_env_entry_is_set)
      (mail_env_entry, util_getenv, util_printenv, util_setenv)
      (var_iterator_t, var_iterate_next, var_iterate_first)
      (var_iterate_end, var_compl): Removed.
      
      (union mailvar_value, struct mailvar_variable
      (mail_variable, mail_envelope, print_envelope)
      (mailvar_find_variable, mailvar_get, mailvar_print)
      (mailvar_variable_format, mailvar_set, mailvar_set_compl): Add prototypes.
      (MOPTF_OVERWRITE, MOPTF_QUIET)
      
      * mail/table.c: List new commands: envelope, setq, variable.
      Implement completion for `set'.
      * mail/testsuite/mail/if.exp: Use setq to set a read-only variable.
      
      mail/alias.c, mail/decode.c, mail/delete.c, mail/escape.c
      mail/file.c, mail/folders.c, mail/from.c, mail/if.c,
      mail/mail.c, mail/mailline.c, mail/msgset.y, mail/pipe.c,
      mail/print.c, mail/quit.c, mail/reply.c, mail/send.c,
      mail/set.c, mail/shell.c, mail/top.c, mail/unset.c,
      mail/util.c: Use mailvar functions.
      Sergey Poznyakoff authored
  20. 08 Jul, 2009 1 commit
    • * include/mailutils/mailbox.h (MU_UIDL_LENGH)
      (MU_UIDL_BUFFER_SIZE): New defines.
      (struct mu_uidl): New struct.
      (mu_mailbox_get_uidls): New prototype.
      * libproto/include/mailbox0.h (struct _mu_mailbox): New member
      _get_uidls.
      * libproto/pop/mbox.c: Implement _get_uidls.
      * libproto/pop/folder.c: Include mailutils/cctype.h.
      
      * mailbox/mailbox.c (mu_mailbox_get_uidls): New function.
      
      * movemail/movemail.c: Implement --uidl option: use UIDLs to avoid
      downloading same messages twice.  Based on the idea of Alfred M. Szmidt.
      Implement --verbose option.
      
      * libproto/imap/mbox.c: Fix comment.
      
      * NEWS: Update.
      * doc/texinfo/programs.texi: Update.
      Sergey Poznyakoff authored
  21. 27 Mar, 2009 1 commit
  22. 25 Mar, 2009 2 commits
  23. 22 Mar, 2009 1 commit
    • * 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
  24. 14 Feb, 2009 1 commit
    • Update docs · 7824f73f
      * doc/texinfo/libmuauth.texi: Move to libmu_auth.texi
      * doc/texinfo/libsieve.texi: Move to libmu_sieve.texi
      Wojciech Polak authored
  25. 25 Dec, 2008 2 commits
  26. 24 Dec, 2008 1 commit
    • * include/mailutils/gocs.h (gocs_init_fp): Rename to mu_gocs_init_fp. Change
      signature.
      (mu_gocs_mailbox_init, mu_gocs_locking_init, mu_gocs_source_email_init)
      (mu_gocs_mailer_init, mu_gocs_logging_init)
      (mu_gocs_debug_init): Fix prototypes.
      * include/mailutils/gsasl.h (mu_gsasl_module_init): Update prototype.
      * include/mailutils/libsieve.h (mu_sieve_module_init): Update prototype.
      * include/mailutils/mu_auth.h (struct mu_auth_module.init): Update type
      to mu_gocs_init_fp.
      * include/mailutils/radius.h (mu_radius_module_init): Update prototype.
      
      * include/mailutils/tls.h (struct mu_tls_module_config.client_enable):
      Replace with .enable. It affects entire TLS subsystem, not only client
      part.
      (mu_tls_module_init): Update prototype.
      * include/mailutils/types.hin (mu_gocs_op): New enum.
      
      * mailbox/gocs.c (mu_gocs_dummy, mu_gocs_mailbox_init)
      (mu_gocs_locking_init, mu_gocs_source_email_init)
      (mu_gocs_mailer_init, mu_gocs_logging_init)
      (mu_gocs_debug_init): Take two arguments.
      (mu_gocs_flush): After running set stage, call all init callbacks with
      mu_gocs_op_flush.
      
      * auth/tls.c (mu_tls_module_config): Initialize .enable to 1.
      (mu_tls_module_init): Rewrite using new prototype.
      Use mu_gocs_op_flush to initialize the library.
      (mu_init_tls_libs): Initialize the library only if mu_tls_module_config.enable
      is set.
      * auth/gsasl.c (mu_gsasl_module_init): Update.
      * auth/ldap.c (mu_ldap_module_init): Update.
      * auth/pam.c (mu_pam_module_init): Update.
      * auth/radius.c (mu_radius_module_init): Update.
      * auth/sql.c (mu_sql_module_init): Update.
      * auth/virtual.c (mu_virtual_module_init): Update.
      * libcfg/tls.c (mu_tls_param): Update.
      * libsieve/conf.c (mu_sieve_module_init): Update.
      * doc/texinfo/programs.texi: Update.
      Sergey Poznyakoff authored
  27. 23 Dec, 2008 2 commits
  28. 08 Dec, 2008 1 commit
  29. 09 Nov, 2008 2 commits
    • Fix typos. · 8a6fdf20
      * doc/texinfo/mailcap.texi, doc/texinfo/mailutils.texi
      doc/texinfo/mom.texi, doc/texinfo/mu-mh.texi,
      doc/texinfo/mu_message.texi, doc/texinfo/programs.texi,
      doc/texinfo/sieve.texi: Fix typos.
      Wojciech Polak authored
    • …odetection. Improve the docs.
      
      * configure.ac (MU_DEFAULT_SCHEME): New configuration variable.
      * mailbox/version.c (mu_conf_opt): Include default scheme.
      
      * examples/mimetest.c, examples/mta.c, libmu_scm/mu_scm.c: Remove
      mu_path_record. Use mu_registrar_set_default_record.
      
      * libproto/mbox/folder.c (_path_is_scheme): Rename to
      _mbox_is_scheme. Minor changes as well.
      (_path_record, mu_path_record): Removed.
      (_mbox_record): Use _mbox_is_scheme.
      
      * libsieve/actions.c: Remove unused variable.
      
      * include/mailutils/Makefile.am (types.h rule): Replace
      _MU_DEFAULT_RECORD_. Change MU_OFF_TYPE replacement pattern to
      _MU_OFF_TYPE_.
      
      * include/mailutils/mailbox.h (mu_mailbox_set_default_proto)
      (mu_mailbox_get_default_proto): Remove. See below.
      * include/mailutils/registrar.h (mu_registrar_set_default_scheme)
      (mu_registrar_get_default_scheme)
      (mu_registrar_get_default_record)
      (mu_registrar_set_default_record)
      (mu_registrar_lookup_scheme): New prototypes.
      (mu_path_record): Remove.
      (mu_register_all_mbox_formats): Remove mu_path_record.
      Set default scheme using mu_registrar_set_default_record.
      (mu_register_local_mbox_formats): Likewise.
      * include/mailutils/types.hin (MU_OFF_TYPE): Rename to
      _MU_OFF_TYPE_.
      (MU_DEFAULT_RECORD): New define.
      
      * mailbox/mailbox.c (mu_mailbox_set_default_proto)
      (mu_mailbox_get_default_proto): Remove.
      (mu_mailbox_create): Remove default_proto kludge. mu_registrar
      stuff is responsible for finding the correct record.
      * mailbox/registrar.c (mu_registrar_set_default_record)
      (mu_registrar_get_default_record)
      (mu_registrar_set_default_scheme)
      (mu_registrar_get_default_scheme)
      (mu_registrar_lookup_scheme): New functions.
      (mu_registrar_lookup_url): Fall back to default record if no
      matching record is found and the URL was not set explicitly
      (i.e. does not begin with a scheme).
      
      * mailbox/gocs.c: Use mu_registrar_set_default_scheme instead of
      mu_mailbox_set_default_proto.
      * libsieve/extensions/pipe.c, libsieve/extensions/spamd.c,
      libsieve/extensions/vacation.c: Fix comments.
      
      * doc/texinfo/getdate.texi: New file (from gnulib).
      * doc/texinfo/Makefile.am (mailutils_TEXINFOS): Add getdate.texi
      (fix-sentence-spacing): New rule. Forces single-space
      inter-sentence spacing.
      (check-tabs, check-sentence-spacing): New rules.
      (check-format): Depend on the above two.
      (check-refs, check-fixmes, check-unrevised): Fix copy-paste
      errors. Print diagnostics to stderr.
      
      * doc/texinfo/auth.texi, doc/texinfo/fdl.texi,
      doc/texinfo/framework.texi, doc/texinfo/imap4.texi,
      doc/texinfo/libmuauth.texi, doc/texinfo/mailbox.texi,
      doc/texinfo/mailcap.texi, doc/texinfo/mailutils.texi,
      doc/texinfo/mbox.texi, doc/texinfo/message.texi,
      doc/texinfo/mom.texi, doc/texinfo/mu_message.texi,
      doc/texinfo/mu_mime.texi, doc/texinfo/mu_scm.texi,
      doc/texinfo/muint.texi, doc/texinfo/pop3.texi,
      doc/texinfo/rendition.texi, doc/texinfo/sieve.texi,
      doc/texinfo/url.texi, doc/texinfo/usage.texi: Use GNU instead of
      @sc{gnu}, because latter looks awful when typeset (especially when
      followed by a capitalized word). Fix format by running `make final'.
      
      * doc/texinfo/programs.texi: Document more config statements.
      * doc/texinfo/libsieve.texi: Document loadable actions and tests.
      Sergey Poznyakoff authored
  30. 07 Nov, 2008 1 commit
    • * mailbox/permstr.c: New file.
      * mailbox/Makefile.am (libmailutils_la_SOURCES): Add permstr.c.
      * imap4d/imap4d.c (parse_mode_spec): Remove function.
      (cb_mailbox_mode): Use mu_parse_stream_perm_string instead of
      parse_mode_spec.
      * imap4d/imap4d.h (namespace_getfullpath)
      (namespace_checkfullpath): First arg is const.
      * imap4d/namespace.c (namespace_getfullpath)
      (namespace_checkfullpath): First arg is const.
      * include/mailutils/message.h (mu_message_save_to_mailbox): Add
      5th argument (permissions).
      * mailbox/message.c: Likewise.
      * include/mailutils/mutil.h (mu_parse_stream_perm_string): New
      proto.
      (mu_stream_flags_to_mode): Add isdir argument.
      * libsieve/actions.c (sieve_action_fileinto): New tag :permissions
      allows to set permissions to the mailbox being created.
      * mailbox/mutil.c (mu_stream_flags_to_mode): Add 2nd argument
      (isdir). Any bits in [go] sets imply raising 'x' bit for
      directories (i.e. if isdir != 0).
      
      * libproto/maildir/mbox.c, mailbox/amd.c: Update calls to
      mu_stream_flags_to_mode.
      
      * NEWS, doc/texinfo/sieve.texi: Update.
      
      Allow to set file permissions of the local mailboxes during
      creation.
      Sergey Poznyakoff authored
  31. 19 Oct, 2008 1 commit
  32. 18 Oct, 2008 1 commit
    • * NEWS: Update.
      * doc/texinfo/libmuauth.texi: Update.
      * doc/texinfo/mailutils.texi: Update.
      * doc/texinfo/programs.texi: Update.
      
      * include/mailutils/mailbox.h (mu_mailbox_create_from_url): New
      function.
      * include/mailutils/mutil.h (mu_aget_user_email_domain): New
      function.
      * libproto/include/address0.h: Remove obsolete comment.
      * libproto/remote/mbox.c (remote_mbox_append_message): If
      recipient address is not given, try to construct it from the URL.
      * mailbox/mailbox.c (mu_mailbox_create_from_url): New function.
      * mailbox/mutil.c (mu_aget_user_email_domain): New function.
      
      * maidag/deliver.c (deliver_to_user): Mailbox and auth must be
      freed by the caller.
      (deliver_url): New function.
      (deliver): Rewrite to allow for delivering to mailboxes explicitly
      specified by URLs (--url command line option).
      * maidag/maidag.c (options): New option --url.
      (main): Handle --url.
      * maidag/maidag.h (url_option): New global.
      * maidag/mailquota.c (check_quota): Return if auth == NULL.
      Sergey Poznyakoff authored
  33. 16 Oct, 2008 1 commit