Commit graph

13732 commits

Author SHA1 Message Date
Jonathan Gordon
9501986047 Blindly forcing stylus mode on plugin entry for an arbitrary subset of touch targets is a *REALLY BAD IDEA* so do it properly so we dont have to revert any commits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29417 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 09:30:33 +00:00
Alex Parker
8e9f3bbecc FS#11969 by Lev Panov - Russian translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29415 a1c6a512-1295-4272-9138-f99709370657
2011-02-26 23:15:37 +00:00
Alex Parker
b10b030bd6 FS#11968 by Peter Lecky - Slovak language update
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29412 a1c6a512-1295-4272-9138-f99709370657
2011-02-26 22:14:37 +00:00
Bertrik Sikken
d3fc00ec42 Latvian language translation, FS#11967 by Mārtiņš Šimis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29399 a1c6a512-1295-4272-9138-f99709370657
2011-02-25 20:26:03 +00:00
Andree Buschmann
89952213bb Bump codec's API version. This is related to r29388 which changed the mp3entry struct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29396 a1c6a512-1295-4272-9138-f99709370657
2011-02-25 07:16:35 +00:00
Michael Sevakis
ba8ce00bfc pcmbuf: Clear last_chunksize at stop so we don't think there's a buffer in progress.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29395 a1c6a512-1295-4272-9138-f99709370657
2011-02-25 03:51:52 +00:00
Thomas Jarosch
93b1b8e158 Include config.h for strncmp RaaA maemo fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29393 a1c6a512-1295-4272-9138-f99709370657
2011-02-24 23:59:24 +00:00
Thomas Jarosch
e3a3e2c9c2 RaaA: Enable plugins for application builds
Use own plugins/SOURCES and plugins/SUBDIRS file to avoid
ifdef hell for disabled plugins without a keymap.

This finally brings the credits screen to RaaA.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29392 a1c6a512-1295-4272-9138-f99709370657
2011-02-24 23:35:16 +00:00
Andree Buschmann
9c2e7fd362 Use macro for better readability of adjust_mp3entry().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29390 a1c6a512-1295-4272-9138-f99709370657
2011-02-24 20:03:14 +00:00
Andree Buschmann
910d6e507a Minor correction to comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29389 a1c6a512-1295-4272-9138-f99709370657
2011-02-24 19:36:41 +00:00
Andree Buschmann
71ceac0b74 FS#11964. Rework replaygain handling to save metadata buffer and binsize. Remove string representation of replaygain and use a dedicated ftoa implementation for WPS/screen info.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29388 a1c6a512-1295-4272-9138-f99709370657
2011-02-24 19:10:59 +00:00
Michael Sevakis
6510973223 Give playback engine better control over the codec. Codec simply follows commands and doesn't concern itself with audio state. Get track change notification in on the actual last buffer insert of the track because now audio simply waits for a track change notify from PCM on the last track and it must be sent reliably. This is still at an intermediate stage but works. Codecs and plugins become incompatible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29387 a1c6a512-1295-4272-9138-f99709370657
2011-02-23 14:31:13 +00:00
Thomas Martitz
95e24dd7a5 Android:
* Re-create RockboxFramebuffer instance with every time there's a new Activity.
* Also, allow Rockbox to be started via multimedia buttons, immediately starting playback if wanted.

