Commit graph

20439 commits

Author SHA1 Message Date
Maurus Cuelenaere
c606fd04c8 Jz4740:
* Optimize & cleanup thread handling a bit
 * Unify exception return and fix a potential bug


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20659 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 14:30:33 +00:00
Maurus Cuelenaere
87efb79682 Make test_codec compile and clean up some comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20658 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 14:10:17 +00:00
Andrew Mahone
3e2cf9a380 Undo revert of r20653
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20657 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 10:38:55 +00:00
Andrew Mahone
54a0aeff5b fix accidental reverts in r20651
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20656 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 10:27:38 +00:00
Marianne Arnold
5b72c4eb85 Pictureflow chapter, hwcodec target manuals: add a note about the plugin stopping playback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20655 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 10:19:29 +00:00
Andrew Mahone
1541c313a0 Improve scaler reciprocal precision by 1 bit, and remove unused SC_NUM, SC_FIX, and SC_SHIFT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20654 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 06:25:06 +00:00
Andrew Mahone
05875e4ce1 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20653 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 04:06:26 +00:00
Andrew Mahone
5f20b620f9 FS#10104: Update PictureFlow manual to reflect keymap changes, and remove the obsolete note about audio buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20652 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 03:50:47 +00:00
Andrew Mahone
c79fb9ce06 FS#9992: remove PLA use from PictureFlow, replacing it with maps designed for each target, and inheriting the targets' standard actions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20651 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 03:50:44 +00:00
Maurus Cuelenaere
ae723815fa Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20650 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 00:05:25 +00:00
Maurus Cuelenaere
91239472ae Add LED indication to Jz4740 SD driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20649 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 00:04:51 +00:00
Maurus Cuelenaere
df54e640d3 Forgot to actually enable it..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20648 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 23:54:25 +00:00
Maurus Cuelenaere
fef405c328 Enable plugins on the Onda VX747
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20647 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 23:41:44 +00:00
Marianne Arnold
8b13d87ec3 Invadrox - some bitmap related changes in preparation of porting it to more screen resolutions, should not be visible to the user: (1) Use single bitmaps (or strips where possible) instead of one big bitmap each, so instructions and defines how to take the bitmap apart aren't needed. It's more flexible and makes it possible to (2) get some width/height variables directly from the bitmaps. (3) Use background images for static items. Both reduces the number of hardcoded values noticeably. (4) Make the 'fire_sprite' an external bitmap too - with help of Jens -. (5) Rename 'TINY_GRAPHICS' to 'SMALL_GRAPHICS' to have this name available for even smaller images (which is planned).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20646 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 17:56:16 +00:00
Bertrik Sikken
070ee525ac Patch by Rafaël Carré - Sansa AMS i2c :
* remove peripheral reset (already made in system_init).
  * Move empty i2c_init() from i2c-as3525.c (and remove that file)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20645 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 17:20:31 +00:00
