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 |
| | |||
* | Add testcase with exception handler spread across functions. | 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. | ||
* | | Merge pull request #240 from msiemens/windows_fix | Damien George | 2014-01-30 |
|\ \ | | | | | | | windows: Make windows/main.c independent from unix/main.c | ||
| * | | windows: Make windows/main.c independent from unix/main.c | Markus Siemens | 2014-01-30 |
| |/ | | | | | | | | | | | | | | | Up to know changes unix/main.c were able to break the windows build because windows/main.c simply included unix/main.c. Now windows/main.c stands on it's own and won't break if unix/main.c changes. | ||
* / | 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 |
| | |||
* | Merge pull request #238 from pfalcon/bool_len | Damien George | 2014-01-30 |
|\ | | | | | Implement __bool__ and __len__ via unary_op virtual method for all types. | ||
| * | 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. | ||
* | run-tests can handle segfault. | Damien George | 2014-01-29 |
| | |||
* | 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. | ||
* | | stm: Fix gccollect ram range. | Damien George | 2014-01-29 |
| | | |||
* | | Merge branch 'master' of github.com:iabdalkader/micropython | Damien George | 2014-01-29 |
|\ \ | |||
| * | | Fix unused function warning in main | mux | 2014-01-29 |
| | | | | | | | | | | | | * Add SD card test to fix warning | ||
| * | | Remove redundant include in file.c | mux | 2014-01-29 |
| | | | | | | | | | | | | * Remove include mpconfigport.h from file.c | ||
| * | | Move HEAP_END and RAM_END to linker script | mux | 2014-01-29 |
| | | | | | | | | | | | | * Issue #232 | ||
* | | | 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 |
|/ / | |||
* | | stm: Increase timeout for RTC LSE startup; use backup regs. | Damien George | 2014-01-28 |
| | | |||
* | | py: Implement 'not' in compiler, and improve rt_is_true. | Damien George | 2014-01-28 |
| | | |||
* | | Rename array test to array1 so it doesn't clash with array module. | Damien George | 2014-01-28 |
| | | | | | | | | On my machine, 'import array' in CPython tries to load the array test. | ||
* | | unix: Fix compile warnings for ffi module on 64-bit machine. | Damien George | 2014-01-28 |
| | | |||
* | | Merge pull request #235 from pfalcon/modffi | Damien George | 2014-01-28 |
|\ \ | | | | | | | unix: Initial FFI module implementation | ||
| * | | Add FFI module example. | Paul Sokolovsky | 2014-01-29 |
| | | | |||
| * | | unix: Initial implementation of FFI module. | Paul Sokolovsky | 2014-01-29 |
|/ / | | | | | | | | | | | | | | | | | | | | | Foreign Function Interface module allows to load native dynamic libraries, call functions and access variables in them. This makes possible to write interface modules in pure Python. This module provides thin wrapper around libffi. ctypes compatibility might be possible to implement on top of this module (though ctypes allow to call functions without prototypes, which is not supported by libffi (i.e. implementation would be inefficient))). | ||
* | | 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 |
| | | |||
* | | Add basic array.array test. | 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 |
| | | |||
* | | stm: Remove unneccesary include of mpconfigport (already in mpconfig). | Damien George | 2014-01-27 |
| | | |||
* | | Merge pull request #231 from iabdalkader/master | Damien George | 2014-01-27 |
|\ \ | | | | | | | Fix implicit double conversion warning | ||
| * | | Add LCD check to stdout_print_strn | mux | 2014-01-27 |
| | | | |||
| * | | Add missing LCD driver definitions for STM32F4DISC | mux | 2014-01-27 |
| | | | | | | | | | | | | | | | * Add missing LCD definitions for STM32F4DISC target, current code breaks build. | ||
| * | | 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 |
| |/ |