Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unnecessary m_scenes and m_scene from AsyncCommandManager. | Justin Clark-Casey (justincc) | 2013-05-31 | 1 | -6/+1 |
| | | | | These were private and the sole point of use (to know when to load config for the first time) can be done by looking at script engines instead. | ||||
* | Lock areas of AsyncCommandManager where multiple threads could try to ↵ | Justin Clark-Casey (justincc) | 2013-05-31 | 1 | -111/+177 |
| | | | | | | | | access/update the same static structures simultaneously. This is possible where there is more than one scene (multiple copies of the same script engine) and/or more than one script engine being used. These operations are not thread safe and could be leading to the exceptions/problems seen in http://opensimulator.org/mantis/view.php?id=6651 This also prevents a small race condition where more than one AsyncLSLCmdHandlerThread could be started. | ||||
* | refactor: Remove unused AsyncCommandManager.PleaseShutdown | Justin Clark-Casey (justincc) | 2013-05-31 | 1 | -19/+1 |
| | |||||
* | If an exception occurs in the AsyncCommandManager loop, spit it out to log ↵ | Justin Clark-Casey (justincc) | 2013-05-30 | 1 | -8/+6 |
| | | | | | | rather than silently swallowing it. This might help diagnose the cause of http://opensimulator.org/mantis/view.php?id=6651 where sometimes scripts fail to start on region start. | ||||
* | Implement llSetSoundQueueing(). | Justin Clark-Casey (justincc) | 2013-05-22 | 1 | -4/+8 |
| | | | | | | This is controlled by the viewer, not the server. So as per http://wiki.secondlife.com/wiki/LlSetSoundQueueing, only two sounds can be queued per prim. You probably need to use llPreloadSound() for best results | ||||
* | Fix bug where outstanding llHTTPRequests for scripts were not being aborted ↵ | Justin Clark-Casey (justincc) | 2013-04-04 | 1 | -1/+7 |
| | | | | | | | | | when they were deleted. This was because AsyncCommandManager was handing an item ID to IHttpRequestModule.StopHttpRequest() rather than the expected request ID. This commit also makes the http request asynchronous using BeginGetResponse() rather than doing this by launching a new thread so that we can more safely abort it via HttpWebRequest.Abort() rather than aborting the thread itself. This also renames StopHttpRequest() to StopHttpRequestsForScript() since any outstanding requests are now aborted and/or removed. | ||||
* | Added missing functionality (mainly custom headers) to llHTTPRequest. | Kevin Cozens | 2013-03-29 | 2 | -56/+128 |
| | |||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2013-03-26 | 2 | -2/+4 |
|\ | |||||
| * | Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMask | Melanie | 2013-03-26 | 2 | -2/+4 |
| | | | | | | | | with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions" | ||||
* | | Make llGetLinkPrimitiveParams() and llGetPrimitiveParams() work for avatars ↵ | Justin Clark-Casey (justincc) | 2013-03-26 | 1 | -30/+194 |
|/ | | | | | | | in a linkset. llGetPrimitiveParams() works through PRIM_LINK_TARGET Setting via llSetLinkPrimitiveParams(), etc. not yet implemented | ||||
* | Merge branch 'master' into newmultiattach | Melanie | 2013-03-18 | 4 | -199/+193 |
|\ | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | ||||
| * | Make the LSL memory functions virtual so script engines can override them if ↵ | Melanie | 2013-03-15 | 1 | -3/+3 |
| | | | | | | | | they have different memory management. | ||||
| * | refactor: make llGetLinkName() and llGetLinkKey() use a common ↵ | Justin Clark-Casey (justincc) | 2013-03-15 | 1 | -84/+80 |
| | | | | | | | | GetLinkEntity() method | ||||
| * | minor: remove mono compiler warnings in LSL_Api.cs | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -3/+3 |
| | | |||||
| * | refactor: minor cleanup in osGetAvatarList() | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -2/+1 |
| | | |||||
| * | Fix bug in osCauseHealing() if called with an avatar ID for an avatar that ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -13/+9 |
| | | | | | | | | is not in the scene. | ||||
| * | minor: Use more compact libomv primitive constructors in osNpcGetPos() and ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -6/+3 |
| | | | | | | | | osNpcGetRot() | ||||
| * | Fix minor race conditions in OSSL_Api functions where a parcel could be ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -6/+4 |
| | | | | | | | | misidentified for moving prims. | ||||
| * | refactor: Use LSL_Vector(Vector3) constructor in llCastRay() | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -1/+1 |
| | | |||||
| * | refactor: Use ILandChannel.GetLandObject(Vector3) in LSL_Api rather than ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -41/+21 |
| | | | | | | | | having to continually take intermediate Vector3s to avoid race conditions | ||||
| * | Fix minor race condition in llGetCameraRot() where inconsistent information ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -4/+4 |
| | | | | | | | | could be returned for a rotating camera | ||||
| * | Fix minor race condition in llGetCameraPos() where an inconsistent post ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -4/+5 |
| | | | | | | | | could be returned for a moving camera | ||||
| * | Fix minor race condition in llParcelMediaCommandList() where a parcel could ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -1/+3 |
| | | | | | | | | be misidentified for a moving prim | ||||
| * | Fix minor race conditions in LSL_Api.GetPrimParams() for PRIM_POSITION, ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -10/+11 |
| | | | | | | | | | | | | PRIM_SIZE and PRIM_ROT_LOCAL This function is used by all the various ll*Params() and os*Params() functions | ||||
| * | Fix minor race condition in llGetGeometricCenter() if this was changing ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -1/+1 |
| | | | | | | | | whilst the function was called. | ||||
| * | refactor: use LSL_Rotation(Quaternion) constructor in lLGetRootRotation() | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -1/+2 |
| | | |||||
| * | Fix minor race condition in llGetRootPosition() where inconsistent results ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -2/+2 |
| | | | | | | | | could be returned for moving prims | ||||
| * | Fix minor race conditions in detecting current parcel for ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -3/+7 |
| | | | | | | | | llAddToLandPassList(), llSetParcelMusicURL() and llGetParcelMusicURL() for moving prims | ||||
| * | refactor: use LSL_Vector(Vector3) constructor in llGroundNormal() | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -1/+1 |
| | | |||||
| * | minor: Reuse ground LSL_Vector in llGroundSlope() rather than creating a new ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -1/+6 |
| | | | | | | | | one. | ||||
| * | Fix minor race conditions in llTeleportAgent(), ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -14/+21 |
| | | | | | | | | llTeleportAgentGlobalCoords(), llEjectFromLand() and llOverMyLand() where the wrong parcel could be identified for very fast moving avatars. | ||||
| * | refactor: Use LSL_Vector(Vector3) constructor in llGetCenterOfMass() | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -2/+2 |
| | | |||||
| * | Fix a minor race condition in llInstantMessage() where slightly wrong origin ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -3/+5 |
| | | | | | | | | co-ordinates could be given for a fast moving prim | ||||
| * | Fix minor race condition in llGetOmega() where inconsistent results could be ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -1/+2 |
| | | | | | | | | | | | | returned (accidentally stated that commit 1774c631 was this fix). Commit 1774c631 was actually a fix for a similar minor race condition in llGetAccel() | ||||
| * | Fix minor race condition in llGetOmega() where a call whilst a prim was ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -1/+2 |
| | | | | | | | | changing angular velocity could return inconsistent results | ||||
| * | refactor: Use LSL_Vector(Vector3) constructor in llGetVel() | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -1/+1 |
| | | |||||
| * | refactor: Use LSL_Vector(Vector3) constructor in llGetTorque() | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -2/+2 |
| | | |||||
| * | Fix minor race condition in llGetLocalRot() where inconsistent results could ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -1/+2 |
| | | | | | | | | be returned if the prim was rotating during the call | ||||
| * | refactor: use cleaner LSL_Rotation quaternion constructor in ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -3/+4 |
| | | | | | | | | LSL_Api.GetPartRot() | ||||
| * | Fix sensors, llGetRootRotation(), llGet*Param() and other functions to use ↵ | Justin Clark-Casey (justincc) | 2013-03-14 | 3 | -10/+7 |
| | | | | | | | | the world rotation if the avatar to which they are attached is sitting | ||||
| * | Make llGetObjectDetails() return the correct world rotation for a sitting avatar | Justin Clark-Casey (justincc) | 2013-03-14 | 1 | -1/+1 |
| | | | | | | | | | | | | This addresses http://opensimulator.org/mantis/view.php?id=6567 This creates a ScenePresence.GetWorldRotation() with the same semantics as SOP.GetWorldRotation() SP.Rotation can't be used since it's relative to the sat upon prim if the avatar is sitting. | ||||
| * | Convert doubles passed back through the MOD interface into LSL_Floats | Mic Bowman | 2013-03-05 | 1 | -0/+4 |
| | | |||||
| * | Fix bug in osGetPrimitiveParams() so that it works for prims with the same ↵ | Justin Clark-Casey (justincc) | 2013-03-06 | 1 | -1/+1 |
| | | | | | | | | | | | | owner as the script and not ones with different owners. Addresses http://opensimulator.org/mantis/view.php?id=6560 | ||||
* | | Multiattach, part 1 | Melanie | 2013-03-18 | 1 | -2/+2 |
|/ | | | | | | | | | | | | Conflicts: OpenSim/Framework/AvatarAppearance.cs OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs OpenSim/Region/Framework/Scenes/Scene.cs OpenSim/Region/OptionalModules/Avatar/Attachments/TempAttachmentsModule.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | ||||
* | Fix potential concurrency issue since the LSL notecard cache was not being ↵ | Justin Clark-Casey (justincc) | 2013-02-28 | 1 | -7/+10 |
| | | | | checked for expiry under lock | ||||
* | Fix bug where simultaneous calls by different scripts to llGetNotecardLine() ↵ | Justin Clark-Casey (justincc) | 2013-02-28 | 1 | -12/+14 |
| | | | | | | | or llGetNumberOfNotecardLines() would sometimes not trigger a dataserver event. This was because the notecard asset ID was being used as the request identifier. Now using a random ID, in common with other code using the DataServer | ||||
* | Removed duplicate 'using' statement. | Diva Canto | 2013-02-27 | 1 | -1/+0 |
| | |||||
* | Switched to using the other Util function with a default value. | Diva Canto | 2013-02-27 | 1 | -2/+4 |
| | |||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Diva Canto | 2013-02-27 | 1 | -0/+1 |
|\ | |||||
| * | Add regression test for llRequestUrl() | Justin Clark-Casey (justincc) | 2013-02-26 | 1 | -0/+1 |
| | |