summaryrefslogtreecommitdiff
path: root/firmware/common
AgeCommit message (Collapse)Author
2002-11-14Flush sector cache before truncating.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2849 a1c6a512-1295-4272-9138-f99709370657
2002-11-13creat() now includes the O_TRUNC flag.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2846 a1c6a512-1295-4272-9138-f99709370657
2002-11-11Cosmetic: Replaced dozens of openfiles[fd] with 'file' pointers.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2831 a1c6a512-1295-4272-9138-f99709370657
2002-11-11Bugfix: Flags work better when they're binary...Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2830 a1c6a512-1295-4272-9138-f99709370657
2002-11-11Added support for O_CREAT, O_APPEND and O_TRUNC.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2828 a1c6a512-1295-4272-9138-f99709370657
2002-11-11Added ftruncate().Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2827 a1c6a512-1295-4272-9138-f99709370657
2002-11-11Added support for O_RDWR and lseek() while writing.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2826 a1c6a512-1295-4272-9138-f99709370657
2002-11-11Bug fix for previous commit: write() always returned 0 on even sector writes.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2822 a1c6a512-1295-4272-9138-f99709370657
2002-11-11close() now does not truncate the file.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2821 a1c6a512-1295-4272-9138-f99709370657
2002-11-05Corrected return value check.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2807 a1c6a512-1295-4272-9138-f99709370657
2002-11-04Bugfix: lseek() did not invalidate sector cache when seeking to start of file.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2803 a1c6a512-1295-4272-9138-f99709370657
2002-11-01Added remove()Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2801 a1c6a512-1295-4272-9138-f99709370657
2002-10-31Fixed lseek().Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2796 a1c6a512-1295-4272-9138-f99709370657
2002-10-31More graceful handling when running out of space.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2793 a1c6a512-1295-4272-9138-f99709370657
2002-10-22Fat32 write updates: Nixed some bugs. Basic file creation now works. Todo: ↵Björn Stenberg
Long filenames and extensive test cases. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2742 a1c6a512-1295-4272-9138-f99709370657
2002-10-21removed use of uninitialized variableDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2727 a1c6a512-1295-4272-9138-f99709370657
2002-10-20Snapshot of file writing code. Bugs remain. Only short names are supported yet.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2726 a1c6a512-1295-4272-9138-f99709370657
2002-10-10Partition debug screen added, and jumped to when no fat32 partition is found ↵Björn Stenberg
at boot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2558 a1c6a512-1295-4272-9138-f99709370657
2002-09-30Magnus Holmgren's improved atoi()Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2446 a1c6a512-1295-4272-9138-f99709370657
2002-09-16added memcmp function to make rockbox compilable with latest gcc versions ↵Felix Arends
without using libc git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2304 a1c6a512-1295-4272-9138-f99709370657
2002-09-13undef MAX_PATH before defining it makes it play the simulator game betterDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2280 a1c6a512-1295-4272-9138-f99709370657
2002-08-24Make close() check for a valid fd and set errno accordingly.Heikki Hannikainen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1965 a1c6a512-1295-4272-9138-f99709370657
2002-08-23bad bad bad snprintf() overflow the buffer if the string passed in with aDaniel Stenberg
%s didn't fit within the buffer! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1943 a1c6a512-1295-4272-9138-f99709370657
2002-08-22when we want to open a file, we want the exact specified file name, notDaniel Stenberg
just one that starts with our given string... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1929 a1c6a512-1295-4272-9138-f99709370657
2002-08-15Now doesn't truncate the lenght when comparing path componentsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1757 a1c6a512-1295-4272-9138-f99709370657
2002-08-11First version of loadable fonts patch by Alex GitelmanBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1666 a1c6a512-1295-4272-9138-f99709370657
2002-08-05added weirdo extra protos for the mingw cross-compile buildDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1534 a1c6a512-1295-4272-9138-f99709370657
2002-08-04use our own prototypes for open, read, close and lseek if we compileDaniel Stenberg
with Mingw32 as <io.h> doesn't seem to be good to include then git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1532 a1c6a512-1295-4272-9138-f99709370657
2002-08-02just defensivelt check for defined defines before we define themDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1524 a1c6a512-1295-4272-9138-f99709370657
2002-08-02debreakageDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1523 a1c6a512-1295-4272-9138-f99709370657
2002-08-02ming compile fixes by Bill NapierDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1522 a1c6a512-1295-4272-9138-f99709370657
2002-08-01Moved to internal RAMLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1508 a1c6a512-1295-4272-9138-f99709370657
2002-07-25The ctype array was too short. Found by Magnus Holmgren, thanks.Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1443 a1c6a512-1295-4272-9138-f99709370657
2002-07-18Use most significant bits instead (gives better random)Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1381 a1c6a512-1295-4272-9138-f99709370657
2002-07-18Vastly improved, now working, random! :)Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1379 a1c6a512-1295-4272-9138-f99709370657
2002-07-17New vastly improved random algorithm: Mersenne TwisterBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1377 a1c6a512-1295-4272-9138-f99709370657
2002-07-16Allow LBA-less partitionsBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1364 a1c6a512-1295-4272-9138-f99709370657
2002-07-15Some more buffer length fixingLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1361 a1c6a512-1295-4272-9138-f99709370657
2002-07-15Added searching for FAT32 partitionBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1351 a1c6a512-1295-4272-9138-f99709370657
2002-07-05Added MAX_PATHLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1341 a1c6a512-1295-4272-9138-f99709370657
2002-06-26Added id3 tracknum (Yusef Napora)Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1204 a1c6a512-1295-4272-9138-f99709370657
2002-06-26lseek: Adjust cacheoffset if cache is usedBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1199 a1c6a512-1295-4272-9138-f99709370657
2002-06-241 byte reads past a sector boundary failedLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1138 a1c6a512-1295-4272-9138-f99709370657
2002-06-19lseek() bug: It would claim cached sector even if that was not the caseBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1095 a1c6a512-1295-4272-9138-f99709370657
2002-06-19make the array 257 bytesDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1077 a1c6a512-1295-4272-9138-f99709370657
2002-06-19strcat()Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1069 a1c6a512-1295-4272-9138-f99709370657
2002-06-18Filenames are case insensitive in Fat32Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1060 a1c6a512-1295-4272-9138-f99709370657
2002-06-18case insensitive string comparisonsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1057 a1c6a512-1295-4272-9138-f99709370657
2002-06-17we need ctypeDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1045 a1c6a512-1295-4272-9138-f99709370657
2002-06-17added vsnprintfDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1036 a1c6a512-1295-4272-9138-f99709370657