Roker
|
edbf165edc
|
strip any NUL bytes from strings before creating C string for the Engine
|
3 years ago |
Roker
|
34254dd072
|
test whether the encoded headers can be decoded properly. Result: Works. Except when NUL bytes occur in the string. :-/
|
3 years ago |
Roker
|
645d7b26ef
|
add qp::HeaderType to specify whether we encode "atom"s or free-form "text" strings
|
3 years ago |
Roker
|
3f90fa69f0
|
let it compile again.
|
3 years ago |
Roker
|
76ba892c49
|
intermediate...
|
3 years ago |
Roker
|
617c93313d
|
restrict charset that pass Q-encoding without =## escaping, according to RFC 2047 section 5 (3).
|
3 years ago |
Roker
|
dd64625546
|
add tests for qp::header_encode(), too.
|
3 years ago |
Roker
|
33436b8d84
|
add unittest for QP encoding
|
3 years ago |
Roker
|
fea46f07d1
|
more string_view usage.
|
3 years ago |
Roker
|
ff8cc905c3
|
–.–
|
3 years ago |
Roker
|
4ee0333475
|
add match() function for Rules
|
3 years ago |
Roker
|
747690ef1c
|
use even more string_view where possible to avoid copying. :-)
|
3 years ago |
Roker
|
d0c4abce93
|
parser rules now operate on string_view not on string.
|
3 years ago |
Thomas
|
c95628c7a5
|
Merge with default
|
3 years ago |
Roker
|
de3e61d92c
|
properly terminate the header section
|
3 years ago |
Roker
|
b8a26ca44f
|
okay, parsing & generating works. mostly.
|
3 years ago |
Roker
|
5c8e2f780a
|
add FIXME to more fields. :-(
|
3 years ago |
Roker
|
cc1bb49dba
|
implement something for all 16 mime_type cells. FIXME: some fields are not yet correct! but it is better than nothing.
|
3 years ago |
Roker
|
55e91dae0f
|
fix a segfault in unittests, when filename is not set (e.g. for multipart/mixed parts
|
3 years ago |
Roker
|
5b5f13badd
|
implement generating "multipart/mixed" mails...
|
3 years ago |
Roker
|
dc9e05d93a
|
make c'tors explicit, make internal functions "static" to ease linking.
|
3 years ago |
Roker
|
366bc5cbe7
|
generate Content-* MIME headers for attachments, incl. long and bogus file names in RFC-compliant way.
|
3 years ago |
Roker
|
c3f8e61f6e
|
add using declaration to find operator+=
|
3 years ago |
Roker
|
25b20bfbae
|
add separate attachment parsing/evaluating function & TU.
|
3 years ago |
Thomas
|
1af95c4c73
|
Merge with default
|
3 years ago |
Roker
|
28463550b9
|
add operator+ and += to pEpMIME_internal when we use boost::string_view. It makes code easier!
|
3 years ago |
Roker
|
5ec6668e5f
|
also ignore the "Mime-Version" header.
|
3 years ago |
Roker
|
48b54be364
|
generate "text/plain", "text/html" and "multipart/alternative" mails.
|
3 years ago |
Roker
|
00f1405d89
|
start to generate bodies, in a much simpler way... :-)
|
3 years ago |
Roker
|
d2aab30d4f
|
let's base64 encoding operate on a given (output) string, instead of returning a new string.
|
3 years ago |
Thomas
|
7fea828b2b
|
Remove Gtest again
|
3 years ago |
Thomas
|
43511d0f0d
|
Add Boost and Google Test via NuGet
|
3 years ago |
Thomas
|
c918612f3c
|
Merge with default
|
3 years ago |
Roker
|
086e811ae0
|
add support for AuxHeader that are stored in message->opt_fields
|
3 years ago |
Roker
|
294452bcfb
|
change to add output parameter instead of return strings to avoid many string creations, copys & destructions.
|
3 years ago |
Roker
|
81d38808e6
|
proper generation of known headers. Aux headers still missing.
|
3 years ago |
Roker
|
c15f2fe665
|
change "parsers" map into more general HeadersMap, that will also contain function pointers to generator functions
|
3 years ago |
Roker
|
cb76e4c60c
|
*sigh* header generation is nearly as hard as header parsing. still not 100% correct, but it gets better...
|
3 years ago |
Roker
|
2f2f97066f
|
qi::alpha also recognizes non-ASCII letters (Latin-1? I don't lnow)...
|
3 years ago |
Roker
|
29f9db56c3
|
okay, let's encode headers this way. I hope it works now...
|
3 years ago |
Roker
|
5ea25dce2d
|
okay, we still need the possibility to encode only values, without header names.
|
3 years ago |
Roker
|
3698788233
|
qp::encode_header() now also got the header field name, to make 1st line of multi-line header fields shorter.
|
3 years ago |
Thomas
|
ae1eae2cc3
|
Add new files to project
|
3 years ago |
Thomas
|
412cc95940
|
Merge with default
|
3 years ago |
Volker Birk
|
910aaa01d2
|
add test target
|
3 years ago |
Volker Birk
|
bc1f070fe7
|
p≡p engine API standard
|
3 years ago |
Volker Birk
|
2aa8abea60
|
completing API; BUG: transport_encode=false not yet implemented
|
3 years ago |
Roker
|
4c394aecbf
|
merge double head. License comments foo... -.-
|
3 years ago |
Roker
|
8d6cd52360
|
let mime_decode_message() do the right thing.
|
3 years ago |
Volker Birk
|
828f823999
|
and here
|
3 years ago |