Commit graph

1926 commits

Author SHA1 Message Date
Nicolas Pennequin
0918990a93 PictureFlow improvements:
* Track listing when selecting an album. Press select to go back to album view. Playing tracks from the list isn't implemented yet
* Added a "zoom" setting

Code changes:
* Switched to a state machine approach
* Some inlining and const changes
* Various optimizations and cosmetic tweaks


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15941 a1c6a512-1295-4272-9138-f99709370657
2007-12-16 02:18:54 +00:00
Nicolas Pennequin
a2aec46f04 Fix the crashes observed on the H10 5GB during the caching process. It was a classic case of out of bounds access after resizing, more visible on the H10 because it has a small screen size and we use the screen size as buffer size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15939 a1c6a512-1295-4272-9138-f99709370657
2007-12-16 01:22:35 +00:00
Magnus Holmgren
c21f59090e FS#7954: Free resources when speed testing a folder. Also simplify the error handling code a little.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15934 a1c6a512-1295-4272-9138-f99709370657
2007-12-15 13:54:58 +00:00
Nicolas Pennequin
a7d08774dc PictureFlow fixes and improvements:
* Reduced popping effect (FS#8303)
* Scale the empty slide to average album width
* Introduced some visual settings
* Fix FS#8298 but make the criteria a screen height of less than 100 px so that only the c200 gets 50x50 slides

The scaling code is added as a lib function with a basic test plugin that's not compiled by default.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15913 a1c6a512-1295-4272-9138-f99709370657
2007-12-11 18:54:50 +00:00
Jonas Häggqvist
7ab63e3f1b Fixed a few typos spotted on IRC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15910 a1c6a512-1295-4272-9138-f99709370657
2007-12-11 09:50:36 +00:00
Nicolas Pennequin
c16470bf04 A couple fixes:
* The menu was being drawn with the wrong colour if entered while the album name was being faded
* Display an error message if no albums have been found (which indicates that the database isn't initialised)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15909 a1c6a512-1295-4272-9138-f99709370657
2007-12-11 00:32:08 +00:00
Nicolas Pennequin
16be6567b6 PictureFlow improvements by Jonas Hurrelmann:
* Scrolling and fading album titles
* Better support for small displays

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15908 a1c6a512-1295-4272-9138-f99709370657
2007-12-10 21:07:06 +00:00
Nicolas Pennequin
f0ecbf4506 Fix a file descriptor leak
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15906 a1c6a512-1295-4272-9138-f99709370657
2007-12-10 15:58:02 +00:00
Nicolas Pennequin
34c2c1b7f6 PictureFlow improvements:
* Fix a keymap problem on the c200, hopefully won't affect other targets
* Remove the 100x100 limitation (limit is now the screen size)
* Add an option in the settings menu to clear the cache

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15905 a1c6a512-1295-4272-9138-f99709370657
2007-12-10 14:43:58 +00:00
Nicolas Pennequin
90ce826903 Initial commit of the PictureFlow plugin, a nice visualization for album covers.
Original code by Ariya Hidayat. Rockbox port by Jonas Hurrelmann and a few tweaks by me.
On the first startup the database is scanned and album art is searched for each album. This process will take some time (dircache enabled and/or database in RAM speed it up, and it is possible to abort by pressing MENU), but the results are cached and the next startups will be very quick.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15900 a1c6a512-1295-4272-9138-f99709370657
2007-12-09 18:48:02 +00:00
Dave Chapman
06c405620c Remove X11/win32 simulator rules
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15893 a1c6a512-1295-4272-9138-f99709370657
2007-12-07 22:34:37 +00:00
Michael Sevakis
2b5f979d75 Reformat and code police (tabs, trailing whitespace, annoying overuse of parentheses, etc.) in libmpeg2 so I can stomach working on it. Don't call IDCT functions through pointers - I don't feel like extracting that change just for relevance sake.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15892 a1c6a512-1295-4272-9138-f99709370657
2007-12-07 13:00:31 +00:00
Jens Arnold
bf2a33485f Fix some plugins not using the helper functions for the new backlight timeout handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15849 a1c6a512-1295-4272-9138-f99709370657
2007-11-29 23:55:58 +00:00
Jonas Häggqvist
00d0a3a661 Only compile Matrix on non-mono targets, rather than all bitmap targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15831 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:43:28 +00:00
Jonas Häggqvist
a8f900384b On second thoughts, let's compile Matrix for all non-mono bitmap displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15829 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:28:00 +00:00
Jonas Häggqvist
7034237dbb Only compile Matrix for colour targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15825 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 00:59:31 +00:00
Jonas Häggqvist
450ed5273a Matrix demo plugin for colour targets. Ported from Ipodlinux who ported it from cmatrix for Linux. Closes FS#7920.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15824 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 00:35:52 +00:00
Marianne Arnold
5979d78988 Fix backlight timeout in 'keep backlight running' plugins (related to yesterday's settings rework by Jens, fix also by him).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15809 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 09:59:45 +00:00
Marcoen Hirschberg
b3f155d6a1 don't show the scrollbar after turning it off in the menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15775 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 15:42:08 +00:00
Marcoen Hirschberg
73d514f1c1 remove debug leftover
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15771 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 09:47:26 +00:00
Marcoen Hirschberg
f8232e738f use the plugin buffer instead of the static one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15770 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 09:11:11 +00:00
Marcoen Hirschberg
3f6461acfc rearrange the initialization a bit. also fixes the disappearing scrollbar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15769 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 09:11:09 +00:00
Dave Chapman
14ac7cafc8 0 is also a valid file descriptor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15749 a1c6a512-1295-4272-9138-f99709370657
2007-11-22 00:32:50 +00:00
Björn Stenberg
e2e287d80e Removed annoying splash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15746 a1c6a512-1295-4272-9138-f99709370657
2007-11-21 23:36:30 +00:00
Robert Kukla
d87b037efe consolidate the 3 file_exists() functions into one; use the version that explicitly uses dircache; give dir_exists() the same treatment for consistency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15742 a1c6a512-1295-4272-9138-f99709370657
2007-11-21 21:28:27 +00:00
Paul Louden
a14aface6b Okay. Really fix the red. It's a little ugly at this point, and clearly
I shouldn't be coding in whatever my mental state is. But the intent was 
not to remove the use of Select for pausing in Mpegplayer, for those who 
like it. The ugliness can be removed if we want to go back to a single 
pause button.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15736 a1c6a512-1295-4272-9138-f99709370657
2007-11-21 06:09:17 +00:00
Paul Louden
0ffe935d32 Fix my rampant making of mistakes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15735 a1c6a512-1295-4272-9138-f99709370657
2007-11-21 06:04:44 +00:00
Paul Louden
ad97b0437f Allow use of either A or Select to pause in mpegplayer. This means you
can pause it the same way you pause music, but I've not removed the old 
button since mpegplayer currently has plenty of buttons, and not many 
functions.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15734 a1c6a512-1295-4272-9138-f99709370657
2007-11-21 05:49:00 +00:00
Paul Louden
31bf5cc8e5 Oops. Was thinking _TREE_ not _STD_, so no changes to the text editor
after all.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15708 a1c6a512-1295-4272-9138-f99709370657
2007-11-20 02:11:13 +00:00
Paul Louden
92b6ee91fa Fix keymapping inconsistencies generated by my previous keymap change,
this touches the FM Radio, Recording, and Text Editors.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15706 a1c6a512-1295-4272-9138-f99709370657
2007-11-20 01:59:06 +00:00
Marcoen Hirschberg
852cf58f36 access memcpy through the plugin api..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15702 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 21:14:42 +00:00
Marcoen Hirschberg
2b30bf9eac check separately if the preferences and the bookmark need to be saved
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15701 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 20:51:42 +00:00
Marcoen Hirschberg
77af93b2cd write a correct bookmark file when the viewer loads so we can safely skip the write on exit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15700 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 20:51:38 +00:00
Marcoen Hirschberg
cb62c97054 prevent useless file reads
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15695 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 16:46:39 +00:00
Marcoen Hirschberg
4c62c00f99 don't save the viewer position if it hasn't changed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15689 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 16:02:45 +00:00
Stepan Moskovchenko
7f1fbe4af2 MIDI: Increase percision of synthesizer by a factor of 4 - makes certain parts (guitar bends, mostly)
sound more natural. Also, completely rearrange the order of operations in the delta computation. Had to 
use long longs. Probably not a good idea for speed, but the order can be optimized more later.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15652 a1c6a512-1295-4272-9138-f99709370657
2007-11-17 06:39:02 +00:00
Adam Gashlin
8e5a39c58b High score list needed to be redrawn on return from hold, put it in a seperate function to avoid duplicating code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15634 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 09:29:34 +00:00
Nils Wallménius
65331f1749 Revert some changes that broke looping in midiplayer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15631 a1c6a512-1295-4272-9138-f99709370657
2007-11-15 21:20:29 +00:00
Dave Chapman
a0f3443eab Remove some stray ^Ms
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15605 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 22:10:36 +00:00
Dave Chapman
d911481687 Remove unused x11 and win32 simulator rules
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15602 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 20:45:22 +00:00
Nils Wallménius
0fd4c2e455 Rearrange logic in the synthVoice loop to do less tests and remove need of a struct member for a small speedup, move some memory lookups out of the loop for a small speedup, further cosmetic changes to the synthVoice function. Change isUsed to a bool for clearer logic and also a tiny speedup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15563 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 01:02:45 +00:00
Karl Kurbjun
d3c0a7f169 Change the way the UART recieves data and how buttons pressed are processed. Also move some of the debug menu into the target tree and allow rockblox to build when the screen is rotated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15560 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 22:12:54 +00:00
Karl Kurbjun
5db6b51759 Get the user timer working properly consequentially fixing doom without a hack.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15510 a1c6a512-1295-4272-9138-f99709370657
2007-11-07 05:30:31 +00:00
Stepan Moskovchenko
bdfe87c0f1 MIDI: Make seeking neater by moving it into another file. Will be more useful later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15467 a1c6a512-1295-4272-9138-f99709370657
2007-11-05 05:35:10 +00:00
Stepan Moskovchenko
3be1ca0281 MIDI: Improve seeking (especially near the end of the file) by disabling playback during the seek. Next
step is to prevent delta value calculation during seeking, and just recompute the current deltas once 
seeking is over.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15426 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 06:31:33 +00:00
Stéphane Doyon
775279b63e Fix warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15421 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 04:59:24 +00:00
Stepan Moskovchenko
cd963d84ca MIDI: Allow seeking forward and backward using the left/right keys. Currently seeks in 5 second
increments, but this can be set to any amount. Also implemented a counter for playing time, which can 
pretty easily be used to determine the length of the file, in seconds, before playing it. The time 
isn't displayed anywhere right now, but all this can be useful if this thing is turned into a codec, or 
at least gets a nice UI.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15418 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 04:09:38 +00:00
Jonathan Gordon
d2066fe68b set the iriver h100 and h300 keys correctly (fix red)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15406 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 07:09:46 +00:00
Karl Kurbjun
38548c7118 Build some more plugins for M:Robe most work, doom builds and runs if you use a hack - need to fix the user timer so that it works properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15403 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 05:21:34 +00:00
Dave Chapman
a076da6efc Remove an unneeded #include - action.h is already included by plugin.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15388 a1c6a512-1295-4272-9138-f99709370657
2007-10-31 22:33:28 +00:00