Manos Pitsidianakis
33c1bf6558
Add consume newlines flag to phrase()
4 years ago
Manos Pitsidianakis
303c530488
Load libnotmuch dynamically
4 years ago
Manos Pitsidianakis
ac71d627f1
Implement search for CellBuffer
4 years ago
Manos Pitsidianakis
4ac52d9d5b
Replace every use of Folder with Mailbox
...
Use Mailbox for consistency.
4 years ago
Manos Pitsidianakis
1245eae0be
Add Knuth–Morris–Pratt to pager
4 years ago
Manos Pitsidianakis
c9469f26ee
Remove duplicate function timer::arm()
...
arm() was a duplicate of set_value()
4 years ago
Manos Pitsidianakis
45c0160cb6
Fix ThreadListing
...
ThreadListing was broken after the ThreadGroup introduction
4 years ago
Manos Pitsidianakis
68007a0842
View decoded email source by default
...
Toggle between decoded/raw source with view_raw_source shortcut, default
M-r
4 years ago
Manos Pitsidianakis
44da24fc96
Add left/right cursor mvments to execute bar
4 years ago
Manos Pitsidianakis
c88d1cae51
Fix create_box boundary fg color
4 years ago
Manos Pitsidianakis
c4c11e4abc
Make Selector widget accept FnOnce
4 years ago
Manos Pitsidianakis
499fd59c6e
melib/imap: implement refresh()
4 years ago
Manos Pitsidianakis
bbdc9d69b4
melib/imap: add ImapConnection::connect()
4 years ago
Manos Pitsidianakis
f38d03e43a
melib: {create,delete}_folder returns updated folders
...
Potential parent folders will have their children fields updated, so
just return all folders.
4 years ago
Manos Pitsidianakis
9a46e58029
imap: don't retry command on reconnection
...
If a command fails and connection is restarted, don't try the command
again; it only made sense in the previous connection's context.
4 years ago
Manos Pitsidianakis
e3abd458ce
Add ui_dialogs in State
4 years ago
Manos Pitsidianakis
a806571322
Add UIDialog and UIConfirmationDialog widgets
...
They are just typedefs for the Selector widget. The API is kind of
messed up and this commit is part of the process of cleaning it up:
right now to use this, you check the is_done() method which if returns
true, the done() method executes the closure you defined when creating
the widget. The closure returns a UIEvent which you can forward
application-wide by context.replies.push_back(event) or handle it in
process_event() immediately.
4 years ago
Manos Pitsidianakis
e22ab2b424
ui: fix shortcuts map title not showing up on resize
4 years ago
Manos Pitsidianakis
d779a94279
Fix sent_folder not getting recorded if no explicit folder conf is set
4 years ago
Manos Pitsidianakis
b6efb14824
melib: remove Mailbox
...
Refactor Collection from melib to hold what folders have what envelopes.
Frontend accounts will now have a FolderEntry for each logical folder
and will unify many Account fields into one and eliminate a lot of
duplicate/dead code.
4 years ago
Manos Pitsidianakis
b50e770b5a
ui/accounts: remove Index<usize> impls
4 years ago
Manos Pitsidianakis
aab6b02db2
ui: clear selection with Esc
4 years ago
Manos Pitsidianakis
e26ed83331
Update native-tls to 0.2.3
4 years ago
Manos Pitsidianakis
4090eecd04
ui: Consume Esc input events only when necessary
4 years ago
Manos Pitsidianakis
9757e523bd
debian/: add build artifacts to .gitignore
4 years ago
Manos Pitsidianakis
14b0ef8f37
Respect use_color conf value as well as NO_COLOR
4 years ago
Manos Pitsidianakis
a496de2794
build.rs: add rerun-if-changed
4 years ago
Manos Pitsidianakis
0ebad39b50
Bumb version to 0.5.1
4 years ago
Manos Pitsidianakis
34331232af
build.rs: use `man` binary if mandoc missing in cli-docs
4 years ago
Manos Pitsidianakis
c678b16711
melib/jmap: fix macro path
4 years ago
Manos Pitsidianakis
30c31c9c90
debian/: move xdg-utils to recommends
...
It's not a hard dependency
4 years ago
Manos Pitsidianakis
555654d5e3
Makefile: don't emit timestamps with gzip
4 years ago
Manos Pitsidianakis
fead7a5da4
meli: add invalid flag combo check
4 years ago
Manos Pitsidianakis
962283f9fe
Add opt-level=z flag for release profile
4 years ago
Manos Pitsidianakis
63cdf1a38f
debian/: add mandoc build dependency
4 years ago
Manos Pitsidianakis
0aa2659072
meli: add cli-docs feature
...
Optionally build manpages to text with mandoc and print them from the
command line.
4 years ago
Manos Pitsidianakis
c22a141b14
ui/themes: expand theme coverage to status panel and contacts
4 years ago
Manos Pitsidianakis
22fb0c0844
ui: handle ViewMailbox in listing.rs
...
handling viewmailbox inside a listing instead of their parent/manager
component is a leftover from before they even had a parent/manager.
4 years ago
Manos Pitsidianakis
647cb10b33
ui: Use FolderHash instead of usize for folder cursor
...
Use FolderHash directly as a cursor type for folders within an account
isntead of having a usize (being the order of the folder within the
account) and figuring out the folder_hash everytime it's needed.
Add OfflineListing for offline accounts and AccountStatusChange event.
4 years ago
Manos Pitsidianakis
42747ef590
ui/themes: make theme_default the default for other keys
4 years ago
Manos Pitsidianakis
eef007600b
ui: improve theming coverage
4 years ago
Manos Pitsidianakis
9b7875c023
ui: change Component::get_status return type
...
There was no reason to return Option<String>, just return String::new()
instead of Option::None
4 years ago
Manos Pitsidianakis
cadb1e1613
ui/conf: expand include() paths in config
...
Expand variables and `~` in included paths in user configuration.
4 years ago
Manos Pitsidianakis
0b4109dfdb
ui: fix wrong subscription status in folders
...
Subscription status was checked/modified in various places, whereas now
the universal truth is the `BackendFolder::is_subscribed()` method set
by the backend when a folder is created. The `Account` struct passes a
closure to the backend constructor that determines whether the folder is subscribed or not according to the user configuration.
- If subscribed_folders field is empty, then all folders are subscribed.
- OR check explicit folder configuration
- OR check if folder path matches to a glob in subscribed_folders.
4 years ago
Manos Pitsidianakis
9616fbb544
melib/maildir: fix wrong subscription status in folders
...
MaildirFolder::new() was checking for subscribed status though that is
supposed to be done in MaildirType::new()
4 years ago
Manos Pitsidianakis
b107424258
melib: update GlobMatch algorithm
...
Taken from https://research.swtch.com/glob
4 years ago
Manos Pitsidianakis
50bfed7247
ui: fix subtraction overflow
4 years ago
Manos Pitsidianakis
6b7dea35dc
melib/parser: fix minor encoded word error
4 years ago
Manos Pitsidianakis
6afac835e0
melib/datetime: fix overflow panic on early date input
4 years ago
Manos Pitsidianakis
eb501b6d50
ui: add ThemeAttribute argument to clear_area()
...
clear_area() sets the cleared cell attributes according to the new
argument.
4 years ago