Commit graph

3256 commits

Author SHA1 Message Date
Daniel Eklöf
a692ecf656
box-drawing: add {h,v}line_middle_{left,right,up,down} primitives
All solid lines LIGHT/HEAVY line drawings implemented so far can be
implemented in terms of these.
2021-01-01 21:09:32 +01:00
Daniel Eklöf
4f6595c0f3
box-drawing: HEAVY versions of solid lines 2021-01-01 21:09:32 +01:00
Daniel Eklöf
032da5b14e
box-drawing: break out thickness calculation 2021-01-01 21:09:32 +01:00
Daniel Eklöf
fc95c7f48c
box-drawing: initial set of LIGHT box drawings
* 2500
* 2502
* 250c
* 2510
* 2514
* 2518
* 251c
* 2524
* 252c
* 2534
* 253c
2021-01-01 21:09:31 +01:00
Daniel Eklöf
736c88c3fb
term: clear box drawing glyph cache when reloading fonts 2021-01-01 21:09:31 +01:00
Daniel Eklöf
92dc581bea
box-drawing: fix compilation error on 32-bit; wc is int on 64-bit, long on 32-bit 2021-01-01 21:09:31 +01:00
Daniel Eklöf
7acdb3a0dd
box-drawing: add infrastructure for rendering box drawing characters ourselves
* ‘term’ struct contains an array of 160 fcft glyph pointers
* the glyph pointers are lazily allocated when we need to draw a box
  drawings character
* Filtering out box drawings characters is easy - they are (except
  unicode 13, which isn’t handled yet )all in a single range.
2021-01-01 21:09:31 +01:00
Daniel Eklöf
44b32104a7
doc: foot.ini: remove FONT FORMAT section, expand description of ‘font’ 2020-12-31 12:57:37 +01:00
Daniel Eklöf
20d1596c37
foot.ini: add (default) size to font 2020-12-31 12:48:20 +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
cda647f2ca
changelog: update ‘contributors’ 2020-12-26 12:14:07 +01:00
Daniel Eklöf
6dde6df25b
Merge branch 'fix-typo' 2020-12-26 12:13:11 +01:00
Daniel Eklöf
2f867a8c2c
Merge branch 'no-ime'
Closes #259
2020-12-26 12:10:04 +01:00
Daniel Eklöf
2227e36c66
ime: don’t call text-input functions when it isn’t available
Closes #259
2020-12-26 12:09:48 +01:00
Daniel Eklöf
218ce4ab87
wayland: log warning when compositor does not implement text-input 2020-12-26 12:09:24 +01:00
Birger Schacht
4e67940fd7 Fix typo
programatically -> programmatically
2020-12-26 09:17:34 +01:00
Daniel Eklöf
0dbd85ed9e
terminal: reaper callback: don’t close ptmx if already closed 2020-12-26 01:35:17 +01:00
Daniel Eklöf
8b0ef6aa85
terminal: shutdown (or --hold) when the client process terminates
Shutdown the terminal when the client process terminates, not when the
ptmx file descriptor is closed.

This fixes an issue where the terminal remains running after the
client process has terminated, if it spawned child processes that
inherited the ptmx file descriptor.
2020-12-26 01:29:40 +01:00
Daniel Eklöf
3c6789fb8b
reaper: add optional callback
When calling ‘reaper_add()’, the caller can provide a callback. If
non-NULL, the reaper will call the callback to handle the actual
reaping.

