| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-05-16 | docs: Bump version to 1.4.3.v1.4.3 | Damien George | |
| 2015-05-13 | py: Fix printing of complex number when imaginary part is nan | stijn | |
| 2015-05-13 | teensy: Add readinto and readlines qstrs. | Damien George | |
| 2015-05-13 | docs: Document USB_VCP file-like methods. | Damien George | |
| 2015-05-13 | stmhal: Add readinto and readlines methods to sys.stdin, pyb.USB_VCP(). | Damien George | |
| Addresses issue #1255. | |||
| 2015-05-13 | esp8266: Add configuration option for redirecting the built-in OS output | Josef Gajdusek | |
| 2015-05-13 | esp8266: Actually use the decimal part of system_rtc_clock_cali_proc() | Josef Gajdusek | |
| 2015-05-13 | windows: Enable some recently added features in mpconfigport.h | stijn | |
| 2015-05-13 | esp8266: Put more literal and text obj data in irom0_0_seg. | Damien George | |
| With newer versions of esp_iot_sdk the iram1_0_seg started to overflow. Now it doesn't. Addresses issue #1254. | |||
| 2015-05-13 | esp8266: Add module weak links; link time to utime. | Damien George | |
| 2015-05-13 | esp8266: Add utime and pyb.RTC | Josef Gajdusek | |
| 2015-05-13 | esp8266: Update the linker script | Josef Gajdusek | |
| Moved modesp.o to flash and increased size of the irom0_0_seg segment. The new value was taken from NodeMCU linker script. | |||
| 2015-05-13 | lib: Move time utility functions to common library. | Josef Gajdusek | |
| 2015-05-12 | esp8266: Implement time functions | Josef Gajdusek | |
| 2015-05-12 | stmhal: Add os.rename function. | Steve Zatz | |
| 2015-05-12 | unix: Add some extra coverage tests for vstr and attrtuple. | Damien George | |
| 2015-05-12 | tests: Add further tests for class defining __hash__. | Damien George | |
| 2015-05-12 | py: Add mp_obj_get_int_truncated and use it where appropriate. | Damien George | |
| mp_obj_get_int_truncated will raise a TypeError if the argument is not an integral type. Use mp_obj_int_get_truncated only when you know the argument is a small or big int. | |||
| 2015-05-12 | py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function. | Damien George | |
| Hashing is now done using mp_unary_op function with MP_UNARY_OP_HASH as the operator argument. Hashing for int, str and bytes still go via fast-path in mp_unary_op since they are the most common objects which need to be hashed. This lead to quite a bit of code cleanup, and should be more efficient if anything. It saves 176 bytes code space on Thumb2, and 360 bytes on x86. The only loss is that the error message "unhashable type" is now the more generic "unsupported type for __hash__". | |||
| 2015-05-11 | vm: Properly handle StopIteration raised in user instance iterator. | Paul Sokolovsky | |
| I.e. in bytecode Python functions. | |||
| 2015-05-11 | objgenerator: Can optimize StopIteration to STOP_ITERATION only if arg is None. | Paul Sokolovsky | |
| Unfortunately, MP_OBJ_STOP_ITERATION doesn't have means to pass an associated value, so we can't optimize StopIteration exception with (non-None) argument to MP_OBJ_STOP_ITERATION. | |||
| 2015-05-11 | objgenerator: If generator yielded STOP_ITERATION value, it's stopped. | Paul Sokolovsky | |
| MP_OBJ_STOP_ITERATION is equivalent of raising StopIteration, except mp_vm_return_kind_t for it is "yield". | |||
| 2015-05-11 | sthmal/rtc.c: Add calibration() method to get/set RTC fine-tuning value. | blmorris | |
| 2015-05-10 | vm: Null pointer test when checking for StopIteration optimizations. | Paul Sokolovsky | |
| When generator raises exception, it is automatically terminated (by setting its code_state.ip to 0), which interferes with this check. Triggered in particular by CPython's test_pep380.py. | |||
| 2015-05-10 | unix: Include stdio.h to allow easy debugging with printf(). | Paul Sokolovsky | |
| 2015-05-10 | runtime: Add TODO for mp_resume() on handling .close(). | Paul Sokolovsky | |
| Exceptions in .close() should be ignored (dumped to sys.stderr, not propagated), but in uPy, they are propagated. Fix would require nlr-wrapping .close() call, which is expensive. Bu on the other hand, .close() is not called often, so maybe that's not too bad (depends, if it's finally called and that causes stack overflow, there's nothing good in that). And yet on another hand, .close() can be implemented to catch exceptions on its side, and that should be the right choice. | |||
| 2015-05-10 | unix: Print unhandled exception to stderr, like CPython does. | Paul Sokolovsky | |
| 2015-05-10 | py: iternext() may not return MP_OBJ_NULL, only MP_OBJ_STOP_ITERATION. | Paul Sokolovsky | |
| Testing for incorrect value led to premature termination of generator containing yield from for such iterator (e.g. "yield from [1, 2]"). | |||
| 2015-05-09 | ACKNOWLEDGEMENTS: Add 1 backer name. | Damien George | |
| 2015-05-08 | unix: Fix thumb2 vs arm native emitter auto-detection. | Paul Sokolovsky | |
| Make thumb2 have priority over arm. | |||
| 2015-05-08 | emitnative: Revamp ARM codegen compile after full-arg support refactors. | Paul Sokolovsky | |
| The code was apparently broken after 9988618e0e0f5c319e31b135d993e22efb593093 "py: Implement full func arg passing for native emitter.". This attempts to propagate those changes to ARM emitter. | |||
| 2015-05-08 | unix: Make extra-coverage function callable from Python scripts. | Damien George | |
| This allows the output of the extra-coverage tests to be checked using the normal run-tests script. | |||
| 2015-05-08 | unix: Add special function to improve coverage. | Damien George | |
| The function and corresponding command-line option are only enabled for the coverage build. They are used to exercise uPy features that can't be properly tested by Python scripts. | |||
| 2015-05-08 | tests: Add test for machine module (mem* functions). | Damien George | |
| 2015-05-07 | tools: Add script to install "upip" package manager. | Paul Sokolovsky | |
| upip is a simple and light-weight package manager for MicroPython modules, offering subset of pip functionality. upip is part of micropython-lib project: https://github.com/micropython/micropython-lib/tree/master/upip This script bootstraps upip by downloading and unpacking it directly from PyPI repository, with all other packages to be installed with upip itself. | |||
| 2015-05-07 | cc3200: Enable MICROPY_MODULE_WEAK_LINKS. | Daniel Campora | |
| 2015-05-07 | tools/pyboard.py: Add "--follow" option to wait for output indefinitely. | Damien George | |
| Also flush stdout so you can see output as it comes. | |||
| 2015-05-06 | stmhal: Move debug UART repl to after uart_init0 call. | Dave Hylands | |
| 2015-05-06 | esp8266: Add support for frozen modules | Josef Gajdusek | |
| 2015-05-06 | esp8266: Add .onsent callback support | Josef Gajdusek | |
| The function passed to socket.onsent() gets called after data is succesfully sent by the socket. | |||
| 2015-05-06 | esp8266: Initialize socket->connlist to NULL | Josef Gajdusek | |
| This was causing crashes in .onconnect() | |||
| 2015-05-06 | unix-cpy: Fix adjustment of stack size when leaving exception handler. | Damien George | |
| Also remove __debug__ from one of the bytecode tests. | |||
| 2015-05-06 | esp8266: Fix garbage collector by hard-coding stack end address. | Josef Gajdusek | |
| As user_init() is not a true main functions, the stack pointer captured within is not pointing at the base of the stack. This caused gc_collect being called with sp being higher than stack_end, causing integer overflow and crashing as gc tried to scan almost the entire address space. | |||
| 2015-05-06 | py: Fix naming of function arguments when function is a closure. | Damien George | |
| Addresses issue #1226. | |||
| 2015-05-06 | mkrules.mk: Add comment why dependency parsing regex was tweaked. | Paul Sokolovsky | |
| (Windows compatibility.) | |||
| 2015-05-06 | Adjust sed regex that processes dependency file from compiler | Ari Suutari | |
| so that resulting file is correct also on windows systems (ie. with file names containing drive letter). | |||
| 2015-05-06 | pyexec: Make raw REPL work with event-driven version of pyexec. | Damien George | |
| esp8266 port now has working raw and friendly REPL, as well as working soft reset (CTRL-D at REPL, or raise SystemExit). tools/pyboard.py now works with esp8266 port. | |||
| 2015-05-05 | tests: Fix cmd_showbc now that LOAD_CONST_ELLIPSIS bytecode is gone. | Damien George | |
| 2015-05-05 | esp8266: Return CPU frequency in Hz. | Damien George | |
| 2015-05-05 | esp8266: Fix endian of address returned by esp.getaddrinfo() | Josef Gajdusek | |
