aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* BulletSim: Extension parameters passed through the classes made to pass just ↵Robert Adams2013-09-115-35/+98
| | | | and array of objects rather than a mixture of parameters and array. Makes understanding and parsing what is being passed much easier.
* BulletSim: adjust avatar capsule height calculation to be closer to defined ↵Robert Adams2013-09-112-7/+12
| | | | SL heights. Correct BSParam avatar height defaults to be what's in OpenSimDefaults.ini.
* BulletSim: add extended physics function physGetLinkType(linkNum). Add ↵Robert Adams2013-09-114-23/+163
| | | | implementation of physChangeLinkParams() in BSLinksetConstraint.
* BulletSim: update DLLs and SOs with Bullet svn version 2644 (no major fixes) ↵Robert Adams2013-09-114-0/+0
| | | | and with BulletSim implementing more of the constraint types and parameter settings.
* BulletSim: change ExtendedPhysics constants to 'const' so they can be used ↵Robert Adams2013-09-112-28/+50
| | | | as case variables in switch statements.
* BulletSim: add physChangeLinkParams to set individual parameters on link ↵Robert Adams2013-09-117-167/+325
| | | | constraints. Not fully functional. Remove double definition of ExtendedPhysics parameters by having BulletSim reference the optional module (addition to prebuild.xml and usings).
* BulletSim: update C++ HACD parameters to values that handle enclosed hollow ↵Robert Adams2013-09-111-8/+8
| | | | spaces better. This shouldn't affect many since this HACD routine is off by default.
* BulletSim: add physChangeLinkSpring to change linkset link to be a spring ↵Robert Adams2013-09-115-14/+198
| | | | 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.
* BulletSim: Linkset.Refresh() calls internal ScheduleRebuild() to recreate ↵Robert Adams2013-09-112-14/+14
| | | | the linkset physics at next PostTaint time. Replace the existing calls to ScheduleRebuild to be calls to Refresh(). This allows external routines to make changes to parameters and then cause the linkset to rebuild.
* BulletSim: initial implementation of physChangeLinkFixed that resets a ↵Robert Adams2013-09-113-10/+105
| | | | linkset's link back to a fixed, non-moving connection.
* BulletSim: move linkset extension operations into BSPrimLinkable where they ↵Robert Adams2013-09-112-31/+42
| | | | should be.
* BulletSim: add unmanaged and XNA functions for hinge, slider and spring ↵Robert Adams2013-09-113-2/+241
| | | | constraints.
* BulletSim: complete linkage of spring constraint into linkset constraint.Robert Adams2013-09-113-15/+77
|
* BulletSim: add spring constraint to linkset constraint types.Robert Adams2013-09-111-0/+85
|
* BulletSim: add API and calls for spring constraint parameters.Robert Adams2013-09-113-0/+82
|
* BulletSim: fixes for change linkset implementation of physical linksets.Robert Adams2013-09-115-18/+50
|
* chaning the default max_distance to 16383 as we actually start counting at ↵Michael Cerquoni2013-09-101-2/+2
| | | | zero, thank you dahlia for pointing this out.
* This extends the default max_distance for teleports to 16384, a big thank ↵Michael Cerquoni2013-09-101-2/+2
| | | | you to all of the viewer devs who made this possibe!
* Change collision logic in SceneObjectPart so land_collision will happen.Robert Adams2013-09-091-6/+3
| | | | | The previous logic would generate land_collision_start and land_collision_end but would not generate the land_collision itself.
* Fix configuration/ini expansion issue. Thanks to smxy for testing.BlueWall2013-09-071-2/+2
|
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2013-09-053-5/+52
|\
| * minor: add doc about DefaultHGRegion and some of the other GridService ↵Justin Clark-Casey (justincc)2013-09-053-5/+52
| | | | | | | | region settings (though not all as of yet)
* | Restore group membership check for HG users in QueryAccess.Diva Canto2013-09-053-12/+17
|/
* Stop "show client stats" from throwing an exception if somehow ↵Justin Clark-Casey (justincc)2013-09-041-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.
* Also check user authorization if looking to upgrade from a child to a root ↵Justin Clark-Casey (justincc)2013-09-041-0/+13
| | | | | | agent. Relevant if a child agent has been allowed into the region which should not be upgraded to a root agent.
* For a Hypergrid user, delay estate access checks until NewUserConnection() ↵Justin Clark-Casey (justincc)2013-09-041-2/+6
| | | | | | | | | | so that they work. This is necessary because the hypergrid groups checks (as referenced by estates) require an agent circuit to be present to construct the hypergrid ID. However, this is not around until Scene.NewUserConnection(), as called by CreateAgent() in EntityTransferModule. Therefore, if we're dealing with a hypergrid user, delay the check until NewUserConnection()/CreateAgent() The entity transfer impact should be minimal since CreateAgent() is the next significant call after NewUserConnection() However, to preserve the accuracy of query access we will only relax the check for HG users.
* In pCampbot PhysicsBehaviour.Close(), only cancel jumping if bot is connectedJustin Clark-Casey (justincc)2013-09-031-1/+2
|
* Make pCampbot "add behaviour" and "remove behaviour" console commands work ↵Justin Clark-Casey (justincc)2013-09-031-45/+78
| | | | for all bots if no bot number is given
* Consistently give responsibility for thread sleeping to behaviours rather ↵Justin Clark-Casey (justincc)2013-09-033-1/+7
| | | | | | | than controlling from the main action loop This is to avoid excessive and inconsistent delays between behaviours that currently need to embed sleeps in other actions (e.g. physics) and other behaviours. Might need a more sophisticated approach in the long term.
* Add Close() method to IBehaviour to allow behaviours to cleanup when removed ↵Justin Clark-Casey (justincc)2013-09-034-1/+30
| | | | | | or bot it disconnected. In this case, it is used to turn off jump when physics testing behaviour is removed.
* Add pCampbot "remove behaviour" console command for removing bot behaviours ↵Justin Clark-Casey (justincc)2013-09-032-5/+60
| | | | | | during operation. Doesn't currently work very well as stopping physics, for instance, can leave bot travelling in old direction
* Add ability to adjust pCampbot bot behaviours whilst running with "add ↵Justin Clark-Casey (justincc)2013-09-032-41/+157
| | | | behaviour <behaviour-name> <bot-number>" console commad
* And fix break in "show bot" from commit 9c65207Justin Clark-Casey (justincc)2013-09-031-1/+1
|
* Fix build break from last commit 9c65207. Mono 2.4 lacks ↵Justin Clark-Casey (justincc)2013-09-031-1/+1
| | | | string.join(string, List<string>), or some auto casting is missing
* Show behaviours of pCampbot bots in "show bots" and "show bot" console commandsJustin Clark-Casey (justincc)2013-09-038-12/+45
|
* minor simplification of some unix date functions in Util. No functional change.Justin Clark-Casey (justincc)2013-09-031-5/+3
|
* Fix logic errors in "show grid users online" console command which didn't ↵Justin Clark-Casey (justincc)2013-09-031-3/+2
| | | | | | actually filter out users shown continuously online for more than 5 days Remove confusion in command output.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2013-09-031-5/+1
|\
| * Remove test that gives issue on Windows, just let the try/catch do the work.BlueWall2013-09-021-5/+1
| |
* | Add experimental "show grid users online" console command to show grid users ↵Justin Clark-Casey (justincc)2013-09-032-4/+43
|/ | | | | | | | online from a standalone/robust instance. This is not guaranteed to be accurate since users may be left "online" in certain situations. For example, if a simulator crashes and they never login/logout again. To counter this somewhat, only users continuously online for less than 5 days are shown.
* Fix bug where users teleporting to non-neighbour regions could continue to ↵Justin Clark-Casey (justincc)2013-09-025-15/+85
| | | | | | | | hear chat from their source region for some time after teleport completion. This occurs on v2 teleport since the source region now waits 15 secs before closing the old child agent, which could still receive chat. This commit introduces a ScenePresenceState.PreClose which is set before the wait, so that ChatModule can check for ScenePresenceState.Running. This was theoretically also an issue on v1 teleport but since the pause before close was only 2 secs there, it was not noticed.
* Comment out warning about agent updating without valid session ID for now.Justin Clark-Casey (justincc)2013-09-021-4/+4
| | | | This causes extreme console spam if a simulator running latest master and one running 0.7.5 have adjacent regions occupied by avatars.
* Allow one to specify a DefaultHGRegion flag in [GridService] in order to ↵Justin Clark-Casey (justincc)2013-09-0215-10/+172
| | | | | | | | | | allow different default regions for HG and direct grid logins. This requires a new GridService.GetDefaultHypergridRegions() so ROBUST services require updating but not simulators. This method still returns regions flagged with just DefaultRegion after any DefaultHGRegions, so if no DefaultHGRegions are specified then existing configured defaults will still work. Immediate use is for conference where we need to be able to specify different defaults However, this is also generally useful to send experienced HG users to one default location and local users whose specified region fails (e.g. no "home" or "last") to another.
* Profiles: Clean up some log entries caused when visiting HG avatar is using ↵BlueWall2013-08-291-16/+26
| | | | legacy profiles
* Initialization: move key expansion out to operate on all sources and not ↵BlueWall2013-08-291-2/+2
| | | | just environment variables
* Do not add a port zero to end of the hypergrid gateway host name.Robert Adams2013-08-281-1/+4
| | | | | | If the port is specified it is added but a ":0" is not added if the port is zero. This enables the hypergrid address short form "hypergridGateway:regionName" which is handled by the parser but failed because of this zero port addition.
* BulletSim: add some protections for processing when shutting down.Robert Adams2013-08-271-2/+2
| | | | Attempt to fix Mantis 6740 (http://opensimulator.org/mantis/view.php?id=6740).
* Revert "Make HG logins fall back to fallback regions if the desired region ↵Justin Clark-Casey (justincc)2013-08-261-24/+3
| | | | | | | | fails." This is very similar to my earlier revert in bcb8605f8428a9009a2badf9c9eed06d9f59962c and fails for the same reasons. Reverting this change because it causes a problem if access is denied to the user. This reverts commit c7a8afbb8da40e09252d58d95c89b8a99a684157.
* Revert "Added some more debug messages."Justin Clark-Casey (justincc)2013-08-261-4/+1
| | | | | | | | Fallback doesn't work at this level as the change of destination isn't communicated to the source region/viewer Reverting because this introduces a bug when access does fail. More detail in revert of main commit. This reverts commit ec32c1d4b69e4219fe44a38bcbc411e7996641f1.
* Fix exception thrown after a region has been restarted through scheduling.Justin Clark-Casey (justincc)2013-08-251-10/+22
| | | | | This exception was very likely harmless since it occurred after the restart had taken place, but still misleading. Thanks to SCGreyWolf for the code change suggestion in http://opensimulator.org/mantis/view.php?id=6747, though I did this in a slightly different way.