| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-03-15 | run code formatting script | microDev | |
| 2020-12-07 | add ExtType, update doc, add a test | Bernhard Boser | |
| 2020-07-10 | Fix stream version and add basic readinto test | Scott Shawcroft | |
| 2020-06-03 | Fix up end of file and trailing whitespace. | Diego Elio Pettenò | |
| This can be enforced by pre-commit, but correct it separately to make it easier to review. | |||
| 2019-02-14 | extmod/ure: Handle some escape sequences. | Radomir Dopieralski | |
| Fix MicroPython #3176 Handle escape sequences inside regular expressions. This adds handling for \a, \b, \f, \n, \r, \v and \\. | |||
| 2019-02-14 | 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. | |||
| 2019-02-14 | 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. | |||
| 2019-02-14 | 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-08-25 | Fix os.stat() to use 1970 epoch | Noralf Trønnes | |
| Commit 95e70cd0ea6d 'time: Use 1970 epoch' changed epoch for the time module, but not for other users. This patch does the same for the only other core timeutils user: extmod/vfs_fat.c:fat_vfs_stat(). Other timeutils users: cc3200, esp8266 and stm32, are not changed. Ports that don't use long ints, will still get wrong time values from os.stat(). | |||
| 2018-07-11 | WIP: after merge; before testing | Dan Halbert | |
| 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-14 | Make Trinket M0 build fit; make RAMFS in vfs_fat_* tests be compliant with ↵ | Dan Halbert | |
| expected API | |||
| 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-05-06 | tests: add new tests for uhashlib differences | Jeff Epler | |
| .. these tests currently fail, but a subsequent commit will fix them | |||
| 2018-04-30 | tests: Add new tests for ubinascii differences | Jeff Epler | |
| .. some of these tests currently fail, but a subsequent commit will fix them. | |||
| 2018-03-27 | Add VfsFat.label property | Jeff Epler | |
| These allow accessing the filesystem label. For instance, in boot.py, you can set the label on the built-in storage with: storage.remount('/', False) storage.getmount('/').label = "NEWLABEL" storage.remount('/', True) Users with multiple CIRCUITPY boards may find it desirable to choose a different label for each board they own. | |||
| 2018-03-23 | 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. | |||
| 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. | |||
| 2017-05-13 | tests/extmod/vfs_fat: Add test for ilistdir of a non-existent directory. | Damien George | |
| 2017-05-10 | tests/extmod/vfs: Update tests to reflect new ilistdir() method. | Damien George | |
| 2017-05-09 | tests/extmod: Make some vfs tests fully unmount FSs before running. | Damien George | |
| Otherwise the existing FSs can interfere with the tests, and in some cases the tests can write to the real FS on the device. | |||
| 2017-05-05 | tests/extmod: Add some more VFS tests. | Damien George | |
| 2017-05-05 | tests/extmod: Add more tests for VFS FAT. | Damien George | |
| 2017-04-21 | extmod/moductypes: Fix bigint handling for 32-bit ports. | Paul Sokolovsky | |
| 2017-04-15 | extmod/machine_signal: Rename "inverted" arg to "invert", it's shorter. | Damien George | |
| A shorter name takes less code size, less room in scripts and is faster to type at the REPL. Tests and HW-API examples are updated to reflect the change. | |||
