| Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
LSL_BaseClass to allow them to be called in LSL scripts.
|
|
|
|
|
|
* shortened references
* Removed redundant 'this'
* Normalized EOF
|
|
Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(),
llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(),
llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(),
llWater(), llGetLocalRot(), and llGetAccel()
|
|
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>)
|
|
Added: LinkNum to SceneObjectPart
Added: Bunch-o settings of LinkNum in SceneObjectGroup
Added: llGetNumberOfPrims()
Added: llGetLinkNumber()
Added: llGetLinkKey()
Added: llGetLinkName() (and change to string return type)
|
|
This patch implements the llHttpRequest function via a region module,
HttpScriptsRequest. There were bits and peices in LSLLong_cmd_handler,
which I moved into the region module, and just check for completed
requests and dispatch the http_response callback event instead.
works for me as of r2674
|
|
empty, but with the Id and 1-to-1 child fields instantiated and randomized.
* Added two shape constants that
|
|
|
|
* Shortened type references
* Removed redundant 'this' qualifier
|
|
|
|
|
|
Implemented: llHTTPRequest (queue, thread, etc -- but not actuall call)
|
|
will happen on the windows side now that eol-style is correct
|
|
Some more modules templates classes (hoping that someone will pick some of these and work on implementing them).
Early version of the "Dynamic Texture Module", although currently there are no render modules included (so not really functional without them).
Added osSetDynamicTextureURL script function, for attaching a dynamic texture to a prim.
Some work on the console command handling. Added "change-region <regionname>" and "exit-region" so that after the use of change-region, the commands entered will apply to that region only. Then use exit-region to return to the top level (so commands then function as they did before and either apply to all regions or to the first region) (Note: this hasn't been tested very much)
|
|
|
|
|
|
dedicated thread for processing. Added support for llSetTimerEvent(). Deleting old compiled scripts before new compile is attempted (avoids loading wrong script on compile error).
|
|
InitializeLifetimeService). Loading/Unloading of scripts are now handled in separate thread so server is no delayed because of this. Each script is loaded into a single AppDomain (temporary test for script unload, eats ~15KB more memory for each script). Unload of scripts has been verified to free up memory.
|
|
OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).
|
|
(no security yet).
*phew* that only took me 12 hours of coding...
|
|
not working yet.
|
|
Common). Changed Vector and Rotation to custom types (stored in Common) that needs to be changed later. No longer using Axiom. Script support still broken.
|
|
|
|
(OpenSim.Region.ScriptEngine.Common). Fixed last compile error (forgot to include LSL_BuiltIn_Commands.cs).
|
|
LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded.
|
|
|
|
|
|
Changed "ObjectID" in ScriptEngine to IScriptHost reference. Events will now be queued based on IScriptHost reference instead of string ID of object. Removed "root" object reference in script.
|
|
|
|
* Changed how Script accesses World
* Implemented llSay, llWhisper and llShout
* Added SetText() to IScriptHost, implemented llText
* Minor renamings to conform with code conventions
|
|
* This meant introducing AbsolutePosition on all objects (since SimChat wants that)
|
|
|
|
and double (instead of float).
|
|
|
|
* Implemented llSleep
* Implemented llGetEnergy (always returns 1.0)
* Implemented llGetRegionName
* Implemented llGetRegionTimeDilation (always returns 1.0)
* Implemented llGetRegionFPS (always returns 10.0)
|
|
+ llAsin / llAcos
+ llMD5String
+ llModPow
+ llGetUnixTime
|
|
|
|
|
|
|
|
|
|
now works, but llSay only outputs to server console.
|
|
|
|
|
|
won't have to reference every internal command by object.
|
|
(hopefully) reference to Axiom during compile, passing of BuiltIns during script load, BuiltIn interface added, etc etc
|
|
(unknown datatypes, no references)
|
|
|