Commit graph

502 commits

Author SHA1 Message Date
Daniel Stenberg
01bc8e682a play_list() is now modified to accept a playlist index that is either
meant in the unshuffled list or in the shuffled. There's an extra
parameter giving that info (which of course only makes sense when
shuffle is enabled).

This should make resume work with play-all-dir in shuffled mode.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1889 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 15:08:01 +00:00
Mats Lidell
fa54e94a7a Ignore recorder playmode states.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1880 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 11:51:24 +00:00
Markus Braun
a2feb8b4c8 Fix for fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1879 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 11:40:34 +00:00
Markus Braun
c6c848e91b Fixed wps usb bug. Before rockbox switched not to usb mode when cable was
pluged.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1870 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 11:08:49 +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
Robert Hak
e2580f6f11 lets point to the docs dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1849 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:25:16 +00:00
Daniel Stenberg
a816e4624a store the correct index in the resume info when we fire up a single song in a
directory


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1838 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 08:13:58 +00:00
Markus Braun
6110c98234 Consolidated display restore code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1836 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 06:40:06 +00:00
Markus Braun
c7aaca4615 Make use of the fixed lcd_getstringsize() for prop fonts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1835 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 06:23:23 +00:00
Markus Braun
a0300f5d7e corrected lcd margins for debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1831 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 22:13:20 +00:00
Markus Braun
11d208ca85 calculate the string width for numerical volume display and time display in
status bar.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1828 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:32:08 +00:00
Markus Braun
861eac8aea corrected display of values when entering a setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1827 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:30:32 +00:00
Björn Stenberg
1b05752a3f Always remove double-height when resuming
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1826 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:27:36 +00:00
Markus Braun
faacfea055 faster redraw of time display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1825 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:00:44 +00:00
Markus Braun
59429dab9d Define instead of a number.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1824 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 19:40:35 +00:00
Markus Braun
c41dcb9ae9 Now using lcd margins instead of a line offset for displaying status bar.
Needed to support fonts smaller than 8 pixels.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1823 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 19:39:55 +00:00
Markus Braun
5e4c1d2ad8 enabled status bar in menus on recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1822 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 19:37:00 +00:00
Björn Stenberg
65fb5f57dc status_draw() now uses lcd_update_rect()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1820 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 14:33:02 +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
Heikki Hannikainen
3c10db57c6 Use same updated method for delta calculation as powermgmt.c uses (maybe
it should go into a function after all).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1817 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 13:38:14 +00:00
Justin Heiner
97e4a8fbef Added draw_screen(id3) after volume change. Fixed bug in player WPS ID3 Info screen. It needed dont_go_to_menu = true and menu_button_is_down = false.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1816 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 13:10:43 +00:00
Heikki Hannikainen
bd32dee3b9 Use correct offset (0x14 instead of 0x18) when clearing the RTC user RAM space
when F2 is pressed in RTC RAM viewer.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1815 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 08:43:03 +00:00
Daniel Stenberg
5e5f1e247b When shuffle is ENABLED. And you press PLAY in a dir, the selected song
is now the first song to get played. To do this, we first remember which
song that was selected, shuffle the list and then find the selected song
in the shuffled list and play that.

This will have some interesting side effects if the song ends up for example
last in the shuffled list when we consider not always doing repeat-all as
then it'll reach the end of the playlist after one song.

We could optionally put the selected song first in the playlist and then
shuffle all the rest, as that would possibly be closer to what people will
assume it will do.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1803 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 12:45:01 +00:00
Björn Stenberg
43bcd823b7 Pause now works again (I broke it with my mpeg_is_playing() fix...)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1802 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 12:38:27 +00:00
Felix Arends
111597ba02 fixed missing APPSVERSION definition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1800 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 12:02:34 +00:00
Björn Stenberg
f210606c8f Expanded resume options: off/ask/on
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1797 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 10:57:55 +00:00
Justin Heiner
c0ea4a7d1d Added Smart(tm) ID3 displaying to the new 1 Line ID3. If no ID3 is available, it will display the filename instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1796 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 08:11:23 +00:00
Justin Heiner
eac3cfd8a7 More of the new 1 Line ID3 for the player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1794 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 07:27:04 +00:00
Justin Heiner
20955979ca Added a 1 Line ID3 display for player that displays the PlaylistPos: Artist - Title on the first line and time on the 2nd line. NOTE: WPS Display saved settings will be loaded incorrectly on the player the first time. Rearranged the WPS Settings menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1793 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 07:26:07 +00:00
Justin Heiner
0d04073576 Minor change in display of previous volume display patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1792 a1c6a512-1295-4272-9138-f99709370657
2002-08-17 00:41:36 +00:00
Justin Heiner
80743ff20c WPS in player now displays volume level while changing it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1791 a1c6a512-1295-4272-9138-f99709370657
2002-08-17 00:23:36 +00:00
Justin Heiner
152c023f95 Fixed ID3 Scrolling problem (player) when FF/RW in ID3 display mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1790 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 23:41:10 +00:00
Björn Stenberg
7113ec01b3 Fixed bad resume_index in dirs with both folders and files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1789 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 15:23:57 +00:00
Björn Stenberg
52dc182b81 Fixed double-height problem and broken fwd/rew.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1788 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 15:06:50 +00:00
Björn Stenberg
6224cdb166 Added resume. Works in dirs and playlists, shuffled or not. Resumes mid-song, but press pause on players before you shutdown so they get a chance to store the position on disk. Recorders use RTC ram. Todo: Time display is wrong after mid-track resume and ffd/rew is not handled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1787 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:41:47 +00:00
Daniel Stenberg
085e774675 reverted Felix Arends' mistake
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1786 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:14:37 +00:00
Felix Arends
9ed9765bfe windows makefile for firmware
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1784 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:08:50 +00:00
Daniel Stenberg
afc9b57c20 (while I remember this) The width padding is 4-byte aligned, nothing else...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1783 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:07:43 +00:00
Daniel Stenberg
a847271a24 removed code within #ifdef STANDALONE since it doesn't work and isn't ever
used.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1773 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 06:12:20 +00:00
Mats Lidell
a5cc9c93cf menu+left/right was broken for volume change. Patch submitted by
Magnus Holmgren.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1772 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 05:16:51 +00:00
Björn Stenberg
662330eb5d Button release filter was a little too effective
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1770 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 16:55:46 +00:00
Markus Braun
cb6bafd1f2 F3 now toggles global_settings.statusbar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1768 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 14:12:32 +00:00
Markus Braun
b70d575343 removed entry for status bar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1767 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 14:12:12 +00:00
Linus Nielsen Feltzing
3ed34a6227 New backlight settings with always-off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1766 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 13:56:06 +00:00
Björn Stenberg
1330bfbb7c Removed 'saving seetings' message, since writing is delayed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1765 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 13:50:14 +00:00
Björn Stenberg
70662fcad4 Save volume changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1764 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 13:49:12 +00:00
Björn Stenberg
c9d98ca927 Added delayed write for settings. Doesn't write until someone else accesses the disk.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1762 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 12:42:37 +00:00
Linus Nielsen Feltzing
5917e8157a Now we can have up to 400 files in a directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1761 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 12:28:52 +00:00
Daniel Stenberg
f769e5306f tags target added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1752 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 09:31:07 +00:00
Linus Nielsen Feltzing
b3a3885a0e Now discards stray BUTTON_REL events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1750 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 07:35:16 +00:00