Commit graph

14969 commits

Author SHA1 Message Date
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