| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-09-07 | 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-04 | 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 | |
| Otherwise something like bytes(abc=123) will succeed. | |||
| 2015-09-04 | 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 | |
| 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. | |||
| 2015-09-04 | py/compile: Only compile function annotations if really needed. | Damien George | |
| 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. | |||
| 2015-09-03 | stmhal: add option to query for the current usb mode | Tony Abboud | |
| 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. | |||
| 2015-09-03 | 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 | |
| Gets rid of redundant double check for string type. Also remove obsolete declaration of mp_obj_str_get_hash. | |||
| 2015-09-03 | py: Make "enumerate" qstr be conditional on MICROPY_PY_BUILTINS_ENUMERATE. | Paul Sokolovsky | |
| 2015-09-01 | 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 | |
| By issuing a warning that exception chaining is not supported, and ignoring "from Y" argument. | |||
| 2015-08-31 | modbuiltins: Consistently use indentation for #if. | Paul Sokolovsky | |
| 2015-08-31 | modffi: dlsym() doesn't set errno, so use ENOENT for OSError. | Paul Sokolovsky | |
| 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. | |||
| 2015-08-30 | unix: Allow to build libffi from source and link against it. | Paul Sokolovsky | |
| Linking against local libffi (and other libs in future) is triggered by "make MICROPY_STANDALONE=1". Before that, dependent libs should be built with "make deplibs". | |||
| 2015-08-30 | tests: Fix non-compliant expected output to match actual behaviour. | Damien George | |
| 2015-08-30 | py/objstr: Simplify error handling for bad conversion specifier. | Damien George | |
| 2015-08-30 | tests: Add tests for non-compliant behaviour. | Damien George | |
| These tests are intended to improve coverage and provide a record of behaviour that's either not implemented or non-compliant to CPython. | |||
| 2015-08-30 | tests: Add test where __getitem__ raises IndexError to stop iteration. | Damien George | |
| 2015-08-30 | py/objgetitemiter: Make it_iternext() recognize IndexError. | Tom Soulanille | |
| 2015-08-30 | tests: Consolidate all feature check snippets under feature_check/. | Paul Sokolovsky | |
| 2015-08-30 | tests: Add feature_check dir to collect capability detection scripts. | Paul Sokolovsky | |
| Which are currently intermixed with real scripts and spread around various dirs. | |||
| 2015-08-30 | tools: Upgrade to upip 0.5.7. | Paul Sokolovsky | |
| Just dependent micropython-lib modules update for upip, no new functionality. | |||
| 2015-08-29 | py/objstr: Fix error reporting for unexpected end of modulo format str. | Damien George | |
| 2015-08-29 | py/objstr: Fix error type for badly formatted format specifier. | Damien George | |
| Was KeyError, should be ValueError. | |||
| 2015-08-29 | py/objstr: Make string formatting 8-bit clean. | Damien George | |
| 2015-08-29 | tests: Add a few tests for bool, bytearray, float to improve coverage. | Damien George | |
| 2015-08-30 | tests: Add byteorder query script. | Paul Sokolovsky | |
| 2015-08-29 | stmhal: Add support for STM32F411 Discovery Board (STM32F411E-DISCO). | Bob Clough | |
| 2015-08-30 | tests: Split byteorder-dependent tests to *_endian.py's. | Paul Sokolovsky | |
| 2015-08-30 | run-tests: Allow to skip byteorder-dependent tests. | Paul Sokolovsky | |
| If byteorder of MicroPython under test and host CPython differ. | |||
| 2015-08-29 | py: Treat -m32 flag as part of CC, LD, etc. | Paul Sokolovsky | |
| Indeed, this flag efectively selects architecture target, and must consistently apply to all compiles and links, including 3rd-party libraries, unlike CFLAGS, which have MicroPython-specific setting. | |||
| 2015-08-29 | tests/ffi_float: Split tgammaf() testcase to a separate test. | Paul Sokolovsky | |
| Some libc's may implement tgammaf as a header macro using tgamma(), so don't assume it'll be in the library. | |||
| 2015-08-29 | esp8266: Added wifi_mode() to read and set WiFi operating mode. | Bill Owens | |
| 2015-08-28 | tests: Add test on set/frozenset equality. | Paul Sokolovsky | |
| 2015-08-28 | objset: frozensets are hashable. | Paul Sokolovsky | |
| 2015-08-25 | tests: For unix ffi float test, add libm.so.6 to library search list. | Damien George | |
| Latest Arch Linux doesn't have libm.so as a proper shared object and so we need to load libm.so.6. | |||
| 2015-08-22 | README: Add hint about "micropython --help". | Paul Sokolovsky | |
| Also, hint about possibility to adjust heap size. | |||
| 2015-08-22 | unix: Bump default heap size to 1MB (2MB on 64-bit systems). | Paul Sokolovsky | |
| 2015-08-21 | tests: Add more tests to improve coverage, mostly testing exceptions. | Damien George | |
| 2015-08-21 | tests: Make io test cleanup after itself by removing 'testfile'. | Damien George | |
| 2015-08-20 | py: Add MICROPY_PY_BUILTINS_FILTER, disable for minimal ports. | Paul Sokolovsky | |
| Saves 320 bytes on x86. | |||
