Commit Graph

8133 Commits (d94c67e953c794ee27d0e96eda54cc86061b015d)

Author SHA1 Message Date
lbsa71 81019f96f1 * Removed superflous (and circular) ref to OpenSim.Region.Framework 2009-02-06 21:50:05 +00:00
Dr Scofield b8c755c760 killing OpenSim.Data.Base ref once more 2009-02-06 21:47:44 +00:00
Dr Scofield 9cd101034c dropping ref to OpenSim.Grid (another survivor thx to the refactoring by-pass) 2009-02-06 21:41:52 +00:00
Justin Clarke Casey fae20712a9 * reinstate OpenSim/Region/Framework/Scenes/Tests
* should bring us back up to 240 tests
2009-02-06 21:37:10 +00:00
Dr Scofield 3ee10cb30e removing bad references to OpenSim.Data stuff that got deleted earlier
this week but seems to have survive on the refactoring by-pass.
2009-02-06 21:28:30 +00:00
Justin Clarke Casey 1cff4b19bf * Add missing Region.Framework reference in ApplicationPlugins.LoadRegions 2009-02-06 20:05:12 +00:00
Justin Clarke Casey 84659396b8 * Make the module loader display which module failed if there was a loading problem
* Such failures are now fatal to grab the user's attention.
* However, they could be made non-fatal (just with a loud error warning) if this proves too inconvenient
2009-02-06 19:12:04 +00:00
Justin Clarke Casey 00a3cbd6fa * Implement help <command> from the region console
* So at the moment once can type 'help terrain fill' as well as 'terrain fill help'
* Current implementation is a transient hack that should be tidied up soon
2009-02-06 18:18:01 +00:00
Dr Scofield 9b66108081 This changeset is the step 1 of 2 in refactoring
OpenSim.Region.Environment into a "framework" part and a modules only
part. This first changeset refactors OpenSim.Region.Environment.Scenes,
OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces
into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region
modules in OpenSim.Region.Environment.

The next step will be to move region modules up from
OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and
then sort out which modules are really core modules and which should
move out to forge.

