Thomas Martitz
3c43503283
Vastly increase speed of SDL screen updates for RGB565.
...
Flyspray: FS#11834 (with minor changes by me).
Author: Thomas Jarosch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28914 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 22:08:34 +00:00
Nils Wallménius
0ba13e45f0
Fix warning about using static vars in non static inline functions with gcc 4.5.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28911 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 10:46:29 +00:00
Alexander Levin
1d460b603f
disktidy: Fix deleting of directories specified by a pattern (FS#11827)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28900 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 22:22:50 +00:00
Alexander Levin
5c48232e45
disktidy: add a debug message if a file cannot be deleted
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28898 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:54:24 +00:00
Alexander Levin
a0516f036f
disktidy: fix the situation where specifying that a dir should be deleted could lead to removing a file with that name
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28897 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:38:42 +00:00
Alexander Levin
de317d46dc
disktidy: add a comment to the function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28896 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:31:54 +00:00
Alexander Levin
82daaae455
Disktidy: introduce a local variable to avoid repeated use of the indexed expression
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28895 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:11:40 +00:00
Alexander Levin
fb7c0df483
Extract config file saving code to a function; Do not write the NUL character to the text config file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28894 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:01:07 +00:00
Alexander Levin
c3d230ba0e
Fix a typo in comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28881 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 18:02:04 +00:00
Robert Menes
d9e5c4159a
Disktidy plugin: add .Spotlight-V100 directories
...
(created by Mac OS X) to the list of default files
and directories to be cleaned.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28879 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 02:33:51 +00:00
Michael Sevakis
9b4522bace
MPEGPlayer: Some UI tweaking and bugfixing
...
* Allow skip-to-beginning in single-play mode; there is no 3-second delay in that case.
* Properly handle and keep track of pauses caused by headphone removal.
* Improve skipping over bad files - search in skip direction and allow it to be ended with the stop key.
* Add the system message processing done elsewhere to all button queue waits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28875 a1c6a512-1295-4272-9138-f99709370657
2010-12-22 11:20:07 +00:00
Michael Sevakis
ea568794e7
MPEGPlayer: Fix a bug where seeking a stream into the same frame more than once in a row causes it to report itself at the end in error; to fix it, pause streams rather than stopping them if the playback isn't stopped. Also, add one check so the engine can at rewind unseekable files to time 0.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28862 a1c6a512-1295-4272-9138-f99709370657
2010-12-20 07:58:02 +00:00
Michael Sevakis
31af1a3ac2
MPEGPlayer: Move some code that's probably better situated in the stream manager rather than the parser. Fix visibility checking in video out. Extra message sending for new stream isn't needed; just do full decoder sequence reset when requesting dimensions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28855 a1c6a512-1295-4272-9138-f99709370657
2010-12-19 08:28:03 +00:00
Michael Sevakis
fd01bf3e4c
MPEGPlayer: Skip to next file when there is a problem with a video file in all-play mode, otherwise exit as usual. Only consider failures such as engine init issues or no file to view to be a plugin error but not problems with the video files themselves; the user is adequately informed already.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28854 a1c6a512-1295-4272-9138-f99709370657
2010-12-19 03:28:43 +00:00
Michael Sevakis
6b1fcc67c2
MPEGPlayer: Fix leakage of file decriptors if file wasn't accepted by playback engine-- code is now getting tested that couldn't be before. Also reset parser in stream init when it doesn't like the file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28853 a1c6a512-1295-4272-9138-f99709370657
2010-12-19 02:11:35 +00:00
Michael Sevakis
6032ff1730
MPEGPlayer playlist should as well support all viewer-handled file extensions...indeed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28850 a1c6a512-1295-4272-9138-f99709370657
2010-12-18 21:20:53 +00:00
Michael Giacomelli
fa49771809
Commit FS#11810 by Alexander Meshcheryakov. Boosts the CPU and limits LCD update rate while recursively scanning files in the properties plugin, improving its scan speed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28841 a1c6a512-1295-4272-9138-f99709370657
2010-12-16 05:49:30 +00:00
Michael Stummvoll
cac01b9cc9
set the sampling rate back to default on closing,
...
even it is not a clean shutdown (cleanshut setted)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28835 a1c6a512-1295-4272-9138-f99709370657
2010-12-15 11:33:22 +00:00
Michael Giacomelli
990cbf302e
Commit FS#11799 by Alexander Meshcheryakov. Improves the text viewer plugin to write to the disk less often, and correct several minor bugs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28833 a1c6a512-1295-4272-9138-f99709370657
2010-12-14 21:33:45 +00:00
Teruaki Kawashima
08af5d8404
FS#11777: enhancement for rockbox_browse()
...
* Add struct browse_context to be passed to rockbox_browse.
* Show proper title when selecting e.g. .wps file or .sbs file from the settings menu.
* Add select only mode to rockbox_browse(). when a file is selected, it's path is stored to buffer and the browser exits without 'playing' the file.
this will allow to use the browser in more places to select file including plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28831 a1c6a512-1295-4272-9138-f99709370657
2010-12-14 13:37:58 +00:00
Michael Giacomelli
42ba55fba3
Make the midiplugin's out of memory error more obvious to people who don't know what malloc is.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28822 a1c6a512-1295-4272-9138-f99709370657
2010-12-13 04:43:27 +00:00
Nils Wallménius
1617d8f97e
FS#11802 by Li Jie fixing a typo in the doom buttonmap for SA9200.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28816 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 16:31:20 +00:00
Frank Gevaerts
26f2bfde03
Add MikMod plugin, ported by Jason Yu, with some minor work by Craig Mann and William Peters (FS#8806)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28810 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 15:03:30 +00:00
Andree Buschmann
1633d3f479
Changes to test_mem. Improve readability for smaller displays, increase loop count by a factor of 2, if needed,
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28726 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 22:18:53 +00:00
Thomas Martitz
921ac8d6dd
Change the gcc options for sdl builds to allow for gnu99 features, it needs some fixes in other places. Fixes test_mem compilation failure on cygwin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28723 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 21:20:30 +00:00
Szymon Dziok
290e27b401
HDD6330: add missing button for test_codec.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28721 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 20:25:04 +00:00
Thomas Martitz
6a54c574f6
Some improvements for test_mem:
...
* increase loop count if tests are too fast to be accurate
* refactor lots of code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28720 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 20:07:25 +00:00
Marcin Bukat
c2c7628464
HD300 - greylib callibration data (taken from iAudio M5 - works well)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28713 a1c6a512-1295-4272-9138-f99709370657
2010-11-30 10:52:31 +00:00
Marcin Bukat
dd61702fb0
HD300 - plugins keymaps
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28712 a1c6a512-1295-4272-9138-f99709370657
2010-11-30 10:52:14 +00:00
Michael Stummvoll
a0480c734a
applying FS#10489: Rockboy - rotate directional keys when screen is rotated
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28695 a1c6a512-1295-4272-9138-f99709370657
2010-11-28 19:49:15 +00:00
Jens Arnold
418b7d4d78
Reorder viewers.config entries so that test plugins come after the standard plugins for the same extension. The first defines the default action and the icon for the respective extension (if there is no core action for it). Group entries by extension so this is more visible.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28694 a1c6a512-1295-4272-9138-f99709370657
2010-11-28 18:25:39 +00:00
Andree Buschmann
54b2d72a4e
Use MEM_ALIGN_ATTR in test_mem plugin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28681 a1c6a512-1295-4272-9138-f99709370657
2010-11-27 09:10:45 +00:00
Michael Stummvoll
4fe5580fbe
Fixing FS#11745 (Rockboy Screen on Sansa Clip+)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28669 a1c6a512-1295-4272-9138-f99709370657
2010-11-26 14:22:40 +00:00
Mustapha Senhaji
7c1c9ccff7
Code Police: C comment style.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28668 a1c6a512-1295-4272-9138-f99709370657
2010-11-26 13:29:35 +00:00
Teruaki Kawashima
043ebca136
FS#8607: MPEG video playlist
...
Add mode to play multiple mpeg files in the same directory in the order the file browser shows.
In this mode, Mpegplayer exits after finishing the last .mpg file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28667 a1c6a512-1295-4272-9138-f99709370657
2010-11-26 12:32:00 +00:00
Michael Stummvoll
7704a3ccd7
Added the snapshot patch for rockboy (FS#11757)
...
Added a simple filesize-check for the options file before loading
to avoid crashes due the changed config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28664 a1c6a512-1295-4272-9138-f99709370657
2010-11-25 12:45:13 +00:00
Michael Stummvoll
70bbbcdf92
correction from previous commit. Completly removing the splashes is better
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28661 a1c6a512-1295-4272-9138-f99709370657
2010-11-24 17:00:40 +00:00
Michael Stummvoll
0c4e658f84
Rockboy: Changed the time of showing splash messages to 0 to decrase loading time.
...
now the messages will only shown as long as needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28660 a1c6a512-1295-4272-9138-f99709370657
2010-11-24 16:44:10 +00:00
Nils Wallménius
05434ebaf8
test_codec: fix menu broken in r28637
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28659 a1c6a512-1295-4272-9138-f99709370657
2010-11-24 16:42:40 +00:00
Michael Stummvoll
286eceb04b
Rockboy: Added an short stats option which only shows the two numbers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28658 a1c6a512-1295-4272-9138-f99709370657
2010-11-24 16:41:45 +00:00
Michael Stummvoll
5a9805d24e
rockoy: boosting the max frameskip option up to 20 Max instead of 6
...
because 6 is not enough sometimes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28657 a1c6a512-1295-4272-9138-f99709370657
2010-11-24 13:08:21 +00:00
Michael Stummvoll
72b4c4ff3b
Adding an reset option to the rockboy menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28655 a1c6a512-1295-4272-9138-f99709370657
2010-11-24 11:39:40 +00:00
Michael Giacomelli
3f932318e2
Fix mistake on targets without frequency scaling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28638 a1c6a512-1295-4272-9138-f99709370657
2010-11-22 02:28:12 +00:00
Michael Giacomelli
7094181157
Add option to run test_codec unboosted on players with boosting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28637 a1c6a512-1295-4272-9138-f99709370657
2010-11-22 02:22:56 +00:00
Andree Buschmann
28ecf9b6d1
Use MEM_ALIGN_ATTR in pitch detector plugin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28636 a1c6a512-1295-4272-9138-f99709370657
2010-11-21 22:02:06 +00:00
Jens Arnold
feb74ad517
Fix pointer aliasing warning which for some reason was only triggered in SH builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28630 a1c6a512-1295-4272-9138-f99709370657
2010-11-21 14:36:44 +00:00
Teruaki Kawashima
e5b1a7d423
FS#6321: Universal Image Viewer
...
This unifies jpeg viewer, png viewer, and bmp viewer to one plugin, image viewer, so that you can navigate through different image formats.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28626 a1c6a512-1295-4272-9138-f99709370657
2010-11-21 13:47:56 +00:00
Teruaki Kawashima
ee6b0dae96
rockpaint: cache font preview when browsing fonts.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28623 a1c6a512-1295-4272-9138-f99709370657
2010-11-19 12:54:03 +00:00
Teruaki Kawashima
62b8efe674
rockpaint: change browse_fonts to use dircache and use whole screen. add scrollbar.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28612 a1c6a512-1295-4272-9138-f99709370657
2010-11-17 14:50:43 +00:00
Teruaki Kawashima
36f623d2ca
rockpaint: change the way to handle tools to improve readability.
...
make ROCKPAINT_QUIT cancel drawing if it is in progress.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28607 a1c6a512-1295-4272-9138-f99709370657
2010-11-16 12:55:20 +00:00