Commit graph

260 commits

Author SHA1 Message Date
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