Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py: Proper framework for built-in 'type'. | Damien George | 2014-01-08 |
| | |||
* | py: add variable argument exception constructor function. | Damien George | 2014-01-08 |
| | | | | Addresses issue #104. | ||
* | Merge pull request #114 from pfalcon/streams-bootstrap | Damien George | 2014-01-08 |
|\ | | | | | Define buffer and stream protocols, and other starting bits of io.* framework, with io.FileIO-like implementation for Unix | ||
| * | unix: Add basic implementation of io.FileIO object. | Paul Sokolovsky | 2014-01-08 |
| | | | | | | | | | | Note: only read/write/close methods are defined so far, and class is not exposed (use open() factory function, as usual). | ||
| * | Add generic implementations of Python read()/write methods for streams. | Paul Sokolovsky | 2014-01-08 |
| | | | | | | | | | | These can be used for any object which implements stream protocol (mp_stream_p_t). | ||
| * | Add support for stream and buffer protocols. | Paul Sokolovsky | 2014-01-08 |
| | | | | | | | | | | | | | | | | | | 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). | ||
* | | Merge pull request #119 from dhylands/teensy-use-py.mk | Damien George | 2014-01-08 |
|\ \ | | | | | | | Update teemsy/Makefile to use py.mk | ||
| * | | Update teemsy/Makefile to use py.mk | Dave Hylands | 2014-01-08 |
| |/ | | | | | | | I also fixed main.c to compile with the new str lexer | ||
* | | Merge pull request #118 from dhylands/stm-use-OBJCOPY-SIZE-macros | Damien George | 2014-01-08 |
|\ \ | | | | | | | Update stm/Makeile to use OBJCOPY and SIZE macros | ||
| * | | Update stm/Makeile to use OBJCOPY and SIZE macros | Dave Hylands | 2014-01-08 |
| |/ | | | | | | | | | | | While updating the teensy Makfile, I noticed that the stm Makefile was using calling arm-none-eabi-objcopy and size rather than $(OBJCOPY) and $(SIZE), so I added these 2 for consistency. | ||
* / | py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t. | Damien George | 2014-01-08 |
|/ | |||
* | Merge pull request #112 from iabdalkader/master | Damien George | 2014-01-08 |
|\ | | | | | Use LSI OSC for RTC clock when LSE is not detected | ||
| * | Use LSI OSC for RTC clock when LSE is not detected | mux | 2014-01-08 |
| | | | | | | | | * Fix rtc_init to use LSI for RTC clock source when LSE is not detected. | ||
* | | Move lexerstr to main py directory (everyone uses it). | Damien George | 2014-01-08 |
| | | |||
* | | Merge branch 'master' of github.com:dpgeorge/micropython | Damien George | 2014-01-08 |
|\ \ | |||
| * \ | Merge pull request #111 from dhylands/teensy | Damien George | 2014-01-08 |
| |\ \ | | |/ | |/| | Updated teensy to use common code from stm directory. | ||
| | * | Updated teensy to use common code from stm directory. | Dave Hylands | 2014-01-08 |
| |/ | | | | | | | Updated mconfigport.h to enable GC | ||
* / | py: Improve __build_class__. | Damien George | 2014-01-08 |
|/ | |||
* | Merge pull request #108 from chipaca/dict_feats | Damien George | 2014-01-07 |
|\ | | | | | Dictionary features that don't involve views or classmethods. First part of issue #99. | ||
| * | Moved dict methods out to a mp_method_t. | John R. Lenton | 2014-01-07 |
| | | |||
| * | Merge remote-tracking branch 'upstream/master' into dict_feats | John R. Lenton | 2014-01-07 |
| |\ | |||
| * | | Merge remote-tracking branch 'upstream/master' into dict_feats | John R. Lenton | 2014-01-07 |
| | | | |||
| * | | forgot to add test for dict.update | John R. Lenton | 2014-01-07 |
| | | | |||
| * | | added a first pass of dict.update | John R. Lenton | 2014-01-07 |
| | | | |||
| * | | stm: Re-fix LED defines. | Damien George | 2014-01-07 |
| | | | |||
| * | | py: Fix up number operations and coercion. | Damien George | 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 | 2014-01-07 |
| | | | | | | | | | | | | Added 0 to the list of primes. Funky primes, these. | ||
| * | | Added dict iterator. | John R. Lenton | 2014-01-07 |
| | | | |||
| * | | Typo fix in comment. | Paul Sokolovsky | 2014-01-07 |
| | | | |||
| * | | Use constructor to create small int (avoid exposing mp_obj_t internals to VM). | Paul Sokolovsky | 2014-01-07 |
| | | | |||
| * | | Initial support for Teensy 3.1 | Dave Hylands | 2014-01-07 |
| | | | |||
| * | | Fix LED pin enum | mux | 2014-01-07 |
| | | | | | | | | | | | | | | | * Fix LED pin enum, first one should start at 1 * Fix LED initialization typo | ||
* | | | py: Small big fix to type declarations. | Damien George | 2014-01-07 |
| |/ |/| | |||
* | | Merge pull request #105 from chipaca/listsort | Damien George | 2014-01-07 |
|\ \ | | | | | | | A more python-style list.sort. And keyword arguments. | ||
| * | | A bit of stylistic cleanup (chose the wrong side during conflict resolution). | John R. Lenton | 2014-01-07 |
| | | | |||
| * | | Merge remote-tracking branch 'upstream/master' into listsort. Lots of ↵ | John R. Lenton | 2014-01-07 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||
| * | | | This implements a better (more python-conformant) list.sort. | John R. Lenton | 2014-01-07 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||
* | | | | Add OSError, Python 3.3 generic I/O exception. | Paul Sokolovsky | 2014-01-07 |
| |/ / |/| | | |||
* | | | Add some example scripts for pyboard (some can run on PC). | Damien George | 2014-01-07 |
| | | | |||
* | | | py: Fix allocation of unique code blocks. | Damien George | 2014-01-07 |
| | | | |||
* | | | Merge branch 'cplusplus' of https://github.com/ian-v/micropython into ↵ | Damien George | 2014-01-07 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | ian-v-cplusplus Conflicts: py/objcomplex.c | ||
| * | | | Make list and str method tables static | ian-v | 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-06 |
| | |/ | |/| |