Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix SIGSEV when running "a"() | Markus Siemens | 2014-01-31 |
| | | | | | | rt_call_function_n_kw did check for integers but not for strings being called. Added a check so running "a"() won't SIGSEV but throw an exception. | ||
* | Dump 4 more bytecodes (loop and finally ones). | Paul Sokolovsky | 2014-01-31 |
| | |||
* | Typo fixes in comments. | Paul Sokolovsky | 2014-01-31 |
| | |||
* | py: Add MICROPY_ENABLE_FLOAT around a float specific piece of code. | Damien George | 2014-01-31 |
| | |||
* | Merge pull request #239 from pfalcon/end_finally | Damien George | 2014-01-30 |
|\ | | | | | vm: Add basic implementation of END_FINALLY opcode. | ||
| * | vm: Add basic implementation of END_FINALLY opcode. | Paul Sokolovsky | 2014-01-30 |
| | | | | | | | | | | | | Allows to have nested try blocks with except filters. TODO: Don't add END_FINALLY's exception re-raise points to traceback. | ||
* | | Fix Makefiles: -O3 option was not being applied; mkdir for STM. | Damien George | 2014-01-30 |
|/ | |||
* | py: Improve __bool__ and __len__ dispatch; add slots for them. | Damien George | 2014-01-30 |
| | |||
* | Implement __bool__ and __len__ via unary_op virtual method for all types. | Paul Sokolovsky | 2014-01-30 |
| | | | | | | | __bool__() and __len__() are just the same as __neg__() or __invert__(), and require efficient dispatching implementation (not requiring search/lookup). type->unary_op() is just the right choice for this short of adding standalone virtual method(s) to already big mp_obj_type_t structure. | ||
* | realloc(): Log original memory ptr too. | Paul Sokolovsky | 2014-01-30 |
| | | | | To alloc complete memory alloc flow tracing. | ||
* | Merge branch 'master' of github.com:msiemens/micropython into msiemens-master | Damien George | 2014-01-29 |
|\ | |||
| * | Fixed problems with nlx86.S on Linux | Markus Siemens | 2014-01-28 |
| | | | | | | | | | | Fixed '#ifdef's so Linux would compile again and added .scl and .type for Windows. | ||
| * | Added Windows port (see #233) | Markus Siemens | 2014-01-28 |
| | | |||
* | | py: Add compile option to enable/disable source line numbers. | Damien George | 2014-01-29 |
| | | |||
* | | stm: Add optional memory debugging output. | Damien George | 2014-01-29 |
| | | |||
* | | py: Simplify fastn in VM; reduce size of unique code struct. | Damien George | 2014-01-29 |
| | | | | | | | | | | | | | | | | | | | | We still have FAST_[0,1,2] byte codes, but they now just access the fastn array (before they had special local variables). It's now simpler, a bit faster, and uses a bit less stack space (on STM at least, which is most important). The only reason now to keep FAST_[0,1,2] byte codes is for compressed byte code size. | ||
* | | py: Fix bug with LOAD_METHOD; fix int->machine_int_t for small int. | Damien George | 2014-01-29 |
| | | | | | | | | | | | | | | | | LOAD_METHOD bug was: emitbc did not correctly calculate the amount of stack usage for a LOAD_METHOD operation. small int bug was: int was being used to pass small ints, when it should have been machine_int_t. | ||
* | | py: Msg in exception is no longer interned. | Damien George | 2014-01-29 |
| | | |||
* | | Add qstr_info() function and bindings for unix port. | Damien George | 2014-01-29 |
| | | |||
* | | py: Implement 'not' in compiler, and improve rt_is_true. | Damien George | 2014-01-28 |
| | | |||
* | | mp_obj_new_bytearray_by_ref(): Allow to create array by reference. | Paul Sokolovsky | 2014-01-29 |
| | | | | | | | | This is special feature for FFI. | ||
* | | bytearray: Print objects properly. | Paul Sokolovsky | 2014-01-28 |
| | | |||
* | | Factor out quoted string print function for reuse (mp_str_print_quoted()). | Paul Sokolovsky | 2014-01-28 |
| | | |||
* | | array: CPython prints empty arrays inconsistently (only typecode, no []). | Paul Sokolovsky | 2014-01-28 |
| | | |||
* | | Don't pre-import array module. | Paul Sokolovsky | 2014-01-28 |
| | | |||
* | | array.array: Allow to create empty arrays. | Paul Sokolovsky | 2014-01-28 |
| | | |||
* | | Merge pull request #231 from iabdalkader/master | Damien George | 2014-01-27 |
|\ \ | | | | | | | Fix implicit double conversion warning | ||
| * | | Fix implicit double conversion warning | mux | 2014-01-27 |
| | | | |||
* | | | Merge branch 'master' of github.com:micropython/micropython | Damien George | 2014-01-27 |
|\ \ \ | | |/ | |/| | |||
| * | | long int: Implement more operations. | Paul Sokolovsky | 2014-01-27 |
| |/ | |||
| * | list.pop(): Don't allow ->alloc drop to zero, which causes unexpected behavior. | Paul Sokolovsky | 2014-01-27 |
| | | |||
| * | gen.send(): Throw StopIteration. Also, explicitly shutdown finished gen. | Paul Sokolovsky | 2014-01-27 |
| | | | | | | | | | | Otherwise, some generator statements still may be spuriously executed on subsequent calls to next()/send(). | ||
* | | py: Add unary op not for NoneType, bool, tuple, list, dict; fix for int. | Damien George | 2014-01-27 |
|/ | |||
* | Implement send() method for generators. | Paul Sokolovsky | 2014-01-26 |
| | |||
* | Functions of fixed number of args are special-cased only for 3 or less args. | Paul Sokolovsky | 2014-01-26 |
| | |||
* | Add MP_OBJ_IS_INT(), for symmetry with MP_OBJ_IS_STR(). | Paul Sokolovsky | 2014-01-26 |
| | |||
* | Merge pull request #225 from dhylands/fix-make-dep | Damien George | 2014-01-25 |
|\ | | | | | Fixed dependency problem for qstrdefs.generated.h | ||
| * | Fixed dependency problem for qstrdefs.generated.h | Dave Hylands | 2014-01-25 |
| | | | | | | | | | | | | The problem manifests itself in make 4.0 I also fixed the LINK message when linking the final executable for unix and unix-cpy. | ||
* | | Implement mp_parse_node_free; print properly repr(string). | Damien George | 2014-01-25 |
| | | |||
* | | Merge branch 'free-parse-tree' of github.com:pfalcon/micropython into ↵ | Damien George | 2014-01-25 |
|\ \ | | | | | | | | | | pfalcon-free-parse-tree | ||
| * | | Add parse_node_free_struct() and use it to free parse tree after compilation. | Paul Sokolovsky | 2014-01-25 |
| | | | | | | | | | | | | TODO: Check lexer/parse/compile error path for leaks too. | ||
* | | | py: Optimise generated code for working out line numbers. | Damien George | 2014-01-25 |
| |/ |/| | |||
* | | Remove obsoleted comment. | Damien George | 2014-01-25 |
| | | |||
* | | Merge branch 'master' of github.com:micropython/micropython | Damien George | 2014-01-25 |
|\| | |||
| * | rt_deinit(): Finalize some maps. | Paul Sokolovsky | 2014-01-25 |
| | | |||
| * | Add mp_map_deinit() & mp_map_free() to finalize maps. | Paul Sokolovsky | 2014-01-25 |
| | | | | | | | | mp_map_deinit() finalizes static map, mp_map_free() - dynamic. | ||
* | | py: Implement iterator support for object that has __getitem__. | Damien George | 2014-01-25 |
|/ | | | | Addresses Issue #203. | ||
* | Merge pull request #221 from pfalcon/basic-bytes | Damien George | 2014-01-24 |
|\ | | | | | Add basic implementation of bytes type, piggybacking on str. | ||
| * | Add basic implementation of bytes type, piggybacking on str. | Paul Sokolovsky | 2014-01-24 |
| | | | | | | | | | | This reuses as much str implementation as possible, from this we can make them more separate as needed. | ||
* | | Merge pull request #219 from dhylands/add-deps | Damien George | 2014-01-24 |
|\ \ | | | | | | | Rework makefiles. Add proper dependency checking. |