Commit Graph

241 Commits

Author SHA1 Message Date
Vincent Richard
02e1cf65ab Fixed comment. 2013-06-09 10:24:56 +02:00
Vincent Richard
66f3c68a6c Removed test as it is invalid. 2013-05-14 19:47:56 +02:00
Vincent Richard
1d7e9142be Explicit platform handler initialization is not needed anymore. 2013-05-12 19:51:13 +02:00
Vincent Richard
ee68f6c06f Allow SPACEs at end of response line (Apple iCloud IMAP server). 2013-04-26 22:52:13 +02:00
Vincent Richard
5a3d88855b Added unit tests for IMAPTag. Initialize sequence number at 1. 2013-04-26 22:47:51 +02:00
Vincent Richard
462311e382 Added filtered output stream to transform LFs to CRLFs. 2013-04-16 12:03:13 +02:00
Vincent Richard
9d2703c376 Added support for charset conversion with ICU (thanks to Mehmet Bozkurt). 2013-03-25 12:32:48 +01:00
Vincent Richard
32eb1ebe34 Strip spaces at end of header lines (Zarafa). 2013-03-24 15:50:16 +01:00
Vincent Richard
21945be4c4 Fixed warnings and 64-bit issues. 2013-03-24 12:30:26 +01:00
Vincent Richard
495526a5e6 Let whitespace break the value of a parameterized header field, not just a ';' (thanks to Zarafa). 2013-03-24 11:35:08 +01:00
Vincent Richard
84415da8e1 Fixed parsing header field value on next line. 2013-03-24 10:02:23 +01:00
Vincent Richard
da2797702f Updated tests for charset conversion.
Added test for UTF-7 encoding availability. Added test for input buffer
underflow in charsetFilteredOutputStream. Refactored charset conversion
tests and removed useless tests.
2013-03-18 09:35:04 +01:00
Vincent Richard
32a80f6c1e Fixed mailbox and mailbox group parsing. Added unit tests. 2013-03-11 10:05:09 +01:00
Vincent Richard
1df8c6cd0e Refactored unit tests. 2013-03-08 08:19:55 +01:00
Vincent Richard
8378b350df Throw exception when an invalid value type is set in a header field. 2013-02-27 14:59:37 +01:00
Vincent Richard
49f9628c0a Fixed typo in function name. 2013-02-25 13:10:15 +01:00
Vincent Richard
e65b3e0f55 Unit tests for wordEncoder. 2013-02-25 10:42:54 +01:00
Vincent Richard
0c5d4a10e6 Message generation/parsing context. Charset conversion options. Preliminary implementation of RFC-6532. 2013-02-24 16:28:13 +01:00
Vincent Richard
d3f539bf92 Fixed SMTP dot stuffing at the beginning of content. 2013-02-20 16:07:00 +01:00
Vincent Richard
d8b3d2b641 Added helper function to replace header field. 2013-02-17 22:18:32 +01:00
Vincent Richard
0757efad0d Reset SMTP session state (using RSET command) if transport is being reused. 2013-02-17 18:07:23 +01:00
Vincent Richard
725070467c Unit tests for seekableInputStreamRegionAdapter. 2013-02-15 15:17:04 +01:00
Vincent Richard
34c4fce797 Unit tests for output stream adapters. 2013-02-14 15:59:26 +01:00
Vincent Richard
bf40e22537 Unit tests for POP3Utils. 2013-02-14 11:16:26 +01:00
Vincent Richard
a6dd30c581 Unit tests for POP3Response. 2013-02-13 10:26:16 +01:00
Vincent Richard
feabba4470 Unit tests for SMTPCommand and SMTPCommandSet. Fixed SMTPCommandSet::isFinished(). 2013-02-12 17:54:36 +01:00
Vincent Richard
ad9bef78c4 Updated copyright year and maintainer email address. 2013-01-10 17:30:31 +01:00
Vincent Richard
3a5621c2aa Trivial 64-bit warning fixes. 2012-12-12 16:35:55 +01:00
Vincent Richard
7fdcc31ab3 Fixed compilation issues in unit tests. 2012-12-11 22:02:47 +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
0633a49b04 Fixed wrong encoding of line breaks in QP-encoded text (issue #7). 2012-04-05 23:15:04 +02:00
Vincent Richard
ec715e6058 Added tests for Quoted-Printable encoding. 2012-04-05 22:29:32 +02:00
Vincent Richard
6f03b1e380 Added test: Ensure '7bit' encoding is used when body is 7-bit only. 2012-04-05 22:10:54 +02:00
Vincent Richard
92b4dc8648 Fixed encoding of whitespace. Fixed old test case. 2011-06-26 12:47:25 +00:00
Vincent Richard
a55c574436 Fixed parsing of empty body parts (thanks to John van der Kamp, from Zarafa). 2011-06-25 17:07:53 +00:00
Vincent Richard
4f9dc93200 Added support for mailboxes that specify an (encoded) full name with an empty email address, set by a <> marker (Zarafa). 2011-06-19 18:49:55 +00:00
Vincent Richard
d7c2fb2e58 Flush stateful data from iconv (thanks to John van der Kamp, Zarafa). 2011-03-31 19:13:03 +00:00
Vincent Richard
98b4d91d01 Fixed bug #3174903. Fixed word parsing when buffer does not end with NL. Fixed 'no encoding' when forced. 2011-03-09 18:03:31 +00:00
Vincent Richard
3cec9612fa Fixed possible infinite loop (thanks to John van der Kamp, Zarafa). 2011-01-21 15:28:06 +00:00
Vincent Richard
9e4867b641 Fixed boundary parsing (thanks to John van der Kamp, Zarafa). 2010-12-10 16:54:38 +00:00
Vincent Richard
90ad8c9154 Fixed unit test after bug fix. 2010-12-10 16:24:06 +00:00
Vincent Richard
dbcb03893c Fold non-encoded lines in the case there is no whitespace in them. 2010-10-18 14:20:34 +00:00
Vincent Richard
097bde861d Fixed missing whitespace in text parsing. 2010-10-12 20:01:34 +00:00
Vincent Richard
e8cb19f9e5 Encode quotation marks in QP/RFC-2047. 2010-10-12 09:45:16 +00:00
Vincent Richard
d252ccf097 Encode TSpecials in RFC-2231 encoded chunks. 2010-08-17 21:47:25 +00:00
Vincent Richard
d6a8b099ed Connection time out. 2010-08-05 10:30:22 +00:00
Vincent Richard
4ff310c7e4 Always encode special charsets. 2010-05-21 07:41:15 +00:00
Vincent Richard
8f9fec339c Fixed parsing of non-significant whitespaces in field values. 2010-04-08 18:28:22 +00:00
Vincent Richard
b94fe09cae Fixed bug #2933667: CRLF filter broken. 2010-01-20 08:42:47 +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
ee2fa4feaf Added option to return ISO week-numbering instead of default calendar-numbering. 2009-12-01 13:44:34 +00:00
Vincent Richard
be8daf3f8e Added and moved tests for RFC-2231. 2009-12-01 13:24:38 +00:00
Vincent Richard
bff027cfa0 Fixed missing function. 2009-12-01 13:23:26 +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
13f69779c2 New namespace for encoders. 2008-10-12 13:59:09 +00:00
Vincent Richard
3f4226eaac Fixed compilation warnings. 2008-10-12 10:05:28 +00:00
Vincent Richard
f626c4fbe8 Enable re-generation of broken Content-Id's that had no '@' sign in them (Zarafa). 2008-07-11 21:37:38 +00:00
Vincent Richard
9d4155023d Fixed missing std includes. 2008-07-11 21:27:24 +00:00
Vincent Richard
a68e122354 Recover from broken emails without a final boundary (Zarafa). 2008-07-11 20:45:17 +00:00
Vincent Richard
439b2b3e90 Fixed extra space in subject (see https://sourceforge.net/forum/message.php?msg_id=4894970). 2008-04-28 19:49:48 +00:00
Vincent Richard
0c30c298da Changed copyright year to 2008. 2008-01-04 18:07:40 +00:00
Vincent Richard
a87652e7b4 Fixed incorrect white-space between words. 2007-11-20 21:45:54 +00:00
Vincent Richard
fd0647db85 Added function to unquote strings. 2007-08-30 21:38:22 +00:00
Vincent Richard
a25333888d Fixed bug #1656547: segfault in urlUtils::decode() if the string ends with '%'. 2007-05-21 16:01:12 +00:00
Vincent Richard
5a2c2e4128 Added support for Courier maildir format. 2007-03-22 16:03:41 +00:00
Vincent Richard
d284cfa729 Changed copyright year to 2007. 2007-01-01 20:55:15 +00:00
Vincent Richard
0894c98959 Renamed 'vmime::platformDependant' to 'vmime::platform'. 2006-10-11 14:52:41 +00:00
Vincent Richard
b79a6ad890 Fixed bug #1096610: non-integral number of chars in RFC-2047 encoded words. 2006-10-02 13:44:00 +00:00
Vincent Richard
3abf3bdcb8 Fix for message ids without angle brackets. 2006-08-09 07:18:45 +00:00
Vincent Richard
9a42c8bca4 Fixed bugs in MHTML code + unit tests. 2006-07-13 16:32:39 +00:00
Vincent Richard
2791e5d41e Unit tests for SMTP. 2006-05-05 20:50:26 +00:00
Vincent Richard
01ba897060 Week of year calculation. 2006-04-24 19:40:24 +00:00
Vincent Richard
3bbffc18de Renamed 'byte' to 'byte_t'. 2006-04-18 19:04:30 +00:00
Vincent Richard
e9501b48d8 Refactored and cleaned up smart pointers. 2006-03-29 20:06:39 +00:00
Vincent Richard
0457e42360 Added unit tests for datetimeUtils + renamed functions. 2006-02-12 14:13:04 +00:00
Vincent Richard
5280d12555 Changed copyright year to 2006. 2006-02-05 10:30:52 +00:00
Vincent Richard
63d21f7a09 Changed copyright year to 2006. 2006-02-05 10:22:59 +00:00
Vincent Richard
64235edb41 Fixed encoding of reserved/unsafe chars. 2006-01-31 19:09:43 +00:00
Vincent Richard
8e0080b0ed Added support for attachments of type 'message/rfc822'. 2006-01-16 21:55:37 +00:00
Vincent Richard
ecf9dbafe6 Allow '@' in the username part of an URL. 2006-01-09 18:02:25 +00:00
Vincent Richard
acfa9ffc64 Refactored header field values and parameters. 2005-11-04 23:21:22 +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
00baffa8ed Added 'charsetFilteredOutputStream'. 2005-10-19 21:00:26 +00:00
Vincent Richard
6f278de337 Charset converter. 2005-10-19 11:28:36 +00:00
Vincent Richard
f096b3c7fa Added test suites for 'attachmentHelper'. 2005-10-14 18:48:55 +00:00
Vincent Richard
a4161cf09d Added 'attachmentHelper'. 2005-10-13 21:27:46 +00:00
Vincent Richard
cbd1110a4b Updated FSF address. 2005-09-17 10:10:29 +00:00
Vincent Richard
3b1fcbe825 New namespace for message digest algorithms. 2005-09-06 20:08:39 +00:00
Vincent Richard
2dd861c907 Throw exception in debug mode when thisRef()/thisWeakRef() is called from the object's constructor. 2005-09-02 11:02:12 +00:00
Vincent Richard
4aaa7c00a8 XML output for test results. 2005-08-27 10:35:39 +00:00
Vincent Richard
99884b3d9b Unit tests for 'misc::importanceHelper'. 2005-08-26 17:05:36 +00:00
Vincent Richard
5d18fce959 Moved to CppUnit for unit tests framework. 2005-08-25 21:25:45 +00:00
Vincent Richard
8cdddcdf03 Added test case for '?' in the middle of the encoded buffer. 2005-08-22 17:28:28 +00:00
Vincent Richard
207efb83b1 Removed implicit conversion to T* for smart pointers. 2005-07-24 11:39:24 +00:00
Vincent Richard
0934b4fc51 Added tests for smart pointer comparison. 2005-07-21 11:08:17 +00:00
Vincent Richard
6c324d55ec Added simple test for STL containers. 2005-07-18 20:19:00 +00:00
Vincent Richard
dafac00334 Added unit tests for smart pointer. 2005-07-17 20:18:14 +00:00
Vincent Richard
681297e10b Reference counting and smart pointers. 2005-07-12 22:28:02 +00:00
Vincent Richard
af45ec7216 Fixed a bug in RFC-2231 implementation. 2005-06-21 21:13:38 +00:00
Vincent Richard
0e5e375cef Added unit tests. 2005-06-17 11:27:26 +00:00
Vincent Richard
4661d7b735 Added 'inputStreamSocketAdapter' and 'stopSequenceFilteredInputStream'. 2005-06-16 19:26:26 +00:00
Vincent Richard
6bf5f9192e Added dotFilteredInputStream + fixed CRLFToLFFilteredOutputStream + added unit tests. 2005-06-15 22:22:01 +00:00
Vincent Richard
ecae17af35 Fixed a bug in word parsing. 2005-06-13 16:45:21 +00:00
Vincent Richard
4bf0542857 Added parameter support to 'utility::url'. 2005-04-28 16:35:37 +00:00
Vincent Richard
02391f3f02 Added unit tests for date comparison + fixed date comparison (again...). 2005-04-23 09:03:10 +00:00
Vincent Richard
49fee23e26 Fixed getLocaleCharset() in Windows platform handler, when MLang is not present. 2005-04-18 19:55:58 +00:00
Vincent Richard
14d9571bb6 Added unit tests for 'datetime'. 2005-04-13 19:53:27 +00:00
Vincent Richard
f879a9794c Added support for RFC-2231. 2005-04-12 18:42:54 +00:00
Vincent Richard
4ab9332ce6 Added new basic type 'messageIdSequence'. 2005-03-27 13:06:45 +00:00
Vincent Richard
433f21263f Basic support for MDN (RFC-3798). 2005-03-25 20:49:54 +00:00
Vincent Richard
aeb5da4324 Basic support for 'Disposition' header field. 2005-03-23 08:23:55 +00:00
Vincent Richard
b3af751a92 Updated VMime website URL. 2005-03-18 21:33:11 +00:00
Vincent Richard
e0aabf8c72 More unit tests for 'text' class. 2005-03-15 10:32:52 +00:00
Vincent Richard
4315b50297 Added test for linear-white-space between encoded words. 2005-03-14 21:36:38 +00:00
Vincent Richard
4ae97ddb09 Splitted 'contentHandler' into three classes: 'emptyContentHandler', 'stringContentHandler' and 'streamContentHandler'. 2005-01-28 17:50:53 +00:00
Vincent Richard
51c199723c Changed year to 2005 in copyright header. 2005-01-03 12:26:48 +00:00
Vincent Richard
0e9696e40d Fixed compilation warnings in 'headerTest'. 2005-01-02 17:25:46 +00:00
Vincent Richard
af06b4a56d Added 'utility::datetimeUtils' + fixed 'stringUtils' not in namespace 'utility'. 2005-01-02 17:17:12 +00:00
Vincent Richard
3a2aa8e9b8 Added unit tests for 'bodyPart'. 2005-01-02 15:24:07 +00:00
Vincent Richard
6ba04f0380 Fixed compilation warnings. 2005-01-02 15:18:51 +00:00
Vincent Richard
c843f40ff3 Added unit tests for 'utility::path'. 2005-01-02 14:10:16 +00:00
Vincent Richard
83072d5f18 Added unit tests for 'utility::stringProxy' and 'utility::stringUtils'. 2005-01-01 15:19:24 +00:00
Vincent Richard
fc1c6b08d1 Converted all C-style casts to C++-style casts + added unit test for utility::md5. 2005-01-01 11:32:23 +00:00
Vincent Richard
da55bd2c26 Autotools and libtool support. 2004-12-30 09:32:32 +00:00
Vincent Richard
4ce991d3b1 Moved all header files to 'vmime/' directory. 2004-12-26 20:23:29 +00:00
Vincent Richard
460cae786a Default platform handlers (currently only POSIX). 2004-12-18 01:57:39 +00:00
Laurent Richard
1b76d40e09 All header tests-functions added 2004-12-06 17:24:55 +00:00
Vincent Richard
bac66b24be Removed files since they are no more used now. 2004-11-07 10:56:14 +00:00
Vincent Richard
5868c87506 Moved encodeAndFold() and decodeAndUnfold() functions from "base.cpp" to "text.cpp". 2004-11-07 10:33:01 +00:00
Vincent Richard
91cc37178f Added tests for media type. 2004-11-07 09:49:05 +00:00
Vincent Richard
64db1ed4c6 Added tests for Quoted-Printable encoding. 2004-11-06 21:40:40 +00:00
Vincent Richard
f9ae360def Removed "old-style" tests for encoder and mailbox. Added new test for encoder. 2004-11-06 17:48:56 +00:00
Vincent Richard
418c0c1456 New build system for unit tests. 2004-11-06 10:48:58 +00:00
Laurent Richard
e0fa71b08f added tests for getFieldCount, isEmpty, getFieldAt, getFieldList functions 2004-10-25 09:20:09 +00:00
Laurent Richard
5a13156740 Added tests for hasField() and findField() functions. 2004-10-21 15:38:15 +00:00
Vincent Richard
2949fb51f1 Refactoring (see ChangeLog). 2004-10-21 15:05:47 +00:00
Laurent Richard
6f7f1674f7 header class unit tests added 2004-10-18 19:27:18 +00:00
Laurent Richard
27fb7a5b96 New unit test system: Unit++.
Added test for header::getAllByName/Type
2004-10-07 11:02:31 +00:00
Vincent Richard
4661f3f6a3 Files omitted during initial import. 2004-10-05 19:03:58 +00:00
Vincent Richard
a3229a0513 Initial import. 2004-10-05 10:28:21 +00:00