summaryrefslogtreecommitdiffstatshomepage
path: root/py/stream.c
Commit message (Expand)AuthorAge
* py/stream: seek: Consistently handle negative offset for SEEK_SET.Paul Sokolovsky2017-08-20
* all: Use the name MicroPython consistently in commentsAlexander Steffen2017-07-31
* all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.Damien George2017-06-15
* various: Spelling fixesVille Skyttä2017-05-29
* all: Remove readall() method, which is equivalent to read() w/o args.Paul Sokolovsky2016-11-14
* py/stream: Typo fix in comment.Paul Sokolovsky2016-10-27
* py: Use mp_raise_msg helper function where appropriate.Damien George2016-10-17
* py: Add mp_raise_OSError(errno) helper function.Damien George2016-10-07
* py/stream: Remove unnecessary check for NULL return from vstr_extend.Damien George2016-09-22
* py/stream.c: use mp_obj_get_type in mp_get_stream_raiseKrzysztof Blazewicz2016-08-24
* py/mpconfig.h: Add MICROPY_STREAMS_POSIX_API setting.Paul Sokolovsky2016-07-30
* py/stream: Add adapter methods with POSIX-compatible signatures.Paul Sokolovsky2016-07-30
* py/stream: Implement generic flush() method, in terms of C-level ioctl.Paul Sokolovsky2016-07-27
* py/stream: Implement 2- and 3-arg write() method as an extension to CPython.Paul Sokolovsky2016-07-14
* all: Rename mp_obj_type_t::stream_p to protocol.Paul Sokolovsky2016-06-18
* py/stream: Add mp_stream_close() helper function.Paul Sokolovsky2016-05-20
* py/stream: Support both "exact size" and "one underlying call" operations.Paul Sokolovsky2016-05-18
* py/stream: Move uPy func obj wrappers to below their respective funcs.Damien George2016-04-10
* py/stream: Simplify arg extraction logic for stream_ioctl.Damien George2016-04-10
* py/stream: ioctl(): Properly support 2-arg form.Paul Sokolovsky2016-04-10
* py/stream: Fix signed comparison issue.Paul Sokolovsky2016-04-10
* py/stream: Add Python-level ioctl() method.Paul Sokolovsky2016-04-10
* py/stream: Fix stupid thinko with variable naming/shadowing.Paul Sokolovsky2016-03-27
* py/stream: Fix object vs ptr usecase in mp_stream_writeall().Paul Sokolovsky2016-03-24
* py/stream: Add mp_stream_writeall() helper function.Paul Sokolovsky2016-03-24
* py: Change type signature of builtin funs that take variable or kw args.Damien George2016-01-11
* py: Add mp_get_stream_raise to factor out check for stream methods.Damien George2015-12-09
* py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George2015-11-29
* py: Change mp_print_strn_t func type to use size_t for the str length.Damien George2015-11-29
* py/stream: Allow to reuse is_nonblocking_error().Paul Sokolovsky2015-10-18
* py: Add stream_tell method, and use for unix and stmhal file tell.blmorris2015-08-13
* py: Add mp_obj_get_int_truncated and use it where appropriate.Damien George2015-05-12
* py: Change vstr so that it doesn't null terminate buffer by default.Damien George2015-01-28
* stream: readall(): Make sure there's a trailing NUL char.Paul Sokolovsky2015-01-24
* stream: Fix readall() implementation in respect to NUL terminator bytes.Paul Sokolovsky2015-01-23
* py: Remove mp_obj_str_builder and use vstr instead.Damien George2015-01-21
* py: Add mp_obj_new_str_from_vstr, and use it where relevant.Damien George2015-01-21
* py: Move to guarded includes, everywhere in py/ core.Damien George2015-01-01
* py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack.Damien George2014-12-05
* py: Make stream seek correctly check for ioctl fn; add seek for textio.Damien George2014-11-16
* stream: Implement seek operation support via ioctl, wrapped in generic method.Paul Sokolovsky2014-11-17
* py: Use mp_uint_t where appropriate in stream functions.Damien George2014-10-24
* stream: Add optional 2nd "length" arg to .readinto() - extension to CPython.Paul Sokolovsky2014-10-23
* unix, stmhal: Implement file.readinto() method.Paul Sokolovsky2014-10-18
* py: Improve stream_read so it doesn't need to alloc 2 bits of heap.Damien George2014-10-17
* stream: Handle non-blocking errors in readline() properly.Paul Sokolovsky2014-10-16
* stream: Return errno value as first arg of OSError exception.Paul Sokolovsky2014-10-16
* py: Small cleanup in stream.c.Damien George2014-08-22
* py: Change stream protocol API: fns return uint; is_text for text.Damien George2014-07-27
* streams: Treat non-error output size as unsigned.Paul Sokolovsky2014-07-23