Commit Graph

988 Commits

Author SHA1 Message Date
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
Vincent Richard
8e51494486 Report sending progress when chunking is supported. 2014-01-05 13:53:44 +01:00
Vincent Richard
46963a3d99 Use block size of underlying stream. 2014-01-05 09:39:30 +01:00
Vincent Richard
df56d99b83 Do not disconnect after recoverable error. 2014-01-03 22:57:41 +01:00
Vincent Richard
146c16d896 Do not wait for server response to QUIT command. 2014-01-03 22:52:08 +01:00
Vincent Richard
f08431b065 Allow "200" response code to RSET command, as per RFC-876. 2014-01-03 22:15:35 +01:00
Vincent Richard
696e3ff902 Loop on SSL_write/gnutls_record_send in blocking send.
OpenSSL reports SSL3_WRITE_PENDING on slow network connections, this
patch fixes it (and is the correct way to do).
2014-01-03 21:54:32 +01:00
Vincent Richard
bd378bbfa2 Added support for SPECIAL-USE extension (IMAP). 2014-01-03 20:41:32 +01:00
Vincent Richard
1791e5114a Do not expose internal constants. 2013-12-31 11:49:28 +01:00
Vincent Richard
e13a9d19bc Added support for RFC-3348 (Child Mailbox extension for IMAP). Renamed FLAG_CHILDREN to FLAG_HAS_CHILDREN. 2013-12-31 11:35:29 +01:00
Vincent Richard
5607c9b189 Merge branch 'master' of https://github.com/kisli/vmime 2013-12-30 10:26:30 +01:00
Vincent Richard
fab5cd79b6 Added support for APPENDUID/COPYUID (UIDPLUS extension for IMAP). 2013-12-30 10:26:10 +01:00
Vincent Richard
0460b6b9da Fixed path to header files. Removed useless echoes. 2013-12-29 14:09:04 +01:00
Vincent Richard
28398076c2 Update HACKING 2013-12-29 10:14:36 +01:00
Vincent Richard
152c6bed75 Merged source and header files in directory structure. Got rid of SConstruct build. 2013-12-29 10:02:12 +01:00
Vincent Richard
a3206f1689 Merge branch 'master' of https://github.com/kisli/vmime 2013-12-28 14:07:16 +01:00