Commit Graph

7552 Commits (81a4fe9db7bc3b21747d42df1c1d2c22a0187a43)

Author SHA1 Message Date
Melanie Thielker d24e4a9f2d Committing the missing bits to enable script crossing. Disabled by default.
For a script to successfully cross, both source and destination region must
enable the feature. WARNING: Trusting binaries from other sims allows
ARBITRARY REMOTE CODE EXECUTION for ANYONE! Please do not use except
in ultimate trust scenarios!
2008-12-05 20:30:00 +00:00
Homer Horwitz 05467cb780 - Use the http-port that is now provided by the grid-server. If it isn't (because GridServer is too old), complain.
Not used yet, but will be necessary for crossing regions correcly.
2008-12-05 17:31:31 +00:00
Homer Horwitz 33d7913341 - Fixed missing ToString() in map_blocks response in grid-server
- Added remoting_port to the non-fast if-branch, too
- Added httpPort field to map_blocks response. This isn't needed yet, but will be for correct crossing between regions.
Note: This touches the GridServer.
2008-12-05 17:31:20 +00:00
idb 7ae9ec217d Implementation of the llDetectedTouch* functions 2008-12-05 16:48:47 +00:00
Tedd Hansen c826570751 Fixed Mantis #2756 2008-12-05 16:20:12 +00:00
Dr Scofield bdffd56a45 killing warnings, reformatting RemoteAdminPlugin 2008-12-05 15:28:03 +00:00
Tedd Hansen 336daa1aa8 save file before commit is often useful 2008-12-05 13:12:16 +00:00
Tedd Hansen a20d6b4b42 Fix: removed m_log.InfoFormat("[OPENSIM MAIN]: GC Latency Mode: {0}", GCSettings.LatencyMode.ToString()); 2008-12-05 12:59:50 +00:00
Tedd Hansen 7ee209c900 Fixed crash (configsection has to be first XML root child element stupid Microsoft thing) 2008-12-05 12:45:08 +00:00
Tedd Hansen 081383c8cb Garbage Collector
* Enabled GC server
* Enabled concurrent collections
2008-12-05 12:42:32 +00:00
idb e56f918b17 Mantis #2350
Move the DotNetEngine Unloading script debug message
2008-12-05 12:30:50 +00:00
MW 2cb30b3435 some small refactoring of the LoginService to allow sub classes to override the LLSD login authentication 2008-12-05 10:31:34 +00:00
Jeff Ames f278dee5cd Update svn properties. 2008-12-05 09:00:34 +00:00
Melanie Thielker 826450eabe Actually remove the script when it's task inventory item is deleted, rather
than just stopping it.
2008-12-05 07:53:12 +00:00
Melanie Thielker 5e819ba933 And fix it right 2008-12-05 05:28:17 +00:00
Melanie Thielker 2667fdf1e3 Mantis #2754
Stop scripts that are removed from an object's inventory
2008-12-05 05:19:32 +00:00
Melanie Thielker 1cad124b7d Allow no-copy attachments to be worn without losing them 2008-12-05 04:17:21 +00:00
Melanie Thielker 9d64709602 Yay for languages without default parameter values 2008-12-05 03:36:41 +00:00
Melanie Thielker cbd3e53ce1 Stop trying to save attachment states on logout. That caused a predicatble
loss of no copy attachments, as the client context/thread was terminating
before the save could complete.
2008-12-05 03:26:01 +00:00
Justin Clarke Casey 5ffbba9a8f * minor: Take out some of the test log output I accidentally left in a couple of commits ago 2008-12-04 21:06:25 +00:00
Justin Clarke Casey bdee86563c * Check in another patch from http://opensimulator.org/mantis/view.php?id=2710
* This allows removal of the old NHiberate.Mapping.Attributes.dll
* Also add in the files I forgot about last time.  Doh!
2008-12-04 20:48:08 +00:00
Justin Clarke Casey b4db3a550a * Apply http://opensimulator.org/mantis/view.php?id=2750 with a small tweak.
* Initializes ODE only when a scene is grabbed rather than on plugin load.  This means we don't initialize ode if that physics engine is not used, and it allows other ode use 
plugins to be used instead.
2008-12-04 20:29:34 +00:00
Justin Clarke Casey 38ca31b37a * Put in the code necessary to allow inventory transfer of whole folders (and their contents) between agents, not just single items
* However, this is not currently activated since it's not absolutely fully tested and there's a bug lurking in there to do with the sending of the BulkInventoryUpdate packets
2008-12-04 19:57:36 +00:00
Jeff Ames 1bd92a6d34 Minor formatting cleanup. 2008-12-03 23:48:24 +00:00
Homer Horwitz 17a0474c5f Fixes Mantis#2744: Permissions returned false for resetting scripts in
non-root SOPs. Now, they will use the SOG the SOP belongs to.
2008-12-03 19:45:35 +00:00
Sean Dague 95de4717b6 * Minor test correction, comment removal
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-03 19:19:51 +00:00
Sean Dague b337088997 * Locked some RemoteAdmin methods due to racing condition bad behavior.
* Methods locked: CreateRegion, DeleteRegion, CreateUser, CreateUserMethodEmail,
UpdateUserAccountMethod, LoadOARMethod, LoadXMLMethod
* An example of bad behavior was multiple region creation where same UUID and
grid location was possible, by running multiple XMLRPC threads.

