Maurus Cuelenaere
a6debb65fa
Fix red: defined(x || y) is not valid C preprocessor
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29103 a1c6a512-1295-4272-9138-f99709370657
2011-01-21 12:46:00 +00:00
Maurus Cuelenaere
476e464901
Fix Onda VX747+ LCD not working on boot
...
Same fix as in r29083.
Flyspray: FS#11896
Author: Purling Nayuki
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29102 a1c6a512-1295-4272-9138-f99709370657
2011-01-21 12:38:03 +00:00
Robert Menes
f511e4916d
Get the Croatian language file to build. Overlooked
...
previously.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29101 a1c6a512-1295-4272-9138-f99709370657
2011-01-21 11:53:17 +00:00
Michael Sevakis
485aecd923
WM8978: sound.c weirdness strikes again. Prescaler values have to be in centibels.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29100 a1c6a512-1295-4272-9138-f99709370657
2011-01-21 08:31:40 +00:00
Michael Sevakis
863c03f2ae
Gigabeat S: Renovate bootloader a bit to show splash, implement verbose, shutdown on low battery, handle hold-switch-on and wait only so long for USB if a USB charger is inserted at boot instead of being connected to a host. 'Bootloader USB mode' display is just part of normal printf stream now. Move interrupt stacks into .bss area so they aren't loaded (for firmware too).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29099 a1c6a512-1295-4272-9138-f99709370657
2011-01-21 07:05:51 +00:00
Thomas Martitz
5230362515
Fix FS#11881. Patch by Thomas Jarosch
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29098 a1c6a512-1295-4272-9138-f99709370657
2011-01-20 22:27:28 +00:00
Michael Sevakis
2da0f9bcfd
Fuze v2: Do button reading more efficiently by mapping button codes directly to the GPIO pin states where possible (all but 'home' and hold). This makes plugins incompatible; up the min version and sort things.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29097 a1c6a512-1295-4272-9138-f99709370657
2011-01-20 17:11:23 +00:00
Michael Sevakis
5f52f6ee01
Fuze V2: Fix hold switch behavior. Add a GPIOx_PIN_MASK macro to AS3525.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29096 a1c6a512-1295-4272-9138-f99709370657
2011-01-20 14:26:58 +00:00
Teruaki Kawashima
ee6ea59c76
pong: make related variables a structure. Correct collision detecting. Disable turn off backlight.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29095 a1c6a512-1295-4272-9138-f99709370657
2011-01-20 13:37:20 +00:00
Michael Sevakis
1b779e0461
PP502x USB: It seems r29087 introduced additional parasitic current consumption after USB disconnect. So, reinitialize the controller just like at startup when disabling USB, which also happens to fix FS#10719.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29094 a1c6a512-1295-4272-9138-f99709370657
2011-01-20 06:41:05 +00:00
Nils Wallménius
2565d37c67
Gigabeat S manual: fix a small glitch in the wps key controls table and correct an incorrect button combo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29093 a1c6a512-1295-4272-9138-f99709370657
2011-01-19 15:16:34 +00:00
Nils Wallménius
3b8f93af0a
Enable AB repeat for the Gigabeat S, this will break lang string/voice clip order for this target so update your voice file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29092 a1c6a512-1295-4272-9138-f99709370657
2011-01-19 14:34:31 +00:00
Teruaki Kawashima
262e6db70e
image viewer: png: do not show custom error message when there is not enough memory. get rid of use of iv->plug_buf.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29091 a1c6a512-1295-4272-9138-f99709370657
2011-01-19 13:20:00 +00:00
Teruaki Kawashima
622be891b3
image viewer: ppm:
...
* return proper error code when image is too large.
* check return value of read() properly.
* display progressbar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29090 a1c6a512-1295-4272-9138-f99709370657
2011-01-19 12:51:57 +00:00
Michael Sevakis
d1ff237798
SPC Codec: AS3525 targets should be fast enough for realtime BRR decode and echo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29089 a1c6a512-1295-4272-9138-f99709370657
2011-01-19 10:05:01 +00:00
Michael Sevakis
c04f1a23c7
AS3525: Implement a true audio pause and full-resolution audio tick. Take care of a few atomic hotspots.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29088 a1c6a512-1295-4272-9138-f99709370657
2011-01-19 09:15:23 +00:00
Michael Sevakis
77075be279
Reset USB devices before turning them off or else presumably the PHY is still enabled after disconnect. After one actual connect, Windows would claim the device malfunctioned when inserting the cable for Screendump. If no connection was made before Screendump, then this wouldn't happen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29087 a1c6a512-1295-4272-9138-f99709370657
2011-01-19 03:30:47 +00:00
Nils Wallménius
30918b8d52
abrepeat: drop some inline's and rearrange code to save some size since this stuff is hardly speed critical.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29086 a1c6a512-1295-4272-9138-f99709370657
2011-01-18 16:11:33 +00:00
Michael Sevakis
a3591827ad
Fix colors from r29084. Had some things in the wrong preprocessor blocks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29085 a1c6a512-1295-4272-9138-f99709370657
2011-01-18 14:35:56 +00:00
Michael Sevakis
453550a687
Try to get some control over #ifdef hell in usb.c by refactoring and inline function use. SYS_USB_DISCONNECTED_ACK hasn't been doing anything useful for the USB thread; remove it. USB thread simply ignores that value. Observe only valid usb_state transitions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29084 a1c6a512-1295-4272-9138-f99709370657
2011-01-18 14:10:06 +00:00
Maurus Cuelenaere
980225c3e2
Fix Onda VX777 LCD not working on boot
...
This fixes an issue with some Onda VX777's where the LCD doesn't seem to be
correctly inited by the OF SPL.
Based on FS#11888 by Purling Nayuki.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29083 a1c6a512-1295-4272-9138-f99709370657
2011-01-18 12:10:09 +00:00
Mustapha Senhaji
ccad6d0daf
Few whitespace fixes by Michael Hohmuth FS#11885
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29082 a1c6a512-1295-4272-9138-f99709370657
2011-01-18 00:37:17 +00:00
Dominik Riebeling
d2cc5ce58e
Fix player becoming unresponsive on Stop / Pause in some cases.
...
Fix for FS#11856: In tagtree_buffer_event, do not wait for database to
come online as that may never happen. Rather, wait until it either
has come online or has decided that this will never happen. Added a
new function to tagcache.c to export this information.
Flyspray: FS#11865
Author: Michael Hohmuth
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29081 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 22:28:36 +00:00
Mustapha Senhaji
0171408408
Add ipod 6g target to translations for "Bass and Treble Cutoff" string.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29080 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 22:02:16 +00:00
Mustapha Senhaji
f0c32feb65
Set svn:keywords for the new translation file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29079 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 21:10:32 +00:00
Robert Menes
806fa847b8
Last fix, I swear: add in the proper header.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29078 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 19:51:24 +00:00
Robert Menes
d81982a96a
Don't need that honking huge header, so out it goes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29077 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 19:49:27 +00:00
Robert Menes
7b47d2254f
New translation: Croatian by Ante Maretic. From
...
FS#11884.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29076 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 19:40:16 +00:00
Marianne Arnold
b43b4936a1
Pick up the target rename completion in the manual started in r27823 ... this time taking care of the Iriver targets. This fixes a few issues with wrongly in- or excluded parts (e.g. pacbox missing from the H100 manual, invadrox wrongly included in the small H10 manual as the plugin's main.tex already used the new names without making sure they are there). If possible replace 'target name' \opts with sensible feature \opts. Fix small mistakes and break too long lines discovered along the way.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29075 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 18:30:18 +00:00
Marianne Arnold
4d46f4ddff
Manual - lrcplayer.tex: correctly 'close' two \Action macros so that the following space is not eaten.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29074 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 18:09:30 +00:00
Marianne Arnold
ed0c5b3c45
Manual - minor fixes to fractals.tex: update screenshot capture to reflect the renaming of the plugin from 'Mandelbrot' and replace an \opt which was using target names with a more suitable and generic \nopt.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29073 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 18:07:14 +00:00
Robert Menes
f8bc1e767c
Tagalog: fix two strings changed in source. Translation by
...
Melba Sitjar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29072 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 15:57:21 +00:00
Teruaki Kawashima
27424a8938
image viewer:
...
* move button definitions to separate file.
* apply slideshow timeout in ask_and_get_audio_buffer() if in slideshow mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29071 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 13:47:57 +00:00
Michael Sevakis
0ecb0fe6b1
One change in r29068 wasn't right. Clarify comments on why it's the way it is. :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29070 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 13:12:22 +00:00
Teruaki Kawashima
1c14d29370
FS#11822: use rockbox_browse() in plugins to select file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29069 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 12:40:21 +00:00
Michael Sevakis
05f6f3419a
Add a higher level USB detection that prevents fraudulent bus resets from causing USB mode to be entered. Enable for SA9200 only at this time. Also, for SA9200, use the bus power GPIO rather than the 'connector inserted' GPIO to detect the cable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29068 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 12:24:41 +00:00
Michael Sevakis
bcc0f88372
Convert PortalPlayer iRivers to use USB-mode enabled bootloader. The H10 5/6GB already has a pre-boot USB mode (so it's a little redundant there) but building them the same way is simpler.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29067 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 06:50:27 +00:00
Teruaki Kawashima
62207228f7
image viewer: add quick guide describing how to add image decoder. also improve comments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29066 a1c6a512-1295-4272-9138-f99709370657
2011-01-16 12:45:11 +00:00
Teruaki Kawashima
5c09844d54
Update manual for image viewer plugin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29065 a1c6a512-1295-4272-9138-f99709370657
2011-01-16 11:40:47 +00:00
Bertrik Sikken
e9fa68a5c0
Czech language update - FS#11869 by Marek Salaba
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29064 a1c6a512-1295-4272-9138-f99709370657
2011-01-16 10:37:17 +00:00
Michael Sevakis
cc0800a200
Fix r29062 warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29063 a1c6a512-1295-4272-9138-f99709370657
2011-01-16 01:48:15 +00:00
Michael Sevakis
76083359e0
e200v1 seems to be ok using USB-enabled bootloader. Also, include the bootloader USB .lds into the boot.lds instead of pasting into every one to keep things sane for now-- commented upon inside.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29062 a1c6a512-1295-4272-9138-f99709370657
2011-01-16 01:40:15 +00:00
Michael Sevakis
5bf25bbd4f
Fix typo on macro made during previous PPBL commits.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29061 a1c6a512-1295-4272-9138-f99709370657
2011-01-16 00:35:22 +00:00
Michael Sevakis
d0178ba01c
Display messages only when entering USB mode in Portal Player bootloader to keep timed-out charger-only connects going into verbose mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29060 a1c6a512-1295-4272-9138-f99709370657
2011-01-16 00:21:54 +00:00
Michael Sevakis
bb54c8f315
Fix problem with AMS PCM driver that caused mpegplayer lockup. It pre-decremented the size remaining where it is supposed to be post-decremented by the last transfer size in the callback. Pending callbacks also must be cleared when stopping or pausing a channel if they happened before the lock flag was set.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29059 a1c6a512-1295-4272-9138-f99709370657
2011-01-15 12:13:56 +00:00
Teruaki Kawashima
27bcc8a8fd
fix FS#11835: %Lt tag doesn't work on targets with more than 1 screen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29058 a1c6a512-1295-4272-9138-f99709370657
2011-01-15 11:35:12 +00:00
Michael Sevakis
f74806e8bc
Oops...have to mind the boot.lds variation in /firmware/target/arm/philips by bootloader USB mode or not.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29057 a1c6a512-1295-4272-9138-f99709370657
2011-01-15 09:38:23 +00:00
Michael Sevakis
0647c9e1e7
Get the last warning for vibe 500 bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29056 a1c6a512-1295-4272-9138-f99709370657
2011-01-15 09:11:38 +00:00
Michael Sevakis
7b7cfc31c5
Fix r29054 red...yeah?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29055 a1c6a512-1295-4272-9138-f99709370657
2011-01-15 09:01:55 +00:00
Michael Sevakis
71651cacb6
Fix r29053 red and a leftover use of 'usb' variable as a bool rather than int in main-pp.c.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29054 a1c6a512-1295-4272-9138-f99709370657
2011-01-15 08:52:59 +00:00