Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make TestSetPhysicsSinglePrim() actually add the object to the scene in ↵ | Justin Clark-Casey (justincc) | 2012-04-22 | 1 | -0/+2 | |
| | | | | order to test more code paths. | |||||
* | Fix bug where setting phantom on a prim would result in a server log message ↵ | Justin Clark-Casey (justincc) | 2012-04-22 | 3 | -12/+13 | |
| | | | | | | | | rather than setting phantom. This was an oversight when removing some race conditions from PhysicsActor setting recently. Regression tests extended to probe this code path. Extending regression tests required implementation of a BasicPhysicsPrim (there was none before). However, BasicPhysics plugin is still of no current practical use other than to fill in as a component for other parts of regression testing. | |||||
* | Add test for setting physics in a linkset | Justin Clark-Casey (justincc) | 2012-04-21 | 1 | -2/+28 | |
| | ||||||
* | Add regression test for prim status when root prim in a new linkset is ↵ | Justin Clark-Casey (justincc) | 2012-04-21 | 2 | -1/+20 | |
| | | | | non-physical | |||||
* | Fix a bug where linking a non-physical prim with a physical prim as root ↵ | Justin Clark-Casey (justincc) | 2012-04-21 | 2 | -0/+22 | |
| | | | | | | | | would make the non-physical prim phantom rather than part of the physics object. On region restart, the whole object would become physical as expected. Observed behaviour from elsewhere is that all prims in a new linkset should take on the status of the root prim. Add regression test for this behaviour. | |||||
* | Add test for correct physics status on linking two physics objects | Justin Clark-Casey (justincc) | 2012-04-21 | 1 | -2/+26 | |
| | | | | Also fixes last build break. | |||||
* | refactor: extract common setup code in SceneObjectStatusTests | Justin Clark-Casey (justincc) | 2012-04-21 | 1 | -10/+16 | |
| | ||||||
* | Add TestSetPhysics() to SOP status tests | Justin Clark-Casey (justincc) | 2012-04-21 | 2 | -3/+26 | |
| | ||||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2012-04-18 | 1 | -0/+48 | |
|\ | ||||||
| * | This commit adds a new optional region module, JsonStore, that provides ↵ | Mic Bowman | 2012-04-17 | 1 | -0/+48 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | structured storage (dictionaries and arrays of string values) for scripts and region modules. In addition, there are operations on the storage that enable "real" distributed computation between scripts through operations similar to those of a tuple space. Scripts can share task queues, implement shared locks or semaphores, etc. The structured store is limited to the current region and is not currently persisted. However, script operations are defined to initialize a store from a notecard and to serialize the store to a notecard. Documentation will be posted to the opensim wiki soon. | |||||
* | | minor: Add some method doc. Add warnings since calling SOG link/delink ↵ | Justin Clark-Casey (justincc) | 2012-04-17 | 2 | -0/+22 | |
|/ | | | | methods directly rather than through Scene may allow race conditions. | |||||
* | Add TestGetChildPartPositionAfterObjectRotation() | Justin Clark-Casey (justincc) | 2012-04-17 | 1 | -1/+37 | |
| | ||||||
* | Add test TestGetChildPartPosition() | Justin Clark-Casey (justincc) | 2012-04-17 | 1 | -0/+28 | |
| | ||||||
* | refactor: Rename EstateSettings.IsEstateManager() to ↵ | Justin Clark-Casey (justincc) | 2012-04-17 | 1 | -3/+3 | |
| | | | | | | | EstateSettings.IsEstateManagerOrOwner() to reflect what it actually does. This makes it consistent with other parts of OpenSimulator that are treating ESTATE_MANAGER and ESTATE_OWNER as different entities. As per opensim-dev mailing list. | |||||
* | Add GroupPosition and GetWorldPosition() checks to TestGetRootPartPosition() | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -1/+3 | |
| | ||||||
* | minor: make test names consistent | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -1/+1 | |
| | ||||||
* | refactor: move common init code into SetUp() in SceneObjectSpatialTests | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -8/+13 | |
| | ||||||
* | refactor: put SOG position test in a separate TestSceneObjectGroupPosition() | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -1/+17 | |
| | ||||||
* | Add simple RelativePosition and OffsetPosition checks to TestGetRootPartPosition | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -0/+2 | |
| | ||||||
* | Add very basic TestGetRootPartPosition() test | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -0/+65 | |
| | ||||||
* | Mantis 55025 Implement script time. | Talun | 2012-04-12 | 5 | -8/+84 | |
| | | | | Signed-off-by: nebadon <michael@osgrid.org> | |||||
* | New OS scripting functions osSetTerrainTexture and osSetTerrainHeight as ↵ | Snoopy Pfeffer | 2012-04-10 | 1 | -0/+3 | |
| | | | | originally proposed in SL Jira (https://jira.secondlife.com/browse/SVC-244). | |||||
* | Mantis5502 implementation of some of the new constants | Talun | 2012-04-09 | 5 | -2/+131 | |
| | | | | Signed-off-by: Melanie <melanie@t-data.com> | |||||
* | Addresses mantis #5846 | Diva Canto | 2012-04-08 | 1 | -1/+3 | |
| | ||||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Diva Canto | 2012-04-06 | 4 | -97/+128 | |
|\ | ||||||
| * | Rather than having a FromFolderID property on every single prim and only ↵ | Justin Clark-Casey (justincc) | 2012-04-07 | 2 | -6/+15 | |
| | | | | | | | | | | | | 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-07 | 3 | -19/+13 | |
| | | | | | | | | | | | | only ever using the root part entry. This eliminates some pointless memory use. | |||||
| * | refactor: Eliminate unnecessary SOP.m_physActor | Justin Clark-Casey (justincc) | 2012-04-06 | 1 | -10/+1 | |
| | | ||||||
| * | Fix llGetLinkPrimParams for PRIM_POS_LOCAL for child prims whether in scene ↵ | Justin Clark-Casey (justincc) | 2012-04-06 | 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 | |||||
| * | For llGetMass(), return the mass of the avatar is the object is attached. | Justin Clark-Casey (justincc) | 2012-04-06 | 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). | |||||
| * | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2012-04-06 | 1 | -20/+63 | |
| |\ | ||||||
| * | | remove possible PhysActor unexpectedly null race conditions when changing ↵ | Justin Clark-Casey (justincc) | 2012-04-03 | 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() | |||||
* | | | Moved the inventory manipulation from HGEntityTransferModule to ↵ | Diva Canto | 2012-04-06 | 1 | -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. | |||||
* | | If an AddItem fails, try adding it to the right folder type. | Diva Canto | 2012-04-06 | 1 | -20/+63 | |
|/ | ||||||
* | Eliminate race condition where many callers would check SOP.PhysicsActor != ↵ | Justin Clark-Casey (justincc) | 2012-04-03 | 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. | |||||
* | refactor: Rename SOG.GetChildPart() to GetPart() since it can also return ↵ | Justin Clark-Casey (justincc) | 2012-03-31 | 5 | -29/+29 | |
| | | | | the 'root' part. | |||||
* | Rename SOG.HasChildPrim(uint) to SOG.ContainsPart(uint) to match existing ↵ | Justin Clark-Casey (justincc) | 2012-03-31 | 2 | -32/+21 | |
| | | | | | | ContainsPart method and remove method duplication. HasChildPrim is also misleading since the 'root' prim can also be returned. | |||||
* | minor: small message adjustment and unnecessary code elimination when ↵ | Justin Clark-Casey (justincc) | 2012-03-31 | 1 | -1/+1 | |
| | | | | notifying client of no build permission | |||||
* | fix Infinite loading on No Rez http://opensimulator.org/mantis/view.php?id=5932 | PixelTomsen | 2012-03-31 | 1 | -1/+7 | |
| | ||||||
* | refactor: Move "friends show cache" console command out into separate ↵ | Justin Clark-Casey (justincc) | 2012-03-30 | 1 | -4/+21 | |
| | | | | | | 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-30 | 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. | |||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2012-03-29 | 1 | -1/+28 | |
|\ | ||||||
| * | Also add OSS header to interface | Melanie | 2012-03-29 | 1 | -1/+28 | |
| | | ||||||
* | | Add back parts of reverted changes that were not concerned with child agent ↵ | Justin Clark-Casey (justincc) | 2012-03-29 | 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. | |||||
* | Change namespace on CallingCardModule and correct interface file placemant. ↵ | Melanie | 2012-03-29 | 1 | -0/+13 | |
| | | | | Also ass OpenSource header | |||||
* | Revert "Simplify friends caching by only doing this for root agents - no ↵ | Justin Clark-Casey (justincc) | 2012-03-29 | 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. | |||||
* | Revert "Add comment about setting client.SceneAgent in AddNewClient()" | Justin Clark-Casey (justincc) | 2012-03-29 | 1 | -3/+0 | |
| | | | | This reverts commit 964cae4f37120db34d0d3e2f08ab998215237dfd. | |||||
* | Add comment about setting client.SceneAgent in AddNewClient() | Justin Clark-Casey (justincc) | 2012-03-29 | 1 | -0/+3 | |
| | ||||||
* | Simplify friends caching by only doing this for root agents - no functions ↵ | Justin Clark-Casey (justincc) | 2012-03-28 | 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. | |||||
* | HG 2.0: added the beginning of HGSuitcaseInventoryService. Plus moved the ↵ | Diva Canto | 2012-03-28 | 1 | -16/+0 | |
| | | | | hack away from ScenePresence. This is better but it still doesn't restore the inventory upon arrival. |