Commit Graph

73 Commits

Author SHA1 Message Date
Vincent Richard
a63c0c5094 Misc fixes for Windows build (thanks to Mehmet Bozkurt). 2012-12-17 17:02:08 +01:00
Vincent Richard
87259631e4 SSL server identity check. 2012-12-10 22:59:19 +01:00
Mark Brand
d78f17b8af remove stray argument from windowsSocket::sendRawNonBlocking
follow-up to 3e9e8c9265
2012-11-29 23:35:29 +01:00
Vincent Richard
3e9e8c9265 Better handling of SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE. Sockets on Windows platform are now non-blocking (thanks to Mehmet Bozkurt). 2012-11-29 22:33:31 +01:00
Mark Brand
fa97c5e2d8 add missing wincrypt.h 2012-11-12 12:22:03 +01:00
Vincent Richard
defc1bba1d Fixed compilation issues on Windows. 2012-11-06 16:05:24 +01:00
Vincent Richard
bc63892291 OpenSSL support (thanks to Mehmet Bozkurt). 2012-11-03 09:27:12 +01:00
Vincent Richard
cce1c28bce Migrated build system to CMake. Conditional file compilation. Automatic selection of platform handler. 2012-11-01 18:20:06 +01:00
Vincent Richard
794afe9a1b Added support for timeout when receiving data from a socket (POSIX platform). 2012-10-15 13:33:54 +02:00
Vincent Richard
4f33877820 Added ability to parse directly from an input stream (eg. file). This allows very big messages to be parsed without loading the whole message data into memory. 2012-04-16 22:32:33 +02:00
Vincent Richard
80373e44d4 Added stubs for timeout handler (#3045770). 2010-08-16 10:21:03 +00:00
Vincent Richard
d6a8b099ed Connection time out. 2010-08-05 10:30:22 +00:00
Vincent Richard
2854eed183 Return false instead of throwing an exception if file does not exist in isDirectory(), isFile(), canRead() and canWrite(). 2010-03-16 08:39:45 +00:00
Vincent Richard
b05039de3d Fixed compilation issue on Windows. 2010-02-03 11:01:40 +00:00
Vincent Richard
7a6dcdf385 Fixed non thread-safe getLocalCharset() function (thanks to Bartek Szurgot). 2009-12-08 10:21:33 +00:00
Vincent Richard
a3bf37fb4f Fixed not exception-safe constructor, which could lead to possible memory leak (thanks to Bartek Szurgot). Get rid of const-ness on factories. 2009-12-08 10:03:34 +00:00
Vincent Richard
82e1a690d9 Fixed directory renaming. 2009-12-01 14:24:55 +00:00
Vincent Richard
5d82825687 Added block size on sockets to allow different buffer size for SSL. 2009-11-30 13:04:15 +00:00
Vincent Richard
5341f2d1f7 Removed some unnecessary consts on integral types where overrides conflict. Added <cctype> to get the std::isspace that doesn't require a 2nd arg 'locale' (thanks to Ben Jackson). 2009-11-04 12:52:49 +00:00
Vincent Richard
63d6a2ac5a Reset EOF flag when stream is reset. 2009-11-03 14:17:55 +00:00
Vincent Richard
a5d258dc72 Relicensed VMime under the GNU GPL version 3. Changed copyright year to 2009. 2009-09-06 12:02:10 +00:00
Vincent Richard
f36ccb2558 fsync() in posixFile::fileCreate(); changed posixFile::rename to exclusive semantics - if dst exists it fails (Georg Sauthoff). 2009-07-11 12:31:18 +00:00
Vincent Richard
9bd54d3e47 Changed posix write wrapper since a) write can be interrupted and b) write can write less than specified without error (Georg Sauthoff). 2009-06-21 21:07:35 +00:00
Vincent Richard
148c161128 Added other missing return error checks for posix system calls; check consistent for -1 (Georg Sauthoff). 2009-06-21 21:05:16 +00:00
Vincent Richard
43bbb3c410 Check return status of fsync (Georg Sauthoff). 2009-06-21 20:57:03 +00:00
Vincent Richard
7d75b131ef Fixed duplicate switch case on AIX (thanks to Robin Rawson-Tetley). 2009-04-09 20:24:08 +00:00
Vincent Richard
d9c3a8eda0 Missing #include for GCC 4.4 (thanks to Martin Michlmayr). 2008-11-09 13:48:04 +00:00
Vincent Richard
3f4226eaac Fixed compilation warnings. 2008-10-12 10:05:28 +00:00
Vincent Richard
166f6206f4 Fix for possible NULL return value for setlocale() (Zarafa). 2008-07-11 21:07:32 +00:00
Vincent Richard
0c30c298da Changed copyright year to 2008. 2008-01-04 18:07:40 +00:00
Vincent Richard
6cafb90c08 Initialize Winsock before using gethostbyname(). 2007-10-16 18:13:47 +00:00
Vincent Richard
a88d21a336 Fixed typo in the copyright header, and added missing paragraph about linking. 2007-03-27 12:42:53 +00:00
Vincent Richard
d284cfa729 Changed copyright year to 2007. 2007-01-01 20:55:15 +00:00
Vincent Richard
f99fc84915 Imbue classic 'C' locale for the output of message parts and protocol commands. 2006-11-08 18:33:18 +00:00
Vincent Richard
0894c98959 Renamed 'vmime::platformDependant' to 'vmime::platform'. 2006-10-11 14:52:41 +00:00
Vincent Richard
63d21f7a09 Changed copyright year to 2006. 2006-02-05 10:22:59 +00:00
Vincent Richard
69e0083549 Added support for getaddrinfo() on POSIX. 2005-12-26 18:20:47 +00:00
Vincent Richard
1d1a9cf604 Fixed a bug in argument vector. 2005-12-04 16:38:20 +00:00
Vincent Richard
c241f071d2 Added flush() on 'outputStream' + added unit tests for 'charsetFilteredOutputStream' when input contains invalid sequences. 2005-10-20 16:56:04 +00:00
Vincent Richard
3ec0f17ade Added service::setTimeoutHandlerFactory(). 2005-10-04 18:49:59 +00:00
Vincent Richard
09d9e11439 Added service::setSocketFactory(). 2005-10-04 18:34:25 +00:00
Vincent Richard
e7ca1d2465 Reduced waiting time. 2005-10-03 12:26:27 +00:00
Vincent Richard
887930fac8 Too much CPU time used when waiting for data to be received. 2005-10-02 18:17:56 +00:00
Vincent Richard
cbd1110a4b Updated FSF address. 2005-09-17 10:10:29 +00:00
Vincent Richard
344d96539d Non-blocking socket input/output. 2005-09-14 22:03:56 +00:00
Vincent Richard
658fcc26b5 Error handling in posixSocket::send(). 2005-08-24 20:47:13 +00:00
Vincent Richard
28bafee944 Renamed 'vmime::messaging' to 'vmime::net'. 2005-08-23 19:11:19 +00:00
Vincent Richard
681297e10b Reference counting and smart pointers. 2005-07-12 22:28:02 +00:00
Vincent Richard
b3ddee2ea7 Free memory for args. 2005-05-25 19:20:59 +00:00
Vincent Richard
258cb13281 Oops... missing ')'. 2005-05-14 16:39:33 +00:00