aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus11-824/+165
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-11-09* Prep work switching the GetMeshModule over to a poll service.teravus2-73/+410
* This still has the image throttler in it.. as is... so it's not suitable for live yet.... The throttler keeps track of the task throttle but doesn't balance the UDP throttle yet.
2012-11-05This implements the Caps throttler. After some testing, the system seemed ↵teravus1-13/+106
to be OK with me specifying allowing 1 oversized image per 70,000b/sec with at least one. Try it out, start with a low bandwidth setting and then, set your bandwidth setting middle/high and see the difference. Tested with Two Clients on a region with 1800 textures all visible at once.
2012-11-05Another step in the chain. Pipe the throttle update to the appropriate ↵teravus1-12/+35
PollServiceTextureEventArgs. Each poll service having it's own throttle member is more consistent with the model then the region module keeping track of all of them globally and better for locking too. The Poll Services object is not set static to handle multiple nearby regions on the same simulator. Next step is hooking it up to HasEvents
2012-11-04Pipe Throttle Update Event to EventManager, client --> ScenePresence --> ↵teravus2-0/+53
EventManager, so that modules can know when throttles are updated. The event contains no client specific data to preserve the possibility of 'multiple clients' and you must still call ControllingClient.GetThrottlesPacked(f) to see what the throttles actually are once the event fires. Hook EventManager.OnUpdateThrottle to GetTextureModule.
2012-10-31Handle UUIDGroupName and ObjectGroup viewer UDP requests asynchronously ↵Justin Clark-Casey (justincc)1-2/+2
rather than synchronously. This is to avoid the entire scene loop being held up when the group service is slow to respond. There's no obvious reason for these queries to be sync rather than async.
2012-10-25Fix script error messages not showing up in viewer 3 and associated viewers.Justin Clark-Casey (justincc)1-3/+4
Viewer 3 will discard such a message if the chat message owner does not match the avatar. We were filling the ownerID with the primID, so this never matched, hence viewer 3 did not see any script error messages. This commit fills the ownerID in with the prim ownerID so the script owner will receive script error messages. This does not affect viewer 1 and associated viewers which continue to process script errors as normal.
2012-10-23Make it possible to turn the base UDP object packet pools on and off whilst ↵Justin Clark-Casey (justincc)2-38/+131
running via the "debug lludp pool <on|off>" console command. For debug purposes. This does not currently apply to the higher LLUDP packetpool.
2012-10-23Add object count stats for new IncomingPacket and UDPPacketBuffer pools if ↵Justin Clark-Casey (justincc)3-6/+65
they are enabled. Add count stats for existing LLUDP pool. This introduces a pull stat type in addition to the push stat type. A pull stat takes a method on construction which knows how to update the stat on request. In this way, special interfaces for pull stat collection are not necessary.
2012-10-18Remove redundant and annoyingly modal message box in upload processing.Melanie1-11/+11
2012-10-18minor: Remove event method doc from LLClientView that I forgot in the last ↵Justin Clark-Casey (justincc)1-15/+0
commit (1de80c)
2012-10-17Reuse the same AgentUpdateArgs object for each AgentUpdate UDP packet (of ↵Justin Clark-Casey (justincc)1-41/+68
which there are 10 a second) rather than constructing a new one every time. We can do this because AgentUpdate packets are handled synchronously.
2012-10-17Explicitly return only the incoming AgentUpdate packet as this is the only ↵Justin Clark-Casey (justincc)3-8/+30
one we pool atm, rather than attempting to return all incoming packets.
2012-10-17If RecycleBaseUDPPackets = true, also pool IncomingPackets to reduce memory ↵Justin Clark-Casey (justincc)2-2/+30
churn
2012-10-17Allow the console to be used by gods as well as region owners.Melanie1-1/+1
2012-10-16minor: Make BasicCircuitTests.SetUp() call overriden base method instead of ↵Justin Clark-Casey (justincc)1-1/+2
ignoring it.
2012-10-16Add optional pool for the UDPPacketBuffer objects that handle all incoming ↵Justin Clark-Casey (justincc)2-24/+49
UDP data. Even when an avatar is standing still, it's sending in a constant stream of AgentUpdate packets that the client creates new UDPPacketBuffer objects to handle. This option pools those objects. This reduces memory churn. Currently off by default. Works but the scope can be expanded.
2012-10-16Make it possible to separate start and stop lludp packet processing from the ↵Justin Clark-Casey (justincc)2-31/+129
console for debug processes. This is controlled via the "debug lludp start <in|out|all>" and "debug lludp stop <in|out|all>" region console commands. The command "debug lludp status" will show current status.
2012-10-16minor: Add missing newlines and spacing to help for "debug eq" console commandJustin Clark-Casey (justincc)1-4/+4
2012-10-16minor: comment out "Registered seed capability" message for "Received SEED ↵Justin Clark-Casey (justincc)1-4/+5
caps request" message for now. I think this is more useful right now since it tells us if the viewer requested a seed caps at all in various scenarios (such as when teleporting to a new region).
2012-10-16minor: Comment out the region console caps message for now.Justin Clark-Casey (justincc)1-1/+1
2012-10-14Make texture sedning use only two threads to make things less harsh on bandwidthMelanie1-2/+2
2012-10-13minor: Fix and elaborate on log information printed when an unrecognized ↵Justin Clark-Casey (justincc)1-2/+14
estate method is received from the client.
2012-10-12minor: Use && instead of & when deciding whether to print ↵Justin Clark-Casey (justincc)1-1/+1
Improve/ObjectUpdate packet out messages when debug is turned on. Practical effect is probably none.
2012-10-12minor: Fix bug in categorization of blocks reused stat from packetpoolJustin Clark-Casey (justincc)1-1/+1
2012-10-12Add AgentUpdate to PacketPool. This is the most common inbound packet from ↵Justin Clark-Casey (justincc)3-5/+28
viewers.
2012-10-12Fix percentage stats to multiply by 100. Adjust container name for ↵Justin Clark-Casey (justincc)1-2/+2
packetpool stats.
2012-10-12Enable reuse of data blocks for ImprovedTerseObjectUpdate using existing ↵Justin Clark-Casey (justincc)1-1/+3
Packetpool code.
2012-10-11Fix packetpool for ImprovedTerseObjectUpdate packets.Justin Clark-Casey (justincc)3-5/+15
These were neither being returned or in many places reused. Getting packets from a pool rather than deallocating and reallocating reduces memory churn which in turn reduces garbage collection time and frequency.
2012-10-11Extend "show stats" command to "show stats [list|all|<category name>]"Justin Clark-Casey (justincc)1-8/+35
This allows different categories of stats to be shown, with options to list categories or show all stats. Currently categories are scene and simulator and only a very few stats are currently registered via this mechanism. This commit also adds percentage stats for packets and blocks reused from the packet pool.
2012-10-10Lock on AgentCircuitData during Scene.AddClient() and RemoveClient() to ↵Justin Clark-Casey (justincc)2-18/+9
prevent an inactive connection being left behind if the user closes the viewer whilst the connection is being established. This should remove the need to run the console command "kick user --force" when these connections are left around.
2012-10-09Move OpenSim.Data.RegionFlags -> OpenSim.Framework.RegionFlags to make it ↵Justin Clark-Casey (justincc)1-0/+1
easier for other code to use (e.g. LSL_Api) without having to reference OpenSim.Data just for this.
2012-10-06On receiving TaskInventoryAccepted with a destination folder in the binary ↵Justin Clark-Casey (justincc)1-1/+2
bucket slot for RLV, notify the viewer about inventory folder updates. The viewer would not see the folder move without this, either on accept or decline. This commit also updates the TaskInventoryOffered message to better conform with the data LL uses Changes are, agentID is prim owner rather than prim id, agent name is now simply object name rather than name with owner detail, message is just folder name in single quotes, message is not timestamped. However, folder is not renamed "still #RLV/~<name>". Long term solution is probably not to do these operations server-side. Notes will be added to http://opensimulator.org/mantis/view.php?id=6311
2012-10-05Read PacketPool config in LLUDPServer with other config params rather than ↵Justin Clark-Casey (justincc)1-0/+9
in Scene. This is to resolve previous build break. This unnecessarily but harmlessly reads and sets the parameter multiple times - scene was doing the same thing.
2012-10-05refactor: Move OpenSim.Framework.PacketPool to ↵Justin Clark-Casey (justincc)1-0/+249
OpenSim.Region.Clientstack.Linden.UDP This is to allow it to use OpenSim.Framework.Monitoring in the future. This is also a better location since the packet pool is linden udp specific
2012-09-26just remove the damm thingUbitUmarov3-3/+3
2012-09-26 Seems nothing actually need the request body for getevents. so changeUbitUmarov2-11/+2
control flag to false
2012-09-26 more changes to PollServiceUbitUmarov2-1/+7
2012-09-25missed changeUbitUmarov1-1/+2
2012-09-25do the same to webFecthInvDescModuleUbitUmarov1-33/+25
2012-09-25 change GetTextureModule processingUbitUmarov1-29/+31
2012-09-24Text changes for upload messagesMelanie1-4/+4
2012-09-24 more upload changes (plus untouch prebuild.xml)UbitUmarov2-68/+128
2012-09-24 add missing transactionID in SendInventoryItemCreateUpdate. and make useUbitUmarov1-1/+7
of it on inventoryAccessModule, etc. Most likelly it's needs where there is a transactionID not zero
2012-09-23Protect the responses map with a lock. Also remove ugly "this." type ofMelanie2-18/+24
member notation.
2012-09-23try to allow free uploads for testing, if users prefix names with "TEST-". LetUbitUmarov2-41/+210
textures get into inventory again. Both features under config control. Have direct warnings to client, including a final one on upload complete since i see nothing. problems: textures don't showup in inventory til relog, also issues with permitions. A few more changes
2012-09-22 report asset upload errors the right awayUbitUmarov2-29/+75
2012-09-22removed AssetUploaderWithCost, fixing AssetUploader. add parsing of someUbitUmarov1-42/+24
more needed fields in request
2012-09-22 removed unused data in MeshUploadFlag responseUbitUmarov1-8/+8
2012-09-21 read model upload cost parameters from config [Economy] sectionUbitUmarov2-4/+23