Giter Club home page Giter Club logo

lslforge's People

Contributors

elnewfie avatar pellsmit avatar raysilent avatar simon-nicholls avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lslforge's Issues

Unit Tests break when specific string is entered in *.lslt (both test run and test editor fail)

What steps will reproduce the problem?
1. With a function similar to this one:
string InterpretSpecialCommands(string specialcommand,string Username,key 
Userkey)
2. Create a test that tries to call the function with specialcommand as in the 
following line:
Shout:8,au4gp734ga34GQ§H$§$a48gö847agfugfgaweugiöeurigfiuerhlösehrgheriusle
ughlsehrkgjshgjhskdfgkjesrhgkjserhlgkjserhgkjsehkjrghlkejrhkejhlksgj
3. Try to run the test -> test does not even start
4. Close the test file and try to open it again -> exception

What is the expected output? What do you see instead?
Running the tests

What version of the product are you using? On what operating system?
LSLForge 0.1.0 win32

Original issue reported on code.google.com by sugi.tokudan on 23 Nov 2011 at 1:03

Update to compile under recent Haskell Platform

What steps will reproduce the problem?
1. Install Haskell-platform >=11.0
2. cabal install

What is the expected output? What do you see instead?
Expected: completed build of Haskell LSLForge
Actual: irreconcilable package dependencies, varying depending on specific 
installation

What version of the product are you using? On what operating system?
current git head (0.1.2)

Please provide any additional information below.
As far as I can tell, it is difficult (impossible?) to compile on recent OSX, 
as the suggested ghc is 6.10.4.  But versions prior to 6.12 had issues on OSX 
with generating 32bit executables.  More recent versions do not support the 
older versions of dependencies required by LSLForge, for instance: 
haskell98-1.1.0.1 requires array ==0.3.* but LSLForge requires array ==0.2.*


Original issue reported on code.google.com by [email protected] on 22 Aug 2012 at 12:04

Compiler doesn't recognize additions from 1.4 and 1.5

I recently updated LSL Forge to version 1.5, and it still can't understand 
OBJECT_ROOT, OBJECT_PHYSICS, or any other function you added in versions 1.4 
and 1.5

I attempted a clean install by purging LSLForge and re-downloading, but it had 
no effect. It's still broken.

I'm running the Windows version on Windows 8 Pro, in Eclipse 4.2.2

Original issue reported on code.google.com by [email protected] on 7 Jun 2013 at 4:41

Bad optimization for bitfields.

I use LSLForge to develop a vendor system, and one of the pieces of code I 
implemented was that if the owner clicked it during startup and had not yet 
granted debit perms, then the vendor would resend the perms request.

However, the code for checking if debit perms had not been granted was getting 
optimized out to an entirely different comparison.

It went from this:

(llGetPermissions() & PERMISSION_DEBIT) != PERMISSION_DEBIT

to this:

(llGetPermissions() & 0)

This caused the comparison to always evaluate to FALSE, when the intended code 
should be evaluating to TRUE if debit perms were not granted.

Original issue reported on code.google.com by [email protected] on 21 Apr 2014 at 7:43

project for is null!

What steps will reproduce the problem?
1. create a new LSL Project
2. look at error log
3.

What is the expected output? What do you see instead?
no errors should be seen- instead numerous entries


project for  is null!

java.lang.Throwable
    at lslforge.decorators.ErrorDecorator.decorate(ErrorDecorator.java:42)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
    at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
    at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

What version of the product are you using? On what operating system?

LSLForge 0.1.6
Win 7 64bit
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.standard.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product 
org.eclipse.epp.package.standard.product

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 12 Jan 2014 at 1:46

LSLForge compiles lslp to lsl much too often even without code changes

What steps will reproduce the problem?
1. closeEclipse with a lslp left open / reopen Eclipse
2. find LSL Forge evaluate lslp code that was open last time Eclipse was closed
3. look at the optimized lsl that got refreshed+timestamped

What is the expected output? What do you see instead?
no recompiled of lsl when there are no changes
instead most of the code gets recompiled just to have a changed first comment 
line stating compile date


What version of the product are you using? On what operating system?
LSLForge 0.16 patched, Eclipse Kepler, Java 1.6

Please provide any additional information below.
see https://code.google.com/p/lslforge/issues/detail?id=3#c12
this is a pita with Git...

Original issue reported on code.google.com by [email protected] on 31 Mar 2014 at 12:20

Please allow circular dependencies.

Forbidding circular dependencies makes it very difficult to properly modularize 
some code.  Take, for example, two different components on a HUD that loosely 
depend on each other's data, but are implemented in two different lslm files.  
It can be worked around in hackish ways, but that breaks the idea of clean 
encapsulation.

Since it's all going into the same .lsl output file anyway, is there any 
particular reason that circular dependencies are disallowed?

Original issue reported on code.google.com by [email protected] on 11 Jun 2012 at 4:15

licence text general / linux specific

licence missing for lslforge linux

also please change the first line to a short description like
"BSD licence" or "LSL Forge licence" as it is the text shown in the list of 
licences


Original issue reported on code.google.com by [email protected] on 17 Jan 2012 at 4:06

Cannot construct lslforge.sim.SimProject$WorldNode as it does not have a no-args constructor

---- Debugging information ----
message             : Cannot construct lslforge.sim.SimProject$WorldNode as it 
does not have a no-args constructor
cause-exception     : 
com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct lslforge.sim.SimProject$WorldNode as it 
does not have a no-args constructor
class               : lslforge.sim.SimProject$WorldNode
required-type       : lslforge.sim.SimProject$WorldNode
path                : /worldNode
-------------------------------

When I try to create a .simp

Original issue reported on code.google.com by [email protected] on 18 Jun 2014 at 3:50

LSLforge improperly handling hexadecimal integers

Given a hexadecimal value in your LSL scripts, LSLforge will automatically 
convert it to an integer value.  However, this is bugging up some code I was 
testing.

Namely, the hex value 0x80000000 is being converted to 2147483648, but when 
entered into a script in SL or InWorldz, such as 
llOwnerSay((string)0x80000000); the integer value reported is -2147483648.

This is with the 64bit Linux version of LSLforge.  A friend of mine suspects 
that LSLforge (or maybe Eclipse) is converting it to a 64bit integer, when it 
should be 32bit.

