Commit Graph

335 Commits (bf8b9546a282505b65ba788b198df16348a5abe5)

Author SHA1 Message Date
Roker bf8b9546a2 add comment only 2020-04-29 16:26:24 +02:00
Roker 5ac4397ef5 implement new engine mime.h API 2020-04-29 12:25:10 +02:00
Roker c213736043 remove transport_encode, because it was b0rken 2020-04-29 12:24:12 +02:00
Roker 8c2985692b remove transport_encode, because it was b0rken 2020-04-29 12:15:44 +02:00
Roker 21ff070190 start branch "MIME-13" 2020-04-27 10:52:13 +02:00
Roker cecdcbbbc5 merge "MIME-12" into default branch 2020-04-27 10:01:31 +02:00
Roker b8532f36e8 close branch before merge 2020-04-27 10:01:00 +02:00
Roker 728098cb8a don't emit this pseudo header to clients. 2020-04-26 11:37:46 +02:00
Roker c1031838d8 add unittest for fowarded="no" 2020-04-26 11:34:37 +02:00
Roker 67dfd353ae implement _mime_decode_message(), but with a lot of code duplication. Not optimal. 2020-04-22 12:28:52 +02:00
Roker aa0dcf70a2 add pseudo header if message fulfills the unusual conditions of MIME-12 2020-04-22 11:31:25 +02:00
Roker fa3ed99d19 add const sv Pseudo_Header_Forwarded = ":pEp:MIME:attachment1:forwarded"; 2020-04-22 10:46:47 +02:00
Roker 2895aa385f start branch MIME-12 "implement support for _mime_decode_message_internal()" again... 2020-04-17 17:38:34 +02:00
Roker dd8e05224e merge MIME-10 into default branch. 2020-04-17 12:16:22 +02:00
Roker d9d0204a58 close branch before merge 2020-04-17 12:16:02 +02:00
Roker 7243c12bae simpler code. :-) 2020-04-17 11:20:01 +02:00
Roker 125846de36 re-enable MIME-11 features. :-D 2020-04-17 10:55:31 +02:00
Roker 48c224276b move the splitting of Multipart messages from the caller into the body of handle_multipart() 2020-04-17 09:54:10 +02:00
Roker 8c8809eebf change handling of Content-Type: multipart/* 2020-04-16 18:31:42 +02:00
Roker 418db7eea8 dispo_type = PEP_CONTENT_DISP_INLINE by default. 2020-04-16 18:31:13 +02:00
Roker 68f850b347 add const unsigned MaxMultipartNestingLevel = 100; 2020-04-16 18:30:12 +02:00
Roker d718a31ead add operator<< to make error output more readable. 2020-04-16 18:29:46 +02:00
Roker df343917c4 start branch MIME-10 "change algorithm for message->longmsg_formatted" 2020-04-15 13:15:27 +02:00
Roker 5639f12b2b merge MIME-11 into default branch. 2020-04-15 09:56:24 +02:00
Roker 54576b0e17 close branch before merge 2020-04-15 09:56:00 +02:00
Roker d06fa5b992 add test for messages with DelSp parameter. 2020-04-14 17:20:44 +02:00
Roker 169b6ebcf0 make longmsg_mimetype() a separate function, which is used also in pEpMIME.cc 2020-04-08 16:45:31 +02:00
Roker 4371386519 add format=... and delsp=... to "mimetype" of the msg->longmsg 2020-04-08 16:19:37 +02:00
Roker 0543dfeab3 ausgelagert. 2020-04-03 18:59:54 +02:00
Roker 1c429378cf constants uses Capital_Letters 2020-04-03 18:25:17 +02:00
Roker c22de85706 make add_header_parser() available to other translation units. 2020-04-03 16:15:07 +02:00
Roker ad91a0f2b6 okay, proper indentation. 2020-04-03 10:57:49 +02:00
Roker 080bee729e skip over pseudo headers in MIME text generation. 2020-04-03 10:56:44 +02:00
Roker d611b7ff34 add constants for ":pEp:MIME:longmsg:format" and ":pEp:MIME::longmsg:delsp" pseudo headers 2020-04-03 10:49:29 +02:00
Roker a5600427f2 start branch MIME-11 "Implement support for format-flowed (add delsp=yes) in pEpMIME, essential for Thunderbird due to its default" 2020-04-03 10:02:01 +02:00
Roker 3c3c3b54dc merge double head. 2020-03-30 13:13:02 +02:00
Roker b45274c0c1 dirrrrrrty iconv hack, to support 'char*' and 'const char*' for 2nd parameter of iconv(), depending on iconv implementation. *sigh* 2020-03-30 13:11:21 +02:00
Thomas 6fb2a8410f Use libiconv from Nuget for Windows build.
Explicitly declare const char* because of MSVC.
2020-03-30 11:25:02 +02:00
Roker 7f1bff7ebf merge "MIME-6_2nd_try" into "default" branch. 2020-03-26 15:55:58 +01:00
Roker 18c67689d9 merge double head... 2020-03-26 08:48:55 +01:00
Roker 49268b85c8 add u8 prefix to string literal, so MSVC uses the desired UTF-8 encoding. Might be a problem with C++20, someday... 2020-03-26 08:48:00 +01:00
Jorg Knobloch 4432f0f654 Merge "build-windows" into "MIME-6_2nd_try" 2020-03-25 22:43:09 +01:00
Roker 4730e56328 re-enable some more log output 2020-03-25 17:36:20 +01:00
Jorg Knobloch ee41010c63 merge "default" into this branch. 2020-03-23 16:21:48 +01:00
Roker b40517ffeb merge "default" into my branch again. 2020-02-27 11:12:49 +01:00
Roker a17439218a okay, according to Volker: the first "text/html" leaf in the MIME tree goes to message->longmsg_formatted, even if ought to be an attachment. Change library code & expectations in the unittest. 2020-02-27 11:11:24 +01:00
Roker f132a10d1a remove unused code. 2020-02-27 11:08:00 +01:00
Jorg Knobloch 656712987f merge "default" into this branch. 2020-02-26 17:11:09 +01:00
Roker 48c2e96c73 move the remaining parser rules into the class. 2020-02-26 16:27:53 +01:00
Roker 788d517275 merge 'default' into 'MIME-6_2nd_try' 2020-02-20 18:15:03 +01:00