aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-12-09minor: comment out "unpacked appearance" log mesasge for nowJustin Clark-Casey (justincc)1-1/+1
2011-12-09Comment out ChildAgentDataUpdate.Pack() "Pack data" message for now.Justin Clark-Casey (justincc)1-1/+1
2011-12-09Get rid of IScene.PresenceChildStatus() which always had to execute a lookup ↵Justin Clark-Casey (justincc)2-13/+7
in favour of IClientAPI.ISceneAgent.IsChildAgent instead.
2011-12-08Reactivate BasicCircuitTests.TestAddClient()Justin Clark-Casey (justincc)1-16/+29
This checks that the initial UseCircuitCode packet is handled correctly for a normal client login.
2011-12-08Remove unnecessary AgentCircuitData null check from Scene.AddNewClient().Justin Clark-Casey (justincc)1-3/+1
The only caller is the LLUDP stack and this has to validate the UDP circuit itself, so we know that it exists. This allows us to eliminate another null check elsewhere and simplifies the method contract
2011-12-08On a new client circuit, send the initial reply ack to let the client know ↵Justin Clark-Casey (justincc)3-3/+81
it's live before sending other data. This means that avatar/appearance data of other avatars and scene objects for a client will be sent after the ack rather than possibly before. This may stop some avatars appearing grey on login. This introduces a new OpenSim.Framework.ISceneAgent to accompany the existing OpenSim.Framework.ISceneObject and ISceneEntity This allows IClientAPI to handle this as it can't reference OpenSim.Region.Framework.Interfaces
2011-12-07Implement XMLRPCAdmin command admin_teleport_agent.Justin Clark-Casey (justincc)1-2/+2
This allows someone with access to this command on the XMLRPCAdmin interface to teleport an avatar to an arbitrary region and/or position.
2011-12-07Stop also adding an ordinary http handler when we set up a poll http handler.Justin Clark-Casey (justincc)3-19/+7
It appears that this is entirely unnecessary since the poll http handlers are dealt with on a separate code path.
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)12-15/+210
of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
2011-12-03Add beginning of ScenePresenceAgentTests.TestCreateChildScenePresence()Justin Clark-Casey (justincc)2-4/+0
This required an option to be added to NullRegionData via ConnectionString for it to act as a non-static instance, so that regression tests (which only load this class once) don't get hopeless confused and complex to compensate. Normal standalone operation unaffected.
2011-12-03Improve locking in AgentCircuitManagerJustin Clark-Casey (justincc)1-25/+41
2011-12-03Use GetAgentCircuits() to receive a copy of the AgentCircuitsByUUID ↵Justin Clark-Casey (justincc)1-37/+54
dictionary rather than AgentCircuitManager.AgentCircuits directly in "show circuits" to avoid enumeration exceptions
2011-11-29On "show caps", stop excluding the seed cap but do exclude it elsewhereJustin Clark-Casey (justincc)1-1/+3
2011-11-29With "debug http 1", show the path with the query string instead of just the ↵Justin Clark-Casey (justincc)1-21/+21
path. Also simplifies debug levels to just 0 and 1
2011-11-29Add "debug http" command for currently simple extra debug logging of ↵Justin Clark-Casey (justincc)1-12/+43
non-event queue inbound http requests to a simulator
2011-11-25remove some mono compiler warningsJustin Clark-Casey (justincc)2-2/+2
2011-11-25Use the more extensive Utils.AssetTypeToString()/InventoryTypeToString() ↵Justin Clark-Casey (justincc)1-57/+0
conversion rather than the arrays in TaskInventoryItem
2011-11-22Stop an exception being thrown and a teleport/border cross failing if the ↵Justin Clark-Casey (justincc)1-3/+19
desintation sim has no active script engines. This involves getting IScene.RequestModuleInterfaces() to return an empty array (as was stated in the method doc) rather than an array containing one null entry. Callers adjusted to stop checking for the list reference being null (which never happened anyway)
2011-11-19Get rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent ↵Justin Clark-Casey (justincc)1-1/+1
57956c4b-ff2e-4fc1-9995-613c6256cc98>: Invalid character 'O' in input string messages These are just the result of an attempt to canonicalize received messages - it's not important that we constantly log them. Also finally get the deregister grid service message working properly
2011-11-15fix build break on UserManagementModule.Justin Clark-Casey (justincc)2-8/+15
This also adds time since started to "show threads". Unfortunately these two changes got mixed in.
2011-11-15improve formatting of "show threads"Justin Clark-Casey (justincc)1-1/+8
2011-11-15send a watchdog heartbeat for a poll worker thread when it's actually runJustin Clark-Casey (justincc)1-0/+3
2011-11-15Add number of milliseconds since last update to "show threads"Justin Clark-Casey (justincc)2-4/+18
2011-11-15Remove unused RegionCommsListener/IRegionCommsListener.Justin Clark-Casey (justincc)2-272/+0
All this is now being handled through IEntityTransferModule and SimulationService instead, and has been for some time.
2011-11-12doh - correct build breakJustin Clark-Casey (justincc)1-6/+7
2011-11-12Add threads to the watchdog thread list before we start them.Justin Clark-Casey (justincc)1-5/+5
Hopefully this wil make "WATCHDOG: Asked to update thread ## which is not being monitored" messages." go away.
2011-11-07Remove unused avariable in PollServiceRequestManagerJustin Clark-Casey (justincc)1-8/+6
2011-11-06Convert SendKillObject to take a list of uint rather than sending oneMelanie1-1/+1
packet per prim. More to come as we change to make use of this.
2011-11-05Fix avatar height, removes the hip offset hacknebadon1-24/+12
Author: Mana Janus <mana@mjm-labs.com>
2011-10-25Restart the event queue worker threads that I accidentally disabled earlier ↵Justin Clark-Casey (justincc)2-9/+11
today in 8a0a78c. Also adds these to the watchdogs with very large timeouts (should really be infinite)
2011-10-25In Watchdog, add ability to specific timeout for a thread.Justin Clark-Casey (justincc)1-16/+56
This also changes the point of registration to the StartThread() call rather than the first Update()
2011-10-25Add m_threads dictionary locking to Watchdog.GetThreads()Justin Clark-Casey (justincc)1-1/+2
2011-10-25minor: add "threads show" as synonym for "show threads" for consistencyJustin Clark-Casey (justincc)1-0/+5
2011-10-25Add "threads abort <thread-id>" simulator console command that allows us to ↵Justin Clark-Casey (justincc)2-2/+48
abort a watchdog managed thread. This is for diagnostic purposes.
2011-10-25Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)13-64/+212
of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
2011-10-24Drop some unnecessary ContainsKey() checking before Remove() in BaseHttpServer()Justin Clark-Casey (justincc)1-12/+2
Remove() presumably does this check anyway since it just returns false if the key is not in the collection.
2011-10-24Fix bugs in EventQueueGetModule.ClientClosed() and ↵Justin Clark-Casey (justincc)2-5/+9
BaseHttpServer.RemovePollServerHTTPHandler() that stopped existing code in ClientClosed() from actually tearing down the poll handler Actually doing the tear down appear to have no ill effects with region crossing and teleport.
2011-10-22Get UUIDGatherer to scan notecards in the graph for asset uuids.Justin Clark-Casey (justincc)2-5/+6
This is to support npc baked texture saving in oars and iars. May address http://opensimulator.org/mantis/view.php?id=5743
2011-10-17refactor: Make IClientAPI.DebugPacketFormat a property rather than a setter ↵Justin Clark-Casey (justincc)1-2/+2
without a getter
2011-10-15move see_into_this_sim_from_neighbor [Startup] flag parsing into Scene with ↵Justin Clark-Casey (justincc)1-5/+0
the others
2011-10-15fetch physical_prim switch from [Startup] config from inside scene, as is ↵Justin Clark-Casey (justincc)1-5/+2
done for most other scene config params
2011-10-15Restore [Startup] physical_prim flag which can stop any prims being subject ↵Justin Clark-Casey (justincc)1-0/+6
to physics This had stopped working. However, at the moment it still allows the physics flag to be set even though this has no effect. This needs to be fixed. Default for this flag is true as previously.
2011-10-14refactor: rename IClientAPI.SendPrimUpdate() to SendEntityUpdate() since it ↵Justin Clark-Casey (justincc)1-1/+8
sends entity updates (including presence ones), not just prims.
2011-10-12Get rid of some traces of the old pre-ROBUST grid architecture configJustin Clark-Casey (justincc)2-38/+0
2011-10-07flip master version up to 0.7.3Justin Clark-Casey (justincc)1-1/+1
2011-10-03Remove vestigal RegionStatus.SlaveScene.Justin Clark-Casey (justincc)1-3/+0
This appears to be code clutter since the code that uses this has long gone.
2011-10-03Remove usage of Linden packet types from inside Attachments Module and interfaceDan Lake1-2/+1
2011-09-30Add Enabled switch in new [Attachments] section in OpenSimDefaults.ini to ↵Justin Clark-Casey (justincc)1-1/+1
allow attachments to be temporarily turned off. This is for debugging purposes. Defaults to Attachments Enabled
2011-09-24Added a setting to [Startup] section of config that will allow the simulator ↵Kevin Houlihan & Michelle Argus2-21/+51
to start up with no regions configured. I added the boolean config setting "allow_regionless", defaulting to false. If set to true, opensim will start up ok if no region configurations are found in the specified region_info_source. It will not ask the user to create a region.
2011-09-23Fix avatar parameter updating for viewer 3 and maybe 2.Justin Clark-Casey (justincc)2-0/+3
When a slider parameter is changed, the viewer uploads a new shape (or other asset) and the item is updated to point to it. Viewer 1 uploaded the data in the initial request itself, so the asset references was almost always correctly updated. However, viewer 3/2 always uploads data in a subsequent xfer, which exposed a race condition where the viewer would make the item update before the asset had uploaded. This commit shuffles the order of operations to avoid this race, the item is updated with the new asset id instead of the old one while the upload was still taking place. A second race had to be fixed where avatar appearance would also be updated with the old asset id rather than the new one. This was fixed by updating the avatar appearance ids when the appearance was actually saved, rather than when the wearables update was made.