24 Commits (2ec943284a1d15d937b2954e481af5d4059ac85f)

Author SHA1 Message Date
Paul Sokolovsky 3990b1715d py/objstringio: Implement MP_STREAM_SEEK ioctl and add seek() method. 8 years ago
Paul Sokolovsky f039ac5bd7 py/objstringio: Add MP_STREAM_FLUSH ioctl and flush() method. 8 years ago
Paul Sokolovsky 07209f8592 all: Rename mp_obj_type_t::stream_p to protocol. 9 years ago
Paul Sokolovsky 2ae6697300 py/objstringio: Add TODO comment about avoiding copying on .getvalue(). 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
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Damien George a0c97814df py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
stijn bf19541f46 py: Prevent segfault for operations on closed StringIO. 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 969a6b37bf py: Make functions static where appropriate. 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 adf0f2ae1a py: Change stream protocol API: fns return uint; is_text for text. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Damien George f600a6a085 py: Slightly improve efficiency of mp_obj_new_str; rename str_new. 11 years ago
Damien George ee3fd46f13 Rename configuration variables controling Python features. 11 years ago
Paul Sokolovsky a47b64ae2d objstringio: Implement io.BytesIO. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky f54bcbf099 py, unix: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Paul Sokolovsky 100cd36a0e objstringio: Compile only if MICROPY_ENABLE_MOD_IO defined. 11 years ago
Paul Sokolovsky cb9dc086a3 modio: Implement io.StringIO class. 11 years ago