summaryrefslogtreecommitdiff
path: root/py/stream.c
AgeCommit message (Expand)Author
2014-08-22py: Small cleanup in stream.c.Damien George
2014-07-27py: Change stream protocol API: fns return uint; is_text for text.Damien George
2014-07-23streams: Treat non-error output size as unsigned.Paul Sokolovsky
2014-07-23stream: Revert to checking for the correct error value.Paul Sokolovsky
2014-07-21Deal with reading a buffer less than what was allocated.Dave Hylands
2014-07-19py: Add stream reading of n unicode chars; unicode support by default.Damien George
2014-07-13stream: Factor out mp_stream_write() method to write a memstring to stream.Paul Sokolovsky
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-06-29windows: Sync mpconfigport.h with the unix' versionstijn
2014-06-27streams: Reading by char count from unicode text streams is not implemented.Paul Sokolovsky
2014-06-13stream: Use mp_obj_is_true() for EOF testing.Paul Sokolovsky
2014-05-25py: Slightly improve efficiency of mp_obj_new_str; rename str_new.Damien George
2014-05-15objstringio: Implement io.BytesIO.Paul Sokolovsky
2014-05-13py, unix: Add copyright for modules I worked closely on.Paul Sokolovsky
2014-05-07stream: Make non-blcoking stream support configurable.Paul Sokolovsky
2014-05-07stream: Use standard name of DEFAULT_BUFFER_SIZE.Paul Sokolovsky
2014-05-07stream: Add compliant handling of non-blocking readall().Paul Sokolovsky
2014-05-07stream: Add compliant handling of non-blocking read()/write().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-05-02py, unix: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky
2014-04-26streams: Make .write() support arbitrary objects with buffer interface.Paul Sokolovsky
2014-04-17py: Add MP_OBJ_STOP_ITERATION and make good use of it.Damien George
2014-04-12py: the entire `<unistd.h>` shouldn't be neededIlya Dmitrichenko
2014-04-05py: Replace stream_p with *stream_p in mp_obj_type_t.Damien George
2014-04-05py: Change nlr_jump to nlr_raise, to aid in debugging.Damien George
2014-03-26py: Replace mp_const_stop_iteration object with MP_OBJ_NULL.Damien George
2014-03-17py: Clean up includes.xbe
2014-02-15Implement proper exception type hierarchy.Damien George
2014-02-12Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.Paul Sokolovsky
2014-02-08Make mp_obj_str_get_data return char* instead of byte*.Damien George
2014-01-22file.readline(): Use mp_obj_str_get_data() and fix off-by-one error on EOF.Paul Sokolovsky
2014-01-22Second stage of qstr revamp: uPy str object can be qstr or not.Damien George
2014-01-21Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-01-21Revamp qstrs: they now include length and hash.Damien George
2014-01-20stream_read(): Shrink memory block to actual read size.Paul Sokolovsky
2014-01-20stream: Add generic unbuffered iternext method.Paul Sokolovsky
2014-01-19Change int to uint for n_args in function with variable arguments.Damien George
2014-01-16Make file.read() and file.read(-1) call out to file.readall().Paul Sokolovsky
2014-01-16Do not assume that vstr buf is the same after it was extended.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-08py: add variable argument exception constructor function.Damien George
2014-01-08Add generic implementations of Python read()/write methods for streams.Paul Sokolovsky