Commit graph

23712 commits

Author SHA1 Message Date
Thomas Martitz
69338424a8 Fix up Fuze's radio keymap a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24794 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 19:47:58 +00:00
Thomas Martitz
df99576378 Remove a few unused defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24793 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 19:40:19 +00:00
Thomas Martitz
f8c72513e4 Update the manual according to the playlist viewer changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24792 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 19:06:44 +00:00
Thomas Martitz
c19e53654b Playlist Viewer Changes to bring consistency:
- combine its two context menus to one and
- make the ACTION_STD_MENU go to the main menu as it does in all other screens
- call playlist_viewer() via root_menu to reduce call depth and to be consistent with other screens (and for the above changes to be more flexible w.r.t to the following screen)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24791 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 19:06:39 +00:00
Thomas Martitz
abb3dd4ec2 Use a helpfer function to avoid ugly casting and correct some data types (no functional change).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24790 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 15:13:53 +00:00
Tomer Shalev
516d1264f8 WPS: Use helper local variable instead of its value (no functional change)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24789 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 13:26:50 +00:00
Dave Hooper
e4217d4845 Reinstate ICONST_ATTR for matrixCoeffs_fix ; remove (silly) gain_tab1 and replace with a simple bitshift in the code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24788 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 12:55:35 +00:00
Dave Hooper
e90deded40 Remove ICONST_ATTR from some tables, to fit into PP5020 iram (now that mdct is in iram it's a bit of a squeeze). (per Buschel on irc)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24787 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 12:44:52 +00:00
Dave Hooper
730a618fae Adding ICODE for imdct (and its constituent ifft bits) gives 0.5MHz boost on arm (ipod video) and about 5MHz boost on coldfire (H120)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24786 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 11:00:16 +00:00
Yoshihisa Uchida
9f63f4f2fc libpcm: linear pcm decode logic separates according to each bitspersample, endian, and signess.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24785 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 10:15:36 +00:00
Tomer Shalev
bc8cefd1a4 Comment out lcd_drawline() DEBUGF messages which show in various simulators
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24784 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 06:42:45 +00:00
Andrew Mahone
950b2dfa2c Clarify comments in ARMv6 divider regarding special-case handling of large (high bit set) numerators.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24783 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 06:29:23 +00:00
Yoshihisa Uchida
3716abba92 commit FS#10424 and FS#10425
- wav(RIFF) supports Microsoft ADPCM, Dialogic OKI ADPCM, YAMAHA ADPCM, Adobe SWF ADPCM.
- AIFF supports QuickTime IMA ADPCM.
- DVI ADPCM(IMA ADPCM) reworks.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24782 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 02:04:56 +00:00
Michael Giacomelli
93caf52db5 Use new MDCT library for libfaad. Speeds up AAC-LC by 2.5MHz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24781 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 00:29:31 +00:00
Jonathan Gordon
ccd50dd2d7 and actually fix multifont on remote lcd targets also
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24780 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 23:54:36 +00:00
Jonathan Gordon
90d9e66920 fix possible out-of-bounds error on remote lcd targets if they try loading a font to id==2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24779 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 23:49:17 +00:00
Rafaël Carré
8b1bbdb013 rbutil: link to the Sansa forums when the user is requested to download a Sansa AMS firmware
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24778 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 23:45:29 +00:00
Michael Chicoine
0b060e1548 Updated Chinese Translation
Author: Purling Yukie
Flyspray: FS #11036


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24777 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 21:17:53 +00:00
Alexander Levin
499641ce7a Add some more file extensions to the table of the audio files (FS#11002)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24776 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 20:50:24 +00:00
Tomer Shalev
73c047c8dc FS#10485 - Some changes for brickmania
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24775 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 16:34:18 +00:00
Teruaki Kawashima
a4282fedaa add manual for bmp viewer plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24774 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 14:56:02 +00:00
Teruaki Kawashima
1d853441db fix get_context_mapping for morse input mode on touchscreen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24773 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 14:19:27 +00:00
Rafaël Carré
b6c20c17e4 mkamsboot: prevents 2 potential problems
We checked if the new firmware block (bootloader+ucl function+packed
bootloader & OF) fit in the OF file, but not if it would run properly.

For example the Clipv2 OF is bigger than 0x50000 bytes uncompressed, but
it fitted in this space when packed and concatenated to a packed
bootloader + ucl function and dualboot code (but we use 1MB of RAM and
not 0x50000 anyway).

Now we check that both bootloader and OF are small enough to be unpacked
at runtime: the unpacked data must be smaller than available memory and
not overlap with ucl function and packed data (although the unpacked and
packed data could probably overlap a bit, I don't know how to calculate
this and this could be quite complex).

total_size() is replaced by check_sizes() which will perform all the
checks and set an error string if the firmware can't be patched.
(both mkamsboot and rbutilqt modified accordingly)

The second problem is that dualboot.S assumed r3 and r5 were left
untouched in the device specific checks. This was undocumented and very
error prone when modifying these checks.

r3 is the last byte of packed copy (bootloader or OF)
r5 is the entry point of uclunpack function derived from r3, so move r5
calculation after the device specific code.

Even if r3 is currently unused in the device specific code, we store it
in memory after copying the ucl function, when it points to the last byte
of packed data (not yet copied at this point since we didn't chose if we
boot the OF or the bootloader), and restore it just before using it so no
restriction is placed on registers usage in device specific code.

Add a new variable ucl_dest in dualboot.S set by mkamsboot.c, which
represents the last bound of buffer where we copy the ucl function, and
then the packed data (bootloader or OF).

RAM_SIZE definition is moved from dualboot.S to mkamsboot.c new
model_memory_size(), where it is a bit better documented.

Tested on e200v2 and Clip+

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24772 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 14:10:26 +00:00
Tomer Shalev
5bae969a3e Brickmania: Use defines for score values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24771 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 12:52:31 +00:00
Björn Stenberg
b4f6c6ffba Tweaked dependencies a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24770 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 08:09:41 +00:00
Tomer Shalev
320eab69d3 Brickmania: Remove spaces at the end of line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24769 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:36:56 +00:00
Tomer Shalev
ac9f850b7d Brickmania: Forgotten one more hard-coded value
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24768 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:35:47 +00:00
Tomer Shalev
804f67b8ce Brickmania: Use constant for default value and rename variable of flip-sides delay
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24767 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:32:27 +00:00
Tomer Shalev
a745fab8ce Brickmania: Use constants for number of bricks rows and columns, and for number of levels
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24766 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:28:49 +00:00
Rafaël Carré
75919d5f3d Revert r24763 : LIBOBJS is already included in OBJS
The problem seems related to dependency on a directory

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24765 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:16:51 +00:00
Tomer Shalev
9d8e07a3fc Brickmania: Use constant for number of fires
Part of FS#10485 by Asael Reiter


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24764 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:16:09 +00:00
Rafaël Carré
a63b225a14 mkamsboot binary depends on the same object files than libmkamsboot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24763 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:05:39 +00:00
Tomer Shalev
a37e43cfba Move sample.emacs to utils/editors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24762 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 23:32:08 +00:00
Tomer Shalev
74c5033699 wps.vim : Syntax for Rockbox WPS
Author: Kevin Schoedel

Including wps.vim from http://www.vim.org/scripts/script.php?script_id=2550
(which now becomes obsolete), following the following e-mail from the author:

Hi,
Yes, please do -- I am not doing anything with WPS now and might never again.
Take it as GPL or whatever else is convenient. I'll put a note on the vim.org
page that the version there is obsolete.
Regards,
Kevin Schoedel


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24761 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 23:31:37 +00:00
Tomer Shalev
9af97e74b9 Have /utils/editors to contain syntax files for WPS and possibly others Rockbox
specific file types

Currently it contains only Emacs style for WPS, but a request was sent to the
author of the Vim's WPS style file at
http://www.vim.org/scripts/script.php?script_id=2550

Developers, please add your own files.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24760 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 22:42:11 +00:00
Tomer Shalev
f3e0275671 Brickmania: Test returned value of file operations
This doesn't solve FS#11031, but it's a good practice to test returned values nevertheless.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24759 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 22:01:40 +00:00
Dominik Wenger
963fdc340b rbutil: fix voice downloads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24758 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 19:47:09 +00:00
Thomas Martitz
4c78ecaa5e Hopefully fix yellow now, I don't understand why %ld works for ssize_t but %lu not for size_t (and still no warnings on my system).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24757 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 17:43:55 +00:00
Thomas Martitz
81187d88fd Fix yellow caused by signedness.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24756 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 17:19:10 +00:00
Thomas Martitz
df79ac2f9d Fix FS#11004 - Buffering crashes when skipping back from end of song.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24755 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 15:38:30 +00:00
Teruaki Kawashima
c4eea8f11f FS#10535: bmp viewer plugin.
* changed bmp.c so that it loads bitmap larger than LCD correctly.
* removed bmp entry form inbuilt_filetypes in filetypes.c so that bmp files will be opened with bmp viewer when selected in browser.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24754 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 15:10:31 +00:00
Yoshihisa Uchida
2a4bbde44e Add myself to the commiters list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24752 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 11:46:18 +00:00
Björn Stenberg
c6f2a90635 Added Packard Bell Vibe 500 to build list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24748 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 10:30:00 +00:00
Jonathan Gordon
45a181d8fc allow integer sound settings (bass, volume, etc) to be used with conditional %St. "%?St|name|<min|min+1|...|max-1|max>"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24745 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 07:04:16 +00:00
Jonathan Gordon
55b21c104f NULL check so it doesnt display (null) on the comment line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24744 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 05:50:44 +00:00
Jonathan Gordon
c647e62c30 bandaid fix for FS#11033 where a really long comment crashes. Real fix is figuring out why the scroll engine doesnt handle this properly (I give up though)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24743 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 05:43:51 +00:00
Michael Giacomelli
aea6dd036c Commit FS#11034 by Andrew Engelbrecht. Fixes default contrast value on ipod 3G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24742 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 04:21:15 +00:00
Jonathan Gordon
7dfd594cca fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24741 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 02:37:58 +00:00
Jonathan Gordon
3cb735ef39 basic alignment support (%a|l|c|r|L|R) in the playlist viewer. no sublines so the whole line will either be left, right or centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24740 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 01:52:13 +00:00
Dave Hooper
3a9852be1c I don't yet fully understand why this is required, but without it the output is signed-inverted (compared to e.g. the output of oggdec). ac3 confirmed to be ok so the problem must be in the imdct not the ifft. but the algo seems correct (in that seems same as original ffmpeg version)..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24739 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 00:14:13 +00:00