Manos Pitsidianakis
b3876113aa
BackendOp: return future in as_bytes()
4 years ago
Manos Pitsidianakis
4721073bc3
Rename jobs1 to jobs
4 years ago
Manos Pitsidianakis
1ddde9ccba
BackendOp: change fetch_flags() retval to future
4 years ago
Manos Pitsidianakis
ed3e66cedf
BackendOp: remove description() method
4 years ago
Manos Pitsidianakis
e06308fed2
MailBackend: change more methods to Futures
4 years ago
Manos Pitsidianakis
03522c0298
melib: Fixup warnings in imap_async, maildir
4 years ago
Manos Pitsidianakis
21051fa862
JobRequest: add more variants
4 years ago
Manos Pitsidianakis
c82367e00d
BackendOp: Change set_{flag,tag} methods
4 years ago
Manos Pitsidianakis
8c1fc031e5
BackendOp: change fetch_flags retval to Result<Flag>
4 years ago
Manos Pitsidianakis
ee10cdbcd5
Make get_async() return a Stream
4 years ago
Manos Pitsidianakis
a38764f490
Add somewhat-working async IMAP backend
4 years ago
Manos Pitsidianakis
4f3a98f90a
Add job executor
4 years ago
Manos Pitsidianakis
ca7bbd9de4
Fix pasted text not being registered immediately
...
Input thread reading from stdin should continue reading after receiving
the magic BRACKET START sequence until receiving the BRACKET END
sequence.
4 years ago
Manos Pitsidianakis
58aff83b95
Change "Draft saved" to "Message saved"
4 years ago
Manos Pitsidianakis
c0c19268ee
Add ProgressSpinner widget
4 years ago
Manos Pitsidianakis
c4bc7be5d1
Tabbed: correctly pass events to other children
...
When passing an event to the focused tab and it is not handled, the
other children weren't then each called to see if they handle the
event. That led to refresh events etc not being processed by the mail
list tab if it wasn't focused.
4 years ago
Manos Pitsidianakis
4ae7a57d45
Add save-draft command
4 years ago
Manos Pitsidianakis
bfbaf3d617
Utilize EnvelopeRemove events
...
EnvelopeRemove events were not ever used in the UI
4 years ago
Manos Pitsidianakis
efb06be09b
melib: return Result<_> from operation()
...
Envelope might have been deleted before main thread requests an
operation, which is a race condition.
4 years ago
Manos Pitsidianakis
b946b61cf1
terminal/cells.rs: remove unused variables
4 years ago
Manos Pitsidianakis
eca1921a8a
collection: add update_flags() method
...
On NewFlags events, the threads in Collection were not being updated, so
if an envelope's seen status was toggled the thread's unseen count was
not updated, and thus not reflected in the UI even though the
envelope's new flags event was registered properly.
4 years ago
Manos Pitsidianakis
a6a30f3adb
conf/accounts.rs return Result on init()
4 years ago
Manos Pitsidianakis
688a798fa2
XDGNotifications: increase rate limiting
...
3 notifications evenly spread per second did not make any sense.
Increase it to 1000 and see if it's ok
4 years ago
Manos Pitsidianakis
6bdd9b07bb
bin: remove unwrap from timer thread
4 years ago
Manos Pitsidianakis
ca11c8e474
Remove useless debug prints
4 years ago
Manos Pitsidianakis
9fb86ab2f2
components: create layouts module in utilities
4 years ago
Manos Pitsidianakis
0169025d50
build.rs: add proc-macro to generate Override structs for configuration
4 years ago
Manos Pitsidianakis
02c881ac00
Add save-attachment option for entire message as eml
4 years ago
Manos Pitsidianakis
d7e4bd9379
conf: set default override value to None
4 years ago
Manos Pitsidianakis
cecd33eb5e
SVGScreenshotFilter: make svg smaller and fix grapheme cluster textLength inaccuracies
4 years ago
Manos Pitsidianakis
58ddfae9a7
execute.rs: fix missing space parsers
4 years ago
Manos Pitsidianakis
fe655e679c
Fix rustfmt suggestions
4 years ago
Manos Pitsidianakis
0618e62ab6
Add optional feature to save SVG screenshot
4 years ago
Manos Pitsidianakis
bc0189ffa1
Spawn workers on demand
4 years ago
Manos Pitsidianakis
55948dd7c2
Use BTreeSet instead of HashSet in copy_area()
...
I kind of forgot about BTreeSets, and kept a separate HashSet and sorted
index of the set's keys.
4 years ago
Manos Pitsidianakis
e97cf98b3b
Add `view` subcommand
...
Add subcommand to view standalone e-mail files in meli's pager without
instantiating any accounts.
4 years ago
Manos Pitsidianakis
7dc8a87a62
Prevent sub overflow in EnvelopeView
4 years ago
Manos Pitsidianakis
05c6c19889
src/conf.rs: Remove debug! prints
4 years ago
Manos Pitsidianakis
9f30cd6bbc
state.rs: send AccountStatusChange
4 years ago
Manos Pitsidianakis
1241b6073f
Clear tags before applying new ones in NewFlags
4 years ago
Manos Pitsidianakis
ca9d4fde58
Discard EnvelopeRename event if envelope is missing from Collection
4 years ago
Manos Pitsidianakis
f3d5edfe14
Add copy/move to other account operations
4 years ago
Manos Pitsidianakis
c07185a3aa
regexp: add priority field to regular expressions
4 years ago
Manos Pitsidianakis
465c78e903
Add Cell::keep_attrs() method
4 years ago
Manos Pitsidianakis
4bc8ff2ce9
Use structopt for command line parsing
4 years ago
Manos Pitsidianakis
a17f0b4fd4
listing: rework MailListingTrait
...
split redraw_list() to redraw_threads_list() and redraw_envelope_list()
4 years ago
Manos Pitsidianakis
9edef4ecd2
ui: add attachment_tree() func in MailView
...
Split ascii attachment tree generation into a function in MailView
4 years ago
Manos Pitsidianakis
6458ccb860
meli: update nom dependency to 5.1.1
4 years ago
Manos Pitsidianakis
6ec249dd7f
melib: update nom dependency from 3.2.0 to 5.1.1
...
That was hecking exhausting
4 years ago
Manos Pitsidianakis
3e31c46a74
Add "regexp" feature, format text with regexps
...
`regexp` feature uses the pcre2 library to enable the user to define
regular expressions for matching text and applying text formatting to
the matches. An example from the theme configuration I used to test
this:
[terminal.themes.win95.text_format_regexps]
"listing.subject" = { "\\[[^\\]]*\\]" = { attrs = "Bold" } }
"listing.from" = { "\\<[^\\>]*\\>(?:(?:\\s*$)|(?=,))" = { attrs = "Italics" } }
[terminal.themes.win95.text_format_regexps."pager.envelope.body"]
"^>.*$" = { attrs = "Italics" }
"\\d+\\s?(?:(?:[KkMmTtGg]?[Bb])|(?:[KkMmTtGg][Bb]?)(?=\\s))" = { attrs = "Bold | Underline" }
4 years ago