<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/moduerrno.c, branch 4.0.0-alpha.3</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.0.0-alpha.3</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.0.0-alpha.3'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2018-08-17T00:40:57+00:00</updated>
<entry>
<title>Compress all translated strings with Huffman coding.</title>
<updated>2018-08-17T00:40:57+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-08-16T01:32:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=de5a9d72dcdaacdd5048195cd5bab007f4b2baef'/>
<id>urn:sha1:de5a9d72dcdaacdd5048195cd5bab007f4b2baef</id>
<content type='text'>
This saves code space in builds which use link-time optimization.
The optimization drops the untranslated strings and replaces them
with a compressed_string_t struct. It can then be decompressed to
a c string.

Builds without LTO work as well but include both untranslated
strings and compressed strings.

This work could be expanded to include QSTRs and loaded strings if
a compress method is added to C. Its tracked in #531.
</content>
</entry>
<entry>
<title>Two fixes and translate more strings.</title>
<updated>2018-08-09T20:29:30+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-08-09T01:24:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=96ebf5bc3fb455162286b9bc31e763f3c4f1c457'/>
<id>urn:sha1:96ebf5bc3fb455162286b9bc31e763f3c4f1c457</id>
<content type='text'>
* Fix finding translations with escaped characters.
* Add back \r to translations since its needed by screen.
</content>
</entry>
<entry>
<title>WIP: complete manual inspection of all significant changes</title>
<updated>2018-07-24T01:34:25+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2018-07-24T01:34:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bc760dd34100099c352a0f185ec54ceae23d036d'/>
<id>urn:sha1:bc760dd34100099c352a0f185ec54ceae23d036d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Provide mp_errno_to_str even without uerrno</title>
<updated>2018-06-01T23:03:51+00:00</updated>
<author>
<name>Matt Wozniski</name>
<email>mwozniski@bloomberg.net</email>
</author>
<published>2018-06-01T17:49:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1c35dbfb5d43ed94108475e8cd17bcb81cda646f'/>
<id>urn:sha1:1c35dbfb5d43ed94108475e8cd17bcb81cda646f</id>
<content type='text'>
We can provide a basic version of mp_errno_to_str even if the uerrno
module won't be provided.  Rather than looking errno names up in the
uerrno module's globals dict, we'll just rely on a simple mapping in the
function itself.
</content>
</entry>
<entry>
<title>Display human readable strings for common OSErrors</title>
<updated>2018-05-14T19:12:40+00:00</updated>
<author>
<name>Matt Wozniski</name>
<email>mwozniski@bloomberg.net</email>
</author>
<published>2018-05-14T18:54:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5833cbe6dec64a980054ed0b408033cff9d2f22e'/>
<id>urn:sha1:5833cbe6dec64a980054ed0b408033cff9d2f22e</id>
<content type='text'>
Signed-off-by: Matt Wozniski &lt;mwozniski@bloomberg.net&gt;
</content>
</entry>
<entry>
<title>py/moduerrno: Make list of errno codes configurable.</title>
<updated>2017-02-22T01:58:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-22T01:55:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b1b090255c5156987b36711e929544546603029c'/>
<id>urn:sha1:b1b090255c5156987b36711e929544546603029c</id>
<content type='text'>
It's configurable by defining MICROPY_PY_UERRNO_LIST.  If this is not
defined then a default is provided.
</content>
</entry>
<entry>
<title>py/moduerrno: Make uerrno.errorcode dict configurable.</title>
<updated>2017-02-22T01:58:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-22T01:53:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f563406d2e342be1535592f80680c510f9aade9a'/>
<id>urn:sha1:f563406d2e342be1535592f80680c510f9aade9a</id>
<content type='text'>
It's configured by MICROPY_PY_UERRNO_ERRORCODE and enabled by default
(since that's the behaviour before this patch).

Without this dict the lookup of errno codes to strings must use the
uerrno module itself.
</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>py/moduerrno: Add ECONNREFUSED, one of frequent networking errors.</title>
<updated>2016-05-27T21:17:19+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-27T21:17:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2ec0ee082add56a0950223689e0a08fa7f8a12ac'/>
<id>urn:sha1:2ec0ee082add56a0950223689e0a08fa7f8a12ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/moduerrno: Add EEXIST, EISDIR.</title>
<updated>2016-05-24T22:23:57+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-24T22:23:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c76acd8c233f436204bf87f1430e7da1ea6baf8c'/>
<id>urn:sha1:c76acd8c233f436204bf87f1430e7da1ea6baf8c</id>
<content type='text'>
Useful to check file/dir operations result, in particular used by upip.
</content>
</entry>
</feed>
