| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
between the engines again. Also, committed r60 in opensim libs with the
parser source changes.
|
|
|
|
|
|
|
| |
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle.
* This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big!
* Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
|
|
|
|
|
|
|
|
|
|
|
| |
I found a problem trying to get s value directly from a quaternion q.
Compiling a script which directly access to q.s value, caused the
following error:
CS0103: 'The . symbol cannot be used in LSL except in float values
or vector components'. Detected around: q.s
I did a small change to allow alphabetic letter "s" to be interpretated
as valid identifier. This solves the problem.
|
|
|
|
|
|
| |
Brings Yield Prolog up to date with sourceforge version 0.9.10
Patched applies to both DotNet and XEngine.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LSL scripts in which a float type is cast to a string or a string type
is cast to a float do not compile. When the script is translated from
LSL to C#, the LSL float type is translated into double. There is no
string <-> double cast in C#, so compilation fails.
There is a LSLFloat type, however it seems unfinished and is not used.
I am attaching a patch that implements the LSLFloat type. I have also
added two methods to the LSLString type to facilitate float <-> string casts.
|
| |
|
|
|
|
|
|
| |
* Added 'detected around: value' when a x.Y detect occurs to help debug.
* Fixed object text is too long to store to the database (wikilith)
|
| |
|
|
|
|
|
|
| |
keywords in foo.bar strings. Add items to the poison array to block them.
|
|
|
|
|
|
|
|
| |
scripts.
* If the regex that we're using isn't good enough, we really need to make it better.
|
|
|
|
|
|
|
|
| |
aggressive
it blocks string = "http://osgrid.org", amoung other things.
|
|
|
|
| |
types and null.
|
| |
|
|
|
|
| |
method references.
|
| |
|
| |
|
|
|
|
|
|
| |
missing the numbers after the initial letter of the identifier.
|
|
|
|
|
|
|
| |
explicitly in many cases Thanks Melanie!
* Also, I moved the event parser and re-writer to a separate static object. More work will be done here shortly.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* Fixes event reporting on states with no state_entry in lsl scripts.
|
|
|
|
| |
(this took a while to run).
|
| |
|
|
|
|
|
|
|
|
|
| |
* All objects are not touchable by default now
* When a script listens for one of the touch events in the state, an object becomes touchable.
* All LSL scripts report which events they consume now
** This uses semi-complicated Regex to discover the events, stick them in a dictionary, and then write a method call into each script state's state_entry() event.
** Tedd may figure out a better way to do this in the future. For now, this works for LSL.
|
|
|
|
|
|
|
|
| |
* Re-applied Tedd's patch that got overwritten.
* Replaced (state)\s+([^;\n\r]+)([\r\n\s];) with (state)\s+([^;\n\r]+)(;[\r\n\s])
* Added a state(string) method to BuiltIn_Commands_BaseClass
|
| |
|
| |
|
| |
|
|
|
|
|
| |
"state default;" rewrite to "state ("default");"
|
| |
|
|
|
|
|
|
| |
Replaced (?<s1>(?![a-zA-Z_]+)\s*)" + @"([a-zA-Z_]+)(?<s2>[^a-zA-Z_\(\)]*){ with (?<s1>(?![a-zA-Z_]+)\s*)" + @"(state\s+)?([a-zA-Z_]+)(?<s2>[^a-zA-Z_\(\)]*){
Lets see what happens now... :)
|
|
|
|
| |
<0,0,0,0> Quaternion and Vector
|
|
|
|
|
|
|
| |
(string) part of vector (eg. vector.z)
This fixes Mantis 388
|
|
|
|
|
| |
Fixed bug in how code is handled, hopefully we can now run all 3 languages? :)
|
| |
|
|
|
|
|
|
|
| |
* Cleaned up copyright notices in AssemblyInfo.cs's
* Added Copyright headers to a bunch of files missing them
* Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
|
|
|
|
|
|
|
|
| |
ScriptEngine.Common, only .Net-specific code in DotNetEngine. AppDomains, event handling, event execution queue and multithreading, script load/unload queue, etc has been moved to ScriptEngine.Common.
Loads of things has been put into interfaces instead of the specific class.
We are now one step closer to ScriptServer, and its very easy to implement new script languages. Just a few lines required to make them a OpenSim script module with all its glory.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* shortened references
* Removed redundant 'this'
* Normalized EOF
|
|
|
|
|
|
|
|
|
|
|
|
| |
The list type and a bunch of support functions to LSL
Added/ReImplmented: llGetListLength(), llList2Integer(), osList2Double() (note rename),
llList2Float(), llList2String(), llList2Key(), llList2Vector(), llList2Rot(),
llList2List(), llDeleteSubList(), llGetListEntryType(), llList2CSV(), llCSV2List(),
llListInsertList(), llDumpList2String(),
Borked Still: llListSort(), llListRandomize(), llList2ListStrided(), llListFindList(),
Changed: llHTTPRequest() (Made wrapper of LSL_Types.list->List<string>)
|
|
|
|
|
|
|
|
|
|
| |
rot * rot, vec / rot, == and != overriders for Rotations and Vectors.
Also: llRotBetween(), llGetRegionTimeDilation(). And fixing:
Error in LSL2CSConverter that botched a variable with a type name in it (ex: rotationCenter)
Fixed: Error in LSL2CSConverter that parsed which() loops incorrectly.
Fixed: Changed definition of Quaternion to <x, y, z, r> from <x, y, z, t> (As per LSL)
Finished: llEuler2Rot()
|
|
|
|
|
|
|
|
|
| |
llGetAndResetTime.
Also for fixing Rot/Vector Regex from being too greedy by removing bug in the
LSL->C# converter that was causing the vector and rotation parser.
|
|
|
|
| |
Thanks to ChrisD/Gromit for pointing these out.
|
|
|
|
|
|
|
| |
extra-super-sure) on script load/unload, removed experimental Grid-scriptengine from compile because of dynamic module loader, and added random string to script filename to bypass module loader file lock.
Please delete your copy of bin/ScriptEngine/OpenSim.Grid.ScriptEngine.DotNetEngine.dll.
|
|
|
|
|
|
| |
* Shortened type references
* Removed redundant 'this' qualifier
|
| |
|