Commit graph

609 commits

Author SHA1 Message Date
Hardeep Sidhu
86a4499d28 resume_index was being reset too early in ask once resume mode resulting in incorrect track being played.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3102 a1c6a512-1295-4272-9138-f99709370657
2003-01-15 22:46:49 +00:00
Björn Stenberg
994d598077 What? Don't players have an OFF button??? ;)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3099 a1c6a512-1295-4272-9138-f99709370657
2003-01-15 16:21:45 +00:00
Björn Stenberg
68eab383b6 Queue display is conditional for players too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3098 a1c6a512-1295-4272-9138-f99709370657
2003-01-15 14:55:07 +00:00
Björn Stenberg
caebdd4f00 Added ON+PLAY in dir browser for file actions: Rename, Delete and Queue.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3096 a1c6a512-1295-4272-9138-f99709370657
2003-01-15 14:52:53 +00:00
Kjell Ericson
9b986524c0 Moving the keyboard buffer empty routine to pure simulator code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3077 a1c6a512-1295-4272-9138-f99709370657
2003-01-13 12:54:59 +00:00
Kjell Ericson
d05e8b25e2 Special code for SIMULATOR because it might return the eyrelease of the shell when starting the simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3076 a1c6a512-1295-4272-9138-f99709370657
2003-01-13 12:35:59 +00:00
Mats Lidell
bce50325c5 Show complete status when asking for resume.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3069 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 16:12:50 +00:00
Kjell Ericson
c11b90fa49 Adapted player code for new Rocklatin character set.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3051 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 09:55:50 +00:00
Björn Stenberg
c78e1b07fe The much-anticipated queue patch by Hardeep Sidhu. Queue a file by holding down PLAY on it while playing other music.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3040 a1c6a512-1295-4272-9138-f99709370657
2003-01-09 00:55:00 +00:00
Björn Stenberg
c3fd67c6c9 Killed a dozen global variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3015 a1c6a512-1295-4272-9138-f99709370657
2002-12-18 14:57:45 +00:00
Björn Stenberg
34fa62b300 Removed clearing of resume info after STOP and USB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3014 a1c6a512-1295-4272-9138-f99709370657
2002-12-18 14:14:24 +00:00
Robert Hak
657a2f3d1c correction to make 'playlists' display option work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2895 a1c6a512-1295-4272-9138-f99709370657
2002-12-02 04:46:19 +00:00
Robert Hak
0789d42400 updateing a build failure (ata_power_off) and first attempt to add 'playlist only' file display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2894 a1c6a512-1295-4272-9138-f99709370657
2002-11-30 09:42:13 +00:00
Linus Nielsen Feltzing
1a2712072b Removed some unnecessary LCD updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2755 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 09:11:42 +00:00
Robert Hak
c88751ffa5 resume ask once option added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2672 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 07:25:33 +00:00
Linus Nielsen Feltzing
0a4b247080 The player firmware now autodetects the LCD type. No need for two player versions anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2658 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:25:57 +00:00
Robert Hak
dcb9efa2b8 removed button_set_repeat/release() calls since we don't really need to do it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2594 a1c6a512-1295-4272-9138-f99709370657
2002-10-12 04:10:52 +00:00
Hardeep Sidhu
3735a15aca Retrieve the first_index from playlist when updating resume settings instead of incorrectly using start_index
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2575 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 09:14:30 +00:00
Markus Braun
88098be7e3 Enable status bar in usb mode.
Moved usb_display_info() to screens.c
Added functions queue_wait_w_tmo() and usb_wait_for_disconnect_w_tmo().


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2574 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 08:56:23 +00:00
Björn Stenberg
5be4d340e4 Minor bug fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2536 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 15:45:50 +00:00
Björn Stenberg
dea31222b8 Added persistence of last .wps, .fnt and .lng file played in /.rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2535 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 15:42:40 +00:00
Björn Stenberg
b7638221cd Added new icons for .cfg and .txt files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2522 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 10:10:16 +00:00
Björn Stenberg
08181c7ce6 Renamed .eq files .cfg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2521 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 09:40:05 +00:00
Hardeep Sidhu
83611fe8c3 Store the first index of the playlist and use it when calculating the next index in repeat off mode so that shuffled dirplay works correctly when "play selected" is enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2514 a1c6a512-1295-4272-9138-f99709370657
2002-10-06 05:50:41 +00:00
Daniel Stenberg
773e7a70cc Gilles Roux's text viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2452 a1c6a512-1295-4272-9138-f99709370657
2002-09-30 19:05:03 +00:00
Björn Stenberg
5f8ac6d677 ON+UP/DOWN now acts as pgup/pgdn in dir browser on recorder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2443 a1c6a512-1295-4272-9138-f99709370657
2002-09-29 22:24:00 +00:00
Björn Stenberg
46d2d3868b Quickscreen now stays up after a quick key press only, not if key is held down
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2442 a1c6a512-1295-4272-9138-f99709370657
2002-09-29 22:05:21 +00:00
Björn Stenberg
8fb7312650 Only show scrollbar when needed. (Björn Fischer)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2406 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 19:41:23 +00:00
Björn Stenberg
a7dcf912e1 Merged 'mp3 filter' and 'show hidden files' into a single filter option.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2405 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 19:12:09 +00:00
Björn Stenberg
a4c3b03f15 Removed lcd_getfontsize(). Removed font parameters to lcd_putsxy and lcd_getstringsize.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2403 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 18:04:15 +00:00
Björn Stenberg
b1b8bd4dd1 Moved on_screen, f2_screen, f3_screen and handle_usb (renamed usb_screen) to a new file: screens.c.
typedef Menu replaced with a bool.
All code now calls usb_screen() for usb handling.
Nearly all code now deals with USB connect/disconnect properly.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2401 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 17:22:12 +00:00
Björn Stenberg
1715b2707e Added a flag icon for language files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2398 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 14:42:14 +00:00
Daniel Stenberg
85305da20d visual feedback on language loading
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2395 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 13:37:38 +00:00
Daniel Stenberg
a007ebf3b1 use the language load function for .lng files, oooh this is fun! ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2389 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 12:40:52 +00:00
Linus Nielsen Feltzing
f077710b86 New mpeg_status() function replaces mpeg_is_playing()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2379 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 07:49:16 +00:00
Björn Stenberg
bed3d3f7e0 New full ISO-8859-1 system font.
Added font loading from dir browser.
Changed default font location to /.rockbox/default.fnt.
Code-policed font code.
Removed old font tools.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2347 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 08:07:51 +00:00
Björn Stenberg
505eca76e6 New language/string handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2327 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 14:08:05 +00:00
Hardeep Sidhu
c2c8d1cd1e Fixed follow playlist bug when current track was in root directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2315 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:42:21 +00:00
Daniel Stenberg
93b231c693 Greg Haerr's new loadable font. No more #ifdef font-style, removed old
propfont and loadable font code. New font file format.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2269 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:33:59 +00:00
Hardeep Sidhu
ddfa4cb0e5 Go to current song (instead of root) when exiting wps after resume and browse current enabled. Also, if current file is at end of directory listing, show more files on the screen when exiting wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2247 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 17:32:15 +00:00
Eric Linenberg
ecca123dd2 Hardeep's browse current file patch. When hitting stop while playing, you will be on the current song, also this is configurable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2239 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 14:25:39 +00:00
Justin Heiner
4bd90cc2ca Custom EQ files can now be loaded (*.eq). Docs coming soon :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2197 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 06:02:02 +00:00
Robert Hak
91e2694d7c Bjorn (Fisher)'s patch to skip the FAT volume ID being shown.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2194 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 04:59:23 +00:00
Justin Heiner
e4a27617c0 The beginnings of loadable EQ's from the tree. Ifdef'd as CUSTOM_EQ
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2177 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 01:20:10 +00:00
Björn Stenberg
0ad2010865 Added dir filter toggle (mp3/m3u) to F2 quick-set screen.
Added UpArrow and DownArrow icons.
Simplified dir reload handling in tree.c


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2158 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 20:47:23 +00:00
Justin Heiner
4498b5e9a3 Changed Player Tree-Icon display to not show any icon for unknown files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2155 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 16:37:12 +00:00
Björn Stenberg
abe11fd910 Added quick-set screens to F2 (play modes) and F3 (screen settings) in dir browser and wps. Fixed minor propfont issues in lcd.c. Exported icons outside of icons.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2154 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 15:58:47 +00:00
Björn Stenberg
c521ed128d Added Randy Wood's ROLO
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2149 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 09:44:08 +00:00
Linus Nielsen Feltzing
c3a1bd2fce Smarter handling of custom chars
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2147 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 09:39:30 +00:00
Linus Nielsen Feltzing
10452d285b Now we have file type icons on the player, thanks to Justin Heiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2144 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 07:53:51 +00:00
Björn Stenberg
1a682bedad Renamed "wps.config" to "default.wps".
Added *.wps loading from dir browser.
Added ugly 'wps' icon. :-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2131 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 12:46:32 +00:00
Björn Stenberg
40d866bd9e Fixed build errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2113 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 20:08:08 +00:00
Björn Stenberg
407bfb04f1 Added repeat for ENTER and EXIT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2108 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 14:49:56 +00:00
Justin Heiner
b5025a8c40 USB Related:
Consolidated some more of the USB code in the WPS.
    Have backlight turn offf when USB Connected.