Bertrik Sikken
9ab84b073f Patch by Rafaël Carré - Sansa AMS : inform pcm.c when playback stopped, use pcm_play_dma_stopped_callback()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20644 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 17:11:55 +00:00
Bertrik Sikken
6b63f23648 Patch by Rafaël Carré - Sansa AMS: Fix a few mistakes in DMA code
DMAC_INT_TC_CLEAR is a write-only reg
HIGH bits of DMAC_SYNC mean synchronisation logic disabled.
Also, according to the OF and to tests, all the peripherals we use run at the same frequency (PCLK?).



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20643 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 17:08:26 +00:00
Bertrik Sikken
e15cf78987 Patch by Rafaël Carré - Chopper : define small screen limit on height <= 64
This way Clip is included as well, not only Archos



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20642 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 17:02:39 +00:00
Boris Gjenero
e84520c67e Revert FS#9531 / r19723 - It did not fix the problem, and it caused the index parameter of shuffle and unshuffle .playlist_control commands to be ignored. When those parameters were non-zero, this caused some tracks from the end of the original playlist to instead appear at the beginning of the resumed playlist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20641 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 16:16:55 +00:00
Dominik Wenger
f5c5983c73 commit FS#10092 (cleanup AMS system init) by Rafaël Carré.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20640 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 16:14:01 +00:00
Marianne Arnold
2f973487dc Tidy up and remove executable flag from a few plugin bitmap files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20639 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 14:03:38 +00:00
Boris Gjenero
265d855031 Remove unnecessary copying of current track id3 data back into the buffer. It was used before when track_unbuffer_callback existed, but now PLAYBACK_EVENT_TRACK_FINISH takes care of this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20638 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 05:32:38 +00:00
Michael Giacomelli
de391e7abf Add current use and fix battery capacity settings for the Gigabeat F/X. Thanks to AlHaz for pointing out that they were incorrect.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20637 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 03:41:06 +00:00
Dominik Riebeling
e62bf12fcd Fix a typo in the german translation (thanks to pyro_maniac on IRC for pointing it out) and update it partly. lupdate all translations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20636 a1c6a512-1295-4272-9138-f99709370657
2009-04-06 18:14:30 +00:00
Boris Gjenero
7c6194078c FS#10086 - Playback and recording sample rate setting on the 5G iPod
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20635 a1c6a512-1295-4272-9138-f99709370657
2009-04-06 02:46:42 +00:00
Boris Gjenero
02b9c65ea3 Fix FS#10091 - On Archos targets properly detect charger at startup, so charging screen can be entered
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20634 a1c6a512-1295-4272-9138-f99709370657
2009-04-06 01:47:28 +00:00
Jonathan Gordon
843c7efaf8 FS9795 - some playback cleanup.
* Use events to notify things when the track has changed instead of the nasty has_track_changed()
* Event for when the mp3entry for the next track is avilable (which allows alot more tags to be static which means less redrawing in the WPS)
* virtually guarentee that the mp3entry sturct returned by audio_current/next_track() is going to be valid for the duration of the current track. The only time it wont be now is during the time between the codec finishing the previous track and the next track actually starting (~2s), but this is not an issue as long as it is called again when the TRACK_CHANGED event happens (or just use the pointer that gives)
It is still possible to confuse the WPS with the next tracks id3 info being displayed but this should fix itself up faster than it used to (and be harder to do)



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20633 a1c6a512-1295-4272-9138-f99709370657
2009-04-06 00:39:43 +00:00
Alexander Levin
9188f0ffd7 Drop the unnecessary checks since they are made by the caller
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20632 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 19:39:09 +00:00
Alexander Levin
be7f5253a1 Fix hopping backwards if skip length is > 0 and we're near the end of the track (less than skip length)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20631 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 19:29:21 +00:00
Dominik Riebeling
9def6b2345 Fix a potentially dangerous bug with bootloader installation for Sansas:
check the downloaded bootloader file against the target reported by sansapatcher as otherwise one could install an e200 bootloader to a c200 (and vice versa).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20630 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 19:19:27 +00:00
Antoine Cellerier
afc78cc329 Start rockpaint with the toolbar visible (I guess that a full white screen can be quite intimidating).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20629 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 17:36:24 +00:00
Antoine Cellerier
443a4e2296 Add a few simulator keys for the e200 (in case you don't have a numpad)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20628 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 17:35:48 +00:00
Maurus Cuelenaere
453b053c29 Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20627 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 15:14:45 +00:00
Maurus Cuelenaere
72503b5dc1 Fix Onda VX767 LCD clock init code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20626 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 14:36:36 +00:00
Maurus Cuelenaere
0af42777ee Move CPU_MIPS #define up so ROCKBOX_STRICT_ALIGN actually gets defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20625 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 13:14:46 +00:00
Maurus Cuelenaere
697869e892 Revert r20617 for now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20624 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 13:11:38 +00:00
Dominik Riebeling
baef133f5f Code police:
- kill trailing whitespace
- replace tabs by spaces


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20623 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 12:46:41 +00:00
Dominik Riebeling
f3af25f5b7 Fix typo in configuration file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20622 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 12:46:37 +00:00
Jens Arnold
bf6e0cd9d1 ZXBox: Clean up display init. Saves ~1KB on colour targets, and 4KB (coldfire)... >6KB (SH1) for greyscale targets, due to no longer using floating point math. * Name the 2bpp display routines correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20621 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 12:13:58 +00:00
Dominik Riebeling
a61e63cb41 Fix a wrong debug message.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20620 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 09:22:22 +00:00
Maurus Cuelenaere
b4f6b259ef Don't leave LOGF_ENABLE enabled...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20619 a1c6a512-1295-4272-9138-f99709370657
2009-04-04 20:58:39 +00:00
Thomas Martitz
23489bea1c A few skip length and dir change fixes.
*) Fix 64bit sim for playhop.
*) Revert to pre-skip length behavor for dir skipping (always have dirskipping, no matter of skip length), only prevent dir skipping if "prevent track skipping" is enabled
*) small code unification with regards to track and dir skipping

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20618 a1c6a512-1295-4272-9138-f99709370657
2009-04-04 20:33:38 +00:00
Maurus Cuelenaere
2ca376cce8 Use the audio buffer in USB storage for ISP1583-having targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20617 a1c6a512-1295-4272-9138-f99709370657
2009-04-04 18:16:36 +00:00
Maurus Cuelenaere
c5a3c8c670 Jz4740 USB tool:
* Add a slight delay, so that the pre-boot code gets time to execute
 * Remove an unneeded check


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20616 a1c6a512-1295-4272-9138-f99709370657
2009-04-04 17:53:59 +00:00
Jonas Häggqvist
4f98d45c3e Add some more possible sim targets and remove the memory-size variants.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20615 a1c6a512-1295-4272-9138-f99709370657
2009-04-04 14:16:43 +00:00
Alexander Levin
4ad492917b Use the verbs (in the action description) in the same form for all file formats
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20614 a1c6a512-1295-4272-9138-f99709370657
2009-04-03 21:48:54 +00:00
Alexander Levin
afa5ac451d Add a short description of the rocklife plugin to the manual. Also add the .cells files to the table of supported files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20613 a1c6a512-1295-4272-9138-f99709370657
2009-04-03 21:45:38 +00:00
Alexander Levin
d55ebceed7 Fix red introduced with r20610.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20612 a1c6a512-1295-4272-9138-f99709370657
2009-04-03 20:48:19 +00:00
Alexander Levin
ed0ac675b0 Rocklife: allow the cells file to have comment (everything on a line starting with a '!' is a comment). FS#10081, thanks to Justin Hannigan.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20611 a1c6a512-1295-4272-9138-f99709370657
2009-04-03 20:35:24 +00:00
Alexander Levin
b549ce9193 Some improvements to rocklife (FS#10087, but slightly less paranoid). Main improvement is that the file loading will not lead to stack overflow or illegal memory access.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20610 a1c6a512-1295-4272-9138-f99709370657
2009-04-03 20:25:12 +00:00