summaryrefslogtreecommitdiff
path: root/firmware/common (follow)
Commit message (Collapse)AuthorAge
...
* Empty file/dir names are now rejected by open() and mkdir()Linus Nielsen Feltzing2004-02-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4303 a1c6a512-1295-4272-9138-f99709370657
* New feature: NOw you can store the recorded files in either /recordings (the ↵Linus Nielsen Feltzing2004-01-21
| | | | | | | | | | 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
* Second bug in mkdir() :-)Linus Nielsen Feltzing2004-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4241 a1c6a512-1295-4272-9138-f99709370657
* First mkdir() bug killed :-)Linus Nielsen Feltzing2004-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4239 a1c6a512-1295-4272-9138-f99709370657
* Implemented the mkdir() function in the FAT32 driverLinus Nielsen Feltzing2004-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4238 a1c6a512-1295-4272-9138-f99709370657
* Moved memset() out of .iramBjörn Stenberg2003-12-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4170 a1c6a512-1295-4272-9138-f99709370657
* my take at fixing the simulator warnings by adding mode_t, size_t, ssize_tDaniel Stenberg2003-12-08
| | | | | | | and off_t git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4116 a1c6a512-1295-4272-9138-f99709370657
* Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or ↵Hardeep Sidhu2003-07-01
| | | | | | playlist from file browser to see available options. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3796 a1c6a512-1295-4272-9138-f99709370657
* Renamed flush() to fsync() to be more in line with POSIX/unixBjörn Stenberg2003-06-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3766 a1c6a512-1295-4272-9138-f99709370657
* Slightly better handling of disk-full situationsLinus Nielsen Feltzing2003-06-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3756 a1c6a512-1295-4272-9138-f99709370657
* Fixed bad %x handlingLinus Nielsen Feltzing2003-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3695 a1c6a512-1295-4272-9138-f99709370657
* remove the ifdef for simulatorDaniel Stenberg2003-04-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3616 a1c6a512-1295-4272-9138-f99709370657
* use size_t and not int as the prototype says soDaniel Stenberg2003-04-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3614 a1c6a512-1295-4272-9138-f99709370657
* include the sprintf.h header, basicly for simulator purposesDaniel Stenberg2003-04-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3612 a1c6a512-1295-4272-9138-f99709370657
* Update fileoffset and cacheoffset on error.Björn Stenberg2003-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3556 a1c6a512-1295-4272-9138-f99709370657
* Added the filesize() functionLinus Nielsen Feltzing2003-03-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3473 a1c6a512-1295-4272-9138-f99709370657
* kill warningDaniel Stenberg2003-03-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3455 a1c6a512-1295-4272-9138-f99709370657
* only do the fprintf() if not doing a simulator, since this file is usedDaniel Stenberg2003-03-16
| | | | | | | | 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
* introducing fprintf():Daniel Stenberg2003-03-16
| | | | | | | | | 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
* Previous change broke read after seek. Reverted that change and added ↵Hardeep Sidhu2003-03-15
| | | | | | 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
* Make sure we are on correct sector after lseek. This fixes the queue file ↵Hardeep Sidhu2003-03-14
| | | | | | corruption bug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3443 a1c6a512-1295-4272-9138-f99709370657
* flush_cache() failure should still return error.Björn Stenberg2003-03-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3433 a1c6a512-1295-4272-9138-f99709370657
* Bug fix: If head bytes were read but sector read failed, return head byte ↵Björn Stenberg2003-03-12
| | | | | | count instead of error. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3432 a1c6a512-1295-4272-9138-f99709370657
* Killed compiling error on debug buildsLinus Nielsen Feltzing2003-03-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3425 a1c6a512-1295-4272-9138-f99709370657
* Killed a warningLinus Nielsen Feltzing2003-03-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3423 a1c6a512-1295-4272-9138-f99709370657
* Zagor added the flush() functionLinus Nielsen Feltzing2003-03-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3416 a1c6a512-1295-4272-9138-f99709370657
* rename() didn't close the file if the target name exists, and didn't return ↵Linus Nielsen Feltzing2003-02-26
| | | | | | | | | 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
* Lame debug outputLinus Nielsen Feltzing2003-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3322 a1c6a512-1295-4272-9138-f99709370657
* more movesDaniel Stenberg2003-02-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3221 a1c6a512-1295-4272-9138-f99709370657
* not used, removedDaniel Stenberg2003-02-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3218 a1c6a512-1295-4272-9138-f99709370657
* not used. removedDaniel Stenberg2003-02-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3217 a1c6a512-1295-4272-9138-f99709370657
* tm_mon starts at 0Björn Stenberg2003-01-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3173 a1c6a512-1295-4272-9138-f99709370657
* Corrected get_time(). This should fix the bad file date bug. Also changed ↵Björn Stenberg2003-01-27
| | | | | | 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
* Directories can now be renamed too.Björn Stenberg2003-01-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3167 a1c6a512-1295-4272-9138-f99709370657
* Remove use of rockbox-mode.el in local variables list.Mats Lidell2003-01-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
* Fixed win32 simulator warnings.Hardeep Sidhu2003-01-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3042 a1c6a512-1295-4272-9138-f99709370657
* Use flush_cache() when writing headbytes to disk to make sure we are on the ↵Hardeep Sidhu2002-12-19
| | | | | | correct sector. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3023 a1c6a512-1295-4272-9138-f99709370657
* Killed a warningLinus Nielsen Feltzing2002-11-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2882 a1c6a512-1295-4272-9138-f99709370657
* Removed debug outputLinus Nielsen Feltzing2002-11-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2880 a1c6a512-1295-4272-9138-f99709370657
* Now uses timefuncs.h instead of time.hLinus Nielsen Feltzing2002-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2868 a1c6a512-1295-4272-9138-f99709370657
* Only Recorders have RTCLinus Nielsen Feltzing2002-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2864 a1c6a512-1295-4272-9138-f99709370657
* New time functionsLinus Nielsen Feltzing2002-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2861 a1c6a512-1295-4272-9138-f99709370657
* Added rename()Björn Stenberg2002-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2857 a1c6a512-1295-4272-9138-f99709370657
* Flush sector cache before truncating.Björn Stenberg2002-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2849 a1c6a512-1295-4272-9138-f99709370657
* creat() now includes the O_TRUNC flag.Björn Stenberg2002-11-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2846 a1c6a512-1295-4272-9138-f99709370657
* Cosmetic: Replaced dozens of openfiles[fd] with 'file' pointers.Björn Stenberg2002-11-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2831 a1c6a512-1295-4272-9138-f99709370657
* Bugfix: Flags work better when they're binary...Björn Stenberg2002-11-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2830 a1c6a512-1295-4272-9138-f99709370657
* Added support for O_CREAT, O_APPEND and O_TRUNC.Björn Stenberg2002-11-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2828 a1c6a512-1295-4272-9138-f99709370657
* Added ftruncate().Björn Stenberg2002-11-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2827 a1c6a512-1295-4272-9138-f99709370657
* Added support for O_RDWR and lseek() while writing.Björn Stenberg2002-11-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2826 a1c6a512-1295-4272-9138-f99709370657