Commit graph

15055 commits

Author SHA1 Message Date
Jonathan Gordon
657b91acfa skin engine: Relax the AA load width/height checks
d6c6c07 changed the AA load tag to make sure the image width/heights
fit in the viewport, Revert this because it doesn't actually make
sense to check it here.

Change-Id: I3fe4b074ef8fe88560f2f894ec651027ea3642f4
2013-02-26 20:47:46 +11:00
Stephane Moutard-Martin
8df11853b2 FS#12828 : french update
Change-Id: I586d0f08db08761f3949727b30eb120588d67fdc
Signed-off-by: Rafaël Carré <funman@videolan.org>
2013-02-24 18:39:25 +01:00
Frank Gevaerts
88656a522e Make the git viewer use the global libtlsf.a
Change-Id: Id529858f902aa7ffd3a63e4e335db2ac3c411430
2013-02-23 20:51:03 +01:00
Michael Sevakis
5fc82f023e Fix FS#12824 : Malfunctioning FFT plugin in Sansa Clip Zip
The "plot" variable was left NULL when FFT_FREQ_SCALE key wasn't defined.

Please add FFT_FREQ_SCALE keys to targets missing them! I added the key
for Clip Zip and reminders for others.

Change-Id: I49c0dc2ea2e5bc494db793da7a2f3059b4fb20df
2013-02-21 20:20:52 -05:00
Jonathan Gordon
a395a34671 skin tags: fix the id3 track/disc numbers in conditionals
Fix the %in tag so %xd(a, %in) works as expected

