aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-04-06Moved the inventory manipulation from HGEntityTransferModule to ↵Diva Canto4-150/+208
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)4-10/+19
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)8-34/+29
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-06Implement PRIM_POS_LOCAL on llSetPrimitiveParams() and other prim params LSL ↵Justin Clark-Casey (justincc)1-0/+1
functions. This is the same as PRIM_POSITION
2012-04-06refactor: Use clearer part.ParentGroup.IsAttachment in LSL_Api.GetPartLocalPos()Justin Clark-Casey (justincc)1-4/+4
2012-04-06Fix llGetLinkPrimParams for PRIM_POS_LOCAL for child prims whether in scene ↵Justin Clark-Casey (justincc)2-13/+24
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)2-3/+40
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-06Addition of missing constants for llGetObjectDetails including for Mantis 5502Talun2-0/+82
Signed-off-by: nebadon <michael@osgrid.org>
2012-04-06Make llGetMass() return total mass of object when called on root prim.Justin Clark-Casey (justincc)1-1/+4
As per http://lslwiki.net/lslwiki/wakka.php?wakka=llGetMass Aims to resolve http://opensimulator.org/mantis/view.php?id=5954
2012-04-06Deleted the unused and commented code from 2 commits ago.Diva Canto1-241/+1
2012-04-06If an AddItem fails, try adding it to the right folder type.Diva Canto1-20/+63
2012-04-06WARNING: LOTS OF COMMENTED AND UNUSED CODE IN THIS COMMIT. This is on ↵Diva Canto1-21/+295
purpose; it's an historical record of what works and what doesn't wrt manipulating inventory at the viewer. I'll remove the unused code in a subsequent commit, but wanted to place it in history. The uncommented code works.
2012-04-06Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto3-12/+97
2012-04-06Packing of folder in SendBulkUpdateInventory always set the folder type to ↵Diva Canto1-1/+2
-1. Not sure if there's a reason for it, but I'm changing it to the given folder type.
2012-04-05Added missing refresh of group membership client side cache to the groups ↵Snoopy Pfeffer1-1/+2
module. Before memberships of non active groups often were not stored in the cache (n_groupPowers).
2012-04-05Revert last commitSnoopy Pfeffer1-22/+25
2012-04-05Group based access restrictions to parcels require group membership, but not ↵Snoopy Pfeffer1-25/+22
that this group is active for that user.
2012-04-05Little bug fix in HasGroupAccess, to properly store the case "true" in the ↵Snoopy Pfeffer1-5/+2
cache.
2012-04-05Simplify group access checks and break them out into a separate method.Melanie1-57/+49
Use existing cache if the avatar is within the region and use an ExpiringCache to cache status if the avatar is not in the region. The 30 second delay now applies to scripted objects ony and only when the owner is not present.
2012-04-05Implements group based access restrictions for parcels of land. Because of ↵Snoopy Pfeffer1-1/+57
caching there can be a delay of up to 30 seconds until the access rights are effectively changed for a user.
2012-04-03terrain save-tile extensions Signed-off-by: Garmin Kawaguichi ↵Garmin Kawaguichi11-3/+74
<garmin.kawaguichi@magalaxie.com> Signed-off-by: Melanie <melanie@t-data.com>
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-03Fix more SOP.PhysActor race conditions in LSL_ApiJustin Clark-Casey (justincc)1-7/+19
2012-04-03Eliminate race condition where many callers would check SOP.PhysicsActor != ↵Justin Clark-Casey (justincc)5-154/+208
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-31Implement bulk inventory update over CAPS (not recursive by design,Melanie1-1/+47
do NOT CHANGE THIS, needed for HG 2.0)
2012-03-31refactor: Rename SOG.GetChildPart() to GetPart() since it can also return ↵Justin Clark-Casey (justincc)7-31/+31
the 'root' part.
2012-03-31Rename SOG.HasChildPrim(uint) to SOG.ContainsPart(uint) to match existing ↵Justin Clark-Casey (justincc)3-35/+24
ContainsPart method and remove method duplication. HasChildPrim is also misleading since the 'root' prim can also be returned.
2012-03-31Allow llRegionSayTo() to work on the PUBLIC_CHANNEL, as per ↵Justin Clark-Casey (justincc)1-1/+1
http://wiki.secondlife.com/wiki/LlRegionSayTo Addresses http://opensimulator.org/mantis/view.php?id=5950
2012-03-31minor: small message adjustment and unnecessary code elimination when ↵Justin Clark-Casey (justincc)2-2/+2
notifying client of no build permission
2012-03-31fix Infinite loading on No Rez http://opensimulator.org/mantis/view.php?id=5932PixelTomsen2-1/+12
2012-03-30minor: remove some now unneeded code from FriendsCommandsModuleJustin Clark-Casey (justincc)1-55/+0
2012-03-30Make default "show friends" console command show friends fetched from the ↵Justin Clark-Casey (justincc)3-8/+86
friends service. There is no a --cache option which will show friends from the local cache if available.
2012-03-30refactor: Move "friends show cache" console command out into separate ↵Justin Clark-Casey (justincc)4-97/+205
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)5-64/+102
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-29refactor: Stop passing both IClientAPI and agentID to friend event ↵Justin Clark-Casey (justincc)4-27/+58
listeners, these are redundant. Replace a few magic numbers with FriendRights enum already used elsewhere.
2012-03-29Add simple regression test for logging in with offline friends. Don't ↵Justin Clark-Casey (justincc)1-1/+46
expect to receive any in this instance.
2012-03-29Add back parts of reverted changes that were not concerned with child agent ↵Justin Clark-Casey (justincc)6-6/+14
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. ↵Melanie2-2/+42
Also ass OpenSource header
2012-03-29Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)7-29/+53
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-29Committing the Avination calling card moduleMelanie1-0/+286
2012-03-29Pushing the Avination Calling card hooks. Module to follow.Melanie1-4/+17
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)7-53/+29
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 Suitcase inventory: proof of concept now working properly with the ↵Diva Canto1-10/+11
heavy SendBulkInventoryUpdate message. Waiting for Melanie to finish the light-weight version of that message.
2012-03-28HG 2.0: added the beginning of HGSuitcaseInventoryService. Plus moved the ↵Diva Canto2-23/+61
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-28Typo fixMelanie1-1/+1