Commit graph

319 commits

Author SHA1 Message Date
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