<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/symbol-test.cc, branch 0.26</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.26</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.26'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2015-09-24T10:28:51Z</updated>
<entry>
<title>test: check argc in symbol-test</title>
<updated>2015-09-24T10:28:51Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2015-09-23T18:48:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=19ea288679373f1c371234f982b8b9635b0e06c5'/>
<id>urn:sha1:19ea288679373f1c371234f982b8b9635b0e06c5</id>
<content type='text'>
Check argc mainly to fix unused parameter warning:

test/symbol-test.cc:7:14: warning: unused parameter ‘argc’ [-Wunused-parameter]
  int main(int argc, char** argv) {
               ^

This makes more sense than telling the compiler it's unused on
purpose.
</content>
</entry>
<entry>
<title>test: fix whitespace/indentation in symbol-test</title>
<updated>2015-09-07T12:28:18Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2015-09-04T18:49:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1008fc45da0e206662694eacf12c0678ddcc6162'/>
<id>urn:sha1:1008fc45da0e206662694eacf12c0678ddcc6162</id>
<content type='text'>
Not of much consequence, but makes it nicer to do further edits.
</content>
</entry>
<entry>
<title>lib: reject relative paths in n_d_{create,open}_verbose</title>
<updated>2015-06-12T05:34:50Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-06-08T06:02:22Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=32fd74b7aa9c24ec77f8c59d09f89e0535bf64cd'/>
<id>urn:sha1:32fd74b7aa9c24ec77f8c59d09f89e0535bf64cd</id>
<content type='text'>
There are many places in the notmuch code where the path is assumed to be absolute. If someone (TM) wants a project, one could remove these assumptions. In the mean time, prevent users from shooting themselves in the foot.

Update test suite mark tests for this error as no longer broken, and
also convert some tests that used relative paths for nonexistent
directories.
</content>
</entry>
<entry>
<title>test: be consistent about spelling `nonexistent'</title>
<updated>2015-04-08T14:43:55Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-04-08T14:31:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2e9ecb611a7f698808add756b2ddcbdfcd8b7c8b'/>
<id>urn:sha1:2e9ecb611a7f698808add756b2ddcbdfcd8b7c8b</id>
<content type='text'>
Apparently most of the misspellings are my fault.
</content>
</entry>
<entry>
<title>lib: add "verbose" versions of notmuch_database_{open,create}</title>
<updated>2015-03-28T23:34:15Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2014-12-27T18:12:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=84d3b15d251623cbb66e5eca7ddb8d61aa596d33'/>
<id>urn:sha1:84d3b15d251623cbb66e5eca7ddb8d61aa596d33</id>
<content type='text'>
The compatibility wrapper ensures that clients calling
notmuch_database_open will receive consistent output for now.

The changes to notmuch-{new,search} and test/symbol-test are just to
make the test suite pass.

The use of IGNORE_RESULT is justified by two things. 1) I don't know
what else to do.  2) asprintf guarantees the output string is NULL if
an error occurs, so at least we are not passing garbage back.
</content>
</entry>
<entry>
<title>lib/cli: Make notmuch_database_open return a status code</title>
<updated>2012-05-05T13:11:57Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-04-30T16:25:33Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5fddc07dc31481453c1af186bf7da241c00cdbf1'/>
<id>urn:sha1:5fddc07dc31481453c1af186bf7da241c00cdbf1</id>
<content type='text'>
It has been a long-standing issue that notmuch_database_open doesn't
return any indication of why it failed.  This patch changes its
prototype to return a notmuch_status_t and set an out-argument to the
database itself, like other functions that return both a status and an
object.

In the interest of atomicity, this also updates every use in the CLI
so that notmuch still compiles.  Since this patch does not update the
bindings, the Python bindings test fails.
</content>
</entry>
<entry>
<title>Whitespaces cleanup.</title>
<updated>2011-11-26T17:21:04Z</updated>
<author>
<name>Amadeusz Żołnowski</name>
<email>aidecoe@aidecoe.name</email>
</author>
<published>2011-11-25T15:34:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0da10aa1bc021bdf7fb43c818db1d59f28f30ecd'/>
<id>urn:sha1:0da10aa1bc021bdf7fb43c818db1d59f28f30ecd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix warnings for test/symbol-test.cc.</title>
<updated>2011-11-26T17:20:47Z</updated>
<author>
<name>Amadeusz Żołnowski</name>
<email>aidecoe@aidecoe.name</email>
</author>
<published>2011-11-25T15:34:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=071456e5e6c513e99e2f2d7b770c760de92f681f'/>
<id>urn:sha1:071456e5e6c513e99e2f2d7b770c760de92f681f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: add a test for symbol hiding side effects</title>
<updated>2011-06-23T10:05:25Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-06-22T11:58:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fba968dbfa806dc517fc55d1f28cf208f0316863'/>
<id>urn:sha1:fba968dbfa806dc517fc55d1f28cf208f0316863</id>
<content type='text'>
The worry here is that a binary linking with libnotmuch might lose
access to Xapian::Error symbols because libnotmuch hides them.

We are careful here to create ./fakedb/.notmuch in order to trigger a
Xapian exception, and not just a missing file check.

Thanks to jrollins and amddragon for suggestions.
(cherry picked from commit 66f37f5f6864a988f94ddb893e3a176af57f6c8e)
</content>
</entry>
</feed>
