Commit graph

14939 commits

Author SHA1 Message Date
Dominik Riebeling
78ca74a56f Fix read caused by 71f7011.
Change-Id: I1b494bf0d63d5c8668527d1fe39392ec2f018d3b
2012-10-06 14:01:35 +02:00
Richard Quirk
71f70112b2 Add set_sleeptimer_duration function in minutes
Make set_sleep_timer a static function and only call
set_sleeptimer_duration externally, which is always called with minutes
values.

Change-Id: I985308bf014e354f91c47a0b2bf62f4f5a591919
Reviewed-on: http://gerrit.rockbox.org/327
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2012-10-06 11:59:13 +02:00
Richard Quirk
055c92cf42 snake2: fix maze size for sansa clip zip
Change-Id: I43bd0a7217c7f0dcd0dda4fe102582fc5ae61c9f
Reviewed-on: http://gerrit.rockbox.org/322
Reviewed-by: Michael Giacomelli <mgiacomelli@gmail.com>
2012-10-03 17:01:36 +02:00
Dominik Riebeling
3ee5a8a55d Fix typo in german translation.
Thanks to fml on irc for noticing.

Change-Id: I598903aa080580ce33fff4c8abdac26928c76233
2012-09-27 22:14:03 +02:00
Dominik Riebeling
7ad7ed0628 Update german translation.
Based on FS#12735 by Kaspar Rothenfußer with some modifications by me to be in
line with terms already used in the translation.

