<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/extmod/vfs_fat_misc.c, branch 6.0.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2018-02-23T06:24:57+00:00</updated>
<entry>
<title>extmod/vfs_fat: Merge remaining vfs_fat_misc.c code into vfs_fat.c.</title>
<updated>2018-02-23T06:24:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-02-23T06:24:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=638b860066ddf6a684ce2d573917b3c8a5817ba2'/>
<id>urn:sha1:638b860066ddf6a684ce2d573917b3c8a5817ba2</id>
<content type='text'>
The only function left in vfs_fat_misc.c is fat_vfs_import_stat() which
can logically go into vfs_fat.c, allowing to remove vfs_fat_misc.c.
</content>
</entry>
<entry>
<title>extmod/vfs_fat: Move ilistdir implementation from misc to main file.</title>
<updated>2018-02-23T06:17:32+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-02-23T06:17:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ae4a07730af7fe4f62f9f61e8b600e39f557925e'/>
<id>urn:sha1:ae4a07730af7fe4f62f9f61e8b600e39f557925e</id>
<content type='text'>
The fat_vfs_ilistdir2() function was only used by fat_vfs_ilistdir_func()
so moving the former into the same file as the latter allows it to be
placed directly into the latter function, thus saving code size.
</content>
</entry>
<entry>
<title>py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str.</title>
<updated>2017-11-16T02:17:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-11-16T02:17:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4601759bf59e16b860a3f082e9aa4ea78356bf92'/>
<id>urn:sha1:4601759bf59e16b860a3f082e9aa4ea78356bf92</id>
<content type='text'>
This patch simplifies the str creation API to favour the common case of
creating a str object that is not forced to be interned.  To force
interning of a new str the new mp_obj_new_str_via_qstr function is added,
and should only be used if warranted.

Apart from simplifying the mp_obj_new_str function (and making it have the
same signature as mp_obj_new_bytes), this patch also reduces code size by a
bit (-16 bytes for bare-arm and roughly -40 bytes on the bare-metal archs).
</content>
</entry>
<entry>
<title>all: Remove inclusion of internal py header files.</title>
<updated>2017-10-04T01:37:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-10-04T01:37:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a3dc1b1957d2c96d7c60c2c629c95077b03488a1'/>
<id>urn:sha1:a3dc1b1957d2c96d7c60c2c629c95077b03488a1</id>
<content type='text'>
Header files that are considered internal to the py core and should not
normally be included directly are:
    py/nlr.h - internal nlr configuration and declarations
    py/bc0.h - contains bytecode macro definitions
    py/runtime0.h - contains basic runtime enums

Instead, the top-level header files to include are one of:
    py/obj.h - includes runtime0.h and defines everything to use the
        mp_obj_t type
    py/runtime.h - includes mpstate.h and hence nlr.h, obj.h, runtime0.h,
        and defines everything to use the general runtime support functions

Additional, specific headers (eg py/objlist.h) can be included if needed.
</content>
</entry>
<entry>
<title>extmod/vfs_fat_misc: Remove dot-dirs filter since FatFS already does it.</title>
<updated>2017-05-13T08:58:46+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-05-13T08:58:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f95e4e77823919dfe82b6711f1d25d2d8c5008fc'/>
<id>urn:sha1:f95e4e77823919dfe82b6711f1d25d2d8c5008fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/vfs_fat: Replace listdir() with implementation of ilistdir().</title>
<updated>2017-05-10T01:39:28+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-05-05T13:32:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d4cd4831b01ff87b4a9f84bb88b165e3b156b3b4'/>
<id>urn:sha1:d4cd4831b01ff87b4a9f84bb88b165e3b156b3b4</id>
<content type='text'>
VfsFat no longer has the listdir() method.  Rather, if listdir()
functionality is needed then one should use uos.listdir() which will call
VfsFat.ilistdir().
</content>
</entry>
<entry>
<title>extmod/vfs_fat: Remove unused function fat_vfs_listdir.</title>
<updated>2017-01-30T01:26:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-29T08:50:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0fb27888fc805e4b39f74153d8543fe7348eb886'/>
<id>urn:sha1:0fb27888fc805e4b39f74153d8543fe7348eb886</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod: Merge old fsusermount.h header into vfs.h and vfs_fat.h.</title>
<updated>2017-01-30T01:26:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-29T08:20:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b697c890096805d9ccaf7553dbff5b82f5332609'/>
<id>urn:sha1:b697c890096805d9ccaf7553dbff5b82f5332609</id>
<content type='text'>
vfs.h is for generic VFS declarations, and vfs_fat.h is for VfsFat
specific things.
</content>
</entry>
<entry>
<title>extmod/vfs_fat: Remove MICROPY_FATFS_OO config option.</title>
<updated>2017-01-30T01:26:07+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-29T04:26:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0bd61d23b9b21819da9d10290dfccd4ae4a69e1a'/>
<id>urn:sha1:0bd61d23b9b21819da9d10290dfccd4ae4a69e1a</id>
<content type='text'>
Everyone should now be using the new ooFatFs library.  The old one is no
longer supported and will be removed.
</content>
</entry>
<entry>
<title>extmod: Remove MICROPY_FSUSERMOUNT and related files.</title>
<updated>2017-01-30T01:26:07+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-29T04:21:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1808b2e8d5c9fff8020628a7849a537ffa9790e3'/>
<id>urn:sha1:1808b2e8d5c9fff8020628a7849a537ffa9790e3</id>
<content type='text'>
Replaced by MICROPY_VFS and the VFS sub-system.
</content>
</entry>
</feed>
