- 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
-
- 04 Oct, 2001 2 commits
-
-
-
the \\Delete flag and just keep it locally. The expunge will take care of resending it. (imap_attr_get_flags): Likewised.
Alain Magloire authored
-
- 03 Oct, 2001 2 commits
-
-
- 02 Oct, 2001 2 commits
-
-
-
* 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
-
- 27 Sep, 2001 1 commit
-
-
- 26 Sep, 2001 1 commit
-
-
- 24 Sep, 2001 1 commit
-
-
Changes are too numerous to enumarate. * mailbox2/mbox/*.[ch]: First mbox implementation. * mailbox2/mbox/Makefile.am: New file.
Alain Magloire authored
-
- 23 Sep, 2001 2 commits
-
-
-
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
-
- 20 Sep, 2001 7 commits
-
-
-
-
reg_num,reg_str gets set only when reducing to pitems. Fixed if-blocks to save the result of the last evaluated conditional to reg_num.
Sergey Poznyakoff authored -
-
-
mu_debug_print(). * mailbox2/sdebug.c (mu_debug_stream_create): New function replace mu_debug_stdio_create(). * mailbox2/fdstream.c (_fds_desroy): Do not close the stream when distroying, it should have been done explicitely with stream_close (); * mailbox2/fstream.c (_fs_desroy): Do not close the stream when distroying, it should have been done explicitely with stream_close (); * mailbox2/mapstream.c (_map_desroy): Do not close the stream when distroying, it should have been done explicitely with stream_close (); * mailbox2/memstream.c (_memory_desroy): Do not close the stream when distroying, it should have been done explicitely with stream_close (); * mailbox2/tcpstream.c (_tcp_desroy): Do not close the stream when distroying, it should have been done explicitely with stream_close ();
Alain Magloire authored
-
- 19 Sep, 2001 6 commits
-
-
- 18 Sep, 2001 9 commits
-
-
-
-
-
-
-
-
_mh_message_save(): scan the message while saving it. If expunge==0, do not create temporary, operate directly on the message file instead. mh_append_message(): Do not rescan appended message. mh_scan_message(): Do not rescan the message if it's not changed
Sergey Poznyakoff authored -
-
exchanges between the library and the server. * mailbox2/pop3/*: Add debug prints in all. * mailbox2/sdebug.c: New entry. * mailbox2/debug.c: New entry. * mailbox2/Makefile.am: Add debug object * mailbox2/include/mailutils/Makefile.am: Add debug.h * mailbox2/include/mailutils/sys/Makefile.am: Add debug.h and sdebug.h * mailbox2/include/mailutils/debug.h: New file. * mailbox2/include/mailutils/sys/debug.h: New file. * mailbox2/include/mailutils/sys/sdebug.h: New file. * mailbox2/fdstream.c: Bug in fdstream do not call FD_SET if the file descriptor is -1; * mailbox2/tcpstream.c: Bug in fdstream do not call FD_SET if the file descriptor is -1;
Alain Magloire authored
-
- 17 Sep, 2001 6 commits
-
-
-
-
mh_append_message(): missed assignment to mhd member of struct _mh_data. mh_message_number(): new function. It is the only way to get the message sequence number.
Sergey Poznyakoff authored -
-
instead. Implemented -form and -header options. Use \f to clear screen if stdout is not a tty.
Sergey Poznyakoff authored -
-