| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-04-10 | py/stream: Add Python-level ioctl() method. | Paul Sokolovsky | |
| Will call underlying C virtual methods of stream interface. This isn't intended to be added to every stream object (it's not in CPython), but is convenient way to expose extra operation on Python side without adding bunch of Python-level methods. | |||
| 2016-04-10 | py/stream.h: Add bigger inventory of stream ioctl's. | Paul Sokolovsky | |
| 2016-04-05 | py: Move stream-related declarations from obj.h to stream.h. | Paul Sokolovsky | |
| 2016-03-24 | py/stream: Add mp_stream_writeall() helper function. | Paul Sokolovsky | |
| Spools entire output buffer to a blocking stream (chunk by chunk if needed). | |||
| 2015-12-09 | py: Add mp_get_stream_raise to factor out check for stream methods. | Damien George | |
| 2015-11-29 | py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. | Damien George | |
| This allows the mp_obj_t type to be configured to something other than a pointer-sized primitive type. This patch also includes additional changes to allow the code to compile when sizeof(mp_uint_t) != sizeof(void*), such as using size_t instead of mp_uint_t, and various casts. | |||
| 2015-11-29 | py: Change mp_print_strn_t func type to use size_t for the str length. | Damien George | |
| 2015-10-18 | py/stream: Allow to reuse is_nonblocking_error(). | Paul Sokolovsky | |
| 2015-08-13 | py: Add stream_tell method, and use for unix and stmhal file tell. | blmorris | |
| 2015-01-01 | py: Move to guarded includes, everywhere in py/ core. | Damien George | |
| Addresses issue #1022. | |||
| 2014-11-17 | stream: Implement seek operation support via ioctl, wrapped in generic method. | Paul Sokolovsky | |
| Also, implement for unix port. | |||
| 2014-10-18 | unix, stmhal: Implement file.readinto() method. | Paul Sokolovsky | |
| Also, usocket.readinto(). Known issue is that .readinto() should be available only for binary files, but micropython uses single method table for both binary and text files. | |||
| 2014-07-13 | stream: Factor out mp_stream_write() method to write a memstring to stream. | Paul Sokolovsky | |
| 2014-05-03 | Add license header to (almost) all files. | Damien George | |
| Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/. | |||
| 2014-05-03 | py, stream: Implement readlines for a stream. | Damien George | |
| 2014-01-20 | stream: Add generic unbuffered iternext method. | Paul Sokolovsky | |
| Uses stream_unbuffered_readline underline. | |||
| 2014-01-15 | Add unbuffered readline() implementation for Raw I/O files. | Paul Sokolovsky | |
| 2014-01-13 | Add generic impl of stream .readall() method. Use one for unix io.FileIO. | Paul Sokolovsky | |
| 2014-01-08 | Add generic implementations of Python read()/write methods for streams. | Paul Sokolovsky | |
| These can be used for any object which implements stream protocol (mp_stream_p_t). | |||
