Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | search: Add stable queries to thread search results | Austin Clements | 2013-11-08 |
| | | | | | | | | | | | | | | These queries will match exactly the set of messages currently in the thread, even if more messages later arrive. Two queries are provided: one for matched messages and one for unmatched messages. This can be used to fix race conditions with tagging threads from search results. While tagging based on a thread: query can affect messages that arrived after the search, tagging based on stable queries affects only the messages the user was shown in the search UI. Since we want clients to be able to depend on the presence of these queries, this ushers in schema version 2. | ||
* | sprinters: bugfix when NULL passed for a string. | Mark Walters | 2012-08-12 |
| | | | | | | | | | | | | The string function in a sprinter may be called with a NULL string pointer (eg if a header is absent). This causes a segfault. We fix this by checking for a null pointer in the string functions and update the sprinter documentation. At the moment some output when format=text is done directly rather than via an sprinter: in that case a null pointer is passed to printf or similar and a "(null)" appears in the output. That behaviour is not changed in this patch. | ||
* | test: Add test for messages with missing headers | Austin Clements | 2012-08-12 |
Currently the JSON tests for search and show are broken because notmuch attempts to dereference a NULL pointer. |