summaryrefslogtreecommitdiff
path: root/unix/file.c
AgeCommit message (Expand)Author
2014-10-21Implement kwargs for builtin open() and _io.FileIOstijn
2014-10-18unix, stmhal: Implement file.readinto() method.Paul Sokolovsky
2014-08-30Change some parts of the core API to use mp_uint_t instead of uint/int.Damien George
2014-07-31py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself.Damien George
2014-07-27py: Change stream protocol API: fns return uint; is_text for text.Damien George
2014-07-16Add fsync for windows, i.e. _commit. See dce8876stijn
2014-07-13unix: file: No fsync() on Windows.v1.2Paul Sokolovsky
2014-07-13unix: file: Implement .flush() method.Paul Sokolovsky
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-05-24Rename configuration variables controling Python features.Damien George
2014-05-19py: Implement proper separation between io.FileIO and io.TextIOWrapper.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-03unix, file.c: adhere to coding conventions.Damien George
2014-05-03CPython compatibility: raise an error for operations on a closed file descriptorstijn
2014-05-02py, unix: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky
2014-04-22unix: Workaround MP_OBJ_NEW_SMALL_INT() 64-bit issues.Paul Sokolovsky
2014-04-22unix: OSError's args[0] should be errno numeric value.Paul Sokolovsky
2014-04-20unix file: mingw32 has STDIN_FILENO and friends in stdio.h .Paul Sokolovsky
2014-04-13py, unix: Convert sys module to static representation.Paul Sokolovsky
2014-04-08unix, stmhal: Consistently use "FileIO" as class name for file objects.Paul Sokolovsky
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-04-04unix: Use STATIC modifier to enable code size analysis via map file.Paul Sokolovsky
2014-04-03unix file: Implement context manager protocol (for "with" statement).Paul Sokolovsky
2014-03-30Merge map.h into obj.h.Damien George
2014-03-30Rename rt_* to mp_*.Damien George
2014-03-26Remove mp_obj_type_t.methods entry and use .locals_dict instead.Damien George
2014-03-26Change mp_method_t.name from const char * to qstr.Damien George
2014-03-16unix: Clean up includes.xbe
2014-02-15Implement proper exception type hierarchy.Damien George
2014-02-15Change mp_obj_type_t.name from const char * to qstr.Damien George
2014-02-14Allow ports to define statically builtin functions.Paul Sokolovsky
2014-02-10Fix some int casting that failed on 64 bit architecture.Damien George
2014-02-08io.File, socket types: Add fileno() method.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-20unix file: Refactor and add sys.stdout/stdin/stderr.Paul Sokolovsky
2014-01-20unix io.FileIO: Add iteration support.Paul Sokolovsky
2014-01-19Fix incorrect prototype of mp_builtin_open() after args refactor.Paul Sokolovsky
2014-01-18Make VM stack grow upwards, and so no reversed args arrays.Damien George
2014-01-15Merge branch 'str-repr' of github.com:pfalcon/micropython into pfalcon-str-reprDamien George
2014-01-15Add unbuffered readline() implementation for Raw I/O files.Paul Sokolovsky
2014-01-15type->print(): Distinguish str() and repr() variety by passing extra param.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-08unix: Add basic implementation of io.FileIO object.Paul Sokolovsky