| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-01-23 | py: Implement bool unary op; tidy up unary op dispatch. | Damien George | |
| 2014-01-22 | py: Initialise loaded_module map in rt_init. | Damien George | |
| STM port crashes without this re-init. There should not be any state in the core py/ code that relies on pre-initialised data. | |||
| 2014-01-22 | Second stage of qstr revamp: uPy str object can be qstr or not. | Damien George | |
| 2014-01-21 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| Conflicts: py/objstr.c py/py.mk py/stream.c unix/main.c unix/socket.c | |||
| 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-20 | Add dummy bytes() constructor. | Paul Sokolovsky | |
| Currently, MicroPython strings are mix between CPython byte and unicode strings. So, conversion is null so far. This dummy implementation is intended for compatibility with CPython (so, same code can run on both). | |||
| 2014-01-20 | py: Put micropython module init code in builtinmp.c. | Damien George | |
| 2014-01-20 | Expose memory stats functions via "micropython" module. | Paul Sokolovsky | |
| These are micropython.mem_total(), .mem_current(), .mem_peak(). These are 3 individual functions with simple scalar return value to make sure that calls to these functions themselves have minimal (hopefully zero) impact on memory allocation. | |||
| 2014-01-20 | Don't implicitly import "sys" module. | Paul Sokolovsky | |
| 2014-01-20 | Pre-create sys module. | Paul Sokolovsky | |
| 2014-01-19 | py: Add module/function/class name to exceptions. | Damien George | |
| Exceptions know source file, line and block name. Also tidy up some debug printing functions and provide a global flag to enable/disable them. | |||
| 2014-01-18 | py: Fix VM/runtime unpack sequence bug, Issue #193. | Damien George | |
| 2014-01-18 | Merge pull request #192 from pfalcon/arrays | Damien George | |
| Add skeleton implementation of array.array and bytearray. | |||
| 2014-01-18 | Improve method lookup in mp_obj_class_lookup. | Damien George | |
| Now searches both locals_dict and methods. Partly addresses Issue #145. | |||
| 2014-01-18 | Add skeleton implementation of array.array and bytearray. | Paul Sokolovsky | |
| So far, only storage, initialization, repr() and buffer protocol is implemented - alredy suitable for passing binary data around. | |||
| 2014-01-18 | Merge pull request #191 from pfalcon/store-item | Damien George | |
| Add store_item() virtual method to type to implement container[index] = val | |||
| 2014-01-18 | Merge branch 'master' of github.com:dpgeorge/micropython | 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-18 | Add store_item() virtual method to type to implement container[index] = val. | Paul Sokolovsky | |
| 2014-01-18 | Add OverflowError and use it for small int overflow instead of assert. | Paul Sokolovsky | |
| 2014-01-16 | Add empty (false) value testing for strings, tuples, lists, dicts. | Paul Sokolovsky | |
| 2014-01-16 | Add empty "micropython" module to allow more seamless CPython portability. | Paul Sokolovsky | |
| Implicit "micropython" module contains (at least) codegeneration decorators. Make it explicit, so an app could have "import micropython". On MicroPython, that will be no-op. On CPython, that will give a chance to have a module with placeholder decorators. | |||
| 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 | Merge branch 'builtins' of github.com:chipaca/micropython into chipaca-builtins | Damien George | |
| Added some checks for number of arguments. Conflicts: py/mpqstrraw.h | |||
| 2014-01-15 | Implement eval. | Damien George | |
| 2014-01-15 | Implement repr. | Damien George | |
| 2014-01-15 | added filter() | John R. Lenton | |
| 2014-01-15 | Added map | John R. Lenton | |
| 2014-01-15 | Implement str() and repr() builtin functions. | 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 | Merge pull request #142 from chipaca/containment | Damien George | |
| Implemented support for `in` and `not in` operators. | |||
| 2014-01-14 | Merge pull request #165 from chipaca/builtins | Damien George | |
| added zip() | |||
| 2014-01-15 | Implement "is" and "is not" operators. | Paul Sokolovsky | |
| So far, don't work for strings as expected. | |||
| 2014-01-13 | Merge remote-tracking branch 'upstream/master' into builtins | John R. Lenton | |
| Conflicts: py/builtin.c py/builtin.h py/runtime.c | |||
| 2014-01-13 | Merge remote-tracking branch 'upstream/master' into containment | John R. Lenton | |
| 2014-01-13 | Consolidate rt_make_function_[0123] to rt_make_function_n. | Damien George | |
| 2014-01-13 | Cleanup built-ins, and fix some compiler warnings/errors. | Damien George | |
| 2014-01-13 | sorted | John R. Lenton | |
| 2014-01-13 | added zip() | John R. Lenton | |
| 2014-01-13 | Merge remote-tracking branch 'upstream/master' into containment | John R. Lenton | |
| 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-12 | Merge pull request #146 from pfalcon/assert-exc | Damien George | |
| Add AssertionError. | |||
| 2014-01-12 | rt_binary_op(): Don't fall thru in case small_int op result doesn't fit back. | Paul Sokolovsky | |
| Currently it would report "operation not supported" which is confusing. Overall, this is thinko leading to undefined behavior. | |||
| 2014-01-12 | Add AssertionError. | Paul Sokolovsky | |
| 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 | Merge remote-tracking branch 'upstream/master' into containment | John R. Lenton | |
| Conflicts: py/runtime.c | |||
| 2014-01-11 | Implemented support for `in` and `not in` operators. | John R. Lenton | |
| 2014-01-11 | py: Fix bug where == and != not handled for small_ints. | Damien George | |
| 2014-01-11 | unified the bops | John R. Lenton | |
