summaryrefslogtreecommitdiff
path: root/unix/file.c
AgeCommit message (Expand)Author
2016-08-07unix/moduselect: Allow poll.register(), etc. accept fd-like objects.Paul Sokolovsky
2016-07-28unix/file: Use generic stream flush() method.Paul Sokolovsky
2016-07-27unix/file: fdfile_ioctl(): Fix argument to check_fd_is_open().Paul Sokolovsky
2016-07-27unix/file: ioctl(): Check that file is open before operations.Paul Sokolovsky
2016-07-27unix/file: Implement MP_STREAM_FLUSH ioctl.Paul Sokolovsky
2016-06-28unix/file: If write syscall returns because of EINTR then try again.Damien George
2016-06-18all: Rename mp_obj_type_t::stream_p to protocol.Paul Sokolovsky
2016-04-02unix/file: "encoding" arg to open() isn't kw-only.Paul Sokolovsky
2016-04-02unix/file: Parse "buffering" argument of open() builtin.Paul Sokolovsky
2016-02-06unix/file: Stop assuming that O_RDWR == O_RDONLY | O_WRONLY.Paul Sokolovsky
2016-01-11py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George
2016-01-11py: Change type signature of builtin funs that take variable or kw args.Damien George
2016-01-11py: Change type of .make_new and .call args: mp_uint_t becomes size_t.Damien George
2015-12-28unix: Implement uos.dupterm(). Conditional on MICROPY_PY_OS_DUPTERM.Paul Sokolovsky
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-11-29py: Add MP_ROM_* macros and mp_rom_* types and use them.Damien George
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