aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-01-12Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen1-2154/+0
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.
2008-01-12Linking osTerrainGetHeight, osTerrainSetHeight, and osRegionRestart to ↵alondria1-0/+15
LSL_BaseClass to allow them to be called in LSL scripts.
2008-01-10Added const definintions for sculpted prims.Tedd Hansen1-1/+7
2007-12-30Added comments to ScriptEngine classes that explains what their purpose isTedd Hansen1-0/+8
2007-12-27* Optimized usingslbsa711-4/+4
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-24Again, great thanks to Alondria for:Charles Krinke1-2/+2
Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(), llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(), llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(), llWater(), llGetLocalRot(), and llGetAccel()
2007-12-18Many Thanks to Alondria for adding:Charles Krinke1-32/+32
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>)
2007-12-17Again, thanks to Alondria for:Charles Krinke1-3/+3
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)
2007-12-12From Michael Osias (IBM)Sean Dague1-2/+2
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
2007-12-11* The 'Create' functions should be called to factor up a new, otherwise ↵lbsa711-0/+2
empty, but with the Id and 1-to-1 child fields instantiated and randomized. * Added two shape constants that
2007-12-07* miniscule changes just to keep myself in synchlbsa711-1/+3
2007-10-30* Optimized usingslbsa711-349/+1658
* Shortened type references * Removed redundant 'this' qualifier
2007-10-15* Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa711-0/+28
2007-09-17fixing me some line endingsSean Dague1-2/+2
2007-09-16Implemented: llSetText, llResetScript Tedd Hansen1-3/+4
Implemented: llHTTPRequest (queue, thread, etc -- but not actuall call)
2007-09-13remove ^M, as native storage should be UNIX format, and ^M in/out mashingSean Dague1-783/+783
will happen on the windows side now that eol-style is correct
2007-09-04Some work on Module loading/management.MW1-2/+4
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)
2007-08-28startup event on script added to object, not all inside object.Tedd Hansen1-0/+1
2007-08-26in-world run-time error-message no-w con-tains function-name.Tedd Hansen1-0/+4
2007-08-25Added class for "long commands" (command that returns as event) with ↵Tedd Hansen1-1/+1
dedicated thread for processing. Added support for llSetTimerEvent(). Deleting old compiled scripts before new compile is attempted (avoids loading wrong script on compile error).
2007-08-25Scripts no longer crash sim after 5 minutes (override ↵Tedd Hansen1-2/+21
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.
2007-08-18Moved in-AppDomain event execution from Script to ↵Tedd Hansen1-28/+10
OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).
2007-08-18Scripts are working again. Scripts are now loaded into limited AppDomains ↵Tedd Hansen1-0/+29
(no security yet). *phew* that only took me 12 hours of coding...
2007-08-18Script loads into separate AppDomain without errors. Events and llFunctions ↵Tedd Hansen1-2/+1
not working yet.
2007-08-18LSL Compiler now only referring required assemblies (DotNetEngine and ↵Tedd Hansen1-87/+87
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.
2007-08-18Working on AppDomains. Scripting is now officially broken. :]Tedd Hansen1-5/+6
2007-08-18Moved LSL_BuiltIn_Commands_Interface.cs to a separate library ↵Tedd Hansen1-2/+57
(OpenSim.Region.ScriptEngine.Common). Fixed last compile error (forgot to include LSL_BuiltIn_Commands.cs).
2007-08-18Started on AppDomains for ScriptEngine. Moved llFunctions in ↵Tedd Hansen1-442/+352
LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded.
2007-08-18llstrenglength (thanks ldvoipeng!)Brian McBee1-1/+13
2007-08-18lsl test cases, and llregioncorner (thanks Dalien!)Brian McBee1-1/+1
2007-08-17Pimped up Default.lsl. Now featuring a touch counter.Tedd Hansen1-3/+1
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.
2007-08-17krinkec's updates to ll* interface and functions.Tedd Hansen1-5/+12
2007-08-16* Now sending manager, host and root host to Script in constructor.lbsa711-23/+51
* Changed how Script accesses World * Implemented llSay, llWhisper and llShout * Added SetText() to IScriptHost, implemented llText * Minor renamings to conform with code conventions
2007-08-16* Introduced IScriptHost as an interface to fetching object data from scripts.lbsa711-3/+20
* This meant introducing AbsolutePosition on all objects (since SimChat wants that)
2007-08-15compile error removed :)Tedd Hansen1-8/+0
2007-08-15Bugfixes in LSL compiler. Changed most datatypes to int (instead of UInt32) ↵Tedd Hansen1-199/+523
and double (instead of float).
2007-08-15* Applying ckrinke's LSL baseclass changes (Thanks!)Adam Frisby1-48/+54
2007-08-15* Fixed bug with llModPowAdam Frisby1-6/+6
* Implemented llSleep * Implemented llGetEnergy (always returns 1.0) * Implemented llGetRegionName * Implemented llGetRegionTimeDilation (always returns 1.0) * Implemented llGetRegionFPS (always returns 10.0)
2007-08-15* New LSL functionsAdam Frisby1-5/+16
+ llAsin / llAcos + llMD5String + llModPow + llGetUnixTime
2007-08-14Minor change to LSL_BaseClass adding pseudocode to World.SimChatTedd Hansen1-2/+13
2007-08-14krinkec's updates to ll* interface and functionsTedd Hansen1-85/+90
2007-08-14llSay() works again. Cleanup of debug messages.Tedd Hansen1-2/+2
2007-08-14ScriptEngine: Some error handling, logs to loggerTedd Hansen1-3/+3
2007-08-13Common script for all objects (Default.lsl). ScriptEngine touch_start event ↵Tedd Hansen1-7/+8
now works, but llSay only outputs to server console.
2007-08-13krinkec's updates to ll* interface and functionsTedd Hansen1-121/+121
2007-08-12LSL_BaseClass now receives scene during initTedd Hansen1-3/+6
2007-08-12LSL BuiltIn implementation is now in Compiler\LSL\LSL_BaseClass. So users ↵Tedd Hansen1-5/+350
won't have to reference every internal command by object.
2007-08-12Code comments and cleanup, correct datatypes for key, vector, rotation, ↵Tedd Hansen1-0/+11
(hopefully) reference to Axiom during compile, passing of BuiltIns during script load, BuiltIn interface added, etc etc
2007-08-12Script now compiles unsuccessfullyTedd Hansen1-0/+10
(unknown datatypes, no references)
2007-08-10Renamed Compiler.LSL to Compiler.LSOTedd Hansen1-58/+0