Commit graph

363 commits

Author SHA1 Message Date
Kevin Ferrare
e75cbdd2a8 Some changes to the remote code : some one lines function turned into macros ; changed pre-increment to post-increment since it's clearer that way ; added a data pointer to the list callback (global variables are baaaad) ; some more documentation of the API and minor cleanups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7681 a1c6a512-1295-4272-9138-f99709370657
2005-10-29 02:33:19 +00:00
Kevin Ferrare
d452d26885 Changed some fn names, also corrected a bug with fonts and made the filetree work like the original one (stop on reaching list limits when pressing button)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7679 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 23:52:49 +00:00
Jens Arnold
eb87ad5e32 H1x0: Fixed the non-working Stop in the file browser. Ondios: Added the same feature.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7677 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 21:57:30 +00:00
Linus Nielsen Feltzing
7da9477bc3 Initial multi screen support by Kévin Ferrare (Patch #1318081)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7666 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 00:00:00 +00:00
Miika Pekkarinen
4b2aa9830e Now correctly interrupting the dircache rebuilding.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7645 a1c6a512-1295-4272-9138-f99709370657
2005-10-20 08:33:59 +00:00
Miika Pekkarinen
266f173b72 Eliminated the warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7643 a1c6a512-1295-4272-9138-f99709370657
2005-10-19 12:00:34 +00:00
Miika Pekkarinen
57b25ca640 Do a transparent dircache rebuilding even if the rebuilding was
interrupted last time.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7642 a1c6a512-1295-4272-9138-f99709370657
2005-10-19 11:34:32 +00:00
Miika Pekkarinen
ab78b04680 Implemented directory caching. No more waiting for disk to spin up while
browsing when cache is enabled (system -> disk -> enable directory
cache). Cache building on boot is transparent except the first boot.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7588 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 17:38:05 +00:00
Dave Chapman
139c1cb824 First version of ALAC (Apple Lossless) decoder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7547 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 21:55:37 +00:00
Linus Nielsen Feltzing
74353a7fe4 The database is now always synched when entering USB mode or shutting down, and not only in the tree browser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7516 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 09:07:05 +00:00
Jens Arnold
ac50839423 Optimised new file association handling. Fixed NULL pointer accesses. Const policed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7459 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 16:50:51 +00:00
Henrik Backe
b2473d58ab Fixed associate problem with file extensions (.info files matched .nfo extension)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7456 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 15:05:35 +00:00
Linus Nielsen Feltzing
b3050e9045 The start-in-record-screen option now has priority over the resume-on-startup option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7454 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 07:59:42 +00:00
Linus Nielsen Feltzing
6c2af7c2aa On popular demand, the arrow cursor is reintroduced
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7438 a1c6a512-1295-4272-9138-f99709370657
2005-09-01 08:04:37 +00:00
Linus Nielsen Feltzing
f43216ff0b Removed the line selector option, it is now always an inverse bar (except for the Player/Studio of course)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7423 a1c6a512-1295-4272-9138-f99709370657
2005-08-30 11:10:08 +00:00
Linus Nielsen Feltzing
196376c3c2 Added ID3 database support for individual tracks in the context menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7421 a1c6a512-1295-4272-9138-f99709370657
2005-08-30 07:52:36 +00:00
Jens Arnold
d6c054575b Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Jens Arnold
6c00e38665 Icon code cleanup, optimisation & policeing. Removed unused icons. Applied uniform icon naming scheme.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7396 a1c6a512-1295-4272-9138-f99709370657
2005-08-24 00:09:42 +00:00
Jonas Häggqvist
280d9cc00a Undo my previous commit and do the same with a parantheses change in filetree.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7342 a1c6a512-1295-4272-9138-f99709370657
2005-08-17 17:53:54 +00:00
Jonas Häggqvist
96ff4b3d68 Don't show dirs when browsing WPS files, .cfg files, fonts, languages and firmwares
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7337 a1c6a512-1295-4272-9138-f99709370657
2005-08-17 09:40:07 +00:00
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