imap: Work in progress of connection setup

Operating Systems / Haiku - Axel Dörfler [pinc-software.de] - 6 January 2015 08:25 UTC

- SelectCommand now correctly encodes the mailbox name again.
- Hierarchy separators from the LIST/LSUB commands are now properly parsed, and taken into account.
- Folders in the file system are now created for mailboxes on the server, supporting hierarchical mailbox names.
- A connection worker now has an IMAPFolder that handles the local side of the mailbox, and an IMAPMailbox that handles the server side.
- Connection workers are now created/deleted, and setup correctly. They will now also wait in case they don't have a mailbox until they get some.

a4bdd26 imap: Work in progress of connection setup.
.../inbound_protocols/imap/FolderConfigWindow.cpp | 7 +-
.../imap/IMAPConnectionWorker.cpp | 102 +++++++++++-----
.../inbound_protocols/imap/IMAPConnectionWorker.h | 18 ++-
.../inbound_protocols/imap/IMAPFolder.cpp | 22 +++-
.../inbound_protocols/imap/IMAPFolder.h | 17 +--
.../inbound_protocols/imap/IMAPMailbox.cpp | 48 ++++++++
.../inbound_protocols/imap/IMAPMailbox.h | 40 +++++++
.../inbound_protocols/imap/IMAPProtocol.cpp | 122 +++++++++++++++-----
.../inbound_protocols/imap/IMAPProtocol.h | 15 ++-
.../mail_daemon/inbound_protocols/imap/Jamfile | 4 +-
.../inbound_protocols/imap/Utilities.cpp | 21 ++++
.../mail_daemon/inbound_protocols/imap/Utilities.h | 15 +++
.../inbound_protocols/imap/imap_lib/Commands.cpp | 27 ++++-
.../inbound_protocols/imap/imap_lib/Commands.h | 11 +-
.../inbound_protocols/imap/imap_lib/Protocol.cpp | 7 +-
.../inbound_protocols/imap/imap_lib/Protocol.h | 6 +-
16 files changed, 381 insertions(+), 101 deletions(-)

Upstream: cgit.haiku-os.org


  • Share