aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-05-02Turns out that it's a bad idea to let Agent position updates linger for a ↵Diva Canto1-9/+9
long time on certain versions of mono. It's better to abort them if they take too long. So timeout is now an argument. Currently: 20secs for CreateAgent, 100secs for UpdateAgent (fat), 10 secs for UpdateAgent (Position); all of these divided by 4, for ReadWrite, as Mic had before.
2011-04-30Increased Timeout to 30 secs.Diva Canto1-3/+3
2011-04-30Removed XXX Debug. Increased ReadWriteTimeout on ServiceOSDRequest, because ↵Diva Canto2-13/+3
it was _way_ too low and is probably making writes abort in the middle.
2011-04-30XXX DEBUGGING!Diva Canto2-2/+12
2011-04-30Renamed OpenSim.Framework.Capabilities.dll to OpenSim.Capabilities.dllDiva Canto28-3491/+1
2011-04-28Fatpack message on agent transfers: 1 message only (UpdateAgent) containing ↵Diva Canto2-6/+53
the agent and all attachments. Preserves backwards compatibility -- older sims get passed attachments one by one. Meaning that I finally introduced versioning in the simulation service.
2011-04-28One less [Serializable] -- ClientInfo.Diva Canto1-1/+0
2011-04-28Eliminated sAgentCircuitData, a data structure that has been obsolete for ↵Diva Canto2-70/+1
quite some time.
2011-04-24Upped VERSION_NUMBER in master to 0.7.2.Diva Canto1-1/+1
2011-04-23Fix a bug looping through the priority queues. This should fix the problemMic Bowman1-2/+3
of not all prims being sent without reprioritization.
2011-04-23Added MaxAgents configuration option to RegionConfig.ini allowing region ↵E. Allen Soard1-0/+17
hosters to setup regions maintaining more control over system resources.
2011-04-23print invalid command message to the console, not the logJustin Clark-Casey (justincc)1-3/+1
2011-04-22Added a second immediate queue to be used for the BestAvatar policyMic Bowman1-17/+82
and currently used for all of an avatars attachments by the other policies. Also changed the way items are pulled from the update queues to bias close objects even more.
2011-04-22Various clean ups. Removed some debugging code. Added a new "show pqueues"Mic Bowman1-4/+3
command to look at the entity update priority queue. Added a "name" parameter to show queues, show pqueues and show throttles to look at data for a specific user.
2011-04-20Added an "immediate" queue to the priority queue. This isMic Bowman1-0/+258
per Melanie's very good suggestion. The immediate queue is serviced completely before all others, making it a very good place to put avatar updates & attachments. Moved the priority queue out of the LLUDP directory and into the framework. It is now a fairly general utility.
2011-04-20Get Viewer 2 voice working with OpenSim.Justin Clark-Casey (justincc)1-1/+1
See http://opensimulator.org/mantis/view.php?id=5336 It turns out that viewer 2 was upset by the lack of a response to viv_watcher.php. This would send it into a continuous login loop. Viewer 1 was quite happy to ignore the lack of response. This commit puts in the bare minimum 'OK' message in response to viv_watcher.php. This allows viewer 2 voice to connect and appears to work. However, at some point we need to fill out the watcher response, whatever that is.
2011-04-19Requeue unacknowledged entity updates rather than resend then "as is".Dan Lake2-12/+64
Often, by the time the UDPServer realizes that an entity update packet has not been acknowledged, there is a newer update for the same entity already queued up or there is a higher priority update that should be sent first. This patch eliminates 1:1 packet resends for unacked entity update packets. Insteawd, unacked update packets are decomposed into the original entity updates and those updates are placed back into the priority queues based on their new priority but the original update timestamp. This will generally place them at the head of the line to be put back on the wire as a new outgoing packet but prevents the resend queue from filling up with multiple stale updates for the same entity. This new approach takes advantage of the UDP nature of the Linden protocol in that the intent of a reliable update packet is that if it goes unacknowledge, SOMETHING has to happen to get the update to the client. We are simply making sure that we are resending current object state rather than stale object state. Additionally, this patch includes a generalized callback mechanism so that any caller can specify their own method to call when a packet expires without being acknowledged. We use this mechanism to requeue update packets and otherwise use the UDPServer default method of just putting expired packets in the resend queue.
2011-04-18Requeue unacknowledged entity updates rather than resend then "as is".Dan Lake2-12/+64
Often, by the time the UDPServer realizes that an entity update packet has not been acknowledged, there is a newer update for the same entity already queued up or there is a higher priority update that should be sent first. This patch eliminates 1:1 packet resends for unacked entity update packets. Insteawd, unacked update packets are decomposed into the original entity updates and those updates are placed back into the priority queues based on their new priority but the original update timestamp. This will generally place them at the head of the line to be put back on the wire as a new outgoing packet but prevents the resend queue from filling up with multiple stale updates for the same entity. This new approach takes advantage of the UDP nature of the Linden protocol in that the intent of a reliable update packet is that if it goes unacknowledge, SOMETHING has to happen to get the update to the client. We are simply making sure that we are resending current object state rather than stale object state. Additionally, this patch includes a generalized callback mechanism so that any caller can specify their own method to call when a packet expires without being acknowledged. We use this mechanism to requeue update packets and otherwise use the UDPServer default method of just putting expired packets in the resend queue.
2011-04-16More descriptive debug msg for ServiceOSDRequest failures.Dan Lake1-2/+2
2011-04-13Fixed the update of items in the priority queue to enable bothMic Bowman1-0/+5
types of property updates to be specified. Not sure if one form of property update should supercede another. But for now the old OpenSim behavior is preserved by sending both.
2011-04-13First pass at moving object property requests into a queue similarMic Bowman1-18/+21
to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
2011-04-12Moved 3 request handlers from OpenSim.Framework.Servers.HttpServer up to ↵Diva Canto4-445/+335
OpenSim.Framework -- just pasted them in WebUtil. This is so that code that uses the Service connectors don't need to include the HttpServer dll -- that was odd.
2011-04-12Fixed the update of items in the priority queue to enable bothMic Bowman1-0/+5
types of property updates to be specified. Not sure if one form of property update should supercede another. But for now the old OpenSim behavior is preserved by sending both.
2011-04-12First pass at moving object property requests into a queue similarMic Bowman1-18/+21
to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
2011-04-12Fixed the update of items in the priority queue to enable bothMic Bowman1-0/+5
types of property updates to be specified. Not sure if one form of property update should supercede another. But for now the old OpenSim behavior is preserved by sending both.
2011-04-12First pass at moving object property requests into a queue similarMic Bowman1-18/+21
to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
2011-04-07Revert master version number to 0.7.1 for now to make merging easier.Justin Clark-Casey (justincc)1-1/+1
2011-04-06bump main branch version number to 0.7.2. A separate 0.7.1-post-fixes ↵Justin Clark-Casey (justincc)1-1/+1
branch now exists.
2011-04-06Improve previous ILandObject method doc.Justin Clark-Casey (justincc)1-2/+6
For test code, take a part name prefix when creating objects, so that these can be more easily identified in the logs
2011-04-06Add method doc to some land bitmap methods in ILandObject.Justin Clark-Casey (justincc)1-0/+18
Also changes prim count tests to use the correct upper region bounds, though the method actually ignores the overage.
2011-04-05Change some text to make the autoreturn mechanism more obvious, and align ↵Justin Clark-Casey (justincc)1-1/+1
with the fact that it's one word rather than two.
2011-04-05remove now unused individual LandData prim counts.Justin Clark-Casey (justincc)4-72/+4
However, the calls to the land management module to record prims need to remain, since they were also being used to return owner object lists, etc. This is probably why prim counts were being done there in the first place.
2011-03-31Remove unused RegionInfo.getInternalEndPointPort() in favour of ↵Justin Clark-Casey (justincc)1-6/+1
RegionInfo.InternalEndPoint.Port
2011-03-31Remove unused Datastore parameter from RegionInfo (legacy from early 2008)Justin Clark-Casey (justincc)1-11/+0
2011-03-30(re)implement selected prim count.Justin Clark-Casey (justincc)1-0/+5
This does not currently count objects that are sat upon (which the viewer ui implies should be included in this count)
2011-03-26move total parcel prim calculations into IPrimCounts instead of doing this ↵Justin Clark-Casey (justincc)1-0/+24
in LLClientView need to move selected prim counts from LandData/LMM still
2011-03-26Add test for PCM taint. This currently fails due to unexpected behaviour of ↵Justin Clark-Casey (justincc)1-0/+112
SceneGraph.ForEachSOG(). This will be corrected soon. Also adds lots of temproarily debug logging
2011-03-25minor: make it clearer in the log where we're loading region config files ↵Justin Clark-Casey (justincc)1-2/+2
and not the regions themselves
2011-03-25in region web loader, print out url that config is being loaded from (this ↵Justin Clark-Casey (justincc)1-2/+2
wasn't being done anywhere).
2011-03-25Log the xml/ini regions config files that opensim loads from, and the ↵Justin Clark-Casey (justincc)1-4/+20
regions that it loaded from them This will show up with the lines [REGION LOADER FILE SYSTEM]: Loading config files from ./Regions, etc.
2011-03-25Start using IPrimCounts populated by PrimCountModule instead of LandData ↵Justin Clark-Casey (justincc)3-1/+147
counts populated by LandManagementModule. In order to pass ILandObject into IClientAPI.SendLandProperties(), had to push ILandObject and IPrimCounts into OpenSim.Framework from OpenSim.Region.Framework.Interfaces, in order to avoid ci Counts are showing odd behaviour at the moment, this will be addressed shortly.
2011-03-17Thanks Kevin Cozens for a patch that:BlueWall2-2/+2
Fixes several spelling mistakes
2011-03-16minor: bring comment into line with code realityJustin Clark-Casey (justincc)1-1/+1
2011-03-14Up the timeout on slow requests to 3000 to stop console spam. Make sureMelanie1-5/+21
request method and target are reported correctly and drop the txn id as it's empty 99% of the time.
2011-03-09Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)4-6/+0
This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
2011-03-09Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵Justin Clark-Casey (justincc)1-1/+18
static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests
2011-03-05Change MoapModule.ClearMediaEntry to set TextureEntryFace.MediaFlags back to ↵Justin Clark-Casey (justincc)1-1/+1
false Implement test for ClearMediaEntry()
2011-02-22Parameterizes the view distance used to compute and manageMic Bowman1-3/+10
child agents in neighbor regions. This means you can extend the view on a simulator beyond the default 3x3 regions. This uses a region default draw distance and should be replaced at some point by the avatar specified draw distance. That will require more careful, dynamic recomputation of child agents every time the draw distance changes. WARNING: this is experimental and has known instabilities. specifically all regions "within site" should be running the same default draw distance or agents will not be closed correctly.
2011-02-18Put some CapabilitiesModule null checks in SceneJustin Clark-Casey (justincc)1-1/+0
Stop tests setting up a capabilities module by default
2011-02-16XFF capitalization strikes again -- this time in the XMLRPC method. mantis #5386Diva Canto1-1/+13