Commit graph

14457 commits

Author SHA1 Message Date
Thomas Martitz
6d06435c40 Fix for "FS#12430 - FM presets tags aren't dynamic in status bar."
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31163 a1c6a512-1295-4272-9138-f99709370657
2011-12-07 14:59:16 +00:00
Boris Gjenero
0be9570bd0 In 3.10 branch, fix FS#12423 - Rockbox access to /.rockbox/fonts after usb_enable(true)
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31160 a1c6a512-1295-4272-9138-f99709370657
2011-12-06 17:03:20 +00:00
Frank Gevaerts
69d432f598 Merge Italian and Latvian from trunk
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31146 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 21:03:54 +00:00
Thomas Jarosch
689285bd8e Backport r31124 - Remove redundant assigment to "dummy" variable
It was probably in there to silence a gcc warning
about unused variable "dummy".

Detected by cppcheck.

git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31126 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 17:18:12 +00:00
Thomas Jarosch
dbcd21f3b5 Backport r30964 - Fix copy'n'paste bug in skin engine
cppcheckout reported:
[apps/gui/skin_engine/skin_tokens.c:1553] -> [apps/gui/skin_engine/skin_tokens.c:1553]: (style) Same expression on both sides of '||'.

git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31123 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 16:55:04 +00:00
Michael Chicoine
df1b8ed8b6 Backport r31083 - playlist handling: revert part of r30177.
loading a .m3u from the filebrowser now just runs it like it used to, selecting a playlist from inside the catalogue viewer opens it instead.


git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31110 a1c6a512-1295-4272-9138-f99709370657
2011-12-02 16:41:36 +00:00
Michael Chicoine
8f96be4857 Backport r31107 - Fix FS #11675 : LED resistor calculator does not wait for keypress.
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31109 a1c6a512-1295-4272-9138-f99709370657
2011-12-02 15:34:50 +00:00
Michael Chicoine
a1d34210c6 Backport r31096 - Text viewer plugin: Fix info viewport font not being set to user selected font
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31097 a1c6a512-1295-4272-9138-f99709370657
2011-11-30 03:12:48 +00:00
Andree Buschmann
9e76f00927 Bring r31091 to v3.10: Make embedded cover art for APEv2 more flexible. This fixes an issue with foobar-tagged files as reported in the forums.
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31092 a1c6a512-1295-4272-9138-f99709370657
2011-11-29 18:43:29 +00:00
Frank Gevaerts
cc16c1070a Free a handle when we try to load a backdrop file which doesnt exist or cant be loaded (backport of r31070)
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31072 a1c6a512-1295-4272-9138-f99709370657
2011-11-27 15:01:56 +00:00
Andree Buschmann
e7467639dc Integrate r31051 to v3.10. Fixes mpc distortions on Coldfire when using GCC 4.5.2
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31055 a1c6a512-1295-4272-9138-f99709370657
2011-11-25 19:49:46 +00:00
Thomas Martitz
88325e44a0 Update french translation
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31046 a1c6a512-1295-4272-9138-f99709370657
2011-11-23 19:41:32 +00:00
Thomas Martitz
ae2822dcbb Undo some of r31021. The translation site seems to have problems with double quotes in translations.
Re-add the double quotes, except where around button names, so the translators can sort this out.

git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31024 a1c6a512-1295-4272-9138-f99709370657
2011-11-17 21:58:10 +00:00
Thomas Martitz
231a0ede1d Croatian translation update
Flyspray: FS#12332
Author: Ante Maretic

git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31022 a1c6a512-1295-4272-9138-f99709370657
2011-11-17 21:30:56 +00:00
Thomas Martitz
7dd15b13a3 Brazilian Portuguese translation update
Flyspray: FS#12341
Author: Kessia Pinheiro

git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31020 a1c6a512-1295-4272-9138-f99709370657
2011-11-17 21:26:21 +00:00
Thomas Martitz
52d1616e5a French translation update
Flyspray: FS#12372
Author: Olivier Kaloudoff

git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31017 a1c6a512-1295-4272-9138-f99709370657
2011-11-17 21:21:37 +00:00
Thomas Martitz
1342706583 Bulgarian translation update
Flyspray: FS#12379
Author: Vencislav Atanasov

git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31016 a1c6a512-1295-4272-9138-f99709370657
2011-11-17 21:16:42 +00:00
Thomas Martitz
1fee9620b7 Updated Russian translation
FS: FS#12382
Author: Desu Rozen


Conflicts:

	docs/CREDITS

git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31014 a1c6a512-1295-4272-9138-f99709370657
2011-11-17 21:10:23 +00:00
Thomas Martitz
565905ae33 skin engine: Fix %if() when comparing against a number.
If the tag being checked returns a number as a string (i.e %pv) but doesnt set the intval try to convert the string to a number so the comparisson operators work

