summaryrefslogtreecommitdiff
path: root/apps/plugin.h (follow)
Commit message (Collapse)AuthorAge
* Work-in-progress rework of charging status reading & display: * Changed ↵Jens Arnold2006-06-06
| | | | | | several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
* Added reload_directory() to plugin api and modified text editor and sudoku ↵Hardeep Sidhu2006-06-04
| | | | | | plugins to call it when saving a new file. Fixes B#5360. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10053 a1c6a512-1295-4272-9138-f99709370657
* Text viewer: * Only show those options which really exist. * Basic button ↵Jens Arnold2006-05-03
| | | | | | functions now available on all targets. * Implemented option setting in a more straightforward way (like the core options menus). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9874 a1c6a512-1295-4272-9138-f99709370657
* Player: Credits plugin correctly working with UTF-8. Patch by Marcoen ↵Jens Arnold2006-05-02
| | | | | | Hirschberg. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9862 a1c6a512-1295-4272-9138-f99709370657
* Bump the api version when something is added to the api!Jens Arnold2006-05-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9846 a1c6a512-1295-4272-9138-f99709370657
* Patch #5056 by Jonathan Gordon, with rework and additions by me: Updated ↵Zakk Roberts2006-05-01
| | | | | | Viewer plugin. Replaces annoying mode-toggle key-combos with a settings menu, including a new 'Scroll by Line' option. I've also added a 'hands-free' auto-scroll feature and added lcd_setmargins to the plugin API, since we need it here. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9844 a1c6a512-1295-4272-9138-f99709370657
* Patch #4864 by Jonathan Gordon: text editor plugin, with some changes by me.Hristo Kovachev2006-04-03
| | | | | | | Also correct a var clash between the rockbox's gui api and doom plugin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9451 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
* Bumped plugin API versionLinus Nielsen Feltzing2006-03-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9271 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
* Thanks to Fredrik Öhrn, fix profiling for pluginsBrandon Low2006-03-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9060 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
* Correct plugin min API version.Dan Everton2006-03-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8921 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
* More 64bit simulator fixes, coinciding with the long policy this time.Jens Arnold2006-03-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8890 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
* "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
* 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
* 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
* Color BMP supportLinus Nielsen Feltzing2006-01-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8472 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
* 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
* kill gcc4 warningsDaniel Stenberg2005-12-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 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
* New type for the LCD frame buffer dataLinus Nielsen Feltzing2005-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7876 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
* Removed unused ata_standby(), changed return type of ata_sleep() to void, ↵Jens Arnold2005-11-07
| | | | | | removed misleading comment from ata.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7782 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
* Archos recording/playback: (1) Xing header creation: * Now estimates the ↵Jens Arnold2005-09-15
| | | | | | framecount from the recording time if the MAS frame counter saturates, so it always writes a valid Xing header. * Reverted my brainless short-xing-header change. This was only valid for layer 3. (2) Xing/VBRI header evaluation: Fixed possible overflow in bitrate calculation. (3) MPEG thread: Avoid double chunk size limiting for the rare case of 8 MB modded Ondios. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7522 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
* Iriver: Changed the IRAM splitting between core and plugins to 48KB/48KB, ↵Jens Arnold2005-09-01
| | | | | | and reduced the main thread stack to 8KB, same size as on archos. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7447 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
* Major peakmeter rework: * Changed set/get functions for dbfs mode to bool ↵Jens Arnold2005-08-29
| | | | | | type. * Removed performance setting, leaving (slightly adapted) high performance mode only. * Refresh rate is always 20 Hz now. * Readout doesn't do an extra (hidden) peek, should allow for slightly better clip detection. * Brought back high performance peakmeter for recording. Peakmeter stops hogging the CPU when the disk is spinning; this is enough to avoid the performance problem when saving data. * Optimisations, code cleanup and code policeing. * (iriver) Reduced CPU load of peakmeter by not calculating excessive overlaps. ** Bumped config block version, so save your settings before upgrading. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7415 a1c6a512-1295-4272-9138-f99709370657