History log of /haiku/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Protocol.cpp
Revision Date Author Comments
# e378617b 01-Mar-2017 Dave Thompson <dwt@outlook.com>

Removed INBOX check inside IMAP protocol's GetFolder method

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>


# f429e4f4 04-Feb-2016 Axel Dörfler <axeld@pinc-software.de>

IMAP: Fixed stream vs. parse exception handling.

* Protocol::HandleNextResponse() will now exit when a stream exception
occurs.
* This should fix bug #12601.


# 29871039 21-Dec-2015 Axel Dörfler <axeld@pinc-software.de>

IMAP: Use BStringList instead of STL vector.


# b9962cea 08-Jan-2015 Jérôme Duval <jerome.duval@gmail.com>

IMAP,POP3,NewMailNotification: fixed x86_64 build.

* Notifier::HeaderFetched(): fixed the method signature (go figure how it could
build on x86).
* POP3: fSizes type is now std::vector<size_t> instead of BList. Please review.
off_t might be a better choice.
* added the mail_daemon add-ons to the Haiku package again.


# 3302df14 19-Apr-2013 Axel Dörfler <axeld@pinc-software.de>

imap: WIP of getting fetching headers to work.

* Changed the FetchListener mechanism quite a bit.
* Doesn't seem to work correctly yet, although most pieces are in
place now.


# 7993ddfa 10-Apr-2013 Axel Dörfler <axeld@pinc-software.de>

imap: Fleshed out command processing.

* Still doesn't do anything useful, though.


# a4bdd26d 05-Apr-2013 Axel Dörfler <axeld@pinc-software.de>

imap: Work in progress of connection setup.

* 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.


# adbe8fc9 24-Mar-2013 Axel Dörfler <axeld@pinc-software.de>

IMAP: The connection workers are now started.

* On SyncMessages(), the main connection worker is started if it is not already
running (it may only run already in idle mode).
* This will then list the subscribed folders, and create as many more connection
workers as allowed and make sense.
* Finally, it will distribute the folders to the workers which don't do anything
further yet.


# 077338a9 09-Aug-2012 Axel Dörfler <axeld@pinc-software.de>

Completed literal handling.

* LiteralHandler commands now receive the literal data as intended.
* The 'fetch' command in the imap_tester now uses this to print the literal
to stdout.


# 9192d4dc 14-Dec-2011 Axel Dörfler <axeld@pinc-software.de>

Started working on the IMAP add-on itself.

* Renamed imap_config.cpp to ConfigView.cpp, IMAPFolderConfig.(h|cpp)
to FolderConfigWindow.(h|cpp).
* Got the latter to build.
* Added Settings class to simplify and unify the BMessage based
settings access.
* Removed the InboundProtocol[Thread] implementation from the build for now.


# 17044801 02-Dec-2011 Axel Dörfler <axeld@pinc-software.de>

Read some more specs, cleaned Protocol a bit.

* Added some TODO comments based on the various IMAP specs and extensions.
* Removed SelectMailbox() functionality from the Protocol class; it's not
really useful to have it there.
* Removed some other methods that don't belong into the Protocol class.


# db0a4f2c 01-Dec-2011 Axel Dörfler <axeld@pinc-software.de>

More work in progress of the IMAP rework.

* Implemented FetchCommand, and some more.
* Improved and extended the imap_tester.
* The base to implement the new InboundProtocol on is now mostly done, at least
for a start.


# a5170470 30-Nov-2011 Axel Dörfler <axeld@pinc-software.de>

Got rid of the ConnectionReader, and implemented parsing literals.

* The parser now works on a BDataIO instead. It's now even a bit simpler
overall.
* Implemented ParseLiteral() - the default implementation just reads the data
into a string. Thanks to BDataIO this was now very simple to do.
* Tested the code: imap_tester can now successfully read mails (using the raw
command only, at the moment).


# 37d26ae5 29-Nov-2011 Axel Dörfler <axeld@pinc-software.de>

