Commit Graph

58 Commits (733de5a5fbd0115ea02393f6caab99d728e189eb)

Author SHA1 Message Date
Manos Pitsidianakis 7533df86e0
Fix compilation for netbsd-9.2
$ rustc -V
rustc 1.52.1
$ cargo -V
cargo 1.52.0

Pre-requisite steps needed for build:
- Needed to install mozilla certs
- Needed to set OPENSSL_DIR=/usr
3 years ago
Manos Pitsidianakis 3dba6fdf60
melib/datetime: add posix locale arg in timestamp_to_string() 3 years ago
Manos Pitsidianakis 23ca41e3e8
add libgpgme feature 4 years ago
Manos Pitsidianakis 83bee279e6
melib/email/compose: set attachment status
Set Content-Disposition: attachment to, well, attachments.
4 years ago
Manos Pitsidianakis c6c0da7fcb
melib: cleanup commit
Cleanup melib module exports, add some document tests, change some
documentation.
4 years ago
Manos Pitsidianakis 8c6c9806b5
Fix some clippy lints 4 years ago
Manos Pitsidianakis 3eadaba34e
Replace old pseudo-async code with blocking rust async 4 years ago
Manos Pitsidianakis a190805384
melib/backends: Add BackendEvent enum 4 years ago
Manos Pitsidianakis 9928ee78e7
Add Reply{ToAuthor,ToAll} actions
- previous Reply action now lets you select recipients by default
- ReplyToAuthor selects the Envelope author as recipient
- ReplyToAll selects all addresses
4 years ago
Manos Pitsidianakis e1c9967260
melib: Small documentation fixes for smtp, thread 4 years ago
Manos Pitsidianakis 4b27ae2b91
melib: Add experimental SMTP client 4 years ago
Manos Pitsidianakis a7e177586a
Fix clippy lints 4 years ago
Manos Pitsidianakis a38764f490
Add somewhat-working async IMAP backend 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 db4c401828
melib/error: add chain_err_summary() method 4 years ago
Manos Pitsidianakis 6ceed3cae9
sqlite3: move module to melib 4 years ago
Manos Pitsidianakis 2c45c39048
ShellExpandTrait: fix for non-linux targets 4 years ago
Manos Pitsidianakis 68b1feb6c8
melib: add timestamp to debug trace logs 4 years ago
Manos Pitsidianakis eb701695f7
Remove fnv crate 4 years ago
Manos Pitsidianakis e9a935dbf7
melib: add search method in mail backends 4 years ago
Manos Pitsidianakis 3d7b9ff7cb
Move Query to melib 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 b107424258
melib: update GlobMatch algorithm
Taken from https://research.swtch.com/glob
4 years ago
Manos Pitsidianakis 05b91f1c02
Remove text_processing
Unwrap text_processing into melib

In preparation for uploading meli as a separate crate on crates.io.
4 years ago
Manos Pitsidianakis dc63e1f657
Minor changes 4 years ago
Manos Pitsidianakis 1e2acd3b29
melib: add complete() method to ShellExpandTrait
complete(force: bool) returns String path segments that when appended to
the path will form a valid location. Example:

  - User types: save-attachment 1 /t
  - User presses <TAB>.
  - complete() returns the suggestion: "mp/"
  - User sees: save-attachment 1 /tmp/

complete() uses openat() and getdents64 syscalls hoping it's faster than
using stdlib.
4 years ago
Manos Pitsidianakis a365a846b8
Replace StackVec with smallvec::SmallVec
SmallVec has a less buggy and better implementation.
4 years ago
Manos Pitsidianakis c0ac643f05
melib: add datetime module
Datetime module adds POSIX time functions interface
5 years ago
Manos Pitsidianakis 6f76cd9acc
melib: add special_usage() method to BackendFolder
Eventually after loading potential usage values from configuration,
backends will be able to change the usage values themselves. IMAP and
JMAP have the ability to set Mailbox roles (IMAP needs LIST-SPECIAL
extension
5 years ago
Manos Pitsidianakis ef26b03bb6
Add some documentation 5 years ago
Manos Pitsidianakis 749d453f00
ui: add query parsers 5 years ago
Manos Pitsidianakis 9d69a06807
melib: add ShellExpandTrait
Add trait to expand "~" and environment variables in paths.
5 years ago
Manos Pitsidianakis 9563007069
Turn off debug tracing prints in stderr by default 5 years ago
Manos Pitsidianakis 6e75160b70
melib: turn unicode algos and backends into features 5 years ago
Manos Pitsidianakis 9e2bfa22b1
melib: add logging module 5 years ago
Manos Pitsidianakis 81a55abc7c
Update crossbeam to 0.7.2 and remove chan 5 years ago
Manos Pitsidianakis b474b44b10
Add special use semantics for mailboxes 5 years ago
Manos Pitsidianakis d84ceca88e
create text_processing crate 5 years ago
Manos Pitsidianakis 85a70d656b
melib: restore stringified variable print 5 years ago
Manos Pitsidianakis 93f3d6e230
remove std::dbg uses 5 years ago
Manos Pitsidianakis 24831b3c13
Fix warnings, lints, and 2018 errors 5 years ago
Manos Pitsidianakis c6674a294d
melib: unwrap mailbox module 5 years ago
Manos Pitsidianakis 6f7b3f20de
move StackVec to melib
closes #120
5 years ago
Manos Pitsidianakis f51ea93351
move grapheme stuff to melib 5 years ago
Manos Pitsidianakis 4582bcd5ae
fix warnings and lints 5 years ago
Manos Pitsidianakis 1e7e99f499
melib: return $val in debug! 5 years ago
Manos Pitsidianakis 325bb5bff2
add literal print to debug! 5 years ago
Manos Pitsidianakis 8ef470fb15
add name in single var print in debug! 5 years ago
Manos Pitsidianakis fb406667ab
add debug! macro to replace eprintlns 5 years ago
Manos Pitsidianakis 1c7aa0ec9c
update to 2018 edition 5 years ago