| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-02-11 | mp_obj_equal(): Instead of assert(), throw NotImplementedError. | Paul Sokolovsky | |
| With a nice traceback, helps debugging much better. | |||
| 2014-02-11 | Typo fix in comment. | Paul Sokolovsky | |
| 2014-02-10 | stm: Remove unused, useless and not-to-be-used strndup. | Damien George | |
| Addresses issue #275. | |||
| 2014-02-10 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-02-10 | stm: Tidy up memory labels; optimise GC root scanning. | Damien George | |
| Addresses issues #272 and #273. | |||
| 2014-02-10 | Merge pull request #271 from dhylands/teensy-2014-02-10 | Damien George | |
| Updated teensy to work with latest on master | |||
| 2014-02-10 | Merge pull request #270 from pfalcon/down-with-calloc | Damien George | |
| Get rid of calloc(). | |||
| 2014-02-10 | Merge pull request #267 from pfalcon/func-ret-ann | Damien George | |
| Clean up handling of function return type annotation. | |||
| 2014-02-10 | Fix some int casting that failed on 64 bit architecture. | Damien George | |
| 2014-02-10 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-02-10 | Updated teensy to work with latest on master | Dave Hylands | |
| Added analogRead, analogWriteXxx and servo support for teensy. | |||
| 2014-02-10 | Get rid of calloc(). | Paul Sokolovsky | |
| If there's malloc and memset, then there's no need for calloc, especially if we need to implement it ourselves. | |||
| 2014-02-10 | socket: Tighten up int-to-str conversion. | Paul Sokolovsky | |
| 2014-02-10 | socket: Make sure that symbol definitions are const. | Paul Sokolovsky | |
| 2014-02-10 | Factor out mp_seq_count_obj() and implement tuple.count(). | Paul Sokolovsky | |
| 2014-02-10 | Implement tuple.index(). | Paul Sokolovsky | |
| 2014-02-10 | Factor out mp_seq_index_obj() function to implement .index() on sequences. | Paul Sokolovsky | |
| 2014-02-10 | Clean up handling of function return type annotation. | Paul Sokolovsky | |
| 2014-02-09 | Add NotImplementedError. | Paul Sokolovsky | |
| 2014-02-09 | unix: Implement time.sleep(). | Paul Sokolovsky | |
| 2014-02-08 | Implement tuple multiplication. | Paul Sokolovsky | |
| 2014-02-08 | Implement tuple addition. | Paul Sokolovsky | |
| 2014-02-08 | Implement tuple comparison. | Paul Sokolovsky | |
| 2014-02-08 | Refactor list comparison code to mp_seq_cmp_objs(). | Paul Sokolovsky | |
| 2014-02-08 | unix microsocket: Add dummy makefile() method. | Paul Sokolovsky | |
| Unlike CPython socket, microsocket object already implements stream protocol (read/write methods), so makefile() just returns object itself. TODO: this doesn't take care of arguments CPython's makefile() may accept. | |||
| 2014-02-08 | ffi: Fix mp_obj_str_get_data() return type. | Paul Sokolovsky | |
| 2014-02-08 | io.File, socket types: Add fileno() method. | Paul Sokolovsky | |
| Implementation is duplicated, but tolerate this for now, because there's no clear idea how to de-dup it. | |||
| 2014-02-08 | Rename "rawsocket" module to "microsocket". | Paul Sokolovsky | |
| It's no longer intended to provide just "raw" socket interface, may include some convenience methods for compatibility with CPython socket - but anyway just minimal set required to deal with socket client and servers, not wider network functionality. | |||
| 2014-02-08 | py: Add some qstrs to the global table. | Damien George | |
| 2014-02-08 | py: Pass keyword args to native functions by using the stack. | Damien George | |
| Passing keyword arguments to a native function now no longer requires heap memory. The kw_args map is created on the stack using the args array as the table. | |||
| 2014-02-08 | py: Allow mp_map_t to be initialised by a fixed-size, const table. | Damien George | |
| This allows keyword maps to be created directly from stack data. | |||
| 2014-02-08 | Make mp_obj_str_get_data return char* instead of byte*. | Damien George | |
| Can't decide which is better for string type, char or byte pointer. Changing to char removes a few casts. Really need to do proper unicode. | |||
| 2014-02-08 | stm: Mount SD card on 1:/ if present. | Damien George | |
| If SD card is present on (soft) reset then it's mounted on 1:/ and files can be openned using, eg, open('1:/test.txt', 'r'), or 'w' for writing. | |||
| 2014-02-06 | py: Put builtins into ROM table. | Damien George | |
| Linear table at the moment, to eventually be replaced with a hash table generated by a preprocessor. Dynamic table is retained so that builtins can be overridden. | |||
| 2014-02-06 | Implement fixed buffer vstrs; use them for import path. | Damien George | |
| 2014-02-06 | Add staticmethod and classmethod to builtin namespace. | Damien George | |
| 2014-02-06 | py: More output in showbc. | Damien George | |
| 2014-02-06 | py: Fix compile of class with keyword arguments in bases. | Damien George | |
| 2014-02-06 | Add mp_import_stat to unix-cpy port. | Damien George | |
| 2014-02-06 | Add more finally + break/continue testcases. | Paul Sokolovsky | |
| 2014-02-06 | Add additional testcase for finally/return. | Paul Sokolovsky | |
| 2014-02-05 | Search paths properly on import and execute __init__.py if it exists. | Damien George | |
| 2014-02-05 | Merge pull request #262 from pfalcon/sys-path | Damien George | |
| Implement sys.path support | |||
| 2014-02-05 | py: Fix bug with dual initialisation of RT_UNARY_OP_NOT. | Damien George | |
| Fixes Issue #261. | |||
| 2014-02-05 | py: Add built-in super. | Damien George | |
| 2014-02-05 | Remove older import helpers, no longer used. | Paul Sokolovsky | |
| 2014-02-05 | unix: Be sure to add current/base dir of a script to sys.path. | Paul Sokolovsky | |
| This mirrors CPython behavior and makes possible to run scripts which import other modules not from script's directory. | |||
| 2014-02-05 | unix: Initialize sys.path from MICROPYPATH environment variable. | Paul Sokolovsky | |
| If it's not available, "~/.micropython/lib:/usr/lib/micropython" is used as a fallback. | |||
| 2014-02-05 | Implement support for sys.path when loading modules. | Paul Sokolovsky | |
| sys.path is not initialized by rt_init(), that's left for platform-specific startup code. (For example, bare metal port may have some hardcoded defaults, and let user change sys.path directly; while port for OS with environment feature can take path from environment). If it's not explicitly initialized, modules will be imported only from a current directory. | |||
| 2014-02-05 | Add generic MIN()/MAX() functions. | Paul Sokolovsky | |