Conflicts:

	apps/gui/skin_engine/skin_tokens.c

git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31008 a1c6a512-1295-4272-9138-f99709370657
2011-11-17 18:08:20 +00:00
Thomas Martitz
8026a172d9 Buflib: Make shrinking and buflib_available() smarter.
* shrinking now considers freespace just before the alloc-to-be-shrinked,
  that means less (or sometimes none at all) is taken from the audio buffer.
* core_available() now searches for the best free space, instead of simply the end,
  i.e. it will not return 0 if the audio buffer is allocated and there's free space
  before it. It also runs a compaction to ensure maximum contiguous memory.

audio_buffer_available() is also enhanced. It now considers the 256K reserve buffer,
and returns free buflib space instead if the audio buffer is short.

This all fixes the root problem of FS#12344 (Sansa Clip+: PANIC occurred when
dircache is enabled), that alloced from the audio buffer, even if it was very
short and buflib had many more available as free space before it.

git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31007 a1c6a512-1295-4272-9138-f99709370657
2011-11-17 17:57:28 +00:00
Michael Chicoine
576bc15733 FS#12383 - slovak language update by Peter Lecky
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31005 a1c6a512-1295-4272-9138-f99709370657
2011-11-17 17:00:05 +00:00
Michael Chicoine
f07b4602bf Correct saved config setting for Line Padding in Lists - fixes FS#12377
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@30956 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 12:26:19 +00:00
Peter D'Hoye
58cc71b3e9 update Dutch langfile for 3.10
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@30946 a1c6a512-1295-4272-9138-f99709370657
2011-11-09 20:46:55 +00:00
Michael Chicoine
66ecd9e85d FS#12365 - Czech language update by Marek Salaba
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@30929 a1c6a512-1295-4272-9138-f99709370657
2011-11-07 23:57:07 +00:00
Torne Wuff
569285794b Bulk convert all DOS line endings to UNIX.
For the git migration we want a nice clean repository with UNIX line
endings. git does not use svn:eol-style, we just need the file contents to be
sane.

Sorry everybody. I know this messes up blame.

Scumbag *NIX developer says migrating to git will make line ending issues go
away; commits giant change to svn which changes line endings anyway. :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30924 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 22:44:25 +00:00
Jens Arnold
ae601954aa Make usage of TALK_PARTIAL_LOAD actually Ondio specific. MMC is not always slow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30917 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 14:25:33 +00:00
Jens Arnold
544fb6a5a4 Voice related fixes and cleaup
* Fix .talk clips on hwcodec. Voice does have the entire audio buffer available there.
* Get rid of the separate TALK_PROGRESSIVE_LOAD in favour of the more advanced
  TALK_PARTIAL_LOAD i.e. use the latter on the Ondios as well. This gets rid of quite
  some ifdefing, and has the advantage that the voice file can be larger than the buffer
  (at a slight binsize cost).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30916 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 13:58:17 +00:00
Thomas Martitz
79ffd047ff Fix warning and typos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30912 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 12:07:33 +00:00
Thomas Martitz
ca2b82b755 hwcodec: fix shrink_callback resuming playback wrongly, and add checks
if the voice is bigger than the audiobuffer. NOTE: This is the case on the sim
so voice doesn't appear to work currently on hwcodec. Someone needs to verify
on a real target.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30910 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 12:01:43 +00:00
Thomas Martitz
7baa450738 Fix broken voice when .talk files are used and voice buffer calculation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30909 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 12:01:38 +00:00
Thomas Martitz
d7e1070827 Fix FS#12279 - playback starts from the beginning when changing themes.
Very frequent start-stop cycles (as caused by frequent core_alloc() calls)
of audio makes the codecs lose the resume position, and this causes playback
from the beginning.

To work around, use queue_post() instead of queue_send() to delay the resume
so that it only resumes once per core_alloc() set.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30900 a1c6a512-1295-4272-9138-f99709370657
2011-11-05 10:01:22 +00:00
Bertrik Sikken
e71750b7a3 Make local functions and variables static where possible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30897 a1c6a512-1295-4272-9138-f99709370657
2011-11-03 23:32:49 +00:00
Thomas Martitz
59dc87db7d Properly initialize variable to get voice going again. GCC didn't catch this one introduced r30840.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30894 a1c6a512-1295-4272-9138-f99709370657
2011-11-03 21:54:26 +00:00
Thomas Martitz
cf01d23d0d In the playback buflib shrink callback, ensure a minimum buffer remains for
audio playback. If it goes below 256K new buflib allocations fail.

