aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove hardcoded god requirement from osSetRegionWaterHeight, ↵Justin Clark-Casey (justincc)2012-04-131-36/+25
| | | | | | | | osSetRegionSunSettings and, osSetEstateSunSettings no matter the threat level. Change threat level on osSetRegionSunSettings and osSetEstateSunSettings from nuisance to high to match similar functions. If you had enabled these functions but had relied on the hardcoded god check in the code, then please adjust your OSSL permissions config. Thanks to Oren Hurvitz for pointing this out.
* Do not timeout group member cache entry, as long as there are frequent group ↵Snoopy Pfeffer2012-04-101-0/+3
| | | | membership requests. These are caused by movements within the parcel boundaries.
* Mantis5502 implementation of some of the new constantsTalun2012-04-096-20/+155
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Addresses mantis #5846Diva Canto2012-04-081-1/+3
|
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2012-04-0610-128/+268
|\
| * Rather than having a FromFolderID property on every single prim and only ↵Justin Clark-Casey (justincc)2012-04-074-10/+19
| | | | | | | | | | | | ever using the root prim one, store on SOG instead. This reduces pointless memory usage.
| * Store FromItemID for attachments once on SOG instead of on every SOP and ↵Justin Clark-Casey (justincc)2012-04-078-34/+29
| | | | | | | | | | | | only ever using the root part entry. This eliminates some pointless memory use.
| * refactor: Eliminate unnecessary SOP.m_physActorJustin Clark-Casey (justincc)2012-04-061-10/+1
| |
| * Implement PRIM_POS_LOCAL on llSetPrimitiveParams() and other prim params LSL ↵Justin Clark-Casey (justincc)2012-04-061-0/+1
| | | | | | | | | | | | functions. This is the same as PRIM_POSITION
| * refactor: Use clearer part.ParentGroup.IsAttachment in LSL_Api.GetPartLocalPos()Justin Clark-Casey (justincc)2012-04-061-4/+4
| |
| * Fix llGetLinkPrimParams for PRIM_POS_LOCAL for child prims whether in scene ↵Justin Clark-Casey (justincc)2012-04-062-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
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-04-062-0/+82
| |\
| | * Addition of missing constants for llGetObjectDetails including for Mantis 5502Talun2012-04-062-0/+82
| | | | | | | | | | | | Signed-off-by: nebadon <michael@osgrid.org>
| * | For llGetMass(), return the mass of the avatar is the object is attached.Justin Clark-Casey (justincc)2012-04-062-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).
| * Make llGetMass() return total mass of object when called on root prim.Justin Clark-Casey (justincc)2012-04-061-1/+4
| | | | | | | | | | As per http://lslwiki.net/lslwiki/wakka.php?wakka=llGetMass Aims to resolve http://opensimulator.org/mantis/view.php?id=5954
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-04-0619-61/+341
| |\
| * | remove possible PhysActor unexpectedly null race conditions when changing ↵Justin Clark-Casey (justincc)2012-04-032-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()
* | | Moved the inventory manipulation from HGEntityTransferModule to ↵Diva Canto2012-04-064-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.
* | Deleted the unused and commented code from 2 commits ago.Diva Canto2012-04-061-241/+1
| |
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2012-04-062-3/+49
|\ \
| * | Added missing refresh of group membership client side cache to the groups ↵Snoopy Pfeffer2012-04-051-1/+2
| | | | | | | | | | | | module. Before memberships of non active groups often were not stored in the cache (n_groupPowers).
| * | Revert last commitSnoopy Pfeffer2012-04-051-22/+25
| | |
| * | Group based access restrictions to parcels require group membership, but not ↵Snoopy Pfeffer2012-04-051-25/+22
| | | | | | | | | | | | that this group is active for that user.
| * | Little bug fix in HasGroupAccess, to properly store the case "true" in the ↵Snoopy Pfeffer2012-04-051-5/+2
| | | | | | | | | | | | cache.
| * | Simplify group access checks and break them out into a separate method.Melanie2012-04-051-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.
| * | Implements group based access restrictions for parcels of land. Because of ↵Snoopy Pfeffer2012-04-051-1/+57
| | | | | | | | | | | | caching there can be a delay of up to 30 seconds until the access rights are effectively changed for a user.
* | | If an AddItem fails, try adding it to the right folder type.Diva Canto2012-04-061-20/+63
| | |
* | | WARNING: LOTS OF COMMENTED AND UNUSED CODE IN THIS COMMIT. This is on ↵Diva Canto2012-04-061-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.
* | | Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto2012-04-063-12/+97
| | |
* | | Packing of folder in SendBulkUpdateInventory always set the folder type to ↵Diva Canto2012-04-061-1/+2
|/ / | | | | | | -1. Not sure if there's a reason for it, but I'm changing it to the given folder type.
* | terrain save-tile extensions Signed-off-by: Garmin Kawaguichi ↵Garmin Kawaguichi2012-04-0311-3/+74
|/ | | | | | <garmin.kawaguichi@magalaxie.com> Signed-off-by: Melanie <melanie@t-data.com>
* Fix more SOP.PhysActor race conditions in LSL_ApiJustin Clark-Casey (justincc)2012-04-031-7/+19
|
* Eliminate race condition where many callers would check SOP.PhysicsActor != ↵Justin Clark-Casey (justincc)2012-04-035-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.
* Implement bulk inventory update over CAPS (not recursive by design,Melanie2012-03-311-1/+47
| | | | do NOT CHANGE THIS, needed for HG 2.0)
* refactor: Rename SOG.GetChildPart() to GetPart() since it can also return ↵Justin Clark-Casey (justincc)2012-03-317-31/+31
| | | | the 'root' part.
* Rename SOG.HasChildPrim(uint) to SOG.ContainsPart(uint) to match existing ↵Justin Clark-Casey (justincc)2012-03-313-35/+24
| | | | | | ContainsPart method and remove method duplication. HasChildPrim is also misleading since the 'root' prim can also be returned.
* Allow llRegionSayTo() to work on the PUBLIC_CHANNEL, as per ↵Justin Clark-Casey (justincc)2012-03-311-1/+1
| | | | | | http://wiki.secondlife.com/wiki/LlRegionSayTo Addresses http://opensimulator.org/mantis/view.php?id=5950
* minor: small message adjustment and unnecessary code elimination when ↵Justin Clark-Casey (justincc)2012-03-312-2/+2
| | | | notifying client of no build permission
* fix Infinite loading on No Rez http://opensimulator.org/mantis/view.php?id=5932PixelTomsen2012-03-312-1/+12
|
* minor: remove some now unneeded code from FriendsCommandsModuleJustin Clark-Casey (justincc)2012-03-301-55/+0
|
* Make default "show friends" console command show friends fetched from the ↵Justin Clark-Casey (justincc)2012-03-303-8/+86
| | | | | | friends service. There is no a --cache option which will show friends from the local cache if available.
* refactor: Move "friends show cache" console command out into separate ↵Justin Clark-Casey (justincc)2012-03-304-97/+205
| | | | | | FriendsCommandsModule. Expose required methods on IFriendsModule. Rename GetFriends() -> GetFriendsFromCache() for self-documentation
* Add simple login test with online friends. Add IFriendsModule.GrantRights() ↵Justin Clark-Casey (justincc)2012-03-305-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.
* refactor: Stop passing both IClientAPI and agentID to friend event ↵Justin Clark-Casey (justincc)2012-03-294-27/+58
| | | | listeners, these are redundant. Replace a few magic numbers with FriendRights enum already used elsewhere.
* Add simple regression test for logging in with offline friends. Don't ↵Justin Clark-Casey (justincc)2012-03-291-1/+46
| | | | expect to receive any in this instance.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-03-291-1/+28
|\
| * Also add OSS header to interfaceMelanie2012-03-291-1/+28
| |
* | Add back parts of reverted changes that were not concerned with child agent ↵Justin Clark-Casey (justincc)2012-03-296-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.
* Change namespace on CallingCardModule and correct interface file placemant. ↵Melanie2012-03-292-2/+42
| | | | Also ass OpenSource header
* Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)2012-03-297-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.