aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added data structure to be passed through event execution queue so that ↵Tedd Hansen2008-01-171-1/+2
| | | | events can use llDetect*-commands to find information about event.
* * Mother of all commits:Adam Frisby2008-01-154-21/+50
| | | | | | | * 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.
* Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen2008-01-1212-6898/+83
| | | | | | | | 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-124-26/+58
| | | | | | | can not access Scene it sort of crashes right away ;) Added some sample placeholders for implementing rest of LSL events.
* Implements llModifyLand() - Still needs some tweaking to match LL's effect ↵alondria2008-01-121-0/+59
| | | | on how much to effect the land.
* Linking osTerrainGetHeight, osTerrainSetHeight, and osRegionRestart to ↵alondria2008-01-121-0/+15
| | | | LSL_BaseClass to allow them to be called in LSL scripts.
* Fix some warnings under mono.Jeff Ames2008-01-111-2/+2
|
* Added const definintions for sculpted prims.Tedd Hansen2008-01-101-1/+7
|
* Dynamic loading of ScriptEngine in ScriptServerTedd Hansen2008-01-091-1/+7
| | | | | ScriptServer event pipe (OpenSim->ScriptServer->ScriptEngine) should in theory be done
* Only one queue is used for load/unload of scripts.Tedd Hansen2008-01-051-19/+22
| | | | | So loading/unloading of scripts are now done in same sequence as they are called.
* Changes to ScriptServer to (hopefully) make it compile on both .Net and Mono.Tedd Hansen2008-01-051-1/+1
| | | | | Some debug info for startup added to find bugs. ++
* Fixed string issue in compilerTedd Hansen2008-01-011-1/+1
|
* Correction of last commitTedd Hansen2007-12-312-97/+97
|
* Changed type comparison from String to object typeTedd Hansen2007-12-311-9/+9
|
* server->script event path almost ready for remote scriptengine (translation ↵Tedd Hansen2007-12-302-46/+41
| | | | table between local script ID and remote script ID missing)
* In this commit I am using an editor feature called "Save All" before I commit.Tedd Hansen2007-12-304-1/+20
|
* Added comments to ScriptEngine classes that explains what their purpose isTedd Hansen2007-12-306-0/+68
|
* * Optimized usingslbsa712007-12-2710-61/+68
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * AssetServerBase: _ProcessRequest is now called GetAssetlbsa712007-12-271-16/+17
| | | | | | | * PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry Textures'; all serialization still using the 'byte[] TextureEntry' for backwards compatibility. * Scene: Re-added AddTree, since the Tree type isn't gone from libsl, merely relocated.
* * Fixed compile issue caused by half-refactoring (sorrry!)Adam Frisby2007-12-271-1/+12
|
* * Added osRegionRestart(float secs) to LSL CommandsAdam Frisby2007-12-271-2/+27
| | | | | | * Added osRegionNotice(string msg) to LSL Commands * Added PermissionManager checks for osTerrainSetHeight, osRegionRestart.
* * Added osTerrainSetHeight(int x, int y, double val) to LSL commandsAdam Frisby2007-12-271-0/+11
| | | | | * Added osTerrainGetHeight(int x, int y) to LSL commands
* * Added slightly better object sit handlingTeravus Ovares2007-12-271-3/+11
| | | | | | | | * Added sit handling for sit targets * Implemented llSitTarget() * Implemented llAvatarOnSitTarget() * Sit targets do not persist sim restart.
* Again, great thanks to Alondria for:Charles Krinke2007-12-242-24/+81
| | | | | | | | Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(), llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(), llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(), llWater(), llGetLocalRot(), and llGetAccel()
* * Patch from Alondria - Added LLFunctions llGetMass(), llGetLandOwnerAt(), ↵Teravus Ovares2007-12-231-8/+6
| | | | llGetVel(), llGround()
* Thank you, Alondria for:Charles Krinke2007-12-221-3/+32
| | | | | Reverts the LSL Texture/Color functions back to the original code, allowing them to function again
* Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. ↵Jeff Ames2007-12-201-25/+11
| | | | Works with LibSL rev>1532
* Thank you very much, CharlieO for:Charles Krinke2007-12-191-4/+114
| | | | | Added: llSetLinkAlpha() and finished off llSetLinkColor() by adding the ability to use LINK_SET.
* Thanks to CharlieO for:Charles Krinke2007-12-191-2/+47
| | | | | llSetLinkColor() and a temp place holder for llOwnerSay() since many example scripts that are copy/pasted from outside sources have llOwnerSay() and its obnoxious to change in scripts each time.
* Many Thanks to Alondria for adding:Charles Krinke2007-12-183-214/+319
| | | | | | | | | | | | 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-172-12/+29
| | | | | | | | | | 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-152-20/+31
| | | | | | | | | | 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()
* Again, thanks to Alondria for: adding llGetTime, llResetTime, and ↵Charles Krinke2007-12-142-8/+10
| | | | | | | | | 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.
* From Michael Osias (IBM)Sean Dague2007-12-132-6/+9
| | | | | | | | | | | | | This patch makes some enhancements to the llRemoteData functions. The module is now a shared module, and allows remote data channels to be created among multiple regions in the same sim. The port is controlled from the remoteDataPort property under the [Network] section in OpenSim.ini. If this setting is not present or = 0, the module is disabled and no port is opened. llRemoteData commands have not effect when module is disabled.
* From Michael Osias (IBM)Sean Dague2007-12-123-118/+59
| | | | | | | | | | | | 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:Charles Krinke2007-12-122-14/+21
| | | | | | | llResetScript() is now functional. With this patch, Kan-script 0000003 should run. Noted the llListen(0,"","","") errored due to "" != UUID - patched to set to NULL_KEY which then works to listen to everything.
* Thanks to Alondria for: Adding vector->string and rotation->string,Charles Krinke2007-12-121-53/+53
| | | | | | | | | | 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.
* * The 'Create' functions should be called to factor up a new, otherwise ↵lbsa712007-12-111-0/+2
| | | | | | | empty, but with the Id and 1-to-1 child fields instantiated and randomized. * Added two shape constants that
* Great Salutations to Alondria for providing implementations for:Charles Krinke2007-12-101-27/+244
| | | | | | | | | llFrand, llSetColor, llGetColor, llSetTexture, llGetTexture, llSetAlpha, llGetAlpha, llRotateTexture, llScaleTexture, llOffsetTexture, llGetTextureOffset, llGetTextureScale, llGetTextureRot. With these changes the "kan-ed" script #2 should be working.
* added musings on llInstantMessageJeff Ames2007-12-101-0/+8
|
* saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames2007-12-105-10/+10
| | | | notice of doom
* refactored ChatModule a bit.Jeff Ames2007-12-101-6/+1
| | | | | misc cleanup and code convention fixes.
* Added a call to m_host.SendFullUpdateToAllClients().Charles Krinke2007-12-091-4/+5
| | | | | | Thank you to Alondria for suggesting this solution to getting kan-ed#2 to work with the llSetScale call.
* Some progress on 4 of the llParticleSystem membersCharles Krinke2007-12-091-4/+4
| | | | | that needed to be cast to libsecondlife.LLColor.
* "list" becomes "List" in LSL2CSConverter and (f,3) becomes (f,0) in llRound. ↵Charles Krinke2007-12-092-2/+2
| | | | Thanks to ChrisD/Gromit for pointing these out.
* * miniscule changes just to keep myself in synchlbsa712007-12-071-1/+3
|
* * Removed 12 compiler warnings.Adam Frisby2007-12-041-1/+0
|
* patch for llDie from Kurt Taylor (IBM)Sean Dague2007-11-201-1/+1
|
* converted hard-coded chat type values to ChatTypeEnumJeff Ames2007-11-083-11/+10
|
* ScriptServer fixes: Added more debug logging, mutex lock (to be ↵Tedd Hansen2007-11-014-52/+80
| | | | | | | 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.