Andree Buschmann
91beb7a46d
Use same loop count for writing and memset'ing in test_mem to have same precision in the result.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28583 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 13:03:39 +00:00
Teruaki Kawashima
47bbd6a466
rockpaint: disable playback control if the buffer is taken from the audio buffer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28575 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 14:06:55 +00:00
Teruaki Kawashima
ca494b737e
rockpaint: merge similar switch-case statements for readability. slightly reduce ramusage.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28574 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 12:23:43 +00:00
Teruaki Kawashima
5727688e72
rest of FS#11632 by Michael Stummvoll with modification by me.
...
- don't turn off backlight while playing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28557 a1c6a512-1295-4272-9138-f99709370657
2010-11-11 12:08:00 +00:00
Teruaki Kawashima
04626ce583
maintain spaces and remove tabs for readability in apps/plugins/rockboy/rockboy.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28555 a1c6a512-1295-4272-9138-f99709370657
2010-11-11 11:35:38 +00:00
Teruaki Kawashima
91bab9b5a5
FS#11632: (rockboy) Some fixes and improvements by Michael Stummvoll
...
- increase number of slots to save/load state.
- add volume control.
- present old description when overwriting exsinting savegame and don't save when cancelled while input the description.
Flyspray: FS#11632
Author: Michael Stummvoll
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28554 a1c6a512-1295-4272-9138-f99709370657
2010-11-11 10:58:09 +00:00
Teruaki Kawashima
8371d78519
pictreflow: tweak alpha value for the case number of slides < 3 so that fading looks a bit more smooth.
...
do not save settings when it is not so needed.
make sliding animation better when you press right then left quickly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28529 a1c6a512-1295-4272-9138-f99709370657
2010-11-07 14:37:02 +00:00
Teruaki Kawashima
930a8a5050
set mode argument for open() where O_CREAT flag is/can be set.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28527 a1c6a512-1295-4272-9138-f99709370657
2010-11-07 11:45:20 +00:00
Teruaki Kawashima
97a783a79a
rockboy: fix that description is cut off if it is near 20 bytes in load/save menu.
...
replace some numbers by #define value.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28521 a1c6a512-1295-4272-9138-f99709370657
2010-11-06 14:20:57 +00:00
Teruaki Kawashima
781f05e40d
FS#11546: Adjustable brightness in lamp plugin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28519 a1c6a512-1295-4272-9138-f99709370657
2010-11-06 13:40:09 +00:00
Teruaki Kawashima
45fa8245ea
FS#11673: picture flow: improve scrolling text, by myself.
...
implement scroll engine in the plugin similar to the one in core.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28474 a1c6a512-1295-4272-9138-f99709370657
2010-11-03 13:34:58 +00:00
Robert Menes
98ed07bcf8
Okay, this should be the last few "prevent red" fixes to be
...
done on the GoGear HDD6330 plugin keymaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28470 a1c6a512-1295-4272-9138-f99709370657
2010-11-03 03:23:14 +00:00
Robert Menes
857dcea6da
Another "keep the reds away" fix.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28469 a1c6a512-1295-4272-9138-f99709370657
2010-11-03 03:00:18 +00:00
Robert Menes
01c27cef01
Whoops, nearly forgot to define the help screen text for
...
the GoGear HDD6330. There would've been some nasty, nasty
red if I hadn't!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28468 a1c6a512-1295-4272-9138-f99709370657
2010-11-03 02:54:05 +00:00
Robert Menes
c638e96738
These should be the last of the plugin keymaps required
...
for the GoGear HDD6330.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28467 a1c6a512-1295-4272-9138-f99709370657
2010-11-03 02:45:53 +00:00
Robert Menes
63f68b482a
Still coming along with HDD6330 plugin keymaps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28466 a1c6a512-1295-4272-9138-f99709370657
2010-11-02 23:18:41 +00:00
Andree Buschmann
57a683fc7d
Reconfigure IRAM for S5L870x. S5L8700 has 256 KB of IRAM, use a 48 KB / 208 KB split for core/codec. S5L8701 has 176 KB of IRAM, use a 48 KB / 128 KB split for core/codec. This will allow further speed optimization of codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28463 a1c6a512-1295-4272-9138-f99709370657
2010-11-02 22:56:31 +00:00
Marianne Arnold
dbd2e6b625
Enable building of metronome for hwcodec targets and swcodec sims which was accidentally disabled in r26114. Add a short comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28457 a1c6a512-1295-4272-9138-f99709370657
2010-11-02 21:30:19 +00:00
Robert Menes
58369ca292
More plugin keymaps for the HDD6330. Quite a lot of commits. ;)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28450 a1c6a512-1295-4272-9138-f99709370657
2010-11-02 20:09:02 +00:00
Robert Menes
82d322c201
More plugin keymaps for the GoGear HDD6330.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28447 a1c6a512-1295-4272-9138-f99709370657
2010-11-02 14:36:08 +00:00
Robert Menes
450a4e4380
Commit a few more GoGear HDD6330 keymaps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28445 a1c6a512-1295-4272-9138-f99709370657
2010-11-02 10:58:08 +00:00
Marcin Bukat
59ba8fea22
MPIO HD200: rename button defines to adhere how they are labeled on the device.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28443 a1c6a512-1295-4272-9138-f99709370657
2010-11-02 10:44:34 +00:00
Robert Menes
f7bcb66e67
Begin committing keymap plugins for the Philips GoGear HDD6330.
...
Not all keymaps are completed, but I want to get some initial work I did
under version control.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28442 a1c6a512-1295-4272-9138-f99709370657
2010-11-02 03:29:16 +00:00
Teruaki Kawashima
f2dbbf45de
lamp plugin:
...
-handles sys_events.
-disable idle poweroff (part of FS#11578 by Hayden Pearce.)
-correct button table in the manual.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28429 a1c6a512-1295-4272-9138-f99709370657
2010-11-01 13:37:00 +00:00
Teruaki Kawashima
d055ff4a94
reduce casts between "unsinged char *" and "fb_data *". make calculation precise. maintain spaces.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28428 a1c6a512-1295-4272-9138-f99709370657
2010-11-01 12:13:49 +00:00
Teruaki Kawashima
a177e13ee0
disktidy: handles user abort properly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28418 a1c6a512-1295-4272-9138-f99709370657
2010-10-31 14:22:40 +00:00
Robert Menes
1e47628a9f
Commit FS #11682 by Teruaki Kawashima: fix the disktidy plugin
...
not cleaning custo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28414 a1c6a512-1295-4272-9138-f99709370657
2010-10-31 13:02:59 +00:00
Marcin Bukat
e26d0c62e0
Fix and extend imageviewer png support. FS#11641 by me
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28413 a1c6a512-1295-4272-9138-f99709370657
2010-10-31 12:40:49 +00:00
Nils Wallménius
60c640b549
test_codec: Align the codec buffer to pointer size, since tlsf wants that. Fixes a crash when running tremor in test_codec on 64 bit sim. (The tlsf init bailed out but tremor doesn't check the return and went on to alloc memory anyway)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28365 a1c6a512-1295-4272-9138-f99709370657
2010-10-27 15:07:05 +00:00
Teruaki Kawashima
a900a29091
fix that disktidy plugin and shopper plugin is not usable when Show Icons setting is turned off.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28362 a1c6a512-1295-4272-9138-f99709370657
2010-10-26 12:19:39 +00:00
Teruaki Kawashima
d46d24332f
fix leak-file-handles.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28330 a1c6a512-1295-4272-9138-f99709370657
2010-10-23 12:40:07 +00:00
Robert Menes
0c8b5594ae
Add plugin keymaps to fft for the GoGear SA9200.
...
Also fix some errors in pluginlib_actions.c which
were causing the SA9200 build to crap out when
building plugins, and also disable plugins for the
SA9200 in the configure script (no idea why they
were enabled in the first place!)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28316 a1c6a512-1295-4272-9138-f99709370657
2010-10-21 02:45:06 +00:00
Teruaki Kawashima
2edeb5612a
add plugin_crt0.c to OTHER_SRC so that dependencies will be genereted.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28298 a1c6a512-1295-4272-9138-f99709370657
2010-10-17 11:40:39 +00:00
Nils Wallménius
8123dffaea
Remove some inconsistent guarding around cpucache_* functions to fix a test_codec crash on coldfire, breaks plugin api compatibility so sorted and bumped version numbers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28287 a1c6a512-1295-4272-9138-f99709370657
2010-10-16 12:30:06 +00:00
Nils Wallménius
53308bf44e
Pitch detector: do not break profiling builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28283 a1c6a512-1295-4272-9138-f99709370657
2010-10-15 15:01:59 +00:00
Frank Gevaerts
0d91797d96
Resistor calculator: make brace-style consistent
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28282 a1c6a512-1295-4272-9138-f99709370657
2010-10-14 20:13:05 +00:00
Michael Chicoine
529fb70694
Fix typo in resistor plugin help text
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28278 a1c6a512-1295-4272-9138-f99709370657
2010-10-14 03:42:13 +00:00
Frank Gevaerts
a43ace55ea
Resistor calculator: Initialise variable to make the compiler shut up about it (it's always initialised, but the compiler won't know that)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28276 a1c6a512-1295-4272-9138-f99709370657
2010-10-13 21:56:36 +00:00
Frank Gevaerts
7d6c73a1c1
Resistor calculator: Support Gigaohms in resistor to colour conversion, and guard against values that can not be represented
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28275 a1c6a512-1295-4272-9138-f99709370657
2010-10-13 21:52:45 +00:00
Frank Gevaerts
ed869242e4
Resistor calculator: Use correct units if resistor to colour uses kilo- or megaohms
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28274 a1c6a512-1295-4272-9138-f99709370657
2010-10-13 21:30:40 +00:00
Frank Gevaerts
580a5d8207
Add violet, grey and white multiplier for completeness
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28273 a1c6a512-1295-4272-9138-f99709370657
2010-10-13 21:12:21 +00:00
Frank Gevaerts
c00fe34a81
Fix some incorrect colour-to-resistance results. The price is that sometimes the display is subobtimal (like "2000 Ohms" instead of "2 KOhms")
...
Ideally, unit prefixes (K, M,...) should be calculated separately, but the largest resistance we can handle is 99 MOhm, which wouldn't fit in a 32 bit int (using our centiohm internal units) if we didn't cheat. (and technically we could go higher still. white-white-white would be 99 GOhm, but we don't do such high multipliers now)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28272 a1c6a512-1295-4272-9138-f99709370657
2010-10-13 21:05:50 +00:00
Frank Gevaerts
771646a576
Resistor calculator: Add lots of static, and slightly reorganise the code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28271 a1c6a512-1295-4272-9138-f99709370657
2010-10-13 20:43:18 +00:00
Frank Gevaerts
29503eea86
Simplify resistance to colour calculations, removing some bugs in the process.
...
Fixes the bugs that triggered FS#11667
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28269 a1c6a512-1295-4272-9138-f99709370657
2010-10-13 20:13:39 +00:00
Teruaki Kawashima
5832254289
fix sorting of track list when tracks with track number and tracks without track number are in the same list.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28267 a1c6a512-1295-4272-9138-f99709370657
2010-10-13 12:13:59 +00:00
Teruaki Kawashima
796ba3ed76
fix FS#11659. wait for user input before exiting the plugin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28253 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 13:56:54 +00:00
Thomas Martitz
3022a60cc2
Rename {draw,fill}_viewport once more (to draw_border_viewport and fill_viewport) and remove the viewport parameter as suggested by Dave Chapman.
...
The parameter wasn't used yet and it's not clear whether it should be a absolute or relative viewport.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28242 a1c6a512-1295-4272-9138-f99709370657
2010-10-11 01:19:55 +00:00
Thomas Martitz
5462ef728f
Add _rect to {draw,fill}_viewport as suggested by Jonathan Gordon to reduce the chance to confuse it with update_viewport().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28240 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 23:35:03 +00:00
Thomas Martitz
8a0152bd4a
Two new lcd/multi screen api convinience functions: draw_viewport(), fill_viewport().
...
They work as the drawrect/fillrect pendants but work on a viewport basis; pass NULL to draw the current viewport (the one set with set_viewport()).
In conjunction with action_get_touchscreen_press_in_vp() it should be less of a pain to draw buttons and get presses on them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28239 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 23:15:05 +00:00
Frank Gevaerts
752c91b50d
Guard the cpucache_invalidate() with proper #ifdefs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28238 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 20:53:46 +00:00