Commit Graph

16 Commits (03da43b0ce70bc6b442630b3306a4dcf92c69b61)

Author SHA1 Message Date
Manos Pitsidianakis 45bac6eb16
meli: Tidy up use of debug!
melib::debug! macro was deprecated when we started using the `log` crate
in `melib`. This commit replaces it with log::{debug,trace}! macro uses.
1 year ago
Manos Pitsidianakis 575509f1ed
mail/listing.rs: move mail view to listing parent component
Instead of having a different widget to view mail in for each Listing
(plain, threaded, compact, etc) use a single widget in the listing's
parent type.

This will help with making the listing logic more modular in future
refactors to allow all combinations of listing/mail view/ thread view
positions and layouts.
1 year ago
Manos Pitsidianakis 299c8e0f99
meli: restructure pub use melib::* imports 1 year ago
Manos Pitsidianakis b1a7188771
Clippy fixes 1 year ago
Manos Pitsidianakis 47e6d5d935
meli: add edit-config CLI subcommand that opens config files on EDITOR 1 year ago
Manos Pitsidianakis de2f46fe61 rustfmt changes 2 years ago
Manos Pitsidianakis 5634f95553 Rename MeliError struct to Error 2 years ago
Manos Pitsidianakis 259aeb0087 Convert {Account,Mailbox}Hash from typedef to wrapper struct 2 years ago
Manos Pitsidianakis dd0baa82e9 Spawn user-given command strings with sh -c ".."
If given string contains arguments, Command::new(string) will fail.

Reported in #159 https://git.meli.delivery/meli/meli/issues/159
2 years ago
Manos Pitsidianakis 7c7115427d docs/meli.7: complete guide document 2 years ago
Manos Pitsidianakis a73885acb1 Improve embed terminal
- Add character attribute support
- Add cursor key mode support
- Fix buggy set fg / bg sequences

And added a bin under tools to test arbitrary apps using the embedded
terminal:

 cargo run -p tools --bin embed -- "htop" 2> .htop.debug.log
2 years ago
Manos Pitsidianakis e29041f733 Rename src/bin.rs to src/main.rs 2 years ago
Manos Pitsidianakis 04ff21a55f
various fixes
- Clippy fixes
- Rewrite header value parser
- Rewrite string allocations in header encodings
- Thread mail parsing for maildir.rs
- Split crate to lib and bin
5 years ago
Manos Pitsidianakis 9946fbcbe0
threads 5 years ago
Manos Pitsidianakis 8e07843c4a
mailbox: add threads
Signed-off-by: Manos Pitsidianakis <el13635@mail.ntua.gr>
5 years ago
Manos Pitsidianakis 351c9d9a29
initial commit
Signed-off-by: Manos Pitsidianakis <el13635@mail.ntua.gr>
5 years ago