aboutsummaryrefslogtreecommitdiff
path: root/py/stream.h
AgeCommit message (Expand)Author
2020-03-25py/stream.h: Include sys/types.h to get size_t and off_t for POSIX API.David Lechner
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2019-10-31py/stream.h: Add MP_STREAM_POLL_NVAL constant.Damien George
2019-05-17various: Add and update my copyright line based on git history.Paul Sokolovsky
2018-08-14py/stream: Adjust mp_stream_posix_XXX to take void*, not mp_obj_t.Damien George
2018-07-20py/stream: Introduce MP_STREAM_GET_FILENO ioctl request.Damien George
2018-06-18py/stream: Introduce and use efficient mp_get_stream to access stream_p.Damien George
2018-06-04py/stream: Move definition of mp_stream_p_t from obj.h to stream.h.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-08-20py/objstringio: Fix regression with handling SEEK_SET.Paul Sokolovsky
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-07-18all: Unify header guard usage.Alexander Steffen
2016-12-02py/stream: Move ad-hoc ioctl constants to stream.h and rename them.Damien George
2016-11-14all: Remove readall() method, which is equivalent to read() w/o args.Paul Sokolovsky
2016-10-21py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros.Damien George
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-26py/stream: Stream module works with errno's, so should include mperrno.h.Paul Sokolovsky
2016-07-25py/stream.h: Remove dated comment of POSIX-specificity of EAGAIN.Paul Sokolovsky
2016-07-25py/stream.h: Move mp_stream_write_adaptor() inside ifdef block.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: Add Python-level ioctl() method.Paul Sokolovsky
2016-04-10py/stream.h: Add bigger inventory of stream ioctl's.Paul Sokolovsky
2016-04-05py: Move stream-related declarations from obj.h to stream.h.Paul Sokolovsky
2016-03-24py/stream: Add mp_stream_writeall() helper function.Paul Sokolovsky
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-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-11-17stream: Implement seek operation support via ioctl, wrapped in generic method.Paul Sokolovsky
2014-10-18unix, stmhal: Implement file.readinto() method.Paul Sokolovsky
2014-07-13stream: Factor out mp_stream_write() method to write a memstring to stream.Paul Sokolovsky
2014-05-03Add license header to (almost) all files.Damien George
2014-05-03py, stream: Implement readlines for a stream.Damien George
2014-01-20stream: Add generic unbuffered iternext method.Paul Sokolovsky
2014-01-15Add unbuffered readline() implementation for Raw I/O files.Paul Sokolovsky
2014-01-13Add generic impl of stream .readall() method. Use one for unix io.FileIO.Paul Sokolovsky
2014-01-08Add generic implementations of Python read()/write methods for streams.Paul Sokolovsky