Regenerate libgpgme bindings for 32bit and 64bit targets separately.
This fixes the gpgme bindings tests failing for 32bit targets (which
prior to this commit where cfg'd to run only on x86-64 with #[cfg(target_arch = "x86_64")]
Tests confirm passing with:
cross test --target i686-unknown-linux-gnu --all-targets --all -- --skip test_cli_subcommands
Note: We don't currently test on 32bit arches on CI, failure was spotted
on downstream Debian's build servers
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
If nightly toolchain exists and `cargo +nightly fmt --check --all` runs
but fails because --check returns an error, and the same error does not
trigger under the current active toolchain when the `|| cargo fmt
--check --all` path is executed, then that error is completely ignored.
That wouldn't happen on the CI where the nightly toolchain is not
installed but it would happen if someone (i.e. me) used the Makefiles
locally.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
If Account::mailbox_by_path() fails, suggest matching mailbox paths
using aho_corasick case insensitive matching, and also suggest to the
user to inspect mailboxes with the manage-mailboxes command.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
- Add repology table/badge
- Add more ways to install thanks to people packaging meli for package
managers/platforms
- Update list of official mirrors by adding new gitlab mirror
- While at it, fix ugly html table with quickstart instructions
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
There was no point in using SmallVec with this large a size; it was
32768 bytes, or 32KiB. Let's allocate that to the heap instead.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Since 2af5c8b6fd ("terminal: add
QuerySynchronizedOutputSupport WIP") we send a synchronised output
support query [1] to the terminal but we don't parse the response. If the
terminal replies, it gets parsed as user input. And if the user happens
to press a navigation key such as scroll_down which supports a number
modifier, the `2026` part of the mode response which was parsed as user
input makes meli scroll down 2026 lines.
Fixes: #502 ("Initial navigation state in mailbox index view is wrong")
[1]:
<https://gist.github.com/christianparpart/d8a62cc1ab659194337d73e399004036>
Resolves: <https://git.meli-email.org/meli/meli/issues/502>
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
If ProgressSpinnerSequence / progress_spinner_sequence had a value of
just an array of strings, it could not be parsed correctly. Fix that
with a custom serde impl and also add unit tests.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Rename functions to follow the convention of being prefixed with the
module path before the function name (e.g. `fn
test_module_a_module_b_test_desc() {`)
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Update commit message entries to new format, by making commit sha
monospace and bold so that they take the same width in the list.
Also, make all commit messages be surrounded by ` to show them in
monospace as well; they might not always include English words but
identifiers and abbreviations instead.
Vim substitutions used:
- %s/- [[]\(........\)[]]/- \[**`\1`**\]/
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Add a helper script to generate a new release entry to add to
CHANGELOG.md when it's time to tag a new release.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
While there was a delete-mailbox command, there was no option for it in
the manage-mailboxes interface, so add it.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Don't accept new Display Messages if it has the same content as the
latest one in the display message stack.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Some stuff that are only used with gpgme feature were not guarded by
#[cfg(feature = "gpgme")], so fix that.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
base64 is used in melib::backends::utf7 without any sort of conditional
compilation. Make base64 a mandatory dependency.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Allow mbox to be built without the `notify` dependency. Add feature
`mbox-notify` to provide that instead.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Add an example for `fzf` use with the `add-attachment-file-picker < `
command when composing e-mail.
Closes#507
Resolves: <https://git.meli-email.org/meli/meli/issues/507>
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
When printing multipart boundaries, e.g.
`--bzz_bzz__bzz__xxxxxxxxxxxxxxxxxxxxxxxxxxx` after ending a sub-part,
ensure there's a CRLF already at the end of the accumulator string
before adding the `--...` boundary tag.
Fixes#503 ("Sending attachments does not work properly")
Resolves: <https://git.meli-email.org/meli/meli/issues/503>
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Selecting by searching for was missing for the threaded index style, so
add it.
Related to #513
Resolves: <https://git.meli-email.org/meli/meli/issues/513>
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Somehow, filter (searching) was not implemented for the threaded index
style, so fix it.
Fixes: #513
Resolves: <https://git.meli-email.org/meli/meli/issues/513>
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
The generated bindgen layout tests make hard-coded assumptions about
target specific sizes like pointers, let's disable them for now before
we figure out a better long-term solution for gpgme compatibility.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Meli previously returned only subscribed mailboxes for IMAP. This was
erroneous behavior for two reasons:
- the front end should be able to see all mailboxes because the user is
allowed to change subscription settings for remote mailboxes from the
manage-mailboxes interface
- special usage mailboxes, e.g. a Trash folder, would not be visible to
meli if it was not subscribed
Fixes#508.
Resolves: <https://git.meli-email.org/meli/meli/issues/508>
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
They were previously silently ignored despite tables (DataColumns)
having support for scrolling on the x axis.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Change select_entry to toggle only one's selection entry (default 'V'),
while select_motion (default 'v') inherits the original functionality of
performing a select motion when combined with a number and motion verb
(scroll up/down etc)
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Lift error checks earlier in the function, before forking, allowing any
potential errors to show up properly in the main process.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>