- 16 Apr, 2001 4 commits
-
-
- 15 Apr, 2001 2 commits
-
-
-
* examples/{Makefile,Addrs,addr.c,Addrs.good}: address test f/w. * include/mailutils/address.h,mailbox/{address.c,parse822.c}: now stuff a group name into an _address, and added a function to do a quick check if it is a group. * mailbox/parse822.c: fixed bug where ",sam@foo.bar" wasn't valid.
Alain Magloire authored
-
- 14 Apr, 2001 9 commits
-
-
-
-
-
* mailbox/folder_imap.c: When calling imap_writeline () the cookie for the tag should be unsigned %d --> %u. (imap_send) : The number of bytes in memmove was wrong. * mailbox/mbx_imap.c: Some duplicate degug calls MAILBOX_DEBUG0() removed. (attribute_string): IMAP does not have a \\Read flag it should be the same as \\Seen so attribute_read() == attribute_seen(). (flag_string): New function. (imap_attr_set_flags): Use flag_string(), instead. * mailbox/include/imap0.h: CLEAR_STATE() should also deselect the current mailbox. * mailbox/mbx_pop.c (pop_write): The number of bytes in the memmove was wrong. * imap4d/imap4d.h: Add HAVE_SECURITY_PAM_APPL_H. * imap4d/login.c: PAM_ERROR wrongly define. * imap4d/expunge.c: Initialise variable sp. * imap4d/logout.c: Initialise variable sp. * imap4d/noop.c: Initialise variable sp. * configure.in: AC_REP_FUNC(vasprintf). * include/mailutils/Makefile.am: Add property.h, parse822.h. * lib/vasprintf.c: Taken from libit. (AM_INIT_AUTOMAKE): Change version to 0.0.9
Alain Magloire authored -
-
-
-
- 13 Apr, 2001 4 commits
-
-
-
made during the tidying over the last month were: - use C comments only. - don't use C++ reserved words. - fix is_digit() to be like the other is functions - Changed return codes to: . no mem (ENOMEM) . function wasn't called correctly, usually a missing argument (EINVAL) . invalid syntax found during parsing (ENOENT) . success == 0 - const-corrected the APIs - removed unnecessary (in C) casts. - mailbox_t* removed in favor of address_t. - fix handful of memory leaks detected by Alain.
Alain Magloire authored -
-
-
- 12 Apr, 2001 1 commit
-
-
- 10 Apr, 2001 13 commits
-
-
-
-
-
-
-
-
-
-
-
* mailbox/attachment.c (message_create_attachment): use filter_create(). (message_save_attachment): use filter_create(). * mailbox/body.c (body_set_lines): Wrong comparison for the owner. * mailbox/mbx_mbox.c: Do not count the line separtor of part of the mailbox. * mailbox/url.c (url_is_same_sheme): New function. (url_is_same_user): New function. (url_is_same_path): New function. (url_is_same_host): New function. (url_is_same_port): New function. * mailbox/folder.c : Moved the is_same_*() functions in url.c they can be generally usefull. (is_same_sheme): Removed. (is_same_user): Removed. (is_same_path): Removed. (is_same_host): Removed. (is_same_port): Removed. * mailbox/folder_imap.c (folder_imap_create): New function, CREATE a new mailbox. (folder_imap_open): Calls folder_imap_create when the MU_STREAM_CREAT flag is set. * mailbox/mbx_imap.c: Appending messages implemented, if the message comes from the same imap folder, it is COPY otherwise APPEND. (is_same_folder): New function. (imap_append_message): Implemented. (attribute_string): New functions. (imap_copy_message): New function. * mailbox/include/imap0.h: New enum, IMAP_APPEND, IMAP_APPEND_ACK, IMAP_APPEND_CONT, IMAP_APPEND_SEND, IMAP_COPY, IMAP_COPY_ACK, IMAP_CREATE, IMAP_CREATE_ACK. * mailbox/parse822.c: New parser. * include/mailutils/parse822.h: New file. * mailbox/address.c (address_create): Remove the old parsing and use parse822 as the underlying engine. (address_parse): Removed. (gettoken): Removed. (quotes): Removed. (address_get_personal): Remove the code to unquote, parse822 takes care if it. Return value when no field is ENOENT. (address_get_comments): Reutrn value when no field ENOENT. (address_get_local_part): Reutrn value when no field ENOENT. (address_get_domain): Reutrn value when no field ENOENT. (address_get_email): Reutrn value when no field ENOENT. (address_get_route): Reutrn value when no field ENOENT. * mailbox/message.c (message_sender): Use parse822 to retrieve the email from the From: field. (message_set_mailbox): New function. * mailbox/misc.c : Removed the old parsing code. (gettoken): Removed. (parseaddr): Removed. * mailbox/include/misc.h : Removed parseaddr() prototypes. From Sam Roberts, the new parse822 parser..
Alain Magloire authored -
-
- 07 Apr, 2001 4 commits
-
-
- 05 Apr, 2001 3 commits
-
-