<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/bindings/ruby/defs.h, branch 0.39_rc2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.39_rc2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.39_rc2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2023-05-29T10:51:02Z</updated>
<entry>
<title>ruby: db: reorganize initializer</title>
<updated>2023-05-29T10:51:02Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2023-03-31T20:40:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=95a4bf38173311597bcc4fa7f597d58bb11ed119'/>
<id>urn:sha1:95a4bf38173311597bcc4fa7f597d58bb11ed119</id>
<content type='text'>
In order to make it more extensible.

No functional changes.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
</content>
</entry>
<entry>
<title>ruby: remove FileNames object</title>
<updated>2023-04-12T10:30:01Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2023-03-27T21:59:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e4d75fcc8349ae95ec22d0e6679880d23bed37f8'/>
<id>urn:sha1:e4d75fcc8349ae95ec22d0e6679880d23bed37f8</id>
<content type='text'>
Not used anymore now that we return an array of strings directly.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
</content>
</entry>
<entry>
<title>ruby: add filenames helper</title>
<updated>2023-04-12T10:05:23Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2023-03-27T21:59:40Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=777b02a7d7b922bcae08af1c16e475051ec7d8f3'/>
<id>urn:sha1:777b02a7d7b922bcae08af1c16e475051ec7d8f3</id>
<content type='text'>
Right now it doesn't do much, but it will help for further
reorganization.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
</content>
</entry>
<entry>
<title>ruby: remove Tags object</title>
<updated>2023-04-02T22:11:10Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2023-03-22T23:43:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=44924a6a09659c97d6cde383bf7deac0413d07c3'/>
<id>urn:sha1:44924a6a09659c97d6cde383bf7deac0413d07c3</id>
<content type='text'>
Not used anymore now that we return an array of strings directly.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
</content>
</entry>
<entry>
<title>ruby: add tags helper</title>
<updated>2023-04-02T22:00:49Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2023-03-22T23:43:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ae1336dea5cc6a221699fff260d8b44cee677f77'/>
<id>urn:sha1:ae1336dea5cc6a221699fff260d8b44cee677f77</id>
<content type='text'>
Right now it doesn't do much, but it will help for further
reorganization.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
</content>
</entry>
<entry>
<title>ruby: cleanup object_destroy()</title>
<updated>2021-08-03T23:30:15Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2021-08-03T18:44:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2474bce8b1a5b8011b19d8ff5cc84957e71e1917'/>
<id>urn:sha1:2474bce8b1a5b8011b19d8ff5cc84957e71e1917</id>
<content type='text'>
It was assumed the destructor of notmuch_rb_database_type did return a
notmuch_status_t because that's what notmuch_database_close returns, and
that value was checked by notmuch_rb_database_close in order to decide
if to raise an exception.

It turns out notmuch_database_destroy was called instead, so nothing was
returned (void).

All the destroy functions are void, and that's what we want.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
</content>
</entry>
<entry>
<title>ruby: split database close and destroy</title>
<updated>2021-08-02T16:49:29Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2021-07-07T03:45:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7415b53fa568a3156ae3e3a47544a4784e024653'/>
<id>urn:sha1:7415b53fa568a3156ae3e3a47544a4784e024653</id>
<content type='text'>
Mirrors the C API: 7864350c (Split notmuch_database_close into two
functions, 2012-04-25).

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
</content>
</entry>
<entry>
<title>ruby: enable garbage collection using talloc</title>
<updated>2021-07-18T20:08:53Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2021-05-17T19:39:15Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1a7f9fe055fb40b9646bb8efac107601009723bd'/>
<id>urn:sha1:1a7f9fe055fb40b9646bb8efac107601009723bd</id>
<content type='text'>
We basically steal all the objects from their notmuch parents, therefore
they are completely under Ruby's gc control.

The order at which these objects are freed does not matter any more,
because destroying the database does not destroy all the children
objects, since they belong to Ruby now.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
</content>
</entry>
<entry>
<title>ruby: create an actual wrapper struct</title>
<updated>2021-07-18T20:08:42Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2021-05-17T19:39:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=02b162116079a0b2e35823e5590a82056d22c8af'/>
<id>urn:sha1:02b162116079a0b2e35823e5590a82056d22c8af</id>
<content type='text'>
Currently Ruby data points directly to a notmuch object (e.g.
notmuch_database_t), since we don't need any extra data that is fine.

However, in the next commit we will need extra data, therefore we create
a new struct notmuch_rb_object_t wrapper which contains nothing but a
pointer to the current pointer (e.g. notmuch_database_t).

This struct is tied to the Ruby object, and is freed when the Ruby
object is freed by the garbage collector.

We do nothing with this wrapper, so no functionality should be changed.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
</content>
</entry>
<entry>
<title>ruby: add keyword arguments to db.query</title>
<updated>2021-06-27T17:13:03Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2021-05-24T02:19:09Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=814abafc3e4280de115d4bc0ac01f8d026a0a7f9'/>
<id>urn:sha1:814abafc3e4280de115d4bc0ac01f8d026a0a7f9</id>
<content type='text'>
That way we don't need pass them to the query object ourselves.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
</content>
</entry>
</feed>
