<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/config.c, branch 1.8.2</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.8.2</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.8.2'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-07-17T11:22:44Z</updated>
<entry>
<title>render: Allow cells to bleed into their neighbor</title>
<updated>2021-07-17T11:22:44Z</updated>
<author>
<name>Timur Celik</name>
<email>mail@timurcelik.de</email>
</author>
<published>2021-06-15T09:45:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=91801ae55da017c2dd0f44c04b8d316a9a2090ef'/>
<id>urn:sha1:91801ae55da017c2dd0f44c04b8d316a9a2090ef</id>
<content type='text'>
This patch adds a `confined` flag to each cell to track if the last
rendered glyph bled into it's right neighbor.  To keep things simple,
bleeding into any other neighbor cell than the immediate right one is
not allowed.  This should cover most use cases.

Before rendering a row we now do a prepass and mark all cells unclean
that are affected by a bleeding neighbor.  If there are consecutive
bleeding cells, the whole group must be re-rendered even if only a
single cell has changed.

The patch also deprecates both old overflowing glyph options
*allow-overflowing-double-width-glyphs* and *pua-double-width* in favor
of a single new one named *overflowing-glyphs*.
</content>
</entry>
<entry>
<title>config: add locked-title=no|yes</title>
<updated>2021-07-04T15:59:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-07-04T15:59:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fcb60abc132b12ccf8fb8ff215acc924a44773d6'/>
<id>urn:sha1:fcb60abc132b12ccf8fb8ff215acc924a44773d6</id>
<content type='text'>
Closes #386
</content>
</entry>
<entry>
<title>config: rename at-most-2 (value for grapheme-width-method) to double-width</title>
<updated>2021-07-01T06:00:23Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-07-01T06:00:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5138f022146e447d8bb0be56a06e9065b35b6489'/>
<id>urn:sha1:5138f022146e447d8bb0be56a06e9065b35b6489</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: add tweak.grapheme-width-method=wcswidth|at-most-2</title>
<updated>2021-07-01T05:58:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-30T16:00:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9817e44c325f5d44f64bfa768107998134ea7f59'/>
<id>urn:sha1:9817e44c325f5d44f64bfa768107998134ea7f59</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: add unit test for config_clone()</title>
<updated>2021-06-30T19:06:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-30T19:06:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=55bd3cfd623a86044fd028787c216810ee274af7'/>
<id>urn:sha1:55bd3cfd623a86044fd028787c216810ee274af7</id>
<content type='text'>
We’re mainly interested in seeing that we don’t leak memory, or double
free heap allocated data.

Valgrind and/or gcc/clang sanitizers are best at this, hence the very
few asserts in the test itself.
</content>
</entry>
<entry>
<title>config: NOINLINE a couple of functions doing tll operations</title>
<updated>2021-06-30T17:10:37Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-30T17:10:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=88fb8429b0d0abeed7087373241dd57918550974'/>
<id>urn:sha1:88fb8429b0d0abeed7087373241dd57918550974</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: remove replaced/removed key bindings, instead of marking as ‘unused’</title>
<updated>2021-06-30T16:05:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-29T16:08:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=149c52bd4496eb4dd13eaa53bec690c60499502a'/>
<id>urn:sha1:149c52bd4496eb4dd13eaa53bec690c60499502a</id>
<content type='text'>
Instead of keeping removed/replaced key bindings in the key binding
array (marked as ‘unused’), remove them, by compacting the array.

The invariant is thus that there should be *no* entries in the key
binding list with the `BIND_ACTION_NONE` for action.

Add code to debug builds that verifies this, plus a unit test.

Closes #614
</content>
</entry>
<entry>
<title>log: add LOG_CLASS_NONE and use as initializer for log_level</title>
<updated>2021-06-26T21:15:09Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2021-06-26T21:15:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5dca0458a09ebc586fda49c50533976f055d8de2'/>
<id>urn:sha1:5dca0458a09ebc586fda49c50533976f055d8de2</id>
<content type='text'>
This means that logging will be completely disabled until log_init()
has been called, which is useful to prevent log spam when running
UNITTEST{} blocks in debug builds.

Note that this doesn't change the default log level at runtime, which
was already being set to LOG_CLASS_INFO in main.c and client.c.

