Commit graph

41 commits

Author SHA1 Message Date
Daniel Eklöf
42f78b7f9c
ci: "meson [options]" is deprecated (do "meson setup [options]" instead) 2025-01-04 12:06:49 +01:00
Daniel Eklöf
169471cf23
ci: sr.ht: try to bring up to date, and pull from codeberg 2025-01-04 09:50:30 +01:00
Daniel Eklöf
77e30c8b45
ci: sr.ht: disable x64 (rely on codeberg only) 2025-01-04 09:50:06 +01:00
Daniel Eklöf
391bc119de
ci (sr.ht): alpine no longer allows pip installing to the system installation 2023-07-25 16:47:40 +02:00
Daniel Eklöf
b4e418f251
ci: try alpine edge instead of latest 2023-05-26 10:20:05 +02:00
Daniel Eklöf
4f06d413e2
ci (sr.ht): pull directly from git.sr.ht 2022-08-23 16:38:39 +02:00
Daniel Eklöf
65ecb77737
ci: codespell: ignore ‘zar’ (user who contributed) 2022-08-20 18:25:05 +02:00
Daniel Eklöf
155a2e4790
ci: enable -Db_pgo=generate on release builds
Hopefully, this’ll catch missing stubs in pgo/pgo.c in the future.
2022-04-23 11:24:44 +02:00
Daniel Eklöf
8c66dbbd78
ci: codespell: don’t uppercase words in the exclude list 2022-02-05 17:31:16 +01:00
Daniel Eklöf
e5926ad6be
ci: fix codespell -L usage 2022-02-05 17:29:23 +01:00
Daniel Eklöf
bfab825b02
ci: use fcft master branch 2022-02-05 17:27:30 +01:00
Daniel Eklöf
6c38c2358a
ci: allow ‘Ser’ (as in Simon Ser) in Codespell 2022-02-05 17:26:14 +01:00
Daniel Eklöf
e0227266ca
fcft: adapt to API changes in fcft-3.x
Fcft no longer uses wchar_t, but plain uint32_t to represent
codepoints.

Since we do a fair amount of string operations in foot, it still makes
sense to use something that actually _is_ a string (or character),
rather than an array of uint32_t.

For this reason, we switch out all wchar_t usage in foot to
char32_t. We also verify, at compile-time, that char32_t used
UTF-32 (which is what fcft expects).

Unfortunately, there are no string functions for char32_t. To avoid
having to re-implement all wcs*() functions, we add a small wrapper
layer of c32*() functions.

These wrapper functions take char32_t arguments, but then simply call
the corresponding wcs*() function.

For this to work, wcs*() must _also_ be UTF-32 compatible. We can
check for the presence of the  __STDC_ISO_10646__ macro. If set,
wchar_t is at least 4 bytes and its internal representation is UTF-32.

FreeBSD does *not* define this macro, because its internal wchar_t
representation depends on the current locale. It _does_ use UTF-32
_if_ the current locale is UTF-8.

Since foot enforces UTF-8, we simply need to check if __FreeBSD__ is
defined.

Other fcft API changes:

* fcft_glyph_rasterize() -> fcft_codepoint_rasterize()
* font.space_advance has been removed
* ‘tags’ have been removed from fcft_grapheme_rasterize()
* ‘fcft_log_init()’ removed
* ‘fcft_init()’ and ‘fcft_fini()’ must be explicitly called
2022-02-05 17:00:54 +01:00
Daniel Eklöf
4a00d0d050
ci (gitlab+builds.sr.ht): execute foot{,client} --version
This runs our builtin unit tests (debug builds only), and verifies it
runs, at all. (and also logs the version in the build logs...)
2021-12-11 18:52:05 +01:00
Daniel Eklöf
37b82efa77
ci: one more text-shaping -> grapheme-shaping+run-shaping 2021-11-20 11:31:31 +01:00
Daniel Eklöf
154caae35a
ci: fcft: replace text-shaping with grapheme-shaping+run-shaping 2021-11-20 11:24:13 +01:00
Daniel Eklöf
3990cd4392
ci: codespell: ignore ‘doas’ 2021-08-27 20:45:19 +02:00
Daniel Eklöf
b9ef703eb1
wip: grapheme shaping 2021-06-24 17:30:45 +02:00
Daniel Eklöf
47e532d4b0
ci: build on alpine/latest, not edge 2021-04-07 19:52:46 +02:00
Daniel Eklöf
bdc5810ff4
meson: convert -Dterminfo from a boolean to a feature option
Patch from Jan Beich
2021-02-09 19:42:55 +01:00
Daniel Eklöf
0a645d67a7
ci: freebsd: don’t need -Wno-missing-braces anymore
builds.sr.ht has been updated to FreeBSD-12.2
2021-01-28 07:34:44 +01:00
Daniel Eklöf
b2d0af7016
ci: freebsd-x64: compile with -Wno-missing-braces
The freebsd/latest image is still FreeBSD-12, with clang-8. It
generate false positive warnings:

