Age | Commit message (Collapse) | Author | Files |
|
|
|
* NEWS: Update.
* libmu_scm/tests/testsuite.at: Fix improper use of AT_TESTED.
* maint/release.mk (GNUPLOAD): New variable.
* configure.ac: New maintainer option --with-gnupload.
|
|
|
|
* configure.ac: Version 3.14.90
* NEWS: Version 3.14.90
* libproto/mbox/mboxrd.c (scan_message_finalize): Take decrement value (n)
without additional corrections. All uses changed.
(mailbox_append_message): Fix padding.
* libproto/mbox/message.c (_msg_stream_setup)
(mboxrd_message_body_scan,_msg_body_setup): Don't count terminating empty
line as part of the message body.
* libproto/mbox/tests/lastmsg.at: New test.
* libproto/mbox/tests/Makefile.am: Add new files.
* libproto/mbox/tests/testsuite.at: Likewise.
* libproto/mbox/tests/append.at: Test appending to partially terminated
mailboxes.
* libproto/mbox/tests/body.at: Fix expected octet and line counts.
* libproto/mbox/tests/attr.at: Likewise.
* libproto/mbox/tests/autodetect.at: Likewise.
* libproto/mbox/tests/count.at: Likewise.
* libproto/mbox/tests/env.at: Likewise.
* libproto/mbox/tests/notify.at: Likewise.
* libproto/mbox/tests/qget.at: Likewise.
* comsat/tests/testsuite.at: Likewise.
* imap4d/tests/IDEF0956.at: Likewise.
* imap4d/tests/fetch.at: Likewise.
* libmu_scm/tests/mailbox-append-message.at: Likewise.
* libmu_scm/tests/mailbox-expunge.at: Likewise.
* libmu_scm/tests/mailbox-get-message.at: Likewise.
* libmu_scm/tests/mailbox-iterate.at: Likewise.
* libtests/mime.at: Likewise.
* mail/tests/align.at: Likewise.
* mail/tests/hold.at: Likewise.
* mail/tests/nohome.at: Likewise.
* mail/testsuite/mail/Followup.exp
* mail/testsuite/mail/Reply.exp
* mail/testsuite/mail/folder.exp
* mail/testsuite/mail/followup.exp
* mail/testsuite/mail/read.exp
* mail/testsuite/mail/reply.exp
* mail/testsuite/mail/tag.exp
* mail/testsuite/mail/z.exp
* pop3d/testsuite/pop3d/read.exp
* readmsg/tests/all.at: Likewise.
* readmsg/tests/hdr.at: Likewise.
* readmsg/tests/nohdr.at: Likewise.
* readmsg/tests/twomsg.at: Likewise.
* readmsg/tests/weed.at: Likewise.
* sieve/tests/redirect.at: Likewise.
* sieve/tests/reject.at: Likewise.
|
|
|
|
This is a follow-up to a3bd653315.
* libmu_scm/tests/testsuite.at (MU_GUILE_OUTPUT_FILTER): New macro.
(MU_GUILE_CHECK): If MU_GUILE_OUTPUT_FILTER is not empty, filter
the stdout through it.
* libmu_scm/tests/mailbox-append-message.at: Filter out line and byte
counts.
* libmu_scm/tests/mailbox-expunge.at: Fix line and byte counts.
* libmu_scm/tests/mailbox-get-message.at: Likewise.
* libmu_scm/tests/mailbox-iterate.at: Likewise.
|
|
|
|
* libmu_scm/tests/message-get-envelope-date.at: Expected time zone is
UTC (compensates for the change introduced in 50d7ea1d1b).
|
|
|
|
|
|
* configure.ac: Require libtool version 2.4.6
(MU_LINK_POSTFLAGS): Remove. Not needed with the patched version
of ltmain.sh.
Detect the presencecof GSSAPI.
Fix displaying the status of GSSAPI support.
Remove the hack introduced on 2010-02-19 (commit 35ac66f056).
(MU_AUTHLIBS,SQLLIB)
(SQL_LOADABLE_MODULES,SQL_LIBOBJS): Insert spaces only when needed.
* mu-aux/ltmain.sh: ltmain.sh from libtool 2.4.6 with fixes from
http://gray.gnu.org.ua/public/ltbug installed.
* bootstrap.conf (bootstrap_epilogue): Install the fixed ltmain.sh
version.
* am/gssapi.m4: Allow for "yes" and "probe" argument values.
Improve makefile style consistency
. Uniformly use parentheses instead of curly braces in variable
referencing;
. Prefer to use Make variables over substitution variables, for
variables prefixed with MU_;
* comsat/Makefile.am
* dotlock/Makefile.am
* examples/Makefile.am
* examples/cpp/Makefile.am
* frm/Makefile.am
* imap4d/Makefile.am
* imap4d/tests/Makefile.am
* lib/Makefile.am
* libmailutils/Makefile.am
* libmailutils/address/Makefile.am
* libmailutils/auth/Makefile.am
* libmailutils/base/Makefile.am
* libmailutils/cfg/Makefile.am
* libmailutils/cidr/Makefile.am
* libmailutils/cli/Makefile.am
* libmailutils/datetime/Makefile.am
* libmailutils/diag/Makefile.am
* libmailutils/filter/Makefile.am
* libmailutils/imapio/Makefile.am
* libmailutils/list/Makefile.am
* libmailutils/locus/Makefile.am
* libmailutils/mailbox/Makefile.am
* libmailutils/mailcap/Makefile.am
* libmailutils/mailer/Makefile.am
* libmailutils/mime/Makefile.am
* libmailutils/msgset/Makefile.am
* libmailutils/opt/Makefile.am
* libmailutils/property/Makefile.am
* libmailutils/server/Makefile.am
* libmailutils/sockaddr/Makefile.am
* libmailutils/stdstream/Makefile.am
* libmailutils/stream/Makefile.am
* libmailutils/string/Makefile.am
* libmailutils/tests/Makefile.am
* libmailutils/url/Makefile.am
* libmailutils/wicket/Makefile.am
* libmu_auth/Makefile.am
* libmu_cpp/Makefile.am
* libmu_dbm/Makefile.am
* libmu_scm/Makefile.am
* libmu_scm/mailutils/Makefile.am
* libmu_sieve/Makefile.am
* libmu_sieve/extensions/Makefile.am
* libproto/dotmail/Makefile.am
* libproto/dotmail/tests/Makefile.am
* libproto/imap/Makefile.am
* libproto/imap/tests/Makefile.am
* libproto/maildir/Makefile.am
* libproto/mailer/Makefile.am
* libproto/mbox/Makefile.am
* libproto/mh/Makefile.am
* libproto/nntp/Makefile.am
* libproto/pop/Makefile.am
* mail/Makefile.am
* mapi/Makefile.am
* mda/lib/Makefile.am
* mda/lmtpd/Makefile.am
* mda/mda/Makefile.am
* mda/mda/tests/Makefile.am
* mda/putmail/Makefile.am
* messages/Makefile.am
* mh/Makefile.am
* mh/tests/Makefile.am
* mimeview/Makefile.am
* movemail/Makefile.am
* mu/Makefile.am
* mu/libexec/Makefile.am
* pop3d/Makefile.am
* python/2/libmu_py/Makefile.am
* python/2/mailutils/Makefile.am
* python/3/libmu_py/Makefile.am
* python/3/mailutils/Makefile.am
* readmsg/Makefile.am
* sieve/Makefile.am
* sql/Makefile.am
* testsuite/Makefile.am
|
|
Simplify Makefile.am's in tests subdirectories by moving the common part
in a separate file and including it where necessary. Build only one copy
of package.m4. Both package.m4 and include file testsuite.am reside in
the testsuite directory.
Also provide configure options for selecting mda components to build:
--disable-build-mda do not build mda
--disable-build-lmtpd do not build lmtpd
--disable-build-putmail do not build putmail
* .gitignore: Update.
* Makefile.am [MU_COND_MDA]: Change to MU_COND_MDA_TOOLS
* configure.ac: Provide a way to enable/disable building of
mda, lmtpd and putmail separately.
Build testsuite/package.m4
* testsuite/testsuite.am
* testsuite/Makefile.am: Distribute both package.m4.in and package.m4.
Include main part from testsuite.am
* testsuite/package.m4.in: New file.
* comsat/tests/Makefile.am: Include main part from testsuite.am
* frm/tests/Makefile.am: Likewise.
* imap4d/tests/Makefile.am: Likewise.
* libmailutils/tests/Makefile.am: Likewise.
* libmu_scm/tests/Makefile.am: Likewise.
* libproto/dotmail/tests/Makefile.am: Likewise.
* mail/tests/Makefile.am: Likewise.
* messages/tests/Makefile.am: Likewise.
* mh/tests/Makefile.am: Likewise.
* mimeview/tests/Makefile.am: Likewise.
* readmsg/tests/Makefile.am: Likewise.
* sieve/tests/Makefile.am: Likewise.
* mda/.gitignore: Remove.
* mda/tests/Makefile.am: Remove.
* mda/tests/testsuite.at: Remove.
* mda/tests/.gitignore: Remove.
* mda/tests/atlocal.in: Remove.
* mda/tests/mda.inc: New file.
* mda/Makefile.am: Add extra directory level. Add subdirs
depending on whether the corresponding component is selected
for building.
* mda/lmtpd/.gitignore: New file.
* mda/lmtpd/Makefile.am: New file.
* mda/lmtpd.c: Move to mda/lmtpd/lmtpd.c
* mda/lmtpd/tests/.gitignore: New file.
* mda/lmtpd/tests/Makefile.am: New file.
* mda/lmtpd/tests/atlocal.in: New file.
* mda/tests/lmtpd.at: Move to mda/lmtpd/tests/lmtpd.at
* mda/lmtpd/tests/testsuite.at: New file.
* mda/mda/.gitignore: New file.
* mda/mda/Makefile.am: New file.
* mda/mda.c: Move to mda/mda/mda.c
* mda/mda/tests/.gitignore: New file.
* mda/mda/tests/Makefile.am: New file.
* mda/mda/tests/atlocal.in: New file.
* mda/tests/forward.at: Move to mda/mda/tests/forward.at
* mda/tests/mda.at: Move to mda/mda/tests/mda.at
* mda/mda/tests/testsuite.at: New file.
* mda/putmail/.gitignore: New file.
* mda/putmail/Makefile.am: New file.
* mda/putmail.c: Move to mda/putmail/putmail.c
* mda/putmail/tests/.gitignore: New file.
* mda/putmail/tests/Makefile.am: New file.
* mda/putmail/tests/atlocal.in: New file.
* mda/tests/putmail.at: Move to mda/putmail/tests/putmail.at
* mda/putmail/tests/testsuite.at: New file
* po/POTFILES.in: Update pathnames
* maint/fullcheck.mk: Minor fixes.
|
|
Check return from mu_message_get_num_parts
|
|
* configure.ac: Accept dotmail as a value for MU_DEFAULT_SCHEME.
Display dotmail support status at the end of the run.
* libmailutils/base/nullrec.c: Provide placeholder for disabled dotmail.
* libmu_scm/mu_scm.c (format_table): Add dotmail.
* libmu_scm/tests/testsuite.at: Don't assume mbox as the default. Load
it explicitly.
|
|
* configure.ac: Enable new local format.
* include/mailutils/registrar.h (mu_dotmail_record): New extern.
(mu_register_all_mbox_formats)
(mu_register_local_mbox_formats): Add mu_dotmail_record
* include/mailutils/sys/dotmail.h: New file.
* libproto/dotmail/Makefile.am: New file.
* libproto/dotmail/dotmail.c: New file.
* libproto/dotmail/message.c: New file.
* libproto/dotmail/folder.c: New file.
* libproto/dotmail/tests/.gitignore: New file.
* libproto/dotmail/tests/Makefile.am: New file.
* libproto/dotmail/tests/atlocal.in: New file.
* libproto/dotmail/tests/count.at: New file.
* libproto/dotmail/tests/dm_mbox.c: New file.
* libproto/dotmail/tests/dm_mesg.c: New file.
* libproto/dotmail/tests/env.at: New file.
* libproto/dotmail/tests/header.at: New file.
* libproto/dotmail/tests/recent.at: New file.
* libproto/dotmail/tests/testsuite.at: New file.
* libproto/dotmail/tests/attr.at: New file.
* libproto/dotmail/tests/body.at: New file.
* libproto/dotmail/tests/uid.at: New file.
* libproto/dotmail/tests/dm_qget.c: New file.
* libproto/dotmail/tests/qget.at: New file.
* libproto/dotmail/tests/append.at: New file.
* libproto/dotmail/tests/delete.at: New file.
* libmu_scm/mailutils/ancilla.scm: Fix regular expression to
take into account changes introduced by 4bdc41ff90.
|
|
* am/enable.m4 (MU_ENABLE_SUPPORT)
(MU_ENABLE_BUILD): Use m4_-prefixed directives.
(MU_ENABLE_MAILBOX_FORMAT)
(MU_ENABLE_LOCAL_MAILBOX_FORMAT_
(MU_ENABLE_REMOTE_MAILBOX_FORMAT): New macros.
(MU_LIB_MAILBOX)
(MU_LIB_LOCAL_MAILBOX)
(MU_LIB_REMOTE_MAILBOX): New substitution variables.
* configure.ac: Use new macros to enable mailbox formats
* libproto/Makefile.am: Augment SUBDIRS instead of using Makefile
variables.
* comsat/Makefile.am: Use MU_LIB_.*MAILBOX macros to link in the
necessary libraries.
* examples/Makefile.am: Likewise.
* examples/cpp/Makefile.am: Likewise.
* frm/Makefile.am: Likewise.
* imap4d/Makefile.am: Likewise.
* include/mailutils/sys/Makefile.am: Likewise.
* libmu_scm/Makefile.am: Likewise.
* libproto/Makefile.am: Likewise.
* maidag/Makefile.am: Likewise.
* mail/Makefile.am: Likewise.
* messages/Makefile.am: Likewise.
* mh/Makefile.am: Likewise.
* movemail/Makefile.am: Likewise.
* mu/libexec/Makefile.am: Likewise.
* pop3d/Makefile.am: Likewise.
* python/2/libmu_py/Makefile.am: Likewise.
* python/3/libmu_py/Makefile.am: Likewise.
* readmsg/Makefile.am: Likewise.
* sieve/Makefile.am: Likewise.
* testsuite/Makefile.am: Likewise.
|
|
|
|
* include/mailutils/guile.h (mu_port_make_from_stream): Remove
unused msg argument. All uses updated.
* libmu_scm/mu_filter.c: New file.
* libmu_scm/Makefile.am: Add mu_filter.c
* libmu_scm/mu_message.c (mu-message-get-port): Add missing anchor to
the docstring.
* libmu_scm/mu_port.c (mu_port): Remove msg.
* libmu_scm/mu_scm.c (mu_scm_init): Call mu_scm_filter_init.
* NEWS: Updated.
|
|
|
|
* libmu_scm/mu_message.c (mu_scm_message_add_owner): Fix owner
list construction.
* libmu_scm/mu_mime.c (mu-mime-create): Fix a bug: both arguments
are optional now.
* libmu_scm/tests/Makefile.am: Add new tests.
* libmu_scm/tests/testsuite.at: Likewise,
New testcases:
* libmu_scm/tests/mime-add-part.at
* libmu_scm/tests/mime-create.at
* libmu_scm/tests/mime-get-num-parts.at
* libmu_scm/tests/mime-get-part.at
* libmu_scm/tests/mime-multipart-p.at
* libmu_scm/tests/mime-p.at
|
|
* testsuite/spool/mbox2: New file. Same messages as in mbox1, but with
Mailutils auxiliary headers added. Ideally, libmailutils should not add
any headers to the messages, unless explicitly requested to do so.
Hopefully, I'll fix this in future.
* testsuite/spool/DISTFILES: Add mbox2 and mime.msg
* libmu_scm/tests/mailbox-append-message.at: New testcase.
* libmu_scm/tests/mailbox-expunge.at: New testcase.
* libmu_scm/tests/message-delete.at: New testcase.
* libmu_scm/tests/message-get-flag.at: New testcase.
* libmu_scm/mu_message.c (mu_scm_message_print): Display flags.
* libmu_scm/tests/Makefile.am: Add new files.
* libmu_scm/tests/mailbox-print.at: Remove the now superfluous
quoting.
* libmu_scm/tests/message-get-part.at: Likewise.
* libmu_scm/tests/testsuite.at (MU_GUILE_CHECK): Quote the
argument to AT_DATA
Include new tests.
Changes missing from the previous commit:
* libmu_scm/mailutils/ancilla.scm
* libmu_scm/mu_body.c
* libmu_scm/mu_port.c
|
|
* libmu_scm/mailutils/ancilla.scm (string->message)
(file->message): Ise open- call instead of call-with-input to
avoid premature closing of the input port. This has a drawbak that the
port will be actually closed only after the returned message is
destroyed (possibly by the gc).
* libmu_scm/mu_body.c: Use scm_intprint when printing objects.
* libmu_scm/mu_mailbox.c: Likewise.
* libmu_scm/mu_port.c: Likewise.
* libmu_scm/mu_message.c (mu_scm_message_free): Fix destroying
of the underlying mu_message_t object.
* libmu_scm/tests/message-get-num-parts.at: New file.
* libmu_scm/tests/message-get-part.at: New file.
* libmu_scm/tests/message-multipart.at: New file.
* testsuite/spool/mime.msg: New file.
|
|
* libmu_scm/Makefile.am (C_SRCS): Add portstream.c
* libmu_scm/mailutils/Makefile.am (EXTRA_DIST): Add ancilla.scm
* libmu_scm/mailutils/ancilla.scm: New file
* libmu_scm/mu_message.c (mu-message-get-header-fields): Fix operation
when called with three arguments.
(mu-message-from-port): New function.
* libmu_scm/portstream.c: New file.
|
|
* .gitignore: Ignore .gdbinit
* README: Update.
* configure.ac: Add guile testsuite
* libmu_scm/Makefile.am (SUBDIRS): Add tests.
* libmu_scm/mu_body.c: Update smob support.
* libmu_scm/mu_dbgport.c (mu_scm_make_debug_port): Delegate buffering to
mailutils streams layer.
* libmu_scm/mu_mailbox.c: Update smob support.
(mu-mailbox-more-messages?): Fix reversed return value.
* libmu_scm/mu_message.c: Update smob support.
* libmu_scm/mu_mime.c: Likewise.
* libmu_scm/mu_port.c (mu_port_make_from_stream): Delegate buffering to
mailutils streams layer.
* libmu_scm/tests/.gitignore: New file.
* libmu_scm/tests/Makefile.am: New file.
* libmu_scm/tests/atlocal.in: New file.
* libmu_scm/tests/const.at: New file.
* libmu_scm/tests/mailbox-get-message.at: New file.
* libmu_scm/tests/mailbox-get-size.at: New file.
* libmu_scm/tests/mailbox-get-url.at: New file.
* libmu_scm/tests/mailbox-iterate.at: New file.
* libmu_scm/tests/mailbox-messages-count.at: New file.
* libmu_scm/tests/mailbox-open-exc.at: New file.
* libmu_scm/tests/mailbox-open.at: New file.
* libmu_scm/tests/mailbox-print.at: New file.
* libmu_scm/tests/message-create.at: New file.
* libmu_scm/tests/message-print.at: New file.
* libmu_scm/tests/testsuite.at: New file.
|
|
* configure.ac" Set minimum supported Guile version to 2.2.0
* libmu_scm/mu_body.c: Rewrite.
* libmu_scm/mu_dbgport.c: Rewrite.
* libmu_scm/mu_mailbox.c: Update types.
* libmu_scm/mu_message.c: Likewise.
* libmu_scm/mu_mime.c: Likewise.
* libmu_scm/mu_port.c: Likewise.
|
|
|
|
|
|
functions
It is possible that these functions return success and place NULL in
the result variable. Make sure this possibility is checked throughout
the code.
* libmailutils/base/usremail.c (mu_set_user_email): Check for NULL
return value from mu_address_[as]get.
* libmailutils/mailbox/msgenv.c (message_envelope_sender)
* libmailutils/tests/addr.c (parse)
* libmu_scm/mu_message.c (mu_scm_message_print):
* libproto/mailer/prog.c (_expand_rcpt)
* libproto/mailer/smtp.c (_rcpt_to_addr)
(mu_address_sget_email)
* maidag/lmtp.c (check_address):
* mail/from.c (hdr_from):
* mail/util.c (util_get_sender):
* mh/mh_format.c (addr_cmp, builtin_proper)
(builtin_addr, builtin_pers, builtin_note)
(builtin_mbox, builtin_path, builtin_formataddr)
* mh/mh_whom.c (scan_addrs):
* libmu_sieve/util.c (mu_sieve_vlist_compare): Skip NULL returns
from retr.
* libmu_sieve/actions.c (check_redirect_loop): Error checking.
* include/mailutils/types.hin (mu_prstr): New function.
* libmu_cpp/address.cc: Use mu_prstr to ensure the printable representation
of string.
* python/libmu_py/address.c: Likewise.
* libmu_scm/mu_address.c (_get_address_part): Likewise.
* libmailutils/string/wordsplit.c (expvar): Treat NULL
value as "".
|
|
Until now, mu_header_set_value called with replace=0 prepended the header
to the header list, if a header with such name was already present. This
has been changed. Now, if the header with the requested name is already
present, its action is as follows:
1. If repl is 0, return MU_ERR_EXISTS
2. Otherwise, replace the header with the new value.
If the header is not present, it is appended to the end of the header
list, instead of putting it at the beginning.
This change is incompatible and breaks the tests, that relied on a particular
field ordering. These are fixed as well.
The use of mu_header_set_value throughout the sources has been revised to
ensure that single-instance headers are never added twice.
This change also facilitates the second part of this commit, which
fixes creation of the multipart/alternative message by the mail utility.
* libmailutils/mailbox/header.c (mu_header_set_value): Fix semantics.
If the replace parameter is not set and the header field with the
given name already exists, return MU_ERR_EXISTS without changing
anything. If adding new header, append it to the end of the header
list, instead of pushing it to the top.
* configure.ac: Raise shared library revision number.
* libmu_scm/mu_message.c (mu-message-set-header)
(mu-message-set-header-fields): call mu_header_set_value explicitly if
repl is not set.
* libmu_sieve/extensions/moderator.c: Force replace header mode when
needed.
* libmu_sieve/extensions/vacation.c: Likewise.
* mh/mh_init.c (mh_annotate): Prepend the annotation header.
* mh/mhn.c: Force replace header mode when needed.
* mh/repl.c: Likewise.
* mh/send.c: Likewise.
* libmailutils/tests/modmesg01.at: Change expected header order.
* libmailutils/tests/modmesg03.at: Likewise.
* mh/tests/mhn.at: Likewise.
* mh/tests/send.at: Likewise.
* sieve/tests/moderator.at: Likewise.
* sieve/tests/redirect.at: Likewise.
* sieve/tests/reject.at: Likewise.
* sieve/tests/vacation.at: Likewise.
* examples/mta.c (message_finalize): Append X-Authentication-Warning,
instead of setting it.
Make sure Content-Disposition is not set for parts of a multipart/
alternative MIME message. Some mail readers (notably, yahoo),
misinterpret it.
* libmailutils/mime/attachment.c (at_hdr): Use mu_header_set_value
to set Content-Type and Content-Disposition.
* libmailutils/mime/mime.c (_mime_set_content_type): If the content
type is set to multipart/alternative, remove the Content-Disposition
headers from the message parts.
* mail/send.c (saveatt): Don't set content-disposition for
multipart/alternative, it is now done by the library.
(add_attachments): Warn about ignored headers.
Append only Received and X-* headers, replace others.
(parse_headers): Append headers.
(compose_header_set): Use mu_header_append if COMPOSE_APPEND is requested.
* mail/util.c (util_header_expand): Use mu_header_append.
|
|
|
|
* libmu_scm/mu_scm.c: Export mu-mailer.
* libmu_scm/mu_message.c (scm_mu_message_send): Fix a typo.
|
|
|
|
|
|
|
|
* imap4d/imap4d.c [WITH_TLS] (cb_tls_required): Conditional compilation.
* imap4d/imap4d.h [!WITH_TLS] (tls_encryption_on): Empty define.
* pop3d/pop3d.c [!WITH_TLS] (tls_available): Empty define.
* libmu_scm/mu_mailbox.c (mu_scm_mailbox_print): Fix format string.
|
|
|
|
|
|
* NEWS: Update.
* configure.ac: Version 2.99.97
* libmu_scm/mu_mailbox.c (mu-mailbox-sync)
(mu-mailbox-flush): New functions.
|
|
* libmu_scm/mailutils/Makefile.am (DISTCLEANFILES): Rename to
CLEANFILES: mailutils.scm should be cleaned as a usual object file.
(MU_FEATURES): New variable, constructed depending on MU_COND_
variables.
(mailutils.scm goal): Use the value of MU_FEATURES as m4 command
line.
* libmu_scm/mailutils/mailutils.scm.in: Include only supported libraries.
|
|
* doc/texinfo/folder.texi: Update
* include/mailutils/cpp/folder.h (Folder) <set_stream>
<get_stream>: Remove.
* include/mailutils/folder.h (mu_folder_get_stream)
(mu_folder_get_streamref)
(mu_folder_set_stream): Remove.
* include/mailutils/mailbox.h (mu_folder_get_stream)
(mu_folder_get_streamref)
(mu_folder_set_stream): Remove protos.
* include/mailutils/sys/folder.h (_mu_folder)<stream>: Remove.
All uses updated.
* libmailutils/mailbox/folder.c (mu_folder_set_stream)
(mu_folder_get_stream,mu_folder_get_streamref): Remove.
* libmailutils/mailbox/mailbox.c (mu_mailbox_get_stream)
(mu_mailbox_get_streamref): Remove.
* libmu_cpp/folder.cc (get_stream, set_stream): Remove.
* libmu_scm/mu_mailbox.c (mu-mailbox-get-port): Remove.
* python/libmu_py/folder.c (get_stream): Remove.
|
|
|
|
Additionally, do not typedef mu_timezone, leave it in struct namespace.
|
|
* include/mailutils/stream.h (mu_fixed_memory_stream_create): New proto.
* libmailutils/stream/memory_stream.c
(mu_fixed_memory_stream_create): New function.
* include/mailutils/util.h (mu_parse_imap_date_time)
(mu_parse_ctime_date_time): Remove.
(mu_scan_datetime): New proto.
(mu_strftime): Remove const from the last arg.
(MU_DATETIME_FROM,MU_DATETIME_IMAP)
(MU_DATETIME_IMAP_SEARCH,MU_DATETIME_INTERNALDATE): New defines.
* libmailutils/base/strftime.c: New file.
* libmailutils/base/Makefile.am (libbase_la_SOURCES): Add strftime.c.
* libmailutils/base/date.c (mu_scan_datetime): New function.
* libmailutils/base/mutil.c (mu_strftime): Remove.
* libmailutils/tests/scantime.at: New file.
* libmailutils/tests/scantime.c: New file.
* libmailutils/tests/Makefile.am (noinst_PROGRAMS): Add scantime.
(TESTSUITE_AT): Add scantime.at.
* libmailutils/tests/strftime.c (main): Call mu_set_program_name.
* libmailutils/tests/testsuite.at: Include scantime.at
* libmu_sieve/actions.c (mime_create_reason): Use mu_c_streamftime.
* imap4d/fetch.c (_frt_internaldate): Use mu_scan_datetime.
* imap4d/util.c (util_parse_internal_date): Likewise.
* libmu_scm/mu_message.c (mu-message-get-envelope-date): Likewise.
* libproto/imap/fetch.c (_date_mapper): Likewise.
* mail/from.c (hdr_date): Use mu_scan_datetime.
|
|
* scheme/sieve2scm.scmi: Tailor help output to meet help2man expectations.
* libmu_scm/mailutils/Makefile.am (EXTRA_DIST): Remove generated
file mailutils.scm.
|
|
* libmailutils/base/assoc.c (first): Set index to max value
if tab is NULL to indicate immediate end of iteration.
* libmu_auth/sql.c (mu_auth_sql_by_name)
(mu_auth_sql_by_uid): Check the return from mu_sql_num_tuples.
(mu_sql_getpass): Check the number of returned tuples.
Return failure if returned a NULL password.
* libmu_scm/mu_message.c (string_sloppy_member): Remove.
(mu-message-get-header-fields): Use scm_member instead of
string_sloppy_member.
* sql/postgres.c (chop): Handle NULL argument.
|
|
* libmu_scm/Makefile.am (DOT_X_FILES, DOT_DOC_FILES): Add mu_debug.x and
mu_debug.doc.
* mail/send.c (fill_body): Remove extra \n after null message
body diagnostics.
|
|
* include/mailutils/debug.h (mu_debug_get_iterator): New proto.
* libmailutils/diag/debug.c (mu_debug_get_iterator): New function.
* libmu_scm/Makefile.am (lib_LTLIBRARIES): Add mu_debug.c.
* include/mailutils/guile.h (mu_scm_debug_init): New proto.
* libmu_scm/mu_scm.c (mu-register-format): Bugfix.
(mu_scm_init): Call mu_scm_debug_init.
|
|
* libmailutils/diag/bt.c: New file.
* libmailutils/diag/wd.c: New file.
* libmailutils/diag/Makefile.am (libdiag_la_SOURCES): Add bt.c and wd.c
* include/mailutils/debug.h (mu_gdb_bt, mu_wd): New protos.
* include/mailutils/util.h (mu_getmaxfd): New protos.
* libmailutils/base/getmaxfd.c: New file.
* libmailutils/base/Makefile.am (libbase_la_SOURCES): Add getmaxfd.c
* libmailutils/server/acl.c: Use mu_getmaxfd.
* libmailutils/stream/prog_stream.c: Likewise.
* mh/mh_whatnow.c: Likewise.
* libmu_scm/mu_body.c (mu-body?): Bugfix.
|
|
* libmu_scm/mu_body.c (mu-body?): New function.
* libmu_scm/mu_mailbox.c (mu-mailbox?): New function.
* libmu_scm/mu_message.c (mu-message?): New function.
* libmu_scm/mu_mime.c (mu-mime?): New function.
* scheme/guimb.scmi (guimb-process-mailbox): guimb-message returns
a message to be appended to the output mailbox.
|
|
* libmu_scm/mailutils.scm.in: Move to libmu_scm/mailutils/mailutils.scm.in.
Use the MAILUTILS_SCM_LIBRARY_ROOT environment variable to load
libraries from the specified location (to be used in tests).
* libmu_scm/mailutils/.gitignore: New file.
* libmu_scm/mailutils/Makefile.am: New file.
* libmu_scm/Makefile.am (SUBDIRS): Add mailutils
(mailutils.scm): Remove goal and associated variables.
* scheme/guimb.scmi: New file. Reincarnation of guimb.
* scheme/Makefile.am: Build guimb from guimb.scmi.
* scheme/sieve2scm.scmi (sieve-version): Use mu-package
and mu-version global variables.
* configure.ac (AC_CONFIG_FILES): Add libmu_scm/mailutils/Makefile.
|