summaryrefslogtreecommitdiff
path: root/firmware/common
AgeCommit message (Collapse)Author
2004-01-21New feature: NOw you can store the recorded files in either /recordings (the ↵Linus Nielsen Feltzing
directory will be created automatically) or in the current directory. New feature: A "Create directory" menu option (untested in the simulator). Bug fix: The ON+Play menu could do nasty things if you pressed ON+Play in an empty dir. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4268 a1c6a512-1295-4272-9138-f99709370657
2004-01-15Second bug in mkdir() :-)Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4241 a1c6a512-1295-4272-9138-f99709370657
2004-01-15First mkdir() bug killed :-)Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4239 a1c6a512-1295-4272-9138-f99709370657
2004-01-15Implemented the mkdir() function in the FAT32 driverLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4238 a1c6a512-1295-4272-9138-f99709370657
2003-12-21Moved memset() out of .iramBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4170 a1c6a512-1295-4272-9138-f99709370657
2003-12-08my take at fixing the simulator warnings by adding mode_t, size_t, ssize_tDaniel Stenberg
and off_t git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4116 a1c6a512-1295-4272-9138-f99709370657
2003-07-01Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or ↵Hardeep Sidhu
playlist from file browser to see available options. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3796 a1c6a512-1295-4272-9138-f99709370657
2003-06-29Renamed flush() to fsync() to be more in line with POSIX/unixBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3766 a1c6a512-1295-4272-9138-f99709370657
2003-06-19Slightly better handling of disk-full situationsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3756 a1c6a512-1295-4272-9138-f99709370657
2003-05-24Fixed bad %x handlingLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3695 a1c6a512-1295-4272-9138-f99709370657
2003-04-25remove the ifdef for simulatorDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3616 a1c6a512-1295-4272-9138-f99709370657
2003-04-25use size_t and not int as the prototype says soDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3614 a1c6a512-1295-4272-9138-f99709370657
2003-04-25include the sprintf.h header, basicly for simulator purposesDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3612 a1c6a512-1295-4272-9138-f99709370657
2003-04-15Update fileoffset and cacheoffset on error.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3556 a1c6a512-1295-4272-9138-f99709370657
2003-03-18Added the filesize() functionLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3473 a1c6a512-1295-4272-9138-f99709370657
2003-03-16kill warningDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3455 a1c6a512-1295-4272-9138-f99709370657
2003-03-16only do the fprintf() if not doing a simulator, since this file is usedDaniel Stenberg
for the win32 simulator and the fprintf() of Rockbox differs slightly from how the true POSIX one is (the first argument). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3452 a1c6a512-1295-4272-9138-f99709370657
2003-03-16introducing fprintf():Daniel Stenberg
int fprintf(int fd, const char *fmt, ...) Returns number of bytes written to the file descriptor. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3450 a1c6a512-1295-4272-9138-f99709370657
2003-03-15Previous change broke read after seek. Reverted that change and added ↵Hardeep Sidhu
temporary fix in flush_cache to make sure we are on correct sector before writing to disk. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3448 a1c6a512-1295-4272-9138-f99709370657
2003-03-14Make sure we are on correct sector after lseek. This fixes the queue file ↵Hardeep Sidhu
corruption bug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3443 a1c6a512-1295-4272-9138-f99709370657
2003-03-12flush_cache() failure should still return error.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3433 a1c6a512-1295-4272-9138-f99709370657
2003-03-12Bug fix: If head bytes were read but sector read failed, return head byte ↵Björn Stenberg
count instead of error. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3432 a1c6a512-1295-4272-9138-f99709370657
2003-03-10Killed compiling error on debug buildsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3425 a1c6a512-1295-4272-9138-f99709370657
2003-03-10Killed a warningLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3423 a1c6a512-1295-4272-9138-f99709370657
2003-03-10Zagor added the flush() functionLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3416 a1c6a512-1295-4272-9138-f99709370657
2003-02-26rename() didn't close the file if the target name exists, and didn't return ↵Linus Nielsen Feltzing
a negative error code Enhanced the return codes to make it easier to track panics. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3340 a1c6a512-1295-4272-9138-f99709370657
2003-02-22Lame debug outputLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3322 a1c6a512-1295-4272-9138-f99709370657
2003-02-07more movesDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3221 a1c6a512-1295-4272-9138-f99709370657
2003-02-07not used, removedDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3218 a1c6a512-1295-4272-9138-f99709370657
2003-02-07not used. removedDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3217 a1c6a512-1295-4272-9138-f99709370657
2003-01-27tm_mon starts at 0Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3173 a1c6a512-1295-4272-9138-f99709370657
2003-01-27Corrected get_time(). This should fix the bad file date bug. Also changed ↵Björn Stenberg
status.c to use get_time() instead of reading directly from RTC. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3170 a1c6a512-1295-4272-9138-f99709370657
2003-01-27Directories can now be renamed too.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3167 a1c6a512-1295-4272-9138-f99709370657
2003-01-24Remove use of rockbox-mode.el in local variables list.Mats Lidell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-09Fixed win32 simulator warnings.Hardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3042 a1c6a512-1295-4272-9138-f99709370657
2002-12-19Use flush_cache() when writing headbytes to disk to make sure we are on the ↵Hardeep Sidhu
correct sector. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3023 a1c6a512-1295-4272-9138-f99709370657
2002-11-24Killed a warningLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2882 a1c6a512-1295-4272-9138-f99709370657
2002-11-24Removed debug outputLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2880 a1c6a512-1295-4272-9138-f99709370657
2002-11-20Now uses timefuncs.h instead of time.hLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2868 a1c6a512-1295-4272-9138-f99709370657
2002-11-20Only Recorders have RTCLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2864 a1c6a512-1295-4272-9138-f99709370657
2002-11-20New time functionsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2861 a1c6a512-1295-4272-9138-f99709370657
2002-11-19Added rename()Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2857 a1c6a512-1295-4272-9138-f99709370657
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