summaryrefslogtreecommitdiff
path: root/apps/plugin.c (follow)
Commit message (Collapse)AuthorAge
* Finish removing the main LCD backdrop function from the plugin APIDave Chapman2006-03-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9315 a1c6a512-1295-4272-9138-f99709370657
* Do not export load_main_backdrop() via the plugin API. Plugins should ↵Dave Chapman2006-03-28
| | | | | | allocate their own buffer and use lcd_set_backdrop() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9313 a1c6a512-1295-4272-9138-f99709370657
* Patch #2969 - Doom! Currently only working on the H300.Dave Chapman2006-03-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9312 a1c6a512-1295-4272-9138-f99709370657
* WAV playback as a plugin, for archos recorders and Ondios. Plays 16-bit WAV ↵Jens Arnold2006-03-26
| | | | | | files with all common sample frequencies, both mono and stereo. Meant as a preview for later PCM playback integration, and for doing experiments with the MAS PCM codec. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9273 a1c6a512-1295-4272-9138-f99709370657
* Basic plugin playback control menu by Jonathan Gordon (Patch #4874)Linus Nielsen Feltzing2006-03-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9269 a1c6a512-1295-4272-9138-f99709370657
* Initial version of tagcache! There are still some bugs in the engineMiika Pekkarinen2006-03-26
| | | | | | | and much more problems with the UI. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9256 a1c6a512-1295-4272-9138-f99709370657
* button.h cleanup, with the future "button action" thing in mind:Hristo Kovachev2006-03-21
| | | | | | | | | | | | | | 1) Main unit's button defines are from the LSB to the MSB (currently bits 0-9, 0x00000200), remote ones are from the 20th bit (0x00100000) downards to 10th(0x00000400); 2) Removed the BUTTON_REMOTE modifier, replaced with a bitmask of all of the remote buttons (where applicable, otherwise with 0), added a complementary BUTTON_MAIN bitmask; 3) Moved button modifiers: - BUTTON_REPEAT: to bit 26 (0x04000000) - BUTTON_REL: to bit 25 (0x02000000) There are at least 4 bits free on all targets now: 21-24. If we really need more free bits, it's possible to SHR remote buttons 1 bit more (freeing bit 20 too), and to change the SYS_EVENT bit with a bitmask (+2 bits). 4) Bumped up the min. plugin ver. (and sorted the plugin api struct), because the binary plugins with key input won't understand the new values git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9149 a1c6a512-1295-4272-9138-f99709370657
* pacbox - a Pacman arcade machine emulator. Currently working for all colour ↵Dave Chapman2006-03-11
| | | | | | targets and the iriver H1x0. Requires the Pacman arcade machine ROMs in /.rockbox/pacman/ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9001 a1c6a512-1295-4272-9138-f99709370657
* 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