1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/common
Michael Sevakis a931c76b3a Do some debug and preparatory work for ramcache and playlist
The file system rework introduced incompatibility between dircache
and the tagcache ramcache and playlist dircache path caching. This
update makes changes to filesystem code to reintegrate all that.

It also fixes a couple bugs that were found when vetting all the
code. The filestream cache was being reset without regard to
the stream even if it was shared in write mode (made work of
.playlist_control). Better handling of unmounting gives files a
better go at force-closing them without risk to disk integrity.

Did some miscellaneous pedantic changes. Improved efficiency of
testing a file's existence (a little) since the path parser will
be shared between file code and parsing for the sake of finding
dircache references, not duplicated as before.

This commit doesn't reenable said items just for the sake of
keeping changes separate and related.

Plan for the next is to enable dircache again for the playlists
(easy peasy) and reenable tagcache ramcache but *without* the
dircache path caching because it's rather substantial to change
in itself. The ramcache will still function without dircache.

Change-Id: I7e2a9910b866251fa8333e1275f72fcfc8425d2d
2017-01-17 14:35:36 -05:00
..
config.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
crc32-mi4.c crc-mi4: use const lookup table for crc 2014-07-07 12:54:50 +02:00
crc32-rkw.c Add RKW firmware file format loader 2012-03-04 00:34:26 +01:00
crc32.c buflib: Add crc field protecting buflib cookie integrity 2014-01-16 10:17:39 +01:00
diacritic.c FS#11187 - diacritic.c is in 'drivers' but it does not belong there 2010-04-07 20:41:18 +00:00
dir.c Do some debug and preparatory work for ramcache and playlist 2017-01-17 14:35:36 -05:00
dircache.c Do some debug and preparatory work for ramcache and playlist 2017-01-17 14:35:36 -05:00
disk.c Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
disk_cache.c Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
file.c Do some debug and preparatory work for ramcache and playlist 2017-01-17 14:35:36 -05:00
file_internal.c Do some debug and preparatory work for ramcache and playlist 2017-01-17 14:35:36 -05:00
fileobj_mgr.c Do some debug and preparatory work for ramcache and playlist 2017-01-17 14:35:36 -05:00
format.c format/*printf: Add simple support for %p format specifier. 2011-08-04 10:44:41 +00:00
linked_list.c Improve the implementation of a couple linked list routines. 2017-01-07 21:14:32 -05:00
loader_strerror.c Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
pathfuncs.c Fix track formatting problems in playlist.c 2017-01-07 19:10:02 -05:00
rb-loader.c Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
strcasecmp.c Compile fix for mingw-w64 2011-12-04 21:07:06 +00:00
strcasestr.c Added ID3 searching 2005-01-27 22:21:08 +00:00
strlcat.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
strlcpy.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
strnatcmp.c Remove tabs in firmware path (taking into account the original spacing). 2010-02-22 21:24:09 +00:00
structec.c Fix warning in firmware/common/structec.c 2015-02-24 16:27:16 -05:00
timefuncs.c Calculate day-of-week after reading time from RTC. Should fix FS#11814 2012-04-12 21:32:25 +02:00
unicode.c unicode: Fix getle16 and getbe16 2014-09-21 07:42:49 +02:00
version.c Prevent spurious recompiles on account of changed version. 2014-08-28 15:48:56 +02:00