From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-03 19:19:46 +00:00
Sean Dague b2ab15ba34 Extends Avatar Appearance tests
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-03 19:19:39 +00:00
Dr Scofield 59b0ac846c From: Christopher Yeoh <cyeoh@au1.ibm.com>
The attached patch fixes the bug where llCreateLink will cause a null dereference
if the avatar who gave link permission for the object is no longer logged in.
2008-12-03 10:10:01 +00:00
Melanie Thielker 0d5d3e0b48 Reinstate closing the EQ when the UDP circuit disconnects. This will likely
also reinstate the texture issue, which needs ot be fixed another way.
2008-12-03 06:33:13 +00:00
Jeff Ames ab83713a2c Make a couple log4net instances static readonly. 2008-12-03 05:18:28 +00:00
Jeff Ames d324389dd9 Update svn properties. 2008-12-03 04:41:31 +00:00
Melanie Thielker 4636e5fc01 Remove a line of debug info in XEngine that i missed 2008-12-03 03:28:28 +00:00
Melanie Thielker b80a48841e Remove the bandaid (fast rip) 2008-12-03 03:26:58 +00:00
Melanie Thielker 0edb533c27 Apply Diva's bandaid to OpenSim's scraped knee. 2008-12-03 01:55:40 +00:00
Justin Clarke Casey d253008450 * Apply http://opensimulator.org/mantis/view.php?id=2741
* Fix llTriggerSound()
* Thanks Godfrey!
2008-12-02 17:55:07 +00:00
Justin Clarke Casey 000206bfe9 * Put back NHibernate.Mapping.Attribute.dll even though according to the discussion in http://opensimulator.org/mantis/view.php?id=2710 it should no longer be needed (and it
doesn't exist any more in the NHibernate-2.0.1 package)
2008-12-02 15:40:37 +00:00
Justin Clarke Casey dde32f1130 * Reapply http://opensimulator.org/mantis/view.php?id=2710
* This patch gets NHibernate working
*** PLEASE NOTE: This patch now requires the libmono-oracle2.0-cil library to be installed on Ubuntu (to stop the System.Data.Oracle missing failure) ***
* Not sure what the dependency is on other distros.  Adding this info to http://opensimulator.org/wiki/Build_Instructions would be most welcome
* Adds Castle.* libraries that were missing last time (note, dlls have been added from http://downloads.sourceforge.net/nhibernate/NHibernate-2.0.1.GA-bin.zip)
2008-12-02 15:22:58 +00:00
Justin Clarke Casey 26fd6c741f * Resolve http://opensimulator.org/mantis/view.php?id=2743 and http://opensimulator.org/mantis/view.php?id=2739 by no longer bothering to store or retrieve the local parentID in
the region database
* The original issue is that the now randomly generated local ids do not fit into the int parentID datatype
* However, as far as I know it's actually pointless to store this local parent ID anyway (we already store the groupUUID), especially as we don't bother to store the localID (as 
opposed to UUID itself).
* Conservatively, the actual column will be removed in a later commit
2008-12-02 14:59:52 +00:00
lbsa71 5588cb3e92 * reverted 7561 as the logger reference should always be private to the class. Thanks sdague for the protip! 2008-12-02 14:09:45 +00:00
MW 8f7c2ba91b changed UserManagerBase. IInterServiceInventoryServices m_interServiceInventoryService from private to protected 2008-12-02 13:15:10 +00:00
Melanie Thielker 5a7ffb7298 Remove some of the XEngine chattiness 2008-12-02 12:12:50 +00:00
MW 11169c0e71 Made BaseOpenSimServer.ShutdownSpecific() public. As the OpenSimBase.Shutdown() includes a Environment.Exit(0); which is not always wanted when shutting down, like from a windows service. 2008-12-02 11:40:22 +00:00
MW b62b9af6b0 Added two new "trusted" url handlers to the Inventory server, to allow the user server to get a list of items in a folder and add a new item. 2008-12-02 11:15:08 +00:00
Melanie Thielker bf4ccf3858 Catch all possible exceptions in the mysql module. It throws non-mysql
exceptions as well.
2008-12-02 01:50:15 +00:00
Homer Horwitz 4480d5527b Fix Mantis#2527. Permissions returned false for editing non-root SOPs. Now,
they will use the SOG the SOP belongs to (as it was for the root-SOP already).
2008-12-01 22:28:17 +00:00
Sean Dague 047e54acbc don't close eventqueues when you leave a region. This really does seem
to fix the A -> B -> A issue.  Because the code is very reuse friendly,
it shouldn't cause much additional memory bloat in the sims.

I'm sure this isn't the right fix, but it is progress, and confirms that
the close path while leaving a region is part of the issue.
2008-12-01 21:03:55 +00:00
Justin Clarke Casey 18ba6c3510 * minor: A few tiny bits of documentation and log message cleanup before starting something different 2008-12-01 20:28:00 +00:00
Justin Clarke Casey 2cf0be7d58 * Assume that asset data in a reset inventory post is not inlined by default
* This means that the xml of a get request can be used as the input with a few value tweaks, instead of having to explicitly put inline="false" in the output xml
2008-12-01 19:23:12 +00:00
Melanie Thielker 733faf9748 Fix the terrain loader 2008-12-01 19:08:58 +00:00