Commit Graph

8703 Commits (232241ab25ccd9e3184a2eeda0e80f7af15e1641)

Author SHA1 Message Date
Mike Mazur 369eef5fcd The DataPluginFactory is now a set of generic methods instead of
multiple duplicates of the same code.
2009-02-09 00:33:44 +00:00
Teravus Ovares d85fce99f4 * Once again, fixing linked prim collisions by putting AbsolutePosition = AbsolutePosition; back in the linking routine. Why was it removed? It's critical to the physics scene.
* Fixes mantis #3108
2009-02-08 18:05:12 +00:00
Teravus Ovares c0c330988f * Some minor cleanup
* sealed OdeScene
2009-02-08 17:41:15 +00:00
Teravus Ovares 26ca3e26bf Reverts patch from tuco/mikkopa/sempuki mantis #3072 2009-02-08 17:25:02 +00:00
Dahlia Trimble 8cc327cfa3 send group name in binary bucket in chatterbox invitation eventqueue message 2009-02-08 10:50:22 +00:00
Teravus Ovares b60931b686 * Limit the total number of joints created per frame to the maximum possible without causing a stack collision.
* This fixes crashing on large sets of physical prims because of stack collisions (assuming you follow the directions on linux for starting ode with ulimit).   After the maximum joints are created, objects will start to fall through the ground and be disabled.   Not the best solution, but it's better then a crash caused by a stack collision with the process exceeding the maximum available memory/recursions per thread.
* Make a clean region, make a stack of 5000 prim, 20 layers high.  Make them physical, *SLOW*, but no crash.
2009-02-08 03:02:43 +00:00
Teravus Ovares 08a9a85376 * Fixes colliding with the terrain lower then 0 and higher then 256m
* The actual AABB of the heightfield on the Z is now determined by the minimum and maximum heightfield value in the terrain array (assuming it's a reasonable number).  This might optimize collisions in simulators that have a small difference between minimum and maximum heightfield values.
2009-02-08 01:05:09 +00:00
diva 665269a277 * Removed the duplicate AddCapsHandler that existed in ScenePresence.MakeRootAgent; CAPs are already in place when this runs.
* Moved MoveAgentIntoRegion further down in the CompleteMovement method.
* changed a couple of methods from protected to public in SceneCommunicationService
2009-02-08 00:54:56 +00:00
diva 0031489072 Bug fix related to the filling out the remoting port in RegionInfo. It still must be there because of attachments. 2009-02-07 23:51:30 +00:00
lbsa71 262acf61c4 * Refactored UserLoginService.CustomiseResponse to be (almost) text-wide identical to LocalLoginService.CustomiseResponse in order to be able to pull them up. 2009-02-07 20:16:58 +00:00
Charles Krinke 63fd4c0fb2 Thank you kindly, TLaukkan (Tommil) for a patch that:
Created nunit test for LSL API and example test for 
llAngleBetween which was marked untested in wiki. 
Run new test succesfully with NUnitGUI and nant build.
2009-02-07 18:11:04 +00:00
Charles Krinke c86b7de362 Add TLaukkan (Tommil) to CONTRIBUTORS.txt for OpenSim 2009-02-07 17:56:36 +00:00
diva ff0fa12903 Adds support for HG linking to specific regions within an instance. The format is Host:Port:Region. Refactored the linking code from MapSearchModule to HGHyperlink, so that it can be used both by the MapSearchModule and the Console command. 2009-02-07 16:10:23 +00:00
Melanie Thielker e4ab15ccb1 Fix a .NET issue where changing a locked reference would cause a crash 2009-02-07 15:51:00 +00:00
Sean Dague 6bd2979486 the parameters for llAtan2 were inverted before passing to Math.
Thanks to Rob Smart for pointing this out.
2009-02-07 13:16:27 +00:00
Melanie Thielker 54c6a920ba Replace the console for all OpenSim apps with a new console featuring command
line editing, context sensitive help (press ? at any time), command line
history, a new plugin command system and new appender features thet let you
type while the console is scrolling. Seamlessly integrates the ICommander
interfaces.
2009-02-07 12:25:39 +00:00
lbsa71 4d4402158e Thank you dslake for a patch that:
* fixes mantis #3092: User Server sets agent starting position to passed x/y/x instead of x/y/z
2009-02-07 09:45:56 +00:00
Sean Dague de42d85518 oops spaces where tabs should be in the makefile 2009-02-07 03:21:34 +00:00
Sean Dague faa9873dc6 create a "make release" target which does the release instead of
debug build.  Just a convenience for people on the Linux side of the
house
2009-02-07 03:18:58 +00:00
Justin Clarke Casey a6b21a3b83 * minor: Apply second patch from http://opensimulator.org/mantis/view.php?id=3089
* This adds more explanation for the new proxy settings in OpenSim.ini.example
* Also does some formatting correction
* I did some additional reformatting on top of that
2009-02-06 21:56:50 +00:00
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