../../foot/search.c:357:21: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
    mbstate_t ps = {0};
2021-01-23 10:07:02 +01:00
Jan Beich
dfc157e6b1
ci: enable freebsd-x64 job
- Add missing dependencies
- Disable terminfo to match downstream
2021-01-23 09:52:42 +01:00
Daniel Eklöf
e7b2dcb619
ci: run codespell on README/INSTALL/CHANGELOG 2020-12-26 13:08:03 +01:00
Daniel Eklöf
7a2084f2c2
ci: run codespell on the man pages (the source files) 2020-12-26 12:15:52 +01:00
Daniel Eklöf
c3d067869d
ci: sr.ht: cd into ‘foot’ before running codespell 2020-12-24 13:44:09 +01:00
Craig Barnes
013cca646d meson: use wrap files for fcft/tllist subprojects
See: https://mesonbuild.com/Wrap-dependency-system-manual.html
2020-12-19 22:43:09 +00:00
Daniel Eklöf
0f0fec093e
ci: install fonts, needed for fcft tests 2020-09-16 19:38:50 +02:00
Daniel Eklöf
bcbf9872ec
ci: need the ‘dev’ version of ‘check’ on alpine 2020-09-16 19:29:46 +02:00
Daniel Eklöf
187b913050
ci: install ‘check’ - this enables fcft tests 2020-09-16 19:27:20 +02:00
Daniel Eklöf
6b20533b62
ci: explicitly enable harfbuzz in fcft 2020-09-16 19:13:22 +02:00
Daniel Eklöf
1347609c7c
ci: enable fcft’s text-shaping tests 2020-09-16 19:09:07 +02:00
Daniel Eklöf
11cb08f1b5
ci: sr.ht: run a codespell task at the end 2020-08-22 10:25:52 +02:00
Daniel Eklöf
ef9bac5965
Revert "ci: sr.ht: just testing..."
This reverts commit b7b7b56b3d.
2020-08-11 17:33:19 +02:00
Daniel Eklöf
b7b7b56b3d
ci: sr.ht: just testing... 2020-08-11 17:32:34 +02:00
Daniel Eklöf
41b4bfe792
ci: disable freebsd-x64 and alpine-x86
Disabled freebsd since foot hasn't been ported to freebsd yet.
Disabled alpine x86 since builds.sr.ht doesn't yet support non-x64 builds.
2020-08-06 23:28:06 +02:00
Daniel Eklöf
c9fd046310
ci: new: alpine x86 2020-08-06 23:25:53 +02:00
Daniel Eklöf
a6fc5f10fb
ci: alpine: add missing dependencies: pixman + libxkbcommon 2020-04-13 11:52:43 +02:00
Daniel Eklöf
3f35a40ff8
ci: initial FreeBSD build manifest 2020-04-12 18:33:27 +02:00
Daniel Eklöf
9a71f20de7
ci: alpine: wlroots isn't needed (or used, at all) 2020-04-12 18:33:07 +02:00
Daniel Eklöf
e997ec7e1d
ci: move sr.ht's .build.yml to .builds/alpine.yml 2020-04-11 16:33:07 +02:00