aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-08Mono 2.0 fix - call ToArray() explicitlyMelanie4-5/+19
2013-09-08Fix exception when brokering HG asset idsMelanie Thielker1-1/+7
2013-09-08Harmonize the class name, ID and Name of the default perms moduleMelanie Thielker4-11/+11
2013-09-08Reinstate SecurePermissionsLoading functionality, default ONMelanie Thielker1-24/+16
2013-09-07Bring Core Groups up to current versionroot12-284/+504
2013-09-07Add two argument constructor to GridInstantMessageroot1-0/+18
2013-09-07Add support for simple external CAPS texture servicesroot1-19/+31
2013-09-05Restore group membership check for HG users in QueryAccess.Diva Canto3-12/+17
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-09-04Also check user authorization if looking to upgrade from a child to a root ↵Justin Clark-Casey (justincc)1-0/+13
agent. Relevant if a child agent has been allowed into the region which should not be upgraded to a root agent.
2013-09-04For a Hypergrid user, delay estate access checks until NewUserConnection() ↵Justin Clark-Casey (justincc)1-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.
2013-09-03In pCampbot PhysicsBehaviour.Close(), only cancel jumping if bot is connectedJustin Clark-Casey (justincc)1-1/+2
2013-09-03Make pCampbot "add behaviour" and "remove behaviour" console commands work ↵Justin Clark-Casey (justincc)1-45/+78
for all bots if no bot number is given
2013-09-03Consistently give responsibility for thread sleeping to behaviours rather ↵Justin Clark-Casey (justincc)3-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.
2013-09-03Add Close() method to IBehaviour to allow behaviours to cleanup when removed ↵Justin Clark-Casey (justincc)4-1/+30
or bot it disconnected. In this case, it is used to turn off jump when physics testing behaviour is removed.
2013-09-03Add pCampbot "remove behaviour" console command for removing bot behaviours ↵Justin Clark-Casey (justincc)2-5/+60
during operation. Doesn't currently work very well as stopping physics, for instance, can leave bot travelling in old direction
2013-09-03Add ability to adjust pCampbot bot behaviours whilst running with "add ↵Justin Clark-Casey (justincc)2-41/+157
behaviour <behaviour-name> <bot-number>" console commad
2013-09-03And fix break in "show bot" from commit 9c65207Justin Clark-Casey (justincc)1-1/+1
2013-09-03Fix build break from last commit 9c65207. Mono 2.4 lacks ↵Justin Clark-Casey (justincc)1-1/+1
string.join(string, List<string>), or some auto casting is missing
2013-09-03Show behaviours of pCampbot bots in "show bots" and "show bot" console commandsJustin Clark-Casey (justincc)8-12/+45
2013-09-03minor simplification of some unix date functions in Util. No functional change.Justin Clark-Casey (justincc)1-5/+3
2013-09-03Fix logic errors in "show grid users online" console command which didn't ↵Justin Clark-Casey (justincc)1-3/+2
actually filter out users shown continuously online for more than 5 days Remove confusion in command output.
2013-09-03Add experimental "show grid users online" console command to show grid users ↵Justin Clark-Casey (justincc)2-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.
2013-09-02Remove test that gives issue on Windows, just let the try/catch do the work.BlueWall1-5/+1
2013-09-02Fix bug where users teleporting to non-neighbour regions could continue to ↵Justin Clark-Casey (justincc)5-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.
2013-09-02Comment out warning about agent updating without valid session ID for now.Justin Clark-Casey (justincc)1-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.
2013-09-02Allow one to specify a DefaultHGRegion flag in [GridService] in order to ↵Justin Clark-Casey (justincc)14-5/+166
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.
2013-08-29Profiles: Clean up some log entries caused when visiting HG avatar is using ↵BlueWall1-16/+26
legacy profiles
2013-08-29Initialization: move key expansion out to operate on all sources and not ↵BlueWall1-2/+2
just environment variables
2013-08-28Do not add a port zero to end of the hypergrid gateway host name.Robert Adams1-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.
2013-08-27BulletSim: add some protections for processing when shutting down.Robert Adams1-2/+2
Attempt to fix Mantis 6740 (http://opensimulator.org/mantis/view.php?id=6740).
2013-08-26Revert "Make HG logins fall back to fallback regions if the desired region ↵Justin Clark-Casey (justincc)1-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.
2013-08-26Revert "Added some more debug messages."Justin Clark-Casey (justincc)1-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.
2013-08-25Fix exception thrown after a region has been restarted through scheduling.Justin Clark-Casey (justincc)1-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.
2013-08-25Fix the root cause of keyframe motion region crossing offset - UpdateSceneObjectMelanie2-23/+5
was being called twice on each crossing.
2013-08-24* This fixes the border crossing offsets by storing the final keyframe ↵teravus1-2/+22
location in the hijacked variable KeyFrame.AngularVelocity. When steps in OnTimer <= 0.0, normalize the final position by Constants.RegionSize and move the object there. The hack here is KeyFrame.AngularVelocity probably isn't the right name for this variable because it's the un-mucked with keyframe position. When you determine the feasibility of changing the name without affecting the serialization of existing objects in world... It's simply a name change to KeyFrame.FinalPosition or something proper.
2013-08-24Added some more debug messages.Diva Canto1-1/+4
2013-08-24Potential fix for access control bug on login introduced with SeeIntoRegion ↵Diva Canto1-1/+1
commit.
2013-08-24* Fix a null ref that causes a stack unwind when crossing borders. Less ↵teravus3-11/+48
stack unwinding.. the faster it goes. * Tweak XEngine so that it's partially functional again. It's still not great, but basic things work.
2013-08-24Revert "* This increases accuracy when border crossing (the reason is.. ↵teravus1-7/+7
the border crossing code will use velocity to predict where the object should be, so setting it to zero. It still looses about 0.0045 per loop." This reverts commit 55400ff7be55b1c8dbededca68e6fce42cd6ce0f.
2013-08-24Make HG logins fall back to fallback regions if the desired region fails.Diva Canto1-3/+24
2013-08-23Fix a printing of exception error in InventoryArchiveModule that onlyRobert Adams1-1/+1
printed the error message and not the call stack.
2013-08-23Rename pCampbot.ini -> pCampBot.ini (and example file) to be consistent with ↵Justin Clark-Casey (justincc)1-1/+1
other capitalizations of pCampBot
2013-08-23* This increases accuracy when border crossing (the reason is.. the border ↵teravus1-7/+7
crossing code will use velocity to predict where the object should be, so setting it to zero. It still looses about 0.0045 per loop.
2013-08-23minor: shortern warning messages in EntityTransferModule when UpdateAgent() ↵Justin Clark-Casey (justincc)1-4/+4
fails
2013-08-23Make pCampbot "show bot" command take the bot number instead of the full bot ↵Justin Clark-Casey (justincc)1-4/+9
name Shorter and can do this because bot names are uniform
2013-08-23remove redundant return at end of HandleDeregisterRegion()Justin Clark-Casey (justincc)1-2/+0
2013-08-23Make it possible for the "deregister region id" command to accept more than ↵Justin Clark-Casey (justincc)1-24/+27
one id
2013-08-23Remove old and unused ScenePresence.RestoreInCurrentScene()Justin Clark-Casey (justincc)1-5/+0
2013-08-23Refactor: merge SceneGraph.AddScenePresence() into ↵Justin Clark-Casey (justincc)1-28/+6
CreateAndAddChildScenePresence() since the former was only ever called from the latter This allows us to remove dead code relating to adding root agents directly to the scenegraph, which never happens.