-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
GMime 4.0 ideas:
- Add padding to all object and class structs to allow for future expansion
- Rename
g_mime_object_encode()
tog_mime_object_prepare()
for API consistency with MimeKit? -
Add aGMimeVisitor
class andGMimeObjectClass::accept
virtual method? If we do, we'll also want:-
AddGMimeMultipartAlternative
-
AddGMimeMultipartRelated
-
AddGMimeMultipartReport
-
AddGMimeMessageDeliveryStatus
-
AddGMimeMessageDispositionNotification
-
AddGMimeTextRfc822Headers
-
- Add
g_mime_message_get_text_body()
andg_mime_message_get_html_body()
like MimeKit has? These would replaceg_mime_message_get_body()
- Update
GMimeSignature
andGMimeCertificate
to use agint64
(internally at most) orGDateTime
(public API for sure and maybe internally as well?) for the timestamps. (issue GMimeSignature created and expires are time_t, fail in Y2038 on platforms with 32-bit signed time_t #68 and issue in GMime 4.0, timestamps should use some sort of robust/native GLib representations #73) - Merge
GMimeDecryptFlags
andGMimeVerifyFlags
(issue in GMime 4.0, consolidate GMimeVerifyFlags and GMimeDecryptFlags as GMimeCryptoFlags #70)? - Add support for
application/pkcs7-mime; smime-type=compressed-data
(issue handle PKCS#7 CompressedData #66) - Add support for
application/pkcs7-mime; smime-type=authEnveloped-data
(issue handle PKCS#7 authEnveloped-data #65) - Can we get rid of
g_mime_stream_close()
? Disposing of the stream can (and already does to an extent) take the place ofclose()
. This might eliminate confusion of reading/writing to a closed stream. - Should
g_mime_crypto_context_sign()
take anInternetAddressMailbox
instead ofconst char *userid
? Same idea forg_mime_crypto_context_encrypt()
for both theuserid
andrecipients
arguments. - Should
g_mime_object_write_to_stream()
be fixed to returngint64
? -
ShouldGMimeStream
's read/write functions takeGError
and/orGCancellation
arguments? Same forGMimeParser
APIs? Andg_mime_object_write_to_stream()
, etc.
Metadata
Metadata
Assignees
Labels
No labels