aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-28VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-2/+2
count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
2013-09-27refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in ↵Justin Clark-Casey (justincc)2-2/+2
the code that this is symmetric with CloseAgent()
2013-09-27refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ↵Justin Clark-Casey (justincc)1-1/+1
it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly. Adds IScene.CloseAgent() to replace RemoveClient()
2013-09-19minor: Stop debug logging whenever an npc is moved, other npc log related ↵Justin Clark-Casey (justincc)1-16/+15
formatting cleanups
2013-09-11BulletSim: add LSL function and plumbing for setting a springRobert Adams1-1/+3
equilibrium point in the physics engine constraint.
2013-09-11BulletSim: add extended physics LSL constants for axis specification.Robert Adams1-2/+14
Add specific error warnings for mis-matched parameter types in extended physics functions.
2013-09-11BulletSim: ability to specify groups of axis to modify in constraint ↵Robert Adams1-1/+11
parameters that control multiple axis. Add useLinearReferenceFrameA constraint parameter.
2013-09-11BulletSim: add axis parameter for specifying enable, damping, and stiffness ↵Robert Adams1-4/+6
for spring constraints. Renumber parameter ops since I can as no one is using them yet.
2013-09-11BulletSim: implementation of setting spring specific physical parameters. ↵Robert Adams1-1/+5
Add setting of linkset type to physChangeLinkParams. Lots of detail logging for setting of linkset constraint parameters.
2013-09-11BulletSim: pass both root and child BSPhysObjects to Extension function. ↵Robert Adams1-13/+17
Update routines to use the new parameters list from above change.
2013-09-11BulletSim: Extension parameters passed through the classes made to pass just ↵Robert Adams1-5/+18
and array of objects rather than a mixture of parameters and array. Makes understanding and parsing what is being passed much easier.
2013-09-11BulletSim: add extended physics function physGetLinkType(linkNum). Add ↵Robert Adams1-0/+19
implementation of physChangeLinkParams() in BSLinksetConstraint.
2013-09-11BulletSim: change ExtendedPhysics constants to 'const' so they can be used ↵Robert Adams1-28/+28
as case variables in switch statements.
2013-09-11BulletSim: add physChangeLinkParams to set individual parameters on link ↵Robert Adams1-94/+171
constraints. Not fully functional. Remove double definition of ExtendedPhysics parameters by having BulletSim reference the optional module (addition to prebuild.xml and usings).
2013-09-11BulletSim: add physChangeLinkSpring to change linkset link to be a spring ↵Robert Adams1-3/+70
constraint. Add implementation to create spring constraint. Send up property updates for linkset children at the end of flexible linkset links. The simulator probably doesn't do the right thing yet.
2013-09-11BulletSim: initial implementation of physChangeLinkFixed that resets a ↵Robert Adams1-1/+81
linkset's link back to a fixed, non-moving connection.
2013-09-11BulletSim: fixes for change linkset implementation of physical linksets.Robert Adams1-1/+28
2013-09-04Stop "show client stats" from throwing an exception if somehow ↵Justin Clark-Casey (justincc)1-1/+8
Scene.m_clientManager still retains a reference to a dead client. Instead, "show client stats" now prints "Off!" so that exception is not thrown and we know which entries in ClientManager are in this state. There's a race condition which could trigger this, but the window is extremely short and exceptions would not be thrown consistently (which is the behaviour observed). It should otherwise be impossible for this condition to occur, so there may be a weakness in client manager IClientAPI removal.
2013-08-22Stop "handle sit user name" command from trying to sit avatars on objects ↵Justin Clark-Casey (justincc)1-0/+3
which have sit positions but are attachments
2013-08-22Stop "sit user name" and "stand user name" console commands from trying to ↵Justin Clark-Casey (justincc)1-2/+8
sit/stand avatars already sitting/standing
2013-08-20Add --regex options to "sit user name" and "stand user name" console ↵Justin Clark-Casey (justincc)1-50/+81
commands to sit/stand many avatars at once. Currently, first name and last name are input separate but are concatenated with a space in the middle to form a regex. So to sit all bots with the first name "ima", for instance, the command is "sit user name --regex ima .*"
2013-08-20Add experimental "sit user name" and "stand user name" console commands in ↵Justin Clark-Casey (justincc)1-0/+180
SitStandCommandsModule. "sit user name" will currently only sit the given avatar on prims which have a sit target set and are not already sat upon. Chiefly for debug purposes.
2013-08-12Don't try and send group updates to NPCs via event queue, since NPCs have no ↵Justin Clark-Casey (justincc)1-1/+0
event queue. I think there is an argument for sending this information to NPCs anyway since in some cases it appears a lot easier to write server-side bots by hooking into such internal events. However, would need to stop event messages building up on NPC queues if they are never retrieved.
2013-08-12Get rid of issue where removing NPCs would through an exception by routing ↵Justin Clark-Casey (justincc)1-1/+3
close through Scene.IncomingCloseAgent() and NPCAvatar.Close() rather than directly to Scene.RemoveClient(). This exception was actually harmless since it occurred at the very last stage of the remove client process.
2013-08-02BulletSim: add implementation of 'physSetLinksetType' and 'physGetLinksetType'Robert Adams1-5/+60
and processing routines in BulletSim. Add linkset rebuild/conversion routine in BSLinkset.
2013-07-30BulletSim: test method for debugging of extended physics script operations.Robert Adams1-8/+46
2013-07-28Added BasicSearchModule.cs which handles OnDirFindQuery events. Removed that ↵Diva Canto1-16/+6
handler from both Groups modules in core, and replaced them with an operation on IGroupsModule.
2013-07-26Commented out ChatSessionRequest capability in Vivox and Freeswitch. We ↵Diva Canto2-18/+18
aren't processing it in any meaningful way, and it seems to get invoked everytime someone types a message in group chat.
2013-07-26Fix NPC regression test failures.Justin Clark-Casey (justincc)1-1/+1
These were genuine failures caused by ScenePresence.CompleteMovement() waiting for an UpdateAgent from NPC introduction that would never come. Instead, we do not wait if the agent is an NPC.
2013-07-21EDIT BEAMS!!! They had been missing from OpenSim since ever. Thanks to ↵Diva Canto2-2/+2
lkalif for telling me how to route the information. The viewer effect is under the distance filter, so only avatars with cameras < 10m away see the beams.
2013-07-21Manage AgentUpdates more sanely:Diva Canto2-0/+2
- The existing event to scene has been split into 2: OnAgentUpdate and OnAgentCameraUpdate, to better reflect the two types of updates that the viewer sends. We can run one without the other, which is what happens when the avie is still but the user is camming around - Added thresholds (as opposed to equality) to determine whether the update is significant or not. I thin these thresholds are ok, but we can play with them later - Ignore updates of HeadRotation, which were problematic and aren't being used up stream
2013-07-21Fixed the stats in show client stats. Also left some comments with ↵Diva Canto1-4/+4
observations about AgentUpdates.
2013-07-21Make the check as to whether any particular inbound AgentUpdate packet is ↵Justin Clark-Casey (justincc)1-2/+2
significant much earlier in UDP processing (i.e. before we pointlessly place such packets on internal queues, etc.) Appears to have some impact on cpu but needs testing.
2013-07-21Add measure of number of inbound AgentUpdates that were seen as significant ↵Justin Clark-Casey (justincc)1-3/+9
to "show client stats" (i.e. sent on for further processing instead of being discarded) Added here since it was the most convenient place Number is in the last column, "Sig. AgentUpdates" along with percentage of all AgentUpdates Percentage largely falls over time, most cpu for processing AgentUpdates may be in UDP processing as turning this off even earlier (with "debug lludp toggle agentupdate" results in a big cpu fall Also tidies up display.
2013-07-16Attachments module only registers when enabled. This enables alternative ↵Dan Lake1-2/+4
attachments module implementations. All calls to Scene.AttachmentsModule are checking for null. Ideally, if we support disabling attachments then we need a null attachments module to register with the scene.
2013-07-11Try naming the materials handlers again, this time registering the POST as ↵Justin Clark-Casey (justincc)1-3/+6
RenderMaterials This was probably the mistake. The other handlers are named RenderMaterials as well but this actully has no affect apart from on stats, due to a (counterintuitive) disconnect between the registration name and the name of the request handler. Will be tested very soon and reverted if this still does not work.
2013-07-10remove names from Capability handlers (added by justincc in commit ↵dahlia1-7/+4
013710168b3878fc0a93a92a1c026efb49da9935) as they seem to disable the use of multiple access methods for a single Capability in MaterialsDemoModule
2013-07-10show client stats: Fixed the requests/min. Also changed the spelling of the ↵Diva Canto1-21/+22
command, not without the dash.
2013-07-10Added show client-stats [first last] command to expose what viewers are ↵Diva Canto1-2/+107
requesting.
2013-07-08remove some cruft and trigger a rebuilddahlia1-1/+0
2013-07-08remove an invalid null UUID check which caused a warningdahlia1-8/+1
2013-07-08For stat purposes, add names to capability request handlers where these were ↵Justin Clark-Casey (justincc)1-4/+7
not set
2013-07-08Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)2-2/+2
to print various counts of capability invocation by user and by cap This currently prints caps requests received and handled, so that overload of received compared to handled or deadlock can be detected. This involves making BaseStreamHandler and BaseOutputStream record the ints, which means inheritors should subclass ProcessRequest() instead of Handle() However, existing inheriting classes overriding Handle() will still work, albeit without stats recording. "show caps" becomes "show caps list" to disambiguate between show caps commands
2013-06-28add some locking to materials storage dictionarydahlia1-30/+42
2013-06-28Reinsert code for gathering uuids reference by materials back directly into ↵Justin Clark-Casey (justincc)1-67/+69
UuidGatherer for now. This cannot be triggered as an event from Scene.EventManager since some invocations of UuidGatherer (e.g. IAR saving) use scene objects which are not in scenes. There needs to be some way for modules to register for events which are not connected with a particular scene.
2013-06-27and yet another check for null returned from DynAttrs.GetStore()dahlia1-0/+4
2013-06-27test for null return from DynAttrs.GetStore()dahlia1-0/+3
2013-06-27refactor: Move code for gathering textures referenced by materials into ↵Justin Clark-Casey (justincc)1-2/+70
MaterialsDemoModule from UuidGatherer This code is now triggered via EventManager.OnGatherUuids which modules can subscribe to.
2013-06-27Make the concept of namespaces explicit in dynamic attributesJustin Clark-Casey (justincc)1-16/+10
This is in order to reduce the likelihood of naming clashes, make it easier to filter in/out attributes, ensure uniformity, etc. All dynattrs in the opensim distro itself or likely future ones should be in the "OpenSim" namespace. This does alter the underlying dynattrs data structure. All data in previous structures may not be available, though old structures should not cause errors. This is done without notice since this feature has been explicitly labelled as experimental, subject to change and has not been in a release. However, existing materials data is being preserved by moving it to the "Materials" store in the "OpenSim" namespace.
2013-06-17Make general server stats available on the robust console as well as the ↵Justin Clark-Casey (justincc)1-339/+0
simulator console This means the "show stats" command is now active on the robust console.