<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/vstr.c, branch v1.0.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.0.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.0.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-05-03T22:27:38+00:00</updated>
<entry>
<title>Add license header to (almost) all files.</title>
<updated>2014-05-03T22:27:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T22:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04b9147e150d2d6fa3750f312fe328b6a71c1b28'/>
<id>urn:sha1:04b9147e150d2d6fa3750f312fe328b6a71c1b28</id>
<content type='text'>
Blanket wide to all .c and .h files.  Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.

Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
</content>
</entry>
<entry>
<title>py: Fix vstr_init for case that alloc = 0.</title>
<updated>2014-03-31T16:10:59+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-31T16:10:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8cd72bdf92fc8d8d735e332295e9582ae20bbaef'/>
<id>urn:sha1:8cd72bdf92fc8d8d735e332295e9582ae20bbaef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Clean up includes.</title>
<updated>2014-03-17T09:43:40+00:00</updated>
<author>
<name>xbe</name>
<email>xbe@machine</email>
</author>
<published>2014-03-16T07:14:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=efe34223945a5d27a7ae9445d0793d6330cd2411'/>
<id>urn:sha1:efe34223945a5d27a7ae9445d0793d6330cd2411</id>
<content type='text'>
Remove unnecessary includes. Add includes that improve portability.
</content>
</entry>
<entry>
<title>py: Fix bug in vstr_ins_blank_bytes.</title>
<updated>2014-03-15T16:54:06+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-15T16:54:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ecd58aec08964340b7b74900f806e84392cf6065'/>
<id>urn:sha1:ecd58aec08964340b7b74900f806e84392cf6065</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add vstr_ins and vstr_cut_out; improve stmhal readline.</title>
<updated>2014-03-15T14:33:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-15T14:33:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=280e7208d8b8bc7abc8d5d6a49abc0977004ee56'/>
<id>urn:sha1:280e7208d8b8bc7abc8d5d6a49abc0977004ee56</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace global "static" -&gt; "STATIC", to allow "analysis builds". Part 2.</title>
<updated>2014-02-12T16:31:30+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-02-12T16:31:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=520e2f58a559c356ea540a5da4e9a585649aecc6'/>
<id>urn:sha1:520e2f58a559c356ea540a5da4e9a585649aecc6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement fixed buffer vstrs; use them for import path.</title>
<updated>2014-02-06T21:11:19+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-02-06T21:11:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=354d15a964474b0ced060abfbb8f889be8ce8efd'/>
<id>urn:sha1:354d15a964474b0ced060abfbb8f889be8ce8efd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix 1 warning and 1 bug.</title>
<updated>2014-01-22T23:18:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-01-22T23:18:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f64086f80f1493c7f5009e99f4bd1fba47332cd3'/>
<id>urn:sha1:f64086f80f1493c7f5009e99f4bd1fba47332cd3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add "buffer management" and "shrink" API calls to vstr.</title>
<updated>2014-01-13T21:31:06+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-01-13T21:15:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5d2499c63813566b1e35067f6faff3046c7f9d0a'/>
<id>urn:sha1:5d2499c63813566b1e35067f6faff3046c7f9d0a</id>
<content type='text'>
vstr is initially intended to deal with arbitrary-length strings. By
providing a bit lower-level API calls, it will be also useful to deal
with arbitrary-length I/O buffers (the difference from strings is that
buffers are filled from "outside", via I/O).

Another issue, especially aggravated by I/O buffer use, is alloc size
vs actual size length. If allocated 1Mb for buffer, but actually
read 1 byte, we don't want to keep rest of 1Mb be locked by this I/O
result, but rather return it to heap ASAP ("shrink" buffer before passing
it to qstr_from_str_take()).
</content>
</entry>
<entry>
<title>Basic implementation of import.</title>
<updated>2014-01-03T14:03:48+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-01-03T14:03:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=66028ab6dcd1b2ec9504c3473d817649935a4a1e'/>
<id>urn:sha1:66028ab6dcd1b2ec9504c3473d817649935a4a1e</id>
<content type='text'>
import works for simple cases.  Still work to do on finding the right
script, and setting globals/locals correctly when running an imported
function.
</content>
</entry>
</feed>
