Commit Graph

8298 Commits (faca2a7ddc1a3d1131c536f90afe627426c3962c)

Author SHA1 Message Date
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
Justin Clarke Casey 13a5243d76 * As per http://opensimulator.org/mantis/view.php?id=3065
* Copy OpenSim.ini to _OpenSim.ini on crash instead of opensim.ini
* This makes it work on Linux/Mac(?) as well as Windows
2009-02-02 20:01:50 +00:00
Justin Clarke Casey 0d46bcfe32 * Add a few more contributing projects that were not yet listed 2009-02-02 19:29:43 +00:00
idb 49946cb7aa Restore llGetSunPosition to its former self.
Fixes Mantis #2195
2009-02-02 19:20:12 +00:00
Justin Clarke Casey a4d70e9aad * Make the fact that there is a setting to control which instant message module is used explicit in OpenSim.ini.example 2009-02-02 17:33:47 +00:00
Justin Clarke Casey 176920f8d3 * Make it more obvious that there is an enabled switch for chat in OpenSim.ini.example.
* Add default information for other chat settings
2009-02-02 17:27:23 +00:00
Justin Clarke Casey 6f9c1e3bcc * Stop the instant message module from trying to register for the message transfer module in PostInitialise() if it hasn't actually been enabled 2009-02-02 17:22:20 +00:00
Justin Clarke Casey e0cef010f3 * Small tweak to move name replacement in friendship offer since server side requests don't want the lookup 2009-02-02 17:19:57 +00:00
Dr Scofield 3682212fbf [previous VectorRender patch was from: Robert Smart
<SMARTROB@uk.ibm.com>]

clean up.
2009-02-02 14:57:20 +00:00
lbsa71 8a098bf12c * Minor refactoring and comments updates
* Ignored some gens
2009-02-02 14:57:01 +00:00
Dr Scofield 7ec667d279 [patching previous patch and also taking the chance of fixing the
previous commit message]

This patch reimplements the Draw method in the VectorRenderModule which is
used to create dynamic textures.

The previous version was limited to creating square dynamic textures, it
also didnt allow for dynamically loading an image containing transparency
except at 256x256.

The extraParams string in such functions as osSetDynamicTextureData can
now be passed a comma seperated string of name value pairs which set the
width,height and alpha value of dynamic textures. e.g.
"height:512,width:2048,alpha:255"

Backward compatibility is still preserved so passing the old params of
either a string integer "256" "512" will still work in the same fashion as
will passing "setAlpha" on its own
2009-02-02 13:58:01 +00:00
Teravus Ovares 519818edd8 * Changing the ode collision filter to 'off by default' instead of 'on by default'. It needs to be improved more. 2009-02-02 13:57:54 +00:00
Dr Scofield b9db1b1345 Merge branch 'vector' into OpenSimulator.org 2009-02-02 11:40:34 +00:00
lbsa71 4e5e70491b * Removed erroneous reference to the Data.Base Framework 2009-02-02 11:27:58 +00:00
lbsa71 d91bc08737 * Removed the unused Data.Base Framework 2009-02-02 11:16:41 +00:00
Jeff Ames 496ed4488d Minor formatting cleanup. 2009-02-02 09:01:00 +00:00
Teravus Ovares aabaa35af7 * Adding the Tree module configuration options to OpenSim.ini.example
* Adding an option to use the tree module to manage the trees in the simulator (grow/reproduce/die)
* Setting it to off by default in an effort to reduce the number of threads in use by default
* You can also turn it on in a 'one off' way with 'tree active true' on the console. To 'one off' turn it off, it's 'tree active false'.  The permanent way to do that, however is in the opensim.ini.
2009-02-02 06:04:03 +00:00
diva dee6ad7154 Putting the return back in AddCapsHandler upon attempt at adding CAPs twice. The return seems to have been commented in 8038, as an attempt at fixing multiple TP problems later identified to be deadlocks. CAPs should never be overwritten, or the viewer can get confused. Right now this method is erroneously being called twice because of legacy code. I'll fix that later, after further testing. 2009-02-01 20:36:10 +00:00
Charles Krinke 50536c66a0 Thank you kindly, TLaukkan (Tommil) for a patch that:
Added osTeleportAgent with region coordinates to 
support hyper grid scripted teleports.
2009-02-01 17:41:33 +00:00
Teravus Ovares 469b35d2bb * Adding a few fields to the Land data responder that the client is complaining about (and older clients are crashing on) 2009-02-01 17:16:36 +00:00
idb aad843fc2c Correct the method signature on llMakeFountain. 2009-02-01 15:12:32 +00:00
diva 3bd0df18b7 More on dynamic hyperlinks. Making the 4096 check (deregistration of region) work in grid mode. 2009-02-01 02:20:57 +00:00
diva ff149ae197 Check for the 4096 limitation in dynamic region hyperlinks. 2009-02-01 00:59:42 +00:00
idb 1a14066aa6 Speed improvement mostly when sensing objects especially noticeable in a sim with many objects. 2009-01-31 19:02:09 +00:00
Charles Krinke 4a120e9dd5 Flesh out llGetAgentLanguage to return "en-us" until
we have an I18N committee for internationalization.
2009-01-31 18:27:44 +00:00
diva 9e29baa565 Initial support for dynamic HG hyperlinks. With this commit, remote sims can be linked (and TPed to) simply by searching on the map for things like this ucigrid03.nacs.uci.edu:9003 or by clicking on things like this in the chat history secondlife://ucigrid03.nacs.uci.edu:9003/ or by clicking on links like that on the embedded browser. 2009-01-31 18:13:22 +00:00
Teravus Ovares 85c0c0557e * Tweaks some locks when modifying an ODECharacter. This actually allows a user to log-in while the physics scene and the scripts are starting up. This also seems to smooth out the jerks on teleport/connect/disconnect a little bit.
* If you log-in while the simulator is starting up, you won't be able to move and the sim stats will say 0 FPS, and 0 Physics Frames and you may see only terrain.  Once the sim finishes starting up, it'll all resume as normal.
2009-01-31 16:49:32 +00:00
diva 4db9373b29 Oops. Forgot a try-catch on the last commit. 2009-01-31 01:59:05 +00:00
diva 26f99de45d Fixes mantis #3061. Thanks Hallow Palmer for diagnosing the issue so well. I bet this inconsistency happens a lot out there. 2009-01-31 00:28:51 +00:00
diva 360eb239b3 Hopefully fixes mantis #3063. 2009-01-31 00:15:13 +00:00
diva e7a9ece410 Bug fix on posting assets onto foreign users inventory. Check that the key is already in the local asset map before adding it. 2009-01-30 23:53:41 +00:00
diva 36221a2c19 Added a new method SendGroupRootUpdate to start addressing mantis #3019. ll functions have not been changed. 2009-01-30 23:23:02 +00:00
Justin Clarke Casey e233aad098 * Put a wait timeout on the archive test, just in case the archiver never returns 2009-01-30 21:39:54 +00:00
Justin Clarke Casey fa88dac539 * minor: remove some mono compiler warnings 2009-01-30 21:26:38 +00:00
Justin Clarke Casey 951c08933a * In OpenSim.ini.example, list defaults for AllowOSFunctions and OSFunctionThreatLevel and change existing OpenSim.ini.example settings 2009-01-30 21:04:23 +00:00
Justin Clarke Casey c307e0e4a7 * Extend archive save test to check for the presence of the file for the object that was in the scene
* Can now pass in a wait handle to ArchiveRegion() if you want same thread signalling that the save has completed
2009-01-30 20:54:38 +00:00