aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Requeue unacknowledged entity updates rather than resend then "as is".Dan Lake2011-04-192-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.
* Merge branch 'master' into test-merge0418Mic Bowman2011-04-181-2/+2
|\
| * More descriptive debug msg for ServiceOSDRequest failures.Dan Lake2011-04-161-2/+2
| |
* | Fixed the update of items in the priority queue to enable bothMic Bowman2011-04-131-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.
* | First pass at moving object property requests into a queue similarMic Bowman2011-04-131-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.
* Moved 3 request handlers from OpenSim.Framework.Servers.HttpServer up to ↵Diva Canto2011-04-124-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.
* Revert master version number to 0.7.1 for now to make merging easier.Justin Clark-Casey (justincc)2011-04-071-1/+1
|
* bump main branch version number to 0.7.2. A separate 0.7.1-post-fixes ↵Justin Clark-Casey (justincc)2011-04-061-1/+1
| | | | branch now exists.
* Improve previous ILandObject method doc.Justin Clark-Casey (justincc)2011-04-061-2/+6
| | | | For test code, take a part name prefix when creating objects, so that these can be more easily identified in the logs
* Add method doc to some land bitmap methods in ILandObject.Justin Clark-Casey (justincc)2011-04-061-0/+18
| | | | Also changes prim count tests to use the correct upper region bounds, though the method actually ignores the overage.
* Change some text to make the autoreturn mechanism more obvious, and align ↵Justin Clark-Casey (justincc)2011-04-051-1/+1
| | | | with the fact that it's one word rather than two.
* remove now unused individual LandData prim counts.Justin Clark-Casey (justincc)2011-04-054-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.
* Remove unused RegionInfo.getInternalEndPointPort() in favour of ↵Justin Clark-Casey (justincc)2011-03-311-6/+1
| | | | RegionInfo.InternalEndPoint.Port
* Remove unused Datastore parameter from RegionInfo (legacy from early 2008)Justin Clark-Casey (justincc)2011-03-311-11/+0
|
* (re)implement selected prim count.Justin Clark-Casey (justincc)2011-03-301-0/+5
| | | | This does not currently count objects that are sat upon (which the viewer ui implies should be included in this count)
* move total parcel prim calculations into IPrimCounts instead of doing this ↵Justin Clark-Casey (justincc)2011-03-261-0/+24
| | | | | | in LLClientView need to move selected prim counts from LandData/LMM still
* Merge branch 'master' into primcountsJustin Clark-Casey (justincc)2011-03-262-6/+22
|\
| * minor: make it clearer in the log where we're loading region config files ↵Justin Clark-Casey (justincc)2011-03-251-2/+2
| | | | | | | | and not the regions themselves
| * in region web loader, print out url that config is being loaded from (this ↵Justin Clark-Casey (justincc)2011-03-251-2/+2
| | | | | | | | wasn't being done anywhere).
| * Log the xml/ini regions config files that opensim loads from, and the ↵Justin Clark-Casey (justincc)2011-03-251-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.
* | Add test for PCM taint. This currently fails due to unexpected behaviour of ↵Justin Clark-Casey (justincc)2011-03-261-0/+112
| | | | | | | | | | | | SceneGraph.ForEachSOG(). This will be corrected soon. Also adds lots of temproarily debug logging
* | Start using IPrimCounts populated by PrimCountModule instead of LandData ↵Justin Clark-Casey (justincc)2011-03-253-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.
* Thanks Kevin Cozens for a patch that:BlueWall2011-03-172-2/+2
| | | | Fixes several spelling mistakes
* minor: bring comment into line with code realityJustin Clark-Casey (justincc)2011-03-161-1/+1
|
* Up the timeout on slow requests to 3000 to stop console spam. Make sureMelanie2011-03-141-5/+21
| | | | | request method and target are reported correctly and drop the txn id as it's empty 99% of the time.
* Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)2011-03-094-6/+0
| | | | This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
* Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵Justin Clark-Casey (justincc)2011-03-091-1/+18
| | | | static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests
* Change MoapModule.ClearMediaEntry to set TextureEntryFace.MediaFlags back to ↵Justin Clark-Casey (justincc)2011-03-051-1/+1
| | | | | | false Implement test for ClearMediaEntry()
* Parameterizes the view distance used to compute and manageMic Bowman2011-02-221-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.
* Put some CapabilitiesModule null checks in SceneJustin Clark-Casey (justincc)2011-02-181-1/+0
| | | | Stop tests setting up a capabilities module by default
* XFF capitalization strikes again -- this time in the XMLRPC method. mantis #5386Diva Canto2011-02-161-1/+13
|
* Fix and simplify QBasedComparer.Marck2011-02-131-13/+7
| | | | Make parsing of qvalues independent from a system's language setting and ensure that the comparison adheres to a descending order.
* Fixed Caps handlers leakDiva Canto2011-02-051-1/+1
|
* Added a couple of console commands to help diagnose issues:Diva Canto2011-02-051-0/+32
| | | | | show circuits: shows the lists of agent circuit data show http-handlers: shows the currently registered http handlers
* Add sane packing of ServiceURLs -- OSDMap. The old way (OSDArray) is still ↵Diva Canto2011-02-051-1/+29
| | | | supported for backwards compatibility, but will be removed in the future.
* Put something in the ImprovedInstantMessage.BinaryBucket for ↵Justin Clark-Casey (justincc)2011-02-041-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
* Fix "set log level" to once again display current log level if it's not ↵Justin Clark-Casey (justincc)2011-02-041-12/+15
| | | | | | given a parameter This addresses http://opensimulator.org/mantis/view.php?id=5345
* Addresses mantis #5360: CreatorData was being written as long as it wasn't ↵Diva Canto2011-02-031-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.
* Thank you, Goetz, for a patch to fix prim count display in cut regions.Melanie2011-01-281-0/+2
|
* Implement command "land show". This shows all the parcels on the currently ↵Justin Clark-Casey (justincc)2011-01-261-1/+1
| | | | | | selected region/s This is useful for diagnostics. The command is "land show" rather than "show land" because it's implemented as a module specific subcommand.
* Removed a few more spurious appearance saves. When an avatarMic Bowman2011-01-251-5/+18
| | | | | | | enters a region the attachments module tries to update the appearance with attachments that are already part of the appearance. Just added a check to only save if the attachments weren't there before.
* Update the "config get <section> <key>" command to "config get [<section>] ↵Justin Clark-Casey (justincc)2011-01-212-0/+19
| | | | | | | | | [<key>]" The config get command shows a current config value on the console. Now, if <key> is omitted then all the values for the given section are printed. If <section> is ommitted then all sections and all keys are printed. Current config can also be dumped to a file using "config save <path>". This can be handy for resolving or eliminating config issues
* make "show info" and "show version" show the same version textJustin Clark-Casey (justincc)2011-01-211-4/+7
|
* add current console log level to "show info"Justin Clark-Casey (justincc)2011-01-211-2/+9
|
* minor: make "show info" help slightly clearerJustin Clark-Casey (justincc)2011-01-201-1/+1
|
* with mic's permission, reduce appearance, baked texture logging verbosity ↵Justin Clark-Casey (justincc)2011-01-191-4/+4
| | | | for now
* With mic's permission, adjust long call time info messages to 500ms from 200msJustin Clark-Casey (justincc)2011-01-192-3/+4
|
* Make FireAndForgetWrapper a singleton classBlueWall2011-01-131-3/+24
| | | | | | Made FireAndForgetWrapper a singleton class to allow us to drop dependancy on the BclExtras35 library. BclExtras is broken in Mono 2.8.2 and we used the library in only one function.
* Added more performance checks to the HTTP server. Each requestMic Bowman2011-01-052-48/+83
| | | | | coming through the WebUtil fns has a request id in the header that can match the request to the actual work done by the service
* Cleaned up debugging messages in the WebRequest handlersMic Bowman2011-01-031-5/+8
|