Change-Id: I33dd3ae092a66b1363c9cf3afa08075e4534af7c
2013-02-21 21:14:58 +11:00
Alex Mayer
ee758c5a97 Theme Engine: Fix progress bar slider (FS#12823)
Fix the need to resize progress bar when using a slider.
Slider stays in bounds. Progress bar is not resized.
Works well with square sliders that should not overlap
edge of progress bar. also works with rounded sliders.

You can also make progress bar the full width of screen
while using a slider. Before if you would make the
progress bar the full width of the screen and add a slider
the progress bar would look like it was padded on both ends.

This fixes FS#12823

Change-Id: I60345efc5cd0f46286f2591ed032f0d9320d1c3e
Reviewed-on: http://gerrit.rockbox.org/402
Reviewed-by: Hayden Pearce <saint.lascivious@gmail.com>
Tested-by: Hayden Pearce <saint.lascivious@gmail.com>
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2013-02-19 07:27:54 +01:00
Rafaël Carré
2c193f8608 snake2: clip/m200 use same keypad than e200/c200
Change-Id: Ie9c75e14717c14f7670e093d0d637b8d238f3fd0
2013-02-18 09:20:27 +01:00
Rafaël Carré
56d9efd112 blackjack: c200 keymap is identical to clip keymap
Change-Id: I8f9036d541e04c869ca7e981331ffb91a13f5218
2013-02-18 09:20:27 +01:00
Jonathan Gordon
371b142b4b Fix advanced EQ menu
Change-Id: Ie2c3db2299fa2c34277e2118c922a93fa2420b9a
2013-02-18 18:54:14 +11:00
Rafaël Carré
fda2ce63f0 blackjack: adapt to narrow clip zip screen
Change-Id: I5d45d202bc63c7cf36cfb97c98579e83a4720fbf
2013-02-18 08:22:27 +01:00
Stefan Moisei
527b1885a1 FS#12757 - Romanian translation patch
Change-Id: Ia3e042149f8e950d55effd0ea4480b695db2ad01
2013-02-16 14:29:25 +01:00
Jean-Louis Biasini
d4139c868a [Fuze+] redo osciloscope keymaps update that was canceled lately
thanks to pixelma for pointing this out

Change-Id: Ie50fc44acb51d9e0364f960c421996b0b8f297d9
Reviewed-on: http://gerrit.rockbox.org/403
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-02-14 14:39:18 +01:00
Jonathan Gordon
1cc0809ca2 list widget: undo part of aaf3065
It fixed a simulator warning in the skin debug screen but broke
the icons in the database folder chooser. Proper fix shortly.

Change-Id: If366daacc440f937c40960112477b8f6136b72b9
2013-02-13 09:22:24 +11:00
Jonathan Gordon
cb9258ef0f and fix the last compile errors
Change-Id: I6e1608276afdaf04705b333fc3e96c8b90ff5233
2013-02-12 21:14:56 +11:00
Jonathan Gordon
aaf30651df skin_engine: Add a debug screen to display skin ram usage
Change-Id: Ida9c33211d9360ac88e30a2cf8df9f191bee8b45
2013-02-12 21:01:13 +11:00
Jonathan Gordon
69228f92db simplelist: Make better use of the static buffer and simplify API
Change-Id: I1327fcd01d6f817be6c7018d30d33446c9b57287
2013-02-12 21:01:13 +11:00
Jonathan Gordon
e41aed633f Fix (c) notice which was apparently copy/pasted from a completly unrelated file
Change-Id: I465bd6a70e911c7a56213af82b4db64c25c294f7
2013-02-12 21:01:13 +11:00
Thomas Martitz
ca634a0ac0 bitmap drawing: Negate alpha channel to match alpha information format of font files.
The comment about the format was actually incorrect. The alpha information
is now negated during conversion to native format, according to the
corrected comment.

Change-Id: Ifdb9ffdf9b55e39e64983eec2d9d60339e570bd9
2013-02-12 10:29:25 +01:00
Jonathan Gordon
948dbed0af remove unused members
Change-Id: Ic0a0d300c9b7701c9173121d9d36a4dd4a28d8bd
2013-02-11 00:11:25 +11:00
Jonathan Gordon
1eb17dc9f4 EQ settings: Rework the settings to clean up the config file.
Instead of 3 cfg lines per eq band there is now a single line
for each:
<config name>: <cutoff/center freq>, <q>, <gain>

In addition, the config value names make a bit more sense.

The old settings are still readable but config.cfg and any new
settings files will be written with the new config values. (The
old settings will be removed completly sometime after the next
stable release).

Also a slight rework of the advanced EQ menu UI

Change-Id: I9008658d36ded442a5f2f825916df42a3934cbef
Reviewed-on: http://gerrit.rockbox.org/394
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2013-02-09 13:05:32 +01:00
Jonathan Gordon
d06779d987 gui: Fix \t indenting for RTL langs in the lists (DB folder chooser)
Change-Id: If033547ad979a2ebdd463723a31eb15e718e6f8b
2013-02-06 19:57:21 +11:00
Jonathan Gordon
db251fa7b6 eq settings: fix the lang string used for the center band string
Change-Id: Id8d14a547fc2ec8005a8df44ca311c3e171a4b37
2013-02-05 22:37:57 +11:00
Hayden Pearce
93fb11683e Additional colors for lamp.rock
- Available colors (in order of display):
    white - default
    red
    orange
    yellow
    green
    blue
    indigo
    violet
    black
 - More colors combined with the existing brightness control (also added by myself)
   allow for a much wider range of light to suit the user's current mood or
   environment
 - ToDo(?):
    * add a color picker for custom colors
    * allow custom colors to be saved for later user

Change-Id: I0b2f6376a408acaa9b2459b2fa56b43f5427b965
Reviewed-on: http://gerrit.rockbox.org/390
Tested-by: Hayden Pearce <saint.lascivious@gmail.com>
Reviewed-by: benjamin brown <foolshperson@gmail.com>
Tested-by: benjamin brown <foolshperson@gmail.com>
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2013-02-04 09:08:16 +01:00
Hayden Pearce
d73c20933b 10 Band EQ w/Presets
- A 10 Band EQ for Rockbox w/ presets adapted
   from VLC
 - frequency stepping at 32, 64, 125, 250, 500
   1K, 2K, 4K, 8K, 16K

Change-Id: I85ad84d70a534edfc66c6ad9af8a76f022a02ec7
Reviewed-on: http://gerrit.rockbox.org/386
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2013-01-29 06:53:41 +01:00
Kirill Stryaponoff
6a6e7ea26a Created graphics for the numbers in Sudoku and fixed layout for Sansa Clip Zip.
Added three bitmaps with the new 70x14 graphics and added link to them in /apps/plugins/bitmaps/native/SOURCES

Change-Id: I1f4b9e3504011b80a7cd40e0fcd71ba8fd100424
Reviewed-on: http://gerrit.rockbox.org/389
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
Tested-by: Jonathan Gordon <rockbox@jdgordon.info>
2013-01-27 13:57:27 +01:00
Marcin Bukat
071c95be70 gif viewer: remove max frames count constraint
Change-Id: I0be2f86234cfc5fd4ab6bb21fb918e507c608f2f
Reviewed-on: http://gerrit.rockbox.org/380
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
2013-01-25 16:51:12 +01:00
Björn Stenberg
1501df045f Deprecate the EXTRA_LIBS variable.
Instead specify explicit library dependencies for codecs and plugins.
2013-01-24 16:06:45 +01:00
Jonathan Gordon
0c87e02631 And use the unknown file colour if there is no extension
Change-Id: I35e16643fa655b7d1e006ea85be5c351427bca14
2013-01-21 09:38:19 +11:00
Jonathan Gordon
3b6b5130c9 fix yellow
Change-Id: I269c1c3caa57ba3f0368f58da9501fc29be3dc0c
2013-01-21 09:07:04 +11:00
Jonathan Gordon
70595a278a filetree: Support ??? in viewers.config for unsupported filetypes
This will allow the user to set the file colour and icon for all
unknown files in the file browser.

Change-Id: I4e601f9d2ea31ac972d8066252bf80b6c0d22268
2013-01-20 22:44:03 +11:00
Thomas Martitz
48bc762db1 lists: Fix item indentation in RTL to match LTR behavior (which is no indentation when the scrollbar isn't shown, apparently).
Change-Id: I5c36d34638fa7a9cba9468b7ee07a07a836fadec
2013-01-18 18:02:47 +01:00
Thomas Martitz
2ffde90c69 touchscreen: Fix kinetic and swipe scrolling outside of the list viewport.
There were some bugs, especially when the user scrolled above the
list viewport. One bug made Rockbox completely unusable once triggered.

Change-Id: I9bb4722ff4381db189058e9a19ea30b2c69e87d9
2013-01-17 23:29:35 +01:00
Thomas Jarosch
5db5341deb Fix possible readlink() buffer overflow
readlink() might return the full size of the target buffer
and we write a '\0' to the returned length offset.

cppecheck reported:
[rockbox/apps/tagcache.c:4335]: (warning, inconclusive) readlink() might return the full size of 'target'. Lower the supplied size by one.

(the check was actually written by me)

Change-Id: Ibb42f732aa42c38bb6cb92cdccd3e6a0d3aa9b9f
2013-01-15 22:04:18 +01:00
Jonathan Gordon
d6c6c0767c album art display: Fix RTL handling for the album art skin tag
AA was broken when an RTL language is used, causing it to not
be displayed.

Also fix th out of bounds handling when width/height > viewport

Change-Id: I4899cd32ec58107c987e3cc0e8df582963bdcf62
2013-01-15 23:10:37 +11:00
Frank Gevaerts
b90316cab7 Bump the plugin api version. This should have been in 212e7808.
Change-Id: I4525d62782af1ad1c0e5e92605421063b8c9b72b
2013-01-04 00:34:12 +01:00
Jonathan Gordon
c500f4efe5 radio screen: Disable displaying radio art, FS#12797
With radioart enabled there appears to be buffer corruption when
the image is loaded causing the player to data abort in skin_render_line()

So, disable the code untill someone can fix it.

Change-Id: I6acf3f76ce38aa2784b1b24ed6da29a9c5bee479
2013-01-03 23:09:01 +11:00
Richard Quirk
212e7808d5 Use crc32 of filename to resume tracks
As well as using an index, which breaks when a file is added or
removed, use the crc32 of the filename. When the crc32 check passes the
index is used directly. When it fails, the slow path is taken checking
each file name in the playlist until the right crc is found. If that fails
the playlist is started from the beginning.

See http://www.rockbox.org/tracker/6411

Bump plugin API and nvram version numbers

Change-Id: I156f61a9f1ac428b4a682bc680379cb6b60b1b10
Reviewed-on: http://gerrit.rockbox.org/372
Tested-by: Jonathan Gordon <rockbox@jdgordon.info>
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2013-01-02 08:29:38 +01:00
Frank Gevaerts
18f0ba003c Revert 64d048be. It breaks h300.
HAVE_USB_CHARGING_ENABLE is not only used for software usb, so checking
for HAVE_USBSTACK is wrong.

Change-Id: I422796b517c262f33f35623e992434219e288424
2012-12-26 18:01:19 +01:00
Frank Gevaerts
64d048be2b Make code that depends on HAVE_USB_CHARGING_ENABLE check HAVE_USBSTACK.
This fixes building without HAVE_USBSTACK

Change-Id: If8fec87a3ed4de583864ed2bab69be1f2ad8ac52
2012-12-26 17:52:15 +01:00
Jean-Louis Biasini
5caaf70f34 [Fuze+] imageviewer: update/complete keymaps
1) update/complete keymaps (now handle slideshow)
2) update/complete manual

