bmagistro
022303bbc9
Build: static lib dependency for ICU ( #281 )
...
* Fix missed path for generated files in #277
* Update cmake to include char conversion dependency on static library
2023-12-31 15:54:48 +01:00
bmagistro
7ada1c974c
Build: fix missed path for generated files in #277 ( #278 )
2023-12-31 15:35:57 +01:00
Jan Engelhardt
82377e0342
Build: add FreeBSD & libc++ compilation support ( #288 )
...
* build: add FreeBSD compilation support
* build: unbreak compilation with clang libc++
unary_function is obsolete with C++11 and removed in C++17.
gnu-gcc-libstdc++ still has the class, but llvm-clang-libc++ does
not, and there is a compile error.
vmime should have just stopped using unary_function with commit
v0.9.2-48-g8564b2f8.
$ cat x.cpp
$ clang++ -std=c++17 -stdlib=libc++ -c x.cpp
In file included from x.cpp:1:
In file included from /usr/local/include/vmime/net/transport.hpp:34:
In file included from /usr/local/include/vmime/net/service.hpp:36:
In file included from /usr/local/include/vmime/net/session.hpp:40:
In file included from /usr/local/include/vmime/utility/url.hpp:30:
/usr/local/include/vmime/propertySet.hpp:339:33: error: no template named
/'unary_function' in namespace 'std'; did you mean '__unary_function'?
class propFinder : public std::unary_function <shared_ptr <property>, bool> {
~~~~~^~~~~~~~~~~~~~
__unary_function
2023-12-31 15:22:36 +01:00
bmagistro
6e11c9c9f8
Make default context thread_local ( #286 )
...
* Make default context thread_local
Signed-off-by: Ben Magistro <koncept1@gmail.com>
Co-authored-by: Vincent Richard <vincent@vincent-richard.net>
2023-12-31 15:19:28 +01:00
Jan Engelhardt
1a35bb6d71
Build: add Solaris compilation support ( #282 )
2023-11-09 20:32:47 +01:00
bmagistro
c6b9ad3c78
Update cmake ( #277 )
...
This restructures the cmake a little bit to only find components if they
are actually enabled. It also rearranges things to better group some
related items. This change also fixes include directories for the build
target allowing the library to be embedded making the install step
optional.
Signed-off-by: Ben Magistro <koncept1@gmail.com>
2023-08-09 10:59:38 +02:00
Vincent Richard
fc69321d53
Merge pull request #272 from frodegill/bytearray_to_string
...
Utility function to convert byteArray to HEX string. Useful for printing fingerprint digests etc.
2022-03-26 22:30:00 +01:00
Vincent Richard
56b77ca3b7
Merge pull request #271 from frodegill/digest_sha256
...
Added support for digest algorithm SHA256
2022-03-26 22:19:47 +01:00
Frode Roxrud Gill
6fd3632912
Added utility function to convert byteArray to HEX string. Useful for printing fingerprint digests etc.
2022-03-13 11:59:02 +01:00
Frode Roxrud Gill
46c09fa8a5
Merge pull request #1 from frodegill/digest_sha256
...
Added support for digest algorithm SHA256
2022-03-13 11:54:16 +01:00
Frode Roxrud Gill
cd59fabe79
Added support for digest algorithm SHA256
2022-03-13 11:44:27 +01:00
vincent-richard
561746081f
Fixed possible recursion crash when parsing mailbox groups.
2022-01-25 10:28:20 +01:00
Vincent Richard
23ab2a6a3c
Fixed Cppcheck issues.
2021-11-25 21:57:07 +01:00
Vincent Richard
80ad529d5a
#268 Code style fixes + moved specific bits to IMAP namespace
2021-11-25 21:23:50 +01:00
Vincent Richard
c6e3b759bc
Merge pull request #268 from jacadcaps/search
...
Implemented IMAP SEARCH.
2021-11-25 20:22:50 +01:00
Jacek Piszczek
1a0a22a311
Implemented IMAP SEARCH
2021-10-28 23:17:29 -04:00
Vincent Richard
edcb4b4b1f
Merge pull request #262 from ibanic/master
...
Prevent accessing empty buffer when using FilteredOutputStream with ICU
2021-05-16 18:43:14 +02:00
ibanic
f5fa6434aa
fixed coding style
2021-05-16 09:43:32 +02:00
ibanic
5d78d879bb
Prevent accessing empty buffer
2021-05-15 22:32:24 +02:00
vincent-richard
c86e4bcd3a
#261 Workaround for bad SEARCH response with AOL IMAP server
2021-05-11 08:31:03 +02:00
vincent-richard
7503cd3747
#200 Fixed installation directory
2021-05-06 21:06:47 +02:00
vincent-richard
c6904bd7cf
SMTP/DSN refactoring.
2021-04-03 11:21:50 +02:00
Vincent Richard
a6226e8cbc
Merge pull request #256 from jacadcaps/IMAP.PEEK
...
IMAP PEEK support.
2021-03-31 21:37:30 +02:00
Vincent Richard
8024c650a2
Merge pull request #258 from jacadcaps/processFetchResponse
...
Process Message-ID and In-Reply-To in ENVELOPE.
2021-03-31 21:22:13 +02:00
Jacek Piszczek
c0f2380aac
Fixed build
2021-03-25 02:17:17 +01:00
vincent-richard
e5186e6710
Fixed parsing of IMAP astring.
2021-03-24 21:04:01 +01:00
Jacek Piszczek
6feb658bfb
Added missing includes
2021-03-24 15:57:25 -04:00
Vincent Richard
7d64105dee
Merge pull request #257 from jacadcaps/defaultCertificateVerifier
...
Improved certificate verification.
2021-03-24 20:52:05 +01:00
Vincent Richard
b2d08d4f71
Merge pull request #255 from jacadcaps/weak_ptr-checks
...
Weak ptr checks + forced socket disconnections.
2021-03-24 20:41:58 +01:00
Jacek Piszczek
9ec84cf80f
Process Message-ID and In-Reply-To in EVELOPE
2021-03-24 14:24:35 -04:00
Jacek Piszczek
db486520f2
Improved certificate verification
2021-03-24 12:55:42 -04:00
Jacek Piszczek
a0d02afc69
IMAP PEEK support
2021-03-24 12:27:47 -04:00
Jacek Piszczek
d7eaba1007
Cosmetics
2021-03-24 11:14:03 -04:00
Jacek Piszczek
68f8eb0d39
Ensure disconnect() method always disconnect the underlying sockets.
...
Added additional checks after weak pointer locks.
2021-03-24 11:08:40 -04:00
Vincent Richard
115d232483
Merge pull request #253 from jacadcaps/MessageParser
...
Default missing Content-Type to text/plain.
2021-03-16 21:38:34 +01:00
Vincent Richard
cb5adc3a23
Merge pull request #254 from jacadcaps/MessageParserDate
...
Workaround a RECEIVED message field missing actual date info.
2021-03-16 21:36:25 +01:00
Jacek Piszczek
025c155919
Workaround a RECEIVED message field missing actual date info.
2021-03-15 20:38:04 -04:00
Jacek Piszczek
408ffb13ea
Default missing Content-Type to Text/Plain as per https://tools.ietf.org/html/rfc2045#section-5.2
2021-03-15 20:31:07 -04:00
Vincent Richard
98ec456ed1
Merge pull request #252 from jacadcaps/replyTo
...
Fixed an ENVELOPE ReplyTo handling regression.
2021-03-15 19:39:33 +01:00
Jacek Piszczek
8416534992
Fixed an ENVELOPE ReplyTo handling regression
2021-03-15 08:18:33 -04:00
Vincent Richard
98e9759da2
Merge pull request #251 from jacadcaps/exception_fixes
...
Exceptions handling / re-throwing fixes
2021-02-25 20:48:39 +01:00
Jacek Piszczek
39a0cfbcc3
net/tls: Refactored re-throwing exceptions so that the original exception class is retained. With the old code, a socket_exception was re-thrown as vmime::exception.
...
IMAPFolder.cpp: Fixed a use-after-free in case of an exception in close().
2021-02-24 13:53:39 -05:00
vincent-richard
47c6f35f5a
#250 Fixed unquoted mailbox name
2021-02-05 18:28:20 +01:00
Vincent Richard
ea9775c4f1
Merge pull request #249 from mpietruschka/master
...
You forgot about one line in "Fixed build with ICU 68.2-1"
2021-01-25 22:55:46 +01:00
Your Name
9116feac76
Fixed build with ICU 68.2-1
2021-01-23 01:35:08 +01:00
Your Name
7f9a0eb148
Fixed build with ICU 68.2-1
2021-01-23 01:03:58 +01:00
Vincent Richard
13ca7fa6e5
Fixed implicit declarations and misc warnings.
2021-01-11 22:34:59 +01:00
Vincent Richard
817358854d
Fixed line endings.
2021-01-11 22:06:42 +01:00
Vincent Richard
ec5b8f7cfe
#247 Fixed build with ICU 68.2-1
2021-01-11 22:04:52 +01:00
Vincent Richard
3733af5191
Reply-To should be an addressList according to the RFC.
2021-01-11 21:48:34 +01:00