Commit graph

3080 commits

Author SHA1 Message Date
Björn Stenberg
1f214f2732 Directories are now handled as files, using fat_readwrite() instead of ata_read/write_sector().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2844 a1c6a512-1295-4272-9138-f99709370657
2002-11-13 23:16:32 +00:00
Linus Nielsen Feltzing
71d346ce81 mpeg_stop() now yields to ensure that the mpeg is stopped when it returns
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2843 a1c6a512-1295-4272-9138-f99709370657
2002-11-13 08:43:49 +00:00
Linus Nielsen Feltzing
51fc9820c0 Forgot to set the gain when entering the recording screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2842 a1c6a512-1295-4272-9138-f99709370657
2002-11-13 08:27:18 +00:00
Linus Nielsen Feltzing
5afd4aad26 No stops MP3 playback when entering the recording screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2841 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 22:36:06 +00:00
Linus Nielsen Feltzing
84c6fd96a6 Fixed broken unicode_munge()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2840 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 22:35:32 +00:00
Björn Stenberg
099a6b58d1 Added extra safety checks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2839 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 20:02:23 +00:00
Daniel Stenberg
5a7548afba Added dummy fat_size() to make it link
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2838 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 19:38:01 +00:00
Björn Stenberg
6fb512aba5 Added disk space to Info menu item. (Players press + to see it.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2837 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 11:32:26 +00:00
Björn Stenberg
8a727cecdb Fixed file creation test case for new flags.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2836 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 09:04:53 +00:00
Björn Stenberg
42510d9e78 Added '*PANIC*' string. Line is now wrapped on recorders. LED blinks slowly to indicate controlled state.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2835 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 09:04:06 +00:00
Robert Hak
bca1f64d13 will rockbox support other players?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2834 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 07:01:53 +00:00
Daniel Stenberg
e94eebb355 use the protos on the simulator as well, this should kill a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2833 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 23:10:57 +00:00
Linus Nielsen Feltzing
f844ab207f Correct flags to the open() call when recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2832 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 22:43:41 +00:00
Björn Stenberg
94fb95f00b Cosmetic: Replaced dozens of openfiles[fd] with 'file' pointers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2831 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 16:13:45 +00:00
Björn Stenberg
4059ea61d4 Bugfix: Flags work better when they're binary...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2830 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 16:08:28 +00:00
Björn Stenberg
4cde667659 Added a truckload of test code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2829 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 15:47:19 +00:00
Björn Stenberg
9f9c495662 Added support for O_CREAT, O_APPEND and O_TRUNC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2828 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 15:45:43 +00:00
Björn Stenberg
68640edf90 Added ftruncate().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2827 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 14:40:18 +00:00
Björn Stenberg
228605dc7b Added support for O_RDWR and lseek() while writing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2826 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 13:57:58 +00:00
Linus Nielsen Feltzing
1e524abd5b Added a timeout debug panic for the recording DMA protocol
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2825 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 13:24:41 +00:00
Linus Nielsen Feltzing
ddcc25a141 Now reloads the dir when leaving the recording screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2824 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 13:19:17 +00:00
Linus Nielsen Feltzing
d25a8e80e8 Mic gain was improperly saved
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2823 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 13:13:30 +00:00
Björn Stenberg
6dc77d881b Bug fix for previous commit: write() always returned 0 on even sector writes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2822 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 11:16:49 +00:00
Björn Stenberg
11a09e632c close() now does not truncate the file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2821 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 10:21:51 +00:00
Linus Nielsen Feltzing
7912a6d39d Now the docs dir is mandatory when building rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2820 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 10:09:26 +00:00
Linus Nielsen Feltzing
1bee8d5117 Now applies the selected options properly when exiting the setup menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2819 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 08:16:18 +00:00
Linus Nielsen Feltzing
afe0da9e16 Recording settings are now persistent. Added a Recording Settings menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2818 a1c6a512-1295-4272-9138-f99709370657
2002-11-10 23:18:33 +00:00
Linus Nielsen Feltzing
8e4a0e0aab An attempt to support older recorder models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2817 a1c6a512-1295-4272-9138-f99709370657
2002-11-10 18:24:40 +00:00
Linus Nielsen Feltzing
1325c9d9fe Added recording functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2816 a1c6a512-1295-4272-9138-f99709370657
2002-11-10 16:42:31 +00:00
Linus Nielsen Feltzing
893095d4ce Added recording functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2815 a1c6a512-1295-4272-9138-f99709370657
2002-11-10 16:37:26 +00:00
Linus Nielsen Feltzing
4382c68b3f Greg's improved fat_cache_sector() function, now updates the second FAT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2814 a1c6a512-1295-4272-9138-f99709370657
2002-11-09 09:23:43 +00:00
Linus Nielsen Feltzing
81449d9642 fat_cache_sector() wrote to the wrong sector when flushing an entry. Thanks to Greg Haerr for finding the bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2813 a1c6a512-1295-4272-9138-f99709370657
2002-11-08 19:31:19 +00:00
Björn Stenberg
8cff523ac1 Added details about screwdrivers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2812 a1c6a512-1295-4272-9138-f99709370657
2002-11-08 12:11:32 +00:00
Björn Stenberg
f9fed8152a Changed return code of ata_write_sectors() to be the same as for ata_read_sectors(). (0 == Success)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2811 a1c6a512-1295-4272-9138-f99709370657
2002-11-07 22:40:24 +00:00
Daniel Stenberg
2207764d91 added binlang
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2810 a1c6a512-1295-4272-9138-f99709370657
2002-11-07 15:08:17 +00:00
Linus Nielsen Feltzing
c099eb40b3 Now also displays WPS lines without format codes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2809 a1c6a512-1295-4272-9138-f99709370657
2002-11-05 23:49:08 +00:00
Linus Nielsen Feltzing
140360b43a Now updates the time info on FF/REW
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2808 a1c6a512-1295-4272-9138-f99709370657
2002-11-05 23:15:17 +00:00
Björn Stenberg
62085b1bc0 Corrected return value check.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2807 a1c6a512-1295-4272-9138-f99709370657
2002-11-05 16:15:47 +00:00
Björn Stenberg
0e51fefda6 Bug fixes: fat_seek(0) would sometimes start at sector 1. find_free_cluster() didn't find all free clusters.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2806 a1c6a512-1295-4272-9138-f99709370657
2002-11-05 14:46:27 +00:00
Daniel Stenberg
ab0dce0264 blatantly stupid proto added for mingw simulator compiles to get rid of
the darned warning


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2805 a1c6a512-1295-4272-9138-f99709370657
2002-11-04 22:53:22 +00:00
Daniel Stenberg
740dc63186 somewhat kludgey work-around to prevent the <io.h>'s version of the mkdir()
proto to ruin our compile


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2804 a1c6a512-1295-4272-9138-f99709370657
2002-11-04 22:33:00 +00:00
Björn Stenberg
c9fb098250 Bugfix: lseek() did not invalidate sector cache when seeking to start of file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2803 a1c6a512-1295-4272-9138-f99709370657
2002-11-04 14:59:46 +00:00
Björn Stenberg
6a8900b528 Bugfix: If last sector of a requested transfer was nonconsecutive, it would not be written.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2802 a1c6a512-1295-4272-9138-f99709370657
2002-11-04 13:52:47 +00:00
Björn Stenberg
307f5d846e Added remove()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2801 a1c6a512-1295-4272-9138-f99709370657
2002-11-01 15:26:06 +00:00
Kjell Ericson
54d5e2cb27 Added a 5 pixel border around the content. Looks better (that's all).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2800 a1c6a512-1295-4272-9138-f99709370657
2002-11-01 13:38:21 +00:00
Björn Stenberg
aa25f0962c Removed warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2799 a1c6a512-1295-4272-9138-f99709370657
2002-11-01 08:31:55 +00:00
Kjell Ericson
b3e41c711b Changed the battery icon so it doesn't clear the inner part of the icon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2798 a1c6a512-1295-4272-9138-f99709370657
2002-11-01 08:10:33 +00:00
Björn Stenberg
8fd23edde5 Removed bug list from front page
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2797 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 21:26:17 +00:00
Björn Stenberg
675d258575 Fixed lseek().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2796 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 20:41:36 +00:00
Björn Stenberg
f9b5fdcd4d Added lseek() to chkfile test.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2795 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 20:40:15 +00:00