On Sat, Jun 19, 2010 at 11:47 AM, Henri Beauchamp <sl...@hotmail.com> wrote:
> I was in the process of creating a patch to backport the new LSL functions
> to viewer v1.23, but I noticed that some of these functions, while
> already implemented server-side, are not even implemented in viewer 2...
>
> For example, llGetLinkPrimitiveParams() does compile (in any viewer) but
> isn't highlighted because this function is not declared in
> indra/lscript/lscript_library/lscript_library.cpp
> Since the functions in this file cannot be added in a random order, one
> can't add it by their own accord till LL provides the updated file, with
> whatever order they chose for all the new functions.

Third party viewers can add anything to that file in any order with no
real consequence. The big scary warnings in that file are a legacy of
the old days when the viewer compiled its own bytecode. That file
might also be used by the server code these days, but even if so,
that's of no real concern to third party viewer developers.

McCabe added the new functions and keywords to Imprudence recently,
here's the commit with the changes:

  http://github.com/jacek/imprudence/commit/a3182539

I can email it to you as a patch if you want, just let me know (privately).

Regards,

- Jacek

P.S. In Viewer 2, the tooltips seem to be defined in
indra/newview/skins/default/xui/en-us/strings.xml (I guess the ones in
lscript_library.cpp are ignored now). But, it is missing
llGetLinkPrimitiveParams. Perhaps someone affected by this should file
a JIRA ticket for the missing tooltip.
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to