#
71e79db9 |
|
04-Dec-2020 |
X512 <danger_mail@list.ru> |
fix build after AutoDeleter change Change-Id: Id6ffc8d58821159b1d570bf5ac17d8347d88f7f5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3459 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
6fa27973 |
|
08-Dec-2018 |
Peter Kosyh <p.kosyh@gmail.com> |
IMAP: sync fixes This patch should fix: - deadlocks while manual syncing/shutdown; - crashes while manual syncing/shutdown. Change-Id: I0962ff5580c19cbf740d002b6f62681ed5f558ab Reviewed-on: https://review.haiku-os.org/758 Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
|
#
a6a12662 |
|
17-Nov-2018 |
Peter Kosyh <p.kosyh@gmail.com> |
mail: IMAP fix deadlock when connection failed fLocker must be released in IMAPConnectionWorker::_Worker() before WorkerQuit() call. Change-Id: I1e622a711fa3349986560af1118b158696025844 Reviewed-on: https://review.haiku-os.org/705 Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
|
#
1f41c99f |
|
11-Nov-2018 |
Peter Kosyh <p.kosyh@gmail.com> |
mail: IMAP inbound protocol destructor fix This should fix crashes of mailer_daemon in IMAP workers. This patch makes IMAPConnection destructor wait for all working threads to finish. Also, do not call _Connect for QuitCommand (it speedups shutdown procedure). Change-Id: Idffcc00d3459a96a85a8a073a343bcf4cd4984be Reviewed-on: https://review.haiku-os.org/686 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
2e8be594 |
|
06-Nov-2018 |
Peter Kosyh <p.kosyh@gmail.com> |
mail_daemon: IMAPConnectionWorker missing ::WorkerQuit() on errors This fixes some crashes. In _Worker thread on connect or process errors fOwner.WorkerQuit(this) was not called, leaving destroyed thread object in fWorkerMap and fWorkers. Moreover, on connection problem the imap mailboxes was never checked on next planned sync because of non empty fWorkers. Change-Id: I55ce6474b655fad5ddd8024225fc8f633bc35c48 Reviewed-on: https://review.haiku-os.org/678 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Reviewed-by: waddlesplash <waddlesplash@gmail.com> |
#
2cf9765d |
|
07-Nov-2018 |
waddlesplash <waddlesplash@gmail.com> |
Revert "add-ons/mail_daemon: IMAP: limit UIDs in UID FETCH" This reverts commit ed08b22decaf1f7748dc69b859271f5213065955. See discussion on the commits mailing list (and on IRC.) |
#
ed08b22d |
|
11-Oct-2018 |
Kuroneko <kuroneko@sysadninjas.net> |
add-ons/mail_daemon: IMAP: limit UIDs in UID FETCH Some IMAP servers (such as dovecot) have hard line length limits for commands. The way UID FETCH was being scheduled was creating FETCHes longer than the maximum length. Limit these to a reasonable number of UIDs per fetch, such that we have a hope of success when facing monsterous mailboxes. Change-Id: I8a2184eec1b8fcab6f7914a9b14ad008700b96d1 Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> Reviewed-on: https://review.haiku-os.org/c/haiku/+/626 Style fixes by me, and also replaced emplace_back with push_back for GCC2 compatibility. |
#
f0d35c6d |
|
11-Oct-2018 |
Kuroneko <kuroneko@sysadninjas.net> |
add-ons/mail-daemon: IMAP: fix folder not selected bug on fetch req As the IMAP connection handler disconnects when idle, it loses the folder state at that time - however, it wasn't resetting it's internal folder selected flag. This is now fixed. Change-Id: Ib56f55664ab5d7383a13705a8f4a8585b29f2c92 Reviewed-on: https://review.haiku-os.org/627 Reviewed-by: waddlesplash <waddlesplash@gmail.com> Reviewed-by: Stephan Aßmus <superstippi@gmx.de> |
#
7f8a5c09 |
|
11-Oct-2018 |
Kuroneko <kuroneko@sysadninjas.net> |
add-ons/mail_daemon: remove spurious/unused vector in imap worker Change-Id: Id78ff3ab751fa535362833f30cf62a70f5177975 Reviewed-on: https://review.haiku-os.org/625 Reviewed-by: waddlesplash <waddlesplash@gmail.com> |
#
5e885c5f |
|
03-May-2016 |
Murai Takashi <tmurai01@gmail.com> |
IMAPConnectionWorker.cpp: fix gcc6 build Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> |
#
1870a4b1 |
|
03-Feb-2016 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: Fixed sync command handling. * The counter did not take continuation commands into account, so that it would never reach zero again. * Optimized IMAPConnectionWorker::_WaitForCommands() such that it will always acquire all available "slots". |
#
aeaf68cf |
|
14-Jan-2016 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: Extra local messages are now deleted. * When a message on the server is deleted, it will now be deleted locally, too. |
#
81805393 |
|
04-Jan-2016 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: setting flags, and body fetching works now. * The direct methods in BMailProtocol now forward the request to the looper; it's no longer the mail_daemon's responsibility to know anything about that protocol. * It's in desperate need of refactoring, but it doesn't hurt to add it to the repository as is. |
#
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. |
#
46019292 |
|
18-Jul-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: let mail retrieval scale better. * We now also maintain a mail index -> UID array in IMAPMailbox. * Instead of fetching the message entries by a fixed range of UIDs, we use the message count, and get the entries by index. * Likewise, in FetchHeadersCommand, we now get a list of UIDs rather than a range. This makes it possible to only download exactly the headers we want. * Extended FetchCommand to be able to dynamically build a sequence list from a list of UIDs. * Besides the suboptimal body fetching (one at a time, due to holes in the IMAP specification), we should now be able to retrieve the messages with pretty much optimal performance, while retaining an acceptable responsiveness to user requests. |
#
c1f779e3 |
|
29-May-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: FetchMessageEntriesCommand now also works without UIDs * This will be used to solve the TODO in CheckMailboxesCommand::Process() when the initial message sizes/flags are retrieved. * Also fixed imap_tester build. |
#
1052525d |
|
22-May-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: work in progress of downloading the mail body. * Most things are in place now, we just try to download the body to the wrong file, as the final location is currently unknown. * Added local only kPartialMessage flag for mails, but it's not being used yet. |
#
dcb85ffa |
|
22-May-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: if connecting fails, try again a few times. * Also documented SyncCommand. |
#
29e5da6f |
|
13-May-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: allow only one sync at a time, divided header fetching. * CheckMailboxesCommand, and FetchHeadersCommand now inherit from SyncCommand which will prevent new CheckMailboxesCommand to be enqueued. * FetchHeadersCommand now only retrieves up to kMaxFetchEntries headers at once. This gets the same TODO about scaling as the limit in CheckMailboxesCommand when fetching the flags/UIDs. Since we already read all new UIDs at that point, we could easily do better there, though. |
#
47b68f58 |
|
25-Apr-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: IMAPFolder now stores the last UID. * So mails are no longer downloaded every time. |
#
eba458b9 |
|
24-Apr-2013 |
Axel Dörfler <axeld@pinc-software.de> |
imap: Fetching headers is now working. * No state is stored yet, though, so that all messages will be downloaded over and over 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. |
#
229c7773 |
|
14-Apr-2013 |
Axel Dörfler <axeld@pinc-software.de> |
imap: Testing for new messages is now working. * There is now a CheckSubscribedFoldersCommand that is issued on the main connection that triggers everything. * The new CheckMailboxesCommand divides the new mail check into several portions, and requeues itself until the next step, ie. the FetchHeadersCommand. * The headers of the new mails are downloaded, but nothing is done with them yet. * The actual check for the new mails doesn't scale that well yet, not sure how to properly do this without having to rely on the mail indices. Might be sensible to solve this via some simple heuristic. |
#
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. |
#
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. |
#
2e8be594 |
|
06-Nov-2018 |
Peter Kosyh <p.kosyh@gmail.com> |
mail_daemon: IMAPConnectionWorker missing ::WorkerQuit() on errors This fixes some crashes. In _Worker thread on connect or process errors fOwner.WorkerQuit(this) was not called, leaving destroyed thread object in fWorkerMap and fWorkers. Moreover, on connection problem the imap mailboxes was never checked on next planned sync because of non empty fWorkers. Change-Id: I55ce6474b655fad5ddd8024225fc8f633bc35c48 Reviewed-on: https://review.haiku-os.org/678 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
2cf9765d |
|
07-Nov-2018 |
waddlesplash <waddlesplash@gmail.com> |
Revert "add-ons/mail_daemon: IMAP: limit UIDs in UID FETCH" This reverts commit ed08b22decaf1f7748dc69b859271f5213065955. See discussion on the commits mailing list (and on IRC.)
|
#
ed08b22d |
|
11-Oct-2018 |
Kuroneko <kuroneko@sysadninjas.net> |
add-ons/mail_daemon: IMAP: limit UIDs in UID FETCH Some IMAP servers (such as dovecot) have hard line length limits for commands. The way UID FETCH was being scheduled was creating FETCHes longer than the maximum length. Limit these to a reasonable number of UIDs per fetch, such that we have a hope of success when facing monsterous mailboxes. Change-Id: I8a2184eec1b8fcab6f7914a9b14ad008700b96d1 Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> Reviewed-on: https://review.haiku-os.org/c/haiku/+/626 Style fixes by me, and also replaced emplace_back with push_back for GCC2 compatibility.
|
#
f0d35c6d |
|
11-Oct-2018 |
Kuroneko <kuroneko@sysadninjas.net> |
add-ons/mail-daemon: IMAP: fix folder not selected bug on fetch req As the IMAP connection handler disconnects when idle, it loses the folder state at that time - however, it wasn't resetting it's internal folder selected flag. This is now fixed. Change-Id: Ib56f55664ab5d7383a13705a8f4a8585b29f2c92 Reviewed-on: https://review.haiku-os.org/627 Reviewed-by: waddlesplash <waddlesplash@gmail.com> Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
|
#
7f8a5c09 |
|
11-Oct-2018 |
Kuroneko <kuroneko@sysadninjas.net> |
add-ons/mail_daemon: remove spurious/unused vector in imap worker Change-Id: Id78ff3ab751fa535362833f30cf62a70f5177975 Reviewed-on: https://review.haiku-os.org/625 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
5e885c5f |
|
03-May-2016 |
Murai Takashi <tmurai01@gmail.com> |
IMAPConnectionWorker.cpp: fix gcc6 build Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
|
#
1870a4b1 |
|
03-Feb-2016 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: Fixed sync command handling. * The counter did not take continuation commands into account, so that it would never reach zero again. * Optimized IMAPConnectionWorker::_WaitForCommands() such that it will always acquire all available "slots".
|
#
aeaf68cf |
|
14-Jan-2016 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: Extra local messages are now deleted. * When a message on the server is deleted, it will now be deleted locally, too.
|
#
81805393 |
|
04-Jan-2016 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: setting flags, and body fetching works now. * The direct methods in BMailProtocol now forward the request to the looper; it's no longer the mail_daemon's responsibility to know anything about that protocol. * It's in desperate need of refactoring, but it doesn't hurt to add it to the repository as is.
|
#
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.
|
#
46019292 |
|
18-Jul-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: let mail retrieval scale better. * We now also maintain a mail index -> UID array in IMAPMailbox. * Instead of fetching the message entries by a fixed range of UIDs, we use the message count, and get the entries by index. * Likewise, in FetchHeadersCommand, we now get a list of UIDs rather than a range. This makes it possible to only download exactly the headers we want. * Extended FetchCommand to be able to dynamically build a sequence list from a list of UIDs. * Besides the suboptimal body fetching (one at a time, due to holes in the IMAP specification), we should now be able to retrieve the messages with pretty much optimal performance, while retaining an acceptable responsiveness to user requests.
|
#
c1f779e3 |
|
29-May-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: FetchMessageEntriesCommand now also works without UIDs * This will be used to solve the TODO in CheckMailboxesCommand::Process() when the initial message sizes/flags are retrieved. * Also fixed imap_tester build.
|
#
1052525d |
|
22-May-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: work in progress of downloading the mail body. * Most things are in place now, we just try to download the body to the wrong file, as the final location is currently unknown. * Added local only kPartialMessage flag for mails, but it's not being used yet.
|
#
dcb85ffa |
|
22-May-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: if connecting fails, try again a few times. * Also documented SyncCommand.
|
#
29e5da6f |
|
13-May-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: allow only one sync at a time, divided header fetching. * CheckMailboxesCommand, and FetchHeadersCommand now inherit from SyncCommand which will prevent new CheckMailboxesCommand to be enqueued. * FetchHeadersCommand now only retrieves up to kMaxFetchEntries headers at once. This gets the same TODO about scaling as the limit in CheckMailboxesCommand when fetching the flags/UIDs. Since we already read all new UIDs at that point, we could easily do better there, though.
|
#
47b68f58 |
|
25-Apr-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: IMAPFolder now stores the last UID. * So mails are no longer downloaded every time.
|
#
eba458b9 |
|
24-Apr-2013 |
Axel Dörfler <axeld@pinc-software.de> |
imap: Fetching headers is now working. * No state is stored yet, though, so that all messages will be downloaded over and over 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.
|
#
229c7773 |
|
14-Apr-2013 |
Axel Dörfler <axeld@pinc-software.de> |
imap: Testing for new messages is now working. * There is now a CheckSubscribedFoldersCommand that is issued on the main connection that triggers everything. * The new CheckMailboxesCommand divides the new mail check into several portions, and requeues itself until the next step, ie. the FetchHeadersCommand. * The headers of the new mails are downloaded, but nothing is done with them yet. * The actual check for the new mails doesn't scale that well yet, not sure how to properly do this without having to rely on the mail indices. Might be sensible to solve this via some simple heuristic.
|
#
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.
|
#
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.
|
#
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.
|
#
46019292630b815296175cf61031f574dc15a69e |
|
18-Jul-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: let mail retrieval scale better. * We now also maintain a mail index -> UID array in IMAPMailbox. * Instead of fetching the message entries by a fixed range of UIDs, we use the message count, and get the entries by index. * Likewise, in FetchHeadersCommand, we now get a list of UIDs rather than a range. This makes it possible to only download exactly the headers we want. * Extended FetchCommand to be able to dynamically build a sequence list from a list of UIDs. * Besides the suboptimal body fetching (one at a time, due to holes in the IMAP specification), we should now be able to retrieve the messages with pretty much optimal performance, while retaining an acceptable responsiveness to user requests.
|
#
c1f779e3500b6157de46ccdf7ddccd70850beab9 |
|
29-May-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: FetchMessageEntriesCommand now also works without UIDs * This will be used to solve the TODO in CheckMailboxesCommand::Process() when the initial message sizes/flags are retrieved. * Also fixed imap_tester build.
|
#
1052525dc5cfda3563a36ad82b4a900d7beb5221 |
|
22-May-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: work in progress of downloading the mail body. * Most things are in place now, we just try to download the body to the wrong file, as the final location is currently unknown. * Added local only kPartialMessage flag for mails, but it's not being used yet.
|
#
dcb85ffa51a542a7c1164346fe17fc1ec2168ad2 |
|
22-May-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: if connecting fails, try again a few times. * Also documented SyncCommand.
|
#
29e5da6f2070ba3c177a8383e9ad3e1c4cdcbd0d |
|
13-May-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: allow only one sync at a time, divided header fetching. * CheckMailboxesCommand, and FetchHeadersCommand now inherit from SyncCommand which will prevent new CheckMailboxesCommand to be enqueued. * FetchHeadersCommand now only retrieves up to kMaxFetchEntries headers at once. This gets the same TODO about scaling as the limit in CheckMailboxesCommand when fetching the flags/UIDs. Since we already read all new UIDs at that point, we could easily do better there, though.
|
#
47b68f5806099ae651be808e3b119c2a6ee06be9 |
|
25-Apr-2013 |
Axel Dörfler <axeld@pinc-software.de> |
IMAP: IMAPFolder now stores the last UID. * So mails are no longer downloaded every time.
|
#
eba458b9407056235aeb184a038e202b2d7bfe5e |
|
24-Apr-2013 |
Axel Dörfler <axeld@pinc-software.de> |
imap: Fetching headers is now working. * No state is stored yet, though, so that all messages will be downloaded over and over 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.
|
#
229c7773234389164b47efc09f348b248b8caf47 |
|
14-Apr-2013 |
Axel Dörfler <axeld@pinc-software.de> |
imap: Testing for new messages is now working. * There is now a CheckSubscribedFoldersCommand that is issued on the main connection that triggers everything. * The new CheckMailboxesCommand divides the new mail check into several portions, and requeues itself until the next step, ie. the FetchHeadersCommand. * The headers of the new mails are downloaded, but nothing is done with them yet. * The actual check for the new mails doesn't scale that well yet, not sure how to properly do this without having to rely on the mail indices. Might be sensible to solve this via some simple heuristic.
|
#
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.
|
#
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.
|