aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ExperimentalTedd Hansen2008-02-013-9/+55
| | | | | | Moved DotNetScriptEngine configuration to config file. Added option to share script execution threads between regions.
* Highly experimentalTedd Hansen2008-02-012-149/+300
| | | | | A separate thread is used to enforce max function (event) execution time for scripts.
* Fixed errors being thrown by invalid PSYS_SRC_TARGET_KEY's in ↵alondria2008-02-011-1/+9
| | | | | | | llParticleSystem - defaults to source prim (consistent with LL grid). Should fix mantis 427.
* Thanks to Hashbox for a patch to:alondria2008-02-013-2/+25
| | | | | | Implementing llStringTrim and hooking in osRegionNotice
* * Added more supported feature to particlesystems. While this appears to ↵Teravus Ovares2008-02-011-3/+28
| | | | | | | | have a libsl update... it's really a fix to the libsl version we're already using because of a bug in the particlesystem implementation * Added two new simstat counters in the simstat enum for the RCCS. (I'll find something cool to put in them) * fixed a time waster in ODEPlugin.cs
* * Adding limited support for LLParticleSystem.Teravus Ovares2008-01-311-14/+38
| | | | | | | * We still need to set the 'default particle' texture as, a particle system with no texture set doesn't work. * The particle System Flags don't seem to be quite right yet as some flags don't seem to have an effect. So no alpha in/out, color change, affected by the wind, etc.. yet * Thanks to Alondria for some massive work here. This update just tweaks a few things that she did.
* Hit a dead end with llParticleSystem (libsecondlife issues) so no ↵alondria2008-01-313-25/+50
| | | | functionality added yet, but did not want to loose work.
* Surround the "non implemented" in an else clause if face is inappropriate for:Charles Krinke2008-01-211-16/+34
| | | | | | llSetColor, llSetAlpha, llGetColor, llSetTexture, llOffsetTexture, llRotateTexture & llGetTexture
* * Potential fix to the 'can't run a script anymore bug'Teravus Ovares2008-01-191-6/+7
|
* Added data structure to be passed through event execution queue so that ↵Tedd Hansen2008-01-177-45/+81
| | | | events can use llDetect*-commands to find information about event.
* * Added llApplyImpulse in the global frame. The object must be physical ↵Teravus Ovares2008-01-171-1/+16
| | | | before this'll do anything. Be careful with this function as it's easy to loose prim.
* * Added and implemented the LSL changed event.Teravus Ovares2008-01-171-0/+7
| | | | | | | * An example changed event syntax is at: http://opensimulator.org/wiki/Changed_Event_Example * You can use this to trigger actions in your script if someone sits on your object_rez * You can use this to figure out all of the CHANGED_ constants except for CHANGED_REGION, CHANGED_TELEPORT, and CHANGED_ALLOW_DROP
* * Mother of all commits:Adam Frisby2008-01-159-39/+67
| | | | | | | * 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.
* ZERO_ROTATION set to 0,0,0,1 -- not 0,0,0,0 ;)Tedd Hansen2008-01-141-2/+2
|
* Thank you very much, Kinoc for implementing llGetSubString and ↵Charles Krinke2008-01-121-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?
* Set eolTedd Hansen2008-01-129-6855/+6855
|
* Added license to new filesTedd Hansen2008-01-1213-18/+192
|
* Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen2008-01-1211-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.
* ScriptServer communication is ok. Script is creatd on onrez. But since it ↵Tedd Hansen2008-01-122-1/+9
| | | | | | | can not access Scene it sort of crashes right away ;) Added some sample placeholders for implementing rest of LSL events.
* ScriptServer protocol now correctly casts datatypes -- ready for implementingTedd Hansen2008-01-121-5/+33
|
* Linking osTerrainGetHeight, osTerrainSetHeight, and osRegionRestart to ↵alondria2008-01-121-0/+3
| | | | LSL_BaseClass to allow them to be called in LSL scripts.
* Set svn:eol-style.Jeff Ames2008-01-125-489/+489
|
* New ScriptServer protocol successfully implemented.Tedd Hansen2008-01-121-5/+21
| | | | | Still needs hooking up for all commands in both ends, separation of local and remote LSL-commands, etc.
* ScriptServer communication protocol (v1), primitive RPC-like TCP client/serverTedd Hansen2008-01-125-0/+478
|
* Dynamic loading of ScriptEngine in ScriptServerTedd Hansen2008-01-091-0/+4
| | | | | ScriptServer event pipe (OpenSim->ScriptServer->ScriptEngine) should in theory be done
* Set svn:eol-style.Jeff Ames2008-01-061-52/+52
|
* Changes to ScriptServer to (hopefully) make it compile on both .Net and Mono.Tedd Hansen2008-01-051-0/+52
| | | | | Some debug info for startup added to find bugs. ++
* Fixed nant compile problemTedd Hansen2008-01-011-8/+17
|
* Trying to fix nant compile errorTedd Hansen2008-01-011-327/+318
|
* Temp removed new data types patch from Mantis #272, causing compile problems ↵Tedd Hansen2008-01-011-336/+337
| | | | (nant)
* Minor changes. Changed Prebuild.xml to avoid first-time-compile error ↵Tedd Hansen2008-01-011-306/+330
| | | | because of dependencies. Made some changes to new LSLString.
* Adrianas 0000272 -- I think we need to implement standard ↵Tedd Hansen2008-01-011-0/+304
| | | | string/integer/float functions too.
* Fixed string issue in compilerTedd Hansen2008-01-011-34/+48
|
* Correction of last commitTedd Hansen2007-12-311-0/+5
|
* In this commit I am using an editor feature called "Save All" before I commit.Tedd Hansen2007-12-301-0/+3
|
* Added comments to ScriptEngine classes that explains what their purpose isTedd Hansen2007-12-301-0/+3
|
* Thank you again, Alondria for:Charles Krinke2007-12-271-2/+55
| | | | | | | | Adding some more support to Vectors and Rotations Description * String->Vector/Rotation added * Vector * and / a double added.
* * Optimized usingslbsa712007-12-272-31/+37
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* Again, great thanks to Alondria for:Charles Krinke2007-12-241-1/+1
| | | | | | | | Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(), llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(), llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(), llWater(), llGetLocalRot(), and llGetAccel()
* Misc. cleanup:Jeff Ames2007-12-191-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
* Many Thanks to Alondria for adding:Charles Krinke2007-12-182-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>)
* Again, thanks to Alondria for:Charles Krinke2007-12-171-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)
* Thanks again to Alondria for adding: math support forCharles Krinke2007-12-151-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()
* From Michael Osias (IBM)Sean Dague2007-12-121-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
* Thanks to Alondria for: Adding vector->string and rotation->string,Charles Krinke2007-12-121-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.
* saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames2007-12-101-2/+2
| | | | notice of doom
* ScriptServer fixes: Added more debug logging, mutex lock (to be ↵Tedd Hansen2007-11-011-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.
* * Optimized usingslbsa712007-10-305-84/+82
| | | | | | * Shortened type references * Removed redundant 'this' qualifier
* * Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa712007-10-153-0/+84
|
* fixing me some line endingsSean Dague2007-09-171-1/+1
|