Original issue reported on code.google.com by [email protected] on 29 Apr 2014 at 5:45

Feature Request: make replacement of LSL Constants optional

I compared LSL scripts memory usage of

lsl code which LSLForge optimized/with replaced constants (TRUE, FALSE, etc.) 
to the same script with manually 'unreplaced' constants
and did not find differences - at least not after the very first script init 
was done.

To me it looks like MONO handles those constants quite good
http://wiki.secondlife.com/wiki/LSL_Constants_vs_Globals


In this case, not replacing constants at least improves script readability and 
should give no issue unless the line gets too long - so make it optional... 
maybe call it obfuscation ;)

Original issue reported on code.google.com by [email protected] on 31 Mar 2014 at 1:06

llJson* Not implemented

What steps will reproduce the problem?
1. Use llJsonSetValue() or other.

What is the expected output? What do you see instead?
Expect JSON to be returned.
Get: unimplemented predefined function called: llJsonSetValue("", 
["2342342342"], "")


What version of the product are you using? On what operating system?
0.1.6 w/ x64 linux platform

Please provide any additional information below.
Only expected this to work since it was in the 0.1.6 release notes.

Original issue reported on code.google.com by [email protected] on 25 Feb 2014 at 10:04

LSLPlus install no longer works in Helios

What steps will reproduce the problem?
1. Got to Help->Install new software 
2. put in the URL: http://lslforge.googlecode.com/git/eclipse
3. uncheck group by Category
4. After finish button Error box text: 

