aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-05-04use getters instead of member variables in velocity network filter code and ↵dahlia1-6/+8
add some more descriptive comments.
2011-05-03adjust terse avatar update filtering to send updates when distance traveled ↵dahlia1-3/+17
does not match expected distance, rather than at a fixed time period. this should smooth avatar motion somewhat when moving in a straight line and velocity is constant.
2011-04-30Check for RegionID instead of RegionHandle. Other minor tweaksDiva Canto2-3/+3
2011-04-30When coming in from a legacy region without fatpacks, start scripts theMelanie1-0/+16
usual way
2011-04-29Delaying starting the scripts on TPs and crossings until the agent is root.Diva Canto2-23/+40
2011-04-29Remove the scripts of the attachments in the departing region and recreate ↵Diva Canto2-2/+12
them if fail.
2011-04-29Fix crash when [Mesh] section is missing from configuration filesDan Lake1-1/+2
2011-04-29Minor correction to yesterday's changes. Make normal prim crossing (no ↵Diva Canto2-2/+3
attach) work well again.
2011-04-28Fatpack message on agent transfers: 1 message only (UpdateAgent) containing ↵Diva Canto8-138/+84
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-28Stop CHANGED_INVENTORY firing twice if a notecard is edited in prim.Justin Clark-Casey (justincc)3-6/+14
Addresses http://opensimulator.org/mantis/view.php?id=5444 Fix is to stop the asset transaction calling UpdateInventoryItem() since the caller is doing it anyway, which is more correct. This did not effect scripts.
2011-04-28Eliminated sAgentCircuitData, a data structure that has been obsolete for ↵Diva Canto1-1/+1
quite some time.
2011-04-28Fix a bug where physical objects rezzed with an initial velocity by script ↵Justin Clark-Casey (justincc)1-0/+6
do not receive this velocity. This is a minimal fix for the 0.7.1 release, pending a non copy/paste solution. This hopefully addresses http://opensimulator.org/mantis/view.php?id=5457 The bug was introduced in commit 3ba5eeb
2011-04-26network traffic reduction - decrease update frequency for moving avatars ↵dahlia1-10/+24
when velocity is unchanged
2011-04-26Add back the high prioritization for other avatars in theMic Bowman1-6/+8
BestAvatarResponsiveness prioritizer.
2011-04-25recover from unhandled exception from bad rotation data while processing ↵dahlia1-1/+9
entity updates in LLClientView.cs
2011-04-25Removed debug message in the token bucket codeMic Bowman1-1/+1
2011-04-25Fix the totals shown by show throttleMic Bowman1-1/+1
2011-04-25Fixed the transmission of throttles from root agent to childMic Bowman3-34/+41
agents. Child throttles are based on the number of child agents known to the root and at least 1/4 of the throttle given to the root.
2011-04-25Made things consistent between LocalInventoryServiceConnector and ↵Diva Canto2-11/+32
RemoteXInventoryServiceConnector on GetFolderContent.
2011-04-25Cleaned up various configuration options. Removed the category throttleMic Bowman4-87/+43
limits because the only ones used now are the defaults (which are overwritten by the client throttles anyway). Updated the default rates to correspond to about 350kbps. Also added a configuration to disable adaptive throttle. The default is the previous behavior (no adaptation).
2011-04-23Added MaxAgents configuration option to RegionConfig.ini allowing region ↵E. Allen Soard1-1/+4
hosters to setup regions maintaining more control over system resources.
2011-04-22Added a second immediate queue to be used for the BestAvatar policyMic Bowman1-4/+30
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-22Set the initial rate for the adaptive throttle to 160KpbsMic Bowman1-4/+6
or about 15 packets per second.
2011-04-22Various clean ups. Removed some debugging code. Added a new "show pqueues"Mic Bowman3-25/+107
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-21some mesh config astheticsBlueWall2-2/+2
2011-04-21Add some locking on the child list for the token bucketMic Bowman1-15/+22
hiearchy. A few other cosmetic changes.
2011-04-21Refactor UnackedPacketCollection so ProcessQueues will handle Adds, Acks, ↵Dan Lake2-26/+34
and Removes in that order.
2011-04-21Implement agent limitsMelanie2-0/+25
2011-04-21Group collada meshies settings under [Mesh] in OpensimDefaults.iniBlueWall1-1/+2
2011-04-21Adjust freeswitch logging to be somewhat less noisy. However, there is ↵Justin Clark-Casey (justincc)1-9/+18
still quite a large amount of logging present for debug purposes.
2011-04-21minor: small amount of method doc and some commented out odds and endsJustin Clark-Casey (justincc)1-6/+15
2011-04-21Alter uuid gather so that it properly analyzes coalesced objects.Justin Clark-Casey (justincc)2-22/+43
This should correct save all the assets required for the items within the coalesced objects in an IAR. This should also correctly gather the items on hypergrid takes.
2011-04-21Added ability to remove unacked packet from UnackedPacketCollection without ↵Dan Lake2-2/+38
an acknowledgement from the network. This prevents RTT and throttles from being updated as they would when an ACK is actually received. Also fixed stats logging for unacked bytes and resent packets in this case.
2011-04-20bug fix. Now when an unacked update packet is handled through ↵Dan Lake3-16/+25
ResendPrimUpdates, it is removed from the UnackedPacketCollection.
2011-04-20Added an "immediate" queue to the priority queue. This isMic Bowman2-247/+2
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-20Adds the first pass at an adaptive throttle to slow start newMic Bowman4-18/+95
clients. If the sent packets are ack'ed successfully the throttle will open quickly up to the maximum specified by the client and/or the sims client throttle. This still needs a lot of adjustment to get the rates correct.
2011-04-19fix meshing failure on sculpt maps smaller than 64x64dahlia1-3/+10
2011-04-20Get Viewer 2 voice working with OpenSim.Justin Clark-Casey (justincc)1-13/+66
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-19Clean up freeswitch config to what is currently required. Add explanation ↵Justin Clark-Casey (justincc)1-13/+15
to config parameters. Clean up some log messages.
2011-04-19Converted the property request queue to use the same retransmissionMic Bowman1-23/+52
mechanism as the entity update queues.
2011-04-19Requeue unacknowledged entity updates rather than resend then "as is".Dan Lake3-54/+112
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 Lake3-54/+112
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-18Move mesh on/off swtich from [Startup] to [Mesh] in anticipation of future ↵Justin Clark-Casey (justincc)3-8/+12
config parameters. Default remains true. OpenSimDefault.ini changed so if you haven't overriden this switch then you don't need to do anything.
2011-04-18bump default IAR version to 0.2 and 1.1 for the --profile version.Justin Clark-Casey (justincc)1-2/+2
There are no changes in this bump, they just signal a point at which the control file comes first in the archive.
2011-04-18bump oar version number to 0.6.Justin Clark-Casey (justincc)1-1/+1
This commit contains no data changes - the version bump is to establish a version at which the control file must come first in the archive.
2011-04-18Add regression test to check that OARs start with the control file.Justin Clark-Casey (justincc)3-9/+21
2011-04-18add test to ensure that an IAR starts with the control fileJustin Clark-Casey (justincc)2-11/+39
2011-04-18refactor: split out the code which actually copies a particular bundle to ↵Justin Clark-Casey (justincc)1-106/+115
inventory
2011-04-18refactor: rename DeleteToInventory() to CopyToInventory()Justin Clark-Casey (justincc)3-3/+20
DeleteToInventory() is misleading - it is the caller that decides whether to delete or not
2011-04-18Fix bug where objects were being coalesced in the wrong positions.Justin Clark-Casey (justincc)1-2/+2
This addresses http://opensimulator.org/mantis/view.php?id=5441 The bug was due to a pre-existing mistake in creating the inventory stored position