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
Vincent Richard
f4a9402c64
Added define for minimal compatibility with legacy smart pointers.
2013-12-28 14:06:49 +01:00
Vincent Richard
d385c15e71
Merge pull request #63 from jdeng/fix1
...
Using context for parsing.
2013-12-25 09:34:58 -08:00
Jack
9db9a81625
using context for parsing
2013-12-24 00:51:37 -05:00
Vincent Richard
9a4b72b47a
Better error handling. Fixed return values in custom BIO. Added support for SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE in handshaking.
2013-12-18 21:21:30 +01:00
Vincent Richard
645c572ab5
Handle timeout in non-blocking send.
2013-12-17 22:38:45 +01:00
Vincent Richard
2b62c675fa
Loop on recv and send operations for non-blocking sockets with OpenSSL.
2013-12-17 22:10:08 +01:00
Vincent Richard
73eded2f97
More robust error checking.
2013-12-17 22:04:36 +01:00
Vincent Richard
5f63d47401
IMAP parsing workarounds for Yandex.
2013-12-11 22:53:39 +01:00
Vincent Richard
a15d2d2044
Allow overriding auto-detection of shared_ptr<> implementation.
2013-12-10 08:54:54 +01:00
Vincent Richard
7e265b05f4
Simplified types for better readability. Use appropriate types (size_t, byte_t...). Minor warning fixes.
2013-12-10 08:52:51 +01:00
Vincent Richard
92fc0b34b0
Enforce strict aliasing rule and avoid alignment issues.
2013-11-28 23:23:35 +01:00
Vincent Richard
2232b60430
Fixed possible segfault caused by use of static string.
2013-11-28 21:17:17 +01:00
Vincent Richard
7b3e79ca52
Missing code documentation.
2013-11-24 19:30:45 +01:00
Vincent Richard
f91b1ec6a0
Replaced "no_such_parameter" exception with "std::out_of_range". Fixed argument of std::out_of_range.
2013-11-23 10:16:06 +01:00
Vincent Richard
def7890884
Do not throw exception for normal code flow. Removed exceptions::no_such_address and exceptions::no_such_mailbox, using std::out_of_range instead.
2013-11-23 09:43:35 +01:00
Vincent Richard
2bbf3eac25
Do not throw exception for normal code flow (removed exceptions::no_object_found).
2013-11-23 09:35:58 +01:00
Vincent Richard
7aebeeb2e2
Do not throw exception for normal code flow (exceptions::no_such_parameter).
2013-11-23 09:25:38 +01:00
Vincent Richard
96077ce7e6
Do not throw exception for normal code flow (exceptions::no_such_field).
2013-11-22 13:32:52 +01:00
Vincent Richard
b075256d8d
Do not throw exception for normal code flow.
2013-11-21 23:07:50 +01:00
Vincent Richard
f974987070
Merge branch 'master' of https://github.com/kisli/vmime
2013-11-21 23:04:45 +01:00
Vincent Richard
f00e5c4cd8
Fixed auto_ptr<>.
2013-11-21 23:04:27 +01:00