Andree Buschmann
169b3048e3
Use the timeout api for the gui boost implementation. This ensures that the CPU will be unboosted after the defined timeout, the former implementation could stay boosted in several situations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30975 a1c6a512-1295-4272-9138-f99709370657
2011-11-13 18:00:28 +00:00
Bertrik Sikken
36d7bbbb4e
Sansa clip zip: make more plugins compile (lamp, wormlet, matrix)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30974 a1c6a512-1295-4272-9138-f99709370657
2011-11-13 16:16:18 +00:00
Thomas Martitz
86e8f6ad23
Fix another typo. sorry.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30973 a1c6a512-1295-4272-9138-f99709370657
2011-11-13 15:51:25 +00:00
Thomas Martitz
0602dbce4e
Fix typos in usb_screen.c and use lcd_remote_bmp() for showing the rockbox logo on remotes as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30972 a1c6a512-1295-4272-9138-f99709370657
2011-11-13 15:44:27 +00:00
Thomas Martitz
9a70c42241
Add the ability to create a prefilled struct bitmap along with generated images.
...
This allows to directly draw generated and builtin images using lcd_bmp(bm_xxx);
Also fixes builtin list icons on non-mono targets, as they didn't have the
format field set.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30971 a1c6a512-1295-4272-9138-f99709370657
2011-11-13 15:37:16 +00:00
Bertrik Sikken
61f61c9773
Sansa clip zip: correct USB vendor/product id
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30970 a1c6a512-1295-4272-9138-f99709370657
2011-11-13 15:10:56 +00:00
Bertrik Sikken
fdc906743f
Sansa clip zip: update lcd_update_rect to even-align horizontal coordinates for the wisechip display type
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30969 a1c6a512-1295-4272-9138-f99709370657
2011-11-12 20:14:44 +00:00
Thomas Martitz
caec07be65
Handle 32bit bitmaps with all-zero alpha channel as fully opaque.
...
This is what gimp does when opening such a file.
Tt saves the alpha channel with all-0xff, but other programs might use 0x00.
As a fully transparent image doesn't make sense this should be OK.
Also split the 32bit and 24bit case in the bmp reader, they're sufficiently different.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30968 a1c6a512-1295-4272-9138-f99709370657
2011-11-11 22:03:29 +00:00
Andree Buschmann
f1ee740f2b
Finally submit GUI boost (FS#8668). With this change the CPU is boosted (with a 1 second timeout) on scrollwheel activity in the list, main menu, tree and std context. For now GUI boost is only enabled on scrollwheel targets. The code can easily be enhanced to work with other targets as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30967 a1c6a512-1295-4272-9138-f99709370657
2011-11-11 19:40:32 +00:00
Thomas Martitz
312b2a2de7
Document the internal alpha channel format better, and fixes for 32bit alpha bitmaps.
...
For images, rows need to be even (this is not true for anti-aliased font files).
Fix stride and size calculation. This makes images that have odd pixel rows display properly and fixes buffer overflows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30966 a1c6a512-1295-4272-9138-f99709370657
2011-11-11 19:05:11 +00:00
Thomas Jarosch
158e14a8c6
Fix file descriptor leak
...
Probably not much of an error since it's in the bootloader :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30965 a1c6a512-1295-4272-9138-f99709370657
2011-11-11 17:44:56 +00:00
Thomas Jarosch
e5ea0b3418
Fix copy'n'paste bug in skin engine
...
cppcheckout reported:
[apps/gui/skin_engine/skin_tokens.c:1553] -> [apps/gui/skin_engine/skin_tokens.c:1553]: (style) Same expression on both sides of '||'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30964 a1c6a512-1295-4272-9138-f99709370657
2011-11-11 16:54:21 +00:00
Fred Bauer
7c6acd4783
close file descriptor
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30962 a1c6a512-1295-4272-9138-f99709370657
2011-11-11 01:19:09 +00:00
Dominik Riebeling
8317226ff8
Carbon TTS: Fix a memory leak on read error.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30961 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 21:12:07 +00:00
Dominik Riebeling
a3cc428796
Create features.tex without intermediate file.
...
Using features.tex as intermediate file for creating features.tex is a bit
confusing, and there is no real need for using an intermediate file. Change
some hardcoded output files while at it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30959 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 19:40:36 +00:00
Amaury Pouly
7aac4188d2
fuze+: fix typo (mdelay vs udelay) in register read (shouldn't change anything) and be sure lcdif is ready
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30958 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 17:29:57 +00:00
Frank Gevaerts
0d2484bedb
Fix generation of features.tex
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30957 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 14:32:11 +00:00
Michael Chicoine
928bcd4809
Correct saved config setting for Line Padding in Lists - fixes FS#12377
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30955 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 12:23:55 +00:00
Michael Sparmann
6229d623b0
Rework FS#12310 fix (r30906) for better readability. No functional change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30953 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 10:37:02 +00:00
Jonathan Gordon
bd234e7e6f
try again, this time without compile errors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30951 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 10:11:07 +00:00
Jonathan Gordon
34cc4d58ec
Fix checkwps
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30950 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 10:07:04 +00:00
Fred Bauer
d6812f471f
Update lyrics player plugin for FONT_UI deprecation in r30932 (fix for FS#12374)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30949 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 02:50:30 +00:00
Boris Gjenero
b882f8f4e3
Set alpha_offset to zero when loading a JPEG.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30948 a1c6a512-1295-4272-9138-f99709370657
2011-11-09 23:25:36 +00:00
Peter D'Hoye
8412ced75f
update Dutch langfile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30947 a1c6a512-1295-4272-9138-f99709370657
2011-11-09 20:52:42 +00:00
Boris Gjenero
415f579bf3
Fix assembler .size directives. Currently used binutils don't complain, but 2.21.1 treats these as errors.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30945 a1c6a512-1295-4272-9138-f99709370657
2011-11-09 19:20:33 +00:00
Wincent Balin
d01954cad2
Committing fix for FS#12249. Patch by Buschel. Further fixes for AIFF loader in PDBox in the future.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30944 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 23:48:24 +00:00
Boris Gjenero
32eb8275f4
Remove last_sleep when it's not needed because IDE power is never turned off.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30943 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 23:29:25 +00:00
Thomas Martitz
354015ef28
Fix warning on mrobe100.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30942 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 22:34:35 +00:00
Thomas Martitz
a102253cf2
Make pictureflow compile again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30941 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 22:23:29 +00:00
Thomas Martitz
1280f322ec
Fix build errors and warnings in the lcd drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30940 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 22:04:43 +00:00
Thomas Martitz
b02c82e105
Adapt icon and skin engine to make use of the new 32bit bitmap capabilities.
...
You can now use 32bit icons in lists and skins
(except album art, but can be added if wanted). The code also shows how
to free the unused alpha channel data if the bitmap doesn't actually contain
such information.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30939 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 21:39:28 +00:00
Thomas Martitz
c7b8054714
Adapt the resize-on-load image scalers to support the alpha channel.
...
Now 32bit BMPs with alpha channel can be up- and downscaled without losing
transparency information.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30938 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 21:39:23 +00:00
Thomas Martitz
f443e7bbf7
Support for transparency in 32bit bitmaps on color targets.
...
This uses the alpha blending capabilities introduced with anti-aliased fonts
to draw bitmaps with transparency information. The bmp loader is extended to read
this information (pass FORMAT_TRANSPARENT in format). The alpha information will
be used when drawing the bitmap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30937 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 21:36:49 +00:00
Thomas Martitz
13209604c1
Add new lcd_bmp and lcd_bmp_part APIs.
...
This new APIs wrap around lcd_[mono|transparent]_bitmap/_part calls and
handle all kinds bitmaps. The intended use is to draw bitmaps that
come from read_bmp_fd/_file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30936 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 21:34:46 +00:00
Thomas Jarosch
6223ad266e
Fix format string
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30935 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 21:25:50 +00:00
Thomas Martitz
1afcd74fdd
Simplify icon.c a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30934 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 21:23:02 +00:00
Jonathan Gordon
2e0fff9732
Fix compile error
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30933 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 10:14:23 +00:00
Jonathan Gordon
f19f3efb07
Redo r30826 (and hopefully not reintroduce font issues) which cleans up the font API. FONT_UI is deprecated, use screens[screen].getuifont() instead (and .setuifont() to set it after a font has been loaded)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30932 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 10:09:33 +00:00
Jonathan Gordon
452a3ce274
Put icons on buflib:
...
Removes the max icon size limitation and doesnt waste RAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30931 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 09:36:35 +00:00
Michael Giacomelli
64c73c4751
Disable the clock the built in AS3525(v2) bootrom. This is only useful for reverse engineering purposes, so disable during normal operation in case it uses power.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30930 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 02:07:26 +00:00
Michael Chicoine
c0125e1965
FS#12365 - Czech language update by Marek Salaba
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30928 a1c6a512-1295-4272-9138-f99709370657
2011-11-07 23:53:35 +00:00
Amaury Pouly
bbbc2e8877
fuze+: fix typo in lcd init sequence for second lcd type
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30926 a1c6a512-1295-4272-9138-f99709370657
2011-11-07 09:18:24 +00:00
Torne Wuff
b9592e8be3
Convert one more file from DOS to UNIX.
...
Missed one, oops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30925 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 22:52:21 +00:00
Torne Wuff
569285794b
Bulk convert all DOS line endings to UNIX.
...
For the git migration we want a nice clean repository with UNIX line
endings. git does not use svn:eol-style, we just need the file contents to be
sane.
Sorry everybody. I know this messes up blame.
Scumbag *NIX developer says migrating to git will make line ending issues go
away; commits giant change to svn which changes line endings anyway. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30924 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 22:44:25 +00:00
Amaury Pouly
d9b7d58fa6
mkimxboot: fix bootloader load address, replace call by jump on final call to have a clean boot
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30922 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 20:40:54 +00:00
Dominik Riebeling
0609bfd9f3
Rockbox Utility: bump version to 1.2.11.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30921 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 20:36:26 +00:00
Amaury Pouly
303c486f4f
Introduce mkimxboot to build bootloader images for the i.MX (only the fuze+ currently). Still not integrated in rbutil
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30920 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 19:44:03 +00:00
Amaury Pouly
cd832bd0f5
imxtools: add function to free instruction
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30919 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 19:41:29 +00:00
Amaury Pouly
ad9e280281
imxtools: add const and set pointer to NULL on free to avoid double free
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30918 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 19:41:25 +00:00
Jens Arnold
ae601954aa
Make usage of TALK_PARTIAL_LOAD actually Ondio specific. MMC is not always slow.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30917 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 14:25:33 +00:00