summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-01tests: Skip exception_chain.py with native emitter.Paul Sokolovsky
2015-09-01tests: Add test for exception-chaining raise syntax.Paul Sokolovsky
2015-09-01vm: 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-31modbuiltins: Consistently use indentation for #if.Paul Sokolovsky
2015-08-31modffi: 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-30unix: 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-30tests: Fix non-compliant expected output to match actual behaviour.Damien George
2015-08-30py/objstr: Simplify error handling for bad conversion specifier.Damien George
2015-08-30tests: 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-30tests: Add test where __getitem__ raises IndexError to stop iteration.Damien George
2015-08-30py/objgetitemiter: Make it_iternext() recognize IndexError.Tom Soulanille
2015-08-30tests: Consolidate all feature check snippets under feature_check/.Paul Sokolovsky
2015-08-30tests: 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-30tools: Upgrade to upip 0.5.7.Paul Sokolovsky
Just dependent micropython-lib modules update for upip, no new functionality.
2015-08-29py/objstr: Fix error reporting for unexpected end of modulo format str.Damien George
2015-08-29py/objstr: Fix error type for badly formatted format specifier.Damien George
Was KeyError, should be ValueError.
2015-08-29py/objstr: Make string formatting 8-bit clean.Damien George
2015-08-29tests: Add a few tests for bool, bytearray, float to improve coverage.Damien George
2015-08-30tests: Add byteorder query script.Paul Sokolovsky
2015-08-29stmhal: Add support for STM32F411 Discovery Board (STM32F411E-DISCO).Bob Clough
2015-08-30tests: Split byteorder-dependent tests to *_endian.py's.Paul Sokolovsky
2015-08-30run-tests: Allow to skip byteorder-dependent tests.Paul Sokolovsky
If byteorder of MicroPython under test and host CPython differ.
2015-08-29py: 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-29tests/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-29esp8266: Added wifi_mode() to read and set WiFi operating mode.Bill Owens
2015-08-28tests: Add test on set/frozenset equality.Paul Sokolovsky
2015-08-28objset: frozensets are hashable.Paul Sokolovsky
2015-08-25tests: 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-22README: Add hint about "micropython --help".Paul Sokolovsky
Also, hint about possibility to adjust heap size.
2015-08-22unix: Bump default heap size to 1MB (2MB on 64-bit systems).Paul Sokolovsky
2015-08-21tests: Add more tests to improve coverage, mostly testing exceptions.Damien George
2015-08-21tests: Make io test cleanup after itself by removing 'testfile'.Damien George
2015-08-20py: Add MICROPY_PY_BUILTINS_FILTER, disable for minimal ports.Paul Sokolovsky
Saves 320 bytes on x86.
2015-08-17py: Remove unused compile scope flags, and irrelevant flag compute code.Damien George
2015-08-18extmod/modmachine: Avoid conflicts with system PAGE_SIZE define, if any.Paul Sokolovsky
2015-08-17stmhal: Fixed some typos in stm32f411_af.csv.tobbad
2015-08-17unix-cpy: Remove unix-cpy. It's no longer needed.Damien George
unix-cpy was originally written to get semantic equivalent with CPython without writing functional tests. When writing the initial implementation of uPy it was a long way between lexer and functional tests, so the half-way test was to make sure that the bytecode was correct. The idea was that if the uPy bytecode matched CPython 1-1 then uPy would be proper Python if the bytecodes acted correctly. And having matching bytecode meant that it was less likely to miss some deep subtlety in the Python semantics that would require an architectural change later on. But that is all history and it no longer makes sense to retain the ability to output CPython bytecode, because: 1. It outputs CPython 3.3 compatible bytecode. CPython's bytecode changes from version to version, and seems to have changed quite a bit in 3.5. There's no point in changing the bytecode output to match CPython anymore. 2. uPy and CPy do different optimisations to the bytecode which makes it harder to match. 3. The bytecode tests are not run. They were never part of Travis and are not run locally anymore. 4. The EMIT_CPYTHON option needs a lot of extra source code which adds heaps of noise, especially in compile.c. 5. Now that there is an extensive test suite (which tests functionality) there is no need to match the bytecode. Some very subtle behaviour is tested with the test suite and passing these tests is a much better way to stay Python-language compliant, rather than trying to match CPy bytecode.
2015-08-16cc3200: Correct smoke test expected result.Daniel Campora
2015-08-16cc3200: Correct WLAN constructor argument checking.Daniel Campora
2015-08-16cc3200: Don't clear the WDT special bit in the bootloader.Daniel Campora
2015-08-16cc3200: Change HeartBeat period from 5 to 4 seconds.Daniel Campora
2015-08-16cc3200: Fix typo in modpyb.Daniel Campora
2015-08-16cc3200: Remove unneeded loops in the FreeRTOS hooks.Daniel Campora
2015-08-16cc3200: Make sure to update sleep objects when registered.Daniel Campora
2015-08-16cc3200: Small renaming in wdt functions for the sake of consistency.Daniel Campora
2015-08-16cc3200: Rework SD API. Increase heap to avoid malloc failures.Daniel Campora
2015-08-16cc3200: Rename SPI nss param to cs.Daniel Campora
The nss param in the pyboard has a different meaning that doesn't apply to the WiPy.
2015-08-16cc3200: Improve callback API.Daniel Campora
Rename "wakes" param to "wake_from" and make "value" an object instead of an integer.
2015-08-16cc3200: Server side SSL socket requires both certfile and keyfile.Daniel Campora
2015-08-15stmhal: Enable I & D caches for M7Dave Hylands