Commit Graph

1053 Commits

Author SHA1 Message Date
Vincent Richard
a2708e745c Fixed possible issues with EAGAIN on Windows. 2014-02-26 19:10:40 +01:00
Vincent Richard
86eae80b68 Merge branch 'master' of https://github.com/kisli/vmime 2014-02-24 22:28:55 +01:00
Vincent Richard
4bb1930f01 Non exception-driven IMAP parser. 2014-02-24 22:28:40 +01:00
Vincent Richard
87807e2186 Merge pull request #70 from kisli/pr/69
Make serviceFactory::create throw instead of dying for invalid protocols.
2014-02-23 15:36:21 +01:00
Vincent Richard
0b03b3267c Make serviceFactory::create throw instead of dying for invalid protocols. 2014-02-23 15:34:35 +01:00
Vincent Richard
c13683466a Fixed documentation. 2014-02-16 10:40:10 +01:00
Vincent Richard
c860c273d3 Added support for initial response in SASL authentication. 2014-02-13 22:23:59 +01:00
Vincent Richard
c655495025 Fixed problem when custom registered mechanism is used.
User-defined mechanisms should be tested first. Added function to
determine whether a mechanism is built-in.
2014-02-13 21:08:37 +01:00
Vincent Richard
dc5f9fd6e6 Demonstrates extraction of attachments from a message in a remote store. 2014-02-08 01:12:37 +01:00
Vincent Richard
3fe31cbc0a Fixed extraction of message parts in IMAP. 2014-02-08 01:08:02 +01:00
Vincent Richard
d49ce7cd4d Windows charset converter (thanks to ElmüSoft). 2014-02-06 21:29:59 +01:00
Vincent Richard
647c931664 Merge branch 'master' of https://github.com/kisli/vmime 2014-02-05 20:52:08 +01:00
Vincent Richard
c4300a9d62 Added example and in-code documentation for time out handler. 2014-02-05 20:19:13 +01:00
Vincent Richard
0d20ee083b Better polling. Fixed possible connection issues on POSIX with slow network. Better error handling in POSIX sockets. 2014-02-05 20:18:20 +01:00
laurent-richard
37869c06ce Fixed null value in Windows build. 2014-02-05 14:23:04 +01:00
Vincent Richard
595259332a Merge branch 'master' of https://github.com/kisli/vmime 2014-01-31 21:54:38 +01:00
Vincent Richard
6d417b1db7 Fixed type. 2014-01-31 21:53:40 +01:00
Vincent Richard
ebfd1ecfef Merge pull request #67 from tholdawa/constFix
Change path::toString to be a const function
2014-01-26 12:42:05 -08:00
tholdawa
e09be498be Change path::toString to be a const function 2014-01-24 15:11:13 -08:00
Vincent Richard
64ffcdb456 Merge pull request #66 from tholdawa/master
Fix IMAPMessage::processFetchResponse bad_field_value_type for Cc and Bcc fields
2014-01-22 13:21:33 -08:00
tholdawa
66628d1fc5 Merge remote-tracking branch 'upstream/master' 2014-01-22 11:27:46 -08:00
tholdawa
4b1ffebaa9 IMAPMessage::processFetchResponse was attempting to set Cc and Bcc header fields to values of type mailboxList.
HeaderFieldFactory registers these fields as type adddressList, so a bad_field_value_type exception was
thrown when processing a fetch response for a message with either Cc or Bcc fields.

