Commit graph

818 commits

Author SHA1 Message Date
Björn Stenberg
1f4e4d339c Reverted back to monospace again. Let's not rock the boat until people can change it themselves (i.e. loadable fonts).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2032 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:54:41 +00:00
Linus Nielsen Feltzing
cfbdf142bc More error handling, handles empty MP3 files now. Part 2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2031 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:50:19 +00:00
Linus Nielsen Feltzing
606b0f545d More error handling, handles empty MP3 files now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2030 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:43:49 +00:00
Linus Nielsen Feltzing
030b6bf4d4 Even still more simulator fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2028 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:03:43 +00:00
Linus Nielsen Feltzing
94b8f284d0 Even more simulator fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2027 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 10:56:42 +00:00
Linus Nielsen Feltzing
97bead39e4 Simulator fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2026 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 10:54:01 +00:00
Björn Stenberg
ea8deec51c Repearied LOADABLE_FONTS, which was broken by the recent propfonts scroll fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2025 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 10:41:49 +00:00
Linus Nielsen Feltzing
ccfef0480b First attempt to use the new playlist API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2024 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 10:21:32 +00:00
Björn Stenberg
af406a1f6d Made LCD_PROPFONTS default on recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2016 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 22:49:13 +00:00
Linus Nielsen Feltzing
0a3ab38ada Adjusted the key sense voltage levels a little
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2013 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 21:11:15 +00:00
Linus Nielsen Feltzing
22e09a3fb8 Fixed some nasty mutex glitches
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2012 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 21:06:48 +00:00
Mats Lidell
d25cd8246d Update id3->index when changing song in simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2005 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 14:08:50 +00:00
Hardeep Sidhu
441f48f7c7 Fixed elapsed time display after resume for large VBR files. Also, update elapsed time earlier after ffw/rew to try and avoid the time display jump. Finally, skip the id3v2 tag after rew.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1992 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 07:19:25 +00:00
Björn Stenberg
f0599be133 Don't call perform_sleep() while already sleeping
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1988 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 22:05:47 +00:00
Björn Stenberg
457b8a0a67 Added configurable disk spindown. The disk will also now not spin down while you are running around in the dir browser or pressing buttons in the wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1987 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 13:21:14 +00:00
Björn Stenberg
b5aceb8d2b Propfont fix/kludge for the scroll code. Now doesn't garble the line and should start scrolling the lines that need it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1981 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 10:30:11 +00:00
Hardeep Sidhu
f9914b77d4 Don't seek in buffer if data is being loaded. This fixes the track silence when ffw/rew while data is being loaded.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1973 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 03:30:31 +00:00
Hardeep Sidhu
c674415a16 Make sure there is sufficient data in buffer before resuming after ffw.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1970 a1c6a512-1295-4272-9138-f99709370657
2002-08-25 05:11:25 +00:00
Hardeep Sidhu
e60a999ca0 Fixed minor bug in previous change: 0 is a valid sector
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1969 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 18:36:08 +00:00
Hardeep Sidhu
f9e7ed4694 Data at end of file was not being read if last sector fell on cluster boundary
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1968 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 17:00:10 +00:00
Heikki Hannikainen
adbe4eddf9 Make close() check for a valid fd and set errno accordingly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1965 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 09:47:54 +00:00
Linus Nielsen Feltzing
51d9ae63ca Missing break in the SYS_USB_CONNECTED case
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1944 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 09:36:49 +00:00
Daniel Stenberg
af341158db bad bad bad snprintf() overflow the buffer if the string passed in with a
%s didn't fit within the buffer!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1943 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 08:29:44 +00:00
Daniel Stenberg
57392acd18 the simulator code now deals better with playlist_next() returning NULL
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1941 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 07:56:36 +00:00
Hardeep Sidhu
e255798f44 Fixed a flaw in the ffw/rew logic for large vbr files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1939 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 06:36:32 +00:00
Justin Heiner
2630245cb9 Added NSauzede's patch to detect USB while in a Menu. It also adds the USB icon to the player while in USB mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1935 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 02:17:00 +00:00
Hardeep Sidhu
754651efdd Reset mp3buf_swapwrite when selecting next track that is already in buffer. This should fix the track silence bug. Also, when seeking to end of file, leave some bytes at the end so that the transition to the next track is done correctly. This should fix the few seconds repeat at beginning of next song.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1934 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 23:01:25 +00:00
Björn Stenberg
518e1ec1e4 New measurements show ATA_SLEEP saves us 30-40 mA over ATA_STANDBY.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1932 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 21:53:10 +00:00
Daniel Stenberg
e666ce933a when we want to open a file, we want the exact specified file name, not
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-22 20:13:21 +00:00
Felix Arends
c94aa32731 bitswap.s is linked with librockbox as well now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1925 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 15:01:24 +00:00
Daniel Stenberg
ae3952ec90 make mp3info() better return true on bad mp3 files, also make
getsonglength() return 0 if the length is unknown


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1923 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 07:59:31 +00:00
Daniel Stenberg
22633d66a2 Check the return code from each call to mp3info(), as it might return true
to indicate a bad mp3 file.

