Commit graph

14640 commits

Author SHA1 Message Date
Thomas Martitz
a0d54b09a6 libspeex: Get rid of some bad trickery with the stack pointer.
Using the stack pointer for anything else than pointing to the
current stack can have in very bad effects, especially on hosted
platforms (e.g. when mixed with signals). Remove this at a
neglible performance cost.

Change-Id: I9545d701bd13c32456c224b87c708d907880c0ff
2012-01-21 18:39:19 +01:00
Thomas Martitz
6d19275876 Hosted: Output map files after linking.
Change-Id: I5ac64d781aaa1aa2b3157589f8e689c0d946a39f
2012-01-21 18:39:19 +01:00
Thomas Martitz
cf333a61c7 Move supprt-arm.S to separate library.
Core, codecs and plugins link it separately so this gets rid of SOURCES trickery.
Don't build it for hosted targets.

Change-Id: If15ef90e93cd218a4352ae8e89eea95d3122452f
2012-01-21 18:39:19 +01:00
Thomas Martitz
4343011955 libmad: Get rid of some bad trickery with the stack pointer.
Using the stack pointer for anything else than pointing to the
current stack can have in very bad effects, especially on hosted
platforms (e.g. when mixed with signals). Remove this at
very slight performance cost.
2012-01-21 18:39:19 +01:00
Thomas Martitz
cdb28789ec libmad: Fix section attrs for hosted platforms. 2012-01-21 18:39:19 +01:00
Michael Sevakis
c7f3a0b360 Neaten up pcmbuf a bit with regards to differences determined by MEMORYSIZE.
Change-Id: Ie7ba930e3331fd48186c245bd8a30731017d688e
2012-01-20 18:10:12 -05:00
Marek Salaba
05bba5e111 FS#12553 - Second January update of Czech language
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>

Change-Id: I915d3158ab21a0ab130560137c739b9541b09e36
2012-01-20 20:33:52 +01:00
Marek Salaba
007f61fa31 FS#12545 - January update of Czech language
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>

