summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-10-13Add violet, grey and white multiplier for completenessFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28273 a1c6a512-1295-4272-9138-f99709370657
2010-10-13Fix some incorrect colour-to-resistance results. The price is that sometimes ↵Frank Gevaerts
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-13Resistor calculator: Add lots of static, and slightly reorganise the codeFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28271 a1c6a512-1295-4272-9138-f99709370657
2010-10-13HD200 - GPIO57 is headphone output enable. Proper handling of this line ↵Marcin Bukat
fixes hissing noise after startup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28270 a1c6a512-1295-4272-9138-f99709370657
2010-10-13Simplify resistance to colour calculations, removing some bugs in the process.Frank Gevaerts
Fixes the bugs that triggered FS#11667 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28269 a1c6a512-1295-4272-9138-f99709370657
2010-10-13fix button maps and assign some buttons for uisimulator.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28268 a1c6a512-1295-4272-9138-f99709370657
2010-10-13fix sorting of track list when tracks with track number and tracks without ↵Teruaki Kawashima
track number are in the same list. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28267 a1c6a512-1295-4272-9138-f99709370657
2010-10-13Fix FS#11593 - %Vf() and %Vb() should be able to be used in conditionals. ↵Jonathan Gordon
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-13Update of Czech language - FS#11674 by Marek SalabaBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28264 a1c6a512-1295-4272-9138-f99709370657
2010-10-12FS#10910: Manual incorrectly claims that the sleep timer and wake-up alarm ↵Torne Wuff
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-12Rearrange and remove some manual register assignments, make use of pointer ↵Dave Hooper
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-12iPod Nano 2G USB: Make sure the USB core is properly powered off on boot.Michael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28261 a1c6a512-1295-4272-9138-f99709370657
2010-10-12Manual: fix some English in the bar tag options.Alex Parker
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28260 a1c6a512-1295-4272-9138-f99709370657
2010-10-12Manual: get rid of some extra spaces in the sansa ams install instructions.Alex Parker
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28259 a1c6a512-1295-4272-9138-f99709370657
2010-10-12Manual: Add button mappings for the equalizer for the clip/clip+. Fixes part ↵Alex Parker
of FS#11672 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28258 a1c6a512-1295-4272-9138-f99709370657
2010-10-12Manual: add the missing % for %# in the 'Other tags' theme tag section.Marianne Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28257 a1c6a512-1295-4272-9138-f99709370657
2010-10-12Manual: Correct clip/clip+ pitchscreen button table. Closes FS#11671.Alex Parker
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28256 a1c6a512-1295-4272-9138-f99709370657
2010-10-12Remove duplicate entry from docs/CREDITS (as announced in svn r28254)Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28255 a1c6a512-1295-4272-9138-f99709370657
2010-10-12Slovak language update - FS#11668 by Peter Lecký.Bertrik Sikken
Also remove duplicate entry from docs/CREDITS git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28254 a1c6a512-1295-4272-9138-f99709370657
2010-10-12fix FS#11659. wait for user input before exiting the plugin.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28253 a1c6a512-1295-4272-9138-f99709370657
2010-10-12Fix the last part of FS#11670 by using the 'disk' macro that expands to the ↵Nils Wallménius
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-12Database auto update doesn't need dircache to remove deleted files from the ↵Nils Wallménius
database anymore. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28251 a1c6a512-1295-4272-9138-f99709370657
2010-10-12Don't include manual section for the 'Load to ram' option if the option ↵Nils Wallménius
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-12skin bar tag: Load an image from a label or filename. i.e %xl(bar_image, ↵Jonathan Gordon
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-12improvement for bar tag with slider.Teruaki Kawashima
-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-12Skin bar tags fix+cleanup:Jonathan Gordon
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-12FS#11669 - extra > in the skinJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28246 a1c6a512-1295-4272-9138-f99709370657
2010-10-12Viewports dont necessarily have children lines, so make sure there is one or ↵Jonathan Gordon
it will crash git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28245 a1c6a512-1295-4272-9138-f99709370657
2010-10-11check viewport dimension when parsing viewport so that player doesn't clash ↵Teruaki Kawashima
with bad wps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28244 a1c6a512-1295-4272-9138-f99709370657
2010-10-11Forgot to update lcd-remote.hThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28243 a1c6a512-1295-4272-9138-f99709370657
2010-10-11Rename {draw,fill}_viewport once more (to draw_border_viewport and ↵Thomas Martitz
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-10Fix charcell %pb and %pf tags, FS#11592Frank Gevaerts
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-10Add _rect to {draw,fill}_viewport as suggested by Jonathan Gordon to reduce ↵Thomas Martitz
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-10Two new lcd/multi screen api convinience functions: draw_viewport(), ↵Thomas Martitz
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-10Guard the cpucache_invalidate() with proper #ifdefsFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28238 a1c6a512-1295-4272-9138-f99709370657
2010-10-10Commit FS#11663 by me - Patch: iPod Nano 2G Bootloader: Boot OF if MENU ↵Michael Sparmann
button is held git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28237 a1c6a512-1295-4272-9138-f99709370657
2010-10-10Invalidate the CPU cache after clearing bss, to make sure that bss variables ↵Frank Gevaerts
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-10Fix a few div0 cases forgotten in r27684 to enable enabling asm ↵Thomas Martitz
optimizations for android builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28235 a1c6a512-1295-4272-9138-f99709370657
2010-10-10correct comment in configfile.h, FS#11292 by Chris Savery.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28234 a1c6a512-1295-4272-9138-f99709370657
2010-10-10use different function to resize bitmap for greylib.Teruaki Kawashima
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-10Fix for FS #10097 - Sometimes keys do work after exiting plugins.Bertrik Sikken
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-10Make skin_render_playlistviewer() noinline. This function uses lots of stack ↵Frank Gevaerts
(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-10Revert accidental commit of skin_render.cFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28230 a1c6a512-1295-4272-9138-f99709370657
2010-10-10Add a "early_usb" argument to gui_usb_screen_run(), and don't do skin ↵Frank Gevaerts
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-10Fix FS# 11414 : .mod files - metadata in incorrect fieldsBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28228 a1c6a512-1295-4272-9138-f99709370657
2010-10-10Fix FS#11513, pictureflow keymap in the manual was wrong.Nils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28227 a1c6a512-1295-4272-9138-f99709370657
2010-10-10fix FS#11662 and FS#11629 - skin %t() issues. %t should now work properly ↵Jonathan Gordon
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-10cabbie 320x480 WIP sbs:Jonathan Gordon
Add a playlist viewer, AA and a resumeplayback touch region. (resumeplayback is the bottom right corner, even when AA isnt present or no music is playing) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28225 a1c6a512-1295-4272-9138-f99709370657
2010-10-10Touchscreen %T() tag.. don't allow - for width/height params (shouldn't ↵Jonathan Gordon
affect anyway because the current code would crash if you tried it) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28224 a1c6a512-1295-4272-9138-f99709370657
2010-10-10Add "resumeplayback" touchscreen button action which returns you to the ↵Jonathan Gordon
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