Commit Graph

8887 Commits (6bd8e1eb99f8268e09a07843da6f5dbbcb0cfff4)

Author SHA1 Message Date
Homer Horwitz b83ae7a837 Fix another build error on MonoDevelop 2009-01-02 17:55:55 +00:00
Melanie Thielker 0138fdc5fd Allow some values that are set in OpenSim.ini to be set from region config
XML as well.
2009-01-02 17:41:12 +00:00
Homer Horwitz 09378da127 Use only one (static) (de-)serializer for (de-)serializing SOPs.
That improves performance drastically, at least for Mono, as the
(de-)serializers can then be optimized (and won't use reflection anymore).
On my system, before this change de-/serialization took ~9s/9s, whereas
after the change it takes ~.5/.2s.
2009-01-02 17:22:24 +00:00
Homer Horwitz fbd664ca84 Get build working on MonoDevelop again. 2009-01-02 17:22:06 +00:00
Melanie Thielker 24f0d97075 Small fix to prevent client thread crash in multi-region instances when
a scripted object is paid
2009-01-02 16:24:44 +00:00
Teravus Ovares b1a677630f * Adding some recognizable and search-able test to some WriteLine(e.ToString()) messages so that when they occur, we can figure out what threw them. 2009-01-02 14:24:49 +00:00
Melanie Thielker b175e8f6cd Fixes Mantis #2945
Committing the above patch with changes. Thank you, Gerhard. Removed
unneccessary verbosity in case of no error, added more output for errors.
Added support for HTTP Uri fetching which I had added in my last commit.
Converted the Console.WriteLines to log4net.
2009-01-02 12:57:21 +00:00
Melanie Thielker 18ba10b51c Add the ability to read the ini file from a URI. If the -inifile option
is a http:// URI, it will be fetched and parsed as an XML config.
2009-01-02 05:52:01 +00:00
diva d8ebf2fc9d Major changes in interregion communications. This breaks compatibility with older versions, and may result is all sorts of weirdnesses when interacting with sims in older versions. Changes:
- Introducing synchronous Teleports. Now the receiving region calls back the sending region after the client has been made a root agent there, that is, after client sends CompleteMovement to the destination.
- SendCloseAgent moved from OGS1 Remoting to RESTComms.
2009-01-01 19:42:24 +00:00
diva ba9d9a9019 Minor fix for HG request neighbors. Should not return hyperlink neighbors, only neighbors on the same grid. I'm still not sure if this is a bug or a feature, so this may change again.
My first commit of 2009 -- Happy New Year!
2009-01-01 19:29:30 +00:00
diva 59cddd0844 Beginning of true REST style for interregion comms, SendChildAgentUpdate only. Agents are now resources accessed at http://<host>:<port>/agent/<uuid>/[action/]. PUT is SendChildAgentUpdate. 2008-12-31 21:14:31 +00:00
diva 06803f182b Minor bug fix in HG home regions management, removing the use of m_knownRegions.Count for creating the local handler. Local handlers are now created using a random number generator. 2008-12-31 20:49:04 +00:00
Homer Horwitz a72d3522ff Slight optimisation: Don't check for duplication if we won't use the result anyway. 2008-12-31 20:09:17 +00:00
Homer Horwitz 4b760bba79 - Added the fixed Ode.NET.dll
- Adapted code to match the corrected signatures
- Fixes Mantis #2934. Hopefully.
Note: Physics on linked objects still don't work correctly:
It doesn't crash the region anymore, but the example object in
the mentioned mantis now falls through the ground.
2008-12-31 19:35:46 +00:00
Homer Horwitz 067a9f3d5f Added a missing setMass for initializing the mass of prims 2008-12-31 19:35:33 +00:00
diva fe20ff8072 Added http-method to the hashtable that gets passed to GenericHTTPMethods. 2008-12-31 18:26:31 +00:00
Jeff Ames cc3e1cc752 Update svn properties. 2008-12-31 06:54:33 +00:00
diva 12946b5d78 Folded HG regionhandle lookup into the normal RESTInterregionComms, to avoid proliferation of "modes". 2008-12-31 00:49:34 +00:00
diva 5de40aaf46 Added a SendChildAgentDataUpdate call on Teleports, so that the agent at the destination will have all the necessary information. 2008-12-31 00:18:24 +00:00
diva f08f11fe60 Removing unnecessary null checks on structs in AgentsData pack/unpack. 2008-12-30 23:53:51 +00:00
Justin Clarke Casey e4c7bdc730 * Remove mono compiler warnings
* Leaving the 23 warnings in ChildAgentDataUpdate.cs for Diva to look at
2008-12-30 20:48:31 +00:00
Justin Clarke Casey f0ea8eb534 * Implement saving of region settings in OAR files
* This means that you can now save terrain textures, water height, etc.
* Estate settings are not supported
* Older OAR files without these settings can still be loaded
2008-12-30 19:00:19 +00:00
Homer Horwitz c22edf01f7 OpenUser_Main is now public. Fixes Mantis #2940. Thanks SirKimba 2008-12-30 16:16:47 +00:00
diva eaf8066700 Making the default choice for InterregionComms work, and removing an unnecessary console debug message. 2008-12-30 01:21:13 +00:00
Jeff Ames 2be0f7a6f0 Update svn properties, minor formatting cleanup. 2008-12-30 01:08:07 +00:00
diva 3a6b27befb Changing the default Comms module to be RESTComms, in case none is specified in OpenSim.ini. RESTComms is a super-set of LocalComms. Calls to local regions do no use REST, they use internal function calls. 2008-12-29 22:44:04 +00:00
diva a3e2e03f7b Final part for implementing SendChildAgentDataUpdate with modules. This is the part that uses the modules in Scene and related classes. This commit breaks compatibility of sim-sim SendChildAgentUpdates with older versions of OpenSim. 2008-12-29 22:22:05 +00:00
diva e12d2ec9dc This is a beefy commit containing the communication modules that implement SendChildAgentUpdate. This commit has only the modules, but not their usage. It should be harmless. 2008-12-29 21:40:20 +00:00
diva 606163a9d8 Minor change in HGSceneCommunicationService, making one field public readonly. Totally harmless. 2008-12-29 21:26:44 +00:00
diva 57518c3624 Merged the InterregionData that Melanie had placed there onto the existing ChildAgentDataUpdate. This commit involves a change in prebuild.xml, because ChildAgentDataUpdate uses OpenMetaverse.StructuredData. Still no use of this data structure, though. Crossing my fingers that this partial commit will compile ok... 2008-12-29 21:10:35 +00:00
diva e3007a6f13 First commit in a series of commits for Interregion REST comms. This one simply deletes the skeleton module that Melanie kindly placed for me to start working on this. 2008-12-29 20:43:33 +00:00
Justin Clarke Casey 266d0fbaae * Apply http://opensimulator.org/mantis/view.php?id=2927 with some changes
* This allows configuration of the assetset and library control file paths to be other than ./inventory/Libraries.xml and ./assets/AssetSets.xml
* This is controlled via the LibrariesXMLFile and AssetSetsXMLFile configuration settings in [StandAlone] in OpenSim.ini (in standalone)
and via the user and asset config xml files for grid mode
* Thanks to SirKimba for the patch
2008-12-29 16:56:48 +00:00
Melanie Thielker 817a10d0aa Revamp the return logic to close a privilege escalation loophole.
Estate owner / Master avatar returns would place the item in the
returner's inventory rather than the owner's if the owner was not
in sim.
2008-12-28 23:55:34 +00:00
Charles Krinke 0125a98a1f Thank you kindly, StrawberryFride for a patch that:
Persists appearance with MSSQL more properly.
2008-12-28 22:31:21 +00:00
Melanie Thielker bafa5a3693 Demonstration code for modular comms. No user functionality 2008-12-28 19:15:20 +00:00
Melanie Thielker 81a4fe9db7 Insert a 15 seconds delay before the script engine starts loading scripts 2008-12-28 17:22:31 +00:00
Teravus Ovares 6eed7fcd1e * More NINJA Joint physics fixes from nlin.
fixes mantis #2874
2008-12-28 16:30:00 +00:00
Teravus Ovares e9411a4c59 * Eliminate a possible null reference from the LLSDLogin method. 2008-12-27 21:50:19 +00:00
Teravus Ovares b378bd33ad * Fixes mantis #2922
* Converts some C# 3.0 syntax into it's 2.0 equivalent so that Visual Studio 2005 can compile it successfully.
2008-12-27 00:17:08 +00:00
Sean Dague 6ef2d2efe8 update README.txt to have current version requirements, also used as a
mantis test for issue 2920
2008-12-26 23:26:58 +00:00
Teravus Ovares 013b87fad1 * Fixes missing sculpt texture assets from oar files as detailed on mantis 2971 by thomax 2008-12-26 22:04:25 +00:00
Teravus Ovares ec2dc354b4 * Applying Nlin's NINJA Joint patch. v2. Mantis# 2874
* Thanks nlin!
* To try it out, set ninja joints active in the ODEPhysicsSettings
and use the example at:
* http://forge.opensimulator.org/gf/download/frsrelease/142/304/demo-playground.tgz.
* Don't forget to change the .tgz to .oar and load it with load-oar.
2008-12-26 12:58:02 +00:00
idb 8a58d998d9 Prevent exception in terrain module if just the word terrain is entered at the console. Fixes Mantis #2915 2008-12-26 11:59:37 +00:00
Dahlia Trimble a23e9a36a1 Substitutes the value of an environment variable if the value of a region configuration variable begins with a "$" character. Should be useful when moving region configs between hosts 2008-12-26 09:14:49 +00:00
Melanie Thielker cce648244d Add a few forgotten fields to interregion data 2008-12-25 23:33:49 +00:00
Melanie Thielker 23844a9073 Plumb the profile reply packets for picks, classifieds and notes 2008-12-25 20:28:13 +00:00
Melanie Thielker 3b6ffd9e41 Plumb yet another groups packet 2008-12-25 18:22:50 +00:00
diva a647a19894 Better test on EQ shutdown. 2008-12-24 05:05:22 +00:00
diva 90126f6ca8 Backing off from the accidental removal one of the most valued 'features' of the HG: the ability to TP to regions on the grid that don't run HG. *smiles* 2008-12-24 00:53:06 +00:00
diva 857535550c Better error handling for expect_hg_user on the HG. 2008-12-24 00:03:33 +00:00