Commit Graph

461 Commits (76909a1959ca2a0bc39e91ae22f401d6e756e975)
 

Author SHA1 Message Date
Manos Pitsidianakis 76909a1959
add folder subscriptions 5 years ago
Manos Pitsidianakis b39b285711
ui: fix flag colors in re-highlight in CompactListing 5 years ago
Manos Pitsidianakis 734bc109b0
ui: refactor menu 5 years ago
Manos Pitsidianakis 1845b046fa
ui: add attribute support
bold/italic etc
5 years ago
Manos Pitsidianakis 2610e9c055
ui: don't check terminal size in ThreadView 5 years ago
Manos Pitsidianakis c0dcd7254a
ui: bound check in draw_horz in ThreadView 5 years ago
Manos Pitsidianakis e5f8714162
ui: make wide chars occupy more than one cell
If setting a wide char to a Cell, mark the next one as empty in order to
skip printing it.

This prevents the following misalignment:
  |   subject
  |📎  Fwd: RE:
  |   second subject
5 years ago
Manos Pitsidianakis af573b57f1
ui: add nonavailable folder checks 5 years ago
Manos Pitsidianakis 84a042411d
melib: remove unnecessary unsafe impls 5 years ago
Manos Pitsidianakis 89b1e381dc
melib: recreate removed email if it comes back
If an email is removed by an outside actor, it is marked as removed.
Renaming files first send a Remove event and then a Rename one. So if a
removed email turns out to have been renamed by someone else, issue a
Create event to get it back.
5 years ago
Manos Pitsidianakis 16a5d9b28a
ui, ThreadView: update seen flag in ThreadEntries
Update seen flag when receiving EnvelopeRename events.
5 years ago
Manos Pitsidianakis 84950ad740
ui, CompactListing: Don't accept listing actions if unfocused 5 years ago
Manos Pitsidianakis fed13816dd
Bump version to all workspace crates 5 years ago
Manos Pitsidianakis 22f11445e2
Print error and exit if Maildir path config is wrong 5 years ago
Manos Pitsidianakis bc7da4610e
Send MailboxUpdate events when threads are updated
Depending on the insertion order of folders which is non-deterministic
because it relies on the kernel's scheduling of parsing threads, the
listing the user sees might not be up-to-date because later thread
updates are never broadcast. This results in inconsistencies between
threads and mail listings when a thread's root envelope was part of a
not broadcast update leading to `key not found` panics in a listing's
hashmaps.
5 years ago
Manos Pitsidianakis 3aec1f6dec
Bump version to 0.2.0 5 years ago
Manos Pitsidianakis 714f8255fc
ui: fix pageup/dn behaviour 5 years ago
Matthias Beyer 678921d2b7
Remove unused imports
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Matthias Beyer 79becdcc42
Fix: This comment is not a proper rustdoc comment and probably should not be one anyways
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Matthias Beyer 6e716946b7
Reformat to be a proper rust comment
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Matthias Beyer fb36dc58c8
Remove unused variable
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Matthias Beyer abcd68e789
Make function pub
As this file was written (according to the top-level comment) for this
function, it should be pub.

This fixes an "unused function" warning.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Matthias Beyer fecb66e877
Print to stderr when printing error
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Matthias Beyer 02bfda5eed
Prefix unused variables with underscore
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Matthias Beyer 092f3694d2
Print error message to stderr
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Manos Pitsidianakis 2a1bf37e69
Add --version command line flag 5 years ago
Manos Pitsidianakis d3c658cf00
ui: add attachments in composer tab 5 years ago
Manos Pitsidianakis 131b4abfbe
ui: use $EDITOR 5 years ago
Manos Pitsidianakis 2492bc91b2
melib: add attachment_from_file() 5 years ago
Manos Pitsidianakis ac04195007
maildir: mark removed paths
Remove events almost always come immediately before Rename events,
showing that the previous name of a file is removed and then renamed.

Keep proper tabs by marking removed paths instead of actually removing them.
5 years ago
Manos Pitsidianakis c87ed5012d
melib: add attachment support in email/compose.rs 5 years ago
Manos Pitsidianakis 391e5b5d13
melib: tighten bounds check in email/parser.rs 5 years ago
Manos Pitsidianakis d73069bc80
melib: add Other and OctetStream content types 5 years ago
Manos Pitsidianakis c17bb24f0d
melib: refactor attachments and attachment_types interfaces 5 years ago
Manos Pitsidianakis 7592e66d6a
maildir: drop mutexes before calling add_path_to_index 5 years ago
Manos Pitsidianakis 572944e917
melib: add version from Cargo manifest to User-Agent field 5 years ago
Manos Pitsidianakis 4f5bcfd1d4
fix compilation error on bsds 5 years ago
Manos Pitsidianakis 69927f524c
update man page 5 years ago
Manos Pitsidianakis df5559023d
add --help, --config, --create-config arguments 5 years ago
Manos Pitsidianakis 38da6c83b9
melib: add read-only support for mbox 5 years ago
Manos Pitsidianakis 8a0e702127
melib,ui: add MailboxEntry enum
Use an enum to describe a mailbox's state in ui::conf::Account instead
of Result.
5 years ago
Manos Pitsidianakis 5b679be782
text_processing: implement Unicode line breaking algorithm
Not conforming to the unicode standard yet
5 years ago
Manos Pitsidianakis d84ceca88e
create text_processing crate 5 years ago
Manos Pitsidianakis ff37e97cba
ui: add From header in list unsubscribe e-mails 5 years ago
Manos Pitsidianakis a00e3fcbde
melib: fix bounds checking for StackVec 5 years ago
Manos Pitsidianakis 8543a06f59
ui: rename ignore to subscribe to match IMAP term 5 years ago
Manos Pitsidianakis 6e63e8a6f6
ui: rename read/unread uses to seen/unseen 5 years ago
Manos Pitsidianakis a62f1d6c01
add read-only option in accounts 5 years ago
Manos Pitsidianakis 14f1527e61
melib: remove BackendOpGenerator 5 years ago
Manos Pitsidianakis cfb6fd3fde
melib: return raw body instead of headers in MaildirOp::fetch_body 5 years ago