Change-Id: Ia1ba59bd00d61f0fd27bd496a116143e4b83b420
2012-09-22 22:25:40 +02:00
Frederik M J Vestre
1b8e3801b2 Initial opus codec support
Synchronised with opus repo on github (https://github.com/freqmod/rockbox-opus)

Status:
* Seeking ported from speex, but fails on some cases (e.g. seek to granule 0)
* ReplayGain parsing needs to be reworked, we do vorbis-style replaygain now.
  http://wiki.xiph.org/OggOpus#Comment_Header explicitly forbids these in
  favour of R128_TRACK_GAIN tag.
* No optimisation yet, source files still nearly identical to opus upstream
* Multi-stream opus files may not be parsed correctly

Change-Id: Ia66f1027dc1d288083e3c57b2816700078376f9a
Reviewed-on: http://gerrit.rockbox.org/300
Reviewed-by: Bertrik Sikken <bertrik@sikken.nl>
Tested-by: Bertrik Sikken <bertrik@sikken.nl>
2012-09-20 20:47:44 +02:00
Alex Parker
213f69d2fd FS#12750 by Vanja Cvelbar - update Slovenian translation
Change-Id: I6157ec74688838dd42c95556e2cd7bfe465ab400
2012-09-15 14:16:00 +01:00
Alex Parker
3a13995a4c FS#12662 by Manuel Flury - update French translation
Change-Id: Ibdce5646887329f4cf51e4104ea30ea8a1f85ddc
2012-09-15 14:14:33 +01:00
Sergey Semushin
4ebc7df590 ypr0: Fix graphical eq keymap.
Change-Id: Ic4fef8338fb3da97a21a6f6b5edab6643160516f
Reviewed-on: http://gerrit.rockbox.org/311
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2012-09-11 08:39:22 +02:00
Thomas Martitz
b985d5cee8 Fix FS#12743 - 'Data Abort' on USB connection
Because a pointer was uninitialized the move_callback() corrupted memory
by derefencing it and moving stuff to uninitialized value.

This reverts part of 8bbd4d9, where the offending line was removed. I can
only guess it was removed by accident.

Change-Id: I83cee5b396cf3cc99b000e5284fac72fb8ca8db2
2012-09-11 06:39:53 +02:00
Sergey Semushin
a14791951b ypr0: Correct .scrobbler.log path for YPR0
Change-Id: I74bcb358bb456d7a7958873234f95f04cf2f3643
Reviewed-on: http://gerrit.rockbox.org/310
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2012-09-11 06:36:47 +02:00
Alex Parker
7196023c23 FS#12741 by Francisco Vila - update Spanish translation.
Change-Id: I249a8a731d50110bf1fd131f22634c042a682005
2012-08-29 19:29:03 +01:00
Alex Parker
9279de0a35 FS#12740 by Anton Veretenenko - update Russian translation.
Change-Id: I2891e17a90294b64dad175201157109614a6bf34
2012-08-29 19:23:31 +01:00
Alex Parker
cb94d8dfd1 FS#12739 by Peter Lecký - update Slovak translation.
Change-Id: I329d14166822299a2c4ea5433595eba201f5c32e
2012-08-29 19:22:00 +01:00
Alex Parker
0f29bfcec5 FS#12737 by Jonas Häggqvist - update Danish translation.
Change-Id: Idf5ab08da7a45af6da939dcdc9a2cbb9ace50c6b
2012-08-29 19:20:22 +01:00
Alex Parker
bbcf4a2122 FS#12736 by Thiago Kenji Okada - update Brazilian Portuguese translation
Change-Id: I0e4462d5e3ebb63b0f37f8212e62d2338042c538
2012-08-29 19:17:58 +01:00
Alex Parker
27d0065d54 FS#12734 by Dario Castellarin - update Italian translation.
Change-Id: Icde42034ba07257b92aa7d89f65735dae05e3969
2012-08-29 19:12:51 +01:00
Frank Gevaerts
e6fd7d2d1f Make the recorder build with HAVE_LCD_FLIP disabled.
Change-Id: I5875dc5c59606867299cc0e30d869b817e879ade
2012-08-28 21:36:23 +02:00
Peter D'Hoye
4999913c50 Update Dutch translation
Change-Id: I4a6d4c2fa78934c30323896c9d64071cdb749609
2012-08-27 23:41:36 +02:00
Mateusz Renkiewicz
16335da1cf FS#12730 - Polish translation
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>

Change-Id: I3843ac2eb5239cd16121930a6cf8437d16180e4a
2012-08-24 17:12:36 +02:00
Thomas Martitz
85a6715afa yesno/touchscreen: Only accept on touch release.
Keeping the touchscreen pressed during a screen transition can lead
to accidental actions. action_wait_for_release() currently doesn't work
properly for touchscreen, so it's better to not transition before release.

Change-Id: I37bd67945b05fff1b4a5452313f6415a247e3af9
2012-08-15 23:10:28 +02:00
Thomas Martitz
5d9b26f6a2 folder_select: fix problem when selecting / as folder.
Change-Id: Id4880267e8478cebe073b958a58fef1ac22dd336
2012-08-15 23:10:28 +02:00
Thomas Martitz
54e6bafada Fix missed buttons in action.c if action_wait_for_release() was called
with no button pressed.

If e.g. two yesno screens directly follow each other the button release of the
first one was incorrectly accepted in the second one. The fix exposed another
problem in action.c if action_wait_for_release() is called when no button is
actually pressed. The next press was silently eaten.

This time re-introducing FS#12723 is avoided by leaving the offending hunk
out in yesno.c.

Change-Id: Icfe57375067f51f5c8177f3585cd47ceec9dcf0d
2012-08-15 23:08:26 +02:00
Magnus Holmgren
3c002659fb Swedish language update.
Change-Id: I5afc9dab201c043f9305cf8a9fbbc1137a68b959
2012-08-15 19:52:50 +02:00
Fred W. Bauer
53c6bab75b We should reload the playlist control file when leaving
USB mode to make sure the filedescriptor is correct.

Change-Id: I2905eaf27533d935a0458b630372584e353c7160
Reviewed-on: http://gerrit.rockbox.org/294
Reviewed-by: Michael Giacomelli <mgiacomelli@gmail.com>
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2012-08-14 06:23:24 +02:00
Jonathan Gordon
70eb3e6a56 Revert "fix erroneous button read in yesno screen and missed buttons in action.c."
This reverts commit 15775c8bad.
2012-08-14 12:12:15 +10:00
Jonathan Gordon
bd6e6ed403 folder selector: handle long press to invert selection/select all.
Doing a LONG PRESS on a:
- unopened folder will select all its sub-folders
- opened folder will invert the selection of its sub-folders

Change-Id: Ia7fd8dc3b940f60adee3f0314bf6bba5eb2c7b3b
2012-08-13 15:03:12 +10:00
Michael Chicoine
ca35628dc5 US English language update
Change-Id: If4676888dc5e36e15badb731575c544beae7b479
2012-08-11 18:36:59 -05:00
Jani Kinnunen
9d632bc88b FS#12726 - Updated Finnish translation
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>

Change-Id: Ic24021fadf3e5c42cf07bc1870c9372e8718da51
2012-08-08 20:21:01 +02:00
Asier Arsuaga
6b16ac1cf3 FS#12725 - Basque translation
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>

Change-Id: I2b35a3210e1f4128cd598633c0017bee2a30d17f
2012-08-07 18:59:43 +02:00
Michael Giacomelli
d46b090771 Introduce logging to disk feature into rockbox.
Logs information, errors, etc to disk using the register_storage_idle_func
mechanism to write to the disk when available.  Currently, this is disabled
in normal builds, but can be enabled by adding ROCKBOX_HAS_LOGDISKF to the
config file.  By default, it uses a 2KB buffer and drops text if the buffer
overflows.

The system includes a simple warning level mechanism that can be used to by
default exclude non-serious errors from logging on release builds.

Change-Id: I0a3d186a93625c7c93dae37b993a0d37e5a3a925
Reviewed-on: http://gerrit.rockbox.org/288
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
Tested-by: Michael Giacomelli <mgiacomelli@gmail.com>
Reviewed-by: Michael Giacomelli <mgiacomelli@gmail.com>
2012-08-07 00:53:46 +02:00
Jonathan Gordon
7c31ff2fb0 Fix skin engine error message
Change-Id: I2250be6d4e82cd5d91ed1a2c080e263dd7543129
2012-08-06 10:35:22 +10:00
Thomas Martitz
efe73e143a Fix database tool.
It was also broken functionally, probably since a while.So restore the
functionality. Run it on the dap, the tcd files will be placed into .rockbox folder.

Change-Id: Id7a6ce4389dfaf99799258902be80d630af0601c
2012-07-31 10:33:27 +02:00
Thomas Martitz
63d27626e4 Database: Support for multiple search roots.
Support multiple roots (i.e. scan folders) using the new folder_select()
function.

Amaximum of 12 dirs can be selected, however the setting (i.e. the entire
folder list) cannot be longer than 80 chars.

The setting works similar to the autoresume dirs: Directories are seperated
by colons, e.g. "/Music:/Podcasts". Default is "/sdcard" on android, "/" on
all other targets.

Changes are made to the multiple-root logic in tagcache.c. This is to
a) provide the logic at all on native targets and b) support more than
one root before the scan even starts (until now it was used to add roots
during scan due to symlinks).

