Mustapha Senhaji
5432894dba
Restore translated strings removed by accident in the previous revision.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28294 a1c6a512-1295-4272-9138-f99709370657
2010-10-16 23:47:10 +00:00
Mustapha Senhaji
ba37ceccea
Remove a lot of untranslated strings in the turkce translation since it was marked as "good translation" at http://translate.rockbox.org/ , while it wasn't.
...
Translator in turkce langage is welcome like for all other ones by the way.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28293 a1c6a512-1295-4272-9138-f99709370657
2010-10-16 23:12:37 +00:00
Mustapha Senhaji
1d60b0d69e
Fix minor typos in description fields.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28292 a1c6a512-1295-4272-9138-f99709370657
2010-10-16 22:52:55 +00:00
Mustapha Senhaji
b0be8c5871
Update the french translation for the upcoming release.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28291 a1c6a512-1295-4272-9138-f99709370657
2010-10-16 21:54:07 +00:00
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
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
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
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
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
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
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
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
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
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
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
Frank Gevaerts
e94eea9538
Invalidate the CPU cache after clearing bss, to make sure that bss variables that are used via non-cached aliases don't read garbage.
...
This fixes FS#11653 for me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28236 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 20:49:21 +00:00
Thomas Martitz
bf301fdbb6
Fix a few div0 cases forgotten in r27684 to enable enabling asm optimizations for android builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28235 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 14:43:40 +00:00
Teruaki Kawashima
462771066b
correct comment in configfile.h, FS#11292 by Chris Savery.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28234 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 14:34:07 +00:00
Teruaki Kawashima
38e88f35f4
use different function to resize bitmap for greylib.
...
it is confusing that same function expects different data type (fb_data or unsigned char) depending on the target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28233 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 14:24:11 +00:00
Bertrik Sikken
8ad85ba291
Fix for FS #10097 - Sometimes keys do work after exiting plugins.
...
This removes the call to button_clear_queue which interfered with the mechanism in action.c to wait for a key
release event when the button context is changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28232 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 14:07:56 +00:00
Frank Gevaerts
561999ebff
Make skin_render_playlistviewer() noinline. This function uses lots of stack (around 1 kilobyte), and is called from a recursive function. gcc's stack allocation strategy makes the calling function then use all this stack space when inlining.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28231 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 13:26:51 +00:00
Frank Gevaerts
d0bf13b486
Revert accidental commit of skin_render.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28230 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 13:21:49 +00:00
Frank Gevaerts
c8c40c5291
Add a "early_usb" argument to gui_usb_screen_run(), and don't do skin unloading/reloading in gui_usb_screen_run() in the early usb case. Fixes the crash part of FS#11589
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28229 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 13:17:39 +00:00
Bertrik Sikken
0d100b4dd8
Fix FS# 11414 : .mod files - metadata in incorrect fields
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28228 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 10:24:50 +00:00
Jonathan Gordon
0b824da4de
fix FS#11662 and FS#11629 - skin %t() issues. %t should now work properly inside and outside of conditionals.
...
Remember that skins update at a rather slow speed so even if you have %t(0.2) in your skin it depends on which screen you are in for it to work (the main menu only updates at 2FPS, the WPS is 25FPS with peakmeters enabled... this is on the fixme list)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28226 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 06:47:52 +00:00
Jonathan Gordon
a7b1f7577b
Add "resumeplayback" touchscreen button action which returns you to the previous music screen (WPS or FM) from most of the lists (browsers and menus)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28223 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 04:17:34 +00:00
Jonathan Gordon
3f7b780b54
fix a stupid typo in the vertical bar tag parser, spotted by teru
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28222 a1c6a512-1295-4272-9138-f99709370657
2010-10-09 12:18:10 +00:00
Thomas Martitz
b39a4933cb
Fix several inaccuracies in list handling on touchscreen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28221 a1c6a512-1295-4272-9138-f99709370657
2010-10-09 11:22:52 +00:00