Commit graph

26621 commits

Author SHA1 Message Date
Rafaël Carré
05d16b1d4e Add 'lowmem' feature to the manual, defined if MEM <= 2
Use it to remove mentions of Doom/mpegplayer/midiplay because these
plugins aren't built on such models

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27881 a1c6a512-1295-4272-9138-f99709370657
2010-08-25 14:10:25 +00:00
Rafaël Carré
95cbbd1c40 c200v2 manual
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27880 a1c6a512-1295-4272-9138-f99709370657
2010-08-25 14:01:41 +00:00
Rafaël Carré
2b0db13b51 Manual: fix Sansa AMS install
Sandisk has changed its forum, so update the links to OF
Also add c200v2 link and description

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27879 a1c6a512-1295-4272-9138-f99709370657
2010-08-25 13:45:03 +00:00
Rafaël Carré
26de96cad8 typo in r27876
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27878 a1c6a512-1295-4272-9138-f99709370657
2010-08-25 11:15:06 +00:00
Rafaël Carré
e20fb32862 usb-drv-as3525: only give physical addresses to USB HW
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27877 a1c6a512-1295-4272-9138-f99709370657
2010-08-25 11:10:48 +00:00
Rafaël Carré
8de2af7b9c sd-as3525*: use AS3525_PHYSICAL_ADDR
fix DMA buffers when the src/dst is in IRAM
It worked fine because all the buffers are in DRAM, and the virtual
address happens to be the physical address

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27876 a1c6a512-1295-4272-9138-f99709370657
2010-08-25 11:10:40 +00:00
Bertrik Sikken
f54739a1a1 Fix Brazilian Portugues translation - FS #11568 by Adilson Xavier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27875 a1c6a512-1295-4272-9138-f99709370657
2010-08-24 17:00:54 +00:00
Thomas Martitz
5d206d5f30 Fix yellows/reds. Red where caused by preprocessor condition mismatch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27874 a1c6a512-1295-4272-9138-f99709370657
2010-08-24 15:01:33 +00:00
Thomas Martitz
cae4ae2c71 Second try: Introduce plugin_crt0.c that every plugin links.
It handles exit() properly, calling the handler also when the plugin returns
normally (also make exit() more standard compliant while at it).
It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore.

To work better together with callbacks passed to rb->default_event_handler_ex() introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it.
In most cases rb->default_event_handler_ex() was passed a callback which was manually called at all other return points. This can now be done via atexit().

In future plugin_crt0.c could also handle clearing bss, initializing iram and more.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27873 a1c6a512-1295-4272-9138-f99709370657
2010-08-24 14:30:46 +00:00
Thomas Martitz
3478bc5d6d mips is predefined by gcc, but we want it for paths. Don't let others fall into this trap again. Use __mips instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27872 a1c6a512-1295-4272-9138-f99709370657
2010-08-24 13:41:45 +00:00
Thomas Martitz
1aeb79dc3a Add a comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27871 a1c6a512-1295-4272-9138-f99709370657
2010-08-24 13:17:03 +00:00
Thomas Martitz
145de8e030 Fix red. Something - I coundn't find it - must be doing '#define mips 1'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27870 a1c6a512-1295-4272-9138-f99709370657
2010-08-24 13:15:42 +00:00
Thomas Martitz
46454ac2a8 Move setjmp to lib and add setjmp for sh (imported from newlib) and compile it as separate library.
It's used by both, plugins and codecs, and sh/hwcodec doesn't compile codecs
so it doesn't fit into sources.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27869 a1c6a512-1295-4272-9138-f99709370657
2010-08-24 12:38:42 +00:00
Andree Buschmann
20de4c55a2 Fix libfaad error that was introduced with r27225. Noise bursts during playback of several files were reported in the forums.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27868 a1c6a512-1295-4272-9138-f99709370657
2010-08-23 23:14:32 +00:00
Bertrik Sikken
aea21cd18b ipod fm remote: some static/const fixes from FS #11266 by me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27867 a1c6a512-1295-4272-9138-f99709370657
2010-08-23 20:49:33 +00:00
Bertrik Sikken
e70bc182cf Reinitialise ogg_malloc system on each track change with the vorbis codec - part of FS #11533 by me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27866 a1c6a512-1295-4272-9138-f99709370657
2010-08-23 20:09:58 +00:00
Marcin Bukat
8d5f159687 Implement WHEEL_ACCELERATION for Ipod mini 1G based on code for 1G/2G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27865 a1c6a512-1295-4272-9138-f99709370657
2010-08-23 19:56:17 +00:00
Frank Gevaerts
1994df6844 Read glyph cache in disk order to speed up loading - FS#11168 by Fred Bauer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27864 a1c6a512-1295-4272-9138-f99709370657
2010-08-23 18:17:54 +00:00
Thomas Martitz
93cb949372 Revert "Introduce plugin_crt0.c that every plugin links."
Too much errors and no time to fix them now.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27863 a1c6a512-1295-4272-9138-f99709370657
2010-08-23 17:12:26 +00:00
Thomas Martitz
abdc5935be Introduce plugin_crt0.c that every plugin links.
It handles exit() properly, calling the handler also when the plugin returns
normally (also it makes exit() more standard compliant while at it).
It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore.

