Commit Graph

4846 Commits (c19f0fd949aadb7860d64418a18b40b5314754fe)

Author SHA1 Message Date
MW c19f0fd949 Applied the looping fix for llParcelMediaCommandList to the 0.6.2 post fixes branch. 2009-03-17 18:25:51 +00:00
MW cfe0a449b4 Applied Mysql exception fix from Trunk revision 8073 to 0.6.2 post stable branch 2009-03-17 11:13:40 +00:00
lbsa71 1dccfacbe0 * Applied r8271, fixing wrong x/y/z on uri 2009-02-07 12:41:40 +00:00
Melanie Thielker 96d6c6b1f3 Change list type to compare length instead of references.
Fixes Mantis #3002
2009-01-17 18:35:40 +00:00
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
Justin Clarke Casey bee9efa30e * minor: Future archiver test stub 2009-01-16 18:31:07 +00:00
MW e21b3bf390 Added support so that during the loading of a xml link list, it checks if a linked hypergrid region's real location is within 4096,4096 map spaces of its "local" location. If it is outside of that range ( so it wouldn't be possible to teleport to it) then it ignores it and doesn't create a link.
See the hypergrid wiki page for more details.
2009-01-16 17:56:44 +00:00
MW eb5a022981 Added some basic relocation mapping support for when loading hypergrid links from a xml file.
Console Command: link-mapping <StartXloc> <StartYloc>.
This results in only the last two digits of any of the locations defined in the xml file being used, and those 0-99 values being added to the StartXloc and StartYloc figures.
For more infomation, see the email on the mailing list and the soon to be added instructions on the wiki's hypergrid page.
Also made the Secion Names in xml file case insensitive.
2009-01-16 12:52:05 +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
MW 0ec96d294a Small bit of refactoring related to the hypergrid link loading from xml files. 2009-01-15 17:09:51 +00:00
MW d40e07a2c7 Added support for a "excludeList" as part of the hypergrid xml link file loading. So that certain links in the file will be ignored. See the wiki's hypergrid page for details (in about a hour). 2009-01-15 15:31:40 +00:00
MW 940728dad7 Added initial support for reading hypergrid links from a xml config file. Although its currently still activated by using console command: link-region <URI of xml file> , the uri should be able to be a local file path or a http uri. I'm adding details of the format of the xml file to the wiki's hypergrid page.
TODO: Add a initial startup option for setting the uri and making it autoload it. 
Add support for scanning the xml file to check that its own region(s) aren't in the list, and if they are, ignoring them. This would allow setting up "virtual link/grid lists" on webservers, that people can add their own regions to and also point those regions to those same lists, so they load the other region's data.
Add support for automapping of those region/link lists.
2009-01-15 14:37:04 +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 46cac455c1 * Move the timed_out change to earlier on in the async handler
* There appears to be a bug on mono 1.9.1 (and maybe later), where sometimes the async wait will be signalled even though that async callback has not executed
* This change may make it slightly better but it's difficult to tell (it definitely still occurs)
* Also this patch closes the wait handle explicitly, as recommended in the MSDN docs.  This doesn't have any impact on the bug though
2009-01-14 20:40:14 +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
Justin Clarke Casey 2a5f060ed8 * Fix typo which meant that RestComms was never enabled if you explicitly enabled it
* In fact, it would only be activated if there was no [Communications] section at all (which would be the case for most people with existing region setups unless they 
specifically added it in
* This fix means that enabling inter-region rest comms is now the default
2009-01-14 16:52:12 +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
Melanie Thielker 1c3542303c Change fake parcel ids to allow a Z coordinate. Change TP by lure
to also transmit and use a Z coordinate.
2009-01-13 23:29:54 +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
Sean Dague 9dff38ca14 * Extended TextureSenderTests and modified TestClient.cs with new methods
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-13 19:55:07 +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
Justin Clarke Casey 1e365df495 * minor: Stop friendship termination crashing the client thread if the friend to be terminated could not be found 2009-01-13 16:49:01 +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
Justin Clarke Casey efcf6ff095 * Extend current stub packet handler test into a really basic one that checks that a sent in packet ends up on the client queue ready for processing 2009-01-12 20:42:44 +00:00
Justin Clarke Casey ade107f04f * Separate starting a client thread into a separate Start() method (which matches the existing Stop() and Restart() methods) 2009-01-12 19:37:56 +00:00
Justin Clarke Casey d4d2c19594 * Extend PacketHandlerTest to fire in a packet.
* Can't test result yet since the Client thread handles it with unpredictable timing
2009-01-12 18:45:03 +00:00
Justin Clarke Casey 6e9d5e4ea7 * refactor: move packet handler interface into a separate class 2009-01-12 17:31:30 +00:00
Sean Dague 77f0df6394 Caught exceptions in some console commands
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-12 15:34:05 +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
MW e1eb1b2cfa a little bit more work on LLFileTransfer.cs, from over the christmas/new year period. Still not working/in use but hopefully I can finish it soon. 2009-01-12 10:16:33 +00:00
Mike Mazur a7bc56073c Make ZERO_ROTATION.y a float. Fixes Mantis #2985. 2009-01-12 09:04:31 +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 1149bde7cb minor: remove mono compiler warning 2009-01-09 21:15:34 +00:00
Justin Clarke Casey 7cd8748096 * minor: Put in stub LLPacketHandler testing code 2009-01-09 21:05:53 +00:00
Melanie Thielker 993b965f0a Prevent error message from scripted IM
Fixes Mantis #2970
2009-01-09 15:15:41 +00:00
Melanie Thielker 7c7ea57c5c Finish dwell sending, adding the forgotten method body.
Add UserInfo and a dummy reply to enable Hippo Viewer users to
disable IM logging (option was greyed out in OpenSim before)
2009-01-09 02:59:56 +00:00
Teravus Ovares fcc3325f3b * Adds the variables passed to the hashtable BaseHttpServer passes in.
* Null check on Sessions_report.
2009-01-08 22:01:57 +00:00
Justin Clarke Casey 5169b1f19e * Establish placeholder for future TextureSender tests 2009-01-08 21:05:24 +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