Commit graph

239 commits

Author SHA1 Message Date
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
bf2946ab7a Added missing sim_ prefixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6087 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 21:58:09 +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
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
Jean-Philippe Bernardy
effb196053 random longness fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5950 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 13:28:39 +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
Jean-Philippe Bernardy
81395dbb7d long policy fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5948 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 12:24:24 +00:00
Linus Nielsen Feltzing
e8b443052d /me is silly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5868 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 13:03:21 +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
Jean-Philippe Bernardy
5804664fe7 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5845 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 23:11:20 +00:00
Jean-Philippe Bernardy
f64939eeda oops again, incomplete long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5843 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 22:56:37 +00:00
Jean-Philippe Bernardy
830842ad9f oops, incomplete long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5841 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 22:20:06 +00:00
Jean-Philippe Bernardy
947dceb205 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5839 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 21:54:31 +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
Jean-Philippe Bernardy
3f65c3f42f long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5713 a1c6a512-1295-4272-9138-f99709370657
2005-01-30 14:33:33 +00:00
Jens Arnold
f3a69d4b48 Consistent declaration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5666 a1c6a512-1295-4272-9138-f99709370657
2005-01-26 22:54:32 +00:00
Jens Arnold
6baa55a8eb Fixed yellow builds (int->long)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5646 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 01:39:24 +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
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
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
2f20b3e784 Const policed pointer arguments to functions, part 4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5001 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 19:59:06 +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
Jens Arnold
0ceaa5e365 Const policed pointer arguments to functions, part 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4996 a1c6a512-1295-4272-9138-f99709370657
2004-08-17 01:45:48 +00:00
Jens Arnold
c76c568b35 Const policed pointer arguments to functions, part 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
2004-08-16 23:37:23 +00:00
Jens Arnold
2b0694c694 More const policeing step 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4982 a1c6a512-1295-4272-9138-f99709370657
2004-08-03 05:58:46 +00:00
Jens Arnold
abe77a1a2a More const policeing step 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4978 a1c6a512-1295-4272-9138-f99709370657
2004-08-01 21:50:57 +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
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
3ea8dd2d98 Bumped the API version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4908 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 08:11:52 +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
0258287e57 Made the char property lookup table constant
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4905 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 22:32:17 +00:00
Jens Arnold
638dd6786a Const'ed the logo, the bitmaps and the credits (optimization for running from ROM)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4896 a1c6a512-1295-4272-9138-f99709370657
2004-07-19 21:46:37 +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
c685b35611 Bumped PLUGIN_API_VERSION
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4848 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 09:39:11 +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
cac729ef82 remove_tread() -> remove_thread()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4788 a1c6a512-1295-4272-9138-f99709370657
2004-06-22 07:17:17 +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
8fb1141697 Forgot to bump api version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4749 a1c6a512-1295-4272-9138-f99709370657
2004-06-15 23:02:59 +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
2d446fef06 Fixed lcd_bitmap() to use the bitmap format generated by bmp2rb correctly. Now it works for height > 8. Adapted font transposing & changed some other places to take advantage of that. bounce.c was (apart from fonts) the only routine that used the old format correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4620 a1c6a512-1295-4272-9138-f99709370657
2004-05-14 22:55:05 +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
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
Linus Nielsen Feltzing
18d5d30c1c Better POSIX compatibility for mkdir(), rmdir() and opendir()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4521 a1c6a512-1295-4272-9138-f99709370657
2004-04-20 10:15:39 +00:00
Jörg Hohensohn
0ac26480cc fixed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4294 a1c6a512-1295-4272-9138-f99709370657
2004-02-05 09:22:29 +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
73681ff4ef inconsistent argument type for backlight_set_timeout() fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4287 a1c6a512-1295-4272-9138-f99709370657
2004-01-30 23:27:44 +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
Daniel Stenberg
7b4cc78f03 Updated the plugin API number due to the modified splash(). The plugins made
now won't work with the previous Rockbox and vice versa.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4205 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 12:04:30 +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
ae960a9ece my take at fixing the simulator warnings by adding mode_t, size_t, ssize_t
and off_t


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4116 a1c6a512-1295-4272-9138-f99709370657
2003-12-08 21:58:38 +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
Robert Hak
c4ec0a2a3d #defining around each function is not a good idea after all
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3881 a1c6a512-1295-4272-9138-f99709370657
2003-07-24 18:56:30 +00:00
Robert Hak
e4e8220906 clean simulator warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3879 a1c6a512-1295-4272-9138-f99709370657
2003-07-24 12:21:24 +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
b789d8a97b killed a warning in plugin.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3855 a1c6a512-1295-4272-9138-f99709370657
2003-07-20 22:03:19 +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
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