Commit Graph

7154 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema dcbcd697f4 mu-init: insist that --maildir is absolute 2024-02-26 01:08:44 +02:00
Dirk-Jan C. Binnema 915335fd76 tests: check setlocale return value
It might fail while nl_langinfo does not.
2024-02-25 17:11:29 +02:00
Dirk-Jan C. Binnema 5b65717ce8 build: fix doc generation 2024-02-25 17:11:29 +02:00
Dirk-Jan C. Binnema 5a763af970 lib/mu-store: don't assume non-empty in remove_slash
HT: Arsen Arsenović

Fixes #2633.
2024-02-25 17:11:29 +02:00
Dirk-Jan C. Binnema f103e19a5a
Merge pull request #2632 from MatthewGentoo/build-cld2
build: add cld2 option
2024-02-25 17:02:20 +02:00
Matthew Smith f88acc0446 build: add cld2 option
Add an option for builders to explicitly disable cld2, instead of
relying on the automatic detection.
2024-02-25 10:42:22 +00:00
Dirk-Jan C. Binnema 9d7f3f17d8 build: bump version to 1.12.0
This is a new stable release, and everyone is encouraged to upgrade.

See NEWS.org for the many changes.
2024-02-24 16:07:10 +02:00
Dirk-Jan C. Binnema 6b3411bde4 NEWS.org: update for 1.12 2024-02-24 16:07:10 +02:00
Dirk-Jan C. Binnema f7ba00ec08 mu4e-view: update docstring for header customization 2024-02-24 13:47:55 +02:00
Dirk-Jan C. Binnema 91eb777946 mu4e-compose: try to avoid buffer/frame mishaps
... when closing a message. Should hopefully be a bit less bad than
before.
2024-02-18 18:02:54 +02:00
Dirk-Jan C. Binnema 309df647b8 build: bump version to 1.11.28 2024-02-06 23:51:36 +02:00
Dirk-Jan C. Binnema a91fe2d7e9 add IDEAS.org with some ideas for implementation
Keep them there to track; no need to clutter up the issue list (it is
rare / never happened?) were someone implemented an RFE-ticket.
2024-02-06 23:29:58 +02:00
Dirk-Jan C. Binnema 62f0a9a902 lib/mu-xapian-db: handle exception with dec_transaction_level
I.e., do our book-keeping beforehand.
2024-01-23 19:15:30 +02:00
Dirk-Jan C. Binnema ffac8409a3 mu4e-message: handle 'first' parameter to message-fetch-field
May as well support it.
2024-01-23 19:14:19 +02:00
Dirk-Jan C. Binnema 91ce40a8bd mu4e-org: fix typo 2024-01-23 18:26:48 +02:00
Dirk-Jan C. Binnema 30b8238522 tests: move to tests/, make optional
While not recommended, sometimes it can be useful to disable building
the unit tests. This can be done now with
    meson -Dtests=disabled build
2024-01-06 18:35:22 +02:00
Dirk-Jan C. Binnema 8db0c4e3d8 NEWS.org: update 2024-01-04 23:45:15 +02:00
Dirk-Jan C. Binnema 300ab2b0e1 mu4e-message: improve mu4e-fetch-field
Decode the message, so that encoded fields get decoded as expected.
Also add an example to the doc for using mu4e-fetch-field.
2024-01-04 23:41:46 +02:00
Dirk-Jan C. Binnema b19f136700
Merge pull request #2617 from Chris00/master
mu4e-icalendar: Fix getting the organizer from the message
2024-01-04 23:08:11 +02:00
Christophe Troestler 7257b3fa3c mu4e-icalendar: Fix getting the organizer from the message 2024-01-03 12:13:40 +01:00
Dirk-Jan C. Binnema ad04f16b09 mu4e: allow sorting by _first_ tag
Fixes #2611
2024-01-02 00:24:03 +02:00
Dirk-Jan C. Binnema 8edddae977 mu4e-server: remove obsolete compose code 2024-01-02 00:15:59 +02:00
Dirk-Jan C. Binnema bffefc846f build: bump version to 1.11.27 2024-01-01 10:33:12 +02:00
Dirk-Jan C. Binnema b4c768e6d0 mu-init: guess maildir when --maildir is missing
Re-instate the guessing that's in the manpage. Add unit tests.
Update documentation.

Fixes #2616.
2024-01-01 10:33:03 +02:00
Dirk-Jan C. Binnema 8366e009cb xapian-db: handle doc-not-found error in catch handler 2023-12-31 07:50:54 +02:00
Dirk-Jan C. Binnema bae290e718 server: perform_move: throw when message not found
Warning & continuing is not the right thing...
2023-12-31 07:49:56 +02:00
Dirk-Jan C. Binnema 1999d9e6ef compose: remove server-side handling
It's no longer needed: composition happens on the mu4e side only (until
a message is saved).
2023-12-29 23:23:13 +02:00
Dirk-Jan C. Binnema 0a5845fe8b mu-index: add unit tests 2023-12-29 22:28:10 +02:00
Dirk-Jan C. Binnema ae4f49cfc0 init: interpret batch-size 0 as 'default'
This makes writing tests easier.
2023-12-29 22:28:10 +02:00
Dirk-Jan C. Binnema f3f4ea65ab xapian-db: improve some error messages
Correctly handle re-opening a transaction after one has finished.