An error occurred while collecting items to be installed
session context was:(profile=PlatformProfile, 
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: 
osgi.bundle,org.eclipse.pde.build,3.6.1.R36x_v20100823
No repository found containing: 
osgi.bundle,org.eclipse.pde.core,3.6.1.v20100902_r361
No repository found containing: 
osgi.bundle,org.eclipse.pde.launching,3.6.0.v20100601
No repository found containing: 
osgi.bundle,org.eclipse.pde.ui,3.6.1.v20100810_r361
No repository found containing: 
osgi.bundle,org.eclipse.ui.views.log,1.0.100.v20100423
What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
I am on Centos 6.3


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 25 Jan 2013 at 3:50

Information and Warnings when starting Eclipse with lslforge plugin installed.

What steps will reproduce the problem?
1. Clean install of lslforge plug-in
2. Start eclipse
3.

What is the expected output? What do you see instead?
No messages in the messages window.  Messages, some information, some warnings. 
 It doesn't appear to be an issue.

I also get various warning messages related to a project that was created using 
the HTTP Request Example.  These are very annoying as they fill the Error log 
with lots of messages for any project I run.

What version of the product are you using? On what operating system?
OSX  lslforge 0.1.3

Please provide any additional information below.

Here is the session data:
eclipse.buildId=M20120208-0800
java.version=1.6.0_37
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product -keyring 
/Users/fluidos/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86 -product 
org.eclipse.epp.package.java.product -keyring /Users/fludios/.eclipse_keyring 
-showlocation

Warnings:
Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 
'org.eclipse.ui.actionDefinitions' extension points.
 Then as subsets of this warning:

Commands should really have a category: plug-in='lslforge', 
id='lslforge.project.removeSupport', categoryId='lslforge.support'

Commands should really have a category: plug-in='lslforge', 
id='lslforge.project.addSupport', categoryId='lslforge.support'



Information message 2
executablePath = 
/Applications/eclipse3.7/plugins/lslforge_macosx_x86_0.1.3/os/macosx/x86/LSLForg
e

Information 1
metaDataString = 
<sim-meta-data><eventDescriptors><event-def><name>Chat</name><description>Avatar
 chats</description><params><param><name>Avatar</name><description>The avatar 
that should do the chatting</description><type 
class="avatar"></type></param><param><name>Message</name><description>What the 
avatar should say</description><type 
class="value"><valueType>string</valueType></type></param><param><name>Channel</
name><description>The channel to chat on</description><type 
class="value"><valueType>integer</valueType></type></param></params></event-def>
<event-def><name>Touch Prim</name><description>Avatar touches a prim for a 
duration</description><params><param><name>Prim</name><description>The prim the 
avatar should touch</description><type 
class="prim"></type></param><param><name>Avatar</name><description>The avatar 
that should do the touching</description><type 
class="avatar"></type></param><param><name>Duration</name><description>The 
duration of the touch (in seconds)</description><type 
class="value"><valueType>float</valueType></type></param></params></event-def><e
vent-def><name>at_rot_target</name><description>This is a raw LSL event: raised 
when a scripted object comes within an angular distance of a target 
rotation</description><params><param><name>Script</name><description>name of 
script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>tnum</name><description></description><
type 
class="value"><valueType>integer</valueType></type></param><param><name>targetRo
t</name><description></description><type 
class="value"><valueType>rotation</valueType></type></param><param><name>ourrot<
/name><description></description><type 
class="value"><valueType>rotation</valueType></type></param></params></event-def
><event-def><name>at_target</name><description>This is a raw LSL event: raised 
when a scripted object comes within a distance of a target 
posisition</description><params><param><name>Script</name><description>name of 
script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>tnum</name><description></description><
type 
class="value"><valueType>integer</valueType></type></param><param><name>targetPo
s</name><description></description><type 
class="value"><valueType>vector</valueType></type></param><param><name>ourpos</n
ame><description></description><type 
class="value"><valueType>vector</valueType></type></param></params></event-def><
event-def><name>attach</name><description>This is a raw LSL event: raised 
whenever the scripted object becomes attached or detached from an 
avatar</description><params><param><name>Object Key</name><description>key of 
object to deliver to</description><type 
class="object"></type></param><param><name>id</name><description></description><
type 
class="value"><valueType>key</valueType></type></param></params></event-def><eve
nt-def><name>changed</name><description>This is a raw LSL event: raised 
whenever one of a variety of changes occur to a prim/object containing the 
script</description><params><param><name>Object Key</name><description>key of 
object to deliver to</description><type 
class="object"></type></param><param><name>change</name><description></descripti
on><type 
class="value"><valueType>integer</valueType></type></param></params></event-def>
<event-def><name>collision</name><description>This is a raw LSL event: raised 
when a scripted object collides with another 
object/avatar</description><params><param><name>Prim Key</name><description>key 
of prim to deliver to</description><type 
class="prim"></type></param><param><name>Avatar/Object 
key</name><description>Avatar/Object key for collision</description><type 
class="any-key"></type></param><param><name>Link Number</name><description>Link 
Source of Collision</description><type 
class="value"><valueType>integer</valueType></type></param><param><name>num_dete
cted</name><description></description><type 
class="value"><valueType>integer</valueType></type></param></params></event-def>
<event-def><name>collision_end</name><description>This is a raw LSL event: 
raised when a scripted object stops colliding with another 
object/avatar</description><params><param><name>Prim Key</name><description>key 
of prim to deliver to</description><type 
class="prim"></type></param><param><name>Avatar/Object 
key</name><description>Avatar/Object key for collision</description><type 
class="any-key"></type></param><param><name>Link Number</name><description>Link 
Source of Collision</description><type 
class="value"><valueType>integer</valueType></type></param><param><name>num_dete
cted</name><description></description><type 
class="value"><valueType>integer</valueType></type></param></params></event-def>
<event-def><name>collision_start</name><description>This is a raw LSL event: 
raised when a scripted object starts colliding with another 
object/avatar</description><params><param><name>Prim Key</name><description>key 
of prim to deliver to</description><type 
class="prim"></type></param><param><name>Avatar/Object 
key</name><description>Avatar/Object key for collision</description><type 
class="any-key"></type></param><param><name>Link Number</name><description>Link 
Source of Collision</description><type 
class="value"><valueType>integer</valueType></type></param><param><name>num_dete
cted</name><description></description><type 
class="value"><valueType>integer</valueType></type></param></params></event-def>
<event-def><name>control</name><description>This is a raw LSL event: raised 
when a the state of controls change, if the script has &apos;taken 
controls&apos;</description><params><param><name>Script</name><description>name 
of script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>id</name><description></description><ty
pe 
class="value"><valueType>key</valueType></type></param><param><name>held</name><
description></description><type 
class="value"><valueType>integer</valueType></type></param><param><name>change</
name><description></description><type 
class="value"><valueType>integer</valueType></type></param></params></event-def>
<event-def><name>dataserver</name><description>This is a raw LSL event: raised 
when data is received from the dataserver (in response to one of a variety of 
ll-function 
calls)</description><params><param><name>Script</name><description>name of 
script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>queryid</name><description></descriptio
n><type 
class="value"><valueType>key</valueType></type></param><param><name>data</name><
description></description><type 
class="value"><valueType>string</valueType></type></param></params></event-def><
event-def><name>email</name><description>This is a raw LSL event: raised when 
the llGetNextEmail function call is 
answered</description><params><param><name>Script</name><description>name of 
script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>time</name><description></description><
type 
class="value"><valueType>string</valueType></type></param><param><name>address</
name><description></description><type 
class="value"><valueType>string</valueType></type></param><param><name>subj</nam
e><description></description><type 
class="value"><valueType>string</valueType></type></param><param><name>message</
name><description></description><type 
class="value"><valueType>string</valueType></type></param><param><name>num_left<
/name><description></description><type 
class="value"><valueType>integer</valueType></type></param></params></event-def>
<event-def><name>http_request</name><description>This is a raw LSL event: 
raised when an script receives an http 
request</description><params><param><name>Script</name><description>name of 
script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>request_id</name><description></descrip
tion><type 
class="value"><valueType>key</valueType></type></param><param><name>method</name
><description></description><type 
class="value"><valueType>string</valueType></type></param><param><name>body</nam
e><description></description><type 
class="value"><valueType>string</valueType></type></param></params></event-def><
event-def><name>http_response</name><description>This is a raw LSL event: 
raised when an http response is received for an http request that is 
pending</description><params><param><name>Script</name><description>name of 
script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>request_id</name><description></descrip
tion><type 
class="value"><valueType>key</valueType></type></param><param><name>status</name
><description></description><type 
class="value"><valueType>integer</valueType></type></param><param><name>metadata
</name><description></description><type 
class="value"><valueType>list</valueType></type></param><param><name>body</name>
<description></description><type 
class="value"><valueType>string</valueType></type></param></params></event-def><
event-def><name>land_collision</name><description>This is a raw LSL event: 
raised when a scripted object is colliding with the 
ground</description><params><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>pos</name><description></description><t
ype 
class="value"><valueType>vector</valueType></type></param></params></event-def><
event-def><name>land_collision_end</name><description>This is a raw LSL event: 
raised when a scripted object stops colliding with the 
ground</description><params><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>pos</name><description></description><t
ype 
class="value"><valueType>vector</valueType></type></param></params></event-def><
event-def><name>land_collision_start</name><description>This is a raw LSL 
event: raised when a scripted object starts colliding with the 
ground</description><params><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>pos</name><description></description><t
ype 
class="value"><valueType>vector</valueType></type></param></params></event-def><
event-def><name>link_message</name><description>This is a raw LSL event: raised 
when a scripted prim receives a link message, sent via 
llMessageLinked</description><params><param><name>Prim 
Key</name><description>key of prim to deliver to</description><type 
class="prim"></type></param><param><name>sender_num</name><description></descrip
tion><type 
class="value"><valueType>integer</valueType></type></param><param><name>num</nam
e><description></description><type 
class="value"><valueType>integer</valueType></type></param><param><name>str</nam
e><description></description><type 
class="value"><valueType>string</valueType></type></param><param><name>id</name>
<description></description><type 
class="value"><valueType>key</valueType></type></param></params></event-def><eve
nt-def><name>listen</name><description>This is a raw LSL event: raised whenever 
&apos;chat&apos; is detected that matches constraints specified via a llListen 
call</description><params><param><name>Script</name><description>name of script 
to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>channel</name><description></descriptio
n><type 
class="value"><valueType>integer</valueType></type></param><param><name>name</na
me><description></description><type 
class="value"><valueType>string</valueType></type></param><param><name>id</name>
<description></description><type 
class="value"><valueType>key</valueType></type></param><param><name>message</nam
e><description></description><type 
class="value"><valueType>string</valueType></type></param></params></event-def><
event-def><name>money</name><description>This is a raw LSL event: raised when 
an agent pays a Linden dollar amount to the 
object</description><params><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>id</name><description></description><ty
pe 
class="value"><valueType>key</valueType></type></param><param><name>amount</name
><description></description><type 
class="value"><valueType>integer</valueType></type></param></params></event-def>
<event-def><name>moving_end</name><description>This is a raw LSL event: raised 
when a scripted object stops moving or has entered a different 
region</description><params><param><name>Object Key</name><description>key of 
object to deliver to</description><type 
class="object"></type></param></params></event-def><event-def><name>moving_start
</name><description>This is a raw LSL event: raised when a scripted object 
starts moving or has entered a different 
region</description><params><param><name>Object Key</name><description>key of 
object to deliver to</description><type 
class="object"></type></param></params></event-def><event-def><name>no_sensor</n
ame><description>This is a raw LSL event: raised when sensors are active, but 
are not sensing 
anything</description><params><param><name>Script</name><description>name of 
script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param></params></event-def><event-def><name>not_at_rot_tar
get</name><description>This is a raw LSL event: raised when a scripted object 
is outside the specified angular distance of a target set by 
llRotTarget</description><params><param><name>Script</name><description>name of 
script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param></params></event-def><event-def><name>not_at_target<
/name><description>This is a raw LSL event: raised when a scripted object is 
outside a specified range of a target set by 
llTarget</description><params><param><name>Script</name><description>name of 
script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param></params></event-def><event-def><name>object_rez</na
me><description>This is a raw LSL event: raised when a script rezzes another 
object.  The id is the GUID of the object that it 
rezzed</description><params><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>id</name><description></description><ty
pe 
class="value"><valueType>key</valueType></type></param></params></event-def><eve
nt-def><name>on_rez</name><description>This is a raw LSL event: raised when an 
object rezzes (from an agents inventory, an objects inventory, or as an 
attachment when an user logs on)</description><params><param><name>Object 
Key</name><description>key of object to deliver to</description><type 
class="object"></type></param><param><name>start_param</name><description></desc
ription><type 
class="value"><valueType>integer</valueType></type></param></params></event-def>
<event-def><name>remote_data</name><description>This is a raw LSL event: raised 
when something XML-RPC related 
happens</description><params><param><name>Script</name><description>name of 
script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>event_type</name><description></descrip
tion><type 
class="value"><valueType>integer</valueType></type></param><param><name>channel<
/name><description></description><type 
class="value"><valueType>key</valueType></type></param><param><name>message_id</
name><description></description><type 
class="value"><valueType>key</valueType></type></param><param><name>sender</name
><description></description><type 
class="value"><valueType>string</valueType></type></param><param><name>idata</na
me><description></description><type 
class="value"><valueType>integer</valueType></type></param><param><name>sdata</n
ame><description></description><type 
class="value"><valueType>string</valueType></type></param></params></event-def><
event-def><name>run_time_permissions</name><description>This is a raw LSL 
event: raised when permissions granted to a script change, or a user responds 
to a permission request from the 
script</description><params><param><name>Script</name><description>name of 
script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>perm</name><description></description><
type 
class="value"><valueType>integer</valueType></type></param></params></event-def>
<event-def><name>sensor</name><description>This is a raw LSL event: raised when 
the sensor set up by llSensor/llSensorRepeat senses 
something</description><params><param><name>Script</name><description>name of 
script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>Avatar/Object 
key</name><description>Sensed Avatar/Ojbect Key</description><type 
class="any-key"></type></param><param><name>num_detected</name><description></de
scription><type 
class="value"><valueType>integer</valueType></type></param></params></event-def>
<event-def><name>state_entry</name><description>This is a raw LSL event: raised 
when a state is 
entered</description><params><param><name>Script</name><description>name of 
script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param></params></event-def><event-def><name>state_exit</na
me><description>This is a raw LSL event: raised when a state is 
exited</description><params><param><name>Script</name><description>name of 
script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param></params></event-def><event-def><name>timer</name><d
escription>This is a raw LSL event: raised when the timer set up by 
llSetTimerEvent 
triggers</description><params><param><name>Script</name><description>name of 
script to deliver to</description><type 
class="script"></type></param><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param></params></event-def><event-def><name>touch</name><d
escription>This is a raw LSL event: raised when an agent touches a scripted 
object</description><params><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>Avatar key</name><description>Key of 
agent touching prim</description><type 
class="avatar"></type></param><param><name>Grab vector</name><description>Force 
applied by agent grabbing prim</description><type 
class="value"><valueType>vector</valueType></type></param><param><name>Link 
Number</name><description>Link source of touch</description><type 
class="value"><valueType>integer</valueType></type></param><param><name>num_dete
cted</name><description></description><type 
class="value"><valueType>integer</valueType></type></param></params></event-def>
<event-def><name>touch_end</name><description>This is a raw LSL event: raised 
when an agent stops touching a scripted 
object</description><params><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>Avatar key</name><description>Key of 
agent touching prim</description><type 
class="avatar"></type></param><param><name>Link Number</name><description>Link 
source of touch</description><type 
class="value"><valueType>integer</valueType></type></param><param><name>num_dete
cted</name><description></description><type 
class="value"><valueType>integer</valueType></type></param></params></event-def>
<event-def><name>touch_start</name><description>This is a raw LSL event: raised 
when an agent starts touching a scripted 
object</description><params><param><name>Prim Key</name><description>key of 
prim to deliver to</description><type 
class="prim"></type></param><param><name>Avatar key</name><description>Key of 
agent touching prim</description><type 
class="avatar"></type></param><param><name>Link Number</name><description>Link 
source of touch</description><type 
class="value"><valueType>integer</valueType></type></param><param><name>num_dete
cted</name><description></description><type 
class="value"><valueType>integer</valueType></type></param></params></event-def>
<event-def><name>transaction_result</name><description>This is a raw LSL event: 
triggered when task receives asynchronous data from llTransfer* function(s) 
call</description><params><param><name>Prim Key</name><description>key of prim 
to deliver to</description><type 
class="prim"></type></param><param><name>id</name><description></description><ty
pe 
class="value"><valueType>key</valueType></type></param><param><name>success</nam
e><description></description><type 
class="value"><valueType>integer</valueType></type></param><param><name>data</na
me><description></description><type 
class="value"><valueType>string</valueType></type></param></params></event-def><
/eventDescriptors></sim-meta-data>

Original issue reported on code.google.com by [email protected] on 11 Dec 2012 at 12:32

unnecesary parens around expressions cause issues with opensim based grids

What steps will reproduce the problem?
1. Generate a script from an lslp
2. Upload it to an OpenSIM based VW (in my case InWorldz).
3. Compiler gags on the extra parens

What is the expected output? What do you see instead?
While the parens aren't strictly speaking wrong, they cause widespread trouble. 
Would be nice to get a version that doesn't insert them.

What version of the product are you using? On what operating system?
First test drop. Linux Fedora 15 x86_64

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 26 Oct 2011 at 11:40

Conflict of global/local variables in modules

Let's say we have a module containig:

// Module.lslm

integer cols = 10;

string alignText(string text, integer cols) {
  llOwnerSay((string)cols);
...


// Script.lslp

$import Module.lslm m_;


After build we'll see:

// Script.lsl

string m_alignText(string text, integer cols) {
  llOwnerSay((string)m_cols);


Original issue reported on code.google.com by [email protected] on 2 Feb 2012 at 2:51

no support for pathfinding script calls

What steps will reproduce the problem?
1. try to create a pathfinding script from any of the examples at 
http://wiki.secondlife.com/wiki/Pathfinding_in_Second_Life

2. try to compile such a script
3. observe lots of "No such function in scope" errors


What version of the product are you using? On what operating system?
latest lslforge (0.1.2)

Please provide any additional information below.
pathfinding has been live for quite some time now, lslforge should really 
support the script calls by now

Original issue reported on code.google.com by [email protected] on 4 Sep 2012 at 12:11

LSLforge optimizes away CHANGED_REGION_START

The following code is used in the "magic box" serve for a networked vendor 
system I have under development:


    changed(integer change) {
        if(change & CHANGED_OWNER) {
            llResetScript();
        }
        if(change & CHANGED_REGION_START) {
            state getURL;
        }
    }


However, the LSLforge optimizer seems to fail to recognize the 
CHANGED_REGION_START constant, so the output of that event block is as follows:


    changed(integer change) {
        if ((change & 128)) {
            llResetScript();
        }
    }


Or in short, the check for a region restart has been removed, which breaks 
networking for my vendors and results in delivery failures because the vendors 
are unable to communicate product purchases to the server.

Original issue reported on code.google.com by [email protected] on 18 Jun 2014 at 9:57

New LSL functions/constants

(Will be fixed at raysilent-new-lsl-features-2012-04 clone)

https://wiki.secondlife.com/wiki/PRIM_SLICE (=35)
https://wiki.secondlife.com/wiki/HTTP_BODY_MAXLENGTH (=2)
https://wiki.secondlife.com/wiki/LlGetAgentList

Original issue reported on code.google.com by [email protected] on 18 Apr 2012 at 2:53

LSL modules not always found

What steps will reproduce the problem?
1. create LSLProject
2. create a folder inside project
3. create scripts and modules, use modules
create another project, put subfolders in, throw some modules you want to use 
in and make that projetct a reference 

What is the expected output? What do you see instead?
at least LSLFore should reliablely find and use modules in the same dir as the 
script using the module and go for subfolders too to get modules
Instead I get error signs where my $import line is, stating module could not be 
found
Also when I move a used and found module out the same folder script is in, 
script.lsl creations goes off/ script.lsl tab vanishes - but no error sign at 
import-statement line -
instead getting an error in error log, stating script.lsl not found


What version of the product are you using? On what operating system?
lslforge 0.1.6
Win 7 64 bit
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.6.0_45
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.standard.product

Please provide any additional information below.
Restarting Eclipse "solves" the problem as the module (in same dir) then is 
found at next edit, for modules in referenced projects (and there in root!) 
editing preferences of current project un/rechecking referenced project helps
Also helping is moving/having module at project root as this is the thing 
letting recognize LSLForge the module always

Original issue reported on code.google.com by [email protected] on 14 Jan 2014 at 2:32

Feature Request: copy-and-paste of all nodes

First of let me thank you for taking this up and bringing it back to life. 
You've done a fine job!

Now for the suggestions. Unit Tests are a great idea, and I understand the 
pull-down menus help weed out typo mistakes. But currently it takes too long to 
enter stuff, especially if we want to create multiple tests that are very 
similar to each other, covering different starting variables for example. 

Having cut-and-paste of the various nodes would help a lot!


Original issue reported on code.google.com by [email protected] on 12 Mar 2012 at 10:58

Doesn't work at all on Mac?

What steps will reproduce the problem?
1. Install LSL Forge along with the mac OS X binary.
2. Create an LSL Forge project (or import files from LSL Plus)
3. Open any .lslm or .lslp file.

What is the expected output? What do you see instead?
A working LSL editor would be expected. Instead all I get is what appears to be 
a plain-text editor in all black. At first I thought this was because all the 
colour settings for LSL Forge had defaulted to black, but after filling in some 
colours it still does not syntax highlight or compile to a .lsl file.

What version of the product are you using? On what operating system?
0.1.1 on Mac OS X.7.3, running Eclipse Indigo build 20120216-1857 (successfully 
run LSL Plus in previously).

Please provide any additional information below.
I uninstalled LSL Plus prior to installing LSL Forge, and have already tried 
uninstalling and reinstalling it to no effect. I get no errors of any kind, and 
the perspective opens correctly, but the editor windows appear to be 
inoperative. I've checked that the correct file-associations are present for 
.lslm and .lslp. I'm very confused by this!

Original issue reported on code.google.com by [email protected] on 11 May 2012 at 4:58

Opening eclipse from SL throws an error

What steps will reproduce the problem?
1. Open a script in SL
2. Press the Edit button (after configuring the SL External Editor to be eclipse

What is the expected output? What do you see instead?
I expect to open the script in eclipse, instead get:
Could not open the editor: Invalid Input: Must be IFileEditorInput

What version of the product are you using? On what operating system?
I'm using the latest lslforge on Eclipse Helios on win 7 (64 bit)


Please provide any additional information below.
Error stack is:
org.eclipse.ui.PartInitException: Invalid Input: Must be IFileEditorInput
    at lslforge.editor.LSLMultiPageEditor.init(LSLMultiPageEditor.java:246)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2863)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2674)
    at org.eclipse.ui.ide.IDE.openInternalEditorOnFileStore(IDE.java:1225)
    at org.eclipse.ui.internal.ide.application.DelayedEventsProcessor$1.run(DelayedEventsProcessor.java:106)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)



Original issue reported on code.google.com by [email protected] on 1 Apr 2013 at 8:28

State change in function

What steps will reproduce the problem?
1. Create a function that uses the 'conditional' hack to change states, like 
this:

bugstate() {
    if (TRUE)
        state otherState;
}

What is the expected output? What do you see instead?
Expected output: a warning about changing states in global functions.
Observed: The error "state changes not allowed from this context" - LSLForge 
Problem
This prevents the .lsl script from being assembled.

What version of the product are you using? On what operating system?
Linux Mint

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 11 Mar 2013 at 3:57

Editor switches involuntarily from the lslp file to the lsl file

What steps will reproduce the problem?
1. make changes in the lslp file
2. click save
3. switches annoyingly to the lsl file.

What is the expected output? What do you see instead?
I expect it to stay on the lslp file, since I may just be saving to save :)