We don't need to keep the fb instance around when it backround, and it makes us less depending on it and the activity (less race conditions). And this is how you usually do it in Android apps.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29384 a1c6a512-1295-4272-9138-f99709370657
2011-02-23 01:10:54 +00:00
Michael Sevakis
652463ecc0 mpegplayer: Move libmpeg2 files into their own subdirectory so things are less cluttered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29381 a1c6a512-1295-4272-9138-f99709370657
2011-02-22 21:44:15 +00:00
Andree Buschmann
6cc02bca06 Submit FS11960. Limit metadata item size like done for ID3 tags since r29174.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29377 a1c6a512-1295-4272-9138-f99709370657
2011-02-22 07:52:21 +00:00
Andree Buschmann
1203befa08 Proper initialize dummy destination address to ensure correct functionality for replaygain in mp4 metadata.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29376 a1c6a512-1295-4272-9138-f99709370657
2011-02-22 07:44:15 +00:00
Andree Buschmann
6bc704e92a Fix FS#11956. Call parse_replaygain() with correct parameters in ID3 tag parsing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29375 a1c6a512-1295-4272-9138-f99709370657
2011-02-22 07:11:11 +00:00
Mustapha Senhaji
9d66c878e5 Add Ismael Castiñeira Álvarez to the credits and on the galego translation files
for his patch FS#11938 committed as r28823


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29373 a1c6a512-1295-4272-9138-f99709370657
2011-02-22 01:44:45 +00:00
Andree Buschmann
588b892785 Fix FS#11955. ID3 tag parser was broken since r29349. Trimming strings must be done in the helper functions, not outside.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29372 a1c6a512-1295-4272-9138-f99709370657
2011-02-21 21:35:41 +00:00
Alex Parker
aa6a66f984 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29371 a1c6a512-1295-4272-9138-f99709370657
2011-02-21 18:49:12 +00:00
Alex Parker
aa59800e8b FS#11938 by Ismael Castiñeira Álvarez - Update of Galician language.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29368 a1c6a512-1295-4272-9138-f99709370657
2011-02-21 18:35:03 +00:00
Michael Sevakis
6cc07f1466 FFT plugin: remove redundant NUM_CORES checks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29366 a1c6a512-1295-4272-9138-f99709370657
2011-02-21 14:54:08 +00:00
Jonas Häggqvist
1e16923f25 Add 2 deprecated strings to appease genlang and correct stats
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29355 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 18:16:14 +00:00
Jonas Häggqvist
5834e60a57 Update Danish translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29353 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 17:59:33 +00:00
Bertrik Sikken
2a4c2e31c3 FS#11953 - Dutch (nederlands) translation update
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29352 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 16:37:27 +00:00
Andree Buschmann
bb5a1dc6cb Revert unwanted submit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29350 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 16:14:41 +00:00
Andree Buschmann
a7e25a01ba FS#11920: Do not overwrite already existing metadata and take into account string termination. This can save several bytes of the metadata buffer when tags have multiple entries (e.g. multiple gerne tags)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29349 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 16:12:05 +00:00
Michael Sevakis
85e40257dc Enforce that codecs wait for their metadata in a proper-ish and consistent manner. Sort of a halfway patch; best would be to give them an internal copy of the current track information which lasts unaltered by playback until a track switch or unload.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29348 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 15:27:10 +00:00
Andree Buschmann
460d54977a FS#11939: Simplify talk_time_unit().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29347 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 15:23:18 +00:00
Michael Sevakis
48b1a2d39d Fix the r29343 red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29344 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 11:46:57 +00:00
Michael Sevakis
03862292a2 Make format_time properly format negative times because sometimes they are shown if track length estimates are off from seeking. Example: -0:15 instead of 0:-15. -1000ms < t < 0 is shown as -0:00.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29343 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 11:33:25 +00:00
Thomas Martitz
9d2c7b8b67 Android: Fix compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29342 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 17:12:12 +00:00
Thomas Martitz
d6ce7fe3d4 Android: Fix some race conditions and crashes on startup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29341 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 16:42:44 +00:00
Andree Buschmann
171b4ff807 FS#11950: Update czech language file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29340 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 15:41:54 +00:00
Thomas Martitz
144df92bfb Android: Rewrite lcd subsystem to use the SurfaceView API.
That enables drawing from outside the apps UI thread, i.e. from within the Rockbox native thread, without needing synchronization means, and adds determinism as to when the draw happens.
It simplifies the drawing routines and adds a convinient way of detecting whether drawing should happen or not (surfaceCreated/Destroyed).
It also restores max. fps on my phone which went down drastically with the gingerbread(CM7) update.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29333 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 01:13:38 +00:00
Thomas Martitz
8bc2801e7c Fix red caused by incorrect includes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29329 a1c6a512-1295-4272-9138-f99709370657
2011-02-18 23:29:11 +00:00
Thomas Martitz
1e391fbdbc Fix yellows and checkwps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29328 a1c6a512-1295-4272-9138-f99709370657
2011-02-18 23:17:07 +00:00
Thomas Jarosch
3926c30705 Make sure we don't read past the end of a C-string in format_track_path. Second part of FS #11947
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29326 a1c6a512-1295-4272-9138-f99709370657
2011-02-18 21:56:48 +00:00
Thomas Jarosch
15a5f9ca95 Don't underflow the buffer in format_track_path() if it consists of whitespaces
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29325 a1c6a512-1295-4272-9138-f99709370657
2011-02-18 21:39:59 +00:00
Thomas Jarosch
84fccff170 Fix off-by-one buffer read access in format_track_path(). Part of #11947
We need to check for "i < max" first.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29324 a1c6a512-1295-4272-9138-f99709370657
2011-02-18 21:21:50 +00:00
Andree Buschmann
ae32e1ef06 Ensure proper initialization of some variables and arrays in metadata parsing. Fixes FS#11948.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29323 a1c6a512-1295-4272-9138-f99709370657
2011-02-17 18:35:24 +00:00
Alessio Lenzi
b5cf163f5a Updated italian translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29322 a1c6a512-1295-4272-9138-f99709370657
2011-02-16 22:33:33 +00:00
Thomas Jarosch
a0a411aef6 Use 35-Adobe-Helvetica as default font on maemo. 27-Adobe-Helvetica is too small
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29321 a1c6a512-1295-4272-9138-f99709370657
2011-02-16 19:06:39 +00:00
Thomas Jarosch
29e4a2d90d Fix buffer size used for realpath() call
Thanks to kugel for pointing this out.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29320 a1c6a512-1295-4272-9138-f99709370657
2011-02-16 18:40:44 +00:00
Magnus Holmgren
efba46f980 FS#11933: Check for external album art if embedded album art fails to load.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29319 a1c6a512-1295-4272-9138-f99709370657
2011-02-16 18:06:50 +00:00
Thomas Jarosch
1dbea9d959 No need to cast away const. Thanks to sideral
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29318 a1c6a512-1295-4272-9138-f99709370657
2011-02-16 17:58:57 +00:00
Thomas Jarosch
0060fed451 RaaA: Fix tagcache filename lookups for paths containing symbolic links
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29317 a1c6a512-1295-4272-9138-f99709370657
2011-02-16 01:01:49 +00:00
Thomas Jarosch
3ced180f5d Treat unknown RaaA platforms like SDL for last.FM scrobbler log file. Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29315 a1c6a512-1295-4272-9138-f99709370657
2011-02-15 21:32:53 +00:00
Thomas Jarosch
81614c428c RaaA: Fix last.FM scrobbler log file location
The .scrobbler.log or .scrobbler-timeless.log file
resides in the USB mass storage area. The exact location
differs for every RaaA platform.

The SDL platform sticks it in ROCKBOX_DIR for now.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29314 a1c6a512-1295-4272-9138-f99709370657
2011-02-15 21:13:03 +00:00
Andree Buschmann
2f3ab5fa22 Correct the metadata's VBR flag for MP4 files. ALAC is native VBR, AAC very unlikely is CBR. The VBR flag is used by several WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29313 a1c6a512-1295-4272-9138-f99709370657
2011-02-15 20:59:22 +00:00