<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/thread.cc, branch 0.5</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.5</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.5'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2010-11-02T06:24:40Z</updated>
<entry>
<title>lib: Eliminate some redundant includes of xapian.h</title>
<updated>2010-11-02T06:24:40Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-02T05:31:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d064bd696ccc443a7ece9cfc8816999c69943223'/>
<id>urn:sha1:d064bd696ccc443a7ece9cfc8816999c69943223</id>
<content type='text'>
Most files including this already include database-private.h which
includes xapian.h already.
</content>
</entry>
<entry>
<title>lib: Add some missing static qualifiers.</title>
<updated>2010-11-02T04:58:43Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-02T04:58:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=67c3bc9db48c9e12d648df4792c706cae723676c'/>
<id>urn:sha1:67c3bc9db48c9e12d648df4792c706cae723676c</id>
<content type='text'>
These various functions and data are all used only locally, so should
be marked static. Ensuring we get these right will avoid us accidentally
leaking unintended symbols through the library interface.
</content>
</entry>
<entry>
<title>Fix SEGV in _thread_cleanup_author if author ends with ', '</title>
<updated>2010-04-27T23:34:27Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>hohndel@infradead.org</email>
</author>
<published>2010-04-27T23:29:22Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a258cb32b318d831fab5ef64329bd65119b47def'/>
<id>urn:sha1:a258cb32b318d831fab5ef64329bd65119b47def</id>
<content type='text'>
Admittedly, an author name ending in ',' guarantees this is spam, and
indeed this was triggered by a spam email, but that doesn't mean we
shouldn't handle this case correctly.
We now check that there is actually a component of the name (presumably
the first name) after the comma in the author name.

Signed-off-by: Dirk Hohndel &lt;hohndel@infradead.org&gt;
</content>
</entry>
<entry>
<title>lib: Re-implement moving of thread authors.</title>
<updated>2010-04-27T08:48:03Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-27T08:48:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c210d5632e7346b9c8582a93685747f201a27267'/>
<id>urn:sha1:c210d5632e7346b9c8582a93685747f201a27267</id>
<content type='text'>
Just before releasing 0.3 we received reports of crashes that were
bisected to the commit adding thread-author moving. Sure enough,
valgrind pointed to buffer overruns in _thread_move_matched_author.

Rather than trying to make sense of all the by strncpy, strchr, +1,
and +2 of that code, I reimplemented thread-author ordering with a
pair of hash tables and an array.

Valgrind is at least happy now on the test cases it was complaining
about previously.
</content>
</entry>
<entry>
<title>Simple attempt to display author names in a friendlier way</title>
<updated>2010-04-26T18:45:29Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>hohndel@infradead.org</email>
</author>
<published>2010-04-24T18:20:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=cd19671f51b8f87303de6ab536afd6aa36efec61'/>
<id>urn:sha1:cd19671f51b8f87303de6ab536afd6aa36efec61</id>
<content type='text'>
This patch only addresses the typical Outlook/Exchange case
where we have "Last, First" &lt;first.last@company.com&gt; or
"Last, First MI" &lt;first.mi.last@company.com&gt;.

In the future we should be more fexible as to the formats
we recognize, but for now we address this one as it is the
Exchange default setting and therefore the most common one.

Signed-off-by: Dirk Hohndel &lt;hohndel@infradead.org&gt;
</content>
</entry>
<entry>
<title>Reorder displayed names of thread authors</title>
<updated>2010-04-26T18:45:00Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>hohndel@infradead.org</email>
</author>
<published>2010-04-24T18:20:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=26d8d960ee91b55e8e4c446e08e3fc371a0acd4a'/>
<id>urn:sha1:26d8d960ee91b55e8e4c446e08e3fc371a0acd4a</id>
<content type='text'>
When displaying threads as result of a search it makes sense to list those
authors first who match the search. The matching authors are separated from the
non-matching ones with a '|' instead of a ','

Imagine the default "+inbox" query. Those mails in the thread that
match the query are actually "new" (whatever that means). And some
people seem to think that it would be much better to see those author
names first. For example, imagine a long and drawn out thread that once
was started by me; you have long read the older part of the thread and
removed the inbox tag. Whenever a new email comes in on this thread,
prior to this patch the author column in the search display will first show
"Dirk Hohndel" - I think it should first show the actual author(s) of the new
mail(s).

Signed-off-by: Dirk Hohndel &lt;hohndel@infradead.org&gt;
</content>
</entry>
<entry>
<title>lib: Audit calls to notmuch_message_get_header to handle NULL return</title>
<updated>2010-04-24T13:50:04Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-24T13:46:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3dbef312fbe9b8da247106a177ac58d73b9b9e92'/>
<id>urn:sha1:3dbef312fbe9b8da247106a177ac58d73b9b9e92</id>
<content type='text'>
Sebastian Spaeth reported [*] a segfault within libnotmuch when
running notmuch operations while an asyncronous offlineimap job had
removed some files from the mail store. Avoid this by handling all
cases where notmuch_message_get_header could return NULL.

[*] See message id:87d3xqti3o.fsf@SSpaeth.de on notmuch@notmuchmail.org
</content>
</entry>
<entry>
<title>lib: Simplify code to set subject from matched message.</title>
<updated>2010-04-24T13:50:04Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-24T13:45:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7c421b87b05d2513540a75bbe1841e226072ad7c'/>
<id>urn:sha1:7c421b87b05d2513540a75bbe1841e226072ad7c</id>
<content type='text'>
Simply moving the code from _add_matched_message to a new
_set_subject_from_message function.
</content>
</entry>
<entry>
<title>Revert "thread: Simplify code for assigning the subject."</title>
<updated>2010-04-22T21:01:41Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-22T21:00:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=21965718a57613f591464ca260c0f4340c574761'/>
<id>urn:sha1:21965718a57613f591464ca260c0f4340c574761</id>
<content type='text'>
This reverts commit 36e4459a328b8449b3e9d510be81a332a9b35aaa.

With the two previous reverts, this fixes the recent message-sorting
regression, so the test suite now passes again.
</content>
</entry>
<entry>
<title>Revert "thread: Fix sort of search when constructing threads."</title>
<updated>2010-04-22T21:00:33Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-22T21:00:33Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a1099660806a29b883e2210669e385648465f169'/>
<id>urn:sha1:a1099660806a29b883e2210669e385648465f169</id>
<content type='text'>
This reverts commit f43990ce134d838cdb2cdd5d0752a602e81cfdd9.
</content>
</entry>
</feed>