What version of the product are you using? On what operating system?
0.1.2 on Indigo, Gentoo Linux x86_64

Please provide any additional information below.
I can not find an option to turn this off.  If I'm missing it, please let me 
know.

Original issue reported on code.google.com by [email protected] on 28 May 2012 at 4:37

Lslforge corrupts data during optimization

What steps will reproduce the problem?
1. Turn on the optimizer
2. "Compile" the script below

What is the expected output? What do you see instead?

The expected output is a script that will say "Test".  The actual result is a 
script that will say some random garbage, or else won't work in SL.

What version of the product are you using? On what operating system?

I'm using lslforge 0.1.1 on MacOS

Please provide any additional information below.

The attached script "compresses" an ascii string (7-bits) by packing it into 
into a 16-bit string.  Because the compress function is pure, the compiler does 
that in the optimizer, but there is some bug that causes it to not be done 
correctly.  My goal was to use lslforge to compress my strings at compile time, 
saving me memory in the completed script.  In this explanation I'm assuming the 
user uses Mono, but that script also works in LSL, just not in lslforge.

I also suggest that this script, since it's in the Public Domain, would make a 
good unit test for the optimizer too.  If someone can give me some direction, I 
might be able to help more.  Does anyone know if this will require making a 
custom string class, or just fixing bugs in the actual code?

