summaryrefslogtreecommitdiff
path: root/apps/plugin.c (follow)
Commit message (Collapse)AuthorAge
...
* Ooops.Jens Arnold2006-03-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8997 a1c6a512-1295-4272-9138-f99709370657
* Removed lcd_roll() and lcd_remote_roll() functions. These functions were not ↵Jens Arnold2006-03-11
| | | | | | really portable. Removed the only plugin that used lcd_roll(): Oscillograph. Oscilloscope offers everything that oscillograph did and more, in a portable way. * Bumped & sorted plugin API. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8995 a1c6a512-1295-4272-9138-f99709370657
* sound_set_pitch is not available on PlayerDan Everton2006-03-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8916 a1c6a512-1295-4272-9138-f99709370657
* Get VU Meter plugin working on SWCODEC targets. Still needs to be scaled to ↵Dan Everton2006-03-05
| | | | | | fit better on larger displays. Also requires bumping the plugin API versions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8915 a1c6a512-1295-4272-9138-f99709370657
* Simulators: Fix pointer size vs. int size problems (64bit hosts) in plugin ↵Jens Arnold2006-03-02
| | | | | | loader and codec loader. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8880 a1c6a512-1295-4272-9138-f99709370657
* Finally - grayscale library support for the simulators. Currently SDL only, ↵Jens Arnold2006-02-26
| | | | | | win32 and x11 won't link anymore due to missing simulator functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8845 a1c6a512-1295-4272-9138-f99709370657
* Foreground/Background colour settings. Based on patch #3050 by Jonathan ↵Dave Chapman2006-02-26
| | | | | | Gordon, extended my me. The principle of the patch is that the three sliders contain the native ranges (currently 0..31, 0..63, 0..31), and the equivalent RGB888 colour is displayed underneath. The config block (and global_settings struct) contain the native value for the fg/bg colours (either RGB565 or RGB565SWAPPED), but the text .cfg files contain the RGB888 value written as 6 hex digits. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8840 a1c6a512-1295-4272-9138-f99709370657
* "Next/Previous jpeg from within the JPEG viewer" addition by Alexander ↵Hristo Kovachev2006-02-18
| | | | | | | | | Spyridakis, modified a bit by me Also tries to use the plugin buffer instead of the audio buffer on the platforms with more than 130kb plugin buffer size (thus not stopping the music playback). If the free buffer from the plugin buffer is not enough, asks for stopping playback. Needs a little more work, but seems stable as it is. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8728 a1c6a512-1295-4272-9138-f99709370657
* Plugin loader: Handle the remote LCD the same way as the main LCD (clear, ↵Jens Arnold2006-02-18
| | | | | | set parameters). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8724 a1c6a512-1295-4272-9138-f99709370657
* Plugin loader adjustments: * Don't clear the LCD before loading, just show a ↵Jens Arnold2006-02-16
| | | | | | splash instead. * After successful loading, remove backdrop, then clear display, to properly prepare the screen for the plugin. * Clear after returning from plugin and restoring the backdrop. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8710 a1c6a512-1295-4272-9138-f99709370657
* Only clear the backdrop after a plugin has been loaded successfully - ↵Dave Chapman2006-02-14
| | | | | | prevents the backdrop being lost if the plugin fails to load. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8689 a1c6a512-1295-4272-9138-f99709370657
* Rework PCM bufferBrandon Low2006-02-07
| | | | | | | | | | | | | | | * Linked list instead of static array buffer pointers * Variable sized chunks * Improved mix handling * Reduction in duplicated code * Reduced IRAM usage w/o sacrificing performance * Converted to almost entirely unsigned math * Add pause function to reduce pcm_* exposure to playback. This WILL break playback on the iPod until linuxstb makes a followup commit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8612 a1c6a512-1295-4272-9138-f99709370657
* 1. Updated battery_bench plugin:Hristo Kovachev2006-02-07
| | | | | | | | | | | 1.1 Don't use the plugin_get_buffer() so the playlist viewer should work with this plugin running; 1.2 Added new columns for charger inserted, charging, usb powered; 1.3 Some other small improvements 2. charger_inserted() again returns only the AC/DC charger state on H3x0, doesn't include the usb state; 3. Some ifdefs corrected in power.c and power.h; git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8607 a1c6a512-1295-4272-9138-f99709370657
* Added memmove() to codec API & plugin API, and changed codeclib and plugin ↵Jens Arnold2006-02-06
| | | | | | libs to use it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8602 a1c6a512-1295-4272-9138-f99709370657
* Patch #1421422 - Backdrop image patch started by Linus, finished by me. ↵Dave Chapman2006-02-02
| | | | | | Adds ability to set backdrop images for file browser and menus (store full-screen bitmaps in /.rockbox/backdrops/) and also the ability to set a full-screen background image in a WPS using the %X|filename.bmp| WPS tag. Currently only implemented for targets with colour LCDs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8536 a1c6a512-1295-4272-9138-f99709370657
* Fix warnings at h1xx.Ben Basha2006-02-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8527 a1c6a512-1295-4272-9138-f99709370657
* Add break effect + Bigger bricksBen Basha2006-02-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8526 a1c6a512-1295-4272-9138-f99709370657
* New "battery benchmark" plugin by Alexander Spyridakis, modified a bit by meHristo Kovachev2006-01-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8451 a1c6a512-1295-4272-9138-f99709370657
* Profiling support, tools and documentation.Brandon Low2006-01-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8375 a1c6a512-1295-4272-9138-f99709370657
* More consistent error checking.Jens Arnold2006-01-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8364 a1c6a512-1295-4272-9138-f99709370657
* Simplified new plugin loader (only read plugin once).Jens Arnold2006-01-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8360 a1c6a512-1295-4272-9138-f99709370657
* Model & version check for simulator plugins.Jens Arnold2006-01-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8356 a1c6a512-1295-4272-9138-f99709370657
* New plugin loader. Solves the crashes introduced with the .bss changes while ↵Jens Arnold2006-01-15
| | | | | | keeping the small binary size. The model & api version check is now part of the plugin loader. Codecs are not yet adapted, but the old method still works for them. Simulator plugins are not (yet) version-checked. API version numbering restarted, as this is an all-new system. Uses the target ID from configure, so don't change that too often. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8349 a1c6a512-1295-4272-9138-f99709370657
* Fixed several plugins for dB volume.Jens Arnold2005-12-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8258 a1c6a512-1295-4272-9138-f99709370657
* iPod: current_tick is now a variable, so we can export it via the plugin and ↵Dave Chapman2005-12-12
| | | | | | codec APIs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8225 a1c6a512-1295-4272-9138-f99709370657
* waiting is over: initial unicode commitMarcoen Hirschberg2005-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
* Backlight handling: * Added 'Caption Backlight' and 'Backlight On When ↵Jens Arnold2005-11-21
| | | | | | Charging' for the iriver remote LCD. * Enabled the backlight code for the simulator, and prepared backlight simulation. It's only a stub atm, writing messages to the console window. * Added tick task handling to the simulators for this to work. * Code cleanup in backlight.c, less dead code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8034 a1c6a512-1295-4272-9138-f99709370657
* Changed the LCD_COLOR pixel value format to packed RGB (unsigned int). Now ↵Jens Arnold2005-11-16
| | | | | | all LCDs with depth > 1 use the same datatype. Added macros for easy pixel value definition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7912 a1c6a512-1295-4272-9138-f99709370657
* replaced all the splash calls by gui_sync_splash, added some missing remote ↵Kevin Ferrare2005-11-16
| | | | | | key in the playlist viewer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
* iPod: current_tick is (currently) a macro - so we exclude it from the plugin ↵Dave Chapman2005-11-12
| | | | | | and codec APIs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7826 a1c6a512-1295-4272-9138-f99709370657
* Don't reset plugin_loaded flag for a TSR plugin until it's exited. Fixes ↵Hardeep Sidhu2005-11-10
| | | | | | problem with playlist viewer overwriting the buffer where plugin is loaded. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7809 a1c6a512-1295-4272-9138-f99709370657
* Ooops, players have no screendump.Jens Arnold2005-10-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7575 a1c6a512-1295-4272-9138-f99709370657
* Core: A graphics framework can now register a hook function to extend the ↵Jens Arnold2005-10-01
| | | | | | core screendump routine. * Grayscale library: (1) Changed the screendump routine into a hook, and implemented it for H1x0. (2) The planar pixel setting routines now use one register less. Fixes build problem with developer builds (frame pointers enabled) on coldfire. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7574 a1c6a512-1295-4272-9138-f99709370657
* Added menu interface to plugin API - needed by SudokuDave Chapman2005-09-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7533 a1c6a512-1295-4272-9138-f99709370657
* Patch #1272052 by Henrik Backe - Move credits to a pluginLinus Nielsen Feltzing2005-09-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7450 a1c6a512-1295-4272-9138-f99709370657
* Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and ↵Jens Arnold2005-08-29
| | | | | | SWCODEC, respectively. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
* Moved implementation of user timer to the firmware layer, implemented it for ↵Jens Arnold2005-07-26
| | | | | | iriver, and made it shareable based on priorities. On iriver, the user timer is shared between the backlight fading and other use, so if a plugin registers the timer, the backlight will resort to simple on/off switching until the plugin releases the timer again. Sorted and bumped the plugin api. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7242 a1c6a512-1295-4272-9138-f99709370657
* Added font_getstringsize to the plugin api, needed for the reworked ↵Jens Arnold2005-07-25
| | | | | | grayscale library. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7240 a1c6a512-1295-4272-9138-f99709370657
* More preparations and conversions for colour LCD support.Jens Arnold2005-07-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7195 a1c6a512-1295-4272-9138-f99709370657
* Renamed MAX_LEVEL to LCD_MAX_LEVEL to match the naming scheme. Preparations ↵Jens Arnold2005-07-19
| | | | | | for colour LCD support. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7194 a1c6a512-1295-4272-9138-f99709370657
* Reset all graphics defaults after returning from plugin.Jens Arnold2005-07-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7142 a1c6a512-1295-4272-9138-f99709370657
* Added a number of new graphics functions to the plugin API.Jens Arnold2005-07-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7127 a1c6a512-1295-4272-9138-f99709370657
* Adapted remote LCD driver and player graphics library to the new bitmap ↵Jens Arnold2005-07-07
| | | | | | function naming scheme. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7047 a1c6a512-1295-4272-9138-f99709370657
* 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and ↵Jens Arnold2005-07-06
| | | | | | light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
* First runtime database support, self repairing, only playcount works for now,Michiel Van Der Kolk2005-07-01
| | | | | | | which is still rather crude; playcount gets increased even if the song started playback but was skipped... track rating should be trivial to add, autorating also works since its based on playcount. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6969 a1c6a512-1295-4272-9138-f99709370657
* added strncmp() to the plugin API, based the patch 1170215 by Rick La CharitéDaniel Stenberg2005-06-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6943 a1c6a512-1295-4272-9138-f99709370657
* Fixed red H1x0 simulator build.Jens Arnold2005-06-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6909 a1c6a512-1295-4272-9138-f99709370657
* Third part of graphics api rework. Some small but effective optimisations. ↵Jens Arnold2005-06-29
| | | | | | Ported remote lcd driver to new api. Preparations for including the low-level functions in the plugin api. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6907 a1c6a512-1295-4272-9138-f99709370657
* Second part of graphics api rework. Bitmap drawing and text output ↵Jens Arnold2005-06-28
| | | | | | converted; some code cleanup and more optimisations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
* First part of graphics api rework. Special functions, parameter handling, ↵Jens Arnold2005-06-24
| | | | | | pixel functions, lines and filled primitives done for black & white core, main display. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657