summaryrefslogtreecommitdiff
path: root/guile
AgeCommit message (Collapse)Author
2025-11-25improve invoking external commandsDirk-Jan C. Binnema
- don't make assumptions on where programs live (i.e., /bin/sh, /bin/rm, /bin/mv) are not universal - dont invoke shell when unnecessary - improve error-handling
2025-08-26Replace "the the " with "the "Anton Mosich
2025-08-15tests: only build when neededDirk-Jan C. Binnema
Build the tests lazily, i.e., not before `meson test`. This helps with build-times.
2025-06-10fdl.texi: only need one copy in source treeDirk-Jan C. Binnema
No need for identical files in mu4e / guile dirs, move to build-aux.
2025-02-05guile: avoid body duplicationDirk-Jan C. Binnema
In message, don't re-fill when unneeded. Add tests. Fixes #2802.
2025-01-04guile: Fix the mu:body message methodThiago Jung Bauermann
Somewhere along the way, the body-txt and body-html fields were merged into a single body field. Later, commit 8eac3922215c ("guile: re-enable the guile support") finally removed support for Field::Id::BodyHtml from mu:c:get-field. Unfortunately mu.scm and the documentation are still stuck in the past, so update them. mu:body-txt is now a synonym for mu:body, and mu:body-html always returns #f. I wanted to add a mu:body test also for the rfc822.1 message, but there's currently a bug where its body text is is duplicated (issue #2802), so the test would fail.
2025-01-03guile: tests: Fix encoding of "atomic" messageThiago Jung Bauermann
It's stated to be US-ASCII with 7-bit encoding, but it contains the UTF-8 character '—'. Fixing the encoding very slightly changes the average size of messages reported by mu:average, so adjust the new expected value.
2024-03-10guile: separate guile load/extensions pathDirk-Jan C. Binnema
2024-03-10Merge commit 'pullreqs/2635'Dirk-Jan C. Binnema
2024-02-26guile-tests: fix some typosDirk-Jan C. Binnema
2024-02-25Fix guile_load_path to include build pathXiyue Deng
When meson is run in a build path that is different from source root, the generated shared library cannot be found under "<source_root>/guile". This patch adds the corresponding path under build root to guile_root_path so that they continue to work. This should fix https://github.com/djcb/mu/issues/2631.
2024-01-06tests: move to tests/, make optionalDirk-Jan C. Binnema
While not recommended, sometimes it can be useful to disable building the unit tests. This can be done now with meson -Dtests=disabled build
2023-10-31guile: fix module installation pathDirk-Jan C. Binnema
2023-10-14build: avoid dynamic dates for reproducibilityDirk-Jan C. Binnema
We were using dates (in documentation, (c) notices etc) based on the build-date; that makes it hard to do reproducible builds, so specify a specific date in the top-level meson file, and use that throughout.
2023-09-12unit tests: improveDirk-Jan C. Binnema
and add a new one for the indexer
2023-09-05infodir: allow absolute pathDirk-Jan C. Binnema
Fixes #2548
2023-08-22mu-guile: fix guile-test buildDirk-Jan C. Binnema
upgrade to the new formatting code. Fixes: #2540
2023-08-09guile: make guile-extension-dir configurableDirk-Jan C. Binnema
We use guile_dep.get_variable(pkgconfig: 'extensiondir') but that's not good for everyone.
2023-07-23clang: avoid some build warningsDirk-Jan C. Binnema
2023-07-19Install Guile extension into Guile's extension directoryJeremy Sowden
2023-07-05update to use fmt-based apisDirk-Jan C. Binnema
Not complete, but a first big stab converting users of Mu::Error and various g_warning & friends, format to the new libfmt-based APIs.
2023-07-02all: update for API changes (config etc.)Dirk-Jan C. Binnema
Use the new & improved APIs.
2023-01-14utils: get rid of mu-util.[ch]Dirk-Jan C. Binnema
It was getting old... Remove the unused parts, refactor the few parts still in use.
2022-12-29guile: don't run test with asan buildsDirk-Jan C. Binnema
They're incompatible.
2022-12-24guile: avoid compiler warningDirk-Jan C. Binnema
2022-12-19build: bump meson requirement to 56.0Dirk-Jan C. Binnema
We need some of the new functionality in the near-future. Fix build warnings.
2022-11-17guile: update scriptsDirk-Jan C. Binnema
Some minor improvements to the existing scripts
2022-11-17guile: move msgs-per-* scripts into histogram.scmDirk-Jan C. Binnema
2022-11-17guile: update for removing runtimeDirk-Jan C. Binnema
2022-08-23guile: define_vars: define for both name and aliasDirk-Jan C. Binnema
Scripts seem to depend on both.
2022-08-23guile/meson.build: install scripts tooDirk-Jan C. Binnema
Fixes #2323
2022-08-23guile/meson.build: cleanup whitespaceDirk-Jan C. Binnema
2022-08-20autotools: removeDirk-Jan C. Binnema
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-11tests: update test helpers and usersDirk-Jan C. Binnema
Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for g_test_init. Update users.
2022-07-01build: use install-info when installing mu4e/guileDirk-Jan C. Binnema
So the docs can be found.
2022-06-18build: update autotools buildDirk-Jan C. Binnema
2022-06-02guile: include pre-snarfed codeDirk-Jan C. Binnema
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-05-24guile: don't extern-c'ify libguileDirk-Jan C. Binnema
Already has it... seems to break compilation on some machines?
2022-05-21guile: re-enable the guile supportDirk-Jan C. Binnema
Update for the internal (Mu::Message) APIs. Update build.
2022-04-30guile: update, but disable for nowDirk-Jan C. Binnema
It's not ready for the new Message
2022-04-30guile: upgrade to Mu::MessageDirk-Jan C. Binnema
2022-04-04guile: improve meson buildDirk-Jan C. Binnema
2022-03-28lib+guile: use Mu::Option, not std::optionalDirk-Jan C. Binnema
We need the extensions, and/or let's use _one_ optional implementation everywhere.
2022-03-26meson: build updatesDirk-Jan C. Binnema
2022-03-26many: update for lib/message updatesDirk-Jan C. Binnema
Adapt to the new names / directory. Big commit, but mostly just very boring renaming.
2022-03-26message: move to lib/message, update namingDirk-Jan C. Binnema
Basically, move/rename lib/mu-message* to lib/mu-*. Add the beginnings of a Message class.
2022-03-13guile: update unit testsDirk-Jan C. Binnema
Make it work with meson.
2022-03-07guile: use mu-message-fieldsDirk-Jan C. Binnema
2022-02-21tests: update namingDirk-Jan C. Binnema
2022-02-21build: fix some warningsDirk-Jan C. Binnema