I would also be willing to try to make a smaller sample, if someone can give me 
a hint where the problem might be.



//------------------------------------------------------------------------------
-
//Deme of bug...  Should print "test" instead of garbage

 // Demo of ASCII compression in Mono scripts
 // By Becky Pippen, 2009, contributed to Public Domain

 // Converts n = [0..0xff] to two hex characters
 //
 string hexChar2(integer n)
 {
     string hexChars = "0123456789abcdef";
     return llGetSubString(hexChars, n >> 4, n >> 4) +
            llGetSubString(hexChars, n & 0xf, n & 0xf);
 }

 // Given a single character c, this returns its Unicode ID number
 // This works only for character codes 0 through 0xffff.
 // For a more compact alternative, see UTF8ToUnicodeInteger()
 // found in http://wiki.secondlife.com/wiki/Combined_Library .
 //
 integer charToUnicodeIdNumber(string c)
 {
     integer cInt = llBase64ToInteger(llStringToBase64(c));

     if (!(cInt & 0x80000000)) {
         // UTF-8 single-byte form
         cInt = cInt >> 24;
     } else {
         if ((cInt & 0xe0000000) == 0xc0000000) {
             // two-byte UTF-8 form:  110v vvvv  10vv vvvv
             cInt = ((cInt & 0x1f000000) >> 18) |
                    ((cInt & 0x003f0000) >> 16);
         } else {
             // assume three-byte UTF-8 form:  1110 vvvv  10vv vvvv  10vv vvvv
             cInt = ((cInt & 0x0f000000) >> 12) |
                    ((cInt & 0x003f0000) >> 10) |
                    ((cInt & 0x00003f00) >> 8);
         } // else ignore the 4-byte UTF-8 form
     }

     return cInt;
 }

 // This is a memory-savings technique for use with Mono-compiled LSL scripts.
 // (It probably works in classic LSO too, but not as efficiently.) This technique
 // stores 15 bits of information in each 16-bit Unicode character. Use the
 // encode function below to convert any 15-bit data to a Unicode character, and
 // use the decode function to convert it back to the original 15-bit data.
 //
 // This example maps the data values 0 through 0x7fff to the Unicode
 // characters U-001000 through U-008fff. Use the matching function
 // decodeCharTo15Bits() to decode the Unicode character back into the original
 // 15-bit number.
 //
 // The technique used here is very similar to the technique used in the "Base 32768
 // Script" in http://wiki.secondlife.com/wiki/Key_Compression .

 // Convert any 15-bit integer into a single Unicode character
 //
 string encode15BitsToChar(integer num)
 {
     // Check the incoming range

     if (num < 0 || num >= 0x8000) {
         // illegal input -- do whatever is appropriate
         return "�";
     }

     // Bias the incoming numeric value by 0x1000 to avoid illegal Unicode codes:

     num += 0x1000;

     // Construct an escaped hex UTF-8 representation and return
     // it as a Unicode character

     return llUnescapeURL(
                   "%" + hexChar2(0xe0 + (num >> 12)) +
                   "%" + hexChar2(0x80 + ((num >> 6) & 0x3f)) +
                   "%" + hexChar2(0x80 + (num & 0x3f)));
 }


 // This is the inverse of encode15BitsToChar(), supra, q.v.
 // This expects a single 16-bit Unicode character that was created by
 // encode15BitsToChar() and returns the 15-bit numeric value used to create it.
 // The 15-bit return value will always be in the range 0x0000 - 0x7fff.
 //
 integer decodeCharTo15Bits(string ch)
 {
     string utf8 = llEscapeURL(ch); // convert to escaped hex UTF-8

     return
         (((integer)("0x" + llGetSubString(utf8, 1, 2)) & 0x1f) << 12) +
         (((integer)("0x" + llGetSubString(utf8, 4, 5)) & 0x3f) << 6) +
          ((integer)("0x" + llGetSubString(utf8, 7, 8)) & 0x3f) - 0x1000;
 }


 // Returns a Unicode string that encodes twice as many ASCII characters.
 // Use the matching function decompressAscii() to expand it back into
 // the original ASCII.
 //
 string compressAscii(string s)
 {
     integer len = llStringLength(s);

     // Append a space if needed to make s an even number of chars
     if (len % 2) {
        s += " ";
        ++len;
     }

     string encodedChars;
     integer i;
     for (i = 0; i < len; i += 2) {
         encodedChars += encode15BitsToChar(
                 charToUnicodeIdNumber(llGetSubString(s, i, i)) << 7 |
                 charToUnicodeIdNumber(llGetSubString(s, i+1, i+1)));
     }

     return encodedChars;
 }

 // This is the inverse of compressAscii()
 //
 string uncompressAscii(string s)
 {
     string result;

     integer len = llStringLength(s);
     integer i;
     for (i = 0; i < len; ++i) {
         integer cInt15 = decodeCharTo15Bits(llGetSubString(s, i, i));
         result += llUnescapeURL("%" + hexChar2(cInt15 >> 7) +
                                 "%" + hexChar2(cInt15 & 0x7f));
     }

     return result;
 }

