Commit graph

68 commits

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