<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/examples/natmod, branch master</title>
<subtitle>MicroPython source and hardware configuration for OpenMano</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/'/>
<entry>
<title>extmod/ure: Use single function for match/search/sub.</title>
<updated>2020-06-08T07:16:09+00:00</updated>
<author>
<name>stijn</name>
</author>
<published>2020-06-03T08:18:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=51fd6c97773a7e0d76bb61e220b35b98f392e27e'/>
<id>51fd6c97773a7e0d76bb61e220b35b98f392e27e</id>
<content type='text'>
Saves about 500 bytes on unix x64 and enables CPython-conform
usage of passing a re object to these functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Saves about 500 bytes on unix x64 and enables CPython-conform
usage of passing a re object to these functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modbtree: Retain reference to underlying stream so it's not GC'd.</title>
<updated>2020-05-02T06:08:04+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-04-20T13:04:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=73c58150f53d9d828c4fc8fb455cca6831eb8ddd'/>
<id>73c58150f53d9d828c4fc8fb455cca6831eb8ddd</id>
<content type='text'>
For ports that have a system malloc which is not garbage collected (eg
unix, esp32), the stream object for the DB must be retained separately to
prevent it from being reclaimed by the MicroPython GC (because the
berkeley-db library uses malloc to allocate the DB structure which stores
the only reference to the stream).

Although in some cases the user code will explicitly retain a reference to
the underlying stream because it needs to call close() on it, this is not
always the case, eg in cases where the DB is intended to live forever.

Fixes issue #5940.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For ports that have a system malloc which is not garbage collected (eg
unix, esp32), the stream object for the DB must be retained separately to
prevent it from being reclaimed by the MicroPython GC (because the
berkeley-db library uses malloc to allocate the DB structure which stores
the only reference to the stream).

Although in some cases the user code will explicitly retain a reference to
the underlying stream because it needs to call close() on it, this is not
always the case, eg in cases where the DB is intended to live forever.

Fixes issue #5940.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Use MP_ERROR_TEXT for all error messages.</title>
<updated>2020-04-05T05:02:06+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-03-02T11:35:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=def76fe4d9bbc2c342594dc05861b24d7165d274'/>
<id>def76fe4d9bbc2c342594dc05861b24d7165d274</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>py/dynruntime.mk: Set MICROPY_ENABLE_DYNRUNTIME instead of per module.</title>
<updated>2020-04-05T04:13:02+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-03-04T06:07:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=c34e7b9d4c6f369cd86fd6fcc779932226200cdf'/>
<id>c34e7b9d4c6f369cd86fd6fcc779932226200cdf</id>
<content type='text'>
So this setting could be used by other source files if needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So this setting could be used by other source files if needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/natmod: Add .gitignore to ignore generated example .mpy files.</title>
<updated>2020-03-03T01:54:17+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-03-03T01:54:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=9c07c973c18fbe2f44ae98cd51a4a6c532b600c7'/>
<id>9c07c973c18fbe2f44ae98cd51a4a6c532b600c7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Reformat C and Python source code with tools/codeformat.py.</title>
<updated>2020-02-27T23:33:03+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-02-27T04:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=69661f3343bedf86e514337cff63d96cc42f8859'/>
<id>69661f3343bedf86e514337cff63d96cc42f8859</id>
<content type='text'>
This is run with uncrustify 0.70.1, and black 19.10b0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is run with uncrustify 0.70.1, and black 19.10b0.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/natmod: Add very simple features0 example to compute factorial.</title>
<updated>2019-12-19T06:06:27+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-12-16T11:40:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=a3df152fef9b2e022bd4b1233df12c261cb9f1a8'/>
<id>a3df152fef9b2e022bd4b1233df12c261cb9f1a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/natmod: Add urandom native module example.</title>
<updated>2019-12-13T02:33:40+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-12-13T02:30:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=ba84453f77ed8ce5e8ac128bee80d3923a14e9ad'/>
<id>ba84453f77ed8ce5e8ac128bee80d3923a14e9ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/natmod: Add features1 and features2 examples.</title>
<updated>2019-12-12T09:15:28+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-12-12T04:02:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=60c3c22a0dcd5aba9e65ae4c3890889f42a18567'/>
<id>60c3c22a0dcd5aba9e65ae4c3890889f42a18567</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/natmod: Add ure example.</title>
<updated>2019-12-12T09:15:28+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-12-12T04:02:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=42c1aed2bba55b759e54139421044a05ccd4bfc6'/>
<id>42c1aed2bba55b759e54139421044a05ccd4bfc6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
