Justin Clark-Casey (justincc)
d8bd7ca436
Comment out AvatarService.SetAvatar debug log line for now
2012-04-30 18:59:43 +01:00
Justin Clark-Casey (justincc)
392f73a000
Comment out some debug ATTACHMENTS log messages for now.
2012-04-30 18:59:35 +01:00
Justin Clark-Casey (justincc)
67efbaf33b
Comment out the noisier AVFACTORY log messages for now.
...
Permanently comment out warnings about ScenePresence not being found - this is entirely expected if the avatar has alraedy logged out or left the scene.
2012-04-30 18:59:27 +01:00
Justin Clark-Casey (justincc)
0d06740148
Improve teleport log debug and error messages to tell us who is teleporting.
2012-04-30 18:58:37 +01:00
Diva Canto
eda6947a22
Changed the Map-related messages from Info to Debug. They're debug messages.
2012-04-30 18:49:07 +01:00
Justin Clark-Casey (justincc)
f331173145
Add online/offline indicator to "friends show" region console command.
...
Improve output table formatting.
2012-04-30 18:48:57 +01:00
Justin Clark-Casey (justincc)
a666cd9e1f
Add osForceAttachToAvatar() and osForceDetachFromAvatar()
...
These behave identically to llAttachToAvatar() and llDetachFromAvatar() except that they do not enforce the PERMISSION_ATTACH check
Intended for use in completely controlled dedicated environments where these checks are more a UI hinderance than a help.
Threat level high.
2012-04-24 00:50:32 +01:00
Justin Clark-Casey (justincc)
2657aa6987
Replace common code to fetch self inventory item (as opposed to uuid) with GetSelfInventoryItem()
...
However, at some point it would be far more convenient to receive the TaskInventoryItem in the constructor rather than just the item UUID, so we don't have to constantly refetch our self item.
2012-04-24 00:45:09 +01:00
Justin Clark-Casey (justincc)
6610cd2332
refactor: Replace calls to InventorySelf() with existing m_itemID in LSL_Api
...
There's no point look up an item ID that we already have.
2012-04-24 00:44:57 +01:00
Justin Clark-Casey (justincc)
0c8b44d514
Add more exception detail to Exception and IOException throws in BaseHttpServer.HandleRequest()
2012-04-24 00:40:19 +01:00
Justin Clark-Casey (justincc)
ec46ff4445
Stop teleports from dropping tall avatars through or embedding them in the floor when lured by short avatars.
...
This involves giving the ceiling of the Z-component in a lure rather than the floor.
Ideally we would give the exact float compensating for relative avatar height but it looks like that isn't possible with the parcel id format used in lures
2012-04-24 00:37:37 +01:00
Melanie
db891880e6
Fix a logic error in app domain creation
2012-04-24 00:36:54 +01:00
Melanie
9c433e8c50
Don't re-add the assembly resolver for each script if not creating the appdomain
2012-04-24 00:36:46 +01:00
Justin Clark-Casey (justincc)
5141863ae3
On "show part" command, show link number.
...
This replaces the Parts count which was rather pointless for a prim (it was either 1 if a child or the number of parts if the root).
This information is still avaliable on the "show object" command.
2012-04-18 23:02:02 +01:00
Justin Clark-Casey (justincc)
d23550dea5
minor: Add some method doc. Add warnings since calling SOG link/delink methods directly rather than through Scene may allow race conditions.
2012-04-18 23:01:56 +01:00
Justin Clark-Casey (justincc)
c3b12510ae
Add TestGetChildPartPositionAfterObjectRotation()
2012-04-18 23:01:42 +01:00
Justin Clark-Casey (justincc)
b2685e3671
Add test TestGetChildPartPosition()
2012-04-18 23:01:33 +01:00
Justin Clark-Casey (justincc)
601d2ddbf3
Move some public methods on WebStatsModule to private to reduce some static analysis complexity.
...
There's no obvious reason for these methods to be public.
2012-04-18 23:01:27 +01:00
Justin Clark-Casey (justincc)
a5e8fe70af
Use INSERT OR REPLACE INTO sql in WebStatsModule for session update rather than separate insert and update statements
2012-04-18 23:01:12 +01:00
Justin Clark-Casey (justincc)
9b3a96aa81
correct bug where f_invalid was being inserted on a webstats update for an existing session rather than d_world_kb
2012-04-18 23:01:06 +01:00
Justin Clark-Casey (justincc)
d674e815bd
Simplify WebStatsModule by removing the uncompleted migrations section.
...
Use "create table if not exists" instead.
Client stats data is transitory data that it is not worth migrating.
2012-04-18 23:01:00 +01:00
Justin Clark-Casey (justincc)
c2e696d686
Fix bug in WebStatsModule where an exception would always be output on 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-18 23:00:51 +01:00
Justin Clark-Casey (justincc)
411dbb8df4
Add GroupPosition and GetWorldPosition() checks to TestGetRootPartPosition()
2012-04-18 23:00:43 +01:00
Justin Clark-Casey (justincc)
b22dfbbf15
minor: make test names consistent
2012-04-18 23:00:36 +01:00
Justin Clark-Casey (justincc)
4c39a3fdbf
refactor: move common init code into SetUp() in SceneObjectSpatialTests
2012-04-18 23:00:30 +01:00
Justin Clark-Casey (justincc)
f3eb366f24
refactor: put SOG position test in a separate TestSceneObjectGroupPosition()
2012-04-18 23:00:22 +01:00
Justin Clark-Casey (justincc)
a20d1b8f6b
Add simple RelativePosition and OffsetPosition checks to TestGetRootPartPosition
2012-04-18 23:00:14 +01:00
Justin Clark-Casey (justincc)
0a51289332
Add very basic TestGetRootPartPosition() test
2012-04-18 23:00:02 +01:00
Justin Clark-Casey (justincc)
97ebfb00b4
Rather than having a FromFolderID property on every single prim and only ever using the root prim one, store on SOG instead.
...
This reduces pointless memory usage.
2012-04-18 22:59:24 +01:00
Justin Clark-Casey (justincc)
c7d664f9d0
Store FromItemID for attachments once on SOG instead of on every SOP and only ever using the root part entry.
...
This eliminates some pointless memory use.
2012-04-18 22:59:18 +01:00
Justin Clark-Casey (justincc)
c2fbaaa95d
refactor: Eliminate unnecessary SOP.m_physActor
2012-04-18 22:59:08 +01:00
Justin Clark-Casey (justincc)
84d4b390f1
remove possible PhysActor unexpectedly null race conditions when changing 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-18 22:58:17 +01:00
Justin Clark-Casey (justincc)
54e59099b7
Fix more SOP.PhysActor race conditions in LSL_Api
2012-04-18 22:58:10 +01:00
Justin Clark-Casey (justincc)
d9585ba37e
Eliminate race condition where many callers would check SOP.PhysicsActor != 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-04-18 22:58:03 +01:00
Justin Clark-Casey (justincc)
45c617b5c3
Allow llRegionSayTo() to work on the PUBLIC_CHANNEL, as per http://wiki.secondlife.com/wiki/LlRegionSayTo
...
Addresses http://opensimulator.org/mantis/view.php?id=5950
2012-04-18 22:55:30 +01:00
Justin Clark-Casey (justincc)
4b0c78c64f
minor: remove some now unneeded code from FriendsCommandsModule
2012-04-18 22:55:12 +01:00
Justin Clark-Casey (justincc)
dd36e23a62
Make default "show friends" console command show friends fetched from the friends service.
...
There is no a --cache option which will show friends from the local cache if available.
2012-04-18 22:55:05 +01:00
Justin Clark-Casey (justincc)
e2dade05d9
Lock NullFriendsData.m_Data for consistency and against concurrent read/write
2012-04-18 22:54:57 +01:00
Justin Clark-Casey (justincc)
fbd61106cb
refactor: Move "friends show cache" console command out into separate FriendsCommandsModule.
...
Expose required methods on IFriendsModule. Rename GetFriends() -> GetFriendsFromCache() for self-documentation
2012-04-18 22:54:45 +01:00
Justin Clark-Casey (justincc)
67e66a2d34
Add simple login test with online friends. Add IFriendsModule.GrantRights() 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-04-18 22:46:10 +01:00
Justin Clark-Casey (justincc)
59911963ca
refactor: Stop passing both IClientAPI and agentID to friend event listeners, these are redundant. Replace a few magic numbers with FriendRights enum already used elsewhere.
2012-04-18 22:45:31 +01:00
Justin Clark-Casey (justincc)
dc2a4a6ccd
Add simple regression test for logging in with offline friends. Don't expect to receive any in this instance.
2012-04-18 22:41:19 +01:00
Justin Clark-Casey (justincc)
81fb0b4f07
Add back parts of reverted changes that were not concerned with child agent 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-04-18 22:41:12 +01:00
Melanie
a06c8fb7b2
Also add OSS header to interface
2012-04-18 22:41:05 +01:00
Melanie
05e70f76a9
Change namespace on CallingCardModule and correct interface file placemant. Also ass OpenSource header
2012-04-18 22:36:24 +01:00
Melanie
b9f4836d3e
Committing the Avination calling card module
2012-04-18 22:36:03 +01:00
Melanie
ef77dc932b
Adding the Avination calling card interface
2012-04-18 22:35:57 +01:00
Justin Clark-Casey (justincc)
bd5b1d4d48
Earlier fix to remove localCopy on prebuild
2012-04-18 22:35:27 +01:00
Melanie
5c2ffa260c
Pushing the Avination Calling card hooks. Module to follow.
2012-04-18 22:35:11 +01:00
Justin Clark-Casey (justincc)
23d04fa25c
Add "friends show cache <first-name> <last-name>" command for debugging purposes.
...
This adds a reverse lookup (name -> ID) to IUserManagement instead of hitting the UserAccountService directly.
2012-04-18 22:11:42 +01:00