Work in progress of rewrite; IMAP doesn't even compile at this point.


# b9962ceac27aadd13801512005638300e059d06f 08-Jan-2015 Jérôme Duval <jerome.duval@gmail.com>

IMAP,POP3,NewMailNotification: fixed x86_64 build.

* Notifier::HeaderFetched(): fixed the method signature (go figure how it could
build on x86).
* POP3: fSizes type is now std::vector<size_t> instead of BList. Please review.
off_t might be a better choice.
* added the mail_daemon add-ons to the Haiku package again.


# 3302df142ef8f47c0c0a7d6020b38a63c7cb7403 19-Apr-2013 Axel Dörfler <axeld@pinc-software.de>

imap: WIP of getting fetching headers to work.

* Changed the FetchListener mechanism quite a bit.
* Doesn't seem to work correctly yet, although most pieces are in
place now.


# 7993ddfabaa0069192062289b4fb18c0034cdf76 10-Apr-2013 Axel Dörfler <axeld@pinc-software.de>

imap: Fleshed out command processing.

* Still doesn't do anything useful, though.


# a4bdd26d61967231469220573c4b5ee09e29dd49 05-Apr-2013 Axel Dörfler <axeld@pinc-software.de>

imap: Work in progress of connection setup.

* 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.


# adbe8fc944d2568ba87d7603e921115830ef1416 24-Mar-2013 Axel Dörfler <axeld@pinc-software.de>

IMAP: The connection workers are now started.

* On SyncMessages(), the main connection worker is started if it is not already
running (it may only run already in idle mode).
* This will then list the subscribed folders, and create as many more connection
workers as allowed and make sense.
* Finally, it will distribute the folders to the workers which don't do anything
further yet.


# 077338a9b8c22b209c28e996fb952eb60fe56886 09-Aug-2012 Axel Dörfler <axeld@pinc-software.de>

Completed literal handling.

* LiteralHandler commands now receive the literal data as intended.
* The 'fetch' command in the imap_tester now uses this to print the literal
to stdout.


# 9192d4dcf36ca64087e0702be1ef464c1e49d208 14-Dec-2011 Axel Dörfler <axeld@pinc-software.de>

Started working on the IMAP add-on itself.

* Renamed imap_config.cpp to ConfigView.cpp, IMAPFolderConfig.(h|cpp)
to FolderConfigWindow.(h|cpp).
* Got the latter to build.
* Added Settings class to simplify and unify the BMessage based
settings access.
* Removed the InboundProtocol[Thread] implementation from the build for now.


# 1704480100a35875a8742f3c7a11426d92bb1b46 02-Dec-2011 Axel Dörfler <axeld@pinc-software.de>

Read some more specs, cleaned Protocol a bit.

* Added some TODO comments based on the various IMAP specs and extensions.
* Removed SelectMailbox() functionality from the Protocol class; it's not
really useful to have it there.
* Removed some other methods that don't belong into the Protocol class.


# db0a4f2c001485adccd9b344987ec8a6055626c8 01-Dec-2011 Axel Dörfler <axeld@pinc-software.de>

More work in progress of the IMAP rework.

* Implemented FetchCommand, and some more.
* Improved and extended the imap_tester.
* The base to implement the new InboundProtocol on is now mostly done, at least
for a start.


# a5170470701b5d51ede5a4ec9ef60b28aff62a3f 30-Nov-2011 Axel Dörfler <axeld@pinc-software.de>

Got rid of the ConnectionReader, and implemented parsing literals.

* The parser now works on a BDataIO instead. It's now even a bit simpler
overall.
* Implemented ParseLiteral() - the default implementation just reads the data
into a string. Thanks to BDataIO this was now very simple to do.
* Tested the code: imap_tester can now successfully read mails (using the raw
command only, at the moment).


# 37d26ae5e2143d8c7f8d190cc6913880f2f5ae81 29-Nov-2011 Axel Dörfler <axeld@pinc-software.de>

Work in progress of rewrite; IMAP doesn't even compile at this point.