Commit graph

25 commits

Author SHA1 Message Date
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
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
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
c9fd046310
ci: new: alpine x86 2020-08-06 23:25:53 +02:00
Renamed from .builds/alpine.yml (Browse further)