Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | cc3200: Fix typo after previous refactor. | Paul Sokolovsky | 2015-04-05 |
| | |||
* | teensy: Fix function prototype. | Paul Sokolovsky | 2015-04-05 |
| | |||
* | string0.c: Move from stmhal/ to lib/. | Paul Sokolovsky | 2015-04-05 |
| | |||
* | tests: Add some more tests to improve code coverage of corner cases. | Damien George | 2015-04-05 |
| | |||
* | tests: Add tests to exercise lexer; and some more complex number tests. | Damien George | 2015-04-04 |
| | |||
* | tests: Add missing tests for builtins, and many other things. | Damien George | 2015-04-04 |
| | |||
* | stmhal, qemu-arm: Enable sys.maxsize attribute. | Damien George | 2015-04-04 |
| | |||
* | cc3200: Add WLAN AP specific settings for each board. | Daniel Campora | 2015-04-04 |
| | |||
* | py: Implement delete for property and descriptors. | Damien George | 2015-04-04 |
| | | | | | Without this patch deleting a property, or class with descriptor, will call the setter with a NULL value and lead to a crash. | ||
* | py: In str unicode, str_subscr will never be passed a bytes object. | Damien George | 2015-04-04 |
| | |||
* | docs: Bump version to 1.4.1.v1.4.1 | Damien George | 2015-04-04 |
| | |||
* | stmhal: Enable new str.splitlines() method. | Damien George | 2015-04-04 |
| | |||
* | py: Some trivial cosmetic changes, for code style consistency. | Damien George | 2015-04-04 |
| | |||
* | objstr: Fix bugs introduced by inability to have shadow variables. | Paul Sokolovsky | 2015-04-04 |
| | | | | Warnings lead to programming errors - as expected. | ||
* | objstr: Avoid variable shadowing. | Paul Sokolovsky | 2015-04-04 |
| | |||
* | tests: Add test for str.splitlines(). | Paul Sokolovsky | 2015-04-04 |
| | |||
* | objstr: Add .splitlines() method. | Paul Sokolovsky | 2015-04-04 |
| | | | | | | | | | splitlines() occurs ~179 times in CPython3 standard library, so was deemed worthy to implement. The method has subtle semantic differences from just .split("\n"). It is also defined as working for any end-of-line combination, but this is currently not implemented - it works only with LF line-endings (which should be OK for text strings on any platforms, but not OK for bytes). | ||
* | tests: Add specific test for closures in native emitter. | Damien George | 2015-04-03 |
| | |||
* | py: Fix bug in native emitter when closing over an argument. | Damien George | 2015-04-03 |
| | |||
* | py: Get native emitter working again with x86 (now supports closures). | Damien George | 2015-04-03 |
| | |||
* | py: Implement closures in native code generator. | Damien George | 2015-04-03 |
| | | | | Currently supports only x64 and Thumb2 archs. | ||
* | py: Implement (non-compliant) support for delete_fast in native emitter. | Damien George | 2015-04-03 |
| | | | | This implementation is smaller (in code size) than #1024. | ||
* | README: Add note about pic16bit port. | Damien George | 2015-04-03 |
| | |||
* | pic16bit: Initial version of port to 16-bit PIC family. | Damien George | 2015-04-03 |
| | | | | | | | Reference MCU is dsPIC33J256GP506 with 256k ROM and 8k RAM, on the dsPIC DSC Starter Kit board. The REPL works, GC works, pyb module has LED and Switch objects. It passes some tests from the test suite (most it can't run because it doesn't have the Python features enabled). | ||
* | py: Make heap printing compatible with 16-bit word size. | Damien George | 2015-04-03 |
| | |||
* | py: Allow MPZ_DIG_SIZE to be optionally configured by a port. | Damien George | 2015-04-03 |
| | |||
* | py: Allow configurable object representation, with 2 different options. | Damien George | 2015-04-03 |
| | |||
* | py: Add finer configuration of static funcs when not in stackless mode. | Damien George | 2015-04-02 |
| | | | | Also rename call_args_t to mp_call_args_t. | ||
* | unix: Add stackless config settings, for easy access. | Paul Sokolovsky | 2015-04-03 |
| | |||
* | vm: Support strict stackless mode, with proper exception reporting. | Paul Sokolovsky | 2015-04-03 |
| | | | | | | I.e. in this mode, C stack will never be used to call a Python function, but if there's no free heap for a call, it will be reported as RuntimeError (as expected), not MemoryError. | ||
* | vm: Implement stackless for CALL_FUNCTION_VAR_KW & CALL_METHOD_VAR_KW. | Paul Sokolovsky | 2015-04-03 |
| | |||
* | runtime: Split mp_call_prepare_args_n_kw_var() from mp_call_method_n_kw_var(). | Paul Sokolovsky | 2015-04-03 |
| | | | | | Allow for reuse for stackless design, where preparing args is separate from calling. | ||
* | vm: Stackless support for MP_BC_CALL_METHOD. | Paul Sokolovsky | 2015-04-03 |
| | |||
* | vm: If there's no heap to call function in stackless manner, call via C stack. | Paul Sokolovsky | 2015-04-03 |
| | |||
* | vm: Initial support for calling bytecode functions w/o C stack ("stackless"). | Paul Sokolovsky | 2015-04-03 |
| | |||
* | makeqstrdata.py: Add support for strings with backslash escapes. | Paul Sokolovsky | 2015-04-02 |
| | |||
* | py: Fix emitnative's creation of small ints so it uses the macro. | Damien George | 2015-04-01 |
| | |||
* | cc3200: Add specific version file for the CC3200 port. | Daniel Campora | 2015-03-31 |
| | | | | | Current version has been numbered as 0.9.0 since Timers/PWM support is still missing. | ||
* | cc3200: Remove duplicated code from moduos. | Daniel Campora | 2015-03-31 |
| | | | | | Error reporting is also changed from detailed to terse, as with the rest of the CC3200's modules. All this combined saves ~200 bytes. | ||
* | docs: uctypes: Bullet list formatting fixes. | Paul Sokolovsky | 2015-03-31 |
| | |||
* | docs: uctypes: Describe how to instantiate struct objects. | Paul Sokolovsky | 2015-03-31 |
| | |||
* | objtype: Add special unary methods __pos__, __neg__, __invert__. | Paul Sokolovsky | 2015-03-31 |
| | | | | Conditional on MICROPY_PY_ALL_SPECIAL_METHODS. | ||
* | modbuiltins: round(): Accept second arg, and at least support it to be 0. | Paul Sokolovsky | 2015-03-31 |
| | | | | | Per https://docs.python.org/3/library/functions.html#round, 2-args format guaranteedly returns float. | ||
* | docs: Add additional example/note for Timer's callback usage. | Ivan Pejić | 2015-03-30 |
| | | | | | Add example: using named function for the Timer's callback. Add note: improving traceback inside interrupt timers. | ||
* | docs: Provide initial documentation for micropython module. | Damien George | 2015-03-30 |
| | |||
* | lib: Update FatFs to R0.11. | Daniel Campora | 2015-03-29 |
| | | | | | | | | | | | | | There are lots of cosmetic changes, but this release brings a very important bug fix: - Fixed f_unlink() does not remove cluster chain of the file. With R0.10c if you try to write a file that is too large to fit in the free space of the drive, the operation fails, you delete the incomplete file, and it seems to be erased, but the space is not really freed, because any subsequent write operations fail because the drive is "still" full. The only way to recover from this is by formatting the drive. I can confirm that R0.11 fixes the problem. | ||
* | docs: Bump version to 1.4.v1.4 | Damien George | 2015-03-29 |
| | |||
* | tests/class_descriptor.py: Fix line-endings (were CRLF). | Paul Sokolovsky | 2015-03-28 |
| | |||
* | py: Add optional support for descriptors' __get__ and __set__ methods. | stijn | 2015-03-26 |
| | | | | Disabled by default. Enabled on unix and windows ports. | ||
* | docs: uctypes: Describe bytes_at(), bytearray_at(). | Paul Sokolovsky | 2015-03-27 |
| |