aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-06-17Change assembly versions to 0.8.1Justin Clark-Casey (justincc)1-1/+1
2014-06-16If processing a queued request fails up to the top of the stack, log the ↵Justin Clark-Casey (justincc)1-3/+13
exception and move to the next request rather than terminate the simulator.
2014-05-27Update regression TestInventoryDescendentsFetch() to account for recent ↵Justin Clark-Casey (justincc)1-1/+1
commit 1fa3a6f This was hidden in continuous integration because of another regression test issue.
2014-05-07Finished implementing redirects in GetTexture.Diva Canto1-3/+6
2014-05-06Show more meaningful error messages when failed to give an item to another userOren Hurvitz1-5/+13
2014-05-02minor: Comment out Cacheitems debug log lines for nowJustin Clark-Casey (justincc)1-6/+6
2014-04-29Fixed the UpdateAgentInformation CAP: the viewer expects the simulator to ↵Oren Hurvitz1-6/+7
echo back the maturity that it sent Without this change, attempts to change the maturity rating in the viewer's Preferences don't work.
2014-04-05Revert "Don't re-retrieve sit part in SP.HandleAgentSit() when we already ↵Justin Clark-Casey (justincc)1-2/+0
have it." This reverts commit 2c00b73cd27a7183a5c105b4e2865f11e4a00d98. Wrong code change
2014-04-05Don't re-retrieve sit part in SP.HandleAgentSit() when we already have it.Justin Clark-Casey (justincc)1-0/+2
2014-03-21rename prefix of ↵Justin Clark-Casey (justincc)1-34/+36
scene-inventory.<scene-name>.ProcessedFetchInventoryRequests and QueuedFetchInventoryRequests to inventory.httpfetch.* Actual inventory processing is done with a single set of static structures rather than per scene.
2014-03-19minor: Put ProcessedFetchInventoryRequests and QueuedFetchInventoryRequests ↵Justin Clark-Casey (justincc)1-2/+2
in stats category "scene-inventory" instead of "scene" To distinguish from general scene stats
2014-03-18Add scene.<scene-name>.ProcessedFetchInventoryRequestsJustin Clark-Casey (justincc)1-15/+41
This shows the number of requests that have been processed. These have not necessarily been sent back to the request since this is done separately by the PollServiceRequestManager
2014-03-18Add scene.<scene-name>.QueuedFetchInventoryRequests statJustin Clark-Casey (justincc)1-0/+19
This is to aid in detecting whether there are fetch inventory requests remaining to be processed.
2014-03-17Add regression test for http inventory fetch.Justin Clark-Casey (justincc)2-7/+194
Involved some restructuring to allow regression tests to dequeue inventory requests and perform poll responses synchronously rather than async
2014-02-12If a caller tries to queue a CAPs message to a scene presence that has no ↵Justin Clark-Casey (justincc)2-7/+99
event queue (e.g. an NPC), only warn if event queue debugging is greater than zero. Removes the spurious log warnings if groups are active when NPCs are used. Adds more regression tests associated with adding messages to the event queue
2014-02-04Dropping the rest of Avination's modified appearance code for core.Melanie1-28/+198
Module to follow.
2014-01-11varregion: properly pack the region size parameters so he viewer will parse ↵Robert Adams1-6/+6
them. This gets rid of the viewer crash when teleporting into varregions and allows multiple, adjacent varregions (of the same size) with border crossings.
2014-01-11varregion: Debug messages for region crossing debugging.Robert Adams1-5/+6
2014-01-04varregion: Add region size to teleport event messages (EnableSimulator,Robert Adams2-19/+45
CorssRegion, TeleportFinishEvent). Have Simian grid service return the region size. Many teleport related debug log messages. Can be removed when teleport works (like that's ever going to happen). Conflicts: OpenSim/Framework/RegionInfo.cs
2014-01-03varregion: Add region size to teleport event messages (EnableSimulator,Robert Adams2-19/+45
CorssRegion, TeleportFinishEvent). Have Simian grid service return the region size. Many teleport related debug log messages. Can be removed when teleport works (like that's ever going to happen).
2013-12-18Create regression test TestSendAgentGroupDataUpdate() for groups agent data ↵Justin Clark-Casey (justincc)1-3/+3
sending
2013-12-06minor: Use enums for setting inv/asset types on data upload rather than ↵Justin Clark-Casey (justincc)1-7/+7
magic numbers
2013-12-06Properly set InventoryType.Snapshot when a snapshot is uploadedJustin Clark-Casey (justincc)1-0/+4
Resolves http://opensimulator.org/mantis/view.php?id=6857 This prevents the inventory service complaining later about an attempt to change an invariant
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-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