If the callback is NULL, or if it returns false, the reaper reaps the
child process.
2020-12-26 01:26:54 +01:00
Daniel Eklöf
d778dc3d2a
readme: add builds.sr.ht status badge 2020-12-25 12:39:57 +01:00
Daniel Eklöf
54dda3e560
readme: try to position pipeline badge after description 2020-12-25 12:36:40 +01:00
Daniel Eklöf
c56582cf03
readme: try to fix gitlab pipeline status badge 2020-12-25 12:36:00 +01:00
Daniel Eklöf
529d534cba
readme: test: add gitlab pipeline badge 2020-12-25 12:34:51 +01:00
Daniel Eklöf
c3d067869d
ci: sr.ht: cd into ‘foot’ before running codespell 2020-12-24 13:44:09 +01:00
Daniel Eklöf
e9a27d1272
input: remove non-existing state from debug log 2020-12-23 18:13:40 +01:00
Daniel Eklöf
e18abae269
readme: add repology packaging status badge 2020-12-22 10:53:57 +01:00
Daniel Eklöf
b25b201819
doc: updated ‘laptop’ benchmarks for 1.6.0 2020-12-21 20:12:03 +01:00
Daniel Eklöf
78da147e80
Merge branch 'releases/1.6' 2020-12-21 16:00:00 +01:00
Daniel Eklöf
c6a53d5e33
meson/pkgbuild: bump version to 1.6.2 2020-12-21 15:58:25 +01:00
Daniel Eklöf
71d1515a05
Merge branch 'releases/1.6' 2020-12-21 13:55:19 +01:00
Daniel Eklöf
7c3cb008ec
changelog: prepare for 1.6.1 2020-12-21 13:50:27 +01:00
Daniel Eklöf
b6b565cc9a
changelog: mention -Wno-profile-instr-unprofiled 2020-12-21 13:50:06 +01:00
Daniel Eklöf
1ad63a5c58
changelog: mention --seed in in generate-alt-random.pu 2020-12-21 13:47:45 +01:00
Daniel Eklöf
68dd9c17d5
generate-alt-random: ioctl(TIOCGWINSZ) may fail in run inside a container
This _should_ only happen when we’re doing a partial PGO build, since
then the script is run in the parent terminal. In this case, the user
is expected to use --rows/--cols anyway.
2020-12-21 13:42:59 +01:00
Daniel Eklöf
e4ae5a7586
generate-alt-random: ioctl(TIOCGWINSZ) may fail in run inside a container
This _should_ only happen when we’re doing a partial PGO build, since
then the script is run in the parent terminal. In this case, the user
is expected to use --rows/--cols anyway.
2020-12-21 13:40:53 +01:00
Daniel Eklöf
6a03567490
install: remove -march=native
This simplifies the instructions. People interested in performance are
likely to know how to use it.
2020-12-21 13:02:58 +01:00
Daniel Eklöf
84fe48acbb
install.md: mention that packagers should not use -march=native 2020-12-21 13:02:54 +01:00
Daniel Eklöf
69836ab795
install.md: add -Wno-profile-instr-unprofiled to clang flags in PGO builds 2020-12-21 13:02:51 +01:00
Daniel Eklöf
aa13dfb4e8
install: remove -march=native
This simplifies the instructions. People interested in performance are
likely to know how to use it.
2020-12-21 13:01:38 +01:00
Daniel Eklöf
a83f2448bc
Merge branch 'clang-wno-profile-instr-unprofile' 2020-12-21 13:01:11 +01:00
Daniel Eklöf
505680087c
changelog: use -std=c11 instead of -std=c18 2020-12-21 12:28:29 +01:00
sterni
5987b7c85f
meson: default to c11
We don't need any C18 specifics, so C11 is also fine and more widely
supported (i. e. in older clang versions).
2020-12-21 12:27:25 +01:00
Daniel Eklöf
82d9fd9219
install: fix typo in ‘ninja’ 2020-12-21 12:27:22 +01:00
Daniel Eklöf
4fe95e6354
install.md: mention that packagers should not use -march=native 2020-12-21 12:24:47 +01:00
Daniel Eklöf
5a1dcbb04d
install.md: add -Wno-profile-instr-unprofiled to clang flags in PGO builds 2020-12-21 12:24:29 +01:00
Daniel Eklöf
e95798e608
changelog: use -std=c11 instead of -std=c18 2020-12-21 12:20:08 +01:00
Daniel Eklöf
86c69aed05
Merge branch 'meson-c11' 2020-12-21 12:17:49 +01:00
Daniel Eklöf
288ea360cb
install: fix typo in ‘ninja’ 2020-12-21 12:15:59 +01:00
sterni
b4c9238f3f meson: default to c11
We don't need any C18 specifics, so C11 is also fine and more widely
supported (i. e. in older clang versions).
2020-12-20 16:44:41 +01:00