Commit graph

639 commits

Author SHA1 Message Date
Christi Scarborough
9e8918b086 Resume rework. With the new resume function, 'Ask' and 'Ask Once' are redundant options, since you can resume after any startup using the resume key. These have been stripped out, and the resume code has been streamlined. A small bug in button handler initialisation has been fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6911 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 12:23:09 +00:00
Jens Arnold
7e11acbce9 Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 23:15:47 +00:00
Jonas Häggqvist
ba5f9cf181 Patch #1218188 by Konstantin Isakov: Don't wrap around scroll in file-browser when button is repeated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6884 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 21:43:31 +00:00
Christi Scarborough
37c3d8b610 Quick menu for iRiver: A long press on the PLAY key in the browser or the WPS will take you into the quick menu screen where certain common settings can be adjusted. Works just the same as F2 menu on Archos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6880 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 20:16:26 +00:00
Christi Scarborough
b16cc2636e Fix broken Ondio bulids
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6875 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 15:50:26 +00:00
Christi Scarborough
37aaa13a3e Ooops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6873 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 15:25:06 +00:00
Christi Scarborough
314c2dec1e Resume behaviour. Resume setting renamed to 'Resume on Startup'. Pressing the resume button from the WPS now resumes without prompting, regardless of the resume on startup setting. Error message displayed if no playlist in memory. (Bug in iriver playlist handling means that playlists don't get unloaded at the end of the playlist, so this feature does not currently work on iRiver.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6872 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 15:21:29 +00:00
Linus Nielsen Feltzing
6e0436f65c Henrik Backes patch for WPS and tag database context menus. Tag database context menus still don't work as expected. Hold Play/Select to pop up the menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6835 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 01:31:26 +00:00
Jens Arnold
337f3a1b99 Make the simulator builds know about software poweroff, for more consistent behaviour to the targets. Changed some #if conditions to better reflect the hardware. Fixes iriver sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6833 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 23:24:45 +00:00
Miika Pekkarinen
af53cef8ac cpu_boost(true) was called twice.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6775 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 10:39:47 +00:00
Linus Nielsen Feltzing
9a899213fc Patch #1223219 by Dave Wiard - Add all supported audio files with Create Playlist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6772 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 09:00:53 +00:00
Jens Arnold
e2cd58145d Proper MPEG layer 1 support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6745 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 09:51:10 +00:00
Dave Bryant
57c6f6e57e Initial pass at WavPack codec playback support (and my first commit...)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6698 a1c6a512-1295-4272-9138-f99709370657
2005-06-13 06:00:35 +00:00
Marcoen Hirschberg
7ac0b350b8 Remove TREE_RC_ENTER, it was redundant
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6697 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 21:11:22 +00:00
Marcoen Hirschberg
fb369b063b Make remote-control code more complete
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6696 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 20:18:37 +00:00
Marcoen Hirschberg
c19e0f0d02 Add remote control support to tree and menu. Move defines from wps.c to wps.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6692 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 16:10:17 +00:00
Marcoen Hirschberg
7527bfb4d6 center-scrolling: start scrolling when the cursor is at 2/3 of the screen. There is still a bug when the fontsize changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6678 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 17:35:30 +00:00
Dave Chapman
775923e363 Add .a52 and .mpc to supported list of audio files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6669 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 12:37:36 +00:00
Dave Chapman
55ed7d7214 First codeca52 (A52 aka AC3 playback) - it is already faster than realtime, with zero optimisations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6668 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 10:08:17 +00:00
Dave Chapman
6c082a857a First attempt at codecflac.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6597 a1c6a512-1295-4272-9138-f99709370657
2005-06-07 18:53:01 +00:00
Jens Arnold
27abc2a641 (1) Early USB detection on boot, before trying to mount the partitions. Cleaner & quicker; removes the need for the extra USB check at the top of ask_resume() which caused a deadlock in screenshot mode (see patch #1110332). On Ondio, this allows to leave an MMC in the slot when booting with USB connected for instant access. (2) Ondio: Track MMC status, only ask to remove the card if required. Probe MMC status if unknown.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6488 a1c6a512-1295-4272-9138-f99709370657
2005-05-17 22:10:51 +00:00
Jens Arnold
32be590e6d Added the 'only return to root if current dir no longer exists' functionality to the plugin handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6487 a1c6a512-1295-4272-9138-f99709370657
2005-05-17 18:28:32 +00:00
Jens Arnold
84c0d16da4 Save some code for Ondio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6485 a1c6a512-1295-4272-9138-f99709370657
2005-05-17 17:07:11 +00:00
Jens Arnold
8f66422f4f Forgot to add the 'not always back to root' feature for menu and quickscreens returning from USB mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6476 a1c6a512-1295-4272-9138-f99709370657
2005-05-16 12:07:25 +00:00
Jens Arnold
7067f188bf Browser enhancements: (all) Only go back to the root dir after USB mode if the current dir no longer exists. (all) Use TREE_MENU as a quick alternative to leave a sub-browser. (recorders) Correct indication of available functions in the buttonbar. Indicate the new 'quick leave' method accordingly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6475 a1c6a512-1295-4272-9138-f99709370657
2005-05-16 11:50:46 +00:00
Jens Arnold
eb8ceadc32 Bugfixes: (all) Don't try to build the directory list when showdir() returns -1. (hotswap) Handle the 'dir no longer valid' situation in all cases, not only when the file system change happens while browsing. Force this detection when returning from wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6472 a1c6a512-1295-4272-9138-f99709370657
2005-05-14 23:48:18 +00:00
Jens Arnold
54d43ef0c1 Hotswap support in file browser: Don't reload the root dir if not in the root and the current path is still valid.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6405 a1c6a512-1295-4272-9138-f99709370657
2005-05-05 00:27:41 +00:00
Jens Arnold
8485901c3f Bugfix: Correctly compose path to _dirname.talk for dirs located in the root. Fixes non-working _dirname.talk in a secondary volume root (<MMC1>).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6399 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 22:22:21 +00:00
Michiel Van Der Kolk
929e7837cd Restructurizing database code, seperating database code from dbtree code,
wrote the first basic functions to manipulate fileentries.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6359 a1c6a512-1295-4272-9138-f99709370657
2005-04-26 21:37:44 +00:00
Jens Arnold
04ed408de9 ID3DB: Reload database when returning from USB mode. Fixed reload_root issue in id3db browse mode. The database is now properly closed before entering USB mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6358 a1c6a512-1295-4272-9138-f99709370657
2005-04-26 19:23:47 +00:00
Linus Nielsen Feltzing
1fa117d67c Temp fix to allow playlist creation with .ogg, .wav and .wma files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6261 a1c6a512-1295-4272-9138-f99709370657
2005-04-07 21:07:04 +00:00
Linus Nielsen Feltzing
09e55a9218 Connected my brain
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6257 a1c6a512-1295-4272-9138-f99709370657
2005-04-06 13:06:37 +00:00
Linus Nielsen Feltzing
ce726be195 Added the IS_SYSEVENT() macro
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6256 a1c6a512-1295-4272-9138-f99709370657
2005-04-06 13:05:06 +00:00
Linus Nielsen Feltzing
3d2178148b Moved the car adapter mode handling to apps/, now every thread gets SYS_CHARGER_CONNECTED and SYS_CHARGER_DISCONNECTED events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6255 a1c6a512-1295-4272-9138-f99709370657
2005-04-06 11:12:22 +00:00
Linus Nielsen Feltzing
8a237a829e More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Linus Nielsen Feltzing
88d5aab5a1 Better #ifdef for the RoLo functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6239 a1c6a512-1295-4272-9138-f99709370657
2005-03-31 10:50:15 +00:00
Linus Nielsen Feltzing
bd42d31e5e RoLo now works on the iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6238 a1c6a512-1295-4272-9138-f99709370657
2005-03-31 08:47:02 +00:00
Linus Nielsen Feltzing
d3a7244645 Fix for bug #1161173 by Mark A Hillebrand, disabled Follow Playlist in ID3 database mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6187 a1c6a512-1295-4272-9138-f99709370657
2005-03-11 08:18:28 +00:00
Christi Scarborough
a38947114d Turn off the RTC alarm if it's gone off. Best not to have alarm events unless the user has specifically asked for them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5973 a1c6a512-1295-4272-9138-f99709370657
2005-02-16 12:18:16 +00:00
Jean-Philippe Bernardy
39eb8e134f long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5930 a1c6a512-1295-4272-9138-f99709370657
2005-02-12 12:20:10 +00:00
Linus Nielsen Feltzing
6da68019b5 iRiver: Allow shutdown when charging
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5887 a1c6a512-1295-4272-9138-f99709370657
2005-02-10 21:53:41 +00:00
Christi Scarborough
39eb73060b fix compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5800 a1c6a512-1295-4272-9138-f99709370657
2005-02-05 20:14:57 +00:00
Christi Scarborough
eeed057b8b Bugfix: Resume does not prompt if the unit has woken due to the RTC alarm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5799 a1c6a512-1295-4272-9138-f99709370657
2005-02-05 19:57:19 +00:00
Christi Scarborough
8a8bd91695 New Recording Option: Show recording screen on startup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5778 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 10:37:21 +00:00
Jose Maria Garcia-Valdecasas Bernal
8d2fe0dcc1 fixes an issue with LANG_PLAYINDICES_PLAYLIST id.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5756 a1c6a512-1295-4272-9138-f99709370657
2005-02-03 01:13:54 +00:00
Jörg Hohensohn
70bf516db1 MMC hotswap enabled for Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5703 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 23:02:05 +00:00
Jens Arnold
3c348df5ca Changed several places to use button_clear_queue() to empty the button queue. Added the ability to empty the (system's) button queue to the X11 simulatr.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5665 a1c6a512-1295-4272-9138-f99709370657
2005-01-26 22:48:25 +00:00
Björn Stenberg
a4e95ee2e6 Fixed another cause of 'stuck in subdir' bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5659 a1c6a512-1295-4272-9138-f99709370657
2005-01-25 08:55:21 +00:00
Björn Stenberg
b3c836522a Don't show browser before resume.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5625 a1c6a512-1295-4272-9138-f99709370657
2005-01-21 15:42:47 +00:00
Björn Stenberg
30d8f6192f Added music playing from ID3 browser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5616 a1c6a512-1295-4272-9138-f99709370657
2005-01-20 16:24:26 +00:00
Björn Stenberg
be7452d31e Fixed crash when changing between id3 and file mode in wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5615 a1c6a512-1295-4272-9138-f99709370657
2005-01-20 14:00:20 +00:00
Björn Stenberg
cb7a3d27e2 Added a virtual 'Artists,Albums,Songs' root folder in ID3 browser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5606 a1c6a512-1295-4272-9138-f99709370657
2005-01-19 15:01:31 +00:00
Björn Stenberg
f2758d1884 Fixed plugin-browser-shows-id3db bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5598 a1c6a512-1295-4272-9138-f99709370657
2005-01-18 23:07:23 +00:00
Björn Stenberg
ea1188ce8c Repaired broken exit from plugin/font/language browser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5597 a1c6a512-1295-4272-9138-f99709370657
2005-01-18 22:59:29 +00:00
Björn Stenberg
cdd79a35d4 Repaired broken resume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5596 a1c6a512-1295-4272-9138-f99709370657
2005-01-18 22:50:47 +00:00
Björn Stenberg
84c7d88021 Added support for very large tables in ID3 database.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5595 a1c6a512-1295-4272-9138-f99709370657
2005-01-18 22:45:00 +00:00
Björn Stenberg
a50cc0bd34 Minor tweaks to compile on win32.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5578 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 12:56:00 +00:00
Björn Stenberg
8a5de5fec9 Added ID3 database support. Still very early.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5575 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 11:39:46 +00:00
Jens Arnold
5265edda08 Removed remnants of buttonbar code for units without recorder keypad.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5563 a1c6a512-1295-4272-9138-f99709370657
2005-01-13 19:37:34 +00:00
Jens Arnold
98ccef267f Prevent entering the menu when returning from a subroutine with MODE-repeat events still in the queue (e.g. from renaming a file) (Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5526 a1c6a512-1295-4272-9138-f99709370657
2005-01-02 12:08:34 +00:00
Jörg Hohensohn
da84857631 prepared to mount multiple partitions into one logical file system (most useful for Ondio, internal memory + external MMC)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5514 a1c6a512-1295-4272-9138-f99709370657
2004-12-28 22:16:07 +00:00
Linus Nielsen Feltzing
8f032aed52 Patch #911756 by Steve Cundari, bookmark follows repositioned MP3 file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5481 a1c6a512-1295-4272-9138-f99709370657
2004-12-07 14:20:37 +00:00
Jens Arnold
d203d4bfb1 Leave sub-browsers after returning from usb mode, to avoid confusing display of the drive root.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5340 a1c6a512-1295-4272-9138-f99709370657
2004-10-24 23:19:13 +00:00
Jens Arnold
821e625e74 Fixes: (1) Selecting previous file/dir via remote in browser works again (typo). (2) The resume request should now always work as intended, properly ignoring button releases. The power button (ON for recorder/player, OFF for ondio) is now only ignored until the first release.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5337 a1c6a512-1295-4272-9138-f99709370657
2004-10-24 20:32:15 +00:00
Jörg Hohensohn
40ae63b4fc Improvement for talking filenames: While loading the directory, already cache for which files are clips available. This avoids unsuccessful spinups while browsing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5317 a1c6a512-1295-4272-9138-f99709370657
2004-10-21 18:34:48 +00:00
Björn Stenberg
87ab7a07a6 Proper fix for TREE_RUN trailing release event
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5273 a1c6a512-1295-4272-9138-f99709370657
2004-10-14 07:48:49 +00:00
Linus Nielsen Feltzing
0b3ea1bfcb Now the FM, V2 and Ondio players use the new SYS_POWEROFF event. Now you can safely turn off the player by holding OFF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5259 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 11:00:19 +00:00
Björn Stenberg
75ed8946f0 Ignore leftover release events when starting secondary file browser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5250 a1c6a512-1295-4272-9138-f99709370657
2004-10-11 09:25:05 +00:00
Jens Arnold
1f0908dfaf Removed button bar for devices with no F buttons (Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5237 a1c6a512-1295-4272-9138-f99709370657
2004-10-09 20:54:15 +00:00
Jörg Hohensohn
d48442039e patch #978765 by Carsten Tschach, new option for voice filenames: every file may have an optional .talk companion, with a filename clip. While at it, I removed the "on enter" directory talking, nobody used it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5194 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 21:37:46 +00:00
Linus Nielsen Feltzing
ec289bd3cb Don't check BUTTON_REL on SYS_ events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5178 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 13:24:34 +00:00
Björn Stenberg
e2041da713 Don't accept press events as dialog answer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5177 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 13:12:42 +00:00
Jörg Hohensohn
a5d0c3f66b Ondio menu hack removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5168 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 06:49:30 +00:00
Björn Stenberg
2b816de0bb Flattened browser button code more. TREE_SHIFT removed. OnPlay menu is now available on PLAY+REPEAT too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5166 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 00:08:04 +00:00
Jens Arnold
fb56ee6113 Moved Ondio main menu hack in order to properly browse fonts, langs, rocks and .wps files. This does only work after filetype_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5151 a1c6a512-1295-4272-9138-f99709370657
2004-10-02 12:10:16 +00:00
Jörg Hohensohn
593cc00447 a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 22:13:26 +00:00
Björn Stenberg
1c87a1f62a On+play menu now activates on play release
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5094 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 22:54:24 +00:00
Björn Stenberg
6c33c51a4c Redesigned the button handling. The code now uses symbolic function defines instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 21:58:37 +00:00
Henrik Backe
66b45eeb59 Added check for missing .rockbox directory to playlist code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5063 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 20:51:12 +00:00
Henrik Backe
717fae9e95 Warning if .rockbox is missing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5039 a1c6a512-1295-4272-9138-f99709370657
2004-09-05 16:50:07 +00:00
Jens Arnold
9d5de4ac71 .rockbox browse fixes, based on patch #861278 by Brian King: (1) Leaving the sub-browser with ON is disabled to prevent possibly endless recursion, (2) For browsing plugins and fonts, the browser doesn't quit automatically after selecting a file, for more convenient use of plugins and trying out different fonts. Additionally, the button bar display is fixed to properly reflect the unavailability of F1 in a sub-browser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5023 a1c6a512-1295-4272-9138-f99709370657
2004-08-28 20:41:57 +00:00
Jens Arnold
bf955a8b6b Bug fix: The splash displayed when trying to soft power off with the charger connected didn't disappear again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5021 a1c6a512-1295-4272-9138-f99709370657
2004-08-28 02:01:02 +00:00
Jens Arnold
8fb336148f Const policed pointer arguments to functions, part 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 01:09:31 +00:00
Jens Arnold
839067b7b3 More const policeing step 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4980 a1c6a512-1295-4272-9138-f99709370657
2004-08-01 23:34:44 +00:00
Linus Nielsen Feltzing
ade5d7b848 First step in revamping the USB event handling, paving the way for the upcoming SYS_POWER_OFF event
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4951 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 16:06:59 +00:00
Linus Nielsen Feltzing
0c01305eb9 Act on the button-down event for the clean shutdown, and show the charging splash if the charger is attached
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4948 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 07:39:23 +00:00
Linus Nielsen Feltzing
550e55ffb5 The call to shutdown_screen() is only for recorder models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4945 a1c6a512-1295-4272-9138-f99709370657
2004-07-25 17:08:17 +00:00
Linus Nielsen Feltzing
320ef3e4d8 ask_resume() now only reacts on button release events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4944 a1c6a512-1295-4272-9138-f99709370657
2004-07-25 16:22:38 +00:00
Linus Nielsen Feltzing
5b5003dcb1 New feature: clean shutdown if you press OFF twice in the file browser, or select "Shut
off" in the main menu. Players only have the menu option, due to lack of keys.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4940 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 21:26:41 +00:00
Jens Arnold
638dd6786a Const'ed the logo, the bitmaps and the credits (optimization for running from ROM)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4896 a1c6a512-1295-4272-9138-f99709370657
2004-07-19 21:46:37 +00:00
Linus Nielsen Feltzing
4d49a6b26e Added bookmark icon for the Player/Studio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4880 a1c6a512-1295-4272-9138-f99709370657
2004-07-14 12:21:59 +00:00
Linus Nielsen Feltzing
32e27d93e8 The status bar now keeps track of the mpeg status, instead of having to call status_set_playmode() all the time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4805 a1c6a512-1295-4272-9138-f99709370657
2004-06-27 01:05:40 +00:00
Jörg Hohensohn
5c8a2f5835 sort options for files & directories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4789 a1c6a512-1295-4272-9138-f99709370657
2004-06-22 09:16:44 +00:00
Jörg Hohensohn
74eb64257a infrastructure for sorting by date+time, now we "only" need to decide on the UI
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4778 a1c6a512-1295-4272-9138-f99709370657
2004-06-20 16:34:29 +00:00
Björn Stenberg
fb00c2190b Plugin/file type association system. Patch #879411 by Henrik Backe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4677 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 20:08:24 +00:00
Jörg Hohensohn
2a3aab675a preparation for the JPEG viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4610 a1c6a512-1295-4272-9138-f99709370657
2004-05-12 13:41:12 +00:00
Jörg Hohensohn
99483dee1c talkbox clip renamed to ".dirname.tbx", most people voted for a non-mp3 extension
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4485 a1c6a512-1295-4272-9138-f99709370657
2004-04-10 09:04:26 +00:00
Linus Nielsen Feltzing
47e0079fab A not so very elegant fix for bug #918063
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4484 a1c6a512-1295-4272-9138-f99709370657
2004-04-09 22:55:40 +00:00
Jörg Hohensohn
6e77d1fe39 Voice UI searches for <mylanguage>.voice, no hard-coded "english.voice" any more. We can localize the voice now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4471 a1c6a512-1295-4272-9138-f99709370657
2004-04-06 07:06:59 +00:00
Jörg Hohensohn
c778aa6ac8 warning and simulator build fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4466 a1c6a512-1295-4272-9138-f99709370657
2004-04-04 20:34:28 +00:00
Jörg Hohensohn
c8592bac33 Voice UI: option to spell dirs/files, say (known) extension with file number, minor fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4465 a1c6a512-1295-4272-9138-f99709370657
2004-04-04 19:08:44 +00:00
Jörg Hohensohn
18e91a729a bugfix for changing position/directory during the talkbox "hover" timeout
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4458 a1c6a512-1295-4272-9138-f99709370657
2004-03-31 07:18:10 +00:00
Jörg Hohensohn
1f05cb1021 removed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4444 a1c6a512-1295-4272-9138-f99709370657
2004-03-29 06:54:34 +00:00
Jörg Hohensohn
6e86b66c66 hovering talkbox clips are played after a 1 sec timeout, to avoid constant disk access while scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4443 a1c6a512-1295-4272-9138-f99709370657
2004-03-28 10:21:58 +00:00
Jörg Hohensohn
3aa99e14cd Step 4 of voice UI:
- "talkbox" functionality added, but yet without thumbnail recording
- menu under "general settings" to configure voice
- directories and folders can be voiced as a numbers


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4440 a1c6a512-1295-4272-9138-f99709370657
2004-03-27 00:11:01 +00:00
Hardeep Sidhu
53d8253470 Use same path buffer when recursively creating playlist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4427 a1c6a512-1295-4272-9138-f99709370657
2004-03-21 22:27:56 +00:00
Henrik Backe
be21ab8abf Adds USB detection on changed bootfile question
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4426 a1c6a512-1295-4272-9138-f99709370657
2004-03-21 18:56:06 +00:00
Linus Nielsen Feltzing
8e20415b4b Fixed the font problem reported by Mark Bright, cleaning up some code in the process
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4399 a1c6a512-1295-4272-9138-f99709370657
2004-03-17 14:46:06 +00:00
Linus Nielsen Feltzing
9431ae58f3 Fixed player build problem caused by the button bar changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4398 a1c6a512-1295-4272-9138-f99709370657
2004-03-17 11:57:25 +00:00
Linus Nielsen Feltzing
e25463204e The tree view is now correctly restored after a button bar change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4393 a1c6a512-1295-4272-9138-f99709370657
2004-03-17 07:43:19 +00:00
Linus Nielsen Feltzing
77936e6ec5 First shot at a nice little button bar at the bottom of the recorder LCD. Enable Button Bar in the Display settings. Only the dir browser uses it at the moment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4391 a1c6a512-1295-4272-9138-f99709370657
2004-03-16 13:44:56 +00:00
Linus Nielsen Feltzing
10b92c44b3 First step towards context sensitive and configurable menus, by Brent Coutts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4370 a1c6a512-1295-4272-9138-f99709370657
2004-03-12 10:20:33 +00:00
Linus Nielsen Feltzing
642cce2e33 Moved Create Directory to the ON+Play menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4360 a1c6a512-1295-4272-9138-f99709370657
2004-03-11 10:43:53 +00:00
Linus Nielsen Feltzing
ef7293f0bc New feature: NOw you can store the recorded files in either /recordings (the directory will be created automatically) or in the current directory.
New feature: A "Create directory" menu option (untested in the simulator).
Bug fix: The ON+Play menu could do nasty things if you pressed ON+Play in an empty dir.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4268 a1c6a512-1295-4272-9138-f99709370657
2004-01-21 14:58:40 +00:00
Björn Stenberg
989123006c Check USB before resuming
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4266 a1c6a512-1295-4272-9138-f99709370657
2004-01-20 22:39:32 +00:00
Hardeep Sidhu
11280c79d1 Don't start wps from rockbox_browse().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4253 a1c6a512-1295-4272-9138-f99709370657
2004-01-18 21:26:34 +00:00
Björn Stenberg
a108ec2ebd Added Benjamin Metzlers bookmarking feature (patch #669440)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4227 a1c6a512-1295-4272-9138-f99709370657
2004-01-14 00:13:04 +00:00
Daniel Stenberg
1afa395c2f The splash() function's second argument (keymask) is now removed, as it
was not used by any code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4201 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 09:58:58 +00:00
Jörg Hohensohn
b46a8c68ef fix by Alex Pleiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4197 a1c6a512-1295-4272-9138-f99709370657
2004-01-06 19:14:03 +00:00
Jörg Hohensohn
1707fd94fc icons for .ch8, .rvf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4172 a1c6a512-1295-4272-9138-f99709370657
2003-12-22 09:48:18 +00:00
Daniel Stenberg
14c54ccdb9 handle_on() depends on the presence of an ON button
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4155 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 11:48:36 +00:00
Jörg Hohensohn
bd8f448fd0 the video player plugin and file the type / plugin API for it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4145 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 07:44:43 +00:00
Daniel Stenberg
8e43ccbec6 Initial suppport for building Rockbox for Neo. The Neo has a different
key layout so we need to check for this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4138 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:34:27 +00:00
Hardeep Sidhu
162bf39665 Fixed incorrect #ifdef for .ucl and .ajz files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4126 a1c6a512-1295-4272-9138-f99709370657
2003-12-11 18:26:32 +00:00
Jörg Hohensohn
8b813d0b99 table-driven internal handling of file types, so we can have many of them
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4115 a1c6a512-1295-4272-9138-f99709370657
2003-12-07 16:57:43 +00:00
Björn Stenberg
461d6e347e Added a splash to indicate battery charging if user tries to shut off while plugged in.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4104 a1c6a512-1295-4272-9138-f99709370657
2003-12-04 00:08:25 +00:00
Björn Stenberg
cc9a8e12a1 Set font before resume.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4069 a1c6a512-1295-4272-9138-f99709370657
2003-11-26 14:05:57 +00:00
Björn Stenberg
f11ffc04b3 s/stricmp/strcasecmp/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4064 a1c6a512-1295-4272-9138-f99709370657
2003-11-24 14:22:13 +00:00
Björn Stenberg
3316a0f787 Case insensitive compare for BOOTFILE
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4063 a1c6a512-1295-4272-9138-f99709370657
2003-11-24 09:29:16 +00:00
Björn Stenberg
c9184057e8 ask_resume(): Ignore ON with repeat too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4030 a1c6a512-1295-4272-9138-f99709370657
2003-11-14 16:10:38 +00:00
Linus Nielsen Feltzing
f97756e733 Patch #835815 by Henrik Backe, prevents stack overflow in .rockbox browser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4015 a1c6a512-1295-4272-9138-f99709370657
2003-11-04 16:47:05 +00:00
Jörg Hohensohn
1694847103 play .ch8 files with the Chip-8 emulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3997 a1c6a512-1295-4272-9138-f99709370657
2003-10-30 23:48:36 +00:00
Linus Nielsen Feltzing
130dccf16e .rockbox-browser showed old cached data when the .rockbox dir was already cached by the dir browser. Now it forces a reload of the .rockbox dir.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3968 a1c6a512-1295-4272-9138-f99709370657
2003-10-10 10:19:44 +00:00
Björn Stenberg
de5477cc00 Brian King's .rockbox browsing patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3964 a1c6a512-1295-4272-9138-f99709370657
2003-09-29 21:26:53 +00:00
Björn Stenberg
7f67717b00 Ignore ON button in ask_resume(), to avoid mistakenly cancelling resume.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3925 a1c6a512-1295-4272-9138-f99709370657
2003-08-06 17:30:40 +00:00
Björn Stenberg
182d786cb1 Fixed build error: UCL files are only supported on recorders so far.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3898 a1c6a512-1295-4272-9138-f99709370657
2003-07-27 22:50:54 +00:00
Jörg Hohensohn
8d2a4084e1 Lee Marlow's patch: UCL files can be "played" to call the flash plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3896 a1c6a512-1295-4272-9138-f99709370657
2003-07-27 22:08:42 +00:00
Linus Nielsen Feltzing
6e49e78c9b Henrik Backe's resume-with-ON-key patch (#767082). Now you can resume playback after STOP is pressed by just hitting the ON key to go to the WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3816 a1c6a512-1295-4272-9138-f99709370657
2003-07-08 09:19:12 +00:00
Hardeep Sidhu
9e4262081b Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or playlist from file browser to see available options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3796 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 21:05:43 +00:00
Björn Stenberg
ba5dfbd71e The file browser now detects if ajbrec.ajz/archos.mod has been modified after a usb session, and asks if you want to reboot to the new version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3783 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 22:39:35 +00:00
Björn Stenberg
ba371fb595 Added plugin loader. Moved games, demos and the text viewer to loadable plugins. Copy your *.rock files to /.rockbox/rocks/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3769 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 16:33:04 +00:00
Robert Hak
b88f2bc9b1 english language updated to be a bit more general, we now offer button descriptions on delete for recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3759 a1c6a512-1295-4272-9138-f99709370657
2003-06-25 08:25:29 +00:00
Björn Stenberg
d1a6fa113d Addded option to hide icons in dir browser. (Patch #728377)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3731 a1c6a512-1295-4272-9138-f99709370657
2003-06-05 09:38:26 +00:00
Linus Nielsen Feltzing
87d5cfe4b7 Patch #700467, corrects a bug when shuffling with play-selected-first set to No
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3714 a1c6a512-1295-4272-9138-f99709370657
2003-06-01 00:41:46 +00:00
Björn Stenberg
8190b5d347 Fixed bad remote control handling in wps. Changed tree navigation keys to right/left (was vol +/-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3688 a1c6a512-1295-4272-9138-f99709370657
2003-05-20 12:15:09 +00:00
Linus Nielsen Feltzing
92e9b15026 Bad grammar fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3680 a1c6a512-1295-4272-9138-f99709370657
2003-05-17 20:43:03 +00:00
Linus Nielsen Feltzing
20d031f9c7 Configurable dir browser file buffer size. No more 400-file limit. No more whining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3661 a1c6a512-1295-4272-9138-f99709370657
2003-05-09 16:01:21 +00:00
Björn Stenberg
6cafc14e75 showdir() should always redraw status bar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3591 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 14:38:25 +00:00
Björn Stenberg
942bc9449e Only redraw the status line when info actually changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3588 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 11:26:25 +00:00
Björn Stenberg
28cce684a3 Changed remote control button events to separate codes. Now the remote control works while keys are locked.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3586 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 09:21:37 +00:00
Linus Nielsen Feltzing
e43b78ac46 Magnus Öman's long awaited inverted cursor patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3565 a1c6a512-1295-4272-9138-f99709370657
2003-04-16 00:12:31 +00:00
Linus Nielsen Feltzing
57e928f9f3 Fixed the garbled display when deleting the last file in a directory (bug #680811)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3549 a1c6a512-1295-4272-9138-f99709370657
2003-04-14 07:53:58 +00:00
Linus Nielsen Feltzing
887e217486 The create_playlist() function didn't correctly handle fd == 0, and didn't force a directory reload
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3490 a1c6a512-1295-4272-9138-f99709370657
2003-03-21 03:07:31 +00:00
Daniel Stenberg
8aafcf88f8 use splash() when a new language is loaded
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3466 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 21:17:08 +00:00
Hardeep Sidhu
bed4b0fb68 Don't reload_dir after page up/down.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3460 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 19:20:30 +00:00
Björn Stenberg
d7a55e1868 Changed ON+PLAY screen to a menu, unified player & recorder and moved the code to a separate file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3436 a1c6a512-1295-4272-9138-f99709370657
2003-03-12 20:21:30 +00:00
Björn Stenberg
c38c70194f Fix: Too many arguments to snprintf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3429 a1c6a512-1295-4272-9138-f99709370657
2003-03-11 11:33:50 +00:00
Björn Stenberg
10abfec207 Doubleslash eradication
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3427 a1c6a512-1295-4272-9138-f99709370657
2003-03-11 09:57:46 +00:00
Linus Nielsen Feltzing
d5de319399 Killed sim warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3422 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 20:47:21 +00:00
Linus Nielsen Feltzing
6475aa0c85 Experimental Xing header generation added. Use with caution
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3418 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 18:05:01 +00:00
Björn Stenberg
22cbe938fe Don't allow renaming to ''.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3409 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 14:54:23 +00:00
Björn Stenberg
d0b4e2a9bd Kill silly warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3408 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 14:45:03 +00:00
Björn Stenberg
118316b0ea Now only shows extensions in mode Show files: All
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3407 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 14:31:43 +00:00
Daniel Stenberg
d3d290545b Mike Holden's patch #687181 to correct the bad screen update when deleting
a file.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3394 a1c6a512-1295-4272-9138-f99709370657
2003-03-07 08:10:10 +00:00
Björn Stenberg
e6df841899 Bug fix: Font and lang files weren't save correctly to settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3323 a1c6a512-1295-4272-9138-f99709370657
2003-02-23 18:52:53 +00:00
Björn Stenberg
bda4ec10fc Fixed a number of .cfg loader bugs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3280 a1c6a512-1295-4272-9138-f99709370657
2003-02-17 09:53:11 +00:00
Daniel Stenberg
5eb6384878 Scroll file name in file management screens. Fixes bug report #686628
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3279 a1c6a512-1295-4272-9138-f99709370657
2003-02-17 09:38:03 +00:00
Linus Nielsen Feltzing
c47b65408e The LANG_RENAME string could be f***ed up in onplay_screen. Patch by SeeSchloss.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3272 a1c6a512-1295-4272-9138-f99709370657
2003-02-15 01:03:03 +00:00
Björn Stenberg
9c16e12390 Expanded .cfg loader to include most settings. Based on Christian Determann's patch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3260 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 14:14:55 +00:00
Kjell Ericson
81911fe34b Fixed delete file. You shall not accept a deletion by releasing the BUTTON_PLAY\
, because you pressed that button in order to get there...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3199 a1c6a512-1295-4272-9138-f99709370657
2003-01-31 09:37:42 +00:00
Mats Lidell
816bc8c6b1 Simulator warns when archos dir is misssing. dirbrowse changed to
return false on error. Not used except for the simulator warning.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3197 a1c6a512-1295-4272-9138-f99709370657
2003-01-31 08:43:12 +00:00
Daniel Stenberg
b8a861841e first variables, then code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3190 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 17:14:55 +00:00
Björn Stenberg
dc8f0ee245 Fix simulator build error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3186 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 14:46:30 +00:00
Björn Stenberg
efb165f65c Added basic playlist creation. Creates <dirname>.m3u in the parent directory, containing all mp3/mp2/mpa files found recursively. The process can be aborted with OFF or STOP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3185 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 13:20:22 +00:00
Björn Stenberg
fc69875d56 Code police raid
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3181 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 09:40:04 +00:00
Kjell Ericson
5cd393c772 New onplay-menu for the Player.
The menu_run() function is split into two functions, where the new menu_run() works like before, and the new function menu_show() returns the menu item number you selected.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3180 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 08:26:11 +00:00
Björn Stenberg
bb3685edd8 Allow usb connect in ask_resume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3176 a1c6a512-1295-4272-9138-f99709370657
2003-01-28 16:08:10 +00:00
Daniel Stenberg
cc46b4a675 fixed the dir browsing graphical flaws introduced yesterday.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3158 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:59 +00:00
Mats Lidell
74cc9e41fa Remove use of rockbox-mode.el in local variables list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:06 +00:00
Kjell Ericson
767d604bcd Removed unnecessary calls to lcd_stop_scroll().
Changed all lcd_scroll_pause() to lcd_stop_scroll().
Updated the tree system for new scroll-behaviour.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3154 a1c6a512-1295-4272-9138-f99709370657
2003-01-23 14:28:16 +00:00
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