Commit graph

27908 commits

Author SHA1 Message Date
Michael Sevakis
6d2e7769e2 Better boost calculation for multifrequency CPUs. Frequencies between minimum and maximum count as fractional boost.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29115 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 18:30:24 +00:00
Thomas Martitz
921ffe7111 Declaration of 'pause' from robotfindskitten has conflicting types for 'pause' from android-ndk-r5
Flyspray: FS#11901
Author: Benjamin Brown

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29114 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 18:27:05 +00:00
Michael Sevakis
98246b82b9 i.MX31: Add a debug menu to play around with DVFS/DPTC settings for fun, testing or benchmarking purposes. Can set the CPU frequency working point, whether DPTC voltage scaling is enabled and change the software-programmable load tracking weights.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29113 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 16:58:17 +00:00
Thomas Martitz
aed6205831 Declaration of 'pause' from chessclock is redeclared as different kind of symbol by android-ndk-r5
Flyspray: FS#11900
Author: Benjamin Brown

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29112 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 16:55:59 +00:00
Teruaki Kawashima
3ff2fb37c9 revert personal change accidentally included in r29110
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29111 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 16:19:20 +00:00
Teruaki Kawashima
68cc564c9b FS#11819: image viewer: use magick number in file to determine image type.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29110 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 13:41:53 +00:00
Michael Sevakis
060609a202 i.MX31: Busy wait for a couple microseconds at most then sleep until next tick when polling drive status. This prevents pointless jumps to overdrive speed from perceived high load when waiting for lengthy ops to complete such as spinup and sleep.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29108 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 09:23:31 +00:00
Robert Bieber
5729be4017 Theme Editor: Updated rendering code to accomodate new format for %xd tags, including long names, numerical tile specification, tag-evaluating tile specification, and tile offset
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29107 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 08:45:59 +00:00
Andree Buschmann
30b29f1866 Fix or at least significantly improve FS#11830. With introduction of ATA DMA for PP502x a special treatment of the IDE0_CFG register for the iPod nano (see FS#7510) was lost.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29106 a1c6a512-1295-4272-9138-f99709370657
2011-01-21 23:32:57 +00:00
Thomas Martitz
01586b5ffe FS#11828: Fix in core mod parser to blindly accept any .mod you throw at it. Based on MikMod.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29105 a1c6a512-1295-4272-9138-f99709370657
2011-01-21 20:09:22 +00:00
Alexander Levin
52c6789450 Add a delay between text scroll rounds when scrolling forward similarly to how it's done when scrolling bidirectionally (FS#11892)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29104 a1c6a512-1295-4272-9138-f99709370657
2011-01-21 17:16:45 +00:00
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