summaryrefslogtreecommitdiff
path: root/apps/plugins (follow)
Commit message (Collapse)AuthorAge
* fix sorting of track list when tracks with track number and tracks without ↵Teruaki Kawashima2010-10-13
| | | | | | track number are in the same list. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28267 a1c6a512-1295-4272-9138-f99709370657
* fix FS#11659. wait for user input before exiting the plugin.Teruaki Kawashima2010-10-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28253 a1c6a512-1295-4272-9138-f99709370657
* Rename {draw,fill}_viewport once more (to draw_border_viewport and ↵Thomas Martitz2010-10-11
| | | | | | | | 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
* Add _rect to {draw,fill}_viewport as suggested by Jonathan Gordon to reduce ↵Thomas Martitz2010-10-10
| | | | | | the chance to confuse it with update_viewport(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28240 a1c6a512-1295-4272-9138-f99709370657
* Two new lcd/multi screen api convinience functions: draw_viewport(), ↵Thomas Martitz2010-10-10
| | | | | | | | | 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
* Guard the cpucache_invalidate() with proper #ifdefsFrank Gevaerts2010-10-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28238 a1c6a512-1295-4272-9138-f99709370657
* Invalidate the CPU cache after clearing bss, to make sure that bss variables ↵Frank Gevaerts2010-10-10
| | | | | | | | | 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
* Fix a few div0 cases forgotten in r27684 to enable enabling asm ↵Thomas Martitz2010-10-10
| | | | | | optimizations for android builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28235 a1c6a512-1295-4272-9138-f99709370657
* correct comment in configfile.h, FS#11292 by Chris Savery.Teruaki Kawashima2010-10-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28234 a1c6a512-1295-4272-9138-f99709370657
* use different function to resize bitmap for greylib.Teruaki Kawashima2010-10-10
| | | | | | | 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
* alarm clock: don't have user pause the playback manually. make the plugin ↵Teruaki Kawashima2010-10-07
| | | | | | pause it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28217 a1c6a512-1295-4272-9138-f99709370657
* text viewer:Teruaki Kawashima2010-10-06
| | | | | | | | | | | -remove 1px gap at the top and bottom of the screen to maximize the draw erea, especially for small screens. -fix trashes on the vertical scrollbar when scrolled the column left/right. -fix bug that vertical scrllbar sometimes goes up while scrolling down. -don't chage displayed line after closing menu. -use simplelist to select bookmark to make it work better. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28213 a1c6a512-1295-4272-9138-f99709370657
* fix crash after unplugging USB while in image viewer plugin.Teruaki Kawashima2010-10-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28211 a1c6a512-1295-4272-9138-f99709370657
* pictureflow:Teruaki Kawashima2010-10-05
| | | | | | | | | -fix calculation of track_list_y when the display area isn't filled with tracks. -reset scroll position of album title text when the text is changed so that it doesn't jump. -enables theme in the menu so that it is consistent to playback control item and other plugins' menu, instead of solid color background from the theme. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28209 a1c6a512-1295-4272-9138-f99709370657
* Resistor calculator: Don't assume a specific foreground colourFrank Gevaerts2010-10-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28205 a1c6a512-1295-4272-9138-f99709370657
* Resistor calculator: simplify layout code, add scrolling, and handle error casesFrank Gevaerts2010-10-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28203 a1c6a512-1295-4272-9138-f99709370657
* Make test_fps test the greylib on both cores of dual core targets.Jens Arnold2010-10-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28202 a1c6a512-1295-4272-9138-f99709370657
* Fix typo properly this time, to ensure all greenFrank Gevaerts2010-10-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28195 a1c6a512-1295-4272-9138-f99709370657
* Fix typo, which should fix yellowFrank Gevaerts2010-10-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28194 a1c6a512-1295-4272-9138-f99709370657
* Resistor plugin: Frank Gevaerts2010-10-02
| | | | | | | | crop the smallest bitmap so it's usable for any small screen and nut just the c200 make the layout a bit more flexible git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28193 a1c6a512-1295-4272-9138-f99709370657
* picture flow: clean up code. no functional changes.Teruaki Kawashima2010-10-02
| | | | | | | | -use upper case for enum constants. -rename variables to match it's use. -remove tabs and fix indents. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28192 a1c6a512-1295-4272-9138-f99709370657
* New plugin: Resistor code calculatorFrank Gevaerts2010-10-02
| | | | | | | | Flyspray: FS#11585 Author: Calvin Walden git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28191 a1c6a512-1295-4272-9138-f99709370657
* text editor: decrease size of extension to reduce stack usage.Teruaki Kawashima2010-10-01
| | | | | | this could solve crash in text editor (FS#10078). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28189 a1c6a512-1295-4272-9138-f99709370657
* use correct condition for #if for tagcache_fill_tags().Teruaki Kawashima2010-09-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28188 a1c6a512-1295-4272-9138-f99709370657
* fix redMarcin Bukat2010-09-29
| | | | | | | simple_resize_bitmap() can deal with greylib now but I missed that it was compiled only for LCD_DEPTH > 1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28187 a1c6a512-1295-4272-9138-f99709370657
* imageviewer bmp - drop special case for grey bitmap scallerMarcin Bukat2010-09-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28186 a1c6a512-1295-4272-9138-f99709370657
* fix bitmap scallers smooth_resize_bitmap() and simple_resize_bitmap() to ↵Marcin Bukat2010-09-29
| | | | | | properly handle LCD_STRIDEFORMAT == VERTICAL_STRIDE case git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28185 a1c6a512-1295-4272-9138-f99709370657
* Make disabling HAVE_PITCHSCREEN actually work without breaking the buildFrank Gevaerts2010-09-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28102 a1c6a512-1295-4272-9138-f99709370657
* pitch_detector: don't use a struct with only one memberRafaël Carré2010-09-14
| | | | | | use fixed point type (fixed == int32_t) directly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28072 a1c6a512-1295-4272-9138-f99709370657
* Extend lc_open() to also being able to load overlay plugins.Thomas Martitz2010-09-09
| | | | | | | For this it needs to look at the plugin header. Since lc_open() doesn't know it's a plugin, the header needs to be changed slightly to include the new lc_header (which needs to be the first element in plugin_header so it can be casted savely). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28054 a1c6a512-1295-4272-9138-f99709370657
* keybox: do not leak filehandle when the wrong password is entered.Nils Wallménius2010-09-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28047 a1c6a512-1295-4272-9138-f99709370657
* invadrox: make all inline functions static inlineRafaël Carré2010-09-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28024 a1c6a512-1295-4272-9138-f99709370657
* invadrox: make inline function static inlineRafaël Carré2010-09-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28023 a1c6a512-1295-4272-9138-f99709370657
* pitch_detector: build with -std=gnu99Rafaël Carré2010-09-07
| | | | | | | | | casts in const tables declaration seesm to confuse gcc into thinking the initializers are not constant Also merge struct declaration and typedef git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28020 a1c6a512-1295-4272-9138-f99709370657
* plugins (doom, midi, rockboy): don't use non-static inlineRafaël Carré2010-09-07
| | | | | | | some functions can be static -> static inline some functions are external and can't be inlined -> remove inline git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28019 a1c6a512-1295-4272-9138-f99709370657
* buflib_get_data(): static inline ensures it will be inlinedRafaël Carré2010-09-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28018 a1c6a512-1295-4272-9138-f99709370657
* Change the file name extension for the shopper plugin from 'list' to a more ↵Alexander Levin2010-09-02
| | | | | | descriptive 'shopper' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27989 a1c6a512-1295-4272-9138-f99709370657
* fix test_codec broken after r27968Rafaël Carré2010-09-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27985 a1c6a512-1295-4272-9138-f99709370657
* battery_bench: make functions/struct/variables staticRafaël Carré2010-09-02
| | | | | | remove useless declarations git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27979 a1c6a512-1295-4272-9138-f99709370657
* Ged rid of uisimulator/common/io.c for android builds.Thomas Martitz2010-09-01
| | | | | | | | | | | Use host's functions for file i/o directly (open(), close() ,etc.), not the sim_* variants. Some dir functions need to be wrapped still because we need to cache the parents dir's path (host's dirent doesn't let us know). For the same reason (incompatibility) with host's dirent) detach some members from Rockbox' dirent struct and put it into an extra one, the values can be retrieved via the new dir_get_info(). Get rid of the sim_ prefix for sleep as well and change the signature to unix sleep(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27968 a1c6a512-1295-4272-9138-f99709370657
* Update comments in the helloword plugin.Thomas Martitz2010-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27949 a1c6a512-1295-4272-9138-f99709370657
* Plugins: modify IRAM copying codeRafaël Carré2010-08-30
| | | | | | | | | Move to plugin_crt0.c, plugins don't need PLUGIN_IRAM_* macros anymore IRAM is no longered zeroed before copying (as it is at the same address than BSS) -> Fix FS#11581 Use cpucache_invalidate() (and not cpucache_flush), needed for self-modifying code on cached IRAM git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27948 a1c6a512-1295-4272-9138-f99709370657
* Fix r27923: folder size displayed "lld" in propertiesRafaël Carré2010-08-28
| | | | | | Our printf format doesn't support "ll", restore the cast to long git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27931 a1c6a512-1295-4272-9138-f99709370657
* disktidy: store the number of removed files as global scopeRafaël Carré2010-08-28
| | | | | | | | | no need to transmit it through function arguments, remove a warning on charcell as a side effect also, snprintf+splash -> splashf git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27930 a1c6a512-1295-4272-9138-f99709370657
* cube: only needs text buffer on LCD_BITMAPRafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27929 a1c6a512-1295-4272-9138-f99709370657
* fix r27926 : lcd_puts() not changed to lcd_putsf()Rafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27928 a1c6a512-1295-4272-9138-f99709370657
* plugins: use lcd_putsf/lcd_putsxyfRafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
* splitedit: fix snprintf() argument (size of wrong buffer)Rafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27925 a1c6a512-1295-4272-9138-f99709370657
* wormlet: remove some text buffersRafaël Carré2010-08-28
| | | | | | | | | use lcd_putsxyf() rework a bit DEBUG_WORMLET to remove a buffer (doesn't compile anwyay) also use a table to get worm state, instead of switch/case git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27924 a1c6a512-1295-4272-9138-f99709370657
* properties: remove some text buffersRafaël Carré2010-08-28
| | | | | | | | | | | use lcd_putsf() remove filesize2string, instead get the "logarithm" (rounded towards zero) and use the this value to compute the size displayed and the unit prefix (nothing/k/m/g) also use struct initializer in dir_properties() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27923 a1c6a512-1295-4272-9138-f99709370657