aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-01Fix cut-and-paste error that made StatsManager web fetch queriesRobert Adams1-1/+1
fail for container specification.
2014-12-31BulletSim: remove compile reference error trying to figure out why mono ↵Robert Adams1-2/+2
compiling doesn't like it
2014-12-31BulletSim: add the beginnings of hull creation unit testing.Robert Adams5-12/+394
Change how physics engine is created in unit tests to resolve a lib reference problem. Add ShapeInfoInfo class to collect info about the created physical shape for debugging and unit test testing.
2014-12-31BulletSim: Add axis locking enabled through the ExtendedPhysics module.Robert Adams5-97/+474
Allows locking of prim/linkset relative moving in each of the linear and angular axis. Limits on movement or rotation can be set.
2014-12-31Fixed declaration switcharoo on the region combiner dll.Diva Canto2-2/+1
2014-12-31Commenting out the suppression of console warnings from Mono addins while we ↵Diva Canto1-2/+2
test this new model for the next couple of weeks.
2014-12-30Capitalization fail.Diva Canto1-1/+1
2014-12-30Add support for expansion of key values in nini config files.Diva Canto1-0/+2
Add loading of 3rd-party addin inis automatically.
2014-12-30Renamed VERSION_NUMBER to VersionNumberDiva Canto16-30/+30
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 Canto20-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.
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 Canto22-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
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 Canto17-17/+17
doesn't need to match the release version number, but I think it's a very good idea that they do.
2014-12-29Added AssemblyInfo.cs to OpenSim.exeDiva Canto1-0/+32
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-12-25Allow for richer semantics of object derez. Specifically, allow the ↵Diva Canto2-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.
2014-12-23If a moap entry has EnableWhiteList but WhiteList == null, then properly ↵Justin Clark-Casey (justincc)1-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.
2014-12-20Make sure we always dispose of disposables inside RestClient.Request()Justin Clark-Casey (justincc)1-26/+30
2014-12-20In XBakesModule.Get() use using() to always dispose of RestClient which ↵Justin Clark-Casey (justincc)1-31/+35
disposes the stream rather than disposing the stream directly
2014-12-20minor: Correct propery doc RestClient._resource spelling mistakeJustin Clark-Casey (justincc)1-1/+1
2014-12-20Use using() semantics in XBakesModule to ensure disposable objects are alway ↵Justin Clark-Casey (justincc)1-39/+42
disposed no matter what
2014-12-20In XBakes use proper disposal semantics to always close the stream on ↵Justin Clark-Casey (justincc)1-4/+2
Store() no matter what
2014-12-17Fix recent regression where a race condition meant SP.MakeRootAgent() would ↵Justin Clark-Casey (justincc)2-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
2014-12-16Add command to reset region's user cacheBlueWall1-0/+15
2014-12-16Adding command to reset user's email addressBlueWall1-1/+43
2014-12-15Remove XEngine.m_uniqueScriptsJustin Clark-Casey (justincc)1-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.
2014-12-10Fix a regression where objects crossing regions in the same simulator (on ↵Justin Clark-Casey (justincc)7-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
2014-12-10Avoid a possible race condition where the XEngine script compile thread ↵Justin Clark-Casey (justincc)1-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.
2014-12-09In XEngine, enqueue a script rez to the compile queue after setting ↵Justin Clark-Casey (justincc)1-3/+4
m_CompileDict to avoid a rare but not impossible race condition.
2014-12-05refactor: rename IteratingUuidGather.AddAssetUuidToInspect() and ↵Justin Clark-Casey (justincc)2-115/+120
RecordAssetUuids() to AddForInspection() as this properly describes what both of these methods do.
2014-12-05Make "fache assets" console command more efficient by only updating access ↵Justin Clark-Casey (justincc)1-17/+24
times on each cached asset once, not for every reference.
2014-12-04refactor: Make IteratingUUIDGatherer take a dictionary in its constructor ↵Justin Clark-Casey (justincc)2-12/+26
like UUIDGatherer, so we can deal with future cases where the dictionary may already be pre-populated.
2014-12-04Allow scripts in attachments on an owned NPC to call NPC functions on that NPCJustin Clark-Casey (justincc)2-1/+19
2014-12-04If "fcache assets" is executed, don't stop with an exception if there's an ↵Justin Clark-Casey (justincc)1-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
2014-12-04refactor: breakout flotasm cache last file access time to separate ↵Justin Clark-Casey (justincc)1-7/+19
UpdateFileLastAccessTime() method for imminent reuse.
2014-12-04Don't worry about checking FlotsamAssetCache.m_CurrentlyWriting when ↵Justin Clark-Casey (justincc)1-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.
2014-12-03Remove long unused region parameters from SceneBase. Some of these weren't ↵Justin Clark-Casey (justincc)2-5/+0
even being set. Region parameters come from Scene.RegionInfo instead.
2014-12-03minor: Just have one message that displays successful registration of a ↵Justin Clark-Casey (justincc)2-7/+9
region with its parameters rather than 2
2014-12-03minor: If we are recompiling scripts in response to a ScriptStopStrategy ↵Justin Clark-Casey (justincc)1-0/+8
config change (a rare situation), then explicitly log this for debug purposes.
2014-12-03Reintroduce general xengine extra debugging log level. This can be ↵Justin Clark-Casey (justincc)1-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.
2014-12-03minor: improve logged error in XEngine.SetXmlState if there was a problem ↵Justin Clark-Casey (justincc)1-1/+2
writing the linemap. The previous error report of already exists is inaccurate since existing files do get overwritten.
2014-12-03Always close script linemap file after reading and always dispose of other ↵Justin Clark-Casey (justincc)2-29/+29
streams in the script engine even if exceptions are thrown.
2014-11-30BulletSim: move detail log of InternalScheduleRebuild to reduce log file spamRobert Adams1-5/+5
2014-11-30BulletSim: Remove linkset 'Incomplete' flag as its meaning couldn't be made ↵Robert Adams3-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.