summaryrefslogtreecommitdiff
path: root/unix/file.c
AgeCommit message (Expand)Author
2015-08-13py: Add stream_tell method, and use for unix and stmhal file tell.blmorris
2015-06-21unix: Add O_WRONLY | O_CREAT to open call when opening file for append ("a").Ari Suutari
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
2015-01-20py, unix: Allow to compile with -Wunused-parameter.Damien George
2015-01-16unix: Add target to build "minimal" uPy interpreter.Damien George
2015-01-12py: Can compile with -Wmissing-declarations and -Wmissing-prototypes.Damien George
2015-01-01unix: Prefix includes with py/; remove need for -I../py.Damien George
2014-12-10py: Make functions static where appropriate.Damien George
2014-11-16py: Make stream seek correctly check for ioctl fn; add seek for textio.Damien George
2014-11-17stream: Implement seek operation support via ioctl, wrapped in generic method.Paul Sokolovsky
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