menu.c:
    LINE_X was set wrong for player.
settings_menu.c / wps-display.c:
    Added 1 Line ID3+. Has progress bar & Kbps.
    Renamed some of the WPS options to be more readable.
wps.c / wps-display.c
    Fixed problem with FF/REW when 'Remaining Time' is on.
    Added %pb to the WPS mix. Player progress bar thingy.
    Thanks to whoever fixed my PLAYER_PROGRESS function :-)
    Changed how volume changes on player (works better now).
    General cleanup of Custom WPS code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2091 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 04:58:35 +00:00
Markus Braun
000c2db035 Added scrollbar to tree view and menus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2084 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 13:49:32 +00:00
Dave Chapman
4368a7378a syntax error fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2036 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:03:55 +00:00
Dave Chapman
8d12946d03 allow mp2 and mpa as valid file extensions and rename TREE_ATTR_MP3 to TREE_ATTR_MPA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2035 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 13:58:19 +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
f1bf9e7286 Now doesn't try to play non-mp3/m3u files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1960 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 22:15:51 +00:00
Daniel Stenberg
aa458aa9d8 MENU_DISK_CHANGED is the new value for telling disk content might have
changed


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1949 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:41:25 +00:00
Daniel Stenberg
b285076925 Remade the menu system slightly. All functions invoked from menus now use
the Menu typedef as return type, and *ALL* menus that intercept USB connect
can then return MENU_REFRESH_DIR so that the parent (any parent really) that
do file or dir-accesses knows that and can do the refresh. If no refresh
is needed by the parent, MENU_OK is returned.

