- 17 Aug, 2008 1 commit
-
-
* doc/rfc/Makefile.am: Add rfc3691.txt * doc/rfc/rfc3691.txt: New file. * imap4d/capability.c: Announce UNSELECT capability. * imap4d/close.c: Implement UNSELECT command. * imap4d/commands.c: Add UNSELECT command. * imap4d/imap4d.h (imap4d_unselect): New proto. * imap4d/testsuite/imap4d/anystate.exp: Reflect UNSELECT capability. * imap4d/testsuite/imap4d/examine.exp: Reflect yesterday's changes to STATUS output.
Sergey Poznyakoff authored
-
- 10 Aug, 2008 1 commit
-
-
* imap4d/util.c (util_getword, util_getitem, util_token) (util_unquote): Remove. (imap4d_readline): Rewrite to reduce memory reallocation. Add support for non-synchronizing literals (RFC 2088). (imap4d_readline_ex): Remove. (util_do_command): Rewrite using new imap4d_readline. (util_parse_internal_date0): Remove. (imap4d_tokbuf_init, imap4d_tokbuf_destroy, imap4d_tokbuf_argc) (imap4d_tokbuf_getarg, util_isdelim) (imap4d_tokbuf_from_string): New functions. * imap4d/append.c, imap4d/auth_gss.c, imap4d/authenticate.c, imap4d/check.c, imap4d/close.c, imap4d/commands.c, imap4d/copy.c, imap4d/create.c, imap4d/delete.c, imap4d/examine.c, imap4d/imap4d.h, imap4d/list.c, imap4d/login.c, imap4d/logout.c, imap4d/lsub.c, imap4d/expunge.c, imap4d/idle.c, imap4d/noop.c, imap4d/rename.c, imap4d/search.c, imap4d/select.c, imap4d/starttls.c, imap4d/status.c, imap4d/store.c, imap4d/subscribe.c, imap4d/uid.c, imap4d/unsubscribe.c, imap4d/version.c: Rewrite using new imap4d_readline. * imap4d/namespace.c: Use new imap4d_readline. Ensure that each reported prefix ends with a hierarchy delimiter. * imap4d/imap4d.c (imap4d_mainloop): Use new imap4d_readline. * imap4d/fetch.c: Rewrite parser from scratch. * imap4d/capability.c (imap4d_capability_init): Report LITERAL+ capability. * imap4d/testsuite/imap4d/anystate.exp: Account for the LITERAL+ capability. * imap4d/testsuite/imap4d/append.exp: Fix APPEND arguments (imap4d requires exactly three arguments, as per RFC3501. Fix octet count in literals returned by fetch (previous versions failed to include the trailing CRLF). * imap4d/testsuite/imap4d/create.exp: Likewise. * imap4d/testsuite/imap4d/fetch.exp: Fix FETCH arguments (previous versions incorrectly accepted header-list without parentheses. Fix result of FETCH 4 BODY[2.2.1]: it returns entire part, in the contrast to previous versions, which treated it as BODY[2.2.1.TEXT]. * maidag/mailtmp.c (mail_tmp_finish): Ensure /dev/null is treated as mailbox.
Sergey Poznyakoff authored
-
- 29 Nov, 2007 1 commit
-
-
imap4d/auth_gss.c, imap4d/authenticate.c, imap4d/bye.c, imap4d/close.c, imap4d/imap4d.c, imap4d/login.c, imap4d/search.c, imap4d/signal.c, imap4d/starttls.c, imap4d/util.c, maidag/lmtp.c, maidag/maidag.c, maidag/script.c, mail.local/main.c, mail.local/script.c, pop3d/apop.c, pop3d/bulletin.c, pop3d/extra.c, pop3d/lock.c, pop3d/logindelay.c, pop3d/pop3d.c, pop3d/quit.c, pop3d/signal.c, pop3d/user.c, libsieve/util.c: Use mu_diag_output instead of syslog. * sieve/sieve.c: New option --no-program-name, for testsuite. * sieve/testsuite/lib/sieve.exp: Call sieve with the --no-program-name option. * mailbox/cfg_lexer.c, mailbox/cfg_parser.y: Improve debugging. * mailbox/diag.c: New file. * mailbox/gdebug.c (mu_debug_level_from_string): New function. * mailbox/muerror.c (mu_verror, mu_error): Rewrite using mu_diag functions. * mailbox/syslog.c (mu_diag_level_to_syslog): New function. (mu_diag_syslog_printer): New function. * mh/mh_argp.c (mh_argp_parse): Set prigram name using mu_set_program_name. * mh/mh_init.c (mu_error_printer): No longer needed. * movemail/movemail.c (movemail_error_printer): No longer needed. * include/mailutils/Makefile.am (pkginclude_HEADERS): Add diag.h * include/mailutils/diag.h: New file. * include/mailutils/cfg.h (mu_cfg_lexer_t): Take mu_debug_t as its second argument. * include/mailutils/error.h: Include diag.h (mu_program_name,mu_set_program_name): Remove. Already declared in diag.h. (mu_error_set_print): Deprecated. * mailbox/Makefile.am (libmailutils_la_SOURCES): Add diag.c
Sergey Poznyakoff authored
-
- 28 Jun, 2007 1 commit
-
-
- 27 Jun, 2007 1 commit
-
-
- 26 Aug, 2005 1 commit
-
-
- 23 Jun, 2005 1 commit
-
-
- 17 May, 2005 1 commit
-
-
- 27 Jan, 2004 1 commit
-
-
- 23 Mar, 2003 1 commit
-
-
- 09 Feb, 2003 1 commit
-
-
- 29 Dec, 2002 1 commit
- 05 Aug, 2002 1 commit
-
-
- 04 Aug, 2002 1 commit
-
-
- 02 Jul, 2001 1 commit
-
-
it will save the attribute flags. * imap4d/close.c: Typo. * imap4d/logout: Remove the mailbox_close() and mailbox_destroy() it is being call imap4d_bye (). * imap4d/select.c (imapr3d_select0): call mailbox_save_attributes() if a mailbox was already selected. Feedback from Sergey for the need of saving the attribute flags without expunging. Note, this is a hack, the code is taken from mbox_expunge(mbx_mbox.c) and there is lot of duplication. But since we are moving toward a new mailbox API, the code will be rewritten more cleanly in the new API. * include/mailutils/mailbox.h: Add proto mailbox_save_attributes() * mailbox/include/mailbox0.h: New field in struct _mailbox _save_attributes (mailbox_t); * mailbox/mailbox.c: New function mailbox_save_attributes (). * mailbox/mbx_mbox.c: New function mbox_save_attributes (), implement saving the attribute flags in header field "Status:"
Alain Magloire authored
-
- 23 Apr, 2001 1 commit
-
-
if _REENTRANT is set or not. So for enable thread we take the approach of always defining _REENTRANT. He also noted that when in standalone the child was not exiting.
Alain Magloire authored
-
- 18 Apr, 2001 1 commit
-
-
an email excerpt: states is the valid states for a command (eg. LOGIN is only valid in non-authenticated state, SELECT is valid in authenticated or selected). success is the state to enter when the command completes successfully (STATE_NONE means no change) and failure is the state to enter when the command fails. The fetch code is getting close to completion! ye!
Alain Magloire authored
-
- 26 Jan, 2001 1 commit
-
-
shape and ready. The biggest thing will be the awfull parsing done for FETCH/SEARCH etc .. "This will be for another day" -- Scarlet O'hara
Alain Magloire authored
-
- 04 Sep, 2000 2 commits
-
-
-
Begin the great IMAP4d rewrite - most of the infrastructure is there, now just fill in the blanks
Jakob Kaivo authored
-