The new log level is also exposed to the command-line interface as
`--log-level=none`, which allows disabling logging entirely.
</content>
</entry>
<entry>
<title>wip: grapheme shaping</title>
<updated>2021-06-24T15:30:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-20T17:25:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b9ef703eb14ba2357b847b62a715b4e97f690209'/>
<id>urn:sha1:b9ef703eb14ba2357b847b62a715b4e97f690209</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: clone: fix font-list cloning</title>
<updated>2021-06-23T11:00:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-23T11:00:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=26089e8f4d09a43ae7f34c1bbddd3531f3764b9a'/>
<id>urn:sha1:26089e8f4d09a43ae7f34c1bbddd3531f3764b9a</id>
<content type='text'>
Need to copy over *all* members...
</content>
</entry>
<entry>
<title>config: add new function config_clone()</title>
<updated>2021-06-23T08:39:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-18T14:18:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f7860aec7610be897155046bd730ad0b406bd56c'/>
<id>urn:sha1:f7860aec7610be897155046bd730ad0b406bd56c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tokenize: strdup() each individual argv</title>
<updated>2021-06-20T12:19:22Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-20T12:17:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=42ec2640753650c69385d86c2fbb386d23965c89'/>
<id>urn:sha1:42ec2640753650c69385d86c2fbb386d23965c89</id>
<content type='text'>
Instead of referencing the un-tokenized “raw” command string, strdup()
each argv. This way, the input string can be ‘const’.
</content>
</entry>
<entry>
<title>config: remove duplicated error logs for invalid colors</title>
<updated>2021-06-20T11:55:12Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-20T11:55:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7632e16e36c247f13811dd7c915c56923adafa04'/>
<id>urn:sha1:7632e16e36c247f13811dd7c915c56923adafa04</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: add csd.button-color option</title>
<updated>2021-06-20T08:44:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-20T08:44:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7334b53d833cd2695a3544ff166219e977138732'/>
<id>urn:sha1:7334b53d833cd2695a3544ff166219e977138732</id>
<content type='text'>
This option controls the foreground color of the
minimize/maximize/close buttons. I.e. the color used to draw the
minimize/maximize/close glyphs.

It defaults to default background color.
</content>
</entry>
<entry>
<title>config: work around clang-11.0 issue</title>
<updated>2021-06-18T13:35:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-17T17:17:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=09eb0d1bbb30093dc765e78a0aa0b5fa45ecbcc3'/>
<id>urn:sha1:09eb0d1bbb30093dc765e78a0aa0b5fa45ecbcc3</id>
<content type='text'>
Clang-11.0 doesn’t seem to understand that our ‘static const’ key
modifiers are compile-time constant. Clang-11.1 doesn’t appear to have
this issue.
</content>
</entry>
<entry>
<title>config: don’t use tllist where it isn’t necessary</title>
<updated>2021-06-18T13:35:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-17T16:15:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=495c7304878bdd010dc5d25620dc68f41ac4cd36'/>
<id>urn:sha1:495c7304878bdd010dc5d25620dc68f41ac4cd36</id>
<content type='text'>
tllists are great when dealing with dynamically changing lists. They
are also very easy to use when building lists/arrays where the final
size is unknown.

However, this ease of use comes at a price: code size. tll-macros
expand to a lot of code.

Since things in the config are static, once the config has been
loaded, using tllists for configuration data structures doesn’t make
much sense.

This patch replaces nearly all tllists used by the configuration, with
dynamically allocated arrays.
</content>
</entry>
<entry>
<title>config: add underline-offset option</title>
<updated>2021-06-17T15:54:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-17T15:52:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cf81fff062c8cac850f491ac722d6bb79a8bde14'/>
<id>urn:sha1:cf81fff062c8cac850f491ac722d6bb79a8bde14</id>
<content type='text'>
This option allows the user to configure a custom underline
offset. That is, use the user provided offset instead of the font
provided one.

Closes #490
</content>
</entry>
<entry>
<title>Override options from command line</title>
<updated>2021-06-12T08:05:15Z</updated>
<author>
<name>Ryan Farley</name>
<email>ryan.farley@gmx.com</email>
</author>
<published>2021-06-11T09:40:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f379ffb8ed9bba0dafc2a7c1430ccb1a2517f99c'/>
<id>urn:sha1:f379ffb8ed9bba0dafc2a7c1430ccb1a2517f99c</id>
<content type='text'>
Allow any configuration option to be overridden with -o/--override
'section.key=value' arguments, as suggested in #554

update completitions for override

slight refactoring to ease footclient support
</content>
</entry>
<entry>
<title>config: demote “no configuration found, using defaults” to a mere warning</title>
<updated>2021-06-10T18:40:01Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-10T18:40:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=955ecbd19abb2d30e41426f074ac5eb369fc990c'/>
<id>urn:sha1:955ecbd19abb2d30e41426f074ac5eb369fc990c</id>
<content type='text'>
And don’t notify the user in the terminal window, only log it on
stderr.
</content>
</entry>
<entry>
<title>config: change “no configuration found, using defaults” from error to warning</title>
<updated>2021-06-10T18:37:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-10T18:37:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=41a223e1bd2e30792975aa7cf136a77a9cf11033'/>
<id>urn:sha1:41a223e1bd2e30792975aa7cf136a77a9cf11033</id>
<content type='text'>
</content>
</entry>
</feed>