//---------------------------------------
//Test demo program
//  Contributed into the Public Domain.
//
//This program prints "test" when run in LSL or Mono, but lslforge's optimizer 
will correct the program.

default {
    state_entry() {
        string testStr = uncompressAscii(compressAscii("test"));
        llOwnerSay(testStr);
    }
}

Original issue reported on code.google.com by [email protected] on 7 May 2012 at 5:33

Can't compile outside of Eclipse

What I would like to be able to do is call Eclipse to compile all of my lslp/m 
files into plain lsl, but without loading the giant UI. I couldn't find any 
documentation on how to do this, so I presume it will have to be added into 
LSLForge proper.

I want to work it into a build script for a project of mine and would like my 
scripts to be up to date if I decide to edit them outside of Eclipse (in vim 
for example.)

Original issue reported on code.google.com by [email protected] on 20 Nov 2011 at 5:52

Unit Tests do not recognize utf8 characters

What steps will reproduce the problem?
1. Make a llDialog() call with utf8 character:
e.g. llDialog("whateverUserKey","▶",[],100);
2. Run test on NORMAL, with the following expected call:
call:llDialog
- avatar (key): "whateverUserKey"
- message (string) : "▶"
- buttons (list) : []
- chat_channel (integer): 100


What is the expected output? What do you see instead?
Test should PASS.
Instead, Test FAILS, "unexpected call: llDialog("whateverUserKey","%B6",[],100);

