Commit Graph

7736 Commits (1d8821ccb2783463720380d7d61adda427074dad)

Author SHA1 Message Date
diva 1d8821ccb2 Getting rid of the CheckRegion call during TPs. This seems to be not just useless, but sometimes problematic (mantis #2999). Initial tests indicate that this call is not necessary. Let's see if this stands in the wild. 2009-01-18 01:45:22 +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
Jeff Ames 5c310efb79 Update svn properties. 2009-01-16 04:23:10 +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 d1456554f2 * Delete OpenSim/Framework/OpenJpeg for now, with Teravus' permission ;) 2009-01-15 21:37:22 +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
Sean Dague 7934094cf3 * Added MySQL Grid unit tests
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-14 19:34:14 +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
Justin Clarke Casey e10de20772 * Apply http://opensimulator.org/mantis/view.php?id=2995
* This fixes MSSQL for user friends lookups
* Thanks StrawberryFride
2009-01-14 14:53:42 +00:00
Johan Berntsson a885d2a6ff Added a primitive shape function for spheres 2009-01-14 07:16:03 +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 412dd1260b * Add a second logoffuser message with the region secret.
* This ensures that the user will be logged off successfully by a properly permissioned user server
2009-01-13 23:27:48 +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
Teravus Ovares f013b26241 * Fix an invalid seed cap that could be causing issues.
* CapsUtil.GetRandomCapsObjectPath(); contains a / and the regionInfo.httpServerURI contains a / so that makes 
* response.SeedCapability = regionInfo.httpServerURI + CapsUtil.GetCapsSeedPath(capsPath); contain two "//" leading to a seed caps path definition like //CAPS/f7ba4238-ec86-4a2b-b3f6-4d9b56070000/, which is wrong
2009-01-13 22:27:26 +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 1baa921463 * minor: remove some mono compiler warnings 2009-01-13 18:35:20 +00:00
Justin Clarke Casey 363054bb2c * minor; Very minor non-functional tidy ups 2009-01-13 18:23:37 +00:00
Justin Clarke Casey 2676927466 * Add copyright notice to NHibernate.UserFriend 2009-01-13 17:16:56 +00:00
Justin Clarke Casey bfef9a7b0d * Apply http://opensimulator.org/mantis/view.php?id=2991
* Puts ordinary getters and setters into NHibernate.UserFriend since previous c# 3.0 get/set failed on MSVC#2005
* Thanks mpallari
2009-01-13 17:13:49 +00:00
Justin Clarke Casey c8ea09f325 * Apply http://opensimulator.org/mantis/view.php?id=2992
* Removes now unnecessary revision 2 and 3 files that should have been removed in an earlier patch
* Thanks tlaukkan!
2009-01-13 17:04:52 +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 66637ad6e7 * minor: Add a couple of code comments about enabling httpserver logging 2009-01-13 16:56:10 +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
lbsa71 87eff82b28 * Added resolving explicit .exe project names. This fixes mantis #2967 2009-01-13 10:06:53 +00:00
lbsa71 db88c7c3ee * Fixed breaking VS2008 build. Added missing Statistics reference 2009-01-13 09:31:27 +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
Charles Krinke c00c855cc5 Thank you kindly, Tlaukkan (Tommil) for a patch that:
Cleaned up schema creation scripts of MySQL to compliant form and created 
SQLite scripts from them. In future it would be optimal if scripts from 
different databases could be generated from MySQL scripts to ensure optimal 
consistency between schemas of different databases. Did not yet review 
column names. ID columns seem to have variety in naming which can be confusing.
2009-01-12 20:14:39 +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
Homer Horwitz 2cfd18b6a2 Fix some C#3.0-isms that broke build in Mono 1.2.6 and MSVC# 2005.
Fixes Mantis #2989.
2009-01-12 19:28:40 +00:00
Homer Horwitz 7caf1a4abf Fixed some svn properties 2009-01-12 19:24:20 +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 fb8faa8336 * Apply http://opensimulator.org/mantis/view.php?id=2913
* Add the KanEd scripts to the standard library
* Thanks Fly-Man-
2009-01-12 18:00:46 +00:00