Change-Id: I1baf2598941bb781a2f2777f23eb543bd6bf5848
Reviewed-on: http://gerrit.rockbox.org/354
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2012-12-26 17:30:54 +01:00
Jean-Louis Biasini
0f0adfac71 [Fuze+] PictureFlow: complete keys mapping
1) add quit and menu binding
2) complete manual

Change-Id: Iceee6354c788b8baeefeea2d2d8914e1df83d4a7
Reviewed-on: http://gerrit.rockbox.org/353
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2012-12-26 17:30:31 +01:00
Jean-Louis Biasini
7c488f5053 [FUZE+] Rockblox plugin slight keymaps update
1) slight keymaps update
Remove mapping of BUTTON_BACK reseting game to avoid pressing it
involuntary.
Direct mapping of BUTTON_POWER to go into menu.
2) manual updated
Change-Id: I28875104c4a4058216532b9aa12bb2defabcca6d
Reviewed-on: http://gerrit.rockbox.org/352
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2012-12-26 17:30:08 +01:00
Michael Sevakis
a6409c8686 Adapt FFT plugin to use floating on-screen display.
Helps appearance especially with the spectrogram view since it no longer
must be scrolled out of the way to avoid artifacts.

Additionally, allow settings to be saved and clean up some misellaneous
stuff to help graphics performance.

