aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-09-03Transformed the LLUDP ad-hoc plugin into a region module. It works.Diva Canto2-3/+49
2015-08-14Only send the requested ObjectPropertiesFamily in the ↵Drake Arconis1-1/+1
RequestObjectPropertiesFamily reply and not the actual ObjectProperties packet Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-08-15Only send the requested ObjectPropertiesFamily in the ↵Drake Arconis1-1/+1
RequestObjectPropertiesFamily reply and not the actual ObjectProperties packet Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-08-11Fixed mistakes related to confusion between Environment.TickCount ↵Oren Hurvitz1-2/+2
(milliseconds) and TimeSpan.TicksPerXXX (10000 x milliseconds)
2015-08-08WARNING: massive refactor to follow libomv's latest changes regarding ↵Diva Canto3-7/+10
inventory folders. The newest version of libomv itself is committed here. Basically, everything that was using the AssetType enum has been combed through; many of those uses were changed to the new FolderType enum. This means that from now on, [new] root folders have code 8 (FolderType.Root), as the viewers expect, as opposed to 9, which was what we had been doing. Normal folders are as they were, -1. Also now sending folder code 100 for Suitcase folders to viewers, with no filter. All tests pass, but fingers crossed!
2015-06-17Bug fix in inventory fetching: sometimes the caps request comes before there ↵Diva Canto1-5/+0
is a scene presence, and that's ok.
2015-06-14Squooshed a warning that could result in a runtime null pointer exception. ↵Diva Canto1-1/+1
It says that code is for debugging, but it was buggy.
2015-06-14Quell three new warnings I introduced with AgentPrefsData, return an empty ↵Cinder1-2/+2
llsd map instead of an empty llsd block when no AgentPrefs service is available to try and appease Firestorm Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13Guard against scenes without an agent prefs service and a copy and paste fixCinder1-0/+7
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13Fixed indentationDiva Canto1-4/+4
2015-06-13A few bug fixes for Agent Preferences to actually work. Also added missing ↵Diva Canto1-1/+1
config for standalone.
2015-06-13Refactor AgentPreferences so that database operations happen centrally. the ↵Cinder1-66/+17
opensim way. Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13Relicense AgentPreferences files to BSD and OpenSimulatorCinder1-25/+24
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13Support for Linden AgentPreferences capability and friends ↵Cinder1-0/+225
(UpdateAgentLanguage and UpdateAgentInformation) and Mantis #7157 Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-03Mantis #7567: added an 8-sec expiring item cache to the inventory network ↵Diva Canto1-1/+1
connector. This fixed the problem on my local test grid and generally made things faster. This cache has been needed for a while... there are many parts in the code where the sim gets an item multiple times in a short amount of time (rezzing attachs and objects, for example). Other minor changes: - added the scene as a parameter to the constructor od FetchInvDescHandler, so that I could see in which scene the handler was being called - brought linked items in linked folders back to being prefetched
2015-05-13resolve possible nullref when sending appearance packet. Thanks to zadark ↵dahlia1-0/+1
for pointing this out.
2015-05-07Major change in the way inventory is downloaded: added a method throughout ↵Diva Canto1-1/+5
IIventoryService that fetches sets of folders at once. Also added folder id in the InventoryCollection data structure, so that we don't need to go to inventory server again just for that. This reduces the chatter between sims and inventory server by... a lot. On my tests, this reduces initial inventory download down to 30% of what it currently is.
2015-05-05Attempt at fixing mantis #7054. The two inventory threads are stepping on ↵Diva Canto1-2/+3
each other's feet. This needs real-world testing, as I'm not sure of all the consequences of reducing the number of worker threads to 1.
2015-04-29Updated all occurrences of AssemblyVersion("0.8.1.*") to ↵Diva Canto2-2/+2
AssemblyVersion("0.8.2.*")
2015-04-28Revert "Revert "Fix the click to buy prim dialog not being displayed with ↵BlueWall1-1/+1
alpha viewers after recent changes to viewer code by LL."" This brings back the fix for recent viewer click to buy prim dialog which was reverted after some reports of objects being altered when touched.
2015-04-27Revert "Fix the click to buy prim dialog not being displayed with alpha ↵BlueWall1-1/+1
viewers after recent changes to viewer code by LL." See: http://opensimulator.org/mantis/view.php?id=7426#c28089 Reverting this commit due to unwanted effects.
2015-04-25Fix the click to buy prim dialog not being displayed with alpha viewers ↵AliciaRaven1-1/+1
after recent changes to viewer code by LL. Recent viewer changes by linden lab now require more information when requesting prim tooltip data. The object properties must now be sent when the viewer requests the object family properties used to display the tool tip. Thanks to Liru for finding the viewer commit that broke this feature in OS. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-05revised GetMesh to not use intermediate base64 coding schemeFreaky Tech1-14/+45
it delivers binary and has binary as input. base64 intermediate coding makes no sense. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-04Revert "removed replacement texture in UDP Texture code. The replacement ↵BlueWall2-2/+19
texture introduces false data into viewer cache. Removing that decreases the necessity for clearing the viewer cache. The viewer knows with ImageNotInDatabase that it is missing and can therefore know what to do about it a lot better than the sim does." This reverts commit 4d749d8c6986498547f9a61406105e93445960b4. Re-open mantis 0007474 for further work before final commit.
2015-03-03corrected bug that viewer cannot correctly fetch ItemData when being a HG ↵Freaky Tech1-14/+6
visitor Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03removed replacement texture in UDP Texture code. The replacement texture ↵Freaky Tech2-19/+2
introduces false data into viewer cache. Removing that decreases the necessity for clearing the viewer cache. The viewer knows with ImageNotInDatabase that it is missing and can therefore know what to do about it a lot better than the sim does. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03increased IPv4 TTL of LLUDP SocketsFreaky Tech1-0/+11
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-01Handle kick user from estate management toolsBlueWall1-0/+14
2015-02-19Make any exception that gets to LLClientView.ProcessSpecificPacketAsync() ↵Justin Clark-Casey (justincc)1-3/+4
tells us the exception type as well as the message and stacktrace details.
2015-01-21Add debug ability to ignore reliably sent packets that are not acknowledged.Justin Clark-Casey (justincc)3-20/+129
This is controlled via the console command "debug lludp client set process-unacked-sends true [<avatar-first-name> <avatar-last-name>]" For debug purposes to see if this process for very bad connections is causing general outbound udp processing delays. Relates to http://opensimulator.org/mantis/view.php?id=7393
2015-01-21minor: Comment out log line for the SimulatorFeatures cap request for now to ↵Justin Clark-Casey (justincc)1-1/+1
reduce log verbiage. Please revert if still required.
2015-01-13And finally renamed the classes themselves.Diva Canto1-2/+2
2015-01-13Fix bug where gathering the clientstack..OutgoingPacketsQueuedCount stat ↵Justin Clark-Casey (justincc)1-2/+6
would fail with a casting exception for scenes with NPCs Present since 51eb8fa (Oct 2 2014)
2015-01-12Make the performance controlling job processing threads introduced in ↵Justin Clark-Casey (justincc)6-629/+92
conference code use a generic JobEngine class rather than 4 slightly different copy/pasted versions.
2015-01-10SimulatorFeatures: the viewer also takes GridName in OpenSim extras. Added ↵Diva Canto1-1/+4
that (plus GridURL, in case viewers want to use it too) to the GridService that gives out that info to simulators.
2015-01-09Added GetDisplayNames capability. For now, we don't actually use display ↵Diva Canto1-0/+144
names, and this cap returns the regular name. But this moves the server side into the newer, preferred, protocol used by the viewer for fetching the names of agents in the scene given their UUIDs. (the old protocol is via UDP). This works fine in my limited tests, but could use further testing by others.
2014-12-30Renamed VERSION_NUMBER to VersionNumberDiva Canto1-2/+2
2014-12-30Comment out the debugging statements added in the last commit. KeepingMic Bowman2-13/+13
them in the code for later use rather than just reverting them. Fixed the throttle tests for the new algorithm used when packets are marked as expired.
2014-12-30This cleans up versioning. Specifically:Diva Canto1-2/+2
- It establishes 4 digits for opensim versions - It uses the same number between opensim releases and mono addins versions It also eliminates the last addin.xml files that were still there, for consistency.
2014-12-30Turn on logging of old acks, this is for debugging only, stats version ↵Mic Bowman1-1/+12
coming later
2014-12-30Another technique inspired by some of the newer flow control algorithms... ↵Mic Bowman1-11/+17
rather than drop exponentially to 0 (and then adjust up for the minimum flow), drop on the delta between current rate and the minimum rate. This should smooth the fallback to minimum.
2014-12-30Fix the throttle tests. Remove the hardcoded constant multipliers andMic Bowman1-9/+11
compute the expected values without depending on the token bucket code.
2014-12-30WARNING: BREAKING CHANGES FOR REGION MODULE DEVELOPMENT.Diva Canto1-1/+1
This cleans up Opensim's use of mono addins. In particular, the extension points /OpenSim/RegionModules and /OpenSim/WindModule moved from OpenSim.exe to OpenSim.Region.Framework.dll. From here on, developers of region modules should declare their dlls to be dependent on OpenSim.Region.Framework, starting with version 0.8.1 Additional changes: - Addins version uniformly updated to 0.8.1. These numbers should be compatible with the release numbers or else it becomes very confusing. - Mono addins directives moved from files addins.xml to embedded directives in the class and assembly declarations, to make it all consistent
2014-12-29Change the effect of successfully acknowledged packets to bump theMic Bowman3-7/+7
adaptive throttle by a full MTU. This is consistent with some implementations of congestion control algorithms and certainly has the effect of opening the throttle window more quickly after errors. This is especially important after initial scene load when the number and size of packets is small.
2014-12-29Enable runtime configuration of the minimum rate for adaptiveMic Bowman3-19/+46
throttles. Setting adaptive_throttle_min_bps will change the minimum rate that the adapative throttles will drop to in case of network packet loss. The current rate default rate is 256kbps. The viewer can throttle rates under that amount, but the dynamic adaptation will not.
2014-12-30minor: correct sent -> set in TokenBucket.RequestedDripRate method docJustin Clark-Casey (justincc)1-1/+1
2014-12-29Updated OpenSim-as-addin version from 0.5 to 0.8.1. The addin version number ↵Diva Canto1-1/+1
doesn't need to match the release version number, but I think it's a very good idea that they do.
2014-12-29Add debugging code for simulating packet loss in outgoing UDP packets. TheMic Bowman1-0/+66
algorithm for dropping packets is a modified two state algorithm for creating bursts of dropped packets. As configured there is about a 1.5% drop rate. Invocation of the packet loss code is commented out by default.
2014-11-29Somewhat improve avatar region crossings by properly preserving velocity ↵Justin Clark-Casey (justincc)1-4/+5
when avatar enters the new region. This commit addresses the following issues were causing velocity to be set to 0 on the new region, disrupting flight in particular * Full avatar updates contained no velocity information, which does appear to have some effect in testing. * BulletSim was always setting the velocity to 0 for the new BSCharacter. Now, physics engines take a velocity parameter when setting up characters so we can avoid this. This patch applies to both Bullet and ODE.
2014-11-25refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)4-5/+5
thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere