aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-04-17Add test TestGetChildPartPosition()Justin Clark-Casey (justincc)1-0/+28
2012-04-17Move some public methods on WebStatsModule to private to reduce some static ↵Justin Clark-Casey (justincc)1-14/+14
analysis complexity. There's no obvious reason for these methods to be public.
2012-04-17refactor: Rename EstateSettings.IsEstateManager() to ↵Justin Clark-Casey (justincc)9-16/+16
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.
2012-04-17Null reference in llGetObjectMass on a seated avatar.Talun1-1/+1
2012-04-17Use INSERT OR REPLACE INTO sql in WebStatsModule for session update rather ↵Justin Clark-Casey (justincc)1-77/+7
than separate insert and update statements
2012-04-17correct bug where f_invalid was being inserted on a webstats update for an ↵Justin Clark-Casey (justincc)1-2/+2
existing session rather than d_world_kb
2012-04-17Simplify WebStatsModule by removing the uncompleted migrations section.Justin Clark-Casey (justincc)1-29/+3
Use "create table if not exists" instead. Client stats data is transitory data that it is not worth migrating.
2012-04-17Fix bug in WebStatsModule where an exception would always be output on ↵Justin Clark-Casey (justincc)1-5/+10
update if the user teleported to another region on that simulator. This was because update was looking for an existing stats record unique in session id, agent id and region id. But if the user teleports to another region then region id changes. WebStatsModule promptly doesn't find the existing record and tries to insert a new one, but only session id is the primary key and that's still the same, which makes things go bang. This makes the update search only on the unique session id. This is only an issue with simulators that have multiple regions where the webstats module is enabled.
2012-04-14Add GroupPosition and GetWorldPosition() checks to TestGetRootPartPosition()Justin Clark-Casey (justincc)1-1/+3
2012-04-14minor: make test names consistentJustin Clark-Casey (justincc)1-1/+1
2012-04-14refactor: move common init code into SetUp() in SceneObjectSpatialTestsJustin Clark-Casey (justincc)1-8/+13
2012-04-14refactor: put SOG position test in a separate TestSceneObjectGroupPosition()Justin Clark-Casey (justincc)1-1/+17
2012-04-14Add simple RelativePosition and OffsetPosition checks to TestGetRootPartPositionJustin Clark-Casey (justincc)1-0/+2
2012-04-13Missing or unimplemented LSL memory functions.Talun4-13/+62
Implemented to behave as if scripts were LSO. Signed-off-by: nebadon <michael@osgrid.org>
2012-04-14Correct whitespace error introduced by previous commitMelanie1-1/+1
2012-04-14Add very basic TestGetRootPartPosition() testJustin Clark-Casey (justincc)1-0/+65
2012-04-13Added ability to exclude inventory items or folders when saving IAR files.Kevin Cozens2-84/+128
2012-04-13Change threat level of osNpcStopMoveToTarget from Low to High to match other ↵Justin Clark-Casey (justincc)1-1/+1
NPC functions, and change OSSL permissions name to osNpcStopMoveToTarget instead of osNpcStopMoveTo Thanks to Oren Hurvitz for pointing out these mistakes.
2012-04-13Remove hardcoded god requirement from osSetRegionWaterHeight, ↵Justin Clark-Casey (justincc)1-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.
2012-04-12Mantis 55025 Implement script time.Talun7-46/+135
Signed-off-by: nebadon <michael@osgrid.org>
2012-04-11HGFriendsModule: Type casts to fix compile errorSnoopy Pfeffer1-1/+1
2012-04-11HGFriendsModule: Added optional user level based restriction to send ↵Snoopy Pfeffer1-4/+20
friendship invitations to foreign users.
2012-04-11HGFriendsModule: add the scaffolding for supporting permissions pertaining ↵Diva Canto2-2/+32
to HG friendships. Snoopy take it from here.
2012-04-10New OS scripting functions osSetTerrainTexture and osSetTerrainHeight as ↵Snoopy Pfeffer5-2/+84
originally proposed in SL Jira (https://jira.secondlife.com/browse/SVC-244).
2012-04-10Add uri to various log messages when region registration fails. Upgrade ↵Justin Clark-Casey (justincc)1-8/+15
some debug log messages to error.
2012-04-10Do not timeout group member cache entry, as long as there are frequent group ↵Snoopy Pfeffer1-0/+3
membership requests. These are caused by movements within the parcel boundaries.
2012-04-09Mantis5502 implementation of some of the new constantsTalun6-20/+155
Signed-off-by: Melanie <melanie@t-data.com>
2012-04-08Addresses mantis #5846Diva Canto1-1/+3
2012-04-07A few more minor improvements on Suitcase inventory service.Diva Canto1-7/+6
2012-04-06Better Suitcase Inventory Service.Diva Canto1-48/+55
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 Canto2-835/+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 Canto2-57/+1007
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-06A few minor tweaks here and there in XInventoryService.Diva Canto1-14/+48
2012-04-06Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto6-33/+201
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-06Guard against null inventory contents.Diva Canto1-2/+2
2012-04-06Thank you, BaseHttpServer, for telling me where things go wrong.Diva Canto1-2/+2
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