1. 04 Dec, 2010 1 commit
    • * include/mailutils/log.h: New file.
      * include/mailutils/stdstream.h: New file.
      * include/mailutils/Makefile.am (pkginclude_HEADERS): Add stdstream.h
      and log.h.
      * include/mailutils/argcv.h: Include mailutils/types.h
      * include/mailutils/mailutils.h: Include stdstream.h
      Remove vartab.h
      * include/mailutils/types.hin (MU_DEPRECATED): New define.
      * include/mailutils/vartab.h: Mark this header and all prototypes
      it defines as deprecated.
      
      * libmailutils/stdstream/Makefile.am: New file.
      * libmailutils/stdstream/basestr.c: New file.
      * libmailutils/stdstream/strerr.c: New file.
      * libmu_compat/Makefile.am: New file.
      * libmu_compat/tests/.gitignore: New file.
      * libmu_compat/tests/Makefile.am: New file.
      * libmu_compat/tests/atlocal.in: New file.
      * libmu_compat/tests/testsuite.at: New file.
      * libmailutils/base/Makefile.am (noinst_LTLIBRARIES): Remove
      argcv.c and vartab.c.
      * libmailutils/Makefile.am (SUBDIRS): Add stdstream.
      (libmailutils_la_LIBADD): Add stdstream/libstdstream.la.
      * libmailutils/tests/Makefile.am (noinst_PROGRAMS): Remove argcv
      (TESTSUITE_AT): Remove argcv.at
      * libmailutils/tests/testsuite.at: Do not include argcv.at.
      
      * libmailutils/base/argcv.c: Move to libmu_compat/argcv.c
      * libmailutils/tests/argcv.at: Move to libmu_compat/tests/argcv.at
      * libmailutils/tests/argcv.c: Move to libmu_compat/tests/argcv.c
      * libmailutils/base/vartab.c: Move to libmu_compat/vartab.c
      
      * Makefile.am (SUBDIRS): Add libmu_compat.
      * configure.ac: Add libmu_compat/tests, libmu_compat/tests/Makefile,
      libmu_compat/tests/atlocal, libmu_compat/Makefile and
      libmailutils/stdstream/Makefile to config file list.
      
      * mu/ldflags.c (lib_descr): Add mu_compat.
      * mu/logger.c (logger_parse_opt): -t does not imply --syslog.
      (mutool_logger): Use inline-comment filter to insert "tag: "
      prefix.
      Flush and destroy both streams before returning.
      
      * po/POTFILES.in: Add libmailutils/stream/logstream.c,
      libmailutils/stdstream/baseio.c, libmailutils/stdstream/strerr.c
      and mu/logger.c.
      Sergey Poznyakoff authored
  2. 24 Oct, 2010 1 commit
    • …ckward compatibility.
      
      * config/.gitignore: Remove.
      * config/Makefile.am: Remove.
      * config/mailutils-config.c: Remove.
      * config/maint.mk: Remove.
      * config/mailutils.m4: Move to mu-aux/mailutils.m4
      * mu-aux/Makefile.am (m4datadir, dist_m4data_DATA): New variables.
      
      * Makefile.am (SUBDIRS) <config>: Remove.
      * configure.ac (AC_CONFIG_FILES): Remove config.
      
      * mu/mailutils-config: New file.
      * mu/cflags.c: New file.
      * mu/ldflags.c: New file.
      * mu/Makefile.am (dist_bin_SCRIPTS, EXTRA_DIST): Add mailutils-config.
      (mu_SOURCES): Add cflags.c and ldflags.c.
      (AM_CPPFLAGS): New variable.
      * mu/mu.c: Add new modes: cflags and ldflags.
      * mu/mu.h (mutool_ldflags, mutool_cflags): New protos.
      * po/POTFILES.in: Update.
      Sergey Poznyakoff authored
  3. 09 Oct, 2010 1 commit
  4. 03 Oct, 2010 1 commit
    • The `mu' program is a multi-purpose tool for doing various mail-
      and mailutils-related operations.  It includes a pop3 shell,
      a coder/decoder for all filter formats supported by Mailutils,
      a utility to extract arbitrary values from the MU configuration
      files, a configuration information utility and many more, in the
      short run.  It supercedes examples/pop3client and (partially)
      mailutils-config, both of which will be removed in the future.
      
      * Makefile.am (SUBDIRS): Add mu.
      * configure.ac: Likewise.
      * po/POTFILES.in: Add new files.
      * mu/.gitignore: New file.
      * mu/Makefile.am: New file.
      * mu/filter.c: New file.
      * mu/flt2047.c: New file.
      * mu/info.c: New file.
      * mu/mu.c: New file.
      * mu/mu.h: New file.
      * mu/pop.c: New file.
      * mu/query.c: New file.
      * mu/shell.c: New file.
      Sergey Poznyakoff authored
  5. 21 Sep, 2010 1 commit
    • * Makefile.am: Shut up cmp's stderr.
      * libmailutils/body.c (_body_get_stream): Set full buffering
      mode on the body stream.
      * libmailutils/errors (MU_ERR_AUTH_NO_CRED): New error code.
      * libproto/mailer/smtp.c (smtp_open): Do not treat
      ENOSYS or MU_ERR_AUTH_NO_CRED (returned by mu_smtp_auth) as errors.
      (smtp_send_message): Do not try to submit the message if it is
      bigger than the maximum imposed by the server.
      * libproto/mailer/smtp_auth.c (mu_smtp_auth): Return MU_ERR_AUTH_NO_CRED
      if neither user name nor password are supplied.
      * mail/send.c (mail_send0): Issue diagnostics if
      sending attempt has failed.
      Sergey Poznyakoff authored
  6. 19 Sep, 2010 1 commit
  7. 16 Sep, 2010 1 commit
    • That's the first commit since the merge six days ago that passes
      distcheck (with python, cxx, imap and nntp disabled, of course).
      
      * testsuite/folder/DISTFILES: Restore. It is needed for some
      of the remaining DejaGNU tests.
      * testsuite/spool/DISTFILES: Likewise.
      * testsuite/testsuite.at: New file.
      * testsuite/atlocal.in: New file.
      * libmailutils/tests/mbdel.at: Move to testsuite/.
      * libmailutils/tests/mbdel.c: Likewise.
      * libmailutils/tests/mime.at: Likewise.
      * libmailutils/tests/mimetest.c: Likewise.
      
      * Makefile.am (SUBDIRS): Place testsuite after libproto.
      * configure.ac (AM_INIT_AUTOMAKE): Remove dist-lzma.
      (AC_CONFIG_FILES): Add testsuite/atlocal.
      * libmailutils/base64.c (_base64_decoder)
      (_base64_encoder): Fix the use of uninitialized variables.
      * libmailutils/tests/.gitignore: Remove mbdel and mimetest.
      * libmailutils/tests/Makefile.am (noinst_PROGRAMS): Remove mbdel and mimetest.
      (LDADD): Leave only MU_LIB_MAILUTILS.
      (TESTSUITE_AT): Remove mbdel.at and mime.at
      * libmailutils/tests/atlocal.in (PATH): Bugfix.
      * libmailutils/tests/testsuite.at: Remove inclusion of mbdel.at and mime.at.
      * po/POTFILES.in: Replace mailbox/ with libmailutils/.
      
      * testsuite/.gitignore: Rewrite.
      * testsuite/Makefile.am: Rewrite.
      * testsuite/mbdel.at: Set +w on all copied mailboxes.
      * testsuite/mimetest.c (main): Open mailbox for reading only.
      
      * sieve/Makefile.am: Add examples/ to the distribution.
      
      * libproto/mbox/mbox.c (mbox_open): Create locker only
      if the mailbox is open for modification.
      All users updated to check for mailbox->locker!=NULL before
      using it.
      Sergey Poznyakoff authored
  8. 14 Sep, 2010 1 commit
  9. 08 Sep, 2010 1 commit
    • * .gitignore: Add git-describe and git-describe.h.
      * Makefile.am (MU_COND_LIBMU_CPP): Replaced with MU_COND_SUPPORT_CXX
      (SUBDIRS): Begin with .
      (EXTRA_DIST, BUILT_SOURCES): Add git-describe and git-describe.h.
      (git-describe, git-describe.h): New rules.
      (alpha, alphacheck): Use git-describe to produce additional suffix.
      * enable.m4 (MU_ENABLE_SUPPORT): Create an Automake condition.
      * configure.ac: Fix MU_ENABLE_SUPPORT calls.
      (--without-python): Replace with --disable-python.
      * examples/Makefile.am: Disable components based on MU_COND conditions.
      * libproto/Makefile.am: Likewise.
      * include/mailutils/Makefile.am (MU_COND_LIBMU_CPP): Replace with
      MU_COND_SUPPORT_CXX.
      
      * mailbox/nullrec.c: New file.
      * mailbox/Makefile.am (libmailutils_la_SOURCES): Add nullrec.c.
      
      * mail/decode.c: Remove unused variable.
      * mailbox/streamref.c: Likewise.
      Sergey Poznyakoff authored
  10. 12 Apr, 2010 1 commit
    • * gint: New module.
      * am/guile.m4: Remove.
      * mu-aux/guile-doc-snarf: Remove.
      * mu-aux/guile-doc-snarf.awk: Remove.
      * mu-aux/Makefile.am (EXTRA_DIST): Remove guile-doc-snarf,
      guile-doc-snarf.awk
      
      * Makefile.am: Add gint.
      * bootstrap.conf: Init gint submodule.
      * configure.ac: Rewrite Guile support using GINT_INIT.
      (AC_CONFIG_FILES): Add gint/Makefile.
      * guimb/scm/Makefile.am (sitedir): Change.
      * guimb/scm/Makefile.am: Likewise.
      * libmu_scm/Makefile.am: Include ../gint/gint.mk
      Adjust all variables.
      Remove unnecessary rules.
      * libmu_scm/mailutils.scm.in: Remove exports and includes.
      Remove obsolete code.
      * libmu_scm/mu_address.c: Use SCM_DEFINE_PUBLIC to declare public
      interfaces.
      * libmu_scm/mu_body.c: Likewise.
      * libmu_scm/mu_mailbox.c: Likewise.
      * libmu_scm/mu_message.c: Likewise.
      * libmu_scm/mu_mime.c: Likewise.
      * libmu_scm/mu_util.c: Likewise.
      * libmu_scm/mu_logger.c: Likewise.
      (mu_scm_logger_init): Make all constants public.
      * libmu_scm/mu_scm.c: Likewise.
      * libmu_scm/mu_guile.c: Use scm_c_catch instead of the
      obsolete scm_internal_lazy_catch.
      Sergey Poznyakoff authored
  11. 05 Jan, 2010 1 commit
  12. 13 Aug, 2009 1 commit
    • * Makefile.am (MU_COND_LIBMU_CPP): New cond.
      (SUBDIRS): Use LIBMU_CPP_DIR
      * configure.ac: Rename --disable-c++ to --disable-cxx: autoconf
      cannot handle the former.
      (MU_COND_LIBMU_CPP): New cond.
      (AC_CONFIG_FILES): Add include/mailutils/cpp/Makefile
      * include/mailutils/Makefile.am (nobase_pkginclude_HEADERS): Remove
      (MU_COND_LIBMU_CPP): New cond.
      (SUBDIRS): Add CPP_DIR
      * include/mailutils/cpp/Makefile.am: Remove substitution vars.
      (cppincludedir, cppinclude_HEADERS): New variables.
      * include/mailutils/sys/Makefile.am (sysincludedir)
      (sysinclude_HEADERS): New variables.
      Sergey Poznyakoff authored
  13. 12 Aug, 2009 2 commits
    • Wojciech Polak authored
    • * Makefile.am: Conditionally add directories to SUBDIRS.
      * am/enable.m4 (MU_ENABLE_BUILD): New macro.
      * configure.ac: Require automake 1.11
      Add MU_ENABLE_BUILDs for each utility.
      Remove unused substitution variables.
      * guimb/Makefile.am: Remove substitution variables.
      * guimb/scm/Makefile.am: Likewise.
      * libmu_scm/Makefile.am: Likewise.
      * mh/Makefile.am: Likewise.
      * python/libmu_py/Makefile.am: Likewise.
      * python/mailutils/Makefile.am: Likewise.
      * README: Document --disable-build-* options.
      Sergey Poznyakoff authored
  14. 31 Jul, 2009 1 commit
  15. 06 Jul, 2009 1 commit
    • * paths: New file.
      * am/config_paths.m4: New file.
      * include/confpaths.h.in: New file.
      * Makefile.am (EXTRA_DIST): Add paths.
      (DISTCLEANFILES): Add pathdefs.h
      * configure.ac: Invoke MU_CONFIG_PATHS
      (AC_CONFIG_FILES): Add include/confpaths.h
      * include/Makefile.am (EXTRA_DIST): Add confpaths.h.in
      * lib/utmp.c, libmu_scm/mu_scm.c,
      libproto/mailer/sendmail.c, mail/mail.c: Use PATH_* constants.
      * mail/mail.h: Remove definition of _PATH_SENDMAIL.
      * .gitignore, include/.gitignore: Update.
      Sergey Poznyakoff authored
  16. 26 May, 2009 1 commit
    • * Makefile.am (AUTOMAKE_OPTIONS): Remove.
      * bootstrap: Import from mailfromd.
      * configure.ac: Require autoconf 2.63
      Enable silent-rules mode by default.
      * guimb/scm/Makefile.am: Add silent-rules markers.
      * include/mailutils/Makefile.am: Likewise.
      * libmu_scm/Makefile.am: Likewise.
      * testsuite/Makefile.am: Likewise.
      Sergey Poznyakoff authored
  17. 25 Mar, 2009 3 commits
  18. 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
  19. 08 Mar, 2009 1 commit
  20. 13 Feb, 2009 1 commit
    • Rename libmuauth to libmu_auth, libargp to libmu_argp,
      libcfg to libmu_cfg, and libsieve to libmu_sieve.
      
      * auth/*: Move to libmu_auth/*
      * libargp/*: Move to libmu_argp/*
      * libcfg/*: Move to libmu_cfg/*
      * libsieve/*: Move to libmu_sieve/*
      * libmu_sieve/sieve.h: Rename to sieve-priv.h
      * include/mailutils/libsieve.h: Rename to sieve.h
      * configure.ac: Update, bump to 2.0.90.
      Wojciech Polak authored
  21. 08 Dec, 2008 2 commits
  22. 17 Nov, 2007 1 commit
    • * include/mailutils/gocs.h, include/mailutils/pam.h,
      include/mailutils/radius.h, include/mailutils/syslog.h: New files
      * lib/argpinit.c, lib/muinit.c, lib/muinit.h: New files.
      * libsieve/conf.c: New file.
      
      * libcfg: New directory
      * libcfg/libcfg.h, libcfg/auth.c, libcfg/common.c, libcfg/init.c,
      libcfg/gsasl.c, libcfg/pam.c, libcfg/radius.c, libcfg/sieve.c,
      libcfg/sql.c, libcfg/tls.c, libcfg/virtdomain.c,
      libcfg/.cvsignore: New files.
      
      * libargp: New directory
      * libargp/auth.c, libargp/cmdline.h, libargp/common.c,
      libargp/gsasl.c, libargp/mu_argp.h, libargp/mu_argp.c,
      libargp/pam.c, libargp/radius.c, libargp/sieve.c, libargp/sql.c,
      libargp/tls.c, libargp/virtdomain.c, libargp/.cvsignore: New
      files.
      
      * mailbox/.cvsignore: Add cfg_parser.c and cfg_parser.h.
      * Makefile.am (SUBDIRS): Add libargp and libcfg.
      * configure.ac (MU_APP_LIBRARIES): New variable
      (MU_COMMON_INCLUDES): add libargp and libcfg
      (AC_CONFIG_FILES): Add libargp and libcfg.
      
      * auth/gsasl.c, auth/pam.c, auth/radius.c, auth/sql.c, auth/sql.h,
      auth/tls.c, auth/virtual.c, comsat/comsat.h, frm/frm.h,
      guimb/guimb.h, imap4d/imap4d.h, include/mailutils/gsasl.h,
      include/mailutils/libsieve.h, include/mailutils/mailutils.h,
      include/mailutils/mu_auth.h, include/mailutils/tls.h,
      include/mailutils/sql.h, maidag/maidag.h, mail/mail.h,
      mail.local/mail.local.h, mailbox/daemon.c, mailbox/system.c,
      mh/mh_argp.c, mh/mh_getopt.h, pop3d/pop3d.h,
      readmsg/readmsg.h: Remove argp stuff
      
      * comsat/comsat.c, config/mailutils-config.c, dotlock/dotlock.c,
      examples/muauth.c, examples/muemail.c, frm/frm.c, frm/from.c,
      guimb/main.c, imap4d/idle.c, imap4d/imap4d.c, imap4d/util.c,
      imap4d/version.c, maidag/lmtp.c, maidag/maidag.c,
      maidag/mailquota.c, mail/mail.c, mail/send.c, mail/version.c,
      mail.local/mailquota.c, mail.local/main.c,
      mail.remote/mail.remote.c, mailbox/mu_auth.c, messages/messages.c,
      mimeview/mimeview.c, movemail/movemail.c, pop3d/extra.c,
      pop3d/pop3d.c, pop3d/popauth.c, readmsg/readmsg.c, sieve/sieve.c:
      Use mu_app_init for parsing command line and
      configuration files.
      * comsat/Makefile.am, config/Makefile.am, dotlock/Makefile.am,
      examples/Makefile.am, frm/Makefile.am, guimb/Makefile.am,
      imap4d/Makefile.am, maidag/Makefile.am, mail/Makefile.am,
      mail.local/Makefile.am, mail.remote/Makefile.am,
      mailbox/Makefile.am, messages/Makefile.am, mimeview/Makefile.am,
      movemail/Makefile.am, pop3d/Makefile.am, readmsg/Makefile.am,
      sieve/Makefile.am: Use MU_APP_LIBRARIES.
      
      * include/mailutils/Makefile.am: Add new files.
      * include/mailutils/argp.h: Remove.
      * include/mailutils/cfg.h: New file.
      * include/mailutils/daemon.h (MODE_INTERACTIVE,MODE_DAEMON): New
      defines (from removed argp.h).
      (mu_gocs_daemon): New decl.
      * include/mailutils/error.h (mu_program_name): New variable
      (mu_set_program_name): New function.
      * lib/Makefile.am (libmuaux_la_SOURCES): Add new files.
      * libsieve/Makefile.am (libsieve_la_SOURCES): Remove argp.c, add
      conf.c instead.
      * libsieve/argp.c: Remove.
      
      * mailbox/cfg_parser.y (mu_cfg_parse_boolean): New function.
      * mailbox/mu_argp.c: Remove.
      
      * mailbox/muerror.c (mu_program_name): New variable
      (mu_set_program_name): New function
      (mu_default_error_printer): Print program name before diagnostic
      string.
      * mailbox/mutil.c (mu_sql_decode_password_type): New function.
      * mh/mh_whom.c (mh_alias_expand): Bugfix
      * po/POTFILES.in: Update
      * testsuite/lib/mailutils.exp (mu_init): Pass --no-site-rcfile
      --no-user-rcfile to all programs.
      Sergey Poznyakoff authored
  23. 10 Nov, 2007 1 commit
    • * frm/common.c, imap4d/sync.c, libsieve/runtime.c,
      mh/scan.c: Update declaration of observable actions  .
      * imap4d/select.c, imap4d/status.c, mh/anno.c, mh/forw.c,
      mh/repl.c: Use mu_mailbox_sync instead of
      mu_mailbox_save_attributes.
      * include/mailutils/mailbox.h (mu_mailbox_sync): New function.
      (mu_mailbox_save_attributes): Deprecated.
      * include/mailutils/message.h (mu_message_get_qid)
      (mu_message_set_qid): New functions.
      * include/mailutils/observer.h (MU_EVT_MESSAGE_APPEND): New event.
      (mu_observer_set_action_data): New function. Registers
      action-specific data.
      (mu_observable_notify): Get call-specific data as the third
      argument.
      * include/mailutils/types.hin (mu_message_qid_t): New data type.
      * libproto/imap/folder.c, libproto/imap/mbox.c,
      libproto/include/amd.h, libproto/maildir/mbox.c,
      libproto/mailer/sendmail.c, libproto/mailer/smtp.c,
      libproto/mbox/mboxscan.c, libproto/mh/mbox.c,
      libproto/nntp/mbox.c, libproto/pop/mbox.c, mailbox/folder.c,
      mailbox/mailer.c : Update calls to mu_observable_notify.
      * libproto/include/mailbox0.h (struct _mu_mailbox): Rename
      _save_attributes to _sync.
      * mailbox/amd.c: Likewise
      (_quick_get_message): New member.
      (MAILBOX_NOTIFY): Remove.
      * libproto/include/message0.h (struct _mu_message): New member
      _get_qid.
      * libproto/include/observer0.h (struct _mu_observer): New member
      _action_data.
      * libproto/mbox/mbox.c: Implement mbox_message_qid. Update calls
      to mu_observable_notify.
      (mbox_append_message): Report MU_EVT_MESSAGE_APPEND
      * mailbox/observer.c (mu_observer_destroy): Call _destroy with
      _action_data as its third argument.
      (mu_observer_action, mu_observable_notify): Takes third argument
      (call data)
      (mu_observer_set_action, mu_observer_set_destroy): Update signature.
      (mu_observer_set_action_data): New function.
      
      * libproto/mbox/mbox0.h, mail.local/main.c: Minor change.
      
      * mail.local/Makefile.am (mail_local_LDADD): Add MU_LIB_MAILER
      
      * mailbox/file_stream.c (_file_open): Fix handling of
      MU_STREAM_APPEND. Remove assertion.
      
      * mailbox/mailbox.c (mu_mailbox_quick_get_message): New function
      (mu_mailbox_sync): New function
      (mu_mailbox_get_size): Implement brute-force approach in case the
      mailbox does not provide a method.
      
      * mailbox/message.c (mu_message_get_qid, mu_message_set_qid): New
      function.
      
      * maildag/: New directory. A general-purpose mail delivery agent.
      * maildag/deliver.c: New file.
      * maildag/lmtp.c: New file.
      * maildag/maidag.c: New file.
      * maildag/maidag.h: New file.
      * maildag/mailtmp.c: New file.
      * maildag/mailquota.c: New file.
      * maildag/script.c: New file.
      * maildag/util.c: New file.
      * maildag/Makefile.am: New file.
      * maildag/.cvsignore: New file.
      Sergey Poznyakoff authored
  24. 27 Jun, 2007 1 commit
  25. 09 May, 2007 1 commit
  26. 27 Feb, 2007 1 commit
  27. 26 Apr, 2006 1 commit
  28. 07 Mar, 2006 1 commit
  29. 15 Nov, 2005 1 commit
  30. 31 Oct, 2005 1 commit
  31. 17 May, 2005 1 commit
  32. 13 Mar, 2005 1 commit
  33. 08 Mar, 2005 1 commit
  34. 03 Mar, 2005 1 commit
  35. 23 Feb, 2005 1 commit
  36. 06 Dec, 2004 1 commit