What version of the product are you using? On what operating system?
Eclipse SDKJ 3.7.2.M20120208-800
LSL Forge 0.1.1
lslforge_part_win_32_x86 0.1.1

OS: Windows Vista Professional 64-bit

Please provide any additional information below.

Test also fails if "%B6" (instead of "▶") is used in the expected call string 
for the test.

Original issue reported on code.google.com by [email protected] on 12 Mar 2012 at 1:37

Sim Editor ConversionException

What steps will reproduce the problem?
1. Open a Sim Project using the LSLForge Sim Editor.

What is the expected output? What do you see instead?
The Sim Editor.
"Could not open the editor: An exception was thrown during initialization"

What version of the product are you using? On what operating system?
Eclipse: Indigo SR1 (20110916-0149)
LSLForge: v0.1.2 (win32_x86)
Windows XP SP3

Please provide any additional information below.
com.thoughtworks.xstream.converters.ConversionException: Cannot construct 
lslforge.sim.SimProject$WorldNode as it does not have a no-args constructor
---- Debugging information ----
message             : Cannot construct lslforge.sim.SimProject$WorldNode as it 
does not have a no-args constructor
cause-exception     : 
com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct lslforge.sim.SimProject$WorldNode as it 
does not have a no-args constructor
class               : lslforge.sim.SimProject$WorldNode
required-type       : lslforge.sim.SimProject$WorldNode
path                : /worldNode
-------------------------------
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:63)
    at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
    at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:846)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:833)
    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:789)
    at lslforge.sim.SimProject.fromXml(SimProject.java:1398)
    at lslforge.editor.SimEditor.init(SimEditor.java:600)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:828)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2945)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)
    at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:331)
    at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:179)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: 
com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Cannot 
construct lslforge.sim.SimProject$WorldNode as it does not have a no-args 
constructor
    at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.newInstance(PureJavaReflectionProvider.java:59)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:257)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:124)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
    ... 47 more

Original issue reported on code.google.com by [email protected] on 17 Jun 2012 at 8:48

Add new LSL functions (Materials properties)

http://wiki.secondlife.com/wiki/Release_Notes/Second_Life_Server/14#14.06.20.291
351


LSL support for applying render materials to objects

Materials properties can now be changed and read via llSetLinkPrimitiveParams, 
llGetLinkPrimitiveParams, and related functions.
The new prim parameters are PRIM_NORMAL, PRIM_SPECULAR, and PRIM_ALPHA_MODE


Original issue reported on code.google.com by [email protected] on 9 Jul 2014 at 12:58

Compiler doesn't properly detect using variable out of scope

What steps will reproduce the problem?

default {
    state_entry() {
        if ("fred" == "test") key test = "BOO";
        test = "EEK";
    }
}

What is the expected output? What do you see instead?

This shouldn't compile.

What version of the product are you using? On what operating system?

Any version of LSL Plus or LSL Forge. Win7 64bit

Please provide any additional information below.

Long standing bug in the LSL compiler.



Original issue reported on code.google.com by [email protected] on 18 Jan 2012 at 6:36

Support path_update() event

What steps will reproduce the problem?
1.Use Pathing and the Event     path_update(integer type, list reserved)


What is the expected output? What do you see instead?
    path_update(integer type, list reserved) { ... }
not supported should work.


What version of the product are you using? On what operating system?
Linux Eclipse LSL   lslforge_part_linux_x86 0.1.4

Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 15 Mar 2013 at 6:31

New nstal of Eclipse 4.2 prevents installation of LSLForge 0.1.2

What steps will reproduce the problem?
1.On a system that has never had an instal of Eclipse, instal 4.2
2.Download latest LSLForge 0.1.2
3.Attempt to Install New Software.

