- 29 Nov, 2011 1 commit
-
-
* imap4d/fetch.c (fetch_runtime_closure) <msglist>: New member. (frt_register_message,frt_unregister_messages): New functions. (fetch_get_part_rfc822): Look into encapsulated rfc822 messages. (_frt_body_text,_frt_header) (_frt_header_fields): Use frt_unregister_messages. (imap4d_fetch0): Initialize all fields in struct fetch_runtime_closure. Destroy msglist when finished using it. * imap4d/tests/fetch.at: Add test cases for nested message/rfc822. * testsuite/spool/msg.mbox: Add a message with nested message/rfc822 part.
Sergey Poznyakoff authored
-
- 28 Nov, 2011 1 commit
-
-
* imap4d/io.c (gettok): Fix memory overwrite. * imap4d/tests/fetch.at: Add checks for HEADER, HEADER.FIELDS, HEADER.FIELDS.NOT, and TEXT applied to message/rfc822 parts. * testsuite/spool/msg.mbox: New file. * testsuite/spool/DISTFILES: Add msg.mbox.
Sergey Poznyakoff authored
-
- 15 Oct, 2011 1 commit
-
-
INTERNALDATE now includes a meaningful timezone information (it used to return +0000). Date searches disregard the time and timezone of the INTERNALDATE or Date: header, as mandated by RFC 3501. * libmailutils/base/date.c (mu_parse_ctime_date_time): In the absence of TZ in ctime strings, return local time zone. * imap4d/io.c (imap4d_tokbuf_getline): Kill trailing whitespace. * imap4d/util.c (adjust_tm): New function. (util_parse_internal_date) (util_parse_822_date) (util_parse_ctime_date): Take three arguments, the third one controlling what information to return. All uses updated. * imap4d/fetch.c (_frt_internaldate): Return meaningful timezone. If all else fails, use local TZ. * imap4d/imap4d.h (datetime_parse_mode): New enum. (util_parse_internal_date) (util_parse_822_date) (util_parse_ctime_date): Change signature. * imap4d/search.c (parse_simple_key) (_header_date,cond_before,cond_on,cond_since): Use datetime_date_only mode. * testsuite/spool/search.mbox: New file. * testsuite/spool/DISTFILES: Add search.mbox * imap4d/testsuite/lib/imap4d.exp (imap4d_start): New option -mbox. * imap4d/testsuite/imap4d/search.exp: Rewrite. * imap4d/testsuite/imap4d/create.exp: Account for TZ part in internaldate strings, which may vary. * imap4d/testsuite/imap4d/fetch.exp: Likewise. * imap4d/testsuite/imap4d/list.exp: List the new mailbox.
Sergey Poznyakoff authored
-
- 12 Nov, 2010 1 commit
-
-
Replace 'Mirddin.farlep.net' with 'example.net' throughout the testsuite. Change expected message/part sizes accordingly. Files changed: * imap4d/testsuite/imap4d/fetch.exp * mail/testsuite/mail/folder.exp * mail/testsuite/mail/read.exp * mail/testsuite/mail/write.exp * mh/tests/scan.at * readmsg/tests/all.at * testsuite/maildir/mbox1/new/1284628225.M20118P3883Q2.Trurl * testsuite/maildir/mbox1/new/1284628225.M21284P3883Q3.Trurl * testsuite/maildir/mbox1/new/1284628225.M22502P3883Q4.Trurl * testsuite/mh/mbox1/3 * testsuite/mh/mbox1/4 * testsuite/mh/mbox1/5 * testsuite/mime.at * testsuite/spool/mbox * testsuite/spool/mbox1 * testsuite/spool/relational.mbox
Sergey Poznyakoff authored
-
- 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
-
- 14 Sep, 2010 1 commit
-
-
* 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
-
- 13 Sep, 2010 1 commit
-
-
* mailbox/cfg_parser.y (mu_cfg_create_subtree): Optional prefix character may be used to alter the separator or to suppress value splitting.
Sergey Poznyakoff authored
-
- 09 May, 2007 1 commit
-
-
- 27 Aug, 2003 1 commit
-
-
- 05 Jan, 2003 1 commit
-
-
- 22 Nov, 2002 2 commits
-
-
- 19 Nov, 2002 1 commit
-
-
- 28 Aug, 2002 2 commits
-
-
- 25 Aug, 2002 1 commit
-
-
- 23 Aug, 2002 1 commit
-
-
- 20 Aug, 2002 1 commit
-
-