Change-Id: Ied8f43ed9b9008d05eb8869f00a5fa1bd6dd858b
2012-01-19 18:45:21 +01:00
Jean-Louis Biasini
7f26a10d31 fuzeplus: update plugins keymaps (FS#12405)
Signed-off-by: Amaury Pouly <amaury.pouly@gmail.com>

Change-Id: Ib94cec07c80892eb50471c87b83e2701911ea0d7
2012-01-15 02:29:30 +01:00
Jonathan Gordon
c2f0ba7ecd fix compiler error, missed action.h
Change-Id: Idc6d59835d1fd20cb4828543547b6d8b6f74053b
2012-01-15 00:56:56 +11:00
Michael Sevakis
b17bdb9349 tdspeed: Use "INT64_MAX" instead of "~(1ll << 63)" to get the maximum int64_t value.
Change-Id: I0830b3276eecb52e0f52599126fd23f95d0742aa
2012-01-13 17:54:43 -05:00
Michael Sevakis
e4a5762147 tdspeed: Tweak source and autocorrelation
C99-ify variables to keep them localized
Use sum of absolute differences instead of sum of squared differences for
autocorrelation which should reach the same conclusion and avoid 64-bit
multiplication.

Change-Id: If4f3715a36225420db3b05e9814b81766d04f0f3
2012-01-13 17:14:47 -05:00
Jonathan Gordon
eb2ea7f9ad keyclick: Add a callback so screens can cancel a click. Add a generic list callback to stop clicks when we are at the end of the list
Change-Id: Iabb44a861dd7506cd883c1bdb0241303fa646746
2012-01-12 22:28:36 +11:00
Michael Chicoine
cfccd57dcb US English language update
Change-Id: Idb6ce02716887d70aee65f9266f17875cab84158
2012-01-10 09:26:06 -06:00
Ophir Lojkine
1313396cab FS#12392: french translation update
Change-Id: I370e2c1ccd4b0c1120079e46662573e7f3762dc6
Signed-off-by: Rafaël Carré <funman@videolan.org>
2012-01-10 03:05:21 -05:00
Frank Niggemann
83b0ec3919 FS#12515: update german translation
duplicate of FS#12433
duplicate of FS#12456
duplicate of FS#12386
duplicate of FS#12342
Signed-off-by: Rafaël Carré <funman@videolan.org>

Change-Id: If69d5fdb3a969d3c2c04df62ce841185f2864326
2012-01-10 00:20:28 -05:00
Peter Lecky
e4af358e0b FS#12516 - Slovak lang update
Change-Id: I4bca90cd3d757ff37f616f47c41dd78537db6a80
Signed-off-by: Rafaël Carré <funman@videolan.org>
2012-01-10 00:06:02 -05:00
Bertrik Sikken
f4def1cf0f FS#12511 - Polish translation by Artur Juraszek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31646 a1c6a512-1295-4272-9138-f99709370657
2012-01-09 21:19:14 +00:00
Michael Giacomelli
36613d57fa Commit FS#12454 - Faster line scroll speed by Martin Sagmuller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31643 a1c6a512-1295-4272-9138-f99709370657
2012-01-09 03:26:03 +00:00
Bertrik Sikken
2ab3f336c7 FS#12406 - Updated Galician translation by Ismael Castiñeira Álvarez
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31632 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 10:31:29 +00:00
Bertrik Sikken
02a270ce2e sudoku: make local functions static and add missing #include
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31631 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 08:55:25 +00:00
Rafaël Carré
90736a4055 fix cpp condition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31628 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 01:51:51 +00:00
Rafaël Carré
8552824284 ascodec-target.h: remove
move prototypes to ascodec.h
move code to ascodec*.c

YPR0: use adc-as3514.c instead of duplicating it

TODO: merge as3514.h and ascodec.h ?

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31626 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 01:43:16 +00:00
Rafaël Carré
b612263b1e apps: lcd-remote.h is not needed if HAVE_REMOTE_LCD is not defined
Fix a comment

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31608 a1c6a512-1295-4272-9138-f99709370657
2012-01-07 19:35:46 +00:00
Rafaël Carré
6ab12df153 Only need lcd-remote.h if HAVE_REMOTE_LCD is defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31606 a1c6a512-1295-4272-9138-f99709370657
2012-01-07 19:18:25 +00:00
Amaury Pouly
fdf574adb4 fuze+: Update plugin keymaps (FS#12405). Thanks to Jean-Louis Biasini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31598 a1c6a512-1295-4272-9138-f99709370657
2012-01-07 18:00:55 +00:00
Magnus Holmgren
fd5524ff92 AAC/M4A: Playback time wrapped after 2 hours and 42 minutes. Increase the wrap limit to about 27 hours.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31581 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 20:33:34 +00:00
Rafaël Carré
1280569106 missing parens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31576 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 07:48:52 +00:00
Rafaël Carré
127af53c5b debug_menu.c: cleanup
use c99 for()
cosmetics
remove the_menu_item struct -> merge with only use
merge variables declaration/assignement

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31575 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 07:42:03 +00:00
Rafaël Carré
02c79d37a3 dbg_pcf(): use action_userabort
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31561 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 06:21:16 +00:00
Rafaël Carré
ec398340cd dbg_ports() : move proto to system.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31557 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 05:21:44 +00:00
Rafaël Carré
af7606776a dbg_partitions: make static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31556 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 05:21:31 +00:00
Rafaël Carré
925dacf96d *frequency_linux(): factorize
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31555 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 00:34:02 +00:00
Thomas Martitz
c1bd9b0361 Rework powermgmt to enable code re-use on appliation and sims.
* Introduce CONFIG_BATTERY_MEASURE define, to allow targets (application)
to break powermgmt.c's assumption about the ability to read battery voltage.
There's now additionally percentage (android) and remaining time measure
(maemo). No measure at all also works (sdl app). If voltage can't be measured,
then battery_level() is king and it'll be used for power_history and runtime
estimation.

* Implement target's API in the simulator, i.e. _battery_voltage(), so it
doesn't need to implement it's own powermgmt.c and other stubs. Now
the sim behaves much more like a native target, although it still
changes the simulated battery voltage quickly,

* Other changes include include renaming battery_adc_voltage() to
_battery_voltage(), for consistency with the new target functions and
making some of the apps code aware that voltage and runtime estimation
is not always available.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31548 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 23:44:38 +00:00
Thomas Martitz
0bc64a6bb3 Adjust a few makefiles to generate smaller (upto 80%) binaries on RaaA through
stripping.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31541 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 21:15:11 +00:00
Thomas Jarosch
a53d1c6dc5 Fix warning about missing newline at the EOF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31540 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 20:59:09 +00:00
Amaury Pouly
abd51ff640 fuze+: keymap cleanup, correction and simplification (FS #12504 by Jean-Louis Biasini)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31518 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 11:09:55 +00:00
Jonathan Gordon
2dc19005b6 oops, somehow a leading \ went missing making these checks a bit silly!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31513 a1c6a512-1295-4272-9138-f99709370657
2012-01-01 11:34:00 +00:00
Bertrik Sikken
ba03cb4aea Make local functions static in clock and chessbox plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31505 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 20:29:08 +00:00
Alexander Levin
61f64d93ee Minor corrections to the Russian translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31485 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:39:44 +00:00
Boris Gjenero
5cd8aec39a Fix FS#7631 : Archos V2 and FM Recorder charging screen problems
ATA power is off in the charging screen to avoid problems when the battery
is deeply discharged. Without ATA power, Archos FM and V2 Recorders measure
battery voltage as 0V, leading to an unwanted low battery shutdown. This
change delays powermgmt_init() on those targets until after ATA power is
turned on by storage_init(). The charging screen displays input current,
so there is some visible feedback on charging progress.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31484 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:31:47 +00:00
Alexander Levin
a5e44591c2 Update the Russian translation (FS#12420 by James Hunt)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31483 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:24:11 +00:00
Boris Gjenero
9c720393b2 Fix FS#12499 - Directory playback fails after saving playlist
This makes playlist_save() properly restore playlist buffer values,
so the buffer can be used afterwards.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31481 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 16:47:58 +00:00
Thomas Martitz
bba84a9ce2 Enable (and fix) battery_bench on hosted targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31471 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 13:35:19 +00:00
Thomas Martitz
05f12e0877 ypr0: Enable battery voltage read-out, charging monitoring and charger detection.
Voltage can be read using as3543 adc (i.e. ascodec api, on this target implemented
via ioctl()). TODO: Look into possibly controlling charging more by re-using
powermgmt-ascodec.c. However, charging seems to be controlled by the kernel,
so may not be needed.

Charger state can be read using /dev/minivet. It allows to differentiate between
wall charger and usb charging, but that's not implemented (is it even worthwhile?)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31470 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 13:34:56 +00:00
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