Still other "pointless" work to do on it... :-)

Change-Id: Iff2f725b0237ffb430e85f591675c2062b159abc
2012-12-18 20:32:23 -05:00
Michael Sevakis
371c86bf3f Adapt OSD in plugin lib to be greylib compatible.
Requires addition of viewports and alternate framebuffers to greylib
which are essentially similar to the core implementation except that
the framebuffer can be any size and relationship to a viewport. Drawing
is always fully clipped to the intersecting area.

Adapt oscilloscope.c to the API change. FFT will use the new features
(later update).

Get rid of silly and wrong lcd_bmp_part use in OSD. Remove it from
plugin API (must be made incompatible now).

Change-Id: Iafa5e2174148fb8ad11db6b9d4add0dcabc5c563
2012-12-18 19:16:26 -05:00
Ivan Pesic
f668c36241 FS#12792 - Update of Serbian translation
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>

Change-Id: I9985ae3a8be3eaef7c073f07aa1ef3fe5c1127dc
2012-12-18 19:34:59 +01:00
Jonathan Gordon
3ac7af95a9 root menu setting: make the setting handles whitespace
Change-Id: Id981bb518017e272dd7a230ae7d799ef0f55847c
2012-12-16 14:26:03 +11:00
Jonathan Gordon
b0263be48e Add the 9 segment lcd funciton to remote lcds
Change-Id: I00f9a067522624a87befcf95a811b49ad685029c
2012-12-09 17:27:11 +11:00
Jonathan Gordon
685cf59008 9 segment bitmap drawing:
Use %x9(id) to draw an image in the whole current viewport using the
9 segment drawer (which draws the corners as normal and *tiles*
the middle segments to the needed width/height).

Future work is to make it scale instead of tile

Change-Id: Ic3ed1cad93f96091694801eb442e0da5a2401203
2012-12-09 17:11:19 +11:00
Simon Kazarenko
1fbdc280d7 FS#12785 - ukr translation
Change-Id: Ib52e6e588815b341457126792fbfa81acc1017de
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>
2012-12-07 21:49:24 +01:00
Michael Sevakis
708bf1aca3 Revert a couple keymaps from 0f8aedb.
M200v4 doesn't have enough plugin RAM for waveform view. HD300 I was
clueless about, created a duplicated case. Will just leave for now.

Targets still need GRAPHMODE key defined to access.

Change-Id: Ib21f46f25c1121ebee78bd26c856446ac7720b37
2012-12-04 20:40:00 -05:00
Michael Sevakis
0f8aedbe94 Add a true waveform display to the oscilloscope plugin.
* Adds some additional niftyness like a floating popup display that
is implemented in an OSD library for use by other plugins.

* Speed changes are now gradual for both views and follow a curve
derived from some fiddling around to get a nice feel.

* Refined a few behavioral things overall.

It needs a bit of help from a direct PCM channel callback so it may
capture PCM for waveform display. Also need a few other core routines
to help out for the OSD.

Messes with some keymaps. Some targets need keymaps to access the
different views. Some devices can't support the additional view
because it requires a large buffer ( > 1 s) for samples.

If the plugin buffer is small, they can still use the popup display
since the plugin is also much smaller in that case.

Slow speed waveform needs some refining so it draws gradually like
a real oscilloscope but I'll stick with what it is, for the moment.

Change-Id: Ieb5b7922a2238264e9b19a58cb437739194eb036
Reviewed-on: http://gerrit.rockbox.org/245
Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
Tested-by: Michael Sevakis <jethead71@rockbox.org>
2012-12-05 02:03:58 +01:00
Michael Giacomelli
f6d088c232 Clip radio keymap update by Shiloh Hawley and myself.
Makes FM radio keys consistent with the updated Clip keymap in the rest of rockbox.  Home now goes to the main menu, power stops the radio, and several other keys are a little more obvious.

