Commit Graph

513 Commits

Author SHA1 Message Date
Vincent Richard
0562415aeb Allow creating 'charset' objects from 'const char*' (for constants). 2005-07-20 20:32:48 +00:00
Vincent Richard
360cf5c213 Fixed default 'word' constructor using platform handler before being initialized. 2005-07-18 20:17:44 +00:00
Vincent Richard
c431335c66 Fixed error given by g++ 3.3 but not >= 3.4. 2005-07-18 17:01:21 +00:00
Vincent Richard
dafac00334 Added unit tests for smart pointer. 2005-07-17 20:18:14 +00:00
Vincent Richard
b8b096c44f Added getName() to retrieve attachment filename. 2005-07-15 09:51:55 +00:00
Vincent Richard
681297e10b Reference counting and smart pointers. 2005-07-12 22:28:02 +00:00
Vincent Richard
53f96cdb75 Added contentHandler::extractRaw(). 2005-07-06 20:28:43 +00:00
Vincent Richard
af45ec7216 Fixed a bug in RFC-2231 implementation. 2005-06-21 21:13:38 +00:00
Vincent Richard
7b3dd58edb Fixed compilation errors with g++ 4.0. 2005-06-21 16:49:00 +00:00
Vincent Richard
090c817611 Fixed multi-line terminator spanning on multiple incoming packets. 2005-06-16 19:52:57 +00:00
Vincent Richard
fbfa4f0b86 Fixed uninitialized variable. 2005-06-16 19:51:45 +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
97e61dcb08 Fixed a bug in word parsing. 2005-06-13 10:58:08 +00:00
Vincent Richard
df46facf9f Fixed memory leak. 2005-06-03 11:16:26 +00:00
Vincent Richard
9479afa206 Added 'peek' parameter to extract() and extractPart(). 2005-05-27 19:43:20 +00:00
Vincent Richard
b3ddee2ea7 Free memory for args. 2005-05-25 19:20:59 +00:00
Vincent Richard
671d0b660d Fixed bug in subfolders enumeration. 2005-05-19 18:37:20 +00:00
Vincent Richard
8134a52f56 Service properties enhancement. 2005-05-15 18:05:38 +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
13da0727c5 Fixed missing space in STATUS command + parse error in 'status_info'. 2005-05-03 16:13:34 +00:00
Vincent Richard
ae4240026e Added 'childProcess'. 2005-04-30 08:19:56 +00:00
Stefan Uhrig
edb01a0a0f Added #include <algorithm> 2005-04-28 20:44:28 +00:00
Vincent Richard
4bf0542857 Added parameter support to 'utility::url'. 2005-04-28 16:35:37 +00:00
Vincent Richard
38a8632828 Sendmail implementation + filtered streams. 2005-04-28 10:57:41 +00:00
Vincent Richard
4754fd0fab Ignore filenames starting with '.' for message files. 2005-04-27 11:01:28 +00:00
Vincent Richard
44ff5f63a1 Added missing case when replacing '.' in send(). 2005-04-26 19:46:36 +00:00
Vincent Richard
b9e637f976 Moved generic implementation of send() to 'transport'. 2005-04-26 19:27:20 +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
e7569f5edb Fixed date/time comparisons. 2005-04-22 10:48:41 +00:00
Vincent Richard
95508d3495 Fixed bug in RFC-2231 implementation. 2005-04-19 11:13:50 +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
3459549181 Moved 'url' and 'urlUtils' classes to 'utility' namespace. 2005-04-14 11:27:49 +00:00
Vincent Richard
6a913043d7 Implemented comparison operators. 2005-04-13 19:55:45 +00:00
Vincent Richard
f879a9794c Added support for RFC-2231. 2005-04-12 18:42:54 +00:00
Vincent Richard
18dacf00af Added attachMDNRequest(). 2005-04-09 19:46:40 +00:00
Vincent Richard
3952df7eaa Fixed bug in Base64 decoding. 2005-04-09 09:00:53 +00:00
Vincent Richard
6057891e93 Fixed warning. 2005-04-09 08:42:09 +00:00
Vincent Richard
0bba2794fc Moved IMAP, POP3, maildir and SMTP files to separate namespaces. 2005-04-03 08:00:52 +00:00
Vincent Richard
ac2a2cdaab Added constant for 'text/directory' MIME type. 2005-04-01 14:58:15 +00:00
Vincent Richard
3639b96ea8 Support for message importance. 2005-03-31 18:36:35 +00:00
Stefan Uhrig
0b37c6d09c Modified isValidPathComponent() to accept drives as first component. 2005-03-28 17:16:46 +00:00
Stefan Uhrig
eb8e3842fc Added toUpper() function 2005-03-28 17:15:54 +00:00
Vincent Richard
1673ecc41e Fixed isValidPathComponent() to detect invalid chars or reserved names. 2005-03-28 09:47:34 +00:00
Vincent Richard
9bc3121e2d Fixed POP3Store::sendPacket() for some servers. 2005-03-28 08:52:05 +00:00
Stefan Uhrig
5c3d99b86a Fixed integer assignment to boolean variable. 2005-03-27 18:28:09 +00:00
Stefan Uhrig
c64f5fa5a4 Included <algorithm> header. 2005-03-27 18:27:05 +00:00
Stefan Uhrig
48397a91cf Added windows platform handlers. 2005-03-27 18:26:25 +00:00
Vincent Richard
4ab9332ce6 Added new basic type 'messageIdSequence'. 2005-03-27 13:06:45 +00:00
Vincent Richard
d6f67b0a4a Some fixes for Visual C++/Windows. 2005-03-25 21:37:36 +00:00
Vincent Richard
433f21263f Basic support for MDN (RFC-3798). 2005-03-25 20:49:54 +00:00
Vincent Richard
d0aeb41c45 Support for content types and parameters defined in RFC-1892. 2005-03-23 18:46:31 +00:00
Vincent Richard
b2df9c842b Added POP3 notifications. 2005-03-23 09:01:47 +00:00
Vincent Richard
4409698208 Removed '-' from 'CPXXX' charset constants. 2005-03-23 08:50:41 +00:00
Vincent Richard
aeb5da4324 Basic support for 'Disposition' header field. 2005-03-23 08:23:55 +00:00
Vincent Richard
29cc768d1a Fixed multiple bugs in POP3 protocol. 2005-03-23 08:19:23 +00:00
Vincent Richard
b3af751a92 Updated VMime website URL. 2005-03-18 21:33:11 +00:00
Vincent Richard
f1e8e70777 Renamed MIME_VERSION to SUPPORTED_MIME_VERSION. 2005-03-17 18:15:22 +00:00
Vincent Richard
2ca56a209f Fixed compilation problems on Solaris 9. 2005-03-16 17:13:08 +00:00
Vincent Richard
27715ddef8 Support for In-Reply-To header field (type MessageId). 2005-03-15 19:20:58 +00:00
Vincent Richard
917df0e4f7 Support for In-Reply-To header field (type MessageId). 2005-03-15 18:00:50 +00:00
Vincent Richard
4493a7f801 Fixed parsing bounds for header fields and values. 2005-03-15 17:31:26 +00:00
Vincent Richard
1901c6fdb6 Moved word parsing from 'text' class to 'word' class. 2005-03-15 10:30:42 +00:00
Vincent Richard
5b638bbfdf Fixed bug with CRLF between two encoded words. 2005-03-14 21:37:28 +00:00
Vincent Richard
362fa346f9 Removed 'singleton' and 'singletonManager' classes. 2005-03-14 20:35:25 +00:00
Vincent Richard
825021442c Fixed parameters not showing as child components + fixed parsing bounds in typeAdapter. 2005-03-12 20:58:48 +00:00
Vincent Richard
836c80565f Moved header field parsing to 'headerField::parseNext()'. 2005-03-12 16:58:59 +00:00
Vincent Richard
726af25bf0 Changed protected inheritance to simple composition. 2005-02-06 17:14:08 +00:00
Vincent Richard
95b56a7035 Moved 'static' functions into 'parserHelpers' class. 2005-02-05 09:51:39 +00:00
Vincent Richard
81b11364ed Removed extra '::' before numeric constants. 2005-02-05 09:30:57 +00:00
Vincent Richard
2d02c629a9 Fixed forward use of swapUint32Array(). 2005-02-05 09:26:25 +00:00
Vincent Richard
1e393f0f0f Fixed possible segfault when encoding is Base64. 2005-02-01 16:37:50 +00:00
Vincent Richard
4ae97ddb09 Splitted 'contentHandler' into three classes: 'emptyContentHandler', 'stringContentHandler' and 'streamContentHandler'. 2005-01-28 17:50:53 +00:00
Vincent Richard
e782caba67 Prefixed function names with 'get' + written some doc for functions. 2005-01-13 21:45:20 +00:00
Vincent Richard
59f4311b26 Removed useless 'const' on some declarations. 2005-01-07 16:35:47 +00:00
Vincent Richard
970df50e48 Removed useless 'const' in return value of some functions. 2005-01-06 20:01:41 +00:00
Vincent Richard
8a752d3889 Fixed compilation errors with 'isascii' on some systems. 2005-01-05 22:17:23 +00:00
Vincent Richard
3b97064d40 Added diagnostic error string for 'exceptions::connection_error' + fixed a bug in 'posixSocket::connect()' when specifying an IP address. 2005-01-04 22:03:16 +00:00
Vincent Richard
f80d92ee3a Fixed a linking error with g++ <= 3.2. 2005-01-03 21:01:45 +00:00
Vincent Richard
bebdcb6e27 outputStreamStringAdapter::write() improvement. 2005-01-03 17:54:11 +00:00
Vincent Richard
51c199723c Changed year to 2005 in copyright header. 2005-01-03 12:26:48 +00:00
Vincent Richard
29035ed41e Moved 'datetime::getDayOfWeek()' to 'datetimeUtils'. 2005-01-02 21:37:53 +00:00
Vincent Richard
af06b4a56d Added 'utility::datetimeUtils' + fixed 'stringUtils' not in namespace 'utility'. 2005-01-02 17:17:12 +00:00
Vincent Richard
d9a7e2279b Added setValue(string). 2005-01-02 15:17:54 +00:00
Vincent Richard
c843f40ff3 Added unit tests for 'utility::path'. 2005-01-02 14:10:16 +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
8b8cf2b543 Renamed files in POSIX platform handler. 2004-12-26 23:22:07 +00:00
Vincent Richard
4ce991d3b1 Moved all header files to 'vmime/' directory. 2004-12-26 20:23:29 +00:00
Vincent Richard
f5f15e5076 Allow creating a service from an URL. 2004-12-26 16:46:52 +00:00
Vincent Richard
057e8a4cfa Fixed bug in URL parsing. 2004-12-26 16:42:30 +00:00
Vincent Richard
263b6aa00f Removed relative paths from #include's. 2004-12-26 09:35:13 +00:00
Vincent Richard
e90dbe0dd3 Renamed class 'disposition' to 'contentDisposition'. 2004-12-24 12:37:52 +00:00
Vincent Richard
e32a8a5e1a When connecting, create root directory if it does not exists. 2004-12-23 13:46:45 +00:00
Vincent Richard
cb600c3373 Hide private class 'IMAPauthenticator' from class documentation. 2004-12-23 12:04:54 +00:00
Vincent Richard
fda589834c Removed unused 'POP3header' class. 2004-12-23 12:02:52 +00:00
Vincent Richard
92ba748556 Missing #include for close() function. 2004-12-23 10:51:44 +00:00
Vincent Richard
4f9e439eec Some more class documentation. 2004-12-22 14:55:43 +00:00
Vincent Richard
cc51a32255 Added getCapabilities() on messaging::store. 2004-12-22 13:05:59 +00:00
Vincent Richard
a4251085d2 Done rename() operation on 'maildir' + fixed some bugs/limitations in maildir/IMAP. 2004-12-22 11:01:17 +00:00
Vincent Richard
056e22f76f Notify direct and indirect sub-folders when renaming an IMAP folder. 2004-12-22 10:01:52 +00:00
Vincent Richard
348846413d Explain renameParent() in function doc. 2004-12-22 09:54:43 +00:00
Vincent Richard
206b2dafcd Added renameParent() function. 2004-12-22 09:52:32 +00:00
Vincent Richard
8eacc34869 Added isParentOf() function. 2004-12-22 09:15:15 +00:00
Vincent Richard
bf3b1d9dc9 Notification when renaming IMAP folder. 2004-12-22 09:07:05 +00:00
Vincent Richard
8c0fbe4cd8 Typo in function doc. 2004-12-22 08:48:21 +00:00
Vincent Richard
3c1221f064 Done copyMessage() operation for 'maildir'. 2004-12-21 20:49:45 +00:00
Vincent Richard
6221f3c515 Done addMessage() operation for 'maildir'. 2004-12-21 14:09:26 +00:00
Vincent Richard
228ce7f0aa Fixed open() flags when writing to file. 2004-12-21 12:36:18 +00:00
Vincent Richard
bf2c777691 Fixed notification when adding message to IMAP folder. 2004-12-21 10:19:22 +00:00
Vincent Richard
706c270073 Fixed ',2' in filename/flags + fixed file renaming when moving from 'new' to 'cur' + new functions random::getString() and maildirUtils::generateId(). 2004-12-21 09:04:19 +00:00
Vincent Richard
3217dd9bf9 Added component::getChildComponents() function. 2004-12-20 12:33:55 +00:00
Vincent Richard
77a978bb41 Exception chaining in create(). 2004-12-20 09:30:16 +00:00
Vincent Richard
64addbf0b5 Changed permissions when creating file/directory. 2004-12-20 09:28:04 +00:00
Vincent Richard
edf9bed05f More details in function doc. 2004-12-19 22:20:28 +00:00
Vincent Richard
bdfcfed13a Fixed memory leaks. 2004-12-19 15:00:24 +00:00
Vincent Richard
68e51fe262 Do not use std::remove() for removing elements from std::vector... 2004-12-19 14:14:02 +00:00
Vincent Richard
e425142ffe Fixed warning when compiling. 2004-12-19 13:49:55 +00:00
Vincent Richard
099d9231ff Fixed bugs. 2004-12-19 13:43:19 +00:00
Vincent Richard
5a1b86bbeb Fixed bug with message index in getMessageFSPath(). 2004-12-19 11:44:13 +00:00
Vincent Richard
510979b5ef Fixed bugs in scanFolder() and fileIterator. 2004-12-19 00:05:44 +00:00
Vincent Richard
5c8333cb1e Moved code from 'exception.hpp' to 'exception.cpp' + new features for exceptions. 2004-12-19 00:04:22 +00:00
Vincent Richard
835cb4a8ed Added #ifdefs's to fix bugs when compiling without messaging or file-system support. 2004-12-18 11:06:05 +00:00
Vincent Richard
f31b224aa0 Added #ifdefs's to fix bugs when compiling without messaging or file-system support. 2004-12-18 10:48:36 +00:00
Vincent Richard
460cae786a Default platform handlers (currently only POSIX). 2004-12-18 01:57:39 +00:00
Vincent Richard
1d44fdfab5 Added appendComponent() and getComponentAt() functions. 2004-12-17 23:02:37 +00:00
Vincent Richard
90b9650ede Fixed bugs with message count notification. 2004-12-17 17:02:18 +00:00
Vincent Richard
26940950c3 Updated function doc. 2004-12-17 16:28:19 +00:00
Vincent Richard
36f1ac2922 Folder names can not contain '.' in maildirStore::isValidFolderName(). 2004-12-17 16:23:40 +00:00
Vincent Richard
ea87f834be Updated function doc. 2004-12-17 16:17:06 +00:00
Vincent Richard
2e2cddd88a Added @throw in function doc. 2004-12-17 16:13:06 +00:00
Vincent Richard
a623155270 Added store::isValidFolderName(). 2004-12-16 21:38:47 +00:00
Vincent Richard
34871eb231 Added isValidPath() in fileSystemFactory. 2004-12-16 21:14:46 +00:00
Vincent Richard
beec9637e5 Missing '= 0' on pure virtual function. 2004-12-16 20:39:32 +00:00
Vincent Richard
62093084c5 Working on 'maildir' implementation. 2004-12-16 10:23:45 +00:00
Vincent Richard
0dbc72f835 Added skip() method on inputStream. 2004-12-16 09:49:55 +00:00
Vincent Richard
78b3909d9b Working on 'maildir' implementation. 2004-12-15 22:17:03 +00:00
Vincent Richard
50a6a9cdfa Added parsing bounds on 'component'. 2004-12-15 20:28:09 +00:00
Vincent Richard
1ece98b08f Working on 'maildir' implementation. 2004-12-15 10:00:49 +00:00
Vincent Richard
4a6741ab2b Fixed bug with g++ <= 3.2. 2004-12-13 12:16:13 +00:00
Vincent Richard
56da0c589d Working on 'maildir' implementation. 2004-12-10 15:26:42 +00:00
Vincent Richard
c032bcb428 Fixed compilation problems with g++ < 3.4. 2004-12-08 19:57:10 +00:00
Vincent Richard
3ed34d5220 Flags must be stored in ASCII order. 2004-12-04 20:27:12 +00:00
Vincent Richard
e4ed55e237 Working on 'maildir' implementation. 2004-12-04 20:25:48 +00:00
Vincent Richard
31cd25b5b0 Some update for 'maildir' protocol. 2004-12-04 17:48:02 +00:00
Vincent Richard
de09abb036 Prevent from renaming 'INBOX' folder in IMAP (illegal_operation exception). 2004-11-14 14:31:23 +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
f22acc6564 Fixed a typo in RFC-2047 QP conversion: ' ' (SPACE) should be '_' (underscore). 2004-11-06 21:11:00 +00:00
Vincent Richard
c34d699f98 Fixed bug with white-space in email address. 2004-11-06 10:46:02 +00:00
Vincent Richard
02e149daf4 Fixed operator==(). 2004-10-26 20:17:28 +00:00
Vincent Richard
d6289b28ee Fixed a typo in Doxygen comment (&lt;). 2004-10-25 23:39:50 +00:00
Vincent Richard
7e40a14cac Fixed comment for Doxygen. 2004-10-25 22:53:08 +00:00
Vincent Richard
6ad871b235 Added appendAttachment(), an alias for attach(). 2004-10-25 22:10:13 +00:00
Vincent Richard
5ef45921a4 Added non-const versions of getRecipients(), getCopyRecipients() and getBindCopyRecipients() for easy access. 2004-10-25 22:02:58 +00:00
Vincent Richard
c433e0213a Added specialization for typeAdapter <string>::parse() as it took only the first word of the text (operator<<). 2004-10-25 11:15:53 +00:00
Vincent Richard
2949fb51f1 Refactoring (see ChangeLog). 2004-10-21 15:05:47 +00:00
Vincent Richard
84a7adf049 Fixed a bug when parsing a mailbox with no explicit email address (should be recognized as an address). 2004-10-07 11:24:34 +00:00
Vincent Richard
3fb6238933 Added FLAG_PASSED message flag to indicate a forwarded message (used in maildir). 2004-10-06 16:18:06 +00:00
Laurent Richard
f3d249c81b Adding functions in 'header' object to retrieve a list of fields by name/type 2004-10-06 11:04:00 +00:00
Vincent Richard
a1f5ebbfbc Fixed possible bug in destructor, when parent folder is closed before destroying the message. 2004-10-05 20:52:21 +00:00
Vincent Richard
0967d3ef5b Changed meaning of "path" portion in a URL. This does not specify the root path for "maildir" protocol anymore; instead the "server.rootpath" property is used. The "path" portion can be used to point a specific folder into a mail store (empty = root folder). 2004-10-05 16:33:54 +00:00
Vincent Richard
a3229a0513 Initial import. 2004-10-05 10:28:21 +00:00