Commit graph

41 commits

Author SHA1 Message Date
Frank Gevaerts
8d4ff638b9 Fix size_t handling in plugin_get_buffer()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25884 a1c6a512-1295-4272-9138-f99709370657
2010-05-07 19:27:42 +00:00
Jens Arnold
a5501d68cc Bump flash image version and adapt flashing documentation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20510 a1c6a512-1295-4272-9138-f99709370657
2009-03-24 01:11:44 +00:00
Andrew Mahone
23d9812273 loader-initialized global plugin API:
struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by
__header.api

the loader uses this pointer to initialize rb before calling entry_point

entry_point is no longer passed a pointer to the plugin API

all plugins, and pluginlib functions, are modified to refer to the
global rb

pluginlib functions which only served to copy the API pointer are
removed

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 10:34:40 +00:00
Jonathan Gordon
4b472de39b a few more button/statusbar fixes...
* hopefully fix the last of the plugins which dont handle the enw SYS event.
* fix FS#9750 - WPS's which dont specify (or force the wps on) wernt showing the statusbar at all
* lamp, battery_bench, *_flash button handling fixes
* plugins using the core menu code will again show the statusbar



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19656 a1c6a512-1295-4272-9138-f99709370657
2009-01-03 13:27:19 +00:00
Jens Arnold
546083c784 Merge the necessary changes for the new archos firmware flash images back to the trunk, including the related optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18821 a1c6a512-1295-4272-9138-f99709370657
2008-10-16 16:42:37 +00:00
Daniel Stenberg
2acc0ac542 Updated our source code header to explicitly mention that we are GPL v2 or
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Steve Bavin
6526577818 Plugin parameters should be const.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 09:57:56 +00:00
Nicolas Pennequin
357ffb3c46 Convert the whole codebase to UTF-8, except docs/COMMITTERS and tools/creative.c, which need checking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 10:32:46 +00:00
Dave Chapman
f02cba8096 Code cleaning - remove some unnecessary defined(SIMULATOR) checks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13369 a1c6a512-1295-4272-9138-f99709370657
2007-05-10 13:16:08 +00:00
Michael Sevakis
8676dc25f5 Missed a couple. Hopefully fix all warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13234 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 19:07:15 +00:00
Michael Sevakis
26d242ae65 General housekeeping: Make plugin buffer functions take size_t * instead of int * to match the parameter type of the buffer functions called in the core. Get rid of unsafe int * <==> size_t * casting. Use ssize_t where int was used and size_t where unsigned int was used in the buffer calls to not alter signedness in the plugins. No API version change since it should only be an issue for 64-bit sim builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13233 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 18:38:25 +00:00
Jens Arnold
f9b90e9103 Now charcell displays require lcd_update() for updating the main lcd content like bitmap displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 22:55:00 +00:00
Jens Arnold
79c8a8cbbe Let GCC check arguments of some more printf-style functions, also for plugins and codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12815 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 09:02:53 +00:00
Jens Arnold
4d6374c923 Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 21:56:08 +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
Jörg Hohensohn
13be9f14d7 allow the flash plugin to verify the RomBox link address
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7388 a1c6a512-1295-4272-9138-f99709370657
2005-08-23 07:26:40 +00:00
Jörg Hohensohn
36e2393ef9 allow smaller .ucl, to test bootbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6796 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 05:54:47 +00:00
Daniel Stenberg
6700ad8f20 adapted to build on iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5784 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 12:41:09 +00:00
Jens Arnold
b8c9a0caa3 Plugin fixes: Correct button name for MODE key in help texts, conforming to the manual & wiki documentation (Ondio plugins). Alternate image is selected with MINUS, not MENU (rockbox_flash for player). Shortened some help lines that didn't fit on the display with the default font (solitaire). Fixed a number of typos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5512 a1c6a512-1295-4272-9138-f99709370657
2004-12-26 14:56:05 +00:00
Jörg Hohensohn
d69c4995f6 the flash plugins are now checking the battery level first
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5332 a1c6a512-1295-4272-9138-f99709370657
2004-10-23 16:28:06 +00:00
Jörg Hohensohn
4d8fb1f9fe removed a Player warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5326 a1c6a512-1295-4272-9138-f99709370657
2004-10-22 20:49:17 +00:00
Jörg Hohensohn
e925d0a8b5 minor optical flaw
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5324 a1c6a512-1295-4272-9138-f99709370657
2004-10-22 20:42:01 +00:00
Jörg Hohensohn
27f68f1d24 allow Ondio ROM v1.04 for flashing, I changed my mind about the Ondio key assignment, some cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5323 a1c6a512-1295-4272-9138-f99709370657
2004-10-22 20:21:00 +00:00
Jörg Hohensohn
6a9e4b4f94 Ondio flash support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5213 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 17:16:27 +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
Jörg Hohensohn
69697aefe8 Added a check to prevent the flash plugins being used (and crashing) if Rockbox runs directly in flash ROM. (You need to RoLo a .ajz before re-flashing.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4906 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 22:54:04 +00:00
Jörg Hohensohn
0499ffb774 The .ucl flasher now tells if the bootloader is not up to date. I hope that eases to phase out the old one with the flat battery problem.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4378 a1c6a512-1295-4272-9138-f99709370657
2004-03-13 18:36:57 +00:00
Jörg Hohensohn
e692b0e34b prepared to flash uncompressed ucl such that suitable Rockbox builds directly execute from ROM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4252 a1c6a512-1295-4272-9138-f99709370657
2004-01-18 17:34:12 +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
4a80a738f1 now supporting V2 Recorder, firmware_flash has extra checks against files for wrong platform (hope it's not too strict, causing false rejects)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4084 a1c6a512-1295-4272-9138-f99709370657
2003-11-30 17:24:42 +00:00
Jörg Hohensohn
7dfe57b92e not yet for V2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4067 a1c6a512-1295-4272-9138-f99709370657
2003-11-25 23:33:05 +00:00
Jörg Hohensohn
20b61a2e88 version check removed, pointless since players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3945 a1c6a512-1295-4272-9138-f99709370657
2003-09-01 05:42:59 +00:00
Jörg Hohensohn
a8b672b0f5 filesize limit lowered to 40KB, player images are so small
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3941 a1c6a512-1295-4272-9138-f99709370657
2003-08-25 21:49:23 +00:00
Jörg Hohensohn
025630640e - Thanks to Magnus Holmgren for Player port
- simplified greetmessages when "playing" a UCL file, get checked right away, saves a buttonpress


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3919 a1c6a512-1295-4272-9138-f99709370657
2003-08-04 21:16:43 +00:00
Jörg Hohensohn
9d3e5c6d1d plugin_get_buffer() makes my plugin smaller, can get the sector buffer at runtime
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3895 a1c6a512-1295-4272-9138-f99709370657
2003-07-27 22:06:58 +00:00
Björn Stenberg
066857e9b9 Flash plugin requires recorder for now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3894 a1c6a512-1295-4272-9138-f99709370657
2003-07-27 08:03:30 +00:00
Jörg Hohensohn
7d889c87df the plugin half of Lee Marlow's patch: second agument can be the filename of the .ucl to be flashed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3887 a1c6a512-1295-4272-9138-f99709370657
2003-07-25 17:34:42 +00:00
Daniel Stenberg
754426e11f Massive code-policing. Use proper indent. Use proper comments. Use proper
source code width.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3857 a1c6a512-1295-4272-9138-f99709370657
2003-07-21 10:56:23 +00:00
Linus Nielsen Feltzing
16f57af62b The rockbox_flash plugin is a target-only plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3838 a1c6a512-1295-4272-9138-f99709370657
2003-07-16 22:45:29 +00:00
Jörg Hohensohn
50192e87dc Johan Vromans' fix after file check fails
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3835 a1c6a512-1295-4272-9138-f99709370657
2003-07-16 21:32:20 +00:00
Jörg Hohensohn
6fad145b9e The plugin which reflashes the second image. I release it now to become part of the build, so that I don't have to maintain and distribute it every time the plugin API version is bumped.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3832 a1c6a512-1295-4272-9138-f99709370657
2003-07-13 22:57:13 +00:00