<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/extmod/modframebuf.c, branch 4.1.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.1.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.1.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2019-01-19T01:09:56+00:00</updated>
<entry>
<title>More make_new updates</title>
<updated>2019-01-19T01:09:56+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-01-19T01:09:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b569e8bab044bb54210e12254a5c22342edb1296'/>
<id>urn:sha1:b569e8bab044bb54210e12254a5c22342edb1296</id>
<content type='text'>
</content>
</entry>
<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>extmod/modframebuf: Add 8-bit greyscale format (GS8).</title>
<updated>2017-12-14T06:36:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-12-14T06:36:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=46b35356e1727365dd5a33fcf3a722fda82c8b08'/>
<id>urn:sha1:46b35356e1727365dd5a33fcf3a722fda82c8b08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modframebuf: Add 2-bit color format (GS2_HMSB).</title>
<updated>2017-12-14T06:13:02+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2017-07-15T13:53:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=34247465c34113bb26f6c9582ea31f31b0ea0d1b'/>
<id>urn:sha1:34247465c34113bb26f6c9582ea31f31b0ea0d1b</id>
<content type='text'>
This format is used in 2-color LED matrices and in e-ink displays like
SSD1606.
</content>
</entry>
<entry>
<title>all: Remove inclusion of internal py header files.</title>
<updated>2017-10-04T01:37:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-10-04T01:37:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a3dc1b1957d2c96d7c60c2c629c95077b03488a1'/>
<id>urn:sha1:a3dc1b1957d2c96d7c60c2c629c95077b03488a1</id>
<content type='text'>
Header files that are considered internal to the py core and should not
normally be included directly are:
    py/nlr.h - internal nlr configuration and declarations
    py/bc0.h - contains bytecode macro definitions
    py/runtime0.h - contains basic runtime enums

Instead, the top-level header files to include are one of:
    py/obj.h - includes runtime0.h and defines everything to use the
        mp_obj_t type
    py/runtime.h - includes mpstate.h and hence nlr.h, obj.h, runtime0.h,
        and defines everything to use the general runtime support functions

Additional, specific headers (eg py/objlist.h) can be included if needed.
</content>
</entry>
<entry>
<title>all: Update Makefiles and others to build with new ports/ dir layout.</title>
<updated>2017-09-06T04:09:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-09-06T04:09:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4a93801c12898898744131f57d79cf216d0861b3'/>
<id>urn:sha1:4a93801c12898898744131f57d79cf216d0861b3</id>
<content type='text'>
Also renames "stmhal" to "stm32" in documentation and everywhere else.
</content>
</entry>
<entry>
<title>extmod: Use MP_ROM_INT for int values in an mp_rom_map_elem_t.</title>
<updated>2017-07-31T03:00:34+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-07-31T03:00:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bbced3b4bbc8fd7ed7843d39143b6c600adc2c60'/>
<id>urn:sha1:bbced3b4bbc8fd7ed7843d39143b6c600adc2c60</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modframebuf: Use correct initialization for .locals_dict.</title>
<updated>2017-07-29T07:26:41+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-07-29T07:26:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=036b58228c36ea971ec80ee4df875d858eacdfb3'/>
<id>urn:sha1:036b58228c36ea971ec80ee4df875d858eacdfb3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modframebuf: Consistently use "col" as name for colour variables.</title>
<updated>2017-07-25T04:06:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-07-25T04:06:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f3687109d56793b73288e081a5f4ad6884ded28d'/>
<id>urn:sha1:f3687109d56793b73288e081a5f4ad6884ded28d</id>
<content type='text'>
Thanks to @kamikaze, aka Oleg Korsak, for the original idea and patch.
</content>
</entry>
<entry>
<title>extmod/modframebuf: Fix invalid stride for odd widths in GS4_HMSB fmt.</title>
<updated>2017-07-25T02:29:02+00:00</updated>
<author>
<name>Radomir Dopieralski</name>
<email>openstack@sheep.art.pl</email>
</author>
<published>2017-07-24T10:58:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=363087aa11a5121ecff38f9e3a2372a42fa224ac'/>
<id>urn:sha1:363087aa11a5121ecff38f9e3a2372a42fa224ac</id>
<content type='text'>
Since the stride is specified in pixels, in a 4-bit horizontal format it
has to always be even, otherwise the computation is wrong and we can
write outside of the buffer sometimes.
</content>
</entry>
</feed>
