Commit graph

14595 commits

Author SHA1 Message Date
Stéphane Doyon
c17b0af89e Fix shortcut to talk time: force enqueuing otherwise it interrupts itself right away when speaking the shortcut entry again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31465 a1c6a512-1295-4272-9138-f99709370657
2011-12-29 21:30:28 +00:00
Rafaël Carré
366a52f609 remove superfluous ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31456 a1c6a512-1295-4272-9138-f99709370657
2011-12-28 19:23:38 +00:00
Bertrik Sikken
a7a78b3b52 Fix warnings from r31453
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31454 a1c6a512-1295-4272-9138-f99709370657
2011-12-28 11:47:35 +00:00
Bertrik Sikken
d2cdd80f5c plugins: another round of making local things static and adding missing #includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31453 a1c6a512-1295-4272-9138-f99709370657
2011-12-28 11:32:13 +00:00
Jonathan Gordon
7949dd4dae protect the yes/no screen from extra keypresses (which can happen if you display 2 yes/no screens too quickly)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31452 a1c6a512-1295-4272-9138-f99709370657
2011-12-28 05:55:05 +00:00
Alexander Levin
fd150d05b4 Eliminate the duplicated formatter for the 'sleeptimer duration' setting. It's not needed in the setting declaration since the menu for setting it is called via customized code which already has a formetter.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31451 a1c6a512-1295-4272-9138-f99709370657
2011-12-27 22:10:21 +00:00
Rafaël Carré
565b869438 file properties: display correctly file/folder sizes > 2GB
Use unsigned type for file sizes (some directory/file structures should be changed too)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31449 a1c6a512-1295-4272-9138-f99709370657
2011-12-26 23:39:43 +00:00
Amaury Pouly
84b97dd1ea fuze+: remove two_finger pseudo touchpad button because it was unrealiable, update keymap to remove akward mappings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31444 a1c6a512-1295-4272-9138-f99709370657
2011-12-26 17:45:54 +00:00
Alexander Levin
0726b17667 Clarify in what units the settings.sleeptimer_duration is
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31440 a1c6a512-1295-4272-9138-f99709370657
2011-12-26 11:29:18 +00:00
Nick Peskett
3074b64025 Moved initial checking of sleeptimer_on_startup from root_menu.c to settings.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31439 a1c6a512-1295-4272-9138-f99709370657
2011-12-26 09:57:55 +00:00
Nick Peskett
5dba771d63 Option to restart running sleep timer on keypress.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31437 a1c6a512-1295-4272-9138-f99709370657
2011-12-26 09:30:25 +00:00
Nick Peskett
2ecaca91f0 New General Settings submenu: Startup/Shutdown
A dedicated submenu for items which are run at startup, or initiate a shutdown.

Currently containing: Start Screen, Idle Poweroff, Sleep Timer & Start Sleep Timer on Boot.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31435 a1c6a512-1295-4272-9138-f99709370657
2011-12-26 08:26:38 +00:00
Frank Gevaerts
3bc771d669 Revert r31239 and r31250. Selecting ALL in disktidy used to be generally safe for most people, and these changes change that, making it easy to delete most or all of a user's music. This is a *very* bad idea.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31434 a1c6a512-1295-4272-9138-f99709370657
2011-12-26 00:03:28 +00:00
Thomas Martitz
cf04cf39b8 Fix missing include.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31432 a1c6a512-1295-4272-9138-f99709370657
2011-12-25 21:04:40 +00:00
Thomas Martitz
20b662a946 rbpaths: Add new special dir HOME_DIR for RaaA.
HOME_DIR is intended for not-so-advanced files which shall be user
visible, and thus not in /.rockbox. Therefore HOME_DIR is translated
to $HOME on RaaA, /sdcard on android, the internal memory on ypr0
and "/" on native targets.

