Commit Graph

8531 Commits (10d21afd9d40409634b906d8b19466ff540a9203)

Author SHA1 Message Date
diva 7a274a7e1d Makes region crossings asynchronous. Moved the bulk of the original code out of ScenePresence and into SceneCommunicationService, where it should be (next to RequestTeleportToLocation). No changes in the crossing mechanism itself, yet. But this change opens the way to doing crossings as slowly as it needs to be, outside the simulator Update loop.
Note: weirdnesses may occur!
2009-02-12 23:23:44 +00:00
Justin Clarke Casey 9177f28710 * Make it possible to load and save inventory archives while a user is not logged in on standalone mode but not on grid mode
* No user functionality yet
2009-02-12 19:54:19 +00:00
Sean Dague 5959e42683 large scale fix for svn props after "the great refactor" 2009-02-12 18:59:45 +00:00
Justin Clarke Casey 6db1f3c6a6 * Lock remaining m_rpcHandlers use since these accesses are not guaranteed to be thread safe 2009-02-12 18:54:48 +00:00
diva 8ed9c3b8cd Commented a couple of not very useful log messages that are cluttering the log in sims that have objects belonging to foreign users. 2009-02-12 18:43:49 +00:00
Justin Clarke Casey e2b2ac8715 * Remove a change which shouldn't have made it into the last commit
* Rogue change affected grid only
2009-02-12 18:37:27 +00:00
Justin Clarke Casey 34ef01615c * Add missing OpenSIm.Framework.Communications ref for Wdinwos builds 2009-02-12 18:31:56 +00:00
Sean Dague 8e7f1279bd * Forgot to fix bamboo.build for the new ScriptEngine Tests
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-12 18:23:05 +00:00
Justin Clarke Casey d29e0498ff * Apply http://opensimulator.org/mantis/view.php?id=3138
* Adds a GetXmlRPCHandler() to the BaseHttpServer
* Thanks mpallari
2009-02-12 18:01:29 +00:00
Justin Clarke Casey f74326c1b0 * move userinfo for inventory archiving up to module class so that it only has to be done once 2009-02-12 17:41:09 +00:00
Justin Clarke Casey e7427f21bd * Remove some pointless CachedUserInfo != null tests since these are already made in earlier code 2009-02-12 17:17:04 +00:00
Justin Clarke Casey 31ca3a8d4d * refactor: Move RequestInventoryForUser() from service to CachedUserInfo
* This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
2009-02-12 17:07:44 +00:00
Sean Dague 058ec414b4 * Added XEngine tests and gathered other ScriptEngine
Tests together

From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-12 17:02:54 +00:00
lbsa71 84d56bc515 * Some more CCC 2009-02-12 10:30:53 +00:00
lbsa71 6187888456 * Renamed RegionProfileService to RegionProfileServiceProxy to better reflect actual use.
* Added IRegionProfileService
2009-02-12 10:21:21 +00:00
lbsa71 c3a4810e91 * Turned RegionProfileService non-static 2009-02-12 10:16:11 +00:00
lbsa71 792b7cba2f * Applied some CCC (Code Convention Conformance) 2009-02-12 10:08:47 +00:00
lbsa71 fa796308c3 * Added RegionProfileService and moved RequestSimData to it. 2009-02-12 10:05:15 +00:00
lbsa71 801da4346a * optimized usings. 2009-02-12 09:53:12 +00:00
Dahlia Trimble d21601d497 Thanks Kitto Flora for a patch that adds automatic min fly height to ODE - Mantis #3134 2009-02-12 07:58:10 +00:00
diva 4ee99e2aab Sending this to Justin, so that he can see what's wrong with the StandaloneTeleportTests when we add RESTInterregionComms module to the ScenePresenceTests. 2009-02-12 04:26:13 +00:00
diva 98bfeabf94 Makes ban of HG users exactly the same as ban of local users, that is upon AddClient and not before. 2009-02-12 02:03:36 +00:00
diva 5dae1ddb5a Fixes mantis #3121. 2009-02-12 01:09:51 +00:00
diva b6e7e5ed42 Enforce estate bans on Teleports. 2009-02-11 21:07:41 +00:00
Justin Clarke Casey 83105211bc * minor: remove some mono compiler warnings 2009-02-11 20:36:17 +00:00
Justin Clarke Casey 9b6035c2a6 * When an inventory archive is loaded, immediately update the client's inventory if that client is online at that region server
* Not useable yet
2009-02-11 20:24:41 +00:00
Justin Clarke Casey 8645c7482d * Change SendBulkUpdateInventory from two methods to one which accepts an InventoryNode 2009-02-11 19:57:45 +00:00
Justin Clarke Casey e12981ef1b * Establish a common InventoryNodeBase class from InventoryItemBase and InventoryFolderBase 2009-02-11 19:29:59 +00:00
Justin Clarke Casey 162a59ba17 * Refactor inventory archive code to allow direct invocation in order to support future unit tests
* Add a file I missed out from the last commit (the build was probably fine without it)
2009-02-11 18:46:51 +00:00
Justin Clarke Casey 04d6a810b6 * More inventory archive invocation to a proper region module
* Not ready for use yet
2009-02-11 17:34:12 +00:00
Charles Krinke 6b187ae196 Thank you kindly, FrankNichols for a patch that:
The following patch fixes http://opensimulator.org/mantis/view.php?id=3107 
[^] by changing call from setRot to llSetRot, the later handles 
child prim being rotated relative to root prim in linked set.
2009-02-11 16:01:56 +00:00
Dr Scofield f70e580f86 From: Christopher Yeoh <yeohc@au1.ibm.com>
This changeset add the RegionReady module code. The module sends a
message on a configurable channel when an oar file has finished
loading or if the script engine has emptied its queue for the first
time (eg server startup). Config is something like this:

