1
0
mirror of https://github.com/djcb/mu.git synced 2024-07-06 09:01:17 +02:00
Commit Graph

5177 Commits

Author SHA1 Message Date
Alex Bennée
c074e7ea3b mu4e/mu4e-utils: only set so-long-mode once
Ideally we should separate the log buffer creation code so this van be
done a bit more cleanly. For now however only set so-long-mode once
otherwise you end up spamming the messages with constant:

  Changed to so-long-mode (from fundamental-mode) on account of line length.  C-c C-c to revert. [36 times]

As the messages keep rolling in.
2020-06-29 10:26:34 +01:00
Dirk-Jan C. Binnema
556b898e4d lib: Remove unused file 2020-06-28 13:23:56 +03:00
Dirk-Jan C. Binnema
bbc3496079
Merge pull request #1739 from asilata/master
Fix typo in org-mode links section documentation
2020-06-28 11:58:16 +03:00
Dirk-Jan C. Binnema
0f5973c61f Merge branch 'wip/indexer' 2020-06-27 17:19:12 +03:00
Dirk-Jan C. Binnema
dbf0e460a8 bump version to 1.5.4 2020-06-27 17:07:00 +03:00
Dirk-Jan C. Binnema
c8eff488ba cosmetics 2020-06-27 17:07:00 +03:00
Dirk-Jan C. Binnema
ba13a62e90 cmd-server: Update to use the new Indexer 2020-06-27 17:07:00 +03:00
Dirk-Jan C. Binnema
f9415caab7 cmd-index: Use the new Indexer 2020-06-27 17:07:00 +03:00
Dirk-Jan C. Binnema
10dbddec79 mu-cmd: Use the new Store API 2020-06-27 17:07:00 +03:00
Dirk-Jan C. Binnema
4617935d80 store: Update for the new indexer
Update some APIs so we can use it with the new indexer.

Remove some now-obsolete C APIs.
2020-06-27 17:07:00 +03:00
Dirk-Jan C. Binnema
4e6bd7dfdf lib/index: Implement new indexer
Implement a new message indexer consisting of a single-threaded scanner
and a multi-threaded indexer.

This allows for a number of optimizations as well as background
indexing, though this initial version should be behave similar to the
old indexer.
2020-06-27 17:07:00 +03:00
Dirk-Jan C. Binnema
0e50bfc02c mu: better output
Improve the output of various mu commands
2020-06-27 17:07:00 +03:00
Dirk-Jan C. Binnema
f416ad4249 utils: Add async-queue
Like GAsyncQueue, but for c++
2020-06-27 17:07:00 +03:00
Dirk-Jan C. Binnema
1b056f4c51 utils: Add Mu::canonicalize_filename
We need it for unit-tests
2020-06-27 17:07:00 +03:00
Dirk-Jan C. Binnema
6061898c2b utils: Clean up duration helpers 2020-06-27 17:07:00 +03:00
Dirk-Jan C. Binnema
63a8c72b74 config: add message-size, batch-size option for init 2020-06-27 11:36:34 +03:00
Dirk-Jan C. Binnema
c8e8004f29 server: show complete help by default
And add :terse to get a one-line description.
2020-06-27 10:24:37 +03:00
Asilata Bapat (ANU)
84c59cef5a Fix org-mode links section documentation 2020-06-27 15:54:48 +10:00
Dirk-Jan C. Binnema
5922cd9fa2 lib/mu-msg: benchmark message creation 2020-06-26 19:26:45 +03:00
Dirk-Jan C. Binnema
5ca0b6e148 mu4e-utils: use so-long-mode for logs when available 2020-06-26 19:25:45 +03:00
Dirk-Jan C. Binnema
3715bb0c5e mu4e-headers: optimize header writing a bit
Try to make writing out the headers in the headers buffer slightly
faster.
2020-06-26 19:24:40 +03:00
Dirk-Jan C. Binnema
73f4c49364 utils: add async-queue, ansio-printer
Add an async-queue (rougly, GAsyncQueue but in c++ using a deque)

Add an ANSI color printer.
2020-06-26 19:21:04 +03:00
Dirk-Jan C. Binnema
281a4cc7db
Merge pull request #1734 from damon-kwok/svg
Added svg icon to README
2020-06-21 17:51:10 +03:00
Dirk-Jan C. Binnema
7db921c69d
Merge pull request #1731 from cireu/require-desktop-on-use
mu4e: Delay the execution of workaround for desktop.el
2020-06-21 17:50:40 +03:00
damon-kwok
b2c7f25b87 Update build mu4e need emacs >= 25.3 2020-06-20 17:19:25 +08:00
damon-kwok
b578f255a0 Update svg icon URL 2020-06-20 13:58:30 +08:00
damon-kwok
45b45d5404 Changed emacs and freebsd URL 2020-06-20 13:52:54 +08:00
Zhu Zihao
f239616fb8 mu4e: Delay the execution of workaround for desktop.el
Some Emacs user may never use desktop.el, We don't need to require desktop.el
for them.
2020-06-20 13:45:33 +08:00
damon-kwok
b7300d5e35 Formatting fix 2020-06-20 13:30:19 +08:00
damon-kwok
894599e5d6 Added svg icon to README.org 2020-06-20 13:28:41 +08:00
Dirk-Jan C. Binnema
83efc69665
Merge pull request #1732 from Chris00/master
Fix accepting ical RSVP with Outlook
2020-06-20 07:50:21 +03:00
Christophe Troestler
d49634245d ical: Don't insert a multipart/alternative with textual event
It seems that tha multipart/alternative confuses Outlook.

Fixes https://github.com/djcb/mu/issues/1729
2020-06-18 23:21:51 +02:00
Christophe Troestler
6ced62685a ical: save the citation in the kill-ring 2020-06-18 23:21:51 +02:00
Christophe Troestler
75bd856f50 ical: Add instructions to add events to a diary file 2020-06-18 23:21:51 +02:00
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