Commit Graph

7621 Commits (0cd0a9bdb10b76142776d72855fccbf72b74709f)

Author SHA1 Message Date
Teravus Ovares 0cd0a9bdb1 * Resolve a few bugs in the Stats Collector
** Update limiter logic reversed
* Resolve a few bugs in the Viewer Stats collector
** Catch the logoff ViewerStats post (darn those caps deregistrations)
** Check the type of the correct map when checking
* Resolve a leak in Prototype_distributor 
** .Close, .Dispose()!
2009-01-05 18:35:50 +00:00
Justin Clarke Casey c6294efdbb * Add the actual tests from http://opensimulator.org/mantis/view.php?id=2950
* Apologies for missing these out yet again
* Thanks to Tommil for this code
2009-01-05 18:33:12 +00:00
Justin Clarke Casey fcab408cc4 * Add seed cap check to login test 2009-01-05 18:30:56 +00:00
Justin Clarke Casey 0d3a99f6bc fixes mantis #2950 2009-01-05 18:04:47 +00:00
Justin Clarke Casey 0b07c9762b * Simplify test code by always setting up mock 'in memory' user and inventory data plugins for every TestCommunicationsManager
* imo the gain in simplcity of test code outweighs the very small cost of setting up some stuff that some tests will never use
2009-01-05 18:00:53 +00:00
Justin Clarke Casey 04ffcce7ea * Extend stub to test the successful login of a user on the local login service
* Test does not do authentication
2009-01-05 17:38:39 +00:00
Justin Clarke Casey 0b8d22ab54 * Check in login service tests beachhead 2009-01-05 16:30:35 +00:00
Sean Dague d8a2ad5cb5 change the drop order to see if this affects unit test fails
From: Sean Dague <sdague@gmail.com>
2009-01-05 15:59:08 +00:00
Sean Dague 9d2e0535f1 * Fixes a small bug where load-oar fails due to whitespace in region name.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-05 15:43:30 +00:00
Jeff Ames 694e37f529 Update svn properties, minor formatting cleanup. 2009-01-05 04:34:17 +00:00
Teravus Ovares e4a8cc192d * Adds an active log to the WebStats console. for an example of it in use as it is right now see http://wmcv.com:9000/SStats/
* It still isn't quite ready to be used mainstream.
* A couple of things to note, it doesn't keep track of the logs if nobody is looking at the stats.
* It doesn't read the whole log file.  Just the last 10 lines of the stream.  Tested to 1GB+ logfiles with no noticeable performance issues.
2009-01-05 04:09:04 +00:00
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