Dirk-Jan C. Binnema
529e856d35
guile: define_vars: define for both name and alias
...
Scripts seem to depend on both.
2022-08-23 22:25:01 +03:00
Dirk-Jan C. Binnema
b91628d009
guile/meson.build: install scripts too
...
Fixes #2323
2022-08-23 19:33:41 +03:00
Dirk-Jan C. Binnema
a094512067
guile/meson.build: cleanup whitespace
2022-08-23 19:33:34 +03:00
Dirk-Jan C. Binnema
e416a5215f
autotools: remove
...
Since 2008, autotools has served us well - thank you!
However, mu is now using meson build, and it's time to remove the
autotools support -- one build system is enough.
2022-08-20 11:19:29 +03:00
Dirk-Jan C. Binnema
317fe53ff7
tests: update test helpers and users
...
Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for
g_test_init. Update users.
2022-08-11 22:55:10 +03:00
Dirk-Jan C. Binnema
5e3e2cf28e
build: use install-info when installing mu4e/guile
...
So the docs can be found.
2022-07-01 08:31:00 +03:00
Dirk-Jan C. Binnema
0708033e48
build: update autotools build
2022-06-18 15:21:26 +03:00
Dirk-Jan C. Binnema
2bb16ca7d1
guile: include pre-snarfed code
...
snarfing is tricky to get to work portably with c++ code. So, for now let's just
include the pre-generated .x files and safe us a bit of time. They're not very
prone to change anyway.
2022-06-02 21:04:30 +03:00
Dirk-Jan C. Binnema
277a7e0e10
guile: don't extern-c'ify libguile
...
Already has it... seems to break compilation on some machines?
2022-05-24 19:35:29 +03:00
Dirk-Jan C. Binnema
8eac392221
guile: re-enable the guile support
...
Update for the internal (Mu::Message) APIs.
Update build.
2022-05-21 17:44:09 +03:00
Dirk-Jan C. Binnema
852c7044d9
guile: update, but disable for now
...
It's not ready for the new Message
2022-04-30 10:40:45 +03:00
Dirk-Jan C. Binnema
85a3ff71ae
guile: upgrade to Mu::Message
2022-04-30 10:40:45 +03:00
Dirk-Jan C. Binnema
1c7854930b
guile: improve meson build
2022-04-04 23:43:50 +03:00
Dirk-Jan C. Binnema
27ebfb3b3c
lib+guile: use Mu::Option, not std::optional
...
We need the extensions, and/or let's use _one_ optional implementation everywhere.
2022-03-28 08:58:04 +03:00
Dirk-Jan C. Binnema
de80b557e8
meson: build updates
2022-03-26 17:19:10 +02:00
Dirk-Jan C. Binnema
f7c84006d7
many: update for lib/message updates
...
Adapt to the new names / directory. Big commit, but mostly just very boring renaming.
2022-03-26 17:19:10 +02:00
Dirk-Jan C. Binnema
4c4fb1759f
message: move to lib/message, update naming
...
Basically, move/rename lib/mu-message* to lib/mu-*.
Add the beginnings of a Message class.
2022-03-26 17:19:10 +02:00
Dirk-Jan C. Binnema
3a7bfab5f5
guile: update unit tests
...
Make it work with meson.
2022-03-13 12:37:29 +02:00
Dirk-Jan C. Binnema
ca5bb06457
guile: use mu-message-fields
2022-03-07 06:50:18 +02:00
Dirk-Jan C. Binnema
ec826cd838
tests: update naming
2022-02-21 23:51:46 +02:00
Dirk-Jan C. Binnema
f10a7560f7
build: fix some warnings
2022-02-21 23:51:46 +02:00
Dirk-Jan C. Binnema
6a7e706354
guile: use Mu::MessageContact
...
Use the new contact class
2022-02-21 23:22:42 +02:00
Dirk-Jan C. Binnema
f6f17d5d6b
*: update code for Mu::MessageFlags
...
Migrate the code to use the new niceness
2022-02-17 23:48:59 +02:00
Dirk-Jan C. Binnema
3820118246
store: rename "metadata" into "properties"
...
properties are the constant (for the duration) values for a store; metadata may
change, so reserve that name for that.
2022-02-14 11:12:26 +02:00
Dirk-Jan C. Binnema
23fc8bdba8
update code for Mu::MessagePriority
...
Update dependent code
2022-02-14 11:12:26 +02:00
Dirk-Jan C. Binnema
e818e94d0e
build: fix some scan-build warnings
2022-02-07 17:36:34 +02:00
Dirk-Jan C. Binnema
ebc9b88f80
store/query: update for new store/query api
...
Update to the new API.
2022-01-30 14:52:41 +02:00
Dirk-Jan C. Binnema
48d3f9cfab
tests: move to subdir, move to meson
...
De-clutter the source directories a bit. Ensure tests build with meson, and
remove from autotools in a few places (no need to do things twice).
2021-11-08 23:58:05 +02:00
Dirk-Jan C. Binnema
6bea54805f
build: fix compiler warning
...
guile: some clang warning
and ensure we get the right Xapian in all places, and fileno is defined.
2021-11-05 09:02:24 +02:00
Dirk-Jan C. Binnema
ec01399d56
guile: fix build spam
...
Remove some debug message
2021-11-03 22:08:53 +02:00
Dirk-Jan C. Binnema
3dd721d5a3
clang-format: update c/cc coding style
...
Update all cc code using .clang-format; please do so as well for future PRs
etc.; emacs has a handy 'clang-format' mode to make this automatic.
For comparing old changes with git blame, we can disregard this one using
--ignore-rev
(see https://www.moxio.com/blog/43/ignoring-bulk-change-commits-with-git-blame )
2021-10-20 12:26:16 +03:00
Dirk-Jan C. Binnema
21374c12a1
guile: Fix and re-enable unit test
2021-03-17 18:33:05 +02:00
Dirk-Jan C. Binnema
1b5b04ff97
guile: Fix doc building
2021-03-17 01:19:25 +02:00
Dirk-Jan C. Binnema
e6d92d4fef
meson: Generate version.texi for guile, mu4e
...
So we can build from a clean git clone.
2021-03-17 00:16:49 +02:00
Dirk-Jan C. Binnema
6e9a60c385
mu: fix some compiler warnings
...
and whitespace.
2021-03-12 22:20:48 +02:00
Dirk-Jan C. Binnema
7a70942e67
build: experimental support for the meson build system
2021-02-12 00:49:35 +02:00
Dirk-Jan C. Binnema
2967a2e251
guile: mark guile entry points as extern "C" {}
...
Otherwise, we can't find them.
2021-02-11 18:53:09 +02:00
Dirk-Jan C. Binnema
4daa7105d2
guile: update for query changes
2021-01-22 22:51:33 +02:00
Dirk-Jan C. Binnema
a00918ac93
guile: small build cleanups
2020-11-16 10:16:39 +02:00
Dirk-Jan C. Binnema
47454ad8d4
mu: add some missing files
2020-11-11 21:42:56 +02:00
Dirk-Jan C. Binnema
a1d1619bda
use c++ for some more sources
...
Do a (superficial) port to c++ of some of the c sources. Update
deps. Fix a few compiler warnings.
2020-11-07 14:11:59 +02:00
Dirk-Jan C. Binnema
3206b9db23
guile: use updated Query API
2020-11-07 11:43:11 +02:00
Dirk-Jan C. Binnema
6b8ccff572
guile: avoid need for muldef
2020-11-01 14:04:15 +02:00
Dirk-Jan C. Binnema
7353c87778
mu: avoid some linker errors on MacOS
2020-10-31 14:36:19 +02:00
Danny O'Brien
623cf787ad
guile: support version 3.0.
...
Includes an update to the guile m4 package, and tweaks the build so that
both 2.2 and 3.0 should work fine.
2020-10-31 10:43:49 +02: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
015fae7b1a
guile: fix readline linking
...
For now, simply link muguile against readline; hopefully, we can make
this transitive.
2020-05-26 00:41:46 +03:00
Dirk-Jan C. Binnema
06d3deb4cc
guile: path updates for 2.2
2020-04-20 00:01:07 +03:00
Dominik Schrempf
ccbd81f6ef
~/.mu -> ~/.cache/mu
2020-04-19 13:02:48 +02:00
Dirk-Jan C. Binnema
b5716b301a
Revert "guile: don't link with muldefs"
...
This reverts commit 2f2399e651
.
We do need the muldefs on some distributions after all.
2020-04-15 09:53:52 +03:00