Change-Id: I64992c0678324536e8e64cd4427c8abbd8e8b39e
2012-07-30 21:20:51 +02:00
Thomas Martitz
0a645d212c autoresume: Use GUI browser instead of text entry to select autoresumable folders.
Change-Id: I89d78305410ed9a1f0a64433e9139592b12ad900
2012-07-30 21:20:51 +02:00
Thomas Martitz
8c655cfdc0 New GUI browser to select one (or more) folders.
The browser lets the user pick one or more directories in a convinient
GUI browser. The initial directory list is read from a string
(separated by colons) and the resulting list is written back to the same
string (again separated by colons).

Note: The work was initially done by Jonathan Gordon, however I changed
it substantially so I claim autorship.

This selector is going to be used for autoresume and database scan folders.

Change-Id: Id1d3186dad783411eb5c6056ce93f5b6123c7aa0
2012-07-30 21:20:51 +02:00
Jonathan Gordon
9dd2eb49be skin_engine: Support percentages for viewport positioning
%V(0,50%,75%,50%,-) - make a viewport at x=0, y=half the lcd height,
75% lcd width and the remaining height (the other half) of the lcd.

Change-Id: If26ccb65e8dc52c9225f3fd6d7b222d770add0f0
Reviewed-on: http://gerrit.rockbox.org/184
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Tested-by: Thomas Martitz <kugel@rockbox.org>
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2012-07-29 04:24:38 +02:00
Jonathan Gordon
4348b45857 shortcuts: Remove the selected shortcut with the context menu button
Change-Id: Ie551fdda39bae3b0c5f37c1cb0ff905151d352de
2012-07-26 17:51:51 +10:00
Jonathan Gordon
08238178d3 lists: Support '\t' in list item text to indent the line containing it.
Change-Id: I1583371228ed477b504c135f81cb59a0c3c931e6
Reviewed-on: http://gerrit.rockbox.org/296
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
Tested-by: Jonathan Gordon <rockbox@jdgordon.info>
2012-07-19 01:21:10 +02:00
Purdea Andrei
323282f22d Fixing data abort (pc in strchr). when scrolling a big playlist very fast.
Change-Id: Ibe00a11592a18d320682cce755e48ce701ff5b4a
Reviewed-on: http://gerrit.rockbox.org/281
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Tested-by: Thomas Martitz <kugel@rockbox.org>
2012-07-19 00:00:41 +02:00
James Hunt
f0430e291a FS#12716 - Updated Russian translation
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>

