[REBOL] Re: Rebol.org plugin testing
From: SunandaDH::aol::com at: 14-Sep-2004 16:33
Gregg:
> I think the header solution, while requiring an explicit change, is
> probably the best solution right now. If it isn't there, we can use a
> default/fallback solution.
Thanks, that's what we've gone for -- at least until someone has a better
idea.
There're now a couple of extra fields on a Library header, and the
run-plugin.r script checks for them.
-----
EVERYONE PLEASE: if you own any scripts in the Library that can run under the
plugin **please** try to find the time in the next week or two to update them
to have the new Library header fields. Details are below.....
......Because, soon, those fields will be compulsory -- we won't offer a "run
plugin" option for scripts which are not explicitly "certified" by their owner
as runnable under the plugin.
Example of a script with the new header fields:
http://www.rebol.org/cgi-bin/cgiwrap/rebol/run-plugin.r?script-name=ascii-char
t.r
Previously it was clipped to the default 640x480 window size so you couldn't
see the whole layout.
-------
LIBRARY HEADER CHANGES
1. platform
If you want your script to run under the plugin, add 'plugin to this existing
entry. eg:
platform: [win plugin]
or
platform: [amiga mac plugin]
or
platform: [all plugin]
(That last one is inelegantly phrased. "all" now has to mean "all known
desktops" rather than "all possible environments").
2 Plugin:
If you add 'plugin to the platform header, then you need a new header field:
plugin: [size: 800x400]
where the size parameter defines, in pixels, the width and height of the
window needed to run your script.
More help on that here:
http://www.rebol.org/cgi-bin/cgiwrap/rebol/one-click-submission-help.r?help=pl
ugin
------
We've still got some other changes to make before fully unleashing the plugin
(so anyone can run a script under the plugin -- right now it is limited to
Library members). So if you can find the time to update your scripts now, you'll
be all set for when the next phase is completed.
Thanks everybody,
Sunanda.