mox/moxio
Mechiel Lukkien 01adad62b2
implement decoding charsets (other than ascii and utf-8) while reading textual message parts, and improve search
message.Part now has a ReaderUTF8OrBinary() along with the existing Reader().
the new function returns a reader of decoded content. we now use it in a few
places, including search. we only support the charsets in
golang.org/x/text/encoding/ianaindex.

search has also been changed to not read the entire message in memory. instead,
we make one 8k buffer for reading and search in that, and we keep the buffer
around for all messages. saves quite some allocations when searching large
mailboxes.
2023-07-28 22:15:23 +02:00
..
atreader.go mox! 2023-01-30 14:27:06 +01:00
bufpool.go mox! 2023-01-30 14:27:06 +01:00
bufpool_test.go mox! 2023-01-30 14:27:06 +01:00
decode.go implement decoding charsets (other than ascii and utf-8) while reading textual message parts, and improve search 2023-07-28 22:15:23 +02:00
doc.go mox! 2023-01-30 14:27:06 +01:00
isclosed.go mox! 2023-01-30 14:27:06 +01:00
limitatreader.go mox! 2023-01-30 14:27:06 +01:00
limitreader.go mox! 2023-01-30 14:27:06 +01:00
linkcopy.go move "link or copy" functionality to moxio 2023-07-23 12:15:29 +02:00
linkcopy_test.go move "link or copy" functionality to moxio 2023-07-23 12:15:29 +02:00
prefixconn.go mox! 2023-01-30 14:27:06 +01:00
storagespace.go mox! 2023-01-30 14:27:06 +01:00
syncdir.go consistently use log.Check for logging errors that "should not happen", don't influence application flow 2023-02-16 13:22:00 +01:00
trace.go add two new log levels for tracing sensitive auth protocol messages, and bulk data messages 2023-02-03 20:33:19 +01:00