Commit Graph

51 Commits

Author SHA1 Message Date
Vincent Richard
f3727fd2ad Fixed sharing mode when opening file. 2013-08-28 09:34:32 +02:00
Vincent Richard
54c766e110 Test for non-NULL 'ai_canonname', as per MSDN recommendation. 2013-08-18 18:11:57 +02:00
Vincent Richard
a64a4b5dbc Open the file in shared mode not to lock file. 2013-08-16 11:52:17 +02:00
Vincent Richard
b63537b609 Include <winsock2.h> before <windows.h>, to avoid <winsock.h> inclusion. 2013-06-07 15:23:52 +02:00
Vincent Richard
eb1e29811b Lowered wait delay on Windows. 2013-05-12 17:31:15 +02:00
Jan Engelhardt
251cf21cee Remove +x bit from source files 2013-03-27 17:00:45 +01:00
Vincent Richard
21945be4c4 Fixed warnings and 64-bit issues. 2013-03-24 12:30:26 +01:00
Vincent Richard
b9ace81807 Fixed issue #26: strcpy_s not available on MinGW. 2013-02-28 09:16:40 +01:00
Vincent Richard
0d6aef8491 Use secure versions of time/string functions on Windows. 2013-02-26 17:51:44 +01:00
Vincent Richard
49f9628c0a Fixed typo in function name. 2013-02-25 13:10:15 +01:00
Mark Brand
b3da087306 fix include file case 2013-02-24 16:07:29 +01:00
Vincent Richard
f0e12cbadc Fixed invalid use of freed memory. 2013-02-11 21:10:19 +01:00
Vincent Richard
b02e6ab664 Added missing includes. 2013-02-11 09:37:32 +01:00
Vincent Richard
ddf3cff495 Check for MLang on Windows platform. 2013-02-10 21:12:41 +01:00
Vincent Richard
4457dec512 Fixed issue #23. Avoid additional queries if gethostname() is already a FQDN. Use getaddrinfo() instead of gethostbyname() for IPv6 compatibility. 2013-02-10 20:59:14 +01:00
Vincent Richard
c2474f2b2b Check for localtime_r and gmtime_r at build instead of testing _REENTRANT. Use localtime_s and gmtime_s on Windows, if available. 2013-02-05 14:21:21 +01:00
Vincent Richard
ad9bef78c4 Updated copyright year and maintainer email address. 2013-01-10 17:30:31 +01:00
Vincent Richard
3ac625efa5 Fixed issue #17. 2012-12-27 21:14:24 +01:00
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
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
b05039de3d Fixed compilation issue on Windows. 2010-02-03 11:01:40 +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
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
a5d258dc72 Relicensed VMime under the GNU GPL version 3. Changed copyright year to 2009. 2009-09-06 12:02:10 +00:00
Vincent Richard
3f4226eaac Fixed compilation warnings. 2008-10-12 10:05:28 +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
d284cfa729 Changed copyright year to 2007. 2007-01-01 20:55:15 +00:00
Vincent Richard
63d21f7a09 Changed copyright year to 2006. 2006-02-05 10:22:59 +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
cbd1110a4b Updated FSF address. 2005-09-17 10:10:29 +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
258cb13281 Oops... missing ')'. 2005-05-14 16:39:33 +00:00
Vincent Richard
4781f7ce1c Replaced getpid() with GetCurrentProcessId() on Windows. 2005-05-14 15:57:06 +00:00
Vincent Richard
ae4240026e Added 'childProcess'. 2005-04-30 08:19:56 +00:00
Vincent Richard
49fee23e26 Fixed getLocaleCharset() in Windows platform handler, when MLang is not present. 2005-04-18 19:55:58 +00:00
Stefan Uhrig
0b37c6d09c Modified isValidPathComponent() to accept drives as first component. 2005-03-28 17:16:46 +00:00
Vincent Richard
1673ecc41e Fixed isValidPathComponent() to detect invalid chars or reserved names. 2005-03-28 09:47:34 +00:00