To work better together with callbacks passed to rb->default_event_handler_ex introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it.
In most cases it was passed a callback which was manually called at all other return points. This can now be done via atexit().

In future plugin_crt0.c could also handle clearing bss, initializing iram and more.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27862 a1c6a512-1295-4272-9138-f99709370657
2010-08-23 16:56:49 +00:00
Bertrik Sikken
8106c9dc64 Update of Czech language - FS #11560 by Marek Salaba
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27861 a1c6a512-1295-4272-9138-f99709370657
2010-08-23 16:54:46 +00:00
Jens Arnold
5bea40f1de Fix HWCODEC playback broken in r27773. mpeg.c declared playlist functions on its own instead of including playlist.h due to its history, and now they got out of sync...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27860 a1c6a512-1295-4272-9138-f99709370657
2010-08-22 20:58:32 +00:00
Nils Wallménius
d660e9655c Move ffmpeg functions to their own file to avoid mixing code under different liceses in the same file. Licensing is fun!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27859 a1c6a512-1295-4272-9138-f99709370657
2010-08-22 20:14:25 +00:00
Nils Wallménius
8b5f3cabcc forgot comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27858 a1c6a512-1295-4272-9138-f99709370657
2010-08-22 19:54:17 +00:00
Nils Wallménius
ca47ed6cba libtremor: use render_line from ffmpeg (libavcodec/vorbis.c), speedup ~1% on both arm and coldfire, output unchanged.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27857 a1c6a512-1295-4272-9138-f99709370657
2010-08-22 19:50:26 +00:00
Michael Chicoine
1eb3970d05 Further upgrades of Cabbiev2 wps files to viewports - FS#11490 by HAyden Pearce and me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27856 a1c6a512-1295-4272-9138-f99709370657
2010-08-21 23:39:19 +00:00
Rafaël Carré
27c509fc55 makefiles
- some functions don't need to return their output, drop $(shell ... )
and prefix with $(SILENT), make V=1 will show the complete scripts being
run

- tweak make.dep generation: make the temporary file appear in root.make
  only, and remove a useless "real command", there is already a real
  command (mv)

- make addtargetdir.pl terminate its output with a newline ($(shell) did
  that for us)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27855 a1c6a512-1295-4272-9138-f99709370657
2010-08-21 18:07:12 +00:00
Nils Wallménius
f30add4dc0 Safeguard against possible stack corruption when the string in the tempbuffer is as long as the buffer and strcat adds a char.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27854 a1c6a512-1295-4272-9138-f99709370657
2010-08-21 16:14:18 +00:00
Nils Wallménius
6cc0a93c3c Remove unneeded include.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27853 a1c6a512-1295-4272-9138-f99709370657
2010-08-21 16:07:34 +00:00
Nils Wallménius
851573cd5d Remove two unused defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27852 a1c6a512-1295-4272-9138-f99709370657
2010-08-21 15:49:42 +00:00
Michael Sparmann
2c24a67900 Some Nano2G FTL cosmetics
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27851 a1c6a512-1295-4272-9138-f99709370657
2010-08-21 14:40:53 +00:00
Jens Arnold
0a080891e7 iPod 1st Gen: Fix battery ADC not working due to the EABI compiler optimizing the delay loops away. Use udelay() instead, not wasting CPU time when the CPU is not boosted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27850 a1c6a512-1295-4272-9138-f99709370657
2010-08-20 22:21:07 +00:00
Jens Arnold
43ccc1eef7 Enable wheel acceleration and repeats for iPod 1st/2nd Gen, using the same settings as on iPod 3rd Gen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27849 a1c6a512-1295-4272-9138-f99709370657
2010-08-20 21:00:15 +00:00
Jens Arnold
333c0cc6b0 Fix configure to always prepend a missing leading '/'. Also don't require perl regexp support as it's not necessary and not all grep installations support it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27848 a1c6a512-1295-4272-9138-f99709370657
2010-08-20 20:07:50 +00:00
Rafaël Carré
65c4fc2ad2 Sansa AMSv2: don't prevent USB detection to work when rockbox USB stack is used
(USB stack is not used by default)
This makes debugging the USB driver easier

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27847 a1c6a512-1295-4272-9138-f99709370657
2010-08-19 16:52:08 +00:00
Jonathan Gordon
74ec011bb8 New skin tag: %if(<tag>, <operator>, <operand> [,option count]) which lets you do very simple logical comparissons on other tags.
<tag> is the tag to check against
<operator> is the comparisson to do, any one of... =, !=, >, >=, <, <=    (when comparring against a string tag like %ia only = and != work, and it is done NOT case sensitive)
<operand> is either another tag, a number, or text.
[option count] is an optinal number to use for the few tags which scale to the amount of options when used as a conditional (i.e %?pv<a|b|c|d> would have 4 options)

