aboutsummaryrefslogtreecommitdiff
path: root/py/objstringio.c
AgeCommit message (Expand)Author
2022-05-03all: Use mp_obj_malloc everywhere it's applicable.Jim Mussared
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-03-11py/objstringio: Expose tell() on StringIO and BytesIO objects.Andrew Leech
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2019-11-26py/objstringio: Slightly optimize stringio_copy_on_write for code size.Yonatan Goldschmidt
2019-07-17py/objstringio: Guard bytesio_stream_p struct w/ MICROPY_PY_IO_BYTESIO.Paul m. p. P
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2019-02-06py: Update my copyright info on some files.Paul Sokolovsky
2018-04-10py/stream: Switch stream close operation from method to ioctl.Damien George
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-08-20py/objstringio: Fix regression with handling SEEK_SET.Paul Sokolovsky
2017-08-20py/objstringio: Prevent offset wraparound for io.BytesIO objects.Tom Collins
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-06-09py/objstringio: If created from immutable object, follow copy on write policy.Paul Sokolovsky
2017-05-26py/objstringio: Catch mp_uint_t overflow of stream position in write().Tom Collins
2017-05-15py/objstringio: Fix StringIO reads at or beyond EOF.Tom Collins
2017-03-28py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.Damien George
2017-02-16py: Add iter_buf to getiter type method.Damien George
2017-02-02py/objstringio: Allow to specify initial capacity by passing numeric argument.Paul Sokolovsky
2016-10-17py: Use mp_raise_msg helper function where appropriate.Damien George
2016-10-14py/vstr: Combine vstr_new_size with vstr_new since they are rarely used.Damien George
2016-10-13extmod/modujson: Implement ujson.load() to load JSON from a stream.Damien George
2016-10-09py/objstringio: Add readinto() method.Paul Sokolovsky
2016-07-28py/objstringio: Implement MP_STREAM_SEEK ioctl and add seek() method.Paul Sokolovsky
2016-07-28py/objstringio: Add MP_STREAM_FLUSH ioctl and flush() method.Paul Sokolovsky
2016-06-18all: Rename mp_obj_type_t::stream_p to protocol.Paul Sokolovsky
2016-05-14py/objstringio: Add TODO comment about avoiding copying on .getvalue().Paul Sokolovsky
2016-01-11py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George
2016-01-11py: Change type signature of builtin funs that take variable or kw args.Damien George
2016-01-11py: Change type of .make_new and .call args: mp_uint_t becomes size_t.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-11-29py: Add MP_ROM_* macros and mp_rom_* types and use them.Damien George
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
2015-01-20py: Prevent segfault for operations on closed StringIO.stijn
2015-01-20py, unix: Allow to compile with -Wunused-parameter.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-12-10py: Make functions static where appropriate.Damien George
2014-08-30Change some parts of the core API to use mp_uint_t instead of uint/int.Damien George
2014-07-27py: Change stream protocol API: fns return uint; is_text for text.Damien George
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-05-25py: Slightly improve efficiency of mp_obj_new_str; rename str_new.Damien George
2014-05-24Rename configuration variables controling Python features.Damien George
2014-05-15objstringio: Implement io.BytesIO.Paul Sokolovsky
2014-05-03Add license header to (almost) all files.Damien George
2014-05-02py, unix: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky
2014-04-26objstringio: Compile only if MICROPY_ENABLE_MOD_IO defined.Paul Sokolovsky
2014-04-26modio: Implement io.StringIO class.Paul Sokolovsky