Commit graph

343 commits

Author SHA1 Message Date
Jens Arnold
f894a4c269 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Michiel Van Der Kolk
d6ab723584 moved rundb_init back to main, it has to be inited after audio_init, also, it has nothing to do with tree (though tagdb does have to do with tree)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7014 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:10:42 +00:00
Jens Arnold
8102f3da27 New option to enable/disable the runtime database. Moved the runtimedb init to a more appropriate place and added proper USB handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6984 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 10:50:42 +00:00
Jens Arnold
40eeeb3f2f Player fixup: Reset double font height before resuming.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6925 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 17:39:18 +00:00
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