aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-02-11If serialized scene object XML has a SavedScriptState with no UUID, then ↵Justin Clark-Casey (justincc)1-1/+5
read past the innerXML instead of wrongly continously looping on the same element. Addresses http://opensimulator.org/mantis/view.php?id=7437
2015-02-07Somewhat naive implementation of RotationalVelocity setter for ODE. Enables ↵dahlia1-0/+9
llSetRotationalVelocity(), llTargetOmega(), llLookAt(), and probably a few more LSL features for physical objects in ODE.
2015-02-07llLookAt() strength parameter should slow rotation as it is increased. ↵dahlia1-2/+2
Thanks Vegaslan for pointing this out.
2015-02-07llLookAt(): reduce and clamp strengh to reduce probability of overshootdahlia1-2/+5
2015-02-06llLookAt() and llRotLookAt(): all orientation updates now done via angular ↵dahlia1-17/+28
velocity manipulation. Also correct some orientation glitches during interpolation.
2015-02-05Manage Angular Velocity during llLookAt() rotation of physical objectsdahlia1-1/+11
2015-02-05Set angular velocity in physics actor in SceneObjectPart.AngularVelocity ↵dahlia1-1/+7
setter. Enables llSetAngularVelocity()
2015-02-05replace accidently deleted line from last commitdahlia1-0/+2
2015-02-05Allow MaterialsModule to be enabled by default if [Materials] is absent from ↵dahlia1-9/+6
OpenSim.ini
2015-02-03If the owner of an object is taking a copy from the scene (e.g. via the ↵Justin Clark-Casey (justincc)5-15/+369
"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.
2015-02-02correct some minor comment misspellings in last commitdahlia1-2/+2
2015-02-02Compute rotation for llLookAt() with local positive X axis pointing downdahlia1-14/+11
2015-02-01Prevent null entries being treated as URI's when DataSnapshot service splits ↵AliciaRaven1-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.
2015-01-29minor: correct log message when script with non-config stop strategy is ↵Justin Clark-Casey (justincc)1-1/+1
detected to log actual strategy rather than true/false
2015-01-29Avoid a possible race condition by serializing plugin data outside the ↵Justin Clark-Casey (justincc)1-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.
2015-01-27Correct typo in raw default script stop strategyJustin Clark-Casey (justincc)1-1/+1
2015-01-27If [XEngine] ScriptStopStrategy is different from a compiled script ↵Justin Clark-Casey (justincc)1-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
2015-01-26If an exception comes out of DoOnRezScript in DoOnRezScriptQueue(), then ↵Justin Clark-Casey (justincc)1-6/+17
only fail a single script rather than halting the exntire script startup process.
2015-01-26On a multi-region simulator when AppDomain = true, make sure the DLL from ↵Justin Clark-Casey (justincc)4-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.
2015-01-25BulletSim: add parameters and parameter definitions for VHACDRobert Adams3-1/+61
addition coming.
2015-01-23When deleting an assembly before re-compile, make sure its attributes allow ↵Justin Clark-Casey (justincc)1-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.
2015-01-23Fix regression where the stored state of every second script in an object ↵Justin Clark-Casey (justincc)4-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
2015-01-21If the SnedInventoryAync() method receives an exception log this but make ↵Justin Clark-Casey (justincc)1-1/+10
sure it does not terminate the process. Relates to http://opensimulator.org/mantis/view.php?id=7421
2015-01-21Add debug ability to ignore reliably sent packets that are not acknowledged.Justin Clark-Casey (justincc)3-20/+129
This is controlled via the console command "debug lludp client set process-unacked-sends true [<avatar-first-name> <avatar-last-name>]" For debug purposes to see if this process for very bad connections is causing general outbound udp processing delays. Relates to http://opensimulator.org/mantis/view.php?id=7393
2015-01-21minor: Comment out log line for the SimulatorFeatures cap request for now to ↵Justin Clark-Casey (justincc)1-1/+1
reduce log verbiage. Please revert if still required.
2015-01-21minor: Fix some CR line endings in Scene.Inventory.csJustin Clark-Casey (justincc)1-8/+8
2015-01-21If [Permissions] serverside_object_permissions = false or the undocumented ↵Justin Clark-Casey (justincc)1-1/+4
propogate_permissions = false, don't propogate permissions of prim inventory items. This was a regression from 13f31fd (4 Nov 2013) Relates to http://opensimulator.org/mantis/view.php?id=7399
2015-01-20minor: correct SceneCommunicationService.LogHeader spellingJustin Clark-Casey (justincc)1-1/+1
Relates to http://opensimulator.org/mantis/view.php?id=7337
2015-01-17minor: In AttachmentsModule.UpdateKnownItem use the existing ↵Justin Clark-Casey (justincc)1-3/+2
IInventoryAccessModule reference that other methods are already using rather than fetching its own copy.
2015-01-17Make XEngine.SaveAllState() actually do this instead of script maintenanceJustin Clark-Casey (justincc)1-8/+8
2015-01-16minor: remove old commented out objectRemoved bool in XEngine.OnRemoveScript()Justin Clark-Casey (justincc)1-5/+0
2015-01-16Add clearqueue code adjustment that should have been in previous commit faaf47aJustin Clark-Casey (justincc)1-4/+1
2015-01-16Prevent a race condition between the script engine backup thread and script ↵Justin Clark-Casey (justincc)3-35/+44
removal by locking on the script's EventQueue and only proceeding if it's flagged as still running. Relates to http://opensimulator.org/mantis/view.php?id=7407
2015-01-16For scripts in attachments, don't save .state files apart from the initial ↵Justin Clark-Casey (justincc)4-8/+195
one as these are ignored since .state is saved in the attachment's asset. This eliminates pointless work and exceptions when an appdomain is unloaded whilst an attachment script state is persisted. Adds test for this case. Relates to http://opensimulator.org/mantis/view.php?id=7407
2015-01-16minor: Suppress the log messages when user profiles data is requested for an ↵Justin Clark-Casey (justincc)1-3/+10
NPC or an HG user with no set server URI to avoid log spam. Messages concerning failure to contact a given user profiles service are preserved by logging within called code with the agent ID. If the "No Presence - foreign friend" log message is important then please revert. Relates to http://opensimulator.org/mantis/view.php?id=7414
2015-01-15Fix a recent regression with HG asset posting to other grids where the ↵Justin Clark-Casey (justincc)1-0/+1
assets were no longer being posted. Addresses regression from 08606ae (Thu Jan 8 2015)
2015-01-14Stop simulators attempting to contact registered but offline regions ↵Justin Clark-Casey (justincc)2-15/+49
(RegionFlags.Persistent but not RegioNFlags.RegionOnline) on startup and when an avatar completes a teleport. This eliminates spurious network calls and failure reporting. This is done by adding RegionFlags to the GridRegion returned data in a backward compatible way as an alternative to multiple IGridService.GetRegionFlags() calls Using a simulator or a grid service older than this commit will just see previous behaviour.
2015-01-13And finally renamed the classes themselves.Diva Canto1-2/+2
2015-01-13Fix bug where gathering the clientstack..OutgoingPacketsQueuedCount stat ↵Justin Clark-Casey (justincc)1-2/+6
would fail with a casting exception for scenes with NPCs Present since 51eb8fa (Oct 2 2014)
2015-01-12Make the performance controlling job processing threads introduced in ↵Justin Clark-Casey (justincc)8-985/+121
conference code use a generic JobEngine class rather than 4 slightly different copy/pasted versions.
2015-01-10SimulatorFeatures: the viewer also takes GridName in OpenSim extras. Added ↵Diva Canto1-1/+4
that (plus GridURL, in case viewers want to use it too) to the GridService that gives out that info to simulators.
2015-01-09Added GetDisplayNames capability. For now, we don't actually use display ↵Diva Canto6-97/+149
names, and this cap returns the regular name. But this moves the server side into the newer, preferred, protocol used by the viewer for fetching the names of agents in the scene given their UUIDs. (the old protocol is via UDP). This works fine in my limited tests, but could use further testing by others.
2015-01-08minor: Add event name to existing debug output when a script event fails ↵Justin Clark-Casey (justincc)1-1/+2
with an exception. To aid debugging.
2015-01-08When inspecting a script or notecard, also try to look up any assets ↵Justin Clark-Casey (justincc)2-5/+11
embedded therein. This is primarily to fix an issue where inventory items for NPC attachments would not be saved in archives as the assets referenced in the appearance notecard were not checked in this manner. Relates to http://opensimulator.org/mantis/view.php?id=7376
2015-01-08Make the IteratingUuidGatherer the only UuidGatherer.Justin Clark-Casey (justincc)8-713/+112
This UUID gatherer provides a superset of the previous gatherer's functionality as it also allows the caller to control gathering iterations for load purposes.
2015-01-07Added a different/better way of specifying data services in DataSnapshot -- ↵Diva Canto1-1/+28
using DATA_SRV_ keys, one per service. This allows 3rd party modules to add data services automatically.
2015-01-07BulletSim: fix line ending problems.Robert Adams1-1/+1
2015-01-07BulletSim: make computation of hole cut in hull tester explicitRobert Adams1-1/+1
math showing the odd PrimitiveBaseShape value rather than a constant.
2015-01-07BulletSim: tweek step parameters and logic to make walking up stepsRobert Adams2-12/+28
closer to SL. This change should address small floor edges acting like walls, approaching a step at any angle (other than walking backwards) will allow walking up, and reducing the avatar pop-up when going up stairs.
2015-01-04BulletSim: comment out the reference to BSShapeHull in BulletSim testsRobert Adams1-2/+2
which seems to cause the tests to fail when compiled on the OpenSim build system. It compiles and runs everywhere else. More research is needed.