30 Commits (92c83bd16b55daf81157100243ded6d7d0e56538)

Author SHA1 Message Date
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 09376f0e47 py: Introduce MP_ROM_NONE macro for ROM to refer to None object. 5 years ago
Damien George 0cc8910bc5 extmod: Give vars/funcs unique names so STATIC can be set to nothing. 5 years ago
Damien George f35aae366c extmod/vfs_fat: Rename FileIO/TextIO types to mp_type_vfs_fat_XXX. 7 years ago
Damien George cf31d384f1 py/stream: Switch stream close operation from method to ioctl. 7 years ago
Damien George eb570f47a2 extmod/vfs_fat: Make fat_vfs_open_obj wrapper public, not its function. 7 years ago
Ayke van Laethem 7642785881 extmod/vfs_fat_file: Implement SEEK_CUR for non-zero offset. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George aa7be82a4d all: Don't include system errno.h when it's not needed. 7 years ago
Damien George 643876fb77 extmod/vfs_fat: Allow to compile with MICROPY_VFS_FAT disabled. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Damien George 196406e17a extmod/vfs_fat: Remove unused fatfs_builtin_open function. 8 years ago
Damien George b697c89009 extmod: Merge old fsusermount.h header into vfs.h and vfs_fat.h. 8 years ago
Damien George 0bd61d23b9 extmod/vfs_fat: Remove MICROPY_FATFS_OO config option. 8 years ago
Damien George 1808b2e8d5 extmod: Remove MICROPY_FSUSERMOUNT and related files. 8 years ago
Damien George 3d6f957208 extmod/vfs_fat: Remove MICROPY_FSUSERMOUNT_ADHOC config option. 8 years ago
Damien George fb3ae1784e extmod/vfs_fat: Rework to support new generic VFS sub-system. 8 years ago
Damien George 32a1138b9f extmod: Rename vfs_fat_file.h to vfs_fat.h. 8 years ago
Damien George f5f4cdae89 extmod/vfs_fat: Rework so it can optionally use OO version of FatFS. 9 years ago
w4kpm bd476acd41 extmod/vfs_fat_file: Allow file obj to respond to ioctl flush request. 8 years ago
Paul Sokolovsky 59a1201da9 all: Remove readall() method, which is equivalent to read() w/o args. 8 years ago
Damien George 5694201930 extmod/vfs_fat_file: Make file.close() a no-op if file already closed. 8 years ago
Alex March 84679e0c06 extmod/vfs_fat_file: Check fatfs f_sync() and f_close() returns for errors. 8 years ago
Damien George dc43508cc2 extmod/vfs_fat_file: Use MP_Exxx errno constants. 8 years ago
Damien George 620c4c32bf extmod/vfs_fat: Use mp_raise_OSError helper function. 8 years ago
Paul Sokolovsky 07209f8592 all: Rename mp_obj_type_t::stream_p to protocol. 9 years ago
Damien George 0be6359f39 py: When printf'ing an object as a pointer, pass the concrete pointer. 9 years ago
Paul Sokolovsky 4cd45f48b1 cc3200: Fix breakage after VfsFat refactor. 9 years ago
Paul Sokolovsky 6b0c88256b extmod/vfs_fat_file: Reusable FatFs module, move from stmhal/file. 9 years ago
Paul Sokolovsky e3c66a5a67 stmhal/file: Paranoid compiler warnings cleanness. 9 years ago
Paul Sokolovsky baf47c84c4 stmhal/diskio,file: Nanbox cleanness. 9 years ago
Paul Sokolovsky ab0e36b3da stmhal/file: For self-contained usecase, don't define global types. 9 years ago
Paul Sokolovsky 350ab0f570 stmhal/file: Recast as "FatFs file" class, to support other VFS types. 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
blmorris bdd78c31b6 py: Add stream_tell method, and use for unix and stmhal file tell. 9 years ago
Dave Hylands 968b7dd173 stmhal: Detect disk full condition 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George 4f94d90d4d stmhal: Include fatfs headers using lib/fatfs prefix. 10 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
Damien George 5694cc5490 py: Make stream seek correctly check for ioctl fn; add seek for textio. 10 years ago
Paul Sokolovsky fa2edabc5c stmhal: Switch to file.seek() implementation using stream ioctl. 10 years ago
stijn 2fe4cf7761 Implement kwargs for builtin open() and _io.FileIO 10 years ago
Paul Sokolovsky 1a55b6a787 unix, stmhal: Implement file.readinto() method. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Damien George bb4c6f35c6 py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 10 years ago
Damien George adf0f2ae1a py: Change stream protocol API: fns return uint; is_text for text. 10 years ago
Damien George 02bc882c3d stmhal: Add file.flush and os.stat. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Damien George e79c6696c5 stmhal: Fix file print methods to use print instead of printf. 11 years ago