Commit graph

13424 commits

Author SHA1 Message Date
Nils Wallménius
c28778fb5a libtremor: merge part of upstream revision 17514 adding some limit checking for allocations when unpacking comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28748 a1c6a512-1295-4272-9138-f99709370657
2010-12-06 17:15:00 +00:00
Nils Wallménius
bdf8a243fa libtremor: merge upstream revision 17513 'Add code to prevent heap attacks by exploiting dim==bignum and partition_codewords==partion_values^dim.'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28747 a1c6a512-1295-4272-9138-f99709370657
2010-12-06 16:48:57 +00:00
Nils Wallménius
0d43bf6a88 libtremor: merge upstream revision 17512 'Correctly handle the nonsensical codebook.dim==0 case.'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28746 a1c6a512-1295-4272-9138-f99709370657
2010-12-06 16:44:40 +00:00
Nils Wallménius
8a239cf4f7 libtremor: merge upstream revision 17511 'Add checks/rejection for absurdly huge codebooks.'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28745 a1c6a512-1295-4272-9138-f99709370657
2010-12-06 16:40:05 +00:00
Nils Wallménius
4487107d25 libtremor: merge upstream revision 17510.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28744 a1c6a512-1295-4272-9138-f99709370657
2010-12-06 16:34:21 +00:00
Nils Wallménius
67efbc1387 libtremor:
Merge in upstream revision 17375.
This removes tremor's internal ogg code and now uses libogg instead so a bunch of changes are just adjusting to the new api. Also brings in improvements to vorbisfile which fixes FS#10484.
Disabled a lot of unused code in the libogg files and moved some small functions into the ogg.h header so they can be inlined. Some small tweaks to fix warnings.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28742 a1c6a512-1295-4272-9138-f99709370657
2010-12-06 14:36:52 +00:00
Dave Bryant
809e61b373 remove a little redundant code from the WavPack metadata module to partially make up for the code just added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28738 a1c6a512-1295-4272-9138-f99709370657
2010-12-05 22:01:28 +00:00
Dave Bryant
516693fcc9 make WavPack library check the extent of the block that it is parsing so that it cannot run into the next block; also enhance the metadata code to handle the case of files with non-audio blocks at the beginning (which can happen if the source WAV file has lots of RIFF data)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28736 a1c6a512-1295-4272-9138-f99709370657
2010-12-05 19:25:32 +00:00
Nils Wallménius
911f2a7dac libtremor: merge upstream revision 17374 and some inline/icode tweaks to maintain speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28732 a1c6a512-1295-4272-9138-f99709370657
2010-12-04 12:59:37 +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
Andree Buschmann
1b093cf297 Remove tabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28719 a1c6a512-1295-4272-9138-f99709370657
2010-12-01 18:35:01 +00:00
Nils Wallménius
71ad3679dc codeclib: inline assembler for fft4 and fft8 on coldfire, small 0.2-0.3MHz speedup with gcc 3.4, larger 0.6-0.8MHz speedup with gcc 4.4/4.5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28716 a1c6a512-1295-4272-9138-f99709370657
2010-12-01 11:27:30 +00:00
Jonathan Gordon
5ad4080b98 Very small code shuffle to maybe make parseing %if() a smidgen faster
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28714 a1c6a512-1295-4272-9138-f99709370657
2010-11-30 13:12:27 +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 Giacomelli
9929512682 ARM9 optimized synth_full for libmad. Speeds up mp3 decoding by an even 2 MHz on all ARM9 and later devices. Note this is only optimized for arm9 (non-E), although it is faster on later devices. An arm9E/11 version will be needed for optimal performance on newer devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28710 a1c6a512-1295-4272-9138-f99709370657
2010-11-29 22:34:51 +00:00
Teruaki Kawashima
47f670d3c2 FS#11725: fix duplicationg slash indicating root in filename.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28705 a1c6a512-1295-4272-9138-f99709370657
2010-11-29 12:51:44 +00:00
Teruaki Kawashima
4fd775f7f0 cahnge button mapping in list cotext so that it ignores button release.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28704 a1c6a512-1295-4272-9138-f99709370657
2010-11-29 11:28:53 +00:00
Robert Menes
0e98dd0187 FS #11780 by Melba Sitjar: add missing strings to the Tagalog
translation and translate additional strings.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28701 a1c6a512-1295-4272-9138-f99709370657
2010-11-29 02:54:27 +00:00
Marcin Bukat
5f8f5794c4 HD300 - keymap tweaks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28699 a1c6a512-1295-4272-9138-f99709370657
2010-11-28 22:51:47 +00:00
Marcin Bukat
e3ab05ac42 Update lang files for Set time/date screen on HD300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28698 a1c6a512-1295-4272-9138-f99709370657
2010-11-28 22:51:30 +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
Jonathan Gordon
5d274e528c Hopefully fix a crash using %if() with strings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28689 a1c6a512-1295-4272-9138-f99709370657
2010-11-28 03:42:15 +00:00
Teruaki Kawashima
194bc8660d Add helper function to get index from file extension.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28684 a1c6a512-1295-4272-9138-f99709370657
2010-11-27 12:57:19 +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
Marcin Bukat
9a24892e2e MPIO HD300 - initial commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28680 a1c6a512-1295-4272-9138-f99709370657
2010-11-26 23:28:08 +00:00
Thomas Martitz
ec9bb4c684 Re-add the lseek to the beginning of the file which was accidentally removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28674 a1c6a512-1295-4272-9138-f99709370657
2010-11-26 18:15:59 +00:00
Thomas Martitz
4f03a97169 Fix red on hwcodec. Forgot to change the macro for it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28673 a1c6a512-1295-4272-9138-f99709370657
2010-11-26 18:08:01 +00:00
Thomas Martitz
9393e4c24b Change how all the metadata parsers are read from a giant swich/case to function pointers via array index. Also unify the api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28672 a1c6a512-1295-4272-9138-f99709370657
2010-11-26 18:02:50 +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
Nils Wallménius
b397fe5ae3 libtremor: small tweak to coldfire inline asm function MULT31_SHIFT15, saving one instruction, *tiny* speedup, output unchanged
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28666 a1c6a512-1295-4272-9138-f99709370657
2010-11-26 10:45:33 +00:00
Alexander Levin
c7e5122483 Fix the Russian spelling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28665 a1c6a512-1295-4272-9138-f99709370657
2010-11-25 20:27:39 +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
Bertrik Sikken
8971b230dc Update Russian translation - FS#11770 by Alexey Polkhirev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28663 a1c6a512-1295-4272-9138-f99709370657
2010-11-24 22:31:23 +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
Nils Wallménius
ff9e1861b3 codeclib: there is no need to limit the outputs of the coldfire X(N)PROD_R macros to data registers, no significant speed diff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28656 a1c6a512-1295-4272-9138-f99709370657
2010-11-24 12:01:08 +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
Nils Wallménius
8802c5de9d codeclib: don't mark the outputs for the coldfire X(N)PROD_R asm macros as earlyclobbers as they are not, lets gcc produce better code. Speedup of 0.2-0.3MHz for codecs using the mdct, (larger speedup when building with gcc 4.4).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28650 a1c6a512-1295-4272-9138-f99709370657
2010-11-23 11:58:00 +00:00
Thomas Martitz
16d44e9b02 Playlist viewer: Fix regression introduced by r28138 which made some buttons not work in the playlist viewer.
Fixes FS#11772.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28648 a1c6a512-1295-4272-9138-f99709370657
2010-11-23 07:39:16 +00:00
Jonathan Gordon
efba7d8c30 once more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28647 a1c6a512-1295-4272-9138-f99709370657
2010-11-23 00:27:54 +00:00