[opensource-dev] Pre-processing chat input (was Re: Review Request: STORM-829 Viewer 2 does not parse /me in object Instant Messages

2011-01-08 Thread Ponzu
This reminds me a little of unix/sh/bash command line parsing, only much
much simpler.  We have almost nothing to pre-preprocess, though some of the
TPVs do somewhat more.

Could/should there be a llPreProcessChatLine() function.  That way,

You would reduce code duplication like =="/me " == "/me' "
You would have a central place to put improvements.

I always wanted things like

/follow 
/goto 
/pointat 

etc etc etc.  (Being an ancient old keyboard kinda guy...)

just thinking...

ponzu


>
>
___
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

[opensource-dev] https://jira.secondlife.com/browse/SH-489

2011-01-08 Thread Lance Corrimal
Hi there,

am I the only one who thinks that 
https://jira.secondlife.com/browse/SH-489 should be rated a bit higher 
than "minor, will be fixed in the distant future"?


bye,
LC
___
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


Re: [opensource-dev] Pre-processing chat input (was Re: Review Request: STORM-829 Viewer 2 does not parse /me in object Instant Messages

2011-01-08 Thread Jonathan Welch
Yesterday it was suggested to substitute /me at some early point.

In this particular case it would not work for two reasons:

1) "/me" has to pass through the communications system so when it
arrives at the viewer from the server the various components that
display the line can see it is a "/me" line and insert the name in
italics or otherwise "do the right thing".  You have local chat
toasts, chat history, the IM window, etc.

2) There are 3 ways messages can arrive from objects (llSay,
llOwnerSay, and llInstantMessage) so there is no way they can be
processed until the arrive at your viewer for display.

-Jonathan
___
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