summaryrefslogtreecommitdiff
path: root/apps/plugin.h
AgeCommit message (Collapse)Author
2007-11-21consolidate the 3 file_exists() functions into one; use the version that ↵Robert Kukla
explicitly uses dircache; give dir_exists() the same treatment for consistency git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15742 a1c6a512-1295-4272-9138-f99709370657
2007-11-18Make speex the new voice format for SWCODEC targets (non-Archos). Remove ↵Michael Sevakis
codec swapping and build speex voice decoding directly into the core binary. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15668 a1c6a512-1295-4272-9138-f99709370657
2007-11-10Add read_bmp_fd and make the first parameter of read_bmp_file ("filename") ↵Nicolas Pennequin
const. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15553 a1c6a512-1295-4272-9138-f99709370657
2007-11-08Add some CACHEALIGN_* macros and a helper function to assist in aligning ↵Michael Sevakis
data and buffers on PortalPlayer processors to cache line boundaries. They're noops when PROC_NEED_CACHEALIGN isn't defined. Go safe and increase the value to 32 since I'm not sure yet if 16 is sufficient - changing that is a one-liner. Add helper to plugin API which will be needed shortly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15523 a1c6a512-1295-4272-9138-f99709370657
2007-11-07Add a setting to control whether or not to speak the file type (r15506).Stéphane Doyon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15508 a1c6a512-1295-4272-9138-f99709370657
2007-11-03Accept FS#7910: spontaneously speak out the battery level when it fallsStéphane Doyon
under 50%, 30% and 15%. Guarded by an option under voice settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15422 a1c6a512-1295-4272-9138-f99709370657
2007-10-22Phase in thread_wait when waiting for a thread to exit. Begin phasing out ↵Michael Sevakis
the spinlock object for general use; it will become a multicore-only object for core locking. Take care of plugins first. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15260 a1c6a512-1295-4272-9138-f99709370657
2007-10-21Implement YUV dithering for c200, and enable the option in mpegplayer.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15246 a1c6a512-1295-4272-9138-f99709370657
2007-10-19FS#7994 - Rename talk.c API, make talk_disable() affect all talking (not ↵Steve Bavin
just menus), hopefully save some space. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15206 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Finally full multicore support for PortalPlayer 502x targets with an eye ↵Michael Sevakis
towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15134 a1c6a512-1295-4272-9138-f99709370657
2007-10-15Oops, forgot to increment the plugin api version numbers.Antoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15126 a1c6a512-1295-4272-9138-f99709370657
2007-10-15Remove the "invert scroll" code since it's not used anywhere anymore (and it ↵Antoine Cellerier
was broken on color targets with gradients anyway). Closes FS #7875. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15125 a1c6a512-1295-4272-9138-f99709370657
2007-10-13Improved FPS test plugin: * Better precision for low frame rates (take extra ↵Jens Arnold
ticks into account). * Measure YUV blit framerate on colour targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15099 a1c6a512-1295-4272-9138-f99709370657
2007-10-09fix yellow and some house cleaningRobert Kukla
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15056 a1c6a512-1295-4272-9138-f99709370657
2007-10-09FS#7487 - mpegplayer - video start time seek with resumeRobert Kukla
by John S. Gwynne & Brian J. Morey This should stop the patch from breaking again and give them opportunity to improve it further. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15052 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Oops. Fix red.Nicolas Pennequin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15046 a1c6a512-1295-4272-9138-f99709370657
2007-10-03Just temporarily disable talk menus, in case the player is reset whilst in ↵Steve Bavin
mpegplayer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14970 a1c6a512-1295-4272-9138-f99709370657
2007-10-02Hide symbols by default on 64 bit sim buildsto avoid clashing, fixes ↵Nils Wallménius
crashing on track change with the same codec, crashing in calculator and text display in midiplay git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14953 a1c6a512-1295-4272-9138-f99709370657
2007-09-28Commit a subset of the dual core changes that have to do with cache ↵Michael Sevakis
handling, stacks, firmware startup and thread startup. Tested on e200, H10-20GB, iPod Color and 5.5G. Thread function return implemented for all targets. Some changes to plugins to follow shortly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14879 a1c6a512-1295-4272-9138-f99709370657
2007-09-25Dithering option for mpegplayer on gigabeat-f/x and e200. Assembly IDCT for ↵Michael Sevakis
ARm just to make it all work more nicely. Move UI simulator YUV code to its core to adapt it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14851 a1c6a512-1295-4272-9138-f99709370657
2007-09-19Forgot to bump plugin API version.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14751 a1c6a512-1295-4272-9138-f99709370657
2007-09-19Remove the ID3 tag version priority setting on the grounds of it being ↵Thom Johansen
pretty pointless. ID3v2 tags are superior to ID3v1 tags, and needs less seeking around to find. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14750 a1c6a512-1295-4272-9138-f99709370657
2007-09-18Simplify initing of the screens[] struct by using an initializer, also some ↵Nils Wallménius
reordering of the struct, and the required plugin api bump git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14743 a1c6a512-1295-4272-9138-f99709370657
2007-09-17minor update to gui_synclist_do_button() which will hopefully simplify ↵Jonathan Gordon
things later. Now returns true if the action was handled in that function instead of returning the handled action. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14733 a1c6a512-1295-4272-9138-f99709370657
2007-09-08Sim I/O and threading that runs more like on target. Tweakable if any ↵Michael Sevakis
genuine slowness imitation is required for any one of them. One point of concern is the sim shutdown on an OS other than Linux just because terminating threads in a manner other than having the do it themselves is kind of dirty IMHO. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14639 a1c6a512-1295-4272-9138-f99709370657
2007-08-19Use size_t type for the buffer_size parameter to formatter functions, static ↵Nils Wallménius
two private functions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14392 a1c6a512-1295-4272-9138-f99709370657
2007-08-14The plugin API changed so update the version number and bump the change was ↵Nicolas Pennequin
incompatible, so bump the minimum version too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14329 a1c6a512-1295-4272-9138-f99709370657
2007-08-14Make get_metadata act on a struct mp3entry rather than a struct track_info.Nicolas Pennequin
This should make it easy to use a buffer handle to put the ID3 data in. The changes in get_metadata are mostly search and replace. The only thing it actually used to do on the struct track_info was set taginfo_ready to true. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14326 a1c6a512-1295-4272-9138-f99709370657
2007-08-13Also keep the backlight on in mpegplayer when plugged in. Fixes FS #7584. ↵Peter D'Hoye
Created two helper functions for this, because this issue also exists in other plugins (to do). The helper functions are in the pluginlib in helper.[ch], where other common stuff can be put. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14321 a1c6a512-1295-4272-9138-f99709370657
2007-08-06Accept FS#5464 - organise the rocks directory. Jonathan Gordon
If any plugins or "open with" optoins dont work please let me know... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14214 a1c6a512-1295-4272-9138-f99709370657
2007-08-05Accept FS#7486 - shortcuts plugin.Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14191 a1c6a512-1295-4272-9138-f99709370657
2007-08-04Rewrote the clock plugin in a cleaner and more modular way so that it can ↵Kevin Ferrare
scale on remote screens. Use left-right keys to change the type of clock displayed (analogic, digital, binary) and up/downto change the look of the clock git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14174 a1c6a512-1295-4272-9138-f99709370657
2007-07-30RTC (real time clock) support for Rockboy. The time in games like Pokemon ↵Tom Ross
Gold/Silver should now stay synced on RTC-capable targets. Other targets will lose track of time when the player is turned off. User's can edit the .rtc file in an attempt to resync the RTC. The clock should stay synced when entering and leaving the menu. I've tested this over the past two weeks and it seems to work well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14071 a1c6a512-1295-4272-9138-f99709370657
2007-07-29Use multi-screen api for metronome plugin, and made it run in the simulator ↵Kevin Ferrare
by implementing the timer functions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14046 a1c6a512-1295-4272-9138-f99709370657
2007-07-25Correct plugin API versions, thanks to scorche.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13981 a1c6a512-1295-4272-9138-f99709370657
2007-07-25fixed yellow, forgot to increase the plugin API versionKevin Ferrare
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13979 a1c6a512-1295-4272-9138-f99709370657
2007-07-25Ported the archos player's jackpot plugin to bitmaps LCD (still need some ↵Kevin Ferrare
neat bitmaps), multi screen support for jackpot plugin and iriverify git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13978 a1c6a512-1295-4272-9138-f99709370657
2007-07-23Fix the text for settings which have a different title than what is shown in ↵Jonathan Gordon
the menu (i.e scroll options) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13962 a1c6a512-1295-4272-9138-f99709370657
2007-07-22remove the need for action_signalscreenchange().Jonathan Gordon
Fixes problems with targets where the ACTION_STD_CANCEL event is a combo git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13956 a1c6a512-1295-4272-9138-f99709370657
2007-07-20Makes apps and plugins interract with directories using a posix-like api ↵Kevin Ferrare
instead of calling dircache / simulator functions (no additionnal layer added, only a cosmetic change) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13943 a1c6a512-1295-4272-9138-f99709370657
2007-07-19MpegPlayer: Add a simple messaging scheme for sending stream commands. ↵Michael Sevakis
Remove the need to disable FIQ when adding to PCM buffer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13931 a1c6a512-1295-4272-9138-f99709370657
2007-07-11Rearrange and cleanup settings codeJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13851 a1c6a512-1295-4272-9138-f99709370657
2007-07-10User configurable recording path (my patch in FS#7201). path defaults to / ↵Jonathan Gordon
and can be changed in the folder context menu (cleared in the recording settings menu) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13838 a1c6a512-1295-4272-9138-f99709370657
2007-06-25current_tick really does need to be volatile since gcc can optimize away ↵Michael Sevakis
checking the value otherwise - found out the hard way. :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13715 a1c6a512-1295-4272-9138-f99709370657
2007-06-22Prevent initial spinup when starting first file when in a stopped state on ↵Michael Sevakis
non-RTC targets. Fix some states that are dangerous on SWCODEC and could result in data loss. Had to make plugin API incopatible since specified numbered filename creation is enabled now on all non-RTC targets with recording; increase version and sort the items that looked like they had a place to go. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13683 a1c6a512-1295-4272-9138-f99709370657
2007-06-18extend the text editor plugin to be able to modify the .colors fileJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13665 a1c6a512-1295-4272-9138-f99709370657
2007-06-14Replace VU meter menu with a new one using the new menu api, fixes some Nils Wallménius
problems: * Up/Down buttons are no longer reversed. * The menu looks much better with reversed bg/fg colors instead of inversed. * Menu uses userfont. Add the set_bool_options function to the plugin api and bump api version. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13629 a1c6a512-1295-4272-9138-f99709370657
2007-06-14Move the MEM_FUNCTION_WRAPPERS macro into plugin.h and get rid of the extra ↵Nils Wallménius
header file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13628 a1c6a512-1295-4272-9138-f99709370657
2007-06-13Accept FS#7264 'Build with -Os switch for coldfire targets'.Nils Wallménius
Introduces MEM_FUNCTION_WRAPPERS(api) macro which adds wrappers functions to a plugin to make plugins link correctly when gcc calls mem* functions directly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13625 a1c6a512-1295-4272-9138-f99709370657
2007-06-08Straighten out some audio path APIs and misc. audio stuff. Having recording ↵Michael Sevakis
is not a prerequisite to having input/output source selection which is probably most useful when adding a audio input features like FM to a new port without forcing recording to be implemented first. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13599 a1c6a512-1295-4272-9138-f99709370657