| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-01-28 | tests: Add testcase for bytes() on values in range 128-255. | Paul Sokolovsky | |
| 2015-01-28 | moduzlib: Implement raw DEFLATE decoding support. | Paul Sokolovsky | |
| 2015-01-27 | py: Add support for floats in mp_binary_{get,set}_val() | David Steinberg | |
| - This then provides support for floats in the struct package | |||
| 2015-01-27 | py: Fix comparison of minus-zero long int. | Damien George | |
| 2015-01-24 | tests: Update float2int tests for new range classifications | David Steinberg | |
| - Tests vary based on build configuration (32/64-bit and internal int type). - Added tests for exceptions raised on overflow of int type. | |||
| 2015-01-23 | tests: Fix typo in file_long_read3.py. | Paul Sokolovsky | |
| 2015-01-23 | modujson: .loads(): Handle more whitespace characters. | Paul Sokolovsky | |
| 2015-01-23 | tests: Add extra test for reading multiple of internal chunk size. | Paul Sokolovsky | |
| 2015-01-23 | tests: Add testcase for reading amounts bigger than buffer/chunk size. | Paul Sokolovsky | |
| 2015-01-22 | lib/libm: Add frexp and modf functions; use in stmhal; add tests. | Damien George | |
| Addresses issue #1081. | |||
| 2015-01-21 | py: Implement proper re-raising in native codegen's finally handler. | Damien George | |
| This allows an exception to propagate correctly through a finally handler. | |||
| 2015-01-21 | py: Implement __reversed__ slot. | Damien George | |
| Addresses issue #1073. | |||
| 2015-01-20 | py: Prevent segfault for operations on closed StringIO. | stijn | |
| Addresses issue #1067. | |||
| 2015-01-14 | py: Reluctantly add an extra pass to bytecode compiler. | Damien George | |
| Bytecode also needs a pass to compute the stack size. This is because the state size of the bytecode function is encoded as a variable uint, so we must know the value of this uint before we encode it (otherwise the size of the generated code changes from one pass to the next). Having an entire pass for this seems wasteful (in time). Alternative is to allocate fixed space for the state size (would need 3-4 bytes to be general, when 1 byte is usually sufficient) which uses a bit of extra RAM per bytecode function, and makes the code less elegant in places where this uint is encoded/decoded. So, for now, opt for an extra pass. | |||
| 2015-01-13 | py: Never intern data of large string/bytes object; add relevant tests. | Damien George | |
| Previously to this patch all constant string/bytes objects were interned by the compiler, and this lead to crashes when the qstr was too long (noticeable now that qstr length storage defaults to 1 byte). With this patch, long string/bytes objects are never interned, and are referenced directly as constant objects within generated code using load_const_obj. | |||
| 2015-01-11 | py: Implement fallback for equality check for all types. | Damien George | |
| Return "not equal" for objects that don't implement equality check. This is as per Python specs. | |||
| 2015-01-10 | tests: Make ffi_callback.py be able to run on uclibc and macosx. | Paul Sokolovsky | |
| Similar to ffi_float.py. | |||
| 2015-01-08 | tests: Add test for when instance member overrides class member. | Damien George | |
| 2015-01-08 | tests: Separate out test cases that rely on float support to float/ dir. | Damien George | |
| 2015-01-07 | py: Temporary fix for conversion of float to int when fits in small int. | Damien George | |
| Addresses issue #1044 (see also #1040). Could do with a better fix. | |||
| 2015-01-04 | objarray: Make sure that longint works as bytearray size. | Paul Sokolovsky | |
| 2015-01-04 | objstr: Implement kwargs support for str.format(). | Paul Sokolovsky | |
| 2015-01-02 | py: Raise exception if trying to convert inf/nan to int. | Damien George | |
| 2015-01-02 | py: Fix float to int conversion for large exponents. | David Steinberg | |
| 2015-01-01 | py: Allow keyword arguments for namedtuple | stijn | |
| 2015-01-01 | py: Use sequence of strings for named tuple initialization | stijn | |
| - remove single string initialization style - take list of strings instead - store list in the type for fast lookup | |||
| 2014-12-31 | py: Fix rshift and not of zero/one edge cases in mpz. | Damien George | |
| Addresses issue #1027. | |||
| 2014-12-31 | tests: Disable float/float2int.py on pyboard (needs double prec). | Damien George | |
| 2014-12-31 | objstr: Fix %d-formatting of floats. | Paul Sokolovsky | |
| 2014-12-30 | py: Partially fix float to int conversion. | Paul Sokolovsky | |
| This fixes conversion when float type has more mantissa bits than small int, and float value has small exponent. This is for example the case of 32-bit platform using doubles, and converting value of time.time(). Conversion of floats with larg exponnet is still not handled correctly. | |||
| 2014-12-24 | py: Make bytes objs work with more str methods; add tests. | Damien George | |
| 2014-12-24 | tests: Add run-tests-exp.py, simple MicroPython-based test runner. | Paul Sokolovsky | |
| This script is rewrite of run-tests-exp.sh, and tries to achieve self-hosted testsuite running in environments where neither CPython nor unix shell is available. As run-tests-exp.sh, it requires complete set of .exp files pre-generated with ./run-test --write-exp. | |||
| 2014-12-20 | run-tests: Allow to run testuite against Windows build on Linux (using Wine). | Paul Sokolovsky | |
| Just adjust line-endings of micropython.exe output, the rest should be handled by Wine (automagically on properly configured distro). To run: MICROPY_MICROPYTHON=../windows/micropython.exe ./run-tests | |||
| 2014-12-20 | windows: Correctly interpret skipped tests, enable uhashlib and ubinascii | stijn | |
| 2014-12-18 | lib/libm: Add acosh, asinh, atanh, tan; get working with stmhal. | Damien George | |
| acoshf, asinhf, atanhf were added from musl. mathsincos.c was split up into its original, separate files (from newlibe-nano-2). tan was added. All of the important missing float functions are now implemented, and pyboard now passes tests/float/math_fun.py (finally!). | |||
| 2014-12-18 | tests: Get misc/print_exception and pyb/spi working on pyboard. | Damien George | |
| 2014-12-18 | tests: sha256: skip test if uhashlib module is not available. | Paul Sokolovsky | |
| 2014-12-15 | tests: Add testcase for ffi callbacks. | Paul Sokolovsky | |
| 2014-12-14 | asmarm: Fix bug with encoding small negative ints using MVN instruction. | Paul Sokolovsky | |
| 2014-12-13 | run-tests: Skip native/viper tests based on prefix. | Paul Sokolovsky | |
| Otherwise, new tests are forgotten to be added to explicit lists. Issue found running on Debian/ARM. | |||
| 2014-12-12 | py: Fix optimised for-loop compiler so it follows proper semantics. | Damien George | |
| You can now assign to the range end variable and the for-loop still works correctly. This fully addresses issue #565. Also fixed a bug with the stack not being fully popped when breaking out of an optimised for-loop (and it's actually impossible to write a test for this case!). | |||
| 2014-12-12 | run-tests: Reset MICROPYPATH, to make sure tests use only builtin modules. | Paul Sokolovsky | |
| 2014-12-12 | run-tests: PEP8 fix. | Paul Sokolovsky | |
| 2014-12-12 | tests: Activate recursive_data.py test, now that io.StringIO is available. | Paul Sokolovsky | |
| 2014-12-11 | tests: Add test for semantics of for-loop that optimisation can break. | Damien George | |
| 2014-12-11 | tests: Disable print_exception test when using native emitter. | Damien George | |
| 2014-12-11 | tests: Fix print_exception test and re-enable it on Travis CI. | Damien George | |
| Issue was with uPy: on local machine with micropython-lib installed, io module is available. Not the case on Travis CI, where only _io module is available in uPy. | |||
| 2014-12-11 | run-tests: Skip print_exception.py on TravisCI, as it irreproducibly fails. | Paul Sokolovsky | |
| TODO: Figure out what's wrong on Travis. | |||
| 2014-12-10 | tests: Fix print_exception.py to work on Travis CI. | Damien George | |
| 2014-12-10 | tests: Add test for print_exception() function. | Paul Sokolovsky | |
