Christophe Troestler
c8f91d365f
ical: respect the 80 chars width limit
2020-06-18 23:21:51 +02:00
Dirk-Jan C. Binnema
3de80993df
build: bump version to 1.5.3
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema
68533cee0d
mu: use g_printerr for errors, instead of g_warning
...
With the new logging setup, we need g_printerr
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema
9b2746dce5
server: use symbolic names with ':'
...
After the command-parser changes
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema
9762b1bc3b
utils/command-parser: Make property key ":" prefix explicit
...
Avoid a bit of 'magic' so we can catch missing ':' in property :keys
easier.
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema
981c781425
store: add bit more debug-logging
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema
3dc4b93989
mu4e/server: implement mark-as-read for (view ...)
...
Instead of a multi-step process to display an unread message (ie. get
the original, notice it's unread, then update it, replace the message
with update one etc.), we now handle that in the (view /./..) command on
the server side.
Simplifies things, and is faster (which could be noticeable, esp. if
e.g. signature verification is part of the process)
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema
cf2e4f1dcd
lib/mu-msg: cosmetic
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema
fe6582c6d6
lib: implement mu_store_update
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema
2ee65f5b1a
mu4e: add mu4e-mu-debug for verbosely logging the server
...
With mu4e-mu-debug set to t, the mu server will be more verbose in its
logging (mu.log or the journal)
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema
e37486fb5a
mu4e: auto-enable logging when pressing '$'
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema
0b427e5ee8
server: use Mu::Store in c++ mode
...
I.e. Mu::Store instead of mu_store_*
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema
a9fab4abcc
mu: convert command-line tools to c++
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema
dd0cb3112a
Merge pull request #1725 from benswift/pr-add-gh-action-test
...
add CI: run test suite with GitHub actions
2020-06-12 18:15:27 +03:00
Ben Swift
85b94edfa4
add CI: run tests suite with GitHub actions
...
currently this runs tests on the latest Ubuntu LTS and the latest macOS
should be straightforward to run tests on any of the other [supported
environments](https://github.com/actions/virtual-environments ) or in a Docker
container
2020-06-12 07:14:49 +10:00
Dirk-Jan C. Binnema
87eff66b7d
test-mu-cmd: temporarily turn off test
2020-06-11 21:49:55 +03:00
Dirk-Jan C. Binnema
6a7449c7e3
mu-msg-sexp: correctly mask date/time bits
...
Typo fix.
2020-06-10 21:50:23 +03:00
Dirk-Jan C. Binnema
2f8850ea86
utils/sexp: add a bit more convenience
2020-06-09 19:52:03 +03:00
Dirk-Jan C. Binnema
ee99176fce
mu4e: mu4e-info is not interactive
2020-06-08 19:52:19 +03:00
Dirk-Jan C. Binnema
b8a2d1fd6c
mu4e-headers: require mule-util for truncate-string-ellipsis
...
Seems this is needed in some setups. Not fully clear why, but harmless.
Fixes #1717 .
2020-06-07 18:40:48 +03:00
Dirk-Jan C. Binnema
de0a4c785a
NEWS.org: a few more typographical updates
2020-06-07 18:28:59 +03:00
Dirk-Jan C. Binnema
8cc2788652
NEWS.org: fix confusion display on github
2020-06-07 18:26:05 +03:00
Dirk-Jan C. Binnema
b10b243b54
lib/utils: update unit test
2020-06-07 18:11:41 +03:00
Dirk-Jan C. Binnema
c204c6d4aa
Merge branch 'wip/sexp'
2020-06-07 09:58:29 +03:00
Dirk-Jan C. Binnema
2a9a69c31d
build: bump version to 1.5.2
2020-06-07 09:57:49 +03:00
Dirk-Jan C. Binnema
5fdb205b8b
mu4e: Update for sexp format changes
2020-06-06 14:27:25 +03:00
Dirk-Jan C. Binnema
452f62f5c0
lib: update msg->sexp to use programmatic s-expressions
...
Use the new mu-sexp capabilities.
2020-06-06 14:27:25 +03:00
Dirk-Jan C. Binnema
9fa09f2c16
server: use sexp builder for return parameters
...
Generate sexps programmatically rather than with string-formatting,
using the new mu-sexp capabilities.
2020-06-06 14:27:25 +03:00
Dirk-Jan C. Binnema
3afdc08d50
lib/utils: build s-expression programmatically building
...
Allow for programmatically buildings sexps, rather that using raw
strings.
2020-06-06 14:27:25 +03:00
Dirk-Jan C. Binnema
b672f6bc1d
mu4e: avoid trouble with truncate-string-to-width
...
Treatment of the 'ellipsis' parameter is a bit unclear, gave errors in
some cases.
Fixes #1716
2020-06-03 21:24:14 +03:00
Dirk-Jan C. Binnema
cfb59e36b0
mu4e-org: add missing defs when linking query
...
Fixes : #1714 .
2020-06-01 09:55:24 +03:00
Dirk-Jan C. Binnema
4dd764d9e8
lib/utils: add mu-logger.{cc,hh}
...
They were missing.
Fixes #1713 .
2020-05-30 18:33:27 +03:00
Dirk-Jan C. Binnema
3e233cba9a
rework logging system
...
reimplement the old mu-log.[ch] into mu-logging.{cc,hh}
If available (and using an appropriately equipped glib), log to the
systemd journal
Only g_criticals have stderr output, all the other g_* go to the log
file / journal.
2020-05-30 13:29:44 +03:00
Dirk-Jan C. Binnema
73be015cd0
fixup: mu4e: some cleanups / bytecomp warning fixes
2020-05-28 10:21:16 +03:00
Dirk-Jan C. Binnema
0a49cead33
build: don't require glib 2.58 for g_canonicalize_file
...
GLib version is probably still a bit too new, so simply lift the
function needed.
Fixes : #1712 .
2020-05-28 00:37:29 +03:00
Dirk-Jan C. Binnema
9192fd71a0
Merge branch 'compose-crypto-policy'
2020-05-27 22:54:40 +03:00
Philip K
29ad71fdf2
Marked mu4e-compose-context-policy type as greedy
2020-05-27 22:54:15 +03:00
Philip K
bd87dcfd9b
Removed default case in mu4e-compose-crypto-message
2020-05-27 22:54:15 +03:00
Dirk-Jan C. Binnema
336cad35e6
Merged crypto-policy configuration into one variable
2020-05-27 22:53:41 +03:00
Dirk-Jan C. Binnema
c9a9d4be95
mu4e: handle compose-mail when mu4e is not yet running
...
We were trying to start mu4e asynchronously, then compose the mail but
this doesn't quite work the way some external packages expected, and
this would fail.
Fixes #1710
Fixes #1698
2020-05-27 22:34:43 +03:00
Dirk-Jan C. Binnema
454e8d9a3a
mu4e: allow for hiding fully read maildirs/bookmarks
...
Add a variable mu4e-main-hide-fully-read to control whether to _not_ show
maildir / bookmark links if they're fully read.
2020-05-27 18:56:23 +03:00
Dirk-Jan C. Binnema
8bfcb7430b
lib/mu-msg-file: Use canonical path instead of real path
...
For the new symlink-support, it's better to use the *canonical* path than
the *realpath(3)* for files, so removing a symlinked maildir will work as
expected.
2020-05-27 18:55:18 +03:00
Dirk-Jan C. Binnema
09c1942187
NEWS.org: Update
2020-05-26 23:16:32 +03:00
Dirk-Jan C. Binnema
7900a4d050
mu4e-vars: update mu4e-maildir-shortcuts docs
...
Document :hide / :hide-unread
2020-05-26 23:12:26 +03:00
Sean Farley
3ea1784aad
mu4e-main: use string-width' over
length'
...
Better for utf-8 but still difficult to align due to non-monospaced
characters.
2020-05-26 23:12:26 +03:00
Sean Farley
d68c0fd5b5
mu4e-main: decode strings as utf-8
...
This fixes both bookmarks and maildirs with non-ASCII names. Thanks to
@scturtle for pointing this out!
2020-05-26 23:12:26 +03:00
Sean Farley
9f1e231824
mu4e-main: fix off-by-one error in `mu4e~main-action-str'
...
For bookmarks, which specify the key combo instead of using the first
character of the string had an off-by-one error in the mouse
highlighting since it wasn't consuming that first letter.
2020-05-26 23:12:26 +03:00
Sean Farley
5110b02349
mu4e-main: use longest bookmark/mailder count in bookmarks section
2020-05-26 23:12:26 +03:00
Sean Farley
a070cca79d
mu4e-main: add new method for constructing the maildir list
...
This method is exactly like `mu4e~main-bookmarks' but for maildirs
instead of bookmarks.
2020-05-26 23:12:26 +03:00
Sean Farley
41f0c5a92a
mu4e-utils: add method to count the longest name
...
Consolidates the logic for looping over bookmarks and maildirs so that
we can compute the longest name.
2020-05-26 23:12:26 +03:00