Fixed by calling toAddressList on the mailboxList header field values to convert them to expected type.
2014-01-22 11:26:57 -08:00
Vincent Richard
d4c30d9b7b Fixed build of examples. 2014-01-21 20:23:51 +01:00
tholdawa
bf395a8d87 Merge remote-tracking branch 'upstream/master' 2014-01-20 15:23:27 -08:00
Vincent Richard
6c9a32d314 Use appropriate syntax for rethrowing exceptions. 2014-01-19 23:27:37 +01:00
Vincent Richard
ab5a0b75db SASL is the only authentication method supported in SMTP (no fallback). 2014-01-19 22:50:37 +01:00
Vincent Richard
2e042dd65f Calling getAttributes() does not require the folder to be open. 2014-01-19 17:39:49 +01:00
Vincent Richard
6eaf199c69 Do not flag existing messages as recent. 2014-01-19 17:27:23 +01:00
Vincent Richard
58bad6e488 Path to/from string conversion. 2014-01-19 17:25:25 +01:00
Vincent Richard
5ec4ea4aa2 Better error message. 2014-01-19 16:52:49 +01:00
Vincent Richard
74e8e47926 Fixed possible crash when COPYUID/APPENDUID is not supported by the server. 2014-01-19 16:45:28 +01:00
Vincent Richard
2e4bdab704 Fixed argument to handshake(). 2014-01-19 16:45:01 +01:00
Vincent Richard
2afe340b7b In SSL socket, use timeout handler of underlying socket. Throw exception when reading from/writing to disconnected SSL socket. 2014-01-19 16:36:45 +01:00
Vincent Richard
b6469f68a8 Fixed SMTP disconnection error caused by handshake failure. 2014-01-19 16:36:06 +01:00
Vincent Richard
24eff0069b Added test for "+" not followed by space in continue_req. 2014-01-16 22:51:33 +01:00
tholdawa
280b259930 Merge remote-tracking branch 'upstream/master' 2014-01-16 10:51:51 -08:00
Vincent Richard
599be47555 Merge pull request #65 from kisli/tholdawa-master
C++11 std::shared_ptr fixes.
2014-01-16 10:32:15 -08:00
Vincent Richard
10859dc9ef C++11 std::shared_ptr fixes. 2014-01-16 19:31:11 +01:00
Vincent Richard
2a8e8f65d6 Fixes for socket using 'byte_t' type. 2014-01-16 19:17:50 +01:00
Vincent Richard
ef892af655 Do not make calls to setlocale() in a library. Use default user locale in tests and examples. 2014-01-16 00:27:51 +01:00
Vincent Richard
1a04575750 Avoid calling charset::convert() if no conversion is needed. 2014-01-16 00:17:35 +01:00
Vincent Richard
d0ffbb60e6 Use equivalence instead of strict equality for path components. 2014-01-16 00:15:21 +01:00
tholdawa
d4c5386556 C++11 std::shared_ptr fixes:
Test for C++11 std::shared_ptr was always failing because std::make_shared was
calling a constructor of 1 argument which did not exist for the struct A. Changed
test code snippet to call default no argument constructor of A.

Once C++11 std::shared_ptr support was fixed, contentDispositionField.cpp and
contentTypeField.cpp would not compile because std::shared_ptr cannot be implicitly
cast to bool (i.e. in a return statement). Added explicit cast to bool.
2014-01-14 15:28:58 -08:00
Vincent Richard
fe43da096f Reset line length after encoding a hard line break in QP encoding. 2014-01-14 08:18:24 +01:00
Vincent Richard
78cc6e5de1 Fixed mix-up between resize and reserve. 2014-01-10 22:23:48 +01:00
Vincent Richard
426ea685ae Generate lowercase "cid:" for Apple Mail. Case-insensitive comparison for "cid:" prefix. 2014-01-10 00:49:12 +01:00
Vincent Richard
f212f1eda2 Fixed compiler error on VS (newer versions of OpenSSL return a const pointer). 2014-01-09 21:18:57 +01:00
Vincent Richard
9cad1aa646 Return more details about the certificate. 2014-01-09 20:25:43 +01:00
Vincent Richard
fa399699d5 Use non-blocking send in GNU TLS push callback. 2014-01-06 21:30:43 +01:00
Vincent Richard
59e635d317 Check for NULL progress listener. 2014-01-05 20:00:34 +01:00