I've been very careful to NOT BREAK anything. i hope i've
succeeded. as this is the work of a whole week i hope i managed to
keep track with the applied patches of the last week --- could any of
you that did check in stuff have a look at whether it survived? thx!
2009-02-06 16:55:34 +00:00
lbsa71 3bc6eb1ff0 * removed superfluous constants class 2009-02-06 15:01:20 +00:00
Dahlia Trimble 3465447e17 more eventqueue endian madness 2009-02-06 09:58:23 +00:00
Dahlia Trimble 5cef64f564 move RegionDenyAgeUnverified parameter to AgeVerificationBlock in parcel properties event queue message. Addresses Mantis#3090 2009-02-06 08:53:30 +00:00
Dahlia Trimble 28820e6185 Thanks cmickyb for a patch (Mantis#3089) that adds support for proxy in http requests 2009-02-06 01:25:59 +00:00
Justin Clarke Casey f8c372721b * minor: remove mono compiler warning 2009-02-05 22:03:23 +00:00
Justin Clarke Casey fae5d25e82 * Apply http://opensimulator.org/mantis/view.php?id=3056
* Clamps negative values to zero when a terrain is exported in LLRAW format, since LLRAW doesn't support negative values.
* Thanks jonc!
2009-02-05 21:54:22 +00:00
Justin Clarke Casey 10aa027ec8 * Remove CommanderTestModule as there are several normal modules which effectively fulfil this function 2009-02-05 21:46:57 +00:00
Justin Clarke Casey 3027b6ad27 * cheap hack to make module help information more accurately reflect what command text needs to be typed
* Should disappear soon
2009-02-05 21:46:04 +00:00
Justin Clarke Casey 732cd838b1 * Make existing module commanders register as help topics
* Typing help will now give a list of these topics at the top (as well as the rest of the current help stuff)
* Typing help <topic> will give information about commands specific to that topic
2009-02-05 21:35:59 +00:00
Justin Clarke Casey 9a666bda02 * Use the commander name to register module commanders instead of providing the information twice 2009-02-05 19:54:22 +00:00
Justin Clarke Casey 65448cd02d * refactor: Split out module Command class into a separate file 2009-02-05 19:34:23 +00:00
Justin Clarke Casey 18100eee50 * Remove unused region info list from OpenSimBase.
* The same information is available via SceneManager
2009-02-05 18:47:39 +00:00
Justin Clarke Casey d04025ff3d * refactor: Move module handling code up into SceneBase from Scene, reducing the large number of different things that Scene does 2009-02-05 18:36:53 +00:00
Sean Dague efcf00ee60 From: Christopher Yeoh <yeohc@au1.ibm.com>
This patch fixes the problem where if an object containing a script is
deleted at the same time as an object containing the same script is
rezzed, it can result in the assembly file being deleted after the
second object script initialisation has found it but not started using
it yet, resulting in the script not starting up.
2009-02-05 16:12:51 +00:00
Teravus Ovares 2a998d6cd7 * Add the second version of the experimental ObjectAdd Cap. It will handle both versions currently. 2009-02-05 13:43:36 +00:00
Teravus Ovares 8f31210432 * Committing an experimental ObjectAdd module. Intended to work with http://jira.secondlife.com/browse/VWR-8049 .
* Catherine contacted us and gave us a LLSD dump to study for implementation.
* Still needs to be tested.  May not produce expected results.
2009-02-05 06:44:46 +00:00
Justin Clarke Casey 577064fb9d * minor: remove deprecated and unused terrain method from SceneManager
* other minor tidy up
2009-02-04 20:37:20 +00:00
Justin Clarke Casey a1da605706 * Introduce a new "default" option for asset_database in the [STORAGE] section
* This option makes OpenSim use the usual db based asset service in standalone, and the grid based one in grid mode
* The other options can (local, grid, etc) can still be used explicitly as before
* Also change OpenSim.ini.example and the surrounding explanative text
2009-02-04 18:56:12 +00:00
Jeff Ames 3206f70cd9 Update svn properties. 2009-02-04 18:49:06 +00:00
diva be3e676d33 Addresses a race condition that happened between the viewer and the departing region wrt the creation of the child agent in the receiving region, and that resulted in failed TPs. 2009-02-04 16:31:48 +00:00
MW 8d6bd1b650 Added a ForceSceneObjectBackup method to Scene, which as it says forces a database backup/update on the SceneObjectGroup.
This is now called at the beginning of DeRezObject, so we know the database is upto date before we attempt to delete a object. 
Fix Mantis #1004 
Which happened because Database backups don't happen if a object is still selected, so when you select a part in a link-set and then unlink it and then delete it, all without unselecting the prim at all. The unlink changes never get updated to the database. So then when the call to delete the prim from the database happens, which is called with the SceneObjectId. That SceneObjectId is never found, as the database still has that prim as part of another link set. 
It is possible that these changes might have to be reverted and for us to find a different method of fixing the problem. If the performance overhead is too high or it causes any other problems.
2009-02-04 16:00:39 +00:00
diva cf1fd7de4a Closing the requestStream and setting a 10 sec timeout for getting it. 2009-02-04 13:13:47 +00:00
Mike Mazur 0c03a48fb2 - add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of it
- trim trailing whitespace
2009-02-04 00:01:36 +00:00
Justin Clarke Casey 1adb8c33b2 * Add another object to the existing save oar test 2009-02-03 20:45:18 +00:00
Justin Clarke Casey 1c0df5e40f * Address http://opensimulator.org/mantis/view.php?id=3076 by actually eliminating the redundant enable = true commented example
* Comment out some startup verbosity from the module if we haven't enabled it
2009-02-03 20:16:15 +00:00
Justin Clarke Casey 2009d1aa01 * Fission SceneObjectTests into basic and linking sets 2009-02-03 20:13:34 +00:00
Justin Clarke Casey 984cf94375 * Lock the parts for the old group while we're clearing it as well - not much point doing one without the other
* Shouldn't result in any deadlocks as I don't think there are any locks in the calling code
2009-02-03 19:36:57 +00:00
Justin Clarke Casey cff7664a37 * Mark the old group after linking as deleted
* Add unit test assertions to check this
2009-02-03 19:13:17 +00:00
diva 4ea2749b37 OK, commenting the return again :-/ 2009-02-03 19:03:01 +00:00
Justin Clarke Casey b2de0a3ae6 * Now clearing parts list in the old group after a link has occurred
* Adjusted existing link tests to reflect this and added some new assertions
2009-02-03 18:48:04 +00:00
Justin Clarke Casey 35f9f2545d * Lock parts while they're being duplicated to prevent possible race conditions with other parts changers
* This shouldn't provoke any deadlocks since the callers aren't taking any other locks beforehand
2009-02-03 18:06:24 +00:00
Justin Clarke Casey a9e76ce847 * minor: remove some pointless assignments in SOG.Copy() that had already been done by MemberwiseClone() 2009-02-03 17:50:25 +00:00
Teravus Ovares c80733cc98 * Fixes mantis #3070 2009-02-03 14:11:52 +00:00
Mike Mazur 949ae6136e Change access levels from private to protected to facilitate
subclassing; also add new method signatures. Thanks tuco and mikkopa.
Fix Mantis #3072.
2009-02-03 08:31:08 +00:00
Mike Mazur 52deb50884 Embed OpenSim.Data.addin.xml as a resource into OpenSim.Data.dll. 2009-02-03 05:20:52 +00:00
Mike Mazur d259238c74 - moved data plugin loading code from various places to
OpenSim/Data/DataPluginFactory.cs
- removed dependencies on a few executable assemblies in
  bin/OpenSim.Data.addin.xml
- trim trailing whitespace
2009-02-03 05:20:44 +00:00
Mike Mazur d3eae4073e - move OpenSim/Framework/IUserData.cs to OpenSim/Data/IUserData.cs
- trim trailing whitespace
2009-02-03 05:20:35 +00:00
Mike Mazur 9377c6f2b2 - move OpenSim/Framework/IInventoryData.cs to
OpenSim/Data/IInventoryData.cs
- trim trailing whitespace
2009-02-03 05:20:26 +00:00
Mike Mazur e12b0a2496 - move IAssetDataPlugin from OpenSim/Framework/IAssetProvider.cs to
OpenSim/Data/IAssetData.cs
- remove some trailing whitespace
2009-02-03 05:20:16 +00:00
Mike Mazur f8e45e8e98 Rename IAssetProviderPlugin to IAssetDataPlugin aligning with the other data plugins. 2009-02-03 05:20:03 +00:00
Justin Clarke Casey 2c2f10e156 * Establish OnOarFileSaved EventManager event and subscribe to that instead of passing in a waithandle to the archiver
* This matches the existing OnOarFileLoaded event
* This brings up the question of how these things can be made generic so that they don't have to be tied into EventManager, but that's a topic for another day
2009-02-02 20:59:12 +00:00