233 Commits (548094fa256c0dfd4e2e52380faa646ad3ce7d9b)

Author SHA1 Message Date
  Roker 548094fa25 add libiconv, libpEpAdapter and pEpEngien to the requirements 3 years ago
  Roker 5ff0c4bd99 add requirements (Boost & GoogleTest) to the README.md 3 years ago
  Roker 24bae65712 also for the "fuzz" program. 3 years ago
  Roker 5ee5219b15 need -liconv on MacOS, but not on Linux. So I copied the BUILD_FOR switches from the Engine's Makefile. :-) 3 years ago
  Lars Rohwedder dcdfee1772 fix REAL MEMORY LEAK in the library, found by address sanitizer after fixing all pseudo mem leaks! 3 years ago
  Lars Rohwedder 2d14ba3317 fix pseudo memory leak in global data structure to make sanitizer / valgrind quiet and happy. 3 years ago
  Lars Rohwedder e3d0adc350 fix (real or pseudo) memory leaks in unittests to quiten the sanitizer & valgrind. 3 years ago
  Lars Rohwedder dbbe1f88cc add -fsanitize=address to Makefile 3 years ago
  Lars Rohwedder 3ecb21b73c proper signedness 3 years ago
  Roker 54bb9b4fd4 update NFC data from Unicode 9.0.0 to Unicode 12.1.0. \o/ 3 years ago
  Roker f3e72a756b don't overwrite longmsg nor longmst_formatted if already set. 3 years ago
  Roker 7849e599f6 print_message() handles bloblist_t appropriately now. 3 years ago
  Roker e424951882 add Message::boundary(). 3 years ago
  Roker abcfe185dc split parse_body() into several functions. Clean-up the code. Avoid memory leaks in b0rken MIME trees and many more... 3 years ago
  Roker 7757a4dfdb add Content-ID header when filename starts with "cid://" 3 years ago
  Roker e5268be472 don't throw OutputOverflow exception when only whitespaces are left in base64_decode's input data 3 years ago
  Roker a8b029a331 make a better structured example. 3 years ago
  Roker 4cd0d26969 implement all the complex cases with nested MIME trees etc. :-o 3 years ago
  Roker 38de5bb66d start to generate complex MIME trees.... 3 years ago
  Roker 775cf68961 externalize attachment serialization into attachment.?? 3 years ago
  Roker d84cf282c3 use the new structure. :-) 3 years ago
  Roker a135370662 move more logic to struct Attachment and its helper functions. 3 years ago
  Roker 93d3d4f3fe add tests for MIME-Type determinant 6 and 7 3 years ago
  Roker 50a7fbd208 don't add the first text/plain (or text/html is no text/plain) as attachment but as msg->longmsg(formatted). 3 years ago
  Roker 299fa344c7 this MIME header was b0rken. Now it is parsed correctly. Make clear that this error is kept intentionally. 3 years ago
  Roker 547d27f735 make semi-colon optional, so also b0rken MIME headers are parsed correctly. 3 years ago
  Roker 79de8c468d it was right. the test data were w0ng! 3 years ago
  Roker 6c671e8bb2 add test value for "multipart/alternative" and... found a bug in charset handling of mime parts. *sigh* 3 years ago
  Roker ca56ddc822 add output operators for MimeHeaders and declare them public 3 years ago
  Roker 0735f615df add text/html test and "Content-Transfer-Encoding" as known header line. 3 years ago
  Roker 48b622c848 add tests for different Mime-Types. Found out that "Subject" lines are not "phrase"s, but "unstructured" texts. Adapt syntax rules so encoded-words work in "unstructured" header fields, too. NEED MORE TESTING! 3 years ago
  Roker 36c42cfeee separate print_message from unittest_mime 3 years ago
  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
  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