Bertrik Sikken
9fc1270807
Sansa clip zip: add missing prototype to backlight-target.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30855 a1c6a512-1295-4272-9138-f99709370657
2011-10-29 20:05:40 +00:00
Amaury Pouly
853fd04ba4
sbtools: fix compilation when linker expects correctly ordered files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30854 a1c6a512-1295-4272-9138-f99709370657
2011-10-29 17:09:43 +00:00
Bertrik Sikken
e90f961593
Sansa clip zip: update mkamsboot and fix various drivers to make it boot to the main firmware
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30853 a1c6a512-1295-4272-9138-f99709370657
2011-10-29 17:08:05 +00:00
Amaury Pouly
a8cde851fb
sbtools: add options to override real key and IV, fix output prefix in sbtoelf, unify command line to add keys
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30852 a1c6a512-1295-4272-9138-f99709370657
2011-10-29 17:04:20 +00:00
Amaury Pouly
d2a58f3aad
sbtools: move sb file production to its own file with a clean api, factor key reading even more
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30851 a1c6a512-1295-4272-9138-f99709370657
2011-10-29 17:01:47 +00:00
Thomas Martitz
93c6c79e8d
Better fix for FS#12337. Use 0 to make the line height calculated from the font height, as before r30773.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30850 a1c6a512-1295-4272-9138-f99709370657
2011-10-29 15:16:02 +00:00
Amaury Pouly
9fe029b12a
sbtools: factor key code, introduce crypto layer, move from open/read/... to fopen/fread/..., add support for encryption/decryption using a device when the key is not known, move sbtoelf to use getopt for command line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30849 a1c6a512-1295-4272-9138-f99709370657
2011-10-29 14:22:17 +00:00
Dominik Riebeling
b7547e5868
Fix manual URL in Rockbox Utility (FS#12346)
...
Targets with special case URL for the manual (i.e. targets that share the
manual with another target, f.e. h100 series) have been forgotten during the
target renaming. Update those names and convert the manual URL handling to
be template based.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30848 a1c6a512-1295-4272-9138-f99709370657
2011-10-28 20:21:41 +00:00
Andree Buschmann
b8223d908b
Fix FS#12351: The poweroff timer was not reset on scroll wheel activity for e200 and simulator. Thanks to Nick Peskett.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30847 a1c6a512-1295-4272-9138-f99709370657
2011-10-28 17:23:40 +00:00
Thomas Martitz
e126153687
Fix FS#12357 - New backdrop not displayed after set backdrop from context menu
...
The loaded flag wasn't set and skin_backdrop_show() call was missing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30846 a1c6a512-1295-4272-9138-f99709370657
2011-10-28 17:09:38 +00:00
Thomas Martitz
9886126858
Fix FS#12325 - screen corruption on early usb.
...
When booting with USB inserted, the dircache build can get interrupted by the usb connection, in which case the dircache buffer is freed.
Due to a bug the re-creation of dircache used the old freed buffer and overwrite new allocs (causing screen corruption).
Set allocated_size to 0 to make it not take the code path that assumes an existing buffer,
and bring that and freeing together in the code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30845 a1c6a512-1295-4272-9138-f99709370657
2011-10-28 16:38:52 +00:00
Amaury Pouly
f5d664ad93
fuzeplus: rework button handling to use a queue instead of a blocking semaphore in the thread
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30844 a1c6a512-1295-4272-9138-f99709370657
2011-10-27 10:38:19 +00:00
Amaury Pouly
320c3c2ca9
usb: add forgotten break in usb switch, this could lead to unwanted code being execute like USB_QUIT to be sent on hotswap !
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30843 a1c6a512-1295-4272-9138-f99709370657
2011-10-27 10:35:45 +00:00
Magnus Holmgren
d3ad36f6e7
Correct a few small things in the Swedish translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30842 a1c6a512-1295-4272-9138-f99709370657
2011-10-26 20:15:46 +00:00
Michael Giacomelli
b25cd7d892
Revert swap channel feature as we're presently in a feature freeze. I'll recommit after the release is branched.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30841 a1c6a512-1295-4272-9138-f99709370657
2011-10-26 18:37:50 +00:00
Thomas Martitz
5d5177931e
Fix FS#12241. Voice stopped working after audio_get_buffer() calls.
...
Since r30308 the talk buffer was set to NULL if e.g. a plugin called
audio_get_buffer() to steal the talk buffer. Since there's no audio_release_buffer() kind of function
the talk buffer was never set back again.
When trying to talk try to get the audio buffer with audio_get_buffer() as well,
which works until the audio buffer gets properly reinitialized.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30840 a1c6a512-1295-4272-9138-f99709370657
2011-10-26 18:31:19 +00:00
Thomas Martitz
d3c21023e0
Add pcm_rec_init() to the sim's init.
...
It makes sim behavior a little more target-like and enables to reproduce FS#12241.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30839 a1c6a512-1295-4272-9138-f99709370657
2011-10-26 18:28:45 +00:00
Michael Giacomelli
a02bd81c03
Fix red by committing the entire patch.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30838 a1c6a512-1295-4272-9138-f99709370657
2011-10-26 18:24:14 +00:00
Michael Giacomelli
5c4bd11d91
Add option to exchange the left and right stereo channels. Patch by Dave Chapman and Martin Sägmüller. Also add manual entry (by Michael Giacomelli). Note that this setting will confuse non-software effect options like channel balance. This should be addressed in a future commit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30837 a1c6a512-1295-4272-9138-f99709370657
2011-10-26 18:18:34 +00:00
Amaury Pouly
4ef4830f0b
sbtools: be more verbose on real key and iv; add very advanced code to craft images
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30835 a1c6a512-1295-4272-9138-f99709370657
2011-10-23 22:31:48 +00:00
Amaury Pouly
f45fb77664
sbtoelf: don't cross check if key is not valid
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30834 a1c6a512-1295-4272-9138-f99709370657
2011-10-23 18:19:21 +00:00
Amaury Pouly
cab5dbded9
sbtoelf: handle the case where only one valid key is known
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30833 a1c6a512-1295-4272-9138-f99709370657
2011-10-23 18:14:38 +00:00
Amaury Pouly
b93e15c404
sbtools: fix sbtoelf to support NOP, add alignment support to elftosb
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30832 a1c6a512-1295-4272-9138-f99709370657
2011-10-23 17:43:52 +00:00
Bertrik Sikken
94c573f3ec
Sansa clipzip: miscellaneous updates
...
* add support for OF version 01.01.17 in mkamsboot
* introduce and implement oled_brightness function
* configure voltage CVDD2 to 2.8V (like the OF does)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30831 a1c6a512-1295-4272-9138-f99709370657
2011-10-23 14:20:47 +00:00
Amaury Pouly
bf831106f5
imx_hid_recovery: rewrite Makefile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30830 a1c6a512-1295-4272-9138-f99709370657
2011-10-23 14:20:00 +00:00
Amaury Pouly
e9575bdf2f
fuze+: fix typo and remove ugly logf construct
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30829 a1c6a512-1295-4272-9138-f99709370657
2011-10-23 14:19:50 +00:00
Thomas Martitz
7352e72cb9
Fix charcell build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30828 a1c6a512-1295-4272-9138-f99709370657
2011-10-23 11:12:52 +00:00
Thomas Martitz
155a9f8abd
Fix FS#12337 properly. Also fixes FS#12345 which the previous commit introduced.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30827 a1c6a512-1295-4272-9138-f99709370657
2011-10-23 11:05:27 +00:00
Fred Bauer
e299eb3ea3
Add functions font_set_ui() and font_get_ui(). The font returned by FONT_UI used to be fixed at zero but since buflib-fonts (r30589) can be different, depending on the order of loads and unloads. Fixes broken behavoir in virtual keyboard (FS#12336), lyrics player (FS#12306), and hopefully, FS#12337
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30826 a1c6a512-1295-4272-9138-f99709370657
2011-10-22 17:13:33 +00:00
Thomas Martitz
4d2ab32339
Android: Work around an android bug.
...
BitmapFactory.decodeFile() fails when called outside the main thread.
Work around by running the code on the main thread. This also has the advantage
of off-loading from the Rockbox thread which should improve track skipping
delays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30825 a1c6a512-1295-4272-9138-f99709370657
2011-10-22 15:28:09 +00:00
Thomas Martitz
5c509d17db
Fix buttonbar and line padding in time&date screen.
...
The time&date screen uses a custom parent for do_menu(), and doesn't
account for the buttonbar and list line height. Introduce
gui_synclist_set_viewport_defaults() to set those for viewports that are
going to be list parents and use that so that time&date screen doesn't need
to know about buttonbar/line padding.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30824 a1c6a512-1295-4272-9138-f99709370657
2011-10-22 10:09:23 +00:00
Thomas Martitz
09d0b6fec4
Fix backwardly named variable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30823 a1c6a512-1295-4272-9138-f99709370657
2011-10-22 10:06:48 +00:00
Fred Bauer
6f8564987f
Finish r30818 revert
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30822 a1c6a512-1295-4272-9138-f99709370657
2011-10-22 08:23:52 +00:00
Fred Bauer
e5bdaa3324
Revert r30818
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30821 a1c6a512-1295-4272-9138-f99709370657
2011-10-22 08:02:38 +00:00
Fred Bauer
9c75ec0f9a
fix r30818
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30820 a1c6a512-1295-4272-9138-f99709370657
2011-10-22 06:32:19 +00:00
Fred Bauer
ef56fa6516
Missed line in r30818
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30819 a1c6a512-1295-4272-9138-f99709370657
2011-10-21 20:32:18 +00:00
Fred Bauer
6f078c428f
Change lru from double to single linked list. Only the font cache uses LRU and it never searches in reverse. Saves 2 bytes per glyph.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30818 a1c6a512-1295-4272-9138-f99709370657
2011-10-21 20:23:21 +00:00
Dominik Riebeling
c032b9d083
Add empty font_lock() for bootloaders to fix builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30817 a1c6a512-1295-4272-9138-f99709370657
2011-10-21 20:15:26 +00:00
Dominik Riebeling
e28f8225f5
Rockbox Utility: add Speex license to About dialog.
...
The Speex codec has a special license requiring it to be reproduced with any
distribution. Add the license as a separate tab in the About dialog to satisfy
this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30816 a1c6a512-1295-4272-9138-f99709370657
2011-10-21 19:46:36 +00:00
Thomas Jarosch
eb97426c76
Use array index 'i' only -after- bounds check
...
Reported by cppcheck
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30815 a1c6a512-1295-4272-9138-f99709370657
2011-10-21 18:51:19 +00:00
Fred Bauer
04a015dde0
Provide font_lock(). Font_get_bits() or ..width() may have to read glyph cache misses from disk so provide a means to lock the buflib memory during the wait.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30814 a1c6a512-1295-4272-9138-f99709370657
2011-10-21 18:05:52 +00:00
Fred Bauer
d228d4d130
Implement move callback for timestretch sample allocation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30813 a1c6a512-1295-4272-9138-f99709370657
2011-10-21 17:47:58 +00:00
Fred Bauer
8e18dc85cf
fix sign error
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30812 a1c6a512-1295-4272-9138-f99709370657
2011-10-21 06:45:26 +00:00
Andree Buschmann
d2958b9d32
Some iPod Video's need a 2nd call of ub_drv_init() to establish the USB connection. This workaround breaks the USB functionality for other devices. Until there is a proper fix available just use the workaround for iPod Video only. Fixes FS#12324.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30811 a1c6a512-1295-4272-9138-f99709370657
2011-10-20 14:48:20 +00:00
Amaury Pouly
f4a1501d4a
sbtools: fix sbtoelf to handle files with more than one hundred commands
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30810 a1c6a512-1295-4272-9138-f99709370657
2011-10-20 10:14:50 +00:00
Dominik Riebeling
b458d33190
Rockbox Utility now requires voice-corrections.txt.
...
Add to deployment configuration to make it work again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30809 a1c6a512-1295-4272-9138-f99709370657
2011-10-19 21:50:01 +00:00
Michael Chicoine
813fdc3abc
Update english-us translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30808 a1c6a512-1295-4272-9138-f99709370657
2011-10-19 21:45:50 +00:00
Dominik Riebeling
66634f30f8
Rockbox Utility: add GoGear SA9200 as disabled target.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30807 a1c6a512-1295-4272-9138-f99709370657
2011-10-19 20:53:50 +00:00
Dominik Riebeling
7263ccb105
Remove svn keyword lines from sources.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30806 a1c6a512-1295-4272-9138-f99709370657
2011-10-19 20:51:16 +00:00
Magnus Holmgren
90562e394a
Update Swedish translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30805 a1c6a512-1295-4272-9138-f99709370657
2011-10-19 19:51:34 +00:00