Commit Graph

7610 Commits (3b0eb958a84c17f434d8cae1ec43e4819f0b1bd1)

Author SHA1 Message Date
Adam Frisby 3b0eb958a8 * Another minor GenericMessage fix - If we assume the method names are case-insensitive, we should process them as such. 2009-01-04 19:41:55 +00:00
Adam Frisby 00a0f4a286 * Added some information to HandleGenericMessage to indicate that it's not the packet that isnt being processed, but instead the method-type. 2009-01-04 19:39:17 +00:00
Dahlia Trimble 20670ff0c8 sync with primmesher r26 on forge 2009-01-04 19:09:31 +00:00
Adam Frisby f0864b5154 * Minor tweak to crash logger to copy ini with log if save-to-dir is on.
* Added BinaryGenericMessage handler for cases where GenericMessage isnt transmitting pure-utf8 characters.
2009-01-04 19:09:22 +00:00
Dahlia Trimble f836e36c49 Improve LOD scaling for anisotropic sculpted prim meshes 2009-01-04 18:36:13 +00:00
Melanie Thielker aa11fbfe34 Connect dewww request packets to the land module to makle dwell work 2009-01-03 20:57:59 +00:00
Melanie Thielker 7beb8a5abb Plumb the remaining dwell packets 2009-01-03 20:45:33 +00:00
diva f1b9ff6b4b Fixed logic for sending foreign user information (HG). 2009-01-03 16:18:20 +00:00
diva 711cd752ad This may fix the home jump problem. 2009-01-03 09:01:58 +00:00
diva dd2a82f81c Extra check to avoid client crashes on HG home teleports. 2009-01-03 08:51:54 +00:00
diva 19cb2cb395 Undoing the bump up of MajorInterfaceVersion number back to 2. This just doesn't work in practice! 2009-01-03 07:31:48 +00:00
diva 158de95bde Another interregion comms change that will not work well with previous versions. This commit moves InformRegionOfChildAgent from OGS1 to RESTComms, effectively having the complete child agent life cycle over REST: create=POST, update=PUT, close=DELETE.
Additional changes include more functions in the IHyperlink interface, and some refactorings in the HG code for better reuse in RESTComms.
2009-01-03 07:05:33 +00:00
diva 1b7ce1c874 Plumbing for moving InformRegionOfChildAgent over to RESTComms: pack and unpack methods for AgentCircuitData. This code is not used yet. 2009-01-03 03:41:41 +00:00
Teravus Ovares e9cef70f89 * Updates the sim stats module. Cleans out some of the rot.
* Adds a prototype web stats module which is disabled by default.  It's functional with one report right now, however, the database structure may change, so I don't recommend enabling this to keep actual stats right now.  I'll let you know when it's safe.
* Adds Prototype for ajaxy web content
* removed a warning or two.
2009-01-03 03:30:03 +00:00
diva 4144fd0eb2 Split agent updates into two messages: full update and position+camera update. They're both sent over HTTP PUT. The full update is sent on TPs, for now; later it will also be sent on region crossings. 2009-01-03 02:29:49 +00:00
Melanie Thielker a7708413ee Plumb in dwell in a couple of places 2009-01-03 00:03:41 +00:00
diva 82700448f5 Some plumbing for additional agent update messages. Not used yet. Removed the compilation warnings on this file, and completed the packing/unpacking of AgentData (VisualParams, Anims and Groups). 2009-01-03 00:00:37 +00:00
Justin Clarke Casey c0024b5df0 * Add System.Xml to LindenUDP.Tests project for Windows builds 2009-01-02 20:23:00 +00:00
Justin Clarke Casey 0dd53c419e * Move EventQueueGetModule to the EventQueue namespace
* Not going to move EventQueueHelper as of now since the subsequent direct references to the module namespace would seem to somewhat defeat the point
2009-01-02 20:22:35 +00:00
Justin Clarke Casey a3af0e61eb * Add Nini.Config and System.Xml references to MockScene for Windows compilers 2009-01-02 20:11:20 +00:00
Justin Clarke Casey 2a7e3b9cff * refactor: move event queue module code to its own folder 2009-01-02 20:07:29 +00:00
Justin Clarke Casey 720191ef2d * reference is to Nini.Config, not Nini 2009-01-02 19:46:12 +00:00
Justin Clarke Casey 401a0d0a0a * Add Nini reference to Communications.OGS1 2009-01-02 19:43:30 +00:00
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