TODO: when having a dir full of zero-byte mp3 files and pressing play on
one using the simulator, this'll go crazy.

TO CHECK: I haven't checked how the live target code behaves on this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1922 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 07:58:18 +00:00
Daniel Stenberg
5cb571297e CONFIG, API, CONTRIBUTING and CREDITS are now in ../docs/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1915 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 06:15:01 +00:00
Heikki Hannikainen
834a3c2509 Charge longer, deeper, better. Also restart charging already at 95%, since
90% is already pretty empty.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1900 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 20:09:13 +00:00
Heikki Hannikainen
fdb44c9175 Reset the power history with the latest value when starting charging
so that we don't use values before discharge for the long-term delta
calculation.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1899 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 20:06:41 +00:00
Daniel Stenberg
c6c080defe include kernel.h to work stand-alone better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1897 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 17:45:22 +00:00
Björn Stenberg
0c2e9f21e3 Stays in pause mode after seek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1896 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 17:38:56 +00:00
Daniel Stenberg
6b8cf08b6d Magnus Öman's rocking USB logo is now being put to use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1891 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 17:22:11 +00:00
Robert Hak
9047060d99 lets point to ../docs/README
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1871 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 11:13:46 +00:00
Robert Hak
e532316e92 moved these files to /docs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1867 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 11:02:36 +00:00
Mats Lidell
6866cef936 Added icons for charcell simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1857 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:43:31 +00:00
Markus Braun
bcbb8046f8 Fixed lcd_getstringsize() for prop fonts. Now also counts the blank columns
after each character.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1834 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 06:22:02 +00:00
Björn Stenberg
82e8b0becb Removed warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1830 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 21:28:31 +00:00
Björn Stenberg
3a9e7b5f13 Now updates time display after resume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1829 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:38:50 +00:00
Markus Braun
eef970428b added functions to get the current margins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1821 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 19:33:55 +00:00
Linus Nielsen Feltzing
bfc8d0ac44 Faster, 8-bit bitswap by Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1819 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 14:22:11 +00:00
Daniel Stenberg
ef3a3e7093 use the gcc option -ffreestanding: (quote from the gcc man page)
"A freestanding environment is one in which the standard library may not
exist, and program startup may not necessarily be at "main".  The most obvious
example is an OS kernel."


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1818 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 14:00:42 +00:00
Daniel Stenberg
3d6df952ec Added support for the unofficial MPEG version 2.5 format that uses a somewhat
different frequency table but the same bitrate table that V2 has.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1805 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 14:15:33 +00:00
Björn Stenberg
9315282b1e Fall back to fixed font if loadable font is not present
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1801 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 12:03:02 +00:00
Björn Stenberg
34486b7860 Merged Hardeep's resume fix. Also mpeg_is_playing() now returns true even when paused (broke some other code).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1798 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 11:00:29 +00:00