Bertrik Sikken
9c58356e88
Make two local functions static in skin_tokens.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28290 a1c6a512-1295-4272-9138-f99709370657
2010-10-16 21:26:23 +00:00
Bertrik Sikken
91453fb59b
skin_engine: struct gui_skin can be static
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28289 a1c6a512-1295-4272-9138-f99709370657
2010-10-16 15:23:41 +00:00
Teruaki Kawashima
8bcb4927f3
fix loding of default remote viewers icons.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28288 a1c6a512-1295-4272-9138-f99709370657
2010-10-16 12:50:44 +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
Teruaki Kawashima
44780475bc
Fix FS#10981: Viewers icons applied incorrectly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28286 a1c6a512-1295-4272-9138-f99709370657
2010-10-16 11:05:09 +00:00
Nils Wallménius
c1bfe4eb62
libtremor: tiny optimization 0.5%-1.5% on coldfire and PP
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28285 a1c6a512-1295-4272-9138-f99709370657
2010-10-16 09:58:21 +00:00
Bertrik Sikken
055071195c
si4700 tuner: lower stereo switchover range, so it switches to stereo for weaker signals. Should fix FS#11405.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28284 a1c6a512-1295-4272-9138-f99709370657
2010-10-15 18:13:31 +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
Amaury Pouly
6ebec89ac6
as3525v2-usb! fix suspicious calculation of next endpoint in INs chaining code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28281 a1c6a512-1295-4272-9138-f99709370657
2010-10-14 19:15:22 +00:00
Teruaki Kawashima
900ec8d944
fix option handling in configure for application. also tries to "make reconf" work, but realpath reports error...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28280 a1c6a512-1295-4272-9138-f99709370657
2010-10-14 13:10:12 +00:00
Jonathan Gordon
6c9db4c4c4
Fix warning on USB_NONE targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28279 a1c6a512-1295-4272-9138-f99709370657
2010-10-14 12:29:19 +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
Michael Chicoine
1682f3c664
Do not build remote failsafe skin files for devices without remote
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28277 a1c6a512-1295-4272-9138-f99709370657
2010-10-13 23:10:22 +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
Marcin Bukat
d793a971d8
HD200 - GPIO57 is headphone output enable. Proper handling of this line fixes hissing noise after startup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28270 a1c6a512-1295-4272-9138-f99709370657
2010-10-13 20:35:58 +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
c85ff1c0c9
fix button maps and assign some buttons for uisimulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28268 a1c6a512-1295-4272-9138-f99709370657
2010-10-13 12:54:25 +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
Jonathan Gordon
0432147f2f
Fix FS#11593 - %Vf() and %Vb() should be able to be used in conditionals. Remember that these tags cause a new line to get drawn so text/tags on the same line wont be displayed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28266 a1c6a512-1295-4272-9138-f99709370657
2010-10-13 09:46:01 +00:00
Bertrik Sikken
fb017811aa
Update of Czech language - FS#11674 by Marek Salaba
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28264 a1c6a512-1295-4272-9138-f99709370657
2010-10-13 06:52:04 +00:00
Torne Wuff
5f8ad3c2a8
FS#10910: Manual incorrectly claims that the sleep timer and wake-up alarm are mutually exclusive
...
The alarm works differently now; you can use sleep and alarm together as the alarm no longer powers the player off immediately. Updated manual to remove text stating this is not the case.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28263 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 23:34:42 +00:00
Dave Hooper
a5b17b4511
Rearrange and remove some manual register assignments, make use of pointer address increments for free on arm, and remove macros in favour of explicit inline fns. also add memory clobbers to all uses of stm in inline asm. appears to resolve issues with codeclib failing to work as expected when using ARM_ASM optimisations on targets with native position independent code (e.g. android rockbox targets, but also tremor on non-rockbox targets that has been patched with the fastermdct patches)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28262 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 23:29:17 +00:00
Michael Sparmann
986910175c
iPod Nano 2G USB: Make sure the USB core is properly powered off on boot.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28261 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 23:14:27 +00:00
Alex Parker
f70ec76fcc
Manual: fix some English in the bar tag options.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28260 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 19:34:47 +00:00
Alex Parker
27a6d29771
Manual: get rid of some extra spaces in the sansa ams install instructions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28259 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 19:34:42 +00:00
Alex Parker
40ec7b9d06
Manual: Add button mappings for the equalizer for the clip/clip+. Fixes part of FS#11672
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28258 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 19:34:38 +00:00
Marianne Arnold
498f66f8db
Manual: add the missing % for %# in the 'Other tags' theme tag section.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28257 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 19:13:24 +00:00
Alex Parker
60e2af282b
Manual: Correct clip/clip+ pitchscreen button table. Closes FS#11671.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28256 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 17:43:37 +00:00
Bertrik Sikken
7d494ec4c5
Remove duplicate entry from docs/CREDITS (as announced in svn r28254)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28255 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 17:03:44 +00:00
Bertrik Sikken
1799406839
Slovak language update - FS#11668 by Peter Lecký.
...
Also remove duplicate entry from docs/CREDITS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28254 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 17:00:22 +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
Nils Wallménius
b2f5142601
Fix the last part of FS#11670 by using the 'disk' macro that expands to the appropriate storage type for each player, also change a reference to 'MP3 buffer' to 'music buffer'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28252 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 13:43:38 +00:00
Nils Wallménius
1a14537e26
Database auto update doesn't need dircache to remove deleted files from the database anymore.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28251 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 13:29:28 +00:00
Nils Wallménius
cf9af0165b
Don't include manual section for the 'Load to ram' option if the option isn't there and use 'disk' macro that expands to the proper storage type.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28250 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 13:14:17 +00:00
Jonathan Gordon
9acd242839
skin bar tag: Load an image from a label or filename. i.e %xl(bar_image, pb.bmp,0,0) %pb(0,0,10,10,bar_image) or %pb(0,0,10,10, pb.bmp) both are acceptable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28249 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 12:46:57 +00:00
Teruaki Kawashima
3eb5826c8a
improvement for bar tag with slider.
...
-fix bug the slider is drawn outside of the bounds (FS#11658).
-offset the slider position so that the center of the slider indicates current position.
-add nobar option. if this option is set, the bar isn't drawn at all.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28248 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 12:17:39 +00:00
Jonathan Gordon
69e379a47b
Skin bar tags fix+cleanup:
...
Don't crash when not enough params were given (i.e forgetting the filename)
Make the parser enforce the first 4 params as compulsary
Be more leniant and don't require the image filename if one isnt going to be loaded (no more need for the - as the 5th param)
Add an option "image" to specify the filename (otherwise the first option will be used if it isnt a recognised option).
e.g: %pv(0,0,100,10) or %pv(0,0,100,10, bar.bmp) or %pv(0,0,100,10, ..., image, bar.bmp)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28247 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 12:03:07 +00:00
Jonathan Gordon
e1c9eb31f7
FS#11669 - extra > in the skin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28246 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 09:45:11 +00:00
Jonathan Gordon
39cf6dd2f3
Viewports dont necessarily have children lines, so make sure there is one or it will crash
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28245 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 09:36:59 +00:00
Teruaki Kawashima
59f487205c
check viewport dimension when parsing viewport so that player doesn't clash with bad wps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28244 a1c6a512-1295-4272-9138-f99709370657
2010-10-11 13:08:49 +00:00
Thomas Martitz
8e8839c8c2
Forgot to update lcd-remote.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28243 a1c6a512-1295-4272-9138-f99709370657
2010-10-11 01:23:40 +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
Frank Gevaerts
1f0ab7c9e6
Fix charcell %pb and %pf tags, FS#11592
...
This also moves draw_player_fullbar() and draw_player_progress() from skin_display.c to skin_tokens.c. Charcell is a bit different from bitmap here because drawing a progress bar is a combination of setting up the LCD controller (custom characters) and providing a format string. The custom character definition might fit in skin_display.c, but the format strings are needed in skin_tokens.c. Putting these functions in skin_tokens.c seemed to fit better.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28241 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 23:46:15 +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