ROCKBOX_DIR ("/.rockbox") already existed as special and is translated
to whatever the real rockbox dir is on the target (e.g. /sdcard/rockbox
on android), but it's not suitable for some files we generate
(e.g. battery-bench.txt).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31430 a1c6a512-1295-4272-9138-f99709370657
2011-12-25 20:11:18 +00:00
Bertrik Sikken
e650992d20 FS#12482 - Romanian language update by Sergiu Rotaru
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31427 a1c6a512-1295-4272-9138-f99709370657
2011-12-25 16:46:52 +00:00
Thomas Martitz
e6717d1b4d Fix messed up zxbox keymaps. Fixes fuze+ red also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31417 a1c6a512-1295-4272-9138-f99709370657
2011-12-24 12:34:16 +00:00
Thomas Martitz
249bba03f1 Initial commit of the Samsung YP-R0 port.
This port is a hybrid native/RaaA port. It runs on a embedded linux system,
but is the only application. It therefore can implement lots of stuff that
native targets also implement, while leveraging the underlying linux kernel.

The port is quite advanced. User interface, audio playback, plugins work
mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page).

Included in utils/ypr0tools are scripts and programs required to generate
a patched firmware. The patched firmware has the rootfs modified to load
Rockbox. It includes a early/safe USB mode.

This port needs a new toolchain, one that includes glibc headers and libraries.
rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may
also work.

Most of the initial effort is done by Lorenzo Miori and others (on ABI),
including reverse engineering and patching of the original firmware,
initial drivers, and more. Big thanks to you.

Flyspray: FS#12348
Author: Lorenzo Miori, myself

