aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-08-02Make atachment state load work againMelanie1-1/+1
2013-08-01minor: Add name to debug lludp packet level feedback on consoleJustin Clark-Casey (justincc)1-1/+1
2013-08-01* Thanks Plugh for pointing out that the constructor that takes a ulong ↵teravus2-15/+15
regionhandle and saves it to to X,Y vars in the OpenSim.Framework.Location object was inverting the X and Y resulting in X and Y confusion. The test also used 256x256 in the uint,uint constructor so it was unable to determine if the X and Y components swapped. I don't expect much upheaval from this commit, not a lot of features were using the ulong Location object constructor. The database never stores the ulong regionhandle... the prims are loaded by region Guid. LLUDPServer used it to determine regions that it handled in a service definition where there was simply a X == X test which has the same logical result un-switched as it did switched. Again, thanks LibOMV for the regionhandle code.
2013-08-01Make attachment state load work againMelanie1-1/+1
2013-08-01Add experimental "debug attachments throttle <ms>" setting (command line) ↵Justin Clark-Casey (justincc)1-15/+87
and ThrottlePer100PrimsRezzed in [Attachments] in config This is an experimental setting to control cpu spikes when an attachment heavy avatar logs in or avatars with medium attachments lgoin simultaneously. It inserts a ms sleep specified in terms of attachments prims after each rez when an avatar logs in. Default is 0 (no throttling). "debug attachments <level>" changes to "debug attachments log <level>" which controls logging. A logging level of 1 will show the throttling performed if applicable. Also adds "debug attachments status" command to show current throttle and debug logging levels.
2013-08-01Try a different approach to slow terrain update by always cycling the loop ↵Justin Clark-Casey (justincc)1-1/+2
immediately if any data was sent, rather than waiting. What I believe is happening is that on initial terrain send, this is done one packet at a time. With WaitOne, the outbound loop has enough time to loop and wait again after the first packet before the second, leading to a slower send. This approach instead does not wait if a packet was just sent but instead loops again, which appears to lead to a quicker send without losing the cpu benefit of not continually looping when there is no outbound data.
2013-08-01Revert "Issue: painfully slow terrain loading. The cause is commit ↵Justin Clark-Casey (justincc)1-5/+5
d9d995914c5fba00d4ccaf66b899384c8ea3d5eb (r/23185) -- the WaitOne on the UDPServer. Putting it back to how it was done solves the issue. But this may impact CPU usage, so I'm pushing it to test if it does." This reverts commit 59b461ac0eaae1cc34bb82431106fdf0476037f3.
2013-08-01Issue: painfully slow terrain loading. The cause is commit ↵Diva Canto1-5/+5
d9d995914c5fba00d4ccaf66b899384c8ea3d5eb (r/23185) -- the WaitOne on the UDPServer. Putting it back to how it was done solves the issue. But this may impact CPU usage, so I'm pushing it to test if it does.
2013-07-31Experimental comment to eneralize the handling of Linden caps when theMic Bowman3-1/+232
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-31A pretty major restructuring of the simian method invocations in order toMic Bowman11-282/+578
service access capabilities. In conjunction with the corresponding Simian updates, this enables explicit per-simulator capability-based access to grid services. That enables grid owners to add or revoke access to the grid on a simulator by simulator basis.
2013-07-31HGWorldMapModule: unregister event on RemoveRegionDiva Canto1-1/+10
2013-07-31HGWorldMapModule: check whether it's enabled or not.Diva Canto1-0/+6
2013-07-30Avoid another null ref opportunity.Diva Canto1-1/+1
2013-07-30Fix null ref.Diva Canto1-1/+1
2013-07-30Doing the HG Map / SimulatorFeatures "the right way": moved it to ↵Diva Canto2-14/+48
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-30BulletSim: distribute vehicle physical settings to all members ofRobert Adams3-43/+61
a linkset. Enables constraint based linksets. Rename some internal variables to clarify whether values world or vehicle relative.
2013-07-30BulletSim: test method for debugging of extended physics script operations.Robert Adams1-8/+46
2013-07-30BulletSim: make density display and return value consistant with howRobert Adams3-8/+22
the simulator expects it (scaled to 100kg/m^3).
2013-07-29minor: Add timeout secs to connection timeout message. Change message to ↵Justin Clark-Casey (justincc)1-8/+9
reflect it is a timeout due to no data received rather than an ack issue.
2013-07-29Fix issue just introduced in 8efe4bfc2ed7086e9fdf4812297e6525f955f6ac where ↵Justin Clark-Casey (justincc)1-1/+1
I accidentally left in a test line to force very quick client unack
2013-07-29Make "abnormal thread terminations" into "ClientLogoutsDueToNoReceives" and ↵Justin Clark-Casey (justincc)3-27/+89
add this to the StatsManager This reflects the actual use of this stat - it hasn't recorded general exceptions for some time. Make the sim extra stats collector draw the data from the stats manager rather than maintaing this data itself.
2013-07-28Groups: Better warning messages to the user.Diva Canto2-3/+11
2013-07-28Group chat: prevent a situation where dupe IMs could occur.Diva Canto1-9/+3
2013-07-28Group chat: guard against duplicate sendsDiva Canto1-4/+5
2013-07-28Changing the visibility test in groups service to be UUID.Zero.ToString() ↵Diva Canto4-5/+9
instead of "all" because some paths in the code assume there's a UUI in the RequestingAgent string.
2013-07-28Same issue.Diva Canto1-0/+1
2013-07-28Same issue as previous commit.Diva Canto2-14/+17
2013-07-28Fix an issue where HG members of groups weren't seeing the entire membership ↵Diva Canto1-2/+20
for group chat.
2013-07-28Removed commented lines and useless debug messageDiva Canto2-17/+0
2013-07-28Added BasicSearchModule.cs which handles OnDirFindQuery events. Removed that ↵Diva Canto5-76/+212
handler from both Groups modules in core, and replaced them with an operation on IGroupsModule.
2013-07-28This makes people search work.Diva Canto1-0/+41
2013-07-28This makes group search work (Groups V2).Diva Canto6-2/+88
2013-07-27More on group chat: only root agents should subscribe to OnInstantMessage, ↵Diva Canto1-1/+14
or else they'll see an echo of their own messages after teleporting.
2013-07-27More bug fixes on group chatDiva Canto1-15/+19
2013-07-27Several major improvements to group (V2) chat. Specifically: handle ↵Diva Canto11-196/+316
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-26Increased the rate of the PollServiceRequestManager to 0.5 secs (it was ↵Diva Canto1-1/+1
1sec). Group chat is going over the EQ... Hopefully this won't increase CPU when there's nothing going on, but we need to watch for that.
2013-07-26Trying to decrease the lag on group chat. (Groups V2 only)Diva Canto1-16/+24
2013-07-26Commented out ChatSessionRequest capability in Vivox and Freeswitch. We ↵Diva Canto2-18/+18
aren't processing it in any meaningful way, and it seems to get invoked everytime someone types a message in group chat.
2013-07-26Fix regression from 056a6ee7 because the RemoteSimulationConnector uses a ↵Justin Clark-Casey (justincc)1-2/+5
copy of the LocalSimulationConnector but never initializes it (hence ServiceVersion was never set)
2013-07-26Fix failure in TestCreateDuplicateRootScenePresence().Justin Clark-Casey (justincc)1-0/+13
This is a test setup failure since code paths when adding a duplicate root scene presence now require the EntityTransferModule to be present. Test fixed by adding this module to test setup
2013-07-26Fix regression tests relating to agent transfer by making simulator use last ↵Justin Clark-Casey (justincc)5-6/+39
week's SIMULATOR/0.1 protocol for now.
2013-07-26Force map tiler to save Water.jpg as an actual jpeg format it seems even ↵nebadon1-1/+1
though we specified jpg extention it was actually a png and thus confusing the viewer silently.
2013-07-26Fix NPC regression test failures.Justin Clark-Casey (justincc)3-2/+5
These were genuine failures caused by ScenePresence.CompleteMovement() waiting for an UpdateAgent from NPC introduction that would never come. Instead, we do not wait if the agent is an NPC.
2013-07-26Comment debug messageDiva Canto1-2/+2
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 Canto4-87/+54
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-26Return Simulator/0.1 (V1) entity transfer behaviour to waiting only 2 ↵Justin Clark-Casey (justincc)1-7/+7
seconds before closing root agent after 15. This is because a returning viewer by teleport before 15 seconds are up will be disrupted by the close. The 2 second delay is within the scope where a normal viewer would not allow a teleport back anyway. Simulator/0.2 (V2) protocol will continue with the longer delay since this is actually the behaviour viewers get from the ll grid and an early close causes other issues (avatar being sent to infinite locations temporarily, etc.)
2013-07-26Reset DoNotClose scene presence teleport flag before pausing. Rename ↵Justin Clark-Casey (justincc)3-4/+6
DoNotClose to DoNotCloseAfterTeleport
2013-07-26If a returning teleport starts to reuse a downgraded child connection that ↵Justin Clark-Casey (justincc)3-12/+34
was a previous root agent, do not close that child agent at the end of the 15 sec teleport timer. This prevents an issue if the user teleports back to the neighbour simulator of a source before 15 seconds have elapsed. This more closely emulates observed linden behaviour, though the timeout there is 50 secs and applies to all the pre-teleport agents. Currently sticks a DoNotClose flag on ScenePresence though this may be temporary as possibly it could be incorporated into the ETM state machine