What is the expected output? What do you see instead?
Expect to see successful installation message/s.
Get instead error message
<q>
Cannot complete the install because one or more required items could not be 
found.
  Software being installed: LSLforge 0.1.2 (lslforge.feature.group 0.1.2)
  Missing requirement: LSLforge 0.1.2 (lslforge.feature.group 0.1.2) requires 'org.eclipse.update.core 0.0.0' but it could not be found
</q>

What version of the product are you using? On what operating system?
The very latest with no previous installations.

Please provide any additional information below.
Many more plugins have been borked by Eclipse changing the way core facilities 
are provided. Google 'org.eclipse.update.core 0.0.0' and you will find them.

New users will not be able to use LSLForge until this is fixed.

Original issue reported on code.google.com by [email protected] on 11 Aug 2012 at 10:01

missing ; in avatar event handler

What steps will reproduce the problem?
1. create new "avatar event handler"
2. check line 53
3. missing ; after the "return[]"

What is the expected output? What do you see instead?
return[];

What version of the product are you using? On what operating system?
lslforge 0.1.3

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 17 Nov 2012 at 12:15

LSLforge does not recognize multiline strings

The script below is valid LSL.  However, LSLforge throws an error because it 
does recognize multi-line strings.  This appears to be an oversight, as it 
allows vectors, rotations, lists, and function arguments to span multiple 
lines.  For right now, I'm writing out the multiline string as a list of 
strings within a call to llDumpList2String() with "\n" as the separator.

default {
    state_entry() {
        llSay(0, "testing...
        1...
        2...
        3...
        Whiskey Tango Foxtrot");
    }
}

Original issue reported on code.google.com by [email protected] on 2 Jul 2014 at 6:51

Support missing for JSON functions/constants

Fairly self explanatory, an update would be appreciated please as I am now 
using these functions in SL, and the only workaround is to define them in 
LSLForge and then strip the definitions when pasting into SL :(

Thanks tho, for keeping this project alive and fairly up to date!

Original issue reported on code.google.com by [email protected] on 24 Aug 2013 at 5:34

Running Script in SIM not working - LSLForge.exe arguments error

What steps will reproduce the problem?
1. open a script within LSL Project
2. choose Run as - Launch in LSL Sim
3. look at the given Console

What is the expected output? What do you see instead?
A Sim should be started, the script should run - 
instead:
LSLForge.exe: in element tag sim-descriptor,
In a sequence:
  in element tag source_files,
  In a sequence:
    in element tag scripts,
    In a sequence:
      in element tag item,
      Missing opening bracket:
        Expected </ but found &
        in file input  at line 1 col 8300



What version of the product are you using? On what operating system?
LSLForge 0.16
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.standard.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product 
org.eclipse.epp.package.standard.product
Win 7 64bit

Please provide any additional information below.
The col # the Missing sing appears differs from script to script (e.g. 8578 
with the given Dialog example)

Original issue reported on code.google.com by [email protected] on 12 Jan 2014 at 1:39

New LSL functions to be added (up to 11.10.07.242626 including)

Ready for adding:
http://wiki.secondlife.com/wiki/PRIM_PHYSICS_SHAPE_TYPE
  PRIM_PHYSICS_SHAPE_PRIM   0   Use the normal prim shape for physics   default for all non-mesh objects
PRIM_PHYSICS_SHAPE_CONVEX   2   Use the convex hull of the prim shape for physics 
    default for all mesh objects
PRIM_PHYSICS_SHAPE_NONE     1   Ignore this prim in the physics shape.  This cannot 
be applied to the root prim

Waiting for more information on wiki:

Constants for http://wiki.secondlife.com/wiki/LlCastRay:
  RCERR_UNKNOWN
  RCERR_SIM_PERF_LOW
  RCERR_CAST_TIME_EXCEEDED

  RC_REJECT_TYPES (RC_REJECT_AGENTS, RC_REJECT_PHYSICAL, RC_REJECT_NONPHYSICAL, and RC_REJECT_LAND)
  RC_DATA_FLAGS (RC_GET_NORMAL, RC_GET_ROOT_KEY, and RC_GET_LINK_NUM)
  RC_MAX_HITS 
  RC_DETECT_PHANTOM 


http://wiki.secondlife.com/wiki/PRIM_PHYSICS_MATERIAL
(bits DENSITY, FRICTION, RESTITUTION, and GRAVITY_MULTIPLIER aren't declared)


http://wiki.secondlife.com/wiki/LlSetPhysicsMaterial

http://wiki.secondlife.com/wiki/LlGetPhysicsMaterial
http://wiki.secondlife.com/wiki/DENSITY
http://wiki.secondlife.com/wiki/LlGetMassMKS


Original issue reported on code.google.com by [email protected] on 21 Oct 2011 at 6:40

Feature Request: Additional options besides Nice, Normal etc.

I'd like to test the end-result, e.g. a function call that includes a 
llWhisper() or llMessageLinked() to another script somewhere else. Under some 
conditions, I want to make sure those llWhisper() or llMessageLinked() calls 
are *not* made. 

Currently, to test that, I have to do Normal or Exhaustive. This means keying 
in every single call along the way leading up to this and every one proceeding 
after this.

We need a nice-plus:
(1) Nice, but we can flag selected calls as *must* be there.
(2) In addition, we can flag selected calls that *must not* be there (perhaps 
include wildcats for parameters)

This would speed up Unit Testing entry without sacrificing meaningfulness.

Original issue reported on code.google.com by [email protected] on 12 Mar 2012 at 11:14

Breakpoints are bypassed (Juno JRE 7)

What steps will reproduce the problem?
1.Set a breakpoint
2.Run in debug mode

What is the expected output? What do you see instead?
--Halt on the first breakpoint and switch to the debugger.
--Breakpoints are bypassed even though the debugger may be launched.

What version of the product are you using? On what operating system?
--Version v0.1.4, Eclipse Juno x86, JRE 7 build 17 x86

Please provide any additional information below.
--There seems to be some information about this online indicating that other 
plug-ins run into the same issue. However, there is no definite client solution 
identified.
--The debugger is set to launch on halt/break
--The "turn off all breakpoints" button is not depressed

Original issue reported on code.google.com by [email protected] on 27 Mar 2013 at 2:18

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.