1. 25 Sep, 2010 10 commits
    • * guimb/scm/Makefile.am: Add sieve.scm to AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
      Sergey Poznyakoff authored
    • * include/mailutils/stream.h (MU_IOCTL_SWAP_STREAM): Remove.
      (MU_IOCTL_GET_STREAM, MU_IOCTL_SET_STREAM): New ioctls.
      * include/mailutils/sys/stream.h (_MU_SWAP_FIRST_ONLY)
      (_MU_SWAP_IOCTL_MUST_SUCCEED): Remove.
      (_mu_stream_swap_streams): Remove.
      * libmailutils/stream.c (_mu_stream_swap_streams): Remove.
      
      * libmailutils/filter_iconv.c (_icvt_ioctl): Handle MU_IOCTL_GET_STREAM,
      MU_IOCTL_SET_STREAM instead of MU_IOCTL_SWAP_STREAM.
      * libmailutils/iostream.c (_iostream_ctl): Likewise.
      * libmailutils/xscript-stream.c (_xscript_ctl): Likewise.
      
      * imap4d/auth_gsasl.c (restore_and_return): Unref the contents of str.
      (auth_gsasl): Use MU_IOCTL_GET_STREAM/MU_IOCTL_SET_STREAM to
      change the underlying transport streams.
      * imap4d/io.c (imap4d_init_tls_server): Likewise.
      * libproto/mailer/smtp_gsasl.c (insert_gsasl_stream): Likewise.
      * pop3d/extra.c (pop3d_init_tls_server): Likewise.
      
      * libproto/mailer/smtp_starttls.c (smtp_get_streams)
      (smtp_set_streams): New functions.
      (smtp_swap_streams): Remove.
      (mu_smtp_starttls): Use smtp_get_streams and smtp_set_streams
      instead of smtp_swap_streams.
      * libproto/pop/pop3_stls.c (pop3_get_streams)
      (pop3_set_streams): New functions.
      (pop3_swap_streams): Remove.
      (mu_pop3_stls): Use pop3_get_streams and pop3_set_streams.
      
      * testsuite/smtpsend.c (main): Uncomment mu_stream_unref on
      the carrier.
      Sergey Poznyakoff authored
    • * libmailutils/prog_stream.c (REDIRECT_STDIN_P)
      (REDIRECT_STDOUT_P): Fix macros.
      * libmailutils/stream.c (mu_stream_open): If stream is open
      with MU_STREAM_APPEND, reposition to its end.
      (_stream_write_unbuffered): Do not signal EACCESS for MU_STREAM_APPEND
      streams.
      
      * mail/pipe.c (mail_pipe): Rewrite using streams instead of FILEs.
      * mail/send.c (fill_body): Likewise.
      * mail/write.c (mail_write): Likewise.
      Sergey Poznyakoff authored
    • * imap4d/imap4d.c (imap4d_mainloop): Take two file descriptor as
      arguments.  All uses updated.
      * imap4d/imap4d.h (io_setio): Change signature.
      * imap4d/io.c (io_setio): Take two file descriptor as
      arguments.  All uses updated.
      * pop3d/extra.c (pop3d_setio): Take two file descriptor as
      arguments.  All uses updated.
      * pop3d/pop3d.c (pop3d_mainloop): Likewise.
      * pop3d/pop3d.h (pop3d_setio): Change signature.
      Sergey Poznyakoff authored
    • * examples/musocio.c: Use default stream buffer size.
      * imap4d/io.c: Likewise.
      * libmailutils/dbgstream.c: Likewise.
      * libmailutils/iostream.c: Likewise.
      * libmailutils/xscript-stream.c: Likewise.
      * libmu_auth/gsasl.c: Likewise.
      * libmu_auth/tls.c: Likewise.
      * libproto/pop/mbox.c: Likewise.
      * libproto/pop/pop3_stream.c: Likewise.
      * pop3d/extra.c: Likewise.
      
      * libmailutils/file_stream.c (mu_file_stream_create)
      (mu_fd_stream_create): File streams are fully buffered by default.
      * libmailutils/stdio_stream.c (mu_stdio_stream_create): Stdio streams
      are line buffered by default.
      Sergey Poznyakoff authored
    • * libmailutils/streamcpy.c (mu_stream_copy): Use the number of bytes
      actually read.
      * libmailutils/base64.c (_base64_encoder): Return mu_filter_again
      if not all data has been consumed on mu_filter_lastbuf.
      * libmailutils/message_stream.c (scan_stream): Fix calculation of
      body_end.
      (_body_obj_size): Fix calculation of body size.
      * libproto/mailer/smtp_data.c (_mu_smtp_data_begin): Set full buffering
      on the MU_TRANSPORT_OUTPUT stream.
      Sergey Poznyakoff authored
    • * configure.ac: Use libmuaux.a instead of libmuaux.la.
      * examples/Makefile.am: Likewise.
      * examples/cpp/Makefile.am: Likewise.
      * imap4d/Makefile.am: Likewise.
      * mapi/Makefile.am: Likewise.
      * mh/Makefile.am: Likewise.
      * pop3d/Makefile.am: Likewise.
      
      Remove old files from POTFILES.in (see c42bddb0).
      
      * po/POTFILES.in: Remove comsat/oldcfg.c.
      
      Build testsuites after the programs they are to test.
      
      * frm/Makefile.am (SUBDIRS): Put . before tests.
      * messages/Makefile.am: Likewise.
      * readmsg/Makefile.am: Likewise.
      * sieve/Makefile.am: Likewise.
      
      Remove leftovers from CVS times:
      
      * .cvsignore: Remove.
      * am/.cvsignore: Remove.
      * lib/.cvsignore: Remove.
      * po/.cvsignore
      Sergey Poznyakoff authored
    • It is needed for the remaining DejaGNU tests and will go away later,
      when they are rewritten.
      Sergey Poznyakoff authored
    • * mailbox/url.c (url_parse0): Take three arguments.  Return in the
      third one a boolean indicating whether to expand %XX notations in
      the URL.  Do not decode absolute file names and pipes.
      (mu_url_parse): Use this value to decide.
      * movemail/movemail.c (main): In emacs mode: force UNIX mbox
      format as a default.  Send debugging output to stderr.
      * libmailutils/tests/url.at: Add new tests.
      Sergey Poznyakoff authored
    • * am/debug.m4 (MU_DEBUG_MODE): Rewrite. Use -Wdeclaration-after-statement
      if supported.
      * comsat/oldcfg.c: Remove.
      * comsat/Makefile.am (comsatd_SOURCES): Remove oldcfg.c.
      * comsat/comsat.c: Remove the obsolete --config and --convert-config options.
      * comsat/comsat.h (convert_config): Remove.
      Sergey Poznyakoff authored
  2. 21 Sep, 2010 2 commits
    • * 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
    • * include/mailutils/cpp/pop3.h (capa): Add reread parameter.
      (getline): Add new prototype.
      (send, readline): Remove.
      (response, stat): Change prototype.
      * libmu_cpp/pop3.cc: Likewise.
      * include/mailutils/cpp/stream.h
      (read, write, readline): Change prototype.
      (sequential_readline, sequential_write): Remove.
      * libmu_cpp/stream.cc: Likewise.
      Wojciech Polak authored
  3. 20 Sep, 2010 4 commits
    • * libproto/mailer/smtp.c: Rewrite using new SMTP API.
      * libproto/mailer/smtp_quit.c (mu_smtp_quit): Return immediately
      if already in closed state.
      
      * libmailutils/ticket.c (mu_ticket_get_cred): Return MU_ERR_FAILURE
      if all methods fail.
      * mail/send.c: Port 23321cf7 from patches-2.2
      (msg_to_pipe): Return status code.
      (save_dead_message, send_message): New functions, extracted from
      mail_send0.
      (mail_send0): Call save_dead_message if sending failed.
      Sergey Poznyakoff authored
    • * include/mailutils/smtp.h (mu_smtp_write): Mark as printf-like.
      (mu_smtp_mail_basic, mu_smtp_rcpt_basic): Take variable number
      of arguments.  Mark as printf-like.
      (mu_smtp_data): New prototype.
      * include/mailutils/sys/smtp.h (_MU_SMTP_SAVEBUF): New flag.
      (_mu_smtp) <savebuf>: New member.
      (_mu_smtp_data_begin, _mu_smtp_data_end): New protos.
      * libproto/mailer/smtp_send.c: New file.
      * libproto/mailer/smtp_data.c (_mu_smtp_data_begin)
      (_mu_smtp_data_end, mu_smtp_data): New functions.
      
      * libproto/mailer/Makefile.am (libmu_mailer_la_SOURCES): Add smtp_send.c.
      * libproto/mailer/smtp_ehlo.c (mu_smtp_ehlo): Switch to MU_SMTP_EHLO
      only if in MU_SMTP_MAIL state.
      * libproto/mailer/smtp_mail.c (mu_smtp_mail_basic): Take variable number
      of arguments.
      * libproto/mailer/smtp_param.c (mu_smtp_get_param): Add missing typecast.
      * libproto/mailer/smtp_rcpt.c (mu_smtp_rcpt_basic): Take variable number
      of arguments.
      * libproto/mailer/smtp_send.c (_smtp_data_send): Use _mu_smtp_data_begin and
      _mu_smtp_data_end.
      * testsuite/smtpsend.c: Emulate sending from a MU message.
      Sergey Poznyakoff authored
    • * include/mailutils/stream.h (mu_stream_printf): Mark as printf-like.
      * include/mailutils/sys/stream.h (_MU_STR_EVENT_CLOSE): New event.
      (_mu_stream) <event_cb_data>: New member.
      * libmailutils/stream.c (mu_stream_seek): Avoid unnecessary seeks
      in mu_buffer_none mode.  Complements 906499db.
      (mu_stream_close): Mark _MU_STR_EVENT_CLOSE event.
      Sergey Poznyakoff authored
    • * libmailutils/message_stream.c (scan_stream): Change signature.  All
      uses updated.
      Correct the calculation of body_start.
      (mu_message_stream_create): Return the stream.
      Sergey Poznyakoff authored
  4. 19 Sep, 2010 5 commits
  5. 18 Sep, 2010 1 commit
    • * configure.ac (MU_COND_GSASL): New cond.
      * include/mailutils/smtp.h (MU_SMTP_PARAM_DOMAIN)
      (MU_SMTP_PARAM_USERNAME, MU_SMTP_PARAM_PASSWORD)
      (MU_SMTP_PARAM_SERVICE, MU_SMTP_PARAM_REALM)
      (MU_SMTP_PARAM_HOST, MU_SMTP_MAX_PARAM): New constants.
      (mu_smtp_set_domain, mu_smtp_get_param): Remove.
      (mu_smtp_set_param, mu_smtp_get_param): New prototypes.
      (mu_smtp_auth, mu_smtp_add_auth_mech)
      (mu_smtp_add_auth_mech_list, mu_smtp_mech_select): New prototypes.
      * include/mailutils/sys/smtp.h (_mu_smtp) <domain>: Remove.
      (_mu_smtp) <authimpl, param, authmech>: New members.
      (_mu_smtp_gsasl_auth, _mu_smtp_mech_impl): New prototypes.
      
      * libproto/mailer/Makefile.am [MU_COND_GSASL]: Define SMTP_GSASL.
      (libmu_mailer_la_SOURCES): Add new sources.
      * libproto/mailer/smtp_domain.c: Remove.
      * libproto/mailer/smtp_param.c: New file.
      * libproto/mailer/smtp_mech.c: New file.
      * libproto/mailer/smtp_auth.c: New file.
      * libproto/mailer/smtp_gsasl.c: New file.
      * libproto/mailer/smtp_create.c (mu_smtp_destroy): Free new members of
      struct _mu_smtp.
      * libproto/mailer/smtp_ehlo.c (mu_smtp_ehlo): Use param[MU_SMTP_PARAM_DOMAIN]
      instead of domain.
      * testsuite/smtpsend.c: Handle SMTP AUTH.
      
      * libmu_auth/gsasl.c (mu_gsasl_stream_create): Bugfix.
      
      * libmailutils/xscript-stream.c (_xscript_ctl)
      <MU_IOCTL_SWAP_STREAM>: If instream!=outstream, combine them first
      into an iostream.
      Sergey Poznyakoff authored
  6. 17 Sep, 2010 5 commits
    • * include/mailutils/smtp.h (mu_smtp_mail_basic)
      (mu_smtp_rcpt_basic, mu_smtp_send_stream)
      (mu_smtp_rset, mu_smtp_quit): New prototypes.
      * include/mailutils/sys/smtp.h (MU_SMTP_RCPT)
      (MU_SMTP_MORE, MU_SMTP_DOT, MU_SMTP_QUIT, MU_SMTP_CLOS): New states.
      (_mu_smtp_xscript_level): New proto.
      * libmailutils/errors (MU_ERR_REPLY): New error code.
      * libproto/mailer/Makefile.am (libmu_mailer_la_SOURCES): Add new sources.
      * libproto/mailer/smtp_data.c: New file.
      * libproto/mailer/smtp_mail.c: New file.
      * libproto/mailer/smtp_quit.c: New file.
      * libproto/mailer/smtp_rcpt.c: New file.
      * libproto/mailer/smtp_rset.c: New file.
      * libproto/mailer/smtp_ehlo.c: Return MU_ERR_REPLY if the server replied
      with a code other than 2xx.
      * libproto/mailer/smtp_open.c: Likewise.
      * testsuite/smtpsend.c: Implement full sending cycle (excepting
      authorization).
      Sergey Poznyakoff authored
    • * sieve/tests/reject.at: Fix dependency on TZ.
      * sieve/tests/relational.at: Ensure that fileintos go
      to the test folder.
      * sieve/tests/mul-addr.at: Remove unneeded require.
      Sergey Poznyakoff authored
    • * include/mailutils/smtp.h: New file.
      * include/mailutils/Makefile.am (pkginclude_HEADERS): Add smtp.h.
      * include/mailutils/list.h (mu_list_clear): New proto.
      * include/mailutils/sys/smtp.h: New file.
      * include/mailutils/sys/Makefile.am (sysinclude_HEADERS): Add smtp.h.
      * libmailutils/errors (MU_ERR_BADREPLY, MU_ERR_SEQ): New error codes.
      * libmailutils/list.c (mu_list_clear): New function.
      * libproto/mailer/Makefile.am (libmu_mailer_la_SOURCES): Add new sources.
      * libproto/mailer/smtp_capa.c: New file.
      * libproto/mailer/smtp_carrier.c: New file.
      * libproto/mailer/smtp_create.c: New file.
      * libproto/mailer/smtp_disconnect.c: New file.
      * libproto/mailer/smtp_domain.c: New file.
      * libproto/mailer/smtp_ehlo.c: New file.
      * libproto/mailer/smtp_io.c: New file.
      * libproto/mailer/smtp_open.c: New file.
      * libproto/mailer/smtp_starttls.c: New file.
      * libproto/mailer/smtp_trace.c: New file.
      * testsuite/smtpsend.c: New file.
      * testsuite/Makefile.am (noinst_PROGRAMS): Add smtpsend.
      Sergey Poznyakoff authored
    • * bootstrap.conf: Build included listings in doc/texinfo.
      * configure.ac: Require gettext 0.18
      * doc/texinfo/Makefile.am: Remove the .c.inc rules.
      * doc/texinfo/maint.mk: New file.
      * lib/Makefile.am (libmuaux_la_SOURCES): Replace with libmuaux_a_SOURCES.
      Sergey Poznyakoff authored
    • Git does not keep empty subdirectories, so we need to recreate /cur and
      /tmp subdirs in maildir mailboxes retrieved from the repo.
      
      * bootstrap.conf: Recreate missing maildir parts.
      * testsuite/testsuite.inc (MUT_MBCOPY): New macro.
      * sieve/tests/ext.at: Use MUT_MBCOPY to copy mailboxes.
      * sieve/tests/redirect.at: Likewise.
      * sieve/tests/reject.at: Likewise.
      * sieve/tests/testsuite.at: Likewise.
      * testsuite/mbdel.at: Likewise.
      * frm/tests/Makefile.am: Testsuite depends on
      $(top_srcdir)/testsuite/testsuite.inc.
      * libmailutils/tests/Makefile.am: Likewise.
      * messages/tests/Makefile.am: Likewise.
      * readmsg/tests/Makefile.am: Likewise.
      * sieve/tests/Makefile.am: Likewise.
      * testsuite/Makefile.am: Likewise.
      Sergey Poznyakoff authored
  7. 16 Sep, 2010 2 commits
    • 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
    • * libmailutils/tests/mbdel.at: New testcase.
      * libmailutils/tests/Makefile.am (TESTSUITE_AT): Add mbdel.at.
      * libmailutils/tests/testsuite.at: Include mbdel.at.
      * libproto/mbox/mbox.c (mbox_remove): Fix return code.
      
      * testsuite/maildir/mbox1: New test mailbox.
      * testsuite/mh/mbox1: New test mailbox.
      * testsuite/etc/DISTFILES: Remove.
      * testsuite/folder/DISTFILES: Remove.
      * testsuite/lib/DISTFILES: Remove.
      * testsuite/Makefile.am: Use EXTRA_DIST to distribute
      subdirs.
      Sergey Poznyakoff authored
  8. 15 Sep, 2010 4 commits
    • * libmailutils/mailbox.c (mu_mailbox_open): Return MU_ERR_OPEN
      if the mailbox has already been opened.
      Sergey Poznyakoff authored
    • * include/mailutils/mailbox.h (mu_mailbox_remove): New function.
      * include/mailutils/stream.h: Add some comments.
      * include/mailutils/sys/amd.h (_amd_data)<remove>: New method.
      (amd_remove_dir): New function.
      * include/mailutils/sys/mailbox.h (_mu_mailbox)<_remove>: New
      method.
      * libmailutils/amd.c (amd_remove_mbox): New function.
      (amd_init_mailbox): Initialize the _remove method.
      (amd_remove_dir): New function.
      * libmailutils/errors (MU_ERR_MBX_REMOVED)
      (MU_ERR_NOT_OPEN, MU_ERR_OPEN): New error codes.
      * libmailutils/mailbox.c: Keep state of the mailbox (open vs. not
      open, removed). Check it before doing anything on it.
      (_MU_MAILBOX_OPEN, _MU_MAILBOX_REMOVED, _MU_MAILBOX_MASK): New
      defines.
      (mu_mailbox_open): Set _MU_MAILBOX_OPEN if the operation succeeds.
      (mu_mailbox_close): Clear _MU_MAILBOX_OPEN if the operation succeeds.
      Refuse to run if the mailbox was not opened.
      (mu_mailbox_remove): New function.
      (all functions): return MU_ERR_MBX_NULL if the mbox argument is
      NULL.
      Check mailbox state on entry and proceed accordingly.
      * libproto/maildir/mbox.c: Implement _remove method.
      (maildir_remove): New function.
      (_mailbox_maildir_init): Initialize amd->_remove.
      * libproto/mbox/mbox.c: Implement _remove method.
      (mbox_remove): New function.
      (_mailbox_mbox_init): Initialize amd->_remove.
      * libproto/mh/mbox.c: Implement _remove method.
      (mh_remove): New function.
      (_mailbox_mh_init): Initialize amd->_remove.
      
      * libmailutils/tests/mbdel.c: New file.
      * libmailutils/tests/.gitignore: Add mbdel.
      * libmailutils/tests/Makefile.am (noinst_PROGRAMS): Likewise.
      (LDADD): List all mailbox formats.
      
      * imap4d/delete.c (imap4d_delete): Use mu_mailbox_remove to
      delete the folder.  Fall back to remove() if it does not appear
      to be a mailbox.
      Sergey Poznyakoff authored
    • * examples/listop.c: Move to libmailutils/tests.
      * examples/Makefile.am (noinst_PROGRAMS): Remove listop.
      * libmailutils/tests/Makefile.am (noinst_PROGRAMS): Add listop.
      (TESTSUITE_AT): Add list.at.
      * libmailutils/tests/.gitignore: New file.
      * libmailutils/tests/list.at: New file.
      * libmailutils/tests/testsuite.at: Include list.at.
      
      * libmailutils/list.c (list_itrctl): Fix mu_itrctl_replace.
      Sergey Poznyakoff authored
    • * libmailutils/tests/testsuite.at (MU_TEST_GROUP)
      (MU_TEST_KEYWORDS, MU_TEST_COMMAND): New defines.
      (mu_trimstr, mu_firstline): New macros.
      (MU_GENERIC_TEST): New macro.
      * libmailutils/tests/addr.c: Accept addresses from stdin.
      * libmailutils/tests/address.at (TESTADDR): If the address
      contains single quotes, pass it to the program via stdin.
      Uncomment all such tests.
      * libmailutils/tests/argcv.at (TESTARGS): Rewrite as a wrapper
      over MU_GENERIC_TEST.
      * libmailutils/tests/decode2047.at (TESTDEC2047): Likewise.
      * libmailutils/tests/mailcap.at (MAILCAP): Likewise.
      * libmailutils/tests/url.at (TESTURL): Likewise.
      * libmailutils/tests/mailcap.c: Accept data from stdin.
      Sergey Poznyakoff authored
  9. 14 Sep, 2010 6 commits
    • * libmailutils/Makefile.am (SUBDIRS): Make sure tests are descended
      into only when the libmailutils library is already built.
      Sergey Poznyakoff authored
    • * configure.ac: Remove messages/testsuite
      * messages/Makefile.am (SUBDIRS): Replace testsuite with tests.
      * messages/tests/.gitignore: New file.
      * messages/tests/Makefile.am: New file.
      * messages/tests/atlocal.in: New file.
      * messages/tests/testsuite.at: New file.
      * messages/testsuite: Remove.
      Sergey Poznyakoff authored
    • * configure.ac: Create libmailutils/tests/atlocal and
      libmailutils/tests/Makefile. Remove libmailutils/testsuite.
      * examples/Makefile.am (noinst_PROGRAMS): Remove programs moved
      to libmailutils/tests.
      * examples/argcv.c -> libmailutils/tests/argcv.c
      * libmailutils/testsuite/Decode -> libmailutils/tests/Decode
      * libmailutils/testsuite/Encode -> libmailutils/tests/Encode
      * examples/decode2047.c: Move to libmailutils/tests
      * examples/encode2047.c: Move to libmailutils/tests
      * examples/mailcap.c: Likewise.
      * examples/url-parse.c: Likewise.
      
      * include/mailutils/Makefile.am: Minor changes.
      * libmailutils/Makefile.am (SUBDIRS): Replace testsuite with tests.
      * libmailutils/tests/Makefile.am: New file.
      * libmailutils/tests/addr.c: New file.
      * libmailutils/tests/address.at: New file.
      * libmailutils/tests/argcv.at: New file.
      * libmailutils/tests/atlocal.in: New file.
      * libmailutils/tests/base64d.at: New file.
      * libmailutils/tests/base64e.at: New file.
      * libmailutils/tests/decode2047.at: New file.
      * libmailutils/tests/encode2047.at: New file.
      * libmailutils/tests/fltst.c: New file.
      * libmailutils/tests/mailcap.at: New file.
      * libmailutils/tests/mime.at: New file.
      * libmailutils/tests/testsuite.at: New file.
      * libmailutils/tests/url.at: New file.
      
      * libmailutils/testsuite/: Delete.
      
      * frm/tests/Makefile.am: Prefix package.m4 creation commands with $(AM_V_GEN).
      * readmsg/tests/Makefile.am: Likewise.
      * sieve/tests/Makefile.am: Likewise.
      * frm/tests/testsuite.at: Minor changes.
      * readmsg/tests/testsuite.at: Include testsuite.inc.
      * sieve/tests/testsuite.at: Likewise.
      * sieve/tests/version.at: Comment out inclusion of testsuite.inc.
      * testsuite/testsuite.inc: Add m4_version_prereq.
      Sergey Poznyakoff authored
    • This change has been waiting since 2005-08-16 (aaab8814),
      when libmailbox had been renamed to libmailutils.  Back then MU
      was still under CVS, which didn't like renames.
      Sergey Poznyakoff authored
    • * configure.ac: Add readmsg/tests/
      * readmsg/Makefile.am: New file.
      * readmsg/tests/.gitignore: New file.
      * readmsg/tests/Makefile.am: New file.
      * readmsg/tests/all.at: New file.
      * readmsg/tests/atlocal.in: New file.
      * readmsg/tests/hdr.at: New file.
      * readmsg/tests/nohdr.at: New file.
      * readmsg/tests/testsuite.at: New file.
      * readmsg/tests/twomsg.at: New file.
      * readmsg/tests/weed.at: New file.
      * readmsg/testsuite: Remove.
      * testsuite/testsuite.inc (AT_SKIP_TEST): New macro.
      
      * testsuite/spool/mbox1: Remove trailing whitespace after Received headers.
      * imap4d/testsuite/imap4d/fetch.exp: Reflece changes in mbox1.
      * mail/testsuite/mail/read.exp: Likewise.
      * mail/testsuite/mail/write.exp: Likewise.
      * mailbox/testsuite/Mime: Likewise.
      Sergey Poznyakoff authored
    • * configure.ac: Build frm/testsuite/Makefile.am and atlocal.
      Remove frm/testsuite/Makefile.
      * testsuite/testsuite.inc: New file.
      
      * frm/testsuite: Remove DejaGNU-based testsuite.
      * frm/tests: Autotest-based testsuite.
      * frm/tests/.gitignore
      * frm/tests/Makefile.am
      * frm/tests/atlocal.in
      * frm/tests/testsuite.at
      
      * frm/Makefile.am (SUBDIRS): Replace testsuite with tests.
      
      * sieve/tests/Makefile.am (TESTSUITE): Add an include option.
      * sieve/tests/version.at: Use macro from testsuite.inc.
      Sergey Poznyakoff authored
  10. 13 Sep, 2010 1 commit