[RegionReady]
enabled = true
channel_notify = -800

The module also knows if there was an error with startup.
2009-02-11 14:35:07 +00:00
Melanie Thielker c754160dee If an instance contains only one region, select it in the console by default 2009-02-10 23:40:22 +00:00
Sean Dague 83347360c3 fix a typo where the High Southwest height was getting set to the Low
Southwest height
2009-02-10 23:31:49 +00:00
Melanie Thielker 9bfbfa381a Add proper handling for shared vs. unshared modules to the command
interface. Shared modules will now only get added once, so the command
handler is called once per module, not once per scene. Removal of scenes
has no adverse effects. Nonshared modules will be called for each scene.
2009-02-10 23:15:48 +00:00
diva b4be9baa4a Fixes the problem of attachment offset after crossings/TPs. Hopefully it fixes mantis #3126, as well as other random displacements. The problem was that the new object at the receiving region was being marked as attachment before AttachObject was called. That made its AbsolutePosition be the position of the avie, and that was what was being given to AttachObject. 2009-02-10 22:54:05 +00:00
Justin Clarke Casey 8c157a7aae * Remove load and save inventory commands from the console since these are actually experimental and the storage format may soon undergo incompatible changes
* If you were using these please uncomment the code before rebuilding, but be aware that old files may become incompatible soon
2009-02-10 19:33:09 +00:00
Justin Clarke Casey bd4955468e * minor: Remove SOG XML2 serialization log messages for now 2009-02-10 19:00:10 +00:00
Justin Clarke Casey 0cd5a353cf * Stop OpenSim crashing if an exception from a command makes it right up to the top of the stack 2009-02-10 18:50:25 +00:00
Justin Clarke Casey 25bc7a44cd * Implement merging of oars in code
* Not fully tested yet and not yet available as an option from the user console
2009-02-10 18:43:36 +00:00
Justin Clarke Casey 879338499f * extend load oar test to check that an object was actually loaded 2009-02-10 16:56:35 +00:00
lbsa71 ecb29774ac * Ignored some gens 2009-02-10 15:59:12 +00:00
Justin Clarke Casey 566bc33824 * Fix build break, parentheses in the wrong place 2009-02-10 15:46:38 +00:00
Justin Clarke Casey 5b7a5696e5 * Overwrite the old saved OpenSim.ini file saved in response to a crash if one already exists 2009-02-10 15:35:41 +00:00
Melanie Thielker 87f328bd30 Change the command parser and resolver to be able to disambiguate commands
that are a prefix of another command. Fixes "terrain load"
Fixes Mantis #3123
2009-02-10 14:39:04 +00:00
Dr Scofield 97bc64d8e5 dropping obsolete XIRC section from OpenSim.ini.example 2009-02-10 14:38:57 +00:00
Dr Scofield 5bb6c440f6 fix region_limit example in OpenSim.ini.example 2009-02-10 14:32:35 +00:00
Dr Scofield a99285ecc6 fixing ConciergeModule to follow coding conventions 2009-02-10 14:32:23 +00:00
Justin Clarke Casey 170aad040d * Reinstate texture tests, eliminating duplicate OpenSim.Region.CoreModules.Tests 2009-02-10 14:03:51 +00:00
Sean Dague ac6657d0f1 From Rob Smart <SMARTROB@uk.ibm.com>
In SL if llAbs() is called with the minimum integer value of -2147483648
it will return that value untouched without error.

this patch replicates the SL functionality.

OpenSim currently throws an overflow exception: number too small under
mono or a "System.OverflowException: Negating the minimum value of a
twos complement number is invalid. " under .NET
2009-02-10 13:36:42 +00:00