Recognize some database opening errors and give some better user hints.

Fixes #2615.
2023-12-29 22:28:10 +02:00
Sean Farley b222a8a3f5 mu4e: add support for macos notifications
The current order in this patch is

1) macos notification
2) built-in dbus notification
3) fallback text notification

because macOS emacs can actually have dbus enabled (for emacs daemon
mode) but that doesn't support notifications. This is a built-in way to
send a simple notification for macs, too. Yay!
2023-12-22 21:34:52 +02:00
Dirk-Jan C. Binnema dd51f5aa12 mu4e-view: handle links with new composer 2023-12-22 21:25:12 +02:00
Dirk-Jan C. Binnema 4b199e8bed mu-server: modernize sig handling
Update some old code.
2023-12-22 21:24:41 +02:00
Dirk-Jan C. Binnema 146b80113f lib: move transaction handling to mu-xapian
Instead of handling transactions in the store, handle it in xapian-db.
Make the code a bit more natural / cleaner-out

Handle transaction automatically (with a batch-size) and add some RAII
Transaction object, which makes all database interaction transactable
for the duration. So, no more need for explicit parameters to
add_message while indexing.
2023-12-22 21:24:41 +02:00
Dirk-Jan C. Binnema cbd6353058 mu4e-compose: don't attempt deleting frames for now
This needs some more work, so don't try to delete frames for now, which
is better than the alternative.
2023-12-15 12:46:44 +02:00
Dirk-Jan C. Binnema 65e7e7f42d mu4e-compose: be less eager deleting frames
We were deleting frames if it was not the last one; however, emacs can
have a bunch of hidden frames (for tooltips?) that we should not
consider.
2023-12-14 21:38:15 +02:00
Dirk-Jan C. Binnema 25776da557 mu-result: small tweaks 2023-12-13 21:48:43 +02:00
Dirk-Jan C. Binnema 8c1466773f mu4e: get rid of mu4e-is-mode-or-derived-p
derived-mode-p is enough
2023-12-06 20:30:47 +02:00
Dirk-Jan C. Binnema 8bdf6b42a2 lib: debug-log moving / unlinking 2023-12-06 20:29:27 +02:00
Dirk-Jan C. Binnema 0ee0a26689 mu4e.texi: mention header-line-format misalignment & workaround
We can't fully fix this with the current headers-view, but this may help
some user. Based on code provided by @phil-s.

Fixes #2606.
2023-12-04 18:52:50 +02:00
Dirk-Jan C. Binnema 038d6ea6b6 mu4e-headers: avoid defcustom warning for mu4e-headers-field
Variable may contain custom (user-specified) fields, no need to warn for
that; suggested by @mekeor.

Fixes #2607
2023-12-04 18:52:50 +02:00
Dirk-Jan C. Binnema daf303d444 mu4e-window: fix mu4e--get-current-buffer-type
The change for emacs 30.x does not work for older emacs versions...
2023-12-04 18:52:50 +02:00
Dirk-Jan C. Binnema 526d49f70c mu4e-compose: attempt to delete frame after done with composition
Attempt to delete the frame when
a) it's not the last frame, and
b) there's only a single window on the frame

Fixes #2577
2023-12-04 19:25:55 +02:00
Dirk-Jan C. Binnema 730bd13ea2 mu4e-compose: ensure we switch to composition buffer
When we're done with the setup.

Fixes #2605.
2023-12-02 17:45:51 +02:00
Dirk-Jan C. Binnema d488ab2641 mu4e-compose: combine mu4e-compose-new and mu4e-compose-mail
No need for duplication.
2023-12-02 17:45:51 +02:00
Dirk-Jan C. Binnema 20e44f0fb6
Merge pull request #2599 from a3a3el/reproducilble-build-fix
man: fix unreproducible copyright years
2023-12-02 17:41:03 +02:00
Dirk-Jan C. Binnema 8c26edf656 build: bump version to 1.11.26 2023-12-01 19:11:56 +02:00
Dirk-Jan C. Binnema 4ea450c29f mu4e: update documentation 2023-12-01 19:11:56 +02:00
Dirk-Jan C. Binnema 8e52ef6a7c build: add some fortification flags 2023-12-01 19:11:56 +02:00
Dirk-Jan C. Binnema 149ec143ba mu4e-compose: remove crs from message when decoding
This fixes e.g. forwarding for some mesasges that contain CRs.
2023-12-01 19:11:56 +02:00