summaryrefslogtreecommitdiff
path: root/py/stream.h
AgeCommit message (Expand)Author
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