- 22 Jan, 2016 1 commit
-
-
- 02 Mar, 2015 1 commit
-
-
- 05 Feb, 2014 1 commit
-
-
- 05 Jan, 2012 1 commit
-
-
- 08 Dec, 2011 1 commit
- 05 Dec, 2011 2 commits
-
-
* 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.
Sergey Poznyakoff authored -
* include/mailutils/util.h (mu_c_streamftime): New prototype. * libmailutils/base/date.c (mu_c_streamftime): New function. * libmailutils/tests/.gitignore: Update. * libmailutils/tests/strftime.at: New test script. * libmailutils/tests/strftime.c: New test program. * libmailutils/tests/Makefile.am (noinst_PROGRAMS): Add strftime. (TESTSUITE_AT): Add strftime.at. * libmailutils/tests/testsuite.at: Include strftime.at.
Sergey Poznyakoff authored
-