1. 10 Apr, 2001 3 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
    • 	* pop3d/top.c (pop3_top): No need to reallocate when sending the
      	headers.
      Alain Magloire authored
  2. 07 Apr, 2001 4 commits
  3. 05 Apr, 2001 4 commits
    • Update. · c6d08dd1
      Alain Magloire authored
    • Alain Magloire authored
    • 	perform some filtering on it.  All the decoding streams will move
      	to this i.e. quoted-printable, base64 etc .. This scheme will also
      	permit users to add to the list new filters.  Still work in progress.
      
      	* mailbox/Makefile.am : Add filter.c filter_rfc822.c.
      	* mailbox/body.c ( : When creating a floating body i.e creating
      	a temporary file, the stream was not "own" by the body_t.
      	(_body_get_fd): Likewised.
      	(_body_read):_ Likewised.
      	(_body_readline): Likewised.
      	(_body_write): Likewised.
      	(_body_truncate): Likewised.
      	(_body_size): Likewised.
      	(_body_flush): Likewised.
      
      	* mailbox/folder_imap.c (imap_literal_string): Check if the
      	callback.buffer is NULL.
      	(imap_body): Do no set the callback.type if "FIELDS" is part of the
      	string.
      
      	* mailbox/header.c: Remove the support for RFC822 it will be part
      	of the filter_t object.
      	* mailbox/mbx_mbox.c: Likewised.
      	* mailbox/mailbox.c (mailbox_size): Rename to mailbox_get_size().
      
      	* mailbox/stream.c (stream_is_seekable): New function.
      	(stream_set_property): New function.
      	(stream_get_property): New function.
      
      	* mailbox/trans_stream.c: Beautify.
      Alain Magloire authored
  4. 21 Mar, 2001 2 commits
  5. 19 Mar, 2001 4 commits
  6. 18 Mar, 2001 1 commit
  7. 16 Mar, 2001 1 commit
  8. 13 Mar, 2001 7 commits
  9. 09 Mar, 2001 2 commits
  10. 08 Mar, 2001 4 commits
  11. 05 Mar, 2001 1 commit
  12. 02 Mar, 2001 1 commit
  13. 28 Feb, 2001 2 commits
  14. 27 Feb, 2001 1 commit
    • doc/mailbox.texi: ?
      imap4d/fetch.c: Cool!  Things are finally falling in place for the
      fetch, pieces missing:  bodystructures, body[header.fields],
      body[header.fields.not].  I need to find a way to cleanly check the
      spacing, I got things like:
      * FETCH 1 ( FLAGS ( \Read \Seen ))
      Which is compliant but too many spaces at the compliant it should be
      * FETCH 1 (FLAGS (\Read \Seen ))
      imap4d/imap4d.h imap4d/util.c : New helper function util_token().
      mailbox/mbx_imap.c : getting the size of the subparts from the bodystructure.
      Alain Magloire authored
  15. 26 Feb, 2001 1 commit
    • doc/mailbox.texi : Why is this always show? I did not touch it.
      lib/strtok_r.c : Return NULL and save the old pointer.
      mailbox/folder_imap.c mailbox/mbx_imap.c: Implement FETCH .. ye!!!
      mailbox/mbx_mbox.c : some comments.
      Alain Magloire authored
  16. 23 Feb, 2001 1 commit
    • will permit to change the behaviour of the mailbox.  For example
      POP3 and IMAP4 streams are RFC822 meaning they end with "\r\n",
      Now I'm doing ugly hack to convert it and maintain the offset,
      that does not work well.  Rather lets put the trouble on
      the client ;-) but by setting property_set ("RFC822_FORMAT");
      the conversion "\r\n" can still be done. But it will be up
      to the client to do the offset calculation.
      Alain Magloire authored
  17. 22 Feb, 2001 1 commit