Manos Pitsidianakis
d1437ff275
command/actions.rs: ask confirmation for delete
2021-09-03 14:10:58 +03:00
Manos Pitsidianakis
f097593bed
melib/datetime: fix date format string
2021-08-12 10:38:05 +03:00
Ludovic LANGE
b08570349d
Notmuch dynamic library can now be loaded on macos
...
On macos, the name of dynamic libraries is a little bit different than on Unix.
The code was looking for a `libnotmuch.so.5` library, while on macos
it's installed as `libnotmuch.5.dylib`.
This commit uses cfg attribute to conditionally change the library name.
Closes #106
2021-07-19 05:04:04 +03:00
Manos Pitsidianakis
d6bf700175
Update Cargo.lock
2021-07-19 03:52:48 +03:00
Manos Pitsidianakis
5a9f63c51e
listing/compact: Fix off-by-one error in area calculation
2021-07-18 10:26:19 +03:00
Manos Pitsidianakis
9d7e877510
listing/plain: move flags to subject column
2021-07-18 10:26:19 +03:00
Manos Pitsidianakis
ad2a10478e
listing/compact: move flags to subject column
...
Flags (attachment, unseen, etc) being their own column
overcomplicated code, so just prepend them to subject column.
2021-07-18 10:26:19 +03:00
Manos Pitsidianakis
64b62352d0
listing: add {unseen,selected,attachment,thread_snoozed} flag config values
2021-07-18 10:26:19 +03:00
Manos Pitsidianakis
b411daddaa
listing/conversations: remove entry padding box character
...
Remove padding each entry with '░' box character.
2021-07-18 10:26:19 +03:00
Ludovic LANGE
66c6b62aa6
Cargo.lock: Update lexical-core version
...
Fixes compilation on macos 10.15.3, rustc 1.53.0
2021-07-05 23:41:55 +03:00
Manos Pitsidianakis
eea9ac2b58
README.md: update with new IRC channel location
2021-06-13 11:27:33 +03:00
Manos Pitsidianakis
d16866e0f0
notifications: run update_xbiff even if notifications disabled
2021-01-15 16:41:40 +02:00
Manos Pitsidianakis
bcca9abe66
docs: Use example.com in documentation
...
Closes #96
2021-01-15 16:41:40 +02:00
Manos Pitsidianakis
24b4c117e7
melib: don't use both {set,push}_references()
...
set_references() already calls push_references()
2021-01-15 16:41:40 +02:00
Manos Pitsidianakis
b0fba401e6
melib/mbox: consistent line endings in MboxFormat::append
2021-01-11 19:11:08 +02:00
Manos Pitsidianakis
48d4343082
utilities/ProgressSpinner: add interval field and new spinners
2021-01-11 19:11:08 +02:00
Manos Pitsidianakis
2dfeb29b75
jobs/Timer: add set_interval()
2021-01-11 19:11:08 +02:00
Manos Pitsidianakis
63d2fb93f4
melib/nntp: fix not connecting with TLS
2021-01-11 19:11:08 +02:00
Manos Pitsidianakis
cf9457882a
melib/mbox: add MboxMetadata type and write support
2021-01-11 19:11:08 +02:00
Manos Pitsidianakis
3fa9e355c2
melib/email: add Flag is_*() methods
2021-01-11 18:46:22 +02:00
Manos Pitsidianakis
3dae84182c
melib/mbox: add module-level doc
2021-01-11 18:46:11 +02:00
Manos Pitsidianakis
a4ae4da8b1
Add export-mbox command
2021-01-10 01:45:03 +02:00
Manos Pitsidianakis
4050f6893f
melib/mbox: add MboxFormat::append() method
...
Add support for writing mbox files
2021-01-10 01:40:54 +02:00
Manos Pitsidianakis
dcccd303ac
melib/mbox: rename MboxReader to MboxFormat
2021-01-10 01:40:54 +02:00
Manos Pitsidianakis
22a64e2d76
melib: Remove unnecessary "pub use" std exports
2021-01-10 01:40:27 +02:00
Manos Pitsidianakis
781a1d0e1b
melib/backends: add collection() method to MailBackend
...
Keep track of the Collection state in the backend side
2021-01-10 01:31:27 +02:00
Manos Pitsidianakis
eb8d29813c
utilities/Tabbed: send VisibilityChange event on changing tab
2021-01-08 18:37:51 +02:00
Manos Pitsidianakis
08af46f5ef
melib/datetime: fix test compile failure
2021-01-08 18:37:51 +02:00
Manos Pitsidianakis
2f47f1eebd
melib/jmap: fix mailbox children relationships being ignored
2021-01-08 15:23:25 +02:00
Manos Pitsidianakis
622ded8021
compose: add attribution line for replies
2021-01-08 15:01:38 +02:00
Manos Pitsidianakis
6d63429ad3
Add scrolling context to StatusBar
...
- Whenever a scrolling context is entered/exited, send a ScrollUpdate event.
- StatusBar maintains a stack of scrolling contexts and displays the
last one, if it exists. Each context is associated with a ComponentId.
- To handle dangling contexts after their Components aren't visible
anymore, send a VisibilityChange event in situations where that scenario
is possible.
2021-01-08 15:01:38 +02:00
Manos Pitsidianakis
5eb4342af8
Update dependencies, update indexmap to ^1.6
2021-01-08 15:01:38 +02:00
Manos Pitsidianakis
eca10a5660
melib/backends: add mailbox management events to RefreshEventKind
...
Add mailbox management events from RFC 5423 Internet Message Store
Events
https://tools.ietf.org/html/rfc5423#page-8
2021-01-08 15:01:38 +02:00
Manos Pitsidianakis
a697dfabbd
melib/jmap: use receivedAt as alternative to Date in Envelope gen
2021-01-08 15:01:38 +02:00
Manos Pitsidianakis
23997bdec0
melib/jmap: add UTCDate queries in EmailFilterCondition
...
Not necessarily working, added as stubs for future work
Closes #62
2021-01-08 15:01:37 +02:00
Manos Pitsidianakis
2e6a1e1ef8
melib/datetime: rename tests for consistency
2021-01-08 15:01:37 +02:00
Manos Pitsidianakis
fe200a3218
melib/datetime: isolate unsafe blocks
...
Isolate unsafe blocks where possible to make code review easier
2021-01-08 15:01:37 +02:00
Manos Pitsidianakis
bf9143d8e4
melib/datetime: use Cow<'_, CStr> in timestamp_to_string()
...
Use Cow to avoid unnecessary allocations when provided a nul-terminated
format string
2021-01-08 15:01:37 +02:00
Manos Pitsidianakis
441dcb62ca
melib/datetime: add format string constants
2021-01-08 15:01:37 +02:00
Manos Pitsidianakis
4cd3e28244
melib/datetime: fix import style inconsistencies
2021-01-08 15:01:37 +02:00
Manos Pitsidianakis
3dba6fdf60
melib/datetime: add posix locale arg in timestamp_to_string()
2021-01-08 15:01:37 +02:00
Manos Pitsidianakis
50cd81772f
melib/jmap: impl watch() with polling
...
Concerns #22
2021-01-05 19:45:26 +02:00
Manos Pitsidianakis
613c3de3d2
melib/connections: add async sleep(dur: Duration)
2021-01-05 19:45:26 +02:00
Manos Pitsidianakis
62db7d7f32
melib/jmap: put JmapSession behind mutex
...
And deserialize API urls to Arc<String>.
2021-01-05 17:12:14 +02:00
Manos Pitsidianakis
1c25ae12eb
Use default_cell in CellBuffer resize(), clear()
2021-01-05 17:12:14 +02:00
Manos Pitsidianakis
ccc083cf88
Rewrite Cellbuffer Debug impl
2021-01-05 17:12:14 +02:00
Manos Pitsidianakis
db69349251
melib/notmuch: avoid parsing entire email in Envelope creation
2021-01-05 17:12:13 +02:00
Manos Pitsidianakis
806254436b
melib/notmuch: add AccountHash field to NotmuchDb
2021-01-05 17:12:12 +02:00
Manos Pitsidianakis
4f164dc700
melib/notmuch: cleanup Query new() method
2021-01-05 17:11:08 +02:00
Manos Pitsidianakis
ab0ef1b63c
melib/thread: hash Message-ID for ThreadNodeHash
...
Make ThreadNodeHash predictable.
2021-01-05 17:11:08 +02:00