<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/extmod/modbtree.c, branch 0.8.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.8.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.8.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-12-04T22:50:55+00:00</updated>
<entry>
<title>extmod/modbtree: Rename "sync" method to "flush" for consistency.</title>
<updated>2016-12-04T22:50:55+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-12-04T22:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4463d8a910c9e40a81461f5be20aef28096cbe1d'/>
<id>urn:sha1:4463d8a910c9e40a81461f5be20aef28096cbe1d</id>
<content type='text'>
Rename recently introduced "sync" method to "flush" for consistency with
usual files.
</content>
</entry>
<entry>
<title>extmod/modbtree: Add method to sync the database.</title>
<updated>2016-12-02T06:30:53+00:00</updated>
<author>
<name>w4kpm</name>
<email>kelly@fammcdonald.net</email>
</author>
<published>2016-11-23T02:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ec22d1739d256908f94f8c2c61a31b391f454fcf'/>
<id>urn:sha1:ec22d1739d256908f94f8c2c61a31b391f454fcf</id>
<content type='text'>
If you have longish operations on the db (such as logging data) it may
be desirable to periodically sync the database to the disk.  The added
btree.sync() method merely exposes the berkley __bt_sync function to the
user.
</content>
</entry>
<entry>
<title>extmod: Use mp_raise_OSError helper function.</title>
<updated>2016-10-07T02:52:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-07T02:52:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=75af908c0ec2a0d47e6aded15b35cd630f93d48b'/>
<id>urn:sha1:75af908c0ec2a0d47e6aded15b35cd630f93d48b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: Remove 'name' member from mp_obj_module_t struct.</title>
<updated>2016-09-21T14:23:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-21T00:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f'/>
<id>urn:sha1:93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f</id>
<content type='text'>
One can instead lookup __name__ in the modules dict to get the value.
</content>
</entry>
<entry>
<title>extmod/modbtree: do CHECK_ERROR after __bt_seq()</title>
<updated>2016-08-23T22:31:16+00:00</updated>
<author>
<name>Krzysztof Blazewicz</name>
<email>krzysztof.blazewicz@uxeon.com</email>
</author>
<published>2016-08-20T14:59:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5a5449d4eb46465e5d47fb20104e13122ea4110b'/>
<id>urn:sha1:5a5449d4eb46465e5d47fb20104e13122ea4110b</id>
<content type='text'>
In `btree_seq()`, when `__bt_seq()` gets called with invalid
`flags` argument it will return `RET_ERROR` and it won't
initialize `val`. If field `data` of uninitialized `val`
is passed to `mp_obj_new_bytes()` it causes a segfault.
</content>
</entry>
<entry>
<title>extmod/modbtree: open(): Add option kwargs.</title>
<updated>2016-08-05T21:10:22+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-08-05T21:10:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d79342d33e4cf7232763a7154fb8bf9273cb4b32'/>
<id>urn:sha1:d79342d33e4cf7232763a7154fb8bf9273cb4b32</id>
<content type='text'>
Namely: flags, cachesize, pagesize, minkeypage.
</content>
</entry>
<entry>
<title>extmod/modbtree: Implement __contains__ operation.</title>
<updated>2016-08-01T21:24:59+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-08-01T21:21:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3eb532e97463b7f9b9ffe6f617a035284ef3e37b'/>
<id>urn:sha1:3eb532e97463b7f9b9ffe6f617a035284ef3e37b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modbtree: Switch to accepting stream object instead of filename.</title>
<updated>2016-07-30T21:40:35+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-30T21:40:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=99061d1dcb92dcff87b8a32be3e308a37fe4c13a'/>
<id>urn:sha1:99061d1dcb92dcff87b8a32be3e308a37fe4c13a</id>
<content type='text'>
Requires "embedded" BerkeleyDB BTree implementation.
</content>
</entry>
<entry>
<title>extmod/modbtree: Check __bt_open() return value for error.</title>
<updated>2016-07-23T21:29:32+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-23T21:29:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=25df419c6703396e7e817bf6c8bb443f6c941e5d'/>
<id>urn:sha1:25df419c6703396e7e817bf6c8bb443f6c941e5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modbtree: Fixes for nanbox build.</title>
<updated>2016-07-02T12:58:13+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-02T12:58:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=417dc0c05d93acdc34598283c3c1a7bccccb4d36'/>
<id>urn:sha1:417dc0c05d93acdc34598283c3c1a7bccccb4d36</id>
<content type='text'>
</content>
</entry>
</feed>
