| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-01-15 | Merge branch 'str-repr' of github.com:pfalcon/micropython into pfalcon-str-repr | Damien George | |
| Conflicts: tests/basics/tests/exception1.py | |||
| 2014-01-15 | added filter() | John R. Lenton | |
| 2014-01-15 | Added map | John R. Lenton | |
| 2014-01-15 | type->print(): Distinguish str() and repr() variety by passing extra param. | Paul Sokolovsky | |
| 2014-01-14 | Merge remote-tracking branch 'upstream/master' into builtins | John R. Lenton | |
| 2014-01-14 | added enumerate() | John R. Lenton | |
| 2014-01-14 | Tidy up. | Damien George | |
| 2014-01-14 | Implemented int(str) in UNIX | xyb | |
| 2014-01-13 | Made sorted() raise an exception instead of aborting when given no ↵ | John R. Lenton | |
| arguments; moved around some things in objfun.c as a consequence | |||
| 2014-01-13 | Cleaned up sorted() as per Damien's suggestions. | John R. Lenton | |
| 2014-01-13 | added zip() | John R. Lenton | |
| 2014-01-12 | Add framework to support alternative implementations of long int Python type. | Paul Sokolovsky | |
| 2014-01-12 | Add proper checks for fits-in-small-int. Make it reusable. | Paul Sokolovsky | |
| We likely should make mp_obj_new_int() inline, and rely on its encapsulated check rather than inline checks everywhere explicitly. Also, parser for big small int values is still broken. | |||
| 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 | unified the bops | 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-09 | py: Implement base class lookup, issubclass, isinstance. | Damien George | |
| 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: add variable argument exception constructor function. | Damien George | |
| Addresses issue #104. | |||
| 2014-01-08 | Merge pull request #114 from pfalcon/streams-bootstrap | Damien George | |
| Define buffer and stream protocols, and other starting bits of io.* framework, with io.FileIO-like implementation for Unix | |||
| 2014-01-08 | py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t. | Damien George | |
| 2014-01-08 | Add support for stream and buffer protocols. | Paul Sokolovsky | |
| Stream protocol is abstraction of serial I/O. Buffer protocol is abstraction of random-access I/O. These protocols are defined down to C level, to allow generic, while still efficient algorithms to be coded in C (like, buffered transfer between 2 stream objects, saving/loading of buffer object to/from stream, etc). (Note that CPython define buffer protocol on C level, but apparently not stream protocol). | |||
| 2014-01-08 | py: Improve __build_class__. | Damien George | |
| 2014-01-07 | py: Small big fix to type declarations. | Damien George | |
| 2014-01-07 | Merge remote-tracking branch 'upstream/master' into listsort. Lots of ↵ | John R. Lenton | |
| conflict fun. Conflicts: py/obj.h py/objbool.c py/objboundmeth.c py/objcell.c py/objclass.c py/objclosure.c py/objcomplex.c py/objdict.c py/objexcept.c py/objfun.c py/objgenerator.c py/objinstance.c py/objmodule.c py/objrange.c py/objset.c py/objslice.c | |||
| 2014-01-07 | This implements a better (more python-conformant) list.sort. | John R. Lenton | |
| It's not really about that, though; it's about me figuring out a sane way forward for keyword-argument functions (and function metadata). But it's useful as is, and shouldn't break any existing code, so here you have it; I'm going to park it in my mind for a bit while sorting out the rest of the dict branch. | |||
| 2014-01-07 | Merge branch 'cplusplus' of https://github.com/ian-v/micropython into ↵ | Damien George | |
| ian-v-cplusplus Conflicts: py/objcomplex.c | |||
| 2014-01-06 | py: Fix up number operations and coercion. | Damien George | |
| 2014-01-06 | Revert MP_BOOL, etc. and use <stdbool.h> instead | ian-v | |
| 2014-01-06 | Co-exist with C++ (issue #85) | ian-v | |
| 2014-01-05 | Merge remote-tracking branch 'upstream/master' into list_insert | John R. Lenton | |
| 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 | Add ellipsis object. | Damien George | |
| 2014-01-04 | Merge remote-tracking branch 'upstream/master' into list_insert | John R. Lenton | |
| 2014-01-04 | Implements list.insert. Fixes issue #61. | John R. Lenton | |
| 2014-01-04 | Add basic implementation of slice object. | Paul Sokolovsky | |
| So far, only start and stop integer indexes are supported. Step is not supported, as well as objects of arbitrary types. | |||
| 2014-01-03 | Basic implementation of import. | Damien George | |
| import works for simple cases. Still work to do on finding the right script, and setting globals/locals correctly when running an imported function. | |||
| 2014-01-02 | Add module object, to be used eventually for import. | Damien George | |
| 2014-01-02 | py: Fix generator where state array was incorrectly indexed. | Damien George | |
| Generator objects now allocate the object and the state in one malloc. This improvement fixes Issue #38. | |||
| 2014-01-01 | py: change declaration of mp_map_t in obj.h (for issue #24). | Damien George | |
| 2013-12-30 | py: make closures work. | Damien George | |
| 2013-12-29 | py: add dict length function, and fix rt_store_set. | Damien | |
| 2013-12-29 | py: implement some basic exception matching. | Damien | |
| 2013-12-21 | py: simplify __next__ method for generators. | 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). | |||
| 2013-12-17 | py: add more Python built-in functions. | Damien | |
| 2013-12-17 | py: split runtime into map, obj, builtin. | Damien | |
