| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-01-21 | Revamp qstrs: they now include length and hash. | Damien George | |
| Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h | |||
| 2014-01-19 | Change int to uint for n_args in function with variable arguments. | Damien George | |
| 2014-01-18 | Make VM stack grow upwards, and so no reversed args arrays. | Damien George | |
| Change state layout in VM so the stack starts at state[0] and grows upwards. Locals are at the top end of the state and number downwards. This cleans up a lot of the interface connecting the VM to C: now all functions that take an array of Micro Python objects are in order (ie no longer in reverse). Also clean up C API with keyword arguments (call_n and call_n_kw replaced with single call method that takes keyword arguments). And now make_new takes keyword arguments. emitnative.c has not yet been changed to comply with the new order of stack layout. | |||
| 2014-01-15 | type->print(): Distinguish str() and repr() variety by passing extra param. | Paul Sokolovsky | |
| 2014-01-13 | Merge remote-tracking branch 'upstream/master' into containment | John R. Lenton | |
| 2014-01-11 | py: Implement staticmethod and classmethod (internally). | Damien George | |
| Still need to make built-ins by these names, and write tests. | |||
| 2014-01-11 | Implemented support for `in` and `not in` operators. | John R. Lenton | |
| 2014-01-10 | Added dict.fromkeys. Are we done with dict and #99 yet? I do think we are. | John R. Lenton | |
| 2014-01-10 | dict views now, refactoring later. | John R. Lenton | |
| 2014-01-09 | Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr. | Damien George | |
| Creating of classes (types) and instances is much more like CPython now. You can use "type('name', (), {...})" to create classes. | |||
| 2014-01-08 | py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t. | Damien George | |
| 2014-01-07 | Moved dict methods out to a mp_method_t. | John R. Lenton | |
| 2014-01-07 | added a first pass of dict.update | John R. Lenton | |
| 2014-01-07 | Added dict.setdefault | John R. Lenton | |
| 2014-01-07 | Added dict.popitem | John R. Lenton | |
| 2014-01-07 | implemented dict.pop | John R. Lenton | |
| 2014-01-07 | Added dict.get. | John R. Lenton | |
| 2014-01-07 | Added dict.copy | John R. Lenton | |
| 2014-01-07 | make dict_len use the map's used count | John R. Lenton | |
| 2014-01-07 | Added dict.clear. | John R. Lenton | |
| Added 0 to the list of primes. Funky primes, these. | |||
| 2014-01-07 | Added dict iterator. | John R. Lenton | |
| 2014-01-05 | Convert many object types structs to use C99 tagged initializer syntax. | Paul Sokolovsky | |
| 2014-01-04 | Convert Python types to proper Python type hierarchy. | Damien George | |
| Now much more inline with how CPython does types. | |||
| 2014-01-04 | Split qstr into pools, and put initial pool in ROM. | Damien George | |
| Qstr's are now split into a linked-list of qstr pools. This has 2 benefits: the first pool can be in ROM (huge benefit, since we no longer use RAM for the core qstrs), and subsequent pools use m_new for the next pool instead of m_renew (thus avoiding a huge single table for all the qstrs). Still would be better to use a hash table, but this scheme takes us part of the way (eventually convert the pools to hash tables). Also fixed bug with import. Also improved the way the module code is referenced (not magic number 1 anymore). | |||
| 2013-12-29 | py: add dict length function, and fix rt_store_set. | Damien | |
| 2013-12-21 | Change object representation from 1 big union to individual structs. | Damien | |
| A big change. Micro Python objects are allocated as individual structs with the first element being a pointer to the type information (which is itself an object). This scheme follows CPython. Much more flexible, not necessarily slower, uses same heap memory, and can allocate objects statically. Also change name prefix, from py_ to mp_ (mp for Micro Python). | |||
