1. 05 Oct, 2001 1 commit
    • 	There is no parenthesis when we send the UIDVALIDITY/UNSEEN.
      
      	* mailbox/header.c (header_free_cache): New function.
      	(fill_blurb): Call header_free_cache to release memory.
      	(header_destroy): Move the code to header_free_cache().
      	(header_set_fvalue): Accept a NULL value, it will permanent
      	failure i.e. the header does not exist.
      	(header_get_value): Check the cache provided by the header object
      	then the cache from _get_fvalue() and fall back to downloading
      	the entire header.
      	* mailbox/mbx_imap.c (imap_hader_get_fvalue): Implement a cache
      	in IMAP for the most use headers like "FROM, SUBJECT ....".
      	* mailbox/include/imap0.h: New field in _m_imap to hold the
      	header cache.
      	* mailbox/mapfile_stream.c: signed and unsigned cast.
      Alain Magloire authored
  2. 04 Oct, 2001 2 commits
  3. 03 Oct, 2001 2 commits
  4. 02 Oct, 2001 2 commits
    • Alain Magloire authored
    • 	* mailbox2/include/mailutils/sys/mbox.h: New prototypes.
      	* mailbox2/mbox/*.c: Finish implementation.
      	* mailbox2/attribute.c: Add user flags.
      	* mailbox2/dattribute.c: Add user flags.
      
      	To be compatible with the old mailbox, all stream read
      	and write take an offset. Removed stream_seek () and add
      	stream_is_seekable() instead.
      	* mailbox2/stream.c: Likewised.
      	* mailbox2/bstream.c: Likewised.
      	* mailbox2/fdstream.c: Likewised.
      	* mailbox2/fstream.c: Likewised.
      	* mailbox2/mapstream.c: Likewised.
      	* mailbox2/memstream.c: Likewised.
      	* mailbox2/tcpstream.c: Likewised.
      
      	* mailbox2/include/mailutils/error.h: Add EBADFD.
      Alain Magloire authored
  5. 27 Sep, 2001 1 commit
  6. 26 Sep, 2001 1 commit
  7. 24 Sep, 2001 1 commit
  8. 23 Sep, 2001 2 commits
    • Alain Magloire authored
    • 	the base functions/methods visible so the extended object
      	could reuse some base methods if necessary.  Inheritance
      	is possible because we always add to the end of the vtable
      	structure new functions.
      	For example, mime_t object will be also a message_t.
      	and it will be possible to do
      	{
      	  mime_t mime;
      	  header_t header;
      	  ...
      	  message_get_header ((message_t)mime, header);
      	}
      	Another example is tcpstream(socket stream) extends
      	fdstream(file description stream);
      	Also the name of the functions have change to match better
      	there purpose.
      
      	* mailbox2/Makefile.am: lockfile.c added.
      	* mailbox2/bstream.c: Reoganisation to make the
      	functions visible.
      	* mailbox2/dattribute.c: Likewise.
      	* mailbox2/dotlock.c: Likewise.
      	* mailbox2/fdstream.c: Likewise.
      	* mailbox2/fstream.c: Likewise.
      	* mailbox2/mapstream.c: Likewise.
      	* mailbox2/memstream.c: Likewise.
      	* mailbox2/pticket.c: Likewise.
      	* mailbox2/sdebug.c: Likewise.
      	* mailbox2/tcpstream.c: Likewise.
      
      	* mailbox2/include/mailutils/Makefile.am: lockfile.h added.
      	* mailbox2/include/mailutils/attribute.h: Add the new prototypes.
      	* mailbox2/include/mailutils/mbox.h: Add the new prototypes.
      	* mailbox2/include/mailutils/stream.h: Add the new prototypes.
      
      	* mailbox2/include/mailutils/sys/Makefile.am: dattribute.h lockfile.h
      	mapstream.h pticket.h added.
      	* mailbox2/include/mailutils/sys/bstream.h: Add new prototypes.
      	* mailbox2/include/mailutils/sys/fdstream.h: Likewise.
      	* mailbox2/include/mailutils/sys/fstream.h: Likewise.
      	* mailbox2/include/mailutils/sys/mbox.h: Likewise.
      	* mailbox2/include/mailutils/sys/memstream.h: Likewise.
      	* mailbox2/include/mailutils/sys/sdebug.h: Likewise.
      	* mailbox2/include/mailutils/sys/tcpstream.h: Likewise.
      Alain Magloire authored
  9. 20 Sep, 2001 7 commits
  10. 19 Sep, 2001 6 commits
  11. 18 Sep, 2001 9 commits
  12. 17 Sep, 2001 6 commits