Somewhat biggish commit this close to 1.3, but we need to sort out this
refresh-after-usb-connected business.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1948 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:32:52 +00:00
Daniel Stenberg
634551ffeb statusbar bug fix when going to the menu from the dir browser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1933 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 22:53:12 +00:00
Daniel Stenberg
053d904645 Bill Napier's patch slightly remodelled. This adds a setting called
"Show hidden files" that if enabled will show files with the hidden
attribute and/or starting with a dot in the dir browser. If the setting
is set to Off, files/dirs starting with a dot or that have the hidden
attribute set will be... yes, hidden.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1926 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 15:47:30 +00:00
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
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
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
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
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
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
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
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
Björn Stenberg
f385e36a05 Getting a few pixels more filename display width by using a smaller cursor icon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1723 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 20:55:08 +00:00
Björn Stenberg
e33d66a3ac Tell user when limits are reached
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1692 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 22:52:19 +00:00
Björn Stenberg
6752ee445b Added remote vol up/down as next/prev navigation keys
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1688 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 18:28:51 +00:00
Björn Stenberg
cd225736f9 First version of loadable fonts patch by Alex Gitelman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1666 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 09:17:47 +00:00
Björn Stenberg
c960330ebf Fixed indexing bug in build_playlist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1622 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 19:03:14 +00:00
Björn Stenberg
079b2d1865 Moved globals back into dirbrowse() now that dirlist hack is gone.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1612 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 12:06:38 +00:00
Björn Stenberg
75864367e2 Removed peek_next_track()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1611 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 12:05:17 +00:00
Linus Nielsen Feltzing
e10fc4c86c Now adjusts if the cursor goes off-screen on status bar changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1609 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 10:46:10 +00:00
Linus Nielsen Feltzing
1e02e98d4a Compensates the starting position for non-mp3 files in the playlist build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1606 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 06:42:02 +00:00
Björn Stenberg
c1d9b15607 Removing scroll acceleration for the release (don't worry, I've saved the patch)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1603 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 20:51:37 +00:00
Markus Braun
de8fbf00a8 Added status bar to file browser and wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1582 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 10:35:26 +00:00
Linus Nielsen Feltzing
8abcf1bd20 Changed playlist API again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1575 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 06:04:24 +00:00
Daniel Stenberg
5c507e94f0 C99 code breaks compiling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1571 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 18:38:14 +00:00
Eric Linenberg
9b7de87653 rushed it. missed one little bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1569 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 18:24:20 +00:00
Eric Linenberg
8415ab9a74 added support for players for high speed browsing, but will not be much faster than the default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1567 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 18:16:54 +00:00
Eric Linenberg
9e91b95c7a added a speedup for browsing long directories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1565 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 18:11:00 +00:00
Linus Nielsen Feltzing
4a4f17f416 Now builds a RAM-based playlist when playing a directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1561 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 13:10:51 +00:00
Daniel Stenberg
82a1cad9b8 no longer stop playback when trying to 'exit' the root directory, the
player version can't stop playback in the dir browser now but requires a
switch into the wps. The Recorder version however now stops playback when
OFF is pressed in the dir browser.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1545 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 09:25:45 +00:00
Linus Nielsen Feltzing
f140b200ba The new button handling filtered out the USB_CONNECTED message
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1470 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 20:55:39 +00:00
Linus Nielsen Feltzing
b3d0b6ea2a Better button and play status handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1464 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 19:41:58 +00:00
Linus Nielsen Feltzing
51782eb436 Safer dir reread after USB mode, by Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1445 a1c6a512-1295-4272-9138-f99709370657
2002-07-25 11:33:32 +00:00
Linus Nielsen Feltzing
fe689a8541 First crude status display for Players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1408 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 22:45:20 +00:00
Linus Nielsen Feltzing
b81adc40c0 Now rescans the dir when sort_case is changed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1403 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 16:44:06 +00:00
Linus Nielsen Feltzing
c132c48677 Loudness, Superbass and sorting patch by Heikki Hannikainen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1401 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 16:39:17 +00:00
Björn Stenberg
bd44e60197 New sort: Dirs first, then files. And case insensitive.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1376 a1c6a512-1295-4272-9138-f99709370657
2002-07-17 11:25:04 +00:00
Björn Stenberg
ad7de31660 Fixing the bugs introduced by last commit.
Using attributes for M3U and MP3 instead of checking filenames.
Chops extensions only on display, not in cache.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1374 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 15:30:23 +00:00
Björn Stenberg
761d6840b6 MP3/M3U filter update: Now filters out hidden files and directories and also cuts the extension off of m3u and mp3 files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1373 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 14:40:27 +00:00
Linus Nielsen Feltzing
8c57ad9c38 Adjusted a few buffer sizes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1360 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 22:46:38 +00:00
Linus Nielsen Feltzing
6b91b7ea57 Relative path playlist patch by Mat Pritchard
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1342 a1c6a512-1295-4272-9138-f99709370657
2002-07-05 12:48:17 +00:00
Linus Nielsen Feltzing
14d63b7fdc Now only reacts to UP/DOWN keypresses if there are files in the directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1316 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 23:08:48 +00:00
Linus Nielsen Feltzing
dad6d76ef2 Wrapping patch by Bill, Matthew and Lee
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1311 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 18:03:00 +00:00
Linus Nielsen Feltzing
c4c52f8209 WPS screen now handles USB detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1282 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 11:06:23 +00:00
Linus Nielsen Feltzing
da501ee329 Removed USB handling from simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1271 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 16:27:39 +00:00
Linus Nielsen Feltzing
8523a441b4 Even better USB handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1267 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 14:12:27 +00:00
Linus Nielsen Feltzing
e0b23fe50d Better USB handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1264 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 13:23:58 +00:00
Björn Stenberg
24fdde0894 Added mp3/m3u filter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1230 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 09:12:29 +00:00
Björn Stenberg
e24a897de4 Allow exit from dir in playmode 2 (playlist)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1226 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 08:23:57 +00:00
Björn Stenberg
7bd3b194e6 Starting a playlist now displays WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1222 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 01:25:36 +00:00
Björn Stenberg
34d1e1b91a Dir-play mode now continues until you step out of the dir (not just stepping out of WPS).
You now cannot enter WPS unless you are playing music.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1221 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 01:20:08 +00:00
Björn Stenberg
aeb1af39f8 Remove play.h dependency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1213 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 23:39:58 +00:00
Björn Stenberg
a72f95c2ba Added next/previous track
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1211 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 23:25:03 +00:00
Björn Stenberg
593605f8ee Working while-playing-screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1186 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 14:21:06 +00:00
Björn Stenberg
bb9aaf5065 A step towards WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1184 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 13:26:04 +00:00
Björn Stenberg
c00557a2b9 Re-enabled PLAY key for recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1178 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 11:10:24 +00:00
Björn Stenberg
8b1aba8447 Don't lock ourselves in on empty dirs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1101 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 20:10:58 +00:00
Daniel Stenberg
1a17d356f2 only menu and prev are treated in directories with no entries
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1064 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 11:22:48 +00:00
Daniel Stenberg
49ed3e921e cut off the browse line to maximize the space used for dir browsing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1061 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 09:16:47 +00:00
Daniel Stenberg
9296dfb2c6 check for .m3u extensions case insensitively
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1058 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 08:23:07 +00:00
Björn Stenberg
410e8565b0 Don't update twice
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1048 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 14:42:10 +00:00
Daniel Stenberg
91f743f17e killed off a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@998 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 10:39:11 +00:00
Daniel Stenberg
bf603f98cb made to use the new cursor bitmap on the recorder, so put_cursorxy() is
now a better way to position the cursor


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@993 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 08:47:44 +00:00
Björn Stenberg
fd99f2210f Don't try to scroll in an empty dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@989 a1c6a512-1295-4272-9138-f99709370657
2002-06-13 22:38:09 +00:00
Björn Stenberg
23ed32cf41 Set margins when clearing screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@978 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 15:17:34 +00:00
Björn Stenberg
1165b9a63f Removed erroneous {
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@973 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 09:01:50 +00:00
Björn Stenberg
cf55acfb29 Cleaned out a lot of #ifdefs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@972 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 08:59:48 +00:00
Björn Stenberg
3d762e9728 Fixed scroll screen garbage bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@970 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 08:06:13 +00:00
Robert Hak
3a89b64773 playlist icon now displayed for playlists
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@968 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 07:45:42 +00:00
Björn Stenberg
364f97cc44 Stop scrolling before leaving directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@956 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 11:02:32 +00:00
Björn Stenberg
42770ea88e Added filename scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@937 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 13:24:27 +00:00
Linus Nielsen Feltzing
d044f5575f Changed prototype of playtune
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@926 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 07:58:04 +00:00
Daniel Stenberg
7bd65ab5bd include playlist.h to get rid of warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@915 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:23:32 +00:00
Daniel Stenberg
c60d12a067 pressing play on an .m3u file will run the playlist code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@891 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 21:44:29 +00:00
Björn Stenberg
1d3226563e Added peek_next_track() for playing all files in a dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@854 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 12:11:22 +00:00
Björn Stenberg
3952692571 Turn off double-height when displaying file list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@853 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 11:16:25 +00:00
Björn Stenberg
9314a68db6 Replaced - cursor with more suitable char for player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@848 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 09:04:51 +00:00
Björn Stenberg
2b203ca191 Remember cursor position instead of searching for it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@840 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 07:19:38 +00:00
Björn Stenberg
1fc4fee8cb Added directory sorting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@822 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:01:36 +00:00
Björn Stenberg
f88f91153f STOP in root dir stops playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@821 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 13:23:03 +00:00
Daniel Stenberg
64c5ff8f3f removed odd unused extern
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@818 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 09:50:54 +00:00
Felix Arends
ebbbe4b863 included sprintf.h for snprintf definition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@803 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 16:38:19 +00:00
Björn Stenberg
082ba5196d Don't scroll past end of file list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@779 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 09:00:13 +00:00
Björn Stenberg
f03d691af1 Fixed bad display on recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@774 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 08:18:46 +00:00
Björn Stenberg
af87be0514 No debugf() please
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@773 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 16:36:12 +00:00
Björn Stenberg
b3f59c4172 Removed some silly code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@772 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 16:32:43 +00:00
Björn Stenberg
361aaf6acd Now caches dir. 200 files max, no sorting yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@771 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 16:26:12 +00:00
Björn Stenberg
856a13a2d2 Adapted to modified button_get() call
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@760 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 12:10:12 +00:00
Björn Stenberg
a10d9fa7ce STOP in root stops playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@755 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 14:55:40 +00:00
Daniel Stenberg
2b56bcac3d removed bad extern
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@731 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 09:26:26 +00:00
Björn Stenberg
3ed2874669 Proper declaration of show_splash and main_menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@702 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 15:51:39 +00:00
Björn Stenberg
a178e82588 Only the simulator may exit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@653 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 20:23:35 +00:00
Robert Hak
5a554fc4a3 im an idiot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@652 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 18:05:31 +00:00
Robert Hak
eb729c2a51 We can now turn the sim off... couldn't before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@651 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 18:02:47 +00:00
Björn Stenberg
6050e86643 Removed indexing bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@649 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 15:04:48 +00:00
Björn Stenberg
e493efd12b Added main_menu access
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@643 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 14:30:54 +00:00
Björn Stenberg
244688e5c2 Added player keypad support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@599 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 14:48:40 +00:00
Björn Stenberg
8218285c0b Initial revision
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@586 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 12:53:40 +00:00