| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
Implement configurable message summary indentation, fix appearance when
the message summary spans more than one line.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
It has nothing whatsoever to do with the database.
|
|
|
|
|
| |
Make it a plain container around raw data and a few bits of metadata,
rather than around a whole MIME part.
|
| |
|
|
|
|
|
|
|
|
|
| |
Do not use the X-Mailer header, since git-send-email can be used for
other things than patches (such as cover letters) and not all
git-formatted patches are sent with git-send-email.
Instead, detect the distinctive keywords that hopefully appear only in
git-formatted patches.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Remove unnecessary instance variables that are only really needed within
one function. Prepare the class for async rebuild.
|
| |
|
|
|
|
|
|
| |
In the smart mode, display subject only if it's different from parent
(modulo leading re:'s). Since the subject should not change most of the
time, this reduces visual clutter.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
It just adds unnecessary type confusion.
In most places where it is used, the types are always str, so it does
nothing. In the few others, the encoding/decoding is better handled
explicitly.
|
| |
|
|
|
|
|
|
| |
Some systems create multipart/alternative with an empty text/plain part,
with actual content in the text/html part. Pretend the dummy plaintext
part is not there.
|
|
|
|
|
|
| |
Some systems create multipart/alternative emails with just one subpart.
There is no point in drawing decorations for them, since there are no
other alternatives to switch to, so treat them as mixed.
|
| |
|
| |
|
| |
|
|
|
|
| |
This is a more descriptive name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently we split the message body into a list of widgets whose
appearance changes depending on the foldlevel. This is limiting, since
the individual widgets cannot be hidden completely, and the tree-like
structure of the quote levels is not preserved in this representation.
After this commit, we parse the message into a tree of nested folds,
defined by a start and end line. Hiding a given fold also hides any
nested content.
This should also be more flexible wrt possible future improvements, such
as folding individual folds (like in vim) instead of entire levels.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
It is the only place it is still called from.
|
| |
|
|
|
|
|
| |
Rather than an ad-hoc collection of widgets. This will allow folding
body parts (such as quotes).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of allowing the callers to access the email part directly,
introduce a new class for representing the MIME tree structure. All
interaction with the message content should now happen through this
class (some instances of direct access still remain and will be removed
later).
Encrypted/signed parts are now also handled through this structure
rather than using a fragile hack of attaching the decrypted message to
the encrypted one and using fake headers to signal
encryption/signatures.
Message body rendering is now done by walking through the whole MIME
tree and considering all the parts for rendering rather than picking one
specific part.
|
|
|
|
| |
It is not useful and too complex/fragile to maintain.
|
|
|
|
| |
Also, stop accessing the email directly.
|
|
|
|
| |
Avoid accessing the email directly.
|
|
|
|
|
| |
It is only called from there, so there is no reason to keep it
elsewhere.
|
|
|
|
|
|
|
|
| |
It is almost entirely unnecessary - python's email messages decode the
headers themselves. Do the "normalization" bit directly in the single
place where it is done, though properly there should be more thorough
message text sanitization somewhere (most likely in our message
wrapper).
|
|
|
|
|
|
|
|
|
|
| |
The top part displayes the thread structure, the bottom half the message
body. This makes more sense then displaying the message inside the tree
structure and makes it easier to implement features such as folding a
part of the message body.
Drop commands related to folding, since that functionality does not
exist anymore.
|
| |
|