<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/config.cc, branch debian/0.38-2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.38-2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.38-2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2023-04-02T22:21:37Z</updated>
<entry>
<title>lib: add config key INDEX_AS_TEXT</title>
<updated>2023-04-02T22:21:37Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-01-06T00:02:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c6733a45c8ff698505ff330d2edce92c90cbc946'/>
<id>urn:sha1:c6733a45c8ff698505ff330d2edce92c90cbc946</id>
<content type='text'>
Higher level processing as a list of regular expressions and
documentation will follow.
</content>
</entry>
<entry>
<title>lib/config: move g_key_File_get_string before continue</title>
<updated>2022-01-23T01:14:29Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-01-09T14:38:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=df7c5acd759f22fcb537490f62b85d39aa71d677'/>
<id>urn:sha1:df7c5acd759f22fcb537490f62b85d39aa71d677</id>
<content type='text'>
In [1] Austin Ray reported some memory leaks in
notmuch_database_open. One of those leaks is caused by jumping to the
next key without freeing val. This change avoids that leak.

[1]: id:20220105224538.m36lnjn7rf3ieonc@athena
</content>
</entry>
<entry>
<title>lib/config: add known config key "show.extra_headers"</title>
<updated>2022-01-18T12:09:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-01-01T12:01:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=79936ac93e486d8ff82729840154bf8c2212ebb6'/>
<id>urn:sha1:79936ac93e486d8ff82729840154bf8c2212ebb6</id>
<content type='text'>
Used in a following commit to enable including extra headers beyond
the default in structured output.
</content>
</entry>
<entry>
<title>lib/open: no default mail root in split configurations</title>
<updated>2022-01-15T19:59:39Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-12-25T13:33:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fad2e7540bf9309bfb335650ded753e9ed085eff'/>
<id>urn:sha1:fad2e7540bf9309bfb335650ded753e9ed085eff</id>
<content type='text'>
If we know the configuration is split, but there is no mail root
defined, this indicates a (lack of) configuration error. Currently
this can only arise in XDG configurations.
</content>
</entry>
<entry>
<title>lib/config: make sure the config map exists when loading defaults</title>
<updated>2022-01-15T19:59:27Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-12-25T13:33:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=64212c7b91cdb7e65a2a28f994f8d060a50ae78c'/>
<id>urn:sha1:64212c7b91cdb7e65a2a28f994f8d060a50ae78c</id>
<content type='text'>
We should not rely on one of the other "_notmuch_config_load_*"
functions being called before this one.
</content>
</entry>
<entry>
<title>lib/config: use g_key_file_get_string to read config values</title>
<updated>2021-12-04T16:17:09Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-09-30T18:59:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=18cdd21b8b2ef056062700607eade43909c32cd2'/>
<id>urn:sha1:18cdd21b8b2ef056062700607eade43909c32cd2</id>
<content type='text'>
Unlike the previous g_key_file_get_value, this version processes
escape codes for whitespace and \. The remaining two broken tests from
the last commit are because "notmuch config get" treats every value as
a list, and thus the previously introduces stripping of leading
whitespace applies.
</content>
</entry>
<entry>
<title>lib/config: don't overwrite database.path if the caller passed it</title>
<updated>2021-12-04T00:52:11Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-28T01:34:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=59aac9cef37a9937bdf2265078d063673111f80b'/>
<id>urn:sha1:59aac9cef37a9937bdf2265078d063673111f80b</id>
<content type='text'>
If the user passed a path, and we opened it, then we consider that
definitive definition of "database.path". This makes libnotmuch
respond more gracefully to certain erroneous combinations of
NOTMUCH_CONFIG settings and config file contents.
</content>
</entry>
<entry>
<title>lib: use 'localhost' rather than fqdn for default mail address.</title>
<updated>2021-09-10T11:17:06Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-09-09T12:51:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=060ff57642fc74f320761586e244151c04e63755'/>
<id>urn:sha1:060ff57642fc74f320761586e244151c04e63755</id>
<content type='text'>
As discussed in the thread starting at [1], the fully qualified domain
name is a bit tricky to get reproducibly, might reveal information
people prefer to keep private, and somewhat unlikely to provide
reliable mail routing.

The new approach of $current_username@localhost is better for the
first two considerations, and probably at least as good as a test mail
address.

[1]: id:87sfyibqhj.fsf@tethera.net
</content>
</entry>
<entry>
<title>lib/config: add NOTMUCH_CONFIG_AUTOCOMMIT</title>
<updated>2021-06-27T16:59:42Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-05-21T15:54:10Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2f608d2a9400f666ec0aca1f76b59f6640104e4e'/>
<id>urn:sha1:2f608d2a9400f666ec0aca1f76b59f6640104e4e</id>
<content type='text'>
This will be used to control how often atomic transactions are
committed.
</content>
</entry>
<entry>
<title>lib/config: fix memory leak</title>
<updated>2021-06-25T12:13:04Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-06-19T00:59:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=35d559eb18d779822074a0781585642028e61ed8'/>
<id>urn:sha1:35d559eb18d779822074a0781585642028e61ed8</id>
<content type='text'>
This commit fixes a small memory leak (per iterator restart) by
actually using the talloc context intended to be blown away on
restart.
</content>
</entry>
</feed>
