Commit Graph

5131 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 02321e8d50 bump version to 1.5.6, update NEWS.org 2020-10-17 15:38:24 +03:00
Dirk-Jan C. Binnema 5379ab0c4b mu4e: do extra sanity check for mu version
One very common question / github issue. Hopefully this avoids some.
2020-10-17 15:38:24 +03:00
Dirk-Jan C. Binnema 5e069d9a6f mu4e: support regexp patterns for personal addresses 2020-10-17 15:38:24 +03:00
Dirk-Jan C. Binnema dbff5671dd lib: support 'personal' regexp, move to mu-contacts
Move the determination of "personal" to MuContacts; add support for
regexps (POSIX-basic, in //)
2020-10-17 10:36:25 +03:00
Dirk-Jan C. Binnema 5cd6226ebd
Merge pull request #1813 from juanjosegarciaripoll/fix-renaming-separator
mu_maildir_get_new_path() did not use the right flags separator
2020-10-16 21:35:35 +03:00
Juan Jose Garcia-Ripoll fbad4760a4 Emacs did not use tabs in indenting mu-maildir.c 2020-10-16 19:34:55 +02:00
Juan Jose Garcia-Ripoll dd14ba64dd Fixed indentation and name / type conventions to match original 2020-10-16 19:22:52 +02:00
Dirk-Jan C. Binnema 9995d28927 mu: indexer: update dirstamp with statbuf st_mtime 2020-10-14 00:09:32 +03:00
Dirk-Jan C. Binnema 38b5c25762 mu-index: make progress a bit smoother
Avoid the lock
2020-10-13 23:36:19 +03:00
Dirk-Jan C. Binnema 9bf32e720b mu4e: add mu4e-headers-precise-alignment defcustom
Precise alignment is nice, but also noticeably slower than the
old (crude) alignment; so make it optional and turned off by default for
now.
2020-10-11 12:35:48 +03:00
Juan Jose Garcia-Ripoll e47c1f4f28 mu_maildir_get_new_path() did not use the right flags separator when creating new file names. 2020-10-10 18:20:16 +02:00
Jeff Filipovits 8ce966778a Properly align variable-pitch faces in header view 2020-10-06 21:50:57 +03:00
Dirk-Jan C. Binnema 78ec46dc1b
Merge pull request #1808 from juanjosegarciaripoll/fix-maildir
Allow use of Maildir FAT extension changing the Maildir info separator
2020-10-06 21:30:49 +03:00
Dirk-Jan C. Binnema 5d2dcb2f18
Merge pull request #1807 from juanjosegarciaripoll/master
Remove configuration check for timegm()
2020-10-06 21:24:35 +03:00
Juan Jose Garcia-Ripoll 071c60d229 Allow use of Maildir FAT extension changing the Maildir info separator 2020-10-04 16:47:42 +02:00
Juan Jose Garcia-Ripoll c885df06a1 Use g_stat() instead of stat() with GStatBuf 2020-10-02 09:51:33 +02:00
Juan Jose Garcia-Ripoll 4cdd819d03 Remove configuration check for timegm()
timegm() is no longer used in the mu source base.
2020-10-02 09:33:15 +02:00
Dirk-Jan C. Binnema d1b0938187 mu-cmd-cfind: include <array> 2020-08-15 11:04:36 +03:00
Dirk-Jan C. Binnema 5402e00fc5 mu-cmd-find: don't mark rainbow constexpr
clang/libc++ don't allow constexpr:

```
mu-cmd-find.cc:498:40: error: constexpr variable cannot have non-literal type 'const std::array<Color, 6>' (aka 'const array<Mu::MaybeAnsi::Color, 6>')
        constexpr std::array<Color, 6> rainbow = {
```

So let's make it mere `const` instead.
2020-08-15 10:51:04 +03:00
Dirk-Jan C. Binnema a4d6302dab mu-sexp: use std::vector instead of std::deque
Using deque gives compilation errors when compiling on
MacOS/clang (where it defaults to libc++ rather than gcc's libstdc++)

```
 #include <deque>
 struct Foo { std::deque<Foo> foos; };
 int  main() { Foo foo; }
```

So, let's use a vector instead; this is a drop-in replacement here, but
unfortunately in some future code...
2020-08-15 10:39:14 +03:00
Dirk-Jan C. Binnema 29b289d3c6
Merge pull request #1784 from whudwl/patch-1
Fix `mu help` doesn't show the `init` command. Fix a sentence.
2020-08-15 08:53:17 +03:00
David 857a4227a9
Fix `mu help` doesn't show the `init` command. Fix a sentence. 2020-08-14 00:00:54 +10:00
Dirk-Jan C. Binnema f18044f5b7 mu4e: gnus-view: Make sure to clean up gnus mm buffers (typo)
Fix typo in previous.
2020-08-09 17:17:23 +03:00
Dirk-Jan C. Binnema 0d6bf906fe mu4e: gnus-view: Make sure to clean up gnus mm buffers
After leaving a gnus-view buffer, we should clean up the the mm-*
buffers it creates; we were leaking those.

Fixes issue #1781
2020-08-09 17:12:40 +03:00
Dirk-Jan C. Binnema 9d43c3c4bb
Merge pull request #1776 from snits/headers-pipe
mu4e-headers: allow pipe through shell from headers view
2020-08-02 11:56:05 +03:00
Jerry Snitselaar 3a8fc95bfc mu4e-headers: allow pipe through shell from headers view
Being able to pipe through shell from the headers view is
convenient for some use cases, so wire it up to work.

Resolves #1752

Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
2020-07-29 10:52:17 -07:00
Dirk-Jan C. Binnema 3691e28316 build: attempt to avoid some libc++ problems
Seems there are problems compiling mu with XCode 11.6 (see build tests);
apparently because of libc++ being different from libstdc++.

clang++ builds works fine as long as we're using libstdc++.
2020-07-26 11:56:25 +03:00
Dirk-Jan C. Binnema 688e0a9e8b
Merge pull request #1768 from tarsiiformes/typos
Fix typos
2020-07-26 11:18:38 +03:00
Jonas Bernoulli b711ad9151 Fix typos 2020-07-25 16:46:47 +02:00
Dirk-Jan C. Binnema 6d73ca8ec3 mu4e: fix mu4e~proc-view-path
Ensure parameters match.
2020-07-25 17:20:39 +03:00
Dirk-Jan C. Binnema 6b32794f0e mu4e-proc: ensure mu4e~call-mu does not truncate
For non-nil settings of print-length, print-level.

(and remove an unused defun).
2020-07-25 17:02:01 +03:00
Dirk-Jan C. Binnema 7aebefe005 mu4e.texi: remove obsolete crypto footnote.
Fixes #1761.
2020-07-25 11:32:15 +03:00
Dirk-Jan C. Binnema 148c906d8a fix compilation error / clang warnings 2020-07-25 11:26:08 +03:00
Dirk-Jan C. Binnema 6cea9fcd71 mu-msg-sexp: Use list for list-post property
And some small cleanups.
2020-07-13 21:59:46 +03:00
Dirk-Jan C. Binnema 2588aaeb9e
Merge pull request #1759 from damon-kwok/fixed-missing-includes
[MSYS2] Added missing include files
2020-07-13 21:50:15 +03:00
Dirk-Jan C. Binnema fdc88dee1e configure: Bump version to 1.5.5 2020-07-13 21:43:59 +03:00
Dirk-Jan C. Binnema 19c1c6cfd4 lib/mu-msg: Update for Sexp changes 2020-07-13 21:43:59 +03:00
Dirk-Jan C. Binnema 092084b987 cmd: Update find, server for Sexp changes 2020-07-13 21:43:59 +03:00
Dirk-Jan C. Binnema 31dd4e2104 utils/sexp: Clean up API and implementation
Also update the tests and command-parser.
2020-07-13 21:43:59 +03:00
damon-kwok 689fd60181 Added missing include files 2020-07-13 15:02:18 +08:00
Dirk-Jan C. Binnema de8f1d3e6a mu4e: Fix issue with mu4e-display-image
We were getting an error when `identify` is nil.
2020-07-11 10:14:57 +03:00
Dirk-Jan C. Binnema 2b5a747fad
Merge pull request #1746 from mrvdb/mu4e-image-scale
Satisfy both max height and width for images in view
2020-07-07 00:14:51 +03:00
Dirk-Jan C. Binnema ad6db1d7e1
Merge pull request #1750 from stsquad/logging/more-tweaks
mu4e/mu4e-utils: save our position before deleting old data
2020-07-07 00:12:59 +03:00
Alex Bennée f40178fe8a lib/index: fix deadlock when mu4e-index-cleanup is nil (#1749)
If the user has wants to postpone clean-up we shouldn't lock the
indexer waiting for something that will never happen. Clear the flag
event though we are actually skipping cleanup.
2020-07-06 20:49:04 +01:00
Alex Bennée 5040d52b46 mu4e/mu4e-utils: save-excursion before updating the log buffer
If the user is scrolling and searching through the log buffer to see
what went wrong it gets very annoying having an update change things.
To avoid this wrap all buffer updating code in a save-excursion so
point is preserved.
2020-07-06 20:32:27 +01:00
Alex Bennée 8bc622ff09 mu4e/mu4e-utils: refactor mu4e-log buffer creation
Move all the one time setup for mu4e-log into its own private section.
2020-07-06 20:27:13 +01:00
Dirk-Jan C. Binnema c4e8a8f04c
Merge pull request #1747 from dato/fix_obsolete_var_name
NEWS.org, mu4e-vars.e.: fix spelling mu4e-contact-rewrite-function
2020-07-04 14:27:22 +03:00
Dato Simó 7efdebce30 NEWS.org, mu4e-vars.e.: fix spelling mu4e-contact-rewrite-function
mu4e-contact-rewrite-function was obsoleted in 1.4, but the entry in
NEWS.org entry, and the make-obsolete-variable call, referred to it as
mu4e-contacts-rewrite-function. (Should be "contact", not "contacts".)
2020-07-03 19:21:18 -03:00
Marcel van der Boom c698bc3a40 Satisfy both max height and width for images in view
- introduce private function mu4e~image-width-scale:
    determine the width to use for proportional scaling based on the image width, height and the max
    restrictions.
- use it in mu4e-display-image
2020-07-03 16:02:09 +02:00
Dirk-Jan C. Binnema 31f918eadb
Merge pull request #1742 from daybeforenet/mu-str-compilation-fix
Don't declare mu_str_size_s() with the const attribute.
2020-06-30 19:14:29 +03:00