Miika Pekkarinen
0ea4d3197e
Prepare core support for the iriver bootloader supporting ROM images
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11991 a1c6a512-1295-4272-9138-f99709370657
2007-01-12 18:34:00 +00:00
Dave Chapman
fd8bac806b
Export pcm_* functions in plugin API in sim.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11879 a1c6a512-1295-4272-9138-f99709370657
2007-01-01 13:21:19 +00:00
Dave Chapman
4b801b2d3a
Initial implementation of audio support (44.1KHz only, mp2 or mp3, mono/stereo, any bitrate) and .mpg file (MPEG program stream) parsing for mpegplayer - .m2v files are no longer supported. .mpg parser based on patch #6366 from Mathieu Favreaux. Currently limited to only playing files smaller than the available buffer RAM (it will play longer files, but never refills the buffer when it runs empty). There is also no a/v sync implemented, and still no seeking support. Coldfire (iriver H3x0 and iaudio X5) users can use the optimisations provided in patch #5995 to increase the framerate, and PortalPlayer (ipods and iriver H10) users will want to use kernel_on_cop_6.diff from FS#5755 which enables mpegplayer to run the video thread on the second CPU core - video on the second core with audio on the first core runs at the same speed as the old mpegplayer did with no audio.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11877 a1c6a512-1295-4272-9138-f99709370657
2007-01-01 12:59:32 +00:00
Nils Wallménius
5652b2528d
Always use a black backgound while displaying images in jpegviewer, and use the usual foreground/background colors and backdrop in the jpegviewer menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11684 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 17:23:52 +00:00
Michael Sevakis
51189b4cb4
Small change to PCM recording API for low latency effects. Latency can be as low as 14 samples from input to output including the FIFOs (ColdFire) but 16 is more reasonable an expectation if only tranferring one sample per interrupt (\!). May convert PCM playback to use the same method as it can still be used in the old manner with some slight mods but has the potential to enable new features since it is more flexible.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11668 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 08:34:55 +00:00
Peter D'Hoye
0f02e4f7a0
File and (recursive) directories properties in the file browser context menu. Uses dircache if possible (plugin api expanded). Is actually implemented as plugin. Small parts taken from earlier work by Will Robertson.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11630 a1c6a512-1295-4272-9138-f99709370657
2006-11-30 22:29:48 +00:00
Tomasz Malesinski
80da8b141c
FS#6357, patch 1: let iramcopy and bss share the same space in codecs and
...
plugins. Currently, in case of plugins using IRAM bss is cleared twice,
once in the loader, once in PLUGIN_IRAM_INIT. For codecs, bss is cleared only
during codec initialization. Also, removed double variables in codecs
storing a pointer to codec_api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11606 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 18:31:41 +00:00
Michael Sevakis
ab1861a3c2
iRiver/iAudio: Added audio_set_recording gain and sound_default to plugin API. Simplified plugin recording by target/-ing some audio functions. UDA1380 records with WSPLL as a result.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11577 a1c6a512-1295-4272-9138-f99709370657
2006-11-23 19:21:15 +00:00
Jonathan Gordon
6288523cfe
* Move checkbox to plugin api (core never uses it)
...
* replace the last of the scrollbar() calls with gui_scrollbar_draw()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11552 a1c6a512-1295-4272-9138-f99709370657
2006-11-19 14:11:42 +00:00
Michael Sevakis
acc29d95be
SWCODEC/IRAM: Save voice IRAM when a plugin initializes its IRAM. Defines two macros for declaring and initializing IRAM. Plugins should use these instead. See mp3_encoder, doom, etc. for details. Further tweaks in buffer restoration after other use. Hiding of some interfaces that should only be used by buffer management.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11544 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 02:18:29 +00:00
Karl Kurbjun
1a9442c001
Hopefully clean up some errors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11528 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 06:46:35 +00:00
Karl Kurbjun
d6b0c97312
Don't need to remove the backdrop for all plugins - leave it up for some.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11526 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 06:14:27 +00:00
Jens Arnold
0297873f6a
Backdrop support for greyscale targets. WPS backdrop is untested.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11520 a1c6a512-1295-4272-9138-f99709370657
2006-11-13 00:45:21 +00:00
Miika Pekkarinen
202b7267c2
Fixed logf builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11512 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 08:00:28 +00:00
Michael Sevakis
466e066ddb
Trimmed a little too much from plugin.c :P
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11510 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 05:47:42 +00:00
Michael Sevakis
806d8f3505
Added recording functions to plugin API per request of Thom Johansen. Cleaned up includes in plugin.c and grouped them a bit better in plugin.h while at it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11508 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 05:11:05 +00:00
Michael Sevakis
0f5cb94aa4
Big Patch adds primarily: Samplerate and format selection to recording for SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 18:07:30 +00:00
Jonathan Gordon
0218a155b0
put the parameter name in the function prototype
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11406 a1c6a512-1295-4272-9138-f99709370657
2006-10-31 11:30:37 +00:00
Jonathan Gordon
29e259a291
* give tsr plugins the choice to quit or not
...
* bumps plugin api version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11405 a1c6a512-1295-4272-9138-f99709370657
2006-10-31 11:17:00 +00:00
Peter D'Hoye
9afce4d359
Disk spindown control during jpeg slideshow: for times below 10s, keep the disk spinning, for longer times spin down the disk immediately after loading the picture. Inspired by #FS5653 (Paul Jam / Gwen Roelants) and Jens Arnold
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11299 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 14:47:55 +00:00
Michael Sevakis
6aa12c11f7
Added a small interface to screens to translate colors into remote gray levels on the x5. Splash screens paint properly with light gray. Should be adapted to a more general approach in the future. A few trailing whitespace trimmings got into a couple files but that is fine.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11218 a1c6a512-1295-4272-9138-f99709370657
2006-10-14 01:32:58 +00:00
Jens Arnold
d8dda93268
Plugin loader: * Fix drawinfo reset after plugin return for greyscale remote LCDs. * Slight cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11155 a1c6a512-1295-4272-9138-f99709370657
2006-10-09 07:00:50 +00:00
Dave Chapman
491458e418
Add wheel_status() function to the ipod "4g" button driver (i.e. all ipods excluding the 3G and 1st gen mini) to read the absolute position the wheel is being touched (0..95 - clockwise from top, or -1 for untouched), plus the wheel_send_events(bool) function to disable/enable sending normal scrolling events - based on patch #4721 from Mikael Magnusson.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11068 a1c6a512-1295-4272-9138-f99709370657
2006-09-26 19:25:52 +00:00
Jens Arnold
b0a7de6b7d
Solitaire: * Button assignments: Better layout for ipods, allowing one-handed operation during the game. More logical shortcut buttons for Ondios. Slight changes for other targets, including working button repeat for up/down when there is no dual use. * Help text showing all possible buttons instead of forcing the user to try and find out. The text adapts to LCD resolution and selected font.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10985 a1c6a512-1295-4272-9138-f99709370657
2006-09-17 22:20:05 +00:00
Miika Pekkarinen
a85044bf9e
New scheduler, with priorities for swcodec platforms. Frequent task
...
switching should be more efficient and tasks are stored in linked
lists to eliminate unnecessary task switching to improve performance.
Audio should no longer skip on swcodec targets caused by too CPU
hungry UI thread or background threads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 16:18:11 +00:00
Jonathan Gordon
e9fd3d6c57
* Add keymap file for h10 (Thanks Barry Wardell)
...
* Add a signalscreenchange to plugin_run so keys work coreclty after
quiting plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10601 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 04:05:19 +00:00
Linus Nielsen Feltzing
224c0a13eb
Finally, the new button action system is here, thanks to Jonathan Gordon. Some button mappings have changed and other things may break. Comments should go to the forum, http://forums.rockbox.org/index.php?topic=5829.0 or the mailing list.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10582 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 12:27:07 +00:00
Rani Hod
bcd94a9b01
Accepted FS #5786 by Michael Sevakis - lcd_yuv_blit() for X5.
...
hard coded to YUV4:2:0 for now, gives ~13.5 fps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10528 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 14:10:34 +00:00
Dave Chapman
13b23fbcdb
Implementation of lcd_yuv_blit() for the ipod 5g.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10487 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 21:28:08 +00:00
Jens Arnold
c5a309afbd
H300: * Implemented lcd_yuv_blit(). Speeds up video playback by about 7%. No bounds check in lcd_yuv_blit() (by convention), implementations for other targets should be adapted. * Fixed off-by-one bug in lcd_update_rect()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10484 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 13:44:43 +00:00
Dan Everton
5814551865
Add disktidy plugin (FS#2596).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10482 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 10:46:39 +00:00
Dave Chapman
c9d66562af
Initial commit of work-in-progress MPEG video player plugin based on libmpeg2. Works on all targets with colour LCDs, but most optimised for the ipod Color/Photo and Nano. It currently only plays raw MPEG-1 or MPEG-2 video streams (no audio). Also adds a new lcd_yuv_blit() function to the plugin API - currently only implemented for the ipod Color/Photo and Nano.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10479 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 22:11:07 +00:00
Jens Arnold
05ddd9a44e
X5 remote LCD drawing. This will break target linking atm - lcd_remote_update[_rect]() are not yet implemented.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10347 a1c6a512-1295-4272-9138-f99709370657
2006-07-28 07:35:45 +00:00
Antoine Cellerier
06e6acd6cd
Export bidi_l2v, font_get_bits and font_load in plugin API (on bitmap LCD targets)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10255 a1c6a512-1295-4272-9138-f99709370657
2006-07-19 19:47:34 +00:00
Kevin Ferrare
0028b05f3e
Added multi-screen API to the plugins API, made 'demystify plugin' use the remote display as well
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10167 a1c6a512-1295-4272-9138-f99709370657
2006-07-01 10:14:27 +00:00
Jens Arnold
0dd1f8ec11
Work-in-progress rework of charging status reading & display: * Changed 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
2006-06-06 22:23:52 +00:00
Hardeep Sidhu
ab3e71cad9
Added reload_directory() to plugin api and modified text editor and sudoku 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
2006-06-04 16:36:49 +00:00
Jens Arnold
2343a1935d
Text viewer: * Only show those options which really exist. * Basic button 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
2006-05-03 23:16:53 +00:00
Jens Arnold
93ff94949c
Player: Credits plugin correctly working with UTF-8. Patch by Marcoen Hirschberg.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9862 a1c6a512-1295-4272-9138-f99709370657
2006-05-02 21:44:04 +00:00
Zakk Roberts
07fcf77cb0
Patch #5056 by Jonathan Gordon, with rework and additions by me: Updated 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
2006-05-01 05:45:18 +00:00
Jens Arnold
b509ff5069
Patch #3022 by Mikael Magnusson: Only zero out the actual bss area instead of the whole plugiin buffer, for faster plugin loading. * Applied the same idea to the overlay loader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9535 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 18:26:14 +00:00
Hristo Kovachev
38deb8f13a
Patch #4864 by Jonathan Gordon: text editor plugin, with some changes by me.
...
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
2006-04-03 08:51:08 +00:00
Dave Chapman
909b6d2653
Finish removing the main LCD backdrop function from the plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9315 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 16:18:21 +00:00
Dave Chapman
39876971a8
Do not export load_main_backdrop() via the plugin API. Plugins should allocate their own buffer and use lcd_set_backdrop()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9313 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 16:04:11 +00:00
Dave Chapman
47f4a458d6
Patch #2969 - Doom! Currently only working on the H300.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9312 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 15:44:01 +00:00
Jens Arnold
0c09f3ee88
WAV playback as a plugin, for archos recorders and Ondios. Plays 16-bit WAV 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
2006-03-26 23:00:24 +00:00
Linus Nielsen Feltzing
6f4d721d23
Basic plugin playback control menu by Jonathan Gordon (Patch #4874 )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9269 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 22:33:25 +00:00
Miika Pekkarinen
7c4e0c8730
Initial version of tagcache! There are still some bugs in the engine
...
and much more problems with the UI.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9256 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 11:33:42 +00:00
Hristo Kovachev
f53f64a615
button.h cleanup, with the future "button action" thing in mind:
...
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
2006-03-21 09:36:13 +00:00
Dave Chapman
a814584c87
pacbox - a Pacman arcade machine emulator. Currently working for all colour 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
2006-03-11 15:44:35 +00:00
Jens Arnold
dae698cad4
Ooops.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8997 a1c6a512-1295-4272-9138-f99709370657
2006-03-11 09:38:12 +00:00
Jens Arnold
06bc627c99
Removed lcd_roll() and lcd_remote_roll() functions. These functions were not 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
2006-03-11 09:28:49 +00:00
Dan Everton
769925541a
sound_set_pitch is not available on Player
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8916 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 19:46:33 +00:00
Dan Everton
d108849812
Get VU Meter plugin working on SWCODEC targets. Still needs to be scaled to 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
2006-03-05 19:34:54 +00:00
Jens Arnold
38b7547ef4
Simulators: Fix pointer size vs. int size problems (64bit hosts) in plugin loader and codec loader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8880 a1c6a512-1295-4272-9138-f99709370657
2006-03-02 01:08:38 +00:00
Jens Arnold
6a972e0249
Finally - grayscale library support for the simulators. Currently SDL only, 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
2006-02-26 13:37:42 +00:00
Dave Chapman
603f87fe3c
Foreground/Background colour settings. Based on patch #3050 by Jonathan 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
2006-02-26 02:48:05 +00:00
Hristo Kovachev
cc6f37b8d8
"Next/Previous jpeg from within the JPEG viewer" addition by Alexander 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
2006-02-18 20:51:34 +00:00
Jens Arnold
35e05ca504
Plugin loader: Handle the remote LCD the same way as the main LCD (clear, set parameters).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8724 a1c6a512-1295-4272-9138-f99709370657
2006-02-18 00:13:44 +00:00
Jens Arnold
7ea4d59127
Plugin loader adjustments: * Don't clear the LCD before loading, just show a 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
2006-02-16 22:36:04 +00:00
Dave Chapman
1c39855787
Only clear the backdrop after a plugin has been loaded successfully - 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
2006-02-14 00:39:11 +00:00
Brandon Low
413da2a3d9
Rework PCM buffer
...
* 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
2006-02-07 20:38:55 +00:00
Hristo Kovachev
14cfc65414
1. Updated battery_bench plugin:
...
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
2006-02-07 14:46:03 +00:00
Jens Arnold
e6e8aa9519
Added memmove() to codec API & plugin API, and changed codeclib and plugin libs to use it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8602 a1c6a512-1295-4272-9138-f99709370657
2006-02-06 16:04:01 +00:00
Dave Chapman
d9e5b67b71
Patch #1421422 - Backdrop image patch started by Linus, finished by me. 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
2006-02-02 20:42:56 +00:00
Ben Basha
b42ef68a83
Fix warnings at h1xx.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8527 a1c6a512-1295-4272-9138-f99709370657
2006-02-01 20:06:25 +00:00
Ben Basha
db83601b3c
Add break effect + Bigger bricks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8526 a1c6a512-1295-4272-9138-f99709370657
2006-02-01 18:25:24 +00:00
Hristo Kovachev
495c63f867
New "battery benchmark" plugin by Alexander Spyridakis, modified a bit by me
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8451 a1c6a512-1295-4272-9138-f99709370657
2006-01-25 18:29:56 +00:00
Brandon Low
05dccc3551
Profiling support, tools and documentation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8375 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 20:54:13 +00:00
Jens Arnold
a8c408c6a3
More consistent error checking.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8364 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 08:34:32 +00:00
Jens Arnold
a40d355ee7
Simplified new plugin loader (only read plugin once).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8360 a1c6a512-1295-4272-9138-f99709370657
2006-01-17 20:39:44 +00:00
Jens Arnold
a79027743a
Model & version check for simulator plugins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8356 a1c6a512-1295-4272-9138-f99709370657
2006-01-16 23:20:58 +00:00
Jens Arnold
a36b1d4083
New plugin loader. Solves the crashes introduced with the .bss changes while 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
2006-01-15 18:20:18 +00:00
Jens Arnold
c80e0c19e1
Fixed several plugins for dB volume.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8258 a1c6a512-1295-4272-9138-f99709370657
2005-12-17 21:13:30 +00:00
Dave Chapman
77bf6bf370
iPod: current_tick is now a variable, so we can export it via the plugin and codec APIs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8225 a1c6a512-1295-4272-9138-f99709370657
2005-12-12 14:05:14 +00:00
Marcoen Hirschberg
b0fee17d6e
waiting is over: initial unicode commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
2005-12-06 13:27:15 +00:00
Jens Arnold
b51f7dfc9b
Backlight handling: * Added 'Caption Backlight' and 'Backlight On When 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
2005-11-21 23:55:39 +00:00
Jens Arnold
5b2cba17aa
Changed the LCD_COLOR pixel value format to packed RGB (unsigned int). Now 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
2005-11-16 21:09:23 +00:00
Kevin Ferrare
e991beed6d
replaced all the splash calls by gui_sync_splash, added some missing remote key in the playlist viewer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 15:12:15 +00:00
Dave Chapman
e12f797311
iPod: current_tick is (currently) a macro - so we exclude it from the plugin and codec APIs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7826 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 15:45:48 +00:00
Hardeep Sidhu
b060d3a520
Don't reset plugin_loaded flag for a TSR plugin until it's exited. Fixes 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
2005-11-10 08:07:31 +00:00
Jens Arnold
7190cf2ed9
Ooops, players have no screendump.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7575 a1c6a512-1295-4272-9138-f99709370657
2005-10-01 10:46:13 +00:00
Jens Arnold
05042affc7
Core: A graphics framework can now register a hook function to extend the 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
2005-10-01 10:20:55 +00:00
Dave Chapman
548c1b72c0
Added menu interface to plugin API - needed by Sudoku
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7533 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 08:54:48 +00:00
Linus Nielsen Feltzing
60895bc107
Patch #1272052 by Henrik Backe - Move credits to a plugin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7450 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 05:39:09 +00:00
Jens Arnold
d6c054575b
Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Jens Arnold
e44372ef18
Moved implementation of user timer to the firmware layer, implemented it for 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
2005-07-26 20:01:11 +00:00
Jens Arnold
12a4ed383f
Added font_getstringsize to the plugin api, needed for the reworked grayscale library.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7240 a1c6a512-1295-4272-9138-f99709370657
2005-07-25 19:56:35 +00:00
Jens Arnold
b0e056b5ae
More preparations and conversions for colour LCD support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7195 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 10:33:41 +00:00
Jens Arnold
82ea7c3bac
Renamed MAX_LEVEL to LCD_MAX_LEVEL to match the naming scheme. Preparations for colour LCD support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7194 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 09:24:29 +00:00
Jens Arnold
34a610b1c1
Reset all graphics defaults after returning from plugin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7142 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 18:12:27 +00:00
Jens Arnold
89d6e950fd
Added a number of new graphics functions to the plugin API.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7127 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 23:46:50 +00:00
Jens Arnold
d7f9439353
Adapted remote LCD driver and player graphics library to the new bitmap function naming scheme.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7047 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 00:05:29 +00:00
Jens Arnold
f894a4c269
4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and 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
2005-07-06 22:58:02 +00:00
Michiel Van Der Kolk
c735ed7914
First runtime database support, self repairing, only playcount works for now,
...
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
2005-07-01 17:29:44 +00:00
Daniel Stenberg
510a18d302
added strncmp() to the plugin API, based the patch 1170215 by Rick La Charité
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6943 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 10:39:28 +00:00
Jens Arnold
5eb0fff07b
Fixed red H1x0 simulator build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6909 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 02:01:24 +00:00
Jens Arnold
576908d36a
Third part of graphics api rework. Some small but effective optimisations. 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
2005-06-29 01:39:50 +00:00
Jens Arnold
7e11acbce9
Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 23:15:47 +00:00
Jens Arnold
04daef17a1
First part of graphics api rework. Special functions, parameter handling, 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
2005-06-24 22:33:21 +00:00
Daniel Stenberg
101872f570
no more codecbuf in here
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6816 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 20:05:59 +00:00
Daniel Stenberg
1dd672fe32
moved and renamed the codecs, gave the codecs a new extension (.codec),
...
unified to a single codec-only API, made a new codeclib, disabled the building
of the *2wav plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6812 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 19:41:30 +00:00
Linus Nielsen Feltzing
ecf2f747ed
Daniel's fix that loads codecs in their own memory space
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6794 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 02:47:54 +00:00
Jens Arnold
61b9d34c7c
Iriver: Backlight fading is now configurable. Added a function to stop the backlight from using timer1, freeing it for usage in plugins. Grouped together some related settings functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6779 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 17:03:09 +00:00
Dave Chapman
33001cb4f0
Add logf to the plugin interface (use the LOGF macro)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6749 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 19:19:12 +00:00
Jens Arnold
4c7da88618
Iriver UDA1380 volume and balance handling is now done in sound.c, similar to archos player; removed pcm_set_volume(). Implemented a dB-linear scale. Sorted & bumped plugin api. Removed audio test from the debug menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6741 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 01:25:47 +00:00
Daniel Stenberg
ffa3222709
improved ifdef and wrapped long lines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6735 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 07:52:12 +00:00
Miika Pekkarinen
ef72f99681
Fixed a dead lock, file handle leak that caused wps to jam and
...
selected a smaller i2c timeout value.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6707 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 14:36:46 +00:00
Miika Pekkarinen
7eb743e881
More codec loader corrections.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6695 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 18:37:18 +00:00
Miika Pekkarinen
e0037adfae
Codec loader fixed. Now switching between different codecs should work
...
better.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6694 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 18:16:35 +00:00
Miika Pekkarinen
e0b51d4731
Setting plugin_loaded status before invalidating icache.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6649 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 11:44:56 +00:00
Miika Pekkarinen
842bed7275
No more playlist viewer crashes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6648 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 11:35:52 +00:00
Linus Nielsen Feltzing
a12ccabf04
Don't bitswap on the iRiver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6583 a1c6a512-1295-4272-9138-f99709370657
2005-06-06 00:34:07 +00:00
Linus Nielsen Feltzing
1c497e6045
First audio codec playback attempt by Miikka Pekkarinen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6574 a1c6a512-1295-4272-9138-f99709370657
2005-06-05 23:05:10 +00:00
Michiel Van Der Kolk
9369d4867d
Search engine core for database v2, has an hardcoded "songs for year >= 1980 and year < 1990" at the moment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6367 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 12:33:38 +00:00
Christian Gmeiner
7d9848186e
iRiver: extended remote lcd driver. displaying text works now - see start-up-screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6355 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 23:47:51 +00:00
Linus Nielsen Feltzing
ef73c2ed36
Even more correct conditions for mpeg_get_last_header()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6343 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 08:59:19 +00:00
Linus Nielsen Feltzing
78c829f576
Bad conditions for including mpeg_get_last_header()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6342 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 08:21:10 +00:00
Linus Nielsen Feltzing
250678bb05
New BMP reader by Tomas Salfischberger
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6340 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 07:42:10 +00:00
Christian Gmeiner
4dabec4df7
plugin to test remote lcd
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6297 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 13:39:13 +00:00
Christian Gmeiner
c63430e935
IRiver: extended plugin api with current remote lcd functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6295 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 12:55:31 +00:00
Linus Nielsen Feltzing
d34865a530
mp3buf renamed to audiobuf
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
2005-04-05 11:33:58 +00:00
Linus Nielsen Feltzing
8a237a829e
More audio code restructuring, mostly renaming functions so far
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Linus Nielsen Feltzing
674eaca5ef
Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 13:41:03 +00:00
Linus Nielsen Feltzing
e996e2ff91
Added pcm_play_pause() to the plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6237 a1c6a512-1295-4272-9138-f99709370657
2005-03-31 06:50:59 +00:00
Michiel Van Der Kolk
6c08b93f6f
I've fixed this before, i know i did! ;p
...
(xshocks patch undid my earlier one)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6228 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 00:29:07 +00:00
Michiel Van Der Kolk
451dd48adc
Sound api improvements, rockboy sound, contributed by xshock.
...
Playback of sound currently only works in boost mode, needs fixing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6226 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 00:00:24 +00:00
Michiel Van Der Kolk
9e173d18ef
Temporary fix for the broken sim build.. till someone implements sound
...
on them...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6221 a1c6a512-1295-4272-9138-f99709370657
2005-03-21 11:54:59 +00:00
Michiel Van Der Kolk
9bc622603c
oops.
...
teaches me *again* to *not* commit code even if it looks entirely correct without testing archos builds :/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6220 a1c6a512-1295-4272-9138-f99709370657
2005-03-21 00:24:31 +00:00
Michiel Van Der Kolk
457e138fff
Added new pcm playback api to the plugin api
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6217 a1c6a512-1295-4272-9138-f99709370657
2005-03-20 23:05:44 +00:00
Michiel Van Der Kolk
22ec198e41
added button_hold() to the plugin api
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6115 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 14:10:17 +00:00
Jens Arnold
48dad47df9
Added mkdir() to the plugin api.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6103 a1c6a512-1295-4272-9138-f99709370657
2005-03-02 22:50:38 +00:00
Linus Nielsen Feltzing
e002b9cfd0
Added cpu_boost() to the plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6102 a1c6a512-1295-4272-9138-f99709370657
2005-03-02 14:32:53 +00:00
Linus Nielsen Feltzing
d7f3d1c8ec
Added cpu_frequency to the plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6094 a1c6a512-1295-4272-9138-f99709370657
2005-03-01 14:36:16 +00:00
Jens Arnold
399c081f93
Simulators: lseek() working again for systems with an off_t datatype differing from 'long' (cygwin/x11, maybe others). Removed unused sim_close().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6084 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 18:32:57 +00:00
Daniel Stenberg
d65908fb87
use the sim version of the icons for the sims
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6037 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 13:02:33 +00:00
Daniel Stenberg
ca42601e1f
fix two sim warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6036 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:56:58 +00:00
Daniel Stenberg
a459965d46
added sim_plugin_close() proto
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6035 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:55:40 +00:00
Daniel Stenberg
22b7701fe7
Build cleanup and general fixes. fprintf() is now fdprintf(), the separation
...
between uisimulator files and firmware/apps files are better done.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:19:12 +00:00
Daniel Stenberg
cdde25b597
Unified build system to use SOURCES for sim builds too, a single Makefile-look
...
made by configure and various related adjustments. This has not yet been tested
on cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6001 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 13:47:17 +00:00
Dave Chapman
6416099f3f
Bugfix - check MEM not MEMORYSIZE when defining PLUGIN_BUFFER_SIZE in a C file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5954 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 17:50:02 +00:00
Dave Chapman
e452383359
Increase PLUGINSIZE to 768k for devices with at least 32MB of RAM (currently only iRiver).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5952 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 14:00:37 +00:00
Daniel Stenberg
aac6e7d24e
memcmp() added to the plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5949 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 13:03:29 +00:00
Jens Arnold
af56130a4a
Simulators: handle plugins asking for the mp3 buffer the same way as on the target (no separate buffer).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5920 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 22:54:17 +00:00
Linus Nielsen Feltzing
2b25e54ace
Fixed broken sim build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5872 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 14:23:35 +00:00
Linus Nielsen Feltzing
40e9e41236
Invalidate instruction cache before loading plugins
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5871 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 14:19:14 +00:00
Linus Nielsen Feltzing
f06ed4ad0c
strcat() added to the plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5867 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 12:27:44 +00:00
Linus Nielsen Feltzing
b5a5d2cecc
strchr() added to the plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5866 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 11:50:04 +00:00
Daniel Stenberg
7030e29abb
fix a mismatch between the .h and .c for non-MAS players, and fixed some
...
warnings too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5760 a1c6a512-1295-4272-9138-f99709370657
2005-02-03 10:06:02 +00:00
Daniel Stenberg
c0d6b11d5a
make the SH and MAS stuff only get built on targets that have such
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5747 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 21:52:05 +00:00
Jens Arnold
ca81ed218a
Zero out plugin RAM before loading a plugin, to ensure a properly zeroed bss area. This matters because gcc puts zero-initialized data into bss
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5396 a1c6a512-1295-4272-9138-f99709370657
2004-11-10 22:20:20 +00:00
Jens Arnold
1c841b8c40
Removed usb_screen() from the api. All plugins should use the default event handlers instead. Added battery_level_safe(). Sorted api & bumped versions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5328 a1c6a512-1295-4272-9138-f99709370657
2004-10-23 09:59:53 +00:00
Jens Arnold
0dc52d5c36
Extended default_event_handler() that calls a callback function prior to actually handling the event.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5263 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 22:45:01 +00:00
Linus Nielsen Feltzing
97426aa4db
Patch #1041556 by Eric Lassauge, correct language for plugin load error in simulator
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5199 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 06:11:01 +00:00
Jens Arnold
eaa1f73c6d
Added MAS3539F support (Ondio SP)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5129 a1c6a512-1295-4272-9138-f99709370657
2004-09-29 19:51:41 +00:00
Jörg Hohensohn
593cc00447
a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 22:13:26 +00:00
Jens Arnold
4341211ddc
Added header file for bitswap, and made the fliptable global for re-use
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5120 a1c6a512-1295-4272-9138-f99709370657
2004-09-26 09:25:59 +00:00
Jens Arnold
06cb237af6
New debug feature: Use the SH1 user break controller to catch illegal memory accesses
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5026 a1c6a512-1295-4272-9138-f99709370657
2004-08-30 19:52:45 +00:00
Jens Arnold
8fb336148f
Const policed pointer arguments to functions, part 3
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 01:09:31 +00:00
Linus Nielsen Feltzing
be6c8ab463
Added functions for the split editor plugin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4974 a1c6a512-1295-4272-9138-f99709370657
2004-07-29 13:59:04 +00:00
Linus Nielsen Feltzing
70de4ec4c9
Sorted the plugin functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4963 a1c6a512-1295-4272-9138-f99709370657
2004-07-27 19:16:58 +00:00
Linus Nielsen Feltzing
f4f4111536
Added possibility to select the priority of the ID3 tags
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4962 a1c6a512-1295-4272-9138-f99709370657
2004-07-27 14:10:48 +00:00
Linus Nielsen Feltzing
a363035d9f
Added default_event_handler() to the plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4953 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 23:30:30 +00:00
Linus Nielsen Feltzing
c051eda028
Added strcasecmp() to the plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4925 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 15:12:43 +00:00
Linus Nielsen Feltzing
80c31c9ea0
The simulator has to use the sim_ versions of remove() and rename()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4923 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 14:51:49 +00:00
Linus Nielsen Feltzing
d1df184f0f
Added strncpy to the plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4911 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 13:15:05 +00:00
Linus Nielsen Feltzing
a754dd84b8
Added raw button reading functionality
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4907 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 08:02:23 +00:00
Jens Arnold
398e40184e
Next round of const policeing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4902 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 21:37:36 +00:00
Linus Nielsen Feltzing
06a2ffd962
Added settings_parseline() and strcmp() to the plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4889 a1c6a512-1295-4272-9138-f99709370657
2004-07-16 12:59:19 +00:00
Linus Nielsen Feltzing
57f698b5e2
Patch #778688 by Pierre Delore, euroconverter for the Player
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4886 a1c6a512-1295-4272-9138-f99709370657
2004-07-15 14:02:14 +00:00
Linus Nielsen Feltzing
c145dacb90
snake2: Some code cleanup, loads all levels at startup, fixed the bug that prevented game B from advancing to the next level
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4885 a1c6a512-1295-4272-9138-f99709370657
2004-07-15 12:33:19 +00:00
Linus Nielsen Feltzing
a96a130f5a
Added strrchr() to the plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4873 a1c6a512-1295-4272-9138-f99709370657
2004-07-13 14:14:30 +00:00
Linus Nielsen Feltzing
0c458c043a
The plugin API now supports ctype macros like tolower() and friends
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4872 a1c6a512-1295-4272-9138-f99709370657
2004-07-13 14:01:41 +00:00
Jens Arnold
84cb8606d0
removing progressbar() and slidebar() broke backwards compatibility
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4857 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 23:01:50 +00:00
Linus Nielsen Feltzing
2441061764
Removed progressbar() and slidebar()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4854 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 13:14:44 +00:00
Linus Nielsen Feltzing
44485bb3d8
Added mpeg_has_changed_track() to the plugin API (again)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4847 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 08:32:18 +00:00
Linus Nielsen Feltzing
e61f6fa599
Added reset_poweroff_timer(), which can be used to prevent idle poweroff. This is also available in the plugin API.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4787 a1c6a512-1295-4272-9138-f99709370657
2004-06-22 07:16:31 +00:00
Jörg Hohensohn
92e19db34a
replaced an unuseable function by one I need, no version bump
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4774 a1c6a512-1295-4272-9138-f99709370657
2004-06-19 09:36:03 +00:00
Kjell Ericson
a3958793e1
Added more functions to the plugin API.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4768 a1c6a512-1295-4272-9138-f99709370657
2004-06-18 09:03:04 +00:00
Björn Stenberg
c05b7d722a
Added set_time()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4758 a1c6a512-1295-4272-9138-f99709370657
2004-06-16 19:35:20 +00:00
Björn Stenberg
b876296c9b
Moved battery_level() to the end, where it doesn't break backwards compatibility
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4750 a1c6a512-1295-4272-9138-f99709370657
2004-06-15 23:16:43 +00:00
Björn Stenberg
dd265830cb
Added battery_level()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4748 a1c6a512-1295-4272-9138-f99709370657
2004-06-15 22:54:37 +00:00
Linus Nielsen Feltzing
8fc5b78200
Added MAS read/write functions to the plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4728 a1c6a512-1295-4272-9138-f99709370657
2004-06-10 13:48:53 +00:00
Linus Nielsen Feltzing
a6142ab7ab
Finally, the archos directory sandbox works in the same way for both X11 and win32 simulators. Unfortunately, this breaks the VC++ compatibility. Also, the plugin API now supports DEBUGF. Last, but not least, we have a new plugin, vbrfix.rock.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4726 a1c6a512-1295-4272-9138-f99709370657
2004-06-10 13:29:52 +00:00
Jens Arnold
2cf4f47005
Preparation for grayscale font support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4653 a1c6a512-1295-4272-9138-f99709370657
2004-05-20 08:06:15 +00:00
Jens Arnold
d501b90836
Minor tweak for plugin_register_timer()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4573 a1c6a512-1295-4272-9138-f99709370657
2004-05-02 19:07:55 +00:00
Jörg Hohensohn
4d0a72574d
fix a simulator warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4571 a1c6a512-1295-4272-9138-f99709370657
2004-05-01 15:45:01 +00:00
Jörg Hohensohn
1bad055d2a
fix red and yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4569 a1c6a512-1295-4272-9138-f99709370657
2004-05-01 15:14:09 +00:00
Jörg Hohensohn
2f6107fc2f
better clear the IRQ, although it worked without
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4568 a1c6a512-1295-4272-9138-f99709370657
2004-04-30 21:50:13 +00:00
Jörg Hohensohn
68002763a7
new plugin features for stuff I'm working on: user timer, TSR, threads, contrast, playback control
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4563 a1c6a512-1295-4272-9138-f99709370657
2004-04-30 20:37:11 +00:00
Linus Nielsen Feltzing
bd3d297b31
A checkbox widget
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4559 a1c6a512-1295-4272-9138-f99709370657
2004-04-28 22:20:27 +00:00
Jörg Hohensohn
4f36ea8fbf
First step of the voice-UI: the menus can talk. You need a "voicefont" file in .rockbox to use this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
2004-03-14 21:33:53 +00:00
Jörg Hohensohn
facfec0c77
give plugins access to ata_sleep(), useful for my next video player
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4292 a1c6a512-1295-4272-9138-f99709370657
2004-02-03 23:56:25 +00:00
Jörg Hohensohn
95298a9558
mp3 playback "engine" now in plugin API, rocks can make sound
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4285 a1c6a512-1295-4272-9138-f99709370657
2004-01-30 22:30:40 +00:00
Björn Stenberg
04519dbfa4
Restore LCD margins after plugin exits
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4220 a1c6a512-1295-4272-9138-f99709370657
2004-01-12 13:19:13 +00:00
Daniel Stenberg
1afa395c2f
The splash() function's second argument (keymask) is now removed, as it
...
was not used by any code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4201 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 09:58:58 +00:00
Jörg Hohensohn
bd8f448fd0
the video player plugin and file the type / plugin API for it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4145 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 07:44:43 +00:00
Daniel Stenberg
b062547747
typecast the five functions that still make a simulator produce compiler
...
warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4119 a1c6a512-1295-4272-9138-f99709370657
2003-12-09 06:48:55 +00:00
Hardeep Sidhu
48c2d0f929
Allow older versions of plugins to run so long as plugin api struct changes don't break backwards compatibility. Also added call to retrieve the portion of plugin buffer that is not being used by plugin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3888 a1c6a512-1295-4272-9138-f99709370657
2003-07-25 23:04:59 +00:00
Daniel Stenberg
7b247093c8
added functions for the calendar plugin, I don't increase the version since
...
I did that just minutes ago anyway...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3876 a1c6a512-1295-4272-9138-f99709370657
2003-07-24 10:02:45 +00:00
Daniel Stenberg
afd704261e
added three functions to the charcell version of the plugin struct, patch by
...
delorepierre@free.fr
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3870 a1c6a512-1295-4272-9138-f99709370657
2003-07-24 09:35:32 +00:00
Jerome Kuptz
c7d42bbbd7
update to the api to allow fetching of currently playing id3 struct. Adding the favorites plugin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3854 a1c6a512-1295-4272-9138-f99709370657
2003-07-20 21:29:16 +00:00
Björn Stenberg
13d56150b6
Added plugin support for 8MB-modified units. This bumps the plugin API version number again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3831 a1c6a512-1295-4272-9138-f99709370657
2003-07-13 22:15:19 +00:00
Björn Stenberg
0ef911d43c
Added widgets and keyboard to plugin api.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3823 a1c6a512-1295-4272-9138-f99709370657
2003-07-09 22:36:23 +00:00
Hardeep Sidhu
dd5d3f652f
Changed win32 simulator to use plugin.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3784 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 23:38:03 +00:00
Björn Stenberg
cf66686aec
Added qsort() to plugin api, and subsequently bumped the api version number. Also added a simulator debug printout.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3778 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 21:42:15 +00:00
Björn Stenberg
ba371fb595
Added plugin loader. Moved games, demos and the text viewer to loadable plugins. Copy your *.rock files to /.rockbox/rocks/
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3769 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 16:33:04 +00:00