aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Comment out the debugging statements added in the last commit. KeepingMic Bowman2014-12-302-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.
| | * Turn on logging of old acks, this is for debugging only, stats version ↵Mic Bowman2014-12-301-1/+12
| | | | | | | | | | | | coming later
| | * Another technique inspired by some of the newer flow control algorithms... ↵Mic Bowman2014-12-301-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.
| | * Fix the throttle tests. Remove the hardcoded constant multipliers andMic Bowman2014-12-301-9/+11
| | | | | | | | | | | | compute the expected values without depending on the token bucket code.
| | * Change the effect of successfully acknowledged packets to bump theMic Bowman2014-12-293-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.
| | * Enable runtime configuration of the minimum rate for adaptiveMic Bowman2014-12-293-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.
| | * Add debugging code for simulating packet loss in outgoing UDP packets. TheMic Bowman2014-12-291-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.
* | | Add support for expansion of key values in nini config files.Diva Canto2014-12-301-0/+2
|/ / | | | | | | Add loading of 3rd-party addin inis automatically.
* | Renamed VERSION_NUMBER to VersionNumberDiva Canto2014-12-3016-30/+30
| |
* | This cleans up versioning. Specifically:Diva Canto2014-12-3020-53/+36
| | | | | | | | | | | | | | - 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.
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2014-12-301-1/+1
|\ \
| * | minor: correct sent -> set in TokenBucket.RequestedDripRate method docJustin Clark-Casey (justincc)2014-12-301-1/+1
| |/
* | WARNING: BREAKING CHANGES FOR REGION MODULE DEVELOPMENT.Diva Canto2014-12-3022-45/+38
| | | | | | | | | | | | | | 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
* | Updated OpenSim-as-addin version from 0.5 to 0.8.1. The addin version number ↵Diva Canto2014-12-2917-17/+17
| | | | | | | | doesn't need to match the release version number, but I think it's a very good idea that they do.
* | Added AssemblyInfo.cs to OpenSim.exeDiva Canto2014-12-291-0/+32
|/
* Allow for richer semantics of object derez. Specifically, allow the ↵Diva Canto2014-12-252-13/+54
| | | | existence of region modules that do other kinds of garbage collection. Instead of placing deleted objects in the user's Trash folder, or deleting them immediately (UseTrashOnDelete = false), a module may decide to take garbage collection under its control. For example, it may place derezzed objects in a certain area inworld and delete them later.
* If a moap entry has EnableWhiteList but WhiteList == null, then properly ↵Justin Clark-Casey (justincc)2014-12-231-0/+3
| | | | | | | | block the request instead of throwing an exception. Normally, WhiteList is an empty list but from Mantis 7389 it looks like it might sometimes be possible for it to be null (haven't seen this up till now) It looks like failing with an exception instead of properly replying to the request (which comes in via a cap) might be enough, surprisingly, to freeze a viewer until timeout. Part of http://opensimulator.org/mantis/view.php?id=7389 but probably unrelated to the actual issue of that mantis.
* Make sure we always dispose of disposables inside RestClient.Request()Justin Clark-Casey (justincc)2014-12-201-26/+30
|
* In XBakesModule.Get() use using() to always dispose of RestClient which ↵Justin Clark-Casey (justincc)2014-12-201-31/+35
| | | | disposes the stream rather than disposing the stream directly
* minor: Correct propery doc RestClient._resource spelling mistakeJustin Clark-Casey (justincc)2014-12-201-1/+1
|
* Use using() semantics in XBakesModule to ensure disposable objects are alway ↵Justin Clark-Casey (justincc)2014-12-201-39/+42
| | | | disposed no matter what
* In XBakes use proper disposal semantics to always close the stream on ↵Justin Clark-Casey (justincc)2014-12-201-4/+2
| | | | Store() no matter what
* Fix recent regression where a race condition meant SP.MakeRootAgent() would ↵Justin Clark-Casey (justincc)2014-12-172-37/+40
| | | | | | sometimes look to start attachment scripts before ETM.HandleIncomingSceneObject() had added them. Probably a regression since ghosts branch merge on Nov 26 2014
* Add command to reset region's user cacheBlueWall2014-12-161-0/+15
|
* Adding command to reset user's email addressBlueWall2014-12-161-1/+43
|
* Remove XEngine.m_uniqueScriptsJustin Clark-Casey (justincc)2014-12-151-8/+0
| | | | This provides no obvious benefit as far as I can tell but has a definite cost in keep script strings in memory for the entire simulator session.
* Fix a regression where objects crossing regions in the same simulator (on ↵Justin Clark-Casey (justincc)2014-12-107-61/+266
| | | | | | | | | | their own or as attachments) with AppDomainLoading = false would create the new state in the source region area rather than the dest. This was beause the code was finding the script DLL compiled for the source region as everything is in the same appdomain and using this as the location for the destination script state, etc. This resolves the regression by passing the proper destination separately from the DLL retrieved. Probably a regression since commit d7b92604 (11 July 2014). Added regression test for this case. At least partly addresses http://opensimulator.org/mantis/view.php?id=7278
* Avoid a possible race condition where the XEngine script compile thread ↵Justin Clark-Casey (justincc)2014-12-101-0/+8
| | | | | | could complete but see OnRezScript() insert a new job and complete before it set m_CurrentCompile = null If the above happened, it would mean the new script would not compile until some script was added for compilation.
* In XEngine, enqueue a script rez to the compile queue after setting ↵Justin Clark-Casey (justincc)2014-12-091-3/+4
| | | | m_CompileDict to avoid a rare but not impossible race condition.
* refactor: rename IteratingUuidGather.AddAssetUuidToInspect() and ↵Justin Clark-Casey (justincc)2014-12-052-115/+120
| | | | RecordAssetUuids() to AddForInspection() as this properly describes what both of these methods do.
* Make "fache assets" console command more efficient by only updating access ↵Justin Clark-Casey (justincc)2014-12-051-17/+24
| | | | times on each cached asset once, not for every reference.
* refactor: Make IteratingUUIDGatherer take a dictionary in its constructor ↵Justin Clark-Casey (justincc)2014-12-042-12/+26
| | | | like UUIDGatherer, so we can deal with future cases where the dictionary may already be pre-populated.
* Allow scripts in attachments on an owned NPC to call NPC functions on that NPCJustin Clark-Casey (justincc)2014-12-042-1/+19
|
* If "fcache assets" is executed, don't stop with an exception if there's an ↵Justin Clark-Casey (justincc)2014-12-041-2/+1
| | | | | | access violation if another thread is operating on the file at the same time. Resolves one issue from http://opensimulator.org/mantis/view.php?id=7271
* refactor: breakout flotasm cache last file access time to separate ↵Justin Clark-Casey (justincc)2014-12-041-7/+19
| | | | UpdateFileLastAccessTime() method for imminent reuse.
* Don't worry about checking FlotsamAssetCache.m_CurrentlyWriting when ↵Justin Clark-Casey (justincc)2014-12-041-8/+1
| | | | | | updating access time. The majority of updates won't be for anything currently writing and any sharing exception from an actual clash can be caught and ignored anyway.
* Remove long unused region parameters from SceneBase. Some of these weren't ↵Justin Clark-Casey (justincc)2014-12-032-5/+0
| | | | even being set. Region parameters come from Scene.RegionInfo instead.
* minor: Just have one message that displays successful registration of a ↵Justin Clark-Casey (justincc)2014-12-032-7/+9
| | | | region with its parameters rather than 2
* minor: If we are recompiling scripts in response to a ScriptStopStrategy ↵Justin Clark-Casey (justincc)2014-12-031-0/+8
| | | | config change (a rare situation), then explicitly log this for debug purposes.
* Reintroduce general xengine extra debugging log level. This can be ↵Justin Clark-Casey (justincc)2014-12-031-31/+32
| | | | | | | controlled at runtime with the command "debug xengine log <level>", as with similar commands. If log level is 1 then every script load is logged. This means the <logger name="OpenSim.Region.ScriptEngine.XEngine"> section in OpenSim.exe.config is no longer needed to avoid log spam on regions with many scripts and can be removed.
* minor: improve logged error in XEngine.SetXmlState if there was a problem ↵Justin Clark-Casey (justincc)2014-12-031-1/+2
| | | | | | writing the linemap. The previous error report of already exists is inaccurate since existing files do get overwritten.
* Always close script linemap file after reading and always dispose of other ↵Justin Clark-Casey (justincc)2014-12-032-29/+29
| | | | streams in the script engine even if exceptions are thrown.
* BulletSim: move detail log of InternalScheduleRebuild to reduce log file spamRobert Adams2014-11-301-5/+5
|
* BulletSim: Remove linkset 'Incomplete' flag as its meaning couldn't be made ↵Robert Adams2014-11-303-23/+26
| | | | clear. Add 'InternalScheduleRebuild() CHange rebuild code to call InternalScheduleRebuild() rather than ForceRebuild() to limit the scope of the changes made by the linkset.
* BulletSim: add BSLinkset.AllPartsComplete that checks of all linkset members ↵Robert Adams2014-11-302-21/+18
| | | | are not Incomplete and not waiting for assets. Change BSPrimLinkable to use AllPartsComplete.
* BulletSim: Make BSPrimLinkable 'incomplete' if any of its children are ↵Robert Adams2014-11-301-1/+23
| | | | waiting for assets to load.
* BulletSim: add shape and linkset rebuild scheduled flags. Add ↵Robert Adams2014-11-307-19/+101
| | | | BSPrim.Incomplete flag based on rebuild flags to say when an object is being rebuilt.
* Correct 690fe0c to actually log the exception reported in ↵Justin Clark-Casey (justincc)2014-11-291-1/+2
| | | | DoOnRezScriptQueue()(and now the scene name).
* If there are any exceptions in XEngine.DoOnRezScriptQueue() then log the ↵Justin Clark-Casey (justincc)2014-11-291-31/+43
| | | | | | | error and always set m_CurrentCompile = null Setting m_CurrentCompile = null in the finally block reduces the risk that an exception could permanently stop any future scripts compiling until the simulator is restarted. If an exception is seen from this then please report and further changes to fix the bug or improve compiling reliability can be made.
* Remove minor race condition where two threads could race on fields such as ↵Justin Clark-Casey (justincc)2014-11-291-6/+6
| | | | m_ScriptFailCount as set in XEngine.DoOnRezScriptQueue()