Finish imap mailbox implementation.
Some features are missing (notably, quick access), but overall the implementation offers all necessary features and performs a lot better than 2.x. Additionally, this commit fixes a minor bug in the imap4d implementation: the STORE command did not accept empty flag list. * NEWS: Update. * imap4d/store.c (store_thunk): Accept empty list as "items" argument. * include/mailutils/imap.h (mu_imap_store_flags): New proto. * include/mailutils/imaputil.h (mu_imap_format_flags): Add new argument. * include/mailutils/sys/imap.h (_MU_IMAP_MSG_ATTRCHG): New flag. * libmailutils/imapio/flags.c: Accept three arguments, last one being a boolean flag specifying whether we want \Recent in the output. * libproto/imap/storeflg.c: New flag. * libproto/imap/Makefile.am (libmu_imap_la_SOURCES): Add storeflg.c. * libproto/imap/mbox.c: Finish the basic implementation. * imap4d/sync.c: Update calls to mu_imap_format_flags. * imap4d/util.c: Likewise. * mu/imap.c: Likewise. * libmailutils/imapio/sendflg.c (mu_imapio_send_flags): Likewise.
Showing
13 changed files
with
355 additions
and
86 deletions
libproto/imap/storeflg.c
0 → 100644
-
Please register or sign in to post a comment