Commit graph

27827 commits

Author SHA1 Message Date
Thomas Martitz
0f4dfc4e9d Android/Java: Disable implicit compilation of dependecies to make the life easier for make.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29187 a1c6a512-1295-4272-9138-f99709370657
2011-02-02 13:57:01 +00:00
Andree Buschmann
4343399473 Recognize AAC-HE SBR with upsampling and correct duration, bitrate, seek and resume behaviour for such files. When SBR upsampling is used the decoder outputs the double amount of samples per frame. As the seek and resume functions do not know about this fact a special handling is introduced. Fixes issues reported in FS#11916.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29186 a1c6a512-1295-4272-9138-f99709370657
2011-02-02 09:38:24 +00:00
Andree Buschmann
0a93396cde Do not parse into 'ilst' atom if size is 0. Fixes playability issue in FS#11916.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29185 a1c6a512-1295-4272-9138-f99709370657
2011-02-02 09:28:48 +00:00
Dominik Riebeling
e3d84ba22e Fix sansac200v2 not showing up in device selection.
When adding new targets it's necessary to also add them to the
[platforms] section since that is used to determine which devices to
show and in which order. Sort Sansa players while at it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29184 a1c6a512-1295-4272-9138-f99709370657
2011-02-01 22:12:07 +00:00
Alexander Levin
6cdc3166bc Manual: Correct the description of the Time/Date menu and make it look nicer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29183 a1c6a512-1295-4272-9138-f99709370657
2011-02-01 21:52:24 +00:00
Alexander Levin
b1aad4c496 Manual: correct the 'Playlists' menu description
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29182 a1c6a512-1295-4272-9138-f99709370657
2011-02-01 21:32:19 +00:00
Magnus Holmgren
11b7a4fb26 Add a safety check in the resume seek code, just in case.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29181 a1c6a512-1295-4272-9138-f99709370657
2011-02-01 20:17:42 +00:00
Andree Buschmann
ee6a74e7e3 We seeked one chunk too far when resuming m4a files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29180 a1c6a512-1295-4272-9138-f99709370657
2011-02-01 19:55:54 +00:00
Thomas Martitz
4888d41b09 Pitchscreen: Small fix for the right touchscreen button.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29179 a1c6a512-1295-4272-9138-f99709370657
2011-02-01 15:01:44 +00:00
Andree Buschmann
411023c6be Rework m4a seek/resume code. Seek/resume does now also work properly with files having sample_to_chunk of 1 or 2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29178 a1c6a512-1295-4272-9138-f99709370657
2011-01-31 21:54:50 +00:00
Dominik Riebeling
02dce4500d mkamsboot: restructure model / firmware file information.
Merge the various arrays holding model specific information into a
structure and give it a distinct name. Avoids problems when linking with
Rockbox Utility.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29177 a1c6a512-1295-4272-9138-f99709370657
2011-01-31 20:15:50 +00:00
Dominik Riebeling
6f2bba961f mkmpioboot: restructure model / firmware file information.
Collect the various arrays holding model names, numbers etc. into a
structure. This makes the code cleaner since there aren't multiple
arrays that need to be kept in sync any more and avoids issues with
other tools (like mkamsboot) when linked together with Rockbox Utility.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29176 a1c6a512-1295-4272-9138-f99709370657
2011-01-31 19:16:06 +00:00
Andree Buschmann
ad6c3bc8c5 Fix resume for m4a files. Solves FS#9306.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29175 a1c6a512-1295-4272-9138-f99709370657
2011-01-31 15:18:26 +00:00
Andree Buschmann
dedde47424 Limit the size of each ID3 metadata item to avoid that the metadata buffer is filled by single items. Fixes FS#11875, FS#9805 and FS#9299.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29174 a1c6a512-1295-4272-9138-f99709370657
2011-01-30 20:23:55 +00:00
Jonathan Gordon
b5562a10c8 update the toolchains install script to grab the latest and greatest
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29173 a1c6a512-1295-4272-9138-f99709370657
2011-01-30 02:33:47 +00:00
Michael Sevakis
799fc0f103 Fix r29171 red. Forgot to replace a few.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29172 a1c6a512-1295-4272-9138-f99709370657
2011-01-30 01:15:23 +00:00
Michael Sevakis
18770dac2e Use __builtin_constant_p() to select the best byteswapping method: constant or target optimized. Same macro can then be used for constant values and inits as well as non-constant.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29171 a1c6a512-1295-4272-9138-f99709370657
2011-01-30 00:58:45 +00:00
Antoine Cellerier
c0c769c5a8 Add widgets to android port.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29170 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 20:47:32 +00:00
Michael Sevakis
e9749d1b93 AMSv2 SD: Fix card insert lockups in USB mode. First, get rid of infinite loops and retry those a limited number of times-- no explaination for their dubious existence was offered in the source. Second, SD thread was no longer monitoring inserts (and it wouldn't really matter if it were). Thus, .initialized was reported as '1' despite the new card needing reinit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29169 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 16:54:36 +00:00
Thomas Martitz
7436e7ab41 Touchscreen/lists: Hopefully fix glitchy behavior that happened after opening the context menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29168 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 16:33:25 +00:00
Thomas Martitz
3804befc13 Ugh, remove debug output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29167 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 15:37:09 +00:00
Thomas Martitz
5e3d8f961c Improve sometimes glitchy touchscreen handling in the pitchscreen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29166 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 15:34:36 +00:00
Thomas Martitz
c402519e31 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29165 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 15:14:23 +00:00
Michael Sevakis
ab50ed7171 Add a couple KERNEL_ASSERTs to check queue fullness when extra checks are enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29164 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 15:03:09 +00:00
Thomas Martitz
5606719499 Fix oops in r29160 (apps went into games and vice versa).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29163 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 15:03:03 +00:00
Thomas Martitz
2bb81f70f5 Move fm radio related menus out of radio.c into apps/menus/.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29162 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 15:01:28 +00:00
Thomas Martitz
aa9a68a690 Android: Change menu button to go always (and not only in the wps) to the main menu and long menu to open the context menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29161 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 11:58:32 +00:00
Thomas Martitz
f7da333d12 Re-factor code for the plugins main menu item, enabling better icons in that menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29160 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 11:50:38 +00:00
Thomas Martitz
4aec8ef059 Fix SDL app build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29159 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 01:26:43 +00:00
Thomas Martitz
42a8cc3835 Give the playlists main menu item a context menu (playlist settings).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29158 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 01:01:44 +00:00
Thomas Martitz
89a4cf2693 Change the way how playlists and system menu items in the main menu are internally invoked so that the mechanism to
pass the back button press to the android system (to let it go to the home screen) works for them.
This fixes that the back button goes still to the home screen after entering these items.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29157 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 01:01:12 +00:00
Michael Sevakis
3f709eada2 Convert AMS target USB detection to event-based (no more polling in a tick). Seems well on my Clip v1 and Fuze v2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29156 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 00:44:59 +00:00
Mustapha Senhaji
70b99e3e2c Some minor corrections for the czech translation.
Flyspray: FS#11909
Author: Marek Salaba


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29155 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 00:30:14 +00:00
Michael Sevakis
a575ffb271 AMSv2 USB: Delay after sftdiscon should be far longer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29154 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 00:25:42 +00:00
Michael Sevakis
088aaac985 USB: Thread must remember that a host has been detected since the POWERED state is ambiguous when waiting for host. Storage access is not yet actually exclusive if not USB_INSERTED. usb_start_monitoring seems better posting USB_UNPOWERED only if USB_EXTRACTED, interpreting POWERED/INSERTED as POWERED.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29153 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 00:22:42 +00:00
Mustapha Senhaji
8855ac48db Update the slovak translation.
Flyspray: FS#11905
Author: Peter Lecky


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29152 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 00:21:37 +00:00
Michael Hohmuth
d066a3900c Added myself to COMMITTERS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29151 a1c6a512-1295-4272-9138-f99709370657
2011-01-28 22:10:08 +00:00
Michael Sevakis
b4fa66d7c7 Big oops. Should be broadcasting SYS_USB_DISCONNECTED _after_ remouting disks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29150 a1c6a512-1295-4272-9138-f99709370657
2011-01-28 04:01:34 +00:00
Michael Sevakis
ac7fe5fb82 AS3525v2 USB: Set disconnect before stopping module clock. Seems to cure reconnect weirdness for me and is probably the proper method anyway since otherwise the module will still be running when the clock is cut (bad).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29149 a1c6a512-1295-4272-9138-f99709370657
2011-01-28 02:30:03 +00:00
Thomas Martitz
771011a6fc RaaA: Fix database duplication issue on every start
The code in tagcache.c:commit() was unable to delete
the to-be-commited database file as it read from
$(HOME)/.config/rockbox.org and tried to delete
the file later on in /.rockbox/.

As we didn't specify any flags like IS_FILE or NEED_WRITE
in _get_user_file_path() (which is called by f.e. app_remove()),
it searched for the file in two places.

In case of app_rename() IS_FILE would be wrong, so we just
add a NEED_WRITE to any write operation.

Author: Thomas Jarosch

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29148 a1c6a512-1295-4272-9138-f99709370657
2011-01-27 21:09:25 +00:00
Thomas Martitz
b703d251be Workaround the brokenness of realpath() a bit more.
At least on android it blindly writes to the end of the buffer passed to it assuming it's sufficiently. It wasn't in our case, resulting in a buffer overflow (and breakage).
This should fix strange problems relating to database initialization on application targets.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29147 a1c6a512-1295-4272-9138-f99709370657
2011-01-27 20:17:55 +00:00
Amaury Pouly
3a1bc3cfdd as3525v2-usb: fix logf format, don't mask the interrupt using the VIC as it seems to trigger spurious irq
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29146 a1c6a512-1295-4272-9138-f99709370657
2011-01-27 12:15:46 +00:00
Jonathan Gordon
cb56c46c5a fix build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29145 a1c6a512-1295-4272-9138-f99709370657
2011-01-27 11:33:33 +00:00
Jonathan Gordon
21e89e8786 Add some better debug info for when checkwps erros out because of full skin buffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29144 a1c6a512-1295-4272-9138-f99709370657
2011-01-27 11:27:53 +00:00
Michael Sevakis
166c8bf46f Get SA9200 to show on the downloads page.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29143 a1c6a512-1295-4272-9138-f99709370657
2011-01-26 18:10:42 +00:00
Thomas Martitz
044de86d81 Fix FS#11904, filename generation was lacking a slash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29140 a1c6a512-1295-4272-9138-f99709370657
2011-01-26 07:46:02 +00:00
Andree Buschmann
4c38572997 Remove WPS related variable which is read but not set or changed. Closes FS#11396.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29139 a1c6a512-1295-4272-9138-f99709370657
2011-01-25 21:40:55 +00:00
Michael Sevakis
d796ab6f61 Pacbox: Fix assumption about LCD width of 128 implying the display needs vertical clipping. No more screen garbage on sa9200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29138 a1c6a512-1295-4272-9138-f99709370657
2011-01-25 19:28:40 +00:00
Mustapha Senhaji
81682e723a Update the russian translation.
Flyspray: FS#11882
Author: Simon Zhukovsky


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29137 a1c6a512-1295-4272-9138-f99709370657
2011-01-25 17:22:39 +00:00
Mustapha Senhaji
f29bc4b8ff Update the chinese-simp translation.
Since "Yes" and "No" are context depending apparently,
replace them by "ˆš" for "Yes" and "×" for "No";
for voice use "˜¯" and "¦".

Flyspray: FS#11890
Author: Purling Nayuki


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29136 a1c6a512-1295-4272-9138-f99709370657
2011-01-25 17:20:56 +00:00