espruino/Espruino — pull request #333 by cephdon (2014-04-20 04:17:16+00:00)
Title: This update adds additional support for files.  

Files can now be opened, closed, read, written in bytes by position (block reads and writes) and
piped to other files during idle periods (for large files).

check_size.sh has a modification for OSX that allows the same
functionality as on other unix like environments. Since DU does not
function the same, gdu must be loaded on the system (through macports or
some other channel). The modification is simply to use gdu instead of
du.

This commit also includes a QT creator project file and associated
settings.
Feel free not to take the QT Creator project files if you don't want them..
The important thing for files is the wrap_fs.c, wrap_fs.h files.

I tested these changes on my OSX system, but I have not flashed them to the espruino.