Justin Clarke Casey
eca6442bae
* Rig up enough infrastructure to actually perform a successful 'standalone' teleport unit test with checks that the scene presence disappeared from sceneA and appeared in
...
sceneB
* However, I'm not convinced that the actual process in the test completely reflects reality, and a lot of stuff had to be rigged up (which should get resolved over time)
2009-01-16 21:56:13 +00:00
Jeff Ames
23bd915ecd
Minor formatting cleanup, add copyright header.
2009-01-16 04:42:24 +00:00
diva
e80dcfa9f6
Eased the locking times of ScenePresences. No locks were removed, just the locking periods changed.
...
* Added an additional lock in GetScenePresences()
* Changed ForEachClient to use GetScenePresences() instead of the main ScenePresences dictionary, so that there is no need to lock.
2009-01-15 23:37:49 +00:00
Justin Clarke Casey
adc61008cc
* add file I just missed out, nggggff
2009-01-15 21:29:24 +00:00
Justin Clarke Casey
093adb2113
* Add new unit test for simple teleport in a standalone.
...
* Does not yet check results.
2009-01-15 21:27:55 +00:00
Dahlia Trimble
9822f8fc8f
Added a taint to the sculpt texture callback in an attempt to mitigate Mantis #2908 . Thanks Teravus for the suggestions :)
2009-01-15 02:17:30 +00:00
Justin Clarke Casey
8a08e4980d
* Adjust log messages so that we don't get a CONNECTION BEGIN for notifications that won't actually lead to a client connection (because they are from a neighbouring teleport
...
target that needs to trigger a child seeds adjustment on a child agent that has been kept around)
2009-01-14 19:53:15 +00:00
Justin Clarke Casey
3ff8dd34b0
* Remove absolute position and authentication handler addition for incoming 'new user notifications' that have existing scene presences
...
* The position will be reset if the connection turns out to be a root one, and since the client is already authenticated another authentication will not occur anyway
2009-01-14 18:48:57 +00:00
Justin Clarke Casey
75ea84f3d2
* minor: Change around more debugging messages
2009-01-14 18:46:33 +00:00
Justin Clarke Casey
6ae1b80d20
* Do some log tweaking to better see incoming connection success (and failure)
2009-01-14 17:34:04 +00:00
nlin
bfdf2479fb
Improve parsing of joint parameters for NINJA physics (Mantis #2966 ).
...
Multiple spaces or leading/trailing spaces when specifying the prims
to connect should no longer cause problems.
2009-01-14 04:59:57 +00:00
diva
866c85be0d
Easy on locking m_scenePresences in RequestTeleportLocation. With the extra locks of SceneGraph ScenePresences introduced in 7982, this was making TPs not close the agent in the departing region due to locking. That locking problem seemed to occur only in Linux/mono -- I suspect a mono bug here.
2009-01-14 04:18:28 +00:00
Teravus Ovares
c80b2bb98e
* Fix a few caps limiter that were causing problems
...
* Added a path for all sessionids to be logged off when a region secret is provided. (helps log-off dead agents).
2009-01-13 23:25:47 +00:00
Justin Clarke Casey
363054bb2c
* minor; Very minor non-functional tidy ups
2009-01-13 18:23:37 +00:00
Justin Clarke Casey
feba3cc3ff
* Removing set-time command since it doesn't actually do anything at all
...
* If this was crucial to someone then it should be reinsertable as a module
2009-01-13 17:01:57 +00:00
Dr Scofield
9bcaf98e37
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch adds the automatic granting of PERMISSION_CONTROL_CAMERA
on request to a script when an avatar is sitting on the object that the script
resides in.
It also automatically removes PERMISSION_TAKE_CONTROLS and PERMISSION_CONTROL_CAMERA
from the scripts when an avatar stands up. It doesn't remove the other automatically
granted permissions but this follows LL server behavior. Removing these two
permissions avoids some potential race conditions (accidentally taking
control after the avatar has stood up) which may be why LL put
them in the first place.
2009-01-13 08:15:43 +00:00
Melanie Thielker
2ba9dd7eeb
Cause permissions on root prims to not override folded permissions anymore
...
Fix propagation of folded permissions from object inventory to agent
inventory.
2009-01-12 13:19:33 +00:00
Charles Krinke
40f34aeffd
Thank you kindly, Tlaukkan (Tommil) for a patch that:
...
Fixed all NHibernate unit tests by implementing missing persistency
methods, tables, columns and fixing bugs in the existing implementation.
Two minor changes to classes outside NHibernate module: Added Scene
instantiation for SceneObjectGroup in OpenSim.Data.Tests.BasicRegionTest
as this was required by the NHibernate persistency. In the process added
also mock constructor to Scene which only populates RegionInfo in the scene
which is used by ScenePart.RegionUUID. NHibernate module is still in
experimental state and has not been tested at opensim region or ugaim runtime
configuration. Adding unit tests to build is not yet advisable nor using
NHibernate module in any production setup.
2009-01-11 18:24:16 +00:00
Dahlia Trimble
630ce5b264
Revert progressive texture patch from r8001 until issues can be addressed
2009-01-10 09:15:23 +00:00
Dahlia Trimble
3bdd4db3fd
Thanks jhurliman for a patch that implements progressive texture downloading - Mantis #2655
2009-01-10 01:46:47 +00:00
Justin Clarke Casey
af49acd6cc
* refactor: move url sending from scene to DialogModule
2009-01-08 19:28:10 +00:00
Justin Clarke Casey
be41132c72
* minor: Remove now unused SendEstateMessage... method in Scene I forgot from last commit
2009-01-08 19:18:45 +00:00
Justin Clarke Casey
e7bb27b5bd
* refactor: move code to send a dialog to a user from scene to DialogModule
2009-01-08 19:14:52 +00:00
Justin Clarke Casey
17f783457b
* refactor: move code for sending a message to all users in a region to the DialogModule
2009-01-08 18:50:46 +00:00
Justin Clarke Casey
b97a51d7d0
* refactor: Make some direct IClientAPI calls go through the dialog module instead
2009-01-07 20:46:28 +00:00
Justin Clarke Casey
1aa9e63428
* Move general alert code to DialogModule.
...
* Should be a clean build - last failure looked like a mantis hiccup
2009-01-07 20:29:09 +00:00
Justin Clarke Casey
9b96fc9029
* refactor: Establish DialogModule, move some alert code from Scene to here
2009-01-07 20:09:37 +00:00
Justin Clarke Casey
9e297cd722
* Slightly increase ScenePresences locking where it's technically required in SceneGraph
2009-01-07 19:33:20 +00:00
Justin Clarke Casey
a9df572c25
* refactor: Remove MakeHttpRequest wrapper method from Scene in favour of a direct call
2009-01-07 18:36:27 +00:00
Justin Clarke Casey
a31792ee5c
* prune and regrade log messages relating to client login and logout
2009-01-06 21:39:55 +00:00
Justin Clarke Casey
31b0f07085
* Rename GetRandomCapsPath() to GetRandomCapsObjectPath() to fit in with terminology used elsewhere
...
* Last build break was probably a Bamboo failure - hopefully this should succeed
2009-01-06 18:26:27 +00:00
Justin Clarke Casey
715a776f7d
* Move common string aggregation for caps seed path to a method in CapsUtil
2009-01-06 18:06:53 +00:00
Justin Clarke Casey
b1c2cb3d82
* minor: Move GetRandomCapsPath() to a CapsUtil class
2009-01-06 17:27:04 +00:00
Justin Clarke Casey
251387a391
* Remove unused CAPSService
2009-01-06 16:39:08 +00:00
Adam Frisby
79bf2c8096
* Added three new events to SceneGraph:
...
- OnObjectCreate
- OnObjectDuplicate
- OnObjectRemove
2009-01-06 15:14:15 +00:00
Justin Clarke Casey
b6ee2f15ba
* refactor: Remove the need to separately pass in the http listener to the scene - this is always available via CommsManager
2009-01-06 15:09:52 +00:00
Justin Clarke Casey
fde6a1665c
* refactor: call AddHttpHandler() directly via CommsManager
2009-01-06 14:44:45 +00:00
Justin Clarke Casey
b07c188b7e
* refactor: call AddStreamHandler() directly via CommsManager
2009-01-06 14:37:39 +00:00
Justin Clarke Casey
579f11b3b8
* refactor: call AddLLSDHandler directly via CommsManager
2009-01-06 14:30:50 +00:00
Justin Clarke Casey
2a4c4ceebb
* refactor: drop AddXmlRpcHandler() from scene in favour of call via CommsManager
2009-01-06 14:20:54 +00:00
Teravus Ovares
0d1b867500
* Added a way for the sim stats reporter to say to the scene that the stats are illogical.
2009-01-06 00:07:24 +00:00
Justin Clarke Casey
0b07c9762b
* Simplify test code by always setting up mock 'in memory' user and inventory data plugins for every TestCommunicationsManager
...
* imo the gain in simplcity of test code outweighs the very small cost of setting up some stuff that some tests will never use
2009-01-05 18:00:53 +00:00
Justin Clarke Casey
0b8d22ab54
* Check in login service tests beachhead
2009-01-05 16:30:35 +00:00
diva
dd2a82f81c
Extra check to avoid client crashes on HG home teleports.
2009-01-03 08:51:54 +00:00
diva
158de95bde
Another interregion comms change that will not work well with previous versions. This commit moves InformRegionOfChildAgent from OGS1 to RESTComms, effectively having the complete child agent life cycle over REST: create=POST, update=PUT, close=DELETE.
...
Additional changes include more functions in the IHyperlink interface, and some refactorings in the HG code for better reuse in RESTComms.
2009-01-03 07:05:33 +00:00
Teravus Ovares
e9cef70f89
* Updates the sim stats module. Cleans out some of the rot.
...
* Adds a prototype web stats module which is disabled by default. It's functional with one report right now, however, the database structure may change, so I don't recommend enabling this to keep actual stats right now. I'll let you know when it's safe.
* Adds Prototype for ajaxy web content
* removed a warning or two.
2009-01-03 03:30:03 +00:00
diva
4144fd0eb2
Split agent updates into two messages: full update and position+camera update. They're both sent over HTTP PUT. The full update is sent on TPs, for now; later it will also be sent on region crossings.
2009-01-03 02:29:49 +00:00
Melanie Thielker
0138fdc5fd
Allow some values that are set in OpenSim.ini to be set from region config
...
XML as well.
2009-01-02 17:41:12 +00:00
Homer Horwitz
09378da127
Use only one (static) (de-)serializer for (de-)serializing SOPs.
...
That improves performance drastically, at least for Mono, as the
(de-)serializers can then be optimized (and won't use reflection anymore).
On my system, before this change de-/serialization took ~9s/9s, whereas
after the change it takes ~.5/.2s.
2009-01-02 17:22:24 +00:00
Teravus Ovares
b1a677630f
* Adding some recognizable and search-able test to some WriteLine(e.ToString()) messages so that when they occur, we can figure out what threw them.
2009-01-02 14:24:49 +00:00