aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-01-14ZERO_ROTATION set to 0,0,0,1 -- not 0,0,0,0 ;)Tedd Hansen1-2/+2
2008-01-12Thank you very much, Kinoc for implementing llGetSubString and ↵Charles Krinke1-6/+35
llDeleteSubString: from the c# implementations of string.SubString(start,len) and string.Remove(start,len). Especially since negative indexing and exclusion are included in the LSL versions. This patch is closer to the LSL version. Maybe an osSubString and osRemoveString would be appropriate?
2008-01-12Set eolTedd Hansen9-6855/+6855
2008-01-12Added license to new filesTedd Hansen13-18/+192
2008-01-12Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen11-2/+6864
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-12ScriptServer communication is ok. Script is creatd on onrez. But since it ↵Tedd Hansen2-1/+9
can not access Scene it sort of crashes right away ;) Added some sample placeholders for implementing rest of LSL events.
2008-01-12ScriptServer protocol now correctly casts datatypes -- ready for implementingTedd Hansen1-5/+33
2008-01-12Linking osTerrainGetHeight, osTerrainSetHeight, and osRegionRestart to ↵alondria1-0/+3
LSL_BaseClass to allow them to be called in LSL scripts.
2008-01-12Set svn:eol-style.Jeff Ames5-489/+489
2008-01-12New ScriptServer protocol successfully implemented.Tedd Hansen1-5/+21
Still needs hooking up for all commands in both ends, separation of local and remote LSL-commands, etc.
2008-01-12ScriptServer communication protocol (v1), primitive RPC-like TCP client/serverTedd Hansen5-0/+478
2008-01-09Dynamic loading of ScriptEngine in ScriptServerTedd Hansen1-0/+4
ScriptServer event pipe (OpenSim->ScriptServer->ScriptEngine) should in theory be done
2008-01-06Set svn:eol-style.Jeff Ames1-52/+52
2008-01-05Changes to ScriptServer to (hopefully) make it compile on both .Net and Mono.Tedd Hansen1-0/+52
Some debug info for startup added to find bugs. ++
2008-01-01Fixed nant compile problemTedd Hansen1-8/+17
2008-01-01Trying to fix nant compile errorTedd Hansen1-327/+318
2008-01-01Temp removed new data types patch from Mantis #272, causing compile problems ↵Tedd Hansen1-336/+337
(nant)
2008-01-01Minor changes. Changed Prebuild.xml to avoid first-time-compile error ↵Tedd Hansen1-306/+330
because of dependencies. Made some changes to new LSLString.
2008-01-01Adrianas 0000272 -- I think we need to implement standard ↵Tedd Hansen1-0/+304
string/integer/float functions too.
2008-01-01Fixed string issue in compilerTedd Hansen1-34/+48
2007-12-31Correction of last commitTedd Hansen1-0/+5
2007-12-30In this commit I am using an editor feature called "Save All" before I commit.Tedd Hansen1-0/+3
2007-12-30Added comments to ScriptEngine classes that explains what their purpose isTedd Hansen1-0/+3
2007-12-27Thank you again, Alondria for:Charles Krinke1-2/+55
Adding some more support to Vectors and Rotations Description * String->Vector/Rotation added * Vector * and / a double added.
2007-12-27* Optimized usingslbsa712-31/+37
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-24Again, great thanks to Alondria for:Charles Krinke1-1/+1
Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(), llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(), llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(), llWater(), llGetLocalRot(), and llGetAccel()
2007-12-19Misc. cleanup:Jeff Ames1-5/+17
* added Util.Clip(value, min, max) * modified asset cache's numPackets calculation to use max packet size (600) instead of 1000 * removed a few magic numbers
2007-12-18Many Thanks to Alondria for adding:Charles Krinke2-30/+145
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-1/+1
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-15Thanks again to Alondria for adding: math support forCharles Krinke1-43/+150
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()
2007-12-12From Michael Osias (IBM)Sean Dague1-1/+1
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-12Thanks to Alondria for: Adding vector->string and rotation->string,Charles Krinke1-24/+90
float * vector, vector * float, vector / float, vector + vector, vector - vector, vector * vector, vector % vector and changing x, y, z, (and r) parts of vector and rotation to be lower case (similar to LL's LSL vectors/rots). With these changes we should expect to run kan-ed#1, kan-ed#2 and most of kan-ed#3.
2007-12-10saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames1-2/+2
notice of doom
2007-11-01ScriptServer fixes: Added more debug logging, mutex lock (to be ↵Tedd Hansen1-0/+7
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.
2007-10-30* Optimized usingslbsa715-84/+82
* Shortened type references * Removed redundant 'this' qualifier
2007-10-15* Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa713-0/+84
2007-09-17fixing me some line endingsSean Dague1-1/+1
2007-09-16Implemented: llSetText, llResetScript Tedd Hansen1-2/+2
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 Dague5-848/+848
will happen on the windows side now that eol-style is correct
2007-09-10mass update of urls in source code to new websiteSean Dague1-1/+1
2007-09-04Some work on Module loading/management.MW1-0/+3
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-26Run-time script errors are now shown in-world. No line number though, might ↵Tedd Hansen1-13/+15
require script to be compiled with (slow) debug information.
2007-08-25Script compiler should now show error on correct line number in original ↵Tedd Hansen1-2/+2
LSL-script.
2007-08-25Added class for "long commands" (command that returns as event) with ↵Tedd Hansen1-37/+43
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-19/+24
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-19Added "StopScriot()" to ScriptManager. Stops Executor from executing events ↵Tedd Hansen1-1/+17
in script, removes script from EventQueueManagers target list, tells AppDomainManager that script is no longer active (and ready for unload).
2007-08-19Added event method invoke cache to Executor. "Bind once, Invoke multiple ↵Tedd Hansen1-7/+37
times". Will speed up script event execution considerable. But at the cost of some memory (will be optimized later with RuntimeXHandle).
2007-08-18Did I forget to add IScript.cs? Yes I did...Tedd Hansen1-0/+12
2007-08-18Moved in-AppDomain event execution from Script to ↵Tedd Hansen2-1/+48
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/+10
(no security yet). *phew* that only took me 12 hours of coding...