aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-31minor: remove mono compiler warnings in AvatarPickerSearchModule and ↵Justin Clark-Casey (justincc)2-7/+3
UploadBakedTextureModule
2013-10-04Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)1-1/+1
2013-09-27refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ↵Justin Clark-Casey (justincc)1-1/+1
it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly. Adds IScene.CloseAgent() to replace RemoveClient()
2013-09-22Preserve attachment point & position when attachment is rezzed in worldAleric Inglewood2-0/+5
Patch taken from http://opensimulator.org/mantis/view.php?id=4905 originally by Greg C. Fixed to apply to r/23314 commit ba9daf849e7c8db48e7c03e7cdedb77776b2052f (cherry picked from commit 4ff9fbca441110cc2b93edc7286e0e9339e61cbe)
2013-09-11Change handling of the FetchInventoryDescendents2 capability configuration ↵Mic Bowman1-23/+36
to allow for external handlers.
2013-09-07Add support for simple external CAPS texture servicesroot1-19/+31
2013-09-02Fix bug where users teleporting to non-neighbour regions could continue to ↵Justin Clark-Casey (justincc)1-2/+2
hear chat from their source region for some time after teleport completion. This occurs on v2 teleport since the source region now waits 15 secs before closing the old child agent, which could still receive chat. This commit introduces a ScenePresenceState.PreClose which is set before the wait, so that ChatModule can check for ScenePresenceState.Running. This was theoretically also an issue on v1 teleport but since the pause before close was only 2 secs there, it was not noticed.
2013-08-14minor: Comment out AvatarPicketSearch caps log message for now, which is ↵Justin Clark-Casey (justincc)1-1/+1
occuring on every login and entity transfer
2013-08-12minor: Extend warning message when adding trying to add an event for a ↵Justin Clark-Casey (justincc)1-3/+8
client without a queue to include the event message name.
2013-08-08Fix an issue where under teleport v2 protocol, teleporting from regions in ↵Justin Clark-Casey (justincc)1-1/+1
an line from A->B->C would not close region A when reaching C The root cause was that v2 was only closing neighbour agents if the root connection also needed a close. However, fixing this requires the neighbour regions also detect when they should not close due to re-teleports re-establishing the child connection. This involves restructuring the code to introduce a scene presence state machine that can serialize the different add and remove client calls that are now possible with the late close of the This commit appears to fix these issues and improve teleport, but still has holes on at least quick reteleporting (and possibly occasionally on ordinary teleports). Also, has not been completely tested yet in scenarios where regions are running on different simulators
2013-07-31Experimental comment to eneralize the handling of Linden caps when theMic Bowman1-1/+5
cap is something other than "localhost". A new interface for handling external caps is supported with an example implemented for Simian. The only linden cap supporting this interface right now is the GetTexture cap.
2013-07-30Doing the HG Map / SimulatorFeatures "the right way": moved it to ↵Diva Canto1-12/+3
HGMapModule, hooking on to SimulatorFeatures.OnSimulatorFeaturesRequest event (similar to what the DynamicMenuModule does). Only HG Visitors get this var, to avoid spamming local users. The config var is now called MapTileURL, to be consistent with the login one, and its being picked up from either [LoginService], [HGWorldMap] or [SimulatorFeatures], just because I have a bad memory.
2013-07-30After talking to lkalif on the IRC: SimulatorFeatures response: renamed the ↵Diva Canto1-6/+7
OSDMap GridServices to OpenSimExtras, normalized the url keys under it, and moved ExportEnabled to under it too. Melanie: change your viewer code accordingly. Documentation at http://opensimulator.org/wiki/SimulatorFeatures_Extras
2013-07-27Several major improvements to group (V2) chat. Specifically: handle ↵Diva Canto1-2/+2
join/drop appropriately, invitechatboxes. The major departure from flotsam is to send only one message per destination region, as opposed to one message per group member. This reduces messaging considerably in large groups that have clusters of members in certain regions.
2013-07-26Slight improvement: no need to delay the removal of the queues in EQ, ↵Diva Canto1-8/+0
because DisableSimulator is now being sent via UDP
2013-07-25This should fix all issues with teleports. One should be able to TP as fast ↵Diva Canto1-44/+14
as needed. (Although sometimes Justin's state machine kicks in and doesn't let you) The EventQueues are a hairy mess, and it's very easy to mess things up. But it looks like this commit makes them work right. Here's what's going on: - Child and root agents are only closed after 15 sec, maybe - If the user comes back, they aren't closed, and everything is reused - On the receiving side, clients and scene presences are reused if they already exist - Caps are always recreated (this is where I spent most of my time!). It turns out that, because the agents carry the seeds around, the seed gets the same URL, except for the root agent coming back to a far away region, which gets a new seed (because we don't know what was its seed in the departing region, and we can't send it back to the client when the agent returns there).
2013-07-18Changed the timoeut of EQ 502s (no events) to 50 secs. The viewer post ↵Diva Canto1-2/+9
requests timeout in 60 secs. There's plenty of room for improvement in handling the EQs. Some other time...
2013-07-18Reverting the reverts I did yesterday. cpu-branch has now beenDiva Canto1-3/+5
successfully tested, and I'm merging back those changes, which proved to be good. Revert "Revert "Cleared up much confusion in PollServiceRequestManager. Here's the history:"" This reverts commit fa2370b32ee57a07f27501152c3c705a883b13d8.
2013-07-17Revert "Cleared up much confusion in PollServiceRequestManager. Here's the ↵Diva Canto1-5/+3
history:" This reverts commit e46459ef21e1ee5ceaeca70365a7c881d33b09ce.
2013-07-17Cleared up much confusion in PollServiceRequestManager. Here's the history:Diva Canto1-3/+5
When Melanie added the web fetch inventory throttle to core, she made the long poll requests (EQs) effectively be handled on an active loop. All those requests, if they existed, were being constantly dequeued, checked for events (which most often they didn't have), and requeued again. This was an active loop thread on a 100ms cycle! This fixes the issue. Now the inventory requests, if they aren't ready to be served, are placed directly back in the queue, but the long poll requests aren't placed there until there are events ready to be sent or timeout has been reached. This puts the LongPollServiceWatcherThread back to 1sec cycle, as it was before.
2013-07-16revert last commit which seems to conflict with DoubleQueue internals. The ↵dahlia1-10/+5
random crash might be in DoubleQueue instead. See http://pastebin.com/XhNBNqsc
2013-07-16add locking to internal queue in WebFetchInvDescModule; lack of which caused ↵dahlia1-5/+10
a random crash in a load test yesterday
2013-07-16Simplify EventQueue cap setup so that it is also stat monitored.Justin Clark-Casey (justincc)1-45/+29
Curiously, the number of requests received is always one greater than that shown as handled - needs investigation
2013-07-15Add request received/handling stats for caps which are served by http poll ↵Justin Clark-Casey (justincc)3-48/+33
handlers. This adds explicit cap poll handler supporting to the Caps classes rather than relying on callers to do the complicated coding. Other refactoring was required to get logic into the right places to support this.
2013-07-15Guard against null refDiva Canto1-1/+2
2013-07-12Changed UploadBakedTextureModule so that it uses the same pattern as the ↵Diva Canto1-8/+27
others, in preparation for experiments to direct baked texture uploads to a robust instance. No functional or configuration changes -- should work exactly as before.
2013-07-08For stat purposes, add names to capability request handlers where these were ↵Justin Clark-Casey (justincc)2-3/+10
not set
2013-07-08Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)1-1/+1
to print various counts of capability invocation by user and by cap This currently prints caps requests received and handled, so that overload of received compared to handled or deadlock can be detected. This involves making BaseStreamHandler and BaseOutputStream record the ints, which means inheritors should subclass ProcessRequest() instead of Handle() However, existing inheriting classes overriding Handle() will still work, albeit without stats recording. "show caps" becomes "show caps list" to disambiguate between show caps commands
2013-07-06Get InventoryWorkerThreads to update watchdog on processing requestsJustin Clark-Casey (justincc)1-0/+2
2013-06-17minor: remove mono compiler warnings in WebFetchInvDescModuleJustin Clark-Casey (justincc)1-3/+2
2013-06-14Don't try to abort worker threads in WebFetchInvDescModule if module was not ↵Justin Clark-Casey (justincc)1-6/+4
enabled. This also moves the abort to RemoveRegion() rather than a destructor.
2013-06-10Explicitly set uploaded mesh object permsMelanie1-10/+13
2013-06-07Put the configuration back in FetchInventoryDesc2 cap.Diva Canto1-0/+29
2013-06-07Supply proper type information for the various types of requestsMelanie1-0/+1
2013-06-07Adding Avination's PollService to round out the HTTP inventory changesMelanie2-4/+4
2013-06-05Port Avination's inventory send throttlingMelanie1-52/+213
2013-05-22Let the event queue do lees work - expire every 40s as per Teravus instead ↵Melanie1-1/+1
of every seconds - whoever put that in....
2013-05-10Delete debug messageDiva Canto1-1/+0
2013-05-07Added AvatarPickerSearch capability handler.Diva Canto1-0/+140
2013-04-30Fix CAPS to work like they should - do not send caps to the viewer if ↵Melanie1-1/+12
they're not in the requested caps list. The previous wrong behavior caused the debug setting "UseHTTPInventory" to fail on all viewers when turned off. UDB inventory would not be correctly used in that case.
2013-04-30Fix CAPS to work like they should - do not send caps to the viewer if ↵Melanie1-1/+12
they're not in the requested caps list. The previous wrong behavior caused the debug setting "UseHTTPInventory" to fail on all viewers when turned off. UDB inventory would not be correctly used in that case.
2013-04-25Send 503 when throttling texturesMelanie1-1/+33
2013-03-28minor: Fix usage error message for "debug eq" console commandJustin Clark-Casey (justincc)1-1/+1
2013-03-28Add "show eq" console command to show numbers of messages in agent event queues.Justin Clark-Casey (justincc)1-0/+23
For debugging purposes.
2013-03-26Implement a pref to turn on the simulator ExportSupported feature entry.Melanie1-0/+6
This tells the viewer to enable the UI for export permissions. WARNING: If your inventory store contains invalid flags data, this will result in items becoming exportable! Don't turn this on in production until it's complete!
2013-03-26Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie2-2/+4
with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions"
2013-03-24Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie1-4/+5
with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions"
2013-03-11minor: Remove mono compiler warnings in EventQueueTestsJustin Clark-Casey (justincc)1-1/+3
2013-03-04Fix issue in the mesh upload flag module where the ID of the last agent to ↵Justin Clark-Casey (justincc)1-6/+6
request the capability was always used instead of the original requesting agent for each cap. Should address http://opensimulator.org/mantis/view.php?id=6556
2013-03-03Make a viewer sent XML error prettierMelanie1-0/+4