Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | lib/mp-readline: Add auto-indent support. | Damien George | 2015-09-12 |
| | | | | | | | | | 4 spaces are added at start of line to match previous indent, and if previous line ended in colon. Backspace deletes 4 space if only spaces begin a line. Configurable via MICROPY_REPL_AUTO_INDENT. Disabled by default. | ||
* | unix/modjni: Factor out py2jvalue() function. | Paul Sokolovsky | 2015-09-12 |
| | |||
* | stmhal: fix single precision float printing error | Dave Hylands | 2015-09-11 |
| | | | | Fixes #1435. | ||
* | unix/modjni: "jni" module to interface to JNI-compliant JavaVM. | Paul Sokolovsky | 2015-09-11 |
| | | | | | | | | | | This includes Android Dalvik VM for example. Example usage: import jni System = jni.cls("java/lang/System") System.out.println("Hello, Java!") | ||
* | tests/wipy: Add I2C tests. | Daniel Campora | 2015-09-10 |
| | |||
* | tests/wipy: Disable the REPL on UART before running the UART test. | Daniel Campora | 2015-09-10 |
| | |||
* | cc3200: Disable some uPy features in debug mode to help code fit. | Daniel Campora | 2015-09-10 |
| | |||
* | cc3200: Add SDcard pin af on index 8. | Daniel Campora | 2015-09-10 |
| | |||
* | tests/wipy: Additional tests for when the UART is un-initialized. | Daniel Campora | 2015-09-10 |
| | |||
* | cc3200: New I2C API. | Daniel Campora | 2015-09-10 |
| | |||
* | cc3200: Refactor pin af assigment functions. | Daniel Campora | 2015-09-10 |
| | |||
* | cc3200: Improve file system check routine. | Daniel Campora | 2015-09-10 |
| | |||
* | cc3200: Improve Pin and UART implementation. | Daniel Campora | 2015-09-10 |
| | | | | | | Deassign pins af before assigning. Make uart.any() return the correct value everytime, this requires interrupts to be always enabled. | ||
* | cc3200: Remove I2C inline documentation (sphinx is on the lead). | Daniel Campora | 2015-09-10 |
| | |||
* | tests/wipy: Improve UART tests with no pin assignment case. | Daniel Campora | 2015-09-10 |
| | |||
* | tests: Ignore exception chain test on the WiPy. | Daniel Campora | 2015-09-10 |
| | | | | Fails because warnings are not enabled on the CC3200. | ||
* | cc3200: New UART API plus related test. | Daniel Campora | 2015-09-10 |
| | |||
* | cc3200: Add alternate functions list to Pin object. | Daniel Campora | 2015-09-10 |
| | | | | Also remove pin.high() and pin.low() methods. | ||
* | cc3200: Re-work Pin class according to the new API. | Daniel Campora | 2015-09-10 |
| | | | | Also add relevant test. | ||
* | cc3200: Add mphal error to raise hardware related exceptions. | Daniel Campora | 2015-09-10 |
| | |||
* | cc3200: Fix bug in pybsleep remove. | Daniel Campora | 2015-09-10 |
| | |||
* | cc3200: Add alt param to Pin constructor. | Daniel Campora | 2015-09-10 |
| | |||
* | cc3200: Adapt smoke.py for the new pin API. | Daniel Campora | 2015-09-10 |
| | |||
* | cc3200: Implement new Pin API. | Daniel Campora | 2015-09-10 |
| | |||
* | cc3200: Improve uniflash script and make it a bit more verbose. | Daniel Campora | 2015-09-10 |
| | |||
* | cc3200: Remove the UART0 programming pins from the smoke test. | Daniel Campora | 2015-09-10 |
| | |||
* | tests: Move int+unicode test to unicode-specific test directory. | Damien George | 2015-09-07 |
| | |||
* | py/lexer: Properly classify floats that look like hex numbers. | Damien George | 2015-09-07 |
| | | | | Eg 0e0 almost looks like a hex number but in fact is a float. | ||
* | py/lexer: Raise SyntaxError when unicode char point out of range. | Damien George | 2015-09-07 |
| | |||
* | py/lexer: Raise NotImplError for unicode name escape, instead of assert. | Damien George | 2015-09-07 |
| | |||
* | tests: Add tests for non-compliant behaviour of lexer. | Damien George | 2015-09-07 |
| | |||
* | py/compile: Refine SyntaxError for repeated use of global/nonlocal. | Damien George | 2015-09-07 |
| | |||
* | py: Eliminate some cases which trigger unused parameter warnings. | Damien George | 2015-09-04 |
| | |||
* | py/objstr: Check for keyword args before checking for no posn args. | Damien George | 2015-09-04 |
| | | | | Otherwise something like bytes(abc=123) will succeed. | ||
* | py/objstr: For str.endswith(s, start) raise NotImpl instead of assert. | Damien George | 2015-09-04 |
| | |||
* | py/objbool: Simplify dispatch of bool binary op. | Damien George | 2015-09-04 |
| | | | | | | This optimises (in speed and code size) for the common case where the binary op for the bool object is supported. Unsupported binary ops still behave the same. | ||
* | py/compile: Only compile function annotations if really needed. | Damien George | 2015-09-04 |
| | | | | | | Function annotations are only needed when the native emitter is enabled and when the current scope is emitted in viper mode. All other times the annotations can be skipped completely. | ||
* | stmhal: add option to query for the current usb mode | Tony Abboud | 2015-09-03 |
| | | | | | | Fetch the current usb mode and return a string representation when pyb.usb_mode() is called with no args. The possible string values are interned as qstr's. None will be returned if an incorrect mode is set. | ||
* | py: Use mp_not_implemented consistently for not implemented features. | Damien George | 2015-09-03 |
| | |||
* | tests: Add tests to improve coverage of objstr.c. | Damien George | 2015-09-03 |
| | |||
* | py/objstr: Simplify printing of bytes objects when unicode enabled. | Damien George | 2015-09-03 |
| | |||
* | py: Inline single use of mp_obj_str_get_len in mp_obj_len_maybe. | Damien George | 2015-09-03 |
| | | | | | | Gets rid of redundant double check for string type. Also remove obsolete declaration of mp_obj_str_get_hash. | ||
* | py: Make "enumerate" qstr be conditional on MICROPY_PY_BUILTINS_ENUMERATE. | Paul Sokolovsky | 2015-09-03 |
| | |||
* | py/binary: Add support for array('q') and array('Q'). | Damien George | 2015-09-01 |
| | |||
* | py/objstr: Make str.rsplit(None,n) raise NotImpl instead of assert(0). | Damien George | 2015-09-01 |
| | |||
* | tests: Skip exception_chain.py with native emitter. | Paul Sokolovsky | 2015-09-01 |
| | |||
* | tests: Add test for exception-chaining raise syntax. | Paul Sokolovsky | 2015-09-01 |
| | |||
* | vm: Handle "raise X from Y" statements the best way we can. | Paul Sokolovsky | 2015-09-01 |
| | | | | | By issuing a warning that exception chaining is not supported, and ignoring "from Y" argument. | ||
* | modbuiltins: Consistently use indentation for #if. | Paul Sokolovsky | 2015-08-31 |
| | |||
* | modffi: dlsym() doesn't set errno, so use ENOENT for OSError. | Paul Sokolovsky | 2015-08-31 |
| | | | | | This may be a bit confusing, as ENOENT is often rendered as "No such file or directory", but any other code would be only more confusing. |