aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-04-14Add very basic TestGetRootPartPosition() testJustin Clark-Casey (justincc)1-0/+65
2012-04-12Mantis 55025 Implement script time.Talun5-8/+84
Signed-off-by: nebadon <michael@osgrid.org>
2012-04-10New OS scripting functions osSetTerrainTexture and osSetTerrainHeight as ↵Snoopy Pfeffer1-0/+3
originally proposed in SL Jira (https://jira.secondlife.com/browse/SVC-244).
2012-04-09Mantis5502 implementation of some of the new constantsTalun5-2/+131
Signed-off-by: Melanie <melanie@t-data.com>
2012-04-08Addresses mantis #5846Diva Canto1-1/+3
2012-04-06Moved the inventory manipulation from HGEntityTransferModule to ↵Diva Canto1-0/+49
HGInventoryAccessModule where it belongs. They need to exchange some events, so added those to EventManager. Those events (TeleportStart and TeleportFail) are nice to have anyway.
2012-04-07Rather than having a FromFolderID property on every single prim and only ↵Justin Clark-Casey (justincc)2-6/+15
ever using the root prim one, store on SOG instead. This reduces pointless memory usage.
2012-04-07Store FromItemID for attachments once on SOG instead of on every SOP and ↵Justin Clark-Casey (justincc)3-19/+13
only ever using the root part entry. This eliminates some pointless memory use.
2012-04-06refactor: Eliminate unnecessary SOP.m_physActorJustin Clark-Casey (justincc)1-10/+1
2012-04-06Fix llGetLinkPrimParams for PRIM_POS_LOCAL for child prims whether in scene ↵Justin Clark-Casey (justincc)1-3/+13
or attachments. Return relative position to root prim rather than 0,0,0. Should fix same issue with llGetLocalPos() http://opensimulator.org/mantis/view.php?id=5951
2012-04-06For llGetMass(), return the mass of the avatar is the object is attached.Justin Clark-Casey (justincc)1-0/+16
As per http://lslwiki.net/lslwiki/wakka.php?wakka=llGetMass This is the mass as used by the physics engine (ODE or Bullet).
2012-04-06If an AddItem fails, try adding it to the right folder type.Diva Canto1-20/+63
2012-04-03remove possible PhysActor unexpectedly null race conditions when changing ↵Justin Clark-Casey (justincc)2-63/+74
prim collision status factor out common SOP physics scene adding code into a common SOP.AddToPhysics() that is the counterpart to the existing RemoveFromPhysics()
2012-04-03Eliminate race condition where many callers would check SOP.PhysicsActor != ↵Justin Clark-Casey (justincc)4-150/+204
null then assume it was still not null in later code. Another thread could come and turn off physics for a part (null PhysicsActor) at any point. Had to turn off localCopy on warp3D CoreModules section in prebuild.xml since on current nant this copies all DLLs in bin/ which can be a very large number with compiled DLLs No obvious reason for doing that copy - nothing else does it.
2012-03-31refactor: Rename SOG.GetChildPart() to GetPart() since it can also return ↵Justin Clark-Casey (justincc)5-29/+29
the 'root' part.
2012-03-31Rename SOG.HasChildPrim(uint) to SOG.ContainsPart(uint) to match existing ↵Justin Clark-Casey (justincc)2-32/+21
ContainsPart method and remove method duplication. HasChildPrim is also misleading since the 'root' prim can also be returned.
2012-03-31minor: small message adjustment and unnecessary code elimination when ↵Justin Clark-Casey (justincc)1-1/+1
notifying client of no build permission
2012-03-31fix Infinite loading on No Rez http://opensimulator.org/mantis/view.php?id=5932PixelTomsen1-1/+7
2012-03-30refactor: Move "friends show cache" console command out into separate ↵Justin Clark-Casey (justincc)1-4/+21
FriendsCommandsModule. Expose required methods on IFriendsModule. Rename GetFriends() -> GetFriendsFromCache() for self-documentation
2012-03-30Add simple login test with online friends. Add IFriendsModule.GrantRights() ↵Justin Clark-Casey (justincc)1-2/+22
for granting rights via a module call. Rename IFriendsModule.GetFriendPerms() -> GetRightsGrantedByFriend() to be more self-documenting and consistent with friends module terminology. Add some method doc.
2012-03-29Add back parts of reverted changes that were not concerned with child agent ↵Justin Clark-Casey (justincc)2-1/+6
caching. This adds ScenePresence to IClientAPI.SceneAgent earlier on in the add client process so that its information is available to EventManager.OnNewClient() and OnClientLogin() Also add a code comment as to why we're caching friend information for child agents.
2012-03-29Also add OSS header to interfaceMelanie1-1/+28
2012-03-29Change namespace on CallingCardModule and correct interface file placemant. ↵Melanie1-0/+13
Also ass OpenSource header
2012-03-29Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)2-3/+1
functions require caching for child agents." We need to cache child agents so that friends object edit/delete permissions will work across boarders on regions hosted by different simulators. This reverts commit d9f7b8549b3cb9699eb8bd54242d31aac0f8241a.
2012-03-29Revert "Add comment about setting client.SceneAgent in AddNewClient()"Justin Clark-Casey (justincc)1-3/+0
This reverts commit 964cae4f37120db34d0d3e2f08ab998215237dfd.
2012-03-29Add comment about setting client.SceneAgent in AddNewClient()Justin Clark-Casey (justincc)1-0/+3
2012-03-28Simplify friends caching by only doing this for root agents - no functions ↵Justin Clark-Casey (justincc)2-1/+3
require caching for child agents. This allows us to avoid unnecessary multiple calls to the friends service. All friends functions originate from the root agent and only go to other root agents in existing code. This also allows us to eliminate complex ref counting.
2012-03-28HG 2.0: added the beginning of HGSuitcaseInventoryService. Plus moved the ↵Diva Canto1-16/+0
hack away from ScenePresence. This is better but it still doesn't restore the inventory upon arrival.
2012-03-27More on switching the root folder from under the viewer. More experiments.Diva Canto2-15/+18
2012-03-27HG: Switch root folders from under the viewer. Towards HG 2.0. This is ↵Diva Canto1-4/+11
guarded by an obscure config that no one but me should be using at this point.
2012-03-28Add "friends show cache <first-name> <last-name>" command for debugging ↵Justin Clark-Casey (justincc)1-0/+15
purposes. This adds a reverse lookup (name -> ID) to IUserManagement instead of hitting the UserAccountService directly.
2012-03-28minor: Add some documentation to OnNewClient and OnClientClosed eventsJustin Clark-Casey (justincc)1-2/+10
2012-03-27Two new scripting functions osInviteToGroup(userID) and ↵Snoopy Pfeffer1-0/+2
osEjectFromGroup(userID) that invite/eject users to/from groups the object containing the script is set to. These functions also work for closed groups.
2012-03-27When loading objects from DB, first add to scene, then call ↵Dan Lake1-1/+1
TriggerOnSceneObjectLoaded.
2012-03-27HG: beginning of a more restrictive inventory access procedure (optional). ↵Diva Canto1-0/+8
Experimental: we'll try switching the root folder from under the viewer.
2012-03-26Add some more overloads to allow registering overloaded methods and listsMelanie1-0/+2
of methods.
2012-03-26Add a hust UUID to the script invocationsMelanie1-1/+1
2012-03-26Fix the omission on the interface declarationMelanie1-1/+1
2012-03-26Dynamically create the delegate type to reduce complexity in the callerMelanie1-1/+2
2012-03-26Correct the design error I introduced into ScriptComms. Untested but about toMelanie1-4/+3
be.
2012-03-25Simplify the module invocation registration. The types and method nameMelanie1-1/+2
can be pulled fromt he delegate so we don't need to pass them explicitly
2012-03-23Comment out log message about sending periodic appearance updates.Justin Clark-Casey (justincc)1-2/+2
2012-03-23Add experimental SendPeriodicAppearanceUpdates = true/false setting to ↵Justin Clark-Casey (justincc)1-0/+17
[Startup] in OpenSim.ini On osgrid and other places, I have observed that manually sending appearance updates from the console often relieves grey avatar syndrome. Despite hunting high and low, I haven't been able to find where this packet is sometimes being lost - it might be a persistent viewer bug for all I know. Therefore, this experimental setting resends appearance data for everybody in the scene every 60 seconds. These packets are small and the viewer only fetches texture data if it doesn't already have it. Default is false.
2012-03-23Add a scene maintenance thread in parallel to the heartbeat thread. The ↵Justin Clark-Casey (justincc)1-14/+77
maintenance thread will end up running regular jobs that don't need to be in the main scene loop. The idea is to make the critical main scene loop as skinny as possible - it doesn't need to run things that aren't time critical and don't depend on update ordering. This will be done gradually over time to try and uncover any issues. Many non-criticial scene loop activities are being launched on separate threadpool threads anyway. This may also allow modules to register their own maintenance jobs without having to maintain their own timers and threads. Currently the maintenance loop runs once a second, as opposed to the 89ms scene loop.
2012-03-23Remove unnecessary shutting down check in Scene.Heartbeat(). Add some ↵Justin Clark-Casey (justincc)1-17/+20
method doc. Rename HeartbeatThread, shuttingdown to conform to code standards.
2012-03-23Rename Scene.StartTimer() to Start() - this method no longer uses a timer. ↵Justin Clark-Casey (justincc)1-24/+25
Comment out more effectively unused old heartbeat code.
2012-03-23Fix build breakJustin Clark-Casey (justincc)1-1/+1
2012-03-23Fix bug in ScenePresenceAnimator.RemoveAnimation() introduced in commit 1a8769eJustin Clark-Casey (justincc)2-3/+3
Forgot to uppercase the animation name for default animations, since for some reason we store and use them in upper rather than lowercase.
2012-03-23Comment out unused scene loop restart code.Justin Clark-Casey (justincc)1-19/+22
This has actually been unused since at least 0.7.2 due to earlier changes.
2012-03-23Use m_lastFrameTick instead of m_lastUpdate in Scene.GetHealth(). ↵Justin Clark-Casey (justincc)1-2/+2
m_lastUpdate is no longer properly updated and is redundant anyway.