Change-Id: Iaab207acf936820d5602ae1ce4ffbbe30bf7877e
2012-11-25 22:08:11 +01:00
Jean-Louis Biasini
3a39f77ed6 Pacbox: add fuze+ to the targets that can manage full frames
Like gigabeat s and f, Fuze+ also handles dysplaying all frames
even with sound on.

Change-Id: Ib92062e378869c1687d6a7658ec23be60e168ccf
Reviewed-on: http://gerrit.rockbox.org/186
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2012-11-21 11:26:39 +01:00
Jean-Louis Biasini
8296d493f2 Fuze+ demo plugin's keymaps upgrade
1)  keymaps reviewed
2)  manual updated/created accordingly

Change-Id: I38dd178466a390e9badeda4f44ac275041b313f1
Reviewed-on: http://gerrit.rockbox.org/132
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2012-11-21 11:26:01 +01:00
Marcin Bukat
5e4aa4637a imageviewer: compile gif addon with -O2
Change-Id: I38ce91fec50147c0bc2705da4aa362a917bf02b3
2012-11-21 08:30:48 +01:00
Marcin Bukat
b3cb6d5168 rk27xx: dump ROM content
Change-Id: Ib70300bb1a78b49730f3942ddb2085e770dabfb9
2012-11-20 18:27:25 +01:00
Marcin Bukat
0ceaff2b65 imageviewer: gif viewer based on giflib-5.0.2
This adds ability to view gif images in rockbox.
Works both on color and gray/monochrome targets (greylib).
Aspect correction is supported as well.

Limitations:
- animated gifs are restricted to 32 frames
- animated gifs loop always (loopcount is ignored)
- plain text extension is not supported
- animated gifs with interframe delay = 0 are treated as still
  images (web browsers usually treat delay 0 as 100ms to prevent
  exhaustive CPU load by such images)

Change-Id: I61501f801ddcd403410e38d83e6bddc9883e7ede
2012-11-13 18:13:10 +01:00
Rafaël Carré
5ed6de3889 AMS: dump ROM content
Change-Id: I171b5f94b8beff571db8da32f28e31428980aaf3
2012-11-12 21:53:08 +01:00
Amaury Pouly
5cfcb8f48d fuzeplus: update radio keymap
Volume up/down now update volume(!) and long select press display
fm menu.

Change-Id: Iba5574a3804f91efeab1202bbdd14a0522f7396b
2012-10-30 13:14:52 +01:00
Enric Morales
50d9fb95eb FS#12775 - 2 missing strings in the catalan translation
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>

Change-Id: Icb2ac5180a24b3c861acdd12086f6701191592ac
2012-10-24 21:04:22 +02:00
Marcin Bukat
5dec7af1ec Revert "SH gcc 4.6.3 with link-time optimization, for Archos targets"
This was commited by accident, sorry.
2012-10-24 14:05:39 +02:00
Boris Gjenero
c975de1534 SH gcc 4.6.3 with link-time optimization, for Archos targets
This is work from FS#12431 synced to current HEAD and slightly
tweaked (gcc 4.6.2 -> 4.6.3, binutils 2.21.1 -> 2.22)

Change-Id: I76af91e80ac2a9c16a776c7f0a33cc51603bbf9b
2012-10-24 14:02:41 +02:00
Ophir LOJKINE
e86991f484 Implements exponential and logarithm in calculator plugin
exponential implementation uses the series
e^x = 1 + x + x^2/2 + x^3/6 + ...

natural logarithm uses
ln(a) = 2 * ( (a-1)/(a+1) + 1/3 * ((a-1)/(a+1))^3 +... )

log10 uses
log10(a) = ln(a)/ln(10)

Change-Id: I7303404b2b5a2bf60aad0706ca964a7cea19a27c
Reviewed-on: http://gerrit.rockbox.org/333
Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
2012-10-19 23:05:25 +02:00
Marcin Bukat
71778bd21e pdbox: Always use fixedpoint version of math functions
Change-Id: Ie5671d8f425804c9cf3265bad86eadadaf73ea1c
2012-10-07 15:04:24 +02:00
Marcin Bukat
ef4bf8a9f0 pdbox: fix makefile
Change-Id: I52260e4b17348c039f958ff9fa661367d3a31eac
2012-10-07 13:55:52 +02:00
Alex Parker
a0293c7e94 FS#12756 by Marek Salaba - update Czech language
Change-Id: I987d5fe4068c62ac2b337c87708ff0594da289b0
2012-10-06 14:33:51 +01:00
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