<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/unix/socket.c, branch encoding</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=encoding</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=encoding'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-04-04T17:34:10+00:00</updated>
<entry>
<title>unix: Rename module sources per latest naming conventions (mod*.c).</title>
<updated>2014-04-04T17:34:10+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-04-04T17:32:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c39368427c7fbd294d7783a706593cbb7468e06d'/>
<id>urn:sha1:c39368427c7fbd294d7783a706593cbb7468e06d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix: Use STATIC modifier to enable code size analysis via map file.</title>
<updated>2014-04-04T17:34:02+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-04-04T17:25:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cd31d826bf468b326356d5fa809e42e3d1cc9727'/>
<id>urn:sha1:cd31d826bf468b326356d5fa809e42e3d1cc9727</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Remove old "run time" functions that were 1 liners.</title>
<updated>2014-03-31T15:28:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-31T15:28:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=15d18069c50f7c02cb71417f3c4ffddff335fe70'/>
<id>urn:sha1:15d18069c50f7c02cb71417f3c4ffddff335fe70</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge map.h into obj.h.</title>
<updated>2014-03-30T12:54:02+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-30T12:54:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=df6567e6345c763182fa237a4497ab94ee6ffc20'/>
<id>urn:sha1:df6567e6345c763182fa237a4497ab94ee6ffc20</id>
<content type='text'>
Pretty much everyone needs to include map.h, since it's such an integral
part of the Micro Python object implementation.  Thus, the definitions
are now in obj.h instead.  map.h is removed.
</content>
</entry>
<entry>
<title>Rename rt_* to mp_*.</title>
<updated>2014-03-30T12:35:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-30T12:35:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d17926db710189db97a49e9b2e72d782fc404231'/>
<id>urn:sha1:d17926db710189db97a49e9b2e72d782fc404231</id>
<content type='text'>
Mostly just a global search and replace.  Except rt_is_true which
becomes mp_obj_is_true.

Still would like to tidy up some of the names, but this will do for now.
</content>
</entry>
<entry>
<title>py: Rename old const type objects to mp_type_* for consistency.</title>
<updated>2014-03-29T13:43:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-29T13:43:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3e1a5c10c5bf0a38c2ed3b9986b43b8cb8227b2f'/>
<id>urn:sha1:3e1a5c10c5bf0a38c2ed3b9986b43b8cb8227b2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove mp_obj_type_t.methods entry and use .locals_dict instead.</title>
<updated>2014-03-26T21:47:19+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-26T21:47:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9b196cddab80e24b9ce66b1c922cb757b11fb16a'/>
<id>urn:sha1:9b196cddab80e24b9ce66b1c922cb757b11fb16a</id>
<content type='text'>
Originally, .methods was used for methods in a ROM class, and
locals_dict for methods in a user-created class.  That distinction is
unnecessary, and we can use locals_dict for ROM classes now that we have
ROMable maps.

This removes an entry in the bloated mp_obj_type_t struct, saving a word
for each ROM object and each RAM object.  ROM objects that have a
methods table (now a locals_dict) need an extra word in total (removed
the methods pointer (1 word), no longer need the sentinel (2 words), but
now need an mp_obj_dict_t wrapper (4 words)).  But RAM objects save a
word because they never used the methods entry.

Overall the ROM usage is down by a few hundred bytes, and RAM usage is
down 1 word per user-defined type/class.

There is less code (no need to check 2 tables), and now consistent with
the way ROM modules have their tables initialised.

Efficiency is very close to equivaluent.
</content>
</entry>
<entry>
<title>Change mp_method_t.name from const char * to qstr.</title>
<updated>2014-03-26T20:15:40+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-26T20:15:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c12b2213c16ba8839981c362c4d5f133a84b374b'/>
<id>urn:sha1:c12b2213c16ba8839981c362c4d5f133a84b374b</id>
<content type='text'>
Addresses issue #377.
</content>
</entry>
<entry>
<title>unix: Clean up includes.</title>
<updated>2014-03-16T19:14:15+00:00</updated>
<author>
<name>xbe</name>
<email>xbe@machine</email>
</author>
<published>2014-03-16T06:24:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c93a22197bfdb9323fa176eca4d30f307963ce9d'/>
<id>urn:sha1:c93a22197bfdb9323fa176eca4d30f307963ce9d</id>
<content type='text'>
Remove unnecessary includes. Add includes that improve portability.
</content>
</entry>
<entry>
<title>Implement proper exception type hierarchy.</title>
<updated>2014-02-15T16:10:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-02-15T16:10:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c5966128c7c8a768f6726f299d85d5daef6bed48'/>
<id>urn:sha1:c5966128c7c8a768f6726f299d85d5daef6bed48</id>
<content type='text'>
Each built-in exception is now a type, with base type BaseException.
C exceptions are created by passing a pointer to the exception type to
make an instance of.  When raising an exception from the VM, an
instance is created automatically if an exception type is raised (as
opposed to an exception instance).

Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper.

Handling of parse error changed to match new exceptions.

mp_const_type renamed to mp_type_type for consistency.
</content>
</entry>
</feed>