This prevents buffer underruns as the new buffer size wasn't actually
checked at all.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30893 a1c6a512-1295-4272-9138-f99709370657
2011-11-03 21:51:46 +00:00
Andrew Ryabinin
2164aab902 Added HiFiMAN HM-801 target. FS#12355. This also renames tda1543.{ch} used by HM-60x to dummy_codec.{ch} as it works for PCM1704 used by HM-801.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30891 a1c6a512-1295-4272-9138-f99709370657
2011-11-03 11:53:02 +00:00
Bertrik Sikken
94fc46b730 Sansa clip zip: fix colours of icons, logos, album art
* configure display for RGB (instead of BGR) colour coding
* fix logo bitmap to correct size of 96x30
* fix pixel format to RGB565 swapped

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30859 a1c6a512-1295-4272-9138-f99709370657
2011-10-29 22:36:47 +00:00
Michael Sevakis
fd187ad14c Fix FS#12356 : next track advances when skip in repeat one mode. audio_flush_and_reload_track wasn't called when the setting changed from the playback menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30857 a1c6a512-1295-4272-9138-f99709370657
2011-10-29 20:41:20 +00:00
Thomas Martitz
93c6c79e8d Better fix for FS#12337. Use 0 to make the line height calculated from the font height, as before r30773.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30850 a1c6a512-1295-4272-9138-f99709370657
2011-10-29 15:16:02 +00:00
Thomas Martitz
e126153687 Fix FS#12357 - New backdrop not displayed after set backdrop from context menu
The loaded flag wasn't set and skin_backdrop_show() call was missing.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30846 a1c6a512-1295-4272-9138-f99709370657
2011-10-28 17:09:38 +00:00
Magnus Holmgren
d3ad36f6e7 Correct a few small things in the Swedish translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30842 a1c6a512-1295-4272-9138-f99709370657
2011-10-26 20:15:46 +00:00
Michael Giacomelli
b25cd7d892 Revert swap channel feature as we're presently in a feature freeze. I'll recommit after the release is branched.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30841 a1c6a512-1295-4272-9138-f99709370657
2011-10-26 18:37:50 +00:00
Thomas Martitz
5d5177931e Fix FS#12241. Voice stopped working after audio_get_buffer() calls.
Since r30308 the talk buffer was set to NULL if e.g. a plugin called
audio_get_buffer() to steal the talk buffer. Since there's no audio_release_buffer() kind of function
the talk buffer was never set back again.
When trying to talk try to get the audio buffer with audio_get_buffer() as well,
which works until the audio buffer gets properly reinitialized.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30840 a1c6a512-1295-4272-9138-f99709370657
2011-10-26 18:31:19 +00:00
Thomas Martitz
d3c21023e0 Add pcm_rec_init() to the sim's init.
It makes sim behavior a little more target-like and enables to reproduce FS#12241.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30839 a1c6a512-1295-4272-9138-f99709370657
2011-10-26 18:28:45 +00:00
Michael Giacomelli
5c4bd11d91 Add option to exchange the left and right stereo channels. Patch by Dave Chapman and Martin Sägmüller. Also add manual entry (by Michael Giacomelli). Note that this setting will confuse non-software effect options like channel balance. This should be addressed in a future commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30837 a1c6a512-1295-4272-9138-f99709370657
2011-10-26 18:18:34 +00:00
Thomas Martitz
7352e72cb9 Fix charcell build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30828 a1c6a512-1295-4272-9138-f99709370657
2011-10-23 11:12:52 +00:00
Thomas Martitz
155a9f8abd Fix FS#12337 properly. Also fixes FS#12345 which the previous commit introduced.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30827 a1c6a512-1295-4272-9138-f99709370657
2011-10-23 11:05:27 +00:00
Fred Bauer
e299eb3ea3 Add functions font_set_ui() and font_get_ui(). The font returned by FONT_UI used to be fixed at zero but since buflib-fonts (r30589) can be different, depending on the order of loads and unloads. Fixes broken behavoir in virtual keyboard (FS#12336), lyrics player (FS#12306), and hopefully, FS#12337
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30826 a1c6a512-1295-4272-9138-f99709370657
2011-10-22 17:13:33 +00:00
Thomas Martitz
5c509d17db Fix buttonbar and line padding in time&date screen.
The time&date screen uses a custom parent for do_menu(), and doesn't
account for the buttonbar and list line height. Introduce
gui_synclist_set_viewport_defaults() to set those for viewports that are
going to be list parents and use that so that time&date screen doesn't need
to know about buttonbar/line padding.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30824 a1c6a512-1295-4272-9138-f99709370657
2011-10-22 10:09:23 +00:00
Thomas Martitz
09d0b6fec4 Fix backwardly named variable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30823 a1c6a512-1295-4272-9138-f99709370657
2011-10-22 10:06:48 +00:00
Fred Bauer
d228d4d130 Implement move callback for timestretch sample allocation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30813 a1c6a512-1295-4272-9138-f99709370657
2011-10-21 17:47:58 +00:00