aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
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-17Correct the delegate for classified deletesMelanie1-1/+2
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-31Make the login service's call to the sim time out quicker so we have aMelanie1-4/+9
chance to try fallback before the client quits
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-22Add some more fields to Estate settings and make them work.Melanie1-0/+24
Run alter table estate_settings add column AllowLandmark tinyint not null default 1, add column AllowParcelChanges tinyint not null default 1, add column AllowSetHome tinyint not null default 1; to make this work.
2011-03-22Adding a helper function lifted from Aurora. Not for core.Melanie1-0/+9
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-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-17Add needed dummy to sample moneyMelanie1-0/+1
2011-02-16XFF capitalization strikes again -- this time in the XMLRPC method. mantis #5386Diva Canto1-1/+13
2011-02-13Fix and simplify QBasedComparer.Marck1-13/+7
Make parsing of qvalues independent from a system's language setting and ensure that the comparison adheres to a descending order.
2011-02-05Fixed Caps handlers leakDiva Canto1-1/+1
2011-02-05Added a couple of console commands to help diagnose issues:Diva Canto1-0/+32
show circuits: shows the lists of agent circuit data show http-handlers: shows the currently registered http handlers
2011-02-05Add sane packing of ServiceURLs -- OSDMap. The old way (OSDArray) is still ↵Diva Canto1-1/+29
supported for backwards compatibility, but will be removed in the future.
2011-02-04Put something in the ImprovedInstantMessage.BinaryBucket for ↵Justin Clark-Casey (justincc)1-0/+10
llInstantMessage() to stop this crashing viewer 2.4.0 (1.23.5 was fine with this). We're putting in a string of format "<region name><x pos floor int><y pos floor int><z pos floor int> which appears to be the expected value. This resolves http://opensimulator.org/mantis/view.php?id=5356
2011-02-04Fix "set log level" to once again display current log level if it's not ↵Justin Clark-Casey (justincc)1-12/+15
given a parameter This addresses http://opensimulator.org/mantis/view.php?id=5345
2011-02-03Addresses mantis #5360: CreatorData was being written as long as it wasn't ↵Diva Canto1-1/+1
null. This made iars backwards incompatible when some items had non-null foreign creators. This patch adds an explicit option (-c) to preserve foreign creator information.
2011-02-02Change the timeout on WebUtil to 20s to help make more tps succeedMelanie1-4/+4