1. 22 Oct, 2001 1 commit
  2. 21 Oct, 2001 2 commits
  3. 20 Oct, 2001 2 commits
    • Alain Magloire authored
    • 	* doc/texinfo/mbox.texi: Update the doc for mbox(Unix).
      	* doc/texinfo/pop.texi: Update the doc for mbox(Unix).
      
      	* imap4d/expunge.c: Bug:  Expunge was not sending the
      	untag "* %d EXPUNGED" for message deleted.  Call imap4d_sync ()
      	which will do the right thing.
      	* imap4d/noop.c: Bug: It should call imap4d_sync () to notify
      	the client of any changes.
      	* imap4d/sync.c (notify_deleted): Typo should be EXPUNGED
      	with a D.
      	(imap4d_sync): Bug: Checked also if the number of messages changed.
      
      	* mailbox/folder_imap.c (imap_flags): Bug: Rewrite it to be generic
      	and sets the flags for the attribute.
      	(imap_fetch_flags): Call imap_flags().
      	(imap_permanentflags): Call imap_flags().
      
      	* mailbox2/include/mailutils/mbox.h: Update prototypes.
      	* mailbox2/include/mailutils/sys/mbox.h: Update prototypes.
      	* mailbox2/include/mailutils/pop3.h: Update prototypes.
      	* mailbox2/mbox/mbox_expunge.c (mbox_expunge): Calls mbox_expunge0 ().
      	(mbox_save): Calls mbox_expunge0().
      	* mailbox2/mbox/mbox_scan.c (mbox_scan): Calls mbox_scan0 ().
      	(mbox_count): Calls mbox_scan0().
      	* mailbox2/pop3/pop3_capa.c: Provide a special iterator.
      	* mailbox2/pop3/pop3_lista.c: Provide a special iterator.
      	* mailbox2/pop3/pop3_uidla.c: Provide a special iterator.
      Alain Magloire authored
  4. 19 Oct, 2001 12 commits
  5. 17 Oct, 2001 12 commits
  6. 16 Oct, 2001 5 commits
  7. 15 Oct, 2001 5 commits
    • Jeff Bailey authored
    • 	Bad analysis on my part. Functions removed.
      
      	* configure.in: Bump to 0.0.9b
      
      	* TODO: Put a note apropos mailbox2.
      Alain Magloire authored
    • 	The buffer was not null terminated if no newline was found.
      Alain Magloire authored
    • 	hacks.  Something to remember for the mailbox2 is to do some
      	smart caching, the current buffered stream is not good enough.
      
      	* configure.in: VERSION is set to 0.0.9a for the alpha.
      	* frm/frm.c: Protype for usage(). get_personal() should use
      	const char *.
      	* mail/mail.c (main): Use mailbox_scan() instead of
      	mailbox_messages_count () it is faster for IMAP.
      
      	* mailbox/mbx_imap.c(imap_get_message0): Remove the
      	stream_setbufsiz() it is no longer used.
      	(imap_message_readline imap_body_readline):
      	Bug fix, readline will only consume up to '\n' even though the
      	buffer is bigger.  So we have to adjust the offset/lines/size
      	to reflect what we consume.  This is not very good for example
      	doing:
      	{
      	   off_t offset = 14;
      	   char buffer[512];
      	   stream_readline (stream, buffer, sizeof buffer, offset, NULL);
      	   ...
      	}
      	Will send to the impap server.
      	C: g445 FETCH 4 BODY.PEEK[2]<0.2048>
              S: * 4 FETCH (BODY[2]<0> {739}
      	S: g445 OK FETCH completed
      
      	This is waste since the first line is only 37 bytes.  We will
      	have to come up on the second API with some smart caching.
      
      	* mailbox/memory_stream.c (_memory_write): Nasty bug
      	was not updating the stream size.
      	* mailbox/stream.c(stream_readline): Take care of known
      	case where the buflen is 0 or 1.
      Alain Magloire authored
    • 	it is the same approach as in mail/util.c(environment) settings.
      	The old code was simply overkill, property_t was seldomly use
      	if at all and no need for heavy hash table and all that jazz.
      
      	* mailbox/property.c:  New code, the same as mail/util.c
      	environment.
      	* mailbox/mbx_mbox.c (_mbx_init): Remove property_add_defaults() etc ..
      	no longer in use in the initialisation code.
      	* mailbox/mbx_imap.c: Likewised
      	* mailbox/mbx_pop.c: Likewised
      	* mailbox/mbx_mh.c: Likewised
      	* mailbox/header.c: Remove property code.
      	* mailbox/body.c: Remove property code.
      	* mailbox/message.c: Remove property code.
      	* mailbox/filter.c: Change the code according to the new property_t.
      	* mailbox/filter_rfc822.c: Change the code according to the new
      	property_t.
      	* include/mailutils/header.h: Remove property.
      	* include/mailutils/body.h: Remove property.
      	* include/mailutils/message.h: Remove property.
      	* include/mailutils/property.h: Remove property_add_defaults()
      	property_set_valued () takes one more argument for overwrite.
      	* mailbox/include/header0.hy: Remove property field.
      	* mailbox/include/body0.hy: Remove property field.
      	* mailbox/include/message0.hy: Remove property field.
      	* mailbox/mailbox.c(mailbox_get_property mailbox_set_property):
      	Changed Property code.
      	* mailbox/mailer.c(mailer_set_property mailer_get_property):
      	Changed Property code.
      
      	* mailbox/folder_imap.c (imap_search imap_expunge imap_status): Stubs
      	Search is not implemented yet, STATUS neither and EXPUNGE is not used.
      
      	* mailbox/list.c: Rename variable index to indx to shutup
      	gcc whos confusing with index() when warning level was high.
      	* mailbox/md5-rsa.c: Likewised.
      
      	* mailbox/mailbox.c (mailbox_get_debug mailbox_set_debug):
      	The debug object was being set on the folder not the mailbox.
      
      	* mailbox/mbx_imap.c (imap_messages_count): Attempt to reconnect
      	if the connection timeout.  Is this wise ?
      	(imap_scan0): Move gut of imap_scan() code tho here.
      	(imap_scan): Stub calling imap_scan0() with notification enable.
      	(imap_expunge): After CLOSE, call imap_scan0() wiht notification
      	disable.
      
      	Memory leak in parse822, this was a real pain to trace, because
      	of the recursive nature of the algorithm.  Sam should buy me
      	a beer for this.
      
      	* mailbox/parse822.c: Use more assert to catch errors.
      	(parse822_group): phrase was not free() in case of failure.
      	(parse822_mail_box): Dead if branch remove and free phrase.
      	(parse822_route): accumulator was not being freed.
      	(parse822_local_part): Move down st_free(more).
      	(parse822_domain): Move down st_free(more).
      Alain Magloire authored
  8. 14 Oct, 2001 1 commit