| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-05-14 | extmod/modujson: Handle parsing of floats with + in the exponent. | Damien George | |
| Fixes issue #4780. | |||
| 2019-05-06 | extmod/moducryptolib: Add AES-CTR support. | Yonatan Goldschmidt | |
| Selectable at compile time via MICROPY_PY_UCRYPTOLIB_CTR. Disabled by default. | |||
| 2019-04-30 | tests/ussl_basic: Disable setblocking() calls. | Paul Sokolovsky | |
| Now that setblocking() is implemented in modussl_axtls, it calls into the underlying stream object, and io.BytesIO doesn't have setblocking(). | |||
| 2019-04-30 | extmod/modussl_axtls: Add non-blocking mode support. | Paul Sokolovsky | |
| It consists of: 1. "do_handhake" param (default True) to wrap_socket(). If it's False, handshake won't be performed by wrap_socket(), as it would be done in blocking way normally. Instead, SSL socket can be set to non-blocking mode, and handshake would be performed before the first read/write request (by just returning EAGAIN to these requests, while instead reading/writing/ processing handshake over the connection). Unfortunately, axTLS doesn't really support non-blocking handshake correctly. So, while framework for this is implemented on MicroPython's module side, in case of axTLS, it won't work reliably. 2. Implementation of .setblocking() method. It must be called on SSL socket for blocking vs non-blocking operation to be handled correctly (for example, it's not enough to wrap non-blocking socket with wrap_socket() call - resulting SSL socket won't be itself non-blocking). Note that .setblocking() propagates call to the underlying socket object, as expected. | |||
| 2019-04-28 | tests: Skip tests needing machine module if (u)machine doesn't exist. | Damien George | |
| 2019-03-27 | tests/extmod: Add test for FAT filesystem on a very large block device. | Damien George | |
| 2019-02-14 | extmod/moduwebsocket: Refactor `websocket` to `uwebsocket`. | Yonatan Goldschmidt | |
| As mentioned in #4450, `websocket` was experimental with a single intended user, `webrepl`. Therefore, we'll make this change without a weak link `websocket` -> `uwebsocket`. | |||
| 2018-12-10 | tests/extmod/uctypes_error: Add test for unsupported unary op. | Damien George | |
| 2018-12-10 | tests/extmod/uctypes_ptr_le: Test int() operation on a pointer field. | Paul Sokolovsky | |
| 2018-10-30 | tests/extmod: Skip uselect test when CPython doesn't have poll(). | stijn | |
| CPython does not have an implementation of select.poll() on some operating systems (Windows, OSX depending on version) so skip the test in those cases instead of failing it. | |||
| 2018-10-23 | tests/extmod/uctypes_sizeof_layout: Test for sizeof of different layout. | Paul Sokolovsky | |
| On almost all realistic platforms, native layout should be larger (or equal) than packed layout. | |||
| 2018-10-13 | tests/uctypes_sizeof_od: Test for using OrderedDict as struct descriptor | Paul Sokolovsky | |
| Just a copy of uctypes_sizeof.py with minimal changes. | |||
| 2018-10-05 | tests/uselect_poll_basic: Add basic test for uselect.poll invariants. | Paul Sokolovsky | |
| This test doesn't check the actual I/O behavior, just "static" invariants like behavior on duplicate calls or calls when I/O object is not registered with poller. | |||
| 2018-09-11 | tests/extmod/uhashlib_md5: Add coverage tests for MD5 algorithm. | Paul Sokolovsky | |
| Based on tests/extmod/uhashlib_sha1. | |||
| 2018-08-04 | tests: Make tests work on targets without float support. | Ayke van Laethem | |
| 2018-07-30 | tests/extmod/ujson_dump_iobase.py: Return number of bytes written. | Damien George | |
| Otherwise returning None indicates that the write would block and nothing was actually written. Fixes issue #3990. | |||
| 2018-07-20 | tests: Improve feature detection for VFS. | Ayke van Laethem | |
| 2018-07-02 | extmod/modure: Add ure.sub() function and method, and tests. | Damien George | |
| This feature is controlled at compile time by MICROPY_PY_URE_SUB, disabled by default. Thanks to @dmazzella for the original patch for this feature; see #3770. | |||
| 2018-07-02 | extmod/modure: Add match.span(), start() and end() methods, and tests. | Damien George | |
| This feature is controlled at compile time by MICROPY_PY_URE_MATCH_SPAN_START_END, disabled by default. Thanks to @dmazzella for the original patch for this feature; see #3770. | |||
| 2018-07-02 | extmod/modure: Add match.groups() method, and tests. | Damien George | |
| This feature is controlled at compile time by MICROPY_PY_URE_MATCH_GROUPS, disabled by default. Thanks to @dmazzella for the original patch for this feature; see #3770. | |||
| 2018-06-27 | tests/extmod/ucryptolib*: Add into and inplace tests for ucryptolib. | Paul Sokolovsky | |
| Tests for separate input and output buffer (alloc-free operation) and the same writable buffer used as input and output (inplace operation). | |||
| 2018-06-27 | tests/extmod/ucryptolib*: Add tests for ucryptolib module. | Paul Sokolovsky | |
| 2018-06-18 | tests/extmod: Add test for ujson.dump writing to a user IOBase object. | Damien George | |
| 2018-06-18 | tests/extmod/ujson_dump.py: Add test for dump to non-stream object. | Damien George | |
| 2018-06-12 | tests/extmod: Add test for VFS and user-defined filesystem and files. | Damien George | |
| 2018-06-06 | tests/extmod: Remove conditional import of uos_vfs, it no longer exists. | Damien George | |
| This conditional import was only used to get the tests working on the unix coverage build, which has now switched to use VFS by default so the uos module alone has the required functionality. | |||
| 2018-06-06 | tests/extmod: Add test for importing a script from a user VFS. | Damien George | |
| 2018-03-12 | extmod/vfs_fat: Add file size as 4th element of uos.ilistdir tuple. | Tom Collins | |
| 2018-03-04 | tests/extmod/time_ms_us: Fix ticks tests, ticks_diff args are reversed. | Damien George | |
| 2018-03-04 | tests/extmod/time_ms_us: Add test for calling ticks_cpu(). | Damien George | |
| This is just to test that the function exists and returns some kind of valid value. Although this file is for testing ms/us functions, put the ticks_cpu() test here so not to add a new test file. | |||
| 2018-02-28 | tests/extmod/vfs_fat_fileio1: Add test for calling file obj finaliser. | Damien George | |
| 2018-02-26 | tests/extmod/uzlib_decompress: Add uzlib tests to improve coverage. | Damien George | |
| 2018-02-26 | tests/extmod/vfs_fat_fileio1: Add test for failing alloc with finaliser. | Damien George | |
| 2018-02-15 | extmod/modujson: Implement ujson.dump() function. | Damien George | |
| 2018-01-31 | extmod/vfs_fat_file: Implement SEEK_CUR for non-zero offset. | Ayke van Laethem | |
| CPython doesn't allow SEEK_CUR with non-zero offset for files in text mode, and uPy inherited this behaviour for both text and binary files. It makes sense to provide full support for SEEK_CUR of binary-mode files in uPy, and to do this in a minimal way means also allowing to use SEEK_CUR with non-zero offsets on text-mode files. That seems to be a fair compromise. | |||
| 2017-12-19 | tests/extmod: Add some uctypes tests to improve coverage of that module. | Damien George | |
| 2017-12-19 | tests/extmod/uhashlib_sha256: Add test for hashing 56 bytes of data. | Damien George | |
| 2017-12-14 | extmod/modframebuf: Add 8-bit greyscale format (GS8). | Damien George | |
| 2017-12-14 | extmod/modframebuf: Add 2-bit color format (GS2_HMSB). | Petr Viktorin | |
| This format is used in 2-color LED matrices and in e-ink displays like SSD1606. | |||
| 2017-12-12 | tests/extmod: Add test which subclasses framebuf.FrameBuffer. | Damien George | |
| 2017-10-05 | tests/extmod: Add test for '-' in character class in regex. | Damien George | |
| 2017-10-03 | tests/extmod: Add test for ure regexes leading to infinite recursion. | Paul Sokolovsky | |
| These now should be caught properly and lead to RuntimeError instead of crash. | |||
| 2017-08-17 | extmod/modubinascii: Rewrite mod_binascii_a2b_base64. | Alex Robbins | |
| This implementation ignores invalid characters in the input. This allows it to decode the output of b2a_base64, and also mimics the behavior of CPython. | |||
| 2017-07-20 | extmod/modussl_axtls: Allow to close ssl stream multiple times. | Paul Sokolovsky | |
| Make sure that 2nd close has no effect and operations on closed streams are handled properly. | |||
| 2017-07-03 | extmod/modubinascii: Add check for empty buffer passed to hexlify. | Damien George | |
| Previous to this patch hexlify(b'', b':') would lead to a bad crash due to the computed length of the result being -1=0xffffffff. | |||
| 2017-07-01 | extmod/modure: If input string is bytes, return bytes results too. | Paul Sokolovsky | |
| This applies to match.group() and split(). For ARM Thumb2, this increased code size by 12 bytes. | |||
| 2017-06-11 | tests/extmod/vfs_basic: Allow test to pass on embedded targets. | Damien George | |
| 2017-06-10 | tests: Convert remaining "sys.exit()" to "raise SystemExit". | Paul Sokolovsky | |
| 2017-06-07 | extmod/vfs: Allow to statvfs the root directory. | Damien George | |
| 2017-05-13 | tests/extmod/vfs_fat_more: Make skippable is uos is not available. | Paul Sokolovsky | |
| Fixes Zephyr tests. | |||
