Commit Graph

7884 Commits (2c2f10e156c62aa1d95923ff5309f2be7f08faeb)

Author SHA1 Message Date
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
Justin Clarke Casey f351ab62ec * furhter simplify test setups for objects 2009-01-30 18:38:32 +00:00
Justin Clarke Casey 7a751f6940 * minor: stop bothering to set parts to phantom within test setups - tests now seem to pass without having to do this 2009-01-30 18:28:05 +00:00
Dr Scofield 1b0a398763 reporting original request URI if HttpWebRequest failed, adding
try-catch around GetRequestStream (this time for sure)
2009-01-30 14:45:39 +00:00
Jeff Ames 6126c687c1 Update svn properties, minor formatting cleanup. 2009-01-30 09:03:23 +00:00
Dahlia Trimble 7e17cec182 remove dummy parcel media settings from event queue message 2009-01-30 08:52:45 +00:00
Dr Scofield 587b079878 2009-01-30 08:49:00 +00:00
Dr Scofield 27df816184 fixing: client gets logged out when concierge's broker returns 500
response.
adding: more verbose error logging
2009-01-30 08:48:41 +00:00
Justin Clarke Casey 13f069b945 * If an orphaned group is found in the mysql or mssql databases (i.e. there is no prim where UUID = SceneGroupID), then force one prim to have UUID = SceneGroupID.
* A warning is posted about this on startup giving the location of the object
* This should allow one class of persistently undeletable prims to be removed
* This change should not cause any issues, but I still suggest that you backup your database beforehand
* If this doesn't work for previously linked objects, then you could also try the workaround in http://opensimulator.org/mantis/view.php?id=3059
* This change has been made to mysql and mssql, but sqlite appears to work in a different way
2009-01-29 20:08:04 +00:00
idb ea6e4a95ce Complete the implementation of llSHA1String. 2009-01-29 19:47:55 +00:00
Justin Clarke Casey 6e63e93ec7 * minor: just a few formatting changes and log quietening 2009-01-29 18:39:33 +00:00
Sean Dague 25e241837b * Enhanced ScenePresenceTests. Now tests for region and prim crossing.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-28 19:23:20 +00:00
Dr Scofield 4cfa36ee8b fix: client gets logged out when concierge's broker returns 500
response.
2009-01-28 18:58:49 +00:00
Dr Scofield ce1e1854b1 From: Christopher Yeoh <yeohc@au1.ibm.com>
This changeset fixes a race condition where a script (XEngine run) can
startup before a reference is added to it in all of the required
places in the XEngine class. The effect of this is that a script can
sometimes on startup miss script events. For example a script which
starts up and initialises itself from a notecard may never receive the
dataserver event containing the notecard information.

The patch isn't as clean as I'd like - I've split the constructor of
ScriptInstance up so it does everything it did before except
call Startup and post events like state_entry and on_rez. An Init
function has been added which is called after the ScriptInstance
object has been added to the necessary data structures in XEngine.

Happy to rework it if someone suggests a better way of doing it.
2009-01-28 09:52:09 +00:00
Dr Scofield a3ac702941 From: Christopher Yeoh <yeohc@au1.ibm.com>
Adding Oarfileloaded and EmptyScriptCompileQueue event support which
allows (with a module) for programmatic notification of when a region
objects and scripts are up and running after a server start or
load-oar.
2009-01-28 09:22:12 +00:00