Commit graph

2918 commits

Author SHA1 Message Date
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
Björn Stenberg
6b104a6c69 Improved tests.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2794 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 19:06:14 +00:00
Björn Stenberg
08356fb50a More graceful handling when running out of space.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2793 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 19:05:25 +00:00
Mats Lidell
0d79fa127d Icons created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2792 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 17:34:07 +00:00
Mats Lidell
097bd10680 Adjusted position of second icon line.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2791 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 17:33:41 +00:00
Björn Stenberg
a5e77d8f94 Fat writing update. File creation now works, though still only short filenames.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2790 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 16:09:28 +00:00
Björn Stenberg
3bf2f78581 Added 'bad' table class
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2789 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 09:23:54 +00:00
Arnaud de Bonald
1a7f494bef added new oscillo and menu string
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2788 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 08:39:47 +00:00
Daniel Stenberg
26507c1bf2 add 'errno' here, since it makes the mingw32 build work fine again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2787 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 08:05:47 +00:00
Daniel Stenberg
0d0828b18e font_get() and lcd_update_rect() are bitmap functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2786 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 07:42:36 +00:00
Linus Nielsen Feltzing
ec72d5a58a Some more tech info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2785 a1c6a512-1295-4272-9138-f99709370657
2002-10-30 23:39:37 +00:00
Linus Nielsen Feltzing
a02ffd5afa Some peak meter optimizations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2784 a1c6a512-1295-4272-9138-f99709370657
2002-10-30 23:01:27 +00:00
Björn Stenberg
d2df3c01dc Improved find_free_cluster(). Split readwrite() in two to simplify debugging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2783 a1c6a512-1295-4272-9138-f99709370657
2002-10-30 16:16:47 +00:00