aboutsummaryrefslogtreecommitdiff
path: root/py/stream.c
AgeCommit message (Expand)Author
2020-04-27py/stream: Remove mp_stream_errno and use system errno instead.Damien George
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-01-09py: Make mp_obj_get_type() return a const ptr to mp_obj_type_t.Damien George
2019-02-06py: Update my copyright info on some files.Paul Sokolovsky
2018-08-14py/stream: Adjust mp_stream_posix_XXX to take void*, not mp_obj_t.Damien George
2018-06-20py/stream: Remove stray empty line at start of file.Damien George
2018-06-20py/stream: Update comment for mp_stream_write_adaptor.Damien George
2018-06-18py/stream: Introduce and use efficient mp_get_stream to access stream_p.Damien George
2018-05-01py/stream: Use uPy errno instead of system's for non-blocking check.Ayke van Laethem
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-09-21py/stream: Remove unnecessary checks for NULL return from vstr_add_len.Damien George
2017-08-20py/stream: seek: Consistently handle negative offset for SEEK_SET.Paul Sokolovsky
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-06-15all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.Damien George
2017-05-29various: Spelling fixesVille Skyttä
2016-11-14all: Remove readall() method, which is equivalent to read() w/o args.Paul Sokolovsky
2016-10-27py/stream: Typo fix in comment.Paul Sokolovsky
2016-10-17py: Use mp_raise_msg helper function where appropriate.Damien George
2016-10-07py: Add mp_raise_OSError(errno) helper function.Damien George
2016-09-22py/stream: Remove unnecessary check for NULL return from vstr_extend.Damien George
2016-08-24py/stream.c: use mp_obj_get_type in mp_get_stream_raiseKrzysztof Blazewicz
2016-07-30py/mpconfig.h: Add MICROPY_STREAMS_POSIX_API setting.Paul Sokolovsky
2016-07-30py/stream: Add adapter methods with POSIX-compatible signatures.Paul Sokolovsky
2016-07-27py/stream: Implement generic flush() method, in terms of C-level ioctl.Paul Sokolovsky
2016-07-14py/stream: Implement 2- and 3-arg write() method as an extension to CPython.Paul Sokolovsky
2016-06-18all: Rename mp_obj_type_t::stream_p to protocol.Paul Sokolovsky
2016-05-20py/stream: Add mp_stream_close() helper function.Paul Sokolovsky
2016-05-18py/stream: Support both "exact size" and "one underlying call" operations.Paul Sokolovsky
2016-04-10py/stream: Move uPy func obj wrappers to below their respective funcs.Damien George
2016-04-10py/stream: Simplify arg extraction logic for stream_ioctl.Damien George
2016-04-10py/stream: ioctl(): Properly support 2-arg form.Paul Sokolovsky
2016-04-10py/stream: Fix signed comparison issue.Paul Sokolovsky
2016-04-10py/stream: Add Python-level ioctl() method.Paul Sokolovsky
2016-03-27py/stream: Fix stupid thinko with variable naming/shadowing.Paul Sokolovsky
2016-03-24py/stream: Fix object vs ptr usecase in mp_stream_writeall().Paul Sokolovsky
2016-03-24py/stream: Add mp_stream_writeall() helper function.Paul Sokolovsky
2016-01-11py: Change type signature of builtin funs that take variable or kw args.Damien George
2015-12-09py: Add mp_get_stream_raise to factor out check for stream methods.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-11-29py: Change mp_print_strn_t func type to use size_t for the str length.Damien George
2015-10-18py/stream: Allow to reuse is_nonblocking_error().Paul Sokolovsky
2015-08-13py: Add stream_tell method, and use for unix and stmhal file tell.blmorris
2015-05-12py: Add mp_obj_get_int_truncated and use it where appropriate.Damien George
2015-01-28py: Change vstr so that it doesn't null terminate buffer by default.Damien George
2015-01-24stream: readall(): Make sure there's a trailing NUL char.Paul Sokolovsky
2015-01-23stream: Fix readall() implementation in respect to NUL terminator bytes.Paul Sokolovsky
2015-01-21py: Remove mp_obj_str_builder and use vstr instead.Damien George
2015-01-21py: Add mp_obj_new_str_from_vstr, and use it where relevant.Damien George