Merry christmas to ypr0 owners! :)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
2011-12-24 11:56:46 +00:00
Alexander Levin
567e0ad93e Actually remove the pulled out field (sequel to r31406)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31414 a1c6a512-1295-4272-9138-f99709370657
2011-12-23 16:09:06 +00:00
Alexander Levin
7f7a2d3b13 Rename 'mp3entry.embed_cuesheet' to 'mp3entry.embedded_cuesheet' and pull out a field (FS#12473)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31406 a1c6a512-1295-4272-9138-f99709370657
2011-12-22 18:56:11 +00:00
Alexander Levin
63c4ef9f57 Rename 'mp3entry.embed_albumart' to 'mp3entry.has_embedded_albumart' (FS#12470). No functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31405 a1c6a512-1295-4272-9138-f99709370657
2011-12-22 18:48:43 +00:00
Boris Gjenero
14c2e677fd Make more local functions static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31395 a1c6a512-1295-4272-9138-f99709370657
2011-12-21 17:36:18 +00:00
Nils Wallménius
2c85013434 libtremor: fix memory corruption bug introduced in r30728 that could cause crashes or playback failures for some album art infested files. Closes FS#12448.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31393 a1c6a512-1295-4272-9138-f99709370657
2011-12-21 15:47:21 +00:00
Marcin Bukat
01415ad1b7 AGC: respect gain steps defined in audiohw_settings[]
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31387 a1c6a512-1295-4272-9138-f99709370657
2011-12-20 22:02:35 +00:00
Bertrik Sikken
e6c85a6735 local variable app/gui/icon.c/iconsets can be made static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31386 a1c6a512-1295-4272-9138-f99709370657
2011-12-20 21:05:56 +00:00
Bertrik Sikken
67eefad6a5 Disable unused functions for archos-player in apps/screen_access.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31385 a1c6a512-1295-4272-9138-f99709370657
2011-12-20 20:57:16 +00:00
Bertrik Sikken
cb972abc48 Another round of making local functions static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31384 a1c6a512-1295-4272-9138-f99709370657
2011-12-20 20:35:28 +00:00
Michael Chicoine
dafbcadd36 Add missing strings to American English
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31378 a1c6a512-1295-4272-9138-f99709370657
2011-12-20 15:55:46 +00:00
Nick Peskett
1a4aea3ad8 Renamed embed_cuesheet struct to embedded_cuesheet.
A bit of a compromise; though the struct has been renamed, the field
within the mp3entry struct is still called embed_cuesheet.

This is for consistency with the embed_albumart field.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31375 a1c6a512-1295-4272-9138-f99709370657
2011-12-20 08:32:34 +00:00
Nick Peskett
1b781df59c Convert hard-coded unicode byte order mark values to constants.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31374 a1c6a512-1295-4272-9138-f99709370657
2011-12-20 08:15:36 +00:00
Boris Gjenero
fdc29d0ea4 Add more INIT_ATTR and add config.h includes to header files with INIT_ATTR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31370 a1c6a512-1295-4272-9138-f99709370657
2011-12-19 20:12:52 +00:00
Frank Gevaerts
e6e2ae86ea There's no good reason for requiring the mr500 remote just to run battery_bench
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31368 a1c6a512-1295-4272-9138-f99709370657
2011-12-19 19:53:50 +00:00
Andree Buschmann
07405841c6 FS#12463: Improve performance for multichannel FLAC decoding. Speeds up decoding by 3 MHz on PP5022, 6-7 MHz on S5L870x and 11-12 MHz on MCF5250. 5.1-88kHz-files still do not decode in realtime on Coldfire and PP502x.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31367 a1c6a512-1295-4272-9138-f99709370657
2011-12-19 19:46:10 +00:00
Andree Buschmann
9b920734be Fix bitmap scaling for Coldfire. Closes FS#12411.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31366 a1c6a512-1295-4272-9138-f99709370657
2011-12-19 19:17:13 +00:00
Thomas Martitz
287454de2e Hosted/linux: Add process/cpu info screen to the debug menu.
The new menu is very helpful on RaaA, but also shown in the sim. It shows
the process cpu usage, process' time stats (user,sys,real) and the cpu
frequency stats.

It uses a thread to sample the data, however the thread is not created
until the menu is visited for the first time.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31364 a1c6a512-1295-4272-9138-f99709370657
2011-12-19 15:42:04 +00:00
Nick Peskett
f53c04b766 Make embedded cuesheet type 1 text encoding check slightly more efficient
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31363 a1c6a512-1295-4272-9138-f99709370657
2011-12-19 15:19:07 +00:00
Nick Peskett
dc07503ad4 I forgot to flip the true response from memcmp
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31350 a1c6a512-1295-4272-9138-f99709370657
2011-12-18 02:08:10 +00:00
Nick Peskett
6aa070268f Type 1 text encoding uses BOM to decide byte order, type 2 has no BOM and is BE.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31349 a1c6a512-1295-4272-9138-f99709370657
2011-12-18 01:43:55 +00:00
Nick Peskett
ae90b29dcb Hard code the cuesheet offset for double byte encoding, rather than pointless calculation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31348 a1c6a512-1295-4272-9138-f99709370657
2011-12-18 00:00:41 +00:00
Bertrik Sikken
8c19dcd598 FS#12370: Initial RDS support for Si4701/Si4703 tuner (beast and clip zip)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31346 a1c6a512-1295-4272-9138-f99709370657
2011-12-17 20:24:19 +00:00
Boris Gjenero
17ed3253fc Add const to global pointers to strings.
When a global pointer is not declared as constant, gcc will put it in
memory. Getting the address of the string it points to requires loading
the address of the pointer and then loading the pointer. When the pointer
is declared constant, the address of the string is loaded directly.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31345 a1c6a512-1295-4272-9138-f99709370657
2011-12-17 18:31:55 +00:00
Nils Wallménius
f0f24a3b4a Fix building of test_codec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31343 a1c6a512-1295-4272-9138-f99709370657
2011-12-17 13:43:54 +00:00
Michael Sevakis
6a67707b5e Commit to certain names for cache coherency APIs and discard the aliases.
Wouldn't surprise me a bit to get some non-green.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31339 a1c6a512-1295-4272-9138-f99709370657
2011-12-17 07:27:24 +00:00
Nick Peskett
a47982eb60 Fix red?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31322 a1c6a512-1295-4272-9138-f99709370657
2011-12-16 10:24:21 +00:00
Nick Peskett
02fd314a0b FS #12419 : Support for embedded cuesheets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31321 a1c6a512-1295-4272-9138-f99709370657
2011-12-16 10:09:41 +00:00
Boris Gjenero
bda8a963ad Add conditionals for functions only needed on SWCODEC targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31296 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 20:58:14 +00:00
Boris Gjenero
8e6030c822 FS#12378 : Remove various unused code, and comment out some unused code and data for reference or future use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31256 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 21:45:25 +00:00
Andree Buschmann
5b8ed62922 FS#12443: Implement downmixing to stereo for multichannel flac.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31253 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 18:02:57 +00:00
Andree Buschmann
6b45019077 Correct decorrelation within flac decoding. Finally fixes FS#12371.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31252 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 17:47:19 +00:00
Rafaël Carré
3042c441f2 disktidy: clean more Sansa AMS OF files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31250 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 16:18:34 +00:00