Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | vm: On exiting except block, clear sys.exc_info() value. | Paul Sokolovsky | 2015-04-26 |
| | | | | | | This doesn't handle case fo enclosed except blocks, but once again, sys.exc_info() support is a workaround for software which uses it instead of properly catching exceptions via variable in except clause. | ||
* | py: Support conversion of bignum to bytes. | Damien George | 2015-04-25 |
| | | | | | | | This gets int.to_bytes working for bignum, and also struct.pack with 'q' and 'Q' args on 32-bit machines. Addresses issue #1155. | ||
* | modsys: Add basic sys.exc_info() implementation. | Paul Sokolovsky | 2015-04-25 |
| | | | | | | The implementation is very basic and non-compliant and provided solely for CPython compatibility. The function itself is bad Python2 heritage, its usage is discouraged. | ||
* | py: Modify bytecode "with" behaviour so it doesn't use any heap. | Damien George | 2015-04-24 |
| | | | | | | Before this patch a "with" block needed to create a bound method object on the heap for the __exit__ call. Now it doesn't because we use load_method instead of load_attr, and save the method+self on the stack. | ||
* | tests: Add more tests for viper, including tests for ViperTypeError's. | Damien George | 2015-04-22 |
| | |||
* | tests: Add tests for attrtuple, and for more corner cases. | Damien George | 2015-04-22 |
| | |||
* | py: Fix printing of "inf" and "nan" floating point values. | Damien George | 2015-04-22 |
| | |||
* | py/inlinethumb: Support for core floating point instructions. | = | 2015-04-19 |
| | | | | | | | | | | | | | | | | | | | Adds support for the following Thumb2 VFP instructions, via the option MICROPY_EMIT_INLINE_THUMB_FLOAT: vcmp vsqrt vneg vcvt_f32_to_s32 vcvt_s32_to_f32 vmrs vmov vldr vstr vadd vsub vmul vdiv | ||
* | py: Fix builtin ord so that it can handle bytes values >= 0x80. | Damien George | 2015-04-19 |
| | | | | Addresses issue #1188. | ||
* | stmhal: Add support for sending and receiving CAN RTR messages. | Henrik | 2015-04-18 |
| | |||
* | stmhal: Allow sending CAN messages with timeout=0. | Damien George | 2015-04-16 |
| | | | | Thanks to Henrik Sölver for this patch. | ||
* | tests: Convert line endings in fun_name.py from CRLF to LF. | Damien George | 2015-04-16 |
| | |||
* | py: Add %q format support to mp_[v]printf, and use it. | Damien George | 2015-04-16 |
| | |||
* | objarray: Support assignment of bytes to bytearray slice. | Paul Sokolovsky | 2015-04-16 |
| | |||
* | objstr: split(None): Fix whitespace properly. | Paul Sokolovsky | 2015-04-12 |
| | |||
* | stmhal: Make LED object print LED(x) for consistency with constructor. | Damien George | 2015-04-11 |
| | |||
* | py: Implement full func arg passing for native emitter. | Damien George | 2015-04-07 |
| | | | | | | | | | | | This patch gets full function argument passing working with native emitter. Includes named args, keyword args, default args, var args and var keyword args. Fully Python compliant. It reuses the bytecode mp_setup_code_state function to do all the hard work. This function is slightly adjusted to accommodate native calls, and the native emitter is forced a bit to emit similar prelude and code-info as bytecode. | ||
* | py: Simplify bytecode prelude when encoding closed over variables. | Damien George | 2015-04-07 |
| | |||
* | py: Implement calling functions with *args in native emitter. | Damien George | 2015-04-06 |
| | |||
* | 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 |
| | |||
* | tests: Add test for str.splitlines(). | Paul Sokolovsky | 2015-04-04 |
| | |||
* | tests: Add specific test for closures in native emitter. | Damien George | 2015-04-03 |
| | |||
* | py: Implement closures in native code generator. | Damien George | 2015-04-03 |
| | | | | Currently supports only x64 and Thumb2 archs. | ||
* | 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. | ||
* | tests: Skip some new tests when testing native emitter. | Damien George | 2015-03-25 |
| | |||
* | tests: Add tests for SyntaxError, TypeError, and other missing things. | Damien George | 2015-03-25 |
| | | | | This is intended to improve coverage of the test suite. | ||
* | tests: Make pyb/timer test check callback timing properly. | Damien George | 2015-03-20 |
| | |||
* | py: Allow retrieving a function's __name__. | stijn | 2015-03-20 |
| | | | | Disabled by default. Enabled on unix and stmhal ports. | ||
* | tests: Adjust expected output, since Travis can't do git describe. | Damien George | 2015-03-20 |
| | |||
* | tests: Add basic test for OrderedDict. | Paul Sokolovsky | 2015-03-20 |
| | | | | Mostly to have coverage of newly added code in map.c. | ||
* | tests: Make cmdline tests more stable by using regex for matching. | Damien George | 2015-03-20 |
| | |||
* | tests: Add some more tests for complex numbers and ure module. | Damien George | 2015-03-14 |
| | |||
* | py: Fix builtin abs so it works for bools and bignum. | Damien George | 2015-03-14 |
| | |||
* | tests: Add some more tests for bytes, bignum, string and ujson. | Damien George | 2015-03-14 |
| | |||
* | tests: Don't try to verify amount of memory used in cmd_showbc test. | Damien George | 2015-03-14 |
| | |||
* | tests: Add cmdline test to test showbc code. | Damien George | 2015-03-14 |
| | |||
* | stmhal: Fix adc.read_timed so buffer store respects element size. | Damien George | 2015-03-13 |
| | | | | Addresses issue #1154. | ||
* | tests: Add ability to test uPy cmdline executable. | Damien George | 2015-03-13 |
| | | | | | This allows to test options passed to cmdline executable, as well as the behaviour of the REPL. | ||
* | tests: Add tests for things that are not already tested. | Damien George | 2015-03-12 |
| | | | | The aim here is to improve coverage of the code. | ||
* | tests: Add zlib test for decompressing uncompressed data. | Damien George | 2015-03-12 |
| | |||
* | py: Add support for start/stop/step attributes of builtin range object. | Peter D. Gray | 2015-03-11 |
| | |||
* | tests: Add test for modure when regex has errors. | Damien George | 2015-03-10 |
| | |||
* | extmod/ure: Correctly return None when a group has no match. | Damien George | 2015-03-04 |
| | | | | See issue #1122. | ||
* | tests: Skip basics/boundmeth1.py for native emitter. | Damien George | 2015-03-03 |
| | |||
* | tests: Add tests for boundmeth; and bignum cmp, unary, float, error. | Damien George | 2015-03-03 |
| | |||
* | tests: Skip special math fun tests when math module exists but not funs. | stijn | 2015-03-03 |
| | |||
* | tests: Add basics test for gc module. | Damien George | 2015-03-02 |
| |