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
Fred Bauer
8d74458744
Revert skin font allocation size to the behavior prior to r30589. i.e. Default to 256 glyphs rather than trying to load MAX_FONT_SIZE. This matches the manual and saves a lot of ram if a theme uses multiple fonts.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30804 a1c6a512-1295-4272-9138-f99709370657
2011-10-19 16:33:33 +00:00
Andree Buschmann
67a1db437f
Reviewed and updated recording samples rates in the manual. Fixes FS#12318.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30802 a1c6a512-1295-4272-9138-f99709370657
2011-10-19 06:02:35 +00:00
Amaury Pouly
623cbd6e02
imx233/fuze+: implement pcm out and audio codec, update SOURCES
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30800 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 22:08:41 +00:00
Amaury Pouly
390edd58c8
imx233/fuze+: add prototype for rtc block (only for register defines for now)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30799 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 22:08:38 +00:00
Amaury Pouly
7b70e5a8fa
imx233/fuze+: implement audioout functions (init, volume, frequency); add stubs for audioin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30798 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 22:06:05 +00:00
Amaury Pouly
96f0464796
imx233/fuze+: implement hw info debug screen to show dma channels state
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30797 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 22:06:02 +00:00
Amaury Pouly
43673e9e28
imx233/fuze+: fix codec prototype header
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30796 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 22:03:29 +00:00
Amaury Pouly
b0a20dbc99
imx233/fuze+: allow dma info retrieval; wait for end of channel reset before returning; fix typo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30795 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 22:03:25 +00:00
Amaury Pouly
e428717d30
imx233/fuze+: add volume handling to sound.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30794 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 22:00:53 +00:00
Amaury Pouly
d0e8c35862
imx233/fuze+: move to a more generic xtal derived clock enabling function, fix timrot accordingly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30793 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 22:00:50 +00:00
Amaury Pouly
0b3347e47f
imx233/fuze+: fix typo and add dac dma/error interrupts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30792 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 21:58:18 +00:00
Amaury Pouly
359826aa94
fuze+: fix bootloader not set backlight brightness
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30791 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 21:58:14 +00:00
Amaury Pouly
ed2386c67f
imx233/fuze+: move audio driver to the canonical location
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30790 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 21:55:20 +00:00
Thomas Martitz
e46f40e174
Fix manual build, forgot to add new files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30789 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 20:48:41 +00:00
Andree Buschmann
5bdfa322ce
Submit FS#11805: Add setting 'Start File Browser Here' to manual.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30788 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 19:09:36 +00:00
Thomas Martitz
02395cf1a4
Reflect the time & date settings move in the manual.
...
Flyspray: FS#12339
Author: Nick Peskett
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30787 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 19:06:56 +00:00
Thomas Martitz
ed99b6eaff
Fix FS#12337. Skin viewports' line height was initialized with the UI font height.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30786 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 19:04:45 +00:00
Fred Bauer
0ab2c1b4c4
In search(): eliminate an unnecessary test.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30784 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 17:02:24 +00:00
Jens Arnold
03a8325a2d
Simplify seconds_to_min(), and don't safeguard used parameter.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30779 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 19:21:25 +00:00
Thomas Martitz
a453bee2fa
Remake the sleep timer menu item, so that selecting it while the timer is running
...
just cancels that one (displayed text is changed accordingly and
displays te remaining time).
Selecting it again allows to set a new time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30778 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 18:57:44 +00:00
Thomas Martitz
e347146b62
Sleep timer options: persistent duration and start on boot.
...
This makes the sleep timer persistent, so that the duration is remembered
across reboots. Additionally, it adds a setting to automatically apply
it at boot.
Flyspray: FS#10849
Author: Nick Peskett
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30777 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 18:57:38 +00:00
Thomas Martitz
e44af440c5
Move Time & Date menu from System to settings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30776 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 18:57:34 +00:00
Thomas Martitz
a13e9644b5
- Fix some reds by implementing lcd_get_dpi().
...
- Use the list item centering capabilities in the plugin lib
- Bump plugin ABI for the changed viewport struct (sort the API too).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30775 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 18:28:35 +00:00
Thomas Martitz
55f078f4b5
Fix checkwps reds and non-touchscreen warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30774 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 17:49:20 +00:00
Thomas Martitz
3b12634e6b
Commit FS#12321 - Touchscreen: List line padding, to more easily select lines
...
This adds line padding to lists on touchscreens,
in order to make lists reasonably useful without huge fonts.
It's configurable:
* Automatic (default, line height calculated using a lcd dpi aware function)
* Off (status quo, line height = font height)
* X pixels (from 2 to 50 in even steps)
The automatic setting should/aims to Just Work Out Of The Box on all targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30773 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 17:38:10 +00:00
Michael Sevakis
859cd4b627
Expunge a commented #include that found its way in in r30771.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30772 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 15:48:41 +00:00
Michael Sevakis
feddfdb2d9
Gigabeat S/i.MX31/wm8978: Clean up clocking information in the general wmcodec/pcm drivers and move it to the target's wmcodec/i2s files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30771 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 15:37:14 +00:00
Fred Bauer
2a478c826b
Split long fmt string which caused a yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30770 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 13:29:16 +00:00
Fred Bauer
8c9017211e
Faster cached font loading. FS#12333
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30769 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 13:17:04 +00:00
Fred Bauer
afc42ff793
Update UI simulator buttonmap for Sansa Fuze
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30768 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 12:11:23 +00:00
Marcin Bukat
1e1b79c368
Credit Andrew Ryabinin for hifiman-hm60x port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30767 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 10:44:11 +00:00
Marcin Bukat
3949519319
fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30766 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 10:38:36 +00:00
Marcin Bukat
32f763c39a
Add HiFiMAN HM-60x target(s). FS#12319 by Andrew Ryabinin with some (small) modification by me. This also splits rk27xx lcd driver into lcdif-rk27xx and lcd controller specific part. Some modifications to the pcm driver have been made to allow using codecs in slave mode (as TDA1543 used in hifiman is slave only i2s codec).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30765 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 10:32:19 +00:00
Fred Bauer
f0311d3310
Update convbdf.c for previous change
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30764 a1c6a512-1295-4272-9138-f99709370657
2011-10-16 20:29:57 +00:00
Fred Bauer
cd0102ba14
font_cache.c: Optimize and simplify cache search. ~25% font rendering boost
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30763 a1c6a512-1295-4272-9138-f99709370657
2011-10-16 20:17:44 +00:00
Thomas Martitz
4f3e1d6b48
Fix FS#12320 - need substitute to /.rockbox/skin_buffer_size.txt
...
Since recent skin engine related commits images aren't stored on the skin
buffer anymore. The buffer was decreased accordingly. Now some themes used that
buffer more for tokens than images and are now broken.
To fix, increase the max token count, while optimizing the two most often
allocated structs for size (so no net ram usage increase).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30762 a1c6a512-1295-4272-9138-f99709370657
2011-10-16 15:55:12 +00:00
Fred Bauer
899865a70b
Fix Yellow: missing proto
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30761 a1c6a512-1295-4272-9138-f99709370657
2011-10-16 13:28:44 +00:00
Fred Bauer
100974162d
FS:12299 Font glyph cache is no longer saved. Each font will now have its own glyph cache file with the extension '.gc' Includes a temporary fix that delays saving the file to prevent the creation of multiple gc files with same name. Mostly JD Gordon's code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30760 a1c6a512-1295-4272-9138-f99709370657
2011-10-16 13:18:46 +00:00
Bertrik Sikken
50ac7ca774
Fix warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30759 a1c6a512-1295-4272-9138-f99709370657
2011-10-15 20:51:12 +00:00