aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Restore OpenMetaverse.dll to the one compiled under Windows again from ↵Justin Clark-Casey (justincc)2014-12-101-0/+0
| | | | | | commit 2660619. Somehow it got replaced again in the ghosts merge with the one built under Linux. No other dlls are affected
* Remove reference to MSSQL in prebuild.xml since feature has been removedRobert Adams2014-12-091-1/+0
|
* 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
|
* minor: Add doc about [InventoryService] AllowDelete setting to robust ini ↵Justin Clark-Casey (justincc)2014-12-042-0/+8
| | | | example files.
* 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-032-36/+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.
* Fix typo in iniBlueWall2014-12-011-1/+1
|
* BulletSim: update BulletSim DLLs and SOs.Robert Adams2014-11-304-0/+0
| | | | Hopefully fix problem of multiple physical meshes crashing Windows simulators.
* 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.
* A little more cleaning of config files.BlueWall2014-11-301-3/+3
|
* A little bit of cleanup behind commit r5f88ceab2269BlueWall2014-11-303-10/+10
|
* Set configuration files to use key expansion for widely used common settings.BlueWall2014-11-305-153/+211
|
* 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()
* Restore zero'ing RawVelocity in BSCharacter.ZeroMotion() in favour of not ↵Justin Clark-Casey (justincc)2014-11-291-1/+1
| | | | | | calling ZeroMotion in SetPhysicalProperties() at all SetPhysicalProperties is only called when adding a new character so it looks like there is no existing data to reset anyway.
* minor: Remove a few indenting problems introduced to recent 265fe349 and ↵Justin Clark-Casey (justincc)2014-11-291-3/+3
| | | | convert the m_log.DebugFormat() call back to the original DetailLog call
* Halve the prediction lag for region crossing to improve most flying region ↵Justin Clark-Casey (justincc)2014-11-291-2/+2
| | | | crossings without degrading the walk cross experience (neither of which have been that great anyway).
* When performing region cross, don't add the velocity to the new position in ↵Justin Clark-Casey (justincc)2014-11-291-1/+2
| | | | ETM.CrossAgentIntoNewRegionMain() since this has already been performed by SP.CheckForBorderCrossing()
* Somewhat improve avatar region crossings by properly preserving velocity ↵Justin Clark-Casey (justincc)2014-11-2912-54/+94
| | | | | | | | | 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.
* Avoid repeated lag-generating continuous attempts to retrieve HG service ↵Justin Clark-Casey (justincc)2014-11-281-7/+11
| | | | | | | | Urls in UMM if the initial request fails, possibly due to the home URL not being present Instead, the failure information is effectively added to the memory cache (so no persistence over simualtor sessions). A future improvement may be to invalidate negative cache results after some time has passed in case the failure was transient. Looks to resolve http://opensimulator.org/mantis/view.php?id=7382
* Remove unmaintained MSSQL support.Justin Clark-Casey (justincc)2014-11-2834-9183/+0
| | | | | This has not been maintained for more than 2 years, is unimplemented for newer features (e.g. built-in groups) and has no core developers using it. If somebody fixes these issues then it could be reinstated.
* Stop writing SizeZ config parameter for now when creating regions from ↵Justin Clark-Casey (justincc)2014-11-281-1/+1
| | | | console as it is unused/ignored, at least in core.
* minor: Make Robust.ini.example and Robust.HG.ini.example files consistent ↵Justin Clark-Casey (justincc)2014-11-282-192/+230
| | | | within themselves and OpenSim.ini.example by changing tabs to spaces, indenting, spacing.
* Be more explicit again in UMM bad HomeURL message by logging the original ↵Justin Clark-Casey (justincc)2014-11-271-2/+2
| | | | creator data
* Make UMM.AddUser(UUID, string) log message when bad creatorData is given to ↵Justin Clark-Casey (justincc)2014-11-271-4/+8
| | | | reflect its location (UMM not Scene) and add the user name and ID.
* Merge branch 'master' of /team/src/opensimBlueWall2014-11-253-12/+12
|\