Change-Id: Ib98ab5b2c4c1750ce83208a36355e41ec3500f1e
2012-07-18 15:17:44 +02:00
Thomas Martitz
15775c8bad fix erroneous button read in yesno screen and missed buttons in action.c.
If two yesno screens directly follow each other the button release of the
first one was incorrectly accepted in the second one. The fix exposed another
problem in action.c if action_wait_for_release() is called when no button is
actually pressed. The next press was silently eaten.

Change-Id: Iaa5f246f7ea1fd775606620a989cdaec74a9305e
2012-07-18 10:28:08 +02:00
Asier Arsuaga
df9bd8730c FS#12715 - Translation for basque completed
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>

Change-Id: I31aff123f414e04482b3c9f8af3fe481dab7284d
2012-07-16 18:35:20 +02:00
Jonathan Gordon
68ee7aac6e skin_engine: Make pressing the setting bar touch region work
might need some tweaking, but works.

Change-Id: I0784cd4fe9996531da6cc275491ff3b4e83cdbcf
2012-07-06 14:28:34 +10:00
Jonathan Gordon
65f9df3083 skin_engine: Allow the %St() (setting) skin tag be used as a bar
%St(<setting name>) or %St(<bar tags>, setting, <setting name>)

Change-Id: I71396d683634d4d1ad2357018c4029ecb4229677
2012-07-05 23:30:06 +10:00
Jonathan Gordon
f6d6a4602c Fix fast_readline to handle windows line endings (\r\n)
Change-Id: I3561eff9bc4e244a84ef4afee26a40432d1073dd
2012-07-05 23:00:31 +10:00
Jonathan Gordon
c413591e7e fix build warnings
Change-Id: Id5f0e84834f1cb74a317bb5653fdb6f665233345
2012-07-05 11:24:08 +10:00
Jonathan Gordon
d336eb30f8 skin_engine: Automatically create touch regions for skin bars
skin bars now automatically create the touch region the same size
as the bar on touchscreen targets. This means touches will
magically "just work" for reveresed bars (rtl or otherwise).

~5% padding is added on all 4 sides of the region rectangle but
this may need to be tweaked.

Please consider the 'progressbar' and 'volume' touchregion actions
to be deprecated.

Kudos to my new wife for figuring out the bleedingly obvious way to
do this!

Change-Id: I997a7bcaa70fce9885808aae27953c7676e9c2ff
2012-07-05 11:15:16 +10:00
Mārtiņš Šimis
e8d1583068 FS#12710 - Latvian translation update
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>

Change-Id: I2e1e79a5df45117f83d631d65144c0a012c6f2e4
2012-06-28 21:37:30 +02:00
Enric Morales
3214849f4e FS#12707 - [PATCH] Last missing strings in Catalan translation
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>

Change-Id: Icf726324d533ce2cd0eb918a7188ab6201e5c99f
2012-06-26 09:00:50 +02:00