summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* py: Proper framework for built-in 'type'.Damien George2014-01-08
|
* py: add variable argument exception constructor function.Damien George2014-01-08
| | | | Addresses issue #104.
* Merge pull request #114 from pfalcon/streams-bootstrapDamien George2014-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 Sokolovsky2014-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 Sokolovsky2014-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 Sokolovsky2014-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.mkDamien George2014-01-08
|\ \ | | | | | | Update teemsy/Makefile to use py.mk
| * | Update teemsy/Makefile to use py.mkDave Hylands2014-01-08
| |/ | | | | | | I also fixed main.c to compile with the new str lexer
* | Merge pull request #118 from dhylands/stm-use-OBJCOPY-SIZE-macrosDamien George2014-01-08
|\ \ | | | | | | Update stm/Makeile to use OBJCOPY and SIZE macros
| * | Update stm/Makeile to use OBJCOPY and SIZE macrosDave Hylands2014-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 George2014-01-08
|/
* Merge pull request #112 from iabdalkader/masterDamien George2014-01-08
|\ | | | | Use LSI OSC for RTC clock when LSE is not detected
| * Use LSI OSC for RTC clock when LSE is not detectedmux2014-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 George2014-01-08
| |
* | Merge branch 'master' of github.com:dpgeorge/micropythonDamien George2014-01-08
|\ \
| * \ Merge pull request #111 from dhylands/teensyDamien George2014-01-08
| |\ \ | | |/ | |/| Updated teensy to use common code from stm directory.
| | * Updated teensy to use common code from stm directory.Dave Hylands2014-01-08
| |/ | | | | | | Updated mconfigport.h to enable GC
* / py: Improve __build_class__.Damien George2014-01-08
|/
* Merge pull request #108 from chipaca/dict_featsDamien George2014-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. Lenton2014-01-07
| |
| * Merge remote-tracking branch 'upstream/master' into dict_featsJohn R. Lenton2014-01-07
| |\
| * | Merge remote-tracking branch 'upstream/master' into dict_featsJohn R. Lenton2014-01-07
| | |
| * | forgot to add test for dict.updateJohn R. Lenton2014-01-07
| | |
| * | added a first pass of dict.updateJohn R. Lenton2014-01-07
| | |
| * | stm: Re-fix LED defines.Damien George2014-01-07
| | |
| * | py: Fix up number operations and coercion.Damien George2014-01-07
| | |
| * | Added dict.setdefaultJohn R. Lenton2014-01-07
| | |
| * | Added dict.popitemJohn R. Lenton2014-01-07
| | |
| * | implemented dict.popJohn R. Lenton2014-01-07
| | |
| * | Added dict.get.John R. Lenton2014-01-07
| | |
| * | Added dict.copyJohn R. Lenton2014-01-07
| | |
| * | make dict_len use the map's used countJohn R. Lenton2014-01-07
| | |
| * | Added dict.clear.John R. Lenton2014-01-07
| | | | | | | | | | | | Added 0 to the list of primes. Funky primes, these.
| * | Added dict iterator.John R. Lenton2014-01-07
| | |
| * | Typo fix in comment.Paul Sokolovsky2014-01-07
| | |
| * | Use constructor to create small int (avoid exposing mp_obj_t internals to VM).Paul Sokolovsky2014-01-07
| | |
| * | Initial support for Teensy 3.1Dave Hylands2014-01-07
| | |
| * | Fix LED pin enummux2014-01-07
| | | | | | | | | | | | | | | * Fix LED pin enum, first one should start at 1 * Fix LED initialization typo
* | | py: Small big fix to type declarations.Damien George2014-01-07
| |/ |/|
* | Merge pull request #105 from chipaca/listsortDamien George2014-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. Lenton2014-01-07
| | |
| * | Merge remote-tracking branch 'upstream/master' into listsort. Lots of ↵John R. Lenton2014-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. Lenton2014-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 Sokolovsky2014-01-07
| |/ / |/| |
* | | Add some example scripts for pyboard (some can run on PC).Damien George2014-01-07
| | |
* | | py: Fix allocation of unique code blocks.Damien George2014-01-07
| | |
* | | Merge branch 'cplusplus' of https://github.com/ian-v/micropython into ↵Damien George2014-01-07
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ian-v-cplusplus Conflicts: py/objcomplex.c
| * | | Make list and str method tables statician-v2014-01-06
| | | |
| * | | Revert MP_BOOL, etc. and use <stdbool.h> insteadian-v2014-01-06
| | | |
| * | | Co-exist with C++ (issue #85)ian-v2014-01-06
| | |/ | |/|