aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't slide crouching avatar when camera is panned around them with left ↵Justin Clark-Casey (justincc)2015-02-271-1/+3
| | | | | | mouse button This matches linden lab grid behaviour
* Revert "Adding dynamic ossl permission control"BlueWall2015-02-274-119/+0
| | | | | This reverts commit a3681f3052fb5e98e31e7051329a5b748a8bdd8d until further testing. Jenkins now fails ossl tests.
* Adding dynamic ossl permission controlBlueWall2015-02-274-0/+119
| | | | | | | | | | | Add permission by identifying uuid (owner/creator/group) and function. Revoke permission in the same manner. Permission adjustments immediately effect running scripts ability to call os functions. osGrantScriptPermissions(UUID key,string function) Threat Level Severe osRevokeScriptPermissions(UUID key,string function) Threat Level Severe work sponsored by: Rage
* When an avatar is walking across a region border, force the first ↵Justin Clark-Casey (justincc)2015-02-261-5/+18
| | | | | | | AgentUpdate received on the new root agent to update movement parameters. This prevents the avatar from drifting in its last direction of travel if a movement key was released at certain moments in the cross. Relates to http://opensimulator.org/mantis/view.php?id=7435
* minor: In HGAssetMapper, don't complain on seeing an XmlDeclaration as we ↵Justin Clark-Casey (justincc)2015-02-251-0/+5
| | | | | | know that we not using those in transformation. Relates to http://opensimulator.org/mantis/view.php?id=7447
* Fix bug where the uuid gatherer was not inspecting UUIDs for items in an ↵Justin Clark-Casey (justincc)2015-02-253-39/+65
| | | | | | | | embedded object's inventory. Added regression test for this case. Likely a regression since 08606ae4 (Thu Jan 8 2015) Relates to Mantises 7439, 7450 and possibly others.
* Reduce coupling in regression test task inventory creation methods to make ↵Justin Clark-Casey (justincc)2015-02-2511-45/+82
| | | | them usable in tests with no scene present
* On shutdown (job engine stop), don't allow the ObjectDisposedException on ↵Justin Clark-Casey (justincc)2015-02-251-2/+13
| | | | | | BlockingCollection.Take() to propogate if the running thread checked IsRunning before the stop thread set it and disposed of the canellation source. Looks to address http://opensimulator.org/mantis/view.php?id=7453
* llLookAt(): use non-physical rotation if host prim is a physical attachmentdahlia2015-02-241-1/+1
|
* Fix cross-grid inventory delivery notifications, fixes ↵BlueWall2015-02-211-0/+1
| | | | http://opensimulator.org/mantis/view.php?id=7113
* In HGAssetMapper.RewriteSOP(), don't explicitly end the document.Justin Clark-Casey (justincc)2015-02-211-2/+0
| | | | | | The document here has no <?xml declaration. Though ideally it may be present, in practice it has not been added as the data here is embedded within an asset On Mono 3.2.8 and probably other versions, calling WriteEndDocument() without a declaration does nothing. On Windows .NET, the same operation throws a "Document does not have a root element" exception which may be contributing to Mantis 7397 and possibly 7439
* If HGAssetMapper.PostAsset fails then be more explicit about the uuid, type, ↵Justin Clark-Casey (justincc)2015-02-191-2/+27
| | | | size and base asset uuid of the failure for debugging purposes.
* Make any exception that gets to LLClientView.ProcessSpecificPacketAsync() ↵Justin Clark-Casey (justincc)2015-02-191-3/+4
| | | | tells us the exception type as well as the message and stacktrace details.
* Add the type of the unrecognized node to the HG asset mapping error message ↵Justin Clark-Casey (justincc)2015-02-191-1/+3
| | | | in TransformXml()
* Comment out unnecessary "Region Found!" alert message when searching mapdahlia2015-02-181-2/+3
|
* Add NaN and Infinity tests for SOP Velocity and Acceleration setters.dahlia2015-02-162-5/+29
|
* Use a boolean flag to signal lookat is running instead of ↵dahlia2015-02-161-4/+10
| | | | Quaternion.Identity so it can be a valid target orientation
* Filter NaN and Infinity values at SOP AngularVelocity setterdahlia2015-02-161-1/+6
|
* Add missing BSD headers to files in OpenSim/Framework/ServiceAuthJustin Clark-Casey (justincc)2015-02-133-3/+84
|
* If serialized scene object XML has a SavedScriptState with no UUID, then ↵Justin Clark-Casey (justincc)2015-02-111-1/+5
| | | | | | read past the innerXML instead of wrongly continously looping on the same element. Addresses http://opensimulator.org/mantis/view.php?id=7437
* Somewhat naive implementation of RotationalVelocity setter for ODE. Enables ↵dahlia2015-02-071-0/+9
| | | | llSetRotationalVelocity(), llTargetOmega(), llLookAt(), and probably a few more LSL features for physical objects in ODE.
* llLookAt() strength parameter should slow rotation as it is increased. ↵dahlia2015-02-071-2/+2
| | | | Thanks Vegaslan for pointing this out.
* llLookAt(): reduce and clamp strengh to reduce probability of overshootdahlia2015-02-071-2/+5
|
* llLookAt() and llRotLookAt(): all orientation updates now done via angular ↵dahlia2015-02-061-17/+28
| | | | velocity manipulation. Also correct some orientation glitches during interpolation.
* Manage Angular Velocity during llLookAt() rotation of physical objectsdahlia2015-02-051-1/+11
|
* Set angular velocity in physics actor in SceneObjectPart.AngularVelocity ↵dahlia2015-02-051-1/+7
| | | | setter. Enables llSetAngularVelocity()
* replace accidently deleted line from last commitdahlia2015-02-051-0/+2
|
* Allow MaterialsModule to be enabled by default if [Materials] is absent from ↵dahlia2015-02-051-9/+6
| | | | OpenSim.ini
* For built-in groups, if a delegate throws an exception (e.g. due to network ↵Justin Clark-Casey (justincc)2015-02-041-61/+120
| | | | | | failure), always remove its request from the m_ActiveRequests list. If this is not done, all subsequent calls for the same data see that a request is apparantly already in progress and so wait for the result indefinitely.
* Fix bug in JobEngine where an attempt to restart after stop would trigger an ↵Justin Clark-Casey (justincc)2015-02-041-1/+2
| | | | exception because the cancellation source was not recreated.
* If the owner of an object is taking a copy from the scene (e.g. via the ↵Justin Clark-Casey (justincc)2015-02-037-20/+389
| | | | | | | | | "take copy" option on a viewer) then only require owner copy perms, not copy and transfer. This matches Linden Lab behaviour and what was already possible via shift-copy. Transfer would not apply here as the owner and copier are the same. This is the only functional change, all other current take copy logic remains the same. Adds regression tests around relevant take copy cases.
* correct some minor comment misspellings in last commitdahlia2015-02-021-2/+2
|
* Compute rotation for llLookAt() with local positive X axis pointing downdahlia2015-02-021-14/+11
|
* Prevent null entries being treated as URI's when DataSnapshot service splits ↵AliciaRaven2015-02-011-1/+1
| | | | service string. The new config format for services to notify in the DataSnapshot module appends entries to the existing single string and always leaves a deliminator on the end of the string. This is causing it to split with a null string in the resulting array, which is treated as another service to notify and throws a URI format exception on start up.
* As per advice from Singularity devs, set is_display_name_default = true in ↵Justin Clark-Casey (justincc)2015-01-311-1/+1
| | | | | | | GetDisplayName cap return data to make the single name appear. This is still always your avatar name - code to set a different display is not yet implemented. This works from my testing with current Firestorm and Singuarity releases.
* Revert "Stop currently unsettable display names from appearing when ↵Justin Clark-Casey (justincc)2015-01-311-1/+1
| | | | | | [ClientStack.LindenCaps] Cap_GetDisplayNames = "localhost" is set by never passing the username." This reverts commit 2d574c3036964d95dbf914d5f5858a3c39f0c16e.
* minor: correct log message when script with non-config stop strategy is ↵Justin Clark-Casey (justincc)2015-01-291-1/+1
| | | | detected to log actual strategy rather than true/false
* Avoid a possible race condition by serializing plugin data outside the ↵Justin Clark-Casey (justincc)2015-01-291-2/+9
| | | | | | | | EventQueue lock in ScriptInstance.SaveState() This takes the AsyncCommandHandler.staticLock. However, AsyncCommandHandler.DoOneCmdHandlerPass() already holds staticLock and may attempt to take the EventQueue lock via ScriptInstance.PostEvent() in XEngine.CheckListeners() This is a regression from faaf47a (Fri Jan 16 2015) but not simply reverting that commit since it will reintroduce a race between script removal, backup and event queue manipulating code.
* Correct typo in raw default script stop strategyJustin Clark-Casey (justincc)2015-01-271-1/+1
|
* If [XEngine] ScriptStopStrategy is different from a compiled script ↵Justin Clark-Casey (justincc)2015-01-271-28/+26
| | | | | | | | | | strategy, ask user to manually set DeleteScriptsOnStartup = true for at least one simuator session rather than auto-recompiling. This does not work on Windows since the VM retains a handle to the DLL even if class instantiation was unsuccessful. Which causes deletion of the old DLL to fail with access sharing violations. Instead, log a warning in this situation asking the user to manually set DeleteScriptsOnStartup = true for a session (or one could separately delete the DLLs in the relevant bin/scriptengines/<region-uuid> dir For the current session, the script engine will continue using the script compiled stop strategy as before. Relates to http://opensimulator.org/mantis/view.php?id=7278
* If an exception comes out of DoOnRezScript in DoOnRezScriptQueue(), then ↵Justin Clark-Casey (justincc)2015-01-261-6/+17
| | | | only fail a single script rather than halting the exntire script startup process.
* On a multi-region simulator when AppDomain = true, make sure the DLL from ↵Justin Clark-Casey (justincc)2015-01-264-91/+147
| | | | | | the appropriate script engines subdir is loaded rather than always that of the first engine to load the DLL. This resolves a DLL load failure on my Linux box when an attachment script was present on another region before the avatar arrived.
* BulletSim: add parameters and parameter definitions for VHACDRobert Adams2015-01-253-1/+61
| | | | addition coming.
* Revert "In GetDisplayNames, if user last name is Resident then only send ↵Justin Clark-Casey (justincc)2015-01-241-1/+1
| | | | | | | | | first name for display." Reverting at this point since it may not work well with all viewers. Requires further investigation. This reverts commit a29d53986aa3ca9bfd6759789c8a6f434b78d627.
* In GetDisplayNames, if user last name is Resident then only send first name ↵Justin Clark-Casey (justincc)2015-01-231-1/+1
| | | | | | | | for display. This is to match existing behaviour with UDP behaviour where this is masked out. And to make it consistent with other places where viewers mask this out themselves. Relates to http://opensimulator.org/mantis/view.php?id=7408
* When deleting an assembly before re-compile, make sure its attributes allow ↵Justin Clark-Casey (justincc)2015-01-231-1/+5
| | | | | | | deletion. This is to see if this helps with the problem in http://opensimulator.org/mantis/view.php?id=7278 where some DLLs are not allowing this. Since OpenSim created the file it should always be allowed to delete it.
* Fix regression where the stored state of every second script in an object ↵Justin Clark-Casey (justincc)2015-01-234-15/+35
| | | | | | | rezzed from inventory (e.g. attachments) was no longer loaded. Likely a regression since f132f642 (2014-08-28) Relates to http://opensimulator.org/mantis/view.php?id=7278
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2015-01-2214-45/+166
|\
| * Stop currently unsettable display names from appearing when ↵Justin Clark-Casey (justincc)2015-01-211-1/+1
| | | | | | | | | | | | | | | | [ClientStack.LindenCaps] Cap_GetDisplayNames = "localhost" is set by never passing the username. Unexpectedly, not setting user name achieves this whereas one might have expected it to be done by not setting display_name in the cap OSD. Emulates LL behaviour when no display name is set. Relates to http://opensimulator.org/mantis/view.php?id=7408
| * If the SnedInventoryAync() method receives an exception log this but make ↵Justin Clark-Casey (justincc)2015-01-211-1/+10
| | | | | | | | | | | | sure it does not terminate the process. Relates to http://opensimulator.org/mantis/view.php?id=7421