History log of /haiku/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Response.h
Revision Date Author Comments
# 55d6d58d 05-Nov-2020 Murai Takashi <tmurai01@gmail.com>

mail_daemon/inbound_protocols/imap: Fix dynamic exception specifications

Remove dynamic exception specifications from Responce.c,
since Protocol::HandleResponse() handled exception handling
for ResponseParser::NextResponse() and Response::Parse().

Change-Id: I32e5cf976de765df2c8b5ca99eeaa80c57dbf254
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3384
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>


# fa94c7d6 21-Nov-2018 Peter Kosyh <p.kosyh@gmail.com>

mail: IMAP fix recv forever loop on server close connection

When reading stream from closed (by server) TCP socket throw StreamException (not ParseException).
This fixes forever loop in Protocol::HandleResponse on server disconnect.

This patch fixes #14710

Change-Id: I29e9830b360cb56cb1ef037c0378d64422075c4d
Reviewed-on: https://review.haiku-os.org/724
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


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


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


# 9234fd43 17-Apr-2013 Axel Dörfler <axeld@pinc-software.de>

imap: Implemented encoding RFC3501 strings.

* Was completely missing so far.
* Fixed bug in decoding that handled the "&-" sequence incorrectly.
* Added small test application that should easily be convertible to
a unit test.


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

Added support for decoding RFC-3501 mailbox names.

* Added new RFC3501Encoding class that implements modified UTF-7 as specified
in RFC-3501; only decoding is implemented right now.
* ListCommand now uses this new class to encode, and decode the folder names.


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


# 51b5d92e 02-Nov-2011 Axel Dörfler <axeld@pinc-software.de>

* ArgumentList now inherits from BObjectList instead of aggregating it.
* Fixed BString::ICompare() checks.
* Minor other improvements.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43144 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b47bd3cf 31-Oct-2011 Axel Dörfler <axeld@pinc-software.de>

* Work in progress of an IMAP response parser that will replace weak and
error prone parsing method that is currently utilized by the IMAP module.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43052 a95241bf-73f2-0310-859d-f6bbb57e9c96


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


# 9234fd439edf8e9047e7eceb9ad34ee39b192edb 17-Apr-2013 Axel Dörfler <axeld@pinc-software.de>

imap: Implemented encoding RFC3501 strings.

* Was completely missing so far.
* Fixed bug in decoding that handled the "&-" sequence incorrectly.
* Added small test application that should easily be convertible to
a unit test.


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

Added support for decoding RFC-3501 mailbox names.

* Added new RFC3501Encoding class that implements modified UTF-7 as specified
in RFC-3501; only decoding is implemented right now.
* ListCommand now uses this new class to encode, and decode the folder names.


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


# 51b5d92eda4464632f1cc42b97ac691d7f8e9377 02-Nov-2011 Axel Dörfler <axeld@pinc-software.de>

* ArgumentList now inherits from BObjectList instead of aggregating it.
* Fixed BString::ICompare() checks.
* Minor other improvements.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43144 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b47bd3cf51bd9a3c0d1b779369635582d42871a9 31-Oct-2011 Axel Dörfler <axeld@pinc-software.de>

* Work in progress of an IMAP response parser that will replace weak and
error prone parsing method that is currently utilized by the IMAP module.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43052 a95241bf-73f2-0310-859d-f6bbb57e9c96