example: %?if(%pv, >=, 0)<Warning.. volume clipping|coool...>
That says "If the value from %pv (volume) is greater than or equal to 0 then display the warning line, otherwise the cool line."
%?if(%ia, =, %Ia)<same artist>   <= this artist and next artist are the same.

some tags might need a touch of tweaking to work better with this. experiment and have fun

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27846 a1c6a512-1295-4272-9138-f99709370657
2010-08-19 13:49:32 +00:00
Bertrik Sikken
b73d15e9c6 Sansa AMSv2: enable PLLB and use it to generate a more accurate PCM frequency (playback rate error improves from 1.1% to 0.04%) - FS #10906 by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27845 a1c6a512-1295-4272-9138-f99709370657
2010-08-18 21:42:03 +00:00
Nils Wallménius
2e572e4da0 Whoops typoed the svn prop
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27844 a1c6a512-1295-4272-9138-f99709370657
2010-08-18 09:25:45 +00:00
Nils Wallménius
68090f31a2 Enable shopper plugin for charcell too and fix the :$ tag in shopper.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27843 a1c6a512-1295-4272-9138-f99709370657
2010-08-18 09:23:06 +00:00
Nils Wallménius
4461b0498d FS10820 - Shopper, a shopping list plugin by Daniel Rigby.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27842 a1c6a512-1295-4272-9138-f99709370657
2010-08-18 09:10:37 +00:00
Michael Sparmann
aa0973ded2 Fix two rather annoying Nano2G FTL bugs: 1. Fix a null pointer dereference/write, 2. Make sure all error return codes are negative.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27841 a1c6a512-1295-4272-9138-f99709370657
2010-08-17 23:56:15 +00:00
Maurus Cuelenaere
0e563eae3e Android port: also include native libraries in APK file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27840 a1c6a512-1295-4272-9138-f99709370657
2010-08-17 21:13:13 +00:00
Maurus Cuelenaere
cc5f016835 Android port: add build script
This allows building the Java part of the port with only requiring the Android SDK + javac installed

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27839 a1c6a512-1295-4272-9138-f99709370657
2010-08-17 21:06:58 +00:00
Peter D'Hoye
eca68ee4b2 Update Dutch language file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27838 a1c6a512-1295-4272-9138-f99709370657
2010-08-17 20:15:50 +00:00
Rafaël Carré
322fdaa316 AMSv2: don't reboot on USB plug
Users will have to reboot to OF manually or to power off, and then plug USB
No message is displayed because usb_detect() is run from a tick

This lacks documentation but should be OK for Unstable devices, and
will hopefully prevent clueless users from opening their devices and
breaking them definitely, instead of waiting for the battery to power
off.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27837 a1c6a512-1295-4272-9138-f99709370657
2010-08-17 16:43:43 +00:00
Nils Wallménius
8799af3d73 Small change to sansa fuze keymap.
Move stop from long home to long play/pause in wps, browsers and fm screen.
In the fm screen that means switching between scan and preset is now on long home.
Move stop from the power switch to long play/pause in the hid multimedia mode.
Update manual keymaps.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27836 a1c6a512-1295-4272-9138-f99709370657
2010-08-17 14:30:10 +00:00
Michael Chicoine
f3774df8be Fix FS#11547 - When selecting radio skin the currently loaded skin is not hilighted when menu is entered
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27835 a1c6a512-1295-4272-9138-f99709370657
2010-08-17 12:38:18 +00:00
Maurus Cuelenaere
e39640352e Android port: allow moving application to SD card on Froyo targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27834 a1c6a512-1295-4272-9138-f99709370657
2010-08-16 20:47:46 +00:00
Maurus Cuelenaere
5068891477 Android port: simplify sending touch events from Java->C
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27833 a1c6a512-1295-4272-9138-f99709370657
2010-08-16 20:12:10 +00:00
Maurus Cuelenaere
934a5a5808 Android port: add support for hardware keys
* Forward Java KeyEvents to C layer and translate them to Rockbox BUTTON_*.
 * Add a basic Android keymap

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27832 a1c6a512-1295-4272-9138-f99709370657
2010-08-16 20:12:06 +00:00